1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: fcp/protos/federated_api.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederated_5fapi_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_fcp_2fprotos_2ffederated_5fapi_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry_lite.h>
34 #include <google/protobuf/map_field_lite.h>
35 #include <google/protobuf/generated_enum_util.h>
36 #include <google/protobuf/any.pb.h>
37 #include <google/protobuf/duration.pb.h>
38 #include "fcp/secagg/shared/secagg_messages.pb.h"
39 // @@protoc_insertion_point(includes)
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_fcp_2fprotos_2ffederated_5fapi_2eproto
42 PROTOBUF_NAMESPACE_OPEN
43 namespace internal {
44 class AnyMetadata;
45 } // namespace internal
46 PROTOBUF_NAMESPACE_CLOSE
47
48 // Internal implementation detail -- do not use these members.
49 struct TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto {
50 static const ::uint32_t offsets[];
51 };
52 namespace google {
53 namespace internal {
54 namespace federatedml {
55 namespace v2 {
56 class AcceptanceInfo;
57 struct AcceptanceInfoDefaultTypeInternal;
58 extern AcceptanceInfoDefaultTypeInternal _AcceptanceInfo_default_instance_;
59 class AcceptanceInfo_SideChannelsEntry_DoNotUse;
60 struct AcceptanceInfo_SideChannelsEntry_DoNotUseDefaultTypeInternal;
61 extern AcceptanceInfo_SideChannelsEntry_DoNotUseDefaultTypeInternal _AcceptanceInfo_SideChannelsEntry_DoNotUse_default_instance_;
62 class CheckinRequest;
63 struct CheckinRequestDefaultTypeInternal;
64 extern CheckinRequestDefaultTypeInternal _CheckinRequest_default_instance_;
65 class CheckinRequestAck;
66 struct CheckinRequestAckDefaultTypeInternal;
67 extern CheckinRequestAckDefaultTypeInternal _CheckinRequestAck_default_instance_;
68 class CheckinResponse;
69 struct CheckinResponseDefaultTypeInternal;
70 extern CheckinResponseDefaultTypeInternal _CheckinResponse_default_instance_;
71 class Checkpoint;
72 struct CheckpointDefaultTypeInternal;
73 extern CheckpointDefaultTypeInternal _Checkpoint_default_instance_;
74 class Checkpoint_Aggregand;
75 struct Checkpoint_AggregandDefaultTypeInternal;
76 extern Checkpoint_AggregandDefaultTypeInternal _Checkpoint_Aggregand_default_instance_;
77 class Checkpoint_AggregandsEntry_DoNotUse;
78 struct Checkpoint_AggregandsEntry_DoNotUseDefaultTypeInternal;
79 extern Checkpoint_AggregandsEntry_DoNotUseDefaultTypeInternal _Checkpoint_AggregandsEntry_DoNotUse_default_instance_;
80 class ChunkedTransferMessage;
81 struct ChunkedTransferMessageDefaultTypeInternal;
82 extern ChunkedTransferMessageDefaultTypeInternal _ChunkedTransferMessage_default_instance_;
83 class ChunkedTransferMessage_Ack;
84 struct ChunkedTransferMessage_AckDefaultTypeInternal;
85 extern ChunkedTransferMessage_AckDefaultTypeInternal _ChunkedTransferMessage_Ack_default_instance_;
86 class ChunkedTransferMessage_Data;
87 struct ChunkedTransferMessage_DataDefaultTypeInternal;
88 extern ChunkedTransferMessage_DataDefaultTypeInternal _ChunkedTransferMessage_Data_default_instance_;
89 class ChunkedTransferMessage_End;
90 struct ChunkedTransferMessage_EndDefaultTypeInternal;
91 extern ChunkedTransferMessage_EndDefaultTypeInternal _ChunkedTransferMessage_End_default_instance_;
92 class ChunkedTransferMessage_Start;
93 struct ChunkedTransferMessage_StartDefaultTypeInternal;
94 extern ChunkedTransferMessage_StartDefaultTypeInternal _ChunkedTransferMessage_Start_default_instance_;
95 class ClientExecutionStats;
96 struct ClientExecutionStatsDefaultTypeInternal;
97 extern ClientExecutionStatsDefaultTypeInternal _ClientExecutionStats_default_instance_;
98 class ClientStreamMessage;
99 struct ClientStreamMessageDefaultTypeInternal;
100 extern ClientStreamMessageDefaultTypeInternal _ClientStreamMessage_default_instance_;
101 class EligibilityEvalCheckinRequest;
102 struct EligibilityEvalCheckinRequestDefaultTypeInternal;
103 extern EligibilityEvalCheckinRequestDefaultTypeInternal _EligibilityEvalCheckinRequest_default_instance_;
104 class EligibilityEvalCheckinResponse;
105 struct EligibilityEvalCheckinResponseDefaultTypeInternal;
106 extern EligibilityEvalCheckinResponseDefaultTypeInternal _EligibilityEvalCheckinResponse_default_instance_;
107 class EligibilityEvalPayload;
108 struct EligibilityEvalPayloadDefaultTypeInternal;
109 extern EligibilityEvalPayloadDefaultTypeInternal _EligibilityEvalPayload_default_instance_;
110 class EligibilityEvalTaskCapabilities;
111 struct EligibilityEvalTaskCapabilitiesDefaultTypeInternal;
112 extern EligibilityEvalTaskCapabilitiesDefaultTypeInternal _EligibilityEvalTaskCapabilities_default_instance_;
113 class FederatedSelectUriInfo;
114 struct FederatedSelectUriInfoDefaultTypeInternal;
115 extern FederatedSelectUriInfoDefaultTypeInternal _FederatedSelectUriInfo_default_instance_;
116 class NoEligibilityEvalConfigured;
117 struct NoEligibilityEvalConfiguredDefaultTypeInternal;
118 extern NoEligibilityEvalConfiguredDefaultTypeInternal _NoEligibilityEvalConfigured_default_instance_;
119 class ProtocolOptionsRequest;
120 struct ProtocolOptionsRequestDefaultTypeInternal;
121 extern ProtocolOptionsRequestDefaultTypeInternal _ProtocolOptionsRequest_default_instance_;
122 class ProtocolOptionsResponse;
123 struct ProtocolOptionsResponseDefaultTypeInternal;
124 extern ProtocolOptionsResponseDefaultTypeInternal _ProtocolOptionsResponse_default_instance_;
125 class RejectionInfo;
126 struct RejectionInfoDefaultTypeInternal;
127 extern RejectionInfoDefaultTypeInternal _RejectionInfo_default_instance_;
128 class Report;
129 struct ReportDefaultTypeInternal;
130 extern ReportDefaultTypeInternal _Report_default_instance_;
131 class ReportRequest;
132 struct ReportRequestDefaultTypeInternal;
133 extern ReportRequestDefaultTypeInternal _ReportRequest_default_instance_;
134 class ReportResponse;
135 struct ReportResponseDefaultTypeInternal;
136 extern ReportResponseDefaultTypeInternal _ReportResponse_default_instance_;
137 class RetryWindow;
138 struct RetryWindowDefaultTypeInternal;
139 extern RetryWindowDefaultTypeInternal _RetryWindow_default_instance_;
140 class ServerStreamMessage;
141 struct ServerStreamMessageDefaultTypeInternal;
142 extern ServerStreamMessageDefaultTypeInternal _ServerStreamMessage_default_instance_;
143 class SideChannelExecutionInfo;
144 struct SideChannelExecutionInfoDefaultTypeInternal;
145 extern SideChannelExecutionInfoDefaultTypeInternal _SideChannelExecutionInfo_default_instance_;
146 class SideChannelExecutionInfo_SecureAggregandExecutionInfo;
147 struct SideChannelExecutionInfo_SecureAggregandExecutionInfoDefaultTypeInternal;
148 extern SideChannelExecutionInfo_SecureAggregandExecutionInfoDefaultTypeInternal _SideChannelExecutionInfo_SecureAggregandExecutionInfo_default_instance_;
149 class SideChannelProtocolExecutionInfo;
150 struct SideChannelProtocolExecutionInfoDefaultTypeInternal;
151 extern SideChannelProtocolExecutionInfoDefaultTypeInternal _SideChannelProtocolExecutionInfo_default_instance_;
152 class SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo;
153 struct SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfoDefaultTypeInternal;
154 extern SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfoDefaultTypeInternal _SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo_default_instance_;
155 class SideChannelProtocolOptionsRequest;
156 struct SideChannelProtocolOptionsRequestDefaultTypeInternal;
157 extern SideChannelProtocolOptionsRequestDefaultTypeInternal _SideChannelProtocolOptionsRequest_default_instance_;
158 class SideChannelProtocolOptionsRequest_SecureAggregation;
159 struct SideChannelProtocolOptionsRequest_SecureAggregationDefaultTypeInternal;
160 extern SideChannelProtocolOptionsRequest_SecureAggregationDefaultTypeInternal _SideChannelProtocolOptionsRequest_SecureAggregation_default_instance_;
161 class SideChannelProtocolOptionsResponse;
162 struct SideChannelProtocolOptionsResponseDefaultTypeInternal;
163 extern SideChannelProtocolOptionsResponseDefaultTypeInternal _SideChannelProtocolOptionsResponse_default_instance_;
164 class SideChannelProtocolOptionsResponse_SecureAggregation;
165 struct SideChannelProtocolOptionsResponse_SecureAggregationDefaultTypeInternal;
166 extern SideChannelProtocolOptionsResponse_SecureAggregationDefaultTypeInternal _SideChannelProtocolOptionsResponse_SecureAggregation_default_instance_;
167 class TaskEligibilityInfo;
168 struct TaskEligibilityInfoDefaultTypeInternal;
169 extern TaskEligibilityInfoDefaultTypeInternal _TaskEligibilityInfo_default_instance_;
170 class TaskWeight;
171 struct TaskWeightDefaultTypeInternal;
172 extern TaskWeightDefaultTypeInternal _TaskWeight_default_instance_;
173 class UriResource;
174 struct UriResourceDefaultTypeInternal;
175 extern UriResourceDefaultTypeInternal _UriResource_default_instance_;
176 } // namespace v2
177 } // namespace federatedml
178 } // namespace internal
179 } // namespace google
180 PROTOBUF_NAMESPACE_OPEN
181 template<> ::google::internal::federatedml::v2::AcceptanceInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::AcceptanceInfo>(Arena*);
182 template<> ::google::internal::federatedml::v2::AcceptanceInfo_SideChannelsEntry_DoNotUse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::AcceptanceInfo_SideChannelsEntry_DoNotUse>(Arena*);
183 template<> ::google::internal::federatedml::v2::CheckinRequest* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::CheckinRequest>(Arena*);
184 template<> ::google::internal::federatedml::v2::CheckinRequestAck* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::CheckinRequestAck>(Arena*);
185 template<> ::google::internal::federatedml::v2::CheckinResponse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::CheckinResponse>(Arena*);
186 template<> ::google::internal::federatedml::v2::Checkpoint* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::Checkpoint>(Arena*);
187 template<> ::google::internal::federatedml::v2::Checkpoint_Aggregand* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::Checkpoint_Aggregand>(Arena*);
188 template<> ::google::internal::federatedml::v2::Checkpoint_AggregandsEntry_DoNotUse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::Checkpoint_AggregandsEntry_DoNotUse>(Arena*);
189 template<> ::google::internal::federatedml::v2::ChunkedTransferMessage* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ChunkedTransferMessage>(Arena*);
190 template<> ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ChunkedTransferMessage_Ack>(Arena*);
191 template<> ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ChunkedTransferMessage_Data>(Arena*);
192 template<> ::google::internal::federatedml::v2::ChunkedTransferMessage_End* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ChunkedTransferMessage_End>(Arena*);
193 template<> ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ChunkedTransferMessage_Start>(Arena*);
194 template<> ::google::internal::federatedml::v2::ClientExecutionStats* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ClientExecutionStats>(Arena*);
195 template<> ::google::internal::federatedml::v2::ClientStreamMessage* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ClientStreamMessage>(Arena*);
196 template<> ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::EligibilityEvalCheckinRequest>(Arena*);
197 template<> ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::EligibilityEvalCheckinResponse>(Arena*);
198 template<> ::google::internal::federatedml::v2::EligibilityEvalPayload* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::EligibilityEvalPayload>(Arena*);
199 template<> ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities>(Arena*);
200 template<> ::google::internal::federatedml::v2::FederatedSelectUriInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::FederatedSelectUriInfo>(Arena*);
201 template<> ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::NoEligibilityEvalConfigured>(Arena*);
202 template<> ::google::internal::federatedml::v2::ProtocolOptionsRequest* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ProtocolOptionsRequest>(Arena*);
203 template<> ::google::internal::federatedml::v2::ProtocolOptionsResponse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ProtocolOptionsResponse>(Arena*);
204 template<> ::google::internal::federatedml::v2::RejectionInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::RejectionInfo>(Arena*);
205 template<> ::google::internal::federatedml::v2::Report* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::Report>(Arena*);
206 template<> ::google::internal::federatedml::v2::ReportRequest* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ReportRequest>(Arena*);
207 template<> ::google::internal::federatedml::v2::ReportResponse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ReportResponse>(Arena*);
208 template<> ::google::internal::federatedml::v2::RetryWindow* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::RetryWindow>(Arena*);
209 template<> ::google::internal::federatedml::v2::ServerStreamMessage* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::ServerStreamMessage>(Arena*);
210 template<> ::google::internal::federatedml::v2::SideChannelExecutionInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelExecutionInfo>(Arena*);
211 template<> ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo>(Arena*);
212 template<> ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo>(Arena*);
213 template<> ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo>(Arena*);
214 template<> ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest>(Arena*);
215 template<> ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation>(Arena*);
216 template<> ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse>(Arena*);
217 template<> ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation>(Arena*);
218 template<> ::google::internal::federatedml::v2::TaskEligibilityInfo* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::TaskEligibilityInfo>(Arena*);
219 template<> ::google::internal::federatedml::v2::TaskWeight* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::TaskWeight>(Arena*);
220 template<> ::google::internal::federatedml::v2::UriResource* Arena::CreateMaybeMessage<::google::internal::federatedml::v2::UriResource>(Arena*);
221 PROTOBUF_NAMESPACE_CLOSE
222 namespace google {
223 namespace internal {
224 namespace federatedml {
225 namespace v2 {
226
227 enum ChunkedTransferMessage_CompressionType : int {
228 ChunkedTransferMessage_CompressionType_UNCOMPRESSED = 0,
229 ChunkedTransferMessage_CompressionType_ChunkedTransferMessage_CompressionType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
230 ChunkedTransferMessage_CompressionType_ChunkedTransferMessage_CompressionType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
231 };
232 bool ChunkedTransferMessage_CompressionType_IsValid(int value);
233 constexpr ChunkedTransferMessage_CompressionType ChunkedTransferMessage_CompressionType_CompressionType_MIN = ChunkedTransferMessage_CompressionType_UNCOMPRESSED;
234 constexpr ChunkedTransferMessage_CompressionType ChunkedTransferMessage_CompressionType_CompressionType_MAX = ChunkedTransferMessage_CompressionType_UNCOMPRESSED;
235 constexpr int ChunkedTransferMessage_CompressionType_CompressionType_ARRAYSIZE = ChunkedTransferMessage_CompressionType_CompressionType_MAX + 1;
236
237 const std::string& ChunkedTransferMessage_CompressionType_Name(ChunkedTransferMessage_CompressionType value);
238 template<typename T>
ChunkedTransferMessage_CompressionType_Name(T enum_t_value)239 inline const std::string& ChunkedTransferMessage_CompressionType_Name(T enum_t_value) {
240 static_assert(::std::is_same<T, ChunkedTransferMessage_CompressionType>::value ||
241 ::std::is_integral<T>::value,
242 "Incorrect type passed to function ChunkedTransferMessage_CompressionType_Name.");
243 return ChunkedTransferMessage_CompressionType_Name(static_cast<ChunkedTransferMessage_CompressionType>(enum_t_value));
244 }
245 bool ChunkedTransferMessage_CompressionType_Parse(
246 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChunkedTransferMessage_CompressionType* value);
247 enum CompressionLevel : int {
248 UNCOMPRESSED = 0,
249 ZLIB_DEFAULT = 1,
250 ZLIB_BEST_COMPRESSION = 2,
251 ZLIB_BEST_SPEED = 3,
252 CompressionLevel_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
253 CompressionLevel_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
254 };
255 bool CompressionLevel_IsValid(int value);
256 constexpr CompressionLevel CompressionLevel_MIN = UNCOMPRESSED;
257 constexpr CompressionLevel CompressionLevel_MAX = ZLIB_BEST_SPEED;
258 constexpr int CompressionLevel_ARRAYSIZE = CompressionLevel_MAX + 1;
259
260 const std::string& CompressionLevel_Name(CompressionLevel value);
261 template<typename T>
CompressionLevel_Name(T enum_t_value)262 inline const std::string& CompressionLevel_Name(T enum_t_value) {
263 static_assert(::std::is_same<T, CompressionLevel>::value ||
264 ::std::is_integral<T>::value,
265 "Incorrect type passed to function CompressionLevel_Name.");
266 return CompressionLevel_Name(static_cast<CompressionLevel>(enum_t_value));
267 }
268 bool CompressionLevel_Parse(
269 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CompressionLevel* value);
270 enum HttpCompressionFormat : int {
271 HTTP_COMPRESSION_FORMAT_UNSPECIFIED = 0,
272 HTTP_COMPRESSION_FORMAT_GZIP = 1,
273 HttpCompressionFormat_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
274 HttpCompressionFormat_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
275 };
276 bool HttpCompressionFormat_IsValid(int value);
277 constexpr HttpCompressionFormat HttpCompressionFormat_MIN = HTTP_COMPRESSION_FORMAT_UNSPECIFIED;
278 constexpr HttpCompressionFormat HttpCompressionFormat_MAX = HTTP_COMPRESSION_FORMAT_GZIP;
279 constexpr int HttpCompressionFormat_ARRAYSIZE = HttpCompressionFormat_MAX + 1;
280
281 const std::string& HttpCompressionFormat_Name(HttpCompressionFormat value);
282 template<typename T>
HttpCompressionFormat_Name(T enum_t_value)283 inline const std::string& HttpCompressionFormat_Name(T enum_t_value) {
284 static_assert(::std::is_same<T, HttpCompressionFormat>::value ||
285 ::std::is_integral<T>::value,
286 "Incorrect type passed to function HttpCompressionFormat_Name.");
287 return HttpCompressionFormat_Name(static_cast<HttpCompressionFormat>(enum_t_value));
288 }
289 bool HttpCompressionFormat_Parse(
290 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HttpCompressionFormat* value);
291 // ===================================================================
292
293 class ClientStreamMessage final :
294 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ClientStreamMessage) */ {
295 public:
ClientStreamMessage()296 inline ClientStreamMessage() : ClientStreamMessage(nullptr) {}
297 ~ClientStreamMessage() override;
298 explicit PROTOBUF_CONSTEXPR ClientStreamMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
299
300 ClientStreamMessage(const ClientStreamMessage& from);
ClientStreamMessage(ClientStreamMessage && from)301 ClientStreamMessage(ClientStreamMessage&& from) noexcept
302 : ClientStreamMessage() {
303 *this = ::std::move(from);
304 }
305
306 inline ClientStreamMessage& operator=(const ClientStreamMessage& from) {
307 if (this == &from) return *this;
308 CopyFrom(from);
309 return *this;
310 }
311 inline ClientStreamMessage& operator=(ClientStreamMessage&& from) noexcept {
312 if (this == &from) return *this;
313 if (GetOwningArena() == from.GetOwningArena()
314 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
315 && GetOwningArena() != nullptr
316 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
317 ) {
318 InternalSwap(&from);
319 } else {
320 CopyFrom(from);
321 }
322 return *this;
323 }
324
default_instance()325 static const ClientStreamMessage& default_instance() {
326 return *internal_default_instance();
327 }
328 enum KindCase {
329 kCheckinRequest = 1,
330 kReportRequest = 2,
331 kChunkedTransfer = 6,
332 kEligibilityEvalCheckinRequest = 7,
333 KIND_NOT_SET = 0,
334 };
335
internal_default_instance()336 static inline const ClientStreamMessage* internal_default_instance() {
337 return reinterpret_cast<const ClientStreamMessage*>(
338 &_ClientStreamMessage_default_instance_);
339 }
340 static constexpr int kIndexInFileMessages =
341 0;
342
swap(ClientStreamMessage & a,ClientStreamMessage & b)343 friend void swap(ClientStreamMessage& a, ClientStreamMessage& b) {
344 a.Swap(&b);
345 }
Swap(ClientStreamMessage * other)346 inline void Swap(ClientStreamMessage* other) {
347 if (other == this) return;
348 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
349 if (GetOwningArena() != nullptr &&
350 GetOwningArena() == other->GetOwningArena()) {
351 #else // PROTOBUF_FORCE_COPY_IN_SWAP
352 if (GetOwningArena() == other->GetOwningArena()) {
353 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
354 InternalSwap(other);
355 } else {
356 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
357 }
358 }
359 void UnsafeArenaSwap(ClientStreamMessage* other) {
360 if (other == this) return;
361 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
362 InternalSwap(other);
363 }
364
365 // implements Message ----------------------------------------------
366
367 ClientStreamMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
368 return CreateMaybeMessage<ClientStreamMessage>(arena);
369 }
370 ClientStreamMessage* New() const {
371 return New(nullptr);
372 }
373 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
374 void CopyFrom(const ClientStreamMessage& from);
375 void MergeFrom(const ClientStreamMessage& from);
376 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
377 bool IsInitialized() const final;
378
379 size_t ByteSizeLong() const final;
380 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
381 ::uint8_t* _InternalSerialize(
382 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
383 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
384
385 private:
386 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
387 void SharedDtor();
388 void SetCachedSize(int size) const;
389 void InternalSwap(ClientStreamMessage* other);
390
391 private:
392 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
393 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
394 return "google.internal.federatedml.v2.ClientStreamMessage";
395 }
396 protected:
397 explicit ClientStreamMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
398 bool is_message_owned = false);
399 public:
400
401 std::string GetTypeName() const final;
402
403 // nested types ----------------------------------------------------
404
405 // accessors -------------------------------------------------------
406
407 enum : int {
408 kSerializedSideChannelEventFieldNumber = 5,
409 kInternalClientIdFieldNumber = 3,
410 kSecureAggregationClientMessageFieldNumber = 4,
411 kCheckinRequestFieldNumber = 1,
412 kReportRequestFieldNumber = 2,
413 kChunkedTransferFieldNumber = 6,
414 kEligibilityEvalCheckinRequestFieldNumber = 7,
415 };
416 // repeated .google.protobuf.Any serialized_side_channel_event = 5;
417 int serialized_side_channel_event_size() const;
418 private:
419 int _internal_serialized_side_channel_event_size() const;
420 public:
421 void clear_serialized_side_channel_event();
422 ::PROTOBUF_NAMESPACE_ID::Any* mutable_serialized_side_channel_event(int index);
423 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >*
424 mutable_serialized_side_channel_event();
425 private:
426 const ::PROTOBUF_NAMESPACE_ID::Any& _internal_serialized_side_channel_event(int index) const;
427 ::PROTOBUF_NAMESPACE_ID::Any* _internal_add_serialized_side_channel_event();
428 public:
429 const ::PROTOBUF_NAMESPACE_ID::Any& serialized_side_channel_event(int index) const;
430 ::PROTOBUF_NAMESPACE_ID::Any* add_serialized_side_channel_event();
431 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
432 serialized_side_channel_event() const;
433
434 // string internal_client_id = 3 [deprecated = true];
435 PROTOBUF_DEPRECATED void clear_internal_client_id();
436 PROTOBUF_DEPRECATED const std::string& internal_client_id() const;
437 template <typename ArgT0 = const std::string&, typename... ArgT>
438 PROTOBUF_DEPRECATED void set_internal_client_id(ArgT0&& arg0, ArgT... args);
439 PROTOBUF_DEPRECATED std::string* mutable_internal_client_id();
440 PROTOBUF_NODISCARD PROTOBUF_DEPRECATED std::string* release_internal_client_id();
441 PROTOBUF_DEPRECATED void set_allocated_internal_client_id(std::string* internal_client_id);
442 private:
443 const std::string& _internal_internal_client_id() const;
444 inline PROTOBUF_ALWAYS_INLINE void _internal_set_internal_client_id(const std::string& value);
445 std::string* _internal_mutable_internal_client_id();
446 public:
447
448 // .fcp.secagg.ClientToServerWrapperMessage secure_aggregation_client_message = 4;
449 bool has_secure_aggregation_client_message() const;
450 private:
451 bool _internal_has_secure_aggregation_client_message() const;
452 public:
453 void clear_secure_aggregation_client_message();
454 const ::fcp::secagg::ClientToServerWrapperMessage& secure_aggregation_client_message() const;
455 PROTOBUF_NODISCARD ::fcp::secagg::ClientToServerWrapperMessage* release_secure_aggregation_client_message();
456 ::fcp::secagg::ClientToServerWrapperMessage* mutable_secure_aggregation_client_message();
457 void set_allocated_secure_aggregation_client_message(::fcp::secagg::ClientToServerWrapperMessage* secure_aggregation_client_message);
458 private:
459 const ::fcp::secagg::ClientToServerWrapperMessage& _internal_secure_aggregation_client_message() const;
460 ::fcp::secagg::ClientToServerWrapperMessage* _internal_mutable_secure_aggregation_client_message();
461 public:
462 void unsafe_arena_set_allocated_secure_aggregation_client_message(
463 ::fcp::secagg::ClientToServerWrapperMessage* secure_aggregation_client_message);
464 ::fcp::secagg::ClientToServerWrapperMessage* unsafe_arena_release_secure_aggregation_client_message();
465
466 // .google.internal.federatedml.v2.CheckinRequest checkin_request = 1;
467 bool has_checkin_request() const;
468 private:
469 bool _internal_has_checkin_request() const;
470 public:
471 void clear_checkin_request();
472 const ::google::internal::federatedml::v2::CheckinRequest& checkin_request() const;
473 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::CheckinRequest* release_checkin_request();
474 ::google::internal::federatedml::v2::CheckinRequest* mutable_checkin_request();
475 void set_allocated_checkin_request(::google::internal::federatedml::v2::CheckinRequest* checkin_request);
476 private:
477 const ::google::internal::federatedml::v2::CheckinRequest& _internal_checkin_request() const;
478 ::google::internal::federatedml::v2::CheckinRequest* _internal_mutable_checkin_request();
479 public:
480 void unsafe_arena_set_allocated_checkin_request(
481 ::google::internal::federatedml::v2::CheckinRequest* checkin_request);
482 ::google::internal::federatedml::v2::CheckinRequest* unsafe_arena_release_checkin_request();
483
484 // .google.internal.federatedml.v2.ReportRequest report_request = 2;
485 bool has_report_request() const;
486 private:
487 bool _internal_has_report_request() const;
488 public:
489 void clear_report_request();
490 const ::google::internal::federatedml::v2::ReportRequest& report_request() const;
491 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ReportRequest* release_report_request();
492 ::google::internal::federatedml::v2::ReportRequest* mutable_report_request();
493 void set_allocated_report_request(::google::internal::federatedml::v2::ReportRequest* report_request);
494 private:
495 const ::google::internal::federatedml::v2::ReportRequest& _internal_report_request() const;
496 ::google::internal::federatedml::v2::ReportRequest* _internal_mutable_report_request();
497 public:
498 void unsafe_arena_set_allocated_report_request(
499 ::google::internal::federatedml::v2::ReportRequest* report_request);
500 ::google::internal::federatedml::v2::ReportRequest* unsafe_arena_release_report_request();
501
502 // .google.internal.federatedml.v2.ChunkedTransferMessage chunked_transfer = 6;
503 bool has_chunked_transfer() const;
504 private:
505 bool _internal_has_chunked_transfer() const;
506 public:
507 void clear_chunked_transfer();
508 const ::google::internal::federatedml::v2::ChunkedTransferMessage& chunked_transfer() const;
509 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ChunkedTransferMessage* release_chunked_transfer();
510 ::google::internal::federatedml::v2::ChunkedTransferMessage* mutable_chunked_transfer();
511 void set_allocated_chunked_transfer(::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer);
512 private:
513 const ::google::internal::federatedml::v2::ChunkedTransferMessage& _internal_chunked_transfer() const;
514 ::google::internal::federatedml::v2::ChunkedTransferMessage* _internal_mutable_chunked_transfer();
515 public:
516 void unsafe_arena_set_allocated_chunked_transfer(
517 ::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer);
518 ::google::internal::federatedml::v2::ChunkedTransferMessage* unsafe_arena_release_chunked_transfer();
519
520 // .google.internal.federatedml.v2.EligibilityEvalCheckinRequest eligibility_eval_checkin_request = 7;
521 bool has_eligibility_eval_checkin_request() const;
522 private:
523 bool _internal_has_eligibility_eval_checkin_request() const;
524 public:
525 void clear_eligibility_eval_checkin_request();
526 const ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest& eligibility_eval_checkin_request() const;
527 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* release_eligibility_eval_checkin_request();
528 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* mutable_eligibility_eval_checkin_request();
529 void set_allocated_eligibility_eval_checkin_request(::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* eligibility_eval_checkin_request);
530 private:
531 const ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest& _internal_eligibility_eval_checkin_request() const;
532 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* _internal_mutable_eligibility_eval_checkin_request();
533 public:
534 void unsafe_arena_set_allocated_eligibility_eval_checkin_request(
535 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* eligibility_eval_checkin_request);
536 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* unsafe_arena_release_eligibility_eval_checkin_request();
537
538 void clear_kind();
539 KindCase kind_case() const;
540 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ClientStreamMessage)
541 private:
542 class _Internal;
543 void set_has_checkin_request();
544 void set_has_report_request();
545 void set_has_chunked_transfer();
546 void set_has_eligibility_eval_checkin_request();
547
548 inline bool has_kind() const;
549 inline void clear_has_kind();
550
551 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
552 typedef void InternalArenaConstructable_;
553 typedef void DestructorSkippable_;
554 struct Impl_ {
555 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any > serialized_side_channel_event_;
556 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr internal_client_id_;
557 ::fcp::secagg::ClientToServerWrapperMessage* secure_aggregation_client_message_;
558 union KindUnion {
559 constexpr KindUnion() : _constinit_{} {}
560 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
561 ::google::internal::federatedml::v2::CheckinRequest* checkin_request_;
562 ::google::internal::federatedml::v2::ReportRequest* report_request_;
563 ::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer_;
564 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* eligibility_eval_checkin_request_;
565 } kind_;
566 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
567 ::uint32_t _oneof_case_[1];
568
569 };
570 union { Impl_ _impl_; };
571 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
572 };
573 // -------------------------------------------------------------------
574
575 class ServerStreamMessage final :
576 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ServerStreamMessage) */ {
577 public:
ServerStreamMessage()578 inline ServerStreamMessage() : ServerStreamMessage(nullptr) {}
579 ~ServerStreamMessage() override;
580 explicit PROTOBUF_CONSTEXPR ServerStreamMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
581
582 ServerStreamMessage(const ServerStreamMessage& from);
ServerStreamMessage(ServerStreamMessage && from)583 ServerStreamMessage(ServerStreamMessage&& from) noexcept
584 : ServerStreamMessage() {
585 *this = ::std::move(from);
586 }
587
588 inline ServerStreamMessage& operator=(const ServerStreamMessage& from) {
589 if (this == &from) return *this;
590 CopyFrom(from);
591 return *this;
592 }
593 inline ServerStreamMessage& operator=(ServerStreamMessage&& from) noexcept {
594 if (this == &from) return *this;
595 if (GetOwningArena() == from.GetOwningArena()
596 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
597 && GetOwningArena() != nullptr
598 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
599 ) {
600 InternalSwap(&from);
601 } else {
602 CopyFrom(from);
603 }
604 return *this;
605 }
606
default_instance()607 static const ServerStreamMessage& default_instance() {
608 return *internal_default_instance();
609 }
610 enum KindCase {
611 kCheckinResponse = 1,
612 kReportResponse = 2,
613 kChunkedTransfer = 4,
614 kCheckinRequestAck = 5,
615 kEligibilityEvalCheckinResponse = 6,
616 KIND_NOT_SET = 0,
617 };
618
internal_default_instance()619 static inline const ServerStreamMessage* internal_default_instance() {
620 return reinterpret_cast<const ServerStreamMessage*>(
621 &_ServerStreamMessage_default_instance_);
622 }
623 static constexpr int kIndexInFileMessages =
624 1;
625
swap(ServerStreamMessage & a,ServerStreamMessage & b)626 friend void swap(ServerStreamMessage& a, ServerStreamMessage& b) {
627 a.Swap(&b);
628 }
Swap(ServerStreamMessage * other)629 inline void Swap(ServerStreamMessage* other) {
630 if (other == this) return;
631 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
632 if (GetOwningArena() != nullptr &&
633 GetOwningArena() == other->GetOwningArena()) {
634 #else // PROTOBUF_FORCE_COPY_IN_SWAP
635 if (GetOwningArena() == other->GetOwningArena()) {
636 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
637 InternalSwap(other);
638 } else {
639 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
640 }
641 }
642 void UnsafeArenaSwap(ServerStreamMessage* other) {
643 if (other == this) return;
644 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
645 InternalSwap(other);
646 }
647
648 // implements Message ----------------------------------------------
649
650 ServerStreamMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
651 return CreateMaybeMessage<ServerStreamMessage>(arena);
652 }
653 ServerStreamMessage* New() const {
654 return New(nullptr);
655 }
656 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
657 void CopyFrom(const ServerStreamMessage& from);
658 void MergeFrom(const ServerStreamMessage& from);
659 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
660 bool IsInitialized() const final;
661
662 size_t ByteSizeLong() const final;
663 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
664 ::uint8_t* _InternalSerialize(
665 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
666 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
667
668 private:
669 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
670 void SharedDtor();
671 void SetCachedSize(int size) const;
672 void InternalSwap(ServerStreamMessage* other);
673
674 private:
675 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
676 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
677 return "google.internal.federatedml.v2.ServerStreamMessage";
678 }
679 protected:
680 explicit ServerStreamMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
681 bool is_message_owned = false);
682 public:
683
684 std::string GetTypeName() const final;
685
686 // nested types ----------------------------------------------------
687
688 // accessors -------------------------------------------------------
689
690 enum : int {
691 kSecureAggregationServerMessageFieldNumber = 3,
692 kCheckinResponseFieldNumber = 1,
693 kReportResponseFieldNumber = 2,
694 kChunkedTransferFieldNumber = 4,
695 kCheckinRequestAckFieldNumber = 5,
696 kEligibilityEvalCheckinResponseFieldNumber = 6,
697 };
698 // .fcp.secagg.ServerToClientWrapperMessage secure_aggregation_server_message = 3;
699 bool has_secure_aggregation_server_message() const;
700 private:
701 bool _internal_has_secure_aggregation_server_message() const;
702 public:
703 void clear_secure_aggregation_server_message();
704 const ::fcp::secagg::ServerToClientWrapperMessage& secure_aggregation_server_message() const;
705 PROTOBUF_NODISCARD ::fcp::secagg::ServerToClientWrapperMessage* release_secure_aggregation_server_message();
706 ::fcp::secagg::ServerToClientWrapperMessage* mutable_secure_aggregation_server_message();
707 void set_allocated_secure_aggregation_server_message(::fcp::secagg::ServerToClientWrapperMessage* secure_aggregation_server_message);
708 private:
709 const ::fcp::secagg::ServerToClientWrapperMessage& _internal_secure_aggregation_server_message() const;
710 ::fcp::secagg::ServerToClientWrapperMessage* _internal_mutable_secure_aggregation_server_message();
711 public:
712 void unsafe_arena_set_allocated_secure_aggregation_server_message(
713 ::fcp::secagg::ServerToClientWrapperMessage* secure_aggregation_server_message);
714 ::fcp::secagg::ServerToClientWrapperMessage* unsafe_arena_release_secure_aggregation_server_message();
715
716 // .google.internal.federatedml.v2.CheckinResponse checkin_response = 1;
717 bool has_checkin_response() const;
718 private:
719 bool _internal_has_checkin_response() const;
720 public:
721 void clear_checkin_response();
722 const ::google::internal::federatedml::v2::CheckinResponse& checkin_response() const;
723 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::CheckinResponse* release_checkin_response();
724 ::google::internal::federatedml::v2::CheckinResponse* mutable_checkin_response();
725 void set_allocated_checkin_response(::google::internal::federatedml::v2::CheckinResponse* checkin_response);
726 private:
727 const ::google::internal::federatedml::v2::CheckinResponse& _internal_checkin_response() const;
728 ::google::internal::federatedml::v2::CheckinResponse* _internal_mutable_checkin_response();
729 public:
730 void unsafe_arena_set_allocated_checkin_response(
731 ::google::internal::federatedml::v2::CheckinResponse* checkin_response);
732 ::google::internal::federatedml::v2::CheckinResponse* unsafe_arena_release_checkin_response();
733
734 // .google.internal.federatedml.v2.ReportResponse report_response = 2;
735 bool has_report_response() const;
736 private:
737 bool _internal_has_report_response() const;
738 public:
739 void clear_report_response();
740 const ::google::internal::federatedml::v2::ReportResponse& report_response() const;
741 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ReportResponse* release_report_response();
742 ::google::internal::federatedml::v2::ReportResponse* mutable_report_response();
743 void set_allocated_report_response(::google::internal::federatedml::v2::ReportResponse* report_response);
744 private:
745 const ::google::internal::federatedml::v2::ReportResponse& _internal_report_response() const;
746 ::google::internal::federatedml::v2::ReportResponse* _internal_mutable_report_response();
747 public:
748 void unsafe_arena_set_allocated_report_response(
749 ::google::internal::federatedml::v2::ReportResponse* report_response);
750 ::google::internal::federatedml::v2::ReportResponse* unsafe_arena_release_report_response();
751
752 // .google.internal.federatedml.v2.ChunkedTransferMessage chunked_transfer = 4;
753 bool has_chunked_transfer() const;
754 private:
755 bool _internal_has_chunked_transfer() const;
756 public:
757 void clear_chunked_transfer();
758 const ::google::internal::federatedml::v2::ChunkedTransferMessage& chunked_transfer() const;
759 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ChunkedTransferMessage* release_chunked_transfer();
760 ::google::internal::federatedml::v2::ChunkedTransferMessage* mutable_chunked_transfer();
761 void set_allocated_chunked_transfer(::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer);
762 private:
763 const ::google::internal::federatedml::v2::ChunkedTransferMessage& _internal_chunked_transfer() const;
764 ::google::internal::federatedml::v2::ChunkedTransferMessage* _internal_mutable_chunked_transfer();
765 public:
766 void unsafe_arena_set_allocated_chunked_transfer(
767 ::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer);
768 ::google::internal::federatedml::v2::ChunkedTransferMessage* unsafe_arena_release_chunked_transfer();
769
770 // .google.internal.federatedml.v2.CheckinRequestAck checkin_request_ack = 5;
771 bool has_checkin_request_ack() const;
772 private:
773 bool _internal_has_checkin_request_ack() const;
774 public:
775 void clear_checkin_request_ack();
776 const ::google::internal::federatedml::v2::CheckinRequestAck& checkin_request_ack() const;
777 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::CheckinRequestAck* release_checkin_request_ack();
778 ::google::internal::federatedml::v2::CheckinRequestAck* mutable_checkin_request_ack();
779 void set_allocated_checkin_request_ack(::google::internal::federatedml::v2::CheckinRequestAck* checkin_request_ack);
780 private:
781 const ::google::internal::federatedml::v2::CheckinRequestAck& _internal_checkin_request_ack() const;
782 ::google::internal::federatedml::v2::CheckinRequestAck* _internal_mutable_checkin_request_ack();
783 public:
784 void unsafe_arena_set_allocated_checkin_request_ack(
785 ::google::internal::federatedml::v2::CheckinRequestAck* checkin_request_ack);
786 ::google::internal::federatedml::v2::CheckinRequestAck* unsafe_arena_release_checkin_request_ack();
787
788 // .google.internal.federatedml.v2.EligibilityEvalCheckinResponse eligibility_eval_checkin_response = 6;
789 bool has_eligibility_eval_checkin_response() const;
790 private:
791 bool _internal_has_eligibility_eval_checkin_response() const;
792 public:
793 void clear_eligibility_eval_checkin_response();
794 const ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse& eligibility_eval_checkin_response() const;
795 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* release_eligibility_eval_checkin_response();
796 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* mutable_eligibility_eval_checkin_response();
797 void set_allocated_eligibility_eval_checkin_response(::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* eligibility_eval_checkin_response);
798 private:
799 const ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse& _internal_eligibility_eval_checkin_response() const;
800 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* _internal_mutable_eligibility_eval_checkin_response();
801 public:
802 void unsafe_arena_set_allocated_eligibility_eval_checkin_response(
803 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* eligibility_eval_checkin_response);
804 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* unsafe_arena_release_eligibility_eval_checkin_response();
805
806 void clear_kind();
807 KindCase kind_case() const;
808 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ServerStreamMessage)
809 private:
810 class _Internal;
811 void set_has_checkin_response();
812 void set_has_report_response();
813 void set_has_chunked_transfer();
814 void set_has_checkin_request_ack();
815 void set_has_eligibility_eval_checkin_response();
816
817 inline bool has_kind() const;
818 inline void clear_has_kind();
819
820 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
821 typedef void InternalArenaConstructable_;
822 typedef void DestructorSkippable_;
823 struct Impl_ {
824 ::fcp::secagg::ServerToClientWrapperMessage* secure_aggregation_server_message_;
825 union KindUnion {
826 constexpr KindUnion() : _constinit_{} {}
827 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
828 ::google::internal::federatedml::v2::CheckinResponse* checkin_response_;
829 ::google::internal::federatedml::v2::ReportResponse* report_response_;
830 ::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer_;
831 ::google::internal::federatedml::v2::CheckinRequestAck* checkin_request_ack_;
832 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* eligibility_eval_checkin_response_;
833 } kind_;
834 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
835 ::uint32_t _oneof_case_[1];
836
837 };
838 union { Impl_ _impl_; };
839 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
840 };
841 // -------------------------------------------------------------------
842
843 class CheckinRequest final :
844 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.CheckinRequest) */ {
845 public:
CheckinRequest()846 inline CheckinRequest() : CheckinRequest(nullptr) {}
847 ~CheckinRequest() override;
848 explicit PROTOBUF_CONSTEXPR CheckinRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
849
850 CheckinRequest(const CheckinRequest& from);
CheckinRequest(CheckinRequest && from)851 CheckinRequest(CheckinRequest&& from) noexcept
852 : CheckinRequest() {
853 *this = ::std::move(from);
854 }
855
856 inline CheckinRequest& operator=(const CheckinRequest& from) {
857 if (this == &from) return *this;
858 CopyFrom(from);
859 return *this;
860 }
861 inline CheckinRequest& operator=(CheckinRequest&& from) noexcept {
862 if (this == &from) return *this;
863 if (GetOwningArena() == from.GetOwningArena()
864 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
865 && GetOwningArena() != nullptr
866 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
867 ) {
868 InternalSwap(&from);
869 } else {
870 CopyFrom(from);
871 }
872 return *this;
873 }
874
default_instance()875 static const CheckinRequest& default_instance() {
876 return *internal_default_instance();
877 }
internal_default_instance()878 static inline const CheckinRequest* internal_default_instance() {
879 return reinterpret_cast<const CheckinRequest*>(
880 &_CheckinRequest_default_instance_);
881 }
882 static constexpr int kIndexInFileMessages =
883 2;
884
swap(CheckinRequest & a,CheckinRequest & b)885 friend void swap(CheckinRequest& a, CheckinRequest& b) {
886 a.Swap(&b);
887 }
Swap(CheckinRequest * other)888 inline void Swap(CheckinRequest* other) {
889 if (other == this) return;
890 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
891 if (GetOwningArena() != nullptr &&
892 GetOwningArena() == other->GetOwningArena()) {
893 #else // PROTOBUF_FORCE_COPY_IN_SWAP
894 if (GetOwningArena() == other->GetOwningArena()) {
895 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
896 InternalSwap(other);
897 } else {
898 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
899 }
900 }
901 void UnsafeArenaSwap(CheckinRequest* other) {
902 if (other == this) return;
903 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
904 InternalSwap(other);
905 }
906
907 // implements Message ----------------------------------------------
908
909 CheckinRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
910 return CreateMaybeMessage<CheckinRequest>(arena);
911 }
912 CheckinRequest* New() const {
913 return New(nullptr);
914 }
915 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
916 void CopyFrom(const CheckinRequest& from);
917 void MergeFrom(const CheckinRequest& from);
918 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
919 bool IsInitialized() const final;
920
921 size_t ByteSizeLong() const final;
922 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
923 ::uint8_t* _InternalSerialize(
924 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
925 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
926
927 private:
928 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
929 void SharedDtor();
930 void SetCachedSize(int size) const;
931 void InternalSwap(CheckinRequest* other);
932
933 private:
934 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
935 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
936 return "google.internal.federatedml.v2.CheckinRequest";
937 }
938 protected:
939 explicit CheckinRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
940 bool is_message_owned = false);
941 public:
942
943 std::string GetTypeName() const final;
944
945 // nested types ----------------------------------------------------
946
947 // accessors -------------------------------------------------------
948
949 enum : int {
950 kPopulationNameFieldNumber = 1,
951 kRetryTokenFieldNumber = 2,
952 kAttestationMeasurementFieldNumber = 4,
953 kClientVersionFieldNumber = 6,
954 kProtocolOptionsRequestFieldNumber = 5,
955 kTaskEligibilityInfoFieldNumber = 7,
956 };
957 // string population_name = 1;
958 void clear_population_name();
959 const std::string& population_name() const;
960 template <typename ArgT0 = const std::string&, typename... ArgT>
961 void set_population_name(ArgT0&& arg0, ArgT... args);
962 std::string* mutable_population_name();
963 PROTOBUF_NODISCARD std::string* release_population_name();
964 void set_allocated_population_name(std::string* population_name);
965 private:
966 const std::string& _internal_population_name() const;
967 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
968 std::string* _internal_mutable_population_name();
969 public:
970
971 // string retry_token = 2;
972 void clear_retry_token();
973 const std::string& retry_token() const;
974 template <typename ArgT0 = const std::string&, typename... ArgT>
975 void set_retry_token(ArgT0&& arg0, ArgT... args);
976 std::string* mutable_retry_token();
977 PROTOBUF_NODISCARD std::string* release_retry_token();
978 void set_allocated_retry_token(std::string* retry_token);
979 private:
980 const std::string& _internal_retry_token() const;
981 inline PROTOBUF_ALWAYS_INLINE void _internal_set_retry_token(const std::string& value);
982 std::string* _internal_mutable_retry_token();
983 public:
984
985 // string attestation_measurement = 4;
986 void clear_attestation_measurement();
987 const std::string& attestation_measurement() const;
988 template <typename ArgT0 = const std::string&, typename... ArgT>
989 void set_attestation_measurement(ArgT0&& arg0, ArgT... args);
990 std::string* mutable_attestation_measurement();
991 PROTOBUF_NODISCARD std::string* release_attestation_measurement();
992 void set_allocated_attestation_measurement(std::string* attestation_measurement);
993 private:
994 const std::string& _internal_attestation_measurement() const;
995 inline PROTOBUF_ALWAYS_INLINE void _internal_set_attestation_measurement(const std::string& value);
996 std::string* _internal_mutable_attestation_measurement();
997 public:
998
999 // string client_version = 6;
1000 void clear_client_version();
1001 const std::string& client_version() const;
1002 template <typename ArgT0 = const std::string&, typename... ArgT>
1003 void set_client_version(ArgT0&& arg0, ArgT... args);
1004 std::string* mutable_client_version();
1005 PROTOBUF_NODISCARD std::string* release_client_version();
1006 void set_allocated_client_version(std::string* client_version);
1007 private:
1008 const std::string& _internal_client_version() const;
1009 inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_version(const std::string& value);
1010 std::string* _internal_mutable_client_version();
1011 public:
1012
1013 // .google.internal.federatedml.v2.ProtocolOptionsRequest protocol_options_request = 5;
1014 bool has_protocol_options_request() const;
1015 private:
1016 bool _internal_has_protocol_options_request() const;
1017 public:
1018 void clear_protocol_options_request();
1019 const ::google::internal::federatedml::v2::ProtocolOptionsRequest& protocol_options_request() const;
1020 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ProtocolOptionsRequest* release_protocol_options_request();
1021 ::google::internal::federatedml::v2::ProtocolOptionsRequest* mutable_protocol_options_request();
1022 void set_allocated_protocol_options_request(::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request);
1023 private:
1024 const ::google::internal::federatedml::v2::ProtocolOptionsRequest& _internal_protocol_options_request() const;
1025 ::google::internal::federatedml::v2::ProtocolOptionsRequest* _internal_mutable_protocol_options_request();
1026 public:
1027 void unsafe_arena_set_allocated_protocol_options_request(
1028 ::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request);
1029 ::google::internal::federatedml::v2::ProtocolOptionsRequest* unsafe_arena_release_protocol_options_request();
1030
1031 // .google.internal.federatedml.v2.TaskEligibilityInfo task_eligibility_info = 7;
1032 bool has_task_eligibility_info() const;
1033 private:
1034 bool _internal_has_task_eligibility_info() const;
1035 public:
1036 void clear_task_eligibility_info();
1037 const ::google::internal::federatedml::v2::TaskEligibilityInfo& task_eligibility_info() const;
1038 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::TaskEligibilityInfo* release_task_eligibility_info();
1039 ::google::internal::federatedml::v2::TaskEligibilityInfo* mutable_task_eligibility_info();
1040 void set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info);
1041 private:
1042 const ::google::internal::federatedml::v2::TaskEligibilityInfo& _internal_task_eligibility_info() const;
1043 ::google::internal::federatedml::v2::TaskEligibilityInfo* _internal_mutable_task_eligibility_info();
1044 public:
1045 void unsafe_arena_set_allocated_task_eligibility_info(
1046 ::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info);
1047 ::google::internal::federatedml::v2::TaskEligibilityInfo* unsafe_arena_release_task_eligibility_info();
1048
1049 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.CheckinRequest)
1050 private:
1051 class _Internal;
1052
1053 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1054 typedef void InternalArenaConstructable_;
1055 typedef void DestructorSkippable_;
1056 struct Impl_ {
1057 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
1058 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retry_token_;
1059 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attestation_measurement_;
1060 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_version_;
1061 ::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request_;
1062 ::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info_;
1063 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1064 };
1065 union { Impl_ _impl_; };
1066 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
1067 };
1068 // -------------------------------------------------------------------
1069
1070 class TaskEligibilityInfo final :
1071 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.TaskEligibilityInfo) */ {
1072 public:
TaskEligibilityInfo()1073 inline TaskEligibilityInfo() : TaskEligibilityInfo(nullptr) {}
1074 ~TaskEligibilityInfo() override;
1075 explicit PROTOBUF_CONSTEXPR TaskEligibilityInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1076
1077 TaskEligibilityInfo(const TaskEligibilityInfo& from);
TaskEligibilityInfo(TaskEligibilityInfo && from)1078 TaskEligibilityInfo(TaskEligibilityInfo&& from) noexcept
1079 : TaskEligibilityInfo() {
1080 *this = ::std::move(from);
1081 }
1082
1083 inline TaskEligibilityInfo& operator=(const TaskEligibilityInfo& from) {
1084 if (this == &from) return *this;
1085 CopyFrom(from);
1086 return *this;
1087 }
1088 inline TaskEligibilityInfo& operator=(TaskEligibilityInfo&& from) noexcept {
1089 if (this == &from) return *this;
1090 if (GetOwningArena() == from.GetOwningArena()
1091 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1092 && GetOwningArena() != nullptr
1093 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1094 ) {
1095 InternalSwap(&from);
1096 } else {
1097 CopyFrom(from);
1098 }
1099 return *this;
1100 }
1101
default_instance()1102 static const TaskEligibilityInfo& default_instance() {
1103 return *internal_default_instance();
1104 }
internal_default_instance()1105 static inline const TaskEligibilityInfo* internal_default_instance() {
1106 return reinterpret_cast<const TaskEligibilityInfo*>(
1107 &_TaskEligibilityInfo_default_instance_);
1108 }
1109 static constexpr int kIndexInFileMessages =
1110 3;
1111
swap(TaskEligibilityInfo & a,TaskEligibilityInfo & b)1112 friend void swap(TaskEligibilityInfo& a, TaskEligibilityInfo& b) {
1113 a.Swap(&b);
1114 }
Swap(TaskEligibilityInfo * other)1115 inline void Swap(TaskEligibilityInfo* other) {
1116 if (other == this) return;
1117 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1118 if (GetOwningArena() != nullptr &&
1119 GetOwningArena() == other->GetOwningArena()) {
1120 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1121 if (GetOwningArena() == other->GetOwningArena()) {
1122 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1123 InternalSwap(other);
1124 } else {
1125 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1126 }
1127 }
1128 void UnsafeArenaSwap(TaskEligibilityInfo* other) {
1129 if (other == this) return;
1130 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1131 InternalSwap(other);
1132 }
1133
1134 // implements Message ----------------------------------------------
1135
1136 TaskEligibilityInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1137 return CreateMaybeMessage<TaskEligibilityInfo>(arena);
1138 }
1139 TaskEligibilityInfo* New() const {
1140 return New(nullptr);
1141 }
1142 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1143 void CopyFrom(const TaskEligibilityInfo& from);
1144 void MergeFrom(const TaskEligibilityInfo& from);
1145 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1146 bool IsInitialized() const final;
1147
1148 size_t ByteSizeLong() const final;
1149 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1150 ::uint8_t* _InternalSerialize(
1151 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1152 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1153
1154 private:
1155 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1156 void SharedDtor();
1157 void SetCachedSize(int size) const;
1158 void InternalSwap(TaskEligibilityInfo* other);
1159
1160 private:
1161 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1162 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1163 return "google.internal.federatedml.v2.TaskEligibilityInfo";
1164 }
1165 protected:
1166 explicit TaskEligibilityInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1167 bool is_message_owned = false);
1168 public:
1169
1170 std::string GetTypeName() const final;
1171
1172 // nested types ----------------------------------------------------
1173
1174 // accessors -------------------------------------------------------
1175
1176 enum : int {
1177 kTaskWeightsFieldNumber = 2,
1178 kVersionFieldNumber = 1,
1179 };
1180 // repeated .google.internal.federatedml.v2.TaskWeight task_weights = 2;
1181 int task_weights_size() const;
1182 private:
1183 int _internal_task_weights_size() const;
1184 public:
1185 void clear_task_weights();
1186 ::google::internal::federatedml::v2::TaskWeight* mutable_task_weights(int index);
1187 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedml::v2::TaskWeight >*
1188 mutable_task_weights();
1189 private:
1190 const ::google::internal::federatedml::v2::TaskWeight& _internal_task_weights(int index) const;
1191 ::google::internal::federatedml::v2::TaskWeight* _internal_add_task_weights();
1192 public:
1193 const ::google::internal::federatedml::v2::TaskWeight& task_weights(int index) const;
1194 ::google::internal::federatedml::v2::TaskWeight* add_task_weights();
1195 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedml::v2::TaskWeight >&
1196 task_weights() const;
1197
1198 // int64 version = 1;
1199 void clear_version();
1200 ::int64_t version() const;
1201 void set_version(::int64_t value);
1202 private:
1203 ::int64_t _internal_version() const;
1204 void _internal_set_version(::int64_t value);
1205 public:
1206
1207 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.TaskEligibilityInfo)
1208 private:
1209 class _Internal;
1210
1211 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1212 typedef void InternalArenaConstructable_;
1213 typedef void DestructorSkippable_;
1214 struct Impl_ {
1215 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::google::internal::federatedml::v2::TaskWeight > task_weights_;
1216 ::int64_t version_;
1217 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1218 };
1219 union { Impl_ _impl_; };
1220 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
1221 };
1222 // -------------------------------------------------------------------
1223
1224 class TaskWeight final :
1225 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.TaskWeight) */ {
1226 public:
TaskWeight()1227 inline TaskWeight() : TaskWeight(nullptr) {}
1228 ~TaskWeight() override;
1229 explicit PROTOBUF_CONSTEXPR TaskWeight(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1230
1231 TaskWeight(const TaskWeight& from);
TaskWeight(TaskWeight && from)1232 TaskWeight(TaskWeight&& from) noexcept
1233 : TaskWeight() {
1234 *this = ::std::move(from);
1235 }
1236
1237 inline TaskWeight& operator=(const TaskWeight& from) {
1238 if (this == &from) return *this;
1239 CopyFrom(from);
1240 return *this;
1241 }
1242 inline TaskWeight& operator=(TaskWeight&& from) noexcept {
1243 if (this == &from) return *this;
1244 if (GetOwningArena() == from.GetOwningArena()
1245 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1246 && GetOwningArena() != nullptr
1247 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1248 ) {
1249 InternalSwap(&from);
1250 } else {
1251 CopyFrom(from);
1252 }
1253 return *this;
1254 }
1255
default_instance()1256 static const TaskWeight& default_instance() {
1257 return *internal_default_instance();
1258 }
internal_default_instance()1259 static inline const TaskWeight* internal_default_instance() {
1260 return reinterpret_cast<const TaskWeight*>(
1261 &_TaskWeight_default_instance_);
1262 }
1263 static constexpr int kIndexInFileMessages =
1264 4;
1265
swap(TaskWeight & a,TaskWeight & b)1266 friend void swap(TaskWeight& a, TaskWeight& b) {
1267 a.Swap(&b);
1268 }
Swap(TaskWeight * other)1269 inline void Swap(TaskWeight* other) {
1270 if (other == this) return;
1271 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1272 if (GetOwningArena() != nullptr &&
1273 GetOwningArena() == other->GetOwningArena()) {
1274 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1275 if (GetOwningArena() == other->GetOwningArena()) {
1276 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1277 InternalSwap(other);
1278 } else {
1279 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1280 }
1281 }
1282 void UnsafeArenaSwap(TaskWeight* other) {
1283 if (other == this) return;
1284 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1285 InternalSwap(other);
1286 }
1287
1288 // implements Message ----------------------------------------------
1289
1290 TaskWeight* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1291 return CreateMaybeMessage<TaskWeight>(arena);
1292 }
1293 TaskWeight* New() const {
1294 return New(nullptr);
1295 }
1296 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1297 void CopyFrom(const TaskWeight& from);
1298 void MergeFrom(const TaskWeight& from);
1299 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1300 bool IsInitialized() const final;
1301
1302 size_t ByteSizeLong() const final;
1303 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1304 ::uint8_t* _InternalSerialize(
1305 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1306 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1307
1308 private:
1309 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1310 void SharedDtor();
1311 void SetCachedSize(int size) const;
1312 void InternalSwap(TaskWeight* other);
1313
1314 private:
1315 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1316 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1317 return "google.internal.federatedml.v2.TaskWeight";
1318 }
1319 protected:
1320 explicit TaskWeight(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1321 bool is_message_owned = false);
1322 public:
1323
1324 std::string GetTypeName() const final;
1325
1326 // nested types ----------------------------------------------------
1327
1328 // accessors -------------------------------------------------------
1329
1330 enum : int {
1331 kTaskNameFieldNumber = 1,
1332 kWeightFieldNumber = 2,
1333 };
1334 // string task_name = 1;
1335 void clear_task_name();
1336 const std::string& task_name() const;
1337 template <typename ArgT0 = const std::string&, typename... ArgT>
1338 void set_task_name(ArgT0&& arg0, ArgT... args);
1339 std::string* mutable_task_name();
1340 PROTOBUF_NODISCARD std::string* release_task_name();
1341 void set_allocated_task_name(std::string* task_name);
1342 private:
1343 const std::string& _internal_task_name() const;
1344 inline PROTOBUF_ALWAYS_INLINE void _internal_set_task_name(const std::string& value);
1345 std::string* _internal_mutable_task_name();
1346 public:
1347
1348 // float weight = 2;
1349 void clear_weight();
1350 float weight() const;
1351 void set_weight(float value);
1352 private:
1353 float _internal_weight() const;
1354 void _internal_set_weight(float value);
1355 public:
1356
1357 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.TaskWeight)
1358 private:
1359 class _Internal;
1360
1361 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1362 typedef void InternalArenaConstructable_;
1363 typedef void DestructorSkippable_;
1364 struct Impl_ {
1365 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr task_name_;
1366 float weight_;
1367 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1368 };
1369 union { Impl_ _impl_; };
1370 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
1371 };
1372 // -------------------------------------------------------------------
1373
1374 class CheckinResponse final :
1375 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.CheckinResponse) */ {
1376 public:
CheckinResponse()1377 inline CheckinResponse() : CheckinResponse(nullptr) {}
1378 ~CheckinResponse() override;
1379 explicit PROTOBUF_CONSTEXPR CheckinResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1380
1381 CheckinResponse(const CheckinResponse& from);
CheckinResponse(CheckinResponse && from)1382 CheckinResponse(CheckinResponse&& from) noexcept
1383 : CheckinResponse() {
1384 *this = ::std::move(from);
1385 }
1386
1387 inline CheckinResponse& operator=(const CheckinResponse& from) {
1388 if (this == &from) return *this;
1389 CopyFrom(from);
1390 return *this;
1391 }
1392 inline CheckinResponse& operator=(CheckinResponse&& from) noexcept {
1393 if (this == &from) return *this;
1394 if (GetOwningArena() == from.GetOwningArena()
1395 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1396 && GetOwningArena() != nullptr
1397 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1398 ) {
1399 InternalSwap(&from);
1400 } else {
1401 CopyFrom(from);
1402 }
1403 return *this;
1404 }
1405
default_instance()1406 static const CheckinResponse& default_instance() {
1407 return *internal_default_instance();
1408 }
1409 enum CheckinResultCase {
1410 kAcceptanceInfo = 1,
1411 kRejectionInfo = 2,
1412 CHECKIN_RESULT_NOT_SET = 0,
1413 };
1414
internal_default_instance()1415 static inline const CheckinResponse* internal_default_instance() {
1416 return reinterpret_cast<const CheckinResponse*>(
1417 &_CheckinResponse_default_instance_);
1418 }
1419 static constexpr int kIndexInFileMessages =
1420 5;
1421
swap(CheckinResponse & a,CheckinResponse & b)1422 friend void swap(CheckinResponse& a, CheckinResponse& b) {
1423 a.Swap(&b);
1424 }
Swap(CheckinResponse * other)1425 inline void Swap(CheckinResponse* other) {
1426 if (other == this) return;
1427 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1428 if (GetOwningArena() != nullptr &&
1429 GetOwningArena() == other->GetOwningArena()) {
1430 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1431 if (GetOwningArena() == other->GetOwningArena()) {
1432 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1433 InternalSwap(other);
1434 } else {
1435 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1436 }
1437 }
1438 void UnsafeArenaSwap(CheckinResponse* other) {
1439 if (other == this) return;
1440 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1441 InternalSwap(other);
1442 }
1443
1444 // implements Message ----------------------------------------------
1445
1446 CheckinResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1447 return CreateMaybeMessage<CheckinResponse>(arena);
1448 }
1449 CheckinResponse* New() const {
1450 return New(nullptr);
1451 }
1452 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1453 void CopyFrom(const CheckinResponse& from);
1454 void MergeFrom(const CheckinResponse& from);
1455 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1456 bool IsInitialized() const final;
1457
1458 size_t ByteSizeLong() const final;
1459 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1460 ::uint8_t* _InternalSerialize(
1461 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1462 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1463
1464 private:
1465 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1466 void SharedDtor();
1467 void SetCachedSize(int size) const;
1468 void InternalSwap(CheckinResponse* other);
1469
1470 private:
1471 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1472 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1473 return "google.internal.federatedml.v2.CheckinResponse";
1474 }
1475 protected:
1476 explicit CheckinResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1477 bool is_message_owned = false);
1478 public:
1479
1480 std::string GetTypeName() const final;
1481
1482 // nested types ----------------------------------------------------
1483
1484 // accessors -------------------------------------------------------
1485
1486 enum : int {
1487 kProtocolOptionsResponseFieldNumber = 4,
1488 kAcceptanceInfoFieldNumber = 1,
1489 kRejectionInfoFieldNumber = 2,
1490 };
1491 // .google.internal.federatedml.v2.ProtocolOptionsResponse protocol_options_response = 4;
1492 bool has_protocol_options_response() const;
1493 private:
1494 bool _internal_has_protocol_options_response() const;
1495 public:
1496 void clear_protocol_options_response();
1497 const ::google::internal::federatedml::v2::ProtocolOptionsResponse& protocol_options_response() const;
1498 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ProtocolOptionsResponse* release_protocol_options_response();
1499 ::google::internal::federatedml::v2::ProtocolOptionsResponse* mutable_protocol_options_response();
1500 void set_allocated_protocol_options_response(::google::internal::federatedml::v2::ProtocolOptionsResponse* protocol_options_response);
1501 private:
1502 const ::google::internal::federatedml::v2::ProtocolOptionsResponse& _internal_protocol_options_response() const;
1503 ::google::internal::federatedml::v2::ProtocolOptionsResponse* _internal_mutable_protocol_options_response();
1504 public:
1505 void unsafe_arena_set_allocated_protocol_options_response(
1506 ::google::internal::federatedml::v2::ProtocolOptionsResponse* protocol_options_response);
1507 ::google::internal::federatedml::v2::ProtocolOptionsResponse* unsafe_arena_release_protocol_options_response();
1508
1509 // .google.internal.federatedml.v2.AcceptanceInfo acceptance_info = 1;
1510 bool has_acceptance_info() const;
1511 private:
1512 bool _internal_has_acceptance_info() const;
1513 public:
1514 void clear_acceptance_info();
1515 const ::google::internal::federatedml::v2::AcceptanceInfo& acceptance_info() const;
1516 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::AcceptanceInfo* release_acceptance_info();
1517 ::google::internal::federatedml::v2::AcceptanceInfo* mutable_acceptance_info();
1518 void set_allocated_acceptance_info(::google::internal::federatedml::v2::AcceptanceInfo* acceptance_info);
1519 private:
1520 const ::google::internal::federatedml::v2::AcceptanceInfo& _internal_acceptance_info() const;
1521 ::google::internal::federatedml::v2::AcceptanceInfo* _internal_mutable_acceptance_info();
1522 public:
1523 void unsafe_arena_set_allocated_acceptance_info(
1524 ::google::internal::federatedml::v2::AcceptanceInfo* acceptance_info);
1525 ::google::internal::federatedml::v2::AcceptanceInfo* unsafe_arena_release_acceptance_info();
1526
1527 // .google.internal.federatedml.v2.RejectionInfo rejection_info = 2;
1528 bool has_rejection_info() const;
1529 private:
1530 bool _internal_has_rejection_info() const;
1531 public:
1532 void clear_rejection_info();
1533 const ::google::internal::federatedml::v2::RejectionInfo& rejection_info() const;
1534 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::RejectionInfo* release_rejection_info();
1535 ::google::internal::federatedml::v2::RejectionInfo* mutable_rejection_info();
1536 void set_allocated_rejection_info(::google::internal::federatedml::v2::RejectionInfo* rejection_info);
1537 private:
1538 const ::google::internal::federatedml::v2::RejectionInfo& _internal_rejection_info() const;
1539 ::google::internal::federatedml::v2::RejectionInfo* _internal_mutable_rejection_info();
1540 public:
1541 void unsafe_arena_set_allocated_rejection_info(
1542 ::google::internal::federatedml::v2::RejectionInfo* rejection_info);
1543 ::google::internal::federatedml::v2::RejectionInfo* unsafe_arena_release_rejection_info();
1544
1545 void clear_checkin_result();
1546 CheckinResultCase checkin_result_case() const;
1547 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.CheckinResponse)
1548 private:
1549 class _Internal;
1550 void set_has_acceptance_info();
1551 void set_has_rejection_info();
1552
1553 inline bool has_checkin_result() const;
1554 inline void clear_has_checkin_result();
1555
1556 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1557 typedef void InternalArenaConstructable_;
1558 typedef void DestructorSkippable_;
1559 struct Impl_ {
1560 ::google::internal::federatedml::v2::ProtocolOptionsResponse* protocol_options_response_;
1561 union CheckinResultUnion {
1562 constexpr CheckinResultUnion() : _constinit_{} {}
1563 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1564 ::google::internal::federatedml::v2::AcceptanceInfo* acceptance_info_;
1565 ::google::internal::federatedml::v2::RejectionInfo* rejection_info_;
1566 } checkin_result_;
1567 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1568 ::uint32_t _oneof_case_[1];
1569
1570 };
1571 union { Impl_ _impl_; };
1572 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
1573 };
1574 // -------------------------------------------------------------------
1575
1576 class CheckinRequestAck final :
1577 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.CheckinRequestAck) */ {
1578 public:
CheckinRequestAck()1579 inline CheckinRequestAck() : CheckinRequestAck(nullptr) {}
1580 ~CheckinRequestAck() override;
1581 explicit PROTOBUF_CONSTEXPR CheckinRequestAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1582
1583 CheckinRequestAck(const CheckinRequestAck& from);
CheckinRequestAck(CheckinRequestAck && from)1584 CheckinRequestAck(CheckinRequestAck&& from) noexcept
1585 : CheckinRequestAck() {
1586 *this = ::std::move(from);
1587 }
1588
1589 inline CheckinRequestAck& operator=(const CheckinRequestAck& from) {
1590 if (this == &from) return *this;
1591 CopyFrom(from);
1592 return *this;
1593 }
1594 inline CheckinRequestAck& operator=(CheckinRequestAck&& from) noexcept {
1595 if (this == &from) return *this;
1596 if (GetOwningArena() == from.GetOwningArena()
1597 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1598 && GetOwningArena() != nullptr
1599 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1600 ) {
1601 InternalSwap(&from);
1602 } else {
1603 CopyFrom(from);
1604 }
1605 return *this;
1606 }
1607
default_instance()1608 static const CheckinRequestAck& default_instance() {
1609 return *internal_default_instance();
1610 }
internal_default_instance()1611 static inline const CheckinRequestAck* internal_default_instance() {
1612 return reinterpret_cast<const CheckinRequestAck*>(
1613 &_CheckinRequestAck_default_instance_);
1614 }
1615 static constexpr int kIndexInFileMessages =
1616 6;
1617
swap(CheckinRequestAck & a,CheckinRequestAck & b)1618 friend void swap(CheckinRequestAck& a, CheckinRequestAck& b) {
1619 a.Swap(&b);
1620 }
Swap(CheckinRequestAck * other)1621 inline void Swap(CheckinRequestAck* other) {
1622 if (other == this) return;
1623 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1624 if (GetOwningArena() != nullptr &&
1625 GetOwningArena() == other->GetOwningArena()) {
1626 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1627 if (GetOwningArena() == other->GetOwningArena()) {
1628 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1629 InternalSwap(other);
1630 } else {
1631 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1632 }
1633 }
1634 void UnsafeArenaSwap(CheckinRequestAck* other) {
1635 if (other == this) return;
1636 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1637 InternalSwap(other);
1638 }
1639
1640 // implements Message ----------------------------------------------
1641
1642 CheckinRequestAck* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1643 return CreateMaybeMessage<CheckinRequestAck>(arena);
1644 }
1645 CheckinRequestAck* New() const {
1646 return New(nullptr);
1647 }
1648 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1649 void CopyFrom(const CheckinRequestAck& from);
1650 void MergeFrom(const CheckinRequestAck& from);
1651 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1652 bool IsInitialized() const final;
1653
1654 size_t ByteSizeLong() const final;
1655 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1656 ::uint8_t* _InternalSerialize(
1657 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1658 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1659
1660 private:
1661 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1662 void SharedDtor();
1663 void SetCachedSize(int size) const;
1664 void InternalSwap(CheckinRequestAck* other);
1665
1666 private:
1667 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1668 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1669 return "google.internal.federatedml.v2.CheckinRequestAck";
1670 }
1671 protected:
1672 explicit CheckinRequestAck(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1673 bool is_message_owned = false);
1674 public:
1675
1676 std::string GetTypeName() const final;
1677
1678 // nested types ----------------------------------------------------
1679
1680 // accessors -------------------------------------------------------
1681
1682 enum : int {
1683 kRetryWindowIfAcceptedFieldNumber = 1,
1684 kRetryWindowIfRejectedFieldNumber = 2,
1685 };
1686 // .google.internal.federatedml.v2.RetryWindow retry_window_if_accepted = 1;
1687 bool has_retry_window_if_accepted() const;
1688 private:
1689 bool _internal_has_retry_window_if_accepted() const;
1690 public:
1691 void clear_retry_window_if_accepted();
1692 const ::google::internal::federatedml::v2::RetryWindow& retry_window_if_accepted() const;
1693 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::RetryWindow* release_retry_window_if_accepted();
1694 ::google::internal::federatedml::v2::RetryWindow* mutable_retry_window_if_accepted();
1695 void set_allocated_retry_window_if_accepted(::google::internal::federatedml::v2::RetryWindow* retry_window_if_accepted);
1696 private:
1697 const ::google::internal::federatedml::v2::RetryWindow& _internal_retry_window_if_accepted() const;
1698 ::google::internal::federatedml::v2::RetryWindow* _internal_mutable_retry_window_if_accepted();
1699 public:
1700 void unsafe_arena_set_allocated_retry_window_if_accepted(
1701 ::google::internal::federatedml::v2::RetryWindow* retry_window_if_accepted);
1702 ::google::internal::federatedml::v2::RetryWindow* unsafe_arena_release_retry_window_if_accepted();
1703
1704 // .google.internal.federatedml.v2.RetryWindow retry_window_if_rejected = 2;
1705 bool has_retry_window_if_rejected() const;
1706 private:
1707 bool _internal_has_retry_window_if_rejected() const;
1708 public:
1709 void clear_retry_window_if_rejected();
1710 const ::google::internal::federatedml::v2::RetryWindow& retry_window_if_rejected() const;
1711 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::RetryWindow* release_retry_window_if_rejected();
1712 ::google::internal::federatedml::v2::RetryWindow* mutable_retry_window_if_rejected();
1713 void set_allocated_retry_window_if_rejected(::google::internal::federatedml::v2::RetryWindow* retry_window_if_rejected);
1714 private:
1715 const ::google::internal::federatedml::v2::RetryWindow& _internal_retry_window_if_rejected() const;
1716 ::google::internal::federatedml::v2::RetryWindow* _internal_mutable_retry_window_if_rejected();
1717 public:
1718 void unsafe_arena_set_allocated_retry_window_if_rejected(
1719 ::google::internal::federatedml::v2::RetryWindow* retry_window_if_rejected);
1720 ::google::internal::federatedml::v2::RetryWindow* unsafe_arena_release_retry_window_if_rejected();
1721
1722 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.CheckinRequestAck)
1723 private:
1724 class _Internal;
1725
1726 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1727 typedef void InternalArenaConstructable_;
1728 typedef void DestructorSkippable_;
1729 struct Impl_ {
1730 ::google::internal::federatedml::v2::RetryWindow* retry_window_if_accepted_;
1731 ::google::internal::federatedml::v2::RetryWindow* retry_window_if_rejected_;
1732 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1733 };
1734 union { Impl_ _impl_; };
1735 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
1736 };
1737 // -------------------------------------------------------------------
1738
1739 class EligibilityEvalCheckinRequest final :
1740 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.EligibilityEvalCheckinRequest) */ {
1741 public:
EligibilityEvalCheckinRequest()1742 inline EligibilityEvalCheckinRequest() : EligibilityEvalCheckinRequest(nullptr) {}
1743 ~EligibilityEvalCheckinRequest() override;
1744 explicit PROTOBUF_CONSTEXPR EligibilityEvalCheckinRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1745
1746 EligibilityEvalCheckinRequest(const EligibilityEvalCheckinRequest& from);
EligibilityEvalCheckinRequest(EligibilityEvalCheckinRequest && from)1747 EligibilityEvalCheckinRequest(EligibilityEvalCheckinRequest&& from) noexcept
1748 : EligibilityEvalCheckinRequest() {
1749 *this = ::std::move(from);
1750 }
1751
1752 inline EligibilityEvalCheckinRequest& operator=(const EligibilityEvalCheckinRequest& from) {
1753 if (this == &from) return *this;
1754 CopyFrom(from);
1755 return *this;
1756 }
1757 inline EligibilityEvalCheckinRequest& operator=(EligibilityEvalCheckinRequest&& from) noexcept {
1758 if (this == &from) return *this;
1759 if (GetOwningArena() == from.GetOwningArena()
1760 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1761 && GetOwningArena() != nullptr
1762 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1763 ) {
1764 InternalSwap(&from);
1765 } else {
1766 CopyFrom(from);
1767 }
1768 return *this;
1769 }
1770
default_instance()1771 static const EligibilityEvalCheckinRequest& default_instance() {
1772 return *internal_default_instance();
1773 }
internal_default_instance()1774 static inline const EligibilityEvalCheckinRequest* internal_default_instance() {
1775 return reinterpret_cast<const EligibilityEvalCheckinRequest*>(
1776 &_EligibilityEvalCheckinRequest_default_instance_);
1777 }
1778 static constexpr int kIndexInFileMessages =
1779 7;
1780
swap(EligibilityEvalCheckinRequest & a,EligibilityEvalCheckinRequest & b)1781 friend void swap(EligibilityEvalCheckinRequest& a, EligibilityEvalCheckinRequest& b) {
1782 a.Swap(&b);
1783 }
Swap(EligibilityEvalCheckinRequest * other)1784 inline void Swap(EligibilityEvalCheckinRequest* other) {
1785 if (other == this) return;
1786 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1787 if (GetOwningArena() != nullptr &&
1788 GetOwningArena() == other->GetOwningArena()) {
1789 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1790 if (GetOwningArena() == other->GetOwningArena()) {
1791 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1792 InternalSwap(other);
1793 } else {
1794 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1795 }
1796 }
1797 void UnsafeArenaSwap(EligibilityEvalCheckinRequest* other) {
1798 if (other == this) return;
1799 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1800 InternalSwap(other);
1801 }
1802
1803 // implements Message ----------------------------------------------
1804
1805 EligibilityEvalCheckinRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1806 return CreateMaybeMessage<EligibilityEvalCheckinRequest>(arena);
1807 }
1808 EligibilityEvalCheckinRequest* New() const {
1809 return New(nullptr);
1810 }
1811 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1812 void CopyFrom(const EligibilityEvalCheckinRequest& from);
1813 void MergeFrom(const EligibilityEvalCheckinRequest& from);
1814 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1815 bool IsInitialized() const final;
1816
1817 size_t ByteSizeLong() const final;
1818 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1819 ::uint8_t* _InternalSerialize(
1820 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1821 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1822
1823 private:
1824 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1825 void SharedDtor();
1826 void SetCachedSize(int size) const;
1827 void InternalSwap(EligibilityEvalCheckinRequest* other);
1828
1829 private:
1830 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1831 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1832 return "google.internal.federatedml.v2.EligibilityEvalCheckinRequest";
1833 }
1834 protected:
1835 explicit EligibilityEvalCheckinRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1836 bool is_message_owned = false);
1837 public:
1838
1839 std::string GetTypeName() const final;
1840
1841 // nested types ----------------------------------------------------
1842
1843 // accessors -------------------------------------------------------
1844
1845 enum : int {
1846 kPopulationNameFieldNumber = 1,
1847 kRetryTokenFieldNumber = 2,
1848 kAttestationMeasurementFieldNumber = 4,
1849 kClientVersionFieldNumber = 6,
1850 kProtocolOptionsRequestFieldNumber = 5,
1851 kEligibilityEvalTaskCapabilitiesFieldNumber = 7,
1852 };
1853 // string population_name = 1;
1854 void clear_population_name();
1855 const std::string& population_name() const;
1856 template <typename ArgT0 = const std::string&, typename... ArgT>
1857 void set_population_name(ArgT0&& arg0, ArgT... args);
1858 std::string* mutable_population_name();
1859 PROTOBUF_NODISCARD std::string* release_population_name();
1860 void set_allocated_population_name(std::string* population_name);
1861 private:
1862 const std::string& _internal_population_name() const;
1863 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
1864 std::string* _internal_mutable_population_name();
1865 public:
1866
1867 // string retry_token = 2;
1868 void clear_retry_token();
1869 const std::string& retry_token() const;
1870 template <typename ArgT0 = const std::string&, typename... ArgT>
1871 void set_retry_token(ArgT0&& arg0, ArgT... args);
1872 std::string* mutable_retry_token();
1873 PROTOBUF_NODISCARD std::string* release_retry_token();
1874 void set_allocated_retry_token(std::string* retry_token);
1875 private:
1876 const std::string& _internal_retry_token() const;
1877 inline PROTOBUF_ALWAYS_INLINE void _internal_set_retry_token(const std::string& value);
1878 std::string* _internal_mutable_retry_token();
1879 public:
1880
1881 // string attestation_measurement = 4;
1882 void clear_attestation_measurement();
1883 const std::string& attestation_measurement() const;
1884 template <typename ArgT0 = const std::string&, typename... ArgT>
1885 void set_attestation_measurement(ArgT0&& arg0, ArgT... args);
1886 std::string* mutable_attestation_measurement();
1887 PROTOBUF_NODISCARD std::string* release_attestation_measurement();
1888 void set_allocated_attestation_measurement(std::string* attestation_measurement);
1889 private:
1890 const std::string& _internal_attestation_measurement() const;
1891 inline PROTOBUF_ALWAYS_INLINE void _internal_set_attestation_measurement(const std::string& value);
1892 std::string* _internal_mutable_attestation_measurement();
1893 public:
1894
1895 // string client_version = 6;
1896 void clear_client_version();
1897 const std::string& client_version() const;
1898 template <typename ArgT0 = const std::string&, typename... ArgT>
1899 void set_client_version(ArgT0&& arg0, ArgT... args);
1900 std::string* mutable_client_version();
1901 PROTOBUF_NODISCARD std::string* release_client_version();
1902 void set_allocated_client_version(std::string* client_version);
1903 private:
1904 const std::string& _internal_client_version() const;
1905 inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_version(const std::string& value);
1906 std::string* _internal_mutable_client_version();
1907 public:
1908
1909 // .google.internal.federatedml.v2.ProtocolOptionsRequest protocol_options_request = 5;
1910 bool has_protocol_options_request() const;
1911 private:
1912 bool _internal_has_protocol_options_request() const;
1913 public:
1914 void clear_protocol_options_request();
1915 const ::google::internal::federatedml::v2::ProtocolOptionsRequest& protocol_options_request() const;
1916 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ProtocolOptionsRequest* release_protocol_options_request();
1917 ::google::internal::federatedml::v2::ProtocolOptionsRequest* mutable_protocol_options_request();
1918 void set_allocated_protocol_options_request(::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request);
1919 private:
1920 const ::google::internal::federatedml::v2::ProtocolOptionsRequest& _internal_protocol_options_request() const;
1921 ::google::internal::federatedml::v2::ProtocolOptionsRequest* _internal_mutable_protocol_options_request();
1922 public:
1923 void unsafe_arena_set_allocated_protocol_options_request(
1924 ::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request);
1925 ::google::internal::federatedml::v2::ProtocolOptionsRequest* unsafe_arena_release_protocol_options_request();
1926
1927 // .google.internal.federatedml.v2.EligibilityEvalTaskCapabilities eligibility_eval_task_capabilities = 7;
1928 bool has_eligibility_eval_task_capabilities() const;
1929 private:
1930 bool _internal_has_eligibility_eval_task_capabilities() const;
1931 public:
1932 void clear_eligibility_eval_task_capabilities();
1933 const ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities& eligibility_eval_task_capabilities() const;
1934 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* release_eligibility_eval_task_capabilities();
1935 ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* mutable_eligibility_eval_task_capabilities();
1936 void set_allocated_eligibility_eval_task_capabilities(::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities);
1937 private:
1938 const ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities& _internal_eligibility_eval_task_capabilities() const;
1939 ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* _internal_mutable_eligibility_eval_task_capabilities();
1940 public:
1941 void unsafe_arena_set_allocated_eligibility_eval_task_capabilities(
1942 ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities);
1943 ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* unsafe_arena_release_eligibility_eval_task_capabilities();
1944
1945 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.EligibilityEvalCheckinRequest)
1946 private:
1947 class _Internal;
1948
1949 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1950 typedef void InternalArenaConstructable_;
1951 typedef void DestructorSkippable_;
1952 struct Impl_ {
1953 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
1954 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retry_token_;
1955 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr attestation_measurement_;
1956 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_version_;
1957 ::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request_;
1958 ::google::internal::federatedml::v2::EligibilityEvalTaskCapabilities* eligibility_eval_task_capabilities_;
1959 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1960 };
1961 union { Impl_ _impl_; };
1962 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
1963 };
1964 // -------------------------------------------------------------------
1965
1966 class EligibilityEvalTaskCapabilities final :
1967 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.EligibilityEvalTaskCapabilities) */ {
1968 public:
EligibilityEvalTaskCapabilities()1969 inline EligibilityEvalTaskCapabilities() : EligibilityEvalTaskCapabilities(nullptr) {}
1970 ~EligibilityEvalTaskCapabilities() override;
1971 explicit PROTOBUF_CONSTEXPR EligibilityEvalTaskCapabilities(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1972
1973 EligibilityEvalTaskCapabilities(const EligibilityEvalTaskCapabilities& from);
EligibilityEvalTaskCapabilities(EligibilityEvalTaskCapabilities && from)1974 EligibilityEvalTaskCapabilities(EligibilityEvalTaskCapabilities&& from) noexcept
1975 : EligibilityEvalTaskCapabilities() {
1976 *this = ::std::move(from);
1977 }
1978
1979 inline EligibilityEvalTaskCapabilities& operator=(const EligibilityEvalTaskCapabilities& from) {
1980 if (this == &from) return *this;
1981 CopyFrom(from);
1982 return *this;
1983 }
1984 inline EligibilityEvalTaskCapabilities& operator=(EligibilityEvalTaskCapabilities&& from) noexcept {
1985 if (this == &from) return *this;
1986 if (GetOwningArena() == from.GetOwningArena()
1987 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1988 && GetOwningArena() != nullptr
1989 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1990 ) {
1991 InternalSwap(&from);
1992 } else {
1993 CopyFrom(from);
1994 }
1995 return *this;
1996 }
1997
default_instance()1998 static const EligibilityEvalTaskCapabilities& default_instance() {
1999 return *internal_default_instance();
2000 }
internal_default_instance()2001 static inline const EligibilityEvalTaskCapabilities* internal_default_instance() {
2002 return reinterpret_cast<const EligibilityEvalTaskCapabilities*>(
2003 &_EligibilityEvalTaskCapabilities_default_instance_);
2004 }
2005 static constexpr int kIndexInFileMessages =
2006 8;
2007
swap(EligibilityEvalTaskCapabilities & a,EligibilityEvalTaskCapabilities & b)2008 friend void swap(EligibilityEvalTaskCapabilities& a, EligibilityEvalTaskCapabilities& b) {
2009 a.Swap(&b);
2010 }
Swap(EligibilityEvalTaskCapabilities * other)2011 inline void Swap(EligibilityEvalTaskCapabilities* other) {
2012 if (other == this) return;
2013 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2014 if (GetOwningArena() != nullptr &&
2015 GetOwningArena() == other->GetOwningArena()) {
2016 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2017 if (GetOwningArena() == other->GetOwningArena()) {
2018 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2019 InternalSwap(other);
2020 } else {
2021 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2022 }
2023 }
2024 void UnsafeArenaSwap(EligibilityEvalTaskCapabilities* other) {
2025 if (other == this) return;
2026 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2027 InternalSwap(other);
2028 }
2029
2030 // implements Message ----------------------------------------------
2031
2032 EligibilityEvalTaskCapabilities* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2033 return CreateMaybeMessage<EligibilityEvalTaskCapabilities>(arena);
2034 }
2035 EligibilityEvalTaskCapabilities* New() const {
2036 return New(nullptr);
2037 }
2038 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2039 void CopyFrom(const EligibilityEvalTaskCapabilities& from);
2040 void MergeFrom(const EligibilityEvalTaskCapabilities& from);
2041 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2042 bool IsInitialized() const final;
2043
2044 size_t ByteSizeLong() const final;
2045 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2046 ::uint8_t* _InternalSerialize(
2047 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2048 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2049
2050 private:
2051 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2052 void SharedDtor();
2053 void SetCachedSize(int size) const;
2054 void InternalSwap(EligibilityEvalTaskCapabilities* other);
2055
2056 private:
2057 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2058 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2059 return "google.internal.federatedml.v2.EligibilityEvalTaskCapabilities";
2060 }
2061 protected:
2062 explicit EligibilityEvalTaskCapabilities(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2063 bool is_message_owned = false);
2064 public:
2065
2066 std::string GetTypeName() const final;
2067
2068 // nested types ----------------------------------------------------
2069
2070 // accessors -------------------------------------------------------
2071
2072 enum : int {
2073 kSupportsMultipleTaskAssignmentFieldNumber = 1,
2074 };
2075 // bool supports_multiple_task_assignment = 1;
2076 void clear_supports_multiple_task_assignment();
2077 bool supports_multiple_task_assignment() const;
2078 void set_supports_multiple_task_assignment(bool value);
2079 private:
2080 bool _internal_supports_multiple_task_assignment() const;
2081 void _internal_set_supports_multiple_task_assignment(bool value);
2082 public:
2083
2084 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.EligibilityEvalTaskCapabilities)
2085 private:
2086 class _Internal;
2087
2088 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2089 typedef void InternalArenaConstructable_;
2090 typedef void DestructorSkippable_;
2091 struct Impl_ {
2092 bool supports_multiple_task_assignment_;
2093 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2094 };
2095 union { Impl_ _impl_; };
2096 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
2097 };
2098 // -------------------------------------------------------------------
2099
2100 class EligibilityEvalCheckinResponse final :
2101 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.EligibilityEvalCheckinResponse) */ {
2102 public:
EligibilityEvalCheckinResponse()2103 inline EligibilityEvalCheckinResponse() : EligibilityEvalCheckinResponse(nullptr) {}
2104 ~EligibilityEvalCheckinResponse() override;
2105 explicit PROTOBUF_CONSTEXPR EligibilityEvalCheckinResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2106
2107 EligibilityEvalCheckinResponse(const EligibilityEvalCheckinResponse& from);
EligibilityEvalCheckinResponse(EligibilityEvalCheckinResponse && from)2108 EligibilityEvalCheckinResponse(EligibilityEvalCheckinResponse&& from) noexcept
2109 : EligibilityEvalCheckinResponse() {
2110 *this = ::std::move(from);
2111 }
2112
2113 inline EligibilityEvalCheckinResponse& operator=(const EligibilityEvalCheckinResponse& from) {
2114 if (this == &from) return *this;
2115 CopyFrom(from);
2116 return *this;
2117 }
2118 inline EligibilityEvalCheckinResponse& operator=(EligibilityEvalCheckinResponse&& from) noexcept {
2119 if (this == &from) return *this;
2120 if (GetOwningArena() == from.GetOwningArena()
2121 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2122 && GetOwningArena() != nullptr
2123 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2124 ) {
2125 InternalSwap(&from);
2126 } else {
2127 CopyFrom(from);
2128 }
2129 return *this;
2130 }
2131
default_instance()2132 static const EligibilityEvalCheckinResponse& default_instance() {
2133 return *internal_default_instance();
2134 }
2135 enum CheckinResultCase {
2136 kEligibilityEvalPayload = 1,
2137 kNoEligibilityEvalConfigured = 2,
2138 kRejectionInfo = 3,
2139 CHECKIN_RESULT_NOT_SET = 0,
2140 };
2141
internal_default_instance()2142 static inline const EligibilityEvalCheckinResponse* internal_default_instance() {
2143 return reinterpret_cast<const EligibilityEvalCheckinResponse*>(
2144 &_EligibilityEvalCheckinResponse_default_instance_);
2145 }
2146 static constexpr int kIndexInFileMessages =
2147 9;
2148
swap(EligibilityEvalCheckinResponse & a,EligibilityEvalCheckinResponse & b)2149 friend void swap(EligibilityEvalCheckinResponse& a, EligibilityEvalCheckinResponse& b) {
2150 a.Swap(&b);
2151 }
Swap(EligibilityEvalCheckinResponse * other)2152 inline void Swap(EligibilityEvalCheckinResponse* other) {
2153 if (other == this) return;
2154 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2155 if (GetOwningArena() != nullptr &&
2156 GetOwningArena() == other->GetOwningArena()) {
2157 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2158 if (GetOwningArena() == other->GetOwningArena()) {
2159 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2160 InternalSwap(other);
2161 } else {
2162 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2163 }
2164 }
2165 void UnsafeArenaSwap(EligibilityEvalCheckinResponse* other) {
2166 if (other == this) return;
2167 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2168 InternalSwap(other);
2169 }
2170
2171 // implements Message ----------------------------------------------
2172
2173 EligibilityEvalCheckinResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2174 return CreateMaybeMessage<EligibilityEvalCheckinResponse>(arena);
2175 }
2176 EligibilityEvalCheckinResponse* New() const {
2177 return New(nullptr);
2178 }
2179 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2180 void CopyFrom(const EligibilityEvalCheckinResponse& from);
2181 void MergeFrom(const EligibilityEvalCheckinResponse& from);
2182 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2183 bool IsInitialized() const final;
2184
2185 size_t ByteSizeLong() const final;
2186 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2187 ::uint8_t* _InternalSerialize(
2188 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2189 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2190
2191 private:
2192 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2193 void SharedDtor();
2194 void SetCachedSize(int size) const;
2195 void InternalSwap(EligibilityEvalCheckinResponse* other);
2196
2197 private:
2198 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2199 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2200 return "google.internal.federatedml.v2.EligibilityEvalCheckinResponse";
2201 }
2202 protected:
2203 explicit EligibilityEvalCheckinResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2204 bool is_message_owned = false);
2205 public:
2206
2207 std::string GetTypeName() const final;
2208
2209 // nested types ----------------------------------------------------
2210
2211 // accessors -------------------------------------------------------
2212
2213 enum : int {
2214 kProtocolOptionsResponseFieldNumber = 4,
2215 kEligibilityEvalPayloadFieldNumber = 1,
2216 kNoEligibilityEvalConfiguredFieldNumber = 2,
2217 kRejectionInfoFieldNumber = 3,
2218 };
2219 // .google.internal.federatedml.v2.ProtocolOptionsResponse protocol_options_response = 4;
2220 bool has_protocol_options_response() const;
2221 private:
2222 bool _internal_has_protocol_options_response() const;
2223 public:
2224 void clear_protocol_options_response();
2225 const ::google::internal::federatedml::v2::ProtocolOptionsResponse& protocol_options_response() const;
2226 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ProtocolOptionsResponse* release_protocol_options_response();
2227 ::google::internal::federatedml::v2::ProtocolOptionsResponse* mutable_protocol_options_response();
2228 void set_allocated_protocol_options_response(::google::internal::federatedml::v2::ProtocolOptionsResponse* protocol_options_response);
2229 private:
2230 const ::google::internal::federatedml::v2::ProtocolOptionsResponse& _internal_protocol_options_response() const;
2231 ::google::internal::federatedml::v2::ProtocolOptionsResponse* _internal_mutable_protocol_options_response();
2232 public:
2233 void unsafe_arena_set_allocated_protocol_options_response(
2234 ::google::internal::federatedml::v2::ProtocolOptionsResponse* protocol_options_response);
2235 ::google::internal::federatedml::v2::ProtocolOptionsResponse* unsafe_arena_release_protocol_options_response();
2236
2237 // .google.internal.federatedml.v2.EligibilityEvalPayload eligibility_eval_payload = 1;
2238 bool has_eligibility_eval_payload() const;
2239 private:
2240 bool _internal_has_eligibility_eval_payload() const;
2241 public:
2242 void clear_eligibility_eval_payload();
2243 const ::google::internal::federatedml::v2::EligibilityEvalPayload& eligibility_eval_payload() const;
2244 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::EligibilityEvalPayload* release_eligibility_eval_payload();
2245 ::google::internal::federatedml::v2::EligibilityEvalPayload* mutable_eligibility_eval_payload();
2246 void set_allocated_eligibility_eval_payload(::google::internal::federatedml::v2::EligibilityEvalPayload* eligibility_eval_payload);
2247 private:
2248 const ::google::internal::federatedml::v2::EligibilityEvalPayload& _internal_eligibility_eval_payload() const;
2249 ::google::internal::federatedml::v2::EligibilityEvalPayload* _internal_mutable_eligibility_eval_payload();
2250 public:
2251 void unsafe_arena_set_allocated_eligibility_eval_payload(
2252 ::google::internal::federatedml::v2::EligibilityEvalPayload* eligibility_eval_payload);
2253 ::google::internal::federatedml::v2::EligibilityEvalPayload* unsafe_arena_release_eligibility_eval_payload();
2254
2255 // .google.internal.federatedml.v2.NoEligibilityEvalConfigured no_eligibility_eval_configured = 2;
2256 bool has_no_eligibility_eval_configured() const;
2257 private:
2258 bool _internal_has_no_eligibility_eval_configured() const;
2259 public:
2260 void clear_no_eligibility_eval_configured();
2261 const ::google::internal::federatedml::v2::NoEligibilityEvalConfigured& no_eligibility_eval_configured() const;
2262 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* release_no_eligibility_eval_configured();
2263 ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* mutable_no_eligibility_eval_configured();
2264 void set_allocated_no_eligibility_eval_configured(::google::internal::federatedml::v2::NoEligibilityEvalConfigured* no_eligibility_eval_configured);
2265 private:
2266 const ::google::internal::federatedml::v2::NoEligibilityEvalConfigured& _internal_no_eligibility_eval_configured() const;
2267 ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* _internal_mutable_no_eligibility_eval_configured();
2268 public:
2269 void unsafe_arena_set_allocated_no_eligibility_eval_configured(
2270 ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* no_eligibility_eval_configured);
2271 ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* unsafe_arena_release_no_eligibility_eval_configured();
2272
2273 // .google.internal.federatedml.v2.RejectionInfo rejection_info = 3;
2274 bool has_rejection_info() const;
2275 private:
2276 bool _internal_has_rejection_info() const;
2277 public:
2278 void clear_rejection_info();
2279 const ::google::internal::federatedml::v2::RejectionInfo& rejection_info() const;
2280 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::RejectionInfo* release_rejection_info();
2281 ::google::internal::federatedml::v2::RejectionInfo* mutable_rejection_info();
2282 void set_allocated_rejection_info(::google::internal::federatedml::v2::RejectionInfo* rejection_info);
2283 private:
2284 const ::google::internal::federatedml::v2::RejectionInfo& _internal_rejection_info() const;
2285 ::google::internal::federatedml::v2::RejectionInfo* _internal_mutable_rejection_info();
2286 public:
2287 void unsafe_arena_set_allocated_rejection_info(
2288 ::google::internal::federatedml::v2::RejectionInfo* rejection_info);
2289 ::google::internal::federatedml::v2::RejectionInfo* unsafe_arena_release_rejection_info();
2290
2291 void clear_checkin_result();
2292 CheckinResultCase checkin_result_case() const;
2293 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.EligibilityEvalCheckinResponse)
2294 private:
2295 class _Internal;
2296 void set_has_eligibility_eval_payload();
2297 void set_has_no_eligibility_eval_configured();
2298 void set_has_rejection_info();
2299
2300 inline bool has_checkin_result() const;
2301 inline void clear_has_checkin_result();
2302
2303 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2304 typedef void InternalArenaConstructable_;
2305 typedef void DestructorSkippable_;
2306 struct Impl_ {
2307 ::google::internal::federatedml::v2::ProtocolOptionsResponse* protocol_options_response_;
2308 union CheckinResultUnion {
2309 constexpr CheckinResultUnion() : _constinit_{} {}
2310 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
2311 ::google::internal::federatedml::v2::EligibilityEvalPayload* eligibility_eval_payload_;
2312 ::google::internal::federatedml::v2::NoEligibilityEvalConfigured* no_eligibility_eval_configured_;
2313 ::google::internal::federatedml::v2::RejectionInfo* rejection_info_;
2314 } checkin_result_;
2315 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2316 ::uint32_t _oneof_case_[1];
2317
2318 };
2319 union { Impl_ _impl_; };
2320 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
2321 };
2322 // -------------------------------------------------------------------
2323
2324 class EligibilityEvalPayload final :
2325 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.EligibilityEvalPayload) */ {
2326 public:
EligibilityEvalPayload()2327 inline EligibilityEvalPayload() : EligibilityEvalPayload(nullptr) {}
2328 ~EligibilityEvalPayload() override;
2329 explicit PROTOBUF_CONSTEXPR EligibilityEvalPayload(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2330
2331 EligibilityEvalPayload(const EligibilityEvalPayload& from);
EligibilityEvalPayload(EligibilityEvalPayload && from)2332 EligibilityEvalPayload(EligibilityEvalPayload&& from) noexcept
2333 : EligibilityEvalPayload() {
2334 *this = ::std::move(from);
2335 }
2336
2337 inline EligibilityEvalPayload& operator=(const EligibilityEvalPayload& from) {
2338 if (this == &from) return *this;
2339 CopyFrom(from);
2340 return *this;
2341 }
2342 inline EligibilityEvalPayload& operator=(EligibilityEvalPayload&& from) noexcept {
2343 if (this == &from) return *this;
2344 if (GetOwningArena() == from.GetOwningArena()
2345 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2346 && GetOwningArena() != nullptr
2347 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2348 ) {
2349 InternalSwap(&from);
2350 } else {
2351 CopyFrom(from);
2352 }
2353 return *this;
2354 }
2355
default_instance()2356 static const EligibilityEvalPayload& default_instance() {
2357 return *internal_default_instance();
2358 }
2359 enum InitCheckpointTypeCase {
2360 kInitCheckpoint = 1,
2361 kInitCheckpointResource = 4,
2362 INIT_CHECKPOINT_TYPE_NOT_SET = 0,
2363 };
2364
2365 enum PlanTypeCase {
2366 kPlan = 2,
2367 kPlanResource = 5,
2368 PLAN_TYPE_NOT_SET = 0,
2369 };
2370
2371 enum PopulationEligibilitySpecTypeCase {
2372 kPopulationEligibilitySpec = 6,
2373 kPopulationEligibilitySpecResource = 7,
2374 POPULATION_ELIGIBILITY_SPEC_TYPE_NOT_SET = 0,
2375 };
2376
internal_default_instance()2377 static inline const EligibilityEvalPayload* internal_default_instance() {
2378 return reinterpret_cast<const EligibilityEvalPayload*>(
2379 &_EligibilityEvalPayload_default_instance_);
2380 }
2381 static constexpr int kIndexInFileMessages =
2382 10;
2383
swap(EligibilityEvalPayload & a,EligibilityEvalPayload & b)2384 friend void swap(EligibilityEvalPayload& a, EligibilityEvalPayload& b) {
2385 a.Swap(&b);
2386 }
Swap(EligibilityEvalPayload * other)2387 inline void Swap(EligibilityEvalPayload* other) {
2388 if (other == this) return;
2389 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2390 if (GetOwningArena() != nullptr &&
2391 GetOwningArena() == other->GetOwningArena()) {
2392 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2393 if (GetOwningArena() == other->GetOwningArena()) {
2394 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2395 InternalSwap(other);
2396 } else {
2397 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2398 }
2399 }
2400 void UnsafeArenaSwap(EligibilityEvalPayload* other) {
2401 if (other == this) return;
2402 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2403 InternalSwap(other);
2404 }
2405
2406 // implements Message ----------------------------------------------
2407
2408 EligibilityEvalPayload* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2409 return CreateMaybeMessage<EligibilityEvalPayload>(arena);
2410 }
2411 EligibilityEvalPayload* New() const {
2412 return New(nullptr);
2413 }
2414 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2415 void CopyFrom(const EligibilityEvalPayload& from);
2416 void MergeFrom(const EligibilityEvalPayload& from);
2417 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2418 bool IsInitialized() const final;
2419
2420 size_t ByteSizeLong() const final;
2421 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2422 ::uint8_t* _InternalSerialize(
2423 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2424 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2425
2426 private:
2427 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2428 void SharedDtor();
2429 void SetCachedSize(int size) const;
2430 void InternalSwap(EligibilityEvalPayload* other);
2431
2432 private:
2433 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2434 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2435 return "google.internal.federatedml.v2.EligibilityEvalPayload";
2436 }
2437 protected:
2438 explicit EligibilityEvalPayload(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2439 bool is_message_owned = false);
2440 public:
2441
2442 std::string GetTypeName() const final;
2443
2444 // nested types ----------------------------------------------------
2445
2446 // accessors -------------------------------------------------------
2447
2448 enum : int {
2449 kExecutionIdFieldNumber = 3,
2450 kInitCheckpointFieldNumber = 1,
2451 kInitCheckpointResourceFieldNumber = 4,
2452 kPlanFieldNumber = 2,
2453 kPlanResourceFieldNumber = 5,
2454 kPopulationEligibilitySpecFieldNumber = 6,
2455 kPopulationEligibilitySpecResourceFieldNumber = 7,
2456 };
2457 // string execution_id = 3;
2458 void clear_execution_id();
2459 const std::string& execution_id() const;
2460 template <typename ArgT0 = const std::string&, typename... ArgT>
2461 void set_execution_id(ArgT0&& arg0, ArgT... args);
2462 std::string* mutable_execution_id();
2463 PROTOBUF_NODISCARD std::string* release_execution_id();
2464 void set_allocated_execution_id(std::string* execution_id);
2465 private:
2466 const std::string& _internal_execution_id() const;
2467 inline PROTOBUF_ALWAYS_INLINE void _internal_set_execution_id(const std::string& value);
2468 std::string* _internal_mutable_execution_id();
2469 public:
2470
2471 // bytes init_checkpoint = 1;
2472 bool has_init_checkpoint() const;
2473 private:
2474 bool _internal_has_init_checkpoint() const;
2475 public:
2476 void clear_init_checkpoint();
2477 const std::string& init_checkpoint() const;
2478 template <typename ArgT0 = const std::string&, typename... ArgT>
2479 void set_init_checkpoint(ArgT0&& arg0, ArgT... args);
2480 std::string* mutable_init_checkpoint();
2481 PROTOBUF_NODISCARD std::string* release_init_checkpoint();
2482 void set_allocated_init_checkpoint(std::string* init_checkpoint);
2483 private:
2484 const std::string& _internal_init_checkpoint() const;
2485 inline PROTOBUF_ALWAYS_INLINE void _internal_set_init_checkpoint(const std::string& value);
2486 std::string* _internal_mutable_init_checkpoint();
2487 public:
2488
2489 // .google.internal.federatedml.v2.UriResource init_checkpoint_resource = 4;
2490 bool has_init_checkpoint_resource() const;
2491 private:
2492 bool _internal_has_init_checkpoint_resource() const;
2493 public:
2494 void clear_init_checkpoint_resource();
2495 const ::google::internal::federatedml::v2::UriResource& init_checkpoint_resource() const;
2496 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::UriResource* release_init_checkpoint_resource();
2497 ::google::internal::federatedml::v2::UriResource* mutable_init_checkpoint_resource();
2498 void set_allocated_init_checkpoint_resource(::google::internal::federatedml::v2::UriResource* init_checkpoint_resource);
2499 private:
2500 const ::google::internal::federatedml::v2::UriResource& _internal_init_checkpoint_resource() const;
2501 ::google::internal::federatedml::v2::UriResource* _internal_mutable_init_checkpoint_resource();
2502 public:
2503 void unsafe_arena_set_allocated_init_checkpoint_resource(
2504 ::google::internal::federatedml::v2::UriResource* init_checkpoint_resource);
2505 ::google::internal::federatedml::v2::UriResource* unsafe_arena_release_init_checkpoint_resource();
2506
2507 // bytes plan = 2;
2508 bool has_plan() const;
2509 private:
2510 bool _internal_has_plan() const;
2511 public:
2512 void clear_plan();
2513 const std::string& plan() const;
2514 template <typename ArgT0 = const std::string&, typename... ArgT>
2515 void set_plan(ArgT0&& arg0, ArgT... args);
2516 std::string* mutable_plan();
2517 PROTOBUF_NODISCARD std::string* release_plan();
2518 void set_allocated_plan(std::string* plan);
2519 private:
2520 const std::string& _internal_plan() const;
2521 inline PROTOBUF_ALWAYS_INLINE void _internal_set_plan(const std::string& value);
2522 std::string* _internal_mutable_plan();
2523 public:
2524
2525 // .google.internal.federatedml.v2.UriResource plan_resource = 5;
2526 bool has_plan_resource() const;
2527 private:
2528 bool _internal_has_plan_resource() const;
2529 public:
2530 void clear_plan_resource();
2531 const ::google::internal::federatedml::v2::UriResource& plan_resource() const;
2532 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::UriResource* release_plan_resource();
2533 ::google::internal::federatedml::v2::UriResource* mutable_plan_resource();
2534 void set_allocated_plan_resource(::google::internal::federatedml::v2::UriResource* plan_resource);
2535 private:
2536 const ::google::internal::federatedml::v2::UriResource& _internal_plan_resource() const;
2537 ::google::internal::federatedml::v2::UriResource* _internal_mutable_plan_resource();
2538 public:
2539 void unsafe_arena_set_allocated_plan_resource(
2540 ::google::internal::federatedml::v2::UriResource* plan_resource);
2541 ::google::internal::federatedml::v2::UriResource* unsafe_arena_release_plan_resource();
2542
2543 // bytes population_eligibility_spec = 6;
2544 bool has_population_eligibility_spec() const;
2545 private:
2546 bool _internal_has_population_eligibility_spec() const;
2547 public:
2548 void clear_population_eligibility_spec();
2549 const std::string& population_eligibility_spec() const;
2550 template <typename ArgT0 = const std::string&, typename... ArgT>
2551 void set_population_eligibility_spec(ArgT0&& arg0, ArgT... args);
2552 std::string* mutable_population_eligibility_spec();
2553 PROTOBUF_NODISCARD std::string* release_population_eligibility_spec();
2554 void set_allocated_population_eligibility_spec(std::string* population_eligibility_spec);
2555 private:
2556 const std::string& _internal_population_eligibility_spec() const;
2557 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_eligibility_spec(const std::string& value);
2558 std::string* _internal_mutable_population_eligibility_spec();
2559 public:
2560
2561 // .google.internal.federatedml.v2.UriResource population_eligibility_spec_resource = 7;
2562 bool has_population_eligibility_spec_resource() const;
2563 private:
2564 bool _internal_has_population_eligibility_spec_resource() const;
2565 public:
2566 void clear_population_eligibility_spec_resource();
2567 const ::google::internal::federatedml::v2::UriResource& population_eligibility_spec_resource() const;
2568 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::UriResource* release_population_eligibility_spec_resource();
2569 ::google::internal::federatedml::v2::UriResource* mutable_population_eligibility_spec_resource();
2570 void set_allocated_population_eligibility_spec_resource(::google::internal::federatedml::v2::UriResource* population_eligibility_spec_resource);
2571 private:
2572 const ::google::internal::federatedml::v2::UriResource& _internal_population_eligibility_spec_resource() const;
2573 ::google::internal::federatedml::v2::UriResource* _internal_mutable_population_eligibility_spec_resource();
2574 public:
2575 void unsafe_arena_set_allocated_population_eligibility_spec_resource(
2576 ::google::internal::federatedml::v2::UriResource* population_eligibility_spec_resource);
2577 ::google::internal::federatedml::v2::UriResource* unsafe_arena_release_population_eligibility_spec_resource();
2578
2579 void clear_init_checkpoint_type();
2580 InitCheckpointTypeCase init_checkpoint_type_case() const;
2581 void clear_plan_type();
2582 PlanTypeCase plan_type_case() const;
2583 void clear_population_eligibility_spec_type();
2584 PopulationEligibilitySpecTypeCase population_eligibility_spec_type_case() const;
2585 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.EligibilityEvalPayload)
2586 private:
2587 class _Internal;
2588 void set_has_init_checkpoint();
2589 void set_has_init_checkpoint_resource();
2590 void set_has_plan();
2591 void set_has_plan_resource();
2592 void set_has_population_eligibility_spec();
2593 void set_has_population_eligibility_spec_resource();
2594
2595 inline bool has_init_checkpoint_type() const;
2596 inline void clear_has_init_checkpoint_type();
2597
2598 inline bool has_plan_type() const;
2599 inline void clear_has_plan_type();
2600
2601 inline bool has_population_eligibility_spec_type() const;
2602 inline void clear_has_population_eligibility_spec_type();
2603
2604 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2605 typedef void InternalArenaConstructable_;
2606 typedef void DestructorSkippable_;
2607 struct Impl_ {
2608 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr execution_id_;
2609 union InitCheckpointTypeUnion {
2610 constexpr InitCheckpointTypeUnion() : _constinit_{} {}
2611 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
2612 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr init_checkpoint_;
2613 ::google::internal::federatedml::v2::UriResource* init_checkpoint_resource_;
2614 } init_checkpoint_type_;
2615 union PlanTypeUnion {
2616 constexpr PlanTypeUnion() : _constinit_{} {}
2617 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
2618 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr plan_;
2619 ::google::internal::federatedml::v2::UriResource* plan_resource_;
2620 } plan_type_;
2621 union PopulationEligibilitySpecTypeUnion {
2622 constexpr PopulationEligibilitySpecTypeUnion() : _constinit_{} {}
2623 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
2624 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_eligibility_spec_;
2625 ::google::internal::federatedml::v2::UriResource* population_eligibility_spec_resource_;
2626 } population_eligibility_spec_type_;
2627 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2628 ::uint32_t _oneof_case_[3];
2629
2630 };
2631 union { Impl_ _impl_; };
2632 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
2633 };
2634 // -------------------------------------------------------------------
2635
2636 class NoEligibilityEvalConfigured final :
2637 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.NoEligibilityEvalConfigured) */ {
2638 public:
NoEligibilityEvalConfigured()2639 inline NoEligibilityEvalConfigured() : NoEligibilityEvalConfigured(nullptr) {}
2640 ~NoEligibilityEvalConfigured() override;
2641 explicit PROTOBUF_CONSTEXPR NoEligibilityEvalConfigured(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2642
2643 NoEligibilityEvalConfigured(const NoEligibilityEvalConfigured& from);
NoEligibilityEvalConfigured(NoEligibilityEvalConfigured && from)2644 NoEligibilityEvalConfigured(NoEligibilityEvalConfigured&& from) noexcept
2645 : NoEligibilityEvalConfigured() {
2646 *this = ::std::move(from);
2647 }
2648
2649 inline NoEligibilityEvalConfigured& operator=(const NoEligibilityEvalConfigured& from) {
2650 if (this == &from) return *this;
2651 CopyFrom(from);
2652 return *this;
2653 }
2654 inline NoEligibilityEvalConfigured& operator=(NoEligibilityEvalConfigured&& from) noexcept {
2655 if (this == &from) return *this;
2656 if (GetOwningArena() == from.GetOwningArena()
2657 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2658 && GetOwningArena() != nullptr
2659 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2660 ) {
2661 InternalSwap(&from);
2662 } else {
2663 CopyFrom(from);
2664 }
2665 return *this;
2666 }
2667
default_instance()2668 static const NoEligibilityEvalConfigured& default_instance() {
2669 return *internal_default_instance();
2670 }
internal_default_instance()2671 static inline const NoEligibilityEvalConfigured* internal_default_instance() {
2672 return reinterpret_cast<const NoEligibilityEvalConfigured*>(
2673 &_NoEligibilityEvalConfigured_default_instance_);
2674 }
2675 static constexpr int kIndexInFileMessages =
2676 11;
2677
swap(NoEligibilityEvalConfigured & a,NoEligibilityEvalConfigured & b)2678 friend void swap(NoEligibilityEvalConfigured& a, NoEligibilityEvalConfigured& b) {
2679 a.Swap(&b);
2680 }
Swap(NoEligibilityEvalConfigured * other)2681 inline void Swap(NoEligibilityEvalConfigured* other) {
2682 if (other == this) return;
2683 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2684 if (GetOwningArena() != nullptr &&
2685 GetOwningArena() == other->GetOwningArena()) {
2686 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2687 if (GetOwningArena() == other->GetOwningArena()) {
2688 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2689 InternalSwap(other);
2690 } else {
2691 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2692 }
2693 }
2694 void UnsafeArenaSwap(NoEligibilityEvalConfigured* other) {
2695 if (other == this) return;
2696 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2697 InternalSwap(other);
2698 }
2699
2700 // implements Message ----------------------------------------------
2701
2702 NoEligibilityEvalConfigured* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2703 return CreateMaybeMessage<NoEligibilityEvalConfigured>(arena);
2704 }
2705 NoEligibilityEvalConfigured* New() const {
2706 return New(nullptr);
2707 }
2708 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2709 void CopyFrom(const NoEligibilityEvalConfigured& from);
2710 void MergeFrom(const NoEligibilityEvalConfigured& from);
2711 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2712 bool IsInitialized() const final;
2713
2714 size_t ByteSizeLong() const final;
2715 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2716 ::uint8_t* _InternalSerialize(
2717 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2718 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2719
2720 private:
2721 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2722 void SharedDtor();
2723 void SetCachedSize(int size) const;
2724 void InternalSwap(NoEligibilityEvalConfigured* other);
2725
2726 private:
2727 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2728 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2729 return "google.internal.federatedml.v2.NoEligibilityEvalConfigured";
2730 }
2731 protected:
2732 explicit NoEligibilityEvalConfigured(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2733 bool is_message_owned = false);
2734 public:
2735
2736 std::string GetTypeName() const final;
2737
2738 // nested types ----------------------------------------------------
2739
2740 // accessors -------------------------------------------------------
2741
2742 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.NoEligibilityEvalConfigured)
2743 private:
2744 class _Internal;
2745
2746 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2747 typedef void InternalArenaConstructable_;
2748 typedef void DestructorSkippable_;
2749 struct Impl_ {
2750 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2751 };
2752 union { Impl_ _impl_; };
2753 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
2754 };
2755 // -------------------------------------------------------------------
2756
2757 class SideChannelExecutionInfo_SecureAggregandExecutionInfo final :
2758 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelExecutionInfo.SecureAggregandExecutionInfo) */ {
2759 public:
SideChannelExecutionInfo_SecureAggregandExecutionInfo()2760 inline SideChannelExecutionInfo_SecureAggregandExecutionInfo() : SideChannelExecutionInfo_SecureAggregandExecutionInfo(nullptr) {}
2761 ~SideChannelExecutionInfo_SecureAggregandExecutionInfo() override;
2762 explicit PROTOBUF_CONSTEXPR SideChannelExecutionInfo_SecureAggregandExecutionInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2763
2764 SideChannelExecutionInfo_SecureAggregandExecutionInfo(const SideChannelExecutionInfo_SecureAggregandExecutionInfo& from);
SideChannelExecutionInfo_SecureAggregandExecutionInfo(SideChannelExecutionInfo_SecureAggregandExecutionInfo && from)2765 SideChannelExecutionInfo_SecureAggregandExecutionInfo(SideChannelExecutionInfo_SecureAggregandExecutionInfo&& from) noexcept
2766 : SideChannelExecutionInfo_SecureAggregandExecutionInfo() {
2767 *this = ::std::move(from);
2768 }
2769
2770 inline SideChannelExecutionInfo_SecureAggregandExecutionInfo& operator=(const SideChannelExecutionInfo_SecureAggregandExecutionInfo& from) {
2771 if (this == &from) return *this;
2772 CopyFrom(from);
2773 return *this;
2774 }
2775 inline SideChannelExecutionInfo_SecureAggregandExecutionInfo& operator=(SideChannelExecutionInfo_SecureAggregandExecutionInfo&& from) noexcept {
2776 if (this == &from) return *this;
2777 if (GetOwningArena() == from.GetOwningArena()
2778 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2779 && GetOwningArena() != nullptr
2780 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2781 ) {
2782 InternalSwap(&from);
2783 } else {
2784 CopyFrom(from);
2785 }
2786 return *this;
2787 }
2788
default_instance()2789 static const SideChannelExecutionInfo_SecureAggregandExecutionInfo& default_instance() {
2790 return *internal_default_instance();
2791 }
internal_default_instance()2792 static inline const SideChannelExecutionInfo_SecureAggregandExecutionInfo* internal_default_instance() {
2793 return reinterpret_cast<const SideChannelExecutionInfo_SecureAggregandExecutionInfo*>(
2794 &_SideChannelExecutionInfo_SecureAggregandExecutionInfo_default_instance_);
2795 }
2796 static constexpr int kIndexInFileMessages =
2797 12;
2798
swap(SideChannelExecutionInfo_SecureAggregandExecutionInfo & a,SideChannelExecutionInfo_SecureAggregandExecutionInfo & b)2799 friend void swap(SideChannelExecutionInfo_SecureAggregandExecutionInfo& a, SideChannelExecutionInfo_SecureAggregandExecutionInfo& b) {
2800 a.Swap(&b);
2801 }
Swap(SideChannelExecutionInfo_SecureAggregandExecutionInfo * other)2802 inline void Swap(SideChannelExecutionInfo_SecureAggregandExecutionInfo* other) {
2803 if (other == this) return;
2804 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2805 if (GetOwningArena() != nullptr &&
2806 GetOwningArena() == other->GetOwningArena()) {
2807 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2808 if (GetOwningArena() == other->GetOwningArena()) {
2809 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2810 InternalSwap(other);
2811 } else {
2812 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2813 }
2814 }
2815 void UnsafeArenaSwap(SideChannelExecutionInfo_SecureAggregandExecutionInfo* other) {
2816 if (other == this) return;
2817 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2818 InternalSwap(other);
2819 }
2820
2821 // implements Message ----------------------------------------------
2822
2823 SideChannelExecutionInfo_SecureAggregandExecutionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2824 return CreateMaybeMessage<SideChannelExecutionInfo_SecureAggregandExecutionInfo>(arena);
2825 }
2826 SideChannelExecutionInfo_SecureAggregandExecutionInfo* New() const {
2827 return New(nullptr);
2828 }
2829 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2830 void CopyFrom(const SideChannelExecutionInfo_SecureAggregandExecutionInfo& from);
2831 void MergeFrom(const SideChannelExecutionInfo_SecureAggregandExecutionInfo& from);
2832 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2833 bool IsInitialized() const final;
2834
2835 size_t ByteSizeLong() const final;
2836 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2837 ::uint8_t* _InternalSerialize(
2838 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2839 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2840
2841 private:
2842 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2843 void SharedDtor();
2844 void SetCachedSize(int size) const;
2845 void InternalSwap(SideChannelExecutionInfo_SecureAggregandExecutionInfo* other);
2846
2847 private:
2848 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2849 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2850 return "google.internal.federatedml.v2.SideChannelExecutionInfo.SecureAggregandExecutionInfo";
2851 }
2852 protected:
2853 explicit SideChannelExecutionInfo_SecureAggregandExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2854 bool is_message_owned = false);
2855 public:
2856
2857 std::string GetTypeName() const final;
2858
2859 // nested types ----------------------------------------------------
2860
2861 // accessors -------------------------------------------------------
2862
2863 enum : int {
2864 kModulusFieldNumber = 2,
2865 kOutputBitwidthFieldNumber = 1,
2866 };
2867 // uint64 modulus = 2;
2868 void clear_modulus();
2869 ::uint64_t modulus() const;
2870 void set_modulus(::uint64_t value);
2871 private:
2872 ::uint64_t _internal_modulus() const;
2873 void _internal_set_modulus(::uint64_t value);
2874 public:
2875
2876 // int32 output_bitwidth = 1 [deprecated = true];
2877 PROTOBUF_DEPRECATED void clear_output_bitwidth();
2878 PROTOBUF_DEPRECATED ::int32_t output_bitwidth() const;
2879 PROTOBUF_DEPRECATED void set_output_bitwidth(::int32_t value);
2880 private:
2881 ::int32_t _internal_output_bitwidth() const;
2882 void _internal_set_output_bitwidth(::int32_t value);
2883 public:
2884
2885 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelExecutionInfo.SecureAggregandExecutionInfo)
2886 private:
2887 class _Internal;
2888
2889 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2890 typedef void InternalArenaConstructable_;
2891 typedef void DestructorSkippable_;
2892 struct Impl_ {
2893 ::uint64_t modulus_;
2894 ::int32_t output_bitwidth_;
2895 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2896 };
2897 union { Impl_ _impl_; };
2898 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
2899 };
2900 // -------------------------------------------------------------------
2901
2902 class SideChannelExecutionInfo final :
2903 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelExecutionInfo) */ {
2904 public:
SideChannelExecutionInfo()2905 inline SideChannelExecutionInfo() : SideChannelExecutionInfo(nullptr) {}
2906 ~SideChannelExecutionInfo() override;
2907 explicit PROTOBUF_CONSTEXPR SideChannelExecutionInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2908
2909 SideChannelExecutionInfo(const SideChannelExecutionInfo& from);
SideChannelExecutionInfo(SideChannelExecutionInfo && from)2910 SideChannelExecutionInfo(SideChannelExecutionInfo&& from) noexcept
2911 : SideChannelExecutionInfo() {
2912 *this = ::std::move(from);
2913 }
2914
2915 inline SideChannelExecutionInfo& operator=(const SideChannelExecutionInfo& from) {
2916 if (this == &from) return *this;
2917 CopyFrom(from);
2918 return *this;
2919 }
2920 inline SideChannelExecutionInfo& operator=(SideChannelExecutionInfo&& from) noexcept {
2921 if (this == &from) return *this;
2922 if (GetOwningArena() == from.GetOwningArena()
2923 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2924 && GetOwningArena() != nullptr
2925 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2926 ) {
2927 InternalSwap(&from);
2928 } else {
2929 CopyFrom(from);
2930 }
2931 return *this;
2932 }
2933
default_instance()2934 static const SideChannelExecutionInfo& default_instance() {
2935 return *internal_default_instance();
2936 }
2937 enum TypeCase {
2938 kSecureAggregand = 1,
2939 TYPE_NOT_SET = 0,
2940 };
2941
internal_default_instance()2942 static inline const SideChannelExecutionInfo* internal_default_instance() {
2943 return reinterpret_cast<const SideChannelExecutionInfo*>(
2944 &_SideChannelExecutionInfo_default_instance_);
2945 }
2946 static constexpr int kIndexInFileMessages =
2947 13;
2948
swap(SideChannelExecutionInfo & a,SideChannelExecutionInfo & b)2949 friend void swap(SideChannelExecutionInfo& a, SideChannelExecutionInfo& b) {
2950 a.Swap(&b);
2951 }
Swap(SideChannelExecutionInfo * other)2952 inline void Swap(SideChannelExecutionInfo* other) {
2953 if (other == this) return;
2954 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2955 if (GetOwningArena() != nullptr &&
2956 GetOwningArena() == other->GetOwningArena()) {
2957 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2958 if (GetOwningArena() == other->GetOwningArena()) {
2959 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2960 InternalSwap(other);
2961 } else {
2962 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2963 }
2964 }
2965 void UnsafeArenaSwap(SideChannelExecutionInfo* other) {
2966 if (other == this) return;
2967 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2968 InternalSwap(other);
2969 }
2970
2971 // implements Message ----------------------------------------------
2972
2973 SideChannelExecutionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2974 return CreateMaybeMessage<SideChannelExecutionInfo>(arena);
2975 }
2976 SideChannelExecutionInfo* New() const {
2977 return New(nullptr);
2978 }
2979 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2980 void CopyFrom(const SideChannelExecutionInfo& from);
2981 void MergeFrom(const SideChannelExecutionInfo& from);
2982 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2983 bool IsInitialized() const final;
2984
2985 size_t ByteSizeLong() const final;
2986 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2987 ::uint8_t* _InternalSerialize(
2988 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2989 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2990
2991 private:
2992 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2993 void SharedDtor();
2994 void SetCachedSize(int size) const;
2995 void InternalSwap(SideChannelExecutionInfo* other);
2996
2997 private:
2998 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2999 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3000 return "google.internal.federatedml.v2.SideChannelExecutionInfo";
3001 }
3002 protected:
3003 explicit SideChannelExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3004 bool is_message_owned = false);
3005 public:
3006
3007 std::string GetTypeName() const final;
3008
3009 // nested types ----------------------------------------------------
3010
3011 typedef SideChannelExecutionInfo_SecureAggregandExecutionInfo SecureAggregandExecutionInfo;
3012
3013 // accessors -------------------------------------------------------
3014
3015 enum : int {
3016 kSecureAggregandFieldNumber = 1,
3017 };
3018 // .google.internal.federatedml.v2.SideChannelExecutionInfo.SecureAggregandExecutionInfo secure_aggregand = 1;
3019 bool has_secure_aggregand() const;
3020 private:
3021 bool _internal_has_secure_aggregand() const;
3022 public:
3023 void clear_secure_aggregand();
3024 const ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo& secure_aggregand() const;
3025 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* release_secure_aggregand();
3026 ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* mutable_secure_aggregand();
3027 void set_allocated_secure_aggregand(::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* secure_aggregand);
3028 private:
3029 const ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo& _internal_secure_aggregand() const;
3030 ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* _internal_mutable_secure_aggregand();
3031 public:
3032 void unsafe_arena_set_allocated_secure_aggregand(
3033 ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* secure_aggregand);
3034 ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* unsafe_arena_release_secure_aggregand();
3035
3036 void clear_type();
3037 TypeCase type_case() const;
3038 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelExecutionInfo)
3039 private:
3040 class _Internal;
3041 void set_has_secure_aggregand();
3042
3043 inline bool has_type() const;
3044 inline void clear_has_type();
3045
3046 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3047 typedef void InternalArenaConstructable_;
3048 typedef void DestructorSkippable_;
3049 struct Impl_ {
3050 union TypeUnion {
3051 constexpr TypeUnion() : _constinit_{} {}
3052 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
3053 ::google::internal::federatedml::v2::SideChannelExecutionInfo_SecureAggregandExecutionInfo* secure_aggregand_;
3054 } type_;
3055 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3056 ::uint32_t _oneof_case_[1];
3057
3058 };
3059 union { Impl_ _impl_; };
3060 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3061 };
3062 // -------------------------------------------------------------------
3063
3064 class SideChannelProtocolOptionsRequest_SecureAggregation final :
3065 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelProtocolOptionsRequest.SecureAggregation) */ {
3066 public:
SideChannelProtocolOptionsRequest_SecureAggregation()3067 inline SideChannelProtocolOptionsRequest_SecureAggregation() : SideChannelProtocolOptionsRequest_SecureAggregation(nullptr) {}
3068 ~SideChannelProtocolOptionsRequest_SecureAggregation() override;
3069 explicit PROTOBUF_CONSTEXPR SideChannelProtocolOptionsRequest_SecureAggregation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3070
3071 SideChannelProtocolOptionsRequest_SecureAggregation(const SideChannelProtocolOptionsRequest_SecureAggregation& from);
SideChannelProtocolOptionsRequest_SecureAggregation(SideChannelProtocolOptionsRequest_SecureAggregation && from)3072 SideChannelProtocolOptionsRequest_SecureAggregation(SideChannelProtocolOptionsRequest_SecureAggregation&& from) noexcept
3073 : SideChannelProtocolOptionsRequest_SecureAggregation() {
3074 *this = ::std::move(from);
3075 }
3076
3077 inline SideChannelProtocolOptionsRequest_SecureAggregation& operator=(const SideChannelProtocolOptionsRequest_SecureAggregation& from) {
3078 if (this == &from) return *this;
3079 CopyFrom(from);
3080 return *this;
3081 }
3082 inline SideChannelProtocolOptionsRequest_SecureAggregation& operator=(SideChannelProtocolOptionsRequest_SecureAggregation&& from) noexcept {
3083 if (this == &from) return *this;
3084 if (GetOwningArena() == from.GetOwningArena()
3085 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3086 && GetOwningArena() != nullptr
3087 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3088 ) {
3089 InternalSwap(&from);
3090 } else {
3091 CopyFrom(from);
3092 }
3093 return *this;
3094 }
3095
default_instance()3096 static const SideChannelProtocolOptionsRequest_SecureAggregation& default_instance() {
3097 return *internal_default_instance();
3098 }
internal_default_instance()3099 static inline const SideChannelProtocolOptionsRequest_SecureAggregation* internal_default_instance() {
3100 return reinterpret_cast<const SideChannelProtocolOptionsRequest_SecureAggregation*>(
3101 &_SideChannelProtocolOptionsRequest_SecureAggregation_default_instance_);
3102 }
3103 static constexpr int kIndexInFileMessages =
3104 14;
3105
swap(SideChannelProtocolOptionsRequest_SecureAggregation & a,SideChannelProtocolOptionsRequest_SecureAggregation & b)3106 friend void swap(SideChannelProtocolOptionsRequest_SecureAggregation& a, SideChannelProtocolOptionsRequest_SecureAggregation& b) {
3107 a.Swap(&b);
3108 }
Swap(SideChannelProtocolOptionsRequest_SecureAggregation * other)3109 inline void Swap(SideChannelProtocolOptionsRequest_SecureAggregation* other) {
3110 if (other == this) return;
3111 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3112 if (GetOwningArena() != nullptr &&
3113 GetOwningArena() == other->GetOwningArena()) {
3114 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3115 if (GetOwningArena() == other->GetOwningArena()) {
3116 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3117 InternalSwap(other);
3118 } else {
3119 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3120 }
3121 }
3122 void UnsafeArenaSwap(SideChannelProtocolOptionsRequest_SecureAggregation* other) {
3123 if (other == this) return;
3124 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3125 InternalSwap(other);
3126 }
3127
3128 // implements Message ----------------------------------------------
3129
3130 SideChannelProtocolOptionsRequest_SecureAggregation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3131 return CreateMaybeMessage<SideChannelProtocolOptionsRequest_SecureAggregation>(arena);
3132 }
3133 SideChannelProtocolOptionsRequest_SecureAggregation* New() const {
3134 return New(nullptr);
3135 }
3136 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3137 void CopyFrom(const SideChannelProtocolOptionsRequest_SecureAggregation& from);
3138 void MergeFrom(const SideChannelProtocolOptionsRequest_SecureAggregation& from);
3139 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3140 bool IsInitialized() const final;
3141
3142 size_t ByteSizeLong() const final;
3143 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3144 ::uint8_t* _InternalSerialize(
3145 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3146 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3147
3148 private:
3149 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3150 void SharedDtor();
3151 void SetCachedSize(int size) const;
3152 void InternalSwap(SideChannelProtocolOptionsRequest_SecureAggregation* other);
3153
3154 private:
3155 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3156 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3157 return "google.internal.federatedml.v2.SideChannelProtocolOptionsRequest.SecureAggregation";
3158 }
3159 protected:
3160 explicit SideChannelProtocolOptionsRequest_SecureAggregation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3161 bool is_message_owned = false);
3162 public:
3163
3164 std::string GetTypeName() const final;
3165
3166 // nested types ----------------------------------------------------
3167
3168 // accessors -------------------------------------------------------
3169
3170 enum : int {
3171 kClientVariantFieldNumber = 2,
3172 };
3173 // repeated .fcp.secagg.ClientVariant client_variant = 2;
3174 int client_variant_size() const;
3175 private:
3176 int _internal_client_variant_size() const;
3177 public:
3178 void clear_client_variant();
3179 private:
3180 ::fcp::secagg::ClientVariant _internal_client_variant(int index) const;
3181 void _internal_add_client_variant(::fcp::secagg::ClientVariant value);
3182 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_client_variant();
3183 public:
3184 ::fcp::secagg::ClientVariant client_variant(int index) const;
3185 void set_client_variant(int index, ::fcp::secagg::ClientVariant value);
3186 void add_client_variant(::fcp::secagg::ClientVariant value);
3187 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& client_variant() const;
3188 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_client_variant();
3189
3190 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelProtocolOptionsRequest.SecureAggregation)
3191 private:
3192 class _Internal;
3193
3194 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3195 typedef void InternalArenaConstructable_;
3196 typedef void DestructorSkippable_;
3197 struct Impl_ {
3198 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> client_variant_;
3199 mutable std::atomic<int> _client_variant_cached_byte_size_;
3200 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3201 };
3202 union { Impl_ _impl_; };
3203 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3204 };
3205 // -------------------------------------------------------------------
3206
3207 class SideChannelProtocolOptionsRequest final :
3208 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelProtocolOptionsRequest) */ {
3209 public:
SideChannelProtocolOptionsRequest()3210 inline SideChannelProtocolOptionsRequest() : SideChannelProtocolOptionsRequest(nullptr) {}
3211 ~SideChannelProtocolOptionsRequest() override;
3212 explicit PROTOBUF_CONSTEXPR SideChannelProtocolOptionsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3213
3214 SideChannelProtocolOptionsRequest(const SideChannelProtocolOptionsRequest& from);
SideChannelProtocolOptionsRequest(SideChannelProtocolOptionsRequest && from)3215 SideChannelProtocolOptionsRequest(SideChannelProtocolOptionsRequest&& from) noexcept
3216 : SideChannelProtocolOptionsRequest() {
3217 *this = ::std::move(from);
3218 }
3219
3220 inline SideChannelProtocolOptionsRequest& operator=(const SideChannelProtocolOptionsRequest& from) {
3221 if (this == &from) return *this;
3222 CopyFrom(from);
3223 return *this;
3224 }
3225 inline SideChannelProtocolOptionsRequest& operator=(SideChannelProtocolOptionsRequest&& from) noexcept {
3226 if (this == &from) return *this;
3227 if (GetOwningArena() == from.GetOwningArena()
3228 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3229 && GetOwningArena() != nullptr
3230 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3231 ) {
3232 InternalSwap(&from);
3233 } else {
3234 CopyFrom(from);
3235 }
3236 return *this;
3237 }
3238
default_instance()3239 static const SideChannelProtocolOptionsRequest& default_instance() {
3240 return *internal_default_instance();
3241 }
internal_default_instance()3242 static inline const SideChannelProtocolOptionsRequest* internal_default_instance() {
3243 return reinterpret_cast<const SideChannelProtocolOptionsRequest*>(
3244 &_SideChannelProtocolOptionsRequest_default_instance_);
3245 }
3246 static constexpr int kIndexInFileMessages =
3247 15;
3248
swap(SideChannelProtocolOptionsRequest & a,SideChannelProtocolOptionsRequest & b)3249 friend void swap(SideChannelProtocolOptionsRequest& a, SideChannelProtocolOptionsRequest& b) {
3250 a.Swap(&b);
3251 }
Swap(SideChannelProtocolOptionsRequest * other)3252 inline void Swap(SideChannelProtocolOptionsRequest* other) {
3253 if (other == this) return;
3254 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3255 if (GetOwningArena() != nullptr &&
3256 GetOwningArena() == other->GetOwningArena()) {
3257 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3258 if (GetOwningArena() == other->GetOwningArena()) {
3259 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3260 InternalSwap(other);
3261 } else {
3262 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3263 }
3264 }
3265 void UnsafeArenaSwap(SideChannelProtocolOptionsRequest* other) {
3266 if (other == this) return;
3267 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3268 InternalSwap(other);
3269 }
3270
3271 // implements Message ----------------------------------------------
3272
3273 SideChannelProtocolOptionsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3274 return CreateMaybeMessage<SideChannelProtocolOptionsRequest>(arena);
3275 }
3276 SideChannelProtocolOptionsRequest* New() const {
3277 return New(nullptr);
3278 }
3279 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3280 void CopyFrom(const SideChannelProtocolOptionsRequest& from);
3281 void MergeFrom(const SideChannelProtocolOptionsRequest& from);
3282 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3283 bool IsInitialized() const final;
3284
3285 size_t ByteSizeLong() const final;
3286 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3287 ::uint8_t* _InternalSerialize(
3288 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3289 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3290
3291 private:
3292 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3293 void SharedDtor();
3294 void SetCachedSize(int size) const;
3295 void InternalSwap(SideChannelProtocolOptionsRequest* other);
3296
3297 private:
3298 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3299 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3300 return "google.internal.federatedml.v2.SideChannelProtocolOptionsRequest";
3301 }
3302 protected:
3303 explicit SideChannelProtocolOptionsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3304 bool is_message_owned = false);
3305 public:
3306
3307 std::string GetTypeName() const final;
3308
3309 // nested types ----------------------------------------------------
3310
3311 typedef SideChannelProtocolOptionsRequest_SecureAggregation SecureAggregation;
3312
3313 // accessors -------------------------------------------------------
3314
3315 enum : int {
3316 kSecureAggregationFieldNumber = 1,
3317 };
3318 // .google.internal.federatedml.v2.SideChannelProtocolOptionsRequest.SecureAggregation secure_aggregation = 1;
3319 bool has_secure_aggregation() const;
3320 private:
3321 bool _internal_has_secure_aggregation() const;
3322 public:
3323 void clear_secure_aggregation();
3324 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation& secure_aggregation() const;
3325 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* release_secure_aggregation();
3326 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* mutable_secure_aggregation();
3327 void set_allocated_secure_aggregation(::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* secure_aggregation);
3328 private:
3329 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation& _internal_secure_aggregation() const;
3330 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* _internal_mutable_secure_aggregation();
3331 public:
3332 void unsafe_arena_set_allocated_secure_aggregation(
3333 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* secure_aggregation);
3334 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* unsafe_arena_release_secure_aggregation();
3335
3336 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelProtocolOptionsRequest)
3337 private:
3338 class _Internal;
3339
3340 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3341 typedef void InternalArenaConstructable_;
3342 typedef void DestructorSkippable_;
3343 struct Impl_ {
3344 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest_SecureAggregation* secure_aggregation_;
3345 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3346 };
3347 union { Impl_ _impl_; };
3348 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3349 };
3350 // -------------------------------------------------------------------
3351
3352 class SideChannelProtocolOptionsResponse_SecureAggregation final :
3353 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelProtocolOptionsResponse.SecureAggregation) */ {
3354 public:
SideChannelProtocolOptionsResponse_SecureAggregation()3355 inline SideChannelProtocolOptionsResponse_SecureAggregation() : SideChannelProtocolOptionsResponse_SecureAggregation(nullptr) {}
3356 ~SideChannelProtocolOptionsResponse_SecureAggregation() override;
3357 explicit PROTOBUF_CONSTEXPR SideChannelProtocolOptionsResponse_SecureAggregation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3358
3359 SideChannelProtocolOptionsResponse_SecureAggregation(const SideChannelProtocolOptionsResponse_SecureAggregation& from);
SideChannelProtocolOptionsResponse_SecureAggregation(SideChannelProtocolOptionsResponse_SecureAggregation && from)3360 SideChannelProtocolOptionsResponse_SecureAggregation(SideChannelProtocolOptionsResponse_SecureAggregation&& from) noexcept
3361 : SideChannelProtocolOptionsResponse_SecureAggregation() {
3362 *this = ::std::move(from);
3363 }
3364
3365 inline SideChannelProtocolOptionsResponse_SecureAggregation& operator=(const SideChannelProtocolOptionsResponse_SecureAggregation& from) {
3366 if (this == &from) return *this;
3367 CopyFrom(from);
3368 return *this;
3369 }
3370 inline SideChannelProtocolOptionsResponse_SecureAggregation& operator=(SideChannelProtocolOptionsResponse_SecureAggregation&& from) noexcept {
3371 if (this == &from) return *this;
3372 if (GetOwningArena() == from.GetOwningArena()
3373 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3374 && GetOwningArena() != nullptr
3375 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3376 ) {
3377 InternalSwap(&from);
3378 } else {
3379 CopyFrom(from);
3380 }
3381 return *this;
3382 }
3383
default_instance()3384 static const SideChannelProtocolOptionsResponse_SecureAggregation& default_instance() {
3385 return *internal_default_instance();
3386 }
internal_default_instance()3387 static inline const SideChannelProtocolOptionsResponse_SecureAggregation* internal_default_instance() {
3388 return reinterpret_cast<const SideChannelProtocolOptionsResponse_SecureAggregation*>(
3389 &_SideChannelProtocolOptionsResponse_SecureAggregation_default_instance_);
3390 }
3391 static constexpr int kIndexInFileMessages =
3392 16;
3393
swap(SideChannelProtocolOptionsResponse_SecureAggregation & a,SideChannelProtocolOptionsResponse_SecureAggregation & b)3394 friend void swap(SideChannelProtocolOptionsResponse_SecureAggregation& a, SideChannelProtocolOptionsResponse_SecureAggregation& b) {
3395 a.Swap(&b);
3396 }
Swap(SideChannelProtocolOptionsResponse_SecureAggregation * other)3397 inline void Swap(SideChannelProtocolOptionsResponse_SecureAggregation* other) {
3398 if (other == this) return;
3399 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3400 if (GetOwningArena() != nullptr &&
3401 GetOwningArena() == other->GetOwningArena()) {
3402 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3403 if (GetOwningArena() == other->GetOwningArena()) {
3404 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3405 InternalSwap(other);
3406 } else {
3407 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3408 }
3409 }
3410 void UnsafeArenaSwap(SideChannelProtocolOptionsResponse_SecureAggregation* other) {
3411 if (other == this) return;
3412 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3413 InternalSwap(other);
3414 }
3415
3416 // implements Message ----------------------------------------------
3417
3418 SideChannelProtocolOptionsResponse_SecureAggregation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3419 return CreateMaybeMessage<SideChannelProtocolOptionsResponse_SecureAggregation>(arena);
3420 }
3421 SideChannelProtocolOptionsResponse_SecureAggregation* New() const {
3422 return New(nullptr);
3423 }
3424 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3425 void CopyFrom(const SideChannelProtocolOptionsResponse_SecureAggregation& from);
3426 void MergeFrom(const SideChannelProtocolOptionsResponse_SecureAggregation& from);
3427 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3428 bool IsInitialized() const final;
3429
3430 size_t ByteSizeLong() const final;
3431 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3432 ::uint8_t* _InternalSerialize(
3433 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3434 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3435
3436 private:
3437 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3438 void SharedDtor();
3439 void SetCachedSize(int size) const;
3440 void InternalSwap(SideChannelProtocolOptionsResponse_SecureAggregation* other);
3441
3442 private:
3443 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3444 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3445 return "google.internal.federatedml.v2.SideChannelProtocolOptionsResponse.SecureAggregation";
3446 }
3447 protected:
3448 explicit SideChannelProtocolOptionsResponse_SecureAggregation(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3449 bool is_message_owned = false);
3450 public:
3451
3452 std::string GetTypeName() const final;
3453
3454 // nested types ----------------------------------------------------
3455
3456 // accessors -------------------------------------------------------
3457
3458 enum : int {
3459 kClientVariantFieldNumber = 1,
3460 };
3461 // .fcp.secagg.ClientVariant client_variant = 1;
3462 void clear_client_variant();
3463 ::fcp::secagg::ClientVariant client_variant() const;
3464 void set_client_variant(::fcp::secagg::ClientVariant value);
3465 private:
3466 ::fcp::secagg::ClientVariant _internal_client_variant() const;
3467 void _internal_set_client_variant(::fcp::secagg::ClientVariant value);
3468 public:
3469
3470 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelProtocolOptionsResponse.SecureAggregation)
3471 private:
3472 class _Internal;
3473
3474 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3475 typedef void InternalArenaConstructable_;
3476 typedef void DestructorSkippable_;
3477 struct Impl_ {
3478 int client_variant_;
3479 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3480 };
3481 union { Impl_ _impl_; };
3482 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3483 };
3484 // -------------------------------------------------------------------
3485
3486 class SideChannelProtocolOptionsResponse final :
3487 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelProtocolOptionsResponse) */ {
3488 public:
SideChannelProtocolOptionsResponse()3489 inline SideChannelProtocolOptionsResponse() : SideChannelProtocolOptionsResponse(nullptr) {}
3490 ~SideChannelProtocolOptionsResponse() override;
3491 explicit PROTOBUF_CONSTEXPR SideChannelProtocolOptionsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3492
3493 SideChannelProtocolOptionsResponse(const SideChannelProtocolOptionsResponse& from);
SideChannelProtocolOptionsResponse(SideChannelProtocolOptionsResponse && from)3494 SideChannelProtocolOptionsResponse(SideChannelProtocolOptionsResponse&& from) noexcept
3495 : SideChannelProtocolOptionsResponse() {
3496 *this = ::std::move(from);
3497 }
3498
3499 inline SideChannelProtocolOptionsResponse& operator=(const SideChannelProtocolOptionsResponse& from) {
3500 if (this == &from) return *this;
3501 CopyFrom(from);
3502 return *this;
3503 }
3504 inline SideChannelProtocolOptionsResponse& operator=(SideChannelProtocolOptionsResponse&& from) noexcept {
3505 if (this == &from) return *this;
3506 if (GetOwningArena() == from.GetOwningArena()
3507 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3508 && GetOwningArena() != nullptr
3509 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3510 ) {
3511 InternalSwap(&from);
3512 } else {
3513 CopyFrom(from);
3514 }
3515 return *this;
3516 }
3517
default_instance()3518 static const SideChannelProtocolOptionsResponse& default_instance() {
3519 return *internal_default_instance();
3520 }
internal_default_instance()3521 static inline const SideChannelProtocolOptionsResponse* internal_default_instance() {
3522 return reinterpret_cast<const SideChannelProtocolOptionsResponse*>(
3523 &_SideChannelProtocolOptionsResponse_default_instance_);
3524 }
3525 static constexpr int kIndexInFileMessages =
3526 17;
3527
swap(SideChannelProtocolOptionsResponse & a,SideChannelProtocolOptionsResponse & b)3528 friend void swap(SideChannelProtocolOptionsResponse& a, SideChannelProtocolOptionsResponse& b) {
3529 a.Swap(&b);
3530 }
Swap(SideChannelProtocolOptionsResponse * other)3531 inline void Swap(SideChannelProtocolOptionsResponse* other) {
3532 if (other == this) return;
3533 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3534 if (GetOwningArena() != nullptr &&
3535 GetOwningArena() == other->GetOwningArena()) {
3536 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3537 if (GetOwningArena() == other->GetOwningArena()) {
3538 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3539 InternalSwap(other);
3540 } else {
3541 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3542 }
3543 }
3544 void UnsafeArenaSwap(SideChannelProtocolOptionsResponse* other) {
3545 if (other == this) return;
3546 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3547 InternalSwap(other);
3548 }
3549
3550 // implements Message ----------------------------------------------
3551
3552 SideChannelProtocolOptionsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3553 return CreateMaybeMessage<SideChannelProtocolOptionsResponse>(arena);
3554 }
3555 SideChannelProtocolOptionsResponse* New() const {
3556 return New(nullptr);
3557 }
3558 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3559 void CopyFrom(const SideChannelProtocolOptionsResponse& from);
3560 void MergeFrom(const SideChannelProtocolOptionsResponse& from);
3561 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3562 bool IsInitialized() const final;
3563
3564 size_t ByteSizeLong() const final;
3565 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3566 ::uint8_t* _InternalSerialize(
3567 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3568 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3569
3570 private:
3571 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3572 void SharedDtor();
3573 void SetCachedSize(int size) const;
3574 void InternalSwap(SideChannelProtocolOptionsResponse* other);
3575
3576 private:
3577 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3578 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3579 return "google.internal.federatedml.v2.SideChannelProtocolOptionsResponse";
3580 }
3581 protected:
3582 explicit SideChannelProtocolOptionsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3583 bool is_message_owned = false);
3584 public:
3585
3586 std::string GetTypeName() const final;
3587
3588 // nested types ----------------------------------------------------
3589
3590 typedef SideChannelProtocolOptionsResponse_SecureAggregation SecureAggregation;
3591
3592 // accessors -------------------------------------------------------
3593
3594 enum : int {
3595 kSecureAggregationFieldNumber = 1,
3596 };
3597 // .google.internal.federatedml.v2.SideChannelProtocolOptionsResponse.SecureAggregation secure_aggregation = 1;
3598 bool has_secure_aggregation() const;
3599 private:
3600 bool _internal_has_secure_aggregation() const;
3601 public:
3602 void clear_secure_aggregation();
3603 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation& secure_aggregation() const;
3604 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* release_secure_aggregation();
3605 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* mutable_secure_aggregation();
3606 void set_allocated_secure_aggregation(::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* secure_aggregation);
3607 private:
3608 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation& _internal_secure_aggregation() const;
3609 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* _internal_mutable_secure_aggregation();
3610 public:
3611 void unsafe_arena_set_allocated_secure_aggregation(
3612 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* secure_aggregation);
3613 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* unsafe_arena_release_secure_aggregation();
3614
3615 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelProtocolOptionsResponse)
3616 private:
3617 class _Internal;
3618
3619 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3620 typedef void InternalArenaConstructable_;
3621 typedef void DestructorSkippable_;
3622 struct Impl_ {
3623 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse_SecureAggregation* secure_aggregation_;
3624 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3625 };
3626 union { Impl_ _impl_; };
3627 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3628 };
3629 // -------------------------------------------------------------------
3630
3631 class SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo final :
3632 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelProtocolExecutionInfo.SecureAggregationProtocolExecutionInfo) */ {
3633 public:
SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo()3634 inline SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo() : SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo(nullptr) {}
3635 ~SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo() override;
3636 explicit PROTOBUF_CONSTEXPR SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3637
3638 SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo(const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& from);
SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo && from)3639 SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo&& from) noexcept
3640 : SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo() {
3641 *this = ::std::move(from);
3642 }
3643
3644 inline SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& operator=(const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& from) {
3645 if (this == &from) return *this;
3646 CopyFrom(from);
3647 return *this;
3648 }
3649 inline SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& operator=(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo&& from) noexcept {
3650 if (this == &from) return *this;
3651 if (GetOwningArena() == from.GetOwningArena()
3652 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3653 && GetOwningArena() != nullptr
3654 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3655 ) {
3656 InternalSwap(&from);
3657 } else {
3658 CopyFrom(from);
3659 }
3660 return *this;
3661 }
3662
default_instance()3663 static const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& default_instance() {
3664 return *internal_default_instance();
3665 }
internal_default_instance()3666 static inline const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* internal_default_instance() {
3667 return reinterpret_cast<const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo*>(
3668 &_SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo_default_instance_);
3669 }
3670 static constexpr int kIndexInFileMessages =
3671 18;
3672
swap(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo & a,SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo & b)3673 friend void swap(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& a, SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& b) {
3674 a.Swap(&b);
3675 }
Swap(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo * other)3676 inline void Swap(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* other) {
3677 if (other == this) return;
3678 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3679 if (GetOwningArena() != nullptr &&
3680 GetOwningArena() == other->GetOwningArena()) {
3681 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3682 if (GetOwningArena() == other->GetOwningArena()) {
3683 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3684 InternalSwap(other);
3685 } else {
3686 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3687 }
3688 }
3689 void UnsafeArenaSwap(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* other) {
3690 if (other == this) return;
3691 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3692 InternalSwap(other);
3693 }
3694
3695 // implements Message ----------------------------------------------
3696
3697 SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3698 return CreateMaybeMessage<SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo>(arena);
3699 }
3700 SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* New() const {
3701 return New(nullptr);
3702 }
3703 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3704 void CopyFrom(const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& from);
3705 void MergeFrom(const SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& from);
3706 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3707 bool IsInitialized() const final;
3708
3709 size_t ByteSizeLong() const final;
3710 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3711 ::uint8_t* _InternalSerialize(
3712 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3713 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3714
3715 private:
3716 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3717 void SharedDtor();
3718 void SetCachedSize(int size) const;
3719 void InternalSwap(SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* other);
3720
3721 private:
3722 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3723 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3724 return "google.internal.federatedml.v2.SideChannelProtocolExecutionInfo.SecureAggregationProtocolExecutionInfo";
3725 }
3726 protected:
3727 explicit SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3728 bool is_message_owned = false);
3729 public:
3730
3731 std::string GetTypeName() const final;
3732
3733 // nested types ----------------------------------------------------
3734
3735 // accessors -------------------------------------------------------
3736
3737 enum : int {
3738 kExpectedNumberOfClientsFieldNumber = 1,
3739 kMinimumSurvivingClientsForReconstructionFieldNumber = 2,
3740 kMinimumClientsInServerVisibleAggregateFieldNumber = 3,
3741 };
3742 // int32 expected_number_of_clients = 1;
3743 void clear_expected_number_of_clients();
3744 ::int32_t expected_number_of_clients() const;
3745 void set_expected_number_of_clients(::int32_t value);
3746 private:
3747 ::int32_t _internal_expected_number_of_clients() const;
3748 void _internal_set_expected_number_of_clients(::int32_t value);
3749 public:
3750
3751 // int32 minimum_surviving_clients_for_reconstruction = 2;
3752 void clear_minimum_surviving_clients_for_reconstruction();
3753 ::int32_t minimum_surviving_clients_for_reconstruction() const;
3754 void set_minimum_surviving_clients_for_reconstruction(::int32_t value);
3755 private:
3756 ::int32_t _internal_minimum_surviving_clients_for_reconstruction() const;
3757 void _internal_set_minimum_surviving_clients_for_reconstruction(::int32_t value);
3758 public:
3759
3760 // int32 minimum_clients_in_server_visible_aggregate = 3;
3761 void clear_minimum_clients_in_server_visible_aggregate();
3762 ::int32_t minimum_clients_in_server_visible_aggregate() const;
3763 void set_minimum_clients_in_server_visible_aggregate(::int32_t value);
3764 private:
3765 ::int32_t _internal_minimum_clients_in_server_visible_aggregate() const;
3766 void _internal_set_minimum_clients_in_server_visible_aggregate(::int32_t value);
3767 public:
3768
3769 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelProtocolExecutionInfo.SecureAggregationProtocolExecutionInfo)
3770 private:
3771 class _Internal;
3772
3773 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3774 typedef void InternalArenaConstructable_;
3775 typedef void DestructorSkippable_;
3776 struct Impl_ {
3777 ::int32_t expected_number_of_clients_;
3778 ::int32_t minimum_surviving_clients_for_reconstruction_;
3779 ::int32_t minimum_clients_in_server_visible_aggregate_;
3780 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3781 };
3782 union { Impl_ _impl_; };
3783 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3784 };
3785 // -------------------------------------------------------------------
3786
3787 class SideChannelProtocolExecutionInfo final :
3788 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.SideChannelProtocolExecutionInfo) */ {
3789 public:
SideChannelProtocolExecutionInfo()3790 inline SideChannelProtocolExecutionInfo() : SideChannelProtocolExecutionInfo(nullptr) {}
3791 ~SideChannelProtocolExecutionInfo() override;
3792 explicit PROTOBUF_CONSTEXPR SideChannelProtocolExecutionInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3793
3794 SideChannelProtocolExecutionInfo(const SideChannelProtocolExecutionInfo& from);
SideChannelProtocolExecutionInfo(SideChannelProtocolExecutionInfo && from)3795 SideChannelProtocolExecutionInfo(SideChannelProtocolExecutionInfo&& from) noexcept
3796 : SideChannelProtocolExecutionInfo() {
3797 *this = ::std::move(from);
3798 }
3799
3800 inline SideChannelProtocolExecutionInfo& operator=(const SideChannelProtocolExecutionInfo& from) {
3801 if (this == &from) return *this;
3802 CopyFrom(from);
3803 return *this;
3804 }
3805 inline SideChannelProtocolExecutionInfo& operator=(SideChannelProtocolExecutionInfo&& from) noexcept {
3806 if (this == &from) return *this;
3807 if (GetOwningArena() == from.GetOwningArena()
3808 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3809 && GetOwningArena() != nullptr
3810 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3811 ) {
3812 InternalSwap(&from);
3813 } else {
3814 CopyFrom(from);
3815 }
3816 return *this;
3817 }
3818
default_instance()3819 static const SideChannelProtocolExecutionInfo& default_instance() {
3820 return *internal_default_instance();
3821 }
internal_default_instance()3822 static inline const SideChannelProtocolExecutionInfo* internal_default_instance() {
3823 return reinterpret_cast<const SideChannelProtocolExecutionInfo*>(
3824 &_SideChannelProtocolExecutionInfo_default_instance_);
3825 }
3826 static constexpr int kIndexInFileMessages =
3827 19;
3828
swap(SideChannelProtocolExecutionInfo & a,SideChannelProtocolExecutionInfo & b)3829 friend void swap(SideChannelProtocolExecutionInfo& a, SideChannelProtocolExecutionInfo& b) {
3830 a.Swap(&b);
3831 }
Swap(SideChannelProtocolExecutionInfo * other)3832 inline void Swap(SideChannelProtocolExecutionInfo* other) {
3833 if (other == this) return;
3834 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3835 if (GetOwningArena() != nullptr &&
3836 GetOwningArena() == other->GetOwningArena()) {
3837 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3838 if (GetOwningArena() == other->GetOwningArena()) {
3839 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3840 InternalSwap(other);
3841 } else {
3842 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3843 }
3844 }
3845 void UnsafeArenaSwap(SideChannelProtocolExecutionInfo* other) {
3846 if (other == this) return;
3847 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3848 InternalSwap(other);
3849 }
3850
3851 // implements Message ----------------------------------------------
3852
3853 SideChannelProtocolExecutionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3854 return CreateMaybeMessage<SideChannelProtocolExecutionInfo>(arena);
3855 }
3856 SideChannelProtocolExecutionInfo* New() const {
3857 return New(nullptr);
3858 }
3859 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3860 void CopyFrom(const SideChannelProtocolExecutionInfo& from);
3861 void MergeFrom(const SideChannelProtocolExecutionInfo& from);
3862 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3863 bool IsInitialized() const final;
3864
3865 size_t ByteSizeLong() const final;
3866 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3867 ::uint8_t* _InternalSerialize(
3868 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3869 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3870
3871 private:
3872 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3873 void SharedDtor();
3874 void SetCachedSize(int size) const;
3875 void InternalSwap(SideChannelProtocolExecutionInfo* other);
3876
3877 private:
3878 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3879 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3880 return "google.internal.federatedml.v2.SideChannelProtocolExecutionInfo";
3881 }
3882 protected:
3883 explicit SideChannelProtocolExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3884 bool is_message_owned = false);
3885 public:
3886
3887 std::string GetTypeName() const final;
3888
3889 // nested types ----------------------------------------------------
3890
3891 typedef SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo SecureAggregationProtocolExecutionInfo;
3892
3893 // accessors -------------------------------------------------------
3894
3895 enum : int {
3896 kSecureAggregationFieldNumber = 1,
3897 };
3898 // .google.internal.federatedml.v2.SideChannelProtocolExecutionInfo.SecureAggregationProtocolExecutionInfo secure_aggregation = 1;
3899 bool has_secure_aggregation() const;
3900 private:
3901 bool _internal_has_secure_aggregation() const;
3902 public:
3903 void clear_secure_aggregation();
3904 const ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& secure_aggregation() const;
3905 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* release_secure_aggregation();
3906 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* mutable_secure_aggregation();
3907 void set_allocated_secure_aggregation(::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* secure_aggregation);
3908 private:
3909 const ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo& _internal_secure_aggregation() const;
3910 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* _internal_mutable_secure_aggregation();
3911 public:
3912 void unsafe_arena_set_allocated_secure_aggregation(
3913 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* secure_aggregation);
3914 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* unsafe_arena_release_secure_aggregation();
3915
3916 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.SideChannelProtocolExecutionInfo)
3917 private:
3918 class _Internal;
3919
3920 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3921 typedef void InternalArenaConstructable_;
3922 typedef void DestructorSkippable_;
3923 struct Impl_ {
3924 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo_SecureAggregationProtocolExecutionInfo* secure_aggregation_;
3925 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3926 };
3927 union { Impl_ _impl_; };
3928 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
3929 };
3930 // -------------------------------------------------------------------
3931
3932 class UriResource final :
3933 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.UriResource) */ {
3934 public:
UriResource()3935 inline UriResource() : UriResource(nullptr) {}
3936 ~UriResource() override;
3937 explicit PROTOBUF_CONSTEXPR UriResource(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3938
3939 UriResource(const UriResource& from);
UriResource(UriResource && from)3940 UriResource(UriResource&& from) noexcept
3941 : UriResource() {
3942 *this = ::std::move(from);
3943 }
3944
3945 inline UriResource& operator=(const UriResource& from) {
3946 if (this == &from) return *this;
3947 CopyFrom(from);
3948 return *this;
3949 }
3950 inline UriResource& operator=(UriResource&& from) noexcept {
3951 if (this == &from) return *this;
3952 if (GetOwningArena() == from.GetOwningArena()
3953 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3954 && GetOwningArena() != nullptr
3955 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3956 ) {
3957 InternalSwap(&from);
3958 } else {
3959 CopyFrom(from);
3960 }
3961 return *this;
3962 }
3963
default_instance()3964 static const UriResource& default_instance() {
3965 return *internal_default_instance();
3966 }
internal_default_instance()3967 static inline const UriResource* internal_default_instance() {
3968 return reinterpret_cast<const UriResource*>(
3969 &_UriResource_default_instance_);
3970 }
3971 static constexpr int kIndexInFileMessages =
3972 20;
3973
swap(UriResource & a,UriResource & b)3974 friend void swap(UriResource& a, UriResource& b) {
3975 a.Swap(&b);
3976 }
Swap(UriResource * other)3977 inline void Swap(UriResource* other) {
3978 if (other == this) return;
3979 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3980 if (GetOwningArena() != nullptr &&
3981 GetOwningArena() == other->GetOwningArena()) {
3982 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3983 if (GetOwningArena() == other->GetOwningArena()) {
3984 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3985 InternalSwap(other);
3986 } else {
3987 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3988 }
3989 }
3990 void UnsafeArenaSwap(UriResource* other) {
3991 if (other == this) return;
3992 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3993 InternalSwap(other);
3994 }
3995
3996 // implements Message ----------------------------------------------
3997
3998 UriResource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3999 return CreateMaybeMessage<UriResource>(arena);
4000 }
4001 UriResource* New() const {
4002 return New(nullptr);
4003 }
4004 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4005 void CopyFrom(const UriResource& from);
4006 void MergeFrom(const UriResource& from);
4007 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4008 bool IsInitialized() const final;
4009
4010 size_t ByteSizeLong() const final;
4011 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4012 ::uint8_t* _InternalSerialize(
4013 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4014 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4015
4016 private:
4017 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4018 void SharedDtor();
4019 void SetCachedSize(int size) const;
4020 void InternalSwap(UriResource* other);
4021
4022 private:
4023 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4024 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4025 return "google.internal.federatedml.v2.UriResource";
4026 }
4027 protected:
4028 explicit UriResource(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4029 bool is_message_owned = false);
4030 public:
4031
4032 std::string GetTypeName() const final;
4033
4034 // nested types ----------------------------------------------------
4035
4036 // accessors -------------------------------------------------------
4037
4038 enum : int {
4039 kUriFieldNumber = 1,
4040 kClientCacheIdFieldNumber = 2,
4041 kMaxAgeFieldNumber = 3,
4042 };
4043 // string uri = 1;
4044 void clear_uri();
4045 const std::string& uri() const;
4046 template <typename ArgT0 = const std::string&, typename... ArgT>
4047 void set_uri(ArgT0&& arg0, ArgT... args);
4048 std::string* mutable_uri();
4049 PROTOBUF_NODISCARD std::string* release_uri();
4050 void set_allocated_uri(std::string* uri);
4051 private:
4052 const std::string& _internal_uri() const;
4053 inline PROTOBUF_ALWAYS_INLINE void _internal_set_uri(const std::string& value);
4054 std::string* _internal_mutable_uri();
4055 public:
4056
4057 // string client_cache_id = 2;
4058 void clear_client_cache_id();
4059 const std::string& client_cache_id() const;
4060 template <typename ArgT0 = const std::string&, typename... ArgT>
4061 void set_client_cache_id(ArgT0&& arg0, ArgT... args);
4062 std::string* mutable_client_cache_id();
4063 PROTOBUF_NODISCARD std::string* release_client_cache_id();
4064 void set_allocated_client_cache_id(std::string* client_cache_id);
4065 private:
4066 const std::string& _internal_client_cache_id() const;
4067 inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_cache_id(const std::string& value);
4068 std::string* _internal_mutable_client_cache_id();
4069 public:
4070
4071 // .google.protobuf.Duration max_age = 3;
4072 bool has_max_age() const;
4073 private:
4074 bool _internal_has_max_age() const;
4075 public:
4076 void clear_max_age();
4077 const ::PROTOBUF_NAMESPACE_ID::Duration& max_age() const;
4078 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_max_age();
4079 ::PROTOBUF_NAMESPACE_ID::Duration* mutable_max_age();
4080 void set_allocated_max_age(::PROTOBUF_NAMESPACE_ID::Duration* max_age);
4081 private:
4082 const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_max_age() const;
4083 ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_max_age();
4084 public:
4085 void unsafe_arena_set_allocated_max_age(
4086 ::PROTOBUF_NAMESPACE_ID::Duration* max_age);
4087 ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_max_age();
4088
4089 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.UriResource)
4090 private:
4091 class _Internal;
4092
4093 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4094 typedef void InternalArenaConstructable_;
4095 typedef void DestructorSkippable_;
4096 struct Impl_ {
4097 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_;
4098 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_cache_id_;
4099 ::PROTOBUF_NAMESPACE_ID::Duration* max_age_;
4100 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4101 };
4102 union { Impl_ _impl_; };
4103 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
4104 };
4105 // -------------------------------------------------------------------
4106
4107 class AcceptanceInfo_SideChannelsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<AcceptanceInfo_SideChannelsEntry_DoNotUse,
4108 std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo,
4109 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
4110 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
4111 public:
4112 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<AcceptanceInfo_SideChannelsEntry_DoNotUse,
4113 std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo,
4114 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
4115 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
4116 AcceptanceInfo_SideChannelsEntry_DoNotUse();
4117 explicit PROTOBUF_CONSTEXPR AcceptanceInfo_SideChannelsEntry_DoNotUse(
4118 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4119 explicit AcceptanceInfo_SideChannelsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
4120 void MergeFrom(const AcceptanceInfo_SideChannelsEntry_DoNotUse& other);
internal_default_instance()4121 static const AcceptanceInfo_SideChannelsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AcceptanceInfo_SideChannelsEntry_DoNotUse*>(&_AcceptanceInfo_SideChannelsEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)4122 static bool ValidateKey(std::string* s) {
4123 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "google.internal.federatedml.v2.AcceptanceInfo.SideChannelsEntry.key");
4124 }
ValidateValue(void *)4125 static bool ValidateValue(void*) { return true; }
4126 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
4127 };
4128
4129 // -------------------------------------------------------------------
4130
4131 class AcceptanceInfo final :
4132 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.AcceptanceInfo) */ {
4133 public:
AcceptanceInfo()4134 inline AcceptanceInfo() : AcceptanceInfo(nullptr) {}
4135 ~AcceptanceInfo() override;
4136 explicit PROTOBUF_CONSTEXPR AcceptanceInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4137
4138 AcceptanceInfo(const AcceptanceInfo& from);
AcceptanceInfo(AcceptanceInfo && from)4139 AcceptanceInfo(AcceptanceInfo&& from) noexcept
4140 : AcceptanceInfo() {
4141 *this = ::std::move(from);
4142 }
4143
4144 inline AcceptanceInfo& operator=(const AcceptanceInfo& from) {
4145 if (this == &from) return *this;
4146 CopyFrom(from);
4147 return *this;
4148 }
4149 inline AcceptanceInfo& operator=(AcceptanceInfo&& from) noexcept {
4150 if (this == &from) return *this;
4151 if (GetOwningArena() == from.GetOwningArena()
4152 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4153 && GetOwningArena() != nullptr
4154 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4155 ) {
4156 InternalSwap(&from);
4157 } else {
4158 CopyFrom(from);
4159 }
4160 return *this;
4161 }
4162
default_instance()4163 static const AcceptanceInfo& default_instance() {
4164 return *internal_default_instance();
4165 }
4166 enum InitCheckpointTypeCase {
4167 kInitCheckpoint = 2,
4168 kInitCheckpointResource = 8,
4169 INIT_CHECKPOINT_TYPE_NOT_SET = 0,
4170 };
4171
4172 enum PlanTypeCase {
4173 kPlan = 3,
4174 kPlanResource = 9,
4175 PLAN_TYPE_NOT_SET = 0,
4176 };
4177
internal_default_instance()4178 static inline const AcceptanceInfo* internal_default_instance() {
4179 return reinterpret_cast<const AcceptanceInfo*>(
4180 &_AcceptanceInfo_default_instance_);
4181 }
4182 static constexpr int kIndexInFileMessages =
4183 22;
4184
swap(AcceptanceInfo & a,AcceptanceInfo & b)4185 friend void swap(AcceptanceInfo& a, AcceptanceInfo& b) {
4186 a.Swap(&b);
4187 }
Swap(AcceptanceInfo * other)4188 inline void Swap(AcceptanceInfo* other) {
4189 if (other == this) return;
4190 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4191 if (GetOwningArena() != nullptr &&
4192 GetOwningArena() == other->GetOwningArena()) {
4193 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4194 if (GetOwningArena() == other->GetOwningArena()) {
4195 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4196 InternalSwap(other);
4197 } else {
4198 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4199 }
4200 }
4201 void UnsafeArenaSwap(AcceptanceInfo* other) {
4202 if (other == this) return;
4203 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4204 InternalSwap(other);
4205 }
4206
4207 // implements Message ----------------------------------------------
4208
4209 AcceptanceInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4210 return CreateMaybeMessage<AcceptanceInfo>(arena);
4211 }
4212 AcceptanceInfo* New() const {
4213 return New(nullptr);
4214 }
4215 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4216 void CopyFrom(const AcceptanceInfo& from);
4217 void MergeFrom(const AcceptanceInfo& from);
4218 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4219 bool IsInitialized() const final;
4220
4221 size_t ByteSizeLong() const final;
4222 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4223 ::uint8_t* _InternalSerialize(
4224 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4225 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4226
4227 private:
4228 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4229 void SharedDtor();
4230 void SetCachedSize(int size) const;
4231 void InternalSwap(AcceptanceInfo* other);
4232
4233 private:
4234 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4235 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4236 return "google.internal.federatedml.v2.AcceptanceInfo";
4237 }
4238 protected:
4239 explicit AcceptanceInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4240 bool is_message_owned = false);
4241 public:
4242
4243 std::string GetTypeName() const final;
4244
4245 // nested types ----------------------------------------------------
4246
4247
4248 // accessors -------------------------------------------------------
4249
4250 enum : int {
4251 kSideChannelsFieldNumber = 4,
4252 kExecutionPhaseIdFieldNumber = 1,
4253 kTaskNameFieldNumber = 10,
4254 kSideChannelProtocolExecutionInfoFieldNumber = 5,
4255 kFederatedSelectUriInfoFieldNumber = 11,
4256 kInitCheckpointFieldNumber = 2,
4257 kInitCheckpointResourceFieldNumber = 8,
4258 kPlanFieldNumber = 3,
4259 kPlanResourceFieldNumber = 9,
4260 };
4261 // map<string, .google.internal.federatedml.v2.SideChannelExecutionInfo> side_channels = 4;
4262 int side_channels_size() const;
4263 private:
4264 int _internal_side_channels_size() const;
4265 public:
4266 void clear_side_channels();
4267 private:
4268 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo >&
4269 _internal_side_channels() const;
4270 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo >*
4271 _internal_mutable_side_channels();
4272 public:
4273 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo >&
4274 side_channels() const;
4275 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo >*
4276 mutable_side_channels();
4277
4278 // string execution_phase_id = 1;
4279 void clear_execution_phase_id();
4280 const std::string& execution_phase_id() const;
4281 template <typename ArgT0 = const std::string&, typename... ArgT>
4282 void set_execution_phase_id(ArgT0&& arg0, ArgT... args);
4283 std::string* mutable_execution_phase_id();
4284 PROTOBUF_NODISCARD std::string* release_execution_phase_id();
4285 void set_allocated_execution_phase_id(std::string* execution_phase_id);
4286 private:
4287 const std::string& _internal_execution_phase_id() const;
4288 inline PROTOBUF_ALWAYS_INLINE void _internal_set_execution_phase_id(const std::string& value);
4289 std::string* _internal_mutable_execution_phase_id();
4290 public:
4291
4292 // string task_name = 10;
4293 void clear_task_name();
4294 const std::string& task_name() const;
4295 template <typename ArgT0 = const std::string&, typename... ArgT>
4296 void set_task_name(ArgT0&& arg0, ArgT... args);
4297 std::string* mutable_task_name();
4298 PROTOBUF_NODISCARD std::string* release_task_name();
4299 void set_allocated_task_name(std::string* task_name);
4300 private:
4301 const std::string& _internal_task_name() const;
4302 inline PROTOBUF_ALWAYS_INLINE void _internal_set_task_name(const std::string& value);
4303 std::string* _internal_mutable_task_name();
4304 public:
4305
4306 // .google.internal.federatedml.v2.SideChannelProtocolExecutionInfo side_channel_protocol_execution_info = 5;
4307 bool has_side_channel_protocol_execution_info() const;
4308 private:
4309 bool _internal_has_side_channel_protocol_execution_info() const;
4310 public:
4311 void clear_side_channel_protocol_execution_info();
4312 const ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo& side_channel_protocol_execution_info() const;
4313 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* release_side_channel_protocol_execution_info();
4314 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* mutable_side_channel_protocol_execution_info();
4315 void set_allocated_side_channel_protocol_execution_info(::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* side_channel_protocol_execution_info);
4316 private:
4317 const ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo& _internal_side_channel_protocol_execution_info() const;
4318 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* _internal_mutable_side_channel_protocol_execution_info();
4319 public:
4320 void unsafe_arena_set_allocated_side_channel_protocol_execution_info(
4321 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* side_channel_protocol_execution_info);
4322 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* unsafe_arena_release_side_channel_protocol_execution_info();
4323
4324 // .google.internal.federatedml.v2.FederatedSelectUriInfo federated_select_uri_info = 11;
4325 bool has_federated_select_uri_info() const;
4326 private:
4327 bool _internal_has_federated_select_uri_info() const;
4328 public:
4329 void clear_federated_select_uri_info();
4330 const ::google::internal::federatedml::v2::FederatedSelectUriInfo& federated_select_uri_info() const;
4331 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::FederatedSelectUriInfo* release_federated_select_uri_info();
4332 ::google::internal::federatedml::v2::FederatedSelectUriInfo* mutable_federated_select_uri_info();
4333 void set_allocated_federated_select_uri_info(::google::internal::federatedml::v2::FederatedSelectUriInfo* federated_select_uri_info);
4334 private:
4335 const ::google::internal::federatedml::v2::FederatedSelectUriInfo& _internal_federated_select_uri_info() const;
4336 ::google::internal::federatedml::v2::FederatedSelectUriInfo* _internal_mutable_federated_select_uri_info();
4337 public:
4338 void unsafe_arena_set_allocated_federated_select_uri_info(
4339 ::google::internal::federatedml::v2::FederatedSelectUriInfo* federated_select_uri_info);
4340 ::google::internal::federatedml::v2::FederatedSelectUriInfo* unsafe_arena_release_federated_select_uri_info();
4341
4342 // bytes init_checkpoint = 2;
4343 bool has_init_checkpoint() const;
4344 private:
4345 bool _internal_has_init_checkpoint() const;
4346 public:
4347 void clear_init_checkpoint();
4348 const std::string& init_checkpoint() const;
4349 template <typename ArgT0 = const std::string&, typename... ArgT>
4350 void set_init_checkpoint(ArgT0&& arg0, ArgT... args);
4351 std::string* mutable_init_checkpoint();
4352 PROTOBUF_NODISCARD std::string* release_init_checkpoint();
4353 void set_allocated_init_checkpoint(std::string* init_checkpoint);
4354 private:
4355 const std::string& _internal_init_checkpoint() const;
4356 inline PROTOBUF_ALWAYS_INLINE void _internal_set_init_checkpoint(const std::string& value);
4357 std::string* _internal_mutable_init_checkpoint();
4358 public:
4359
4360 // .google.internal.federatedml.v2.UriResource init_checkpoint_resource = 8;
4361 bool has_init_checkpoint_resource() const;
4362 private:
4363 bool _internal_has_init_checkpoint_resource() const;
4364 public:
4365 void clear_init_checkpoint_resource();
4366 const ::google::internal::federatedml::v2::UriResource& init_checkpoint_resource() const;
4367 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::UriResource* release_init_checkpoint_resource();
4368 ::google::internal::federatedml::v2::UriResource* mutable_init_checkpoint_resource();
4369 void set_allocated_init_checkpoint_resource(::google::internal::federatedml::v2::UriResource* init_checkpoint_resource);
4370 private:
4371 const ::google::internal::federatedml::v2::UriResource& _internal_init_checkpoint_resource() const;
4372 ::google::internal::federatedml::v2::UriResource* _internal_mutable_init_checkpoint_resource();
4373 public:
4374 void unsafe_arena_set_allocated_init_checkpoint_resource(
4375 ::google::internal::federatedml::v2::UriResource* init_checkpoint_resource);
4376 ::google::internal::federatedml::v2::UriResource* unsafe_arena_release_init_checkpoint_resource();
4377
4378 // bytes plan = 3;
4379 bool has_plan() const;
4380 private:
4381 bool _internal_has_plan() const;
4382 public:
4383 void clear_plan();
4384 const std::string& plan() const;
4385 template <typename ArgT0 = const std::string&, typename... ArgT>
4386 void set_plan(ArgT0&& arg0, ArgT... args);
4387 std::string* mutable_plan();
4388 PROTOBUF_NODISCARD std::string* release_plan();
4389 void set_allocated_plan(std::string* plan);
4390 private:
4391 const std::string& _internal_plan() const;
4392 inline PROTOBUF_ALWAYS_INLINE void _internal_set_plan(const std::string& value);
4393 std::string* _internal_mutable_plan();
4394 public:
4395
4396 // .google.internal.federatedml.v2.UriResource plan_resource = 9;
4397 bool has_plan_resource() const;
4398 private:
4399 bool _internal_has_plan_resource() const;
4400 public:
4401 void clear_plan_resource();
4402 const ::google::internal::federatedml::v2::UriResource& plan_resource() const;
4403 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::UriResource* release_plan_resource();
4404 ::google::internal::federatedml::v2::UriResource* mutable_plan_resource();
4405 void set_allocated_plan_resource(::google::internal::federatedml::v2::UriResource* plan_resource);
4406 private:
4407 const ::google::internal::federatedml::v2::UriResource& _internal_plan_resource() const;
4408 ::google::internal::federatedml::v2::UriResource* _internal_mutable_plan_resource();
4409 public:
4410 void unsafe_arena_set_allocated_plan_resource(
4411 ::google::internal::federatedml::v2::UriResource* plan_resource);
4412 ::google::internal::federatedml::v2::UriResource* unsafe_arena_release_plan_resource();
4413
4414 void clear_init_checkpoint_type();
4415 InitCheckpointTypeCase init_checkpoint_type_case() const;
4416 void clear_plan_type();
4417 PlanTypeCase plan_type_case() const;
4418 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.AcceptanceInfo)
4419 private:
4420 class _Internal;
4421 void set_has_init_checkpoint();
4422 void set_has_init_checkpoint_resource();
4423 void set_has_plan();
4424 void set_has_plan_resource();
4425
4426 inline bool has_init_checkpoint_type() const;
4427 inline void clear_has_init_checkpoint_type();
4428
4429 inline bool has_plan_type() const;
4430 inline void clear_has_plan_type();
4431
4432 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4433 typedef void InternalArenaConstructable_;
4434 typedef void DestructorSkippable_;
4435 struct Impl_ {
4436 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
4437 AcceptanceInfo_SideChannelsEntry_DoNotUse,
4438 std::string, ::google::internal::federatedml::v2::SideChannelExecutionInfo,
4439 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
4440 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> side_channels_;
4441 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr execution_phase_id_;
4442 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr task_name_;
4443 ::google::internal::federatedml::v2::SideChannelProtocolExecutionInfo* side_channel_protocol_execution_info_;
4444 ::google::internal::federatedml::v2::FederatedSelectUriInfo* federated_select_uri_info_;
4445 union InitCheckpointTypeUnion {
4446 constexpr InitCheckpointTypeUnion() : _constinit_{} {}
4447 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
4448 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr init_checkpoint_;
4449 ::google::internal::federatedml::v2::UriResource* init_checkpoint_resource_;
4450 } init_checkpoint_type_;
4451 union PlanTypeUnion {
4452 constexpr PlanTypeUnion() : _constinit_{} {}
4453 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
4454 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr plan_;
4455 ::google::internal::federatedml::v2::UriResource* plan_resource_;
4456 } plan_type_;
4457 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4458 ::uint32_t _oneof_case_[2];
4459
4460 };
4461 union { Impl_ _impl_; };
4462 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
4463 };
4464 // -------------------------------------------------------------------
4465
4466 class FederatedSelectUriInfo final :
4467 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.FederatedSelectUriInfo) */ {
4468 public:
FederatedSelectUriInfo()4469 inline FederatedSelectUriInfo() : FederatedSelectUriInfo(nullptr) {}
4470 ~FederatedSelectUriInfo() override;
4471 explicit PROTOBUF_CONSTEXPR FederatedSelectUriInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4472
4473 FederatedSelectUriInfo(const FederatedSelectUriInfo& from);
FederatedSelectUriInfo(FederatedSelectUriInfo && from)4474 FederatedSelectUriInfo(FederatedSelectUriInfo&& from) noexcept
4475 : FederatedSelectUriInfo() {
4476 *this = ::std::move(from);
4477 }
4478
4479 inline FederatedSelectUriInfo& operator=(const FederatedSelectUriInfo& from) {
4480 if (this == &from) return *this;
4481 CopyFrom(from);
4482 return *this;
4483 }
4484 inline FederatedSelectUriInfo& operator=(FederatedSelectUriInfo&& from) noexcept {
4485 if (this == &from) return *this;
4486 if (GetOwningArena() == from.GetOwningArena()
4487 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4488 && GetOwningArena() != nullptr
4489 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4490 ) {
4491 InternalSwap(&from);
4492 } else {
4493 CopyFrom(from);
4494 }
4495 return *this;
4496 }
4497
default_instance()4498 static const FederatedSelectUriInfo& default_instance() {
4499 return *internal_default_instance();
4500 }
internal_default_instance()4501 static inline const FederatedSelectUriInfo* internal_default_instance() {
4502 return reinterpret_cast<const FederatedSelectUriInfo*>(
4503 &_FederatedSelectUriInfo_default_instance_);
4504 }
4505 static constexpr int kIndexInFileMessages =
4506 23;
4507
swap(FederatedSelectUriInfo & a,FederatedSelectUriInfo & b)4508 friend void swap(FederatedSelectUriInfo& a, FederatedSelectUriInfo& b) {
4509 a.Swap(&b);
4510 }
Swap(FederatedSelectUriInfo * other)4511 inline void Swap(FederatedSelectUriInfo* other) {
4512 if (other == this) return;
4513 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4514 if (GetOwningArena() != nullptr &&
4515 GetOwningArena() == other->GetOwningArena()) {
4516 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4517 if (GetOwningArena() == other->GetOwningArena()) {
4518 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4519 InternalSwap(other);
4520 } else {
4521 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4522 }
4523 }
4524 void UnsafeArenaSwap(FederatedSelectUriInfo* other) {
4525 if (other == this) return;
4526 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4527 InternalSwap(other);
4528 }
4529
4530 // implements Message ----------------------------------------------
4531
4532 FederatedSelectUriInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4533 return CreateMaybeMessage<FederatedSelectUriInfo>(arena);
4534 }
4535 FederatedSelectUriInfo* New() const {
4536 return New(nullptr);
4537 }
4538 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4539 void CopyFrom(const FederatedSelectUriInfo& from);
4540 void MergeFrom(const FederatedSelectUriInfo& from);
4541 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4542 bool IsInitialized() const final;
4543
4544 size_t ByteSizeLong() const final;
4545 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4546 ::uint8_t* _InternalSerialize(
4547 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4548 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4549
4550 private:
4551 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4552 void SharedDtor();
4553 void SetCachedSize(int size) const;
4554 void InternalSwap(FederatedSelectUriInfo* other);
4555
4556 private:
4557 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4558 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4559 return "google.internal.federatedml.v2.FederatedSelectUriInfo";
4560 }
4561 protected:
4562 explicit FederatedSelectUriInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4563 bool is_message_owned = false);
4564 public:
4565
4566 std::string GetTypeName() const final;
4567
4568 // nested types ----------------------------------------------------
4569
4570 // accessors -------------------------------------------------------
4571
4572 enum : int {
4573 kUriTemplateFieldNumber = 1,
4574 };
4575 // string uri_template = 1;
4576 void clear_uri_template();
4577 const std::string& uri_template() const;
4578 template <typename ArgT0 = const std::string&, typename... ArgT>
4579 void set_uri_template(ArgT0&& arg0, ArgT... args);
4580 std::string* mutable_uri_template();
4581 PROTOBUF_NODISCARD std::string* release_uri_template();
4582 void set_allocated_uri_template(std::string* uri_template);
4583 private:
4584 const std::string& _internal_uri_template() const;
4585 inline PROTOBUF_ALWAYS_INLINE void _internal_set_uri_template(const std::string& value);
4586 std::string* _internal_mutable_uri_template();
4587 public:
4588
4589 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.FederatedSelectUriInfo)
4590 private:
4591 class _Internal;
4592
4593 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4594 typedef void InternalArenaConstructable_;
4595 typedef void DestructorSkippable_;
4596 struct Impl_ {
4597 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_template_;
4598 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4599 };
4600 union { Impl_ _impl_; };
4601 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
4602 };
4603 // -------------------------------------------------------------------
4604
4605 class RejectionInfo final :
4606 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.RejectionInfo) */ {
4607 public:
RejectionInfo()4608 inline RejectionInfo() : RejectionInfo(nullptr) {}
4609 ~RejectionInfo() override;
4610 explicit PROTOBUF_CONSTEXPR RejectionInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4611
4612 RejectionInfo(const RejectionInfo& from);
RejectionInfo(RejectionInfo && from)4613 RejectionInfo(RejectionInfo&& from) noexcept
4614 : RejectionInfo() {
4615 *this = ::std::move(from);
4616 }
4617
4618 inline RejectionInfo& operator=(const RejectionInfo& from) {
4619 if (this == &from) return *this;
4620 CopyFrom(from);
4621 return *this;
4622 }
4623 inline RejectionInfo& operator=(RejectionInfo&& from) noexcept {
4624 if (this == &from) return *this;
4625 if (GetOwningArena() == from.GetOwningArena()
4626 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4627 && GetOwningArena() != nullptr
4628 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4629 ) {
4630 InternalSwap(&from);
4631 } else {
4632 CopyFrom(from);
4633 }
4634 return *this;
4635 }
4636
default_instance()4637 static const RejectionInfo& default_instance() {
4638 return *internal_default_instance();
4639 }
internal_default_instance()4640 static inline const RejectionInfo* internal_default_instance() {
4641 return reinterpret_cast<const RejectionInfo*>(
4642 &_RejectionInfo_default_instance_);
4643 }
4644 static constexpr int kIndexInFileMessages =
4645 24;
4646
swap(RejectionInfo & a,RejectionInfo & b)4647 friend void swap(RejectionInfo& a, RejectionInfo& b) {
4648 a.Swap(&b);
4649 }
Swap(RejectionInfo * other)4650 inline void Swap(RejectionInfo* other) {
4651 if (other == this) return;
4652 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4653 if (GetOwningArena() != nullptr &&
4654 GetOwningArena() == other->GetOwningArena()) {
4655 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4656 if (GetOwningArena() == other->GetOwningArena()) {
4657 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4658 InternalSwap(other);
4659 } else {
4660 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4661 }
4662 }
4663 void UnsafeArenaSwap(RejectionInfo* other) {
4664 if (other == this) return;
4665 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4666 InternalSwap(other);
4667 }
4668
4669 // implements Message ----------------------------------------------
4670
4671 RejectionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4672 return CreateMaybeMessage<RejectionInfo>(arena);
4673 }
4674 RejectionInfo* New() const {
4675 return New(nullptr);
4676 }
4677 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4678 void CopyFrom(const RejectionInfo& from);
4679 void MergeFrom(const RejectionInfo& from);
4680 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4681 bool IsInitialized() const final;
4682
4683 size_t ByteSizeLong() const final;
4684 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4685 ::uint8_t* _InternalSerialize(
4686 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4687 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4688
4689 private:
4690 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4691 void SharedDtor();
4692 void SetCachedSize(int size) const;
4693 void InternalSwap(RejectionInfo* other);
4694
4695 private:
4696 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4697 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4698 return "google.internal.federatedml.v2.RejectionInfo";
4699 }
4700 protected:
4701 explicit RejectionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4702 bool is_message_owned = false);
4703 public:
4704
4705 std::string GetTypeName() const final;
4706
4707 // nested types ----------------------------------------------------
4708
4709 // accessors -------------------------------------------------------
4710
4711 enum : int {
4712 kRetryWindowFieldNumber = 4,
4713 };
4714 // .google.internal.federatedml.v2.RetryWindow retry_window = 4 [deprecated = true];
4715 PROTOBUF_DEPRECATED bool has_retry_window() const;
4716 private:
4717 bool _internal_has_retry_window() const;
4718 public:
4719 PROTOBUF_DEPRECATED void clear_retry_window();
4720 PROTOBUF_DEPRECATED const ::google::internal::federatedml::v2::RetryWindow& retry_window() const;
4721 PROTOBUF_NODISCARD PROTOBUF_DEPRECATED ::google::internal::federatedml::v2::RetryWindow* release_retry_window();
4722 PROTOBUF_DEPRECATED ::google::internal::federatedml::v2::RetryWindow* mutable_retry_window();
4723 PROTOBUF_DEPRECATED void set_allocated_retry_window(::google::internal::federatedml::v2::RetryWindow* retry_window);
4724 private:
4725 const ::google::internal::federatedml::v2::RetryWindow& _internal_retry_window() const;
4726 ::google::internal::federatedml::v2::RetryWindow* _internal_mutable_retry_window();
4727 public:
4728 PROTOBUF_DEPRECATED void unsafe_arena_set_allocated_retry_window(
4729 ::google::internal::federatedml::v2::RetryWindow* retry_window);
4730 PROTOBUF_DEPRECATED ::google::internal::federatedml::v2::RetryWindow* unsafe_arena_release_retry_window();
4731
4732 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.RejectionInfo)
4733 private:
4734 class _Internal;
4735
4736 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4737 typedef void InternalArenaConstructable_;
4738 typedef void DestructorSkippable_;
4739 struct Impl_ {
4740 ::google::internal::federatedml::v2::RetryWindow* retry_window_;
4741 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4742 };
4743 union { Impl_ _impl_; };
4744 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
4745 };
4746 // -------------------------------------------------------------------
4747
4748 class ReportRequest final :
4749 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ReportRequest) */ {
4750 public:
ReportRequest()4751 inline ReportRequest() : ReportRequest(nullptr) {}
4752 ~ReportRequest() override;
4753 explicit PROTOBUF_CONSTEXPR ReportRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4754
4755 ReportRequest(const ReportRequest& from);
ReportRequest(ReportRequest && from)4756 ReportRequest(ReportRequest&& from) noexcept
4757 : ReportRequest() {
4758 *this = ::std::move(from);
4759 }
4760
4761 inline ReportRequest& operator=(const ReportRequest& from) {
4762 if (this == &from) return *this;
4763 CopyFrom(from);
4764 return *this;
4765 }
4766 inline ReportRequest& operator=(ReportRequest&& from) noexcept {
4767 if (this == &from) return *this;
4768 if (GetOwningArena() == from.GetOwningArena()
4769 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4770 && GetOwningArena() != nullptr
4771 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4772 ) {
4773 InternalSwap(&from);
4774 } else {
4775 CopyFrom(from);
4776 }
4777 return *this;
4778 }
4779
default_instance()4780 static const ReportRequest& default_instance() {
4781 return *internal_default_instance();
4782 }
internal_default_instance()4783 static inline const ReportRequest* internal_default_instance() {
4784 return reinterpret_cast<const ReportRequest*>(
4785 &_ReportRequest_default_instance_);
4786 }
4787 static constexpr int kIndexInFileMessages =
4788 25;
4789
swap(ReportRequest & a,ReportRequest & b)4790 friend void swap(ReportRequest& a, ReportRequest& b) {
4791 a.Swap(&b);
4792 }
Swap(ReportRequest * other)4793 inline void Swap(ReportRequest* other) {
4794 if (other == this) return;
4795 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4796 if (GetOwningArena() != nullptr &&
4797 GetOwningArena() == other->GetOwningArena()) {
4798 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4799 if (GetOwningArena() == other->GetOwningArena()) {
4800 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4801 InternalSwap(other);
4802 } else {
4803 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4804 }
4805 }
4806 void UnsafeArenaSwap(ReportRequest* other) {
4807 if (other == this) return;
4808 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4809 InternalSwap(other);
4810 }
4811
4812 // implements Message ----------------------------------------------
4813
4814 ReportRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4815 return CreateMaybeMessage<ReportRequest>(arena);
4816 }
4817 ReportRequest* New() const {
4818 return New(nullptr);
4819 }
4820 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4821 void CopyFrom(const ReportRequest& from);
4822 void MergeFrom(const ReportRequest& from);
4823 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4824 bool IsInitialized() const final;
4825
4826 size_t ByteSizeLong() const final;
4827 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4828 ::uint8_t* _InternalSerialize(
4829 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4830 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4831
4832 private:
4833 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4834 void SharedDtor();
4835 void SetCachedSize(int size) const;
4836 void InternalSwap(ReportRequest* other);
4837
4838 private:
4839 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4840 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4841 return "google.internal.federatedml.v2.ReportRequest";
4842 }
4843 protected:
4844 explicit ReportRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4845 bool is_message_owned = false);
4846 public:
4847
4848 std::string GetTypeName() const final;
4849
4850 // nested types ----------------------------------------------------
4851
4852 // accessors -------------------------------------------------------
4853
4854 enum : int {
4855 kPopulationNameFieldNumber = 1,
4856 kExecutionPhaseIdFieldNumber = 2,
4857 kReportFieldNumber = 3,
4858 };
4859 // string population_name = 1;
4860 void clear_population_name();
4861 const std::string& population_name() const;
4862 template <typename ArgT0 = const std::string&, typename... ArgT>
4863 void set_population_name(ArgT0&& arg0, ArgT... args);
4864 std::string* mutable_population_name();
4865 PROTOBUF_NODISCARD std::string* release_population_name();
4866 void set_allocated_population_name(std::string* population_name);
4867 private:
4868 const std::string& _internal_population_name() const;
4869 inline PROTOBUF_ALWAYS_INLINE void _internal_set_population_name(const std::string& value);
4870 std::string* _internal_mutable_population_name();
4871 public:
4872
4873 // string execution_phase_id = 2;
4874 void clear_execution_phase_id();
4875 const std::string& execution_phase_id() const;
4876 template <typename ArgT0 = const std::string&, typename... ArgT>
4877 void set_execution_phase_id(ArgT0&& arg0, ArgT... args);
4878 std::string* mutable_execution_phase_id();
4879 PROTOBUF_NODISCARD std::string* release_execution_phase_id();
4880 void set_allocated_execution_phase_id(std::string* execution_phase_id);
4881 private:
4882 const std::string& _internal_execution_phase_id() const;
4883 inline PROTOBUF_ALWAYS_INLINE void _internal_set_execution_phase_id(const std::string& value);
4884 std::string* _internal_mutable_execution_phase_id();
4885 public:
4886
4887 // .google.internal.federatedml.v2.Report report = 3;
4888 bool has_report() const;
4889 private:
4890 bool _internal_has_report() const;
4891 public:
4892 void clear_report();
4893 const ::google::internal::federatedml::v2::Report& report() const;
4894 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::Report* release_report();
4895 ::google::internal::federatedml::v2::Report* mutable_report();
4896 void set_allocated_report(::google::internal::federatedml::v2::Report* report);
4897 private:
4898 const ::google::internal::federatedml::v2::Report& _internal_report() const;
4899 ::google::internal::federatedml::v2::Report* _internal_mutable_report();
4900 public:
4901 void unsafe_arena_set_allocated_report(
4902 ::google::internal::federatedml::v2::Report* report);
4903 ::google::internal::federatedml::v2::Report* unsafe_arena_release_report();
4904
4905 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ReportRequest)
4906 private:
4907 class _Internal;
4908
4909 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4910 typedef void InternalArenaConstructable_;
4911 typedef void DestructorSkippable_;
4912 struct Impl_ {
4913 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr population_name_;
4914 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr execution_phase_id_;
4915 ::google::internal::federatedml::v2::Report* report_;
4916 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4917 };
4918 union { Impl_ _impl_; };
4919 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
4920 };
4921 // -------------------------------------------------------------------
4922
4923 class ReportResponse final :
4924 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ReportResponse) */ {
4925 public:
ReportResponse()4926 inline ReportResponse() : ReportResponse(nullptr) {}
4927 ~ReportResponse() override;
4928 explicit PROTOBUF_CONSTEXPR ReportResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4929
4930 ReportResponse(const ReportResponse& from);
ReportResponse(ReportResponse && from)4931 ReportResponse(ReportResponse&& from) noexcept
4932 : ReportResponse() {
4933 *this = ::std::move(from);
4934 }
4935
4936 inline ReportResponse& operator=(const ReportResponse& from) {
4937 if (this == &from) return *this;
4938 CopyFrom(from);
4939 return *this;
4940 }
4941 inline ReportResponse& operator=(ReportResponse&& from) noexcept {
4942 if (this == &from) return *this;
4943 if (GetOwningArena() == from.GetOwningArena()
4944 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4945 && GetOwningArena() != nullptr
4946 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4947 ) {
4948 InternalSwap(&from);
4949 } else {
4950 CopyFrom(from);
4951 }
4952 return *this;
4953 }
4954
default_instance()4955 static const ReportResponse& default_instance() {
4956 return *internal_default_instance();
4957 }
internal_default_instance()4958 static inline const ReportResponse* internal_default_instance() {
4959 return reinterpret_cast<const ReportResponse*>(
4960 &_ReportResponse_default_instance_);
4961 }
4962 static constexpr int kIndexInFileMessages =
4963 26;
4964
swap(ReportResponse & a,ReportResponse & b)4965 friend void swap(ReportResponse& a, ReportResponse& b) {
4966 a.Swap(&b);
4967 }
Swap(ReportResponse * other)4968 inline void Swap(ReportResponse* other) {
4969 if (other == this) return;
4970 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4971 if (GetOwningArena() != nullptr &&
4972 GetOwningArena() == other->GetOwningArena()) {
4973 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4974 if (GetOwningArena() == other->GetOwningArena()) {
4975 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4976 InternalSwap(other);
4977 } else {
4978 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4979 }
4980 }
4981 void UnsafeArenaSwap(ReportResponse* other) {
4982 if (other == this) return;
4983 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4984 InternalSwap(other);
4985 }
4986
4987 // implements Message ----------------------------------------------
4988
4989 ReportResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4990 return CreateMaybeMessage<ReportResponse>(arena);
4991 }
4992 ReportResponse* New() const {
4993 return New(nullptr);
4994 }
4995 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4996 void CopyFrom(const ReportResponse& from);
4997 void MergeFrom(const ReportResponse& from);
4998 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4999 bool IsInitialized() const final;
5000
5001 size_t ByteSizeLong() const final;
5002 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5003 ::uint8_t* _InternalSerialize(
5004 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5005 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5006
5007 private:
5008 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5009 void SharedDtor();
5010 void SetCachedSize(int size) const;
5011 void InternalSwap(ReportResponse* other);
5012
5013 private:
5014 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5015 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5016 return "google.internal.federatedml.v2.ReportResponse";
5017 }
5018 protected:
5019 explicit ReportResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5020 bool is_message_owned = false);
5021 public:
5022
5023 std::string GetTypeName() const final;
5024
5025 // nested types ----------------------------------------------------
5026
5027 // accessors -------------------------------------------------------
5028
5029 enum : int {
5030 kRetryWindowFieldNumber = 1,
5031 };
5032 // .google.internal.federatedml.v2.RetryWindow retry_window = 1 [deprecated = true];
5033 PROTOBUF_DEPRECATED bool has_retry_window() const;
5034 private:
5035 bool _internal_has_retry_window() const;
5036 public:
5037 PROTOBUF_DEPRECATED void clear_retry_window();
5038 PROTOBUF_DEPRECATED const ::google::internal::federatedml::v2::RetryWindow& retry_window() const;
5039 PROTOBUF_NODISCARD PROTOBUF_DEPRECATED ::google::internal::federatedml::v2::RetryWindow* release_retry_window();
5040 PROTOBUF_DEPRECATED ::google::internal::federatedml::v2::RetryWindow* mutable_retry_window();
5041 PROTOBUF_DEPRECATED void set_allocated_retry_window(::google::internal::federatedml::v2::RetryWindow* retry_window);
5042 private:
5043 const ::google::internal::federatedml::v2::RetryWindow& _internal_retry_window() const;
5044 ::google::internal::federatedml::v2::RetryWindow* _internal_mutable_retry_window();
5045 public:
5046 PROTOBUF_DEPRECATED void unsafe_arena_set_allocated_retry_window(
5047 ::google::internal::federatedml::v2::RetryWindow* retry_window);
5048 PROTOBUF_DEPRECATED ::google::internal::federatedml::v2::RetryWindow* unsafe_arena_release_retry_window();
5049
5050 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ReportResponse)
5051 private:
5052 class _Internal;
5053
5054 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5055 typedef void InternalArenaConstructable_;
5056 typedef void DestructorSkippable_;
5057 struct Impl_ {
5058 ::google::internal::federatedml::v2::RetryWindow* retry_window_;
5059 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5060 };
5061 union { Impl_ _impl_; };
5062 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5063 };
5064 // -------------------------------------------------------------------
5065
5066 class Report final :
5067 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.Report) */ {
5068 public:
Report()5069 inline Report() : Report(nullptr) {}
5070 ~Report() override;
5071 explicit PROTOBUF_CONSTEXPR Report(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5072
5073 Report(const Report& from);
Report(Report && from)5074 Report(Report&& from) noexcept
5075 : Report() {
5076 *this = ::std::move(from);
5077 }
5078
5079 inline Report& operator=(const Report& from) {
5080 if (this == &from) return *this;
5081 CopyFrom(from);
5082 return *this;
5083 }
5084 inline Report& operator=(Report&& from) noexcept {
5085 if (this == &from) return *this;
5086 if (GetOwningArena() == from.GetOwningArena()
5087 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5088 && GetOwningArena() != nullptr
5089 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5090 ) {
5091 InternalSwap(&from);
5092 } else {
5093 CopyFrom(from);
5094 }
5095 return *this;
5096 }
5097
default_instance()5098 static const Report& default_instance() {
5099 return *internal_default_instance();
5100 }
internal_default_instance()5101 static inline const Report* internal_default_instance() {
5102 return reinterpret_cast<const Report*>(
5103 &_Report_default_instance_);
5104 }
5105 static constexpr int kIndexInFileMessages =
5106 27;
5107
swap(Report & a,Report & b)5108 friend void swap(Report& a, Report& b) {
5109 a.Swap(&b);
5110 }
Swap(Report * other)5111 inline void Swap(Report* other) {
5112 if (other == this) return;
5113 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5114 if (GetOwningArena() != nullptr &&
5115 GetOwningArena() == other->GetOwningArena()) {
5116 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5117 if (GetOwningArena() == other->GetOwningArena()) {
5118 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5119 InternalSwap(other);
5120 } else {
5121 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5122 }
5123 }
5124 void UnsafeArenaSwap(Report* other) {
5125 if (other == this) return;
5126 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5127 InternalSwap(other);
5128 }
5129
5130 // implements Message ----------------------------------------------
5131
5132 Report* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5133 return CreateMaybeMessage<Report>(arena);
5134 }
5135 Report* New() const {
5136 return New(nullptr);
5137 }
5138 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5139 void CopyFrom(const Report& from);
5140 void MergeFrom(const Report& from);
5141 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5142 bool IsInitialized() const final;
5143
5144 size_t ByteSizeLong() const final;
5145 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5146 ::uint8_t* _InternalSerialize(
5147 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5148 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5149
5150 private:
5151 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5152 void SharedDtor();
5153 void SetCachedSize(int size) const;
5154 void InternalSwap(Report* other);
5155
5156 private:
5157 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5158 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5159 return "google.internal.federatedml.v2.Report";
5160 }
5161 protected:
5162 explicit Report(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5163 bool is_message_owned = false);
5164 public:
5165
5166 std::string GetTypeName() const final;
5167
5168 // nested types ----------------------------------------------------
5169
5170 // accessors -------------------------------------------------------
5171
5172 enum : int {
5173 kSerializedTrainEventFieldNumber = 4,
5174 kUpdateCheckpointFieldNumber = 1,
5175 kStatusCodeFieldNumber = 5,
5176 };
5177 // repeated .google.protobuf.Any serialized_train_event = 4;
5178 int serialized_train_event_size() const;
5179 private:
5180 int _internal_serialized_train_event_size() const;
5181 public:
5182 void clear_serialized_train_event();
5183 ::PROTOBUF_NAMESPACE_ID::Any* mutable_serialized_train_event(int index);
5184 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >*
5185 mutable_serialized_train_event();
5186 private:
5187 const ::PROTOBUF_NAMESPACE_ID::Any& _internal_serialized_train_event(int index) const;
5188 ::PROTOBUF_NAMESPACE_ID::Any* _internal_add_serialized_train_event();
5189 public:
5190 const ::PROTOBUF_NAMESPACE_ID::Any& serialized_train_event(int index) const;
5191 ::PROTOBUF_NAMESPACE_ID::Any* add_serialized_train_event();
5192 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
5193 serialized_train_event() const;
5194
5195 // bytes update_checkpoint = 1;
5196 void clear_update_checkpoint();
5197 const std::string& update_checkpoint() const;
5198 template <typename ArgT0 = const std::string&, typename... ArgT>
5199 void set_update_checkpoint(ArgT0&& arg0, ArgT... args);
5200 std::string* mutable_update_checkpoint();
5201 PROTOBUF_NODISCARD std::string* release_update_checkpoint();
5202 void set_allocated_update_checkpoint(std::string* update_checkpoint);
5203 private:
5204 const std::string& _internal_update_checkpoint() const;
5205 inline PROTOBUF_ALWAYS_INLINE void _internal_set_update_checkpoint(const std::string& value);
5206 std::string* _internal_mutable_update_checkpoint();
5207 public:
5208
5209 // int32 status_code = 5;
5210 void clear_status_code();
5211 ::int32_t status_code() const;
5212 void set_status_code(::int32_t value);
5213 private:
5214 ::int32_t _internal_status_code() const;
5215 void _internal_set_status_code(::int32_t value);
5216 public:
5217
5218 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.Report)
5219 private:
5220 class _Internal;
5221
5222 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5223 typedef void InternalArenaConstructable_;
5224 typedef void DestructorSkippable_;
5225 struct Impl_ {
5226 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any > serialized_train_event_;
5227 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr update_checkpoint_;
5228 ::int32_t status_code_;
5229 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5230 };
5231 union { Impl_ _impl_; };
5232 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5233 };
5234 // -------------------------------------------------------------------
5235
5236 class ClientExecutionStats final :
5237 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ClientExecutionStats) */ {
5238 public:
ClientExecutionStats()5239 inline ClientExecutionStats() : ClientExecutionStats(nullptr) {}
5240 ~ClientExecutionStats() override;
5241 explicit PROTOBUF_CONSTEXPR ClientExecutionStats(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5242
5243 ClientExecutionStats(const ClientExecutionStats& from);
ClientExecutionStats(ClientExecutionStats && from)5244 ClientExecutionStats(ClientExecutionStats&& from) noexcept
5245 : ClientExecutionStats() {
5246 *this = ::std::move(from);
5247 }
5248
5249 inline ClientExecutionStats& operator=(const ClientExecutionStats& from) {
5250 if (this == &from) return *this;
5251 CopyFrom(from);
5252 return *this;
5253 }
5254 inline ClientExecutionStats& operator=(ClientExecutionStats&& from) noexcept {
5255 if (this == &from) return *this;
5256 if (GetOwningArena() == from.GetOwningArena()
5257 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5258 && GetOwningArena() != nullptr
5259 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5260 ) {
5261 InternalSwap(&from);
5262 } else {
5263 CopyFrom(from);
5264 }
5265 return *this;
5266 }
5267
default_instance()5268 static const ClientExecutionStats& default_instance() {
5269 return *internal_default_instance();
5270 }
internal_default_instance()5271 static inline const ClientExecutionStats* internal_default_instance() {
5272 return reinterpret_cast<const ClientExecutionStats*>(
5273 &_ClientExecutionStats_default_instance_);
5274 }
5275 static constexpr int kIndexInFileMessages =
5276 28;
5277
swap(ClientExecutionStats & a,ClientExecutionStats & b)5278 friend void swap(ClientExecutionStats& a, ClientExecutionStats& b) {
5279 a.Swap(&b);
5280 }
Swap(ClientExecutionStats * other)5281 inline void Swap(ClientExecutionStats* other) {
5282 if (other == this) return;
5283 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5284 if (GetOwningArena() != nullptr &&
5285 GetOwningArena() == other->GetOwningArena()) {
5286 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5287 if (GetOwningArena() == other->GetOwningArena()) {
5288 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5289 InternalSwap(other);
5290 } else {
5291 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5292 }
5293 }
5294 void UnsafeArenaSwap(ClientExecutionStats* other) {
5295 if (other == this) return;
5296 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5297 InternalSwap(other);
5298 }
5299
5300 // implements Message ----------------------------------------------
5301
5302 ClientExecutionStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5303 return CreateMaybeMessage<ClientExecutionStats>(arena);
5304 }
5305 ClientExecutionStats* New() const {
5306 return New(nullptr);
5307 }
5308 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5309 void CopyFrom(const ClientExecutionStats& from);
5310 void MergeFrom(const ClientExecutionStats& from);
5311 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5312 bool IsInitialized() const final;
5313
5314 size_t ByteSizeLong() const final;
5315 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5316 ::uint8_t* _InternalSerialize(
5317 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5318 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5319
5320 private:
5321 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5322 void SharedDtor();
5323 void SetCachedSize(int size) const;
5324 void InternalSwap(ClientExecutionStats* other);
5325
5326 private:
5327 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5328 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5329 return "google.internal.federatedml.v2.ClientExecutionStats";
5330 }
5331 protected:
5332 explicit ClientExecutionStats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5333 bool is_message_owned = false);
5334 public:
5335
5336 std::string GetTypeName() const final;
5337
5338 // nested types ----------------------------------------------------
5339
5340 // accessors -------------------------------------------------------
5341
5342 enum : int {
5343 kDurationFieldNumber = 2,
5344 };
5345 // .google.protobuf.Duration duration = 2;
5346 bool has_duration() const;
5347 private:
5348 bool _internal_has_duration() const;
5349 public:
5350 void clear_duration();
5351 const ::PROTOBUF_NAMESPACE_ID::Duration& duration() const;
5352 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_duration();
5353 ::PROTOBUF_NAMESPACE_ID::Duration* mutable_duration();
5354 void set_allocated_duration(::PROTOBUF_NAMESPACE_ID::Duration* duration);
5355 private:
5356 const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_duration() const;
5357 ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_duration();
5358 public:
5359 void unsafe_arena_set_allocated_duration(
5360 ::PROTOBUF_NAMESPACE_ID::Duration* duration);
5361 ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_duration();
5362
5363 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ClientExecutionStats)
5364 private:
5365 class _Internal;
5366
5367 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5368 typedef void InternalArenaConstructable_;
5369 typedef void DestructorSkippable_;
5370 struct Impl_ {
5371 ::PROTOBUF_NAMESPACE_ID::Duration* duration_;
5372 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5373 };
5374 union { Impl_ _impl_; };
5375 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5376 };
5377 // -------------------------------------------------------------------
5378
5379 class RetryWindow final :
5380 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.RetryWindow) */ {
5381 public:
RetryWindow()5382 inline RetryWindow() : RetryWindow(nullptr) {}
5383 ~RetryWindow() override;
5384 explicit PROTOBUF_CONSTEXPR RetryWindow(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5385
5386 RetryWindow(const RetryWindow& from);
RetryWindow(RetryWindow && from)5387 RetryWindow(RetryWindow&& from) noexcept
5388 : RetryWindow() {
5389 *this = ::std::move(from);
5390 }
5391
5392 inline RetryWindow& operator=(const RetryWindow& from) {
5393 if (this == &from) return *this;
5394 CopyFrom(from);
5395 return *this;
5396 }
5397 inline RetryWindow& operator=(RetryWindow&& from) noexcept {
5398 if (this == &from) return *this;
5399 if (GetOwningArena() == from.GetOwningArena()
5400 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5401 && GetOwningArena() != nullptr
5402 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5403 ) {
5404 InternalSwap(&from);
5405 } else {
5406 CopyFrom(from);
5407 }
5408 return *this;
5409 }
5410
default_instance()5411 static const RetryWindow& default_instance() {
5412 return *internal_default_instance();
5413 }
internal_default_instance()5414 static inline const RetryWindow* internal_default_instance() {
5415 return reinterpret_cast<const RetryWindow*>(
5416 &_RetryWindow_default_instance_);
5417 }
5418 static constexpr int kIndexInFileMessages =
5419 29;
5420
swap(RetryWindow & a,RetryWindow & b)5421 friend void swap(RetryWindow& a, RetryWindow& b) {
5422 a.Swap(&b);
5423 }
Swap(RetryWindow * other)5424 inline void Swap(RetryWindow* other) {
5425 if (other == this) return;
5426 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5427 if (GetOwningArena() != nullptr &&
5428 GetOwningArena() == other->GetOwningArena()) {
5429 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5430 if (GetOwningArena() == other->GetOwningArena()) {
5431 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5432 InternalSwap(other);
5433 } else {
5434 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5435 }
5436 }
5437 void UnsafeArenaSwap(RetryWindow* other) {
5438 if (other == this) return;
5439 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5440 InternalSwap(other);
5441 }
5442
5443 // implements Message ----------------------------------------------
5444
5445 RetryWindow* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5446 return CreateMaybeMessage<RetryWindow>(arena);
5447 }
5448 RetryWindow* New() const {
5449 return New(nullptr);
5450 }
5451 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5452 void CopyFrom(const RetryWindow& from);
5453 void MergeFrom(const RetryWindow& from);
5454 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5455 bool IsInitialized() const final;
5456
5457 size_t ByteSizeLong() const final;
5458 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5459 ::uint8_t* _InternalSerialize(
5460 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5461 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5462
5463 private:
5464 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5465 void SharedDtor();
5466 void SetCachedSize(int size) const;
5467 void InternalSwap(RetryWindow* other);
5468
5469 private:
5470 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5471 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5472 return "google.internal.federatedml.v2.RetryWindow";
5473 }
5474 protected:
5475 explicit RetryWindow(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5476 bool is_message_owned = false);
5477 public:
5478
5479 std::string GetTypeName() const final;
5480
5481 // nested types ----------------------------------------------------
5482
5483 // accessors -------------------------------------------------------
5484
5485 enum : int {
5486 kRetryTokenFieldNumber = 1,
5487 kDelayMinFieldNumber = 2,
5488 kDelayMaxFieldNumber = 3,
5489 };
5490 // string retry_token = 1;
5491 void clear_retry_token();
5492 const std::string& retry_token() const;
5493 template <typename ArgT0 = const std::string&, typename... ArgT>
5494 void set_retry_token(ArgT0&& arg0, ArgT... args);
5495 std::string* mutable_retry_token();
5496 PROTOBUF_NODISCARD std::string* release_retry_token();
5497 void set_allocated_retry_token(std::string* retry_token);
5498 private:
5499 const std::string& _internal_retry_token() const;
5500 inline PROTOBUF_ALWAYS_INLINE void _internal_set_retry_token(const std::string& value);
5501 std::string* _internal_mutable_retry_token();
5502 public:
5503
5504 // .google.protobuf.Duration delay_min = 2;
5505 bool has_delay_min() const;
5506 private:
5507 bool _internal_has_delay_min() const;
5508 public:
5509 void clear_delay_min();
5510 const ::PROTOBUF_NAMESPACE_ID::Duration& delay_min() const;
5511 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_delay_min();
5512 ::PROTOBUF_NAMESPACE_ID::Duration* mutable_delay_min();
5513 void set_allocated_delay_min(::PROTOBUF_NAMESPACE_ID::Duration* delay_min);
5514 private:
5515 const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_delay_min() const;
5516 ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_delay_min();
5517 public:
5518 void unsafe_arena_set_allocated_delay_min(
5519 ::PROTOBUF_NAMESPACE_ID::Duration* delay_min);
5520 ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_delay_min();
5521
5522 // .google.protobuf.Duration delay_max = 3;
5523 bool has_delay_max() const;
5524 private:
5525 bool _internal_has_delay_max() const;
5526 public:
5527 void clear_delay_max();
5528 const ::PROTOBUF_NAMESPACE_ID::Duration& delay_max() const;
5529 PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Duration* release_delay_max();
5530 ::PROTOBUF_NAMESPACE_ID::Duration* mutable_delay_max();
5531 void set_allocated_delay_max(::PROTOBUF_NAMESPACE_ID::Duration* delay_max);
5532 private:
5533 const ::PROTOBUF_NAMESPACE_ID::Duration& _internal_delay_max() const;
5534 ::PROTOBUF_NAMESPACE_ID::Duration* _internal_mutable_delay_max();
5535 public:
5536 void unsafe_arena_set_allocated_delay_max(
5537 ::PROTOBUF_NAMESPACE_ID::Duration* delay_max);
5538 ::PROTOBUF_NAMESPACE_ID::Duration* unsafe_arena_release_delay_max();
5539
5540 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.RetryWindow)
5541 private:
5542 class _Internal;
5543
5544 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5545 typedef void InternalArenaConstructable_;
5546 typedef void DestructorSkippable_;
5547 struct Impl_ {
5548 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retry_token_;
5549 ::PROTOBUF_NAMESPACE_ID::Duration* delay_min_;
5550 ::PROTOBUF_NAMESPACE_ID::Duration* delay_max_;
5551 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5552 };
5553 union { Impl_ _impl_; };
5554 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5555 };
5556 // -------------------------------------------------------------------
5557
5558 class Checkpoint_Aggregand final :
5559 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.Checkpoint.Aggregand) */ {
5560 public:
Checkpoint_Aggregand()5561 inline Checkpoint_Aggregand() : Checkpoint_Aggregand(nullptr) {}
5562 ~Checkpoint_Aggregand() override;
5563 explicit PROTOBUF_CONSTEXPR Checkpoint_Aggregand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5564
5565 Checkpoint_Aggregand(const Checkpoint_Aggregand& from);
Checkpoint_Aggregand(Checkpoint_Aggregand && from)5566 Checkpoint_Aggregand(Checkpoint_Aggregand&& from) noexcept
5567 : Checkpoint_Aggregand() {
5568 *this = ::std::move(from);
5569 }
5570
5571 inline Checkpoint_Aggregand& operator=(const Checkpoint_Aggregand& from) {
5572 if (this == &from) return *this;
5573 CopyFrom(from);
5574 return *this;
5575 }
5576 inline Checkpoint_Aggregand& operator=(Checkpoint_Aggregand&& from) noexcept {
5577 if (this == &from) return *this;
5578 if (GetOwningArena() == from.GetOwningArena()
5579 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5580 && GetOwningArena() != nullptr
5581 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5582 ) {
5583 InternalSwap(&from);
5584 } else {
5585 CopyFrom(from);
5586 }
5587 return *this;
5588 }
5589
default_instance()5590 static const Checkpoint_Aggregand& default_instance() {
5591 return *internal_default_instance();
5592 }
internal_default_instance()5593 static inline const Checkpoint_Aggregand* internal_default_instance() {
5594 return reinterpret_cast<const Checkpoint_Aggregand*>(
5595 &_Checkpoint_Aggregand_default_instance_);
5596 }
5597 static constexpr int kIndexInFileMessages =
5598 30;
5599
swap(Checkpoint_Aggregand & a,Checkpoint_Aggregand & b)5600 friend void swap(Checkpoint_Aggregand& a, Checkpoint_Aggregand& b) {
5601 a.Swap(&b);
5602 }
Swap(Checkpoint_Aggregand * other)5603 inline void Swap(Checkpoint_Aggregand* other) {
5604 if (other == this) return;
5605 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5606 if (GetOwningArena() != nullptr &&
5607 GetOwningArena() == other->GetOwningArena()) {
5608 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5609 if (GetOwningArena() == other->GetOwningArena()) {
5610 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5611 InternalSwap(other);
5612 } else {
5613 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5614 }
5615 }
5616 void UnsafeArenaSwap(Checkpoint_Aggregand* other) {
5617 if (other == this) return;
5618 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5619 InternalSwap(other);
5620 }
5621
5622 // implements Message ----------------------------------------------
5623
5624 Checkpoint_Aggregand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5625 return CreateMaybeMessage<Checkpoint_Aggregand>(arena);
5626 }
5627 Checkpoint_Aggregand* New() const {
5628 return New(nullptr);
5629 }
5630 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5631 void CopyFrom(const Checkpoint_Aggregand& from);
5632 void MergeFrom(const Checkpoint_Aggregand& from);
5633 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5634 bool IsInitialized() const final;
5635
5636 size_t ByteSizeLong() const final;
5637 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5638 ::uint8_t* _InternalSerialize(
5639 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5640 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5641
5642 private:
5643 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5644 void SharedDtor();
5645 void SetCachedSize(int size) const;
5646 void InternalSwap(Checkpoint_Aggregand* other);
5647
5648 private:
5649 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5650 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5651 return "google.internal.federatedml.v2.Checkpoint.Aggregand";
5652 }
5653 protected:
5654 explicit Checkpoint_Aggregand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5655 bool is_message_owned = false);
5656 public:
5657
5658 std::string GetTypeName() const final;
5659
5660 // nested types ----------------------------------------------------
5661
5662 // accessors -------------------------------------------------------
5663
5664 enum : int {
5665 kValuesFieldNumber = 1,
5666 kBitwidthFieldNumber = 2,
5667 };
5668 // repeated uint64 values = 1 [packed = true];
5669 int values_size() const;
5670 private:
5671 int _internal_values_size() const;
5672 public:
5673 void clear_values();
5674 private:
5675 ::uint64_t _internal_values(int index) const;
5676 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
5677 _internal_values() const;
5678 void _internal_add_values(::uint64_t value);
5679 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
5680 _internal_mutable_values();
5681 public:
5682 ::uint64_t values(int index) const;
5683 void set_values(int index, ::uint64_t value);
5684 void add_values(::uint64_t value);
5685 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
5686 values() const;
5687 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
5688 mutable_values();
5689
5690 // int32 bitwidth = 2;
5691 void clear_bitwidth();
5692 ::int32_t bitwidth() const;
5693 void set_bitwidth(::int32_t value);
5694 private:
5695 ::int32_t _internal_bitwidth() const;
5696 void _internal_set_bitwidth(::int32_t value);
5697 public:
5698
5699 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.Checkpoint.Aggregand)
5700 private:
5701 class _Internal;
5702
5703 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5704 typedef void InternalArenaConstructable_;
5705 typedef void DestructorSkippable_;
5706 struct Impl_ {
5707 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t > values_;
5708 mutable std::atomic<int> _values_cached_byte_size_;
5709 ::int32_t bitwidth_;
5710 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5711 };
5712 union { Impl_ _impl_; };
5713 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5714 };
5715 // -------------------------------------------------------------------
5716
5717 class Checkpoint_AggregandsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<Checkpoint_AggregandsEntry_DoNotUse,
5718 std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand,
5719 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
5720 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
5721 public:
5722 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<Checkpoint_AggregandsEntry_DoNotUse,
5723 std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand,
5724 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
5725 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
5726 Checkpoint_AggregandsEntry_DoNotUse();
5727 explicit PROTOBUF_CONSTEXPR Checkpoint_AggregandsEntry_DoNotUse(
5728 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5729 explicit Checkpoint_AggregandsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
5730 void MergeFrom(const Checkpoint_AggregandsEntry_DoNotUse& other);
internal_default_instance()5731 static const Checkpoint_AggregandsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Checkpoint_AggregandsEntry_DoNotUse*>(&_Checkpoint_AggregandsEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)5732 static bool ValidateKey(std::string* s) {
5733 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "google.internal.federatedml.v2.Checkpoint.AggregandsEntry.key");
5734 }
ValidateValue(void *)5735 static bool ValidateValue(void*) { return true; }
5736 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5737 };
5738
5739 // -------------------------------------------------------------------
5740
5741 class Checkpoint final :
5742 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.Checkpoint) */ {
5743 public:
Checkpoint()5744 inline Checkpoint() : Checkpoint(nullptr) {}
5745 ~Checkpoint() override;
5746 explicit PROTOBUF_CONSTEXPR Checkpoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5747
5748 Checkpoint(const Checkpoint& from);
Checkpoint(Checkpoint && from)5749 Checkpoint(Checkpoint&& from) noexcept
5750 : Checkpoint() {
5751 *this = ::std::move(from);
5752 }
5753
5754 inline Checkpoint& operator=(const Checkpoint& from) {
5755 if (this == &from) return *this;
5756 CopyFrom(from);
5757 return *this;
5758 }
5759 inline Checkpoint& operator=(Checkpoint&& from) noexcept {
5760 if (this == &from) return *this;
5761 if (GetOwningArena() == from.GetOwningArena()
5762 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5763 && GetOwningArena() != nullptr
5764 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5765 ) {
5766 InternalSwap(&from);
5767 } else {
5768 CopyFrom(from);
5769 }
5770 return *this;
5771 }
5772
default_instance()5773 static const Checkpoint& default_instance() {
5774 return *internal_default_instance();
5775 }
internal_default_instance()5776 static inline const Checkpoint* internal_default_instance() {
5777 return reinterpret_cast<const Checkpoint*>(
5778 &_Checkpoint_default_instance_);
5779 }
5780 static constexpr int kIndexInFileMessages =
5781 32;
5782
swap(Checkpoint & a,Checkpoint & b)5783 friend void swap(Checkpoint& a, Checkpoint& b) {
5784 a.Swap(&b);
5785 }
Swap(Checkpoint * other)5786 inline void Swap(Checkpoint* other) {
5787 if (other == this) return;
5788 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5789 if (GetOwningArena() != nullptr &&
5790 GetOwningArena() == other->GetOwningArena()) {
5791 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5792 if (GetOwningArena() == other->GetOwningArena()) {
5793 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5794 InternalSwap(other);
5795 } else {
5796 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5797 }
5798 }
5799 void UnsafeArenaSwap(Checkpoint* other) {
5800 if (other == this) return;
5801 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5802 InternalSwap(other);
5803 }
5804
5805 // implements Message ----------------------------------------------
5806
5807 Checkpoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5808 return CreateMaybeMessage<Checkpoint>(arena);
5809 }
5810 Checkpoint* New() const {
5811 return New(nullptr);
5812 }
5813 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5814 void CopyFrom(const Checkpoint& from);
5815 void MergeFrom(const Checkpoint& from);
5816 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5817 bool IsInitialized() const final;
5818
5819 size_t ByteSizeLong() const final;
5820 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5821 ::uint8_t* _InternalSerialize(
5822 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5823 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5824
5825 private:
5826 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5827 void SharedDtor();
5828 void SetCachedSize(int size) const;
5829 void InternalSwap(Checkpoint* other);
5830
5831 private:
5832 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5833 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5834 return "google.internal.federatedml.v2.Checkpoint";
5835 }
5836 protected:
5837 explicit Checkpoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5838 bool is_message_owned = false);
5839 public:
5840
5841 std::string GetTypeName() const final;
5842
5843 // nested types ----------------------------------------------------
5844
5845 typedef Checkpoint_Aggregand Aggregand;
5846
5847 // accessors -------------------------------------------------------
5848
5849 enum : int {
5850 kAggregandsFieldNumber = 1,
5851 };
5852 // map<string, .google.internal.federatedml.v2.Checkpoint.Aggregand> aggregands = 1;
5853 int aggregands_size() const;
5854 private:
5855 int _internal_aggregands_size() const;
5856 public:
5857 void clear_aggregands();
5858 private:
5859 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand >&
5860 _internal_aggregands() const;
5861 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand >*
5862 _internal_mutable_aggregands();
5863 public:
5864 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand >&
5865 aggregands() const;
5866 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand >*
5867 mutable_aggregands();
5868
5869 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.Checkpoint)
5870 private:
5871 class _Internal;
5872
5873 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5874 typedef void InternalArenaConstructable_;
5875 typedef void DestructorSkippable_;
5876 struct Impl_ {
5877 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
5878 Checkpoint_AggregandsEntry_DoNotUse,
5879 std::string, ::google::internal::federatedml::v2::Checkpoint_Aggregand,
5880 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
5881 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> aggregands_;
5882 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5883 };
5884 union { Impl_ _impl_; };
5885 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
5886 };
5887 // -------------------------------------------------------------------
5888
5889 class ProtocolOptionsRequest final :
5890 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ProtocolOptionsRequest) */ {
5891 public:
ProtocolOptionsRequest()5892 inline ProtocolOptionsRequest() : ProtocolOptionsRequest(nullptr) {}
5893 ~ProtocolOptionsRequest() override;
5894 explicit PROTOBUF_CONSTEXPR ProtocolOptionsRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5895
5896 ProtocolOptionsRequest(const ProtocolOptionsRequest& from);
ProtocolOptionsRequest(ProtocolOptionsRequest && from)5897 ProtocolOptionsRequest(ProtocolOptionsRequest&& from) noexcept
5898 : ProtocolOptionsRequest() {
5899 *this = ::std::move(from);
5900 }
5901
5902 inline ProtocolOptionsRequest& operator=(const ProtocolOptionsRequest& from) {
5903 if (this == &from) return *this;
5904 CopyFrom(from);
5905 return *this;
5906 }
5907 inline ProtocolOptionsRequest& operator=(ProtocolOptionsRequest&& from) noexcept {
5908 if (this == &from) return *this;
5909 if (GetOwningArena() == from.GetOwningArena()
5910 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5911 && GetOwningArena() != nullptr
5912 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5913 ) {
5914 InternalSwap(&from);
5915 } else {
5916 CopyFrom(from);
5917 }
5918 return *this;
5919 }
5920
default_instance()5921 static const ProtocolOptionsRequest& default_instance() {
5922 return *internal_default_instance();
5923 }
internal_default_instance()5924 static inline const ProtocolOptionsRequest* internal_default_instance() {
5925 return reinterpret_cast<const ProtocolOptionsRequest*>(
5926 &_ProtocolOptionsRequest_default_instance_);
5927 }
5928 static constexpr int kIndexInFileMessages =
5929 33;
5930
swap(ProtocolOptionsRequest & a,ProtocolOptionsRequest & b)5931 friend void swap(ProtocolOptionsRequest& a, ProtocolOptionsRequest& b) {
5932 a.Swap(&b);
5933 }
Swap(ProtocolOptionsRequest * other)5934 inline void Swap(ProtocolOptionsRequest* other) {
5935 if (other == this) return;
5936 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5937 if (GetOwningArena() != nullptr &&
5938 GetOwningArena() == other->GetOwningArena()) {
5939 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5940 if (GetOwningArena() == other->GetOwningArena()) {
5941 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5942 InternalSwap(other);
5943 } else {
5944 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5945 }
5946 }
5947 void UnsafeArenaSwap(ProtocolOptionsRequest* other) {
5948 if (other == this) return;
5949 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5950 InternalSwap(other);
5951 }
5952
5953 // implements Message ----------------------------------------------
5954
5955 ProtocolOptionsRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5956 return CreateMaybeMessage<ProtocolOptionsRequest>(arena);
5957 }
5958 ProtocolOptionsRequest* New() const {
5959 return New(nullptr);
5960 }
5961 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5962 void CopyFrom(const ProtocolOptionsRequest& from);
5963 void MergeFrom(const ProtocolOptionsRequest& from);
5964 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5965 bool IsInitialized() const final;
5966
5967 size_t ByteSizeLong() const final;
5968 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5969 ::uint8_t* _InternalSerialize(
5970 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5971 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5972
5973 private:
5974 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5975 void SharedDtor();
5976 void SetCachedSize(int size) const;
5977 void InternalSwap(ProtocolOptionsRequest* other);
5978
5979 private:
5980 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5981 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5982 return "google.internal.federatedml.v2.ProtocolOptionsRequest";
5983 }
5984 protected:
5985 explicit ProtocolOptionsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5986 bool is_message_owned = false);
5987 public:
5988
5989 std::string GetTypeName() const final;
5990
5991 // nested types ----------------------------------------------------
5992
5993 // accessors -------------------------------------------------------
5994
5995 enum : int {
5996 kSupportedCompressionLevelsFieldNumber = 2,
5997 kSupportedHttpCompressionFormatsFieldNumber = 7,
5998 kSideChannelsFieldNumber = 3,
5999 kSupportsChunkedBlobTransferFieldNumber = 1,
6000 kShouldAckCheckinFieldNumber = 4,
6001 kSupportsHttpDownloadFieldNumber = 5,
6002 kSupportsEligibilityEvalHttpDownloadFieldNumber = 6,
6003 };
6004 // repeated .google.internal.federatedml.v2.CompressionLevel supported_compression_levels = 2;
6005 int supported_compression_levels_size() const;
6006 private:
6007 int _internal_supported_compression_levels_size() const;
6008 public:
6009 void clear_supported_compression_levels();
6010 private:
6011 ::google::internal::federatedml::v2::CompressionLevel _internal_supported_compression_levels(int index) const;
6012 void _internal_add_supported_compression_levels(::google::internal::federatedml::v2::CompressionLevel value);
6013 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_supported_compression_levels();
6014 public:
6015 ::google::internal::federatedml::v2::CompressionLevel supported_compression_levels(int index) const;
6016 void set_supported_compression_levels(int index, ::google::internal::federatedml::v2::CompressionLevel value);
6017 void add_supported_compression_levels(::google::internal::federatedml::v2::CompressionLevel value);
6018 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& supported_compression_levels() const;
6019 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_supported_compression_levels();
6020
6021 // repeated .google.internal.federatedml.v2.HttpCompressionFormat supported_http_compression_formats = 7;
6022 int supported_http_compression_formats_size() const;
6023 private:
6024 int _internal_supported_http_compression_formats_size() const;
6025 public:
6026 void clear_supported_http_compression_formats();
6027 private:
6028 ::google::internal::federatedml::v2::HttpCompressionFormat _internal_supported_http_compression_formats(int index) const;
6029 void _internal_add_supported_http_compression_formats(::google::internal::federatedml::v2::HttpCompressionFormat value);
6030 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_supported_http_compression_formats();
6031 public:
6032 ::google::internal::federatedml::v2::HttpCompressionFormat supported_http_compression_formats(int index) const;
6033 void set_supported_http_compression_formats(int index, ::google::internal::federatedml::v2::HttpCompressionFormat value);
6034 void add_supported_http_compression_formats(::google::internal::federatedml::v2::HttpCompressionFormat value);
6035 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& supported_http_compression_formats() const;
6036 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_supported_http_compression_formats();
6037
6038 // .google.internal.federatedml.v2.SideChannelProtocolOptionsRequest side_channels = 3;
6039 bool has_side_channels() const;
6040 private:
6041 bool _internal_has_side_channels() const;
6042 public:
6043 void clear_side_channels();
6044 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest& side_channels() const;
6045 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* release_side_channels();
6046 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* mutable_side_channels();
6047 void set_allocated_side_channels(::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* side_channels);
6048 private:
6049 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest& _internal_side_channels() const;
6050 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* _internal_mutable_side_channels();
6051 public:
6052 void unsafe_arena_set_allocated_side_channels(
6053 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* side_channels);
6054 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* unsafe_arena_release_side_channels();
6055
6056 // bool supports_chunked_blob_transfer = 1;
6057 void clear_supports_chunked_blob_transfer();
6058 bool supports_chunked_blob_transfer() const;
6059 void set_supports_chunked_blob_transfer(bool value);
6060 private:
6061 bool _internal_supports_chunked_blob_transfer() const;
6062 void _internal_set_supports_chunked_blob_transfer(bool value);
6063 public:
6064
6065 // bool should_ack_checkin = 4;
6066 void clear_should_ack_checkin();
6067 bool should_ack_checkin() const;
6068 void set_should_ack_checkin(bool value);
6069 private:
6070 bool _internal_should_ack_checkin() const;
6071 void _internal_set_should_ack_checkin(bool value);
6072 public:
6073
6074 // bool supports_http_download = 5;
6075 void clear_supports_http_download();
6076 bool supports_http_download() const;
6077 void set_supports_http_download(bool value);
6078 private:
6079 bool _internal_supports_http_download() const;
6080 void _internal_set_supports_http_download(bool value);
6081 public:
6082
6083 // bool supports_eligibility_eval_http_download = 6;
6084 void clear_supports_eligibility_eval_http_download();
6085 bool supports_eligibility_eval_http_download() const;
6086 void set_supports_eligibility_eval_http_download(bool value);
6087 private:
6088 bool _internal_supports_eligibility_eval_http_download() const;
6089 void _internal_set_supports_eligibility_eval_http_download(bool value);
6090 public:
6091
6092 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ProtocolOptionsRequest)
6093 private:
6094 class _Internal;
6095
6096 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6097 typedef void InternalArenaConstructable_;
6098 typedef void DestructorSkippable_;
6099 struct Impl_ {
6100 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> supported_compression_levels_;
6101 mutable std::atomic<int> _supported_compression_levels_cached_byte_size_;
6102 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> supported_http_compression_formats_;
6103 mutable std::atomic<int> _supported_http_compression_formats_cached_byte_size_;
6104 ::google::internal::federatedml::v2::SideChannelProtocolOptionsRequest* side_channels_;
6105 bool supports_chunked_blob_transfer_;
6106 bool should_ack_checkin_;
6107 bool supports_http_download_;
6108 bool supports_eligibility_eval_http_download_;
6109 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6110 };
6111 union { Impl_ _impl_; };
6112 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
6113 };
6114 // -------------------------------------------------------------------
6115
6116 class ProtocolOptionsResponse final :
6117 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ProtocolOptionsResponse) */ {
6118 public:
ProtocolOptionsResponse()6119 inline ProtocolOptionsResponse() : ProtocolOptionsResponse(nullptr) {}
6120 ~ProtocolOptionsResponse() override;
6121 explicit PROTOBUF_CONSTEXPR ProtocolOptionsResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6122
6123 ProtocolOptionsResponse(const ProtocolOptionsResponse& from);
ProtocolOptionsResponse(ProtocolOptionsResponse && from)6124 ProtocolOptionsResponse(ProtocolOptionsResponse&& from) noexcept
6125 : ProtocolOptionsResponse() {
6126 *this = ::std::move(from);
6127 }
6128
6129 inline ProtocolOptionsResponse& operator=(const ProtocolOptionsResponse& from) {
6130 if (this == &from) return *this;
6131 CopyFrom(from);
6132 return *this;
6133 }
6134 inline ProtocolOptionsResponse& operator=(ProtocolOptionsResponse&& from) noexcept {
6135 if (this == &from) return *this;
6136 if (GetOwningArena() == from.GetOwningArena()
6137 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6138 && GetOwningArena() != nullptr
6139 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6140 ) {
6141 InternalSwap(&from);
6142 } else {
6143 CopyFrom(from);
6144 }
6145 return *this;
6146 }
6147
default_instance()6148 static const ProtocolOptionsResponse& default_instance() {
6149 return *internal_default_instance();
6150 }
internal_default_instance()6151 static inline const ProtocolOptionsResponse* internal_default_instance() {
6152 return reinterpret_cast<const ProtocolOptionsResponse*>(
6153 &_ProtocolOptionsResponse_default_instance_);
6154 }
6155 static constexpr int kIndexInFileMessages =
6156 34;
6157
swap(ProtocolOptionsResponse & a,ProtocolOptionsResponse & b)6158 friend void swap(ProtocolOptionsResponse& a, ProtocolOptionsResponse& b) {
6159 a.Swap(&b);
6160 }
Swap(ProtocolOptionsResponse * other)6161 inline void Swap(ProtocolOptionsResponse* other) {
6162 if (other == this) return;
6163 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6164 if (GetOwningArena() != nullptr &&
6165 GetOwningArena() == other->GetOwningArena()) {
6166 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6167 if (GetOwningArena() == other->GetOwningArena()) {
6168 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6169 InternalSwap(other);
6170 } else {
6171 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6172 }
6173 }
6174 void UnsafeArenaSwap(ProtocolOptionsResponse* other) {
6175 if (other == this) return;
6176 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6177 InternalSwap(other);
6178 }
6179
6180 // implements Message ----------------------------------------------
6181
6182 ProtocolOptionsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6183 return CreateMaybeMessage<ProtocolOptionsResponse>(arena);
6184 }
6185 ProtocolOptionsResponse* New() const {
6186 return New(nullptr);
6187 }
6188 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6189 void CopyFrom(const ProtocolOptionsResponse& from);
6190 void MergeFrom(const ProtocolOptionsResponse& from);
6191 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6192 bool IsInitialized() const final;
6193
6194 size_t ByteSizeLong() const final;
6195 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6196 ::uint8_t* _InternalSerialize(
6197 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6198 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6199
6200 private:
6201 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6202 void SharedDtor();
6203 void SetCachedSize(int size) const;
6204 void InternalSwap(ProtocolOptionsResponse* other);
6205
6206 private:
6207 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6208 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6209 return "google.internal.federatedml.v2.ProtocolOptionsResponse";
6210 }
6211 protected:
6212 explicit ProtocolOptionsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6213 bool is_message_owned = false);
6214 public:
6215
6216 std::string GetTypeName() const final;
6217
6218 // nested types ----------------------------------------------------
6219
6220 // accessors -------------------------------------------------------
6221
6222 enum : int {
6223 kSideChannelsFieldNumber = 5,
6224 kChunkSizeForUploadFieldNumber = 1,
6225 kMaxPendingChunksFieldNumber = 2,
6226 kCompressionLevelFieldNumber = 4,
6227 };
6228 // .google.internal.federatedml.v2.SideChannelProtocolOptionsResponse side_channels = 5;
6229 bool has_side_channels() const;
6230 private:
6231 bool _internal_has_side_channels() const;
6232 public:
6233 void clear_side_channels();
6234 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse& side_channels() const;
6235 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* release_side_channels();
6236 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* mutable_side_channels();
6237 void set_allocated_side_channels(::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* side_channels);
6238 private:
6239 const ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse& _internal_side_channels() const;
6240 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* _internal_mutable_side_channels();
6241 public:
6242 void unsafe_arena_set_allocated_side_channels(
6243 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* side_channels);
6244 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* unsafe_arena_release_side_channels();
6245
6246 // int32 chunk_size_for_upload = 1;
6247 void clear_chunk_size_for_upload();
6248 ::int32_t chunk_size_for_upload() const;
6249 void set_chunk_size_for_upload(::int32_t value);
6250 private:
6251 ::int32_t _internal_chunk_size_for_upload() const;
6252 void _internal_set_chunk_size_for_upload(::int32_t value);
6253 public:
6254
6255 // int32 max_pending_chunks = 2;
6256 void clear_max_pending_chunks();
6257 ::int32_t max_pending_chunks() const;
6258 void set_max_pending_chunks(::int32_t value);
6259 private:
6260 ::int32_t _internal_max_pending_chunks() const;
6261 void _internal_set_max_pending_chunks(::int32_t value);
6262 public:
6263
6264 // .google.internal.federatedml.v2.CompressionLevel compression_level = 4;
6265 void clear_compression_level();
6266 ::google::internal::federatedml::v2::CompressionLevel compression_level() const;
6267 void set_compression_level(::google::internal::federatedml::v2::CompressionLevel value);
6268 private:
6269 ::google::internal::federatedml::v2::CompressionLevel _internal_compression_level() const;
6270 void _internal_set_compression_level(::google::internal::federatedml::v2::CompressionLevel value);
6271 public:
6272
6273 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ProtocolOptionsResponse)
6274 private:
6275 class _Internal;
6276
6277 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6278 typedef void InternalArenaConstructable_;
6279 typedef void DestructorSkippable_;
6280 struct Impl_ {
6281 ::google::internal::federatedml::v2::SideChannelProtocolOptionsResponse* side_channels_;
6282 ::int32_t chunk_size_for_upload_;
6283 ::int32_t max_pending_chunks_;
6284 int compression_level_;
6285 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6286 };
6287 union { Impl_ _impl_; };
6288 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
6289 };
6290 // -------------------------------------------------------------------
6291
6292 class ChunkedTransferMessage_Start final :
6293 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ChunkedTransferMessage.Start) */ {
6294 public:
ChunkedTransferMessage_Start()6295 inline ChunkedTransferMessage_Start() : ChunkedTransferMessage_Start(nullptr) {}
6296 ~ChunkedTransferMessage_Start() override;
6297 explicit PROTOBUF_CONSTEXPR ChunkedTransferMessage_Start(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6298
6299 ChunkedTransferMessage_Start(const ChunkedTransferMessage_Start& from);
ChunkedTransferMessage_Start(ChunkedTransferMessage_Start && from)6300 ChunkedTransferMessage_Start(ChunkedTransferMessage_Start&& from) noexcept
6301 : ChunkedTransferMessage_Start() {
6302 *this = ::std::move(from);
6303 }
6304
6305 inline ChunkedTransferMessage_Start& operator=(const ChunkedTransferMessage_Start& from) {
6306 if (this == &from) return *this;
6307 CopyFrom(from);
6308 return *this;
6309 }
6310 inline ChunkedTransferMessage_Start& operator=(ChunkedTransferMessage_Start&& from) noexcept {
6311 if (this == &from) return *this;
6312 if (GetOwningArena() == from.GetOwningArena()
6313 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6314 && GetOwningArena() != nullptr
6315 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6316 ) {
6317 InternalSwap(&from);
6318 } else {
6319 CopyFrom(from);
6320 }
6321 return *this;
6322 }
6323
default_instance()6324 static const ChunkedTransferMessage_Start& default_instance() {
6325 return *internal_default_instance();
6326 }
internal_default_instance()6327 static inline const ChunkedTransferMessage_Start* internal_default_instance() {
6328 return reinterpret_cast<const ChunkedTransferMessage_Start*>(
6329 &_ChunkedTransferMessage_Start_default_instance_);
6330 }
6331 static constexpr int kIndexInFileMessages =
6332 35;
6333
swap(ChunkedTransferMessage_Start & a,ChunkedTransferMessage_Start & b)6334 friend void swap(ChunkedTransferMessage_Start& a, ChunkedTransferMessage_Start& b) {
6335 a.Swap(&b);
6336 }
Swap(ChunkedTransferMessage_Start * other)6337 inline void Swap(ChunkedTransferMessage_Start* other) {
6338 if (other == this) return;
6339 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6340 if (GetOwningArena() != nullptr &&
6341 GetOwningArena() == other->GetOwningArena()) {
6342 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6343 if (GetOwningArena() == other->GetOwningArena()) {
6344 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6345 InternalSwap(other);
6346 } else {
6347 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6348 }
6349 }
6350 void UnsafeArenaSwap(ChunkedTransferMessage_Start* other) {
6351 if (other == this) return;
6352 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6353 InternalSwap(other);
6354 }
6355
6356 // implements Message ----------------------------------------------
6357
6358 ChunkedTransferMessage_Start* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6359 return CreateMaybeMessage<ChunkedTransferMessage_Start>(arena);
6360 }
6361 ChunkedTransferMessage_Start* New() const {
6362 return New(nullptr);
6363 }
6364 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6365 void CopyFrom(const ChunkedTransferMessage_Start& from);
6366 void MergeFrom(const ChunkedTransferMessage_Start& from);
6367 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6368 bool IsInitialized() const final;
6369
6370 size_t ByteSizeLong() const final;
6371 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6372 ::uint8_t* _InternalSerialize(
6373 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6374 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6375
6376 private:
6377 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6378 void SharedDtor();
6379 void SetCachedSize(int size) const;
6380 void InternalSwap(ChunkedTransferMessage_Start* other);
6381
6382 private:
6383 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6384 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6385 return "google.internal.federatedml.v2.ChunkedTransferMessage.Start";
6386 }
6387 protected:
6388 explicit ChunkedTransferMessage_Start(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6389 bool is_message_owned = false);
6390 public:
6391
6392 std::string GetTypeName() const final;
6393
6394 // nested types ----------------------------------------------------
6395
6396 // accessors -------------------------------------------------------
6397
6398 enum : int {
6399 kUncompressedSizeFieldNumber = 2,
6400 kCompressionLevelFieldNumber = 3,
6401 kBlobSizeBytesFieldNumber = 4,
6402 };
6403 // int32 uncompressed_size = 2;
6404 void clear_uncompressed_size();
6405 ::int32_t uncompressed_size() const;
6406 void set_uncompressed_size(::int32_t value);
6407 private:
6408 ::int32_t _internal_uncompressed_size() const;
6409 void _internal_set_uncompressed_size(::int32_t value);
6410 public:
6411
6412 // .google.internal.federatedml.v2.CompressionLevel compression_level = 3;
6413 void clear_compression_level();
6414 ::google::internal::federatedml::v2::CompressionLevel compression_level() const;
6415 void set_compression_level(::google::internal::federatedml::v2::CompressionLevel value);
6416 private:
6417 ::google::internal::federatedml::v2::CompressionLevel _internal_compression_level() const;
6418 void _internal_set_compression_level(::google::internal::federatedml::v2::CompressionLevel value);
6419 public:
6420
6421 // int32 blob_size_bytes = 4;
6422 void clear_blob_size_bytes();
6423 ::int32_t blob_size_bytes() const;
6424 void set_blob_size_bytes(::int32_t value);
6425 private:
6426 ::int32_t _internal_blob_size_bytes() const;
6427 void _internal_set_blob_size_bytes(::int32_t value);
6428 public:
6429
6430 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ChunkedTransferMessage.Start)
6431 private:
6432 class _Internal;
6433
6434 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6435 typedef void InternalArenaConstructable_;
6436 typedef void DestructorSkippable_;
6437 struct Impl_ {
6438 ::int32_t uncompressed_size_;
6439 int compression_level_;
6440 ::int32_t blob_size_bytes_;
6441 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6442 };
6443 union { Impl_ _impl_; };
6444 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
6445 };
6446 // -------------------------------------------------------------------
6447
6448 class ChunkedTransferMessage_Data final :
6449 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ChunkedTransferMessage.Data) */ {
6450 public:
ChunkedTransferMessage_Data()6451 inline ChunkedTransferMessage_Data() : ChunkedTransferMessage_Data(nullptr) {}
6452 ~ChunkedTransferMessage_Data() override;
6453 explicit PROTOBUF_CONSTEXPR ChunkedTransferMessage_Data(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6454
6455 ChunkedTransferMessage_Data(const ChunkedTransferMessage_Data& from);
ChunkedTransferMessage_Data(ChunkedTransferMessage_Data && from)6456 ChunkedTransferMessage_Data(ChunkedTransferMessage_Data&& from) noexcept
6457 : ChunkedTransferMessage_Data() {
6458 *this = ::std::move(from);
6459 }
6460
6461 inline ChunkedTransferMessage_Data& operator=(const ChunkedTransferMessage_Data& from) {
6462 if (this == &from) return *this;
6463 CopyFrom(from);
6464 return *this;
6465 }
6466 inline ChunkedTransferMessage_Data& operator=(ChunkedTransferMessage_Data&& from) noexcept {
6467 if (this == &from) return *this;
6468 if (GetOwningArena() == from.GetOwningArena()
6469 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6470 && GetOwningArena() != nullptr
6471 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6472 ) {
6473 InternalSwap(&from);
6474 } else {
6475 CopyFrom(from);
6476 }
6477 return *this;
6478 }
6479
default_instance()6480 static const ChunkedTransferMessage_Data& default_instance() {
6481 return *internal_default_instance();
6482 }
internal_default_instance()6483 static inline const ChunkedTransferMessage_Data* internal_default_instance() {
6484 return reinterpret_cast<const ChunkedTransferMessage_Data*>(
6485 &_ChunkedTransferMessage_Data_default_instance_);
6486 }
6487 static constexpr int kIndexInFileMessages =
6488 36;
6489
swap(ChunkedTransferMessage_Data & a,ChunkedTransferMessage_Data & b)6490 friend void swap(ChunkedTransferMessage_Data& a, ChunkedTransferMessage_Data& b) {
6491 a.Swap(&b);
6492 }
Swap(ChunkedTransferMessage_Data * other)6493 inline void Swap(ChunkedTransferMessage_Data* other) {
6494 if (other == this) return;
6495 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6496 if (GetOwningArena() != nullptr &&
6497 GetOwningArena() == other->GetOwningArena()) {
6498 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6499 if (GetOwningArena() == other->GetOwningArena()) {
6500 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6501 InternalSwap(other);
6502 } else {
6503 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6504 }
6505 }
6506 void UnsafeArenaSwap(ChunkedTransferMessage_Data* other) {
6507 if (other == this) return;
6508 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6509 InternalSwap(other);
6510 }
6511
6512 // implements Message ----------------------------------------------
6513
6514 ChunkedTransferMessage_Data* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6515 return CreateMaybeMessage<ChunkedTransferMessage_Data>(arena);
6516 }
6517 ChunkedTransferMessage_Data* New() const {
6518 return New(nullptr);
6519 }
6520 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6521 void CopyFrom(const ChunkedTransferMessage_Data& from);
6522 void MergeFrom(const ChunkedTransferMessage_Data& from);
6523 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6524 bool IsInitialized() const final;
6525
6526 size_t ByteSizeLong() const final;
6527 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6528 ::uint8_t* _InternalSerialize(
6529 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6530 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6531
6532 private:
6533 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6534 void SharedDtor();
6535 void SetCachedSize(int size) const;
6536 void InternalSwap(ChunkedTransferMessage_Data* other);
6537
6538 private:
6539 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6540 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6541 return "google.internal.federatedml.v2.ChunkedTransferMessage.Data";
6542 }
6543 protected:
6544 explicit ChunkedTransferMessage_Data(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6545 bool is_message_owned = false);
6546 public:
6547
6548 std::string GetTypeName() const final;
6549
6550 // nested types ----------------------------------------------------
6551
6552 // accessors -------------------------------------------------------
6553
6554 enum : int {
6555 kChunkBytesFieldNumber = 2,
6556 kChunkIndexFieldNumber = 1,
6557 };
6558 // bytes chunk_bytes = 2;
6559 void clear_chunk_bytes();
6560 const std::string& chunk_bytes() const;
6561 template <typename ArgT0 = const std::string&, typename... ArgT>
6562 void set_chunk_bytes(ArgT0&& arg0, ArgT... args);
6563 std::string* mutable_chunk_bytes();
6564 PROTOBUF_NODISCARD std::string* release_chunk_bytes();
6565 void set_allocated_chunk_bytes(std::string* chunk_bytes);
6566 private:
6567 const std::string& _internal_chunk_bytes() const;
6568 inline PROTOBUF_ALWAYS_INLINE void _internal_set_chunk_bytes(const std::string& value);
6569 std::string* _internal_mutable_chunk_bytes();
6570 public:
6571
6572 // int32 chunk_index = 1;
6573 void clear_chunk_index();
6574 ::int32_t chunk_index() const;
6575 void set_chunk_index(::int32_t value);
6576 private:
6577 ::int32_t _internal_chunk_index() const;
6578 void _internal_set_chunk_index(::int32_t value);
6579 public:
6580
6581 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ChunkedTransferMessage.Data)
6582 private:
6583 class _Internal;
6584
6585 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6586 typedef void InternalArenaConstructable_;
6587 typedef void DestructorSkippable_;
6588 struct Impl_ {
6589 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chunk_bytes_;
6590 ::int32_t chunk_index_;
6591 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6592 };
6593 union { Impl_ _impl_; };
6594 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
6595 };
6596 // -------------------------------------------------------------------
6597
6598 class ChunkedTransferMessage_Ack final :
6599 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ChunkedTransferMessage.Ack) */ {
6600 public:
ChunkedTransferMessage_Ack()6601 inline ChunkedTransferMessage_Ack() : ChunkedTransferMessage_Ack(nullptr) {}
6602 ~ChunkedTransferMessage_Ack() override;
6603 explicit PROTOBUF_CONSTEXPR ChunkedTransferMessage_Ack(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6604
6605 ChunkedTransferMessage_Ack(const ChunkedTransferMessage_Ack& from);
ChunkedTransferMessage_Ack(ChunkedTransferMessage_Ack && from)6606 ChunkedTransferMessage_Ack(ChunkedTransferMessage_Ack&& from) noexcept
6607 : ChunkedTransferMessage_Ack() {
6608 *this = ::std::move(from);
6609 }
6610
6611 inline ChunkedTransferMessage_Ack& operator=(const ChunkedTransferMessage_Ack& from) {
6612 if (this == &from) return *this;
6613 CopyFrom(from);
6614 return *this;
6615 }
6616 inline ChunkedTransferMessage_Ack& operator=(ChunkedTransferMessage_Ack&& from) noexcept {
6617 if (this == &from) return *this;
6618 if (GetOwningArena() == from.GetOwningArena()
6619 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6620 && GetOwningArena() != nullptr
6621 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6622 ) {
6623 InternalSwap(&from);
6624 } else {
6625 CopyFrom(from);
6626 }
6627 return *this;
6628 }
6629
default_instance()6630 static const ChunkedTransferMessage_Ack& default_instance() {
6631 return *internal_default_instance();
6632 }
internal_default_instance()6633 static inline const ChunkedTransferMessage_Ack* internal_default_instance() {
6634 return reinterpret_cast<const ChunkedTransferMessage_Ack*>(
6635 &_ChunkedTransferMessage_Ack_default_instance_);
6636 }
6637 static constexpr int kIndexInFileMessages =
6638 37;
6639
swap(ChunkedTransferMessage_Ack & a,ChunkedTransferMessage_Ack & b)6640 friend void swap(ChunkedTransferMessage_Ack& a, ChunkedTransferMessage_Ack& b) {
6641 a.Swap(&b);
6642 }
Swap(ChunkedTransferMessage_Ack * other)6643 inline void Swap(ChunkedTransferMessage_Ack* other) {
6644 if (other == this) return;
6645 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6646 if (GetOwningArena() != nullptr &&
6647 GetOwningArena() == other->GetOwningArena()) {
6648 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6649 if (GetOwningArena() == other->GetOwningArena()) {
6650 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6651 InternalSwap(other);
6652 } else {
6653 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6654 }
6655 }
6656 void UnsafeArenaSwap(ChunkedTransferMessage_Ack* other) {
6657 if (other == this) return;
6658 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6659 InternalSwap(other);
6660 }
6661
6662 // implements Message ----------------------------------------------
6663
6664 ChunkedTransferMessage_Ack* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6665 return CreateMaybeMessage<ChunkedTransferMessage_Ack>(arena);
6666 }
6667 ChunkedTransferMessage_Ack* New() const {
6668 return New(nullptr);
6669 }
6670 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6671 void CopyFrom(const ChunkedTransferMessage_Ack& from);
6672 void MergeFrom(const ChunkedTransferMessage_Ack& from);
6673 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6674 bool IsInitialized() const final;
6675
6676 size_t ByteSizeLong() const final;
6677 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6678 ::uint8_t* _InternalSerialize(
6679 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6680 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6681
6682 private:
6683 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6684 void SharedDtor();
6685 void SetCachedSize(int size) const;
6686 void InternalSwap(ChunkedTransferMessage_Ack* other);
6687
6688 private:
6689 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6690 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6691 return "google.internal.federatedml.v2.ChunkedTransferMessage.Ack";
6692 }
6693 protected:
6694 explicit ChunkedTransferMessage_Ack(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6695 bool is_message_owned = false);
6696 public:
6697
6698 std::string GetTypeName() const final;
6699
6700 // nested types ----------------------------------------------------
6701
6702 // accessors -------------------------------------------------------
6703
6704 enum : int {
6705 kChunkIndexFieldNumber = 1,
6706 };
6707 // int32 chunk_index = 1;
6708 void clear_chunk_index();
6709 ::int32_t chunk_index() const;
6710 void set_chunk_index(::int32_t value);
6711 private:
6712 ::int32_t _internal_chunk_index() const;
6713 void _internal_set_chunk_index(::int32_t value);
6714 public:
6715
6716 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ChunkedTransferMessage.Ack)
6717 private:
6718 class _Internal;
6719
6720 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6721 typedef void InternalArenaConstructable_;
6722 typedef void DestructorSkippable_;
6723 struct Impl_ {
6724 ::int32_t chunk_index_;
6725 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6726 };
6727 union { Impl_ _impl_; };
6728 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
6729 };
6730 // -------------------------------------------------------------------
6731
6732 class ChunkedTransferMessage_End final :
6733 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ChunkedTransferMessage.End) */ {
6734 public:
ChunkedTransferMessage_End()6735 inline ChunkedTransferMessage_End() : ChunkedTransferMessage_End(nullptr) {}
6736 ~ChunkedTransferMessage_End() override;
6737 explicit PROTOBUF_CONSTEXPR ChunkedTransferMessage_End(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6738
6739 ChunkedTransferMessage_End(const ChunkedTransferMessage_End& from);
ChunkedTransferMessage_End(ChunkedTransferMessage_End && from)6740 ChunkedTransferMessage_End(ChunkedTransferMessage_End&& from) noexcept
6741 : ChunkedTransferMessage_End() {
6742 *this = ::std::move(from);
6743 }
6744
6745 inline ChunkedTransferMessage_End& operator=(const ChunkedTransferMessage_End& from) {
6746 if (this == &from) return *this;
6747 CopyFrom(from);
6748 return *this;
6749 }
6750 inline ChunkedTransferMessage_End& operator=(ChunkedTransferMessage_End&& from) noexcept {
6751 if (this == &from) return *this;
6752 if (GetOwningArena() == from.GetOwningArena()
6753 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6754 && GetOwningArena() != nullptr
6755 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6756 ) {
6757 InternalSwap(&from);
6758 } else {
6759 CopyFrom(from);
6760 }
6761 return *this;
6762 }
6763
default_instance()6764 static const ChunkedTransferMessage_End& default_instance() {
6765 return *internal_default_instance();
6766 }
internal_default_instance()6767 static inline const ChunkedTransferMessage_End* internal_default_instance() {
6768 return reinterpret_cast<const ChunkedTransferMessage_End*>(
6769 &_ChunkedTransferMessage_End_default_instance_);
6770 }
6771 static constexpr int kIndexInFileMessages =
6772 38;
6773
swap(ChunkedTransferMessage_End & a,ChunkedTransferMessage_End & b)6774 friend void swap(ChunkedTransferMessage_End& a, ChunkedTransferMessage_End& b) {
6775 a.Swap(&b);
6776 }
Swap(ChunkedTransferMessage_End * other)6777 inline void Swap(ChunkedTransferMessage_End* other) {
6778 if (other == this) return;
6779 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6780 if (GetOwningArena() != nullptr &&
6781 GetOwningArena() == other->GetOwningArena()) {
6782 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6783 if (GetOwningArena() == other->GetOwningArena()) {
6784 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6785 InternalSwap(other);
6786 } else {
6787 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6788 }
6789 }
6790 void UnsafeArenaSwap(ChunkedTransferMessage_End* other) {
6791 if (other == this) return;
6792 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6793 InternalSwap(other);
6794 }
6795
6796 // implements Message ----------------------------------------------
6797
6798 ChunkedTransferMessage_End* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6799 return CreateMaybeMessage<ChunkedTransferMessage_End>(arena);
6800 }
6801 ChunkedTransferMessage_End* New() const {
6802 return New(nullptr);
6803 }
6804 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6805 void CopyFrom(const ChunkedTransferMessage_End& from);
6806 void MergeFrom(const ChunkedTransferMessage_End& from);
6807 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6808 bool IsInitialized() const final;
6809
6810 size_t ByteSizeLong() const final;
6811 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6812 ::uint8_t* _InternalSerialize(
6813 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6814 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6815
6816 private:
6817 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6818 void SharedDtor();
6819 void SetCachedSize(int size) const;
6820 void InternalSwap(ChunkedTransferMessage_End* other);
6821
6822 private:
6823 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6824 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6825 return "google.internal.federatedml.v2.ChunkedTransferMessage.End";
6826 }
6827 protected:
6828 explicit ChunkedTransferMessage_End(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6829 bool is_message_owned = false);
6830 public:
6831
6832 std::string GetTypeName() const final;
6833
6834 // nested types ----------------------------------------------------
6835
6836 // accessors -------------------------------------------------------
6837
6838 enum : int {
6839 kChunkCountFieldNumber = 1,
6840 };
6841 // int32 chunk_count = 1;
6842 void clear_chunk_count();
6843 ::int32_t chunk_count() const;
6844 void set_chunk_count(::int32_t value);
6845 private:
6846 ::int32_t _internal_chunk_count() const;
6847 void _internal_set_chunk_count(::int32_t value);
6848 public:
6849
6850 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ChunkedTransferMessage.End)
6851 private:
6852 class _Internal;
6853
6854 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6855 typedef void InternalArenaConstructable_;
6856 typedef void DestructorSkippable_;
6857 struct Impl_ {
6858 ::int32_t chunk_count_;
6859 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6860 };
6861 union { Impl_ _impl_; };
6862 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
6863 };
6864 // -------------------------------------------------------------------
6865
6866 class ChunkedTransferMessage final :
6867 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:google.internal.federatedml.v2.ChunkedTransferMessage) */ {
6868 public:
ChunkedTransferMessage()6869 inline ChunkedTransferMessage() : ChunkedTransferMessage(nullptr) {}
6870 ~ChunkedTransferMessage() override;
6871 explicit PROTOBUF_CONSTEXPR ChunkedTransferMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6872
6873 ChunkedTransferMessage(const ChunkedTransferMessage& from);
ChunkedTransferMessage(ChunkedTransferMessage && from)6874 ChunkedTransferMessage(ChunkedTransferMessage&& from) noexcept
6875 : ChunkedTransferMessage() {
6876 *this = ::std::move(from);
6877 }
6878
6879 inline ChunkedTransferMessage& operator=(const ChunkedTransferMessage& from) {
6880 if (this == &from) return *this;
6881 CopyFrom(from);
6882 return *this;
6883 }
6884 inline ChunkedTransferMessage& operator=(ChunkedTransferMessage&& from) noexcept {
6885 if (this == &from) return *this;
6886 if (GetOwningArena() == from.GetOwningArena()
6887 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6888 && GetOwningArena() != nullptr
6889 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6890 ) {
6891 InternalSwap(&from);
6892 } else {
6893 CopyFrom(from);
6894 }
6895 return *this;
6896 }
6897
default_instance()6898 static const ChunkedTransferMessage& default_instance() {
6899 return *internal_default_instance();
6900 }
6901 enum KindCase {
6902 kStart = 1,
6903 kData = 2,
6904 kAck = 3,
6905 kEnd = 4,
6906 KIND_NOT_SET = 0,
6907 };
6908
internal_default_instance()6909 static inline const ChunkedTransferMessage* internal_default_instance() {
6910 return reinterpret_cast<const ChunkedTransferMessage*>(
6911 &_ChunkedTransferMessage_default_instance_);
6912 }
6913 static constexpr int kIndexInFileMessages =
6914 39;
6915
swap(ChunkedTransferMessage & a,ChunkedTransferMessage & b)6916 friend void swap(ChunkedTransferMessage& a, ChunkedTransferMessage& b) {
6917 a.Swap(&b);
6918 }
Swap(ChunkedTransferMessage * other)6919 inline void Swap(ChunkedTransferMessage* other) {
6920 if (other == this) return;
6921 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6922 if (GetOwningArena() != nullptr &&
6923 GetOwningArena() == other->GetOwningArena()) {
6924 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6925 if (GetOwningArena() == other->GetOwningArena()) {
6926 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6927 InternalSwap(other);
6928 } else {
6929 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6930 }
6931 }
6932 void UnsafeArenaSwap(ChunkedTransferMessage* other) {
6933 if (other == this) return;
6934 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6935 InternalSwap(other);
6936 }
6937
6938 // implements Message ----------------------------------------------
6939
6940 ChunkedTransferMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6941 return CreateMaybeMessage<ChunkedTransferMessage>(arena);
6942 }
6943 ChunkedTransferMessage* New() const {
6944 return New(nullptr);
6945 }
6946 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6947 void CopyFrom(const ChunkedTransferMessage& from);
6948 void MergeFrom(const ChunkedTransferMessage& from);
6949 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6950 bool IsInitialized() const final;
6951
6952 size_t ByteSizeLong() const final;
6953 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6954 ::uint8_t* _InternalSerialize(
6955 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6956 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6957
6958 private:
6959 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6960 void SharedDtor();
6961 void SetCachedSize(int size) const;
6962 void InternalSwap(ChunkedTransferMessage* other);
6963
6964 private:
6965 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6966 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6967 return "google.internal.federatedml.v2.ChunkedTransferMessage";
6968 }
6969 protected:
6970 explicit ChunkedTransferMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6971 bool is_message_owned = false);
6972 public:
6973
6974 std::string GetTypeName() const final;
6975
6976 // nested types ----------------------------------------------------
6977
6978 typedef ChunkedTransferMessage_Start Start;
6979 typedef ChunkedTransferMessage_Data Data;
6980 typedef ChunkedTransferMessage_Ack Ack;
6981 typedef ChunkedTransferMessage_End End;
6982
6983 typedef ChunkedTransferMessage_CompressionType CompressionType;
6984 static constexpr CompressionType UNCOMPRESSED =
6985 ChunkedTransferMessage_CompressionType_UNCOMPRESSED;
6986 static inline bool CompressionType_IsValid(int value) {
6987 return ChunkedTransferMessage_CompressionType_IsValid(value);
6988 }
6989 static constexpr CompressionType CompressionType_MIN =
6990 ChunkedTransferMessage_CompressionType_CompressionType_MIN;
6991 static constexpr CompressionType CompressionType_MAX =
6992 ChunkedTransferMessage_CompressionType_CompressionType_MAX;
6993 static constexpr int CompressionType_ARRAYSIZE =
6994 ChunkedTransferMessage_CompressionType_CompressionType_ARRAYSIZE;
6995 template<typename T>
6996 static inline const std::string& CompressionType_Name(T enum_t_value) {
6997 static_assert(::std::is_same<T, CompressionType>::value ||
6998 ::std::is_integral<T>::value,
6999 "Incorrect type passed to function CompressionType_Name.");
7000 return ChunkedTransferMessage_CompressionType_Name(enum_t_value);
7001 }
7002 static inline bool CompressionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7003 CompressionType* value) {
7004 return ChunkedTransferMessage_CompressionType_Parse(name, value);
7005 }
7006
7007 // accessors -------------------------------------------------------
7008
7009 enum : int {
7010 kStartFieldNumber = 1,
7011 kDataFieldNumber = 2,
7012 kAckFieldNumber = 3,
7013 kEndFieldNumber = 4,
7014 };
7015 // .google.internal.federatedml.v2.ChunkedTransferMessage.Start start = 1;
7016 bool has_start() const;
7017 private:
7018 bool _internal_has_start() const;
7019 public:
7020 void clear_start();
7021 const ::google::internal::federatedml::v2::ChunkedTransferMessage_Start& start() const;
7022 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* release_start();
7023 ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* mutable_start();
7024 void set_allocated_start(::google::internal::federatedml::v2::ChunkedTransferMessage_Start* start);
7025 private:
7026 const ::google::internal::federatedml::v2::ChunkedTransferMessage_Start& _internal_start() const;
7027 ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* _internal_mutable_start();
7028 public:
7029 void unsafe_arena_set_allocated_start(
7030 ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* start);
7031 ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* unsafe_arena_release_start();
7032
7033 // .google.internal.federatedml.v2.ChunkedTransferMessage.Data data = 2;
7034 bool has_data() const;
7035 private:
7036 bool _internal_has_data() const;
7037 public:
7038 void clear_data();
7039 const ::google::internal::federatedml::v2::ChunkedTransferMessage_Data& data() const;
7040 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* release_data();
7041 ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* mutable_data();
7042 void set_allocated_data(::google::internal::federatedml::v2::ChunkedTransferMessage_Data* data);
7043 private:
7044 const ::google::internal::federatedml::v2::ChunkedTransferMessage_Data& _internal_data() const;
7045 ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* _internal_mutable_data();
7046 public:
7047 void unsafe_arena_set_allocated_data(
7048 ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* data);
7049 ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* unsafe_arena_release_data();
7050
7051 // .google.internal.federatedml.v2.ChunkedTransferMessage.Ack ack = 3;
7052 bool has_ack() const;
7053 private:
7054 bool _internal_has_ack() const;
7055 public:
7056 void clear_ack();
7057 const ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack& ack() const;
7058 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* release_ack();
7059 ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* mutable_ack();
7060 void set_allocated_ack(::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* ack);
7061 private:
7062 const ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack& _internal_ack() const;
7063 ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* _internal_mutable_ack();
7064 public:
7065 void unsafe_arena_set_allocated_ack(
7066 ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* ack);
7067 ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* unsafe_arena_release_ack();
7068
7069 // .google.internal.federatedml.v2.ChunkedTransferMessage.End end = 4;
7070 bool has_end() const;
7071 private:
7072 bool _internal_has_end() const;
7073 public:
7074 void clear_end();
7075 const ::google::internal::federatedml::v2::ChunkedTransferMessage_End& end() const;
7076 PROTOBUF_NODISCARD ::google::internal::federatedml::v2::ChunkedTransferMessage_End* release_end();
7077 ::google::internal::federatedml::v2::ChunkedTransferMessage_End* mutable_end();
7078 void set_allocated_end(::google::internal::federatedml::v2::ChunkedTransferMessage_End* end);
7079 private:
7080 const ::google::internal::federatedml::v2::ChunkedTransferMessage_End& _internal_end() const;
7081 ::google::internal::federatedml::v2::ChunkedTransferMessage_End* _internal_mutable_end();
7082 public:
7083 void unsafe_arena_set_allocated_end(
7084 ::google::internal::federatedml::v2::ChunkedTransferMessage_End* end);
7085 ::google::internal::federatedml::v2::ChunkedTransferMessage_End* unsafe_arena_release_end();
7086
7087 void clear_kind();
7088 KindCase kind_case() const;
7089 // @@protoc_insertion_point(class_scope:google.internal.federatedml.v2.ChunkedTransferMessage)
7090 private:
7091 class _Internal;
7092 void set_has_start();
7093 void set_has_data();
7094 void set_has_ack();
7095 void set_has_end();
7096
7097 inline bool has_kind() const;
7098 inline void clear_has_kind();
7099
7100 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
7101 typedef void InternalArenaConstructable_;
7102 typedef void DestructorSkippable_;
7103 struct Impl_ {
7104 union KindUnion {
7105 constexpr KindUnion() : _constinit_{} {}
7106 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
7107 ::google::internal::federatedml::v2::ChunkedTransferMessage_Start* start_;
7108 ::google::internal::federatedml::v2::ChunkedTransferMessage_Data* data_;
7109 ::google::internal::federatedml::v2::ChunkedTransferMessage_Ack* ack_;
7110 ::google::internal::federatedml::v2::ChunkedTransferMessage_End* end_;
7111 } kind_;
7112 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7113 ::uint32_t _oneof_case_[1];
7114
7115 };
7116 union { Impl_ _impl_; };
7117 friend struct ::TableStruct_fcp_2fprotos_2ffederated_5fapi_2eproto;
7118 };
7119 // ===================================================================
7120
7121
7122 // ===================================================================
7123
7124 #ifdef __GNUC__
7125 #pragma GCC diagnostic push
7126 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
7127 #endif // __GNUC__
7128 // ClientStreamMessage
7129
7130 // .google.internal.federatedml.v2.CheckinRequest checkin_request = 1;
_internal_has_checkin_request()7131 inline bool ClientStreamMessage::_internal_has_checkin_request() const {
7132 return kind_case() == kCheckinRequest;
7133 }
has_checkin_request()7134 inline bool ClientStreamMessage::has_checkin_request() const {
7135 return _internal_has_checkin_request();
7136 }
set_has_checkin_request()7137 inline void ClientStreamMessage::set_has_checkin_request() {
7138 _impl_._oneof_case_[0] = kCheckinRequest;
7139 }
clear_checkin_request()7140 inline void ClientStreamMessage::clear_checkin_request() {
7141 if (_internal_has_checkin_request()) {
7142 if (GetArenaForAllocation() == nullptr) {
7143 delete _impl_.kind_.checkin_request_;
7144 }
7145 clear_has_kind();
7146 }
7147 }
release_checkin_request()7148 inline ::google::internal::federatedml::v2::CheckinRequest* ClientStreamMessage::release_checkin_request() {
7149 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ClientStreamMessage.checkin_request)
7150 if (_internal_has_checkin_request()) {
7151 clear_has_kind();
7152 ::google::internal::federatedml::v2::CheckinRequest* temp = _impl_.kind_.checkin_request_;
7153 if (GetArenaForAllocation() != nullptr) {
7154 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7155 }
7156 _impl_.kind_.checkin_request_ = nullptr;
7157 return temp;
7158 } else {
7159 return nullptr;
7160 }
7161 }
_internal_checkin_request()7162 inline const ::google::internal::federatedml::v2::CheckinRequest& ClientStreamMessage::_internal_checkin_request() const {
7163 return _internal_has_checkin_request()
7164 ? *_impl_.kind_.checkin_request_
7165 : reinterpret_cast< ::google::internal::federatedml::v2::CheckinRequest&>(::google::internal::federatedml::v2::_CheckinRequest_default_instance_);
7166 }
checkin_request()7167 inline const ::google::internal::federatedml::v2::CheckinRequest& ClientStreamMessage::checkin_request() const {
7168 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.checkin_request)
7169 return _internal_checkin_request();
7170 }
unsafe_arena_release_checkin_request()7171 inline ::google::internal::federatedml::v2::CheckinRequest* ClientStreamMessage::unsafe_arena_release_checkin_request() {
7172 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ClientStreamMessage.checkin_request)
7173 if (_internal_has_checkin_request()) {
7174 clear_has_kind();
7175 ::google::internal::federatedml::v2::CheckinRequest* temp = _impl_.kind_.checkin_request_;
7176 _impl_.kind_.checkin_request_ = nullptr;
7177 return temp;
7178 } else {
7179 return nullptr;
7180 }
7181 }
unsafe_arena_set_allocated_checkin_request(::google::internal::federatedml::v2::CheckinRequest * checkin_request)7182 inline void ClientStreamMessage::unsafe_arena_set_allocated_checkin_request(::google::internal::federatedml::v2::CheckinRequest* checkin_request) {
7183 clear_kind();
7184 if (checkin_request) {
7185 set_has_checkin_request();
7186 _impl_.kind_.checkin_request_ = checkin_request;
7187 }
7188 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.checkin_request)
7189 }
_internal_mutable_checkin_request()7190 inline ::google::internal::federatedml::v2::CheckinRequest* ClientStreamMessage::_internal_mutable_checkin_request() {
7191 if (!_internal_has_checkin_request()) {
7192 clear_kind();
7193 set_has_checkin_request();
7194 _impl_.kind_.checkin_request_ = CreateMaybeMessage< ::google::internal::federatedml::v2::CheckinRequest >(GetArenaForAllocation());
7195 }
7196 return _impl_.kind_.checkin_request_;
7197 }
mutable_checkin_request()7198 inline ::google::internal::federatedml::v2::CheckinRequest* ClientStreamMessage::mutable_checkin_request() {
7199 ::google::internal::federatedml::v2::CheckinRequest* _msg = _internal_mutable_checkin_request();
7200 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.checkin_request)
7201 return _msg;
7202 }
7203
7204 // .google.internal.federatedml.v2.ReportRequest report_request = 2;
_internal_has_report_request()7205 inline bool ClientStreamMessage::_internal_has_report_request() const {
7206 return kind_case() == kReportRequest;
7207 }
has_report_request()7208 inline bool ClientStreamMessage::has_report_request() const {
7209 return _internal_has_report_request();
7210 }
set_has_report_request()7211 inline void ClientStreamMessage::set_has_report_request() {
7212 _impl_._oneof_case_[0] = kReportRequest;
7213 }
clear_report_request()7214 inline void ClientStreamMessage::clear_report_request() {
7215 if (_internal_has_report_request()) {
7216 if (GetArenaForAllocation() == nullptr) {
7217 delete _impl_.kind_.report_request_;
7218 }
7219 clear_has_kind();
7220 }
7221 }
release_report_request()7222 inline ::google::internal::federatedml::v2::ReportRequest* ClientStreamMessage::release_report_request() {
7223 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ClientStreamMessage.report_request)
7224 if (_internal_has_report_request()) {
7225 clear_has_kind();
7226 ::google::internal::federatedml::v2::ReportRequest* temp = _impl_.kind_.report_request_;
7227 if (GetArenaForAllocation() != nullptr) {
7228 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7229 }
7230 _impl_.kind_.report_request_ = nullptr;
7231 return temp;
7232 } else {
7233 return nullptr;
7234 }
7235 }
_internal_report_request()7236 inline const ::google::internal::federatedml::v2::ReportRequest& ClientStreamMessage::_internal_report_request() const {
7237 return _internal_has_report_request()
7238 ? *_impl_.kind_.report_request_
7239 : reinterpret_cast< ::google::internal::federatedml::v2::ReportRequest&>(::google::internal::federatedml::v2::_ReportRequest_default_instance_);
7240 }
report_request()7241 inline const ::google::internal::federatedml::v2::ReportRequest& ClientStreamMessage::report_request() const {
7242 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.report_request)
7243 return _internal_report_request();
7244 }
unsafe_arena_release_report_request()7245 inline ::google::internal::federatedml::v2::ReportRequest* ClientStreamMessage::unsafe_arena_release_report_request() {
7246 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ClientStreamMessage.report_request)
7247 if (_internal_has_report_request()) {
7248 clear_has_kind();
7249 ::google::internal::federatedml::v2::ReportRequest* temp = _impl_.kind_.report_request_;
7250 _impl_.kind_.report_request_ = nullptr;
7251 return temp;
7252 } else {
7253 return nullptr;
7254 }
7255 }
unsafe_arena_set_allocated_report_request(::google::internal::federatedml::v2::ReportRequest * report_request)7256 inline void ClientStreamMessage::unsafe_arena_set_allocated_report_request(::google::internal::federatedml::v2::ReportRequest* report_request) {
7257 clear_kind();
7258 if (report_request) {
7259 set_has_report_request();
7260 _impl_.kind_.report_request_ = report_request;
7261 }
7262 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.report_request)
7263 }
_internal_mutable_report_request()7264 inline ::google::internal::federatedml::v2::ReportRequest* ClientStreamMessage::_internal_mutable_report_request() {
7265 if (!_internal_has_report_request()) {
7266 clear_kind();
7267 set_has_report_request();
7268 _impl_.kind_.report_request_ = CreateMaybeMessage< ::google::internal::federatedml::v2::ReportRequest >(GetArenaForAllocation());
7269 }
7270 return _impl_.kind_.report_request_;
7271 }
mutable_report_request()7272 inline ::google::internal::federatedml::v2::ReportRequest* ClientStreamMessage::mutable_report_request() {
7273 ::google::internal::federatedml::v2::ReportRequest* _msg = _internal_mutable_report_request();
7274 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.report_request)
7275 return _msg;
7276 }
7277
7278 // .google.internal.federatedml.v2.ChunkedTransferMessage chunked_transfer = 6;
_internal_has_chunked_transfer()7279 inline bool ClientStreamMessage::_internal_has_chunked_transfer() const {
7280 return kind_case() == kChunkedTransfer;
7281 }
has_chunked_transfer()7282 inline bool ClientStreamMessage::has_chunked_transfer() const {
7283 return _internal_has_chunked_transfer();
7284 }
set_has_chunked_transfer()7285 inline void ClientStreamMessage::set_has_chunked_transfer() {
7286 _impl_._oneof_case_[0] = kChunkedTransfer;
7287 }
clear_chunked_transfer()7288 inline void ClientStreamMessage::clear_chunked_transfer() {
7289 if (_internal_has_chunked_transfer()) {
7290 if (GetArenaForAllocation() == nullptr) {
7291 delete _impl_.kind_.chunked_transfer_;
7292 }
7293 clear_has_kind();
7294 }
7295 }
release_chunked_transfer()7296 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ClientStreamMessage::release_chunked_transfer() {
7297 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ClientStreamMessage.chunked_transfer)
7298 if (_internal_has_chunked_transfer()) {
7299 clear_has_kind();
7300 ::google::internal::federatedml::v2::ChunkedTransferMessage* temp = _impl_.kind_.chunked_transfer_;
7301 if (GetArenaForAllocation() != nullptr) {
7302 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7303 }
7304 _impl_.kind_.chunked_transfer_ = nullptr;
7305 return temp;
7306 } else {
7307 return nullptr;
7308 }
7309 }
_internal_chunked_transfer()7310 inline const ::google::internal::federatedml::v2::ChunkedTransferMessage& ClientStreamMessage::_internal_chunked_transfer() const {
7311 return _internal_has_chunked_transfer()
7312 ? *_impl_.kind_.chunked_transfer_
7313 : reinterpret_cast< ::google::internal::federatedml::v2::ChunkedTransferMessage&>(::google::internal::federatedml::v2::_ChunkedTransferMessage_default_instance_);
7314 }
chunked_transfer()7315 inline const ::google::internal::federatedml::v2::ChunkedTransferMessage& ClientStreamMessage::chunked_transfer() const {
7316 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.chunked_transfer)
7317 return _internal_chunked_transfer();
7318 }
unsafe_arena_release_chunked_transfer()7319 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ClientStreamMessage::unsafe_arena_release_chunked_transfer() {
7320 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ClientStreamMessage.chunked_transfer)
7321 if (_internal_has_chunked_transfer()) {
7322 clear_has_kind();
7323 ::google::internal::federatedml::v2::ChunkedTransferMessage* temp = _impl_.kind_.chunked_transfer_;
7324 _impl_.kind_.chunked_transfer_ = nullptr;
7325 return temp;
7326 } else {
7327 return nullptr;
7328 }
7329 }
unsafe_arena_set_allocated_chunked_transfer(::google::internal::federatedml::v2::ChunkedTransferMessage * chunked_transfer)7330 inline void ClientStreamMessage::unsafe_arena_set_allocated_chunked_transfer(::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer) {
7331 clear_kind();
7332 if (chunked_transfer) {
7333 set_has_chunked_transfer();
7334 _impl_.kind_.chunked_transfer_ = chunked_transfer;
7335 }
7336 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.chunked_transfer)
7337 }
_internal_mutable_chunked_transfer()7338 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ClientStreamMessage::_internal_mutable_chunked_transfer() {
7339 if (!_internal_has_chunked_transfer()) {
7340 clear_kind();
7341 set_has_chunked_transfer();
7342 _impl_.kind_.chunked_transfer_ = CreateMaybeMessage< ::google::internal::federatedml::v2::ChunkedTransferMessage >(GetArenaForAllocation());
7343 }
7344 return _impl_.kind_.chunked_transfer_;
7345 }
mutable_chunked_transfer()7346 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ClientStreamMessage::mutable_chunked_transfer() {
7347 ::google::internal::federatedml::v2::ChunkedTransferMessage* _msg = _internal_mutable_chunked_transfer();
7348 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.chunked_transfer)
7349 return _msg;
7350 }
7351
7352 // .google.internal.federatedml.v2.EligibilityEvalCheckinRequest eligibility_eval_checkin_request = 7;
_internal_has_eligibility_eval_checkin_request()7353 inline bool ClientStreamMessage::_internal_has_eligibility_eval_checkin_request() const {
7354 return kind_case() == kEligibilityEvalCheckinRequest;
7355 }
has_eligibility_eval_checkin_request()7356 inline bool ClientStreamMessage::has_eligibility_eval_checkin_request() const {
7357 return _internal_has_eligibility_eval_checkin_request();
7358 }
set_has_eligibility_eval_checkin_request()7359 inline void ClientStreamMessage::set_has_eligibility_eval_checkin_request() {
7360 _impl_._oneof_case_[0] = kEligibilityEvalCheckinRequest;
7361 }
clear_eligibility_eval_checkin_request()7362 inline void ClientStreamMessage::clear_eligibility_eval_checkin_request() {
7363 if (_internal_has_eligibility_eval_checkin_request()) {
7364 if (GetArenaForAllocation() == nullptr) {
7365 delete _impl_.kind_.eligibility_eval_checkin_request_;
7366 }
7367 clear_has_kind();
7368 }
7369 }
release_eligibility_eval_checkin_request()7370 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* ClientStreamMessage::release_eligibility_eval_checkin_request() {
7371 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ClientStreamMessage.eligibility_eval_checkin_request)
7372 if (_internal_has_eligibility_eval_checkin_request()) {
7373 clear_has_kind();
7374 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* temp = _impl_.kind_.eligibility_eval_checkin_request_;
7375 if (GetArenaForAllocation() != nullptr) {
7376 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7377 }
7378 _impl_.kind_.eligibility_eval_checkin_request_ = nullptr;
7379 return temp;
7380 } else {
7381 return nullptr;
7382 }
7383 }
_internal_eligibility_eval_checkin_request()7384 inline const ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest& ClientStreamMessage::_internal_eligibility_eval_checkin_request() const {
7385 return _internal_has_eligibility_eval_checkin_request()
7386 ? *_impl_.kind_.eligibility_eval_checkin_request_
7387 : reinterpret_cast< ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest&>(::google::internal::federatedml::v2::_EligibilityEvalCheckinRequest_default_instance_);
7388 }
eligibility_eval_checkin_request()7389 inline const ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest& ClientStreamMessage::eligibility_eval_checkin_request() const {
7390 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.eligibility_eval_checkin_request)
7391 return _internal_eligibility_eval_checkin_request();
7392 }
unsafe_arena_release_eligibility_eval_checkin_request()7393 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* ClientStreamMessage::unsafe_arena_release_eligibility_eval_checkin_request() {
7394 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ClientStreamMessage.eligibility_eval_checkin_request)
7395 if (_internal_has_eligibility_eval_checkin_request()) {
7396 clear_has_kind();
7397 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* temp = _impl_.kind_.eligibility_eval_checkin_request_;
7398 _impl_.kind_.eligibility_eval_checkin_request_ = nullptr;
7399 return temp;
7400 } else {
7401 return nullptr;
7402 }
7403 }
unsafe_arena_set_allocated_eligibility_eval_checkin_request(::google::internal::federatedml::v2::EligibilityEvalCheckinRequest * eligibility_eval_checkin_request)7404 inline void ClientStreamMessage::unsafe_arena_set_allocated_eligibility_eval_checkin_request(::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* eligibility_eval_checkin_request) {
7405 clear_kind();
7406 if (eligibility_eval_checkin_request) {
7407 set_has_eligibility_eval_checkin_request();
7408 _impl_.kind_.eligibility_eval_checkin_request_ = eligibility_eval_checkin_request;
7409 }
7410 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.eligibility_eval_checkin_request)
7411 }
_internal_mutable_eligibility_eval_checkin_request()7412 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* ClientStreamMessage::_internal_mutable_eligibility_eval_checkin_request() {
7413 if (!_internal_has_eligibility_eval_checkin_request()) {
7414 clear_kind();
7415 set_has_eligibility_eval_checkin_request();
7416 _impl_.kind_.eligibility_eval_checkin_request_ = CreateMaybeMessage< ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest >(GetArenaForAllocation());
7417 }
7418 return _impl_.kind_.eligibility_eval_checkin_request_;
7419 }
mutable_eligibility_eval_checkin_request()7420 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* ClientStreamMessage::mutable_eligibility_eval_checkin_request() {
7421 ::google::internal::federatedml::v2::EligibilityEvalCheckinRequest* _msg = _internal_mutable_eligibility_eval_checkin_request();
7422 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.eligibility_eval_checkin_request)
7423 return _msg;
7424 }
7425
7426 // .fcp.secagg.ClientToServerWrapperMessage secure_aggregation_client_message = 4;
_internal_has_secure_aggregation_client_message()7427 inline bool ClientStreamMessage::_internal_has_secure_aggregation_client_message() const {
7428 return this != internal_default_instance() && _impl_.secure_aggregation_client_message_ != nullptr;
7429 }
has_secure_aggregation_client_message()7430 inline bool ClientStreamMessage::has_secure_aggregation_client_message() const {
7431 return _internal_has_secure_aggregation_client_message();
7432 }
_internal_secure_aggregation_client_message()7433 inline const ::fcp::secagg::ClientToServerWrapperMessage& ClientStreamMessage::_internal_secure_aggregation_client_message() const {
7434 const ::fcp::secagg::ClientToServerWrapperMessage* p = _impl_.secure_aggregation_client_message_;
7435 return p != nullptr ? *p : reinterpret_cast<const ::fcp::secagg::ClientToServerWrapperMessage&>(
7436 ::fcp::secagg::_ClientToServerWrapperMessage_default_instance_);
7437 }
secure_aggregation_client_message()7438 inline const ::fcp::secagg::ClientToServerWrapperMessage& ClientStreamMessage::secure_aggregation_client_message() const {
7439 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.secure_aggregation_client_message)
7440 return _internal_secure_aggregation_client_message();
7441 }
unsafe_arena_set_allocated_secure_aggregation_client_message(::fcp::secagg::ClientToServerWrapperMessage * secure_aggregation_client_message)7442 inline void ClientStreamMessage::unsafe_arena_set_allocated_secure_aggregation_client_message(
7443 ::fcp::secagg::ClientToServerWrapperMessage* secure_aggregation_client_message) {
7444 if (GetArenaForAllocation() == nullptr) {
7445 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.secure_aggregation_client_message_);
7446 }
7447 _impl_.secure_aggregation_client_message_ = secure_aggregation_client_message;
7448 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.secure_aggregation_client_message)
7449 }
release_secure_aggregation_client_message()7450 inline ::fcp::secagg::ClientToServerWrapperMessage* ClientStreamMessage::release_secure_aggregation_client_message() {
7451
7452 ::fcp::secagg::ClientToServerWrapperMessage* temp = _impl_.secure_aggregation_client_message_;
7453 _impl_.secure_aggregation_client_message_ = nullptr;
7454 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7455 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
7456 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7457 if (GetArenaForAllocation() == nullptr) { delete old; }
7458 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
7459 if (GetArenaForAllocation() != nullptr) {
7460 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7461 }
7462 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7463 return temp;
7464 }
unsafe_arena_release_secure_aggregation_client_message()7465 inline ::fcp::secagg::ClientToServerWrapperMessage* ClientStreamMessage::unsafe_arena_release_secure_aggregation_client_message() {
7466 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ClientStreamMessage.secure_aggregation_client_message)
7467
7468 ::fcp::secagg::ClientToServerWrapperMessage* temp = _impl_.secure_aggregation_client_message_;
7469 _impl_.secure_aggregation_client_message_ = nullptr;
7470 return temp;
7471 }
_internal_mutable_secure_aggregation_client_message()7472 inline ::fcp::secagg::ClientToServerWrapperMessage* ClientStreamMessage::_internal_mutable_secure_aggregation_client_message() {
7473
7474 if (_impl_.secure_aggregation_client_message_ == nullptr) {
7475 auto* p = CreateMaybeMessage<::fcp::secagg::ClientToServerWrapperMessage>(GetArenaForAllocation());
7476 _impl_.secure_aggregation_client_message_ = p;
7477 }
7478 return _impl_.secure_aggregation_client_message_;
7479 }
mutable_secure_aggregation_client_message()7480 inline ::fcp::secagg::ClientToServerWrapperMessage* ClientStreamMessage::mutable_secure_aggregation_client_message() {
7481 ::fcp::secagg::ClientToServerWrapperMessage* _msg = _internal_mutable_secure_aggregation_client_message();
7482 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.secure_aggregation_client_message)
7483 return _msg;
7484 }
set_allocated_secure_aggregation_client_message(::fcp::secagg::ClientToServerWrapperMessage * secure_aggregation_client_message)7485 inline void ClientStreamMessage::set_allocated_secure_aggregation_client_message(::fcp::secagg::ClientToServerWrapperMessage* secure_aggregation_client_message) {
7486 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7487 if (message_arena == nullptr) {
7488 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.secure_aggregation_client_message_);
7489 }
7490 if (secure_aggregation_client_message) {
7491 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7492 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7493 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(secure_aggregation_client_message));
7494 if (message_arena != submessage_arena) {
7495 secure_aggregation_client_message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7496 message_arena, secure_aggregation_client_message, submessage_arena);
7497 }
7498
7499 } else {
7500
7501 }
7502 _impl_.secure_aggregation_client_message_ = secure_aggregation_client_message;
7503 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.secure_aggregation_client_message)
7504 }
7505
7506 // repeated .google.protobuf.Any serialized_side_channel_event = 5;
_internal_serialized_side_channel_event_size()7507 inline int ClientStreamMessage::_internal_serialized_side_channel_event_size() const {
7508 return _impl_.serialized_side_channel_event_.size();
7509 }
serialized_side_channel_event_size()7510 inline int ClientStreamMessage::serialized_side_channel_event_size() const {
7511 return _internal_serialized_side_channel_event_size();
7512 }
mutable_serialized_side_channel_event(int index)7513 inline ::PROTOBUF_NAMESPACE_ID::Any* ClientStreamMessage::mutable_serialized_side_channel_event(int index) {
7514 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.serialized_side_channel_event)
7515 return _impl_.serialized_side_channel_event_.Mutable(index);
7516 }
7517 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >*
mutable_serialized_side_channel_event()7518 ClientStreamMessage::mutable_serialized_side_channel_event() {
7519 // @@protoc_insertion_point(field_mutable_list:google.internal.federatedml.v2.ClientStreamMessage.serialized_side_channel_event)
7520 return &_impl_.serialized_side_channel_event_;
7521 }
_internal_serialized_side_channel_event(int index)7522 inline const ::PROTOBUF_NAMESPACE_ID::Any& ClientStreamMessage::_internal_serialized_side_channel_event(int index) const {
7523 return _impl_.serialized_side_channel_event_.Get(index);
7524 }
serialized_side_channel_event(int index)7525 inline const ::PROTOBUF_NAMESPACE_ID::Any& ClientStreamMessage::serialized_side_channel_event(int index) const {
7526 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.serialized_side_channel_event)
7527 return _internal_serialized_side_channel_event(index);
7528 }
_internal_add_serialized_side_channel_event()7529 inline ::PROTOBUF_NAMESPACE_ID::Any* ClientStreamMessage::_internal_add_serialized_side_channel_event() {
7530 return _impl_.serialized_side_channel_event_.Add();
7531 }
add_serialized_side_channel_event()7532 inline ::PROTOBUF_NAMESPACE_ID::Any* ClientStreamMessage::add_serialized_side_channel_event() {
7533 ::PROTOBUF_NAMESPACE_ID::Any* _add = _internal_add_serialized_side_channel_event();
7534 // @@protoc_insertion_point(field_add:google.internal.federatedml.v2.ClientStreamMessage.serialized_side_channel_event)
7535 return _add;
7536 }
7537 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
serialized_side_channel_event()7538 ClientStreamMessage::serialized_side_channel_event() const {
7539 // @@protoc_insertion_point(field_list:google.internal.federatedml.v2.ClientStreamMessage.serialized_side_channel_event)
7540 return _impl_.serialized_side_channel_event_;
7541 }
7542
7543 // string internal_client_id = 3 [deprecated = true];
clear_internal_client_id()7544 inline void ClientStreamMessage::clear_internal_client_id() {
7545 _impl_.internal_client_id_.ClearToEmpty();
7546 }
internal_client_id()7547 inline const std::string& ClientStreamMessage::internal_client_id() const {
7548 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ClientStreamMessage.internal_client_id)
7549 return _internal_internal_client_id();
7550 }
7551 template <typename ArgT0, typename... ArgT>
7552 inline PROTOBUF_ALWAYS_INLINE
set_internal_client_id(ArgT0 && arg0,ArgT...args)7553 void ClientStreamMessage::set_internal_client_id(ArgT0&& arg0, ArgT... args) {
7554
7555 _impl_.internal_client_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
7556 // @@protoc_insertion_point(field_set:google.internal.federatedml.v2.ClientStreamMessage.internal_client_id)
7557 }
mutable_internal_client_id()7558 inline std::string* ClientStreamMessage::mutable_internal_client_id() {
7559 std::string* _s = _internal_mutable_internal_client_id();
7560 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ClientStreamMessage.internal_client_id)
7561 return _s;
7562 }
_internal_internal_client_id()7563 inline const std::string& ClientStreamMessage::_internal_internal_client_id() const {
7564 return _impl_.internal_client_id_.Get();
7565 }
_internal_set_internal_client_id(const std::string & value)7566 inline void ClientStreamMessage::_internal_set_internal_client_id(const std::string& value) {
7567
7568 _impl_.internal_client_id_.Set(value, GetArenaForAllocation());
7569 }
_internal_mutable_internal_client_id()7570 inline std::string* ClientStreamMessage::_internal_mutable_internal_client_id() {
7571
7572 return _impl_.internal_client_id_.Mutable(GetArenaForAllocation());
7573 }
release_internal_client_id()7574 inline std::string* ClientStreamMessage::release_internal_client_id() {
7575 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ClientStreamMessage.internal_client_id)
7576 return _impl_.internal_client_id_.Release();
7577 }
set_allocated_internal_client_id(std::string * internal_client_id)7578 inline void ClientStreamMessage::set_allocated_internal_client_id(std::string* internal_client_id) {
7579 _impl_.internal_client_id_.SetAllocated(internal_client_id, GetArenaForAllocation());
7580 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
7581 if (_impl_.internal_client_id_.IsDefault()) {
7582 _impl_.internal_client_id_.Set("", GetArenaForAllocation());
7583 }
7584 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
7585 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.ClientStreamMessage.internal_client_id)
7586 }
7587
has_kind()7588 inline bool ClientStreamMessage::has_kind() const {
7589 return kind_case() != KIND_NOT_SET;
7590 }
clear_has_kind()7591 inline void ClientStreamMessage::clear_has_kind() {
7592 _impl_._oneof_case_[0] = KIND_NOT_SET;
7593 }
kind_case()7594 inline ClientStreamMessage::KindCase ClientStreamMessage::kind_case() const {
7595 return ClientStreamMessage::KindCase(_impl_._oneof_case_[0]);
7596 }
7597 // -------------------------------------------------------------------
7598
7599 // ServerStreamMessage
7600
7601 // .google.internal.federatedml.v2.CheckinResponse checkin_response = 1;
_internal_has_checkin_response()7602 inline bool ServerStreamMessage::_internal_has_checkin_response() const {
7603 return kind_case() == kCheckinResponse;
7604 }
has_checkin_response()7605 inline bool ServerStreamMessage::has_checkin_response() const {
7606 return _internal_has_checkin_response();
7607 }
set_has_checkin_response()7608 inline void ServerStreamMessage::set_has_checkin_response() {
7609 _impl_._oneof_case_[0] = kCheckinResponse;
7610 }
clear_checkin_response()7611 inline void ServerStreamMessage::clear_checkin_response() {
7612 if (_internal_has_checkin_response()) {
7613 if (GetArenaForAllocation() == nullptr) {
7614 delete _impl_.kind_.checkin_response_;
7615 }
7616 clear_has_kind();
7617 }
7618 }
release_checkin_response()7619 inline ::google::internal::federatedml::v2::CheckinResponse* ServerStreamMessage::release_checkin_response() {
7620 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ServerStreamMessage.checkin_response)
7621 if (_internal_has_checkin_response()) {
7622 clear_has_kind();
7623 ::google::internal::federatedml::v2::CheckinResponse* temp = _impl_.kind_.checkin_response_;
7624 if (GetArenaForAllocation() != nullptr) {
7625 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7626 }
7627 _impl_.kind_.checkin_response_ = nullptr;
7628 return temp;
7629 } else {
7630 return nullptr;
7631 }
7632 }
_internal_checkin_response()7633 inline const ::google::internal::federatedml::v2::CheckinResponse& ServerStreamMessage::_internal_checkin_response() const {
7634 return _internal_has_checkin_response()
7635 ? *_impl_.kind_.checkin_response_
7636 : reinterpret_cast< ::google::internal::federatedml::v2::CheckinResponse&>(::google::internal::federatedml::v2::_CheckinResponse_default_instance_);
7637 }
checkin_response()7638 inline const ::google::internal::federatedml::v2::CheckinResponse& ServerStreamMessage::checkin_response() const {
7639 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ServerStreamMessage.checkin_response)
7640 return _internal_checkin_response();
7641 }
unsafe_arena_release_checkin_response()7642 inline ::google::internal::federatedml::v2::CheckinResponse* ServerStreamMessage::unsafe_arena_release_checkin_response() {
7643 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ServerStreamMessage.checkin_response)
7644 if (_internal_has_checkin_response()) {
7645 clear_has_kind();
7646 ::google::internal::federatedml::v2::CheckinResponse* temp = _impl_.kind_.checkin_response_;
7647 _impl_.kind_.checkin_response_ = nullptr;
7648 return temp;
7649 } else {
7650 return nullptr;
7651 }
7652 }
unsafe_arena_set_allocated_checkin_response(::google::internal::federatedml::v2::CheckinResponse * checkin_response)7653 inline void ServerStreamMessage::unsafe_arena_set_allocated_checkin_response(::google::internal::federatedml::v2::CheckinResponse* checkin_response) {
7654 clear_kind();
7655 if (checkin_response) {
7656 set_has_checkin_response();
7657 _impl_.kind_.checkin_response_ = checkin_response;
7658 }
7659 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.checkin_response)
7660 }
_internal_mutable_checkin_response()7661 inline ::google::internal::federatedml::v2::CheckinResponse* ServerStreamMessage::_internal_mutable_checkin_response() {
7662 if (!_internal_has_checkin_response()) {
7663 clear_kind();
7664 set_has_checkin_response();
7665 _impl_.kind_.checkin_response_ = CreateMaybeMessage< ::google::internal::federatedml::v2::CheckinResponse >(GetArenaForAllocation());
7666 }
7667 return _impl_.kind_.checkin_response_;
7668 }
mutable_checkin_response()7669 inline ::google::internal::federatedml::v2::CheckinResponse* ServerStreamMessage::mutable_checkin_response() {
7670 ::google::internal::federatedml::v2::CheckinResponse* _msg = _internal_mutable_checkin_response();
7671 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ServerStreamMessage.checkin_response)
7672 return _msg;
7673 }
7674
7675 // .google.internal.federatedml.v2.ReportResponse report_response = 2;
_internal_has_report_response()7676 inline bool ServerStreamMessage::_internal_has_report_response() const {
7677 return kind_case() == kReportResponse;
7678 }
has_report_response()7679 inline bool ServerStreamMessage::has_report_response() const {
7680 return _internal_has_report_response();
7681 }
set_has_report_response()7682 inline void ServerStreamMessage::set_has_report_response() {
7683 _impl_._oneof_case_[0] = kReportResponse;
7684 }
clear_report_response()7685 inline void ServerStreamMessage::clear_report_response() {
7686 if (_internal_has_report_response()) {
7687 if (GetArenaForAllocation() == nullptr) {
7688 delete _impl_.kind_.report_response_;
7689 }
7690 clear_has_kind();
7691 }
7692 }
release_report_response()7693 inline ::google::internal::federatedml::v2::ReportResponse* ServerStreamMessage::release_report_response() {
7694 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ServerStreamMessage.report_response)
7695 if (_internal_has_report_response()) {
7696 clear_has_kind();
7697 ::google::internal::federatedml::v2::ReportResponse* temp = _impl_.kind_.report_response_;
7698 if (GetArenaForAllocation() != nullptr) {
7699 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7700 }
7701 _impl_.kind_.report_response_ = nullptr;
7702 return temp;
7703 } else {
7704 return nullptr;
7705 }
7706 }
_internal_report_response()7707 inline const ::google::internal::federatedml::v2::ReportResponse& ServerStreamMessage::_internal_report_response() const {
7708 return _internal_has_report_response()
7709 ? *_impl_.kind_.report_response_
7710 : reinterpret_cast< ::google::internal::federatedml::v2::ReportResponse&>(::google::internal::federatedml::v2::_ReportResponse_default_instance_);
7711 }
report_response()7712 inline const ::google::internal::federatedml::v2::ReportResponse& ServerStreamMessage::report_response() const {
7713 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ServerStreamMessage.report_response)
7714 return _internal_report_response();
7715 }
unsafe_arena_release_report_response()7716 inline ::google::internal::federatedml::v2::ReportResponse* ServerStreamMessage::unsafe_arena_release_report_response() {
7717 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ServerStreamMessage.report_response)
7718 if (_internal_has_report_response()) {
7719 clear_has_kind();
7720 ::google::internal::federatedml::v2::ReportResponse* temp = _impl_.kind_.report_response_;
7721 _impl_.kind_.report_response_ = nullptr;
7722 return temp;
7723 } else {
7724 return nullptr;
7725 }
7726 }
unsafe_arena_set_allocated_report_response(::google::internal::federatedml::v2::ReportResponse * report_response)7727 inline void ServerStreamMessage::unsafe_arena_set_allocated_report_response(::google::internal::federatedml::v2::ReportResponse* report_response) {
7728 clear_kind();
7729 if (report_response) {
7730 set_has_report_response();
7731 _impl_.kind_.report_response_ = report_response;
7732 }
7733 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.report_response)
7734 }
_internal_mutable_report_response()7735 inline ::google::internal::federatedml::v2::ReportResponse* ServerStreamMessage::_internal_mutable_report_response() {
7736 if (!_internal_has_report_response()) {
7737 clear_kind();
7738 set_has_report_response();
7739 _impl_.kind_.report_response_ = CreateMaybeMessage< ::google::internal::federatedml::v2::ReportResponse >(GetArenaForAllocation());
7740 }
7741 return _impl_.kind_.report_response_;
7742 }
mutable_report_response()7743 inline ::google::internal::federatedml::v2::ReportResponse* ServerStreamMessage::mutable_report_response() {
7744 ::google::internal::federatedml::v2::ReportResponse* _msg = _internal_mutable_report_response();
7745 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ServerStreamMessage.report_response)
7746 return _msg;
7747 }
7748
7749 // .google.internal.federatedml.v2.ChunkedTransferMessage chunked_transfer = 4;
_internal_has_chunked_transfer()7750 inline bool ServerStreamMessage::_internal_has_chunked_transfer() const {
7751 return kind_case() == kChunkedTransfer;
7752 }
has_chunked_transfer()7753 inline bool ServerStreamMessage::has_chunked_transfer() const {
7754 return _internal_has_chunked_transfer();
7755 }
set_has_chunked_transfer()7756 inline void ServerStreamMessage::set_has_chunked_transfer() {
7757 _impl_._oneof_case_[0] = kChunkedTransfer;
7758 }
clear_chunked_transfer()7759 inline void ServerStreamMessage::clear_chunked_transfer() {
7760 if (_internal_has_chunked_transfer()) {
7761 if (GetArenaForAllocation() == nullptr) {
7762 delete _impl_.kind_.chunked_transfer_;
7763 }
7764 clear_has_kind();
7765 }
7766 }
release_chunked_transfer()7767 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ServerStreamMessage::release_chunked_transfer() {
7768 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ServerStreamMessage.chunked_transfer)
7769 if (_internal_has_chunked_transfer()) {
7770 clear_has_kind();
7771 ::google::internal::federatedml::v2::ChunkedTransferMessage* temp = _impl_.kind_.chunked_transfer_;
7772 if (GetArenaForAllocation() != nullptr) {
7773 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7774 }
7775 _impl_.kind_.chunked_transfer_ = nullptr;
7776 return temp;
7777 } else {
7778 return nullptr;
7779 }
7780 }
_internal_chunked_transfer()7781 inline const ::google::internal::federatedml::v2::ChunkedTransferMessage& ServerStreamMessage::_internal_chunked_transfer() const {
7782 return _internal_has_chunked_transfer()
7783 ? *_impl_.kind_.chunked_transfer_
7784 : reinterpret_cast< ::google::internal::federatedml::v2::ChunkedTransferMessage&>(::google::internal::federatedml::v2::_ChunkedTransferMessage_default_instance_);
7785 }
chunked_transfer()7786 inline const ::google::internal::federatedml::v2::ChunkedTransferMessage& ServerStreamMessage::chunked_transfer() const {
7787 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ServerStreamMessage.chunked_transfer)
7788 return _internal_chunked_transfer();
7789 }
unsafe_arena_release_chunked_transfer()7790 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ServerStreamMessage::unsafe_arena_release_chunked_transfer() {
7791 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ServerStreamMessage.chunked_transfer)
7792 if (_internal_has_chunked_transfer()) {
7793 clear_has_kind();
7794 ::google::internal::federatedml::v2::ChunkedTransferMessage* temp = _impl_.kind_.chunked_transfer_;
7795 _impl_.kind_.chunked_transfer_ = nullptr;
7796 return temp;
7797 } else {
7798 return nullptr;
7799 }
7800 }
unsafe_arena_set_allocated_chunked_transfer(::google::internal::federatedml::v2::ChunkedTransferMessage * chunked_transfer)7801 inline void ServerStreamMessage::unsafe_arena_set_allocated_chunked_transfer(::google::internal::federatedml::v2::ChunkedTransferMessage* chunked_transfer) {
7802 clear_kind();
7803 if (chunked_transfer) {
7804 set_has_chunked_transfer();
7805 _impl_.kind_.chunked_transfer_ = chunked_transfer;
7806 }
7807 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.chunked_transfer)
7808 }
_internal_mutable_chunked_transfer()7809 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ServerStreamMessage::_internal_mutable_chunked_transfer() {
7810 if (!_internal_has_chunked_transfer()) {
7811 clear_kind();
7812 set_has_chunked_transfer();
7813 _impl_.kind_.chunked_transfer_ = CreateMaybeMessage< ::google::internal::federatedml::v2::ChunkedTransferMessage >(GetArenaForAllocation());
7814 }
7815 return _impl_.kind_.chunked_transfer_;
7816 }
mutable_chunked_transfer()7817 inline ::google::internal::federatedml::v2::ChunkedTransferMessage* ServerStreamMessage::mutable_chunked_transfer() {
7818 ::google::internal::federatedml::v2::ChunkedTransferMessage* _msg = _internal_mutable_chunked_transfer();
7819 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ServerStreamMessage.chunked_transfer)
7820 return _msg;
7821 }
7822
7823 // .google.internal.federatedml.v2.CheckinRequestAck checkin_request_ack = 5;
_internal_has_checkin_request_ack()7824 inline bool ServerStreamMessage::_internal_has_checkin_request_ack() const {
7825 return kind_case() == kCheckinRequestAck;
7826 }
has_checkin_request_ack()7827 inline bool ServerStreamMessage::has_checkin_request_ack() const {
7828 return _internal_has_checkin_request_ack();
7829 }
set_has_checkin_request_ack()7830 inline void ServerStreamMessage::set_has_checkin_request_ack() {
7831 _impl_._oneof_case_[0] = kCheckinRequestAck;
7832 }
clear_checkin_request_ack()7833 inline void ServerStreamMessage::clear_checkin_request_ack() {
7834 if (_internal_has_checkin_request_ack()) {
7835 if (GetArenaForAllocation() == nullptr) {
7836 delete _impl_.kind_.checkin_request_ack_;
7837 }
7838 clear_has_kind();
7839 }
7840 }
release_checkin_request_ack()7841 inline ::google::internal::federatedml::v2::CheckinRequestAck* ServerStreamMessage::release_checkin_request_ack() {
7842 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ServerStreamMessage.checkin_request_ack)
7843 if (_internal_has_checkin_request_ack()) {
7844 clear_has_kind();
7845 ::google::internal::federatedml::v2::CheckinRequestAck* temp = _impl_.kind_.checkin_request_ack_;
7846 if (GetArenaForAllocation() != nullptr) {
7847 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7848 }
7849 _impl_.kind_.checkin_request_ack_ = nullptr;
7850 return temp;
7851 } else {
7852 return nullptr;
7853 }
7854 }
_internal_checkin_request_ack()7855 inline const ::google::internal::federatedml::v2::CheckinRequestAck& ServerStreamMessage::_internal_checkin_request_ack() const {
7856 return _internal_has_checkin_request_ack()
7857 ? *_impl_.kind_.checkin_request_ack_
7858 : reinterpret_cast< ::google::internal::federatedml::v2::CheckinRequestAck&>(::google::internal::federatedml::v2::_CheckinRequestAck_default_instance_);
7859 }
checkin_request_ack()7860 inline const ::google::internal::federatedml::v2::CheckinRequestAck& ServerStreamMessage::checkin_request_ack() const {
7861 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ServerStreamMessage.checkin_request_ack)
7862 return _internal_checkin_request_ack();
7863 }
unsafe_arena_release_checkin_request_ack()7864 inline ::google::internal::federatedml::v2::CheckinRequestAck* ServerStreamMessage::unsafe_arena_release_checkin_request_ack() {
7865 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ServerStreamMessage.checkin_request_ack)
7866 if (_internal_has_checkin_request_ack()) {
7867 clear_has_kind();
7868 ::google::internal::federatedml::v2::CheckinRequestAck* temp = _impl_.kind_.checkin_request_ack_;
7869 _impl_.kind_.checkin_request_ack_ = nullptr;
7870 return temp;
7871 } else {
7872 return nullptr;
7873 }
7874 }
unsafe_arena_set_allocated_checkin_request_ack(::google::internal::federatedml::v2::CheckinRequestAck * checkin_request_ack)7875 inline void ServerStreamMessage::unsafe_arena_set_allocated_checkin_request_ack(::google::internal::federatedml::v2::CheckinRequestAck* checkin_request_ack) {
7876 clear_kind();
7877 if (checkin_request_ack) {
7878 set_has_checkin_request_ack();
7879 _impl_.kind_.checkin_request_ack_ = checkin_request_ack;
7880 }
7881 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.checkin_request_ack)
7882 }
_internal_mutable_checkin_request_ack()7883 inline ::google::internal::federatedml::v2::CheckinRequestAck* ServerStreamMessage::_internal_mutable_checkin_request_ack() {
7884 if (!_internal_has_checkin_request_ack()) {
7885 clear_kind();
7886 set_has_checkin_request_ack();
7887 _impl_.kind_.checkin_request_ack_ = CreateMaybeMessage< ::google::internal::federatedml::v2::CheckinRequestAck >(GetArenaForAllocation());
7888 }
7889 return _impl_.kind_.checkin_request_ack_;
7890 }
mutable_checkin_request_ack()7891 inline ::google::internal::federatedml::v2::CheckinRequestAck* ServerStreamMessage::mutable_checkin_request_ack() {
7892 ::google::internal::federatedml::v2::CheckinRequestAck* _msg = _internal_mutable_checkin_request_ack();
7893 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ServerStreamMessage.checkin_request_ack)
7894 return _msg;
7895 }
7896
7897 // .google.internal.federatedml.v2.EligibilityEvalCheckinResponse eligibility_eval_checkin_response = 6;
_internal_has_eligibility_eval_checkin_response()7898 inline bool ServerStreamMessage::_internal_has_eligibility_eval_checkin_response() const {
7899 return kind_case() == kEligibilityEvalCheckinResponse;
7900 }
has_eligibility_eval_checkin_response()7901 inline bool ServerStreamMessage::has_eligibility_eval_checkin_response() const {
7902 return _internal_has_eligibility_eval_checkin_response();
7903 }
set_has_eligibility_eval_checkin_response()7904 inline void ServerStreamMessage::set_has_eligibility_eval_checkin_response() {
7905 _impl_._oneof_case_[0] = kEligibilityEvalCheckinResponse;
7906 }
clear_eligibility_eval_checkin_response()7907 inline void ServerStreamMessage::clear_eligibility_eval_checkin_response() {
7908 if (_internal_has_eligibility_eval_checkin_response()) {
7909 if (GetArenaForAllocation() == nullptr) {
7910 delete _impl_.kind_.eligibility_eval_checkin_response_;
7911 }
7912 clear_has_kind();
7913 }
7914 }
release_eligibility_eval_checkin_response()7915 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* ServerStreamMessage::release_eligibility_eval_checkin_response() {
7916 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ServerStreamMessage.eligibility_eval_checkin_response)
7917 if (_internal_has_eligibility_eval_checkin_response()) {
7918 clear_has_kind();
7919 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* temp = _impl_.kind_.eligibility_eval_checkin_response_;
7920 if (GetArenaForAllocation() != nullptr) {
7921 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7922 }
7923 _impl_.kind_.eligibility_eval_checkin_response_ = nullptr;
7924 return temp;
7925 } else {
7926 return nullptr;
7927 }
7928 }
_internal_eligibility_eval_checkin_response()7929 inline const ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse& ServerStreamMessage::_internal_eligibility_eval_checkin_response() const {
7930 return _internal_has_eligibility_eval_checkin_response()
7931 ? *_impl_.kind_.eligibility_eval_checkin_response_
7932 : reinterpret_cast< ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse&>(::google::internal::federatedml::v2::_EligibilityEvalCheckinResponse_default_instance_);
7933 }
eligibility_eval_checkin_response()7934 inline const ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse& ServerStreamMessage::eligibility_eval_checkin_response() const {
7935 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ServerStreamMessage.eligibility_eval_checkin_response)
7936 return _internal_eligibility_eval_checkin_response();
7937 }
unsafe_arena_release_eligibility_eval_checkin_response()7938 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* ServerStreamMessage::unsafe_arena_release_eligibility_eval_checkin_response() {
7939 // @@protoc_insertion_point(field_unsafe_arena_release:google.internal.federatedml.v2.ServerStreamMessage.eligibility_eval_checkin_response)
7940 if (_internal_has_eligibility_eval_checkin_response()) {
7941 clear_has_kind();
7942 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* temp = _impl_.kind_.eligibility_eval_checkin_response_;
7943 _impl_.kind_.eligibility_eval_checkin_response_ = nullptr;
7944 return temp;
7945 } else {
7946 return nullptr;
7947 }
7948 }
unsafe_arena_set_allocated_eligibility_eval_checkin_response(::google::internal::federatedml::v2::EligibilityEvalCheckinResponse * eligibility_eval_checkin_response)7949 inline void ServerStreamMessage::unsafe_arena_set_allocated_eligibility_eval_checkin_response(::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* eligibility_eval_checkin_response) {
7950 clear_kind();
7951 if (eligibility_eval_checkin_response) {
7952 set_has_eligibility_eval_checkin_response();
7953 _impl_.kind_.eligibility_eval_checkin_response_ = eligibility_eval_checkin_response;
7954 }
7955 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.eligibility_eval_checkin_response)
7956 }
_internal_mutable_eligibility_eval_checkin_response()7957 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* ServerStreamMessage::_internal_mutable_eligibility_eval_checkin_response() {
7958 if (!_internal_has_eligibility_eval_checkin_response()) {
7959 clear_kind();
7960 set_has_eligibility_eval_checkin_response();
7961 _impl_.kind_.eligibility_eval_checkin_response_ = CreateMaybeMessage< ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse >(GetArenaForAllocation());
7962 }
7963 return _impl_.kind_.eligibility_eval_checkin_response_;
7964 }
mutable_eligibility_eval_checkin_response()7965 inline ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* ServerStreamMessage::mutable_eligibility_eval_checkin_response() {
7966 ::google::internal::federatedml::v2::EligibilityEvalCheckinResponse* _msg = _internal_mutable_eligibility_eval_checkin_response();
7967 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ServerStreamMessage.eligibility_eval_checkin_response)
7968 return _msg;
7969 }
7970
7971 // .fcp.secagg.ServerToClientWrapperMessage secure_aggregation_server_message = 3;
_internal_has_secure_aggregation_server_message()7972 inline bool ServerStreamMessage::_internal_has_secure_aggregation_server_message() const {
7973 return this != internal_default_instance() && _impl_.secure_aggregation_server_message_ != nullptr;
7974 }
has_secure_aggregation_server_message()7975 inline bool ServerStreamMessage::has_secure_aggregation_server_message() const {
7976 return _internal_has_secure_aggregation_server_message();
7977 }
_internal_secure_aggregation_server_message()7978 inline const ::fcp::secagg::ServerToClientWrapperMessage& ServerStreamMessage::_internal_secure_aggregation_server_message() const {
7979 const ::fcp::secagg::ServerToClientWrapperMessage* p = _impl_.secure_aggregation_server_message_;
7980 return p != nullptr ? *p : reinterpret_cast<const ::fcp::secagg::ServerToClientWrapperMessage&>(
7981 ::fcp::secagg::_ServerToClientWrapperMessage_default_instance_);
7982 }
secure_aggregation_server_message()7983 inline const ::fcp::secagg::ServerToClientWrapperMessage& ServerStreamMessage::secure_aggregation_server_message() const {
7984 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.ServerStreamMessage.secure_aggregation_server_message)
7985 return _internal_secure_aggregation_server_message();
7986 }
unsafe_arena_set_allocated_secure_aggregation_server_message(::fcp::secagg::ServerToClientWrapperMessage * secure_aggregation_server_message)7987 inline void ServerStreamMessage::unsafe_arena_set_allocated_secure_aggregation_server_message(
7988 ::fcp::secagg::ServerToClientWrapperMessage* secure_aggregation_server_message) {
7989 if (GetArenaForAllocation() == nullptr) {
7990 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.secure_aggregation_server_message_);
7991 }
7992 _impl_.secure_aggregation_server_message_ = secure_aggregation_server_message;
7993 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.secure_aggregation_server_message)
7994 }
release_secure_aggregation_server_message()7995 inline ::fcp::secagg::ServerToClientWrapperMessage* ServerStreamMessage::release_secure_aggregation_server_message() {
7996
7997 ::fcp::secagg::ServerToClientWrapperMessage* temp = _impl_.secure_aggregation_server_message_;
7998 _impl_.secure_aggregation_server_message_ = nullptr;
7999 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8000 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8001 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8002 if (GetArenaForAllocation() == nullptr) { delete old; }
8003 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
8004 if (GetArenaForAllocation() != nullptr) {
8005 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8006 }
8007 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8008 return temp;
8009 }
unsafe_arena_release_secure_aggregation_server_message()8010 inline ::fcp::secagg::ServerToClientWrapperMessage* ServerStreamMessage::unsafe_arena_release_secure_aggregation_server_message() {
8011 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.ServerStreamMessage.secure_aggregation_server_message)
8012
8013 ::fcp::secagg::ServerToClientWrapperMessage* temp = _impl_.secure_aggregation_server_message_;
8014 _impl_.secure_aggregation_server_message_ = nullptr;
8015 return temp;
8016 }
_internal_mutable_secure_aggregation_server_message()8017 inline ::fcp::secagg::ServerToClientWrapperMessage* ServerStreamMessage::_internal_mutable_secure_aggregation_server_message() {
8018
8019 if (_impl_.secure_aggregation_server_message_ == nullptr) {
8020 auto* p = CreateMaybeMessage<::fcp::secagg::ServerToClientWrapperMessage>(GetArenaForAllocation());
8021 _impl_.secure_aggregation_server_message_ = p;
8022 }
8023 return _impl_.secure_aggregation_server_message_;
8024 }
mutable_secure_aggregation_server_message()8025 inline ::fcp::secagg::ServerToClientWrapperMessage* ServerStreamMessage::mutable_secure_aggregation_server_message() {
8026 ::fcp::secagg::ServerToClientWrapperMessage* _msg = _internal_mutable_secure_aggregation_server_message();
8027 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.ServerStreamMessage.secure_aggregation_server_message)
8028 return _msg;
8029 }
set_allocated_secure_aggregation_server_message(::fcp::secagg::ServerToClientWrapperMessage * secure_aggregation_server_message)8030 inline void ServerStreamMessage::set_allocated_secure_aggregation_server_message(::fcp::secagg::ServerToClientWrapperMessage* secure_aggregation_server_message) {
8031 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8032 if (message_arena == nullptr) {
8033 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.secure_aggregation_server_message_);
8034 }
8035 if (secure_aggregation_server_message) {
8036 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8037 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
8038 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(secure_aggregation_server_message));
8039 if (message_arena != submessage_arena) {
8040 secure_aggregation_server_message = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8041 message_arena, secure_aggregation_server_message, submessage_arena);
8042 }
8043
8044 } else {
8045
8046 }
8047 _impl_.secure_aggregation_server_message_ = secure_aggregation_server_message;
8048 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.ServerStreamMessage.secure_aggregation_server_message)
8049 }
8050
has_kind()8051 inline bool ServerStreamMessage::has_kind() const {
8052 return kind_case() != KIND_NOT_SET;
8053 }
clear_has_kind()8054 inline void ServerStreamMessage::clear_has_kind() {
8055 _impl_._oneof_case_[0] = KIND_NOT_SET;
8056 }
kind_case()8057 inline ServerStreamMessage::KindCase ServerStreamMessage::kind_case() const {
8058 return ServerStreamMessage::KindCase(_impl_._oneof_case_[0]);
8059 }
8060 // -------------------------------------------------------------------
8061
8062 // CheckinRequest
8063
8064 // string population_name = 1;
clear_population_name()8065 inline void CheckinRequest::clear_population_name() {
8066 _impl_.population_name_.ClearToEmpty();
8067 }
population_name()8068 inline const std::string& CheckinRequest::population_name() const {
8069 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.CheckinRequest.population_name)
8070 return _internal_population_name();
8071 }
8072 template <typename ArgT0, typename... ArgT>
8073 inline PROTOBUF_ALWAYS_INLINE
set_population_name(ArgT0 && arg0,ArgT...args)8074 void CheckinRequest::set_population_name(ArgT0&& arg0, ArgT... args) {
8075
8076 _impl_.population_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8077 // @@protoc_insertion_point(field_set:google.internal.federatedml.v2.CheckinRequest.population_name)
8078 }
mutable_population_name()8079 inline std::string* CheckinRequest::mutable_population_name() {
8080 std::string* _s = _internal_mutable_population_name();
8081 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.CheckinRequest.population_name)
8082 return _s;
8083 }
_internal_population_name()8084 inline const std::string& CheckinRequest::_internal_population_name() const {
8085 return _impl_.population_name_.Get();
8086 }
_internal_set_population_name(const std::string & value)8087 inline void CheckinRequest::_internal_set_population_name(const std::string& value) {
8088
8089 _impl_.population_name_.Set(value, GetArenaForAllocation());
8090 }
_internal_mutable_population_name()8091 inline std::string* CheckinRequest::_internal_mutable_population_name() {
8092
8093 return _impl_.population_name_.Mutable(GetArenaForAllocation());
8094 }
release_population_name()8095 inline std::string* CheckinRequest::release_population_name() {
8096 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.CheckinRequest.population_name)
8097 return _impl_.population_name_.Release();
8098 }
set_allocated_population_name(std::string * population_name)8099 inline void CheckinRequest::set_allocated_population_name(std::string* population_name) {
8100 _impl_.population_name_.SetAllocated(population_name, GetArenaForAllocation());
8101 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8102 if (_impl_.population_name_.IsDefault()) {
8103 _impl_.population_name_.Set("", GetArenaForAllocation());
8104 }
8105 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8106 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.CheckinRequest.population_name)
8107 }
8108
8109 // string retry_token = 2;
clear_retry_token()8110 inline void CheckinRequest::clear_retry_token() {
8111 _impl_.retry_token_.ClearToEmpty();
8112 }
retry_token()8113 inline const std::string& CheckinRequest::retry_token() const {
8114 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.CheckinRequest.retry_token)
8115 return _internal_retry_token();
8116 }
8117 template <typename ArgT0, typename... ArgT>
8118 inline PROTOBUF_ALWAYS_INLINE
set_retry_token(ArgT0 && arg0,ArgT...args)8119 void CheckinRequest::set_retry_token(ArgT0&& arg0, ArgT... args) {
8120
8121 _impl_.retry_token_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8122 // @@protoc_insertion_point(field_set:google.internal.federatedml.v2.CheckinRequest.retry_token)
8123 }
mutable_retry_token()8124 inline std::string* CheckinRequest::mutable_retry_token() {
8125 std::string* _s = _internal_mutable_retry_token();
8126 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.CheckinRequest.retry_token)
8127 return _s;
8128 }
_internal_retry_token()8129 inline const std::string& CheckinRequest::_internal_retry_token() const {
8130 return _impl_.retry_token_.Get();
8131 }
_internal_set_retry_token(const std::string & value)8132 inline void CheckinRequest::_internal_set_retry_token(const std::string& value) {
8133
8134 _impl_.retry_token_.Set(value, GetArenaForAllocation());
8135 }
_internal_mutable_retry_token()8136 inline std::string* CheckinRequest::_internal_mutable_retry_token() {
8137
8138 return _impl_.retry_token_.Mutable(GetArenaForAllocation());
8139 }
release_retry_token()8140 inline std::string* CheckinRequest::release_retry_token() {
8141 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.CheckinRequest.retry_token)
8142 return _impl_.retry_token_.Release();
8143 }
set_allocated_retry_token(std::string * retry_token)8144 inline void CheckinRequest::set_allocated_retry_token(std::string* retry_token) {
8145 _impl_.retry_token_.SetAllocated(retry_token, GetArenaForAllocation());
8146 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8147 if (_impl_.retry_token_.IsDefault()) {
8148 _impl_.retry_token_.Set("", GetArenaForAllocation());
8149 }
8150 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8151 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.CheckinRequest.retry_token)
8152 }
8153
8154 // string attestation_measurement = 4;
clear_attestation_measurement()8155 inline void CheckinRequest::clear_attestation_measurement() {
8156 _impl_.attestation_measurement_.ClearToEmpty();
8157 }
attestation_measurement()8158 inline const std::string& CheckinRequest::attestation_measurement() const {
8159 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.CheckinRequest.attestation_measurement)
8160 return _internal_attestation_measurement();
8161 }
8162 template <typename ArgT0, typename... ArgT>
8163 inline PROTOBUF_ALWAYS_INLINE
set_attestation_measurement(ArgT0 && arg0,ArgT...args)8164 void CheckinRequest::set_attestation_measurement(ArgT0&& arg0, ArgT... args) {
8165
8166 _impl_.attestation_measurement_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8167 // @@protoc_insertion_point(field_set:google.internal.federatedml.v2.CheckinRequest.attestation_measurement)
8168 }
mutable_attestation_measurement()8169 inline std::string* CheckinRequest::mutable_attestation_measurement() {
8170 std::string* _s = _internal_mutable_attestation_measurement();
8171 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.CheckinRequest.attestation_measurement)
8172 return _s;
8173 }
_internal_attestation_measurement()8174 inline const std::string& CheckinRequest::_internal_attestation_measurement() const {
8175 return _impl_.attestation_measurement_.Get();
8176 }
_internal_set_attestation_measurement(const std::string & value)8177 inline void CheckinRequest::_internal_set_attestation_measurement(const std::string& value) {
8178
8179 _impl_.attestation_measurement_.Set(value, GetArenaForAllocation());
8180 }
_internal_mutable_attestation_measurement()8181 inline std::string* CheckinRequest::_internal_mutable_attestation_measurement() {
8182
8183 return _impl_.attestation_measurement_.Mutable(GetArenaForAllocation());
8184 }
release_attestation_measurement()8185 inline std::string* CheckinRequest::release_attestation_measurement() {
8186 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.CheckinRequest.attestation_measurement)
8187 return _impl_.attestation_measurement_.Release();
8188 }
set_allocated_attestation_measurement(std::string * attestation_measurement)8189 inline void CheckinRequest::set_allocated_attestation_measurement(std::string* attestation_measurement) {
8190 _impl_.attestation_measurement_.SetAllocated(attestation_measurement, GetArenaForAllocation());
8191 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8192 if (_impl_.attestation_measurement_.IsDefault()) {
8193 _impl_.attestation_measurement_.Set("", GetArenaForAllocation());
8194 }
8195 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8196 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.CheckinRequest.attestation_measurement)
8197 }
8198
8199 // .google.internal.federatedml.v2.ProtocolOptionsRequest protocol_options_request = 5;
_internal_has_protocol_options_request()8200 inline bool CheckinRequest::_internal_has_protocol_options_request() const {
8201 return this != internal_default_instance() && _impl_.protocol_options_request_ != nullptr;
8202 }
has_protocol_options_request()8203 inline bool CheckinRequest::has_protocol_options_request() const {
8204 return _internal_has_protocol_options_request();
8205 }
clear_protocol_options_request()8206 inline void CheckinRequest::clear_protocol_options_request() {
8207 if (GetArenaForAllocation() == nullptr && _impl_.protocol_options_request_ != nullptr) {
8208 delete _impl_.protocol_options_request_;
8209 }
8210 _impl_.protocol_options_request_ = nullptr;
8211 }
_internal_protocol_options_request()8212 inline const ::google::internal::federatedml::v2::ProtocolOptionsRequest& CheckinRequest::_internal_protocol_options_request() const {
8213 const ::google::internal::federatedml::v2::ProtocolOptionsRequest* p = _impl_.protocol_options_request_;
8214 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedml::v2::ProtocolOptionsRequest&>(
8215 ::google::internal::federatedml::v2::_ProtocolOptionsRequest_default_instance_);
8216 }
protocol_options_request()8217 inline const ::google::internal::federatedml::v2::ProtocolOptionsRequest& CheckinRequest::protocol_options_request() const {
8218 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.CheckinRequest.protocol_options_request)
8219 return _internal_protocol_options_request();
8220 }
unsafe_arena_set_allocated_protocol_options_request(::google::internal::federatedml::v2::ProtocolOptionsRequest * protocol_options_request)8221 inline void CheckinRequest::unsafe_arena_set_allocated_protocol_options_request(
8222 ::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request) {
8223 if (GetArenaForAllocation() == nullptr) {
8224 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.protocol_options_request_);
8225 }
8226 _impl_.protocol_options_request_ = protocol_options_request;
8227 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.CheckinRequest.protocol_options_request)
8228 }
release_protocol_options_request()8229 inline ::google::internal::federatedml::v2::ProtocolOptionsRequest* CheckinRequest::release_protocol_options_request() {
8230
8231 ::google::internal::federatedml::v2::ProtocolOptionsRequest* temp = _impl_.protocol_options_request_;
8232 _impl_.protocol_options_request_ = nullptr;
8233 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8234 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8235 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8236 if (GetArenaForAllocation() == nullptr) { delete old; }
8237 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
8238 if (GetArenaForAllocation() != nullptr) {
8239 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8240 }
8241 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8242 return temp;
8243 }
unsafe_arena_release_protocol_options_request()8244 inline ::google::internal::federatedml::v2::ProtocolOptionsRequest* CheckinRequest::unsafe_arena_release_protocol_options_request() {
8245 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.CheckinRequest.protocol_options_request)
8246
8247 ::google::internal::federatedml::v2::ProtocolOptionsRequest* temp = _impl_.protocol_options_request_;
8248 _impl_.protocol_options_request_ = nullptr;
8249 return temp;
8250 }
_internal_mutable_protocol_options_request()8251 inline ::google::internal::federatedml::v2::ProtocolOptionsRequest* CheckinRequest::_internal_mutable_protocol_options_request() {
8252
8253 if (_impl_.protocol_options_request_ == nullptr) {
8254 auto* p = CreateMaybeMessage<::google::internal::federatedml::v2::ProtocolOptionsRequest>(GetArenaForAllocation());
8255 _impl_.protocol_options_request_ = p;
8256 }
8257 return _impl_.protocol_options_request_;
8258 }
mutable_protocol_options_request()8259 inline ::google::internal::federatedml::v2::ProtocolOptionsRequest* CheckinRequest::mutable_protocol_options_request() {
8260 ::google::internal::federatedml::v2::ProtocolOptionsRequest* _msg = _internal_mutable_protocol_options_request();
8261 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.CheckinRequest.protocol_options_request)
8262 return _msg;
8263 }
set_allocated_protocol_options_request(::google::internal::federatedml::v2::ProtocolOptionsRequest * protocol_options_request)8264 inline void CheckinRequest::set_allocated_protocol_options_request(::google::internal::federatedml::v2::ProtocolOptionsRequest* protocol_options_request) {
8265 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8266 if (message_arena == nullptr) {
8267 delete _impl_.protocol_options_request_;
8268 }
8269 if (protocol_options_request) {
8270 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8271 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(protocol_options_request);
8272 if (message_arena != submessage_arena) {
8273 protocol_options_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8274 message_arena, protocol_options_request, submessage_arena);
8275 }
8276
8277 } else {
8278
8279 }
8280 _impl_.protocol_options_request_ = protocol_options_request;
8281 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.CheckinRequest.protocol_options_request)
8282 }
8283
8284 // string client_version = 6;
clear_client_version()8285 inline void CheckinRequest::clear_client_version() {
8286 _impl_.client_version_.ClearToEmpty();
8287 }
client_version()8288 inline const std::string& CheckinRequest::client_version() const {
8289 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.CheckinRequest.client_version)
8290 return _internal_client_version();
8291 }
8292 template <typename ArgT0, typename... ArgT>
8293 inline PROTOBUF_ALWAYS_INLINE
set_client_version(ArgT0 && arg0,ArgT...args)8294 void CheckinRequest::set_client_version(ArgT0&& arg0, ArgT... args) {
8295
8296 _impl_.client_version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8297 // @@protoc_insertion_point(field_set:google.internal.federatedml.v2.CheckinRequest.client_version)
8298 }
mutable_client_version()8299 inline std::string* CheckinRequest::mutable_client_version() {
8300 std::string* _s = _internal_mutable_client_version();
8301 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.CheckinRequest.client_version)
8302 return _s;
8303 }
_internal_client_version()8304 inline const std::string& CheckinRequest::_internal_client_version() const {
8305 return _impl_.client_version_.Get();
8306 }
_internal_set_client_version(const std::string & value)8307 inline void CheckinRequest::_internal_set_client_version(const std::string& value) {
8308
8309 _impl_.client_version_.Set(value, GetArenaForAllocation());
8310 }
_internal_mutable_client_version()8311 inline std::string* CheckinRequest::_internal_mutable_client_version() {
8312
8313 return _impl_.client_version_.Mutable(GetArenaForAllocation());
8314 }
release_client_version()8315 inline std::string* CheckinRequest::release_client_version() {
8316 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.CheckinRequest.client_version)
8317 return _impl_.client_version_.Release();
8318 }
set_allocated_client_version(std::string * client_version)8319 inline void CheckinRequest::set_allocated_client_version(std::string* client_version) {
8320 _impl_.client_version_.SetAllocated(client_version, GetArenaForAllocation());
8321 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8322 if (_impl_.client_version_.IsDefault()) {
8323 _impl_.client_version_.Set("", GetArenaForAllocation());
8324 }
8325 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8326 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.CheckinRequest.client_version)
8327 }
8328
8329 // .google.internal.federatedml.v2.TaskEligibilityInfo task_eligibility_info = 7;
_internal_has_task_eligibility_info()8330 inline bool CheckinRequest::_internal_has_task_eligibility_info() const {
8331 return this != internal_default_instance() && _impl_.task_eligibility_info_ != nullptr;
8332 }
has_task_eligibility_info()8333 inline bool CheckinRequest::has_task_eligibility_info() const {
8334 return _internal_has_task_eligibility_info();
8335 }
clear_task_eligibility_info()8336 inline void CheckinRequest::clear_task_eligibility_info() {
8337 if (GetArenaForAllocation() == nullptr && _impl_.task_eligibility_info_ != nullptr) {
8338 delete _impl_.task_eligibility_info_;
8339 }
8340 _impl_.task_eligibility_info_ = nullptr;
8341 }
_internal_task_eligibility_info()8342 inline const ::google::internal::federatedml::v2::TaskEligibilityInfo& CheckinRequest::_internal_task_eligibility_info() const {
8343 const ::google::internal::federatedml::v2::TaskEligibilityInfo* p = _impl_.task_eligibility_info_;
8344 return p != nullptr ? *p : reinterpret_cast<const ::google::internal::federatedml::v2::TaskEligibilityInfo&>(
8345 ::google::internal::federatedml::v2::_TaskEligibilityInfo_default_instance_);
8346 }
task_eligibility_info()8347 inline const ::google::internal::federatedml::v2::TaskEligibilityInfo& CheckinRequest::task_eligibility_info() const {
8348 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.CheckinRequest.task_eligibility_info)
8349 return _internal_task_eligibility_info();
8350 }
unsafe_arena_set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo * task_eligibility_info)8351 inline void CheckinRequest::unsafe_arena_set_allocated_task_eligibility_info(
8352 ::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info) {
8353 if (GetArenaForAllocation() == nullptr) {
8354 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_eligibility_info_);
8355 }
8356 _impl_.task_eligibility_info_ = task_eligibility_info;
8357 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.internal.federatedml.v2.CheckinRequest.task_eligibility_info)
8358 }
release_task_eligibility_info()8359 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* CheckinRequest::release_task_eligibility_info() {
8360
8361 ::google::internal::federatedml::v2::TaskEligibilityInfo* temp = _impl_.task_eligibility_info_;
8362 _impl_.task_eligibility_info_ = nullptr;
8363 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8364 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8365 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8366 if (GetArenaForAllocation() == nullptr) { delete old; }
8367 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
8368 if (GetArenaForAllocation() != nullptr) {
8369 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8370 }
8371 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8372 return temp;
8373 }
unsafe_arena_release_task_eligibility_info()8374 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* CheckinRequest::unsafe_arena_release_task_eligibility_info() {
8375 // @@protoc_insertion_point(field_release:google.internal.federatedml.v2.CheckinRequest.task_eligibility_info)
8376
8377 ::google::internal::federatedml::v2::TaskEligibilityInfo* temp = _impl_.task_eligibility_info_;
8378 _impl_.task_eligibility_info_ = nullptr;
8379 return temp;
8380 }
_internal_mutable_task_eligibility_info()8381 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* CheckinRequest::_internal_mutable_task_eligibility_info() {
8382
8383 if (_impl_.task_eligibility_info_ == nullptr) {
8384 auto* p = CreateMaybeMessage<::google::internal::federatedml::v2::TaskEligibilityInfo>(GetArenaForAllocation());
8385 _impl_.task_eligibility_info_ = p;
8386 }
8387 return _impl_.task_eligibility_info_;
8388 }
mutable_task_eligibility_info()8389 inline ::google::internal::federatedml::v2::TaskEligibilityInfo* CheckinRequest::mutable_task_eligibility_info() {
8390 ::google::internal::federatedml::v2::TaskEligibilityInfo* _msg = _internal_mutable_task_eligibility_info();
8391 // @@protoc_insertion_point(field_mutable:google.internal.federatedml.v2.CheckinRequest.task_eligibility_info)
8392 return _msg;
8393 }
set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo * task_eligibility_info)8394 inline void CheckinRequest::set_allocated_task_eligibility_info(::google::internal::federatedml::v2::TaskEligibilityInfo* task_eligibility_info) {
8395 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8396 if (message_arena == nullptr) {
8397 delete _impl_.task_eligibility_info_;
8398 }
8399 if (task_eligibility_info) {
8400 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8401 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(task_eligibility_info);
8402 if (message_arena != submessage_arena) {
8403 task_eligibility_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8404 message_arena, task_eligibility_info, submessage_arena);
8405 }
8406
8407 } else {
8408
8409 }
8410 _impl_.task_eligibility_info_ = task_eligibility_info;
8411 // @@protoc_insertion_point(field_set_allocated:google.internal.federatedml.v2.CheckinRequest.task_eligibility_info)
8412 }
8413
8414 // -------------------------------------------------------------------
8415
8416 // TaskEligibilityInfo
8417
8418 // int64 version = 1;
clear_version()8419 inline void TaskEligibilityInfo::clear_version() {
8420 _impl_.version_ = ::int64_t{0};
8421 }
_internal_version()8422 inline ::int64_t TaskEligibilityInfo::_internal_version() const {
8423 return _impl_.version_;
8424 }
version()8425 inline ::int64_t TaskEligibilityInfo::version() const {
8426 // @@protoc_insertion_point(field_get:google.internal.federatedml.v2.TaskEligibilityInfo.version)
8427 return _internal_version();
8428 }
_internal_set_version(::int64_t value)8429 inline void TaskEligibilityInfo::_internal_set_version(::int64_t value) {
8430
8431 _impl_.version_ = value;
8432 }
set_version(::int64_t value)8433