/src/cyclonedds/build/fuzz/fuzz_handshake/fuzz_handshake.pb.cc
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // NO CHECKED-IN PROTOBUF GENCODE |
3 | | // source: fuzz_handshake.proto |
4 | | // Protobuf C++ Version: 5.29.3 |
5 | | |
6 | | #include "fuzz_handshake.pb.h" |
7 | | |
8 | | #include <algorithm> |
9 | | #include <type_traits> |
10 | | #include "google/protobuf/io/coded_stream.h" |
11 | | #include "google/protobuf/generated_message_tctable_impl.h" |
12 | | #include "google/protobuf/extension_set.h" |
13 | | #include "google/protobuf/generated_message_util.h" |
14 | | #include "google/protobuf/wire_format_lite.h" |
15 | | #include "google/protobuf/descriptor.h" |
16 | | #include "google/protobuf/generated_message_reflection.h" |
17 | | #include "google/protobuf/reflection_ops.h" |
18 | | #include "google/protobuf/wire_format.h" |
19 | | // @@protoc_insertion_point(includes) |
20 | | |
21 | | // Must be included last. |
22 | | #include "google/protobuf/port_def.inc" |
23 | | PROTOBUF_PRAGMA_INIT_SEG |
24 | | namespace _pb = ::google::protobuf; |
25 | | namespace _pbi = ::google::protobuf::internal; |
26 | | namespace _fl = ::google::protobuf::internal::field_layout; |
27 | | namespace fuzz_handshake { |
28 | | template <typename> |
29 | | PROTOBUF_CONSTEXPR TimeoutEvent::TimeoutEvent(::_pbi::ConstantInitialized) |
30 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
31 | | : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} |
32 | | #else // PROTOBUF_CUSTOM_VTABLE |
33 | | : ::google::protobuf::internal::ZeroFieldsBase() { |
34 | | } |
35 | | #endif // PROTOBUF_CUSTOM_VTABLE |
36 | | struct TimeoutEventDefaultTypeInternal { |
37 | 0 | PROTOBUF_CONSTEXPR TimeoutEventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
38 | 0 | ~TimeoutEventDefaultTypeInternal() {} |
39 | | union { |
40 | | TimeoutEvent _instance; |
41 | | }; |
42 | | }; |
43 | | |
44 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
45 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TimeoutEventDefaultTypeInternal _TimeoutEvent_default_instance_; |
46 | | template <typename> |
47 | | PROTOBUF_CONSTEXPR ReceivedCryptoTokens::ReceivedCryptoTokens(::_pbi::ConstantInitialized) |
48 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
49 | | : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} |
50 | | #else // PROTOBUF_CUSTOM_VTABLE |
51 | | : ::google::protobuf::internal::ZeroFieldsBase() { |
52 | | } |
53 | | #endif // PROTOBUF_CUSTOM_VTABLE |
54 | | struct ReceivedCryptoTokensDefaultTypeInternal { |
55 | 0 | PROTOBUF_CONSTEXPR ReceivedCryptoTokensDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
56 | 0 | ~ReceivedCryptoTokensDefaultTypeInternal() {} |
57 | | union { |
58 | | ReceivedCryptoTokens _instance; |
59 | | }; |
60 | | }; |
61 | | |
62 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
63 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReceivedCryptoTokensDefaultTypeInternal _ReceivedCryptoTokens_default_instance_; |
64 | | |
65 | | inline constexpr Property::Impl_::Impl_( |
66 | | ::_pbi::ConstantInitialized) noexcept |
67 | | : name_( |
68 | | &::google::protobuf::internal::fixed_address_empty_string, |
69 | | ::_pbi::ConstantInitialized()), |
70 | | value_( |
71 | | &::google::protobuf::internal::fixed_address_empty_string, |
72 | | ::_pbi::ConstantInitialized()), |
73 | | propagate_{false}, |
74 | | _cached_size_{0} {} |
75 | | |
76 | | template <typename> |
77 | | PROTOBUF_CONSTEXPR Property::Property(::_pbi::ConstantInitialized) |
78 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
79 | | : ::google::protobuf::Message(_class_data_.base()), |
80 | | #else // PROTOBUF_CUSTOM_VTABLE |
81 | | : ::google::protobuf::Message(), |
82 | | #endif // PROTOBUF_CUSTOM_VTABLE |
83 | | _impl_(::_pbi::ConstantInitialized()) { |
84 | | } |
85 | | struct PropertyDefaultTypeInternal { |
86 | 0 | PROTOBUF_CONSTEXPR PropertyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
87 | 0 | ~PropertyDefaultTypeInternal() {} |
88 | | union { |
89 | | Property _instance; |
90 | | }; |
91 | | }; |
92 | | |
93 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
94 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PropertyDefaultTypeInternal _Property_default_instance_; |
95 | | |
96 | | inline constexpr BinaryProperty::Impl_::Impl_( |
97 | | ::_pbi::ConstantInitialized) noexcept |
98 | | : name_( |
99 | | &::google::protobuf::internal::fixed_address_empty_string, |
100 | | ::_pbi::ConstantInitialized()), |
101 | | value_( |
102 | | &::google::protobuf::internal::fixed_address_empty_string, |
103 | | ::_pbi::ConstantInitialized()), |
104 | | propagate_{false}, |
105 | | _cached_size_{0} {} |
106 | | |
107 | | template <typename> |
108 | | PROTOBUF_CONSTEXPR BinaryProperty::BinaryProperty(::_pbi::ConstantInitialized) |
109 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
110 | | : ::google::protobuf::Message(_class_data_.base()), |
111 | | #else // PROTOBUF_CUSTOM_VTABLE |
112 | | : ::google::protobuf::Message(), |
113 | | #endif // PROTOBUF_CUSTOM_VTABLE |
114 | | _impl_(::_pbi::ConstantInitialized()) { |
115 | | } |
116 | | struct BinaryPropertyDefaultTypeInternal { |
117 | 0 | PROTOBUF_CONSTEXPR BinaryPropertyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
118 | 0 | ~BinaryPropertyDefaultTypeInternal() {} |
119 | | union { |
120 | | BinaryProperty _instance; |
121 | | }; |
122 | | }; |
123 | | |
124 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
125 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BinaryPropertyDefaultTypeInternal _BinaryProperty_default_instance_; |
126 | | |
127 | | inline constexpr DataHolder::Impl_::Impl_( |
128 | | ::_pbi::ConstantInitialized) noexcept |
129 | | : properties_{}, |
130 | | binary_properties_{}, |
131 | | _cached_size_{0} {} |
132 | | |
133 | | template <typename> |
134 | | PROTOBUF_CONSTEXPR DataHolder::DataHolder(::_pbi::ConstantInitialized) |
135 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
136 | | : ::google::protobuf::Message(_class_data_.base()), |
137 | | #else // PROTOBUF_CUSTOM_VTABLE |
138 | | : ::google::protobuf::Message(), |
139 | | #endif // PROTOBUF_CUSTOM_VTABLE |
140 | | _impl_(::_pbi::ConstantInitialized()) { |
141 | | } |
142 | | struct DataHolderDefaultTypeInternal { |
143 | 0 | PROTOBUF_CONSTEXPR DataHolderDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
144 | 0 | ~DataHolderDefaultTypeInternal() {} |
145 | | union { |
146 | | DataHolder _instance; |
147 | | }; |
148 | | }; |
149 | | |
150 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
151 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DataHolderDefaultTypeInternal _DataHolder_default_instance_; |
152 | | |
153 | | inline constexpr ReceivedMessageRequest::Impl_::Impl_( |
154 | | ::_pbi::ConstantInitialized) noexcept |
155 | | : _cached_size_{0}, |
156 | | token_{nullptr} {} |
157 | | |
158 | | template <typename> |
159 | | PROTOBUF_CONSTEXPR ReceivedMessageRequest::ReceivedMessageRequest(::_pbi::ConstantInitialized) |
160 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
161 | | : ::google::protobuf::Message(_class_data_.base()), |
162 | | #else // PROTOBUF_CUSTOM_VTABLE |
163 | | : ::google::protobuf::Message(), |
164 | | #endif // PROTOBUF_CUSTOM_VTABLE |
165 | | _impl_(::_pbi::ConstantInitialized()) { |
166 | | } |
167 | | struct ReceivedMessageRequestDefaultTypeInternal { |
168 | 0 | PROTOBUF_CONSTEXPR ReceivedMessageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
169 | 0 | ~ReceivedMessageRequestDefaultTypeInternal() {} |
170 | | union { |
171 | | ReceivedMessageRequest _instance; |
172 | | }; |
173 | | }; |
174 | | |
175 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
176 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReceivedMessageRequestDefaultTypeInternal _ReceivedMessageRequest_default_instance_; |
177 | | |
178 | | inline constexpr ReceivedMessageReply::Impl_::Impl_( |
179 | | ::_pbi::ConstantInitialized) noexcept |
180 | | : _cached_size_{0}, |
181 | | token_{nullptr} {} |
182 | | |
183 | | template <typename> |
184 | | PROTOBUF_CONSTEXPR ReceivedMessageReply::ReceivedMessageReply(::_pbi::ConstantInitialized) |
185 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
186 | | : ::google::protobuf::Message(_class_data_.base()), |
187 | | #else // PROTOBUF_CUSTOM_VTABLE |
188 | | : ::google::protobuf::Message(), |
189 | | #endif // PROTOBUF_CUSTOM_VTABLE |
190 | | _impl_(::_pbi::ConstantInitialized()) { |
191 | | } |
192 | | struct ReceivedMessageReplyDefaultTypeInternal { |
193 | 0 | PROTOBUF_CONSTEXPR ReceivedMessageReplyDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
194 | 0 | ~ReceivedMessageReplyDefaultTypeInternal() {} |
195 | | union { |
196 | | ReceivedMessageReply _instance; |
197 | | }; |
198 | | }; |
199 | | |
200 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
201 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReceivedMessageReplyDefaultTypeInternal _ReceivedMessageReply_default_instance_; |
202 | | |
203 | | inline constexpr ReceivedMessageFinal::Impl_::Impl_( |
204 | | ::_pbi::ConstantInitialized) noexcept |
205 | | : _cached_size_{0}, |
206 | | token_{nullptr} {} |
207 | | |
208 | | template <typename> |
209 | | PROTOBUF_CONSTEXPR ReceivedMessageFinal::ReceivedMessageFinal(::_pbi::ConstantInitialized) |
210 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
211 | | : ::google::protobuf::Message(_class_data_.base()), |
212 | | #else // PROTOBUF_CUSTOM_VTABLE |
213 | | : ::google::protobuf::Message(), |
214 | | #endif // PROTOBUF_CUSTOM_VTABLE |
215 | | _impl_(::_pbi::ConstantInitialized()) { |
216 | | } |
217 | | struct ReceivedMessageFinalDefaultTypeInternal { |
218 | 0 | PROTOBUF_CONSTEXPR ReceivedMessageFinalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
219 | 0 | ~ReceivedMessageFinalDefaultTypeInternal() {} |
220 | | union { |
221 | | ReceivedMessageFinal _instance; |
222 | | }; |
223 | | }; |
224 | | |
225 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
226 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReceivedMessageFinalDefaultTypeInternal _ReceivedMessageFinal_default_instance_; |
227 | | |
228 | | inline constexpr Event::Impl_::Impl_( |
229 | | ::_pbi::ConstantInitialized) noexcept |
230 | | : event_{}, |
231 | | _cached_size_{0}, |
232 | | _oneof_case_{} {} |
233 | | |
234 | | template <typename> |
235 | | PROTOBUF_CONSTEXPR Event::Event(::_pbi::ConstantInitialized) |
236 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
237 | | : ::google::protobuf::Message(_class_data_.base()), |
238 | | #else // PROTOBUF_CUSTOM_VTABLE |
239 | | : ::google::protobuf::Message(), |
240 | | #endif // PROTOBUF_CUSTOM_VTABLE |
241 | | _impl_(::_pbi::ConstantInitialized()) { |
242 | | } |
243 | | struct EventDefaultTypeInternal { |
244 | 0 | PROTOBUF_CONSTEXPR EventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
245 | 0 | ~EventDefaultTypeInternal() {} |
246 | | union { |
247 | | Event _instance; |
248 | | }; |
249 | | }; |
250 | | |
251 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
252 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EventDefaultTypeInternal _Event_default_instance_; |
253 | | |
254 | | inline constexpr FuzzMsg::Impl_::Impl_( |
255 | | ::_pbi::ConstantInitialized) noexcept |
256 | | : events_{}, |
257 | | initiate_remote_{false}, |
258 | | _cached_size_{0} {} |
259 | | |
260 | | template <typename> |
261 | | PROTOBUF_CONSTEXPR FuzzMsg::FuzzMsg(::_pbi::ConstantInitialized) |
262 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
263 | | : ::google::protobuf::Message(_class_data_.base()), |
264 | | #else // PROTOBUF_CUSTOM_VTABLE |
265 | | : ::google::protobuf::Message(), |
266 | | #endif // PROTOBUF_CUSTOM_VTABLE |
267 | | _impl_(::_pbi::ConstantInitialized()) { |
268 | | } |
269 | | struct FuzzMsgDefaultTypeInternal { |
270 | 0 | PROTOBUF_CONSTEXPR FuzzMsgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
271 | 0 | ~FuzzMsgDefaultTypeInternal() {} |
272 | | union { |
273 | | FuzzMsg _instance; |
274 | | }; |
275 | | }; |
276 | | |
277 | | PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
278 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FuzzMsgDefaultTypeInternal _FuzzMsg_default_instance_; |
279 | | } // namespace fuzz_handshake |
280 | | static constexpr const ::_pb::EnumDescriptor** |
281 | | file_level_enum_descriptors_fuzz_5fhandshake_2eproto = nullptr; |
282 | | static constexpr const ::_pb::ServiceDescriptor** |
283 | | file_level_service_descriptors_fuzz_5fhandshake_2eproto = nullptr; |
284 | | const ::uint32_t |
285 | | TableStruct_fuzz_5fhandshake_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( |
286 | | protodesc_cold) = { |
287 | | ~0u, // no _has_bits_ |
288 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Property, _internal_metadata_), |
289 | | ~0u, // no _extensions_ |
290 | | ~0u, // no _oneof_case_ |
291 | | ~0u, // no _weak_field_map_ |
292 | | ~0u, // no _inlined_string_donated_ |
293 | | ~0u, // no _split_ |
294 | | ~0u, // no sizeof(Split) |
295 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Property, _impl_.name_), |
296 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Property, _impl_.value_), |
297 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Property, _impl_.propagate_), |
298 | | ~0u, // no _has_bits_ |
299 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::BinaryProperty, _internal_metadata_), |
300 | | ~0u, // no _extensions_ |
301 | | ~0u, // no _oneof_case_ |
302 | | ~0u, // no _weak_field_map_ |
303 | | ~0u, // no _inlined_string_donated_ |
304 | | ~0u, // no _split_ |
305 | | ~0u, // no sizeof(Split) |
306 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::BinaryProperty, _impl_.name_), |
307 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::BinaryProperty, _impl_.value_), |
308 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::BinaryProperty, _impl_.propagate_), |
309 | | ~0u, // no _has_bits_ |
310 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::DataHolder, _internal_metadata_), |
311 | | ~0u, // no _extensions_ |
312 | | ~0u, // no _oneof_case_ |
313 | | ~0u, // no _weak_field_map_ |
314 | | ~0u, // no _inlined_string_donated_ |
315 | | ~0u, // no _split_ |
316 | | ~0u, // no sizeof(Split) |
317 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::DataHolder, _impl_.properties_), |
318 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::DataHolder, _impl_.binary_properties_), |
319 | | ~0u, // no _has_bits_ |
320 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::TimeoutEvent, _internal_metadata_), |
321 | | ~0u, // no _extensions_ |
322 | | ~0u, // no _oneof_case_ |
323 | | ~0u, // no _weak_field_map_ |
324 | | ~0u, // no _inlined_string_donated_ |
325 | | ~0u, // no _split_ |
326 | | ~0u, // no sizeof(Split) |
327 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageRequest, _impl_._has_bits_), |
328 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageRequest, _internal_metadata_), |
329 | | ~0u, // no _extensions_ |
330 | | ~0u, // no _oneof_case_ |
331 | | ~0u, // no _weak_field_map_ |
332 | | ~0u, // no _inlined_string_donated_ |
333 | | ~0u, // no _split_ |
334 | | ~0u, // no sizeof(Split) |
335 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageRequest, _impl_.token_), |
336 | | 0, |
337 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageReply, _impl_._has_bits_), |
338 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageReply, _internal_metadata_), |
339 | | ~0u, // no _extensions_ |
340 | | ~0u, // no _oneof_case_ |
341 | | ~0u, // no _weak_field_map_ |
342 | | ~0u, // no _inlined_string_donated_ |
343 | | ~0u, // no _split_ |
344 | | ~0u, // no sizeof(Split) |
345 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageReply, _impl_.token_), |
346 | | 0, |
347 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageFinal, _impl_._has_bits_), |
348 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageFinal, _internal_metadata_), |
349 | | ~0u, // no _extensions_ |
350 | | ~0u, // no _oneof_case_ |
351 | | ~0u, // no _weak_field_map_ |
352 | | ~0u, // no _inlined_string_donated_ |
353 | | ~0u, // no _split_ |
354 | | ~0u, // no sizeof(Split) |
355 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedMessageFinal, _impl_.token_), |
356 | | 0, |
357 | | ~0u, // no _has_bits_ |
358 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::ReceivedCryptoTokens, _internal_metadata_), |
359 | | ~0u, // no _extensions_ |
360 | | ~0u, // no _oneof_case_ |
361 | | ~0u, // no _weak_field_map_ |
362 | | ~0u, // no _inlined_string_donated_ |
363 | | ~0u, // no _split_ |
364 | | ~0u, // no sizeof(Split) |
365 | | ~0u, // no _has_bits_ |
366 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Event, _internal_metadata_), |
367 | | ~0u, // no _extensions_ |
368 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Event, _impl_._oneof_case_[0]), |
369 | | ~0u, // no _weak_field_map_ |
370 | | ~0u, // no _inlined_string_donated_ |
371 | | ~0u, // no _split_ |
372 | | ~0u, // no sizeof(Split) |
373 | | ::_pbi::kInvalidFieldOffsetTag, |
374 | | ::_pbi::kInvalidFieldOffsetTag, |
375 | | ::_pbi::kInvalidFieldOffsetTag, |
376 | | ::_pbi::kInvalidFieldOffsetTag, |
377 | | ::_pbi::kInvalidFieldOffsetTag, |
378 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Event, _impl_.event_), |
379 | | ~0u, // no _has_bits_ |
380 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::FuzzMsg, _internal_metadata_), |
381 | | ~0u, // no _extensions_ |
382 | | ~0u, // no _oneof_case_ |
383 | | ~0u, // no _weak_field_map_ |
384 | | ~0u, // no _inlined_string_donated_ |
385 | | ~0u, // no _split_ |
386 | | ~0u, // no sizeof(Split) |
387 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::FuzzMsg, _impl_.initiate_remote_), |
388 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::FuzzMsg, _impl_.events_), |
389 | | }; |
390 | | |
391 | | static const ::_pbi::MigrationSchema |
392 | | schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
393 | | {0, -1, -1, sizeof(::fuzz_handshake::Property)}, |
394 | | {11, -1, -1, sizeof(::fuzz_handshake::BinaryProperty)}, |
395 | | {22, -1, -1, sizeof(::fuzz_handshake::DataHolder)}, |
396 | | {32, -1, -1, sizeof(::fuzz_handshake::TimeoutEvent)}, |
397 | | {40, 49, -1, sizeof(::fuzz_handshake::ReceivedMessageRequest)}, |
398 | | {50, 59, -1, sizeof(::fuzz_handshake::ReceivedMessageReply)}, |
399 | | {60, 69, -1, sizeof(::fuzz_handshake::ReceivedMessageFinal)}, |
400 | | {70, -1, -1, sizeof(::fuzz_handshake::ReceivedCryptoTokens)}, |
401 | | {78, -1, -1, sizeof(::fuzz_handshake::Event)}, |
402 | | {92, -1, -1, sizeof(::fuzz_handshake::FuzzMsg)}, |
403 | | }; |
404 | | static const ::_pb::Message* const file_default_instances[] = { |
405 | | &::fuzz_handshake::_Property_default_instance_._instance, |
406 | | &::fuzz_handshake::_BinaryProperty_default_instance_._instance, |
407 | | &::fuzz_handshake::_DataHolder_default_instance_._instance, |
408 | | &::fuzz_handshake::_TimeoutEvent_default_instance_._instance, |
409 | | &::fuzz_handshake::_ReceivedMessageRequest_default_instance_._instance, |
410 | | &::fuzz_handshake::_ReceivedMessageReply_default_instance_._instance, |
411 | | &::fuzz_handshake::_ReceivedMessageFinal_default_instance_._instance, |
412 | | &::fuzz_handshake::_ReceivedCryptoTokens_default_instance_._instance, |
413 | | &::fuzz_handshake::_Event_default_instance_._instance, |
414 | | &::fuzz_handshake::_FuzzMsg_default_instance_._instance, |
415 | | }; |
416 | | const char descriptor_table_protodef_fuzz_5fhandshake_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( |
417 | | protodesc_cold) = { |
418 | | "\n\024fuzz_handshake.proto\022\016fuzz_handshake\":" |
419 | | "\n\010Property\022\014\n\004name\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\022" |
420 | | "\021\n\tpropagate\030\003 \001(\010\"@\n\016BinaryProperty\022\014\n\004" |
421 | | "name\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\022\021\n\tpropagate\030\003" |
422 | | " \001(\010\"u\n\nDataHolder\022,\n\nproperties\030\001 \003(\0132\030" |
423 | | ".fuzz_handshake.Property\0229\n\021binary_prope" |
424 | | "rties\030\002 \003(\0132\036.fuzz_handshake.BinaryPrope" |
425 | | "rty\"\016\n\014TimeoutEvent\"C\n\026ReceivedMessageRe" |
426 | | "quest\022)\n\005token\030\001 \001(\0132\032.fuzz_handshake.Da" |
427 | | "taHolder\"A\n\024ReceivedMessageReply\022)\n\005toke" |
428 | | "n\030\001 \001(\0132\032.fuzz_handshake.DataHolder\"A\n\024R" |
429 | | "eceivedMessageFinal\022)\n\005token\030\001 \001(\0132\032.fuz" |
430 | | "z_handshake.DataHolder\"\026\n\024ReceivedCrypto" |
431 | | "Tokens\"\251\002\n\005Event\022/\n\007timeout\030\001 \001(\0132\034.fuzz" |
432 | | "_handshake.TimeoutEventH\000\0229\n\007request\030\002 \001" |
433 | | "(\0132&.fuzz_handshake.ReceivedMessageReque" |
434 | | "stH\000\0225\n\005reply\030\003 \001(\0132$.fuzz_handshake.Rec" |
435 | | "eivedMessageReplyH\000\0225\n\005final\030\004 \001(\0132$.fuz" |
436 | | "z_handshake.ReceivedMessageFinalH\000\022=\n\rcr" |
437 | | "ypto_tokens\030\005 \001(\0132$.fuzz_handshake.Recei" |
438 | | "vedCryptoTokensH\000B\007\n\005event\"I\n\007FuzzMsg\022\027\n" |
439 | | "\017initiate_remote\030\001 \001(\010\022%\n\006events\030\002 \003(\0132\025" |
440 | | ".fuzz_handshake.Eventb\006proto3" |
441 | | }; |
442 | | static ::absl::once_flag descriptor_table_fuzz_5fhandshake_2eproto_once; |
443 | | PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_fuzz_5fhandshake_2eproto = { |
444 | | false, |
445 | | false, |
446 | | 909, |
447 | | descriptor_table_protodef_fuzz_5fhandshake_2eproto, |
448 | | "fuzz_handshake.proto", |
449 | | &descriptor_table_fuzz_5fhandshake_2eproto_once, |
450 | | nullptr, |
451 | | 0, |
452 | | 10, |
453 | | schemas, |
454 | | file_default_instances, |
455 | | TableStruct_fuzz_5fhandshake_2eproto::offsets, |
456 | | file_level_enum_descriptors_fuzz_5fhandshake_2eproto, |
457 | | file_level_service_descriptors_fuzz_5fhandshake_2eproto, |
458 | | }; |
459 | | namespace fuzz_handshake { |
460 | | // =================================================================== |
461 | | |
462 | | class Property::_Internal { |
463 | | public: |
464 | | }; |
465 | | |
466 | | Property::Property(::google::protobuf::Arena* arena) |
467 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
468 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
469 | | #else // PROTOBUF_CUSTOM_VTABLE |
470 | 63.2k | : ::google::protobuf::Message(arena) { |
471 | 63.2k | #endif // PROTOBUF_CUSTOM_VTABLE |
472 | 63.2k | SharedCtor(arena); |
473 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.Property) |
474 | 63.2k | } |
475 | | inline PROTOBUF_NDEBUG_INLINE Property::Impl_::Impl_( |
476 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
477 | | const Impl_& from, const ::fuzz_handshake::Property& from_msg) |
478 | 0 | : name_(arena, from.name_), |
479 | 0 | value_(arena, from.value_), |
480 | 0 | _cached_size_{0} {} |
481 | | |
482 | | Property::Property( |
483 | | ::google::protobuf::Arena* arena, |
484 | | const Property& from) |
485 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
486 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
487 | | #else // PROTOBUF_CUSTOM_VTABLE |
488 | 0 | : ::google::protobuf::Message(arena) { |
489 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
490 | 0 | Property* const _this = this; |
491 | 0 | (void)_this; |
492 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
493 | 0 | from._internal_metadata_); |
494 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
495 | 0 | _impl_.propagate_ = from._impl_.propagate_; |
496 | | |
497 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.Property) |
498 | 0 | } |
499 | | inline PROTOBUF_NDEBUG_INLINE Property::Impl_::Impl_( |
500 | | ::google::protobuf::internal::InternalVisibility visibility, |
501 | | ::google::protobuf::Arena* arena) |
502 | 63.2k | : name_(arena), |
503 | 63.2k | value_(arena), |
504 | 63.2k | _cached_size_{0} {} |
505 | | |
506 | 63.2k | inline void Property::SharedCtor(::_pb::Arena* arena) { |
507 | 63.2k | new (&_impl_) Impl_(internal_visibility(), arena); |
508 | 63.2k | _impl_.propagate_ = {}; |
509 | 63.2k | } |
510 | 63.2k | Property::~Property() { |
511 | | // @@protoc_insertion_point(destructor:fuzz_handshake.Property) |
512 | 63.2k | SharedDtor(*this); |
513 | 63.2k | } |
514 | 63.2k | inline void Property::SharedDtor(MessageLite& self) { |
515 | 63.2k | Property& this_ = static_cast<Property&>(self); |
516 | 63.2k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
517 | 63.2k | ABSL_DCHECK(this_.GetArena() == nullptr); |
518 | 63.2k | this_._impl_.name_.Destroy(); |
519 | 63.2k | this_._impl_.value_.Destroy(); |
520 | 63.2k | this_._impl_.~Impl_(); |
521 | 63.2k | } |
522 | | |
523 | | inline void* Property::PlacementNew_(const void*, void* mem, |
524 | 63.2k | ::google::protobuf::Arena* arena) { |
525 | 63.2k | return ::new (mem) Property(arena); |
526 | 63.2k | } |
527 | 0 | constexpr auto Property::InternalNewImpl_() { |
528 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Property), |
529 | 0 | alignof(Property)); |
530 | 0 | } |
531 | | PROTOBUF_CONSTINIT |
532 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
533 | | const ::google::protobuf::internal::ClassDataFull Property::_class_data_ = { |
534 | | ::google::protobuf::internal::ClassData{ |
535 | | &_Property_default_instance_._instance, |
536 | | &_table_.header, |
537 | | nullptr, // OnDemandRegisterArenaDtor |
538 | | nullptr, // IsInitialized |
539 | | &Property::MergeImpl, |
540 | | ::google::protobuf::Message::GetNewImpl<Property>(), |
541 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
542 | | &Property::SharedDtor, |
543 | | ::google::protobuf::Message::GetClearImpl<Property>(), &Property::ByteSizeLong, |
544 | | &Property::_InternalSerialize, |
545 | | #endif // PROTOBUF_CUSTOM_VTABLE |
546 | | PROTOBUF_FIELD_OFFSET(Property, _impl_._cached_size_), |
547 | | false, |
548 | | }, |
549 | | &Property::kDescriptorMethods, |
550 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
551 | | nullptr, // tracker |
552 | | }; |
553 | 631k | const ::google::protobuf::internal::ClassData* Property::GetClassData() const { |
554 | 631k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
555 | 631k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
556 | 631k | return _class_data_.base(); |
557 | 631k | } |
558 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
559 | | const ::_pbi::TcParseTable<2, 3, 0, 0, 2> Property::_table_ = { |
560 | | { |
561 | | 0, // no _has_bits_ |
562 | | 0, // no _extensions_ |
563 | | 3, 24, // max_field_number, fast_idx_mask |
564 | | offsetof(decltype(_table_), field_lookup_table), |
565 | | 4294967288, // skipmap |
566 | | offsetof(decltype(_table_), field_entries), |
567 | | 3, // num_field_entries |
568 | | 0, // num_aux_entries |
569 | | offsetof(decltype(_table_), field_names), // no aux_entries |
570 | | _class_data_.base(), |
571 | | nullptr, // post_loop_handler |
572 | | ::_pbi::TcParser::GenericFallback, // fallback |
573 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
574 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::Property>(), // to_prefetch |
575 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
576 | | }, {{ |
577 | | {::_pbi::TcParser::MiniParse, {}}, |
578 | | // bytes name = 1; |
579 | | {::_pbi::TcParser::FastBS1, |
580 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(Property, _impl_.name_)}}, |
581 | | // bytes value = 2; |
582 | | {::_pbi::TcParser::FastBS1, |
583 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(Property, _impl_.value_)}}, |
584 | | // bool propagate = 3; |
585 | | {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Property, _impl_.propagate_), 63>(), |
586 | | {24, 63, 0, PROTOBUF_FIELD_OFFSET(Property, _impl_.propagate_)}}, |
587 | | }}, {{ |
588 | | 65535, 65535 |
589 | | }}, {{ |
590 | | // bytes name = 1; |
591 | | {PROTOBUF_FIELD_OFFSET(Property, _impl_.name_), 0, 0, |
592 | | (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, |
593 | | // bytes value = 2; |
594 | | {PROTOBUF_FIELD_OFFSET(Property, _impl_.value_), 0, 0, |
595 | | (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, |
596 | | // bool propagate = 3; |
597 | | {PROTOBUF_FIELD_OFFSET(Property, _impl_.propagate_), 0, 0, |
598 | | (0 | ::_fl::kFcSingular | ::_fl::kBool)}, |
599 | | }}, |
600 | | // no aux_entries |
601 | | {{ |
602 | | }}, |
603 | | }; |
604 | | |
605 | 0 | PROTOBUF_NOINLINE void Property::Clear() { |
606 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.Property) |
607 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
608 | 0 | ::uint32_t cached_has_bits = 0; |
609 | | // Prevent compiler warnings about cached_has_bits being unused |
610 | 0 | (void) cached_has_bits; |
611 | |
|
612 | 0 | _impl_.name_.ClearToEmpty(); |
613 | 0 | _impl_.value_.ClearToEmpty(); |
614 | 0 | _impl_.propagate_ = false; |
615 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
616 | 0 | } |
617 | | |
618 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
619 | | ::uint8_t* Property::_InternalSerialize( |
620 | | const MessageLite& base, ::uint8_t* target, |
621 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
622 | | const Property& this_ = static_cast<const Property&>(base); |
623 | | #else // PROTOBUF_CUSTOM_VTABLE |
624 | | ::uint8_t* Property::_InternalSerialize( |
625 | | ::uint8_t* target, |
626 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
627 | 0 | const Property& this_ = *this; |
628 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
629 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.Property) |
630 | 0 | ::uint32_t cached_has_bits = 0; |
631 | 0 | (void)cached_has_bits; |
632 | | |
633 | | // bytes name = 1; |
634 | 0 | if (!this_._internal_name().empty()) { |
635 | 0 | const std::string& _s = this_._internal_name(); |
636 | 0 | target = stream->WriteBytesMaybeAliased(1, _s, target); |
637 | 0 | } |
638 | | |
639 | | // bytes value = 2; |
640 | 0 | if (!this_._internal_value().empty()) { |
641 | 0 | const std::string& _s = this_._internal_value(); |
642 | 0 | target = stream->WriteBytesMaybeAliased(2, _s, target); |
643 | 0 | } |
644 | | |
645 | | // bool propagate = 3; |
646 | 0 | if (this_._internal_propagate() != 0) { |
647 | 0 | target = stream->EnsureSpace(target); |
648 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray( |
649 | 0 | 3, this_._internal_propagate(), target); |
650 | 0 | } |
651 | |
|
652 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
653 | 0 | target = |
654 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
655 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
656 | 0 | } |
657 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.Property) |
658 | 0 | return target; |
659 | 0 | } |
660 | | |
661 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
662 | | ::size_t Property::ByteSizeLong(const MessageLite& base) { |
663 | | const Property& this_ = static_cast<const Property&>(base); |
664 | | #else // PROTOBUF_CUSTOM_VTABLE |
665 | 0 | ::size_t Property::ByteSizeLong() const { |
666 | 0 | const Property& this_ = *this; |
667 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
668 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.Property) |
669 | 0 | ::size_t total_size = 0; |
670 | |
|
671 | 0 | ::uint32_t cached_has_bits = 0; |
672 | | // Prevent compiler warnings about cached_has_bits being unused |
673 | 0 | (void)cached_has_bits; |
674 | |
|
675 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
676 | 0 | { |
677 | | // bytes name = 1; |
678 | 0 | if (!this_._internal_name().empty()) { |
679 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( |
680 | 0 | this_._internal_name()); |
681 | 0 | } |
682 | | // bytes value = 2; |
683 | 0 | if (!this_._internal_value().empty()) { |
684 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( |
685 | 0 | this_._internal_value()); |
686 | 0 | } |
687 | | // bool propagate = 3; |
688 | 0 | if (this_._internal_propagate() != 0) { |
689 | 0 | total_size += 2; |
690 | 0 | } |
691 | 0 | } |
692 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
693 | 0 | &this_._impl_._cached_size_); |
694 | 0 | } |
695 | | |
696 | 0 | void Property::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
697 | 0 | auto* const _this = static_cast<Property*>(&to_msg); |
698 | 0 | auto& from = static_cast<const Property&>(from_msg); |
699 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.Property) |
700 | 0 | ABSL_DCHECK_NE(&from, _this); |
701 | 0 | ::uint32_t cached_has_bits = 0; |
702 | 0 | (void) cached_has_bits; |
703 | |
|
704 | 0 | if (!from._internal_name().empty()) { |
705 | 0 | _this->_internal_set_name(from._internal_name()); |
706 | 0 | } |
707 | 0 | if (!from._internal_value().empty()) { |
708 | 0 | _this->_internal_set_value(from._internal_value()); |
709 | 0 | } |
710 | 0 | if (from._internal_propagate() != 0) { |
711 | 0 | _this->_impl_.propagate_ = from._impl_.propagate_; |
712 | 0 | } |
713 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
714 | 0 | } |
715 | | |
716 | 0 | void Property::CopyFrom(const Property& from) { |
717 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.Property) |
718 | 0 | if (&from == this) return; |
719 | 0 | Clear(); |
720 | 0 | MergeFrom(from); |
721 | 0 | } |
722 | | |
723 | | |
724 | 0 | void Property::InternalSwap(Property* PROTOBUF_RESTRICT other) { |
725 | 0 | using std::swap; |
726 | 0 | auto* arena = GetArena(); |
727 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
728 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
729 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
730 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena); |
731 | 0 | swap(_impl_.propagate_, other->_impl_.propagate_); |
732 | 0 | } |
733 | | |
734 | 0 | ::google::protobuf::Metadata Property::GetMetadata() const { |
735 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
736 | 0 | } |
737 | | // =================================================================== |
738 | | |
739 | | class BinaryProperty::_Internal { |
740 | | public: |
741 | | }; |
742 | | |
743 | | BinaryProperty::BinaryProperty(::google::protobuf::Arena* arena) |
744 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
745 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
746 | | #else // PROTOBUF_CUSTOM_VTABLE |
747 | 871k | : ::google::protobuf::Message(arena) { |
748 | 871k | #endif // PROTOBUF_CUSTOM_VTABLE |
749 | 871k | SharedCtor(arena); |
750 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.BinaryProperty) |
751 | 871k | } |
752 | | inline PROTOBUF_NDEBUG_INLINE BinaryProperty::Impl_::Impl_( |
753 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
754 | | const Impl_& from, const ::fuzz_handshake::BinaryProperty& from_msg) |
755 | 0 | : name_(arena, from.name_), |
756 | 0 | value_(arena, from.value_), |
757 | 0 | _cached_size_{0} {} |
758 | | |
759 | | BinaryProperty::BinaryProperty( |
760 | | ::google::protobuf::Arena* arena, |
761 | | const BinaryProperty& from) |
762 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
763 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
764 | | #else // PROTOBUF_CUSTOM_VTABLE |
765 | 0 | : ::google::protobuf::Message(arena) { |
766 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
767 | 0 | BinaryProperty* const _this = this; |
768 | 0 | (void)_this; |
769 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
770 | 0 | from._internal_metadata_); |
771 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
772 | 0 | _impl_.propagate_ = from._impl_.propagate_; |
773 | | |
774 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.BinaryProperty) |
775 | 0 | } |
776 | | inline PROTOBUF_NDEBUG_INLINE BinaryProperty::Impl_::Impl_( |
777 | | ::google::protobuf::internal::InternalVisibility visibility, |
778 | | ::google::protobuf::Arena* arena) |
779 | 871k | : name_(arena), |
780 | 871k | value_(arena), |
781 | 871k | _cached_size_{0} {} |
782 | | |
783 | 871k | inline void BinaryProperty::SharedCtor(::_pb::Arena* arena) { |
784 | 871k | new (&_impl_) Impl_(internal_visibility(), arena); |
785 | 871k | _impl_.propagate_ = {}; |
786 | 871k | } |
787 | 871k | BinaryProperty::~BinaryProperty() { |
788 | | // @@protoc_insertion_point(destructor:fuzz_handshake.BinaryProperty) |
789 | 871k | SharedDtor(*this); |
790 | 871k | } |
791 | 871k | inline void BinaryProperty::SharedDtor(MessageLite& self) { |
792 | 871k | BinaryProperty& this_ = static_cast<BinaryProperty&>(self); |
793 | 871k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
794 | 871k | ABSL_DCHECK(this_.GetArena() == nullptr); |
795 | 871k | this_._impl_.name_.Destroy(); |
796 | 871k | this_._impl_.value_.Destroy(); |
797 | 871k | this_._impl_.~Impl_(); |
798 | 871k | } |
799 | | |
800 | | inline void* BinaryProperty::PlacementNew_(const void*, void* mem, |
801 | 871k | ::google::protobuf::Arena* arena) { |
802 | 871k | return ::new (mem) BinaryProperty(arena); |
803 | 871k | } |
804 | 0 | constexpr auto BinaryProperty::InternalNewImpl_() { |
805 | 0 | return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BinaryProperty), |
806 | 0 | alignof(BinaryProperty)); |
807 | 0 | } |
808 | | PROTOBUF_CONSTINIT |
809 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
810 | | const ::google::protobuf::internal::ClassDataFull BinaryProperty::_class_data_ = { |
811 | | ::google::protobuf::internal::ClassData{ |
812 | | &_BinaryProperty_default_instance_._instance, |
813 | | &_table_.header, |
814 | | nullptr, // OnDemandRegisterArenaDtor |
815 | | nullptr, // IsInitialized |
816 | | &BinaryProperty::MergeImpl, |
817 | | ::google::protobuf::Message::GetNewImpl<BinaryProperty>(), |
818 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
819 | | &BinaryProperty::SharedDtor, |
820 | | ::google::protobuf::Message::GetClearImpl<BinaryProperty>(), &BinaryProperty::ByteSizeLong, |
821 | | &BinaryProperty::_InternalSerialize, |
822 | | #endif // PROTOBUF_CUSTOM_VTABLE |
823 | | PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_._cached_size_), |
824 | | false, |
825 | | }, |
826 | | &BinaryProperty::kDescriptorMethods, |
827 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
828 | | nullptr, // tracker |
829 | | }; |
830 | 9.66M | const ::google::protobuf::internal::ClassData* BinaryProperty::GetClassData() const { |
831 | 9.66M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
832 | 9.66M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
833 | 9.66M | return _class_data_.base(); |
834 | 9.66M | } |
835 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
836 | | const ::_pbi::TcParseTable<2, 3, 0, 0, 2> BinaryProperty::_table_ = { |
837 | | { |
838 | | 0, // no _has_bits_ |
839 | | 0, // no _extensions_ |
840 | | 3, 24, // max_field_number, fast_idx_mask |
841 | | offsetof(decltype(_table_), field_lookup_table), |
842 | | 4294967288, // skipmap |
843 | | offsetof(decltype(_table_), field_entries), |
844 | | 3, // num_field_entries |
845 | | 0, // num_aux_entries |
846 | | offsetof(decltype(_table_), field_names), // no aux_entries |
847 | | _class_data_.base(), |
848 | | nullptr, // post_loop_handler |
849 | | ::_pbi::TcParser::GenericFallback, // fallback |
850 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
851 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::BinaryProperty>(), // to_prefetch |
852 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
853 | | }, {{ |
854 | | {::_pbi::TcParser::MiniParse, {}}, |
855 | | // bytes name = 1; |
856 | | {::_pbi::TcParser::FastBS1, |
857 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_.name_)}}, |
858 | | // bytes value = 2; |
859 | | {::_pbi::TcParser::FastBS1, |
860 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_.value_)}}, |
861 | | // bool propagate = 3; |
862 | | {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(BinaryProperty, _impl_.propagate_), 63>(), |
863 | | {24, 63, 0, PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_.propagate_)}}, |
864 | | }}, {{ |
865 | | 65535, 65535 |
866 | | }}, {{ |
867 | | // bytes name = 1; |
868 | | {PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_.name_), 0, 0, |
869 | | (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, |
870 | | // bytes value = 2; |
871 | | {PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_.value_), 0, 0, |
872 | | (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, |
873 | | // bool propagate = 3; |
874 | | {PROTOBUF_FIELD_OFFSET(BinaryProperty, _impl_.propagate_), 0, 0, |
875 | | (0 | ::_fl::kFcSingular | ::_fl::kBool)}, |
876 | | }}, |
877 | | // no aux_entries |
878 | | {{ |
879 | | }}, |
880 | | }; |
881 | | |
882 | 0 | PROTOBUF_NOINLINE void BinaryProperty::Clear() { |
883 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.BinaryProperty) |
884 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
885 | 0 | ::uint32_t cached_has_bits = 0; |
886 | | // Prevent compiler warnings about cached_has_bits being unused |
887 | 0 | (void) cached_has_bits; |
888 | |
|
889 | 0 | _impl_.name_.ClearToEmpty(); |
890 | 0 | _impl_.value_.ClearToEmpty(); |
891 | 0 | _impl_.propagate_ = false; |
892 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
893 | 0 | } |
894 | | |
895 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
896 | | ::uint8_t* BinaryProperty::_InternalSerialize( |
897 | | const MessageLite& base, ::uint8_t* target, |
898 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
899 | | const BinaryProperty& this_ = static_cast<const BinaryProperty&>(base); |
900 | | #else // PROTOBUF_CUSTOM_VTABLE |
901 | | ::uint8_t* BinaryProperty::_InternalSerialize( |
902 | | ::uint8_t* target, |
903 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
904 | 0 | const BinaryProperty& this_ = *this; |
905 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
906 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.BinaryProperty) |
907 | 0 | ::uint32_t cached_has_bits = 0; |
908 | 0 | (void)cached_has_bits; |
909 | | |
910 | | // bytes name = 1; |
911 | 0 | if (!this_._internal_name().empty()) { |
912 | 0 | const std::string& _s = this_._internal_name(); |
913 | 0 | target = stream->WriteBytesMaybeAliased(1, _s, target); |
914 | 0 | } |
915 | | |
916 | | // bytes value = 2; |
917 | 0 | if (!this_._internal_value().empty()) { |
918 | 0 | const std::string& _s = this_._internal_value(); |
919 | 0 | target = stream->WriteBytesMaybeAliased(2, _s, target); |
920 | 0 | } |
921 | | |
922 | | // bool propagate = 3; |
923 | 0 | if (this_._internal_propagate() != 0) { |
924 | 0 | target = stream->EnsureSpace(target); |
925 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray( |
926 | 0 | 3, this_._internal_propagate(), target); |
927 | 0 | } |
928 | |
|
929 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
930 | 0 | target = |
931 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
932 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
933 | 0 | } |
934 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.BinaryProperty) |
935 | 0 | return target; |
936 | 0 | } |
937 | | |
938 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
939 | | ::size_t BinaryProperty::ByteSizeLong(const MessageLite& base) { |
940 | | const BinaryProperty& this_ = static_cast<const BinaryProperty&>(base); |
941 | | #else // PROTOBUF_CUSTOM_VTABLE |
942 | 0 | ::size_t BinaryProperty::ByteSizeLong() const { |
943 | 0 | const BinaryProperty& this_ = *this; |
944 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
945 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.BinaryProperty) |
946 | 0 | ::size_t total_size = 0; |
947 | |
|
948 | 0 | ::uint32_t cached_has_bits = 0; |
949 | | // Prevent compiler warnings about cached_has_bits being unused |
950 | 0 | (void)cached_has_bits; |
951 | |
|
952 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
953 | 0 | { |
954 | | // bytes name = 1; |
955 | 0 | if (!this_._internal_name().empty()) { |
956 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( |
957 | 0 | this_._internal_name()); |
958 | 0 | } |
959 | | // bytes value = 2; |
960 | 0 | if (!this_._internal_value().empty()) { |
961 | 0 | total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( |
962 | 0 | this_._internal_value()); |
963 | 0 | } |
964 | | // bool propagate = 3; |
965 | 0 | if (this_._internal_propagate() != 0) { |
966 | 0 | total_size += 2; |
967 | 0 | } |
968 | 0 | } |
969 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
970 | 0 | &this_._impl_._cached_size_); |
971 | 0 | } |
972 | | |
973 | 0 | void BinaryProperty::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
974 | 0 | auto* const _this = static_cast<BinaryProperty*>(&to_msg); |
975 | 0 | auto& from = static_cast<const BinaryProperty&>(from_msg); |
976 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.BinaryProperty) |
977 | 0 | ABSL_DCHECK_NE(&from, _this); |
978 | 0 | ::uint32_t cached_has_bits = 0; |
979 | 0 | (void) cached_has_bits; |
980 | |
|
981 | 0 | if (!from._internal_name().empty()) { |
982 | 0 | _this->_internal_set_name(from._internal_name()); |
983 | 0 | } |
984 | 0 | if (!from._internal_value().empty()) { |
985 | 0 | _this->_internal_set_value(from._internal_value()); |
986 | 0 | } |
987 | 0 | if (from._internal_propagate() != 0) { |
988 | 0 | _this->_impl_.propagate_ = from._impl_.propagate_; |
989 | 0 | } |
990 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
991 | 0 | } |
992 | | |
993 | 0 | void BinaryProperty::CopyFrom(const BinaryProperty& from) { |
994 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.BinaryProperty) |
995 | 0 | if (&from == this) return; |
996 | 0 | Clear(); |
997 | 0 | MergeFrom(from); |
998 | 0 | } |
999 | | |
1000 | | |
1001 | 0 | void BinaryProperty::InternalSwap(BinaryProperty* PROTOBUF_RESTRICT other) { |
1002 | 0 | using std::swap; |
1003 | 0 | auto* arena = GetArena(); |
1004 | 0 | ABSL_DCHECK_EQ(arena, other->GetArena()); |
1005 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
1006 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); |
1007 | 0 | ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena); |
1008 | 0 | swap(_impl_.propagate_, other->_impl_.propagate_); |
1009 | 0 | } |
1010 | | |
1011 | 0 | ::google::protobuf::Metadata BinaryProperty::GetMetadata() const { |
1012 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
1013 | 0 | } |
1014 | | // =================================================================== |
1015 | | |
1016 | | class DataHolder::_Internal { |
1017 | | public: |
1018 | | }; |
1019 | | |
1020 | | DataHolder::DataHolder(::google::protobuf::Arena* arena) |
1021 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1022 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1023 | | #else // PROTOBUF_CUSTOM_VTABLE |
1024 | 321k | : ::google::protobuf::Message(arena) { |
1025 | 321k | #endif // PROTOBUF_CUSTOM_VTABLE |
1026 | 321k | SharedCtor(arena); |
1027 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.DataHolder) |
1028 | 321k | } |
1029 | | inline PROTOBUF_NDEBUG_INLINE DataHolder::Impl_::Impl_( |
1030 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
1031 | | const Impl_& from, const ::fuzz_handshake::DataHolder& from_msg) |
1032 | 0 | : properties_{visibility, arena, from.properties_}, |
1033 | 0 | binary_properties_{visibility, arena, from.binary_properties_}, |
1034 | 0 | _cached_size_{0} {} |
1035 | | |
1036 | | DataHolder::DataHolder( |
1037 | | ::google::protobuf::Arena* arena, |
1038 | | const DataHolder& from) |
1039 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1040 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1041 | | #else // PROTOBUF_CUSTOM_VTABLE |
1042 | 0 | : ::google::protobuf::Message(arena) { |
1043 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1044 | 0 | DataHolder* const _this = this; |
1045 | 0 | (void)_this; |
1046 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
1047 | 0 | from._internal_metadata_); |
1048 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
1049 | | |
1050 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.DataHolder) |
1051 | 0 | } |
1052 | | inline PROTOBUF_NDEBUG_INLINE DataHolder::Impl_::Impl_( |
1053 | | ::google::protobuf::internal::InternalVisibility visibility, |
1054 | | ::google::protobuf::Arena* arena) |
1055 | 321k | : properties_{visibility, arena}, |
1056 | 321k | binary_properties_{visibility, arena}, |
1057 | 321k | _cached_size_{0} {} |
1058 | | |
1059 | 321k | inline void DataHolder::SharedCtor(::_pb::Arena* arena) { |
1060 | 321k | new (&_impl_) Impl_(internal_visibility(), arena); |
1061 | 321k | } |
1062 | 321k | DataHolder::~DataHolder() { |
1063 | | // @@protoc_insertion_point(destructor:fuzz_handshake.DataHolder) |
1064 | 321k | SharedDtor(*this); |
1065 | 321k | } |
1066 | 321k | inline void DataHolder::SharedDtor(MessageLite& self) { |
1067 | 321k | DataHolder& this_ = static_cast<DataHolder&>(self); |
1068 | 321k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
1069 | 321k | ABSL_DCHECK(this_.GetArena() == nullptr); |
1070 | 321k | this_._impl_.~Impl_(); |
1071 | 321k | } |
1072 | | |
1073 | | inline void* DataHolder::PlacementNew_(const void*, void* mem, |
1074 | 321k | ::google::protobuf::Arena* arena) { |
1075 | 321k | return ::new (mem) DataHolder(arena); |
1076 | 321k | } |
1077 | 0 | constexpr auto DataHolder::InternalNewImpl_() { |
1078 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
1079 | 0 | PROTOBUF_FIELD_OFFSET(DataHolder, _impl_.properties_) + |
1080 | 0 | decltype(DataHolder::_impl_.properties_):: |
1081 | 0 | InternalGetArenaOffset( |
1082 | 0 | ::google::protobuf::Message::internal_visibility()), |
1083 | 0 | PROTOBUF_FIELD_OFFSET(DataHolder, _impl_.binary_properties_) + |
1084 | 0 | decltype(DataHolder::_impl_.binary_properties_):: |
1085 | 0 | InternalGetArenaOffset( |
1086 | 0 | ::google::protobuf::Message::internal_visibility()), |
1087 | 0 | }); |
1088 | 0 | if (arena_bits.has_value()) { |
1089 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
1090 | 0 | sizeof(DataHolder), alignof(DataHolder), *arena_bits); |
1091 | 0 | } else { |
1092 | 0 | return ::google::protobuf::internal::MessageCreator(&DataHolder::PlacementNew_, |
1093 | 0 | sizeof(DataHolder), |
1094 | 0 | alignof(DataHolder)); |
1095 | 0 | } |
1096 | 0 | } |
1097 | | PROTOBUF_CONSTINIT |
1098 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1099 | | const ::google::protobuf::internal::ClassDataFull DataHolder::_class_data_ = { |
1100 | | ::google::protobuf::internal::ClassData{ |
1101 | | &_DataHolder_default_instance_._instance, |
1102 | | &_table_.header, |
1103 | | nullptr, // OnDemandRegisterArenaDtor |
1104 | | nullptr, // IsInitialized |
1105 | | &DataHolder::MergeImpl, |
1106 | | ::google::protobuf::Message::GetNewImpl<DataHolder>(), |
1107 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1108 | | &DataHolder::SharedDtor, |
1109 | | ::google::protobuf::Message::GetClearImpl<DataHolder>(), &DataHolder::ByteSizeLong, |
1110 | | &DataHolder::_InternalSerialize, |
1111 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1112 | | PROTOBUF_FIELD_OFFSET(DataHolder, _impl_._cached_size_), |
1113 | | false, |
1114 | | }, |
1115 | | &DataHolder::kDescriptorMethods, |
1116 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
1117 | | nullptr, // tracker |
1118 | | }; |
1119 | 5.04M | const ::google::protobuf::internal::ClassData* DataHolder::GetClassData() const { |
1120 | 5.04M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
1121 | 5.04M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
1122 | 5.04M | return _class_data_.base(); |
1123 | 5.04M | } |
1124 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1125 | | const ::_pbi::TcParseTable<1, 2, 2, 0, 2> DataHolder::_table_ = { |
1126 | | { |
1127 | | 0, // no _has_bits_ |
1128 | | 0, // no _extensions_ |
1129 | | 2, 8, // max_field_number, fast_idx_mask |
1130 | | offsetof(decltype(_table_), field_lookup_table), |
1131 | | 4294967292, // skipmap |
1132 | | offsetof(decltype(_table_), field_entries), |
1133 | | 2, // num_field_entries |
1134 | | 2, // num_aux_entries |
1135 | | offsetof(decltype(_table_), aux_entries), |
1136 | | _class_data_.base(), |
1137 | | nullptr, // post_loop_handler |
1138 | | ::_pbi::TcParser::GenericFallback, // fallback |
1139 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
1140 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::DataHolder>(), // to_prefetch |
1141 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
1142 | | }, {{ |
1143 | | // repeated .fuzz_handshake.BinaryProperty binary_properties = 2; |
1144 | | {::_pbi::TcParser::FastMtR1, |
1145 | | {18, 63, 1, PROTOBUF_FIELD_OFFSET(DataHolder, _impl_.binary_properties_)}}, |
1146 | | // repeated .fuzz_handshake.Property properties = 1; |
1147 | | {::_pbi::TcParser::FastMtR1, |
1148 | | {10, 63, 0, PROTOBUF_FIELD_OFFSET(DataHolder, _impl_.properties_)}}, |
1149 | | }}, {{ |
1150 | | 65535, 65535 |
1151 | | }}, {{ |
1152 | | // repeated .fuzz_handshake.Property properties = 1; |
1153 | | {PROTOBUF_FIELD_OFFSET(DataHolder, _impl_.properties_), 0, 0, |
1154 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
1155 | | // repeated .fuzz_handshake.BinaryProperty binary_properties = 2; |
1156 | | {PROTOBUF_FIELD_OFFSET(DataHolder, _impl_.binary_properties_), 0, 1, |
1157 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
1158 | | }}, {{ |
1159 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::Property>()}, |
1160 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::BinaryProperty>()}, |
1161 | | }}, {{ |
1162 | | }}, |
1163 | | }; |
1164 | | |
1165 | 0 | PROTOBUF_NOINLINE void DataHolder::Clear() { |
1166 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.DataHolder) |
1167 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1168 | 0 | ::uint32_t cached_has_bits = 0; |
1169 | | // Prevent compiler warnings about cached_has_bits being unused |
1170 | 0 | (void) cached_has_bits; |
1171 | |
|
1172 | 0 | _impl_.properties_.Clear(); |
1173 | 0 | _impl_.binary_properties_.Clear(); |
1174 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
1175 | 0 | } |
1176 | | |
1177 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1178 | | ::uint8_t* DataHolder::_InternalSerialize( |
1179 | | const MessageLite& base, ::uint8_t* target, |
1180 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
1181 | | const DataHolder& this_ = static_cast<const DataHolder&>(base); |
1182 | | #else // PROTOBUF_CUSTOM_VTABLE |
1183 | | ::uint8_t* DataHolder::_InternalSerialize( |
1184 | | ::uint8_t* target, |
1185 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1186 | 0 | const DataHolder& this_ = *this; |
1187 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1188 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.DataHolder) |
1189 | 0 | ::uint32_t cached_has_bits = 0; |
1190 | 0 | (void)cached_has_bits; |
1191 | | |
1192 | | // repeated .fuzz_handshake.Property properties = 1; |
1193 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
1194 | 0 | this_._internal_properties_size()); |
1195 | 0 | i < n; i++) { |
1196 | 0 | const auto& repfield = this_._internal_properties().Get(i); |
1197 | 0 | target = |
1198 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
1199 | 0 | 1, repfield, repfield.GetCachedSize(), |
1200 | 0 | target, stream); |
1201 | 0 | } |
1202 | | |
1203 | | // repeated .fuzz_handshake.BinaryProperty binary_properties = 2; |
1204 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
1205 | 0 | this_._internal_binary_properties_size()); |
1206 | 0 | i < n; i++) { |
1207 | 0 | const auto& repfield = this_._internal_binary_properties().Get(i); |
1208 | 0 | target = |
1209 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
1210 | 0 | 2, repfield, repfield.GetCachedSize(), |
1211 | 0 | target, stream); |
1212 | 0 | } |
1213 | |
|
1214 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
1215 | 0 | target = |
1216 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
1217 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
1218 | 0 | } |
1219 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.DataHolder) |
1220 | 0 | return target; |
1221 | 0 | } |
1222 | | |
1223 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1224 | | ::size_t DataHolder::ByteSizeLong(const MessageLite& base) { |
1225 | | const DataHolder& this_ = static_cast<const DataHolder&>(base); |
1226 | | #else // PROTOBUF_CUSTOM_VTABLE |
1227 | 0 | ::size_t DataHolder::ByteSizeLong() const { |
1228 | 0 | const DataHolder& this_ = *this; |
1229 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1230 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.DataHolder) |
1231 | 0 | ::size_t total_size = 0; |
1232 | |
|
1233 | 0 | ::uint32_t cached_has_bits = 0; |
1234 | | // Prevent compiler warnings about cached_has_bits being unused |
1235 | 0 | (void)cached_has_bits; |
1236 | |
|
1237 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
1238 | 0 | { |
1239 | | // repeated .fuzz_handshake.Property properties = 1; |
1240 | 0 | { |
1241 | 0 | total_size += 1UL * this_._internal_properties_size(); |
1242 | 0 | for (const auto& msg : this_._internal_properties()) { |
1243 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
1244 | 0 | } |
1245 | 0 | } |
1246 | | // repeated .fuzz_handshake.BinaryProperty binary_properties = 2; |
1247 | 0 | { |
1248 | 0 | total_size += 1UL * this_._internal_binary_properties_size(); |
1249 | 0 | for (const auto& msg : this_._internal_binary_properties()) { |
1250 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
1251 | 0 | } |
1252 | 0 | } |
1253 | 0 | } |
1254 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
1255 | 0 | &this_._impl_._cached_size_); |
1256 | 0 | } |
1257 | | |
1258 | 0 | void DataHolder::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
1259 | 0 | auto* const _this = static_cast<DataHolder*>(&to_msg); |
1260 | 0 | auto& from = static_cast<const DataHolder&>(from_msg); |
1261 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.DataHolder) |
1262 | 0 | ABSL_DCHECK_NE(&from, _this); |
1263 | 0 | ::uint32_t cached_has_bits = 0; |
1264 | 0 | (void) cached_has_bits; |
1265 | |
|
1266 | 0 | _this->_internal_mutable_properties()->MergeFrom( |
1267 | 0 | from._internal_properties()); |
1268 | 0 | _this->_internal_mutable_binary_properties()->MergeFrom( |
1269 | 0 | from._internal_binary_properties()); |
1270 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
1271 | 0 | } |
1272 | | |
1273 | 0 | void DataHolder::CopyFrom(const DataHolder& from) { |
1274 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.DataHolder) |
1275 | 0 | if (&from == this) return; |
1276 | 0 | Clear(); |
1277 | 0 | MergeFrom(from); |
1278 | 0 | } |
1279 | | |
1280 | | |
1281 | 0 | void DataHolder::InternalSwap(DataHolder* PROTOBUF_RESTRICT other) { |
1282 | 0 | using std::swap; |
1283 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
1284 | 0 | _impl_.properties_.InternalSwap(&other->_impl_.properties_); |
1285 | 0 | _impl_.binary_properties_.InternalSwap(&other->_impl_.binary_properties_); |
1286 | 0 | } |
1287 | | |
1288 | 0 | ::google::protobuf::Metadata DataHolder::GetMetadata() const { |
1289 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
1290 | 0 | } |
1291 | | // =================================================================== |
1292 | | |
1293 | | class TimeoutEvent::_Internal { |
1294 | | public: |
1295 | | }; |
1296 | | |
1297 | | TimeoutEvent::TimeoutEvent(::google::protobuf::Arena* arena) |
1298 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1299 | | : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { |
1300 | | #else // PROTOBUF_CUSTOM_VTABLE |
1301 | 197k | : ::google::protobuf::internal::ZeroFieldsBase(arena) { |
1302 | 197k | #endif // PROTOBUF_CUSTOM_VTABLE |
1303 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.TimeoutEvent) |
1304 | 197k | } |
1305 | | TimeoutEvent::TimeoutEvent( |
1306 | | ::google::protobuf::Arena* arena, |
1307 | | const TimeoutEvent& from) |
1308 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1309 | | : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { |
1310 | | #else // PROTOBUF_CUSTOM_VTABLE |
1311 | 0 | : ::google::protobuf::internal::ZeroFieldsBase(arena) { |
1312 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1313 | 0 | TimeoutEvent* const _this = this; |
1314 | 0 | (void)_this; |
1315 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
1316 | 0 | from._internal_metadata_); |
1317 | | |
1318 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.TimeoutEvent) |
1319 | 0 | } |
1320 | | |
1321 | | inline void* TimeoutEvent::PlacementNew_(const void*, void* mem, |
1322 | 197k | ::google::protobuf::Arena* arena) { |
1323 | 197k | return ::new (mem) TimeoutEvent(arena); |
1324 | 197k | } |
1325 | 0 | constexpr auto TimeoutEvent::InternalNewImpl_() { |
1326 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(TimeoutEvent), |
1327 | 0 | alignof(TimeoutEvent)); |
1328 | 0 | } |
1329 | | PROTOBUF_CONSTINIT |
1330 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1331 | | const ::google::protobuf::internal::ClassDataFull TimeoutEvent::_class_data_ = { |
1332 | | ::google::protobuf::internal::ClassData{ |
1333 | | &_TimeoutEvent_default_instance_._instance, |
1334 | | &_table_.header, |
1335 | | nullptr, // OnDemandRegisterArenaDtor |
1336 | | nullptr, // IsInitialized |
1337 | | &TimeoutEvent::MergeImpl, |
1338 | | ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<TimeoutEvent>(), |
1339 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1340 | | &TimeoutEvent::SharedDtor, |
1341 | | ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<TimeoutEvent>(), &TimeoutEvent::ByteSizeLong, |
1342 | | &TimeoutEvent::_InternalSerialize, |
1343 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1344 | | PROTOBUF_FIELD_OFFSET(TimeoutEvent, _impl_._cached_size_), |
1345 | | false, |
1346 | | }, |
1347 | | &TimeoutEvent::kDescriptorMethods, |
1348 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
1349 | | nullptr, // tracker |
1350 | | }; |
1351 | 1.37M | const ::google::protobuf::internal::ClassData* TimeoutEvent::GetClassData() const { |
1352 | 1.37M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
1353 | 1.37M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
1354 | 1.37M | return _class_data_.base(); |
1355 | 1.37M | } |
1356 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1357 | | const ::_pbi::TcParseTable<0, 0, 0, 0, 2> TimeoutEvent::_table_ = { |
1358 | | { |
1359 | | 0, // no _has_bits_ |
1360 | | 0, // no _extensions_ |
1361 | | 0, 0, // max_field_number, fast_idx_mask |
1362 | | offsetof(decltype(_table_), field_lookup_table), |
1363 | | 4294967295, // skipmap |
1364 | | offsetof(decltype(_table_), field_names), // no field_entries |
1365 | | 0, // num_field_entries |
1366 | | 0, // num_aux_entries |
1367 | | offsetof(decltype(_table_), field_names), // no aux_entries |
1368 | | _class_data_.base(), |
1369 | | nullptr, // post_loop_handler |
1370 | | ::_pbi::TcParser::GenericFallback, // fallback |
1371 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
1372 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::TimeoutEvent>(), // to_prefetch |
1373 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
1374 | | }, {{ |
1375 | | {::_pbi::TcParser::MiniParse, {}}, |
1376 | | }}, {{ |
1377 | | 65535, 65535 |
1378 | | }}, |
1379 | | // no field_entries, or aux_entries |
1380 | | {{ |
1381 | | }}, |
1382 | | }; |
1383 | | |
1384 | | |
1385 | | |
1386 | | |
1387 | | |
1388 | | |
1389 | | |
1390 | | |
1391 | 0 | ::google::protobuf::Metadata TimeoutEvent::GetMetadata() const { |
1392 | 0 | return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); |
1393 | 0 | } |
1394 | | // =================================================================== |
1395 | | |
1396 | | class ReceivedMessageRequest::_Internal { |
1397 | | public: |
1398 | | using HasBits = |
1399 | | decltype(std::declval<ReceivedMessageRequest>()._impl_._has_bits_); |
1400 | | static constexpr ::int32_t kHasBitsOffset = |
1401 | | 8 * PROTOBUF_FIELD_OFFSET(ReceivedMessageRequest, _impl_._has_bits_); |
1402 | | }; |
1403 | | |
1404 | | ReceivedMessageRequest::ReceivedMessageRequest(::google::protobuf::Arena* arena) |
1405 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1406 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1407 | | #else // PROTOBUF_CUSTOM_VTABLE |
1408 | 317k | : ::google::protobuf::Message(arena) { |
1409 | 317k | #endif // PROTOBUF_CUSTOM_VTABLE |
1410 | 317k | SharedCtor(arena); |
1411 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.ReceivedMessageRequest) |
1412 | 317k | } |
1413 | | inline PROTOBUF_NDEBUG_INLINE ReceivedMessageRequest::Impl_::Impl_( |
1414 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
1415 | | const Impl_& from, const ::fuzz_handshake::ReceivedMessageRequest& from_msg) |
1416 | 0 | : _has_bits_{from._has_bits_}, |
1417 | 0 | _cached_size_{0} {} |
1418 | | |
1419 | | ReceivedMessageRequest::ReceivedMessageRequest( |
1420 | | ::google::protobuf::Arena* arena, |
1421 | | const ReceivedMessageRequest& from) |
1422 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1423 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1424 | | #else // PROTOBUF_CUSTOM_VTABLE |
1425 | 0 | : ::google::protobuf::Message(arena) { |
1426 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1427 | 0 | ReceivedMessageRequest* const _this = this; |
1428 | 0 | (void)_this; |
1429 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
1430 | 0 | from._internal_metadata_); |
1431 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
1432 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
1433 | 0 | _impl_.token_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::DataHolder>( |
1434 | 0 | arena, *from._impl_.token_) |
1435 | 0 | : nullptr; |
1436 | | |
1437 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.ReceivedMessageRequest) |
1438 | 0 | } |
1439 | | inline PROTOBUF_NDEBUG_INLINE ReceivedMessageRequest::Impl_::Impl_( |
1440 | | ::google::protobuf::internal::InternalVisibility visibility, |
1441 | | ::google::protobuf::Arena* arena) |
1442 | 317k | : _cached_size_{0} {} |
1443 | | |
1444 | 317k | inline void ReceivedMessageRequest::SharedCtor(::_pb::Arena* arena) { |
1445 | 317k | new (&_impl_) Impl_(internal_visibility(), arena); |
1446 | 317k | _impl_.token_ = {}; |
1447 | 317k | } |
1448 | 317k | ReceivedMessageRequest::~ReceivedMessageRequest() { |
1449 | | // @@protoc_insertion_point(destructor:fuzz_handshake.ReceivedMessageRequest) |
1450 | 317k | SharedDtor(*this); |
1451 | 317k | } |
1452 | 317k | inline void ReceivedMessageRequest::SharedDtor(MessageLite& self) { |
1453 | 317k | ReceivedMessageRequest& this_ = static_cast<ReceivedMessageRequest&>(self); |
1454 | 317k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
1455 | 317k | ABSL_DCHECK(this_.GetArena() == nullptr); |
1456 | 317k | delete this_._impl_.token_; |
1457 | 317k | this_._impl_.~Impl_(); |
1458 | 317k | } |
1459 | | |
1460 | | inline void* ReceivedMessageRequest::PlacementNew_(const void*, void* mem, |
1461 | 317k | ::google::protobuf::Arena* arena) { |
1462 | 317k | return ::new (mem) ReceivedMessageRequest(arena); |
1463 | 317k | } |
1464 | 0 | constexpr auto ReceivedMessageRequest::InternalNewImpl_() { |
1465 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ReceivedMessageRequest), |
1466 | 0 | alignof(ReceivedMessageRequest)); |
1467 | 0 | } |
1468 | | PROTOBUF_CONSTINIT |
1469 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1470 | | const ::google::protobuf::internal::ClassDataFull ReceivedMessageRequest::_class_data_ = { |
1471 | | ::google::protobuf::internal::ClassData{ |
1472 | | &_ReceivedMessageRequest_default_instance_._instance, |
1473 | | &_table_.header, |
1474 | | nullptr, // OnDemandRegisterArenaDtor |
1475 | | nullptr, // IsInitialized |
1476 | | &ReceivedMessageRequest::MergeImpl, |
1477 | | ::google::protobuf::Message::GetNewImpl<ReceivedMessageRequest>(), |
1478 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1479 | | &ReceivedMessageRequest::SharedDtor, |
1480 | | ::google::protobuf::Message::GetClearImpl<ReceivedMessageRequest>(), &ReceivedMessageRequest::ByteSizeLong, |
1481 | | &ReceivedMessageRequest::_InternalSerialize, |
1482 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1483 | | PROTOBUF_FIELD_OFFSET(ReceivedMessageRequest, _impl_._cached_size_), |
1484 | | false, |
1485 | | }, |
1486 | | &ReceivedMessageRequest::kDescriptorMethods, |
1487 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
1488 | | nullptr, // tracker |
1489 | | }; |
1490 | 3.02M | const ::google::protobuf::internal::ClassData* ReceivedMessageRequest::GetClassData() const { |
1491 | 3.02M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
1492 | 3.02M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
1493 | 3.02M | return _class_data_.base(); |
1494 | 3.02M | } |
1495 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1496 | | const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ReceivedMessageRequest::_table_ = { |
1497 | | { |
1498 | | PROTOBUF_FIELD_OFFSET(ReceivedMessageRequest, _impl_._has_bits_), |
1499 | | 0, // no _extensions_ |
1500 | | 1, 0, // max_field_number, fast_idx_mask |
1501 | | offsetof(decltype(_table_), field_lookup_table), |
1502 | | 4294967294, // skipmap |
1503 | | offsetof(decltype(_table_), field_entries), |
1504 | | 1, // num_field_entries |
1505 | | 1, // num_aux_entries |
1506 | | offsetof(decltype(_table_), aux_entries), |
1507 | | _class_data_.base(), |
1508 | | nullptr, // post_loop_handler |
1509 | | ::_pbi::TcParser::GenericFallback, // fallback |
1510 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
1511 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedMessageRequest>(), // to_prefetch |
1512 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
1513 | | }, {{ |
1514 | | // .fuzz_handshake.DataHolder token = 1; |
1515 | | {::_pbi::TcParser::FastMtS1, |
1516 | | {10, 0, 0, PROTOBUF_FIELD_OFFSET(ReceivedMessageRequest, _impl_.token_)}}, |
1517 | | }}, {{ |
1518 | | 65535, 65535 |
1519 | | }}, {{ |
1520 | | // .fuzz_handshake.DataHolder token = 1; |
1521 | | {PROTOBUF_FIELD_OFFSET(ReceivedMessageRequest, _impl_.token_), _Internal::kHasBitsOffset + 0, 0, |
1522 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
1523 | | }}, {{ |
1524 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::DataHolder>()}, |
1525 | | }}, {{ |
1526 | | }}, |
1527 | | }; |
1528 | | |
1529 | 0 | PROTOBUF_NOINLINE void ReceivedMessageRequest::Clear() { |
1530 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.ReceivedMessageRequest) |
1531 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1532 | 0 | ::uint32_t cached_has_bits = 0; |
1533 | | // Prevent compiler warnings about cached_has_bits being unused |
1534 | 0 | (void) cached_has_bits; |
1535 | |
|
1536 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
1537 | 0 | if (cached_has_bits & 0x00000001u) { |
1538 | 0 | ABSL_DCHECK(_impl_.token_ != nullptr); |
1539 | 0 | _impl_.token_->Clear(); |
1540 | 0 | } |
1541 | 0 | _impl_._has_bits_.Clear(); |
1542 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
1543 | 0 | } |
1544 | | |
1545 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1546 | | ::uint8_t* ReceivedMessageRequest::_InternalSerialize( |
1547 | | const MessageLite& base, ::uint8_t* target, |
1548 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
1549 | | const ReceivedMessageRequest& this_ = static_cast<const ReceivedMessageRequest&>(base); |
1550 | | #else // PROTOBUF_CUSTOM_VTABLE |
1551 | | ::uint8_t* ReceivedMessageRequest::_InternalSerialize( |
1552 | | ::uint8_t* target, |
1553 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1554 | 0 | const ReceivedMessageRequest& this_ = *this; |
1555 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1556 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.ReceivedMessageRequest) |
1557 | 0 | ::uint32_t cached_has_bits = 0; |
1558 | 0 | (void)cached_has_bits; |
1559 | |
|
1560 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
1561 | | // .fuzz_handshake.DataHolder token = 1; |
1562 | 0 | if (cached_has_bits & 0x00000001u) { |
1563 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
1564 | 0 | 1, *this_._impl_.token_, this_._impl_.token_->GetCachedSize(), target, |
1565 | 0 | stream); |
1566 | 0 | } |
1567 | |
|
1568 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
1569 | 0 | target = |
1570 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
1571 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
1572 | 0 | } |
1573 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.ReceivedMessageRequest) |
1574 | 0 | return target; |
1575 | 0 | } |
1576 | | |
1577 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1578 | | ::size_t ReceivedMessageRequest::ByteSizeLong(const MessageLite& base) { |
1579 | | const ReceivedMessageRequest& this_ = static_cast<const ReceivedMessageRequest&>(base); |
1580 | | #else // PROTOBUF_CUSTOM_VTABLE |
1581 | 0 | ::size_t ReceivedMessageRequest::ByteSizeLong() const { |
1582 | 0 | const ReceivedMessageRequest& this_ = *this; |
1583 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1584 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.ReceivedMessageRequest) |
1585 | 0 | ::size_t total_size = 0; |
1586 | |
|
1587 | 0 | ::uint32_t cached_has_bits = 0; |
1588 | | // Prevent compiler warnings about cached_has_bits being unused |
1589 | 0 | (void)cached_has_bits; |
1590 | |
|
1591 | 0 | { |
1592 | | // .fuzz_handshake.DataHolder token = 1; |
1593 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
1594 | 0 | if (cached_has_bits & 0x00000001u) { |
1595 | 0 | total_size += 1 + |
1596 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.token_); |
1597 | 0 | } |
1598 | 0 | } |
1599 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
1600 | 0 | &this_._impl_._cached_size_); |
1601 | 0 | } |
1602 | | |
1603 | 0 | void ReceivedMessageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
1604 | 0 | auto* const _this = static_cast<ReceivedMessageRequest*>(&to_msg); |
1605 | 0 | auto& from = static_cast<const ReceivedMessageRequest&>(from_msg); |
1606 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
1607 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.ReceivedMessageRequest) |
1608 | 0 | ABSL_DCHECK_NE(&from, _this); |
1609 | 0 | ::uint32_t cached_has_bits = 0; |
1610 | 0 | (void) cached_has_bits; |
1611 | |
|
1612 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
1613 | 0 | if (cached_has_bits & 0x00000001u) { |
1614 | 0 | ABSL_DCHECK(from._impl_.token_ != nullptr); |
1615 | 0 | if (_this->_impl_.token_ == nullptr) { |
1616 | 0 | _this->_impl_.token_ = |
1617 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::DataHolder>(arena, *from._impl_.token_); |
1618 | 0 | } else { |
1619 | 0 | _this->_impl_.token_->MergeFrom(*from._impl_.token_); |
1620 | 0 | } |
1621 | 0 | } |
1622 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
1623 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
1624 | 0 | } |
1625 | | |
1626 | 0 | void ReceivedMessageRequest::CopyFrom(const ReceivedMessageRequest& from) { |
1627 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.ReceivedMessageRequest) |
1628 | 0 | if (&from == this) return; |
1629 | 0 | Clear(); |
1630 | 0 | MergeFrom(from); |
1631 | 0 | } |
1632 | | |
1633 | | |
1634 | 0 | void ReceivedMessageRequest::InternalSwap(ReceivedMessageRequest* PROTOBUF_RESTRICT other) { |
1635 | 0 | using std::swap; |
1636 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
1637 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
1638 | 0 | swap(_impl_.token_, other->_impl_.token_); |
1639 | 0 | } |
1640 | | |
1641 | 0 | ::google::protobuf::Metadata ReceivedMessageRequest::GetMetadata() const { |
1642 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
1643 | 0 | } |
1644 | | // =================================================================== |
1645 | | |
1646 | | class ReceivedMessageReply::_Internal { |
1647 | | public: |
1648 | | using HasBits = |
1649 | | decltype(std::declval<ReceivedMessageReply>()._impl_._has_bits_); |
1650 | | static constexpr ::int32_t kHasBitsOffset = |
1651 | | 8 * PROTOBUF_FIELD_OFFSET(ReceivedMessageReply, _impl_._has_bits_); |
1652 | | }; |
1653 | | |
1654 | | ReceivedMessageReply::ReceivedMessageReply(::google::protobuf::Arena* arena) |
1655 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1656 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1657 | | #else // PROTOBUF_CUSTOM_VTABLE |
1658 | 56.1k | : ::google::protobuf::Message(arena) { |
1659 | 56.1k | #endif // PROTOBUF_CUSTOM_VTABLE |
1660 | 56.1k | SharedCtor(arena); |
1661 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.ReceivedMessageReply) |
1662 | 56.1k | } |
1663 | | inline PROTOBUF_NDEBUG_INLINE ReceivedMessageReply::Impl_::Impl_( |
1664 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
1665 | | const Impl_& from, const ::fuzz_handshake::ReceivedMessageReply& from_msg) |
1666 | 0 | : _has_bits_{from._has_bits_}, |
1667 | 0 | _cached_size_{0} {} |
1668 | | |
1669 | | ReceivedMessageReply::ReceivedMessageReply( |
1670 | | ::google::protobuf::Arena* arena, |
1671 | | const ReceivedMessageReply& from) |
1672 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1673 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1674 | | #else // PROTOBUF_CUSTOM_VTABLE |
1675 | 0 | : ::google::protobuf::Message(arena) { |
1676 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1677 | 0 | ReceivedMessageReply* const _this = this; |
1678 | 0 | (void)_this; |
1679 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
1680 | 0 | from._internal_metadata_); |
1681 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
1682 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
1683 | 0 | _impl_.token_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::DataHolder>( |
1684 | 0 | arena, *from._impl_.token_) |
1685 | 0 | : nullptr; |
1686 | | |
1687 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.ReceivedMessageReply) |
1688 | 0 | } |
1689 | | inline PROTOBUF_NDEBUG_INLINE ReceivedMessageReply::Impl_::Impl_( |
1690 | | ::google::protobuf::internal::InternalVisibility visibility, |
1691 | | ::google::protobuf::Arena* arena) |
1692 | 56.1k | : _cached_size_{0} {} |
1693 | | |
1694 | 56.1k | inline void ReceivedMessageReply::SharedCtor(::_pb::Arena* arena) { |
1695 | 56.1k | new (&_impl_) Impl_(internal_visibility(), arena); |
1696 | 56.1k | _impl_.token_ = {}; |
1697 | 56.1k | } |
1698 | 56.1k | ReceivedMessageReply::~ReceivedMessageReply() { |
1699 | | // @@protoc_insertion_point(destructor:fuzz_handshake.ReceivedMessageReply) |
1700 | 56.1k | SharedDtor(*this); |
1701 | 56.1k | } |
1702 | 56.1k | inline void ReceivedMessageReply::SharedDtor(MessageLite& self) { |
1703 | 56.1k | ReceivedMessageReply& this_ = static_cast<ReceivedMessageReply&>(self); |
1704 | 56.1k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
1705 | 56.1k | ABSL_DCHECK(this_.GetArena() == nullptr); |
1706 | 56.1k | delete this_._impl_.token_; |
1707 | 56.1k | this_._impl_.~Impl_(); |
1708 | 56.1k | } |
1709 | | |
1710 | | inline void* ReceivedMessageReply::PlacementNew_(const void*, void* mem, |
1711 | 56.1k | ::google::protobuf::Arena* arena) { |
1712 | 56.1k | return ::new (mem) ReceivedMessageReply(arena); |
1713 | 56.1k | } |
1714 | 0 | constexpr auto ReceivedMessageReply::InternalNewImpl_() { |
1715 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ReceivedMessageReply), |
1716 | 0 | alignof(ReceivedMessageReply)); |
1717 | 0 | } |
1718 | | PROTOBUF_CONSTINIT |
1719 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1720 | | const ::google::protobuf::internal::ClassDataFull ReceivedMessageReply::_class_data_ = { |
1721 | | ::google::protobuf::internal::ClassData{ |
1722 | | &_ReceivedMessageReply_default_instance_._instance, |
1723 | | &_table_.header, |
1724 | | nullptr, // OnDemandRegisterArenaDtor |
1725 | | nullptr, // IsInitialized |
1726 | | &ReceivedMessageReply::MergeImpl, |
1727 | | ::google::protobuf::Message::GetNewImpl<ReceivedMessageReply>(), |
1728 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1729 | | &ReceivedMessageReply::SharedDtor, |
1730 | | ::google::protobuf::Message::GetClearImpl<ReceivedMessageReply>(), &ReceivedMessageReply::ByteSizeLong, |
1731 | | &ReceivedMessageReply::_InternalSerialize, |
1732 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1733 | | PROTOBUF_FIELD_OFFSET(ReceivedMessageReply, _impl_._cached_size_), |
1734 | | false, |
1735 | | }, |
1736 | | &ReceivedMessageReply::kDescriptorMethods, |
1737 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
1738 | | nullptr, // tracker |
1739 | | }; |
1740 | 464k | const ::google::protobuf::internal::ClassData* ReceivedMessageReply::GetClassData() const { |
1741 | 464k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
1742 | 464k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
1743 | 464k | return _class_data_.base(); |
1744 | 464k | } |
1745 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1746 | | const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ReceivedMessageReply::_table_ = { |
1747 | | { |
1748 | | PROTOBUF_FIELD_OFFSET(ReceivedMessageReply, _impl_._has_bits_), |
1749 | | 0, // no _extensions_ |
1750 | | 1, 0, // max_field_number, fast_idx_mask |
1751 | | offsetof(decltype(_table_), field_lookup_table), |
1752 | | 4294967294, // skipmap |
1753 | | offsetof(decltype(_table_), field_entries), |
1754 | | 1, // num_field_entries |
1755 | | 1, // num_aux_entries |
1756 | | offsetof(decltype(_table_), aux_entries), |
1757 | | _class_data_.base(), |
1758 | | nullptr, // post_loop_handler |
1759 | | ::_pbi::TcParser::GenericFallback, // fallback |
1760 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
1761 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedMessageReply>(), // to_prefetch |
1762 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
1763 | | }, {{ |
1764 | | // .fuzz_handshake.DataHolder token = 1; |
1765 | | {::_pbi::TcParser::FastMtS1, |
1766 | | {10, 0, 0, PROTOBUF_FIELD_OFFSET(ReceivedMessageReply, _impl_.token_)}}, |
1767 | | }}, {{ |
1768 | | 65535, 65535 |
1769 | | }}, {{ |
1770 | | // .fuzz_handshake.DataHolder token = 1; |
1771 | | {PROTOBUF_FIELD_OFFSET(ReceivedMessageReply, _impl_.token_), _Internal::kHasBitsOffset + 0, 0, |
1772 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
1773 | | }}, {{ |
1774 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::DataHolder>()}, |
1775 | | }}, {{ |
1776 | | }}, |
1777 | | }; |
1778 | | |
1779 | 0 | PROTOBUF_NOINLINE void ReceivedMessageReply::Clear() { |
1780 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.ReceivedMessageReply) |
1781 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1782 | 0 | ::uint32_t cached_has_bits = 0; |
1783 | | // Prevent compiler warnings about cached_has_bits being unused |
1784 | 0 | (void) cached_has_bits; |
1785 | |
|
1786 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
1787 | 0 | if (cached_has_bits & 0x00000001u) { |
1788 | 0 | ABSL_DCHECK(_impl_.token_ != nullptr); |
1789 | 0 | _impl_.token_->Clear(); |
1790 | 0 | } |
1791 | 0 | _impl_._has_bits_.Clear(); |
1792 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
1793 | 0 | } |
1794 | | |
1795 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1796 | | ::uint8_t* ReceivedMessageReply::_InternalSerialize( |
1797 | | const MessageLite& base, ::uint8_t* target, |
1798 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
1799 | | const ReceivedMessageReply& this_ = static_cast<const ReceivedMessageReply&>(base); |
1800 | | #else // PROTOBUF_CUSTOM_VTABLE |
1801 | | ::uint8_t* ReceivedMessageReply::_InternalSerialize( |
1802 | | ::uint8_t* target, |
1803 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1804 | 0 | const ReceivedMessageReply& this_ = *this; |
1805 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1806 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.ReceivedMessageReply) |
1807 | 0 | ::uint32_t cached_has_bits = 0; |
1808 | 0 | (void)cached_has_bits; |
1809 | |
|
1810 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
1811 | | // .fuzz_handshake.DataHolder token = 1; |
1812 | 0 | if (cached_has_bits & 0x00000001u) { |
1813 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
1814 | 0 | 1, *this_._impl_.token_, this_._impl_.token_->GetCachedSize(), target, |
1815 | 0 | stream); |
1816 | 0 | } |
1817 | |
|
1818 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
1819 | 0 | target = |
1820 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
1821 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
1822 | 0 | } |
1823 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.ReceivedMessageReply) |
1824 | 0 | return target; |
1825 | 0 | } |
1826 | | |
1827 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1828 | | ::size_t ReceivedMessageReply::ByteSizeLong(const MessageLite& base) { |
1829 | | const ReceivedMessageReply& this_ = static_cast<const ReceivedMessageReply&>(base); |
1830 | | #else // PROTOBUF_CUSTOM_VTABLE |
1831 | 0 | ::size_t ReceivedMessageReply::ByteSizeLong() const { |
1832 | 0 | const ReceivedMessageReply& this_ = *this; |
1833 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1834 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.ReceivedMessageReply) |
1835 | 0 | ::size_t total_size = 0; |
1836 | |
|
1837 | 0 | ::uint32_t cached_has_bits = 0; |
1838 | | // Prevent compiler warnings about cached_has_bits being unused |
1839 | 0 | (void)cached_has_bits; |
1840 | |
|
1841 | 0 | { |
1842 | | // .fuzz_handshake.DataHolder token = 1; |
1843 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
1844 | 0 | if (cached_has_bits & 0x00000001u) { |
1845 | 0 | total_size += 1 + |
1846 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.token_); |
1847 | 0 | } |
1848 | 0 | } |
1849 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
1850 | 0 | &this_._impl_._cached_size_); |
1851 | 0 | } |
1852 | | |
1853 | 0 | void ReceivedMessageReply::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
1854 | 0 | auto* const _this = static_cast<ReceivedMessageReply*>(&to_msg); |
1855 | 0 | auto& from = static_cast<const ReceivedMessageReply&>(from_msg); |
1856 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
1857 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.ReceivedMessageReply) |
1858 | 0 | ABSL_DCHECK_NE(&from, _this); |
1859 | 0 | ::uint32_t cached_has_bits = 0; |
1860 | 0 | (void) cached_has_bits; |
1861 | |
|
1862 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
1863 | 0 | if (cached_has_bits & 0x00000001u) { |
1864 | 0 | ABSL_DCHECK(from._impl_.token_ != nullptr); |
1865 | 0 | if (_this->_impl_.token_ == nullptr) { |
1866 | 0 | _this->_impl_.token_ = |
1867 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::DataHolder>(arena, *from._impl_.token_); |
1868 | 0 | } else { |
1869 | 0 | _this->_impl_.token_->MergeFrom(*from._impl_.token_); |
1870 | 0 | } |
1871 | 0 | } |
1872 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
1873 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
1874 | 0 | } |
1875 | | |
1876 | 0 | void ReceivedMessageReply::CopyFrom(const ReceivedMessageReply& from) { |
1877 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.ReceivedMessageReply) |
1878 | 0 | if (&from == this) return; |
1879 | 0 | Clear(); |
1880 | 0 | MergeFrom(from); |
1881 | 0 | } |
1882 | | |
1883 | | |
1884 | 0 | void ReceivedMessageReply::InternalSwap(ReceivedMessageReply* PROTOBUF_RESTRICT other) { |
1885 | 0 | using std::swap; |
1886 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
1887 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
1888 | 0 | swap(_impl_.token_, other->_impl_.token_); |
1889 | 0 | } |
1890 | | |
1891 | 0 | ::google::protobuf::Metadata ReceivedMessageReply::GetMetadata() const { |
1892 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
1893 | 0 | } |
1894 | | // =================================================================== |
1895 | | |
1896 | | class ReceivedMessageFinal::_Internal { |
1897 | | public: |
1898 | | using HasBits = |
1899 | | decltype(std::declval<ReceivedMessageFinal>()._impl_._has_bits_); |
1900 | | static constexpr ::int32_t kHasBitsOffset = |
1901 | | 8 * PROTOBUF_FIELD_OFFSET(ReceivedMessageFinal, _impl_._has_bits_); |
1902 | | }; |
1903 | | |
1904 | | ReceivedMessageFinal::ReceivedMessageFinal(::google::protobuf::Arena* arena) |
1905 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1906 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1907 | | #else // PROTOBUF_CUSTOM_VTABLE |
1908 | 42.1k | : ::google::protobuf::Message(arena) { |
1909 | 42.1k | #endif // PROTOBUF_CUSTOM_VTABLE |
1910 | 42.1k | SharedCtor(arena); |
1911 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.ReceivedMessageFinal) |
1912 | 42.1k | } |
1913 | | inline PROTOBUF_NDEBUG_INLINE ReceivedMessageFinal::Impl_::Impl_( |
1914 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
1915 | | const Impl_& from, const ::fuzz_handshake::ReceivedMessageFinal& from_msg) |
1916 | 0 | : _has_bits_{from._has_bits_}, |
1917 | 0 | _cached_size_{0} {} |
1918 | | |
1919 | | ReceivedMessageFinal::ReceivedMessageFinal( |
1920 | | ::google::protobuf::Arena* arena, |
1921 | | const ReceivedMessageFinal& from) |
1922 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1923 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
1924 | | #else // PROTOBUF_CUSTOM_VTABLE |
1925 | 0 | : ::google::protobuf::Message(arena) { |
1926 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
1927 | 0 | ReceivedMessageFinal* const _this = this; |
1928 | 0 | (void)_this; |
1929 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
1930 | 0 | from._internal_metadata_); |
1931 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
1932 | 0 | ::uint32_t cached_has_bits = _impl_._has_bits_[0]; |
1933 | 0 | _impl_.token_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::DataHolder>( |
1934 | 0 | arena, *from._impl_.token_) |
1935 | 0 | : nullptr; |
1936 | | |
1937 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.ReceivedMessageFinal) |
1938 | 0 | } |
1939 | | inline PROTOBUF_NDEBUG_INLINE ReceivedMessageFinal::Impl_::Impl_( |
1940 | | ::google::protobuf::internal::InternalVisibility visibility, |
1941 | | ::google::protobuf::Arena* arena) |
1942 | 42.1k | : _cached_size_{0} {} |
1943 | | |
1944 | 42.1k | inline void ReceivedMessageFinal::SharedCtor(::_pb::Arena* arena) { |
1945 | 42.1k | new (&_impl_) Impl_(internal_visibility(), arena); |
1946 | 42.1k | _impl_.token_ = {}; |
1947 | 42.1k | } |
1948 | 42.1k | ReceivedMessageFinal::~ReceivedMessageFinal() { |
1949 | | // @@protoc_insertion_point(destructor:fuzz_handshake.ReceivedMessageFinal) |
1950 | 42.1k | SharedDtor(*this); |
1951 | 42.1k | } |
1952 | 42.1k | inline void ReceivedMessageFinal::SharedDtor(MessageLite& self) { |
1953 | 42.1k | ReceivedMessageFinal& this_ = static_cast<ReceivedMessageFinal&>(self); |
1954 | 42.1k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
1955 | 42.1k | ABSL_DCHECK(this_.GetArena() == nullptr); |
1956 | 42.1k | delete this_._impl_.token_; |
1957 | 42.1k | this_._impl_.~Impl_(); |
1958 | 42.1k | } |
1959 | | |
1960 | | inline void* ReceivedMessageFinal::PlacementNew_(const void*, void* mem, |
1961 | 42.1k | ::google::protobuf::Arena* arena) { |
1962 | 42.1k | return ::new (mem) ReceivedMessageFinal(arena); |
1963 | 42.1k | } |
1964 | 0 | constexpr auto ReceivedMessageFinal::InternalNewImpl_() { |
1965 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ReceivedMessageFinal), |
1966 | 0 | alignof(ReceivedMessageFinal)); |
1967 | 0 | } |
1968 | | PROTOBUF_CONSTINIT |
1969 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1970 | | const ::google::protobuf::internal::ClassDataFull ReceivedMessageFinal::_class_data_ = { |
1971 | | ::google::protobuf::internal::ClassData{ |
1972 | | &_ReceivedMessageFinal_default_instance_._instance, |
1973 | | &_table_.header, |
1974 | | nullptr, // OnDemandRegisterArenaDtor |
1975 | | nullptr, // IsInitialized |
1976 | | &ReceivedMessageFinal::MergeImpl, |
1977 | | ::google::protobuf::Message::GetNewImpl<ReceivedMessageFinal>(), |
1978 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1979 | | &ReceivedMessageFinal::SharedDtor, |
1980 | | ::google::protobuf::Message::GetClearImpl<ReceivedMessageFinal>(), &ReceivedMessageFinal::ByteSizeLong, |
1981 | | &ReceivedMessageFinal::_InternalSerialize, |
1982 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1983 | | PROTOBUF_FIELD_OFFSET(ReceivedMessageFinal, _impl_._cached_size_), |
1984 | | false, |
1985 | | }, |
1986 | | &ReceivedMessageFinal::kDescriptorMethods, |
1987 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
1988 | | nullptr, // tracker |
1989 | | }; |
1990 | 375k | const ::google::protobuf::internal::ClassData* ReceivedMessageFinal::GetClassData() const { |
1991 | 375k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
1992 | 375k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
1993 | 375k | return _class_data_.base(); |
1994 | 375k | } |
1995 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
1996 | | const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ReceivedMessageFinal::_table_ = { |
1997 | | { |
1998 | | PROTOBUF_FIELD_OFFSET(ReceivedMessageFinal, _impl_._has_bits_), |
1999 | | 0, // no _extensions_ |
2000 | | 1, 0, // max_field_number, fast_idx_mask |
2001 | | offsetof(decltype(_table_), field_lookup_table), |
2002 | | 4294967294, // skipmap |
2003 | | offsetof(decltype(_table_), field_entries), |
2004 | | 1, // num_field_entries |
2005 | | 1, // num_aux_entries |
2006 | | offsetof(decltype(_table_), aux_entries), |
2007 | | _class_data_.base(), |
2008 | | nullptr, // post_loop_handler |
2009 | | ::_pbi::TcParser::GenericFallback, // fallback |
2010 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2011 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedMessageFinal>(), // to_prefetch |
2012 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2013 | | }, {{ |
2014 | | // .fuzz_handshake.DataHolder token = 1; |
2015 | | {::_pbi::TcParser::FastMtS1, |
2016 | | {10, 0, 0, PROTOBUF_FIELD_OFFSET(ReceivedMessageFinal, _impl_.token_)}}, |
2017 | | }}, {{ |
2018 | | 65535, 65535 |
2019 | | }}, {{ |
2020 | | // .fuzz_handshake.DataHolder token = 1; |
2021 | | {PROTOBUF_FIELD_OFFSET(ReceivedMessageFinal, _impl_.token_), _Internal::kHasBitsOffset + 0, 0, |
2022 | | (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, |
2023 | | }}, {{ |
2024 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::DataHolder>()}, |
2025 | | }}, {{ |
2026 | | }}, |
2027 | | }; |
2028 | | |
2029 | 0 | PROTOBUF_NOINLINE void ReceivedMessageFinal::Clear() { |
2030 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.ReceivedMessageFinal) |
2031 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2032 | 0 | ::uint32_t cached_has_bits = 0; |
2033 | | // Prevent compiler warnings about cached_has_bits being unused |
2034 | 0 | (void) cached_has_bits; |
2035 | |
|
2036 | 0 | cached_has_bits = _impl_._has_bits_[0]; |
2037 | 0 | if (cached_has_bits & 0x00000001u) { |
2038 | 0 | ABSL_DCHECK(_impl_.token_ != nullptr); |
2039 | 0 | _impl_.token_->Clear(); |
2040 | 0 | } |
2041 | 0 | _impl_._has_bits_.Clear(); |
2042 | 0 | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2043 | 0 | } |
2044 | | |
2045 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2046 | | ::uint8_t* ReceivedMessageFinal::_InternalSerialize( |
2047 | | const MessageLite& base, ::uint8_t* target, |
2048 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2049 | | const ReceivedMessageFinal& this_ = static_cast<const ReceivedMessageFinal&>(base); |
2050 | | #else // PROTOBUF_CUSTOM_VTABLE |
2051 | | ::uint8_t* ReceivedMessageFinal::_InternalSerialize( |
2052 | | ::uint8_t* target, |
2053 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2054 | 0 | const ReceivedMessageFinal& this_ = *this; |
2055 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2056 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.ReceivedMessageFinal) |
2057 | 0 | ::uint32_t cached_has_bits = 0; |
2058 | 0 | (void)cached_has_bits; |
2059 | |
|
2060 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
2061 | | // .fuzz_handshake.DataHolder token = 1; |
2062 | 0 | if (cached_has_bits & 0x00000001u) { |
2063 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2064 | 0 | 1, *this_._impl_.token_, this_._impl_.token_->GetCachedSize(), target, |
2065 | 0 | stream); |
2066 | 0 | } |
2067 | |
|
2068 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2069 | 0 | target = |
2070 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2071 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2072 | 0 | } |
2073 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.ReceivedMessageFinal) |
2074 | 0 | return target; |
2075 | 0 | } |
2076 | | |
2077 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2078 | | ::size_t ReceivedMessageFinal::ByteSizeLong(const MessageLite& base) { |
2079 | | const ReceivedMessageFinal& this_ = static_cast<const ReceivedMessageFinal&>(base); |
2080 | | #else // PROTOBUF_CUSTOM_VTABLE |
2081 | 0 | ::size_t ReceivedMessageFinal::ByteSizeLong() const { |
2082 | 0 | const ReceivedMessageFinal& this_ = *this; |
2083 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2084 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.ReceivedMessageFinal) |
2085 | 0 | ::size_t total_size = 0; |
2086 | |
|
2087 | 0 | ::uint32_t cached_has_bits = 0; |
2088 | | // Prevent compiler warnings about cached_has_bits being unused |
2089 | 0 | (void)cached_has_bits; |
2090 | |
|
2091 | 0 | { |
2092 | | // .fuzz_handshake.DataHolder token = 1; |
2093 | 0 | cached_has_bits = this_._impl_._has_bits_[0]; |
2094 | 0 | if (cached_has_bits & 0x00000001u) { |
2095 | 0 | total_size += 1 + |
2096 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.token_); |
2097 | 0 | } |
2098 | 0 | } |
2099 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2100 | 0 | &this_._impl_._cached_size_); |
2101 | 0 | } |
2102 | | |
2103 | 0 | void ReceivedMessageFinal::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2104 | 0 | auto* const _this = static_cast<ReceivedMessageFinal*>(&to_msg); |
2105 | 0 | auto& from = static_cast<const ReceivedMessageFinal&>(from_msg); |
2106 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
2107 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.ReceivedMessageFinal) |
2108 | 0 | ABSL_DCHECK_NE(&from, _this); |
2109 | 0 | ::uint32_t cached_has_bits = 0; |
2110 | 0 | (void) cached_has_bits; |
2111 | |
|
2112 | 0 | cached_has_bits = from._impl_._has_bits_[0]; |
2113 | 0 | if (cached_has_bits & 0x00000001u) { |
2114 | 0 | ABSL_DCHECK(from._impl_.token_ != nullptr); |
2115 | 0 | if (_this->_impl_.token_ == nullptr) { |
2116 | 0 | _this->_impl_.token_ = |
2117 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::DataHolder>(arena, *from._impl_.token_); |
2118 | 0 | } else { |
2119 | 0 | _this->_impl_.token_->MergeFrom(*from._impl_.token_); |
2120 | 0 | } |
2121 | 0 | } |
2122 | 0 | _this->_impl_._has_bits_[0] |= cached_has_bits; |
2123 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2124 | 0 | } |
2125 | | |
2126 | 0 | void ReceivedMessageFinal::CopyFrom(const ReceivedMessageFinal& from) { |
2127 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.ReceivedMessageFinal) |
2128 | 0 | if (&from == this) return; |
2129 | 0 | Clear(); |
2130 | 0 | MergeFrom(from); |
2131 | 0 | } |
2132 | | |
2133 | | |
2134 | 0 | void ReceivedMessageFinal::InternalSwap(ReceivedMessageFinal* PROTOBUF_RESTRICT other) { |
2135 | 0 | using std::swap; |
2136 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2137 | 0 | swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
2138 | 0 | swap(_impl_.token_, other->_impl_.token_); |
2139 | 0 | } |
2140 | | |
2141 | 0 | ::google::protobuf::Metadata ReceivedMessageFinal::GetMetadata() const { |
2142 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
2143 | 0 | } |
2144 | | // =================================================================== |
2145 | | |
2146 | | class ReceivedCryptoTokens::_Internal { |
2147 | | public: |
2148 | | }; |
2149 | | |
2150 | | ReceivedCryptoTokens::ReceivedCryptoTokens(::google::protobuf::Arena* arena) |
2151 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2152 | | : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { |
2153 | | #else // PROTOBUF_CUSTOM_VTABLE |
2154 | 28.6k | : ::google::protobuf::internal::ZeroFieldsBase(arena) { |
2155 | 28.6k | #endif // PROTOBUF_CUSTOM_VTABLE |
2156 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.ReceivedCryptoTokens) |
2157 | 28.6k | } |
2158 | | ReceivedCryptoTokens::ReceivedCryptoTokens( |
2159 | | ::google::protobuf::Arena* arena, |
2160 | | const ReceivedCryptoTokens& from) |
2161 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2162 | | : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { |
2163 | | #else // PROTOBUF_CUSTOM_VTABLE |
2164 | 0 | : ::google::protobuf::internal::ZeroFieldsBase(arena) { |
2165 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2166 | 0 | ReceivedCryptoTokens* const _this = this; |
2167 | 0 | (void)_this; |
2168 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
2169 | 0 | from._internal_metadata_); |
2170 | | |
2171 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.ReceivedCryptoTokens) |
2172 | 0 | } |
2173 | | |
2174 | | inline void* ReceivedCryptoTokens::PlacementNew_(const void*, void* mem, |
2175 | 28.6k | ::google::protobuf::Arena* arena) { |
2176 | 28.6k | return ::new (mem) ReceivedCryptoTokens(arena); |
2177 | 28.6k | } |
2178 | 0 | constexpr auto ReceivedCryptoTokens::InternalNewImpl_() { |
2179 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ReceivedCryptoTokens), |
2180 | 0 | alignof(ReceivedCryptoTokens)); |
2181 | 0 | } |
2182 | | PROTOBUF_CONSTINIT |
2183 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2184 | | const ::google::protobuf::internal::ClassDataFull ReceivedCryptoTokens::_class_data_ = { |
2185 | | ::google::protobuf::internal::ClassData{ |
2186 | | &_ReceivedCryptoTokens_default_instance_._instance, |
2187 | | &_table_.header, |
2188 | | nullptr, // OnDemandRegisterArenaDtor |
2189 | | nullptr, // IsInitialized |
2190 | | &ReceivedCryptoTokens::MergeImpl, |
2191 | | ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<ReceivedCryptoTokens>(), |
2192 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2193 | | &ReceivedCryptoTokens::SharedDtor, |
2194 | | ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<ReceivedCryptoTokens>(), &ReceivedCryptoTokens::ByteSizeLong, |
2195 | | &ReceivedCryptoTokens::_InternalSerialize, |
2196 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2197 | | PROTOBUF_FIELD_OFFSET(ReceivedCryptoTokens, _impl_._cached_size_), |
2198 | | false, |
2199 | | }, |
2200 | | &ReceivedCryptoTokens::kDescriptorMethods, |
2201 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
2202 | | nullptr, // tracker |
2203 | | }; |
2204 | 200k | const ::google::protobuf::internal::ClassData* ReceivedCryptoTokens::GetClassData() const { |
2205 | 200k | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2206 | 200k | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2207 | 200k | return _class_data_.base(); |
2208 | 200k | } |
2209 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2210 | | const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ReceivedCryptoTokens::_table_ = { |
2211 | | { |
2212 | | 0, // no _has_bits_ |
2213 | | 0, // no _extensions_ |
2214 | | 0, 0, // max_field_number, fast_idx_mask |
2215 | | offsetof(decltype(_table_), field_lookup_table), |
2216 | | 4294967295, // skipmap |
2217 | | offsetof(decltype(_table_), field_names), // no field_entries |
2218 | | 0, // num_field_entries |
2219 | | 0, // num_aux_entries |
2220 | | offsetof(decltype(_table_), field_names), // no aux_entries |
2221 | | _class_data_.base(), |
2222 | | nullptr, // post_loop_handler |
2223 | | ::_pbi::TcParser::GenericFallback, // fallback |
2224 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2225 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedCryptoTokens>(), // to_prefetch |
2226 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2227 | | }, {{ |
2228 | | {::_pbi::TcParser::MiniParse, {}}, |
2229 | | }}, {{ |
2230 | | 65535, 65535 |
2231 | | }}, |
2232 | | // no field_entries, or aux_entries |
2233 | | {{ |
2234 | | }}, |
2235 | | }; |
2236 | | |
2237 | | |
2238 | | |
2239 | | |
2240 | | |
2241 | | |
2242 | | |
2243 | | |
2244 | 0 | ::google::protobuf::Metadata ReceivedCryptoTokens::GetMetadata() const { |
2245 | 0 | return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); |
2246 | 0 | } |
2247 | | // =================================================================== |
2248 | | |
2249 | | class Event::_Internal { |
2250 | | public: |
2251 | | static constexpr ::int32_t kOneofCaseOffset = |
2252 | | PROTOBUF_FIELD_OFFSET(::fuzz_handshake::Event, _impl_._oneof_case_); |
2253 | | }; |
2254 | | |
2255 | 0 | void Event::set_allocated_timeout(::fuzz_handshake::TimeoutEvent* timeout) { |
2256 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2257 | 0 | clear_event(); |
2258 | 0 | if (timeout) { |
2259 | 0 | ::google::protobuf::Arena* submessage_arena = timeout->GetArena(); |
2260 | 0 | if (message_arena != submessage_arena) { |
2261 | 0 | timeout = ::google::protobuf::internal::GetOwnedMessage(message_arena, timeout, submessage_arena); |
2262 | 0 | } |
2263 | 0 | set_has_timeout(); |
2264 | 0 | _impl_.event_.timeout_ = timeout; |
2265 | 0 | } |
2266 | | // @@protoc_insertion_point(field_set_allocated:fuzz_handshake.Event.timeout) |
2267 | 0 | } |
2268 | 0 | void Event::set_allocated_request(::fuzz_handshake::ReceivedMessageRequest* request) { |
2269 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2270 | 0 | clear_event(); |
2271 | 0 | if (request) { |
2272 | 0 | ::google::protobuf::Arena* submessage_arena = request->GetArena(); |
2273 | 0 | if (message_arena != submessage_arena) { |
2274 | 0 | request = ::google::protobuf::internal::GetOwnedMessage(message_arena, request, submessage_arena); |
2275 | 0 | } |
2276 | 0 | set_has_request(); |
2277 | 0 | _impl_.event_.request_ = request; |
2278 | 0 | } |
2279 | | // @@protoc_insertion_point(field_set_allocated:fuzz_handshake.Event.request) |
2280 | 0 | } |
2281 | 0 | void Event::set_allocated_reply(::fuzz_handshake::ReceivedMessageReply* reply) { |
2282 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2283 | 0 | clear_event(); |
2284 | 0 | if (reply) { |
2285 | 0 | ::google::protobuf::Arena* submessage_arena = reply->GetArena(); |
2286 | 0 | if (message_arena != submessage_arena) { |
2287 | 0 | reply = ::google::protobuf::internal::GetOwnedMessage(message_arena, reply, submessage_arena); |
2288 | 0 | } |
2289 | 0 | set_has_reply(); |
2290 | 0 | _impl_.event_.reply_ = reply; |
2291 | 0 | } |
2292 | | // @@protoc_insertion_point(field_set_allocated:fuzz_handshake.Event.reply) |
2293 | 0 | } |
2294 | 0 | void Event::set_allocated_final(::fuzz_handshake::ReceivedMessageFinal* final) { |
2295 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2296 | 0 | clear_event(); |
2297 | 0 | if (final) { |
2298 | 0 | ::google::protobuf::Arena* submessage_arena = final->GetArena(); |
2299 | 0 | if (message_arena != submessage_arena) { |
2300 | 0 | final = ::google::protobuf::internal::GetOwnedMessage(message_arena, final, submessage_arena); |
2301 | 0 | } |
2302 | 0 | set_has_final(); |
2303 | 0 | _impl_.event_.final_ = final; |
2304 | 0 | } |
2305 | | // @@protoc_insertion_point(field_set_allocated:fuzz_handshake.Event.final) |
2306 | 0 | } |
2307 | 0 | void Event::set_allocated_crypto_tokens(::fuzz_handshake::ReceivedCryptoTokens* crypto_tokens) { |
2308 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2309 | 0 | clear_event(); |
2310 | 0 | if (crypto_tokens) { |
2311 | 0 | ::google::protobuf::Arena* submessage_arena = crypto_tokens->GetArena(); |
2312 | 0 | if (message_arena != submessage_arena) { |
2313 | 0 | crypto_tokens = ::google::protobuf::internal::GetOwnedMessage(message_arena, crypto_tokens, submessage_arena); |
2314 | 0 | } |
2315 | 0 | set_has_crypto_tokens(); |
2316 | 0 | _impl_.event_.crypto_tokens_ = crypto_tokens; |
2317 | 0 | } |
2318 | | // @@protoc_insertion_point(field_set_allocated:fuzz_handshake.Event.crypto_tokens) |
2319 | 0 | } |
2320 | | Event::Event(::google::protobuf::Arena* arena) |
2321 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2322 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2323 | | #else // PROTOBUF_CUSTOM_VTABLE |
2324 | 1.01M | : ::google::protobuf::Message(arena) { |
2325 | 1.01M | #endif // PROTOBUF_CUSTOM_VTABLE |
2326 | 1.01M | SharedCtor(arena); |
2327 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.Event) |
2328 | 1.01M | } |
2329 | | inline PROTOBUF_NDEBUG_INLINE Event::Impl_::Impl_( |
2330 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
2331 | | const Impl_& from, const ::fuzz_handshake::Event& from_msg) |
2332 | 0 | : event_{}, |
2333 | 0 | _cached_size_{0}, |
2334 | 0 | _oneof_case_{from._oneof_case_[0]} {} |
2335 | | |
2336 | | Event::Event( |
2337 | | ::google::protobuf::Arena* arena, |
2338 | | const Event& from) |
2339 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2340 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2341 | | #else // PROTOBUF_CUSTOM_VTABLE |
2342 | 0 | : ::google::protobuf::Message(arena) { |
2343 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2344 | 0 | Event* const _this = this; |
2345 | 0 | (void)_this; |
2346 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
2347 | 0 | from._internal_metadata_); |
2348 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
2349 | 0 | switch (event_case()) { |
2350 | 0 | case EVENT_NOT_SET: |
2351 | 0 | break; |
2352 | 0 | case kTimeout: |
2353 | 0 | _impl_.event_.timeout_ = ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::TimeoutEvent>(arena, *from._impl_.event_.timeout_); |
2354 | 0 | break; |
2355 | 0 | case kRequest: |
2356 | 0 | _impl_.event_.request_ = ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedMessageRequest>(arena, *from._impl_.event_.request_); |
2357 | 0 | break; |
2358 | 0 | case kReply: |
2359 | 0 | _impl_.event_.reply_ = ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedMessageReply>(arena, *from._impl_.event_.reply_); |
2360 | 0 | break; |
2361 | 0 | case kFinal: |
2362 | 0 | _impl_.event_.final_ = ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedMessageFinal>(arena, *from._impl_.event_.final_); |
2363 | 0 | break; |
2364 | 0 | case kCryptoTokens: |
2365 | 0 | _impl_.event_.crypto_tokens_ = ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedCryptoTokens>(arena, *from._impl_.event_.crypto_tokens_); |
2366 | 0 | break; |
2367 | 0 | } |
2368 | | |
2369 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.Event) |
2370 | 0 | } |
2371 | | inline PROTOBUF_NDEBUG_INLINE Event::Impl_::Impl_( |
2372 | | ::google::protobuf::internal::InternalVisibility visibility, |
2373 | | ::google::protobuf::Arena* arena) |
2374 | 1.01M | : event_{}, |
2375 | 1.01M | _cached_size_{0}, |
2376 | 1.01M | _oneof_case_{} {} |
2377 | | |
2378 | 1.01M | inline void Event::SharedCtor(::_pb::Arena* arena) { |
2379 | 1.01M | new (&_impl_) Impl_(internal_visibility(), arena); |
2380 | 1.01M | } |
2381 | 1.01M | Event::~Event() { |
2382 | | // @@protoc_insertion_point(destructor:fuzz_handshake.Event) |
2383 | 1.01M | SharedDtor(*this); |
2384 | 1.01M | } |
2385 | 1.01M | inline void Event::SharedDtor(MessageLite& self) { |
2386 | 1.01M | Event& this_ = static_cast<Event&>(self); |
2387 | 1.01M | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
2388 | 1.01M | ABSL_DCHECK(this_.GetArena() == nullptr); |
2389 | 1.01M | if (this_.has_event()) { |
2390 | 639k | this_.clear_event(); |
2391 | 639k | } |
2392 | 1.01M | this_._impl_.~Impl_(); |
2393 | 1.01M | } |
2394 | | |
2395 | 642k | void Event::clear_event() { |
2396 | | // @@protoc_insertion_point(one_of_clear_start:fuzz_handshake.Event) |
2397 | 642k | ::google::protobuf::internal::TSanWrite(&_impl_); |
2398 | 642k | switch (event_case()) { |
2399 | 197k | case kTimeout: { |
2400 | 197k | if (GetArena() == nullptr) { |
2401 | 197k | delete _impl_.event_.timeout_; |
2402 | 197k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
2403 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_.timeout_); |
2404 | 0 | } |
2405 | 197k | break; |
2406 | 0 | } |
2407 | 317k | case kRequest: { |
2408 | 317k | if (GetArena() == nullptr) { |
2409 | 317k | delete _impl_.event_.request_; |
2410 | 317k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
2411 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_.request_); |
2412 | 0 | } |
2413 | 317k | break; |
2414 | 0 | } |
2415 | 56.1k | case kReply: { |
2416 | 56.1k | if (GetArena() == nullptr) { |
2417 | 56.1k | delete _impl_.event_.reply_; |
2418 | 56.1k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
2419 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_.reply_); |
2420 | 0 | } |
2421 | 56.1k | break; |
2422 | 0 | } |
2423 | 42.1k | case kFinal: { |
2424 | 42.1k | if (GetArena() == nullptr) { |
2425 | 42.1k | delete _impl_.event_.final_; |
2426 | 42.1k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
2427 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_.final_); |
2428 | 0 | } |
2429 | 42.1k | break; |
2430 | 0 | } |
2431 | 28.6k | case kCryptoTokens: { |
2432 | 28.6k | if (GetArena() == nullptr) { |
2433 | 28.6k | delete _impl_.event_.crypto_tokens_; |
2434 | 28.6k | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
2435 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_.crypto_tokens_); |
2436 | 0 | } |
2437 | 28.6k | break; |
2438 | 0 | } |
2439 | 1.20k | case EVENT_NOT_SET: { |
2440 | 1.20k | break; |
2441 | 0 | } |
2442 | 642k | } |
2443 | 642k | _impl_._oneof_case_[0] = EVENT_NOT_SET; |
2444 | 642k | } |
2445 | | |
2446 | | |
2447 | | inline void* Event::PlacementNew_(const void*, void* mem, |
2448 | 1.01M | ::google::protobuf::Arena* arena) { |
2449 | 1.01M | return ::new (mem) Event(arena); |
2450 | 1.01M | } |
2451 | 0 | constexpr auto Event::InternalNewImpl_() { |
2452 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Event), |
2453 | 0 | alignof(Event)); |
2454 | 0 | } |
2455 | | PROTOBUF_CONSTINIT |
2456 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2457 | | const ::google::protobuf::internal::ClassDataFull Event::_class_data_ = { |
2458 | | ::google::protobuf::internal::ClassData{ |
2459 | | &_Event_default_instance_._instance, |
2460 | | &_table_.header, |
2461 | | nullptr, // OnDemandRegisterArenaDtor |
2462 | | nullptr, // IsInitialized |
2463 | | &Event::MergeImpl, |
2464 | | ::google::protobuf::Message::GetNewImpl<Event>(), |
2465 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2466 | | &Event::SharedDtor, |
2467 | | ::google::protobuf::Message::GetClearImpl<Event>(), &Event::ByteSizeLong, |
2468 | | &Event::_InternalSerialize, |
2469 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2470 | | PROTOBUF_FIELD_OFFSET(Event, _impl_._cached_size_), |
2471 | | false, |
2472 | | }, |
2473 | | &Event::kDescriptorMethods, |
2474 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
2475 | | nullptr, // tracker |
2476 | | }; |
2477 | 9.00M | const ::google::protobuf::internal::ClassData* Event::GetClassData() const { |
2478 | 9.00M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2479 | 9.00M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2480 | 9.00M | return _class_data_.base(); |
2481 | 9.00M | } |
2482 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2483 | | const ::_pbi::TcParseTable<0, 5, 5, 0, 2> Event::_table_ = { |
2484 | | { |
2485 | | 0, // no _has_bits_ |
2486 | | 0, // no _extensions_ |
2487 | | 5, 0, // max_field_number, fast_idx_mask |
2488 | | offsetof(decltype(_table_), field_lookup_table), |
2489 | | 4294967264, // skipmap |
2490 | | offsetof(decltype(_table_), field_entries), |
2491 | | 5, // num_field_entries |
2492 | | 5, // num_aux_entries |
2493 | | offsetof(decltype(_table_), aux_entries), |
2494 | | _class_data_.base(), |
2495 | | nullptr, // post_loop_handler |
2496 | | ::_pbi::TcParser::GenericFallback, // fallback |
2497 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2498 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::Event>(), // to_prefetch |
2499 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2500 | | }, {{ |
2501 | | {::_pbi::TcParser::MiniParse, {}}, |
2502 | | }}, {{ |
2503 | | 65535, 65535 |
2504 | | }}, {{ |
2505 | | // .fuzz_handshake.TimeoutEvent timeout = 1; |
2506 | | {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_.timeout_), _Internal::kOneofCaseOffset + 0, 0, |
2507 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
2508 | | // .fuzz_handshake.ReceivedMessageRequest request = 2; |
2509 | | {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_.request_), _Internal::kOneofCaseOffset + 0, 1, |
2510 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
2511 | | // .fuzz_handshake.ReceivedMessageReply reply = 3; |
2512 | | {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_.reply_), _Internal::kOneofCaseOffset + 0, 2, |
2513 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
2514 | | // .fuzz_handshake.ReceivedMessageFinal final = 4; |
2515 | | {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_.final_), _Internal::kOneofCaseOffset + 0, 3, |
2516 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
2517 | | // .fuzz_handshake.ReceivedCryptoTokens crypto_tokens = 5; |
2518 | | {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_.crypto_tokens_), _Internal::kOneofCaseOffset + 0, 4, |
2519 | | (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, |
2520 | | }}, {{ |
2521 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::TimeoutEvent>()}, |
2522 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedMessageRequest>()}, |
2523 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedMessageReply>()}, |
2524 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedMessageFinal>()}, |
2525 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::ReceivedCryptoTokens>()}, |
2526 | | }}, {{ |
2527 | | }}, |
2528 | | }; |
2529 | | |
2530 | 2.83k | PROTOBUF_NOINLINE void Event::Clear() { |
2531 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.Event) |
2532 | 2.83k | ::google::protobuf::internal::TSanWrite(&_impl_); |
2533 | 2.83k | ::uint32_t cached_has_bits = 0; |
2534 | | // Prevent compiler warnings about cached_has_bits being unused |
2535 | 2.83k | (void) cached_has_bits; |
2536 | | |
2537 | 2.83k | clear_event(); |
2538 | 2.83k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2539 | 2.83k | } |
2540 | | |
2541 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2542 | | ::uint8_t* Event::_InternalSerialize( |
2543 | | const MessageLite& base, ::uint8_t* target, |
2544 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2545 | | const Event& this_ = static_cast<const Event&>(base); |
2546 | | #else // PROTOBUF_CUSTOM_VTABLE |
2547 | | ::uint8_t* Event::_InternalSerialize( |
2548 | | ::uint8_t* target, |
2549 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2550 | 0 | const Event& this_ = *this; |
2551 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2552 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.Event) |
2553 | 0 | ::uint32_t cached_has_bits = 0; |
2554 | 0 | (void)cached_has_bits; |
2555 | |
|
2556 | 0 | switch (this_.event_case()) { |
2557 | 0 | case kTimeout: { |
2558 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2559 | 0 | 1, *this_._impl_.event_.timeout_, this_._impl_.event_.timeout_->GetCachedSize(), target, |
2560 | 0 | stream); |
2561 | 0 | break; |
2562 | 0 | } |
2563 | 0 | case kRequest: { |
2564 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2565 | 0 | 2, *this_._impl_.event_.request_, this_._impl_.event_.request_->GetCachedSize(), target, |
2566 | 0 | stream); |
2567 | 0 | break; |
2568 | 0 | } |
2569 | 0 | case kReply: { |
2570 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2571 | 0 | 3, *this_._impl_.event_.reply_, this_._impl_.event_.reply_->GetCachedSize(), target, |
2572 | 0 | stream); |
2573 | 0 | break; |
2574 | 0 | } |
2575 | 0 | case kFinal: { |
2576 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2577 | 0 | 4, *this_._impl_.event_.final_, this_._impl_.event_.final_->GetCachedSize(), target, |
2578 | 0 | stream); |
2579 | 0 | break; |
2580 | 0 | } |
2581 | 0 | case kCryptoTokens: { |
2582 | 0 | target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2583 | 0 | 5, *this_._impl_.event_.crypto_tokens_, this_._impl_.event_.crypto_tokens_->GetCachedSize(), target, |
2584 | 0 | stream); |
2585 | 0 | break; |
2586 | 0 | } |
2587 | 0 | default: |
2588 | 0 | break; |
2589 | 0 | } |
2590 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2591 | 0 | target = |
2592 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2593 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2594 | 0 | } |
2595 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.Event) |
2596 | 0 | return target; |
2597 | 0 | } |
2598 | | |
2599 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2600 | | ::size_t Event::ByteSizeLong(const MessageLite& base) { |
2601 | | const Event& this_ = static_cast<const Event&>(base); |
2602 | | #else // PROTOBUF_CUSTOM_VTABLE |
2603 | 0 | ::size_t Event::ByteSizeLong() const { |
2604 | 0 | const Event& this_ = *this; |
2605 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2606 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.Event) |
2607 | 0 | ::size_t total_size = 0; |
2608 | |
|
2609 | 0 | ::uint32_t cached_has_bits = 0; |
2610 | | // Prevent compiler warnings about cached_has_bits being unused |
2611 | 0 | (void)cached_has_bits; |
2612 | |
|
2613 | 0 | switch (this_.event_case()) { |
2614 | | // .fuzz_handshake.TimeoutEvent timeout = 1; |
2615 | 0 | case kTimeout: { |
2616 | 0 | total_size += 1 + |
2617 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_.timeout_); |
2618 | 0 | break; |
2619 | 0 | } |
2620 | | // .fuzz_handshake.ReceivedMessageRequest request = 2; |
2621 | 0 | case kRequest: { |
2622 | 0 | total_size += 1 + |
2623 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_.request_); |
2624 | 0 | break; |
2625 | 0 | } |
2626 | | // .fuzz_handshake.ReceivedMessageReply reply = 3; |
2627 | 0 | case kReply: { |
2628 | 0 | total_size += 1 + |
2629 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_.reply_); |
2630 | 0 | break; |
2631 | 0 | } |
2632 | | // .fuzz_handshake.ReceivedMessageFinal final = 4; |
2633 | 0 | case kFinal: { |
2634 | 0 | total_size += 1 + |
2635 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_.final_); |
2636 | 0 | break; |
2637 | 0 | } |
2638 | | // .fuzz_handshake.ReceivedCryptoTokens crypto_tokens = 5; |
2639 | 0 | case kCryptoTokens: { |
2640 | 0 | total_size += 1 + |
2641 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_.crypto_tokens_); |
2642 | 0 | break; |
2643 | 0 | } |
2644 | 0 | case EVENT_NOT_SET: { |
2645 | 0 | break; |
2646 | 0 | } |
2647 | 0 | } |
2648 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2649 | 0 | &this_._impl_._cached_size_); |
2650 | 0 | } |
2651 | | |
2652 | 0 | void Event::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2653 | 0 | auto* const _this = static_cast<Event*>(&to_msg); |
2654 | 0 | auto& from = static_cast<const Event&>(from_msg); |
2655 | 0 | ::google::protobuf::Arena* arena = _this->GetArena(); |
2656 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.Event) |
2657 | 0 | ABSL_DCHECK_NE(&from, _this); |
2658 | 0 | ::uint32_t cached_has_bits = 0; |
2659 | 0 | (void) cached_has_bits; |
2660 | |
|
2661 | 0 | if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { |
2662 | 0 | const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; |
2663 | 0 | const bool oneof_needs_init = oneof_to_case != oneof_from_case; |
2664 | 0 | if (oneof_needs_init) { |
2665 | 0 | if (oneof_to_case != 0) { |
2666 | 0 | _this->clear_event(); |
2667 | 0 | } |
2668 | 0 | _this->_impl_._oneof_case_[0] = oneof_from_case; |
2669 | 0 | } |
2670 | |
|
2671 | 0 | switch (oneof_from_case) { |
2672 | 0 | case kTimeout: { |
2673 | 0 | if (oneof_needs_init) { |
2674 | 0 | _this->_impl_.event_.timeout_ = |
2675 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::TimeoutEvent>(arena, *from._impl_.event_.timeout_); |
2676 | 0 | } else { |
2677 | 0 | _this->_impl_.event_.timeout_->MergeFrom(from._internal_timeout()); |
2678 | 0 | } |
2679 | 0 | break; |
2680 | 0 | } |
2681 | 0 | case kRequest: { |
2682 | 0 | if (oneof_needs_init) { |
2683 | 0 | _this->_impl_.event_.request_ = |
2684 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedMessageRequest>(arena, *from._impl_.event_.request_); |
2685 | 0 | } else { |
2686 | 0 | _this->_impl_.event_.request_->MergeFrom(from._internal_request()); |
2687 | 0 | } |
2688 | 0 | break; |
2689 | 0 | } |
2690 | 0 | case kReply: { |
2691 | 0 | if (oneof_needs_init) { |
2692 | 0 | _this->_impl_.event_.reply_ = |
2693 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedMessageReply>(arena, *from._impl_.event_.reply_); |
2694 | 0 | } else { |
2695 | 0 | _this->_impl_.event_.reply_->MergeFrom(from._internal_reply()); |
2696 | 0 | } |
2697 | 0 | break; |
2698 | 0 | } |
2699 | 0 | case kFinal: { |
2700 | 0 | if (oneof_needs_init) { |
2701 | 0 | _this->_impl_.event_.final_ = |
2702 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedMessageFinal>(arena, *from._impl_.event_.final_); |
2703 | 0 | } else { |
2704 | 0 | _this->_impl_.event_.final_->MergeFrom(from._internal_final()); |
2705 | 0 | } |
2706 | 0 | break; |
2707 | 0 | } |
2708 | 0 | case kCryptoTokens: { |
2709 | 0 | if (oneof_needs_init) { |
2710 | 0 | _this->_impl_.event_.crypto_tokens_ = |
2711 | 0 | ::google::protobuf::Message::CopyConstruct<::fuzz_handshake::ReceivedCryptoTokens>(arena, *from._impl_.event_.crypto_tokens_); |
2712 | 0 | } else { |
2713 | 0 | _this->_impl_.event_.crypto_tokens_->MergeFrom(from._internal_crypto_tokens()); |
2714 | 0 | } |
2715 | 0 | break; |
2716 | 0 | } |
2717 | 0 | case EVENT_NOT_SET: |
2718 | 0 | break; |
2719 | 0 | } |
2720 | 0 | } |
2721 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2722 | 0 | } |
2723 | | |
2724 | 0 | void Event::CopyFrom(const Event& from) { |
2725 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.Event) |
2726 | 0 | if (&from == this) return; |
2727 | 0 | Clear(); |
2728 | 0 | MergeFrom(from); |
2729 | 0 | } |
2730 | | |
2731 | | |
2732 | 0 | void Event::InternalSwap(Event* PROTOBUF_RESTRICT other) { |
2733 | 0 | using std::swap; |
2734 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
2735 | 0 | swap(_impl_.event_, other->_impl_.event_); |
2736 | 0 | swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); |
2737 | 0 | } |
2738 | | |
2739 | 0 | ::google::protobuf::Metadata Event::GetMetadata() const { |
2740 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
2741 | 0 | } |
2742 | | // =================================================================== |
2743 | | |
2744 | | class FuzzMsg::_Internal { |
2745 | | public: |
2746 | | }; |
2747 | | |
2748 | | FuzzMsg::FuzzMsg(::google::protobuf::Arena* arena) |
2749 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2750 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2751 | | #else // PROTOBUF_CUSTOM_VTABLE |
2752 | 4.14k | : ::google::protobuf::Message(arena) { |
2753 | 4.14k | #endif // PROTOBUF_CUSTOM_VTABLE |
2754 | 4.14k | SharedCtor(arena); |
2755 | | // @@protoc_insertion_point(arena_constructor:fuzz_handshake.FuzzMsg) |
2756 | 4.14k | } |
2757 | | inline PROTOBUF_NDEBUG_INLINE FuzzMsg::Impl_::Impl_( |
2758 | | ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
2759 | | const Impl_& from, const ::fuzz_handshake::FuzzMsg& from_msg) |
2760 | 0 | : events_{visibility, arena, from.events_}, |
2761 | 0 | _cached_size_{0} {} |
2762 | | |
2763 | | FuzzMsg::FuzzMsg( |
2764 | | ::google::protobuf::Arena* arena, |
2765 | | const FuzzMsg& from) |
2766 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2767 | | : ::google::protobuf::Message(arena, _class_data_.base()) { |
2768 | | #else // PROTOBUF_CUSTOM_VTABLE |
2769 | 0 | : ::google::protobuf::Message(arena) { |
2770 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2771 | 0 | FuzzMsg* const _this = this; |
2772 | 0 | (void)_this; |
2773 | 0 | _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
2774 | 0 | from._internal_metadata_); |
2775 | 0 | new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
2776 | 0 | _impl_.initiate_remote_ = from._impl_.initiate_remote_; |
2777 | | |
2778 | | // @@protoc_insertion_point(copy_constructor:fuzz_handshake.FuzzMsg) |
2779 | 0 | } |
2780 | | inline PROTOBUF_NDEBUG_INLINE FuzzMsg::Impl_::Impl_( |
2781 | | ::google::protobuf::internal::InternalVisibility visibility, |
2782 | | ::google::protobuf::Arena* arena) |
2783 | 4.14k | : events_{visibility, arena}, |
2784 | 4.14k | _cached_size_{0} {} |
2785 | | |
2786 | 4.14k | inline void FuzzMsg::SharedCtor(::_pb::Arena* arena) { |
2787 | 4.14k | new (&_impl_) Impl_(internal_visibility(), arena); |
2788 | 4.14k | _impl_.initiate_remote_ = {}; |
2789 | 4.14k | } |
2790 | 4.14k | FuzzMsg::~FuzzMsg() { |
2791 | | // @@protoc_insertion_point(destructor:fuzz_handshake.FuzzMsg) |
2792 | 4.14k | SharedDtor(*this); |
2793 | 4.14k | } |
2794 | 4.14k | inline void FuzzMsg::SharedDtor(MessageLite& self) { |
2795 | 4.14k | FuzzMsg& this_ = static_cast<FuzzMsg&>(self); |
2796 | 4.14k | this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
2797 | 4.14k | ABSL_DCHECK(this_.GetArena() == nullptr); |
2798 | 4.14k | this_._impl_.~Impl_(); |
2799 | 4.14k | } |
2800 | | |
2801 | | inline void* FuzzMsg::PlacementNew_(const void*, void* mem, |
2802 | 0 | ::google::protobuf::Arena* arena) { |
2803 | 0 | return ::new (mem) FuzzMsg(arena); |
2804 | 0 | } |
2805 | 0 | constexpr auto FuzzMsg::InternalNewImpl_() { |
2806 | 0 | constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ |
2807 | 0 | PROTOBUF_FIELD_OFFSET(FuzzMsg, _impl_.events_) + |
2808 | 0 | decltype(FuzzMsg::_impl_.events_):: |
2809 | 0 | InternalGetArenaOffset( |
2810 | 0 | ::google::protobuf::Message::internal_visibility()), |
2811 | 0 | }); |
2812 | 0 | if (arena_bits.has_value()) { |
2813 | 0 | return ::google::protobuf::internal::MessageCreator::ZeroInit( |
2814 | 0 | sizeof(FuzzMsg), alignof(FuzzMsg), *arena_bits); |
2815 | 0 | } else { |
2816 | 0 | return ::google::protobuf::internal::MessageCreator(&FuzzMsg::PlacementNew_, |
2817 | 0 | sizeof(FuzzMsg), |
2818 | 0 | alignof(FuzzMsg)); |
2819 | 0 | } |
2820 | 0 | } |
2821 | | PROTOBUF_CONSTINIT |
2822 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2823 | | const ::google::protobuf::internal::ClassDataFull FuzzMsg::_class_data_ = { |
2824 | | ::google::protobuf::internal::ClassData{ |
2825 | | &_FuzzMsg_default_instance_._instance, |
2826 | | &_table_.header, |
2827 | | nullptr, // OnDemandRegisterArenaDtor |
2828 | | nullptr, // IsInitialized |
2829 | | &FuzzMsg::MergeImpl, |
2830 | | ::google::protobuf::Message::GetNewImpl<FuzzMsg>(), |
2831 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2832 | | &FuzzMsg::SharedDtor, |
2833 | | ::google::protobuf::Message::GetClearImpl<FuzzMsg>(), &FuzzMsg::ByteSizeLong, |
2834 | | &FuzzMsg::_InternalSerialize, |
2835 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2836 | | PROTOBUF_FIELD_OFFSET(FuzzMsg, _impl_._cached_size_), |
2837 | | false, |
2838 | | }, |
2839 | | &FuzzMsg::kDescriptorMethods, |
2840 | | &descriptor_table_fuzz_5fhandshake_2eproto, |
2841 | | nullptr, // tracker |
2842 | | }; |
2843 | 3.07M | const ::google::protobuf::internal::ClassData* FuzzMsg::GetClassData() const { |
2844 | 3.07M | ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); |
2845 | 3.07M | ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); |
2846 | 3.07M | return _class_data_.base(); |
2847 | 3.07M | } |
2848 | | PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
2849 | | const ::_pbi::TcParseTable<1, 2, 1, 0, 2> FuzzMsg::_table_ = { |
2850 | | { |
2851 | | 0, // no _has_bits_ |
2852 | | 0, // no _extensions_ |
2853 | | 2, 8, // max_field_number, fast_idx_mask |
2854 | | offsetof(decltype(_table_), field_lookup_table), |
2855 | | 4294967292, // skipmap |
2856 | | offsetof(decltype(_table_), field_entries), |
2857 | | 2, // num_field_entries |
2858 | | 1, // num_aux_entries |
2859 | | offsetof(decltype(_table_), aux_entries), |
2860 | | _class_data_.base(), |
2861 | | nullptr, // post_loop_handler |
2862 | | ::_pbi::TcParser::GenericFallback, // fallback |
2863 | | #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
2864 | | ::_pbi::TcParser::GetTable<::fuzz_handshake::FuzzMsg>(), // to_prefetch |
2865 | | #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
2866 | | }, {{ |
2867 | | // repeated .fuzz_handshake.Event events = 2; |
2868 | | {::_pbi::TcParser::FastMtR1, |
2869 | | {18, 63, 0, PROTOBUF_FIELD_OFFSET(FuzzMsg, _impl_.events_)}}, |
2870 | | // bool initiate_remote = 1; |
2871 | | {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FuzzMsg, _impl_.initiate_remote_), 63>(), |
2872 | | {8, 63, 0, PROTOBUF_FIELD_OFFSET(FuzzMsg, _impl_.initiate_remote_)}}, |
2873 | | }}, {{ |
2874 | | 65535, 65535 |
2875 | | }}, {{ |
2876 | | // bool initiate_remote = 1; |
2877 | | {PROTOBUF_FIELD_OFFSET(FuzzMsg, _impl_.initiate_remote_), 0, 0, |
2878 | | (0 | ::_fl::kFcSingular | ::_fl::kBool)}, |
2879 | | // repeated .fuzz_handshake.Event events = 2; |
2880 | | {PROTOBUF_FIELD_OFFSET(FuzzMsg, _impl_.events_), 0, 0, |
2881 | | (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, |
2882 | | }}, {{ |
2883 | | {::_pbi::TcParser::GetTable<::fuzz_handshake::Event>()}, |
2884 | | }}, {{ |
2885 | | }}, |
2886 | | }; |
2887 | | |
2888 | 8.38k | PROTOBUF_NOINLINE void FuzzMsg::Clear() { |
2889 | | // @@protoc_insertion_point(message_clear_start:fuzz_handshake.FuzzMsg) |
2890 | 8.38k | ::google::protobuf::internal::TSanWrite(&_impl_); |
2891 | 8.38k | ::uint32_t cached_has_bits = 0; |
2892 | | // Prevent compiler warnings about cached_has_bits being unused |
2893 | 8.38k | (void) cached_has_bits; |
2894 | | |
2895 | 8.38k | _impl_.events_.Clear(); |
2896 | 8.38k | _impl_.initiate_remote_ = false; |
2897 | 8.38k | _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
2898 | 8.38k | } |
2899 | | |
2900 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2901 | | ::uint8_t* FuzzMsg::_InternalSerialize( |
2902 | | const MessageLite& base, ::uint8_t* target, |
2903 | | ::google::protobuf::io::EpsCopyOutputStream* stream) { |
2904 | | const FuzzMsg& this_ = static_cast<const FuzzMsg&>(base); |
2905 | | #else // PROTOBUF_CUSTOM_VTABLE |
2906 | | ::uint8_t* FuzzMsg::_InternalSerialize( |
2907 | | ::uint8_t* target, |
2908 | 0 | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2909 | 0 | const FuzzMsg& this_ = *this; |
2910 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2911 | | // @@protoc_insertion_point(serialize_to_array_start:fuzz_handshake.FuzzMsg) |
2912 | 0 | ::uint32_t cached_has_bits = 0; |
2913 | 0 | (void)cached_has_bits; |
2914 | | |
2915 | | // bool initiate_remote = 1; |
2916 | 0 | if (this_._internal_initiate_remote() != 0) { |
2917 | 0 | target = stream->EnsureSpace(target); |
2918 | 0 | target = ::_pbi::WireFormatLite::WriteBoolToArray( |
2919 | 0 | 1, this_._internal_initiate_remote(), target); |
2920 | 0 | } |
2921 | | |
2922 | | // repeated .fuzz_handshake.Event events = 2; |
2923 | 0 | for (unsigned i = 0, n = static_cast<unsigned>( |
2924 | 0 | this_._internal_events_size()); |
2925 | 0 | i < n; i++) { |
2926 | 0 | const auto& repfield = this_._internal_events().Get(i); |
2927 | 0 | target = |
2928 | 0 | ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( |
2929 | 0 | 2, repfield, repfield.GetCachedSize(), |
2930 | 0 | target, stream); |
2931 | 0 | } |
2932 | |
|
2933 | 0 | if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { |
2934 | 0 | target = |
2935 | 0 | ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( |
2936 | 0 | this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); |
2937 | 0 | } |
2938 | | // @@protoc_insertion_point(serialize_to_array_end:fuzz_handshake.FuzzMsg) |
2939 | 0 | return target; |
2940 | 0 | } |
2941 | | |
2942 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2943 | | ::size_t FuzzMsg::ByteSizeLong(const MessageLite& base) { |
2944 | | const FuzzMsg& this_ = static_cast<const FuzzMsg&>(base); |
2945 | | #else // PROTOBUF_CUSTOM_VTABLE |
2946 | 0 | ::size_t FuzzMsg::ByteSizeLong() const { |
2947 | 0 | const FuzzMsg& this_ = *this; |
2948 | 0 | #endif // PROTOBUF_CUSTOM_VTABLE |
2949 | | // @@protoc_insertion_point(message_byte_size_start:fuzz_handshake.FuzzMsg) |
2950 | 0 | ::size_t total_size = 0; |
2951 | |
|
2952 | 0 | ::uint32_t cached_has_bits = 0; |
2953 | | // Prevent compiler warnings about cached_has_bits being unused |
2954 | 0 | (void)cached_has_bits; |
2955 | |
|
2956 | 0 | ::_pbi::Prefetch5LinesFrom7Lines(&this_); |
2957 | 0 | { |
2958 | | // repeated .fuzz_handshake.Event events = 2; |
2959 | 0 | { |
2960 | 0 | total_size += 1UL * this_._internal_events_size(); |
2961 | 0 | for (const auto& msg : this_._internal_events()) { |
2962 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); |
2963 | 0 | } |
2964 | 0 | } |
2965 | 0 | } |
2966 | 0 | { |
2967 | | // bool initiate_remote = 1; |
2968 | 0 | if (this_._internal_initiate_remote() != 0) { |
2969 | 0 | total_size += 2; |
2970 | 0 | } |
2971 | 0 | } |
2972 | 0 | return this_.MaybeComputeUnknownFieldsSize(total_size, |
2973 | 0 | &this_._impl_._cached_size_); |
2974 | 0 | } |
2975 | | |
2976 | 0 | void FuzzMsg::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
2977 | 0 | auto* const _this = static_cast<FuzzMsg*>(&to_msg); |
2978 | 0 | auto& from = static_cast<const FuzzMsg&>(from_msg); |
2979 | | // @@protoc_insertion_point(class_specific_merge_from_start:fuzz_handshake.FuzzMsg) |
2980 | 0 | ABSL_DCHECK_NE(&from, _this); |
2981 | 0 | ::uint32_t cached_has_bits = 0; |
2982 | 0 | (void) cached_has_bits; |
2983 | |
|
2984 | 0 | _this->_internal_mutable_events()->MergeFrom( |
2985 | 0 | from._internal_events()); |
2986 | 0 | if (from._internal_initiate_remote() != 0) { |
2987 | 0 | _this->_impl_.initiate_remote_ = from._impl_.initiate_remote_; |
2988 | 0 | } |
2989 | 0 | _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
2990 | 0 | } |
2991 | | |
2992 | 0 | void FuzzMsg::CopyFrom(const FuzzMsg& from) { |
2993 | | // @@protoc_insertion_point(class_specific_copy_from_start:fuzz_handshake.FuzzMsg) |
2994 | 0 | if (&from == this) return; |
2995 | 0 | Clear(); |
2996 | 0 | MergeFrom(from); |
2997 | 0 | } |
2998 | | |
2999 | | |
3000 | 0 | void FuzzMsg::InternalSwap(FuzzMsg* PROTOBUF_RESTRICT other) { |
3001 | 0 | using std::swap; |
3002 | 0 | _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
3003 | 0 | _impl_.events_.InternalSwap(&other->_impl_.events_); |
3004 | 0 | swap(_impl_.initiate_remote_, other->_impl_.initiate_remote_); |
3005 | 0 | } |
3006 | | |
3007 | 0 | ::google::protobuf::Metadata FuzzMsg::GetMetadata() const { |
3008 | 0 | return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
3009 | 0 | } |
3010 | | // @@protoc_insertion_point(namespace_scope) |
3011 | | } // namespace fuzz_handshake |
3012 | | namespace google { |
3013 | | namespace protobuf { |
3014 | | } // namespace protobuf |
3015 | | } // namespace google |
3016 | | // @@protoc_insertion_point(global_scope) |
3017 | | PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type |
3018 | | _static_init2_ PROTOBUF_UNUSED = |
3019 | | (::_pbi::AddDescriptors(&descriptor_table_fuzz_5fhandshake_2eproto), |
3020 | | ::std::false_type{}); |
3021 | | #include "google/protobuf/port_undef.inc" |