1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: fcp/protos/federatedcompute/secure_aggregations.proto
3 
4 #include "fcp/protos/federatedcompute/secure_aggregations.pb.h"
5 
6 #include <algorithm>
7 #include <cstdint>
8 
9 #include <google/protobuf/io/coded_stream.h>
10 #include <google/protobuf/extension_set.h>
11 #include <google/protobuf/wire_format_lite.h>
12 #include <google/protobuf/io/zero_copy_stream_impl_lite.h>
13 // @@protoc_insertion_point(includes)
14 #include <google/protobuf/port_def.inc>
15 
16 PROTOBUF_PRAGMA_INIT_SEG
17 
18 namespace _pb = ::PROTOBUF_NAMESPACE_ID;
19 namespace _pbi = _pb::internal;
20 
21 namespace google {
22 namespace internal {
23 namespace federatedcompute {
24 namespace v1 {
StartSecureAggregationRequest(::_pbi::ConstantInitialized)25 PROTOBUF_CONSTEXPR StartSecureAggregationRequest::StartSecureAggregationRequest(
26     ::_pbi::ConstantInitialized): _impl_{
27     /*decltype(_impl_.aggregation_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
28   , /*decltype(_impl_.authorization_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
29   , /*decltype(_impl_._cached_size_)*/{}} {}
30 struct StartSecureAggregationRequestDefaultTypeInternal {
StartSecureAggregationRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationRequestDefaultTypeInternal31   PROTOBUF_CONSTEXPR StartSecureAggregationRequestDefaultTypeInternal()
32       : _instance(::_pbi::ConstantInitialized{}) {}
~StartSecureAggregationRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationRequestDefaultTypeInternal33   ~StartSecureAggregationRequestDefaultTypeInternal() {}
34   union {  // NOLINT(misc-non-private-member-variables-in-classes)
35     StartSecureAggregationRequest _instance;
36   };
37 };
38 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartSecureAggregationRequestDefaultTypeInternal _StartSecureAggregationRequest_default_instance_;
StartSecureAggregationMetadata(::_pbi::ConstantInitialized)39 PROTOBUF_CONSTEXPR StartSecureAggregationMetadata::StartSecureAggregationMetadata(
40     ::_pbi::ConstantInitialized): _impl_{
41     /*decltype(_impl_._cached_size_)*/{}} {}
42 struct StartSecureAggregationMetadataDefaultTypeInternal {
StartSecureAggregationMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationMetadataDefaultTypeInternal43   PROTOBUF_CONSTEXPR StartSecureAggregationMetadataDefaultTypeInternal()
44       : _instance(::_pbi::ConstantInitialized{}) {}
~StartSecureAggregationMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationMetadataDefaultTypeInternal45   ~StartSecureAggregationMetadataDefaultTypeInternal() {}
46   union {  // NOLINT(misc-non-private-member-variables-in-classes)
47     StartSecureAggregationMetadata _instance;
48   };
49 };
50 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartSecureAggregationMetadataDefaultTypeInternal _StartSecureAggregationMetadata_default_instance_;
StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse(::_pbi::ConstantInitialized)51 PROTOBUF_CONSTEXPR StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse(
52     ::_pbi::ConstantInitialized) {}
53 struct StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternal {
StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternal54   PROTOBUF_CONSTEXPR StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternal()
55       : _instance(::_pbi::ConstantInitialized{}) {}
~StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternal56   ~StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternal() {}
57   union {  // NOLINT(misc-non-private-member-variables-in-classes)
58     StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse _instance;
59   };
60 };
61 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUseDefaultTypeInternal _StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse_default_instance_;
StartSecureAggregationResponse(::_pbi::ConstantInitialized)62 PROTOBUF_CONSTEXPR StartSecureAggregationResponse::StartSecureAggregationResponse(
63     ::_pbi::ConstantInitialized): _impl_{
64     /*decltype(_impl_.secure_aggregands_)*/{}
65   , /*decltype(_impl_.client_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
66   , /*decltype(_impl_.secagg_protocol_forwarding_info_)*/nullptr
67   , /*decltype(_impl_.protocol_execution_info_)*/nullptr
68   , /*decltype(_impl_.masked_result_resource_)*/nullptr
69   , /*decltype(_impl_.nonmasked_result_resource_)*/nullptr
70   , /*decltype(_impl_._cached_size_)*/{}} {}
71 struct StartSecureAggregationResponseDefaultTypeInternal {
StartSecureAggregationResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationResponseDefaultTypeInternal72   PROTOBUF_CONSTEXPR StartSecureAggregationResponseDefaultTypeInternal()
73       : _instance(::_pbi::ConstantInitialized{}) {}
~StartSecureAggregationResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::StartSecureAggregationResponseDefaultTypeInternal74   ~StartSecureAggregationResponseDefaultTypeInternal() {}
75   union {  // NOLINT(misc-non-private-member-variables-in-classes)
76     StartSecureAggregationResponse _instance;
77   };
78 };
79 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartSecureAggregationResponseDefaultTypeInternal _StartSecureAggregationResponse_default_instance_;
SecureAggregandExecutionInfo(::_pbi::ConstantInitialized)80 PROTOBUF_CONSTEXPR SecureAggregandExecutionInfo::SecureAggregandExecutionInfo(
81     ::_pbi::ConstantInitialized): _impl_{
82     /*decltype(_impl_.modulus_)*/::uint64_t{0u}
83   , /*decltype(_impl_._cached_size_)*/{}} {}
84 struct SecureAggregandExecutionInfoDefaultTypeInternal {
SecureAggregandExecutionInfoDefaultTypeInternalgoogle::internal::federatedcompute::v1::SecureAggregandExecutionInfoDefaultTypeInternal85   PROTOBUF_CONSTEXPR SecureAggregandExecutionInfoDefaultTypeInternal()
86       : _instance(::_pbi::ConstantInitialized{}) {}
~SecureAggregandExecutionInfoDefaultTypeInternalgoogle::internal::federatedcompute::v1::SecureAggregandExecutionInfoDefaultTypeInternal87   ~SecureAggregandExecutionInfoDefaultTypeInternal() {}
88   union {  // NOLINT(misc-non-private-member-variables-in-classes)
89     SecureAggregandExecutionInfo _instance;
90   };
91 };
92 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecureAggregandExecutionInfoDefaultTypeInternal _SecureAggregandExecutionInfo_default_instance_;
SecureAggregationProtocolExecutionInfo(::_pbi::ConstantInitialized)93 PROTOBUF_CONSTEXPR SecureAggregationProtocolExecutionInfo::SecureAggregationProtocolExecutionInfo(
94     ::_pbi::ConstantInitialized): _impl_{
95     /*decltype(_impl_.expected_number_of_clients_)*/0
96   , /*decltype(_impl_.minimum_surviving_clients_for_reconstruction_)*/0
97   , /*decltype(_impl_._cached_size_)*/{}} {}
98 struct SecureAggregationProtocolExecutionInfoDefaultTypeInternal {
SecureAggregationProtocolExecutionInfoDefaultTypeInternalgoogle::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfoDefaultTypeInternal99   PROTOBUF_CONSTEXPR SecureAggregationProtocolExecutionInfoDefaultTypeInternal()
100       : _instance(::_pbi::ConstantInitialized{}) {}
~SecureAggregationProtocolExecutionInfoDefaultTypeInternalgoogle::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfoDefaultTypeInternal101   ~SecureAggregationProtocolExecutionInfoDefaultTypeInternal() {}
102   union {  // NOLINT(misc-non-private-member-variables-in-classes)
103     SecureAggregationProtocolExecutionInfo _instance;
104   };
105 };
106 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecureAggregationProtocolExecutionInfoDefaultTypeInternal _SecureAggregationProtocolExecutionInfo_default_instance_;
AbortSecureAggregationRequest(::_pbi::ConstantInitialized)107 PROTOBUF_CONSTEXPR AbortSecureAggregationRequest::AbortSecureAggregationRequest(
108     ::_pbi::ConstantInitialized): _impl_{
109     /*decltype(_impl_.aggregation_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
110   , /*decltype(_impl_.client_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
111   , /*decltype(_impl_.status_)*/nullptr
112   , /*decltype(_impl_._cached_size_)*/{}} {}
113 struct AbortSecureAggregationRequestDefaultTypeInternal {
AbortSecureAggregationRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::AbortSecureAggregationRequestDefaultTypeInternal114   PROTOBUF_CONSTEXPR AbortSecureAggregationRequestDefaultTypeInternal()
115       : _instance(::_pbi::ConstantInitialized{}) {}
~AbortSecureAggregationRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::AbortSecureAggregationRequestDefaultTypeInternal116   ~AbortSecureAggregationRequestDefaultTypeInternal() {}
117   union {  // NOLINT(misc-non-private-member-variables-in-classes)
118     AbortSecureAggregationRequest _instance;
119   };
120 };
121 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbortSecureAggregationRequestDefaultTypeInternal _AbortSecureAggregationRequest_default_instance_;
AbortSecureAggregationResponse(::_pbi::ConstantInitialized)122 PROTOBUF_CONSTEXPR AbortSecureAggregationResponse::AbortSecureAggregationResponse(
123     ::_pbi::ConstantInitialized): _impl_{
124     /*decltype(_impl_._cached_size_)*/{}} {}
125 struct AbortSecureAggregationResponseDefaultTypeInternal {
AbortSecureAggregationResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::AbortSecureAggregationResponseDefaultTypeInternal126   PROTOBUF_CONSTEXPR AbortSecureAggregationResponseDefaultTypeInternal()
127       : _instance(::_pbi::ConstantInitialized{}) {}
~AbortSecureAggregationResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::AbortSecureAggregationResponseDefaultTypeInternal128   ~AbortSecureAggregationResponseDefaultTypeInternal() {}
129   union {  // NOLINT(misc-non-private-member-variables-in-classes)
130     AbortSecureAggregationResponse _instance;
131   };
132 };
133 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AbortSecureAggregationResponseDefaultTypeInternal _AbortSecureAggregationResponse_default_instance_;
AdvertiseKeysRequest(::_pbi::ConstantInitialized)134 PROTOBUF_CONSTEXPR AdvertiseKeysRequest::AdvertiseKeysRequest(
135     ::_pbi::ConstantInitialized): _impl_{
136     /*decltype(_impl_.aggregation_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
137   , /*decltype(_impl_.client_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
138   , /*decltype(_impl_.advertise_keys_)*/nullptr
139   , /*decltype(_impl_._cached_size_)*/{}} {}
140 struct AdvertiseKeysRequestDefaultTypeInternal {
AdvertiseKeysRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::AdvertiseKeysRequestDefaultTypeInternal141   PROTOBUF_CONSTEXPR AdvertiseKeysRequestDefaultTypeInternal()
142       : _instance(::_pbi::ConstantInitialized{}) {}
~AdvertiseKeysRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::AdvertiseKeysRequestDefaultTypeInternal143   ~AdvertiseKeysRequestDefaultTypeInternal() {}
144   union {  // NOLINT(misc-non-private-member-variables-in-classes)
145     AdvertiseKeysRequest _instance;
146   };
147 };
148 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdvertiseKeysRequestDefaultTypeInternal _AdvertiseKeysRequest_default_instance_;
AdvertiseKeysMetadata(::_pbi::ConstantInitialized)149 PROTOBUF_CONSTEXPR AdvertiseKeysMetadata::AdvertiseKeysMetadata(
150     ::_pbi::ConstantInitialized): _impl_{
151     /*decltype(_impl_.polling_interval_)*/nullptr
152   , /*decltype(_impl_._cached_size_)*/{}} {}
153 struct AdvertiseKeysMetadataDefaultTypeInternal {
AdvertiseKeysMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::AdvertiseKeysMetadataDefaultTypeInternal154   PROTOBUF_CONSTEXPR AdvertiseKeysMetadataDefaultTypeInternal()
155       : _instance(::_pbi::ConstantInitialized{}) {}
~AdvertiseKeysMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::AdvertiseKeysMetadataDefaultTypeInternal156   ~AdvertiseKeysMetadataDefaultTypeInternal() {}
157   union {  // NOLINT(misc-non-private-member-variables-in-classes)
158     AdvertiseKeysMetadata _instance;
159   };
160 };
161 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdvertiseKeysMetadataDefaultTypeInternal _AdvertiseKeysMetadata_default_instance_;
AdvertiseKeysResponse(::_pbi::ConstantInitialized)162 PROTOBUF_CONSTEXPR AdvertiseKeysResponse::AdvertiseKeysResponse(
163     ::_pbi::ConstantInitialized): _impl_{
164     /*decltype(_impl_.share_keys_server_request_)*/nullptr
165   , /*decltype(_impl_._cached_size_)*/{}} {}
166 struct AdvertiseKeysResponseDefaultTypeInternal {
AdvertiseKeysResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::AdvertiseKeysResponseDefaultTypeInternal167   PROTOBUF_CONSTEXPR AdvertiseKeysResponseDefaultTypeInternal()
168       : _instance(::_pbi::ConstantInitialized{}) {}
~AdvertiseKeysResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::AdvertiseKeysResponseDefaultTypeInternal169   ~AdvertiseKeysResponseDefaultTypeInternal() {}
170   union {  // NOLINT(misc-non-private-member-variables-in-classes)
171     AdvertiseKeysResponse _instance;
172   };
173 };
174 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdvertiseKeysResponseDefaultTypeInternal _AdvertiseKeysResponse_default_instance_;
ShareKeysRequest(::_pbi::ConstantInitialized)175 PROTOBUF_CONSTEXPR ShareKeysRequest::ShareKeysRequest(
176     ::_pbi::ConstantInitialized): _impl_{
177     /*decltype(_impl_.aggregation_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
178   , /*decltype(_impl_.client_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
179   , /*decltype(_impl_.share_keys_client_response_)*/nullptr
180   , /*decltype(_impl_._cached_size_)*/{}} {}
181 struct ShareKeysRequestDefaultTypeInternal {
ShareKeysRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::ShareKeysRequestDefaultTypeInternal182   PROTOBUF_CONSTEXPR ShareKeysRequestDefaultTypeInternal()
183       : _instance(::_pbi::ConstantInitialized{}) {}
~ShareKeysRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::ShareKeysRequestDefaultTypeInternal184   ~ShareKeysRequestDefaultTypeInternal() {}
185   union {  // NOLINT(misc-non-private-member-variables-in-classes)
186     ShareKeysRequest _instance;
187   };
188 };
189 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShareKeysRequestDefaultTypeInternal _ShareKeysRequest_default_instance_;
ShareKeysMetadata(::_pbi::ConstantInitialized)190 PROTOBUF_CONSTEXPR ShareKeysMetadata::ShareKeysMetadata(
191     ::_pbi::ConstantInitialized): _impl_{
192     /*decltype(_impl_.polling_interval_)*/nullptr
193   , /*decltype(_impl_._cached_size_)*/{}} {}
194 struct ShareKeysMetadataDefaultTypeInternal {
ShareKeysMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::ShareKeysMetadataDefaultTypeInternal195   PROTOBUF_CONSTEXPR ShareKeysMetadataDefaultTypeInternal()
196       : _instance(::_pbi::ConstantInitialized{}) {}
~ShareKeysMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::ShareKeysMetadataDefaultTypeInternal197   ~ShareKeysMetadataDefaultTypeInternal() {}
198   union {  // NOLINT(misc-non-private-member-variables-in-classes)
199     ShareKeysMetadata _instance;
200   };
201 };
202 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShareKeysMetadataDefaultTypeInternal _ShareKeysMetadata_default_instance_;
ShareKeysResponse(::_pbi::ConstantInitialized)203 PROTOBUF_CONSTEXPR ShareKeysResponse::ShareKeysResponse(
204     ::_pbi::ConstantInitialized): _impl_{
205     /*decltype(_impl_.masked_input_collection_server_request_)*/nullptr
206   , /*decltype(_impl_._cached_size_)*/{}} {}
207 struct ShareKeysResponseDefaultTypeInternal {
ShareKeysResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::ShareKeysResponseDefaultTypeInternal208   PROTOBUF_CONSTEXPR ShareKeysResponseDefaultTypeInternal()
209       : _instance(::_pbi::ConstantInitialized{}) {}
~ShareKeysResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::ShareKeysResponseDefaultTypeInternal210   ~ShareKeysResponseDefaultTypeInternal() {}
211   union {  // NOLINT(misc-non-private-member-variables-in-classes)
212     ShareKeysResponse _instance;
213   };
214 };
215 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ShareKeysResponseDefaultTypeInternal _ShareKeysResponse_default_instance_;
SubmitSecureAggregationResultRequest(::_pbi::ConstantInitialized)216 PROTOBUF_CONSTEXPR SubmitSecureAggregationResultRequest::SubmitSecureAggregationResultRequest(
217     ::_pbi::ConstantInitialized): _impl_{
218     /*decltype(_impl_.aggregation_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
219   , /*decltype(_impl_.client_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
220   , /*decltype(_impl_.masked_result_resource_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
221   , /*decltype(_impl_.nonmasked_result_resource_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
222   , /*decltype(_impl_._cached_size_)*/{}} {}
223 struct SubmitSecureAggregationResultRequestDefaultTypeInternal {
SubmitSecureAggregationResultRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::SubmitSecureAggregationResultRequestDefaultTypeInternal224   PROTOBUF_CONSTEXPR SubmitSecureAggregationResultRequestDefaultTypeInternal()
225       : _instance(::_pbi::ConstantInitialized{}) {}
~SubmitSecureAggregationResultRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::SubmitSecureAggregationResultRequestDefaultTypeInternal226   ~SubmitSecureAggregationResultRequestDefaultTypeInternal() {}
227   union {  // NOLINT(misc-non-private-member-variables-in-classes)
228     SubmitSecureAggregationResultRequest _instance;
229   };
230 };
231 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitSecureAggregationResultRequestDefaultTypeInternal _SubmitSecureAggregationResultRequest_default_instance_;
SubmitSecureAggregationResultMetadata(::_pbi::ConstantInitialized)232 PROTOBUF_CONSTEXPR SubmitSecureAggregationResultMetadata::SubmitSecureAggregationResultMetadata(
233     ::_pbi::ConstantInitialized): _impl_{
234     /*decltype(_impl_.polling_interval_)*/nullptr
235   , /*decltype(_impl_._cached_size_)*/{}} {}
236 struct SubmitSecureAggregationResultMetadataDefaultTypeInternal {
SubmitSecureAggregationResultMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::SubmitSecureAggregationResultMetadataDefaultTypeInternal237   PROTOBUF_CONSTEXPR SubmitSecureAggregationResultMetadataDefaultTypeInternal()
238       : _instance(::_pbi::ConstantInitialized{}) {}
~SubmitSecureAggregationResultMetadataDefaultTypeInternalgoogle::internal::federatedcompute::v1::SubmitSecureAggregationResultMetadataDefaultTypeInternal239   ~SubmitSecureAggregationResultMetadataDefaultTypeInternal() {}
240   union {  // NOLINT(misc-non-private-member-variables-in-classes)
241     SubmitSecureAggregationResultMetadata _instance;
242   };
243 };
244 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitSecureAggregationResultMetadataDefaultTypeInternal _SubmitSecureAggregationResultMetadata_default_instance_;
SubmitSecureAggregationResultResponse(::_pbi::ConstantInitialized)245 PROTOBUF_CONSTEXPR SubmitSecureAggregationResultResponse::SubmitSecureAggregationResultResponse(
246     ::_pbi::ConstantInitialized): _impl_{
247     /*decltype(_impl_.unmasking_server_request_)*/nullptr
248   , /*decltype(_impl_._cached_size_)*/{}} {}
249 struct SubmitSecureAggregationResultResponseDefaultTypeInternal {
SubmitSecureAggregationResultResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::SubmitSecureAggregationResultResponseDefaultTypeInternal250   PROTOBUF_CONSTEXPR SubmitSecureAggregationResultResponseDefaultTypeInternal()
251       : _instance(::_pbi::ConstantInitialized{}) {}
~SubmitSecureAggregationResultResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::SubmitSecureAggregationResultResponseDefaultTypeInternal252   ~SubmitSecureAggregationResultResponseDefaultTypeInternal() {}
253   union {  // NOLINT(misc-non-private-member-variables-in-classes)
254     SubmitSecureAggregationResultResponse _instance;
255   };
256 };
257 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitSecureAggregationResultResponseDefaultTypeInternal _SubmitSecureAggregationResultResponse_default_instance_;
UnmaskRequest(::_pbi::ConstantInitialized)258 PROTOBUF_CONSTEXPR UnmaskRequest::UnmaskRequest(
259     ::_pbi::ConstantInitialized): _impl_{
260     /*decltype(_impl_.aggregation_id_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
261   , /*decltype(_impl_.client_token_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
262   , /*decltype(_impl_.unmasking_client_response_)*/nullptr
263   , /*decltype(_impl_._cached_size_)*/{}} {}
264 struct UnmaskRequestDefaultTypeInternal {
UnmaskRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::UnmaskRequestDefaultTypeInternal265   PROTOBUF_CONSTEXPR UnmaskRequestDefaultTypeInternal()
266       : _instance(::_pbi::ConstantInitialized{}) {}
~UnmaskRequestDefaultTypeInternalgoogle::internal::federatedcompute::v1::UnmaskRequestDefaultTypeInternal267   ~UnmaskRequestDefaultTypeInternal() {}
268   union {  // NOLINT(misc-non-private-member-variables-in-classes)
269     UnmaskRequest _instance;
270   };
271 };
272 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnmaskRequestDefaultTypeInternal _UnmaskRequest_default_instance_;
UnmaskResponse(::_pbi::ConstantInitialized)273 PROTOBUF_CONSTEXPR UnmaskResponse::UnmaskResponse(
274     ::_pbi::ConstantInitialized): _impl_{
275     /*decltype(_impl_._cached_size_)*/{}} {}
276 struct UnmaskResponseDefaultTypeInternal {
UnmaskResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::UnmaskResponseDefaultTypeInternal277   PROTOBUF_CONSTEXPR UnmaskResponseDefaultTypeInternal()
278       : _instance(::_pbi::ConstantInitialized{}) {}
~UnmaskResponseDefaultTypeInternalgoogle::internal::federatedcompute::v1::UnmaskResponseDefaultTypeInternal279   ~UnmaskResponseDefaultTypeInternal() {}
280   union {  // NOLINT(misc-non-private-member-variables-in-classes)
281     UnmaskResponse _instance;
282   };
283 };
284 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnmaskResponseDefaultTypeInternal _UnmaskResponse_default_instance_;
285 }  // namespace v1
286 }  // namespace federatedcompute
287 }  // namespace internal
288 }  // namespace google
289 namespace google {
290 namespace internal {
291 namespace federatedcompute {
292 namespace v1 {
293 
294 // ===================================================================
295 
296 class StartSecureAggregationRequest::_Internal {
297  public:
298 };
299 
StartSecureAggregationRequest(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)300 StartSecureAggregationRequest::StartSecureAggregationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
301                          bool is_message_owned)
302   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
303   SharedCtor(arena, is_message_owned);
304   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
305 }
StartSecureAggregationRequest(const StartSecureAggregationRequest & from)306 StartSecureAggregationRequest::StartSecureAggregationRequest(const StartSecureAggregationRequest& from)
307   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
308   StartSecureAggregationRequest* const _this = this; (void)_this;
309   new (&_impl_) Impl_{
310       decltype(_impl_.aggregation_id_){}
311     , decltype(_impl_.authorization_token_){}
312     , /*decltype(_impl_._cached_size_)*/{}};
313 
314   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
315   _impl_.aggregation_id_.InitDefault();
316   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
317     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
318   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
319   if (!from._internal_aggregation_id().empty()) {
320     _this->_impl_.aggregation_id_.Set(from._internal_aggregation_id(),
321       _this->GetArenaForAllocation());
322   }
323   _impl_.authorization_token_.InitDefault();
324   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
325     _impl_.authorization_token_.Set("", GetArenaForAllocation());
326   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
327   if (!from._internal_authorization_token().empty()) {
328     _this->_impl_.authorization_token_.Set(from._internal_authorization_token(),
329       _this->GetArenaForAllocation());
330   }
331   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
332 }
333 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)334 inline void StartSecureAggregationRequest::SharedCtor(
335     ::_pb::Arena* arena, bool is_message_owned) {
336   (void)arena;
337   (void)is_message_owned;
338   new (&_impl_) Impl_{
339       decltype(_impl_.aggregation_id_){}
340     , decltype(_impl_.authorization_token_){}
341     , /*decltype(_impl_._cached_size_)*/{}
342   };
343   _impl_.aggregation_id_.InitDefault();
344   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
345     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
346   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
347   _impl_.authorization_token_.InitDefault();
348   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
349     _impl_.authorization_token_.Set("", GetArenaForAllocation());
350   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
351 }
352 
~StartSecureAggregationRequest()353 StartSecureAggregationRequest::~StartSecureAggregationRequest() {
354   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
355   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
356   (void)arena;
357     return;
358   }
359   SharedDtor();
360 }
361 
SharedDtor()362 inline void StartSecureAggregationRequest::SharedDtor() {
363   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
364   _impl_.aggregation_id_.Destroy();
365   _impl_.authorization_token_.Destroy();
366 }
367 
SetCachedSize(int size) const368 void StartSecureAggregationRequest::SetCachedSize(int size) const {
369   _impl_._cached_size_.Set(size);
370 }
371 
Clear()372 void StartSecureAggregationRequest::Clear() {
373 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
374   ::uint32_t cached_has_bits = 0;
375   // Prevent compiler warnings about cached_has_bits being unused
376   (void) cached_has_bits;
377 
378   _impl_.aggregation_id_.ClearToEmpty();
379   _impl_.authorization_token_.ClearToEmpty();
380   _internal_metadata_.Clear<std::string>();
381 }
382 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)383 const char* StartSecureAggregationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
384 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
385   while (!ctx->Done(&ptr)) {
386     ::uint32_t tag;
387     ptr = ::_pbi::ReadTag(ptr, &tag);
388     switch (tag >> 3) {
389       // string aggregation_id = 1;
390       case 1:
391         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
392           auto str = _internal_mutable_aggregation_id();
393           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
394           CHK_(ptr);
395           CHK_(::_pbi::VerifyUTF8(str, nullptr));
396         } else {
397           goto handle_unusual;
398         }
399         continue;
400       // string authorization_token = 2;
401       case 2:
402         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
403           auto str = _internal_mutable_authorization_token();
404           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
405           CHK_(ptr);
406           CHK_(::_pbi::VerifyUTF8(str, nullptr));
407         } else {
408           goto handle_unusual;
409         }
410         continue;
411       default:
412         goto handle_unusual;
413     }  // switch
414   handle_unusual:
415     if ((tag == 0) || ((tag & 7) == 4)) {
416       CHK_(ptr);
417       ctx->SetLastTag(tag);
418       goto message_done;
419     }
420     ptr = UnknownFieldParse(
421         tag,
422         _internal_metadata_.mutable_unknown_fields<std::string>(),
423         ptr, ctx);
424     CHK_(ptr != nullptr);
425   }  // while
426 message_done:
427   return ptr;
428 failure:
429   ptr = nullptr;
430   goto message_done;
431 #undef CHK_
432 }
433 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const434 ::uint8_t* StartSecureAggregationRequest::_InternalSerialize(
435     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
436   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
437   ::uint32_t cached_has_bits = 0;
438   (void) cached_has_bits;
439 
440   // string aggregation_id = 1;
441   if (!this->_internal_aggregation_id().empty()) {
442     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
443       this->_internal_aggregation_id().data(), static_cast<int>(this->_internal_aggregation_id().length()),
444       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
445       "google.internal.federatedcompute.v1.StartSecureAggregationRequest.aggregation_id");
446     target = stream->WriteStringMaybeAliased(
447         1, this->_internal_aggregation_id(), target);
448   }
449 
450   // string authorization_token = 2;
451   if (!this->_internal_authorization_token().empty()) {
452     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
453       this->_internal_authorization_token().data(), static_cast<int>(this->_internal_authorization_token().length()),
454       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
455       "google.internal.federatedcompute.v1.StartSecureAggregationRequest.authorization_token");
456     target = stream->WriteStringMaybeAliased(
457         2, this->_internal_authorization_token(), target);
458   }
459 
460   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
461     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
462         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
463   }
464   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
465   return target;
466 }
467 
ByteSizeLong() const468 size_t StartSecureAggregationRequest::ByteSizeLong() const {
469 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
470   size_t total_size = 0;
471 
472   ::uint32_t cached_has_bits = 0;
473   // Prevent compiler warnings about cached_has_bits being unused
474   (void) cached_has_bits;
475 
476   // string aggregation_id = 1;
477   if (!this->_internal_aggregation_id().empty()) {
478     total_size += 1 +
479       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
480         this->_internal_aggregation_id());
481   }
482 
483   // string authorization_token = 2;
484   if (!this->_internal_authorization_token().empty()) {
485     total_size += 1 +
486       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
487         this->_internal_authorization_token());
488   }
489 
490   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
491     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
492   }
493   int cached_size = ::_pbi::ToCachedSize(total_size);
494   SetCachedSize(cached_size);
495   return total_size;
496 }
497 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)498 void StartSecureAggregationRequest::CheckTypeAndMergeFrom(
499     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
500   MergeFrom(*::_pbi::DownCast<const StartSecureAggregationRequest*>(
501       &from));
502 }
503 
MergeFrom(const StartSecureAggregationRequest & from)504 void StartSecureAggregationRequest::MergeFrom(const StartSecureAggregationRequest& from) {
505   StartSecureAggregationRequest* const _this = this;
506   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
507   GOOGLE_DCHECK_NE(&from, _this);
508   ::uint32_t cached_has_bits = 0;
509   (void) cached_has_bits;
510 
511   if (!from._internal_aggregation_id().empty()) {
512     _this->_internal_set_aggregation_id(from._internal_aggregation_id());
513   }
514   if (!from._internal_authorization_token().empty()) {
515     _this->_internal_set_authorization_token(from._internal_authorization_token());
516   }
517   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
518 }
519 
CopyFrom(const StartSecureAggregationRequest & from)520 void StartSecureAggregationRequest::CopyFrom(const StartSecureAggregationRequest& from) {
521 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.StartSecureAggregationRequest)
522   if (&from == this) return;
523   Clear();
524   MergeFrom(from);
525 }
526 
IsInitialized() const527 bool StartSecureAggregationRequest::IsInitialized() const {
528   return true;
529 }
530 
InternalSwap(StartSecureAggregationRequest * other)531 void StartSecureAggregationRequest::InternalSwap(StartSecureAggregationRequest* other) {
532   using std::swap;
533   auto* lhs_arena = GetArenaForAllocation();
534   auto* rhs_arena = other->GetArenaForAllocation();
535   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
536   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
537       &_impl_.aggregation_id_, lhs_arena,
538       &other->_impl_.aggregation_id_, rhs_arena
539   );
540   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
541       &_impl_.authorization_token_, lhs_arena,
542       &other->_impl_.authorization_token_, rhs_arena
543   );
544 }
545 
GetTypeName() const546 std::string StartSecureAggregationRequest::GetTypeName() const {
547   return "google.internal.federatedcompute.v1.StartSecureAggregationRequest";
548 }
549 
550 
551 // ===================================================================
552 
553 class StartSecureAggregationMetadata::_Internal {
554  public:
555 };
556 
StartSecureAggregationMetadata(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)557 StartSecureAggregationMetadata::StartSecureAggregationMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
558                          bool is_message_owned)
559   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
560   SharedCtor(arena, is_message_owned);
561   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
562 }
StartSecureAggregationMetadata(const StartSecureAggregationMetadata & from)563 StartSecureAggregationMetadata::StartSecureAggregationMetadata(const StartSecureAggregationMetadata& from)
564   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
565   StartSecureAggregationMetadata* const _this = this; (void)_this;
566   new (&_impl_) Impl_{
567       /*decltype(_impl_._cached_size_)*/{}};
568 
569   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
570   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
571 }
572 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)573 inline void StartSecureAggregationMetadata::SharedCtor(
574     ::_pb::Arena* arena, bool is_message_owned) {
575   (void)arena;
576   (void)is_message_owned;
577   new (&_impl_) Impl_{
578       /*decltype(_impl_._cached_size_)*/{}
579   };
580 }
581 
~StartSecureAggregationMetadata()582 StartSecureAggregationMetadata::~StartSecureAggregationMetadata() {
583   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
584   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
585   (void)arena;
586     return;
587   }
588   SharedDtor();
589 }
590 
SharedDtor()591 inline void StartSecureAggregationMetadata::SharedDtor() {
592   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
593 }
594 
SetCachedSize(int size) const595 void StartSecureAggregationMetadata::SetCachedSize(int size) const {
596   _impl_._cached_size_.Set(size);
597 }
598 
Clear()599 void StartSecureAggregationMetadata::Clear() {
600 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
601   ::uint32_t cached_has_bits = 0;
602   // Prevent compiler warnings about cached_has_bits being unused
603   (void) cached_has_bits;
604 
605   _internal_metadata_.Clear<std::string>();
606 }
607 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)608 const char* StartSecureAggregationMetadata::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
609 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
610   while (!ctx->Done(&ptr)) {
611     ::uint32_t tag;
612     ptr = ::_pbi::ReadTag(ptr, &tag);
613     if ((tag == 0) || ((tag & 7) == 4)) {
614       CHK_(ptr);
615       ctx->SetLastTag(tag);
616       goto message_done;
617     }
618     ptr = UnknownFieldParse(
619         tag,
620         _internal_metadata_.mutable_unknown_fields<std::string>(),
621         ptr, ctx);
622     CHK_(ptr != nullptr);
623   }  // while
624 message_done:
625   return ptr;
626 failure:
627   ptr = nullptr;
628   goto message_done;
629 #undef CHK_
630 }
631 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const632 ::uint8_t* StartSecureAggregationMetadata::_InternalSerialize(
633     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
634   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
635   ::uint32_t cached_has_bits = 0;
636   (void) cached_has_bits;
637 
638   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
639     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
640         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
641   }
642   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
643   return target;
644 }
645 
ByteSizeLong() const646 size_t StartSecureAggregationMetadata::ByteSizeLong() const {
647 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
648   size_t total_size = 0;
649 
650   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
651     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
652   }
653   int cached_size = ::_pbi::ToCachedSize(total_size);
654   SetCachedSize(cached_size);
655   return total_size;
656 }
657 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)658 void StartSecureAggregationMetadata::CheckTypeAndMergeFrom(
659     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
660   MergeFrom(*::_pbi::DownCast<const StartSecureAggregationMetadata*>(
661       &from));
662 }
663 
MergeFrom(const StartSecureAggregationMetadata & from)664 void StartSecureAggregationMetadata::MergeFrom(const StartSecureAggregationMetadata& from) {
665   StartSecureAggregationMetadata* const _this = this;
666   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
667   GOOGLE_DCHECK_NE(&from, _this);
668   ::uint32_t cached_has_bits = 0;
669   (void) cached_has_bits;
670 
671   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
672 }
673 
CopyFrom(const StartSecureAggregationMetadata & from)674 void StartSecureAggregationMetadata::CopyFrom(const StartSecureAggregationMetadata& from) {
675 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.StartSecureAggregationMetadata)
676   if (&from == this) return;
677   Clear();
678   MergeFrom(from);
679 }
680 
IsInitialized() const681 bool StartSecureAggregationMetadata::IsInitialized() const {
682   return true;
683 }
684 
InternalSwap(StartSecureAggregationMetadata * other)685 void StartSecureAggregationMetadata::InternalSwap(StartSecureAggregationMetadata* other) {
686   using std::swap;
687   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
688 }
689 
GetTypeName() const690 std::string StartSecureAggregationMetadata::GetTypeName() const {
691   return "google.internal.federatedcompute.v1.StartSecureAggregationMetadata";
692 }
693 
694 
695 // ===================================================================
696 
StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse()697 StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse() {}
StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena * arena)698 StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
699     : SuperType(arena) {}
MergeFrom(const StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse & other)700 void StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse::MergeFrom(const StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse& other) {
701   MergeFromInternal(other);
702 }
703 
704 // ===================================================================
705 
706 class StartSecureAggregationResponse::_Internal {
707  public:
708   static const ::google::internal::federatedcompute::v1::ForwardingInfo& secagg_protocol_forwarding_info(const StartSecureAggregationResponse* msg);
709   static const ::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo& protocol_execution_info(const StartSecureAggregationResponse* msg);
710   static const ::google::internal::federatedcompute::v1::ByteStreamResource& masked_result_resource(const StartSecureAggregationResponse* msg);
711   static const ::google::internal::federatedcompute::v1::ByteStreamResource& nonmasked_result_resource(const StartSecureAggregationResponse* msg);
712 };
713 
714 const ::google::internal::federatedcompute::v1::ForwardingInfo&
secagg_protocol_forwarding_info(const StartSecureAggregationResponse * msg)715 StartSecureAggregationResponse::_Internal::secagg_protocol_forwarding_info(const StartSecureAggregationResponse* msg) {
716   return *msg->_impl_.secagg_protocol_forwarding_info_;
717 }
718 const ::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo&
protocol_execution_info(const StartSecureAggregationResponse * msg)719 StartSecureAggregationResponse::_Internal::protocol_execution_info(const StartSecureAggregationResponse* msg) {
720   return *msg->_impl_.protocol_execution_info_;
721 }
722 const ::google::internal::federatedcompute::v1::ByteStreamResource&
masked_result_resource(const StartSecureAggregationResponse * msg)723 StartSecureAggregationResponse::_Internal::masked_result_resource(const StartSecureAggregationResponse* msg) {
724   return *msg->_impl_.masked_result_resource_;
725 }
726 const ::google::internal::federatedcompute::v1::ByteStreamResource&
nonmasked_result_resource(const StartSecureAggregationResponse * msg)727 StartSecureAggregationResponse::_Internal::nonmasked_result_resource(const StartSecureAggregationResponse* msg) {
728   return *msg->_impl_.nonmasked_result_resource_;
729 }
clear_secagg_protocol_forwarding_info()730 void StartSecureAggregationResponse::clear_secagg_protocol_forwarding_info() {
731   if (GetArenaForAllocation() == nullptr && _impl_.secagg_protocol_forwarding_info_ != nullptr) {
732     delete _impl_.secagg_protocol_forwarding_info_;
733   }
734   _impl_.secagg_protocol_forwarding_info_ = nullptr;
735 }
clear_masked_result_resource()736 void StartSecureAggregationResponse::clear_masked_result_resource() {
737   if (GetArenaForAllocation() == nullptr && _impl_.masked_result_resource_ != nullptr) {
738     delete _impl_.masked_result_resource_;
739   }
740   _impl_.masked_result_resource_ = nullptr;
741 }
clear_nonmasked_result_resource()742 void StartSecureAggregationResponse::clear_nonmasked_result_resource() {
743   if (GetArenaForAllocation() == nullptr && _impl_.nonmasked_result_resource_ != nullptr) {
744     delete _impl_.nonmasked_result_resource_;
745   }
746   _impl_.nonmasked_result_resource_ = nullptr;
747 }
StartSecureAggregationResponse(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)748 StartSecureAggregationResponse::StartSecureAggregationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
749                          bool is_message_owned)
750   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
751   SharedCtor(arena, is_message_owned);
752   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
753 }
StartSecureAggregationResponse(const StartSecureAggregationResponse & from)754 StartSecureAggregationResponse::StartSecureAggregationResponse(const StartSecureAggregationResponse& from)
755   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
756   StartSecureAggregationResponse* const _this = this; (void)_this;
757   new (&_impl_) Impl_{
758       /*decltype(_impl_.secure_aggregands_)*/{}
759     , decltype(_impl_.client_token_){}
760     , decltype(_impl_.secagg_protocol_forwarding_info_){nullptr}
761     , decltype(_impl_.protocol_execution_info_){nullptr}
762     , decltype(_impl_.masked_result_resource_){nullptr}
763     , decltype(_impl_.nonmasked_result_resource_){nullptr}
764     , /*decltype(_impl_._cached_size_)*/{}};
765 
766   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
767   _this->_impl_.secure_aggregands_.MergeFrom(from._impl_.secure_aggregands_);
768   _impl_.client_token_.InitDefault();
769   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
770     _impl_.client_token_.Set("", GetArenaForAllocation());
771   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
772   if (!from._internal_client_token().empty()) {
773     _this->_impl_.client_token_.Set(from._internal_client_token(),
774       _this->GetArenaForAllocation());
775   }
776   if (from._internal_has_secagg_protocol_forwarding_info()) {
777     _this->_impl_.secagg_protocol_forwarding_info_ = new ::google::internal::federatedcompute::v1::ForwardingInfo(*from._impl_.secagg_protocol_forwarding_info_);
778   }
779   if (from._internal_has_protocol_execution_info()) {
780     _this->_impl_.protocol_execution_info_ = new ::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo(*from._impl_.protocol_execution_info_);
781   }
782   if (from._internal_has_masked_result_resource()) {
783     _this->_impl_.masked_result_resource_ = new ::google::internal::federatedcompute::v1::ByteStreamResource(*from._impl_.masked_result_resource_);
784   }
785   if (from._internal_has_nonmasked_result_resource()) {
786     _this->_impl_.nonmasked_result_resource_ = new ::google::internal::federatedcompute::v1::ByteStreamResource(*from._impl_.nonmasked_result_resource_);
787   }
788   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
789 }
790 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)791 inline void StartSecureAggregationResponse::SharedCtor(
792     ::_pb::Arena* arena, bool is_message_owned) {
793   (void)arena;
794   (void)is_message_owned;
795   new (&_impl_) Impl_{
796       /*decltype(_impl_.secure_aggregands_)*/{::_pbi::ArenaInitialized(), arena}
797     , decltype(_impl_.client_token_){}
798     , decltype(_impl_.secagg_protocol_forwarding_info_){nullptr}
799     , decltype(_impl_.protocol_execution_info_){nullptr}
800     , decltype(_impl_.masked_result_resource_){nullptr}
801     , decltype(_impl_.nonmasked_result_resource_){nullptr}
802     , /*decltype(_impl_._cached_size_)*/{}
803   };
804   _impl_.client_token_.InitDefault();
805   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
806     _impl_.client_token_.Set("", GetArenaForAllocation());
807   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
808 }
809 
~StartSecureAggregationResponse()810 StartSecureAggregationResponse::~StartSecureAggregationResponse() {
811   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
812   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
813   (void)arena;
814     return;
815   }
816   SharedDtor();
817 }
818 
SharedDtor()819 inline void StartSecureAggregationResponse::SharedDtor() {
820   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
821   _impl_.secure_aggregands_.Destruct();
822   _impl_.secure_aggregands_.~MapFieldLite();
823   _impl_.client_token_.Destroy();
824   if (this != internal_default_instance()) delete _impl_.secagg_protocol_forwarding_info_;
825   if (this != internal_default_instance()) delete _impl_.protocol_execution_info_;
826   if (this != internal_default_instance()) delete _impl_.masked_result_resource_;
827   if (this != internal_default_instance()) delete _impl_.nonmasked_result_resource_;
828 }
829 
SetCachedSize(int size) const830 void StartSecureAggregationResponse::SetCachedSize(int size) const {
831   _impl_._cached_size_.Set(size);
832 }
833 
Clear()834 void StartSecureAggregationResponse::Clear() {
835 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
836   ::uint32_t cached_has_bits = 0;
837   // Prevent compiler warnings about cached_has_bits being unused
838   (void) cached_has_bits;
839 
840   _impl_.secure_aggregands_.Clear();
841   _impl_.client_token_.ClearToEmpty();
842   if (GetArenaForAllocation() == nullptr && _impl_.secagg_protocol_forwarding_info_ != nullptr) {
843     delete _impl_.secagg_protocol_forwarding_info_;
844   }
845   _impl_.secagg_protocol_forwarding_info_ = nullptr;
846   if (GetArenaForAllocation() == nullptr && _impl_.protocol_execution_info_ != nullptr) {
847     delete _impl_.protocol_execution_info_;
848   }
849   _impl_.protocol_execution_info_ = nullptr;
850   if (GetArenaForAllocation() == nullptr && _impl_.masked_result_resource_ != nullptr) {
851     delete _impl_.masked_result_resource_;
852   }
853   _impl_.masked_result_resource_ = nullptr;
854   if (GetArenaForAllocation() == nullptr && _impl_.nonmasked_result_resource_ != nullptr) {
855     delete _impl_.nonmasked_result_resource_;
856   }
857   _impl_.nonmasked_result_resource_ = nullptr;
858   _internal_metadata_.Clear<std::string>();
859 }
860 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)861 const char* StartSecureAggregationResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
862 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
863   while (!ctx->Done(&ptr)) {
864     ::uint32_t tag;
865     ptr = ::_pbi::ReadTag(ptr, &tag);
866     switch (tag >> 3) {
867       // .google.internal.federatedcompute.v1.ForwardingInfo secagg_protocol_forwarding_info = 1;
868       case 1:
869         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
870           ptr = ctx->ParseMessage(_internal_mutable_secagg_protocol_forwarding_info(), ptr);
871           CHK_(ptr);
872         } else {
873           goto handle_unusual;
874         }
875         continue;
876       // map<string, .google.internal.federatedcompute.v1.SecureAggregandExecutionInfo> secure_aggregands = 2;
877       case 2:
878         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
879           ptr -= 1;
880           do {
881             ptr += 1;
882             ptr = ctx->ParseMessage(&_impl_.secure_aggregands_, ptr);
883             CHK_(ptr);
884             if (!ctx->DataAvailable(ptr)) break;
885           } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
886         } else {
887           goto handle_unusual;
888         }
889         continue;
890       // .google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo protocol_execution_info = 3;
891       case 3:
892         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
893           ptr = ctx->ParseMessage(_internal_mutable_protocol_execution_info(), ptr);
894           CHK_(ptr);
895         } else {
896           goto handle_unusual;
897         }
898         continue;
899       // .google.internal.federatedcompute.v1.ByteStreamResource masked_result_resource = 4;
900       case 4:
901         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
902           ptr = ctx->ParseMessage(_internal_mutable_masked_result_resource(), ptr);
903           CHK_(ptr);
904         } else {
905           goto handle_unusual;
906         }
907         continue;
908       // .google.internal.federatedcompute.v1.ByteStreamResource nonmasked_result_resource = 5;
909       case 5:
910         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
911           ptr = ctx->ParseMessage(_internal_mutable_nonmasked_result_resource(), ptr);
912           CHK_(ptr);
913         } else {
914           goto handle_unusual;
915         }
916         continue;
917       // string client_token = 6;
918       case 6:
919         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
920           auto str = _internal_mutable_client_token();
921           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
922           CHK_(ptr);
923           CHK_(::_pbi::VerifyUTF8(str, nullptr));
924         } else {
925           goto handle_unusual;
926         }
927         continue;
928       default:
929         goto handle_unusual;
930     }  // switch
931   handle_unusual:
932     if ((tag == 0) || ((tag & 7) == 4)) {
933       CHK_(ptr);
934       ctx->SetLastTag(tag);
935       goto message_done;
936     }
937     ptr = UnknownFieldParse(
938         tag,
939         _internal_metadata_.mutable_unknown_fields<std::string>(),
940         ptr, ctx);
941     CHK_(ptr != nullptr);
942   }  // while
943 message_done:
944   return ptr;
945 failure:
946   ptr = nullptr;
947   goto message_done;
948 #undef CHK_
949 }
950 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const951 ::uint8_t* StartSecureAggregationResponse::_InternalSerialize(
952     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
953   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
954   ::uint32_t cached_has_bits = 0;
955   (void) cached_has_bits;
956 
957   // .google.internal.federatedcompute.v1.ForwardingInfo secagg_protocol_forwarding_info = 1;
958   if (this->_internal_has_secagg_protocol_forwarding_info()) {
959     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
960       InternalWriteMessage(1, _Internal::secagg_protocol_forwarding_info(this),
961         _Internal::secagg_protocol_forwarding_info(this).GetCachedSize(), target, stream);
962   }
963 
964   // map<string, .google.internal.federatedcompute.v1.SecureAggregandExecutionInfo> secure_aggregands = 2;
965   if (!this->_internal_secure_aggregands().empty()) {
966     using MapType = ::_pb::Map<std::string, ::google::internal::federatedcompute::v1::SecureAggregandExecutionInfo>;
967     using WireHelper = StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse::Funcs;
968     const auto& map_field = this->_internal_secure_aggregands();
969     auto check_utf8 = [](const MapType::value_type& entry) {
970       (void)entry;
971       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
972         entry.first.data(), static_cast<int>(entry.first.length()),
973         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
974         "google.internal.federatedcompute.v1.StartSecureAggregationResponse.SecureAggregandsEntry.key");
975     };
976 
977     if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
978       for (const auto& entry : ::_pbi::MapSorterPtr<MapType>(map_field)) {
979         target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream);
980         check_utf8(entry);
981       }
982     } else {
983       for (const auto& entry : map_field) {
984         target = WireHelper::InternalSerialize(2, entry.first, entry.second, target, stream);
985         check_utf8(entry);
986       }
987     }
988   }
989 
990   // .google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo protocol_execution_info = 3;
991   if (this->_internal_has_protocol_execution_info()) {
992     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
993       InternalWriteMessage(3, _Internal::protocol_execution_info(this),
994         _Internal::protocol_execution_info(this).GetCachedSize(), target, stream);
995   }
996 
997   // .google.internal.federatedcompute.v1.ByteStreamResource masked_result_resource = 4;
998   if (this->_internal_has_masked_result_resource()) {
999     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1000       InternalWriteMessage(4, _Internal::masked_result_resource(this),
1001         _Internal::masked_result_resource(this).GetCachedSize(), target, stream);
1002   }
1003 
1004   // .google.internal.federatedcompute.v1.ByteStreamResource nonmasked_result_resource = 5;
1005   if (this->_internal_has_nonmasked_result_resource()) {
1006     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1007       InternalWriteMessage(5, _Internal::nonmasked_result_resource(this),
1008         _Internal::nonmasked_result_resource(this).GetCachedSize(), target, stream);
1009   }
1010 
1011   // string client_token = 6;
1012   if (!this->_internal_client_token().empty()) {
1013     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1014       this->_internal_client_token().data(), static_cast<int>(this->_internal_client_token().length()),
1015       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1016       "google.internal.federatedcompute.v1.StartSecureAggregationResponse.client_token");
1017     target = stream->WriteStringMaybeAliased(
1018         6, this->_internal_client_token(), target);
1019   }
1020 
1021   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1022     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1023         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1024   }
1025   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
1026   return target;
1027 }
1028 
ByteSizeLong() const1029 size_t StartSecureAggregationResponse::ByteSizeLong() const {
1030 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
1031   size_t total_size = 0;
1032 
1033   ::uint32_t cached_has_bits = 0;
1034   // Prevent compiler warnings about cached_has_bits being unused
1035   (void) cached_has_bits;
1036 
1037   // map<string, .google.internal.federatedcompute.v1.SecureAggregandExecutionInfo> secure_aggregands = 2;
1038   total_size += 1 *
1039       ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_secure_aggregands_size());
1040   for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::google::internal::federatedcompute::v1::SecureAggregandExecutionInfo >::const_iterator
1041       it = this->_internal_secure_aggregands().begin();
1042       it != this->_internal_secure_aggregands().end(); ++it) {
1043     total_size += StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1044   }
1045 
1046   // string client_token = 6;
1047   if (!this->_internal_client_token().empty()) {
1048     total_size += 1 +
1049       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1050         this->_internal_client_token());
1051   }
1052 
1053   // .google.internal.federatedcompute.v1.ForwardingInfo secagg_protocol_forwarding_info = 1;
1054   if (this->_internal_has_secagg_protocol_forwarding_info()) {
1055     total_size += 1 +
1056       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1057         *_impl_.secagg_protocol_forwarding_info_);
1058   }
1059 
1060   // .google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo protocol_execution_info = 3;
1061   if (this->_internal_has_protocol_execution_info()) {
1062     total_size += 1 +
1063       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1064         *_impl_.protocol_execution_info_);
1065   }
1066 
1067   // .google.internal.federatedcompute.v1.ByteStreamResource masked_result_resource = 4;
1068   if (this->_internal_has_masked_result_resource()) {
1069     total_size += 1 +
1070       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1071         *_impl_.masked_result_resource_);
1072   }
1073 
1074   // .google.internal.federatedcompute.v1.ByteStreamResource nonmasked_result_resource = 5;
1075   if (this->_internal_has_nonmasked_result_resource()) {
1076     total_size += 1 +
1077       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1078         *_impl_.nonmasked_result_resource_);
1079   }
1080 
1081   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1082     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1083   }
1084   int cached_size = ::_pbi::ToCachedSize(total_size);
1085   SetCachedSize(cached_size);
1086   return total_size;
1087 }
1088 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1089 void StartSecureAggregationResponse::CheckTypeAndMergeFrom(
1090     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1091   MergeFrom(*::_pbi::DownCast<const StartSecureAggregationResponse*>(
1092       &from));
1093 }
1094 
MergeFrom(const StartSecureAggregationResponse & from)1095 void StartSecureAggregationResponse::MergeFrom(const StartSecureAggregationResponse& from) {
1096   StartSecureAggregationResponse* const _this = this;
1097   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
1098   GOOGLE_DCHECK_NE(&from, _this);
1099   ::uint32_t cached_has_bits = 0;
1100   (void) cached_has_bits;
1101 
1102   _this->_impl_.secure_aggregands_.MergeFrom(from._impl_.secure_aggregands_);
1103   if (!from._internal_client_token().empty()) {
1104     _this->_internal_set_client_token(from._internal_client_token());
1105   }
1106   if (from._internal_has_secagg_protocol_forwarding_info()) {
1107     _this->_internal_mutable_secagg_protocol_forwarding_info()->::google::internal::federatedcompute::v1::ForwardingInfo::MergeFrom(
1108         from._internal_secagg_protocol_forwarding_info());
1109   }
1110   if (from._internal_has_protocol_execution_info()) {
1111     _this->_internal_mutable_protocol_execution_info()->::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo::MergeFrom(
1112         from._internal_protocol_execution_info());
1113   }
1114   if (from._internal_has_masked_result_resource()) {
1115     _this->_internal_mutable_masked_result_resource()->::google::internal::federatedcompute::v1::ByteStreamResource::MergeFrom(
1116         from._internal_masked_result_resource());
1117   }
1118   if (from._internal_has_nonmasked_result_resource()) {
1119     _this->_internal_mutable_nonmasked_result_resource()->::google::internal::federatedcompute::v1::ByteStreamResource::MergeFrom(
1120         from._internal_nonmasked_result_resource());
1121   }
1122   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1123 }
1124 
CopyFrom(const StartSecureAggregationResponse & from)1125 void StartSecureAggregationResponse::CopyFrom(const StartSecureAggregationResponse& from) {
1126 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.StartSecureAggregationResponse)
1127   if (&from == this) return;
1128   Clear();
1129   MergeFrom(from);
1130 }
1131 
IsInitialized() const1132 bool StartSecureAggregationResponse::IsInitialized() const {
1133   return true;
1134 }
1135 
InternalSwap(StartSecureAggregationResponse * other)1136 void StartSecureAggregationResponse::InternalSwap(StartSecureAggregationResponse* other) {
1137   using std::swap;
1138   auto* lhs_arena = GetArenaForAllocation();
1139   auto* rhs_arena = other->GetArenaForAllocation();
1140   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1141   _impl_.secure_aggregands_.InternalSwap(&other->_impl_.secure_aggregands_);
1142   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1143       &_impl_.client_token_, lhs_arena,
1144       &other->_impl_.client_token_, rhs_arena
1145   );
1146   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1147       PROTOBUF_FIELD_OFFSET(StartSecureAggregationResponse, _impl_.nonmasked_result_resource_)
1148       + sizeof(StartSecureAggregationResponse::_impl_.nonmasked_result_resource_)  // NOLINT
1149       - PROTOBUF_FIELD_OFFSET(StartSecureAggregationResponse, _impl_.secagg_protocol_forwarding_info_)>(
1150           reinterpret_cast<char*>(&_impl_.secagg_protocol_forwarding_info_),
1151           reinterpret_cast<char*>(&other->_impl_.secagg_protocol_forwarding_info_));
1152 }
1153 
GetTypeName() const1154 std::string StartSecureAggregationResponse::GetTypeName() const {
1155   return "google.internal.federatedcompute.v1.StartSecureAggregationResponse";
1156 }
1157 
1158 
1159 // ===================================================================
1160 
1161 class SecureAggregandExecutionInfo::_Internal {
1162  public:
1163 };
1164 
SecureAggregandExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1165 SecureAggregandExecutionInfo::SecureAggregandExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1166                          bool is_message_owned)
1167   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1168   SharedCtor(arena, is_message_owned);
1169   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1170 }
SecureAggregandExecutionInfo(const SecureAggregandExecutionInfo & from)1171 SecureAggregandExecutionInfo::SecureAggregandExecutionInfo(const SecureAggregandExecutionInfo& from)
1172   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1173   SecureAggregandExecutionInfo* const _this = this; (void)_this;
1174   new (&_impl_) Impl_{
1175       decltype(_impl_.modulus_){}
1176     , /*decltype(_impl_._cached_size_)*/{}};
1177 
1178   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1179   _this->_impl_.modulus_ = from._impl_.modulus_;
1180   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1181 }
1182 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1183 inline void SecureAggregandExecutionInfo::SharedCtor(
1184     ::_pb::Arena* arena, bool is_message_owned) {
1185   (void)arena;
1186   (void)is_message_owned;
1187   new (&_impl_) Impl_{
1188       decltype(_impl_.modulus_){::uint64_t{0u}}
1189     , /*decltype(_impl_._cached_size_)*/{}
1190   };
1191 }
1192 
~SecureAggregandExecutionInfo()1193 SecureAggregandExecutionInfo::~SecureAggregandExecutionInfo() {
1194   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1195   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1196   (void)arena;
1197     return;
1198   }
1199   SharedDtor();
1200 }
1201 
SharedDtor()1202 inline void SecureAggregandExecutionInfo::SharedDtor() {
1203   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1204 }
1205 
SetCachedSize(int size) const1206 void SecureAggregandExecutionInfo::SetCachedSize(int size) const {
1207   _impl_._cached_size_.Set(size);
1208 }
1209 
Clear()1210 void SecureAggregandExecutionInfo::Clear() {
1211 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1212   ::uint32_t cached_has_bits = 0;
1213   // Prevent compiler warnings about cached_has_bits being unused
1214   (void) cached_has_bits;
1215 
1216   _impl_.modulus_ = ::uint64_t{0u};
1217   _internal_metadata_.Clear<std::string>();
1218 }
1219 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1220 const char* SecureAggregandExecutionInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1221 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1222   while (!ctx->Done(&ptr)) {
1223     ::uint32_t tag;
1224     ptr = ::_pbi::ReadTag(ptr, &tag);
1225     switch (tag >> 3) {
1226       // uint64 modulus = 1;
1227       case 1:
1228         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
1229           _impl_.modulus_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1230           CHK_(ptr);
1231         } else {
1232           goto handle_unusual;
1233         }
1234         continue;
1235       default:
1236         goto handle_unusual;
1237     }  // switch
1238   handle_unusual:
1239     if ((tag == 0) || ((tag & 7) == 4)) {
1240       CHK_(ptr);
1241       ctx->SetLastTag(tag);
1242       goto message_done;
1243     }
1244     ptr = UnknownFieldParse(
1245         tag,
1246         _internal_metadata_.mutable_unknown_fields<std::string>(),
1247         ptr, ctx);
1248     CHK_(ptr != nullptr);
1249   }  // while
1250 message_done:
1251   return ptr;
1252 failure:
1253   ptr = nullptr;
1254   goto message_done;
1255 #undef CHK_
1256 }
1257 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1258 ::uint8_t* SecureAggregandExecutionInfo::_InternalSerialize(
1259     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1260   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1261   ::uint32_t cached_has_bits = 0;
1262   (void) cached_has_bits;
1263 
1264   // uint64 modulus = 1;
1265   if (this->_internal_modulus() != 0) {
1266     target = stream->EnsureSpace(target);
1267     target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_modulus(), target);
1268   }
1269 
1270   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1271     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1272         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1273   }
1274   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1275   return target;
1276 }
1277 
ByteSizeLong() const1278 size_t SecureAggregandExecutionInfo::ByteSizeLong() const {
1279 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1280   size_t total_size = 0;
1281 
1282   ::uint32_t cached_has_bits = 0;
1283   // Prevent compiler warnings about cached_has_bits being unused
1284   (void) cached_has_bits;
1285 
1286   // uint64 modulus = 1;
1287   if (this->_internal_modulus() != 0) {
1288     total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_modulus());
1289   }
1290 
1291   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1292     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1293   }
1294   int cached_size = ::_pbi::ToCachedSize(total_size);
1295   SetCachedSize(cached_size);
1296   return total_size;
1297 }
1298 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1299 void SecureAggregandExecutionInfo::CheckTypeAndMergeFrom(
1300     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1301   MergeFrom(*::_pbi::DownCast<const SecureAggregandExecutionInfo*>(
1302       &from));
1303 }
1304 
MergeFrom(const SecureAggregandExecutionInfo & from)1305 void SecureAggregandExecutionInfo::MergeFrom(const SecureAggregandExecutionInfo& from) {
1306   SecureAggregandExecutionInfo* const _this = this;
1307   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1308   GOOGLE_DCHECK_NE(&from, _this);
1309   ::uint32_t cached_has_bits = 0;
1310   (void) cached_has_bits;
1311 
1312   if (from._internal_modulus() != 0) {
1313     _this->_internal_set_modulus(from._internal_modulus());
1314   }
1315   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1316 }
1317 
CopyFrom(const SecureAggregandExecutionInfo & from)1318 void SecureAggregandExecutionInfo::CopyFrom(const SecureAggregandExecutionInfo& from) {
1319 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.SecureAggregandExecutionInfo)
1320   if (&from == this) return;
1321   Clear();
1322   MergeFrom(from);
1323 }
1324 
IsInitialized() const1325 bool SecureAggregandExecutionInfo::IsInitialized() const {
1326   return true;
1327 }
1328 
InternalSwap(SecureAggregandExecutionInfo * other)1329 void SecureAggregandExecutionInfo::InternalSwap(SecureAggregandExecutionInfo* other) {
1330   using std::swap;
1331   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1332   swap(_impl_.modulus_, other->_impl_.modulus_);
1333 }
1334 
GetTypeName() const1335 std::string SecureAggregandExecutionInfo::GetTypeName() const {
1336   return "google.internal.federatedcompute.v1.SecureAggregandExecutionInfo";
1337 }
1338 
1339 
1340 // ===================================================================
1341 
1342 class SecureAggregationProtocolExecutionInfo::_Internal {
1343  public:
1344 };
1345 
SecureAggregationProtocolExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1346 SecureAggregationProtocolExecutionInfo::SecureAggregationProtocolExecutionInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1347                          bool is_message_owned)
1348   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1349   SharedCtor(arena, is_message_owned);
1350   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1351 }
SecureAggregationProtocolExecutionInfo(const SecureAggregationProtocolExecutionInfo & from)1352 SecureAggregationProtocolExecutionInfo::SecureAggregationProtocolExecutionInfo(const SecureAggregationProtocolExecutionInfo& from)
1353   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1354   SecureAggregationProtocolExecutionInfo* const _this = this; (void)_this;
1355   new (&_impl_) Impl_{
1356       decltype(_impl_.expected_number_of_clients_){}
1357     , decltype(_impl_.minimum_surviving_clients_for_reconstruction_){}
1358     , /*decltype(_impl_._cached_size_)*/{}};
1359 
1360   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1361   ::memcpy(&_impl_.expected_number_of_clients_, &from._impl_.expected_number_of_clients_,
1362     static_cast<size_t>(reinterpret_cast<char*>(&_impl_.minimum_surviving_clients_for_reconstruction_) -
1363     reinterpret_cast<char*>(&_impl_.expected_number_of_clients_)) + sizeof(_impl_.minimum_surviving_clients_for_reconstruction_));
1364   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1365 }
1366 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1367 inline void SecureAggregationProtocolExecutionInfo::SharedCtor(
1368     ::_pb::Arena* arena, bool is_message_owned) {
1369   (void)arena;
1370   (void)is_message_owned;
1371   new (&_impl_) Impl_{
1372       decltype(_impl_.expected_number_of_clients_){0}
1373     , decltype(_impl_.minimum_surviving_clients_for_reconstruction_){0}
1374     , /*decltype(_impl_._cached_size_)*/{}
1375   };
1376 }
1377 
~SecureAggregationProtocolExecutionInfo()1378 SecureAggregationProtocolExecutionInfo::~SecureAggregationProtocolExecutionInfo() {
1379   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1380   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1381   (void)arena;
1382     return;
1383   }
1384   SharedDtor();
1385 }
1386 
SharedDtor()1387 inline void SecureAggregationProtocolExecutionInfo::SharedDtor() {
1388   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1389 }
1390 
SetCachedSize(int size) const1391 void SecureAggregationProtocolExecutionInfo::SetCachedSize(int size) const {
1392   _impl_._cached_size_.Set(size);
1393 }
1394 
Clear()1395 void SecureAggregationProtocolExecutionInfo::Clear() {
1396 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1397   ::uint32_t cached_has_bits = 0;
1398   // Prevent compiler warnings about cached_has_bits being unused
1399   (void) cached_has_bits;
1400 
1401   ::memset(&_impl_.expected_number_of_clients_, 0, static_cast<size_t>(
1402       reinterpret_cast<char*>(&_impl_.minimum_surviving_clients_for_reconstruction_) -
1403       reinterpret_cast<char*>(&_impl_.expected_number_of_clients_)) + sizeof(_impl_.minimum_surviving_clients_for_reconstruction_));
1404   _internal_metadata_.Clear<std::string>();
1405 }
1406 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1407 const char* SecureAggregationProtocolExecutionInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1408 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1409   while (!ctx->Done(&ptr)) {
1410     ::uint32_t tag;
1411     ptr = ::_pbi::ReadTag(ptr, &tag);
1412     switch (tag >> 3) {
1413       // int32 expected_number_of_clients = 1;
1414       case 1:
1415         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
1416           _impl_.expected_number_of_clients_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1417           CHK_(ptr);
1418         } else {
1419           goto handle_unusual;
1420         }
1421         continue;
1422       // int32 minimum_surviving_clients_for_reconstruction = 2;
1423       case 2:
1424         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
1425           _impl_.minimum_surviving_clients_for_reconstruction_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1426           CHK_(ptr);
1427         } else {
1428           goto handle_unusual;
1429         }
1430         continue;
1431       default:
1432         goto handle_unusual;
1433     }  // switch
1434   handle_unusual:
1435     if ((tag == 0) || ((tag & 7) == 4)) {
1436       CHK_(ptr);
1437       ctx->SetLastTag(tag);
1438       goto message_done;
1439     }
1440     ptr = UnknownFieldParse(
1441         tag,
1442         _internal_metadata_.mutable_unknown_fields<std::string>(),
1443         ptr, ctx);
1444     CHK_(ptr != nullptr);
1445   }  // while
1446 message_done:
1447   return ptr;
1448 failure:
1449   ptr = nullptr;
1450   goto message_done;
1451 #undef CHK_
1452 }
1453 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1454 ::uint8_t* SecureAggregationProtocolExecutionInfo::_InternalSerialize(
1455     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1456   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1457   ::uint32_t cached_has_bits = 0;
1458   (void) cached_has_bits;
1459 
1460   // int32 expected_number_of_clients = 1;
1461   if (this->_internal_expected_number_of_clients() != 0) {
1462     target = stream->EnsureSpace(target);
1463     target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_expected_number_of_clients(), target);
1464   }
1465 
1466   // int32 minimum_surviving_clients_for_reconstruction = 2;
1467   if (this->_internal_minimum_surviving_clients_for_reconstruction() != 0) {
1468     target = stream->EnsureSpace(target);
1469     target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_minimum_surviving_clients_for_reconstruction(), target);
1470   }
1471 
1472   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1473     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1474         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1475   }
1476   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1477   return target;
1478 }
1479 
ByteSizeLong() const1480 size_t SecureAggregationProtocolExecutionInfo::ByteSizeLong() const {
1481 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1482   size_t total_size = 0;
1483 
1484   ::uint32_t cached_has_bits = 0;
1485   // Prevent compiler warnings about cached_has_bits being unused
1486   (void) cached_has_bits;
1487 
1488   // int32 expected_number_of_clients = 1;
1489   if (this->_internal_expected_number_of_clients() != 0) {
1490     total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_expected_number_of_clients());
1491   }
1492 
1493   // int32 minimum_surviving_clients_for_reconstruction = 2;
1494   if (this->_internal_minimum_surviving_clients_for_reconstruction() != 0) {
1495     total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_minimum_surviving_clients_for_reconstruction());
1496   }
1497 
1498   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1499     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1500   }
1501   int cached_size = ::_pbi::ToCachedSize(total_size);
1502   SetCachedSize(cached_size);
1503   return total_size;
1504 }
1505 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1506 void SecureAggregationProtocolExecutionInfo::CheckTypeAndMergeFrom(
1507     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1508   MergeFrom(*::_pbi::DownCast<const SecureAggregationProtocolExecutionInfo*>(
1509       &from));
1510 }
1511 
MergeFrom(const SecureAggregationProtocolExecutionInfo & from)1512 void SecureAggregationProtocolExecutionInfo::MergeFrom(const SecureAggregationProtocolExecutionInfo& from) {
1513   SecureAggregationProtocolExecutionInfo* const _this = this;
1514   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1515   GOOGLE_DCHECK_NE(&from, _this);
1516   ::uint32_t cached_has_bits = 0;
1517   (void) cached_has_bits;
1518 
1519   if (from._internal_expected_number_of_clients() != 0) {
1520     _this->_internal_set_expected_number_of_clients(from._internal_expected_number_of_clients());
1521   }
1522   if (from._internal_minimum_surviving_clients_for_reconstruction() != 0) {
1523     _this->_internal_set_minimum_surviving_clients_for_reconstruction(from._internal_minimum_surviving_clients_for_reconstruction());
1524   }
1525   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1526 }
1527 
CopyFrom(const SecureAggregationProtocolExecutionInfo & from)1528 void SecureAggregationProtocolExecutionInfo::CopyFrom(const SecureAggregationProtocolExecutionInfo& from) {
1529 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo)
1530   if (&from == this) return;
1531   Clear();
1532   MergeFrom(from);
1533 }
1534 
IsInitialized() const1535 bool SecureAggregationProtocolExecutionInfo::IsInitialized() const {
1536   return true;
1537 }
1538 
InternalSwap(SecureAggregationProtocolExecutionInfo * other)1539 void SecureAggregationProtocolExecutionInfo::InternalSwap(SecureAggregationProtocolExecutionInfo* other) {
1540   using std::swap;
1541   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1542   ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1543       PROTOBUF_FIELD_OFFSET(SecureAggregationProtocolExecutionInfo, _impl_.minimum_surviving_clients_for_reconstruction_)
1544       + sizeof(SecureAggregationProtocolExecutionInfo::_impl_.minimum_surviving_clients_for_reconstruction_)  // NOLINT
1545       - PROTOBUF_FIELD_OFFSET(SecureAggregationProtocolExecutionInfo, _impl_.expected_number_of_clients_)>(
1546           reinterpret_cast<char*>(&_impl_.expected_number_of_clients_),
1547           reinterpret_cast<char*>(&other->_impl_.expected_number_of_clients_));
1548 }
1549 
GetTypeName() const1550 std::string SecureAggregationProtocolExecutionInfo::GetTypeName() const {
1551   return "google.internal.federatedcompute.v1.SecureAggregationProtocolExecutionInfo";
1552 }
1553 
1554 
1555 // ===================================================================
1556 
1557 class AbortSecureAggregationRequest::_Internal {
1558  public:
1559   static const ::google::internal::federatedcompute::v1::Status& status(const AbortSecureAggregationRequest* msg);
1560 };
1561 
1562 const ::google::internal::federatedcompute::v1::Status&
status(const AbortSecureAggregationRequest * msg)1563 AbortSecureAggregationRequest::_Internal::status(const AbortSecureAggregationRequest* msg) {
1564   return *msg->_impl_.status_;
1565 }
clear_status()1566 void AbortSecureAggregationRequest::clear_status() {
1567   if (GetArenaForAllocation() == nullptr && _impl_.status_ != nullptr) {
1568     delete _impl_.status_;
1569   }
1570   _impl_.status_ = nullptr;
1571 }
AbortSecureAggregationRequest(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1572 AbortSecureAggregationRequest::AbortSecureAggregationRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1573                          bool is_message_owned)
1574   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1575   SharedCtor(arena, is_message_owned);
1576   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1577 }
AbortSecureAggregationRequest(const AbortSecureAggregationRequest & from)1578 AbortSecureAggregationRequest::AbortSecureAggregationRequest(const AbortSecureAggregationRequest& from)
1579   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1580   AbortSecureAggregationRequest* const _this = this; (void)_this;
1581   new (&_impl_) Impl_{
1582       decltype(_impl_.aggregation_id_){}
1583     , decltype(_impl_.client_token_){}
1584     , decltype(_impl_.status_){nullptr}
1585     , /*decltype(_impl_._cached_size_)*/{}};
1586 
1587   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1588   _impl_.aggregation_id_.InitDefault();
1589   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1590     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
1591   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1592   if (!from._internal_aggregation_id().empty()) {
1593     _this->_impl_.aggregation_id_.Set(from._internal_aggregation_id(),
1594       _this->GetArenaForAllocation());
1595   }
1596   _impl_.client_token_.InitDefault();
1597   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1598     _impl_.client_token_.Set("", GetArenaForAllocation());
1599   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1600   if (!from._internal_client_token().empty()) {
1601     _this->_impl_.client_token_.Set(from._internal_client_token(),
1602       _this->GetArenaForAllocation());
1603   }
1604   if (from._internal_has_status()) {
1605     _this->_impl_.status_ = new ::google::internal::federatedcompute::v1::Status(*from._impl_.status_);
1606   }
1607   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1608 }
1609 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1610 inline void AbortSecureAggregationRequest::SharedCtor(
1611     ::_pb::Arena* arena, bool is_message_owned) {
1612   (void)arena;
1613   (void)is_message_owned;
1614   new (&_impl_) Impl_{
1615       decltype(_impl_.aggregation_id_){}
1616     , decltype(_impl_.client_token_){}
1617     , decltype(_impl_.status_){nullptr}
1618     , /*decltype(_impl_._cached_size_)*/{}
1619   };
1620   _impl_.aggregation_id_.InitDefault();
1621   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1622     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
1623   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1624   _impl_.client_token_.InitDefault();
1625   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1626     _impl_.client_token_.Set("", GetArenaForAllocation());
1627   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1628 }
1629 
~AbortSecureAggregationRequest()1630 AbortSecureAggregationRequest::~AbortSecureAggregationRequest() {
1631   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1632   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1633   (void)arena;
1634     return;
1635   }
1636   SharedDtor();
1637 }
1638 
SharedDtor()1639 inline void AbortSecureAggregationRequest::SharedDtor() {
1640   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1641   _impl_.aggregation_id_.Destroy();
1642   _impl_.client_token_.Destroy();
1643   if (this != internal_default_instance()) delete _impl_.status_;
1644 }
1645 
SetCachedSize(int size) const1646 void AbortSecureAggregationRequest::SetCachedSize(int size) const {
1647   _impl_._cached_size_.Set(size);
1648 }
1649 
Clear()1650 void AbortSecureAggregationRequest::Clear() {
1651 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1652   ::uint32_t cached_has_bits = 0;
1653   // Prevent compiler warnings about cached_has_bits being unused
1654   (void) cached_has_bits;
1655 
1656   _impl_.aggregation_id_.ClearToEmpty();
1657   _impl_.client_token_.ClearToEmpty();
1658   if (GetArenaForAllocation() == nullptr && _impl_.status_ != nullptr) {
1659     delete _impl_.status_;
1660   }
1661   _impl_.status_ = nullptr;
1662   _internal_metadata_.Clear<std::string>();
1663 }
1664 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1665 const char* AbortSecureAggregationRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1666 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1667   while (!ctx->Done(&ptr)) {
1668     ::uint32_t tag;
1669     ptr = ::_pbi::ReadTag(ptr, &tag);
1670     switch (tag >> 3) {
1671       // string aggregation_id = 1;
1672       case 1:
1673         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
1674           auto str = _internal_mutable_aggregation_id();
1675           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1676           CHK_(ptr);
1677           CHK_(::_pbi::VerifyUTF8(str, nullptr));
1678         } else {
1679           goto handle_unusual;
1680         }
1681         continue;
1682       // string client_token = 2;
1683       case 2:
1684         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
1685           auto str = _internal_mutable_client_token();
1686           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1687           CHK_(ptr);
1688           CHK_(::_pbi::VerifyUTF8(str, nullptr));
1689         } else {
1690           goto handle_unusual;
1691         }
1692         continue;
1693       // .google.internal.federatedcompute.v1.Status status = 3;
1694       case 3:
1695         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
1696           ptr = ctx->ParseMessage(_internal_mutable_status(), ptr);
1697           CHK_(ptr);
1698         } else {
1699           goto handle_unusual;
1700         }
1701         continue;
1702       default:
1703         goto handle_unusual;
1704     }  // switch
1705   handle_unusual:
1706     if ((tag == 0) || ((tag & 7) == 4)) {
1707       CHK_(ptr);
1708       ctx->SetLastTag(tag);
1709       goto message_done;
1710     }
1711     ptr = UnknownFieldParse(
1712         tag,
1713         _internal_metadata_.mutable_unknown_fields<std::string>(),
1714         ptr, ctx);
1715     CHK_(ptr != nullptr);
1716   }  // while
1717 message_done:
1718   return ptr;
1719 failure:
1720   ptr = nullptr;
1721   goto message_done;
1722 #undef CHK_
1723 }
1724 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1725 ::uint8_t* AbortSecureAggregationRequest::_InternalSerialize(
1726     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1727   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1728   ::uint32_t cached_has_bits = 0;
1729   (void) cached_has_bits;
1730 
1731   // string aggregation_id = 1;
1732   if (!this->_internal_aggregation_id().empty()) {
1733     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1734       this->_internal_aggregation_id().data(), static_cast<int>(this->_internal_aggregation_id().length()),
1735       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1736       "google.internal.federatedcompute.v1.AbortSecureAggregationRequest.aggregation_id");
1737     target = stream->WriteStringMaybeAliased(
1738         1, this->_internal_aggregation_id(), target);
1739   }
1740 
1741   // string client_token = 2;
1742   if (!this->_internal_client_token().empty()) {
1743     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1744       this->_internal_client_token().data(), static_cast<int>(this->_internal_client_token().length()),
1745       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1746       "google.internal.federatedcompute.v1.AbortSecureAggregationRequest.client_token");
1747     target = stream->WriteStringMaybeAliased(
1748         2, this->_internal_client_token(), target);
1749   }
1750 
1751   // .google.internal.federatedcompute.v1.Status status = 3;
1752   if (this->_internal_has_status()) {
1753     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1754       InternalWriteMessage(3, _Internal::status(this),
1755         _Internal::status(this).GetCachedSize(), target, stream);
1756   }
1757 
1758   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1759     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1760         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1761   }
1762   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1763   return target;
1764 }
1765 
ByteSizeLong() const1766 size_t AbortSecureAggregationRequest::ByteSizeLong() const {
1767 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1768   size_t total_size = 0;
1769 
1770   ::uint32_t cached_has_bits = 0;
1771   // Prevent compiler warnings about cached_has_bits being unused
1772   (void) cached_has_bits;
1773 
1774   // string aggregation_id = 1;
1775   if (!this->_internal_aggregation_id().empty()) {
1776     total_size += 1 +
1777       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1778         this->_internal_aggregation_id());
1779   }
1780 
1781   // string client_token = 2;
1782   if (!this->_internal_client_token().empty()) {
1783     total_size += 1 +
1784       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1785         this->_internal_client_token());
1786   }
1787 
1788   // .google.internal.federatedcompute.v1.Status status = 3;
1789   if (this->_internal_has_status()) {
1790     total_size += 1 +
1791       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1792         *_impl_.status_);
1793   }
1794 
1795   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1796     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1797   }
1798   int cached_size = ::_pbi::ToCachedSize(total_size);
1799   SetCachedSize(cached_size);
1800   return total_size;
1801 }
1802 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1803 void AbortSecureAggregationRequest::CheckTypeAndMergeFrom(
1804     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1805   MergeFrom(*::_pbi::DownCast<const AbortSecureAggregationRequest*>(
1806       &from));
1807 }
1808 
MergeFrom(const AbortSecureAggregationRequest & from)1809 void AbortSecureAggregationRequest::MergeFrom(const AbortSecureAggregationRequest& from) {
1810   AbortSecureAggregationRequest* const _this = this;
1811   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1812   GOOGLE_DCHECK_NE(&from, _this);
1813   ::uint32_t cached_has_bits = 0;
1814   (void) cached_has_bits;
1815 
1816   if (!from._internal_aggregation_id().empty()) {
1817     _this->_internal_set_aggregation_id(from._internal_aggregation_id());
1818   }
1819   if (!from._internal_client_token().empty()) {
1820     _this->_internal_set_client_token(from._internal_client_token());
1821   }
1822   if (from._internal_has_status()) {
1823     _this->_internal_mutable_status()->::google::internal::federatedcompute::v1::Status::MergeFrom(
1824         from._internal_status());
1825   }
1826   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1827 }
1828 
CopyFrom(const AbortSecureAggregationRequest & from)1829 void AbortSecureAggregationRequest::CopyFrom(const AbortSecureAggregationRequest& from) {
1830 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.AbortSecureAggregationRequest)
1831   if (&from == this) return;
1832   Clear();
1833   MergeFrom(from);
1834 }
1835 
IsInitialized() const1836 bool AbortSecureAggregationRequest::IsInitialized() const {
1837   return true;
1838 }
1839 
InternalSwap(AbortSecureAggregationRequest * other)1840 void AbortSecureAggregationRequest::InternalSwap(AbortSecureAggregationRequest* other) {
1841   using std::swap;
1842   auto* lhs_arena = GetArenaForAllocation();
1843   auto* rhs_arena = other->GetArenaForAllocation();
1844   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1845   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1846       &_impl_.aggregation_id_, lhs_arena,
1847       &other->_impl_.aggregation_id_, rhs_arena
1848   );
1849   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1850       &_impl_.client_token_, lhs_arena,
1851       &other->_impl_.client_token_, rhs_arena
1852   );
1853   swap(_impl_.status_, other->_impl_.status_);
1854 }
1855 
GetTypeName() const1856 std::string AbortSecureAggregationRequest::GetTypeName() const {
1857   return "google.internal.federatedcompute.v1.AbortSecureAggregationRequest";
1858 }
1859 
1860 
1861 // ===================================================================
1862 
1863 class AbortSecureAggregationResponse::_Internal {
1864  public:
1865 };
1866 
AbortSecureAggregationResponse(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1867 AbortSecureAggregationResponse::AbortSecureAggregationResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1868                          bool is_message_owned)
1869   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
1870   SharedCtor(arena, is_message_owned);
1871   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1872 }
AbortSecureAggregationResponse(const AbortSecureAggregationResponse & from)1873 AbortSecureAggregationResponse::AbortSecureAggregationResponse(const AbortSecureAggregationResponse& from)
1874   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
1875   AbortSecureAggregationResponse* const _this = this; (void)_this;
1876   new (&_impl_) Impl_{
1877       /*decltype(_impl_._cached_size_)*/{}};
1878 
1879   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1880   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1881 }
1882 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)1883 inline void AbortSecureAggregationResponse::SharedCtor(
1884     ::_pb::Arena* arena, bool is_message_owned) {
1885   (void)arena;
1886   (void)is_message_owned;
1887   new (&_impl_) Impl_{
1888       /*decltype(_impl_._cached_size_)*/{}
1889   };
1890 }
1891 
~AbortSecureAggregationResponse()1892 AbortSecureAggregationResponse::~AbortSecureAggregationResponse() {
1893   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1894   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
1895   (void)arena;
1896     return;
1897   }
1898   SharedDtor();
1899 }
1900 
SharedDtor()1901 inline void AbortSecureAggregationResponse::SharedDtor() {
1902   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1903 }
1904 
SetCachedSize(int size) const1905 void AbortSecureAggregationResponse::SetCachedSize(int size) const {
1906   _impl_._cached_size_.Set(size);
1907 }
1908 
Clear()1909 void AbortSecureAggregationResponse::Clear() {
1910 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1911   ::uint32_t cached_has_bits = 0;
1912   // Prevent compiler warnings about cached_has_bits being unused
1913   (void) cached_has_bits;
1914 
1915   _internal_metadata_.Clear<std::string>();
1916 }
1917 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)1918 const char* AbortSecureAggregationResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1919 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1920   while (!ctx->Done(&ptr)) {
1921     ::uint32_t tag;
1922     ptr = ::_pbi::ReadTag(ptr, &tag);
1923     if ((tag == 0) || ((tag & 7) == 4)) {
1924       CHK_(ptr);
1925       ctx->SetLastTag(tag);
1926       goto message_done;
1927     }
1928     ptr = UnknownFieldParse(
1929         tag,
1930         _internal_metadata_.mutable_unknown_fields<std::string>(),
1931         ptr, ctx);
1932     CHK_(ptr != nullptr);
1933   }  // while
1934 message_done:
1935   return ptr;
1936 failure:
1937   ptr = nullptr;
1938   goto message_done;
1939 #undef CHK_
1940 }
1941 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1942 ::uint8_t* AbortSecureAggregationResponse::_InternalSerialize(
1943     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1944   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1945   ::uint32_t cached_has_bits = 0;
1946   (void) cached_has_bits;
1947 
1948   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1949     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
1950         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
1951   }
1952   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1953   return target;
1954 }
1955 
ByteSizeLong() const1956 size_t AbortSecureAggregationResponse::ByteSizeLong() const {
1957 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1958   size_t total_size = 0;
1959 
1960   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1961     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
1962   }
1963   int cached_size = ::_pbi::ToCachedSize(total_size);
1964   SetCachedSize(cached_size);
1965   return total_size;
1966 }
1967 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)1968 void AbortSecureAggregationResponse::CheckTypeAndMergeFrom(
1969     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
1970   MergeFrom(*::_pbi::DownCast<const AbortSecureAggregationResponse*>(
1971       &from));
1972 }
1973 
MergeFrom(const AbortSecureAggregationResponse & from)1974 void AbortSecureAggregationResponse::MergeFrom(const AbortSecureAggregationResponse& from) {
1975   AbortSecureAggregationResponse* const _this = this;
1976   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1977   GOOGLE_DCHECK_NE(&from, _this);
1978   ::uint32_t cached_has_bits = 0;
1979   (void) cached_has_bits;
1980 
1981   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
1982 }
1983 
CopyFrom(const AbortSecureAggregationResponse & from)1984 void AbortSecureAggregationResponse::CopyFrom(const AbortSecureAggregationResponse& from) {
1985 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.AbortSecureAggregationResponse)
1986   if (&from == this) return;
1987   Clear();
1988   MergeFrom(from);
1989 }
1990 
IsInitialized() const1991 bool AbortSecureAggregationResponse::IsInitialized() const {
1992   return true;
1993 }
1994 
InternalSwap(AbortSecureAggregationResponse * other)1995 void AbortSecureAggregationResponse::InternalSwap(AbortSecureAggregationResponse* other) {
1996   using std::swap;
1997   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1998 }
1999 
GetTypeName() const2000 std::string AbortSecureAggregationResponse::GetTypeName() const {
2001   return "google.internal.federatedcompute.v1.AbortSecureAggregationResponse";
2002 }
2003 
2004 
2005 // ===================================================================
2006 
2007 class AdvertiseKeysRequest::_Internal {
2008  public:
2009   static const ::fcp::secagg::AdvertiseKeys& advertise_keys(const AdvertiseKeysRequest* msg);
2010 };
2011 
2012 const ::fcp::secagg::AdvertiseKeys&
advertise_keys(const AdvertiseKeysRequest * msg)2013 AdvertiseKeysRequest::_Internal::advertise_keys(const AdvertiseKeysRequest* msg) {
2014   return *msg->_impl_.advertise_keys_;
2015 }
clear_advertise_keys()2016 void AdvertiseKeysRequest::clear_advertise_keys() {
2017   if (GetArenaForAllocation() == nullptr && _impl_.advertise_keys_ != nullptr) {
2018     delete _impl_.advertise_keys_;
2019   }
2020   _impl_.advertise_keys_ = nullptr;
2021 }
AdvertiseKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2022 AdvertiseKeysRequest::AdvertiseKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2023                          bool is_message_owned)
2024   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2025   SharedCtor(arena, is_message_owned);
2026   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2027 }
AdvertiseKeysRequest(const AdvertiseKeysRequest & from)2028 AdvertiseKeysRequest::AdvertiseKeysRequest(const AdvertiseKeysRequest& from)
2029   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2030   AdvertiseKeysRequest* const _this = this; (void)_this;
2031   new (&_impl_) Impl_{
2032       decltype(_impl_.aggregation_id_){}
2033     , decltype(_impl_.client_token_){}
2034     , decltype(_impl_.advertise_keys_){nullptr}
2035     , /*decltype(_impl_._cached_size_)*/{}};
2036 
2037   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2038   _impl_.aggregation_id_.InitDefault();
2039   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2040     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
2041   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2042   if (!from._internal_aggregation_id().empty()) {
2043     _this->_impl_.aggregation_id_.Set(from._internal_aggregation_id(),
2044       _this->GetArenaForAllocation());
2045   }
2046   _impl_.client_token_.InitDefault();
2047   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2048     _impl_.client_token_.Set("", GetArenaForAllocation());
2049   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2050   if (!from._internal_client_token().empty()) {
2051     _this->_impl_.client_token_.Set(from._internal_client_token(),
2052       _this->GetArenaForAllocation());
2053   }
2054   if (from._internal_has_advertise_keys()) {
2055     _this->_impl_.advertise_keys_ = new ::fcp::secagg::AdvertiseKeys(*from._impl_.advertise_keys_);
2056   }
2057   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2058 }
2059 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2060 inline void AdvertiseKeysRequest::SharedCtor(
2061     ::_pb::Arena* arena, bool is_message_owned) {
2062   (void)arena;
2063   (void)is_message_owned;
2064   new (&_impl_) Impl_{
2065       decltype(_impl_.aggregation_id_){}
2066     , decltype(_impl_.client_token_){}
2067     , decltype(_impl_.advertise_keys_){nullptr}
2068     , /*decltype(_impl_._cached_size_)*/{}
2069   };
2070   _impl_.aggregation_id_.InitDefault();
2071   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2072     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
2073   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2074   _impl_.client_token_.InitDefault();
2075   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2076     _impl_.client_token_.Set("", GetArenaForAllocation());
2077   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2078 }
2079 
~AdvertiseKeysRequest()2080 AdvertiseKeysRequest::~AdvertiseKeysRequest() {
2081   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2082   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2083   (void)arena;
2084     return;
2085   }
2086   SharedDtor();
2087 }
2088 
SharedDtor()2089 inline void AdvertiseKeysRequest::SharedDtor() {
2090   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2091   _impl_.aggregation_id_.Destroy();
2092   _impl_.client_token_.Destroy();
2093   if (this != internal_default_instance()) delete _impl_.advertise_keys_;
2094 }
2095 
SetCachedSize(int size) const2096 void AdvertiseKeysRequest::SetCachedSize(int size) const {
2097   _impl_._cached_size_.Set(size);
2098 }
2099 
Clear()2100 void AdvertiseKeysRequest::Clear() {
2101 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2102   ::uint32_t cached_has_bits = 0;
2103   // Prevent compiler warnings about cached_has_bits being unused
2104   (void) cached_has_bits;
2105 
2106   _impl_.aggregation_id_.ClearToEmpty();
2107   _impl_.client_token_.ClearToEmpty();
2108   if (GetArenaForAllocation() == nullptr && _impl_.advertise_keys_ != nullptr) {
2109     delete _impl_.advertise_keys_;
2110   }
2111   _impl_.advertise_keys_ = nullptr;
2112   _internal_metadata_.Clear<std::string>();
2113 }
2114 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2115 const char* AdvertiseKeysRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2116 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2117   while (!ctx->Done(&ptr)) {
2118     ::uint32_t tag;
2119     ptr = ::_pbi::ReadTag(ptr, &tag);
2120     switch (tag >> 3) {
2121       // string aggregation_id = 1;
2122       case 1:
2123         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
2124           auto str = _internal_mutable_aggregation_id();
2125           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2126           CHK_(ptr);
2127           CHK_(::_pbi::VerifyUTF8(str, nullptr));
2128         } else {
2129           goto handle_unusual;
2130         }
2131         continue;
2132       // string client_token = 2;
2133       case 2:
2134         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
2135           auto str = _internal_mutable_client_token();
2136           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2137           CHK_(ptr);
2138           CHK_(::_pbi::VerifyUTF8(str, nullptr));
2139         } else {
2140           goto handle_unusual;
2141         }
2142         continue;
2143       // .fcp.secagg.AdvertiseKeys advertise_keys = 3;
2144       case 3:
2145         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
2146           ptr = ctx->ParseMessage(_internal_mutable_advertise_keys(), ptr);
2147           CHK_(ptr);
2148         } else {
2149           goto handle_unusual;
2150         }
2151         continue;
2152       default:
2153         goto handle_unusual;
2154     }  // switch
2155   handle_unusual:
2156     if ((tag == 0) || ((tag & 7) == 4)) {
2157       CHK_(ptr);
2158       ctx->SetLastTag(tag);
2159       goto message_done;
2160     }
2161     ptr = UnknownFieldParse(
2162         tag,
2163         _internal_metadata_.mutable_unknown_fields<std::string>(),
2164         ptr, ctx);
2165     CHK_(ptr != nullptr);
2166   }  // while
2167 message_done:
2168   return ptr;
2169 failure:
2170   ptr = nullptr;
2171   goto message_done;
2172 #undef CHK_
2173 }
2174 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2175 ::uint8_t* AdvertiseKeysRequest::_InternalSerialize(
2176     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2177   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2178   ::uint32_t cached_has_bits = 0;
2179   (void) cached_has_bits;
2180 
2181   // string aggregation_id = 1;
2182   if (!this->_internal_aggregation_id().empty()) {
2183     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2184       this->_internal_aggregation_id().data(), static_cast<int>(this->_internal_aggregation_id().length()),
2185       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2186       "google.internal.federatedcompute.v1.AdvertiseKeysRequest.aggregation_id");
2187     target = stream->WriteStringMaybeAliased(
2188         1, this->_internal_aggregation_id(), target);
2189   }
2190 
2191   // string client_token = 2;
2192   if (!this->_internal_client_token().empty()) {
2193     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2194       this->_internal_client_token().data(), static_cast<int>(this->_internal_client_token().length()),
2195       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2196       "google.internal.federatedcompute.v1.AdvertiseKeysRequest.client_token");
2197     target = stream->WriteStringMaybeAliased(
2198         2, this->_internal_client_token(), target);
2199   }
2200 
2201   // .fcp.secagg.AdvertiseKeys advertise_keys = 3;
2202   if (this->_internal_has_advertise_keys()) {
2203     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2204       InternalWriteMessage(3, _Internal::advertise_keys(this),
2205         _Internal::advertise_keys(this).GetCachedSize(), target, stream);
2206   }
2207 
2208   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2209     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2210         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2211   }
2212   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2213   return target;
2214 }
2215 
ByteSizeLong() const2216 size_t AdvertiseKeysRequest::ByteSizeLong() const {
2217 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2218   size_t total_size = 0;
2219 
2220   ::uint32_t cached_has_bits = 0;
2221   // Prevent compiler warnings about cached_has_bits being unused
2222   (void) cached_has_bits;
2223 
2224   // string aggregation_id = 1;
2225   if (!this->_internal_aggregation_id().empty()) {
2226     total_size += 1 +
2227       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2228         this->_internal_aggregation_id());
2229   }
2230 
2231   // string client_token = 2;
2232   if (!this->_internal_client_token().empty()) {
2233     total_size += 1 +
2234       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2235         this->_internal_client_token());
2236   }
2237 
2238   // .fcp.secagg.AdvertiseKeys advertise_keys = 3;
2239   if (this->_internal_has_advertise_keys()) {
2240     total_size += 1 +
2241       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2242         *_impl_.advertise_keys_);
2243   }
2244 
2245   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2246     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2247   }
2248   int cached_size = ::_pbi::ToCachedSize(total_size);
2249   SetCachedSize(cached_size);
2250   return total_size;
2251 }
2252 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2253 void AdvertiseKeysRequest::CheckTypeAndMergeFrom(
2254     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2255   MergeFrom(*::_pbi::DownCast<const AdvertiseKeysRequest*>(
2256       &from));
2257 }
2258 
MergeFrom(const AdvertiseKeysRequest & from)2259 void AdvertiseKeysRequest::MergeFrom(const AdvertiseKeysRequest& from) {
2260   AdvertiseKeysRequest* const _this = this;
2261   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2262   GOOGLE_DCHECK_NE(&from, _this);
2263   ::uint32_t cached_has_bits = 0;
2264   (void) cached_has_bits;
2265 
2266   if (!from._internal_aggregation_id().empty()) {
2267     _this->_internal_set_aggregation_id(from._internal_aggregation_id());
2268   }
2269   if (!from._internal_client_token().empty()) {
2270     _this->_internal_set_client_token(from._internal_client_token());
2271   }
2272   if (from._internal_has_advertise_keys()) {
2273     _this->_internal_mutable_advertise_keys()->::fcp::secagg::AdvertiseKeys::MergeFrom(
2274         from._internal_advertise_keys());
2275   }
2276   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2277 }
2278 
CopyFrom(const AdvertiseKeysRequest & from)2279 void AdvertiseKeysRequest::CopyFrom(const AdvertiseKeysRequest& from) {
2280 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.AdvertiseKeysRequest)
2281   if (&from == this) return;
2282   Clear();
2283   MergeFrom(from);
2284 }
2285 
IsInitialized() const2286 bool AdvertiseKeysRequest::IsInitialized() const {
2287   return true;
2288 }
2289 
InternalSwap(AdvertiseKeysRequest * other)2290 void AdvertiseKeysRequest::InternalSwap(AdvertiseKeysRequest* other) {
2291   using std::swap;
2292   auto* lhs_arena = GetArenaForAllocation();
2293   auto* rhs_arena = other->GetArenaForAllocation();
2294   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2295   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2296       &_impl_.aggregation_id_, lhs_arena,
2297       &other->_impl_.aggregation_id_, rhs_arena
2298   );
2299   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2300       &_impl_.client_token_, lhs_arena,
2301       &other->_impl_.client_token_, rhs_arena
2302   );
2303   swap(_impl_.advertise_keys_, other->_impl_.advertise_keys_);
2304 }
2305 
GetTypeName() const2306 std::string AdvertiseKeysRequest::GetTypeName() const {
2307   return "google.internal.federatedcompute.v1.AdvertiseKeysRequest";
2308 }
2309 
2310 
2311 // ===================================================================
2312 
2313 class AdvertiseKeysMetadata::_Internal {
2314  public:
2315   static const ::PROTOBUF_NAMESPACE_ID::Duration& polling_interval(const AdvertiseKeysMetadata* msg);
2316 };
2317 
2318 const ::PROTOBUF_NAMESPACE_ID::Duration&
polling_interval(const AdvertiseKeysMetadata * msg)2319 AdvertiseKeysMetadata::_Internal::polling_interval(const AdvertiseKeysMetadata* msg) {
2320   return *msg->_impl_.polling_interval_;
2321 }
clear_polling_interval()2322 void AdvertiseKeysMetadata::clear_polling_interval() {
2323   if (GetArenaForAllocation() == nullptr && _impl_.polling_interval_ != nullptr) {
2324     delete _impl_.polling_interval_;
2325   }
2326   _impl_.polling_interval_ = nullptr;
2327 }
AdvertiseKeysMetadata(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2328 AdvertiseKeysMetadata::AdvertiseKeysMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2329                          bool is_message_owned)
2330   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2331   SharedCtor(arena, is_message_owned);
2332   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2333 }
AdvertiseKeysMetadata(const AdvertiseKeysMetadata & from)2334 AdvertiseKeysMetadata::AdvertiseKeysMetadata(const AdvertiseKeysMetadata& from)
2335   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2336   AdvertiseKeysMetadata* const _this = this; (void)_this;
2337   new (&_impl_) Impl_{
2338       decltype(_impl_.polling_interval_){nullptr}
2339     , /*decltype(_impl_._cached_size_)*/{}};
2340 
2341   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2342   if (from._internal_has_polling_interval()) {
2343     _this->_impl_.polling_interval_ = new ::PROTOBUF_NAMESPACE_ID::Duration(*from._impl_.polling_interval_);
2344   }
2345   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2346 }
2347 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2348 inline void AdvertiseKeysMetadata::SharedCtor(
2349     ::_pb::Arena* arena, bool is_message_owned) {
2350   (void)arena;
2351   (void)is_message_owned;
2352   new (&_impl_) Impl_{
2353       decltype(_impl_.polling_interval_){nullptr}
2354     , /*decltype(_impl_._cached_size_)*/{}
2355   };
2356 }
2357 
~AdvertiseKeysMetadata()2358 AdvertiseKeysMetadata::~AdvertiseKeysMetadata() {
2359   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2360   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2361   (void)arena;
2362     return;
2363   }
2364   SharedDtor();
2365 }
2366 
SharedDtor()2367 inline void AdvertiseKeysMetadata::SharedDtor() {
2368   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2369   if (this != internal_default_instance()) delete _impl_.polling_interval_;
2370 }
2371 
SetCachedSize(int size) const2372 void AdvertiseKeysMetadata::SetCachedSize(int size) const {
2373   _impl_._cached_size_.Set(size);
2374 }
2375 
Clear()2376 void AdvertiseKeysMetadata::Clear() {
2377 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2378   ::uint32_t cached_has_bits = 0;
2379   // Prevent compiler warnings about cached_has_bits being unused
2380   (void) cached_has_bits;
2381 
2382   if (GetArenaForAllocation() == nullptr && _impl_.polling_interval_ != nullptr) {
2383     delete _impl_.polling_interval_;
2384   }
2385   _impl_.polling_interval_ = nullptr;
2386   _internal_metadata_.Clear<std::string>();
2387 }
2388 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2389 const char* AdvertiseKeysMetadata::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2390 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2391   while (!ctx->Done(&ptr)) {
2392     ::uint32_t tag;
2393     ptr = ::_pbi::ReadTag(ptr, &tag);
2394     switch (tag >> 3) {
2395       // .google.protobuf.Duration polling_interval = 1;
2396       case 1:
2397         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
2398           ptr = ctx->ParseMessage(_internal_mutable_polling_interval(), ptr);
2399           CHK_(ptr);
2400         } else {
2401           goto handle_unusual;
2402         }
2403         continue;
2404       default:
2405         goto handle_unusual;
2406     }  // switch
2407   handle_unusual:
2408     if ((tag == 0) || ((tag & 7) == 4)) {
2409       CHK_(ptr);
2410       ctx->SetLastTag(tag);
2411       goto message_done;
2412     }
2413     ptr = UnknownFieldParse(
2414         tag,
2415         _internal_metadata_.mutable_unknown_fields<std::string>(),
2416         ptr, ctx);
2417     CHK_(ptr != nullptr);
2418   }  // while
2419 message_done:
2420   return ptr;
2421 failure:
2422   ptr = nullptr;
2423   goto message_done;
2424 #undef CHK_
2425 }
2426 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2427 ::uint8_t* AdvertiseKeysMetadata::_InternalSerialize(
2428     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2429   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2430   ::uint32_t cached_has_bits = 0;
2431   (void) cached_has_bits;
2432 
2433   // .google.protobuf.Duration polling_interval = 1;
2434   if (this->_internal_has_polling_interval()) {
2435     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2436       InternalWriteMessage(1, _Internal::polling_interval(this),
2437         _Internal::polling_interval(this).GetCachedSize(), target, stream);
2438   }
2439 
2440   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2441     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2442         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2443   }
2444   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2445   return target;
2446 }
2447 
ByteSizeLong() const2448 size_t AdvertiseKeysMetadata::ByteSizeLong() const {
2449 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2450   size_t total_size = 0;
2451 
2452   ::uint32_t cached_has_bits = 0;
2453   // Prevent compiler warnings about cached_has_bits being unused
2454   (void) cached_has_bits;
2455 
2456   // .google.protobuf.Duration polling_interval = 1;
2457   if (this->_internal_has_polling_interval()) {
2458     total_size += 1 +
2459       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2460         *_impl_.polling_interval_);
2461   }
2462 
2463   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2464     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2465   }
2466   int cached_size = ::_pbi::ToCachedSize(total_size);
2467   SetCachedSize(cached_size);
2468   return total_size;
2469 }
2470 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2471 void AdvertiseKeysMetadata::CheckTypeAndMergeFrom(
2472     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2473   MergeFrom(*::_pbi::DownCast<const AdvertiseKeysMetadata*>(
2474       &from));
2475 }
2476 
MergeFrom(const AdvertiseKeysMetadata & from)2477 void AdvertiseKeysMetadata::MergeFrom(const AdvertiseKeysMetadata& from) {
2478   AdvertiseKeysMetadata* const _this = this;
2479   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2480   GOOGLE_DCHECK_NE(&from, _this);
2481   ::uint32_t cached_has_bits = 0;
2482   (void) cached_has_bits;
2483 
2484   if (from._internal_has_polling_interval()) {
2485     _this->_internal_mutable_polling_interval()->::PROTOBUF_NAMESPACE_ID::Duration::MergeFrom(
2486         from._internal_polling_interval());
2487   }
2488   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2489 }
2490 
CopyFrom(const AdvertiseKeysMetadata & from)2491 void AdvertiseKeysMetadata::CopyFrom(const AdvertiseKeysMetadata& from) {
2492 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.AdvertiseKeysMetadata)
2493   if (&from == this) return;
2494   Clear();
2495   MergeFrom(from);
2496 }
2497 
IsInitialized() const2498 bool AdvertiseKeysMetadata::IsInitialized() const {
2499   return true;
2500 }
2501 
InternalSwap(AdvertiseKeysMetadata * other)2502 void AdvertiseKeysMetadata::InternalSwap(AdvertiseKeysMetadata* other) {
2503   using std::swap;
2504   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2505   swap(_impl_.polling_interval_, other->_impl_.polling_interval_);
2506 }
2507 
GetTypeName() const2508 std::string AdvertiseKeysMetadata::GetTypeName() const {
2509   return "google.internal.federatedcompute.v1.AdvertiseKeysMetadata";
2510 }
2511 
2512 
2513 // ===================================================================
2514 
2515 class AdvertiseKeysResponse::_Internal {
2516  public:
2517   static const ::fcp::secagg::ShareKeysRequest& share_keys_server_request(const AdvertiseKeysResponse* msg);
2518 };
2519 
2520 const ::fcp::secagg::ShareKeysRequest&
share_keys_server_request(const AdvertiseKeysResponse * msg)2521 AdvertiseKeysResponse::_Internal::share_keys_server_request(const AdvertiseKeysResponse* msg) {
2522   return *msg->_impl_.share_keys_server_request_;
2523 }
clear_share_keys_server_request()2524 void AdvertiseKeysResponse::clear_share_keys_server_request() {
2525   if (GetArenaForAllocation() == nullptr && _impl_.share_keys_server_request_ != nullptr) {
2526     delete _impl_.share_keys_server_request_;
2527   }
2528   _impl_.share_keys_server_request_ = nullptr;
2529 }
AdvertiseKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2530 AdvertiseKeysResponse::AdvertiseKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2531                          bool is_message_owned)
2532   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2533   SharedCtor(arena, is_message_owned);
2534   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2535 }
AdvertiseKeysResponse(const AdvertiseKeysResponse & from)2536 AdvertiseKeysResponse::AdvertiseKeysResponse(const AdvertiseKeysResponse& from)
2537   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2538   AdvertiseKeysResponse* const _this = this; (void)_this;
2539   new (&_impl_) Impl_{
2540       decltype(_impl_.share_keys_server_request_){nullptr}
2541     , /*decltype(_impl_._cached_size_)*/{}};
2542 
2543   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2544   if (from._internal_has_share_keys_server_request()) {
2545     _this->_impl_.share_keys_server_request_ = new ::fcp::secagg::ShareKeysRequest(*from._impl_.share_keys_server_request_);
2546   }
2547   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2548 }
2549 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2550 inline void AdvertiseKeysResponse::SharedCtor(
2551     ::_pb::Arena* arena, bool is_message_owned) {
2552   (void)arena;
2553   (void)is_message_owned;
2554   new (&_impl_) Impl_{
2555       decltype(_impl_.share_keys_server_request_){nullptr}
2556     , /*decltype(_impl_._cached_size_)*/{}
2557   };
2558 }
2559 
~AdvertiseKeysResponse()2560 AdvertiseKeysResponse::~AdvertiseKeysResponse() {
2561   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2562   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2563   (void)arena;
2564     return;
2565   }
2566   SharedDtor();
2567 }
2568 
SharedDtor()2569 inline void AdvertiseKeysResponse::SharedDtor() {
2570   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2571   if (this != internal_default_instance()) delete _impl_.share_keys_server_request_;
2572 }
2573 
SetCachedSize(int size) const2574 void AdvertiseKeysResponse::SetCachedSize(int size) const {
2575   _impl_._cached_size_.Set(size);
2576 }
2577 
Clear()2578 void AdvertiseKeysResponse::Clear() {
2579 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2580   ::uint32_t cached_has_bits = 0;
2581   // Prevent compiler warnings about cached_has_bits being unused
2582   (void) cached_has_bits;
2583 
2584   if (GetArenaForAllocation() == nullptr && _impl_.share_keys_server_request_ != nullptr) {
2585     delete _impl_.share_keys_server_request_;
2586   }
2587   _impl_.share_keys_server_request_ = nullptr;
2588   _internal_metadata_.Clear<std::string>();
2589 }
2590 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2591 const char* AdvertiseKeysResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2592 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2593   while (!ctx->Done(&ptr)) {
2594     ::uint32_t tag;
2595     ptr = ::_pbi::ReadTag(ptr, &tag);
2596     switch (tag >> 3) {
2597       // .fcp.secagg.ShareKeysRequest share_keys_server_request = 1;
2598       case 1:
2599         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
2600           ptr = ctx->ParseMessage(_internal_mutable_share_keys_server_request(), ptr);
2601           CHK_(ptr);
2602         } else {
2603           goto handle_unusual;
2604         }
2605         continue;
2606       default:
2607         goto handle_unusual;
2608     }  // switch
2609   handle_unusual:
2610     if ((tag == 0) || ((tag & 7) == 4)) {
2611       CHK_(ptr);
2612       ctx->SetLastTag(tag);
2613       goto message_done;
2614     }
2615     ptr = UnknownFieldParse(
2616         tag,
2617         _internal_metadata_.mutable_unknown_fields<std::string>(),
2618         ptr, ctx);
2619     CHK_(ptr != nullptr);
2620   }  // while
2621 message_done:
2622   return ptr;
2623 failure:
2624   ptr = nullptr;
2625   goto message_done;
2626 #undef CHK_
2627 }
2628 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2629 ::uint8_t* AdvertiseKeysResponse::_InternalSerialize(
2630     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2631   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2632   ::uint32_t cached_has_bits = 0;
2633   (void) cached_has_bits;
2634 
2635   // .fcp.secagg.ShareKeysRequest share_keys_server_request = 1;
2636   if (this->_internal_has_share_keys_server_request()) {
2637     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2638       InternalWriteMessage(1, _Internal::share_keys_server_request(this),
2639         _Internal::share_keys_server_request(this).GetCachedSize(), target, stream);
2640   }
2641 
2642   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2643     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2644         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2645   }
2646   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2647   return target;
2648 }
2649 
ByteSizeLong() const2650 size_t AdvertiseKeysResponse::ByteSizeLong() const {
2651 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2652   size_t total_size = 0;
2653 
2654   ::uint32_t cached_has_bits = 0;
2655   // Prevent compiler warnings about cached_has_bits being unused
2656   (void) cached_has_bits;
2657 
2658   // .fcp.secagg.ShareKeysRequest share_keys_server_request = 1;
2659   if (this->_internal_has_share_keys_server_request()) {
2660     total_size += 1 +
2661       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2662         *_impl_.share_keys_server_request_);
2663   }
2664 
2665   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2666     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2667   }
2668   int cached_size = ::_pbi::ToCachedSize(total_size);
2669   SetCachedSize(cached_size);
2670   return total_size;
2671 }
2672 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2673 void AdvertiseKeysResponse::CheckTypeAndMergeFrom(
2674     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2675   MergeFrom(*::_pbi::DownCast<const AdvertiseKeysResponse*>(
2676       &from));
2677 }
2678 
MergeFrom(const AdvertiseKeysResponse & from)2679 void AdvertiseKeysResponse::MergeFrom(const AdvertiseKeysResponse& from) {
2680   AdvertiseKeysResponse* const _this = this;
2681   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2682   GOOGLE_DCHECK_NE(&from, _this);
2683   ::uint32_t cached_has_bits = 0;
2684   (void) cached_has_bits;
2685 
2686   if (from._internal_has_share_keys_server_request()) {
2687     _this->_internal_mutable_share_keys_server_request()->::fcp::secagg::ShareKeysRequest::MergeFrom(
2688         from._internal_share_keys_server_request());
2689   }
2690   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2691 }
2692 
CopyFrom(const AdvertiseKeysResponse & from)2693 void AdvertiseKeysResponse::CopyFrom(const AdvertiseKeysResponse& from) {
2694 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.AdvertiseKeysResponse)
2695   if (&from == this) return;
2696   Clear();
2697   MergeFrom(from);
2698 }
2699 
IsInitialized() const2700 bool AdvertiseKeysResponse::IsInitialized() const {
2701   return true;
2702 }
2703 
InternalSwap(AdvertiseKeysResponse * other)2704 void AdvertiseKeysResponse::InternalSwap(AdvertiseKeysResponse* other) {
2705   using std::swap;
2706   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2707   swap(_impl_.share_keys_server_request_, other->_impl_.share_keys_server_request_);
2708 }
2709 
GetTypeName() const2710 std::string AdvertiseKeysResponse::GetTypeName() const {
2711   return "google.internal.federatedcompute.v1.AdvertiseKeysResponse";
2712 }
2713 
2714 
2715 // ===================================================================
2716 
2717 class ShareKeysRequest::_Internal {
2718  public:
2719   static const ::fcp::secagg::ShareKeysResponse& share_keys_client_response(const ShareKeysRequest* msg);
2720 };
2721 
2722 const ::fcp::secagg::ShareKeysResponse&
share_keys_client_response(const ShareKeysRequest * msg)2723 ShareKeysRequest::_Internal::share_keys_client_response(const ShareKeysRequest* msg) {
2724   return *msg->_impl_.share_keys_client_response_;
2725 }
clear_share_keys_client_response()2726 void ShareKeysRequest::clear_share_keys_client_response() {
2727   if (GetArenaForAllocation() == nullptr && _impl_.share_keys_client_response_ != nullptr) {
2728     delete _impl_.share_keys_client_response_;
2729   }
2730   _impl_.share_keys_client_response_ = nullptr;
2731 }
ShareKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)2732 ShareKeysRequest::ShareKeysRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2733                          bool is_message_owned)
2734   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
2735   SharedCtor(arena, is_message_owned);
2736   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.ShareKeysRequest)
2737 }
ShareKeysRequest(const ShareKeysRequest & from)2738 ShareKeysRequest::ShareKeysRequest(const ShareKeysRequest& from)
2739   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
2740   ShareKeysRequest* const _this = this; (void)_this;
2741   new (&_impl_) Impl_{
2742       decltype(_impl_.aggregation_id_){}
2743     , decltype(_impl_.client_token_){}
2744     , decltype(_impl_.share_keys_client_response_){nullptr}
2745     , /*decltype(_impl_._cached_size_)*/{}};
2746 
2747   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2748   _impl_.aggregation_id_.InitDefault();
2749   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2750     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
2751   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2752   if (!from._internal_aggregation_id().empty()) {
2753     _this->_impl_.aggregation_id_.Set(from._internal_aggregation_id(),
2754       _this->GetArenaForAllocation());
2755   }
2756   _impl_.client_token_.InitDefault();
2757   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2758     _impl_.client_token_.Set("", GetArenaForAllocation());
2759   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2760   if (!from._internal_client_token().empty()) {
2761     _this->_impl_.client_token_.Set(from._internal_client_token(),
2762       _this->GetArenaForAllocation());
2763   }
2764   if (from._internal_has_share_keys_client_response()) {
2765     _this->_impl_.share_keys_client_response_ = new ::fcp::secagg::ShareKeysResponse(*from._impl_.share_keys_client_response_);
2766   }
2767   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.ShareKeysRequest)
2768 }
2769 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)2770 inline void ShareKeysRequest::SharedCtor(
2771     ::_pb::Arena* arena, bool is_message_owned) {
2772   (void)arena;
2773   (void)is_message_owned;
2774   new (&_impl_) Impl_{
2775       decltype(_impl_.aggregation_id_){}
2776     , decltype(_impl_.client_token_){}
2777     , decltype(_impl_.share_keys_client_response_){nullptr}
2778     , /*decltype(_impl_._cached_size_)*/{}
2779   };
2780   _impl_.aggregation_id_.InitDefault();
2781   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2782     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
2783   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2784   _impl_.client_token_.InitDefault();
2785   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2786     _impl_.client_token_.Set("", GetArenaForAllocation());
2787   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2788 }
2789 
~ShareKeysRequest()2790 ShareKeysRequest::~ShareKeysRequest() {
2791   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.ShareKeysRequest)
2792   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
2793   (void)arena;
2794     return;
2795   }
2796   SharedDtor();
2797 }
2798 
SharedDtor()2799 inline void ShareKeysRequest::SharedDtor() {
2800   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2801   _impl_.aggregation_id_.Destroy();
2802   _impl_.client_token_.Destroy();
2803   if (this != internal_default_instance()) delete _impl_.share_keys_client_response_;
2804 }
2805 
SetCachedSize(int size) const2806 void ShareKeysRequest::SetCachedSize(int size) const {
2807   _impl_._cached_size_.Set(size);
2808 }
2809 
Clear()2810 void ShareKeysRequest::Clear() {
2811 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.ShareKeysRequest)
2812   ::uint32_t cached_has_bits = 0;
2813   // Prevent compiler warnings about cached_has_bits being unused
2814   (void) cached_has_bits;
2815 
2816   _impl_.aggregation_id_.ClearToEmpty();
2817   _impl_.client_token_.ClearToEmpty();
2818   if (GetArenaForAllocation() == nullptr && _impl_.share_keys_client_response_ != nullptr) {
2819     delete _impl_.share_keys_client_response_;
2820   }
2821   _impl_.share_keys_client_response_ = nullptr;
2822   _internal_metadata_.Clear<std::string>();
2823 }
2824 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)2825 const char* ShareKeysRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2826 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2827   while (!ctx->Done(&ptr)) {
2828     ::uint32_t tag;
2829     ptr = ::_pbi::ReadTag(ptr, &tag);
2830     switch (tag >> 3) {
2831       // string aggregation_id = 1;
2832       case 1:
2833         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
2834           auto str = _internal_mutable_aggregation_id();
2835           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2836           CHK_(ptr);
2837           CHK_(::_pbi::VerifyUTF8(str, nullptr));
2838         } else {
2839           goto handle_unusual;
2840         }
2841         continue;
2842       // string client_token = 2;
2843       case 2:
2844         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
2845           auto str = _internal_mutable_client_token();
2846           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2847           CHK_(ptr);
2848           CHK_(::_pbi::VerifyUTF8(str, nullptr));
2849         } else {
2850           goto handle_unusual;
2851         }
2852         continue;
2853       // .fcp.secagg.ShareKeysResponse share_keys_client_response = 3;
2854       case 3:
2855         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
2856           ptr = ctx->ParseMessage(_internal_mutable_share_keys_client_response(), ptr);
2857           CHK_(ptr);
2858         } else {
2859           goto handle_unusual;
2860         }
2861         continue;
2862       default:
2863         goto handle_unusual;
2864     }  // switch
2865   handle_unusual:
2866     if ((tag == 0) || ((tag & 7) == 4)) {
2867       CHK_(ptr);
2868       ctx->SetLastTag(tag);
2869       goto message_done;
2870     }
2871     ptr = UnknownFieldParse(
2872         tag,
2873         _internal_metadata_.mutable_unknown_fields<std::string>(),
2874         ptr, ctx);
2875     CHK_(ptr != nullptr);
2876   }  // while
2877 message_done:
2878   return ptr;
2879 failure:
2880   ptr = nullptr;
2881   goto message_done;
2882 #undef CHK_
2883 }
2884 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const2885 ::uint8_t* ShareKeysRequest::_InternalSerialize(
2886     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2887   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.ShareKeysRequest)
2888   ::uint32_t cached_has_bits = 0;
2889   (void) cached_has_bits;
2890 
2891   // string aggregation_id = 1;
2892   if (!this->_internal_aggregation_id().empty()) {
2893     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2894       this->_internal_aggregation_id().data(), static_cast<int>(this->_internal_aggregation_id().length()),
2895       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2896       "google.internal.federatedcompute.v1.ShareKeysRequest.aggregation_id");
2897     target = stream->WriteStringMaybeAliased(
2898         1, this->_internal_aggregation_id(), target);
2899   }
2900 
2901   // string client_token = 2;
2902   if (!this->_internal_client_token().empty()) {
2903     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2904       this->_internal_client_token().data(), static_cast<int>(this->_internal_client_token().length()),
2905       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2906       "google.internal.federatedcompute.v1.ShareKeysRequest.client_token");
2907     target = stream->WriteStringMaybeAliased(
2908         2, this->_internal_client_token(), target);
2909   }
2910 
2911   // .fcp.secagg.ShareKeysResponse share_keys_client_response = 3;
2912   if (this->_internal_has_share_keys_client_response()) {
2913     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2914       InternalWriteMessage(3, _Internal::share_keys_client_response(this),
2915         _Internal::share_keys_client_response(this).GetCachedSize(), target, stream);
2916   }
2917 
2918   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2919     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
2920         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
2921   }
2922   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.ShareKeysRequest)
2923   return target;
2924 }
2925 
ByteSizeLong() const2926 size_t ShareKeysRequest::ByteSizeLong() const {
2927 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.ShareKeysRequest)
2928   size_t total_size = 0;
2929 
2930   ::uint32_t cached_has_bits = 0;
2931   // Prevent compiler warnings about cached_has_bits being unused
2932   (void) cached_has_bits;
2933 
2934   // string aggregation_id = 1;
2935   if (!this->_internal_aggregation_id().empty()) {
2936     total_size += 1 +
2937       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2938         this->_internal_aggregation_id());
2939   }
2940 
2941   // string client_token = 2;
2942   if (!this->_internal_client_token().empty()) {
2943     total_size += 1 +
2944       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2945         this->_internal_client_token());
2946   }
2947 
2948   // .fcp.secagg.ShareKeysResponse share_keys_client_response = 3;
2949   if (this->_internal_has_share_keys_client_response()) {
2950     total_size += 1 +
2951       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2952         *_impl_.share_keys_client_response_);
2953   }
2954 
2955   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2956     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
2957   }
2958   int cached_size = ::_pbi::ToCachedSize(total_size);
2959   SetCachedSize(cached_size);
2960   return total_size;
2961 }
2962 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)2963 void ShareKeysRequest::CheckTypeAndMergeFrom(
2964     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
2965   MergeFrom(*::_pbi::DownCast<const ShareKeysRequest*>(
2966       &from));
2967 }
2968 
MergeFrom(const ShareKeysRequest & from)2969 void ShareKeysRequest::MergeFrom(const ShareKeysRequest& from) {
2970   ShareKeysRequest* const _this = this;
2971   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.ShareKeysRequest)
2972   GOOGLE_DCHECK_NE(&from, _this);
2973   ::uint32_t cached_has_bits = 0;
2974   (void) cached_has_bits;
2975 
2976   if (!from._internal_aggregation_id().empty()) {
2977     _this->_internal_set_aggregation_id(from._internal_aggregation_id());
2978   }
2979   if (!from._internal_client_token().empty()) {
2980     _this->_internal_set_client_token(from._internal_client_token());
2981   }
2982   if (from._internal_has_share_keys_client_response()) {
2983     _this->_internal_mutable_share_keys_client_response()->::fcp::secagg::ShareKeysResponse::MergeFrom(
2984         from._internal_share_keys_client_response());
2985   }
2986   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
2987 }
2988 
CopyFrom(const ShareKeysRequest & from)2989 void ShareKeysRequest::CopyFrom(const ShareKeysRequest& from) {
2990 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.ShareKeysRequest)
2991   if (&from == this) return;
2992   Clear();
2993   MergeFrom(from);
2994 }
2995 
IsInitialized() const2996 bool ShareKeysRequest::IsInitialized() const {
2997   return true;
2998 }
2999 
InternalSwap(ShareKeysRequest * other)3000 void ShareKeysRequest::InternalSwap(ShareKeysRequest* other) {
3001   using std::swap;
3002   auto* lhs_arena = GetArenaForAllocation();
3003   auto* rhs_arena = other->GetArenaForAllocation();
3004   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3005   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3006       &_impl_.aggregation_id_, lhs_arena,
3007       &other->_impl_.aggregation_id_, rhs_arena
3008   );
3009   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3010       &_impl_.client_token_, lhs_arena,
3011       &other->_impl_.client_token_, rhs_arena
3012   );
3013   swap(_impl_.share_keys_client_response_, other->_impl_.share_keys_client_response_);
3014 }
3015 
GetTypeName() const3016 std::string ShareKeysRequest::GetTypeName() const {
3017   return "google.internal.federatedcompute.v1.ShareKeysRequest";
3018 }
3019 
3020 
3021 // ===================================================================
3022 
3023 class ShareKeysMetadata::_Internal {
3024  public:
3025   static const ::PROTOBUF_NAMESPACE_ID::Duration& polling_interval(const ShareKeysMetadata* msg);
3026 };
3027 
3028 const ::PROTOBUF_NAMESPACE_ID::Duration&
polling_interval(const ShareKeysMetadata * msg)3029 ShareKeysMetadata::_Internal::polling_interval(const ShareKeysMetadata* msg) {
3030   return *msg->_impl_.polling_interval_;
3031 }
clear_polling_interval()3032 void ShareKeysMetadata::clear_polling_interval() {
3033   if (GetArenaForAllocation() == nullptr && _impl_.polling_interval_ != nullptr) {
3034     delete _impl_.polling_interval_;
3035   }
3036   _impl_.polling_interval_ = nullptr;
3037 }
ShareKeysMetadata(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3038 ShareKeysMetadata::ShareKeysMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3039                          bool is_message_owned)
3040   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3041   SharedCtor(arena, is_message_owned);
3042   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.ShareKeysMetadata)
3043 }
ShareKeysMetadata(const ShareKeysMetadata & from)3044 ShareKeysMetadata::ShareKeysMetadata(const ShareKeysMetadata& from)
3045   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3046   ShareKeysMetadata* const _this = this; (void)_this;
3047   new (&_impl_) Impl_{
3048       decltype(_impl_.polling_interval_){nullptr}
3049     , /*decltype(_impl_._cached_size_)*/{}};
3050 
3051   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3052   if (from._internal_has_polling_interval()) {
3053     _this->_impl_.polling_interval_ = new ::PROTOBUF_NAMESPACE_ID::Duration(*from._impl_.polling_interval_);
3054   }
3055   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.ShareKeysMetadata)
3056 }
3057 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3058 inline void ShareKeysMetadata::SharedCtor(
3059     ::_pb::Arena* arena, bool is_message_owned) {
3060   (void)arena;
3061   (void)is_message_owned;
3062   new (&_impl_) Impl_{
3063       decltype(_impl_.polling_interval_){nullptr}
3064     , /*decltype(_impl_._cached_size_)*/{}
3065   };
3066 }
3067 
~ShareKeysMetadata()3068 ShareKeysMetadata::~ShareKeysMetadata() {
3069   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.ShareKeysMetadata)
3070   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3071   (void)arena;
3072     return;
3073   }
3074   SharedDtor();
3075 }
3076 
SharedDtor()3077 inline void ShareKeysMetadata::SharedDtor() {
3078   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3079   if (this != internal_default_instance()) delete _impl_.polling_interval_;
3080 }
3081 
SetCachedSize(int size) const3082 void ShareKeysMetadata::SetCachedSize(int size) const {
3083   _impl_._cached_size_.Set(size);
3084 }
3085 
Clear()3086 void ShareKeysMetadata::Clear() {
3087 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.ShareKeysMetadata)
3088   ::uint32_t cached_has_bits = 0;
3089   // Prevent compiler warnings about cached_has_bits being unused
3090   (void) cached_has_bits;
3091 
3092   if (GetArenaForAllocation() == nullptr && _impl_.polling_interval_ != nullptr) {
3093     delete _impl_.polling_interval_;
3094   }
3095   _impl_.polling_interval_ = nullptr;
3096   _internal_metadata_.Clear<std::string>();
3097 }
3098 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3099 const char* ShareKeysMetadata::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3100 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3101   while (!ctx->Done(&ptr)) {
3102     ::uint32_t tag;
3103     ptr = ::_pbi::ReadTag(ptr, &tag);
3104     switch (tag >> 3) {
3105       // .google.protobuf.Duration polling_interval = 1;
3106       case 1:
3107         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
3108           ptr = ctx->ParseMessage(_internal_mutable_polling_interval(), ptr);
3109           CHK_(ptr);
3110         } else {
3111           goto handle_unusual;
3112         }
3113         continue;
3114       default:
3115         goto handle_unusual;
3116     }  // switch
3117   handle_unusual:
3118     if ((tag == 0) || ((tag & 7) == 4)) {
3119       CHK_(ptr);
3120       ctx->SetLastTag(tag);
3121       goto message_done;
3122     }
3123     ptr = UnknownFieldParse(
3124         tag,
3125         _internal_metadata_.mutable_unknown_fields<std::string>(),
3126         ptr, ctx);
3127     CHK_(ptr != nullptr);
3128   }  // while
3129 message_done:
3130   return ptr;
3131 failure:
3132   ptr = nullptr;
3133   goto message_done;
3134 #undef CHK_
3135 }
3136 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3137 ::uint8_t* ShareKeysMetadata::_InternalSerialize(
3138     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3139   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.ShareKeysMetadata)
3140   ::uint32_t cached_has_bits = 0;
3141   (void) cached_has_bits;
3142 
3143   // .google.protobuf.Duration polling_interval = 1;
3144   if (this->_internal_has_polling_interval()) {
3145     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3146       InternalWriteMessage(1, _Internal::polling_interval(this),
3147         _Internal::polling_interval(this).GetCachedSize(), target, stream);
3148   }
3149 
3150   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3151     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3152         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3153   }
3154   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.ShareKeysMetadata)
3155   return target;
3156 }
3157 
ByteSizeLong() const3158 size_t ShareKeysMetadata::ByteSizeLong() const {
3159 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.ShareKeysMetadata)
3160   size_t total_size = 0;
3161 
3162   ::uint32_t cached_has_bits = 0;
3163   // Prevent compiler warnings about cached_has_bits being unused
3164   (void) cached_has_bits;
3165 
3166   // .google.protobuf.Duration polling_interval = 1;
3167   if (this->_internal_has_polling_interval()) {
3168     total_size += 1 +
3169       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3170         *_impl_.polling_interval_);
3171   }
3172 
3173   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3174     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3175   }
3176   int cached_size = ::_pbi::ToCachedSize(total_size);
3177   SetCachedSize(cached_size);
3178   return total_size;
3179 }
3180 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3181 void ShareKeysMetadata::CheckTypeAndMergeFrom(
3182     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3183   MergeFrom(*::_pbi::DownCast<const ShareKeysMetadata*>(
3184       &from));
3185 }
3186 
MergeFrom(const ShareKeysMetadata & from)3187 void ShareKeysMetadata::MergeFrom(const ShareKeysMetadata& from) {
3188   ShareKeysMetadata* const _this = this;
3189   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.ShareKeysMetadata)
3190   GOOGLE_DCHECK_NE(&from, _this);
3191   ::uint32_t cached_has_bits = 0;
3192   (void) cached_has_bits;
3193 
3194   if (from._internal_has_polling_interval()) {
3195     _this->_internal_mutable_polling_interval()->::PROTOBUF_NAMESPACE_ID::Duration::MergeFrom(
3196         from._internal_polling_interval());
3197   }
3198   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3199 }
3200 
CopyFrom(const ShareKeysMetadata & from)3201 void ShareKeysMetadata::CopyFrom(const ShareKeysMetadata& from) {
3202 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.ShareKeysMetadata)
3203   if (&from == this) return;
3204   Clear();
3205   MergeFrom(from);
3206 }
3207 
IsInitialized() const3208 bool ShareKeysMetadata::IsInitialized() const {
3209   return true;
3210 }
3211 
InternalSwap(ShareKeysMetadata * other)3212 void ShareKeysMetadata::InternalSwap(ShareKeysMetadata* other) {
3213   using std::swap;
3214   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3215   swap(_impl_.polling_interval_, other->_impl_.polling_interval_);
3216 }
3217 
GetTypeName() const3218 std::string ShareKeysMetadata::GetTypeName() const {
3219   return "google.internal.federatedcompute.v1.ShareKeysMetadata";
3220 }
3221 
3222 
3223 // ===================================================================
3224 
3225 class ShareKeysResponse::_Internal {
3226  public:
3227   static const ::fcp::secagg::MaskedInputCollectionRequest& masked_input_collection_server_request(const ShareKeysResponse* msg);
3228 };
3229 
3230 const ::fcp::secagg::MaskedInputCollectionRequest&
masked_input_collection_server_request(const ShareKeysResponse * msg)3231 ShareKeysResponse::_Internal::masked_input_collection_server_request(const ShareKeysResponse* msg) {
3232   return *msg->_impl_.masked_input_collection_server_request_;
3233 }
clear_masked_input_collection_server_request()3234 void ShareKeysResponse::clear_masked_input_collection_server_request() {
3235   if (GetArenaForAllocation() == nullptr && _impl_.masked_input_collection_server_request_ != nullptr) {
3236     delete _impl_.masked_input_collection_server_request_;
3237   }
3238   _impl_.masked_input_collection_server_request_ = nullptr;
3239 }
ShareKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3240 ShareKeysResponse::ShareKeysResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3241                          bool is_message_owned)
3242   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3243   SharedCtor(arena, is_message_owned);
3244   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.ShareKeysResponse)
3245 }
ShareKeysResponse(const ShareKeysResponse & from)3246 ShareKeysResponse::ShareKeysResponse(const ShareKeysResponse& from)
3247   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3248   ShareKeysResponse* const _this = this; (void)_this;
3249   new (&_impl_) Impl_{
3250       decltype(_impl_.masked_input_collection_server_request_){nullptr}
3251     , /*decltype(_impl_._cached_size_)*/{}};
3252 
3253   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3254   if (from._internal_has_masked_input_collection_server_request()) {
3255     _this->_impl_.masked_input_collection_server_request_ = new ::fcp::secagg::MaskedInputCollectionRequest(*from._impl_.masked_input_collection_server_request_);
3256   }
3257   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.ShareKeysResponse)
3258 }
3259 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3260 inline void ShareKeysResponse::SharedCtor(
3261     ::_pb::Arena* arena, bool is_message_owned) {
3262   (void)arena;
3263   (void)is_message_owned;
3264   new (&_impl_) Impl_{
3265       decltype(_impl_.masked_input_collection_server_request_){nullptr}
3266     , /*decltype(_impl_._cached_size_)*/{}
3267   };
3268 }
3269 
~ShareKeysResponse()3270 ShareKeysResponse::~ShareKeysResponse() {
3271   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.ShareKeysResponse)
3272   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3273   (void)arena;
3274     return;
3275   }
3276   SharedDtor();
3277 }
3278 
SharedDtor()3279 inline void ShareKeysResponse::SharedDtor() {
3280   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3281   if (this != internal_default_instance()) delete _impl_.masked_input_collection_server_request_;
3282 }
3283 
SetCachedSize(int size) const3284 void ShareKeysResponse::SetCachedSize(int size) const {
3285   _impl_._cached_size_.Set(size);
3286 }
3287 
Clear()3288 void ShareKeysResponse::Clear() {
3289 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.ShareKeysResponse)
3290   ::uint32_t cached_has_bits = 0;
3291   // Prevent compiler warnings about cached_has_bits being unused
3292   (void) cached_has_bits;
3293 
3294   if (GetArenaForAllocation() == nullptr && _impl_.masked_input_collection_server_request_ != nullptr) {
3295     delete _impl_.masked_input_collection_server_request_;
3296   }
3297   _impl_.masked_input_collection_server_request_ = nullptr;
3298   _internal_metadata_.Clear<std::string>();
3299 }
3300 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3301 const char* ShareKeysResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3302 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3303   while (!ctx->Done(&ptr)) {
3304     ::uint32_t tag;
3305     ptr = ::_pbi::ReadTag(ptr, &tag);
3306     switch (tag >> 3) {
3307       // .fcp.secagg.MaskedInputCollectionRequest masked_input_collection_server_request = 1;
3308       case 1:
3309         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
3310           ptr = ctx->ParseMessage(_internal_mutable_masked_input_collection_server_request(), ptr);
3311           CHK_(ptr);
3312         } else {
3313           goto handle_unusual;
3314         }
3315         continue;
3316       default:
3317         goto handle_unusual;
3318     }  // switch
3319   handle_unusual:
3320     if ((tag == 0) || ((tag & 7) == 4)) {
3321       CHK_(ptr);
3322       ctx->SetLastTag(tag);
3323       goto message_done;
3324     }
3325     ptr = UnknownFieldParse(
3326         tag,
3327         _internal_metadata_.mutable_unknown_fields<std::string>(),
3328         ptr, ctx);
3329     CHK_(ptr != nullptr);
3330   }  // while
3331 message_done:
3332   return ptr;
3333 failure:
3334   ptr = nullptr;
3335   goto message_done;
3336 #undef CHK_
3337 }
3338 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3339 ::uint8_t* ShareKeysResponse::_InternalSerialize(
3340     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3341   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.ShareKeysResponse)
3342   ::uint32_t cached_has_bits = 0;
3343   (void) cached_has_bits;
3344 
3345   // .fcp.secagg.MaskedInputCollectionRequest masked_input_collection_server_request = 1;
3346   if (this->_internal_has_masked_input_collection_server_request()) {
3347     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3348       InternalWriteMessage(1, _Internal::masked_input_collection_server_request(this),
3349         _Internal::masked_input_collection_server_request(this).GetCachedSize(), target, stream);
3350   }
3351 
3352   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3353     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3354         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3355   }
3356   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.ShareKeysResponse)
3357   return target;
3358 }
3359 
ByteSizeLong() const3360 size_t ShareKeysResponse::ByteSizeLong() const {
3361 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.ShareKeysResponse)
3362   size_t total_size = 0;
3363 
3364   ::uint32_t cached_has_bits = 0;
3365   // Prevent compiler warnings about cached_has_bits being unused
3366   (void) cached_has_bits;
3367 
3368   // .fcp.secagg.MaskedInputCollectionRequest masked_input_collection_server_request = 1;
3369   if (this->_internal_has_masked_input_collection_server_request()) {
3370     total_size += 1 +
3371       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3372         *_impl_.masked_input_collection_server_request_);
3373   }
3374 
3375   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3376     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3377   }
3378   int cached_size = ::_pbi::ToCachedSize(total_size);
3379   SetCachedSize(cached_size);
3380   return total_size;
3381 }
3382 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3383 void ShareKeysResponse::CheckTypeAndMergeFrom(
3384     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3385   MergeFrom(*::_pbi::DownCast<const ShareKeysResponse*>(
3386       &from));
3387 }
3388 
MergeFrom(const ShareKeysResponse & from)3389 void ShareKeysResponse::MergeFrom(const ShareKeysResponse& from) {
3390   ShareKeysResponse* const _this = this;
3391   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.ShareKeysResponse)
3392   GOOGLE_DCHECK_NE(&from, _this);
3393   ::uint32_t cached_has_bits = 0;
3394   (void) cached_has_bits;
3395 
3396   if (from._internal_has_masked_input_collection_server_request()) {
3397     _this->_internal_mutable_masked_input_collection_server_request()->::fcp::secagg::MaskedInputCollectionRequest::MergeFrom(
3398         from._internal_masked_input_collection_server_request());
3399   }
3400   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3401 }
3402 
CopyFrom(const ShareKeysResponse & from)3403 void ShareKeysResponse::CopyFrom(const ShareKeysResponse& from) {
3404 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.ShareKeysResponse)
3405   if (&from == this) return;
3406   Clear();
3407   MergeFrom(from);
3408 }
3409 
IsInitialized() const3410 bool ShareKeysResponse::IsInitialized() const {
3411   return true;
3412 }
3413 
InternalSwap(ShareKeysResponse * other)3414 void ShareKeysResponse::InternalSwap(ShareKeysResponse* other) {
3415   using std::swap;
3416   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3417   swap(_impl_.masked_input_collection_server_request_, other->_impl_.masked_input_collection_server_request_);
3418 }
3419 
GetTypeName() const3420 std::string ShareKeysResponse::GetTypeName() const {
3421   return "google.internal.federatedcompute.v1.ShareKeysResponse";
3422 }
3423 
3424 
3425 // ===================================================================
3426 
3427 class SubmitSecureAggregationResultRequest::_Internal {
3428  public:
3429 };
3430 
SubmitSecureAggregationResultRequest(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3431 SubmitSecureAggregationResultRequest::SubmitSecureAggregationResultRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3432                          bool is_message_owned)
3433   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3434   SharedCtor(arena, is_message_owned);
3435   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3436 }
SubmitSecureAggregationResultRequest(const SubmitSecureAggregationResultRequest & from)3437 SubmitSecureAggregationResultRequest::SubmitSecureAggregationResultRequest(const SubmitSecureAggregationResultRequest& from)
3438   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3439   SubmitSecureAggregationResultRequest* const _this = this; (void)_this;
3440   new (&_impl_) Impl_{
3441       decltype(_impl_.aggregation_id_){}
3442     , decltype(_impl_.client_token_){}
3443     , decltype(_impl_.masked_result_resource_name_){}
3444     , decltype(_impl_.nonmasked_result_resource_name_){}
3445     , /*decltype(_impl_._cached_size_)*/{}};
3446 
3447   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3448   _impl_.aggregation_id_.InitDefault();
3449   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3450     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
3451   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3452   if (!from._internal_aggregation_id().empty()) {
3453     _this->_impl_.aggregation_id_.Set(from._internal_aggregation_id(),
3454       _this->GetArenaForAllocation());
3455   }
3456   _impl_.client_token_.InitDefault();
3457   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3458     _impl_.client_token_.Set("", GetArenaForAllocation());
3459   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3460   if (!from._internal_client_token().empty()) {
3461     _this->_impl_.client_token_.Set(from._internal_client_token(),
3462       _this->GetArenaForAllocation());
3463   }
3464   _impl_.masked_result_resource_name_.InitDefault();
3465   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3466     _impl_.masked_result_resource_name_.Set("", GetArenaForAllocation());
3467   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3468   if (!from._internal_masked_result_resource_name().empty()) {
3469     _this->_impl_.masked_result_resource_name_.Set(from._internal_masked_result_resource_name(),
3470       _this->GetArenaForAllocation());
3471   }
3472   _impl_.nonmasked_result_resource_name_.InitDefault();
3473   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3474     _impl_.nonmasked_result_resource_name_.Set("", GetArenaForAllocation());
3475   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3476   if (!from._internal_nonmasked_result_resource_name().empty()) {
3477     _this->_impl_.nonmasked_result_resource_name_.Set(from._internal_nonmasked_result_resource_name(),
3478       _this->GetArenaForAllocation());
3479   }
3480   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3481 }
3482 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3483 inline void SubmitSecureAggregationResultRequest::SharedCtor(
3484     ::_pb::Arena* arena, bool is_message_owned) {
3485   (void)arena;
3486   (void)is_message_owned;
3487   new (&_impl_) Impl_{
3488       decltype(_impl_.aggregation_id_){}
3489     , decltype(_impl_.client_token_){}
3490     , decltype(_impl_.masked_result_resource_name_){}
3491     , decltype(_impl_.nonmasked_result_resource_name_){}
3492     , /*decltype(_impl_._cached_size_)*/{}
3493   };
3494   _impl_.aggregation_id_.InitDefault();
3495   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3496     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
3497   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3498   _impl_.client_token_.InitDefault();
3499   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3500     _impl_.client_token_.Set("", GetArenaForAllocation());
3501   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3502   _impl_.masked_result_resource_name_.InitDefault();
3503   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3504     _impl_.masked_result_resource_name_.Set("", GetArenaForAllocation());
3505   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3506   _impl_.nonmasked_result_resource_name_.InitDefault();
3507   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3508     _impl_.nonmasked_result_resource_name_.Set("", GetArenaForAllocation());
3509   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3510 }
3511 
~SubmitSecureAggregationResultRequest()3512 SubmitSecureAggregationResultRequest::~SubmitSecureAggregationResultRequest() {
3513   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3514   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3515   (void)arena;
3516     return;
3517   }
3518   SharedDtor();
3519 }
3520 
SharedDtor()3521 inline void SubmitSecureAggregationResultRequest::SharedDtor() {
3522   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3523   _impl_.aggregation_id_.Destroy();
3524   _impl_.client_token_.Destroy();
3525   _impl_.masked_result_resource_name_.Destroy();
3526   _impl_.nonmasked_result_resource_name_.Destroy();
3527 }
3528 
SetCachedSize(int size) const3529 void SubmitSecureAggregationResultRequest::SetCachedSize(int size) const {
3530   _impl_._cached_size_.Set(size);
3531 }
3532 
Clear()3533 void SubmitSecureAggregationResultRequest::Clear() {
3534 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3535   ::uint32_t cached_has_bits = 0;
3536   // Prevent compiler warnings about cached_has_bits being unused
3537   (void) cached_has_bits;
3538 
3539   _impl_.aggregation_id_.ClearToEmpty();
3540   _impl_.client_token_.ClearToEmpty();
3541   _impl_.masked_result_resource_name_.ClearToEmpty();
3542   _impl_.nonmasked_result_resource_name_.ClearToEmpty();
3543   _internal_metadata_.Clear<std::string>();
3544 }
3545 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3546 const char* SubmitSecureAggregationResultRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3547 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3548   while (!ctx->Done(&ptr)) {
3549     ::uint32_t tag;
3550     ptr = ::_pbi::ReadTag(ptr, &tag);
3551     switch (tag >> 3) {
3552       // string aggregation_id = 1;
3553       case 1:
3554         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
3555           auto str = _internal_mutable_aggregation_id();
3556           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3557           CHK_(ptr);
3558           CHK_(::_pbi::VerifyUTF8(str, nullptr));
3559         } else {
3560           goto handle_unusual;
3561         }
3562         continue;
3563       // string client_token = 2;
3564       case 2:
3565         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
3566           auto str = _internal_mutable_client_token();
3567           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3568           CHK_(ptr);
3569           CHK_(::_pbi::VerifyUTF8(str, nullptr));
3570         } else {
3571           goto handle_unusual;
3572         }
3573         continue;
3574       // string masked_result_resource_name = 3;
3575       case 3:
3576         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
3577           auto str = _internal_mutable_masked_result_resource_name();
3578           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3579           CHK_(ptr);
3580           CHK_(::_pbi::VerifyUTF8(str, nullptr));
3581         } else {
3582           goto handle_unusual;
3583         }
3584         continue;
3585       // string nonmasked_result_resource_name = 4;
3586       case 4:
3587         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
3588           auto str = _internal_mutable_nonmasked_result_resource_name();
3589           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3590           CHK_(ptr);
3591           CHK_(::_pbi::VerifyUTF8(str, nullptr));
3592         } else {
3593           goto handle_unusual;
3594         }
3595         continue;
3596       default:
3597         goto handle_unusual;
3598     }  // switch
3599   handle_unusual:
3600     if ((tag == 0) || ((tag & 7) == 4)) {
3601       CHK_(ptr);
3602       ctx->SetLastTag(tag);
3603       goto message_done;
3604     }
3605     ptr = UnknownFieldParse(
3606         tag,
3607         _internal_metadata_.mutable_unknown_fields<std::string>(),
3608         ptr, ctx);
3609     CHK_(ptr != nullptr);
3610   }  // while
3611 message_done:
3612   return ptr;
3613 failure:
3614   ptr = nullptr;
3615   goto message_done;
3616 #undef CHK_
3617 }
3618 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3619 ::uint8_t* SubmitSecureAggregationResultRequest::_InternalSerialize(
3620     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3621   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3622   ::uint32_t cached_has_bits = 0;
3623   (void) cached_has_bits;
3624 
3625   // string aggregation_id = 1;
3626   if (!this->_internal_aggregation_id().empty()) {
3627     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3628       this->_internal_aggregation_id().data(), static_cast<int>(this->_internal_aggregation_id().length()),
3629       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3630       "google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest.aggregation_id");
3631     target = stream->WriteStringMaybeAliased(
3632         1, this->_internal_aggregation_id(), target);
3633   }
3634 
3635   // string client_token = 2;
3636   if (!this->_internal_client_token().empty()) {
3637     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3638       this->_internal_client_token().data(), static_cast<int>(this->_internal_client_token().length()),
3639       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3640       "google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest.client_token");
3641     target = stream->WriteStringMaybeAliased(
3642         2, this->_internal_client_token(), target);
3643   }
3644 
3645   // string masked_result_resource_name = 3;
3646   if (!this->_internal_masked_result_resource_name().empty()) {
3647     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3648       this->_internal_masked_result_resource_name().data(), static_cast<int>(this->_internal_masked_result_resource_name().length()),
3649       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3650       "google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest.masked_result_resource_name");
3651     target = stream->WriteStringMaybeAliased(
3652         3, this->_internal_masked_result_resource_name(), target);
3653   }
3654 
3655   // string nonmasked_result_resource_name = 4;
3656   if (!this->_internal_nonmasked_result_resource_name().empty()) {
3657     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
3658       this->_internal_nonmasked_result_resource_name().data(), static_cast<int>(this->_internal_nonmasked_result_resource_name().length()),
3659       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
3660       "google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest.nonmasked_result_resource_name");
3661     target = stream->WriteStringMaybeAliased(
3662         4, this->_internal_nonmasked_result_resource_name(), target);
3663   }
3664 
3665   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3666     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3667         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3668   }
3669   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3670   return target;
3671 }
3672 
ByteSizeLong() const3673 size_t SubmitSecureAggregationResultRequest::ByteSizeLong() const {
3674 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3675   size_t total_size = 0;
3676 
3677   ::uint32_t cached_has_bits = 0;
3678   // Prevent compiler warnings about cached_has_bits being unused
3679   (void) cached_has_bits;
3680 
3681   // string aggregation_id = 1;
3682   if (!this->_internal_aggregation_id().empty()) {
3683     total_size += 1 +
3684       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3685         this->_internal_aggregation_id());
3686   }
3687 
3688   // string client_token = 2;
3689   if (!this->_internal_client_token().empty()) {
3690     total_size += 1 +
3691       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3692         this->_internal_client_token());
3693   }
3694 
3695   // string masked_result_resource_name = 3;
3696   if (!this->_internal_masked_result_resource_name().empty()) {
3697     total_size += 1 +
3698       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3699         this->_internal_masked_result_resource_name());
3700   }
3701 
3702   // string nonmasked_result_resource_name = 4;
3703   if (!this->_internal_nonmasked_result_resource_name().empty()) {
3704     total_size += 1 +
3705       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3706         this->_internal_nonmasked_result_resource_name());
3707   }
3708 
3709   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3710     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3711   }
3712   int cached_size = ::_pbi::ToCachedSize(total_size);
3713   SetCachedSize(cached_size);
3714   return total_size;
3715 }
3716 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3717 void SubmitSecureAggregationResultRequest::CheckTypeAndMergeFrom(
3718     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3719   MergeFrom(*::_pbi::DownCast<const SubmitSecureAggregationResultRequest*>(
3720       &from));
3721 }
3722 
MergeFrom(const SubmitSecureAggregationResultRequest & from)3723 void SubmitSecureAggregationResultRequest::MergeFrom(const SubmitSecureAggregationResultRequest& from) {
3724   SubmitSecureAggregationResultRequest* const _this = this;
3725   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3726   GOOGLE_DCHECK_NE(&from, _this);
3727   ::uint32_t cached_has_bits = 0;
3728   (void) cached_has_bits;
3729 
3730   if (!from._internal_aggregation_id().empty()) {
3731     _this->_internal_set_aggregation_id(from._internal_aggregation_id());
3732   }
3733   if (!from._internal_client_token().empty()) {
3734     _this->_internal_set_client_token(from._internal_client_token());
3735   }
3736   if (!from._internal_masked_result_resource_name().empty()) {
3737     _this->_internal_set_masked_result_resource_name(from._internal_masked_result_resource_name());
3738   }
3739   if (!from._internal_nonmasked_result_resource_name().empty()) {
3740     _this->_internal_set_nonmasked_result_resource_name(from._internal_nonmasked_result_resource_name());
3741   }
3742   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3743 }
3744 
CopyFrom(const SubmitSecureAggregationResultRequest & from)3745 void SubmitSecureAggregationResultRequest::CopyFrom(const SubmitSecureAggregationResultRequest& from) {
3746 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest)
3747   if (&from == this) return;
3748   Clear();
3749   MergeFrom(from);
3750 }
3751 
IsInitialized() const3752 bool SubmitSecureAggregationResultRequest::IsInitialized() const {
3753   return true;
3754 }
3755 
InternalSwap(SubmitSecureAggregationResultRequest * other)3756 void SubmitSecureAggregationResultRequest::InternalSwap(SubmitSecureAggregationResultRequest* other) {
3757   using std::swap;
3758   auto* lhs_arena = GetArenaForAllocation();
3759   auto* rhs_arena = other->GetArenaForAllocation();
3760   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3761   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3762       &_impl_.aggregation_id_, lhs_arena,
3763       &other->_impl_.aggregation_id_, rhs_arena
3764   );
3765   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3766       &_impl_.client_token_, lhs_arena,
3767       &other->_impl_.client_token_, rhs_arena
3768   );
3769   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3770       &_impl_.masked_result_resource_name_, lhs_arena,
3771       &other->_impl_.masked_result_resource_name_, rhs_arena
3772   );
3773   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3774       &_impl_.nonmasked_result_resource_name_, lhs_arena,
3775       &other->_impl_.nonmasked_result_resource_name_, rhs_arena
3776   );
3777 }
3778 
GetTypeName() const3779 std::string SubmitSecureAggregationResultRequest::GetTypeName() const {
3780   return "google.internal.federatedcompute.v1.SubmitSecureAggregationResultRequest";
3781 }
3782 
3783 
3784 // ===================================================================
3785 
3786 class SubmitSecureAggregationResultMetadata::_Internal {
3787  public:
3788   static const ::PROTOBUF_NAMESPACE_ID::Duration& polling_interval(const SubmitSecureAggregationResultMetadata* msg);
3789 };
3790 
3791 const ::PROTOBUF_NAMESPACE_ID::Duration&
polling_interval(const SubmitSecureAggregationResultMetadata * msg)3792 SubmitSecureAggregationResultMetadata::_Internal::polling_interval(const SubmitSecureAggregationResultMetadata* msg) {
3793   return *msg->_impl_.polling_interval_;
3794 }
clear_polling_interval()3795 void SubmitSecureAggregationResultMetadata::clear_polling_interval() {
3796   if (GetArenaForAllocation() == nullptr && _impl_.polling_interval_ != nullptr) {
3797     delete _impl_.polling_interval_;
3798   }
3799   _impl_.polling_interval_ = nullptr;
3800 }
SubmitSecureAggregationResultMetadata(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)3801 SubmitSecureAggregationResultMetadata::SubmitSecureAggregationResultMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3802                          bool is_message_owned)
3803   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
3804   SharedCtor(arena, is_message_owned);
3805   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3806 }
SubmitSecureAggregationResultMetadata(const SubmitSecureAggregationResultMetadata & from)3807 SubmitSecureAggregationResultMetadata::SubmitSecureAggregationResultMetadata(const SubmitSecureAggregationResultMetadata& from)
3808   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
3809   SubmitSecureAggregationResultMetadata* const _this = this; (void)_this;
3810   new (&_impl_) Impl_{
3811       decltype(_impl_.polling_interval_){nullptr}
3812     , /*decltype(_impl_._cached_size_)*/{}};
3813 
3814   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3815   if (from._internal_has_polling_interval()) {
3816     _this->_impl_.polling_interval_ = new ::PROTOBUF_NAMESPACE_ID::Duration(*from._impl_.polling_interval_);
3817   }
3818   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3819 }
3820 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)3821 inline void SubmitSecureAggregationResultMetadata::SharedCtor(
3822     ::_pb::Arena* arena, bool is_message_owned) {
3823   (void)arena;
3824   (void)is_message_owned;
3825   new (&_impl_) Impl_{
3826       decltype(_impl_.polling_interval_){nullptr}
3827     , /*decltype(_impl_._cached_size_)*/{}
3828   };
3829 }
3830 
~SubmitSecureAggregationResultMetadata()3831 SubmitSecureAggregationResultMetadata::~SubmitSecureAggregationResultMetadata() {
3832   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3833   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
3834   (void)arena;
3835     return;
3836   }
3837   SharedDtor();
3838 }
3839 
SharedDtor()3840 inline void SubmitSecureAggregationResultMetadata::SharedDtor() {
3841   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3842   if (this != internal_default_instance()) delete _impl_.polling_interval_;
3843 }
3844 
SetCachedSize(int size) const3845 void SubmitSecureAggregationResultMetadata::SetCachedSize(int size) const {
3846   _impl_._cached_size_.Set(size);
3847 }
3848 
Clear()3849 void SubmitSecureAggregationResultMetadata::Clear() {
3850 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3851   ::uint32_t cached_has_bits = 0;
3852   // Prevent compiler warnings about cached_has_bits being unused
3853   (void) cached_has_bits;
3854 
3855   if (GetArenaForAllocation() == nullptr && _impl_.polling_interval_ != nullptr) {
3856     delete _impl_.polling_interval_;
3857   }
3858   _impl_.polling_interval_ = nullptr;
3859   _internal_metadata_.Clear<std::string>();
3860 }
3861 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)3862 const char* SubmitSecureAggregationResultMetadata::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3863 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3864   while (!ctx->Done(&ptr)) {
3865     ::uint32_t tag;
3866     ptr = ::_pbi::ReadTag(ptr, &tag);
3867     switch (tag >> 3) {
3868       // .google.protobuf.Duration polling_interval = 1;
3869       case 1:
3870         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
3871           ptr = ctx->ParseMessage(_internal_mutable_polling_interval(), ptr);
3872           CHK_(ptr);
3873         } else {
3874           goto handle_unusual;
3875         }
3876         continue;
3877       default:
3878         goto handle_unusual;
3879     }  // switch
3880   handle_unusual:
3881     if ((tag == 0) || ((tag & 7) == 4)) {
3882       CHK_(ptr);
3883       ctx->SetLastTag(tag);
3884       goto message_done;
3885     }
3886     ptr = UnknownFieldParse(
3887         tag,
3888         _internal_metadata_.mutable_unknown_fields<std::string>(),
3889         ptr, ctx);
3890     CHK_(ptr != nullptr);
3891   }  // while
3892 message_done:
3893   return ptr;
3894 failure:
3895   ptr = nullptr;
3896   goto message_done;
3897 #undef CHK_
3898 }
3899 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const3900 ::uint8_t* SubmitSecureAggregationResultMetadata::_InternalSerialize(
3901     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3902   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3903   ::uint32_t cached_has_bits = 0;
3904   (void) cached_has_bits;
3905 
3906   // .google.protobuf.Duration polling_interval = 1;
3907   if (this->_internal_has_polling_interval()) {
3908     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3909       InternalWriteMessage(1, _Internal::polling_interval(this),
3910         _Internal::polling_interval(this).GetCachedSize(), target, stream);
3911   }
3912 
3913   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3914     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
3915         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
3916   }
3917   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3918   return target;
3919 }
3920 
ByteSizeLong() const3921 size_t SubmitSecureAggregationResultMetadata::ByteSizeLong() const {
3922 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3923   size_t total_size = 0;
3924 
3925   ::uint32_t cached_has_bits = 0;
3926   // Prevent compiler warnings about cached_has_bits being unused
3927   (void) cached_has_bits;
3928 
3929   // .google.protobuf.Duration polling_interval = 1;
3930   if (this->_internal_has_polling_interval()) {
3931     total_size += 1 +
3932       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3933         *_impl_.polling_interval_);
3934   }
3935 
3936   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3937     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
3938   }
3939   int cached_size = ::_pbi::ToCachedSize(total_size);
3940   SetCachedSize(cached_size);
3941   return total_size;
3942 }
3943 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)3944 void SubmitSecureAggregationResultMetadata::CheckTypeAndMergeFrom(
3945     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
3946   MergeFrom(*::_pbi::DownCast<const SubmitSecureAggregationResultMetadata*>(
3947       &from));
3948 }
3949 
MergeFrom(const SubmitSecureAggregationResultMetadata & from)3950 void SubmitSecureAggregationResultMetadata::MergeFrom(const SubmitSecureAggregationResultMetadata& from) {
3951   SubmitSecureAggregationResultMetadata* const _this = this;
3952   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3953   GOOGLE_DCHECK_NE(&from, _this);
3954   ::uint32_t cached_has_bits = 0;
3955   (void) cached_has_bits;
3956 
3957   if (from._internal_has_polling_interval()) {
3958     _this->_internal_mutable_polling_interval()->::PROTOBUF_NAMESPACE_ID::Duration::MergeFrom(
3959         from._internal_polling_interval());
3960   }
3961   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
3962 }
3963 
CopyFrom(const SubmitSecureAggregationResultMetadata & from)3964 void SubmitSecureAggregationResultMetadata::CopyFrom(const SubmitSecureAggregationResultMetadata& from) {
3965 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata)
3966   if (&from == this) return;
3967   Clear();
3968   MergeFrom(from);
3969 }
3970 
IsInitialized() const3971 bool SubmitSecureAggregationResultMetadata::IsInitialized() const {
3972   return true;
3973 }
3974 
InternalSwap(SubmitSecureAggregationResultMetadata * other)3975 void SubmitSecureAggregationResultMetadata::InternalSwap(SubmitSecureAggregationResultMetadata* other) {
3976   using std::swap;
3977   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3978   swap(_impl_.polling_interval_, other->_impl_.polling_interval_);
3979 }
3980 
GetTypeName() const3981 std::string SubmitSecureAggregationResultMetadata::GetTypeName() const {
3982   return "google.internal.federatedcompute.v1.SubmitSecureAggregationResultMetadata";
3983 }
3984 
3985 
3986 // ===================================================================
3987 
3988 class SubmitSecureAggregationResultResponse::_Internal {
3989  public:
3990   static const ::fcp::secagg::UnmaskingRequest& unmasking_server_request(const SubmitSecureAggregationResultResponse* msg);
3991 };
3992 
3993 const ::fcp::secagg::UnmaskingRequest&
unmasking_server_request(const SubmitSecureAggregationResultResponse * msg)3994 SubmitSecureAggregationResultResponse::_Internal::unmasking_server_request(const SubmitSecureAggregationResultResponse* msg) {
3995   return *msg->_impl_.unmasking_server_request_;
3996 }
clear_unmasking_server_request()3997 void SubmitSecureAggregationResultResponse::clear_unmasking_server_request() {
3998   if (GetArenaForAllocation() == nullptr && _impl_.unmasking_server_request_ != nullptr) {
3999     delete _impl_.unmasking_server_request_;
4000   }
4001   _impl_.unmasking_server_request_ = nullptr;
4002 }
SubmitSecureAggregationResultResponse(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4003 SubmitSecureAggregationResultResponse::SubmitSecureAggregationResultResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4004                          bool is_message_owned)
4005   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4006   SharedCtor(arena, is_message_owned);
4007   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4008 }
SubmitSecureAggregationResultResponse(const SubmitSecureAggregationResultResponse & from)4009 SubmitSecureAggregationResultResponse::SubmitSecureAggregationResultResponse(const SubmitSecureAggregationResultResponse& from)
4010   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4011   SubmitSecureAggregationResultResponse* const _this = this; (void)_this;
4012   new (&_impl_) Impl_{
4013       decltype(_impl_.unmasking_server_request_){nullptr}
4014     , /*decltype(_impl_._cached_size_)*/{}};
4015 
4016   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4017   if (from._internal_has_unmasking_server_request()) {
4018     _this->_impl_.unmasking_server_request_ = new ::fcp::secagg::UnmaskingRequest(*from._impl_.unmasking_server_request_);
4019   }
4020   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4021 }
4022 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4023 inline void SubmitSecureAggregationResultResponse::SharedCtor(
4024     ::_pb::Arena* arena, bool is_message_owned) {
4025   (void)arena;
4026   (void)is_message_owned;
4027   new (&_impl_) Impl_{
4028       decltype(_impl_.unmasking_server_request_){nullptr}
4029     , /*decltype(_impl_._cached_size_)*/{}
4030   };
4031 }
4032 
~SubmitSecureAggregationResultResponse()4033 SubmitSecureAggregationResultResponse::~SubmitSecureAggregationResultResponse() {
4034   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4035   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4036   (void)arena;
4037     return;
4038   }
4039   SharedDtor();
4040 }
4041 
SharedDtor()4042 inline void SubmitSecureAggregationResultResponse::SharedDtor() {
4043   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4044   if (this != internal_default_instance()) delete _impl_.unmasking_server_request_;
4045 }
4046 
SetCachedSize(int size) const4047 void SubmitSecureAggregationResultResponse::SetCachedSize(int size) const {
4048   _impl_._cached_size_.Set(size);
4049 }
4050 
Clear()4051 void SubmitSecureAggregationResultResponse::Clear() {
4052 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4053   ::uint32_t cached_has_bits = 0;
4054   // Prevent compiler warnings about cached_has_bits being unused
4055   (void) cached_has_bits;
4056 
4057   if (GetArenaForAllocation() == nullptr && _impl_.unmasking_server_request_ != nullptr) {
4058     delete _impl_.unmasking_server_request_;
4059   }
4060   _impl_.unmasking_server_request_ = nullptr;
4061   _internal_metadata_.Clear<std::string>();
4062 }
4063 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4064 const char* SubmitSecureAggregationResultResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4065 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4066   while (!ctx->Done(&ptr)) {
4067     ::uint32_t tag;
4068     ptr = ::_pbi::ReadTag(ptr, &tag);
4069     switch (tag >> 3) {
4070       // .fcp.secagg.UnmaskingRequest unmasking_server_request = 1;
4071       case 1:
4072         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
4073           ptr = ctx->ParseMessage(_internal_mutable_unmasking_server_request(), ptr);
4074           CHK_(ptr);
4075         } else {
4076           goto handle_unusual;
4077         }
4078         continue;
4079       default:
4080         goto handle_unusual;
4081     }  // switch
4082   handle_unusual:
4083     if ((tag == 0) || ((tag & 7) == 4)) {
4084       CHK_(ptr);
4085       ctx->SetLastTag(tag);
4086       goto message_done;
4087     }
4088     ptr = UnknownFieldParse(
4089         tag,
4090         _internal_metadata_.mutable_unknown_fields<std::string>(),
4091         ptr, ctx);
4092     CHK_(ptr != nullptr);
4093   }  // while
4094 message_done:
4095   return ptr;
4096 failure:
4097   ptr = nullptr;
4098   goto message_done;
4099 #undef CHK_
4100 }
4101 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4102 ::uint8_t* SubmitSecureAggregationResultResponse::_InternalSerialize(
4103     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4104   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4105   ::uint32_t cached_has_bits = 0;
4106   (void) cached_has_bits;
4107 
4108   // .fcp.secagg.UnmaskingRequest unmasking_server_request = 1;
4109   if (this->_internal_has_unmasking_server_request()) {
4110     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4111       InternalWriteMessage(1, _Internal::unmasking_server_request(this),
4112         _Internal::unmasking_server_request(this).GetCachedSize(), target, stream);
4113   }
4114 
4115   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4116     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4117         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4118   }
4119   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4120   return target;
4121 }
4122 
ByteSizeLong() const4123 size_t SubmitSecureAggregationResultResponse::ByteSizeLong() const {
4124 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4125   size_t total_size = 0;
4126 
4127   ::uint32_t cached_has_bits = 0;
4128   // Prevent compiler warnings about cached_has_bits being unused
4129   (void) cached_has_bits;
4130 
4131   // .fcp.secagg.UnmaskingRequest unmasking_server_request = 1;
4132   if (this->_internal_has_unmasking_server_request()) {
4133     total_size += 1 +
4134       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4135         *_impl_.unmasking_server_request_);
4136   }
4137 
4138   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4139     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4140   }
4141   int cached_size = ::_pbi::ToCachedSize(total_size);
4142   SetCachedSize(cached_size);
4143   return total_size;
4144 }
4145 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4146 void SubmitSecureAggregationResultResponse::CheckTypeAndMergeFrom(
4147     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4148   MergeFrom(*::_pbi::DownCast<const SubmitSecureAggregationResultResponse*>(
4149       &from));
4150 }
4151 
MergeFrom(const SubmitSecureAggregationResultResponse & from)4152 void SubmitSecureAggregationResultResponse::MergeFrom(const SubmitSecureAggregationResultResponse& from) {
4153   SubmitSecureAggregationResultResponse* const _this = this;
4154   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4155   GOOGLE_DCHECK_NE(&from, _this);
4156   ::uint32_t cached_has_bits = 0;
4157   (void) cached_has_bits;
4158 
4159   if (from._internal_has_unmasking_server_request()) {
4160     _this->_internal_mutable_unmasking_server_request()->::fcp::secagg::UnmaskingRequest::MergeFrom(
4161         from._internal_unmasking_server_request());
4162   }
4163   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4164 }
4165 
CopyFrom(const SubmitSecureAggregationResultResponse & from)4166 void SubmitSecureAggregationResultResponse::CopyFrom(const SubmitSecureAggregationResultResponse& from) {
4167 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse)
4168   if (&from == this) return;
4169   Clear();
4170   MergeFrom(from);
4171 }
4172 
IsInitialized() const4173 bool SubmitSecureAggregationResultResponse::IsInitialized() const {
4174   return true;
4175 }
4176 
InternalSwap(SubmitSecureAggregationResultResponse * other)4177 void SubmitSecureAggregationResultResponse::InternalSwap(SubmitSecureAggregationResultResponse* other) {
4178   using std::swap;
4179   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4180   swap(_impl_.unmasking_server_request_, other->_impl_.unmasking_server_request_);
4181 }
4182 
GetTypeName() const4183 std::string SubmitSecureAggregationResultResponse::GetTypeName() const {
4184   return "google.internal.federatedcompute.v1.SubmitSecureAggregationResultResponse";
4185 }
4186 
4187 
4188 // ===================================================================
4189 
4190 class UnmaskRequest::_Internal {
4191  public:
4192   static const ::fcp::secagg::UnmaskingResponse& unmasking_client_response(const UnmaskRequest* msg);
4193 };
4194 
4195 const ::fcp::secagg::UnmaskingResponse&
unmasking_client_response(const UnmaskRequest * msg)4196 UnmaskRequest::_Internal::unmasking_client_response(const UnmaskRequest* msg) {
4197   return *msg->_impl_.unmasking_client_response_;
4198 }
clear_unmasking_client_response()4199 void UnmaskRequest::clear_unmasking_client_response() {
4200   if (GetArenaForAllocation() == nullptr && _impl_.unmasking_client_response_ != nullptr) {
4201     delete _impl_.unmasking_client_response_;
4202   }
4203   _impl_.unmasking_client_response_ = nullptr;
4204 }
UnmaskRequest(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4205 UnmaskRequest::UnmaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4206                          bool is_message_owned)
4207   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4208   SharedCtor(arena, is_message_owned);
4209   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.UnmaskRequest)
4210 }
UnmaskRequest(const UnmaskRequest & from)4211 UnmaskRequest::UnmaskRequest(const UnmaskRequest& from)
4212   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4213   UnmaskRequest* const _this = this; (void)_this;
4214   new (&_impl_) Impl_{
4215       decltype(_impl_.aggregation_id_){}
4216     , decltype(_impl_.client_token_){}
4217     , decltype(_impl_.unmasking_client_response_){nullptr}
4218     , /*decltype(_impl_._cached_size_)*/{}};
4219 
4220   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4221   _impl_.aggregation_id_.InitDefault();
4222   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4223     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
4224   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4225   if (!from._internal_aggregation_id().empty()) {
4226     _this->_impl_.aggregation_id_.Set(from._internal_aggregation_id(),
4227       _this->GetArenaForAllocation());
4228   }
4229   _impl_.client_token_.InitDefault();
4230   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4231     _impl_.client_token_.Set("", GetArenaForAllocation());
4232   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4233   if (!from._internal_client_token().empty()) {
4234     _this->_impl_.client_token_.Set(from._internal_client_token(),
4235       _this->GetArenaForAllocation());
4236   }
4237   if (from._internal_has_unmasking_client_response()) {
4238     _this->_impl_.unmasking_client_response_ = new ::fcp::secagg::UnmaskingResponse(*from._impl_.unmasking_client_response_);
4239   }
4240   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.UnmaskRequest)
4241 }
4242 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4243 inline void UnmaskRequest::SharedCtor(
4244     ::_pb::Arena* arena, bool is_message_owned) {
4245   (void)arena;
4246   (void)is_message_owned;
4247   new (&_impl_) Impl_{
4248       decltype(_impl_.aggregation_id_){}
4249     , decltype(_impl_.client_token_){}
4250     , decltype(_impl_.unmasking_client_response_){nullptr}
4251     , /*decltype(_impl_._cached_size_)*/{}
4252   };
4253   _impl_.aggregation_id_.InitDefault();
4254   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4255     _impl_.aggregation_id_.Set("", GetArenaForAllocation());
4256   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4257   _impl_.client_token_.InitDefault();
4258   #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4259     _impl_.client_token_.Set("", GetArenaForAllocation());
4260   #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4261 }
4262 
~UnmaskRequest()4263 UnmaskRequest::~UnmaskRequest() {
4264   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.UnmaskRequest)
4265   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4266   (void)arena;
4267     return;
4268   }
4269   SharedDtor();
4270 }
4271 
SharedDtor()4272 inline void UnmaskRequest::SharedDtor() {
4273   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4274   _impl_.aggregation_id_.Destroy();
4275   _impl_.client_token_.Destroy();
4276   if (this != internal_default_instance()) delete _impl_.unmasking_client_response_;
4277 }
4278 
SetCachedSize(int size) const4279 void UnmaskRequest::SetCachedSize(int size) const {
4280   _impl_._cached_size_.Set(size);
4281 }
4282 
Clear()4283 void UnmaskRequest::Clear() {
4284 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.UnmaskRequest)
4285   ::uint32_t cached_has_bits = 0;
4286   // Prevent compiler warnings about cached_has_bits being unused
4287   (void) cached_has_bits;
4288 
4289   _impl_.aggregation_id_.ClearToEmpty();
4290   _impl_.client_token_.ClearToEmpty();
4291   if (GetArenaForAllocation() == nullptr && _impl_.unmasking_client_response_ != nullptr) {
4292     delete _impl_.unmasking_client_response_;
4293   }
4294   _impl_.unmasking_client_response_ = nullptr;
4295   _internal_metadata_.Clear<std::string>();
4296 }
4297 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4298 const char* UnmaskRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4299 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4300   while (!ctx->Done(&ptr)) {
4301     ::uint32_t tag;
4302     ptr = ::_pbi::ReadTag(ptr, &tag);
4303     switch (tag >> 3) {
4304       // string aggregation_id = 1;
4305       case 1:
4306         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
4307           auto str = _internal_mutable_aggregation_id();
4308           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4309           CHK_(ptr);
4310           CHK_(::_pbi::VerifyUTF8(str, nullptr));
4311         } else {
4312           goto handle_unusual;
4313         }
4314         continue;
4315       // string client_token = 2;
4316       case 2:
4317         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
4318           auto str = _internal_mutable_client_token();
4319           ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4320           CHK_(ptr);
4321           CHK_(::_pbi::VerifyUTF8(str, nullptr));
4322         } else {
4323           goto handle_unusual;
4324         }
4325         continue;
4326       // .fcp.secagg.UnmaskingResponse unmasking_client_response = 3;
4327       case 3:
4328         if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
4329           ptr = ctx->ParseMessage(_internal_mutable_unmasking_client_response(), ptr);
4330           CHK_(ptr);
4331         } else {
4332           goto handle_unusual;
4333         }
4334         continue;
4335       default:
4336         goto handle_unusual;
4337     }  // switch
4338   handle_unusual:
4339     if ((tag == 0) || ((tag & 7) == 4)) {
4340       CHK_(ptr);
4341       ctx->SetLastTag(tag);
4342       goto message_done;
4343     }
4344     ptr = UnknownFieldParse(
4345         tag,
4346         _internal_metadata_.mutable_unknown_fields<std::string>(),
4347         ptr, ctx);
4348     CHK_(ptr != nullptr);
4349   }  // while
4350 message_done:
4351   return ptr;
4352 failure:
4353   ptr = nullptr;
4354   goto message_done;
4355 #undef CHK_
4356 }
4357 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4358 ::uint8_t* UnmaskRequest::_InternalSerialize(
4359     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4360   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.UnmaskRequest)
4361   ::uint32_t cached_has_bits = 0;
4362   (void) cached_has_bits;
4363 
4364   // string aggregation_id = 1;
4365   if (!this->_internal_aggregation_id().empty()) {
4366     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4367       this->_internal_aggregation_id().data(), static_cast<int>(this->_internal_aggregation_id().length()),
4368       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4369       "google.internal.federatedcompute.v1.UnmaskRequest.aggregation_id");
4370     target = stream->WriteStringMaybeAliased(
4371         1, this->_internal_aggregation_id(), target);
4372   }
4373 
4374   // string client_token = 2;
4375   if (!this->_internal_client_token().empty()) {
4376     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
4377       this->_internal_client_token().data(), static_cast<int>(this->_internal_client_token().length()),
4378       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
4379       "google.internal.federatedcompute.v1.UnmaskRequest.client_token");
4380     target = stream->WriteStringMaybeAliased(
4381         2, this->_internal_client_token(), target);
4382   }
4383 
4384   // .fcp.secagg.UnmaskingResponse unmasking_client_response = 3;
4385   if (this->_internal_has_unmasking_client_response()) {
4386     target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
4387       InternalWriteMessage(3, _Internal::unmasking_client_response(this),
4388         _Internal::unmasking_client_response(this).GetCachedSize(), target, stream);
4389   }
4390 
4391   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4392     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4393         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4394   }
4395   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.UnmaskRequest)
4396   return target;
4397 }
4398 
ByteSizeLong() const4399 size_t UnmaskRequest::ByteSizeLong() const {
4400 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.UnmaskRequest)
4401   size_t total_size = 0;
4402 
4403   ::uint32_t cached_has_bits = 0;
4404   // Prevent compiler warnings about cached_has_bits being unused
4405   (void) cached_has_bits;
4406 
4407   // string aggregation_id = 1;
4408   if (!this->_internal_aggregation_id().empty()) {
4409     total_size += 1 +
4410       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4411         this->_internal_aggregation_id());
4412   }
4413 
4414   // string client_token = 2;
4415   if (!this->_internal_client_token().empty()) {
4416     total_size += 1 +
4417       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4418         this->_internal_client_token());
4419   }
4420 
4421   // .fcp.secagg.UnmaskingResponse unmasking_client_response = 3;
4422   if (this->_internal_has_unmasking_client_response()) {
4423     total_size += 1 +
4424       ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
4425         *_impl_.unmasking_client_response_);
4426   }
4427 
4428   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4429     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4430   }
4431   int cached_size = ::_pbi::ToCachedSize(total_size);
4432   SetCachedSize(cached_size);
4433   return total_size;
4434 }
4435 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4436 void UnmaskRequest::CheckTypeAndMergeFrom(
4437     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4438   MergeFrom(*::_pbi::DownCast<const UnmaskRequest*>(
4439       &from));
4440 }
4441 
MergeFrom(const UnmaskRequest & from)4442 void UnmaskRequest::MergeFrom(const UnmaskRequest& from) {
4443   UnmaskRequest* const _this = this;
4444   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.UnmaskRequest)
4445   GOOGLE_DCHECK_NE(&from, _this);
4446   ::uint32_t cached_has_bits = 0;
4447   (void) cached_has_bits;
4448 
4449   if (!from._internal_aggregation_id().empty()) {
4450     _this->_internal_set_aggregation_id(from._internal_aggregation_id());
4451   }
4452   if (!from._internal_client_token().empty()) {
4453     _this->_internal_set_client_token(from._internal_client_token());
4454   }
4455   if (from._internal_has_unmasking_client_response()) {
4456     _this->_internal_mutable_unmasking_client_response()->::fcp::secagg::UnmaskingResponse::MergeFrom(
4457         from._internal_unmasking_client_response());
4458   }
4459   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4460 }
4461 
CopyFrom(const UnmaskRequest & from)4462 void UnmaskRequest::CopyFrom(const UnmaskRequest& from) {
4463 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.UnmaskRequest)
4464   if (&from == this) return;
4465   Clear();
4466   MergeFrom(from);
4467 }
4468 
IsInitialized() const4469 bool UnmaskRequest::IsInitialized() const {
4470   return true;
4471 }
4472 
InternalSwap(UnmaskRequest * other)4473 void UnmaskRequest::InternalSwap(UnmaskRequest* other) {
4474   using std::swap;
4475   auto* lhs_arena = GetArenaForAllocation();
4476   auto* rhs_arena = other->GetArenaForAllocation();
4477   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4478   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4479       &_impl_.aggregation_id_, lhs_arena,
4480       &other->_impl_.aggregation_id_, rhs_arena
4481   );
4482   ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4483       &_impl_.client_token_, lhs_arena,
4484       &other->_impl_.client_token_, rhs_arena
4485   );
4486   swap(_impl_.unmasking_client_response_, other->_impl_.unmasking_client_response_);
4487 }
4488 
GetTypeName() const4489 std::string UnmaskRequest::GetTypeName() const {
4490   return "google.internal.federatedcompute.v1.UnmaskRequest";
4491 }
4492 
4493 
4494 // ===================================================================
4495 
4496 class UnmaskResponse::_Internal {
4497  public:
4498 };
4499 
UnmaskResponse(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)4500 UnmaskResponse::UnmaskResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4501                          bool is_message_owned)
4502   : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) {
4503   SharedCtor(arena, is_message_owned);
4504   // @@protoc_insertion_point(arena_constructor:google.internal.federatedcompute.v1.UnmaskResponse)
4505 }
UnmaskResponse(const UnmaskResponse & from)4506 UnmaskResponse::UnmaskResponse(const UnmaskResponse& from)
4507   : ::PROTOBUF_NAMESPACE_ID::MessageLite() {
4508   UnmaskResponse* const _this = this; (void)_this;
4509   new (&_impl_) Impl_{
4510       /*decltype(_impl_._cached_size_)*/{}};
4511 
4512   _internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4513   // @@protoc_insertion_point(copy_constructor:google.internal.federatedcompute.v1.UnmaskResponse)
4514 }
4515 
SharedCtor(::_pb::Arena * arena,bool is_message_owned)4516 inline void UnmaskResponse::SharedCtor(
4517     ::_pb::Arena* arena, bool is_message_owned) {
4518   (void)arena;
4519   (void)is_message_owned;
4520   new (&_impl_) Impl_{
4521       /*decltype(_impl_._cached_size_)*/{}
4522   };
4523 }
4524 
~UnmaskResponse()4525 UnmaskResponse::~UnmaskResponse() {
4526   // @@protoc_insertion_point(destructor:google.internal.federatedcompute.v1.UnmaskResponse)
4527   if (auto *arena = _internal_metadata_.DeleteReturnArena<std::string>()) {
4528   (void)arena;
4529     return;
4530   }
4531   SharedDtor();
4532 }
4533 
SharedDtor()4534 inline void UnmaskResponse::SharedDtor() {
4535   GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4536 }
4537 
SetCachedSize(int size) const4538 void UnmaskResponse::SetCachedSize(int size) const {
4539   _impl_._cached_size_.Set(size);
4540 }
4541 
Clear()4542 void UnmaskResponse::Clear() {
4543 // @@protoc_insertion_point(message_clear_start:google.internal.federatedcompute.v1.UnmaskResponse)
4544   ::uint32_t cached_has_bits = 0;
4545   // Prevent compiler warnings about cached_has_bits being unused
4546   (void) cached_has_bits;
4547 
4548   _internal_metadata_.Clear<std::string>();
4549 }
4550 
_InternalParse(const char * ptr,::_pbi::ParseContext * ctx)4551 const char* UnmaskResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4552 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4553   while (!ctx->Done(&ptr)) {
4554     ::uint32_t tag;
4555     ptr = ::_pbi::ReadTag(ptr, &tag);
4556     if ((tag == 0) || ((tag & 7) == 4)) {
4557       CHK_(ptr);
4558       ctx->SetLastTag(tag);
4559       goto message_done;
4560     }
4561     ptr = UnknownFieldParse(
4562         tag,
4563         _internal_metadata_.mutable_unknown_fields<std::string>(),
4564         ptr, ctx);
4565     CHK_(ptr != nullptr);
4566   }  // while
4567 message_done:
4568   return ptr;
4569 failure:
4570   ptr = nullptr;
4571   goto message_done;
4572 #undef CHK_
4573 }
4574 
_InternalSerialize(::uint8_t * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const4575 ::uint8_t* UnmaskResponse::_InternalSerialize(
4576     ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4577   // @@protoc_insertion_point(serialize_to_array_start:google.internal.federatedcompute.v1.UnmaskResponse)
4578   ::uint32_t cached_has_bits = 0;
4579   (void) cached_has_bits;
4580 
4581   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4582     target = stream->WriteRaw(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(),
4583         static_cast<int>(_internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target);
4584   }
4585   // @@protoc_insertion_point(serialize_to_array_end:google.internal.federatedcompute.v1.UnmaskResponse)
4586   return target;
4587 }
4588 
ByteSizeLong() const4589 size_t UnmaskResponse::ByteSizeLong() const {
4590 // @@protoc_insertion_point(message_byte_size_start:google.internal.federatedcompute.v1.UnmaskResponse)
4591   size_t total_size = 0;
4592 
4593   if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4594     total_size += _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size();
4595   }
4596   int cached_size = ::_pbi::ToCachedSize(total_size);
4597   SetCachedSize(cached_size);
4598   return total_size;
4599 }
4600 
CheckTypeAndMergeFrom(const::PROTOBUF_NAMESPACE_ID::MessageLite & from)4601 void UnmaskResponse::CheckTypeAndMergeFrom(
4602     const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
4603   MergeFrom(*::_pbi::DownCast<const UnmaskResponse*>(
4604       &from));
4605 }
4606 
MergeFrom(const UnmaskResponse & from)4607 void UnmaskResponse::MergeFrom(const UnmaskResponse& from) {
4608   UnmaskResponse* const _this = this;
4609   // @@protoc_insertion_point(class_specific_merge_from_start:google.internal.federatedcompute.v1.UnmaskResponse)
4610   GOOGLE_DCHECK_NE(&from, _this);
4611   ::uint32_t cached_has_bits = 0;
4612   (void) cached_has_bits;
4613 
4614   _this->_internal_metadata_.MergeFrom<std::string>(from._internal_metadata_);
4615 }
4616 
CopyFrom(const UnmaskResponse & from)4617 void UnmaskResponse::CopyFrom(const UnmaskResponse& from) {
4618 // @@protoc_insertion_point(class_specific_copy_from_start:google.internal.federatedcompute.v1.UnmaskResponse)
4619   if (&from == this) return;
4620   Clear();
4621   MergeFrom(from);
4622 }
4623 
IsInitialized() const4624 bool UnmaskResponse::IsInitialized() const {
4625   return true;
4626 }
4627 
InternalSwap(UnmaskResponse * other)4628 void UnmaskResponse::InternalSwap(UnmaskResponse* other) {
4629   using std::swap;
4630   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4631 }
4632 
GetTypeName() const4633 std::string UnmaskResponse::GetTypeName() const {
4634   return "google.internal.federatedcompute.v1.UnmaskResponse";
4635 }
4636 
4637 
4638 // @@protoc_insertion_point(namespace_scope)
4639 }  // namespace v1
4640 }  // namespace federatedcompute
4641 }  // namespace internal
4642 }  // namespace google
4643 PROTOBUF_NAMESPACE_OPEN
4644 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::StartSecureAggregationRequest*
CreateMaybeMessage(Arena * arena)4645 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::StartSecureAggregationRequest >(Arena* arena) {
4646   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::StartSecureAggregationRequest >(arena);
4647 }
4648 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::StartSecureAggregationMetadata*
CreateMaybeMessage(Arena * arena)4649 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::StartSecureAggregationMetadata >(Arena* arena) {
4650   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::StartSecureAggregationMetadata >(arena);
4651 }
4652 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse*
CreateMaybeMessage(Arena * arena)4653 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse >(Arena* arena) {
4654   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::StartSecureAggregationResponse_SecureAggregandsEntry_DoNotUse >(arena);
4655 }
4656 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::StartSecureAggregationResponse*
CreateMaybeMessage(Arena * arena)4657 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::StartSecureAggregationResponse >(Arena* arena) {
4658   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::StartSecureAggregationResponse >(arena);
4659 }
4660 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::SecureAggregandExecutionInfo*
CreateMaybeMessage(Arena * arena)4661 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::SecureAggregandExecutionInfo >(Arena* arena) {
4662   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::SecureAggregandExecutionInfo >(arena);
4663 }
4664 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo*
CreateMaybeMessage(Arena * arena)4665 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo >(Arena* arena) {
4666   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::SecureAggregationProtocolExecutionInfo >(arena);
4667 }
4668 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::AbortSecureAggregationRequest*
CreateMaybeMessage(Arena * arena)4669 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::AbortSecureAggregationRequest >(Arena* arena) {
4670   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::AbortSecureAggregationRequest >(arena);
4671 }
4672 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::AbortSecureAggregationResponse*
CreateMaybeMessage(Arena * arena)4673 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::AbortSecureAggregationResponse >(Arena* arena) {
4674   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::AbortSecureAggregationResponse >(arena);
4675 }
4676 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::AdvertiseKeysRequest*
CreateMaybeMessage(Arena * arena)4677 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::AdvertiseKeysRequest >(Arena* arena) {
4678   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::AdvertiseKeysRequest >(arena);
4679 }
4680 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::AdvertiseKeysMetadata*
CreateMaybeMessage(Arena * arena)4681 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::AdvertiseKeysMetadata >(Arena* arena) {
4682   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::AdvertiseKeysMetadata >(arena);
4683 }
4684 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::AdvertiseKeysResponse*
CreateMaybeMessage(Arena * arena)4685 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::AdvertiseKeysResponse >(Arena* arena) {
4686   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::AdvertiseKeysResponse >(arena);
4687 }
4688 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::ShareKeysRequest*
CreateMaybeMessage(Arena * arena)4689 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::ShareKeysRequest >(Arena* arena) {
4690   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::ShareKeysRequest >(arena);
4691 }
4692 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::ShareKeysMetadata*
CreateMaybeMessage(Arena * arena)4693 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::ShareKeysMetadata >(Arena* arena) {
4694   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::ShareKeysMetadata >(arena);
4695 }
4696 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::ShareKeysResponse*
CreateMaybeMessage(Arena * arena)4697 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::ShareKeysResponse >(Arena* arena) {
4698   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::ShareKeysResponse >(arena);
4699 }
4700 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultRequest*
CreateMaybeMessage(Arena * arena)4701 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultRequest >(Arena* arena) {
4702   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultRequest >(arena);
4703 }
4704 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultMetadata*
CreateMaybeMessage(Arena * arena)4705 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultMetadata >(Arena* arena) {
4706   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultMetadata >(arena);
4707 }
4708 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultResponse*
CreateMaybeMessage(Arena * arena)4709 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultResponse >(Arena* arena) {
4710   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::SubmitSecureAggregationResultResponse >(arena);
4711 }
4712 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::UnmaskRequest*
CreateMaybeMessage(Arena * arena)4713 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::UnmaskRequest >(Arena* arena) {
4714   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::UnmaskRequest >(arena);
4715 }
4716 template<> PROTOBUF_NOINLINE ::google::internal::federatedcompute::v1::UnmaskResponse*
CreateMaybeMessage(Arena * arena)4717 Arena::CreateMaybeMessage< ::google::internal::federatedcompute::v1::UnmaskResponse >(Arena* arena) {
4718   return Arena::CreateMessageInternal< ::google::internal::federatedcompute::v1::UnmaskResponse >(arena);
4719 }
4720 PROTOBUF_NAMESPACE_CLOSE
4721 
4722 // @@protoc_insertion_point(global_scope)
4723 #include <google/protobuf/port_undef.inc>
4724