Coverage Report

Created: 2026-08-31 06:49

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/curl_fuzzer/build/curl_fuzzer.pb.cc
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// NO CHECKED-IN PROTOBUF GENCODE
3
// source: curl_fuzzer.proto
4
// Protobuf C++ Version: 5.29.3
5
6
#include "curl_fuzzer.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 curl {
28
namespace fuzzer {
29
namespace proto {
30
31
inline constexpr WsManualProbes::Impl_::Impl_(
32
    ::_pbi::ConstantInitialized) noexcept
33
      : flag_matrix_{false},
34
        unaligned_send_{false},
35
        raw_send_{false},
36
        _cached_size_{0} {}
37
38
template <typename>
39
PROTOBUF_CONSTEXPR WsManualProbes::WsManualProbes(::_pbi::ConstantInitialized)
40
#if defined(PROTOBUF_CUSTOM_VTABLE)
41
    : ::google::protobuf::Message(_class_data_.base()),
42
#else   // PROTOBUF_CUSTOM_VTABLE
43
    : ::google::protobuf::Message(),
44
#endif  // PROTOBUF_CUSTOM_VTABLE
45
      _impl_(::_pbi::ConstantInitialized()) {
46
}
47
struct WsManualProbesDefaultTypeInternal {
48
0
  PROTOBUF_CONSTEXPR WsManualProbesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
49
0
  ~WsManualProbesDefaultTypeInternal() {}
50
  union {
51
    WsManualProbes _instance;
52
  };
53
};
54
55
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
56
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WsManualProbesDefaultTypeInternal _WsManualProbes_default_instance_;
57
58
inline constexpr WebSocketFrame::Impl_::Impl_(
59
    ::_pbi::ConstantInitialized) noexcept
60
      : payload_(
61
            &::google::protobuf::internal::fixed_address_empty_string,
62
            ::_pbi::ConstantInitialized()),
63
        fin_{false},
64
        rsv1_{false},
65
        rsv2_{false},
66
        rsv3_{false},
67
        opcode_{0u},
68
        masked_{false},
69
        mask_key_{0u},
70
        length_form_{0u},
71
        _cached_size_{0} {}
72
73
template <typename>
74
PROTOBUF_CONSTEXPR WebSocketFrame::WebSocketFrame(::_pbi::ConstantInitialized)
75
#if defined(PROTOBUF_CUSTOM_VTABLE)
76
    : ::google::protobuf::Message(_class_data_.base()),
77
#else   // PROTOBUF_CUSTOM_VTABLE
78
    : ::google::protobuf::Message(),
79
#endif  // PROTOBUF_CUSTOM_VTABLE
80
      _impl_(::_pbi::ConstantInitialized()) {
81
}
82
struct WebSocketFrameDefaultTypeInternal {
83
0
  PROTOBUF_CONSTEXPR WebSocketFrameDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
84
0
  ~WebSocketFrameDefaultTypeInternal() {}
85
  union {
86
    WebSocketFrame _instance;
87
  };
88
};
89
90
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
91
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WebSocketFrameDefaultTypeInternal _WebSocketFrame_default_instance_;
92
93
inline constexpr UploadScript::Impl_::Impl_(
94
    ::_pbi::ConstantInitialized) noexcept
95
      : read_sizes_{},
96
        _read_sizes_cached_byte_size_{0},
97
        data_(
98
            &::google::protobuf::internal::fixed_address_empty_string,
99
            ::_pbi::ConstantInitialized()),
100
        terminal_{static_cast< ::curl::fuzzer::proto::UploadTerminal >(0)},
101
        seek_result_{static_cast< ::curl::fuzzer::proto::UploadSeekResult >(0)},
102
        _cached_size_{0} {}
103
104
template <typename>
105
PROTOBUF_CONSTEXPR UploadScript::UploadScript(::_pbi::ConstantInitialized)
106
#if defined(PROTOBUF_CUSTOM_VTABLE)
107
    : ::google::protobuf::Message(_class_data_.base()),
108
#else   // PROTOBUF_CUSTOM_VTABLE
109
    : ::google::protobuf::Message(),
110
#endif  // PROTOBUF_CUSTOM_VTABLE
111
      _impl_(::_pbi::ConstantInitialized()) {
112
}
113
struct UploadScriptDefaultTypeInternal {
114
0
  PROTOBUF_CONSTEXPR UploadScriptDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
115
0
  ~UploadScriptDefaultTypeInternal() {}
116
  union {
117
    UploadScript _instance;
118
  };
119
};
120
121
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
122
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UploadScriptDefaultTypeInternal _UploadScript_default_instance_;
123
124
inline constexpr SetOption::Impl_::Impl_(
125
    ::_pbi::ConstantInitialized) noexcept
126
      : option_id_{static_cast< ::curl::fuzzer::proto::CurlOptionId >(0)},
127
        value_{},
128
        _cached_size_{0},
129
        _oneof_case_{} {}
130
131
template <typename>
132
PROTOBUF_CONSTEXPR SetOption::SetOption(::_pbi::ConstantInitialized)
133
#if defined(PROTOBUF_CUSTOM_VTABLE)
134
    : ::google::protobuf::Message(_class_data_.base()),
135
#else   // PROTOBUF_CUSTOM_VTABLE
136
    : ::google::protobuf::Message(),
137
#endif  // PROTOBUF_CUSTOM_VTABLE
138
      _impl_(::_pbi::ConstantInitialized()) {
139
}
140
struct SetOptionDefaultTypeInternal {
141
0
  PROTOBUF_CONSTEXPR SetOptionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
142
0
  ~SetOptionDefaultTypeInternal() {}
143
  union {
144
    SetOption _instance;
145
  };
146
};
147
148
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
149
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetOptionDefaultTypeInternal _SetOption_default_instance_;
150
151
inline constexpr MimeDataPart::Impl_::Impl_(
152
    ::_pbi::ConstantInitialized) noexcept
153
      : headers_{},
154
        name_(
155
            &::google::protobuf::internal::fixed_address_empty_string,
156
            ::_pbi::ConstantInitialized()),
157
        data_(
158
            &::google::protobuf::internal::fixed_address_empty_string,
159
            ::_pbi::ConstantInitialized()),
160
        filename_(
161
            &::google::protobuf::internal::fixed_address_empty_string,
162
            ::_pbi::ConstantInitialized()),
163
        content_type_(
164
            &::google::protobuf::internal::fixed_address_empty_string,
165
            ::_pbi::ConstantInitialized()),
166
        encoder_{static_cast< ::curl::fuzzer::proto::MimeEncoder >(0)},
167
        _cached_size_{0} {}
168
169
template <typename>
170
PROTOBUF_CONSTEXPR MimeDataPart::MimeDataPart(::_pbi::ConstantInitialized)
171
#if defined(PROTOBUF_CUSTOM_VTABLE)
172
    : ::google::protobuf::Message(_class_data_.base()),
173
#else   // PROTOBUF_CUSTOM_VTABLE
174
    : ::google::protobuf::Message(),
175
#endif  // PROTOBUF_CUSTOM_VTABLE
176
      _impl_(::_pbi::ConstantInitialized()) {
177
}
178
struct MimeDataPartDefaultTypeInternal {
179
0
  PROTOBUF_CONSTEXPR MimeDataPartDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
180
0
  ~MimeDataPartDefaultTypeInternal() {}
181
  union {
182
    MimeDataPart _instance;
183
  };
184
};
185
186
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
187
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MimeDataPartDefaultTypeInternal _MimeDataPart_default_instance_;
188
189
inline constexpr BackpressureConfig::Impl_::Impl_(
190
    ::_pbi::ConstantInitialized) noexcept
191
      : recv_buf_bytes_{0u},
192
        drain_limit_{0u},
193
        _cached_size_{0} {}
194
195
template <typename>
196
PROTOBUF_CONSTEXPR BackpressureConfig::BackpressureConfig(::_pbi::ConstantInitialized)
197
#if defined(PROTOBUF_CUSTOM_VTABLE)
198
    : ::google::protobuf::Message(_class_data_.base()),
199
#else   // PROTOBUF_CUSTOM_VTABLE
200
    : ::google::protobuf::Message(),
201
#endif  // PROTOBUF_CUSTOM_VTABLE
202
      _impl_(::_pbi::ConstantInitialized()) {
203
}
204
struct BackpressureConfigDefaultTypeInternal {
205
0
  PROTOBUF_CONSTEXPR BackpressureConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
206
0
  ~BackpressureConfigDefaultTypeInternal() {}
207
  union {
208
    BackpressureConfig _instance;
209
  };
210
};
211
212
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
213
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BackpressureConfigDefaultTypeInternal _BackpressureConfig_default_instance_;
214
215
inline constexpr MimeSubparts::Impl_::Impl_(
216
    ::_pbi::ConstantInitialized) noexcept
217
      : parts_{},
218
        _cached_size_{0} {}
219
220
template <typename>
221
PROTOBUF_CONSTEXPR MimeSubparts::MimeSubparts(::_pbi::ConstantInitialized)
222
#if defined(PROTOBUF_CUSTOM_VTABLE)
223
    : ::google::protobuf::Message(_class_data_.base()),
224
#else   // PROTOBUF_CUSTOM_VTABLE
225
    : ::google::protobuf::Message(),
226
#endif  // PROTOBUF_CUSTOM_VTABLE
227
      _impl_(::_pbi::ConstantInitialized()) {
228
}
229
struct MimeSubpartsDefaultTypeInternal {
230
0
  PROTOBUF_CONSTEXPR MimeSubpartsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
231
0
  ~MimeSubpartsDefaultTypeInternal() {}
232
  union {
233
    MimeSubparts _instance;
234
  };
235
};
236
237
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
238
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MimeSubpartsDefaultTypeInternal _MimeSubparts_default_instance_;
239
240
inline constexpr Connection::Impl_::Impl_(
241
    ::_pbi::ConstantInitialized) noexcept
242
      : _cached_size_{0},
243
        on_readable_{},
244
        server_frames_{},
245
        initial_response_(
246
            &::google::protobuf::internal::fixed_address_empty_string,
247
            ::_pbi::ConstantInitialized()),
248
        backpressure_{nullptr},
249
        manual_probes_{nullptr} {}
250
251
template <typename>
252
PROTOBUF_CONSTEXPR Connection::Connection(::_pbi::ConstantInitialized)
253
#if defined(PROTOBUF_CUSTOM_VTABLE)
254
    : ::google::protobuf::Message(_class_data_.base()),
255
#else   // PROTOBUF_CUSTOM_VTABLE
256
    : ::google::protobuf::Message(),
257
#endif  // PROTOBUF_CUSTOM_VTABLE
258
      _impl_(::_pbi::ConstantInitialized()) {
259
}
260
struct ConnectionDefaultTypeInternal {
261
0
  PROTOBUF_CONSTEXPR ConnectionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
262
0
  ~ConnectionDefaultTypeInternal() {}
263
  union {
264
    Connection _instance;
265
  };
266
};
267
268
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
269
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConnectionDefaultTypeInternal _Connection_default_instance_;
270
271
inline constexpr MimePart::Impl_::Impl_(
272
    ::_pbi::ConstantInitialized) noexcept
273
      : headers_{},
274
        name_(
275
            &::google::protobuf::internal::fixed_address_empty_string,
276
            ::_pbi::ConstantInitialized()),
277
        filename_(
278
            &::google::protobuf::internal::fixed_address_empty_string,
279
            ::_pbi::ConstantInitialized()),
280
        content_type_(
281
            &::google::protobuf::internal::fixed_address_empty_string,
282
            ::_pbi::ConstantInitialized()),
283
        encoder_{static_cast< ::curl::fuzzer::proto::MimeEncoder >(0)},
284
        content_{},
285
        _cached_size_{0},
286
        _oneof_case_{} {}
287
288
template <typename>
289
PROTOBUF_CONSTEXPR MimePart::MimePart(::_pbi::ConstantInitialized)
290
#if defined(PROTOBUF_CUSTOM_VTABLE)
291
    : ::google::protobuf::Message(_class_data_.base()),
292
#else   // PROTOBUF_CUSTOM_VTABLE
293
    : ::google::protobuf::Message(),
294
#endif  // PROTOBUF_CUSTOM_VTABLE
295
      _impl_(::_pbi::ConstantInitialized()) {
296
}
297
struct MimePartDefaultTypeInternal {
298
0
  PROTOBUF_CONSTEXPR MimePartDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
299
0
  ~MimePartDefaultTypeInternal() {}
300
  union {
301
    MimePart _instance;
302
  };
303
};
304
305
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
306
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MimePartDefaultTypeInternal _MimePart_default_instance_;
307
308
inline constexpr MimePost::Impl_::Impl_(
309
    ::_pbi::ConstantInitialized) noexcept
310
      : parts_{},
311
        _cached_size_{0} {}
312
313
template <typename>
314
PROTOBUF_CONSTEXPR MimePost::MimePost(::_pbi::ConstantInitialized)
315
#if defined(PROTOBUF_CUSTOM_VTABLE)
316
    : ::google::protobuf::Message(_class_data_.base()),
317
#else   // PROTOBUF_CUSTOM_VTABLE
318
    : ::google::protobuf::Message(),
319
#endif  // PROTOBUF_CUSTOM_VTABLE
320
      _impl_(::_pbi::ConstantInitialized()) {
321
}
322
struct MimePostDefaultTypeInternal {
323
0
  PROTOBUF_CONSTEXPR MimePostDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
324
0
  ~MimePostDefaultTypeInternal() {}
325
  union {
326
    MimePost _instance;
327
  };
328
};
329
330
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
331
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MimePostDefaultTypeInternal _MimePost_default_instance_;
332
333
inline constexpr Scenario::Impl_::Impl_(
334
    ::_pbi::ConstantInitialized) noexcept
335
      : _cached_size_{0},
336
        options_{},
337
        request_headers_{},
338
        subsequent_connections_{},
339
        host_path_(
340
            &::google::protobuf::internal::fixed_address_empty_string,
341
            ::_pbi::ConstantInitialized()),
342
        connection_{nullptr},
343
        mime_post_{nullptr},
344
        upload_{nullptr},
345
        scheme_{static_cast< ::curl::fuzzer::proto::Scheme >(0)} {}
346
347
template <typename>
348
PROTOBUF_CONSTEXPR Scenario::Scenario(::_pbi::ConstantInitialized)
349
#if defined(PROTOBUF_CUSTOM_VTABLE)
350
    : ::google::protobuf::Message(_class_data_.base()),
351
#else   // PROTOBUF_CUSTOM_VTABLE
352
    : ::google::protobuf::Message(),
353
#endif  // PROTOBUF_CUSTOM_VTABLE
354
      _impl_(::_pbi::ConstantInitialized()) {
355
}
356
struct ScenarioDefaultTypeInternal {
357
0
  PROTOBUF_CONSTEXPR ScenarioDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
358
0
  ~ScenarioDefaultTypeInternal() {}
359
  union {
360
    Scenario _instance;
361
  };
362
};
363
364
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
365
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ScenarioDefaultTypeInternal _Scenario_default_instance_;
366
}  // namespace proto
367
}  // namespace fuzzer
368
}  // namespace curl
369
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_curl_5ffuzzer_2eproto[5];
370
static constexpr const ::_pb::ServiceDescriptor**
371
    file_level_service_descriptors_curl_5ffuzzer_2eproto = nullptr;
372
const ::uint32_t
373
    TableStruct_curl_5ffuzzer_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
374
        protodesc_cold) = {
375
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_._has_bits_),
376
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _internal_metadata_),
377
        ~0u,  // no _extensions_
378
        ~0u,  // no _oneof_case_
379
        ~0u,  // no _weak_field_map_
380
        ~0u,  // no _inlined_string_donated_
381
        ~0u,  // no _split_
382
        ~0u,  // no sizeof(Split)
383
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.scheme_),
384
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.host_path_),
385
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.options_),
386
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.connection_),
387
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.request_headers_),
388
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.mime_post_),
389
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.subsequent_connections_),
390
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Scenario, _impl_.upload_),
391
        ~0u,
392
        ~0u,
393
        ~0u,
394
        0,
395
        ~0u,
396
        1,
397
        ~0u,
398
        2,
399
        ~0u,  // no _has_bits_
400
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::UploadScript, _internal_metadata_),
401
        ~0u,  // no _extensions_
402
        ~0u,  // no _oneof_case_
403
        ~0u,  // no _weak_field_map_
404
        ~0u,  // no _inlined_string_donated_
405
        ~0u,  // no _split_
406
        ~0u,  // no sizeof(Split)
407
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::UploadScript, _impl_.data_),
408
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::UploadScript, _impl_.read_sizes_),
409
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::UploadScript, _impl_.terminal_),
410
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::UploadScript, _impl_.seek_result_),
411
        ~0u,  // no _has_bits_
412
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePost, _internal_metadata_),
413
        ~0u,  // no _extensions_
414
        ~0u,  // no _oneof_case_
415
        ~0u,  // no _weak_field_map_
416
        ~0u,  // no _inlined_string_donated_
417
        ~0u,  // no _split_
418
        ~0u,  // no sizeof(Split)
419
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePost, _impl_.parts_),
420
        ~0u,  // no _has_bits_
421
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _internal_metadata_),
422
        ~0u,  // no _extensions_
423
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_._oneof_case_[0]),
424
        ~0u,  // no _weak_field_map_
425
        ~0u,  // no _inlined_string_donated_
426
        ~0u,  // no _split_
427
        ~0u,  // no sizeof(Split)
428
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_.name_),
429
        ::_pbi::kInvalidFieldOffsetTag,
430
        ::_pbi::kInvalidFieldOffsetTag,
431
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_.filename_),
432
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_.content_type_),
433
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_.encoder_),
434
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_.headers_),
435
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_.content_),
436
        ~0u,  // no _has_bits_
437
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeSubparts, _internal_metadata_),
438
        ~0u,  // no _extensions_
439
        ~0u,  // no _oneof_case_
440
        ~0u,  // no _weak_field_map_
441
        ~0u,  // no _inlined_string_donated_
442
        ~0u,  // no _split_
443
        ~0u,  // no sizeof(Split)
444
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeSubparts, _impl_.parts_),
445
        ~0u,  // no _has_bits_
446
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _internal_metadata_),
447
        ~0u,  // no _extensions_
448
        ~0u,  // no _oneof_case_
449
        ~0u,  // no _weak_field_map_
450
        ~0u,  // no _inlined_string_donated_
451
        ~0u,  // no _split_
452
        ~0u,  // no sizeof(Split)
453
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _impl_.name_),
454
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _impl_.data_),
455
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _impl_.filename_),
456
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _impl_.content_type_),
457
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _impl_.encoder_),
458
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimeDataPart, _impl_.headers_),
459
        ~0u,  // no _has_bits_
460
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::SetOption, _internal_metadata_),
461
        ~0u,  // no _extensions_
462
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::SetOption, _impl_._oneof_case_[0]),
463
        ~0u,  // no _weak_field_map_
464
        ~0u,  // no _inlined_string_donated_
465
        ~0u,  // no _split_
466
        ~0u,  // no sizeof(Split)
467
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::SetOption, _impl_.option_id_),
468
        ::_pbi::kInvalidFieldOffsetTag,
469
        ::_pbi::kInvalidFieldOffsetTag,
470
        ::_pbi::kInvalidFieldOffsetTag,
471
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::SetOption, _impl_.value_),
472
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _impl_._has_bits_),
473
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _internal_metadata_),
474
        ~0u,  // no _extensions_
475
        ~0u,  // no _oneof_case_
476
        ~0u,  // no _weak_field_map_
477
        ~0u,  // no _inlined_string_donated_
478
        ~0u,  // no _split_
479
        ~0u,  // no sizeof(Split)
480
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _impl_.initial_response_),
481
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _impl_.on_readable_),
482
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _impl_.server_frames_),
483
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _impl_.backpressure_),
484
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::Connection, _impl_.manual_probes_),
485
        ~0u,
486
        ~0u,
487
        ~0u,
488
        0,
489
        1,
490
        ~0u,  // no _has_bits_
491
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WsManualProbes, _internal_metadata_),
492
        ~0u,  // no _extensions_
493
        ~0u,  // no _oneof_case_
494
        ~0u,  // no _weak_field_map_
495
        ~0u,  // no _inlined_string_donated_
496
        ~0u,  // no _split_
497
        ~0u,  // no sizeof(Split)
498
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WsManualProbes, _impl_.flag_matrix_),
499
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WsManualProbes, _impl_.unaligned_send_),
500
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WsManualProbes, _impl_.raw_send_),
501
        ~0u,  // no _has_bits_
502
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::BackpressureConfig, _internal_metadata_),
503
        ~0u,  // no _extensions_
504
        ~0u,  // no _oneof_case_
505
        ~0u,  // no _weak_field_map_
506
        ~0u,  // no _inlined_string_donated_
507
        ~0u,  // no _split_
508
        ~0u,  // no sizeof(Split)
509
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::BackpressureConfig, _impl_.recv_buf_bytes_),
510
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::BackpressureConfig, _impl_.drain_limit_),
511
        ~0u,  // no _has_bits_
512
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _internal_metadata_),
513
        ~0u,  // no _extensions_
514
        ~0u,  // no _oneof_case_
515
        ~0u,  // no _weak_field_map_
516
        ~0u,  // no _inlined_string_donated_
517
        ~0u,  // no _split_
518
        ~0u,  // no sizeof(Split)
519
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.fin_),
520
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.rsv1_),
521
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.rsv2_),
522
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.rsv3_),
523
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.opcode_),
524
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.masked_),
525
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.mask_key_),
526
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.payload_),
527
        PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::WebSocketFrame, _impl_.length_form_),
528
};
529
530
static const ::_pbi::MigrationSchema
531
    schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
532
        {0, 16, -1, sizeof(::curl::fuzzer::proto::Scenario)},
533
        {24, -1, -1, sizeof(::curl::fuzzer::proto::UploadScript)},
534
        {36, -1, -1, sizeof(::curl::fuzzer::proto::MimePost)},
535
        {45, -1, -1, sizeof(::curl::fuzzer::proto::MimePart)},
536
        {61, -1, -1, sizeof(::curl::fuzzer::proto::MimeSubparts)},
537
        {70, -1, -1, sizeof(::curl::fuzzer::proto::MimeDataPart)},
538
        {84, -1, -1, sizeof(::curl::fuzzer::proto::SetOption)},
539
        {97, 110, -1, sizeof(::curl::fuzzer::proto::Connection)},
540
        {115, -1, -1, sizeof(::curl::fuzzer::proto::WsManualProbes)},
541
        {126, -1, -1, sizeof(::curl::fuzzer::proto::BackpressureConfig)},
542
        {136, -1, -1, sizeof(::curl::fuzzer::proto::WebSocketFrame)},
543
};
544
static const ::_pb::Message* const file_default_instances[] = {
545
    &::curl::fuzzer::proto::_Scenario_default_instance_._instance,
546
    &::curl::fuzzer::proto::_UploadScript_default_instance_._instance,
547
    &::curl::fuzzer::proto::_MimePost_default_instance_._instance,
548
    &::curl::fuzzer::proto::_MimePart_default_instance_._instance,
549
    &::curl::fuzzer::proto::_MimeSubparts_default_instance_._instance,
550
    &::curl::fuzzer::proto::_MimeDataPart_default_instance_._instance,
551
    &::curl::fuzzer::proto::_SetOption_default_instance_._instance,
552
    &::curl::fuzzer::proto::_Connection_default_instance_._instance,
553
    &::curl::fuzzer::proto::_WsManualProbes_default_instance_._instance,
554
    &::curl::fuzzer::proto::_BackpressureConfig_default_instance_._instance,
555
    &::curl::fuzzer::proto::_WebSocketFrame_default_instance_._instance,
556
};
557
const char descriptor_table_protodef_curl_5ffuzzer_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
558
    protodesc_cold) = {
559
    "\n\021curl_fuzzer.proto\022\021curl.fuzzer.proto\"\343"
560
    "\002\n\010Scenario\022)\n\006scheme\030\001 \001(\0162\031.curl.fuzze"
561
    "r.proto.Scheme\022\021\n\thost_path\030\002 \001(\014\022-\n\007opt"
562
    "ions\030\003 \003(\0132\034.curl.fuzzer.proto.SetOption"
563
    "\0221\n\nconnection\030\004 \001(\0132\035.curl.fuzzer.proto"
564
    ".Connection\022\027\n\017request_headers\030\005 \003(\014\022.\n\t"
565
    "mime_post\030\006 \001(\0132\033.curl.fuzzer.proto.Mime"
566
    "Post\022=\n\026subsequent_connections\030\007 \003(\0132\035.c"
567
    "url.fuzzer.proto.Connection\022/\n\006upload\030\010 "
568
    "\001(\0132\037.curl.fuzzer.proto.UploadScript\"\237\001\n"
569
    "\014UploadScript\022\014\n\004data\030\001 \001(\014\022\022\n\nread_size"
570
    "s\030\002 \003(\r\0223\n\010terminal\030\003 \001(\0162!.curl.fuzzer."
571
    "proto.UploadTerminal\0228\n\013seek_result\030\004 \001("
572
    "\0162#.curl.fuzzer.proto.UploadSeekResult\"6"
573
    "\n\010MimePost\022*\n\005parts\030\001 \003(\0132\033.curl.fuzzer."
574
    "proto.MimePart\"\322\001\n\010MimePart\022\014\n\004name\030\001 \001("
575
    "\014\022\016\n\004data\030\002 \001(\014H\000\0223\n\010subparts\030\007 \001(\0132\037.cu"
576
    "rl.fuzzer.proto.MimeSubpartsH\000\022\020\n\010filena"
577
    "me\030\003 \001(\014\022\024\n\014content_type\030\004 \001(\014\022/\n\007encode"
578
    "r\030\005 \001(\0162\036.curl.fuzzer.proto.MimeEncoder\022"
579
    "\017\n\007headers\030\006 \003(\014B\t\n\007content\">\n\014MimeSubpa"
580
    "rts\022.\n\005parts\030\001 \003(\0132\037.curl.fuzzer.proto.M"
581
    "imeDataPart\"\224\001\n\014MimeDataPart\022\014\n\004name\030\001 \001"
582
    "(\014\022\014\n\004data\030\002 \001(\014\022\020\n\010filename\030\003 \001(\014\022\024\n\014co"
583
    "ntent_type\030\004 \001(\014\022/\n\007encoder\030\005 \001(\0162\036.curl"
584
    ".fuzzer.proto.MimeEncoder\022\017\n\007headers\030\006 \003"
585
    "(\014\"\214\001\n\tSetOption\0222\n\toption_id\030\001 \001(\0162\037.cu"
586
    "rl.fuzzer.proto.CurlOptionId\022\026\n\014string_v"
587
    "alue\030\n \001(\014H\000\022\024\n\nuint_value\030\013 \001(\004H\000\022\024\n\nbo"
588
    "ol_value\030\014 \001(\010H\000B\007\n\005value\"\354\001\n\nConnection"
589
    "\022\030\n\020initial_response\030\001 \001(\014\022\023\n\013on_readabl"
590
    "e\030\002 \003(\014\0228\n\rserver_frames\030\003 \003(\0132!.curl.fu"
591
    "zzer.proto.WebSocketFrame\022;\n\014backpressur"
592
    "e\030\004 \001(\0132%.curl.fuzzer.proto.Backpressure"
593
    "Config\0228\n\rmanual_probes\030\005 \001(\0132!.curl.fuz"
594
    "zer.proto.WsManualProbes\"O\n\016WsManualProb"
595
    "es\022\023\n\013flag_matrix\030\001 \001(\010\022\026\n\016unaligned_sen"
596
    "d\030\002 \001(\010\022\020\n\010raw_send\030\003 \001(\010\"A\n\022Backpressur"
597
    "eConfig\022\026\n\016recv_buf_bytes\030\001 \001(\r\022\023\n\013drain"
598
    "_limit\030\002 \001(\r\"\237\001\n\016WebSocketFrame\022\013\n\003fin\030\001"
599
    " \001(\010\022\014\n\004rsv1\030\002 \001(\010\022\014\n\004rsv2\030\003 \001(\010\022\014\n\004rsv3"
600
    "\030\004 \001(\010\022\016\n\006opcode\030\005 \001(\r\022\016\n\006masked\030\006 \001(\010\022\020"
601
    "\n\010mask_key\030\007 \001(\r\022\017\n\007payload\030\010 \001(\014\022\023\n\013len"
602
    "gth_form\030\t \001(\r*D\n\016UploadTerminal\022\027\n\023UPLO"
603
    "AD_TERMINAL_EOF\020\000\022\031\n\025UPLOAD_TERMINAL_ABO"
604
    "RT\020\001*V\n\020UploadSeekResult\022\022\n\016UPLOAD_SEEK_"
605
    "OK\020\000\022\030\n\024UPLOAD_SEEK_CANTSEEK\020\001\022\024\n\020UPLOAD"
606
    "_SEEK_FAIL\020\002*\256\001\n\013MimeEncoder\022\034\n\030MIME_ENC"
607
    "ODER_UNSPECIFIED\020\000\022\027\n\023MIME_ENCODER_BINAR"
608
    "Y\020\001\022\025\n\021MIME_ENCODER_8BIT\020\002\022\025\n\021MIME_ENCOD"
609
    "ER_7BIT\020\003\022\027\n\023MIME_ENCODER_BASE64\020\004\022!\n\035MI"
610
    "ME_ENCODER_QUOTED_PRINTABLE\020\005*b\n\006Scheme\022"
611
    "\026\n\022SCHEME_UNSPECIFIED\020\000\022\017\n\013SCHEME_HTTP\020\001"
612
    "\022\020\n\014SCHEME_HTTPS\020\002\022\r\n\tSCHEME_WS\020\003\022\016\n\nSCH"
613
    "EME_WSS\020\004*\236\014\n\014CurlOptionId\022\033\n\027CURL_OPTIO"
614
    "N_UNSPECIFIED\020\000\022\032\n\025CURLOPT_CUSTOMREQUEST"
615
    "\020\264N\022\023\n\017CURLOPT_HTTPGET\020P\022\022\n\016CURLOPT_NOBO"
616
    "DY\020,\022\020\n\014CURLOPT_POST\020/\022\027\n\022CURLOPT_POSTFI"
617
    "ELDS\020\237N\022\032\n\026CURLOPT_FOLLOWLOCATION\0204\022\025\n\021C"
618
    "URLOPT_MAXREDIRS\020D\022\026\n\021CURLOPT_USERAGENT\020"
619
    "\242N\022\034\n\027CURLOPT_ACCEPT_ENCODING\020\366N\022\022\n\016CURL"
620
    "OPT_HEADER\020*\022\027\n\023CURLOPT_FAILONERROR\020-\022\030\n"
621
    "\024CURLOPT_HTTP_VERSION\020T\022\033\n\026CURLOPT_HTTP0"
622
    "9_ALLOWED\020\235\002\022\027\n\023CURLOPT_AUTOREFERER\020:\022\024\n"
623
    "\017CURLOPT_REFERER\020\240N\022\031\n\024CURLOPT_CONNECT_O"
624
    "NLY\020\215\001\022\027\n\022CURLOPT_WS_OPTIONS\020\300\002\022\022\n\016CURLO"
625
    "PT_UPLOAD\020.\022\036\n\030CURLOPT_INFILESIZE_LARGE\020"
626
    "\243\353\001\022\020\n\014CURLOPT_CRLF\020\033\022\032\n\026CURLOPT_SSL_VER"
627
    "IFYPEER\020@\022\025\n\020CURLOPT_CERTINFO\020\254\001\022\023\n\016CURL"
628
    "OPT_COOKIE\020\246N\022\027\n\022CURLOPT_COOKIELIST\020\227O\022\031"
629
    "\n\025CURLOPT_COOKIESESSION\020`\022\024\n\020CURLOPT_HTT"
630
    "PAUTH\020k\022\024\n\017CURLOPT_USERPWD\020\225N\022\025\n\020CURLOPT"
631
    "_USERNAME\020\275O\022\025\n\020CURLOPT_PASSWORD\020\276O\022\035\n\031C"
632
    "URLOPT_UNRESTRICTED_AUTH\020i\022\033\n\026CURLOPT_XO"
633
    "AUTH2_BEARER\020\354O\022\026\n\021CURLOPT_AWS_SIGV4\020\301P\022"
634
    "\031\n\025CURLOPT_TIMECONDITION\020!\022\035\n\027CURLOPT_TI"
635
    "MEVALUE_LARGE\020\276\354\001\022\030\n\023CURLOPT_ALTSVC_CTRL"
636
    "\020\236\002\022\026\n\021CURLOPT_HSTS_CTRL\020\253\002\022\022\n\rCURLOPT_R"
637
    "ANGE\020\227N\022\037\n\031CURLOPT_RESUME_FROM_LARGE\020\244\353\001"
638
    "\022\024\n\020CURLOPT_FILETIME\020E\022\033\n\026CURLOPT_REQUES"
639
    "T_TARGET\020\232P\022\027\n\022CURLOPT_PATH_AS_IS\020\352\001\022\"\n\035"
640
    "CURLOPT_EXPECT_100_TIMEOUT_MS\020\343\001\022\"\n\035CURL"
641
    "OPT_KEEP_SENDING_ON_ERROR\020\365\001\022\026\n\021CURLOPT_"
642
    "POSTREDIR\020\241\001\022\036\n\031CURLOPT_TRANSFER_ENCODIN"
643
    "G\020\317\001\022#\n\036CURLOPT_HTTP_TRANSFER_DECODING\020\235"
644
    "\001\022\"\n\035CURLOPT_HTTP_CONTENT_DECODING\020\236\001\022\"\n"
645
    "\035CURLOPT_IGNORE_CONTENT_LENGTH\020\210\001\022%\n CUR"
646
    "LOPT_DISALLOW_USERNAME_IN_URL\020\226\002\022\031\n\025CURL"
647
    "OPT_FRESH_CONNECT\020J\022\030\n\024CURLOPT_FORBID_RE"
648
    "USE\020K\022\030\n\023CURLOPT_MAXAGE_CONN\020\240\002\022\035\n\030CURLO"
649
    "PT_MAXLIFETIME_CONN\020\272\002\022\036\n\031CURLOPT_UPLOAD"
650
    "_BUFFERSIZE\020\230\002\022\031\n\024CURLOPT_MIME_OPTIONS\020\273"
651
    "\002\022\037\n\031CURLOPT_MAXFILESIZE_LARGE\020\245\353\001\022\026\n\022CU"
652
    "RLOPT_BUFFERSIZE\020bb\006proto3"
653
};
654
static ::absl::once_flag descriptor_table_curl_5ffuzzer_2eproto_once;
655
PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_curl_5ffuzzer_2eproto = {
656
    false,
657
    false,
658
    3746,
659
    descriptor_table_protodef_curl_5ffuzzer_2eproto,
660
    "curl_fuzzer.proto",
661
    &descriptor_table_curl_5ffuzzer_2eproto_once,
662
    nullptr,
663
    0,
664
    11,
665
    schemas,
666
    file_default_instances,
667
    TableStruct_curl_5ffuzzer_2eproto::offsets,
668
    file_level_enum_descriptors_curl_5ffuzzer_2eproto,
669
    file_level_service_descriptors_curl_5ffuzzer_2eproto,
670
};
671
namespace curl {
672
namespace fuzzer {
673
namespace proto {
674
0
const ::google::protobuf::EnumDescriptor* UploadTerminal_descriptor() {
675
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_curl_5ffuzzer_2eproto);
676
0
  return file_level_enum_descriptors_curl_5ffuzzer_2eproto[0];
677
0
}
678
PROTOBUF_CONSTINIT const uint32_t UploadTerminal_internal_data_[] = {
679
    131072u, 0u, };
680
0
bool UploadTerminal_IsValid(int value) {
681
0
  return 0 <= value && value <= 1;
682
0
}
683
0
const ::google::protobuf::EnumDescriptor* UploadSeekResult_descriptor() {
684
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_curl_5ffuzzer_2eproto);
685
0
  return file_level_enum_descriptors_curl_5ffuzzer_2eproto[1];
686
0
}
687
PROTOBUF_CONSTINIT const uint32_t UploadSeekResult_internal_data_[] = {
688
    196608u, 0u, };
689
0
bool UploadSeekResult_IsValid(int value) {
690
0
  return 0 <= value && value <= 2;
691
0
}
692
0
const ::google::protobuf::EnumDescriptor* MimeEncoder_descriptor() {
693
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_curl_5ffuzzer_2eproto);
694
0
  return file_level_enum_descriptors_curl_5ffuzzer_2eproto[2];
695
0
}
696
PROTOBUF_CONSTINIT const uint32_t MimeEncoder_internal_data_[] = {
697
    393216u, 0u, };
698
0
bool MimeEncoder_IsValid(int value) {
699
0
  return 0 <= value && value <= 5;
700
0
}
701
0
const ::google::protobuf::EnumDescriptor* Scheme_descriptor() {
702
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_curl_5ffuzzer_2eproto);
703
0
  return file_level_enum_descriptors_curl_5ffuzzer_2eproto[3];
704
0
}
705
PROTOBUF_CONSTINIT const uint32_t Scheme_internal_data_[] = {
706
    327680u, 0u, };
707
0
bool Scheme_IsValid(int value) {
708
0
  return 0 <= value && value <= 4;
709
0
}
710
0
const ::google::protobuf::EnumDescriptor* CurlOptionId_descriptor() {
711
0
  ::google::protobuf::internal::AssignDescriptors(&descriptor_table_curl_5ffuzzer_2eproto);
712
0
  return file_level_enum_descriptors_curl_5ffuzzer_2eproto[4];
713
0
}
714
PROTOBUF_CONSTINIT const uint32_t CurlOptionId_internal_data_[] = {
715
    65536u, 1179968u, 67108864u, 2181593601u, 2148042264u, 1282u, 805310592u, 2049u, 16384u, 1049092u, 2963275776u, 2248147968u, 10174u, 10036u, 30115u, 10016u, 10135u, 10266u, 30117u, 10007u, 10022u, 10102u, 10173u, 10220u, 10305u, 30116u, 30270u, 10005u, 10015u, 10018u, };
716
0
bool CurlOptionId_IsValid(int value) {
717
0
  return ::_pbi::ValidateEnum(value, CurlOptionId_internal_data_);
718
0
}
719
// ===================================================================
720
721
class Scenario::_Internal {
722
 public:
723
  using HasBits =
724
      decltype(std::declval<Scenario>()._impl_._has_bits_);
725
  static constexpr ::int32_t kHasBitsOffset =
726
      8 * PROTOBUF_FIELD_OFFSET(Scenario, _impl_._has_bits_);
727
};
728
729
Scenario::Scenario(::google::protobuf::Arena* arena)
730
#if defined(PROTOBUF_CUSTOM_VTABLE)
731
    : ::google::protobuf::Message(arena, _class_data_.base()) {
732
#else   // PROTOBUF_CUSTOM_VTABLE
733
10.4k
    : ::google::protobuf::Message(arena) {
734
10.4k
#endif  // PROTOBUF_CUSTOM_VTABLE
735
10.4k
  SharedCtor(arena);
736
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.Scenario)
737
10.4k
}
738
inline PROTOBUF_NDEBUG_INLINE Scenario::Impl_::Impl_(
739
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
740
    const Impl_& from, const ::curl::fuzzer::proto::Scenario& from_msg)
741
0
      : _has_bits_{from._has_bits_},
742
0
        _cached_size_{0},
743
0
        options_{visibility, arena, from.options_},
744
0
        request_headers_{visibility, arena, from.request_headers_},
745
0
        subsequent_connections_{visibility, arena, from.subsequent_connections_},
746
0
        host_path_(arena, from.host_path_) {}
747
748
Scenario::Scenario(
749
    ::google::protobuf::Arena* arena,
750
    const Scenario& from)
751
#if defined(PROTOBUF_CUSTOM_VTABLE)
752
    : ::google::protobuf::Message(arena, _class_data_.base()) {
753
#else   // PROTOBUF_CUSTOM_VTABLE
754
0
    : ::google::protobuf::Message(arena) {
755
0
#endif  // PROTOBUF_CUSTOM_VTABLE
756
0
  Scenario* const _this = this;
757
0
  (void)_this;
758
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
759
0
      from._internal_metadata_);
760
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
761
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
762
0
  _impl_.connection_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::Connection>(
763
0
                              arena, *from._impl_.connection_)
764
0
                        : nullptr;
765
0
  _impl_.mime_post_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::MimePost>(
766
0
                              arena, *from._impl_.mime_post_)
767
0
                        : nullptr;
768
0
  _impl_.upload_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::UploadScript>(
769
0
                              arena, *from._impl_.upload_)
770
0
                        : nullptr;
771
0
  _impl_.scheme_ = from._impl_.scheme_;
772
773
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.Scenario)
774
0
}
775
inline PROTOBUF_NDEBUG_INLINE Scenario::Impl_::Impl_(
776
    ::google::protobuf::internal::InternalVisibility visibility,
777
    ::google::protobuf::Arena* arena)
778
10.4k
      : _cached_size_{0},
779
10.4k
        options_{visibility, arena},
780
10.4k
        request_headers_{visibility, arena},
781
10.4k
        subsequent_connections_{visibility, arena},
782
10.4k
        host_path_(arena) {}
783
784
10.4k
inline void Scenario::SharedCtor(::_pb::Arena* arena) {
785
10.4k
  new (&_impl_) Impl_(internal_visibility(), arena);
786
10.4k
  ::memset(reinterpret_cast<char *>(&_impl_) +
787
10.4k
               offsetof(Impl_, connection_),
788
10.4k
           0,
789
10.4k
           offsetof(Impl_, scheme_) -
790
10.4k
               offsetof(Impl_, connection_) +
791
10.4k
               sizeof(Impl_::scheme_));
792
10.4k
}
793
10.4k
Scenario::~Scenario() {
794
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.Scenario)
795
10.4k
  SharedDtor(*this);
796
10.4k
}
797
10.4k
inline void Scenario::SharedDtor(MessageLite& self) {
798
10.4k
  Scenario& this_ = static_cast<Scenario&>(self);
799
10.4k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
800
10.4k
  ABSL_DCHECK(this_.GetArena() == nullptr);
801
10.4k
  this_._impl_.host_path_.Destroy();
802
10.4k
  delete this_._impl_.connection_;
803
10.4k
  delete this_._impl_.mime_post_;
804
10.4k
  delete this_._impl_.upload_;
805
10.4k
  this_._impl_.~Impl_();
806
10.4k
}
807
808
inline void* Scenario::PlacementNew_(const void*, void* mem,
809
0
                                        ::google::protobuf::Arena* arena) {
810
0
  return ::new (mem) Scenario(arena);
811
0
}
812
0
constexpr auto Scenario::InternalNewImpl_() {
813
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
814
0
      PROTOBUF_FIELD_OFFSET(Scenario, _impl_.options_) +
815
0
          decltype(Scenario::_impl_.options_)::
816
0
              InternalGetArenaOffset(
817
0
                  ::google::protobuf::Message::internal_visibility()),
818
0
      PROTOBUF_FIELD_OFFSET(Scenario, _impl_.request_headers_) +
819
0
          decltype(Scenario::_impl_.request_headers_)::
820
0
              InternalGetArenaOffset(
821
0
                  ::google::protobuf::Message::internal_visibility()),
822
0
      PROTOBUF_FIELD_OFFSET(Scenario, _impl_.subsequent_connections_) +
823
0
          decltype(Scenario::_impl_.subsequent_connections_)::
824
0
              InternalGetArenaOffset(
825
0
                  ::google::protobuf::Message::internal_visibility()),
826
0
  });
827
0
  if (arena_bits.has_value()) {
828
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
829
0
        sizeof(Scenario), alignof(Scenario), *arena_bits);
830
0
  } else {
831
0
    return ::google::protobuf::internal::MessageCreator(&Scenario::PlacementNew_,
832
0
                                 sizeof(Scenario),
833
0
                                 alignof(Scenario));
834
0
  }
835
0
}
836
PROTOBUF_CONSTINIT
837
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
838
const ::google::protobuf::internal::ClassDataFull Scenario::_class_data_ = {
839
    ::google::protobuf::internal::ClassData{
840
        &_Scenario_default_instance_._instance,
841
        &_table_.header,
842
        nullptr,  // OnDemandRegisterArenaDtor
843
        nullptr,  // IsInitialized
844
        &Scenario::MergeImpl,
845
        ::google::protobuf::Message::GetNewImpl<Scenario>(),
846
#if defined(PROTOBUF_CUSTOM_VTABLE)
847
        &Scenario::SharedDtor,
848
        ::google::protobuf::Message::GetClearImpl<Scenario>(), &Scenario::ByteSizeLong,
849
            &Scenario::_InternalSerialize,
850
#endif  // PROTOBUF_CUSTOM_VTABLE
851
        PROTOBUF_FIELD_OFFSET(Scenario, _impl_._cached_size_),
852
        false,
853
    },
854
    &Scenario::kDescriptorMethods,
855
    &descriptor_table_curl_5ffuzzer_2eproto,
856
    nullptr,  // tracker
857
};
858
71.6k
const ::google::protobuf::internal::ClassData* Scenario::GetClassData() const {
859
71.6k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
860
71.6k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
861
71.6k
  return _class_data_.base();
862
71.6k
}
863
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
864
const ::_pbi::TcParseTable<3, 8, 5, 0, 2> Scenario::_table_ = {
865
  {
866
    PROTOBUF_FIELD_OFFSET(Scenario, _impl_._has_bits_),
867
    0, // no _extensions_
868
    8, 56,  // max_field_number, fast_idx_mask
869
    offsetof(decltype(_table_), field_lookup_table),
870
    4294967040,  // skipmap
871
    offsetof(decltype(_table_), field_entries),
872
    8,  // num_field_entries
873
    5,  // num_aux_entries
874
    offsetof(decltype(_table_), aux_entries),
875
    _class_data_.base(),
876
    nullptr,  // post_loop_handler
877
    ::_pbi::TcParser::GenericFallback,  // fallback
878
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
879
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::Scenario>(),  // to_prefetch
880
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
881
  }, {{
882
    // .curl.fuzzer.proto.UploadScript upload = 8;
883
    {::_pbi::TcParser::FastMtS1,
884
     {66, 2, 4, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.upload_)}},
885
    // .curl.fuzzer.proto.Scheme scheme = 1;
886
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Scenario, _impl_.scheme_), 63>(),
887
     {8, 63, 0, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.scheme_)}},
888
    // bytes host_path = 2;
889
    {::_pbi::TcParser::FastBS1,
890
     {18, 63, 0, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.host_path_)}},
891
    // repeated .curl.fuzzer.proto.SetOption options = 3;
892
    {::_pbi::TcParser::FastMtR1,
893
     {26, 63, 0, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.options_)}},
894
    // .curl.fuzzer.proto.Connection connection = 4;
895
    {::_pbi::TcParser::FastMtS1,
896
     {34, 0, 1, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.connection_)}},
897
    // repeated bytes request_headers = 5;
898
    {::_pbi::TcParser::FastBR1,
899
     {42, 63, 0, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.request_headers_)}},
900
    // .curl.fuzzer.proto.MimePost mime_post = 6;
901
    {::_pbi::TcParser::FastMtS1,
902
     {50, 1, 2, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.mime_post_)}},
903
    // repeated .curl.fuzzer.proto.Connection subsequent_connections = 7;
904
    {::_pbi::TcParser::FastMtR1,
905
     {58, 63, 3, PROTOBUF_FIELD_OFFSET(Scenario, _impl_.subsequent_connections_)}},
906
  }}, {{
907
    65535, 65535
908
  }}, {{
909
    // .curl.fuzzer.proto.Scheme scheme = 1;
910
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.scheme_), -1, 0,
911
    (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
912
    // bytes host_path = 2;
913
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.host_path_), -1, 0,
914
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
915
    // repeated .curl.fuzzer.proto.SetOption options = 3;
916
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.options_), -1, 0,
917
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
918
    // .curl.fuzzer.proto.Connection connection = 4;
919
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.connection_), _Internal::kHasBitsOffset + 0, 1,
920
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
921
    // repeated bytes request_headers = 5;
922
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.request_headers_), -1, 0,
923
    (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
924
    // .curl.fuzzer.proto.MimePost mime_post = 6;
925
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.mime_post_), _Internal::kHasBitsOffset + 1, 2,
926
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
927
    // repeated .curl.fuzzer.proto.Connection subsequent_connections = 7;
928
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.subsequent_connections_), -1, 3,
929
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
930
    // .curl.fuzzer.proto.UploadScript upload = 8;
931
    {PROTOBUF_FIELD_OFFSET(Scenario, _impl_.upload_), _Internal::kHasBitsOffset + 2, 4,
932
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
933
  }}, {{
934
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::SetOption>()},
935
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::Connection>()},
936
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimePost>()},
937
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::Connection>()},
938
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::UploadScript>()},
939
  }}, {{
940
  }},
941
};
942
943
21.0k
PROTOBUF_NOINLINE void Scenario::Clear() {
944
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.Scenario)
945
21.0k
  ::google::protobuf::internal::TSanWrite(&_impl_);
946
21.0k
  ::uint32_t cached_has_bits = 0;
947
  // Prevent compiler warnings about cached_has_bits being unused
948
21.0k
  (void) cached_has_bits;
949
950
21.0k
  _impl_.options_.Clear();
951
21.0k
  _impl_.request_headers_.Clear();
952
21.0k
  _impl_.subsequent_connections_.Clear();
953
21.0k
  _impl_.host_path_.ClearToEmpty();
954
21.0k
  cached_has_bits = _impl_._has_bits_[0];
955
21.0k
  if (cached_has_bits & 0x00000007u) {
956
179
    if (cached_has_bits & 0x00000001u) {
957
85
      ABSL_DCHECK(_impl_.connection_ != nullptr);
958
85
      _impl_.connection_->Clear();
959
85
    }
960
179
    if (cached_has_bits & 0x00000002u) {
961
61
      ABSL_DCHECK(_impl_.mime_post_ != nullptr);
962
61
      _impl_.mime_post_->Clear();
963
61
    }
964
179
    if (cached_has_bits & 0x00000004u) {
965
63
      ABSL_DCHECK(_impl_.upload_ != nullptr);
966
63
      _impl_.upload_->Clear();
967
63
    }
968
179
  }
969
21.0k
  _impl_.scheme_ = 0;
970
21.0k
  _impl_._has_bits_.Clear();
971
21.0k
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
972
21.0k
}
973
974
#if defined(PROTOBUF_CUSTOM_VTABLE)
975
        ::uint8_t* Scenario::_InternalSerialize(
976
            const MessageLite& base, ::uint8_t* target,
977
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
978
          const Scenario& this_ = static_cast<const Scenario&>(base);
979
#else   // PROTOBUF_CUSTOM_VTABLE
980
        ::uint8_t* Scenario::_InternalSerialize(
981
            ::uint8_t* target,
982
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
983
0
          const Scenario& this_ = *this;
984
0
#endif  // PROTOBUF_CUSTOM_VTABLE
985
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.Scenario)
986
0
          ::uint32_t cached_has_bits = 0;
987
0
          (void)cached_has_bits;
988
989
          // .curl.fuzzer.proto.Scheme scheme = 1;
990
0
          if (this_._internal_scheme() != 0) {
991
0
            target = stream->EnsureSpace(target);
992
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
993
0
                1, this_._internal_scheme(), target);
994
0
          }
995
996
          // bytes host_path = 2;
997
0
          if (!this_._internal_host_path().empty()) {
998
0
            const std::string& _s = this_._internal_host_path();
999
0
            target = stream->WriteBytesMaybeAliased(2, _s, target);
1000
0
          }
1001
1002
          // repeated .curl.fuzzer.proto.SetOption options = 3;
1003
0
          for (unsigned i = 0, n = static_cast<unsigned>(
1004
0
                                   this_._internal_options_size());
1005
0
               i < n; i++) {
1006
0
            const auto& repfield = this_._internal_options().Get(i);
1007
0
            target =
1008
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1009
0
                    3, repfield, repfield.GetCachedSize(),
1010
0
                    target, stream);
1011
0
          }
1012
1013
0
          cached_has_bits = this_._impl_._has_bits_[0];
1014
          // .curl.fuzzer.proto.Connection connection = 4;
1015
0
          if (cached_has_bits & 0x00000001u) {
1016
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1017
0
                4, *this_._impl_.connection_, this_._impl_.connection_->GetCachedSize(), target,
1018
0
                stream);
1019
0
          }
1020
1021
          // repeated bytes request_headers = 5;
1022
0
          for (int i = 0, n = this_._internal_request_headers_size(); i < n; ++i) {
1023
0
            const auto& s = this_._internal_request_headers().Get(i);
1024
0
            target = stream->WriteBytes(5, s, target);
1025
0
          }
1026
1027
          // .curl.fuzzer.proto.MimePost mime_post = 6;
1028
0
          if (cached_has_bits & 0x00000002u) {
1029
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1030
0
                6, *this_._impl_.mime_post_, this_._impl_.mime_post_->GetCachedSize(), target,
1031
0
                stream);
1032
0
          }
1033
1034
          // repeated .curl.fuzzer.proto.Connection subsequent_connections = 7;
1035
0
          for (unsigned i = 0, n = static_cast<unsigned>(
1036
0
                                   this_._internal_subsequent_connections_size());
1037
0
               i < n; i++) {
1038
0
            const auto& repfield = this_._internal_subsequent_connections().Get(i);
1039
0
            target =
1040
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1041
0
                    7, repfield, repfield.GetCachedSize(),
1042
0
                    target, stream);
1043
0
          }
1044
1045
          // .curl.fuzzer.proto.UploadScript upload = 8;
1046
0
          if (cached_has_bits & 0x00000004u) {
1047
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1048
0
                8, *this_._impl_.upload_, this_._impl_.upload_->GetCachedSize(), target,
1049
0
                stream);
1050
0
          }
1051
1052
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1053
0
            target =
1054
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1055
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1056
0
          }
1057
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.Scenario)
1058
0
          return target;
1059
0
        }
1060
1061
#if defined(PROTOBUF_CUSTOM_VTABLE)
1062
        ::size_t Scenario::ByteSizeLong(const MessageLite& base) {
1063
          const Scenario& this_ = static_cast<const Scenario&>(base);
1064
#else   // PROTOBUF_CUSTOM_VTABLE
1065
0
        ::size_t Scenario::ByteSizeLong() const {
1066
0
          const Scenario& this_ = *this;
1067
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1068
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.Scenario)
1069
0
          ::size_t total_size = 0;
1070
1071
0
          ::uint32_t cached_has_bits = 0;
1072
          // Prevent compiler warnings about cached_has_bits being unused
1073
0
          (void)cached_has_bits;
1074
1075
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1076
0
           {
1077
            // repeated .curl.fuzzer.proto.SetOption options = 3;
1078
0
            {
1079
0
              total_size += 1UL * this_._internal_options_size();
1080
0
              for (const auto& msg : this_._internal_options()) {
1081
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1082
0
              }
1083
0
            }
1084
            // repeated bytes request_headers = 5;
1085
0
            {
1086
0
              total_size +=
1087
0
                  1 * ::google::protobuf::internal::FromIntSize(this_._internal_request_headers().size());
1088
0
              for (int i = 0, n = this_._internal_request_headers().size(); i < n; ++i) {
1089
0
                total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
1090
0
                    this_._internal_request_headers().Get(i));
1091
0
              }
1092
0
            }
1093
            // repeated .curl.fuzzer.proto.Connection subsequent_connections = 7;
1094
0
            {
1095
0
              total_size += 1UL * this_._internal_subsequent_connections_size();
1096
0
              for (const auto& msg : this_._internal_subsequent_connections()) {
1097
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1098
0
              }
1099
0
            }
1100
0
          }
1101
0
           {
1102
            // bytes host_path = 2;
1103
0
            if (!this_._internal_host_path().empty()) {
1104
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
1105
0
                                              this_._internal_host_path());
1106
0
            }
1107
0
          }
1108
0
          cached_has_bits = this_._impl_._has_bits_[0];
1109
0
          if (cached_has_bits & 0x00000007u) {
1110
            // .curl.fuzzer.proto.Connection connection = 4;
1111
0
            if (cached_has_bits & 0x00000001u) {
1112
0
              total_size += 1 +
1113
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.connection_);
1114
0
            }
1115
            // .curl.fuzzer.proto.MimePost mime_post = 6;
1116
0
            if (cached_has_bits & 0x00000002u) {
1117
0
              total_size += 1 +
1118
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mime_post_);
1119
0
            }
1120
            // .curl.fuzzer.proto.UploadScript upload = 8;
1121
0
            if (cached_has_bits & 0x00000004u) {
1122
0
              total_size += 1 +
1123
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.upload_);
1124
0
            }
1125
0
          }
1126
0
           {
1127
            // .curl.fuzzer.proto.Scheme scheme = 1;
1128
0
            if (this_._internal_scheme() != 0) {
1129
0
              total_size += 1 +
1130
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_scheme());
1131
0
            }
1132
0
          }
1133
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1134
0
                                                     &this_._impl_._cached_size_);
1135
0
        }
1136
1137
0
void Scenario::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1138
0
  auto* const _this = static_cast<Scenario*>(&to_msg);
1139
0
  auto& from = static_cast<const Scenario&>(from_msg);
1140
0
  ::google::protobuf::Arena* arena = _this->GetArena();
1141
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.Scenario)
1142
0
  ABSL_DCHECK_NE(&from, _this);
1143
0
  ::uint32_t cached_has_bits = 0;
1144
0
  (void) cached_has_bits;
1145
1146
0
  _this->_internal_mutable_options()->MergeFrom(
1147
0
      from._internal_options());
1148
0
  _this->_internal_mutable_request_headers()->MergeFrom(from._internal_request_headers());
1149
0
  _this->_internal_mutable_subsequent_connections()->MergeFrom(
1150
0
      from._internal_subsequent_connections());
1151
0
  if (!from._internal_host_path().empty()) {
1152
0
    _this->_internal_set_host_path(from._internal_host_path());
1153
0
  }
1154
0
  cached_has_bits = from._impl_._has_bits_[0];
1155
0
  if (cached_has_bits & 0x00000007u) {
1156
0
    if (cached_has_bits & 0x00000001u) {
1157
0
      ABSL_DCHECK(from._impl_.connection_ != nullptr);
1158
0
      if (_this->_impl_.connection_ == nullptr) {
1159
0
        _this->_impl_.connection_ =
1160
0
            ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::Connection>(arena, *from._impl_.connection_);
1161
0
      } else {
1162
0
        _this->_impl_.connection_->MergeFrom(*from._impl_.connection_);
1163
0
      }
1164
0
    }
1165
0
    if (cached_has_bits & 0x00000002u) {
1166
0
      ABSL_DCHECK(from._impl_.mime_post_ != nullptr);
1167
0
      if (_this->_impl_.mime_post_ == nullptr) {
1168
0
        _this->_impl_.mime_post_ =
1169
0
            ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::MimePost>(arena, *from._impl_.mime_post_);
1170
0
      } else {
1171
0
        _this->_impl_.mime_post_->MergeFrom(*from._impl_.mime_post_);
1172
0
      }
1173
0
    }
1174
0
    if (cached_has_bits & 0x00000004u) {
1175
0
      ABSL_DCHECK(from._impl_.upload_ != nullptr);
1176
0
      if (_this->_impl_.upload_ == nullptr) {
1177
0
        _this->_impl_.upload_ =
1178
0
            ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::UploadScript>(arena, *from._impl_.upload_);
1179
0
      } else {
1180
0
        _this->_impl_.upload_->MergeFrom(*from._impl_.upload_);
1181
0
      }
1182
0
    }
1183
0
  }
1184
0
  if (from._internal_scheme() != 0) {
1185
0
    _this->_impl_.scheme_ = from._impl_.scheme_;
1186
0
  }
1187
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
1188
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1189
0
}
1190
1191
0
void Scenario::CopyFrom(const Scenario& from) {
1192
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.Scenario)
1193
0
  if (&from == this) return;
1194
0
  Clear();
1195
0
  MergeFrom(from);
1196
0
}
1197
1198
1199
0
void Scenario::InternalSwap(Scenario* PROTOBUF_RESTRICT other) {
1200
0
  using std::swap;
1201
0
  auto* arena = GetArena();
1202
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
1203
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1204
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1205
0
  _impl_.options_.InternalSwap(&other->_impl_.options_);
1206
0
  _impl_.request_headers_.InternalSwap(&other->_impl_.request_headers_);
1207
0
  _impl_.subsequent_connections_.InternalSwap(&other->_impl_.subsequent_connections_);
1208
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.host_path_, &other->_impl_.host_path_, arena);
1209
0
  ::google::protobuf::internal::memswap<
1210
0
      PROTOBUF_FIELD_OFFSET(Scenario, _impl_.scheme_)
1211
0
      + sizeof(Scenario::_impl_.scheme_)
1212
0
      - PROTOBUF_FIELD_OFFSET(Scenario, _impl_.connection_)>(
1213
0
          reinterpret_cast<char*>(&_impl_.connection_),
1214
0
          reinterpret_cast<char*>(&other->_impl_.connection_));
1215
0
}
1216
1217
6
::google::protobuf::Metadata Scenario::GetMetadata() const {
1218
6
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1219
6
}
1220
// ===================================================================
1221
1222
class UploadScript::_Internal {
1223
 public:
1224
};
1225
1226
UploadScript::UploadScript(::google::protobuf::Arena* arena)
1227
#if defined(PROTOBUF_CUSTOM_VTABLE)
1228
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1229
#else   // PROTOBUF_CUSTOM_VTABLE
1230
0
    : ::google::protobuf::Message(arena) {
1231
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1232
0
  SharedCtor(arena);
1233
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.UploadScript)
1234
0
}
1235
inline PROTOBUF_NDEBUG_INLINE UploadScript::Impl_::Impl_(
1236
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1237
    const Impl_& from, const ::curl::fuzzer::proto::UploadScript& from_msg)
1238
0
      : read_sizes_{visibility, arena, from.read_sizes_},
1239
0
        _read_sizes_cached_byte_size_{0},
1240
0
        data_(arena, from.data_),
1241
0
        _cached_size_{0} {}
1242
1243
UploadScript::UploadScript(
1244
    ::google::protobuf::Arena* arena,
1245
    const UploadScript& from)
1246
#if defined(PROTOBUF_CUSTOM_VTABLE)
1247
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1248
#else   // PROTOBUF_CUSTOM_VTABLE
1249
0
    : ::google::protobuf::Message(arena) {
1250
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1251
0
  UploadScript* const _this = this;
1252
0
  (void)_this;
1253
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1254
0
      from._internal_metadata_);
1255
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1256
0
  ::memcpy(reinterpret_cast<char *>(&_impl_) +
1257
0
               offsetof(Impl_, terminal_),
1258
0
           reinterpret_cast<const char *>(&from._impl_) +
1259
0
               offsetof(Impl_, terminal_),
1260
0
           offsetof(Impl_, seek_result_) -
1261
0
               offsetof(Impl_, terminal_) +
1262
0
               sizeof(Impl_::seek_result_));
1263
1264
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.UploadScript)
1265
0
}
1266
inline PROTOBUF_NDEBUG_INLINE UploadScript::Impl_::Impl_(
1267
    ::google::protobuf::internal::InternalVisibility visibility,
1268
    ::google::protobuf::Arena* arena)
1269
0
      : read_sizes_{visibility, arena},
1270
0
        _read_sizes_cached_byte_size_{0},
1271
0
        data_(arena),
1272
0
        _cached_size_{0} {}
1273
1274
0
inline void UploadScript::SharedCtor(::_pb::Arena* arena) {
1275
0
  new (&_impl_) Impl_(internal_visibility(), arena);
1276
0
  ::memset(reinterpret_cast<char *>(&_impl_) +
1277
0
               offsetof(Impl_, terminal_),
1278
0
           0,
1279
0
           offsetof(Impl_, seek_result_) -
1280
0
               offsetof(Impl_, terminal_) +
1281
0
               sizeof(Impl_::seek_result_));
1282
0
}
1283
120
UploadScript::~UploadScript() {
1284
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.UploadScript)
1285
120
  SharedDtor(*this);
1286
120
}
1287
120
inline void UploadScript::SharedDtor(MessageLite& self) {
1288
120
  UploadScript& this_ = static_cast<UploadScript&>(self);
1289
120
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1290
120
  ABSL_DCHECK(this_.GetArena() == nullptr);
1291
120
  this_._impl_.data_.Destroy();
1292
120
  this_._impl_.~Impl_();
1293
120
}
1294
1295
inline void* UploadScript::PlacementNew_(const void*, void* mem,
1296
0
                                        ::google::protobuf::Arena* arena) {
1297
0
  return ::new (mem) UploadScript(arena);
1298
0
}
1299
0
constexpr auto UploadScript::InternalNewImpl_() {
1300
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1301
0
      PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.read_sizes_) +
1302
0
          decltype(UploadScript::_impl_.read_sizes_)::
1303
0
              InternalGetArenaOffset(
1304
0
                  ::google::protobuf::Message::internal_visibility()),
1305
0
  });
1306
0
  if (arena_bits.has_value()) {
1307
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
1308
0
        sizeof(UploadScript), alignof(UploadScript), *arena_bits);
1309
0
  } else {
1310
0
    return ::google::protobuf::internal::MessageCreator(&UploadScript::PlacementNew_,
1311
0
                                 sizeof(UploadScript),
1312
0
                                 alignof(UploadScript));
1313
0
  }
1314
0
}
1315
PROTOBUF_CONSTINIT
1316
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1317
const ::google::protobuf::internal::ClassDataFull UploadScript::_class_data_ = {
1318
    ::google::protobuf::internal::ClassData{
1319
        &_UploadScript_default_instance_._instance,
1320
        &_table_.header,
1321
        nullptr,  // OnDemandRegisterArenaDtor
1322
        nullptr,  // IsInitialized
1323
        &UploadScript::MergeImpl,
1324
        ::google::protobuf::Message::GetNewImpl<UploadScript>(),
1325
#if defined(PROTOBUF_CUSTOM_VTABLE)
1326
        &UploadScript::SharedDtor,
1327
        ::google::protobuf::Message::GetClearImpl<UploadScript>(), &UploadScript::ByteSizeLong,
1328
            &UploadScript::_InternalSerialize,
1329
#endif  // PROTOBUF_CUSTOM_VTABLE
1330
        PROTOBUF_FIELD_OFFSET(UploadScript, _impl_._cached_size_),
1331
        false,
1332
    },
1333
    &UploadScript::kDescriptorMethods,
1334
    &descriptor_table_curl_5ffuzzer_2eproto,
1335
    nullptr,  // tracker
1336
};
1337
349
const ::google::protobuf::internal::ClassData* UploadScript::GetClassData() const {
1338
349
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1339
349
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1340
349
  return _class_data_.base();
1341
349
}
1342
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1343
const ::_pbi::TcParseTable<2, 4, 0, 0, 2> UploadScript::_table_ = {
1344
  {
1345
    0,  // no _has_bits_
1346
    0, // no _extensions_
1347
    4, 24,  // max_field_number, fast_idx_mask
1348
    offsetof(decltype(_table_), field_lookup_table),
1349
    4294967280,  // skipmap
1350
    offsetof(decltype(_table_), field_entries),
1351
    4,  // num_field_entries
1352
    0,  // num_aux_entries
1353
    offsetof(decltype(_table_), field_names),  // no aux_entries
1354
    _class_data_.base(),
1355
    nullptr,  // post_loop_handler
1356
    ::_pbi::TcParser::GenericFallback,  // fallback
1357
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1358
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::UploadScript>(),  // to_prefetch
1359
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1360
  }, {{
1361
    // .curl.fuzzer.proto.UploadSeekResult seek_result = 4;
1362
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UploadScript, _impl_.seek_result_), 63>(),
1363
     {32, 63, 0, PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.seek_result_)}},
1364
    // bytes data = 1;
1365
    {::_pbi::TcParser::FastBS1,
1366
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.data_)}},
1367
    // repeated uint32 read_sizes = 2;
1368
    {::_pbi::TcParser::FastV32P1,
1369
     {18, 63, 0, PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.read_sizes_)}},
1370
    // .curl.fuzzer.proto.UploadTerminal terminal = 3;
1371
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UploadScript, _impl_.terminal_), 63>(),
1372
     {24, 63, 0, PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.terminal_)}},
1373
  }}, {{
1374
    65535, 65535
1375
  }}, {{
1376
    // bytes data = 1;
1377
    {PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.data_), 0, 0,
1378
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
1379
    // repeated uint32 read_sizes = 2;
1380
    {PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.read_sizes_), 0, 0,
1381
    (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)},
1382
    // .curl.fuzzer.proto.UploadTerminal terminal = 3;
1383
    {PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.terminal_), 0, 0,
1384
    (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
1385
    // .curl.fuzzer.proto.UploadSeekResult seek_result = 4;
1386
    {PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.seek_result_), 0, 0,
1387
    (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
1388
  }},
1389
  // no aux_entries
1390
  {{
1391
  }},
1392
};
1393
1394
63
PROTOBUF_NOINLINE void UploadScript::Clear() {
1395
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.UploadScript)
1396
63
  ::google::protobuf::internal::TSanWrite(&_impl_);
1397
63
  ::uint32_t cached_has_bits = 0;
1398
  // Prevent compiler warnings about cached_has_bits being unused
1399
63
  (void) cached_has_bits;
1400
1401
63
  _impl_.read_sizes_.Clear();
1402
63
  _impl_.data_.ClearToEmpty();
1403
63
  ::memset(&_impl_.terminal_, 0, static_cast<::size_t>(
1404
63
      reinterpret_cast<char*>(&_impl_.seek_result_) -
1405
63
      reinterpret_cast<char*>(&_impl_.terminal_)) + sizeof(_impl_.seek_result_));
1406
63
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1407
63
}
1408
1409
#if defined(PROTOBUF_CUSTOM_VTABLE)
1410
        ::uint8_t* UploadScript::_InternalSerialize(
1411
            const MessageLite& base, ::uint8_t* target,
1412
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1413
          const UploadScript& this_ = static_cast<const UploadScript&>(base);
1414
#else   // PROTOBUF_CUSTOM_VTABLE
1415
        ::uint8_t* UploadScript::_InternalSerialize(
1416
            ::uint8_t* target,
1417
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1418
0
          const UploadScript& this_ = *this;
1419
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1420
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.UploadScript)
1421
0
          ::uint32_t cached_has_bits = 0;
1422
0
          (void)cached_has_bits;
1423
1424
          // bytes data = 1;
1425
0
          if (!this_._internal_data().empty()) {
1426
0
            const std::string& _s = this_._internal_data();
1427
0
            target = stream->WriteBytesMaybeAliased(1, _s, target);
1428
0
          }
1429
1430
          // repeated uint32 read_sizes = 2;
1431
0
          {
1432
0
            int byte_size = this_._impl_._read_sizes_cached_byte_size_.Get();
1433
0
            if (byte_size > 0) {
1434
0
              target = stream->WriteUInt32Packed(
1435
0
                  2, this_._internal_read_sizes(), byte_size, target);
1436
0
            }
1437
0
          }
1438
1439
          // .curl.fuzzer.proto.UploadTerminal terminal = 3;
1440
0
          if (this_._internal_terminal() != 0) {
1441
0
            target = stream->EnsureSpace(target);
1442
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
1443
0
                3, this_._internal_terminal(), target);
1444
0
          }
1445
1446
          // .curl.fuzzer.proto.UploadSeekResult seek_result = 4;
1447
0
          if (this_._internal_seek_result() != 0) {
1448
0
            target = stream->EnsureSpace(target);
1449
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
1450
0
                4, this_._internal_seek_result(), target);
1451
0
          }
1452
1453
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1454
0
            target =
1455
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1456
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1457
0
          }
1458
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.UploadScript)
1459
0
          return target;
1460
0
        }
1461
1462
#if defined(PROTOBUF_CUSTOM_VTABLE)
1463
        ::size_t UploadScript::ByteSizeLong(const MessageLite& base) {
1464
          const UploadScript& this_ = static_cast<const UploadScript&>(base);
1465
#else   // PROTOBUF_CUSTOM_VTABLE
1466
0
        ::size_t UploadScript::ByteSizeLong() const {
1467
0
          const UploadScript& this_ = *this;
1468
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1469
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.UploadScript)
1470
0
          ::size_t total_size = 0;
1471
1472
0
          ::uint32_t cached_has_bits = 0;
1473
          // Prevent compiler warnings about cached_has_bits being unused
1474
0
          (void)cached_has_bits;
1475
1476
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1477
0
           {
1478
            // repeated uint32 read_sizes = 2;
1479
0
            {
1480
0
              total_size +=
1481
0
                  ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize(
1482
0
                      this_._internal_read_sizes(), 1,
1483
0
                      this_._impl_._read_sizes_cached_byte_size_);
1484
0
            }
1485
0
          }
1486
0
           {
1487
            // bytes data = 1;
1488
0
            if (!this_._internal_data().empty()) {
1489
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
1490
0
                                              this_._internal_data());
1491
0
            }
1492
            // .curl.fuzzer.proto.UploadTerminal terminal = 3;
1493
0
            if (this_._internal_terminal() != 0) {
1494
0
              total_size += 1 +
1495
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_terminal());
1496
0
            }
1497
            // .curl.fuzzer.proto.UploadSeekResult seek_result = 4;
1498
0
            if (this_._internal_seek_result() != 0) {
1499
0
              total_size += 1 +
1500
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_seek_result());
1501
0
            }
1502
0
          }
1503
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1504
0
                                                     &this_._impl_._cached_size_);
1505
0
        }
1506
1507
0
void UploadScript::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1508
0
  auto* const _this = static_cast<UploadScript*>(&to_msg);
1509
0
  auto& from = static_cast<const UploadScript&>(from_msg);
1510
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.UploadScript)
1511
0
  ABSL_DCHECK_NE(&from, _this);
1512
0
  ::uint32_t cached_has_bits = 0;
1513
0
  (void) cached_has_bits;
1514
1515
0
  _this->_internal_mutable_read_sizes()->MergeFrom(from._internal_read_sizes());
1516
0
  if (!from._internal_data().empty()) {
1517
0
    _this->_internal_set_data(from._internal_data());
1518
0
  }
1519
0
  if (from._internal_terminal() != 0) {
1520
0
    _this->_impl_.terminal_ = from._impl_.terminal_;
1521
0
  }
1522
0
  if (from._internal_seek_result() != 0) {
1523
0
    _this->_impl_.seek_result_ = from._impl_.seek_result_;
1524
0
  }
1525
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1526
0
}
1527
1528
0
void UploadScript::CopyFrom(const UploadScript& from) {
1529
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.UploadScript)
1530
0
  if (&from == this) return;
1531
0
  Clear();
1532
0
  MergeFrom(from);
1533
0
}
1534
1535
1536
0
void UploadScript::InternalSwap(UploadScript* PROTOBUF_RESTRICT other) {
1537
0
  using std::swap;
1538
0
  auto* arena = GetArena();
1539
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
1540
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1541
0
  _impl_.read_sizes_.InternalSwap(&other->_impl_.read_sizes_);
1542
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
1543
0
  ::google::protobuf::internal::memswap<
1544
0
      PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.seek_result_)
1545
0
      + sizeof(UploadScript::_impl_.seek_result_)
1546
0
      - PROTOBUF_FIELD_OFFSET(UploadScript, _impl_.terminal_)>(
1547
0
          reinterpret_cast<char*>(&_impl_.terminal_),
1548
0
          reinterpret_cast<char*>(&other->_impl_.terminal_));
1549
0
}
1550
1551
0
::google::protobuf::Metadata UploadScript::GetMetadata() const {
1552
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1553
0
}
1554
// ===================================================================
1555
1556
class MimePost::_Internal {
1557
 public:
1558
};
1559
1560
MimePost::MimePost(::google::protobuf::Arena* arena)
1561
#if defined(PROTOBUF_CUSTOM_VTABLE)
1562
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1563
#else   // PROTOBUF_CUSTOM_VTABLE
1564
0
    : ::google::protobuf::Message(arena) {
1565
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1566
0
  SharedCtor(arena);
1567
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.MimePost)
1568
0
}
1569
inline PROTOBUF_NDEBUG_INLINE MimePost::Impl_::Impl_(
1570
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1571
    const Impl_& from, const ::curl::fuzzer::proto::MimePost& from_msg)
1572
0
      : parts_{visibility, arena, from.parts_},
1573
0
        _cached_size_{0} {}
1574
1575
MimePost::MimePost(
1576
    ::google::protobuf::Arena* arena,
1577
    const MimePost& from)
1578
#if defined(PROTOBUF_CUSTOM_VTABLE)
1579
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1580
#else   // PROTOBUF_CUSTOM_VTABLE
1581
0
    : ::google::protobuf::Message(arena) {
1582
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1583
0
  MimePost* const _this = this;
1584
0
  (void)_this;
1585
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1586
0
      from._internal_metadata_);
1587
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1588
1589
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.MimePost)
1590
0
}
1591
inline PROTOBUF_NDEBUG_INLINE MimePost::Impl_::Impl_(
1592
    ::google::protobuf::internal::InternalVisibility visibility,
1593
    ::google::protobuf::Arena* arena)
1594
0
      : parts_{visibility, arena},
1595
0
        _cached_size_{0} {}
1596
1597
0
inline void MimePost::SharedCtor(::_pb::Arena* arena) {
1598
0
  new (&_impl_) Impl_(internal_visibility(), arena);
1599
0
}
1600
62
MimePost::~MimePost() {
1601
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.MimePost)
1602
62
  SharedDtor(*this);
1603
62
}
1604
62
inline void MimePost::SharedDtor(MessageLite& self) {
1605
62
  MimePost& this_ = static_cast<MimePost&>(self);
1606
62
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1607
62
  ABSL_DCHECK(this_.GetArena() == nullptr);
1608
62
  this_._impl_.~Impl_();
1609
62
}
1610
1611
inline void* MimePost::PlacementNew_(const void*, void* mem,
1612
0
                                        ::google::protobuf::Arena* arena) {
1613
0
  return ::new (mem) MimePost(arena);
1614
0
}
1615
0
constexpr auto MimePost::InternalNewImpl_() {
1616
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1617
0
      PROTOBUF_FIELD_OFFSET(MimePost, _impl_.parts_) +
1618
0
          decltype(MimePost::_impl_.parts_)::
1619
0
              InternalGetArenaOffset(
1620
0
                  ::google::protobuf::Message::internal_visibility()),
1621
0
  });
1622
0
  if (arena_bits.has_value()) {
1623
0
    return ::google::protobuf::internal::MessageCreator::ZeroInit(
1624
0
        sizeof(MimePost), alignof(MimePost), *arena_bits);
1625
0
  } else {
1626
0
    return ::google::protobuf::internal::MessageCreator(&MimePost::PlacementNew_,
1627
0
                                 sizeof(MimePost),
1628
0
                                 alignof(MimePost));
1629
0
  }
1630
0
}
1631
PROTOBUF_CONSTINIT
1632
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1633
const ::google::protobuf::internal::ClassDataFull MimePost::_class_data_ = {
1634
    ::google::protobuf::internal::ClassData{
1635
        &_MimePost_default_instance_._instance,
1636
        &_table_.header,
1637
        nullptr,  // OnDemandRegisterArenaDtor
1638
        nullptr,  // IsInitialized
1639
        &MimePost::MergeImpl,
1640
        ::google::protobuf::Message::GetNewImpl<MimePost>(),
1641
#if defined(PROTOBUF_CUSTOM_VTABLE)
1642
        &MimePost::SharedDtor,
1643
        ::google::protobuf::Message::GetClearImpl<MimePost>(), &MimePost::ByteSizeLong,
1644
            &MimePost::_InternalSerialize,
1645
#endif  // PROTOBUF_CUSTOM_VTABLE
1646
        PROTOBUF_FIELD_OFFSET(MimePost, _impl_._cached_size_),
1647
        false,
1648
    },
1649
    &MimePost::kDescriptorMethods,
1650
    &descriptor_table_curl_5ffuzzer_2eproto,
1651
    nullptr,  // tracker
1652
};
1653
13
const ::google::protobuf::internal::ClassData* MimePost::GetClassData() const {
1654
13
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1655
13
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1656
13
  return _class_data_.base();
1657
13
}
1658
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1659
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> MimePost::_table_ = {
1660
  {
1661
    0,  // no _has_bits_
1662
    0, // no _extensions_
1663
    1, 0,  // max_field_number, fast_idx_mask
1664
    offsetof(decltype(_table_), field_lookup_table),
1665
    4294967294,  // skipmap
1666
    offsetof(decltype(_table_), field_entries),
1667
    1,  // num_field_entries
1668
    1,  // num_aux_entries
1669
    offsetof(decltype(_table_), aux_entries),
1670
    _class_data_.base(),
1671
    nullptr,  // post_loop_handler
1672
    ::_pbi::TcParser::GenericFallback,  // fallback
1673
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1674
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimePost>(),  // to_prefetch
1675
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1676
  }, {{
1677
    // repeated .curl.fuzzer.proto.MimePart parts = 1;
1678
    {::_pbi::TcParser::FastMtR1,
1679
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(MimePost, _impl_.parts_)}},
1680
  }}, {{
1681
    65535, 65535
1682
  }}, {{
1683
    // repeated .curl.fuzzer.proto.MimePart parts = 1;
1684
    {PROTOBUF_FIELD_OFFSET(MimePost, _impl_.parts_), 0, 0,
1685
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1686
  }}, {{
1687
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimePart>()},
1688
  }}, {{
1689
  }},
1690
};
1691
1692
61
PROTOBUF_NOINLINE void MimePost::Clear() {
1693
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.MimePost)
1694
61
  ::google::protobuf::internal::TSanWrite(&_impl_);
1695
61
  ::uint32_t cached_has_bits = 0;
1696
  // Prevent compiler warnings about cached_has_bits being unused
1697
61
  (void) cached_has_bits;
1698
1699
61
  _impl_.parts_.Clear();
1700
61
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1701
61
}
1702
1703
#if defined(PROTOBUF_CUSTOM_VTABLE)
1704
        ::uint8_t* MimePost::_InternalSerialize(
1705
            const MessageLite& base, ::uint8_t* target,
1706
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1707
          const MimePost& this_ = static_cast<const MimePost&>(base);
1708
#else   // PROTOBUF_CUSTOM_VTABLE
1709
        ::uint8_t* MimePost::_InternalSerialize(
1710
            ::uint8_t* target,
1711
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1712
0
          const MimePost& this_ = *this;
1713
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1714
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.MimePost)
1715
0
          ::uint32_t cached_has_bits = 0;
1716
0
          (void)cached_has_bits;
1717
1718
          // repeated .curl.fuzzer.proto.MimePart parts = 1;
1719
0
          for (unsigned i = 0, n = static_cast<unsigned>(
1720
0
                                   this_._internal_parts_size());
1721
0
               i < n; i++) {
1722
0
            const auto& repfield = this_._internal_parts().Get(i);
1723
0
            target =
1724
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1725
0
                    1, repfield, repfield.GetCachedSize(),
1726
0
                    target, stream);
1727
0
          }
1728
1729
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1730
0
            target =
1731
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1732
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1733
0
          }
1734
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.MimePost)
1735
0
          return target;
1736
0
        }
1737
1738
#if defined(PROTOBUF_CUSTOM_VTABLE)
1739
        ::size_t MimePost::ByteSizeLong(const MessageLite& base) {
1740
          const MimePost& this_ = static_cast<const MimePost&>(base);
1741
#else   // PROTOBUF_CUSTOM_VTABLE
1742
0
        ::size_t MimePost::ByteSizeLong() const {
1743
0
          const MimePost& this_ = *this;
1744
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1745
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.MimePost)
1746
0
          ::size_t total_size = 0;
1747
1748
0
          ::uint32_t cached_has_bits = 0;
1749
          // Prevent compiler warnings about cached_has_bits being unused
1750
0
          (void)cached_has_bits;
1751
1752
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1753
0
           {
1754
            // repeated .curl.fuzzer.proto.MimePart parts = 1;
1755
0
            {
1756
0
              total_size += 1UL * this_._internal_parts_size();
1757
0
              for (const auto& msg : this_._internal_parts()) {
1758
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1759
0
              }
1760
0
            }
1761
0
          }
1762
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1763
0
                                                     &this_._impl_._cached_size_);
1764
0
        }
1765
1766
0
void MimePost::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1767
0
  auto* const _this = static_cast<MimePost*>(&to_msg);
1768
0
  auto& from = static_cast<const MimePost&>(from_msg);
1769
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.MimePost)
1770
0
  ABSL_DCHECK_NE(&from, _this);
1771
0
  ::uint32_t cached_has_bits = 0;
1772
0
  (void) cached_has_bits;
1773
1774
0
  _this->_internal_mutable_parts()->MergeFrom(
1775
0
      from._internal_parts());
1776
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1777
0
}
1778
1779
0
void MimePost::CopyFrom(const MimePost& from) {
1780
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.MimePost)
1781
0
  if (&from == this) return;
1782
0
  Clear();
1783
0
  MergeFrom(from);
1784
0
}
1785
1786
1787
0
void MimePost::InternalSwap(MimePost* PROTOBUF_RESTRICT other) {
1788
0
  using std::swap;
1789
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1790
0
  _impl_.parts_.InternalSwap(&other->_impl_.parts_);
1791
0
}
1792
1793
0
::google::protobuf::Metadata MimePost::GetMetadata() const {
1794
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1795
0
}
1796
// ===================================================================
1797
1798
class MimePart::_Internal {
1799
 public:
1800
  static constexpr ::int32_t kOneofCaseOffset =
1801
      PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::MimePart, _impl_._oneof_case_);
1802
};
1803
1804
0
void MimePart::set_allocated_subparts(::curl::fuzzer::proto::MimeSubparts* subparts) {
1805
0
  ::google::protobuf::Arena* message_arena = GetArena();
1806
0
  clear_content();
1807
0
  if (subparts) {
1808
0
    ::google::protobuf::Arena* submessage_arena = subparts->GetArena();
1809
0
    if (message_arena != submessage_arena) {
1810
0
      subparts = ::google::protobuf::internal::GetOwnedMessage(message_arena, subparts, submessage_arena);
1811
0
    }
1812
0
    set_has_subparts();
1813
0
    _impl_.content_.subparts_ = subparts;
1814
0
  }
1815
  // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimePart.subparts)
1816
0
}
1817
MimePart::MimePart(::google::protobuf::Arena* arena)
1818
#if defined(PROTOBUF_CUSTOM_VTABLE)
1819
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1820
#else   // PROTOBUF_CUSTOM_VTABLE
1821
0
    : ::google::protobuf::Message(arena) {
1822
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1823
0
  SharedCtor(arena);
1824
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.MimePart)
1825
0
}
1826
inline PROTOBUF_NDEBUG_INLINE MimePart::Impl_::Impl_(
1827
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1828
    const Impl_& from, const ::curl::fuzzer::proto::MimePart& from_msg)
1829
0
      : headers_{visibility, arena, from.headers_},
1830
0
        name_(arena, from.name_),
1831
0
        filename_(arena, from.filename_),
1832
0
        content_type_(arena, from.content_type_),
1833
0
        content_{},
1834
0
        _cached_size_{0},
1835
0
        _oneof_case_{from._oneof_case_[0]} {}
1836
1837
MimePart::MimePart(
1838
    ::google::protobuf::Arena* arena,
1839
    const MimePart& from)
1840
#if defined(PROTOBUF_CUSTOM_VTABLE)
1841
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1842
#else   // PROTOBUF_CUSTOM_VTABLE
1843
0
    : ::google::protobuf::Message(arena) {
1844
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1845
0
  MimePart* const _this = this;
1846
0
  (void)_this;
1847
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1848
0
      from._internal_metadata_);
1849
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1850
0
  _impl_.encoder_ = from._impl_.encoder_;
1851
0
  switch (content_case()) {
1852
0
    case CONTENT_NOT_SET:
1853
0
      break;
1854
0
      case kData:
1855
0
        new (&_impl_.content_.data_) decltype(_impl_.content_.data_){arena, from._impl_.content_.data_};
1856
0
        break;
1857
0
      case kSubparts:
1858
0
        _impl_.content_.subparts_ = ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::MimeSubparts>(arena, *from._impl_.content_.subparts_);
1859
0
        break;
1860
0
  }
1861
1862
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.MimePart)
1863
0
}
1864
inline PROTOBUF_NDEBUG_INLINE MimePart::Impl_::Impl_(
1865
    ::google::protobuf::internal::InternalVisibility visibility,
1866
    ::google::protobuf::Arena* arena)
1867
0
      : headers_{visibility, arena},
1868
0
        name_(arena),
1869
0
        filename_(arena),
1870
0
        content_type_(arena),
1871
0
        content_{},
1872
0
        _cached_size_{0},
1873
0
        _oneof_case_{} {}
1874
1875
0
inline void MimePart::SharedCtor(::_pb::Arena* arena) {
1876
0
  new (&_impl_) Impl_(internal_visibility(), arena);
1877
0
  _impl_.encoder_ = {};
1878
0
}
1879
0
MimePart::~MimePart() {
1880
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.MimePart)
1881
0
  SharedDtor(*this);
1882
0
}
1883
0
inline void MimePart::SharedDtor(MessageLite& self) {
1884
0
  MimePart& this_ = static_cast<MimePart&>(self);
1885
0
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1886
0
  ABSL_DCHECK(this_.GetArena() == nullptr);
1887
0
  this_._impl_.name_.Destroy();
1888
0
  this_._impl_.filename_.Destroy();
1889
0
  this_._impl_.content_type_.Destroy();
1890
0
  if (this_.has_content()) {
1891
0
    this_.clear_content();
1892
0
  }
1893
0
  this_._impl_.~Impl_();
1894
0
}
1895
1896
0
void MimePart::clear_content() {
1897
// @@protoc_insertion_point(one_of_clear_start:curl.fuzzer.proto.MimePart)
1898
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1899
0
  switch (content_case()) {
1900
0
    case kData: {
1901
0
      _impl_.content_.data_.Destroy();
1902
0
      break;
1903
0
    }
1904
0
    case kSubparts: {
1905
0
      if (GetArena() == nullptr) {
1906
0
        delete _impl_.content_.subparts_;
1907
0
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1908
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.content_.subparts_);
1909
0
      }
1910
0
      break;
1911
0
    }
1912
0
    case CONTENT_NOT_SET: {
1913
0
      break;
1914
0
    }
1915
0
  }
1916
0
  _impl_._oneof_case_[0] = CONTENT_NOT_SET;
1917
0
}
1918
1919
1920
inline void* MimePart::PlacementNew_(const void*, void* mem,
1921
0
                                        ::google::protobuf::Arena* arena) {
1922
0
  return ::new (mem) MimePart(arena);
1923
0
}
1924
0
constexpr auto MimePart::InternalNewImpl_() {
1925
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1926
0
      PROTOBUF_FIELD_OFFSET(MimePart, _impl_.headers_) +
1927
0
          decltype(MimePart::_impl_.headers_)::
1928
0
              InternalGetArenaOffset(
1929
0
                  ::google::protobuf::Message::internal_visibility()),
1930
0
  });
1931
0
  if (arena_bits.has_value()) {
1932
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
1933
0
        sizeof(MimePart), alignof(MimePart), *arena_bits);
1934
0
  } else {
1935
0
    return ::google::protobuf::internal::MessageCreator(&MimePart::PlacementNew_,
1936
0
                                 sizeof(MimePart),
1937
0
                                 alignof(MimePart));
1938
0
  }
1939
0
}
1940
PROTOBUF_CONSTINIT
1941
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1942
const ::google::protobuf::internal::ClassDataFull MimePart::_class_data_ = {
1943
    ::google::protobuf::internal::ClassData{
1944
        &_MimePart_default_instance_._instance,
1945
        &_table_.header,
1946
        nullptr,  // OnDemandRegisterArenaDtor
1947
        nullptr,  // IsInitialized
1948
        &MimePart::MergeImpl,
1949
        ::google::protobuf::Message::GetNewImpl<MimePart>(),
1950
#if defined(PROTOBUF_CUSTOM_VTABLE)
1951
        &MimePart::SharedDtor,
1952
        ::google::protobuf::Message::GetClearImpl<MimePart>(), &MimePart::ByteSizeLong,
1953
            &MimePart::_InternalSerialize,
1954
#endif  // PROTOBUF_CUSTOM_VTABLE
1955
        PROTOBUF_FIELD_OFFSET(MimePart, _impl_._cached_size_),
1956
        false,
1957
    },
1958
    &MimePart::kDescriptorMethods,
1959
    &descriptor_table_curl_5ffuzzer_2eproto,
1960
    nullptr,  // tracker
1961
};
1962
7
const ::google::protobuf::internal::ClassData* MimePart::GetClassData() const {
1963
7
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1964
7
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1965
7
  return _class_data_.base();
1966
7
}
1967
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1968
const ::_pbi::TcParseTable<3, 7, 1, 0, 2> MimePart::_table_ = {
1969
  {
1970
    0,  // no _has_bits_
1971
    0, // no _extensions_
1972
    7, 56,  // max_field_number, fast_idx_mask
1973
    offsetof(decltype(_table_), field_lookup_table),
1974
    4294967168,  // skipmap
1975
    offsetof(decltype(_table_), field_entries),
1976
    7,  // num_field_entries
1977
    1,  // num_aux_entries
1978
    offsetof(decltype(_table_), aux_entries),
1979
    _class_data_.base(),
1980
    nullptr,  // post_loop_handler
1981
    ::_pbi::TcParser::GenericFallback,  // fallback
1982
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1983
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimePart>(),  // to_prefetch
1984
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1985
  }, {{
1986
    {::_pbi::TcParser::MiniParse, {}},
1987
    // bytes name = 1;
1988
    {::_pbi::TcParser::FastBS1,
1989
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(MimePart, _impl_.name_)}},
1990
    {::_pbi::TcParser::MiniParse, {}},
1991
    // bytes filename = 3;
1992
    {::_pbi::TcParser::FastBS1,
1993
     {26, 63, 0, PROTOBUF_FIELD_OFFSET(MimePart, _impl_.filename_)}},
1994
    // bytes content_type = 4;
1995
    {::_pbi::TcParser::FastBS1,
1996
     {34, 63, 0, PROTOBUF_FIELD_OFFSET(MimePart, _impl_.content_type_)}},
1997
    // .curl.fuzzer.proto.MimeEncoder encoder = 5;
1998
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MimePart, _impl_.encoder_), 63>(),
1999
     {40, 63, 0, PROTOBUF_FIELD_OFFSET(MimePart, _impl_.encoder_)}},
2000
    // repeated bytes headers = 6;
2001
    {::_pbi::TcParser::FastBR1,
2002
     {50, 63, 0, PROTOBUF_FIELD_OFFSET(MimePart, _impl_.headers_)}},
2003
    {::_pbi::TcParser::MiniParse, {}},
2004
  }}, {{
2005
    65535, 65535
2006
  }}, {{
2007
    // bytes name = 1;
2008
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.name_), 0, 0,
2009
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2010
    // bytes data = 2;
2011
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.content_.data_), _Internal::kOneofCaseOffset + 0, 0,
2012
    (0 | ::_fl::kFcOneof | ::_fl::kBytes | ::_fl::kRepAString)},
2013
    // bytes filename = 3;
2014
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.filename_), 0, 0,
2015
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2016
    // bytes content_type = 4;
2017
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.content_type_), 0, 0,
2018
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2019
    // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2020
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.encoder_), 0, 0,
2021
    (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
2022
    // repeated bytes headers = 6;
2023
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.headers_), 0, 0,
2024
    (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
2025
    // .curl.fuzzer.proto.MimeSubparts subparts = 7;
2026
    {PROTOBUF_FIELD_OFFSET(MimePart, _impl_.content_.subparts_), _Internal::kOneofCaseOffset + 0, 0,
2027
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2028
  }}, {{
2029
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimeSubparts>()},
2030
  }}, {{
2031
  }},
2032
};
2033
2034
0
PROTOBUF_NOINLINE void MimePart::Clear() {
2035
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.MimePart)
2036
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2037
0
  ::uint32_t cached_has_bits = 0;
2038
  // Prevent compiler warnings about cached_has_bits being unused
2039
0
  (void) cached_has_bits;
2040
2041
0
  _impl_.headers_.Clear();
2042
0
  _impl_.name_.ClearToEmpty();
2043
0
  _impl_.filename_.ClearToEmpty();
2044
0
  _impl_.content_type_.ClearToEmpty();
2045
0
  _impl_.encoder_ = 0;
2046
0
  clear_content();
2047
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2048
0
}
2049
2050
#if defined(PROTOBUF_CUSTOM_VTABLE)
2051
        ::uint8_t* MimePart::_InternalSerialize(
2052
            const MessageLite& base, ::uint8_t* target,
2053
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2054
          const MimePart& this_ = static_cast<const MimePart&>(base);
2055
#else   // PROTOBUF_CUSTOM_VTABLE
2056
        ::uint8_t* MimePart::_InternalSerialize(
2057
            ::uint8_t* target,
2058
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2059
0
          const MimePart& this_ = *this;
2060
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2061
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.MimePart)
2062
0
          ::uint32_t cached_has_bits = 0;
2063
0
          (void)cached_has_bits;
2064
2065
          // bytes name = 1;
2066
0
          if (!this_._internal_name().empty()) {
2067
0
            const std::string& _s = this_._internal_name();
2068
0
            target = stream->WriteBytesMaybeAliased(1, _s, target);
2069
0
          }
2070
2071
          // bytes data = 2;
2072
0
          if (this_.content_case() == kData) {
2073
0
            const std::string& _s = this_._internal_data();
2074
0
            target = stream->WriteBytesMaybeAliased(2, _s, target);
2075
0
          }
2076
2077
          // bytes filename = 3;
2078
0
          if (!this_._internal_filename().empty()) {
2079
0
            const std::string& _s = this_._internal_filename();
2080
0
            target = stream->WriteBytesMaybeAliased(3, _s, target);
2081
0
          }
2082
2083
          // bytes content_type = 4;
2084
0
          if (!this_._internal_content_type().empty()) {
2085
0
            const std::string& _s = this_._internal_content_type();
2086
0
            target = stream->WriteBytesMaybeAliased(4, _s, target);
2087
0
          }
2088
2089
          // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2090
0
          if (this_._internal_encoder() != 0) {
2091
0
            target = stream->EnsureSpace(target);
2092
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
2093
0
                5, this_._internal_encoder(), target);
2094
0
          }
2095
2096
          // repeated bytes headers = 6;
2097
0
          for (int i = 0, n = this_._internal_headers_size(); i < n; ++i) {
2098
0
            const auto& s = this_._internal_headers().Get(i);
2099
0
            target = stream->WriteBytes(6, s, target);
2100
0
          }
2101
2102
          // .curl.fuzzer.proto.MimeSubparts subparts = 7;
2103
0
          if (this_.content_case() == kSubparts) {
2104
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2105
0
                7, *this_._impl_.content_.subparts_, this_._impl_.content_.subparts_->GetCachedSize(), target,
2106
0
                stream);
2107
0
          }
2108
2109
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2110
0
            target =
2111
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2112
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2113
0
          }
2114
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.MimePart)
2115
0
          return target;
2116
0
        }
2117
2118
#if defined(PROTOBUF_CUSTOM_VTABLE)
2119
        ::size_t MimePart::ByteSizeLong(const MessageLite& base) {
2120
          const MimePart& this_ = static_cast<const MimePart&>(base);
2121
#else   // PROTOBUF_CUSTOM_VTABLE
2122
0
        ::size_t MimePart::ByteSizeLong() const {
2123
0
          const MimePart& this_ = *this;
2124
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2125
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.MimePart)
2126
0
          ::size_t total_size = 0;
2127
2128
0
          ::uint32_t cached_has_bits = 0;
2129
          // Prevent compiler warnings about cached_has_bits being unused
2130
0
          (void)cached_has_bits;
2131
2132
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2133
0
           {
2134
            // repeated bytes headers = 6;
2135
0
            {
2136
0
              total_size +=
2137
0
                  1 * ::google::protobuf::internal::FromIntSize(this_._internal_headers().size());
2138
0
              for (int i = 0, n = this_._internal_headers().size(); i < n; ++i) {
2139
0
                total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
2140
0
                    this_._internal_headers().Get(i));
2141
0
              }
2142
0
            }
2143
0
          }
2144
0
           {
2145
            // bytes name = 1;
2146
0
            if (!this_._internal_name().empty()) {
2147
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2148
0
                                              this_._internal_name());
2149
0
            }
2150
            // bytes filename = 3;
2151
0
            if (!this_._internal_filename().empty()) {
2152
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2153
0
                                              this_._internal_filename());
2154
0
            }
2155
            // bytes content_type = 4;
2156
0
            if (!this_._internal_content_type().empty()) {
2157
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2158
0
                                              this_._internal_content_type());
2159
0
            }
2160
            // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2161
0
            if (this_._internal_encoder() != 0) {
2162
0
              total_size += 1 +
2163
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_encoder());
2164
0
            }
2165
0
          }
2166
0
          switch (this_.content_case()) {
2167
            // bytes data = 2;
2168
0
            case kData: {
2169
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2170
0
                                              this_._internal_data());
2171
0
              break;
2172
0
            }
2173
            // .curl.fuzzer.proto.MimeSubparts subparts = 7;
2174
0
            case kSubparts: {
2175
0
              total_size += 1 +
2176
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.content_.subparts_);
2177
0
              break;
2178
0
            }
2179
0
            case CONTENT_NOT_SET: {
2180
0
              break;
2181
0
            }
2182
0
          }
2183
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2184
0
                                                     &this_._impl_._cached_size_);
2185
0
        }
2186
2187
0
void MimePart::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2188
0
  auto* const _this = static_cast<MimePart*>(&to_msg);
2189
0
  auto& from = static_cast<const MimePart&>(from_msg);
2190
0
  ::google::protobuf::Arena* arena = _this->GetArena();
2191
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.MimePart)
2192
0
  ABSL_DCHECK_NE(&from, _this);
2193
0
  ::uint32_t cached_has_bits = 0;
2194
0
  (void) cached_has_bits;
2195
2196
0
  _this->_internal_mutable_headers()->MergeFrom(from._internal_headers());
2197
0
  if (!from._internal_name().empty()) {
2198
0
    _this->_internal_set_name(from._internal_name());
2199
0
  }
2200
0
  if (!from._internal_filename().empty()) {
2201
0
    _this->_internal_set_filename(from._internal_filename());
2202
0
  }
2203
0
  if (!from._internal_content_type().empty()) {
2204
0
    _this->_internal_set_content_type(from._internal_content_type());
2205
0
  }
2206
0
  if (from._internal_encoder() != 0) {
2207
0
    _this->_impl_.encoder_ = from._impl_.encoder_;
2208
0
  }
2209
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
2210
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
2211
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
2212
0
    if (oneof_needs_init) {
2213
0
      if (oneof_to_case != 0) {
2214
0
        _this->clear_content();
2215
0
      }
2216
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
2217
0
    }
2218
2219
0
    switch (oneof_from_case) {
2220
0
      case kData: {
2221
0
        if (oneof_needs_init) {
2222
0
          _this->_impl_.content_.data_.InitDefault();
2223
0
        }
2224
0
        _this->_impl_.content_.data_.Set(from._internal_data(), arena);
2225
0
        break;
2226
0
      }
2227
0
      case kSubparts: {
2228
0
        if (oneof_needs_init) {
2229
0
          _this->_impl_.content_.subparts_ =
2230
0
              ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::MimeSubparts>(arena, *from._impl_.content_.subparts_);
2231
0
        } else {
2232
0
          _this->_impl_.content_.subparts_->MergeFrom(from._internal_subparts());
2233
0
        }
2234
0
        break;
2235
0
      }
2236
0
      case CONTENT_NOT_SET:
2237
0
        break;
2238
0
    }
2239
0
  }
2240
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2241
0
}
2242
2243
0
void MimePart::CopyFrom(const MimePart& from) {
2244
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.MimePart)
2245
0
  if (&from == this) return;
2246
0
  Clear();
2247
0
  MergeFrom(from);
2248
0
}
2249
2250
2251
0
void MimePart::InternalSwap(MimePart* PROTOBUF_RESTRICT other) {
2252
0
  using std::swap;
2253
0
  auto* arena = GetArena();
2254
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
2255
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2256
0
  _impl_.headers_.InternalSwap(&other->_impl_.headers_);
2257
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
2258
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.filename_, &other->_impl_.filename_, arena);
2259
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.content_type_, &other->_impl_.content_type_, arena);
2260
0
  swap(_impl_.encoder_, other->_impl_.encoder_);
2261
0
  swap(_impl_.content_, other->_impl_.content_);
2262
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2263
0
}
2264
2265
0
::google::protobuf::Metadata MimePart::GetMetadata() const {
2266
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2267
0
}
2268
// ===================================================================
2269
2270
class MimeSubparts::_Internal {
2271
 public:
2272
};
2273
2274
MimeSubparts::MimeSubparts(::google::protobuf::Arena* arena)
2275
#if defined(PROTOBUF_CUSTOM_VTABLE)
2276
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2277
#else   // PROTOBUF_CUSTOM_VTABLE
2278
0
    : ::google::protobuf::Message(arena) {
2279
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2280
0
  SharedCtor(arena);
2281
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.MimeSubparts)
2282
0
}
2283
inline PROTOBUF_NDEBUG_INLINE MimeSubparts::Impl_::Impl_(
2284
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2285
    const Impl_& from, const ::curl::fuzzer::proto::MimeSubparts& from_msg)
2286
0
      : parts_{visibility, arena, from.parts_},
2287
0
        _cached_size_{0} {}
2288
2289
MimeSubparts::MimeSubparts(
2290
    ::google::protobuf::Arena* arena,
2291
    const MimeSubparts& from)
2292
#if defined(PROTOBUF_CUSTOM_VTABLE)
2293
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2294
#else   // PROTOBUF_CUSTOM_VTABLE
2295
0
    : ::google::protobuf::Message(arena) {
2296
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2297
0
  MimeSubparts* const _this = this;
2298
0
  (void)_this;
2299
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2300
0
      from._internal_metadata_);
2301
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2302
2303
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.MimeSubparts)
2304
0
}
2305
inline PROTOBUF_NDEBUG_INLINE MimeSubparts::Impl_::Impl_(
2306
    ::google::protobuf::internal::InternalVisibility visibility,
2307
    ::google::protobuf::Arena* arena)
2308
0
      : parts_{visibility, arena},
2309
0
        _cached_size_{0} {}
2310
2311
0
inline void MimeSubparts::SharedCtor(::_pb::Arena* arena) {
2312
0
  new (&_impl_) Impl_(internal_visibility(), arena);
2313
0
}
2314
0
MimeSubparts::~MimeSubparts() {
2315
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.MimeSubparts)
2316
0
  SharedDtor(*this);
2317
0
}
2318
0
inline void MimeSubparts::SharedDtor(MessageLite& self) {
2319
0
  MimeSubparts& this_ = static_cast<MimeSubparts&>(self);
2320
0
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2321
0
  ABSL_DCHECK(this_.GetArena() == nullptr);
2322
0
  this_._impl_.~Impl_();
2323
0
}
2324
2325
inline void* MimeSubparts::PlacementNew_(const void*, void* mem,
2326
0
                                        ::google::protobuf::Arena* arena) {
2327
0
  return ::new (mem) MimeSubparts(arena);
2328
0
}
2329
0
constexpr auto MimeSubparts::InternalNewImpl_() {
2330
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2331
0
      PROTOBUF_FIELD_OFFSET(MimeSubparts, _impl_.parts_) +
2332
0
          decltype(MimeSubparts::_impl_.parts_)::
2333
0
              InternalGetArenaOffset(
2334
0
                  ::google::protobuf::Message::internal_visibility()),
2335
0
  });
2336
0
  if (arena_bits.has_value()) {
2337
0
    return ::google::protobuf::internal::MessageCreator::ZeroInit(
2338
0
        sizeof(MimeSubparts), alignof(MimeSubparts), *arena_bits);
2339
0
  } else {
2340
0
    return ::google::protobuf::internal::MessageCreator(&MimeSubparts::PlacementNew_,
2341
0
                                 sizeof(MimeSubparts),
2342
0
                                 alignof(MimeSubparts));
2343
0
  }
2344
0
}
2345
PROTOBUF_CONSTINIT
2346
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2347
const ::google::protobuf::internal::ClassDataFull MimeSubparts::_class_data_ = {
2348
    ::google::protobuf::internal::ClassData{
2349
        &_MimeSubparts_default_instance_._instance,
2350
        &_table_.header,
2351
        nullptr,  // OnDemandRegisterArenaDtor
2352
        nullptr,  // IsInitialized
2353
        &MimeSubparts::MergeImpl,
2354
        ::google::protobuf::Message::GetNewImpl<MimeSubparts>(),
2355
#if defined(PROTOBUF_CUSTOM_VTABLE)
2356
        &MimeSubparts::SharedDtor,
2357
        ::google::protobuf::Message::GetClearImpl<MimeSubparts>(), &MimeSubparts::ByteSizeLong,
2358
            &MimeSubparts::_InternalSerialize,
2359
#endif  // PROTOBUF_CUSTOM_VTABLE
2360
        PROTOBUF_FIELD_OFFSET(MimeSubparts, _impl_._cached_size_),
2361
        false,
2362
    },
2363
    &MimeSubparts::kDescriptorMethods,
2364
    &descriptor_table_curl_5ffuzzer_2eproto,
2365
    nullptr,  // tracker
2366
};
2367
7
const ::google::protobuf::internal::ClassData* MimeSubparts::GetClassData() const {
2368
7
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2369
7
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2370
7
  return _class_data_.base();
2371
7
}
2372
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2373
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> MimeSubparts::_table_ = {
2374
  {
2375
    0,  // no _has_bits_
2376
    0, // no _extensions_
2377
    1, 0,  // max_field_number, fast_idx_mask
2378
    offsetof(decltype(_table_), field_lookup_table),
2379
    4294967294,  // skipmap
2380
    offsetof(decltype(_table_), field_entries),
2381
    1,  // num_field_entries
2382
    1,  // num_aux_entries
2383
    offsetof(decltype(_table_), aux_entries),
2384
    _class_data_.base(),
2385
    nullptr,  // post_loop_handler
2386
    ::_pbi::TcParser::GenericFallback,  // fallback
2387
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2388
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimeSubparts>(),  // to_prefetch
2389
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2390
  }, {{
2391
    // repeated .curl.fuzzer.proto.MimeDataPart parts = 1;
2392
    {::_pbi::TcParser::FastMtR1,
2393
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(MimeSubparts, _impl_.parts_)}},
2394
  }}, {{
2395
    65535, 65535
2396
  }}, {{
2397
    // repeated .curl.fuzzer.proto.MimeDataPart parts = 1;
2398
    {PROTOBUF_FIELD_OFFSET(MimeSubparts, _impl_.parts_), 0, 0,
2399
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2400
  }}, {{
2401
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimeDataPart>()},
2402
  }}, {{
2403
  }},
2404
};
2405
2406
0
PROTOBUF_NOINLINE void MimeSubparts::Clear() {
2407
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.MimeSubparts)
2408
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2409
0
  ::uint32_t cached_has_bits = 0;
2410
  // Prevent compiler warnings about cached_has_bits being unused
2411
0
  (void) cached_has_bits;
2412
2413
0
  _impl_.parts_.Clear();
2414
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2415
0
}
2416
2417
#if defined(PROTOBUF_CUSTOM_VTABLE)
2418
        ::uint8_t* MimeSubparts::_InternalSerialize(
2419
            const MessageLite& base, ::uint8_t* target,
2420
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2421
          const MimeSubparts& this_ = static_cast<const MimeSubparts&>(base);
2422
#else   // PROTOBUF_CUSTOM_VTABLE
2423
        ::uint8_t* MimeSubparts::_InternalSerialize(
2424
            ::uint8_t* target,
2425
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2426
0
          const MimeSubparts& this_ = *this;
2427
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2428
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.MimeSubparts)
2429
0
          ::uint32_t cached_has_bits = 0;
2430
0
          (void)cached_has_bits;
2431
2432
          // repeated .curl.fuzzer.proto.MimeDataPart parts = 1;
2433
0
          for (unsigned i = 0, n = static_cast<unsigned>(
2434
0
                                   this_._internal_parts_size());
2435
0
               i < n; i++) {
2436
0
            const auto& repfield = this_._internal_parts().Get(i);
2437
0
            target =
2438
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2439
0
                    1, repfield, repfield.GetCachedSize(),
2440
0
                    target, stream);
2441
0
          }
2442
2443
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2444
0
            target =
2445
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2446
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2447
0
          }
2448
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.MimeSubparts)
2449
0
          return target;
2450
0
        }
2451
2452
#if defined(PROTOBUF_CUSTOM_VTABLE)
2453
        ::size_t MimeSubparts::ByteSizeLong(const MessageLite& base) {
2454
          const MimeSubparts& this_ = static_cast<const MimeSubparts&>(base);
2455
#else   // PROTOBUF_CUSTOM_VTABLE
2456
0
        ::size_t MimeSubparts::ByteSizeLong() const {
2457
0
          const MimeSubparts& this_ = *this;
2458
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2459
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.MimeSubparts)
2460
0
          ::size_t total_size = 0;
2461
2462
0
          ::uint32_t cached_has_bits = 0;
2463
          // Prevent compiler warnings about cached_has_bits being unused
2464
0
          (void)cached_has_bits;
2465
2466
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2467
0
           {
2468
            // repeated .curl.fuzzer.proto.MimeDataPart parts = 1;
2469
0
            {
2470
0
              total_size += 1UL * this_._internal_parts_size();
2471
0
              for (const auto& msg : this_._internal_parts()) {
2472
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2473
0
              }
2474
0
            }
2475
0
          }
2476
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2477
0
                                                     &this_._impl_._cached_size_);
2478
0
        }
2479
2480
0
void MimeSubparts::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2481
0
  auto* const _this = static_cast<MimeSubparts*>(&to_msg);
2482
0
  auto& from = static_cast<const MimeSubparts&>(from_msg);
2483
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.MimeSubparts)
2484
0
  ABSL_DCHECK_NE(&from, _this);
2485
0
  ::uint32_t cached_has_bits = 0;
2486
0
  (void) cached_has_bits;
2487
2488
0
  _this->_internal_mutable_parts()->MergeFrom(
2489
0
      from._internal_parts());
2490
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2491
0
}
2492
2493
0
void MimeSubparts::CopyFrom(const MimeSubparts& from) {
2494
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.MimeSubparts)
2495
0
  if (&from == this) return;
2496
0
  Clear();
2497
0
  MergeFrom(from);
2498
0
}
2499
2500
2501
0
void MimeSubparts::InternalSwap(MimeSubparts* PROTOBUF_RESTRICT other) {
2502
0
  using std::swap;
2503
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2504
0
  _impl_.parts_.InternalSwap(&other->_impl_.parts_);
2505
0
}
2506
2507
0
::google::protobuf::Metadata MimeSubparts::GetMetadata() const {
2508
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2509
0
}
2510
// ===================================================================
2511
2512
class MimeDataPart::_Internal {
2513
 public:
2514
};
2515
2516
MimeDataPart::MimeDataPart(::google::protobuf::Arena* arena)
2517
#if defined(PROTOBUF_CUSTOM_VTABLE)
2518
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2519
#else   // PROTOBUF_CUSTOM_VTABLE
2520
0
    : ::google::protobuf::Message(arena) {
2521
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2522
0
  SharedCtor(arena);
2523
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.MimeDataPart)
2524
0
}
2525
inline PROTOBUF_NDEBUG_INLINE MimeDataPart::Impl_::Impl_(
2526
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2527
    const Impl_& from, const ::curl::fuzzer::proto::MimeDataPart& from_msg)
2528
0
      : headers_{visibility, arena, from.headers_},
2529
0
        name_(arena, from.name_),
2530
0
        data_(arena, from.data_),
2531
0
        filename_(arena, from.filename_),
2532
0
        content_type_(arena, from.content_type_),
2533
0
        _cached_size_{0} {}
2534
2535
MimeDataPart::MimeDataPart(
2536
    ::google::protobuf::Arena* arena,
2537
    const MimeDataPart& from)
2538
#if defined(PROTOBUF_CUSTOM_VTABLE)
2539
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2540
#else   // PROTOBUF_CUSTOM_VTABLE
2541
0
    : ::google::protobuf::Message(arena) {
2542
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2543
0
  MimeDataPart* const _this = this;
2544
0
  (void)_this;
2545
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2546
0
      from._internal_metadata_);
2547
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2548
0
  _impl_.encoder_ = from._impl_.encoder_;
2549
2550
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.MimeDataPart)
2551
0
}
2552
inline PROTOBUF_NDEBUG_INLINE MimeDataPart::Impl_::Impl_(
2553
    ::google::protobuf::internal::InternalVisibility visibility,
2554
    ::google::protobuf::Arena* arena)
2555
0
      : headers_{visibility, arena},
2556
0
        name_(arena),
2557
0
        data_(arena),
2558
0
        filename_(arena),
2559
0
        content_type_(arena),
2560
0
        _cached_size_{0} {}
2561
2562
0
inline void MimeDataPart::SharedCtor(::_pb::Arena* arena) {
2563
0
  new (&_impl_) Impl_(internal_visibility(), arena);
2564
0
  _impl_.encoder_ = {};
2565
0
}
2566
0
MimeDataPart::~MimeDataPart() {
2567
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.MimeDataPart)
2568
0
  SharedDtor(*this);
2569
0
}
2570
0
inline void MimeDataPart::SharedDtor(MessageLite& self) {
2571
0
  MimeDataPart& this_ = static_cast<MimeDataPart&>(self);
2572
0
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2573
0
  ABSL_DCHECK(this_.GetArena() == nullptr);
2574
0
  this_._impl_.name_.Destroy();
2575
0
  this_._impl_.data_.Destroy();
2576
0
  this_._impl_.filename_.Destroy();
2577
0
  this_._impl_.content_type_.Destroy();
2578
0
  this_._impl_.~Impl_();
2579
0
}
2580
2581
inline void* MimeDataPart::PlacementNew_(const void*, void* mem,
2582
0
                                        ::google::protobuf::Arena* arena) {
2583
0
  return ::new (mem) MimeDataPart(arena);
2584
0
}
2585
0
constexpr auto MimeDataPart::InternalNewImpl_() {
2586
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2587
0
      PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.headers_) +
2588
0
          decltype(MimeDataPart::_impl_.headers_)::
2589
0
              InternalGetArenaOffset(
2590
0
                  ::google::protobuf::Message::internal_visibility()),
2591
0
  });
2592
0
  if (arena_bits.has_value()) {
2593
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
2594
0
        sizeof(MimeDataPart), alignof(MimeDataPart), *arena_bits);
2595
0
  } else {
2596
0
    return ::google::protobuf::internal::MessageCreator(&MimeDataPart::PlacementNew_,
2597
0
                                 sizeof(MimeDataPart),
2598
0
                                 alignof(MimeDataPart));
2599
0
  }
2600
0
}
2601
PROTOBUF_CONSTINIT
2602
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2603
const ::google::protobuf::internal::ClassDataFull MimeDataPart::_class_data_ = {
2604
    ::google::protobuf::internal::ClassData{
2605
        &_MimeDataPart_default_instance_._instance,
2606
        &_table_.header,
2607
        nullptr,  // OnDemandRegisterArenaDtor
2608
        nullptr,  // IsInitialized
2609
        &MimeDataPart::MergeImpl,
2610
        ::google::protobuf::Message::GetNewImpl<MimeDataPart>(),
2611
#if defined(PROTOBUF_CUSTOM_VTABLE)
2612
        &MimeDataPart::SharedDtor,
2613
        ::google::protobuf::Message::GetClearImpl<MimeDataPart>(), &MimeDataPart::ByteSizeLong,
2614
            &MimeDataPart::_InternalSerialize,
2615
#endif  // PROTOBUF_CUSTOM_VTABLE
2616
        PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_._cached_size_),
2617
        false,
2618
    },
2619
    &MimeDataPart::kDescriptorMethods,
2620
    &descriptor_table_curl_5ffuzzer_2eproto,
2621
    nullptr,  // tracker
2622
};
2623
7
const ::google::protobuf::internal::ClassData* MimeDataPart::GetClassData() const {
2624
7
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2625
7
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2626
7
  return _class_data_.base();
2627
7
}
2628
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2629
const ::_pbi::TcParseTable<3, 6, 0, 0, 2> MimeDataPart::_table_ = {
2630
  {
2631
    0,  // no _has_bits_
2632
    0, // no _extensions_
2633
    6, 56,  // max_field_number, fast_idx_mask
2634
    offsetof(decltype(_table_), field_lookup_table),
2635
    4294967232,  // skipmap
2636
    offsetof(decltype(_table_), field_entries),
2637
    6,  // num_field_entries
2638
    0,  // num_aux_entries
2639
    offsetof(decltype(_table_), field_names),  // no aux_entries
2640
    _class_data_.base(),
2641
    nullptr,  // post_loop_handler
2642
    ::_pbi::TcParser::GenericFallback,  // fallback
2643
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2644
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::MimeDataPart>(),  // to_prefetch
2645
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2646
  }, {{
2647
    {::_pbi::TcParser::MiniParse, {}},
2648
    // bytes name = 1;
2649
    {::_pbi::TcParser::FastBS1,
2650
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.name_)}},
2651
    // bytes data = 2;
2652
    {::_pbi::TcParser::FastBS1,
2653
     {18, 63, 0, PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.data_)}},
2654
    // bytes filename = 3;
2655
    {::_pbi::TcParser::FastBS1,
2656
     {26, 63, 0, PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.filename_)}},
2657
    // bytes content_type = 4;
2658
    {::_pbi::TcParser::FastBS1,
2659
     {34, 63, 0, PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.content_type_)}},
2660
    // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2661
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MimeDataPart, _impl_.encoder_), 63>(),
2662
     {40, 63, 0, PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.encoder_)}},
2663
    // repeated bytes headers = 6;
2664
    {::_pbi::TcParser::FastBR1,
2665
     {50, 63, 0, PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.headers_)}},
2666
    {::_pbi::TcParser::MiniParse, {}},
2667
  }}, {{
2668
    65535, 65535
2669
  }}, {{
2670
    // bytes name = 1;
2671
    {PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.name_), 0, 0,
2672
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2673
    // bytes data = 2;
2674
    {PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.data_), 0, 0,
2675
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2676
    // bytes filename = 3;
2677
    {PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.filename_), 0, 0,
2678
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2679
    // bytes content_type = 4;
2680
    {PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.content_type_), 0, 0,
2681
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
2682
    // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2683
    {PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.encoder_), 0, 0,
2684
    (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
2685
    // repeated bytes headers = 6;
2686
    {PROTOBUF_FIELD_OFFSET(MimeDataPart, _impl_.headers_), 0, 0,
2687
    (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
2688
  }},
2689
  // no aux_entries
2690
  {{
2691
  }},
2692
};
2693
2694
0
PROTOBUF_NOINLINE void MimeDataPart::Clear() {
2695
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.MimeDataPart)
2696
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2697
0
  ::uint32_t cached_has_bits = 0;
2698
  // Prevent compiler warnings about cached_has_bits being unused
2699
0
  (void) cached_has_bits;
2700
2701
0
  _impl_.headers_.Clear();
2702
0
  _impl_.name_.ClearToEmpty();
2703
0
  _impl_.data_.ClearToEmpty();
2704
0
  _impl_.filename_.ClearToEmpty();
2705
0
  _impl_.content_type_.ClearToEmpty();
2706
0
  _impl_.encoder_ = 0;
2707
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2708
0
}
2709
2710
#if defined(PROTOBUF_CUSTOM_VTABLE)
2711
        ::uint8_t* MimeDataPart::_InternalSerialize(
2712
            const MessageLite& base, ::uint8_t* target,
2713
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2714
          const MimeDataPart& this_ = static_cast<const MimeDataPart&>(base);
2715
#else   // PROTOBUF_CUSTOM_VTABLE
2716
        ::uint8_t* MimeDataPart::_InternalSerialize(
2717
            ::uint8_t* target,
2718
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2719
0
          const MimeDataPart& this_ = *this;
2720
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2721
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.MimeDataPart)
2722
0
          ::uint32_t cached_has_bits = 0;
2723
0
          (void)cached_has_bits;
2724
2725
          // bytes name = 1;
2726
0
          if (!this_._internal_name().empty()) {
2727
0
            const std::string& _s = this_._internal_name();
2728
0
            target = stream->WriteBytesMaybeAliased(1, _s, target);
2729
0
          }
2730
2731
          // bytes data = 2;
2732
0
          if (!this_._internal_data().empty()) {
2733
0
            const std::string& _s = this_._internal_data();
2734
0
            target = stream->WriteBytesMaybeAliased(2, _s, target);
2735
0
          }
2736
2737
          // bytes filename = 3;
2738
0
          if (!this_._internal_filename().empty()) {
2739
0
            const std::string& _s = this_._internal_filename();
2740
0
            target = stream->WriteBytesMaybeAliased(3, _s, target);
2741
0
          }
2742
2743
          // bytes content_type = 4;
2744
0
          if (!this_._internal_content_type().empty()) {
2745
0
            const std::string& _s = this_._internal_content_type();
2746
0
            target = stream->WriteBytesMaybeAliased(4, _s, target);
2747
0
          }
2748
2749
          // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2750
0
          if (this_._internal_encoder() != 0) {
2751
0
            target = stream->EnsureSpace(target);
2752
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
2753
0
                5, this_._internal_encoder(), target);
2754
0
          }
2755
2756
          // repeated bytes headers = 6;
2757
0
          for (int i = 0, n = this_._internal_headers_size(); i < n; ++i) {
2758
0
            const auto& s = this_._internal_headers().Get(i);
2759
0
            target = stream->WriteBytes(6, s, target);
2760
0
          }
2761
2762
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2763
0
            target =
2764
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2765
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2766
0
          }
2767
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.MimeDataPart)
2768
0
          return target;
2769
0
        }
2770
2771
#if defined(PROTOBUF_CUSTOM_VTABLE)
2772
        ::size_t MimeDataPart::ByteSizeLong(const MessageLite& base) {
2773
          const MimeDataPart& this_ = static_cast<const MimeDataPart&>(base);
2774
#else   // PROTOBUF_CUSTOM_VTABLE
2775
0
        ::size_t MimeDataPart::ByteSizeLong() const {
2776
0
          const MimeDataPart& this_ = *this;
2777
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2778
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.MimeDataPart)
2779
0
          ::size_t total_size = 0;
2780
2781
0
          ::uint32_t cached_has_bits = 0;
2782
          // Prevent compiler warnings about cached_has_bits being unused
2783
0
          (void)cached_has_bits;
2784
2785
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2786
0
           {
2787
            // repeated bytes headers = 6;
2788
0
            {
2789
0
              total_size +=
2790
0
                  1 * ::google::protobuf::internal::FromIntSize(this_._internal_headers().size());
2791
0
              for (int i = 0, n = this_._internal_headers().size(); i < n; ++i) {
2792
0
                total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
2793
0
                    this_._internal_headers().Get(i));
2794
0
              }
2795
0
            }
2796
0
          }
2797
0
           {
2798
            // bytes name = 1;
2799
0
            if (!this_._internal_name().empty()) {
2800
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2801
0
                                              this_._internal_name());
2802
0
            }
2803
            // bytes data = 2;
2804
0
            if (!this_._internal_data().empty()) {
2805
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2806
0
                                              this_._internal_data());
2807
0
            }
2808
            // bytes filename = 3;
2809
0
            if (!this_._internal_filename().empty()) {
2810
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2811
0
                                              this_._internal_filename());
2812
0
            }
2813
            // bytes content_type = 4;
2814
0
            if (!this_._internal_content_type().empty()) {
2815
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
2816
0
                                              this_._internal_content_type());
2817
0
            }
2818
            // .curl.fuzzer.proto.MimeEncoder encoder = 5;
2819
0
            if (this_._internal_encoder() != 0) {
2820
0
              total_size += 1 +
2821
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_encoder());
2822
0
            }
2823
0
          }
2824
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2825
0
                                                     &this_._impl_._cached_size_);
2826
0
        }
2827
2828
0
void MimeDataPart::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2829
0
  auto* const _this = static_cast<MimeDataPart*>(&to_msg);
2830
0
  auto& from = static_cast<const MimeDataPart&>(from_msg);
2831
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.MimeDataPart)
2832
0
  ABSL_DCHECK_NE(&from, _this);
2833
0
  ::uint32_t cached_has_bits = 0;
2834
0
  (void) cached_has_bits;
2835
2836
0
  _this->_internal_mutable_headers()->MergeFrom(from._internal_headers());
2837
0
  if (!from._internal_name().empty()) {
2838
0
    _this->_internal_set_name(from._internal_name());
2839
0
  }
2840
0
  if (!from._internal_data().empty()) {
2841
0
    _this->_internal_set_data(from._internal_data());
2842
0
  }
2843
0
  if (!from._internal_filename().empty()) {
2844
0
    _this->_internal_set_filename(from._internal_filename());
2845
0
  }
2846
0
  if (!from._internal_content_type().empty()) {
2847
0
    _this->_internal_set_content_type(from._internal_content_type());
2848
0
  }
2849
0
  if (from._internal_encoder() != 0) {
2850
0
    _this->_impl_.encoder_ = from._impl_.encoder_;
2851
0
  }
2852
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2853
0
}
2854
2855
0
void MimeDataPart::CopyFrom(const MimeDataPart& from) {
2856
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.MimeDataPart)
2857
0
  if (&from == this) return;
2858
0
  Clear();
2859
0
  MergeFrom(from);
2860
0
}
2861
2862
2863
0
void MimeDataPart::InternalSwap(MimeDataPart* PROTOBUF_RESTRICT other) {
2864
0
  using std::swap;
2865
0
  auto* arena = GetArena();
2866
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
2867
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2868
0
  _impl_.headers_.InternalSwap(&other->_impl_.headers_);
2869
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
2870
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
2871
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.filename_, &other->_impl_.filename_, arena);
2872
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.content_type_, &other->_impl_.content_type_, arena);
2873
0
  swap(_impl_.encoder_, other->_impl_.encoder_);
2874
0
}
2875
2876
0
::google::protobuf::Metadata MimeDataPart::GetMetadata() const {
2877
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2878
0
}
2879
// ===================================================================
2880
2881
class SetOption::_Internal {
2882
 public:
2883
  static constexpr ::int32_t kOneofCaseOffset =
2884
      PROTOBUF_FIELD_OFFSET(::curl::fuzzer::proto::SetOption, _impl_._oneof_case_);
2885
};
2886
2887
SetOption::SetOption(::google::protobuf::Arena* arena)
2888
#if defined(PROTOBUF_CUSTOM_VTABLE)
2889
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2890
#else   // PROTOBUF_CUSTOM_VTABLE
2891
0
    : ::google::protobuf::Message(arena) {
2892
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2893
0
  SharedCtor(arena);
2894
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.SetOption)
2895
0
}
2896
inline PROTOBUF_NDEBUG_INLINE SetOption::Impl_::Impl_(
2897
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2898
    const Impl_& from, const ::curl::fuzzer::proto::SetOption& from_msg)
2899
0
      : value_{},
2900
0
        _cached_size_{0},
2901
0
        _oneof_case_{from._oneof_case_[0]} {}
2902
2903
SetOption::SetOption(
2904
    ::google::protobuf::Arena* arena,
2905
    const SetOption& from)
2906
#if defined(PROTOBUF_CUSTOM_VTABLE)
2907
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2908
#else   // PROTOBUF_CUSTOM_VTABLE
2909
0
    : ::google::protobuf::Message(arena) {
2910
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2911
0
  SetOption* const _this = this;
2912
0
  (void)_this;
2913
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2914
0
      from._internal_metadata_);
2915
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2916
0
  _impl_.option_id_ = from._impl_.option_id_;
2917
0
  switch (value_case()) {
2918
0
    case VALUE_NOT_SET:
2919
0
      break;
2920
0
      case kStringValue:
2921
0
        new (&_impl_.value_.string_value_) decltype(_impl_.value_.string_value_){arena, from._impl_.value_.string_value_};
2922
0
        break;
2923
0
      case kUintValue:
2924
0
        _impl_.value_.uint_value_ = from._impl_.value_.uint_value_;
2925
0
        break;
2926
0
      case kBoolValue:
2927
0
        _impl_.value_.bool_value_ = from._impl_.value_.bool_value_;
2928
0
        break;
2929
0
  }
2930
2931
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.SetOption)
2932
0
}
2933
inline PROTOBUF_NDEBUG_INLINE SetOption::Impl_::Impl_(
2934
    ::google::protobuf::internal::InternalVisibility visibility,
2935
    ::google::protobuf::Arena* arena)
2936
0
      : value_{},
2937
0
        _cached_size_{0},
2938
0
        _oneof_case_{} {}
2939
2940
0
inline void SetOption::SharedCtor(::_pb::Arena* arena) {
2941
0
  new (&_impl_) Impl_(internal_visibility(), arena);
2942
0
  _impl_.option_id_ = {};
2943
0
}
2944
65.7k
SetOption::~SetOption() {
2945
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.SetOption)
2946
65.7k
  SharedDtor(*this);
2947
65.7k
}
2948
65.7k
inline void SetOption::SharedDtor(MessageLite& self) {
2949
65.7k
  SetOption& this_ = static_cast<SetOption&>(self);
2950
65.7k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2951
65.7k
  ABSL_DCHECK(this_.GetArena() == nullptr);
2952
65.7k
  if (this_.has_value()) {
2953
20.2k
    this_.clear_value();
2954
20.2k
  }
2955
65.7k
  this_._impl_.~Impl_();
2956
65.7k
}
2957
2958
42.0k
void SetOption::clear_value() {
2959
// @@protoc_insertion_point(one_of_clear_start:curl.fuzzer.proto.SetOption)
2960
42.0k
  ::google::protobuf::internal::TSanWrite(&_impl_);
2961
42.0k
  switch (value_case()) {
2962
9.04k
    case kStringValue: {
2963
9.04k
      _impl_.value_.string_value_.Destroy();
2964
9.04k
      break;
2965
0
    }
2966
15.0k
    case kUintValue: {
2967
      // No need to clear
2968
15.0k
      break;
2969
0
    }
2970
8.64k
    case kBoolValue: {
2971
      // No need to clear
2972
8.64k
      break;
2973
0
    }
2974
9.34k
    case VALUE_NOT_SET: {
2975
9.34k
      break;
2976
0
    }
2977
42.0k
  }
2978
42.0k
  _impl_._oneof_case_[0] = VALUE_NOT_SET;
2979
42.0k
}
2980
2981
2982
inline void* SetOption::PlacementNew_(const void*, void* mem,
2983
0
                                        ::google::protobuf::Arena* arena) {
2984
0
  return ::new (mem) SetOption(arena);
2985
0
}
2986
0
constexpr auto SetOption::InternalNewImpl_() {
2987
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetOption),
2988
0
                                            alignof(SetOption));
2989
0
}
2990
PROTOBUF_CONSTINIT
2991
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2992
const ::google::protobuf::internal::ClassDataFull SetOption::_class_data_ = {
2993
    ::google::protobuf::internal::ClassData{
2994
        &_SetOption_default_instance_._instance,
2995
        &_table_.header,
2996
        nullptr,  // OnDemandRegisterArenaDtor
2997
        nullptr,  // IsInitialized
2998
        &SetOption::MergeImpl,
2999
        ::google::protobuf::Message::GetNewImpl<SetOption>(),
3000
#if defined(PROTOBUF_CUSTOM_VTABLE)
3001
        &SetOption::SharedDtor,
3002
        ::google::protobuf::Message::GetClearImpl<SetOption>(), &SetOption::ByteSizeLong,
3003
            &SetOption::_InternalSerialize,
3004
#endif  // PROTOBUF_CUSTOM_VTABLE
3005
        PROTOBUF_FIELD_OFFSET(SetOption, _impl_._cached_size_),
3006
        false,
3007
    },
3008
    &SetOption::kDescriptorMethods,
3009
    &descriptor_table_curl_5ffuzzer_2eproto,
3010
    nullptr,  // tracker
3011
};
3012
263k
const ::google::protobuf::internal::ClassData* SetOption::GetClassData() const {
3013
263k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3014
263k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3015
263k
  return _class_data_.base();
3016
263k
}
3017
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3018
const ::_pbi::TcParseTable<0, 4, 0, 0, 2> SetOption::_table_ = {
3019
  {
3020
    0,  // no _has_bits_
3021
    0, // no _extensions_
3022
    12, 0,  // max_field_number, fast_idx_mask
3023
    offsetof(decltype(_table_), field_lookup_table),
3024
    4294963710,  // skipmap
3025
    offsetof(decltype(_table_), field_entries),
3026
    4,  // num_field_entries
3027
    0,  // num_aux_entries
3028
    offsetof(decltype(_table_), field_names),  // no aux_entries
3029
    _class_data_.base(),
3030
    nullptr,  // post_loop_handler
3031
    ::_pbi::TcParser::GenericFallback,  // fallback
3032
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3033
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::SetOption>(),  // to_prefetch
3034
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3035
  }, {{
3036
    // .curl.fuzzer.proto.CurlOptionId option_id = 1;
3037
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SetOption, _impl_.option_id_), 63>(),
3038
     {8, 63, 0, PROTOBUF_FIELD_OFFSET(SetOption, _impl_.option_id_)}},
3039
  }}, {{
3040
    65535, 65535
3041
  }}, {{
3042
    // .curl.fuzzer.proto.CurlOptionId option_id = 1;
3043
    {PROTOBUF_FIELD_OFFSET(SetOption, _impl_.option_id_), 0, 0,
3044
    (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
3045
    // bytes string_value = 10;
3046
    {PROTOBUF_FIELD_OFFSET(SetOption, _impl_.value_.string_value_), _Internal::kOneofCaseOffset + 0, 0,
3047
    (0 | ::_fl::kFcOneof | ::_fl::kBytes | ::_fl::kRepAString)},
3048
    // uint64 uint_value = 11;
3049
    {PROTOBUF_FIELD_OFFSET(SetOption, _impl_.value_.uint_value_), _Internal::kOneofCaseOffset + 0, 0,
3050
    (0 | ::_fl::kFcOneof | ::_fl::kUInt64)},
3051
    // bool bool_value = 12;
3052
    {PROTOBUF_FIELD_OFFSET(SetOption, _impl_.value_.bool_value_), _Internal::kOneofCaseOffset + 0, 0,
3053
    (0 | ::_fl::kFcOneof | ::_fl::kBool)},
3054
  }},
3055
  // no aux_entries
3056
  {{
3057
  }},
3058
};
3059
3060
21.8k
PROTOBUF_NOINLINE void SetOption::Clear() {
3061
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.SetOption)
3062
21.8k
  ::google::protobuf::internal::TSanWrite(&_impl_);
3063
21.8k
  ::uint32_t cached_has_bits = 0;
3064
  // Prevent compiler warnings about cached_has_bits being unused
3065
21.8k
  (void) cached_has_bits;
3066
3067
21.8k
  _impl_.option_id_ = 0;
3068
21.8k
  clear_value();
3069
21.8k
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3070
21.8k
}
3071
3072
#if defined(PROTOBUF_CUSTOM_VTABLE)
3073
        ::uint8_t* SetOption::_InternalSerialize(
3074
            const MessageLite& base, ::uint8_t* target,
3075
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3076
          const SetOption& this_ = static_cast<const SetOption&>(base);
3077
#else   // PROTOBUF_CUSTOM_VTABLE
3078
        ::uint8_t* SetOption::_InternalSerialize(
3079
            ::uint8_t* target,
3080
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3081
0
          const SetOption& this_ = *this;
3082
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3083
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.SetOption)
3084
0
          ::uint32_t cached_has_bits = 0;
3085
0
          (void)cached_has_bits;
3086
3087
          // .curl.fuzzer.proto.CurlOptionId option_id = 1;
3088
0
          if (this_._internal_option_id() != 0) {
3089
0
            target = stream->EnsureSpace(target);
3090
0
            target = ::_pbi::WireFormatLite::WriteEnumToArray(
3091
0
                1, this_._internal_option_id(), target);
3092
0
          }
3093
3094
0
          switch (this_.value_case()) {
3095
0
            case kStringValue: {
3096
0
              const std::string& _s = this_._internal_string_value();
3097
0
              target = stream->WriteBytesMaybeAliased(10, _s, target);
3098
0
              break;
3099
0
            }
3100
0
            case kUintValue: {
3101
0
              target = stream->EnsureSpace(target);
3102
0
              target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
3103
0
                  11, this_._internal_uint_value(), target);
3104
0
              break;
3105
0
            }
3106
0
            case kBoolValue: {
3107
0
              target = stream->EnsureSpace(target);
3108
0
              target = ::_pbi::WireFormatLite::WriteBoolToArray(
3109
0
                  12, this_._internal_bool_value(), target);
3110
0
              break;
3111
0
            }
3112
0
            default:
3113
0
              break;
3114
0
          }
3115
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3116
0
            target =
3117
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3118
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3119
0
          }
3120
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.SetOption)
3121
0
          return target;
3122
0
        }
3123
3124
#if defined(PROTOBUF_CUSTOM_VTABLE)
3125
        ::size_t SetOption::ByteSizeLong(const MessageLite& base) {
3126
          const SetOption& this_ = static_cast<const SetOption&>(base);
3127
#else   // PROTOBUF_CUSTOM_VTABLE
3128
0
        ::size_t SetOption::ByteSizeLong() const {
3129
0
          const SetOption& this_ = *this;
3130
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3131
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.SetOption)
3132
0
          ::size_t total_size = 0;
3133
3134
0
          ::uint32_t cached_has_bits = 0;
3135
          // Prevent compiler warnings about cached_has_bits being unused
3136
0
          (void)cached_has_bits;
3137
3138
0
           {
3139
            // .curl.fuzzer.proto.CurlOptionId option_id = 1;
3140
0
            if (this_._internal_option_id() != 0) {
3141
0
              total_size += 1 +
3142
0
                            ::_pbi::WireFormatLite::EnumSize(this_._internal_option_id());
3143
0
            }
3144
0
          }
3145
0
          switch (this_.value_case()) {
3146
            // bytes string_value = 10;
3147
0
            case kStringValue: {
3148
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
3149
0
                                              this_._internal_string_value());
3150
0
              break;
3151
0
            }
3152
            // uint64 uint_value = 11;
3153
0
            case kUintValue: {
3154
0
              total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
3155
0
                  this_._internal_uint_value());
3156
0
              break;
3157
0
            }
3158
            // bool bool_value = 12;
3159
0
            case kBoolValue: {
3160
0
              total_size += 2;
3161
0
              break;
3162
0
            }
3163
0
            case VALUE_NOT_SET: {
3164
0
              break;
3165
0
            }
3166
0
          }
3167
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3168
0
                                                     &this_._impl_._cached_size_);
3169
0
        }
3170
3171
0
void SetOption::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3172
0
  auto* const _this = static_cast<SetOption*>(&to_msg);
3173
0
  auto& from = static_cast<const SetOption&>(from_msg);
3174
0
  ::google::protobuf::Arena* arena = _this->GetArena();
3175
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.SetOption)
3176
0
  ABSL_DCHECK_NE(&from, _this);
3177
0
  ::uint32_t cached_has_bits = 0;
3178
0
  (void) cached_has_bits;
3179
3180
0
  if (from._internal_option_id() != 0) {
3181
0
    _this->_impl_.option_id_ = from._impl_.option_id_;
3182
0
  }
3183
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
3184
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
3185
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
3186
0
    if (oneof_needs_init) {
3187
0
      if (oneof_to_case != 0) {
3188
0
        _this->clear_value();
3189
0
      }
3190
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
3191
0
    }
3192
3193
0
    switch (oneof_from_case) {
3194
0
      case kStringValue: {
3195
0
        if (oneof_needs_init) {
3196
0
          _this->_impl_.value_.string_value_.InitDefault();
3197
0
        }
3198
0
        _this->_impl_.value_.string_value_.Set(from._internal_string_value(), arena);
3199
0
        break;
3200
0
      }
3201
0
      case kUintValue: {
3202
0
        _this->_impl_.value_.uint_value_ = from._impl_.value_.uint_value_;
3203
0
        break;
3204
0
      }
3205
0
      case kBoolValue: {
3206
0
        _this->_impl_.value_.bool_value_ = from._impl_.value_.bool_value_;
3207
0
        break;
3208
0
      }
3209
0
      case VALUE_NOT_SET:
3210
0
        break;
3211
0
    }
3212
0
  }
3213
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3214
0
}
3215
3216
0
void SetOption::CopyFrom(const SetOption& from) {
3217
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.SetOption)
3218
0
  if (&from == this) return;
3219
0
  Clear();
3220
0
  MergeFrom(from);
3221
0
}
3222
3223
3224
0
void SetOption::InternalSwap(SetOption* PROTOBUF_RESTRICT other) {
3225
0
  using std::swap;
3226
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3227
0
  swap(_impl_.option_id_, other->_impl_.option_id_);
3228
0
  swap(_impl_.value_, other->_impl_.value_);
3229
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
3230
0
}
3231
3232
0
::google::protobuf::Metadata SetOption::GetMetadata() const {
3233
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3234
0
}
3235
// ===================================================================
3236
3237
class Connection::_Internal {
3238
 public:
3239
  using HasBits =
3240
      decltype(std::declval<Connection>()._impl_._has_bits_);
3241
  static constexpr ::int32_t kHasBitsOffset =
3242
      8 * PROTOBUF_FIELD_OFFSET(Connection, _impl_._has_bits_);
3243
};
3244
3245
Connection::Connection(::google::protobuf::Arena* arena)
3246
#if defined(PROTOBUF_CUSTOM_VTABLE)
3247
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3248
#else   // PROTOBUF_CUSTOM_VTABLE
3249
0
    : ::google::protobuf::Message(arena) {
3250
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3251
0
  SharedCtor(arena);
3252
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.Connection)
3253
0
}
3254
inline PROTOBUF_NDEBUG_INLINE Connection::Impl_::Impl_(
3255
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3256
    const Impl_& from, const ::curl::fuzzer::proto::Connection& from_msg)
3257
0
      : _has_bits_{from._has_bits_},
3258
0
        _cached_size_{0},
3259
0
        on_readable_{visibility, arena, from.on_readable_},
3260
0
        server_frames_{visibility, arena, from.server_frames_},
3261
0
        initial_response_(arena, from.initial_response_) {}
3262
3263
Connection::Connection(
3264
    ::google::protobuf::Arena* arena,
3265
    const Connection& from)
3266
#if defined(PROTOBUF_CUSTOM_VTABLE)
3267
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3268
#else   // PROTOBUF_CUSTOM_VTABLE
3269
0
    : ::google::protobuf::Message(arena) {
3270
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3271
0
  Connection* const _this = this;
3272
0
  (void)_this;
3273
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3274
0
      from._internal_metadata_);
3275
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3276
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
3277
0
  _impl_.backpressure_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::BackpressureConfig>(
3278
0
                              arena, *from._impl_.backpressure_)
3279
0
                        : nullptr;
3280
0
  _impl_.manual_probes_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::WsManualProbes>(
3281
0
                              arena, *from._impl_.manual_probes_)
3282
0
                        : nullptr;
3283
3284
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.Connection)
3285
0
}
3286
inline PROTOBUF_NDEBUG_INLINE Connection::Impl_::Impl_(
3287
    ::google::protobuf::internal::InternalVisibility visibility,
3288
    ::google::protobuf::Arena* arena)
3289
0
      : _cached_size_{0},
3290
0
        on_readable_{visibility, arena},
3291
0
        server_frames_{visibility, arena},
3292
0
        initial_response_(arena) {}
3293
3294
0
inline void Connection::SharedCtor(::_pb::Arena* arena) {
3295
0
  new (&_impl_) Impl_(internal_visibility(), arena);
3296
0
  ::memset(reinterpret_cast<char *>(&_impl_) +
3297
0
               offsetof(Impl_, backpressure_),
3298
0
           0,
3299
0
           offsetof(Impl_, manual_probes_) -
3300
0
               offsetof(Impl_, backpressure_) +
3301
0
               sizeof(Impl_::manual_probes_));
3302
0
}
3303
7.70k
Connection::~Connection() {
3304
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.Connection)
3305
7.70k
  SharedDtor(*this);
3306
7.70k
}
3307
7.70k
inline void Connection::SharedDtor(MessageLite& self) {
3308
7.70k
  Connection& this_ = static_cast<Connection&>(self);
3309
7.70k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3310
7.70k
  ABSL_DCHECK(this_.GetArena() == nullptr);
3311
7.70k
  this_._impl_.initial_response_.Destroy();
3312
7.70k
  delete this_._impl_.backpressure_;
3313
7.70k
  delete this_._impl_.manual_probes_;
3314
7.70k
  this_._impl_.~Impl_();
3315
7.70k
}
3316
3317
inline void* Connection::PlacementNew_(const void*, void* mem,
3318
0
                                        ::google::protobuf::Arena* arena) {
3319
0
  return ::new (mem) Connection(arena);
3320
0
}
3321
0
constexpr auto Connection::InternalNewImpl_() {
3322
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3323
0
      PROTOBUF_FIELD_OFFSET(Connection, _impl_.on_readable_) +
3324
0
          decltype(Connection::_impl_.on_readable_)::
3325
0
              InternalGetArenaOffset(
3326
0
                  ::google::protobuf::Message::internal_visibility()),
3327
0
      PROTOBUF_FIELD_OFFSET(Connection, _impl_.server_frames_) +
3328
0
          decltype(Connection::_impl_.server_frames_)::
3329
0
              InternalGetArenaOffset(
3330
0
                  ::google::protobuf::Message::internal_visibility()),
3331
0
  });
3332
0
  if (arena_bits.has_value()) {
3333
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
3334
0
        sizeof(Connection), alignof(Connection), *arena_bits);
3335
0
  } else {
3336
0
    return ::google::protobuf::internal::MessageCreator(&Connection::PlacementNew_,
3337
0
                                 sizeof(Connection),
3338
0
                                 alignof(Connection));
3339
0
  }
3340
0
}
3341
PROTOBUF_CONSTINIT
3342
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3343
const ::google::protobuf::internal::ClassDataFull Connection::_class_data_ = {
3344
    ::google::protobuf::internal::ClassData{
3345
        &_Connection_default_instance_._instance,
3346
        &_table_.header,
3347
        nullptr,  // OnDemandRegisterArenaDtor
3348
        nullptr,  // IsInitialized
3349
        &Connection::MergeImpl,
3350
        ::google::protobuf::Message::GetNewImpl<Connection>(),
3351
#if defined(PROTOBUF_CUSTOM_VTABLE)
3352
        &Connection::SharedDtor,
3353
        ::google::protobuf::Message::GetClearImpl<Connection>(), &Connection::ByteSizeLong,
3354
            &Connection::_InternalSerialize,
3355
#endif  // PROTOBUF_CUSTOM_VTABLE
3356
        PROTOBUF_FIELD_OFFSET(Connection, _impl_._cached_size_),
3357
        false,
3358
    },
3359
    &Connection::kDescriptorMethods,
3360
    &descriptor_table_curl_5ffuzzer_2eproto,
3361
    nullptr,  // tracker
3362
};
3363
45.5k
const ::google::protobuf::internal::ClassData* Connection::GetClassData() const {
3364
45.5k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3365
45.5k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3366
45.5k
  return _class_data_.base();
3367
45.5k
}
3368
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3369
const ::_pbi::TcParseTable<3, 5, 3, 0, 2> Connection::_table_ = {
3370
  {
3371
    PROTOBUF_FIELD_OFFSET(Connection, _impl_._has_bits_),
3372
    0, // no _extensions_
3373
    5, 56,  // max_field_number, fast_idx_mask
3374
    offsetof(decltype(_table_), field_lookup_table),
3375
    4294967264,  // skipmap
3376
    offsetof(decltype(_table_), field_entries),
3377
    5,  // num_field_entries
3378
    3,  // num_aux_entries
3379
    offsetof(decltype(_table_), aux_entries),
3380
    _class_data_.base(),
3381
    nullptr,  // post_loop_handler
3382
    ::_pbi::TcParser::GenericFallback,  // fallback
3383
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3384
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::Connection>(),  // to_prefetch
3385
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3386
  }, {{
3387
    {::_pbi::TcParser::MiniParse, {}},
3388
    // bytes initial_response = 1;
3389
    {::_pbi::TcParser::FastBS1,
3390
     {10, 63, 0, PROTOBUF_FIELD_OFFSET(Connection, _impl_.initial_response_)}},
3391
    // repeated bytes on_readable = 2;
3392
    {::_pbi::TcParser::FastBR1,
3393
     {18, 63, 0, PROTOBUF_FIELD_OFFSET(Connection, _impl_.on_readable_)}},
3394
    // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3;
3395
    {::_pbi::TcParser::FastMtR1,
3396
     {26, 63, 0, PROTOBUF_FIELD_OFFSET(Connection, _impl_.server_frames_)}},
3397
    // .curl.fuzzer.proto.BackpressureConfig backpressure = 4;
3398
    {::_pbi::TcParser::FastMtS1,
3399
     {34, 0, 1, PROTOBUF_FIELD_OFFSET(Connection, _impl_.backpressure_)}},
3400
    // .curl.fuzzer.proto.WsManualProbes manual_probes = 5;
3401
    {::_pbi::TcParser::FastMtS1,
3402
     {42, 1, 2, PROTOBUF_FIELD_OFFSET(Connection, _impl_.manual_probes_)}},
3403
    {::_pbi::TcParser::MiniParse, {}},
3404
    {::_pbi::TcParser::MiniParse, {}},
3405
  }}, {{
3406
    65535, 65535
3407
  }}, {{
3408
    // bytes initial_response = 1;
3409
    {PROTOBUF_FIELD_OFFSET(Connection, _impl_.initial_response_), -1, 0,
3410
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
3411
    // repeated bytes on_readable = 2;
3412
    {PROTOBUF_FIELD_OFFSET(Connection, _impl_.on_readable_), -1, 0,
3413
    (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)},
3414
    // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3;
3415
    {PROTOBUF_FIELD_OFFSET(Connection, _impl_.server_frames_), -1, 0,
3416
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3417
    // .curl.fuzzer.proto.BackpressureConfig backpressure = 4;
3418
    {PROTOBUF_FIELD_OFFSET(Connection, _impl_.backpressure_), _Internal::kHasBitsOffset + 0, 1,
3419
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3420
    // .curl.fuzzer.proto.WsManualProbes manual_probes = 5;
3421
    {PROTOBUF_FIELD_OFFSET(Connection, _impl_.manual_probes_), _Internal::kHasBitsOffset + 1, 2,
3422
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3423
  }}, {{
3424
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::WebSocketFrame>()},
3425
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::BackpressureConfig>()},
3426
    {::_pbi::TcParser::GetTable<::curl::fuzzer::proto::WsManualProbes>()},
3427
  }}, {{
3428
  }},
3429
};
3430
3431
121
PROTOBUF_NOINLINE void Connection::Clear() {
3432
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.Connection)
3433
121
  ::google::protobuf::internal::TSanWrite(&_impl_);
3434
121
  ::uint32_t cached_has_bits = 0;
3435
  // Prevent compiler warnings about cached_has_bits being unused
3436
121
  (void) cached_has_bits;
3437
3438
121
  _impl_.on_readable_.Clear();
3439
121
  _impl_.server_frames_.Clear();
3440
121
  _impl_.initial_response_.ClearToEmpty();
3441
121
  cached_has_bits = _impl_._has_bits_[0];
3442
121
  if (cached_has_bits & 0x00000003u) {
3443
19
    if (cached_has_bits & 0x00000001u) {
3444
16
      ABSL_DCHECK(_impl_.backpressure_ != nullptr);
3445
16
      _impl_.backpressure_->Clear();
3446
16
    }
3447
19
    if (cached_has_bits & 0x00000002u) {
3448
9
      ABSL_DCHECK(_impl_.manual_probes_ != nullptr);
3449
9
      _impl_.manual_probes_->Clear();
3450
9
    }
3451
19
  }
3452
121
  _impl_._has_bits_.Clear();
3453
121
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3454
121
}
3455
3456
#if defined(PROTOBUF_CUSTOM_VTABLE)
3457
        ::uint8_t* Connection::_InternalSerialize(
3458
            const MessageLite& base, ::uint8_t* target,
3459
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3460
          const Connection& this_ = static_cast<const Connection&>(base);
3461
#else   // PROTOBUF_CUSTOM_VTABLE
3462
        ::uint8_t* Connection::_InternalSerialize(
3463
            ::uint8_t* target,
3464
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3465
0
          const Connection& this_ = *this;
3466
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3467
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.Connection)
3468
0
          ::uint32_t cached_has_bits = 0;
3469
0
          (void)cached_has_bits;
3470
3471
          // bytes initial_response = 1;
3472
0
          if (!this_._internal_initial_response().empty()) {
3473
0
            const std::string& _s = this_._internal_initial_response();
3474
0
            target = stream->WriteBytesMaybeAliased(1, _s, target);
3475
0
          }
3476
3477
          // repeated bytes on_readable = 2;
3478
0
          for (int i = 0, n = this_._internal_on_readable_size(); i < n; ++i) {
3479
0
            const auto& s = this_._internal_on_readable().Get(i);
3480
0
            target = stream->WriteBytes(2, s, target);
3481
0
          }
3482
3483
          // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3;
3484
0
          for (unsigned i = 0, n = static_cast<unsigned>(
3485
0
                                   this_._internal_server_frames_size());
3486
0
               i < n; i++) {
3487
0
            const auto& repfield = this_._internal_server_frames().Get(i);
3488
0
            target =
3489
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3490
0
                    3, repfield, repfield.GetCachedSize(),
3491
0
                    target, stream);
3492
0
          }
3493
3494
0
          cached_has_bits = this_._impl_._has_bits_[0];
3495
          // .curl.fuzzer.proto.BackpressureConfig backpressure = 4;
3496
0
          if (cached_has_bits & 0x00000001u) {
3497
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3498
0
                4, *this_._impl_.backpressure_, this_._impl_.backpressure_->GetCachedSize(), target,
3499
0
                stream);
3500
0
          }
3501
3502
          // .curl.fuzzer.proto.WsManualProbes manual_probes = 5;
3503
0
          if (cached_has_bits & 0x00000002u) {
3504
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3505
0
                5, *this_._impl_.manual_probes_, this_._impl_.manual_probes_->GetCachedSize(), target,
3506
0
                stream);
3507
0
          }
3508
3509
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3510
0
            target =
3511
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3512
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3513
0
          }
3514
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.Connection)
3515
0
          return target;
3516
0
        }
3517
3518
#if defined(PROTOBUF_CUSTOM_VTABLE)
3519
        ::size_t Connection::ByteSizeLong(const MessageLite& base) {
3520
          const Connection& this_ = static_cast<const Connection&>(base);
3521
#else   // PROTOBUF_CUSTOM_VTABLE
3522
0
        ::size_t Connection::ByteSizeLong() const {
3523
0
          const Connection& this_ = *this;
3524
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3525
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.Connection)
3526
0
          ::size_t total_size = 0;
3527
3528
0
          ::uint32_t cached_has_bits = 0;
3529
          // Prevent compiler warnings about cached_has_bits being unused
3530
0
          (void)cached_has_bits;
3531
3532
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3533
0
           {
3534
            // repeated bytes on_readable = 2;
3535
0
            {
3536
0
              total_size +=
3537
0
                  1 * ::google::protobuf::internal::FromIntSize(this_._internal_on_readable().size());
3538
0
              for (int i = 0, n = this_._internal_on_readable().size(); i < n; ++i) {
3539
0
                total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
3540
0
                    this_._internal_on_readable().Get(i));
3541
0
              }
3542
0
            }
3543
            // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3;
3544
0
            {
3545
0
              total_size += 1UL * this_._internal_server_frames_size();
3546
0
              for (const auto& msg : this_._internal_server_frames()) {
3547
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3548
0
              }
3549
0
            }
3550
0
          }
3551
0
           {
3552
            // bytes initial_response = 1;
3553
0
            if (!this_._internal_initial_response().empty()) {
3554
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
3555
0
                                              this_._internal_initial_response());
3556
0
            }
3557
0
          }
3558
0
          cached_has_bits = this_._impl_._has_bits_[0];
3559
0
          if (cached_has_bits & 0x00000003u) {
3560
            // .curl.fuzzer.proto.BackpressureConfig backpressure = 4;
3561
0
            if (cached_has_bits & 0x00000001u) {
3562
0
              total_size += 1 +
3563
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.backpressure_);
3564
0
            }
3565
            // .curl.fuzzer.proto.WsManualProbes manual_probes = 5;
3566
0
            if (cached_has_bits & 0x00000002u) {
3567
0
              total_size += 1 +
3568
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.manual_probes_);
3569
0
            }
3570
0
          }
3571
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3572
0
                                                     &this_._impl_._cached_size_);
3573
0
        }
3574
3575
0
void Connection::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3576
0
  auto* const _this = static_cast<Connection*>(&to_msg);
3577
0
  auto& from = static_cast<const Connection&>(from_msg);
3578
0
  ::google::protobuf::Arena* arena = _this->GetArena();
3579
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.Connection)
3580
0
  ABSL_DCHECK_NE(&from, _this);
3581
0
  ::uint32_t cached_has_bits = 0;
3582
0
  (void) cached_has_bits;
3583
3584
0
  _this->_internal_mutable_on_readable()->MergeFrom(from._internal_on_readable());
3585
0
  _this->_internal_mutable_server_frames()->MergeFrom(
3586
0
      from._internal_server_frames());
3587
0
  if (!from._internal_initial_response().empty()) {
3588
0
    _this->_internal_set_initial_response(from._internal_initial_response());
3589
0
  }
3590
0
  cached_has_bits = from._impl_._has_bits_[0];
3591
0
  if (cached_has_bits & 0x00000003u) {
3592
0
    if (cached_has_bits & 0x00000001u) {
3593
0
      ABSL_DCHECK(from._impl_.backpressure_ != nullptr);
3594
0
      if (_this->_impl_.backpressure_ == nullptr) {
3595
0
        _this->_impl_.backpressure_ =
3596
0
            ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::BackpressureConfig>(arena, *from._impl_.backpressure_);
3597
0
      } else {
3598
0
        _this->_impl_.backpressure_->MergeFrom(*from._impl_.backpressure_);
3599
0
      }
3600
0
    }
3601
0
    if (cached_has_bits & 0x00000002u) {
3602
0
      ABSL_DCHECK(from._impl_.manual_probes_ != nullptr);
3603
0
      if (_this->_impl_.manual_probes_ == nullptr) {
3604
0
        _this->_impl_.manual_probes_ =
3605
0
            ::google::protobuf::Message::CopyConstruct<::curl::fuzzer::proto::WsManualProbes>(arena, *from._impl_.manual_probes_);
3606
0
      } else {
3607
0
        _this->_impl_.manual_probes_->MergeFrom(*from._impl_.manual_probes_);
3608
0
      }
3609
0
    }
3610
0
  }
3611
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
3612
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3613
0
}
3614
3615
0
void Connection::CopyFrom(const Connection& from) {
3616
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.Connection)
3617
0
  if (&from == this) return;
3618
0
  Clear();
3619
0
  MergeFrom(from);
3620
0
}
3621
3622
3623
0
void Connection::InternalSwap(Connection* PROTOBUF_RESTRICT other) {
3624
0
  using std::swap;
3625
0
  auto* arena = GetArena();
3626
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
3627
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3628
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3629
0
  _impl_.on_readable_.InternalSwap(&other->_impl_.on_readable_);
3630
0
  _impl_.server_frames_.InternalSwap(&other->_impl_.server_frames_);
3631
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.initial_response_, &other->_impl_.initial_response_, arena);
3632
0
  ::google::protobuf::internal::memswap<
3633
0
      PROTOBUF_FIELD_OFFSET(Connection, _impl_.manual_probes_)
3634
0
      + sizeof(Connection::_impl_.manual_probes_)
3635
0
      - PROTOBUF_FIELD_OFFSET(Connection, _impl_.backpressure_)>(
3636
0
          reinterpret_cast<char*>(&_impl_.backpressure_),
3637
0
          reinterpret_cast<char*>(&other->_impl_.backpressure_));
3638
0
}
3639
3640
0
::google::protobuf::Metadata Connection::GetMetadata() const {
3641
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3642
0
}
3643
// ===================================================================
3644
3645
class WsManualProbes::_Internal {
3646
 public:
3647
};
3648
3649
WsManualProbes::WsManualProbes(::google::protobuf::Arena* arena)
3650
#if defined(PROTOBUF_CUSTOM_VTABLE)
3651
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3652
#else   // PROTOBUF_CUSTOM_VTABLE
3653
0
    : ::google::protobuf::Message(arena) {
3654
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3655
0
  SharedCtor(arena);
3656
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.WsManualProbes)
3657
0
}
3658
WsManualProbes::WsManualProbes(
3659
    ::google::protobuf::Arena* arena, const WsManualProbes& from)
3660
0
    : WsManualProbes(arena) {
3661
0
  MergeFrom(from);
3662
0
}
3663
inline PROTOBUF_NDEBUG_INLINE WsManualProbes::Impl_::Impl_(
3664
    ::google::protobuf::internal::InternalVisibility visibility,
3665
    ::google::protobuf::Arena* arena)
3666
0
      : _cached_size_{0} {}
3667
3668
0
inline void WsManualProbes::SharedCtor(::_pb::Arena* arena) {
3669
0
  new (&_impl_) Impl_(internal_visibility(), arena);
3670
0
  ::memset(reinterpret_cast<char *>(&_impl_) +
3671
0
               offsetof(Impl_, flag_matrix_),
3672
0
           0,
3673
0
           offsetof(Impl_, raw_send_) -
3674
0
               offsetof(Impl_, flag_matrix_) +
3675
0
               sizeof(Impl_::raw_send_));
3676
0
}
3677
698
WsManualProbes::~WsManualProbes() {
3678
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.WsManualProbes)
3679
698
  SharedDtor(*this);
3680
698
}
3681
698
inline void WsManualProbes::SharedDtor(MessageLite& self) {
3682
698
  WsManualProbes& this_ = static_cast<WsManualProbes&>(self);
3683
698
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3684
698
  ABSL_DCHECK(this_.GetArena() == nullptr);
3685
698
  this_._impl_.~Impl_();
3686
698
}
3687
3688
inline void* WsManualProbes::PlacementNew_(const void*, void* mem,
3689
0
                                        ::google::protobuf::Arena* arena) {
3690
0
  return ::new (mem) WsManualProbes(arena);
3691
0
}
3692
0
constexpr auto WsManualProbes::InternalNewImpl_() {
3693
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(WsManualProbes),
3694
0
                                            alignof(WsManualProbes));
3695
0
}
3696
PROTOBUF_CONSTINIT
3697
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3698
const ::google::protobuf::internal::ClassDataFull WsManualProbes::_class_data_ = {
3699
    ::google::protobuf::internal::ClassData{
3700
        &_WsManualProbes_default_instance_._instance,
3701
        &_table_.header,
3702
        nullptr,  // OnDemandRegisterArenaDtor
3703
        nullptr,  // IsInitialized
3704
        &WsManualProbes::MergeImpl,
3705
        ::google::protobuf::Message::GetNewImpl<WsManualProbes>(),
3706
#if defined(PROTOBUF_CUSTOM_VTABLE)
3707
        &WsManualProbes::SharedDtor,
3708
        ::google::protobuf::Message::GetClearImpl<WsManualProbes>(), &WsManualProbes::ByteSizeLong,
3709
            &WsManualProbes::_InternalSerialize,
3710
#endif  // PROTOBUF_CUSTOM_VTABLE
3711
        PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_._cached_size_),
3712
        false,
3713
    },
3714
    &WsManualProbes::kDescriptorMethods,
3715
    &descriptor_table_curl_5ffuzzer_2eproto,
3716
    nullptr,  // tracker
3717
};
3718
4.14k
const ::google::protobuf::internal::ClassData* WsManualProbes::GetClassData() const {
3719
4.14k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3720
4.14k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3721
4.14k
  return _class_data_.base();
3722
4.14k
}
3723
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3724
const ::_pbi::TcParseTable<2, 3, 0, 0, 2> WsManualProbes::_table_ = {
3725
  {
3726
    0,  // no _has_bits_
3727
    0, // no _extensions_
3728
    3, 24,  // max_field_number, fast_idx_mask
3729
    offsetof(decltype(_table_), field_lookup_table),
3730
    4294967288,  // skipmap
3731
    offsetof(decltype(_table_), field_entries),
3732
    3,  // num_field_entries
3733
    0,  // num_aux_entries
3734
    offsetof(decltype(_table_), field_names),  // no aux_entries
3735
    _class_data_.base(),
3736
    nullptr,  // post_loop_handler
3737
    ::_pbi::TcParser::GenericFallback,  // fallback
3738
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3739
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::WsManualProbes>(),  // to_prefetch
3740
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3741
  }, {{
3742
    {::_pbi::TcParser::MiniParse, {}},
3743
    // bool flag_matrix = 1;
3744
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WsManualProbes, _impl_.flag_matrix_), 63>(),
3745
     {8, 63, 0, PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.flag_matrix_)}},
3746
    // bool unaligned_send = 2;
3747
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WsManualProbes, _impl_.unaligned_send_), 63>(),
3748
     {16, 63, 0, PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.unaligned_send_)}},
3749
    // bool raw_send = 3;
3750
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WsManualProbes, _impl_.raw_send_), 63>(),
3751
     {24, 63, 0, PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.raw_send_)}},
3752
  }}, {{
3753
    65535, 65535
3754
  }}, {{
3755
    // bool flag_matrix = 1;
3756
    {PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.flag_matrix_), 0, 0,
3757
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3758
    // bool unaligned_send = 2;
3759
    {PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.unaligned_send_), 0, 0,
3760
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3761
    // bool raw_send = 3;
3762
    {PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.raw_send_), 0, 0,
3763
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
3764
  }},
3765
  // no aux_entries
3766
  {{
3767
  }},
3768
};
3769
3770
9
PROTOBUF_NOINLINE void WsManualProbes::Clear() {
3771
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.WsManualProbes)
3772
9
  ::google::protobuf::internal::TSanWrite(&_impl_);
3773
9
  ::uint32_t cached_has_bits = 0;
3774
  // Prevent compiler warnings about cached_has_bits being unused
3775
9
  (void) cached_has_bits;
3776
3777
9
  ::memset(&_impl_.flag_matrix_, 0, static_cast<::size_t>(
3778
9
      reinterpret_cast<char*>(&_impl_.raw_send_) -
3779
9
      reinterpret_cast<char*>(&_impl_.flag_matrix_)) + sizeof(_impl_.raw_send_));
3780
9
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3781
9
}
3782
3783
#if defined(PROTOBUF_CUSTOM_VTABLE)
3784
        ::uint8_t* WsManualProbes::_InternalSerialize(
3785
            const MessageLite& base, ::uint8_t* target,
3786
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3787
          const WsManualProbes& this_ = static_cast<const WsManualProbes&>(base);
3788
#else   // PROTOBUF_CUSTOM_VTABLE
3789
        ::uint8_t* WsManualProbes::_InternalSerialize(
3790
            ::uint8_t* target,
3791
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3792
0
          const WsManualProbes& this_ = *this;
3793
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3794
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.WsManualProbes)
3795
0
          ::uint32_t cached_has_bits = 0;
3796
0
          (void)cached_has_bits;
3797
3798
          // bool flag_matrix = 1;
3799
0
          if (this_._internal_flag_matrix() != 0) {
3800
0
            target = stream->EnsureSpace(target);
3801
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
3802
0
                1, this_._internal_flag_matrix(), target);
3803
0
          }
3804
3805
          // bool unaligned_send = 2;
3806
0
          if (this_._internal_unaligned_send() != 0) {
3807
0
            target = stream->EnsureSpace(target);
3808
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
3809
0
                2, this_._internal_unaligned_send(), target);
3810
0
          }
3811
3812
          // bool raw_send = 3;
3813
0
          if (this_._internal_raw_send() != 0) {
3814
0
            target = stream->EnsureSpace(target);
3815
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
3816
0
                3, this_._internal_raw_send(), target);
3817
0
          }
3818
3819
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3820
0
            target =
3821
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3822
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3823
0
          }
3824
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.WsManualProbes)
3825
0
          return target;
3826
0
        }
3827
3828
#if defined(PROTOBUF_CUSTOM_VTABLE)
3829
        ::size_t WsManualProbes::ByteSizeLong(const MessageLite& base) {
3830
          const WsManualProbes& this_ = static_cast<const WsManualProbes&>(base);
3831
#else   // PROTOBUF_CUSTOM_VTABLE
3832
0
        ::size_t WsManualProbes::ByteSizeLong() const {
3833
0
          const WsManualProbes& this_ = *this;
3834
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3835
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.WsManualProbes)
3836
0
          ::size_t total_size = 0;
3837
3838
0
          ::uint32_t cached_has_bits = 0;
3839
          // Prevent compiler warnings about cached_has_bits being unused
3840
0
          (void)cached_has_bits;
3841
3842
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3843
0
           {
3844
            // bool flag_matrix = 1;
3845
0
            if (this_._internal_flag_matrix() != 0) {
3846
0
              total_size += 2;
3847
0
            }
3848
            // bool unaligned_send = 2;
3849
0
            if (this_._internal_unaligned_send() != 0) {
3850
0
              total_size += 2;
3851
0
            }
3852
            // bool raw_send = 3;
3853
0
            if (this_._internal_raw_send() != 0) {
3854
0
              total_size += 2;
3855
0
            }
3856
0
          }
3857
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3858
0
                                                     &this_._impl_._cached_size_);
3859
0
        }
3860
3861
0
void WsManualProbes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3862
0
  auto* const _this = static_cast<WsManualProbes*>(&to_msg);
3863
0
  auto& from = static_cast<const WsManualProbes&>(from_msg);
3864
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.WsManualProbes)
3865
0
  ABSL_DCHECK_NE(&from, _this);
3866
0
  ::uint32_t cached_has_bits = 0;
3867
0
  (void) cached_has_bits;
3868
3869
0
  if (from._internal_flag_matrix() != 0) {
3870
0
    _this->_impl_.flag_matrix_ = from._impl_.flag_matrix_;
3871
0
  }
3872
0
  if (from._internal_unaligned_send() != 0) {
3873
0
    _this->_impl_.unaligned_send_ = from._impl_.unaligned_send_;
3874
0
  }
3875
0
  if (from._internal_raw_send() != 0) {
3876
0
    _this->_impl_.raw_send_ = from._impl_.raw_send_;
3877
0
  }
3878
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3879
0
}
3880
3881
0
void WsManualProbes::CopyFrom(const WsManualProbes& from) {
3882
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.WsManualProbes)
3883
0
  if (&from == this) return;
3884
0
  Clear();
3885
0
  MergeFrom(from);
3886
0
}
3887
3888
3889
0
void WsManualProbes::InternalSwap(WsManualProbes* PROTOBUF_RESTRICT other) {
3890
0
  using std::swap;
3891
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3892
0
  ::google::protobuf::internal::memswap<
3893
0
      PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.raw_send_)
3894
0
      + sizeof(WsManualProbes::_impl_.raw_send_)
3895
0
      - PROTOBUF_FIELD_OFFSET(WsManualProbes, _impl_.flag_matrix_)>(
3896
0
          reinterpret_cast<char*>(&_impl_.flag_matrix_),
3897
0
          reinterpret_cast<char*>(&other->_impl_.flag_matrix_));
3898
0
}
3899
3900
0
::google::protobuf::Metadata WsManualProbes::GetMetadata() const {
3901
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3902
0
}
3903
// ===================================================================
3904
3905
class BackpressureConfig::_Internal {
3906
 public:
3907
};
3908
3909
BackpressureConfig::BackpressureConfig(::google::protobuf::Arena* arena)
3910
#if defined(PROTOBUF_CUSTOM_VTABLE)
3911
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3912
#else   // PROTOBUF_CUSTOM_VTABLE
3913
0
    : ::google::protobuf::Message(arena) {
3914
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3915
0
  SharedCtor(arena);
3916
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.BackpressureConfig)
3917
0
}
3918
BackpressureConfig::BackpressureConfig(
3919
    ::google::protobuf::Arena* arena, const BackpressureConfig& from)
3920
0
    : BackpressureConfig(arena) {
3921
0
  MergeFrom(from);
3922
0
}
3923
inline PROTOBUF_NDEBUG_INLINE BackpressureConfig::Impl_::Impl_(
3924
    ::google::protobuf::internal::InternalVisibility visibility,
3925
    ::google::protobuf::Arena* arena)
3926
0
      : _cached_size_{0} {}
3927
3928
0
inline void BackpressureConfig::SharedCtor(::_pb::Arena* arena) {
3929
0
  new (&_impl_) Impl_(internal_visibility(), arena);
3930
0
  ::memset(reinterpret_cast<char *>(&_impl_) +
3931
0
               offsetof(Impl_, recv_buf_bytes_),
3932
0
           0,
3933
0
           offsetof(Impl_, drain_limit_) -
3934
0
               offsetof(Impl_, recv_buf_bytes_) +
3935
0
               sizeof(Impl_::drain_limit_));
3936
0
}
3937
1.18k
BackpressureConfig::~BackpressureConfig() {
3938
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.BackpressureConfig)
3939
1.18k
  SharedDtor(*this);
3940
1.18k
}
3941
1.18k
inline void BackpressureConfig::SharedDtor(MessageLite& self) {
3942
1.18k
  BackpressureConfig& this_ = static_cast<BackpressureConfig&>(self);
3943
1.18k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3944
1.18k
  ABSL_DCHECK(this_.GetArena() == nullptr);
3945
1.18k
  this_._impl_.~Impl_();
3946
1.18k
}
3947
3948
inline void* BackpressureConfig::PlacementNew_(const void*, void* mem,
3949
0
                                        ::google::protobuf::Arena* arena) {
3950
0
  return ::new (mem) BackpressureConfig(arena);
3951
0
}
3952
0
constexpr auto BackpressureConfig::InternalNewImpl_() {
3953
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BackpressureConfig),
3954
0
                                            alignof(BackpressureConfig));
3955
0
}
3956
PROTOBUF_CONSTINIT
3957
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3958
const ::google::protobuf::internal::ClassDataFull BackpressureConfig::_class_data_ = {
3959
    ::google::protobuf::internal::ClassData{
3960
        &_BackpressureConfig_default_instance_._instance,
3961
        &_table_.header,
3962
        nullptr,  // OnDemandRegisterArenaDtor
3963
        nullptr,  // IsInitialized
3964
        &BackpressureConfig::MergeImpl,
3965
        ::google::protobuf::Message::GetNewImpl<BackpressureConfig>(),
3966
#if defined(PROTOBUF_CUSTOM_VTABLE)
3967
        &BackpressureConfig::SharedDtor,
3968
        ::google::protobuf::Message::GetClearImpl<BackpressureConfig>(), &BackpressureConfig::ByteSizeLong,
3969
            &BackpressureConfig::_InternalSerialize,
3970
#endif  // PROTOBUF_CUSTOM_VTABLE
3971
        PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_._cached_size_),
3972
        false,
3973
    },
3974
    &BackpressureConfig::kDescriptorMethods,
3975
    &descriptor_table_curl_5ffuzzer_2eproto,
3976
    nullptr,  // tracker
3977
};
3978
7.02k
const ::google::protobuf::internal::ClassData* BackpressureConfig::GetClassData() const {
3979
7.02k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3980
7.02k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3981
7.02k
  return _class_data_.base();
3982
7.02k
}
3983
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3984
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> BackpressureConfig::_table_ = {
3985
  {
3986
    0,  // no _has_bits_
3987
    0, // no _extensions_
3988
    2, 8,  // max_field_number, fast_idx_mask
3989
    offsetof(decltype(_table_), field_lookup_table),
3990
    4294967292,  // skipmap
3991
    offsetof(decltype(_table_), field_entries),
3992
    2,  // num_field_entries
3993
    0,  // num_aux_entries
3994
    offsetof(decltype(_table_), field_names),  // no aux_entries
3995
    _class_data_.base(),
3996
    nullptr,  // post_loop_handler
3997
    ::_pbi::TcParser::GenericFallback,  // fallback
3998
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3999
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::BackpressureConfig>(),  // to_prefetch
4000
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
4001
  }, {{
4002
    // uint32 drain_limit = 2;
4003
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BackpressureConfig, _impl_.drain_limit_), 63>(),
4004
     {16, 63, 0, PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_.drain_limit_)}},
4005
    // uint32 recv_buf_bytes = 1;
4006
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BackpressureConfig, _impl_.recv_buf_bytes_), 63>(),
4007
     {8, 63, 0, PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_.recv_buf_bytes_)}},
4008
  }}, {{
4009
    65535, 65535
4010
  }}, {{
4011
    // uint32 recv_buf_bytes = 1;
4012
    {PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_.recv_buf_bytes_), 0, 0,
4013
    (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4014
    // uint32 drain_limit = 2;
4015
    {PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_.drain_limit_), 0, 0,
4016
    (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4017
  }},
4018
  // no aux_entries
4019
  {{
4020
  }},
4021
};
4022
4023
16
PROTOBUF_NOINLINE void BackpressureConfig::Clear() {
4024
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.BackpressureConfig)
4025
16
  ::google::protobuf::internal::TSanWrite(&_impl_);
4026
16
  ::uint32_t cached_has_bits = 0;
4027
  // Prevent compiler warnings about cached_has_bits being unused
4028
16
  (void) cached_has_bits;
4029
4030
16
  ::memset(&_impl_.recv_buf_bytes_, 0, static_cast<::size_t>(
4031
16
      reinterpret_cast<char*>(&_impl_.drain_limit_) -
4032
16
      reinterpret_cast<char*>(&_impl_.recv_buf_bytes_)) + sizeof(_impl_.drain_limit_));
4033
16
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4034
16
}
4035
4036
#if defined(PROTOBUF_CUSTOM_VTABLE)
4037
        ::uint8_t* BackpressureConfig::_InternalSerialize(
4038
            const MessageLite& base, ::uint8_t* target,
4039
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
4040
          const BackpressureConfig& this_ = static_cast<const BackpressureConfig&>(base);
4041
#else   // PROTOBUF_CUSTOM_VTABLE
4042
        ::uint8_t* BackpressureConfig::_InternalSerialize(
4043
            ::uint8_t* target,
4044
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4045
0
          const BackpressureConfig& this_ = *this;
4046
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4047
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.BackpressureConfig)
4048
0
          ::uint32_t cached_has_bits = 0;
4049
0
          (void)cached_has_bits;
4050
4051
          // uint32 recv_buf_bytes = 1;
4052
0
          if (this_._internal_recv_buf_bytes() != 0) {
4053
0
            target = stream->EnsureSpace(target);
4054
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4055
0
                1, this_._internal_recv_buf_bytes(), target);
4056
0
          }
4057
4058
          // uint32 drain_limit = 2;
4059
0
          if (this_._internal_drain_limit() != 0) {
4060
0
            target = stream->EnsureSpace(target);
4061
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4062
0
                2, this_._internal_drain_limit(), target);
4063
0
          }
4064
4065
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4066
0
            target =
4067
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4068
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4069
0
          }
4070
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.BackpressureConfig)
4071
0
          return target;
4072
0
        }
4073
4074
#if defined(PROTOBUF_CUSTOM_VTABLE)
4075
        ::size_t BackpressureConfig::ByteSizeLong(const MessageLite& base) {
4076
          const BackpressureConfig& this_ = static_cast<const BackpressureConfig&>(base);
4077
#else   // PROTOBUF_CUSTOM_VTABLE
4078
0
        ::size_t BackpressureConfig::ByteSizeLong() const {
4079
0
          const BackpressureConfig& this_ = *this;
4080
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4081
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.BackpressureConfig)
4082
0
          ::size_t total_size = 0;
4083
4084
0
          ::uint32_t cached_has_bits = 0;
4085
          // Prevent compiler warnings about cached_has_bits being unused
4086
0
          (void)cached_has_bits;
4087
4088
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4089
0
           {
4090
            // uint32 recv_buf_bytes = 1;
4091
0
            if (this_._internal_recv_buf_bytes() != 0) {
4092
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4093
0
                  this_._internal_recv_buf_bytes());
4094
0
            }
4095
            // uint32 drain_limit = 2;
4096
0
            if (this_._internal_drain_limit() != 0) {
4097
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4098
0
                  this_._internal_drain_limit());
4099
0
            }
4100
0
          }
4101
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
4102
0
                                                     &this_._impl_._cached_size_);
4103
0
        }
4104
4105
0
void BackpressureConfig::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4106
0
  auto* const _this = static_cast<BackpressureConfig*>(&to_msg);
4107
0
  auto& from = static_cast<const BackpressureConfig&>(from_msg);
4108
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.BackpressureConfig)
4109
0
  ABSL_DCHECK_NE(&from, _this);
4110
0
  ::uint32_t cached_has_bits = 0;
4111
0
  (void) cached_has_bits;
4112
4113
0
  if (from._internal_recv_buf_bytes() != 0) {
4114
0
    _this->_impl_.recv_buf_bytes_ = from._impl_.recv_buf_bytes_;
4115
0
  }
4116
0
  if (from._internal_drain_limit() != 0) {
4117
0
    _this->_impl_.drain_limit_ = from._impl_.drain_limit_;
4118
0
  }
4119
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4120
0
}
4121
4122
0
void BackpressureConfig::CopyFrom(const BackpressureConfig& from) {
4123
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.BackpressureConfig)
4124
0
  if (&from == this) return;
4125
0
  Clear();
4126
0
  MergeFrom(from);
4127
0
}
4128
4129
4130
0
void BackpressureConfig::InternalSwap(BackpressureConfig* PROTOBUF_RESTRICT other) {
4131
0
  using std::swap;
4132
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4133
0
  ::google::protobuf::internal::memswap<
4134
0
      PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_.drain_limit_)
4135
0
      + sizeof(BackpressureConfig::_impl_.drain_limit_)
4136
0
      - PROTOBUF_FIELD_OFFSET(BackpressureConfig, _impl_.recv_buf_bytes_)>(
4137
0
          reinterpret_cast<char*>(&_impl_.recv_buf_bytes_),
4138
0
          reinterpret_cast<char*>(&other->_impl_.recv_buf_bytes_));
4139
0
}
4140
4141
0
::google::protobuf::Metadata BackpressureConfig::GetMetadata() const {
4142
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4143
0
}
4144
// ===================================================================
4145
4146
class WebSocketFrame::_Internal {
4147
 public:
4148
};
4149
4150
WebSocketFrame::WebSocketFrame(::google::protobuf::Arena* arena)
4151
#if defined(PROTOBUF_CUSTOM_VTABLE)
4152
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4153
#else   // PROTOBUF_CUSTOM_VTABLE
4154
0
    : ::google::protobuf::Message(arena) {
4155
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4156
0
  SharedCtor(arena);
4157
  // @@protoc_insertion_point(arena_constructor:curl.fuzzer.proto.WebSocketFrame)
4158
0
}
4159
inline PROTOBUF_NDEBUG_INLINE WebSocketFrame::Impl_::Impl_(
4160
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
4161
    const Impl_& from, const ::curl::fuzzer::proto::WebSocketFrame& from_msg)
4162
0
      : payload_(arena, from.payload_),
4163
0
        _cached_size_{0} {}
4164
4165
WebSocketFrame::WebSocketFrame(
4166
    ::google::protobuf::Arena* arena,
4167
    const WebSocketFrame& from)
4168
#if defined(PROTOBUF_CUSTOM_VTABLE)
4169
    : ::google::protobuf::Message(arena, _class_data_.base()) {
4170
#else   // PROTOBUF_CUSTOM_VTABLE
4171
0
    : ::google::protobuf::Message(arena) {
4172
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4173
0
  WebSocketFrame* const _this = this;
4174
0
  (void)_this;
4175
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4176
0
      from._internal_metadata_);
4177
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4178
0
  ::memcpy(reinterpret_cast<char *>(&_impl_) +
4179
0
               offsetof(Impl_, fin_),
4180
0
           reinterpret_cast<const char *>(&from._impl_) +
4181
0
               offsetof(Impl_, fin_),
4182
0
           offsetof(Impl_, length_form_) -
4183
0
               offsetof(Impl_, fin_) +
4184
0
               sizeof(Impl_::length_form_));
4185
4186
  // @@protoc_insertion_point(copy_constructor:curl.fuzzer.proto.WebSocketFrame)
4187
0
}
4188
inline PROTOBUF_NDEBUG_INLINE WebSocketFrame::Impl_::Impl_(
4189
    ::google::protobuf::internal::InternalVisibility visibility,
4190
    ::google::protobuf::Arena* arena)
4191
0
      : payload_(arena),
4192
0
        _cached_size_{0} {}
4193
4194
0
inline void WebSocketFrame::SharedCtor(::_pb::Arena* arena) {
4195
0
  new (&_impl_) Impl_(internal_visibility(), arena);
4196
0
  ::memset(reinterpret_cast<char *>(&_impl_) +
4197
0
               offsetof(Impl_, fin_),
4198
0
           0,
4199
0
           offsetof(Impl_, length_form_) -
4200
0
               offsetof(Impl_, fin_) +
4201
0
               sizeof(Impl_::length_form_));
4202
0
}
4203
9.24k
WebSocketFrame::~WebSocketFrame() {
4204
  // @@protoc_insertion_point(destructor:curl.fuzzer.proto.WebSocketFrame)
4205
9.24k
  SharedDtor(*this);
4206
9.24k
}
4207
9.24k
inline void WebSocketFrame::SharedDtor(MessageLite& self) {
4208
9.24k
  WebSocketFrame& this_ = static_cast<WebSocketFrame&>(self);
4209
9.24k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4210
9.24k
  ABSL_DCHECK(this_.GetArena() == nullptr);
4211
9.24k
  this_._impl_.payload_.Destroy();
4212
9.24k
  this_._impl_.~Impl_();
4213
9.24k
}
4214
4215
inline void* WebSocketFrame::PlacementNew_(const void*, void* mem,
4216
0
                                        ::google::protobuf::Arena* arena) {
4217
0
  return ::new (mem) WebSocketFrame(arena);
4218
0
}
4219
0
constexpr auto WebSocketFrame::InternalNewImpl_() {
4220
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(WebSocketFrame),
4221
0
                                            alignof(WebSocketFrame));
4222
0
}
4223
PROTOBUF_CONSTINIT
4224
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4225
const ::google::protobuf::internal::ClassDataFull WebSocketFrame::_class_data_ = {
4226
    ::google::protobuf::internal::ClassData{
4227
        &_WebSocketFrame_default_instance_._instance,
4228
        &_table_.header,
4229
        nullptr,  // OnDemandRegisterArenaDtor
4230
        nullptr,  // IsInitialized
4231
        &WebSocketFrame::MergeImpl,
4232
        ::google::protobuf::Message::GetNewImpl<WebSocketFrame>(),
4233
#if defined(PROTOBUF_CUSTOM_VTABLE)
4234
        &WebSocketFrame::SharedDtor,
4235
        ::google::protobuf::Message::GetClearImpl<WebSocketFrame>(), &WebSocketFrame::ByteSizeLong,
4236
            &WebSocketFrame::_InternalSerialize,
4237
#endif  // PROTOBUF_CUSTOM_VTABLE
4238
        PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_._cached_size_),
4239
        false,
4240
    },
4241
    &WebSocketFrame::kDescriptorMethods,
4242
    &descriptor_table_curl_5ffuzzer_2eproto,
4243
    nullptr,  // tracker
4244
};
4245
50.4k
const ::google::protobuf::internal::ClassData* WebSocketFrame::GetClassData() const {
4246
50.4k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
4247
50.4k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
4248
50.4k
  return _class_data_.base();
4249
50.4k
}
4250
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4251
const ::_pbi::TcParseTable<4, 9, 0, 0, 2> WebSocketFrame::_table_ = {
4252
  {
4253
    0,  // no _has_bits_
4254
    0, // no _extensions_
4255
    9, 120,  // max_field_number, fast_idx_mask
4256
    offsetof(decltype(_table_), field_lookup_table),
4257
    4294966784,  // skipmap
4258
    offsetof(decltype(_table_), field_entries),
4259
    9,  // num_field_entries
4260
    0,  // num_aux_entries
4261
    offsetof(decltype(_table_), field_names),  // no aux_entries
4262
    _class_data_.base(),
4263
    nullptr,  // post_loop_handler
4264
    ::_pbi::TcParser::GenericFallback,  // fallback
4265
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4266
    ::_pbi::TcParser::GetTable<::curl::fuzzer::proto::WebSocketFrame>(),  // to_prefetch
4267
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
4268
  }, {{
4269
    {::_pbi::TcParser::MiniParse, {}},
4270
    // bool fin = 1;
4271
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WebSocketFrame, _impl_.fin_), 63>(),
4272
     {8, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.fin_)}},
4273
    // bool rsv1 = 2;
4274
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WebSocketFrame, _impl_.rsv1_), 63>(),
4275
     {16, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.rsv1_)}},
4276
    // bool rsv2 = 3;
4277
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WebSocketFrame, _impl_.rsv2_), 63>(),
4278
     {24, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.rsv2_)}},
4279
    // bool rsv3 = 4;
4280
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WebSocketFrame, _impl_.rsv3_), 63>(),
4281
     {32, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.rsv3_)}},
4282
    // uint32 opcode = 5;
4283
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WebSocketFrame, _impl_.opcode_), 63>(),
4284
     {40, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.opcode_)}},
4285
    // bool masked = 6;
4286
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(WebSocketFrame, _impl_.masked_), 63>(),
4287
     {48, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.masked_)}},
4288
    // uint32 mask_key = 7;
4289
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WebSocketFrame, _impl_.mask_key_), 63>(),
4290
     {56, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.mask_key_)}},
4291
    // bytes payload = 8;
4292
    {::_pbi::TcParser::FastBS1,
4293
     {66, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.payload_)}},
4294
    // uint32 length_form = 9;
4295
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WebSocketFrame, _impl_.length_form_), 63>(),
4296
     {72, 63, 0, PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.length_form_)}},
4297
    {::_pbi::TcParser::MiniParse, {}},
4298
    {::_pbi::TcParser::MiniParse, {}},
4299
    {::_pbi::TcParser::MiniParse, {}},
4300
    {::_pbi::TcParser::MiniParse, {}},
4301
    {::_pbi::TcParser::MiniParse, {}},
4302
    {::_pbi::TcParser::MiniParse, {}},
4303
  }}, {{
4304
    65535, 65535
4305
  }}, {{
4306
    // bool fin = 1;
4307
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.fin_), 0, 0,
4308
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4309
    // bool rsv1 = 2;
4310
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.rsv1_), 0, 0,
4311
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4312
    // bool rsv2 = 3;
4313
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.rsv2_), 0, 0,
4314
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4315
    // bool rsv3 = 4;
4316
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.rsv3_), 0, 0,
4317
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4318
    // uint32 opcode = 5;
4319
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.opcode_), 0, 0,
4320
    (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4321
    // bool masked = 6;
4322
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.masked_), 0, 0,
4323
    (0 | ::_fl::kFcSingular | ::_fl::kBool)},
4324
    // uint32 mask_key = 7;
4325
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.mask_key_), 0, 0,
4326
    (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4327
    // bytes payload = 8;
4328
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.payload_), 0, 0,
4329
    (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
4330
    // uint32 length_form = 9;
4331
    {PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.length_form_), 0, 0,
4332
    (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
4333
  }},
4334
  // no aux_entries
4335
  {{
4336
  }},
4337
};
4338
4339
841
PROTOBUF_NOINLINE void WebSocketFrame::Clear() {
4340
// @@protoc_insertion_point(message_clear_start:curl.fuzzer.proto.WebSocketFrame)
4341
841
  ::google::protobuf::internal::TSanWrite(&_impl_);
4342
841
  ::uint32_t cached_has_bits = 0;
4343
  // Prevent compiler warnings about cached_has_bits being unused
4344
841
  (void) cached_has_bits;
4345
4346
841
  _impl_.payload_.ClearToEmpty();
4347
841
  ::memset(&_impl_.fin_, 0, static_cast<::size_t>(
4348
841
      reinterpret_cast<char*>(&_impl_.length_form_) -
4349
841
      reinterpret_cast<char*>(&_impl_.fin_)) + sizeof(_impl_.length_form_));
4350
841
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4351
841
}
4352
4353
#if defined(PROTOBUF_CUSTOM_VTABLE)
4354
        ::uint8_t* WebSocketFrame::_InternalSerialize(
4355
            const MessageLite& base, ::uint8_t* target,
4356
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
4357
          const WebSocketFrame& this_ = static_cast<const WebSocketFrame&>(base);
4358
#else   // PROTOBUF_CUSTOM_VTABLE
4359
        ::uint8_t* WebSocketFrame::_InternalSerialize(
4360
            ::uint8_t* target,
4361
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
4362
0
          const WebSocketFrame& this_ = *this;
4363
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4364
          // @@protoc_insertion_point(serialize_to_array_start:curl.fuzzer.proto.WebSocketFrame)
4365
0
          ::uint32_t cached_has_bits = 0;
4366
0
          (void)cached_has_bits;
4367
4368
          // bool fin = 1;
4369
0
          if (this_._internal_fin() != 0) {
4370
0
            target = stream->EnsureSpace(target);
4371
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
4372
0
                1, this_._internal_fin(), target);
4373
0
          }
4374
4375
          // bool rsv1 = 2;
4376
0
          if (this_._internal_rsv1() != 0) {
4377
0
            target = stream->EnsureSpace(target);
4378
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
4379
0
                2, this_._internal_rsv1(), target);
4380
0
          }
4381
4382
          // bool rsv2 = 3;
4383
0
          if (this_._internal_rsv2() != 0) {
4384
0
            target = stream->EnsureSpace(target);
4385
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
4386
0
                3, this_._internal_rsv2(), target);
4387
0
          }
4388
4389
          // bool rsv3 = 4;
4390
0
          if (this_._internal_rsv3() != 0) {
4391
0
            target = stream->EnsureSpace(target);
4392
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
4393
0
                4, this_._internal_rsv3(), target);
4394
0
          }
4395
4396
          // uint32 opcode = 5;
4397
0
          if (this_._internal_opcode() != 0) {
4398
0
            target = stream->EnsureSpace(target);
4399
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4400
0
                5, this_._internal_opcode(), target);
4401
0
          }
4402
4403
          // bool masked = 6;
4404
0
          if (this_._internal_masked() != 0) {
4405
0
            target = stream->EnsureSpace(target);
4406
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
4407
0
                6, this_._internal_masked(), target);
4408
0
          }
4409
4410
          // uint32 mask_key = 7;
4411
0
          if (this_._internal_mask_key() != 0) {
4412
0
            target = stream->EnsureSpace(target);
4413
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4414
0
                7, this_._internal_mask_key(), target);
4415
0
          }
4416
4417
          // bytes payload = 8;
4418
0
          if (!this_._internal_payload().empty()) {
4419
0
            const std::string& _s = this_._internal_payload();
4420
0
            target = stream->WriteBytesMaybeAliased(8, _s, target);
4421
0
          }
4422
4423
          // uint32 length_form = 9;
4424
0
          if (this_._internal_length_form() != 0) {
4425
0
            target = stream->EnsureSpace(target);
4426
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
4427
0
                9, this_._internal_length_form(), target);
4428
0
          }
4429
4430
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4431
0
            target =
4432
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4433
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4434
0
          }
4435
          // @@protoc_insertion_point(serialize_to_array_end:curl.fuzzer.proto.WebSocketFrame)
4436
0
          return target;
4437
0
        }
4438
4439
#if defined(PROTOBUF_CUSTOM_VTABLE)
4440
        ::size_t WebSocketFrame::ByteSizeLong(const MessageLite& base) {
4441
          const WebSocketFrame& this_ = static_cast<const WebSocketFrame&>(base);
4442
#else   // PROTOBUF_CUSTOM_VTABLE
4443
0
        ::size_t WebSocketFrame::ByteSizeLong() const {
4444
0
          const WebSocketFrame& this_ = *this;
4445
0
#endif  // PROTOBUF_CUSTOM_VTABLE
4446
          // @@protoc_insertion_point(message_byte_size_start:curl.fuzzer.proto.WebSocketFrame)
4447
0
          ::size_t total_size = 0;
4448
4449
0
          ::uint32_t cached_has_bits = 0;
4450
          // Prevent compiler warnings about cached_has_bits being unused
4451
0
          (void)cached_has_bits;
4452
4453
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4454
0
           {
4455
            // bytes payload = 8;
4456
0
            if (!this_._internal_payload().empty()) {
4457
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
4458
0
                                              this_._internal_payload());
4459
0
            }
4460
            // bool fin = 1;
4461
0
            if (this_._internal_fin() != 0) {
4462
0
              total_size += 2;
4463
0
            }
4464
            // bool rsv1 = 2;
4465
0
            if (this_._internal_rsv1() != 0) {
4466
0
              total_size += 2;
4467
0
            }
4468
            // bool rsv2 = 3;
4469
0
            if (this_._internal_rsv2() != 0) {
4470
0
              total_size += 2;
4471
0
            }
4472
            // bool rsv3 = 4;
4473
0
            if (this_._internal_rsv3() != 0) {
4474
0
              total_size += 2;
4475
0
            }
4476
            // uint32 opcode = 5;
4477
0
            if (this_._internal_opcode() != 0) {
4478
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4479
0
                  this_._internal_opcode());
4480
0
            }
4481
            // bool masked = 6;
4482
0
            if (this_._internal_masked() != 0) {
4483
0
              total_size += 2;
4484
0
            }
4485
            // uint32 mask_key = 7;
4486
0
            if (this_._internal_mask_key() != 0) {
4487
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4488
0
                  this_._internal_mask_key());
4489
0
            }
4490
            // uint32 length_form = 9;
4491
0
            if (this_._internal_length_form() != 0) {
4492
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
4493
0
                  this_._internal_length_form());
4494
0
            }
4495
0
          }
4496
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
4497
0
                                                     &this_._impl_._cached_size_);
4498
0
        }
4499
4500
0
void WebSocketFrame::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4501
0
  auto* const _this = static_cast<WebSocketFrame*>(&to_msg);
4502
0
  auto& from = static_cast<const WebSocketFrame&>(from_msg);
4503
  // @@protoc_insertion_point(class_specific_merge_from_start:curl.fuzzer.proto.WebSocketFrame)
4504
0
  ABSL_DCHECK_NE(&from, _this);
4505
0
  ::uint32_t cached_has_bits = 0;
4506
0
  (void) cached_has_bits;
4507
4508
0
  if (!from._internal_payload().empty()) {
4509
0
    _this->_internal_set_payload(from._internal_payload());
4510
0
  }
4511
0
  if (from._internal_fin() != 0) {
4512
0
    _this->_impl_.fin_ = from._impl_.fin_;
4513
0
  }
4514
0
  if (from._internal_rsv1() != 0) {
4515
0
    _this->_impl_.rsv1_ = from._impl_.rsv1_;
4516
0
  }
4517
0
  if (from._internal_rsv2() != 0) {
4518
0
    _this->_impl_.rsv2_ = from._impl_.rsv2_;
4519
0
  }
4520
0
  if (from._internal_rsv3() != 0) {
4521
0
    _this->_impl_.rsv3_ = from._impl_.rsv3_;
4522
0
  }
4523
0
  if (from._internal_opcode() != 0) {
4524
0
    _this->_impl_.opcode_ = from._impl_.opcode_;
4525
0
  }
4526
0
  if (from._internal_masked() != 0) {
4527
0
    _this->_impl_.masked_ = from._impl_.masked_;
4528
0
  }
4529
0
  if (from._internal_mask_key() != 0) {
4530
0
    _this->_impl_.mask_key_ = from._impl_.mask_key_;
4531
0
  }
4532
0
  if (from._internal_length_form() != 0) {
4533
0
    _this->_impl_.length_form_ = from._impl_.length_form_;
4534
0
  }
4535
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4536
0
}
4537
4538
0
void WebSocketFrame::CopyFrom(const WebSocketFrame& from) {
4539
// @@protoc_insertion_point(class_specific_copy_from_start:curl.fuzzer.proto.WebSocketFrame)
4540
0
  if (&from == this) return;
4541
0
  Clear();
4542
0
  MergeFrom(from);
4543
0
}
4544
4545
4546
0
void WebSocketFrame::InternalSwap(WebSocketFrame* PROTOBUF_RESTRICT other) {
4547
0
  using std::swap;
4548
0
  auto* arena = GetArena();
4549
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
4550
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4551
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.payload_, &other->_impl_.payload_, arena);
4552
0
  ::google::protobuf::internal::memswap<
4553
0
      PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.length_form_)
4554
0
      + sizeof(WebSocketFrame::_impl_.length_form_)
4555
0
      - PROTOBUF_FIELD_OFFSET(WebSocketFrame, _impl_.fin_)>(
4556
0
          reinterpret_cast<char*>(&_impl_.fin_),
4557
0
          reinterpret_cast<char*>(&other->_impl_.fin_));
4558
0
}
4559
4560
0
::google::protobuf::Metadata WebSocketFrame::GetMetadata() const {
4561
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
4562
0
}
4563
// @@protoc_insertion_point(namespace_scope)
4564
}  // namespace proto
4565
}  // namespace fuzzer
4566
}  // namespace curl
4567
namespace google {
4568
namespace protobuf {
4569
}  // namespace protobuf
4570
}  // namespace google
4571
// @@protoc_insertion_point(global_scope)
4572
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
4573
    _static_init2_ PROTOBUF_UNUSED =
4574
        (::_pbi::AddDescriptors(&descriptor_table_curl_5ffuzzer_2eproto),
4575
         ::std::false_type{});
4576
#include "google/protobuf/port_undef.inc"