/src/curl_fuzzer/build/curl_fuzzer.pb.h
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 | | #ifndef curl_5ffuzzer_2eproto_2epb_2eh |
7 | | #define curl_5ffuzzer_2eproto_2epb_2eh |
8 | | |
9 | | #include <limits> |
10 | | #include <string> |
11 | | #include <type_traits> |
12 | | #include <utility> |
13 | | |
14 | | #include "google/protobuf/runtime_version.h" |
15 | | #if PROTOBUF_VERSION != 5029003 |
16 | | #error "Protobuf C++ gencode is built with an incompatible version of" |
17 | | #error "Protobuf C++ headers/runtime. See" |
18 | | #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" |
19 | | #endif |
20 | | #include "google/protobuf/io/coded_stream.h" |
21 | | #include "google/protobuf/arena.h" |
22 | | #include "google/protobuf/arenastring.h" |
23 | | #include "google/protobuf/generated_message_tctable_decl.h" |
24 | | #include "google/protobuf/generated_message_util.h" |
25 | | #include "google/protobuf/metadata_lite.h" |
26 | | #include "google/protobuf/generated_message_reflection.h" |
27 | | #include "google/protobuf/message.h" |
28 | | #include "google/protobuf/message_lite.h" |
29 | | #include "google/protobuf/repeated_field.h" // IWYU pragma: export |
30 | | #include "google/protobuf/extension_set.h" // IWYU pragma: export |
31 | | #include "google/protobuf/generated_enum_reflection.h" |
32 | | #include "google/protobuf/unknown_field_set.h" |
33 | | // @@protoc_insertion_point(includes) |
34 | | |
35 | | // Must be included last. |
36 | | #include "google/protobuf/port_def.inc" |
37 | | |
38 | | #define PROTOBUF_INTERNAL_EXPORT_curl_5ffuzzer_2eproto |
39 | | |
40 | | namespace google { |
41 | | namespace protobuf { |
42 | | namespace internal { |
43 | | template <typename T> |
44 | | ::absl::string_view GetAnyMessageName(); |
45 | | } // namespace internal |
46 | | } // namespace protobuf |
47 | | } // namespace google |
48 | | |
49 | | // Internal implementation detail -- do not use these members. |
50 | | struct TableStruct_curl_5ffuzzer_2eproto { |
51 | | static const ::uint32_t offsets[]; |
52 | | }; |
53 | | extern const ::google::protobuf::internal::DescriptorTable |
54 | | descriptor_table_curl_5ffuzzer_2eproto; |
55 | | namespace curl { |
56 | | namespace fuzzer { |
57 | | namespace proto { |
58 | | class BackpressureConfig; |
59 | | struct BackpressureConfigDefaultTypeInternal; |
60 | | extern BackpressureConfigDefaultTypeInternal _BackpressureConfig_default_instance_; |
61 | | class Connection; |
62 | | struct ConnectionDefaultTypeInternal; |
63 | | extern ConnectionDefaultTypeInternal _Connection_default_instance_; |
64 | | class MimeDataPart; |
65 | | struct MimeDataPartDefaultTypeInternal; |
66 | | extern MimeDataPartDefaultTypeInternal _MimeDataPart_default_instance_; |
67 | | class MimePart; |
68 | | struct MimePartDefaultTypeInternal; |
69 | | extern MimePartDefaultTypeInternal _MimePart_default_instance_; |
70 | | class MimePost; |
71 | | struct MimePostDefaultTypeInternal; |
72 | | extern MimePostDefaultTypeInternal _MimePost_default_instance_; |
73 | | class MimeSubparts; |
74 | | struct MimeSubpartsDefaultTypeInternal; |
75 | | extern MimeSubpartsDefaultTypeInternal _MimeSubparts_default_instance_; |
76 | | class Scenario; |
77 | | struct ScenarioDefaultTypeInternal; |
78 | | extern ScenarioDefaultTypeInternal _Scenario_default_instance_; |
79 | | class SetOption; |
80 | | struct SetOptionDefaultTypeInternal; |
81 | | extern SetOptionDefaultTypeInternal _SetOption_default_instance_; |
82 | | class UploadScript; |
83 | | struct UploadScriptDefaultTypeInternal; |
84 | | extern UploadScriptDefaultTypeInternal _UploadScript_default_instance_; |
85 | | class WebSocketFrame; |
86 | | struct WebSocketFrameDefaultTypeInternal; |
87 | | extern WebSocketFrameDefaultTypeInternal _WebSocketFrame_default_instance_; |
88 | | class WsManualProbes; |
89 | | struct WsManualProbesDefaultTypeInternal; |
90 | | extern WsManualProbesDefaultTypeInternal _WsManualProbes_default_instance_; |
91 | | } // namespace proto |
92 | | } // namespace fuzzer |
93 | | } // namespace curl |
94 | | namespace google { |
95 | | namespace protobuf { |
96 | | } // namespace protobuf |
97 | | } // namespace google |
98 | | |
99 | | namespace curl { |
100 | | namespace fuzzer { |
101 | | namespace proto { |
102 | | enum UploadTerminal : int { |
103 | | UPLOAD_TERMINAL_EOF = 0, |
104 | | UPLOAD_TERMINAL_ABORT = 1, |
105 | | UploadTerminal_INT_MIN_SENTINEL_DO_NOT_USE_ = |
106 | | std::numeric_limits<::int32_t>::min(), |
107 | | UploadTerminal_INT_MAX_SENTINEL_DO_NOT_USE_ = |
108 | | std::numeric_limits<::int32_t>::max(), |
109 | | }; |
110 | | |
111 | | bool UploadTerminal_IsValid(int value); |
112 | | extern const uint32_t UploadTerminal_internal_data_[]; |
113 | | constexpr UploadTerminal UploadTerminal_MIN = static_cast<UploadTerminal>(0); |
114 | | constexpr UploadTerminal UploadTerminal_MAX = static_cast<UploadTerminal>(1); |
115 | | constexpr int UploadTerminal_ARRAYSIZE = 1 + 1; |
116 | | const ::google::protobuf::EnumDescriptor* |
117 | | UploadTerminal_descriptor(); |
118 | | template <typename T> |
119 | | const std::string& UploadTerminal_Name(T value) { |
120 | | static_assert(std::is_same<T, UploadTerminal>::value || |
121 | | std::is_integral<T>::value, |
122 | | "Incorrect type passed to UploadTerminal_Name()."); |
123 | | return UploadTerminal_Name(static_cast<UploadTerminal>(value)); |
124 | | } |
125 | | template <> |
126 | 0 | inline const std::string& UploadTerminal_Name(UploadTerminal value) { |
127 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<UploadTerminal_descriptor, |
128 | 0 | 0, 1>( |
129 | 0 | static_cast<int>(value)); |
130 | 0 | } |
131 | 0 | inline bool UploadTerminal_Parse(absl::string_view name, UploadTerminal* value) { |
132 | 0 | return ::google::protobuf::internal::ParseNamedEnum<UploadTerminal>( |
133 | 0 | UploadTerminal_descriptor(), name, value); |
134 | 0 | } |
135 | | enum UploadSeekResult : int { |
136 | | UPLOAD_SEEK_OK = 0, |
137 | | UPLOAD_SEEK_CANTSEEK = 1, |
138 | | UPLOAD_SEEK_FAIL = 2, |
139 | | UploadSeekResult_INT_MIN_SENTINEL_DO_NOT_USE_ = |
140 | | std::numeric_limits<::int32_t>::min(), |
141 | | UploadSeekResult_INT_MAX_SENTINEL_DO_NOT_USE_ = |
142 | | std::numeric_limits<::int32_t>::max(), |
143 | | }; |
144 | | |
145 | | bool UploadSeekResult_IsValid(int value); |
146 | | extern const uint32_t UploadSeekResult_internal_data_[]; |
147 | | constexpr UploadSeekResult UploadSeekResult_MIN = static_cast<UploadSeekResult>(0); |
148 | | constexpr UploadSeekResult UploadSeekResult_MAX = static_cast<UploadSeekResult>(2); |
149 | | constexpr int UploadSeekResult_ARRAYSIZE = 2 + 1; |
150 | | const ::google::protobuf::EnumDescriptor* |
151 | | UploadSeekResult_descriptor(); |
152 | | template <typename T> |
153 | | const std::string& UploadSeekResult_Name(T value) { |
154 | | static_assert(std::is_same<T, UploadSeekResult>::value || |
155 | | std::is_integral<T>::value, |
156 | | "Incorrect type passed to UploadSeekResult_Name()."); |
157 | | return UploadSeekResult_Name(static_cast<UploadSeekResult>(value)); |
158 | | } |
159 | | template <> |
160 | 0 | inline const std::string& UploadSeekResult_Name(UploadSeekResult value) { |
161 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<UploadSeekResult_descriptor, |
162 | 0 | 0, 2>( |
163 | 0 | static_cast<int>(value)); |
164 | 0 | } |
165 | 0 | inline bool UploadSeekResult_Parse(absl::string_view name, UploadSeekResult* value) { |
166 | 0 | return ::google::protobuf::internal::ParseNamedEnum<UploadSeekResult>( |
167 | 0 | UploadSeekResult_descriptor(), name, value); |
168 | 0 | } |
169 | | enum MimeEncoder : int { |
170 | | MIME_ENCODER_UNSPECIFIED = 0, |
171 | | MIME_ENCODER_BINARY = 1, |
172 | | MIME_ENCODER_8BIT = 2, |
173 | | MIME_ENCODER_7BIT = 3, |
174 | | MIME_ENCODER_BASE64 = 4, |
175 | | MIME_ENCODER_QUOTED_PRINTABLE = 5, |
176 | | MimeEncoder_INT_MIN_SENTINEL_DO_NOT_USE_ = |
177 | | std::numeric_limits<::int32_t>::min(), |
178 | | MimeEncoder_INT_MAX_SENTINEL_DO_NOT_USE_ = |
179 | | std::numeric_limits<::int32_t>::max(), |
180 | | }; |
181 | | |
182 | | bool MimeEncoder_IsValid(int value); |
183 | | extern const uint32_t MimeEncoder_internal_data_[]; |
184 | | constexpr MimeEncoder MimeEncoder_MIN = static_cast<MimeEncoder>(0); |
185 | | constexpr MimeEncoder MimeEncoder_MAX = static_cast<MimeEncoder>(5); |
186 | | constexpr int MimeEncoder_ARRAYSIZE = 5 + 1; |
187 | | const ::google::protobuf::EnumDescriptor* |
188 | | MimeEncoder_descriptor(); |
189 | | template <typename T> |
190 | | const std::string& MimeEncoder_Name(T value) { |
191 | | static_assert(std::is_same<T, MimeEncoder>::value || |
192 | | std::is_integral<T>::value, |
193 | | "Incorrect type passed to MimeEncoder_Name()."); |
194 | | return MimeEncoder_Name(static_cast<MimeEncoder>(value)); |
195 | | } |
196 | | template <> |
197 | 0 | inline const std::string& MimeEncoder_Name(MimeEncoder value) { |
198 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<MimeEncoder_descriptor, |
199 | 0 | 0, 5>( |
200 | 0 | static_cast<int>(value)); |
201 | 0 | } |
202 | 0 | inline bool MimeEncoder_Parse(absl::string_view name, MimeEncoder* value) { |
203 | 0 | return ::google::protobuf::internal::ParseNamedEnum<MimeEncoder>( |
204 | 0 | MimeEncoder_descriptor(), name, value); |
205 | 0 | } |
206 | | enum Scheme : int { |
207 | | SCHEME_UNSPECIFIED = 0, |
208 | | SCHEME_HTTP = 1, |
209 | | SCHEME_HTTPS = 2, |
210 | | SCHEME_WS = 3, |
211 | | SCHEME_WSS = 4, |
212 | | Scheme_INT_MIN_SENTINEL_DO_NOT_USE_ = |
213 | | std::numeric_limits<::int32_t>::min(), |
214 | | Scheme_INT_MAX_SENTINEL_DO_NOT_USE_ = |
215 | | std::numeric_limits<::int32_t>::max(), |
216 | | }; |
217 | | |
218 | | bool Scheme_IsValid(int value); |
219 | | extern const uint32_t Scheme_internal_data_[]; |
220 | | constexpr Scheme Scheme_MIN = static_cast<Scheme>(0); |
221 | | constexpr Scheme Scheme_MAX = static_cast<Scheme>(4); |
222 | | constexpr int Scheme_ARRAYSIZE = 4 + 1; |
223 | | const ::google::protobuf::EnumDescriptor* |
224 | | Scheme_descriptor(); |
225 | | template <typename T> |
226 | | const std::string& Scheme_Name(T value) { |
227 | | static_assert(std::is_same<T, Scheme>::value || |
228 | | std::is_integral<T>::value, |
229 | | "Incorrect type passed to Scheme_Name()."); |
230 | | return Scheme_Name(static_cast<Scheme>(value)); |
231 | | } |
232 | | template <> |
233 | 0 | inline const std::string& Scheme_Name(Scheme value) { |
234 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Scheme_descriptor, |
235 | 0 | 0, 4>( |
236 | 0 | static_cast<int>(value)); |
237 | 0 | } |
238 | 0 | inline bool Scheme_Parse(absl::string_view name, Scheme* value) { |
239 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Scheme>( |
240 | 0 | Scheme_descriptor(), name, value); |
241 | 0 | } |
242 | | enum CurlOptionId : int { |
243 | | CURL_OPTION_UNSPECIFIED = 0, |
244 | | CURLOPT_CUSTOMREQUEST = 10036, |
245 | | CURLOPT_HTTPGET = 80, |
246 | | CURLOPT_NOBODY = 44, |
247 | | CURLOPT_POST = 47, |
248 | | CURLOPT_POSTFIELDS = 10015, |
249 | | CURLOPT_FOLLOWLOCATION = 52, |
250 | | CURLOPT_MAXREDIRS = 68, |
251 | | CURLOPT_USERAGENT = 10018, |
252 | | CURLOPT_ACCEPT_ENCODING = 10102, |
253 | | CURLOPT_HEADER = 42, |
254 | | CURLOPT_FAILONERROR = 45, |
255 | | CURLOPT_HTTP_VERSION = 84, |
256 | | CURLOPT_HTTP09_ALLOWED = 285, |
257 | | CURLOPT_AUTOREFERER = 58, |
258 | | CURLOPT_REFERER = 10016, |
259 | | CURLOPT_CONNECT_ONLY = 141, |
260 | | CURLOPT_WS_OPTIONS = 320, |
261 | | CURLOPT_UPLOAD = 46, |
262 | | CURLOPT_INFILESIZE_LARGE = 30115, |
263 | | CURLOPT_CRLF = 27, |
264 | | CURLOPT_SSL_VERIFYPEER = 64, |
265 | | CURLOPT_CERTINFO = 172, |
266 | | CURLOPT_COOKIE = 10022, |
267 | | CURLOPT_COOKIELIST = 10135, |
268 | | CURLOPT_COOKIESESSION = 96, |
269 | | CURLOPT_HTTPAUTH = 107, |
270 | | CURLOPT_USERPWD = 10005, |
271 | | CURLOPT_USERNAME = 10173, |
272 | | CURLOPT_PASSWORD = 10174, |
273 | | CURLOPT_UNRESTRICTED_AUTH = 105, |
274 | | CURLOPT_XOAUTH2_BEARER = 10220, |
275 | | CURLOPT_AWS_SIGV4 = 10305, |
276 | | CURLOPT_TIMECONDITION = 33, |
277 | | CURLOPT_TIMEVALUE_LARGE = 30270, |
278 | | CURLOPT_ALTSVC_CTRL = 286, |
279 | | CURLOPT_HSTS_CTRL = 299, |
280 | | CURLOPT_RANGE = 10007, |
281 | | CURLOPT_RESUME_FROM_LARGE = 30116, |
282 | | CURLOPT_FILETIME = 69, |
283 | | CURLOPT_REQUEST_TARGET = 10266, |
284 | | CURLOPT_PATH_AS_IS = 234, |
285 | | CURLOPT_EXPECT_100_TIMEOUT_MS = 227, |
286 | | CURLOPT_KEEP_SENDING_ON_ERROR = 245, |
287 | | CURLOPT_POSTREDIR = 161, |
288 | | CURLOPT_TRANSFER_ENCODING = 207, |
289 | | CURLOPT_HTTP_TRANSFER_DECODING = 157, |
290 | | CURLOPT_HTTP_CONTENT_DECODING = 158, |
291 | | CURLOPT_IGNORE_CONTENT_LENGTH = 136, |
292 | | CURLOPT_DISALLOW_USERNAME_IN_URL = 278, |
293 | | CURLOPT_FRESH_CONNECT = 74, |
294 | | CURLOPT_FORBID_REUSE = 75, |
295 | | CURLOPT_MAXAGE_CONN = 288, |
296 | | CURLOPT_MAXLIFETIME_CONN = 314, |
297 | | CURLOPT_UPLOAD_BUFFERSIZE = 280, |
298 | | CURLOPT_MIME_OPTIONS = 315, |
299 | | CURLOPT_MAXFILESIZE_LARGE = 30117, |
300 | | CURLOPT_BUFFERSIZE = 98, |
301 | | CurlOptionId_INT_MIN_SENTINEL_DO_NOT_USE_ = |
302 | | std::numeric_limits<::int32_t>::min(), |
303 | | CurlOptionId_INT_MAX_SENTINEL_DO_NOT_USE_ = |
304 | | std::numeric_limits<::int32_t>::max(), |
305 | | }; |
306 | | |
307 | | bool CurlOptionId_IsValid(int value); |
308 | | extern const uint32_t CurlOptionId_internal_data_[]; |
309 | | constexpr CurlOptionId CurlOptionId_MIN = static_cast<CurlOptionId>(0); |
310 | | constexpr CurlOptionId CurlOptionId_MAX = static_cast<CurlOptionId>(30270); |
311 | | constexpr int CurlOptionId_ARRAYSIZE = 30270 + 1; |
312 | | const ::google::protobuf::EnumDescriptor* |
313 | | CurlOptionId_descriptor(); |
314 | | template <typename T> |
315 | | const std::string& CurlOptionId_Name(T value) { |
316 | | static_assert(std::is_same<T, CurlOptionId>::value || |
317 | | std::is_integral<T>::value, |
318 | | "Incorrect type passed to CurlOptionId_Name()."); |
319 | | return ::google::protobuf::internal::NameOfEnum(CurlOptionId_descriptor(), value); |
320 | | } |
321 | 0 | inline bool CurlOptionId_Parse(absl::string_view name, CurlOptionId* value) { |
322 | 0 | return ::google::protobuf::internal::ParseNamedEnum<CurlOptionId>( |
323 | 0 | CurlOptionId_descriptor(), name, value); |
324 | 0 | } |
325 | | |
326 | | // =================================================================== |
327 | | |
328 | | |
329 | | // ------------------------------------------------------------------- |
330 | | |
331 | | class WsManualProbes final : public ::google::protobuf::Message |
332 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.WsManualProbes) */ { |
333 | | public: |
334 | 0 | inline WsManualProbes() : WsManualProbes(nullptr) {} |
335 | | ~WsManualProbes() PROTOBUF_FINAL; |
336 | | |
337 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
338 | | void operator delete(WsManualProbes* msg, std::destroying_delete_t) { |
339 | | SharedDtor(*msg); |
340 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(WsManualProbes)); |
341 | | } |
342 | | #endif |
343 | | |
344 | | template <typename = void> |
345 | | explicit PROTOBUF_CONSTEXPR WsManualProbes( |
346 | | ::google::protobuf::internal::ConstantInitialized); |
347 | | |
348 | 0 | inline WsManualProbes(const WsManualProbes& from) : WsManualProbes(nullptr, from) {} |
349 | | inline WsManualProbes(WsManualProbes&& from) noexcept |
350 | 0 | : WsManualProbes(nullptr, std::move(from)) {} |
351 | 0 | inline WsManualProbes& operator=(const WsManualProbes& from) { |
352 | 0 | CopyFrom(from); |
353 | 0 | return *this; |
354 | 0 | } |
355 | 0 | inline WsManualProbes& operator=(WsManualProbes&& from) noexcept { |
356 | 0 | if (this == &from) return *this; |
357 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
358 | 0 | InternalSwap(&from); |
359 | 0 | } else { |
360 | 0 | CopyFrom(from); |
361 | 0 | } |
362 | 0 | return *this; |
363 | 0 | } |
364 | | |
365 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
366 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
367 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
368 | 0 | } |
369 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
370 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
371 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
372 | 0 | } |
373 | | |
374 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
375 | 0 | return GetDescriptor(); |
376 | 0 | } |
377 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
378 | 0 | return default_instance().GetMetadata().descriptor; |
379 | 0 | } |
380 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
381 | 0 | return default_instance().GetMetadata().reflection; |
382 | 0 | } |
383 | 0 | static const WsManualProbes& default_instance() { |
384 | 0 | return *internal_default_instance(); |
385 | 0 | } |
386 | 0 | static inline const WsManualProbes* internal_default_instance() { |
387 | 0 | return reinterpret_cast<const WsManualProbes*>( |
388 | 0 | &_WsManualProbes_default_instance_); |
389 | 0 | } |
390 | | static constexpr int kIndexInFileMessages = 8; |
391 | 0 | friend void swap(WsManualProbes& a, WsManualProbes& b) { a.Swap(&b); } |
392 | 0 | inline void Swap(WsManualProbes* other) { |
393 | 0 | if (other == this) return; |
394 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
395 | 0 | InternalSwap(other); |
396 | 0 | } else { |
397 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
398 | 0 | } |
399 | 0 | } |
400 | 0 | void UnsafeArenaSwap(WsManualProbes* other) { |
401 | 0 | if (other == this) return; |
402 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
403 | 0 | InternalSwap(other); |
404 | 0 | } |
405 | | |
406 | | // implements Message ---------------------------------------------- |
407 | | |
408 | 0 | WsManualProbes* New(::google::protobuf::Arena* arena = nullptr) const { |
409 | 0 | return ::google::protobuf::Message::DefaultConstruct<WsManualProbes>(arena); |
410 | 0 | } |
411 | | using ::google::protobuf::Message::CopyFrom; |
412 | | void CopyFrom(const WsManualProbes& from); |
413 | | using ::google::protobuf::Message::MergeFrom; |
414 | 0 | void MergeFrom(const WsManualProbes& from) { WsManualProbes::MergeImpl(*this, from); } |
415 | | |
416 | | private: |
417 | | static void MergeImpl( |
418 | | ::google::protobuf::MessageLite& to_msg, |
419 | | const ::google::protobuf::MessageLite& from_msg); |
420 | | |
421 | | public: |
422 | 0 | bool IsInitialized() const { |
423 | 0 | return true; |
424 | 0 | } |
425 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
426 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
427 | | private: |
428 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
429 | | static ::uint8_t* _InternalSerialize( |
430 | | const MessageLite& msg, ::uint8_t* target, |
431 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
432 | | |
433 | | public: |
434 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
435 | | ::uint8_t* _InternalSerialize( |
436 | | ::uint8_t* target, |
437 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
438 | | return _InternalSerialize(*this, target, stream); |
439 | | } |
440 | | #else // PROTOBUF_CUSTOM_VTABLE |
441 | | ::size_t ByteSizeLong() const final; |
442 | | ::uint8_t* _InternalSerialize( |
443 | | ::uint8_t* target, |
444 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
445 | | #endif // PROTOBUF_CUSTOM_VTABLE |
446 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
447 | | |
448 | | private: |
449 | | void SharedCtor(::google::protobuf::Arena* arena); |
450 | | static void SharedDtor(MessageLite& self); |
451 | | void InternalSwap(WsManualProbes* other); |
452 | | private: |
453 | | template <typename T> |
454 | | friend ::absl::string_view( |
455 | | ::google::protobuf::internal::GetAnyMessageName)(); |
456 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.WsManualProbes"; } |
457 | | |
458 | | protected: |
459 | | explicit WsManualProbes(::google::protobuf::Arena* arena); |
460 | | WsManualProbes(::google::protobuf::Arena* arena, const WsManualProbes& from); |
461 | | WsManualProbes(::google::protobuf::Arena* arena, WsManualProbes&& from) noexcept |
462 | 0 | : WsManualProbes(arena) { |
463 | 0 | *this = ::std::move(from); |
464 | 0 | } |
465 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
466 | | static void* PlacementNew_(const void*, void* mem, |
467 | | ::google::protobuf::Arena* arena); |
468 | | static constexpr auto InternalNewImpl_(); |
469 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
470 | | |
471 | | public: |
472 | | ::google::protobuf::Metadata GetMetadata() const; |
473 | | // nested types ---------------------------------------------------- |
474 | | |
475 | | // accessors ------------------------------------------------------- |
476 | | enum : int { |
477 | | kFlagMatrixFieldNumber = 1, |
478 | | kUnalignedSendFieldNumber = 2, |
479 | | kRawSendFieldNumber = 3, |
480 | | }; |
481 | | // bool flag_matrix = 1; |
482 | | void clear_flag_matrix() ; |
483 | | bool flag_matrix() const; |
484 | | void set_flag_matrix(bool value); |
485 | | |
486 | | private: |
487 | | bool _internal_flag_matrix() const; |
488 | | void _internal_set_flag_matrix(bool value); |
489 | | |
490 | | public: |
491 | | // bool unaligned_send = 2; |
492 | | void clear_unaligned_send() ; |
493 | | bool unaligned_send() const; |
494 | | void set_unaligned_send(bool value); |
495 | | |
496 | | private: |
497 | | bool _internal_unaligned_send() const; |
498 | | void _internal_set_unaligned_send(bool value); |
499 | | |
500 | | public: |
501 | | // bool raw_send = 3; |
502 | | void clear_raw_send() ; |
503 | | bool raw_send() const; |
504 | | void set_raw_send(bool value); |
505 | | |
506 | | private: |
507 | | bool _internal_raw_send() const; |
508 | | void _internal_set_raw_send(bool value); |
509 | | |
510 | | public: |
511 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.WsManualProbes) |
512 | | private: |
513 | | class _Internal; |
514 | | friend class ::google::protobuf::internal::TcParser; |
515 | | static const ::google::protobuf::internal::TcParseTable< |
516 | | 2, 3, 0, |
517 | | 0, 2> |
518 | | _table_; |
519 | | |
520 | | friend class ::google::protobuf::MessageLite; |
521 | | friend class ::google::protobuf::Arena; |
522 | | template <typename T> |
523 | | friend class ::google::protobuf::Arena::InternalHelper; |
524 | | using InternalArenaConstructable_ = void; |
525 | | using DestructorSkippable_ = void; |
526 | | struct Impl_ { |
527 | | inline explicit constexpr Impl_( |
528 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
529 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
530 | | ::google::protobuf::Arena* arena); |
531 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
532 | | ::google::protobuf::Arena* arena, const Impl_& from, |
533 | | const WsManualProbes& from_msg); |
534 | | bool flag_matrix_; |
535 | | bool unaligned_send_; |
536 | | bool raw_send_; |
537 | | ::google::protobuf::internal::CachedSize _cached_size_; |
538 | | PROTOBUF_TSAN_DECLARE_MEMBER |
539 | | }; |
540 | | union { Impl_ _impl_; }; |
541 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
542 | | }; |
543 | | // ------------------------------------------------------------------- |
544 | | |
545 | | class WebSocketFrame final : public ::google::protobuf::Message |
546 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.WebSocketFrame) */ { |
547 | | public: |
548 | 0 | inline WebSocketFrame() : WebSocketFrame(nullptr) {} |
549 | | ~WebSocketFrame() PROTOBUF_FINAL; |
550 | | |
551 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
552 | | void operator delete(WebSocketFrame* msg, std::destroying_delete_t) { |
553 | | SharedDtor(*msg); |
554 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(WebSocketFrame)); |
555 | | } |
556 | | #endif |
557 | | |
558 | | template <typename = void> |
559 | | explicit PROTOBUF_CONSTEXPR WebSocketFrame( |
560 | | ::google::protobuf::internal::ConstantInitialized); |
561 | | |
562 | 0 | inline WebSocketFrame(const WebSocketFrame& from) : WebSocketFrame(nullptr, from) {} |
563 | | inline WebSocketFrame(WebSocketFrame&& from) noexcept |
564 | 0 | : WebSocketFrame(nullptr, std::move(from)) {} |
565 | 0 | inline WebSocketFrame& operator=(const WebSocketFrame& from) { |
566 | 0 | CopyFrom(from); |
567 | 0 | return *this; |
568 | 0 | } |
569 | 0 | inline WebSocketFrame& operator=(WebSocketFrame&& from) noexcept { |
570 | 0 | if (this == &from) return *this; |
571 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
572 | 0 | InternalSwap(&from); |
573 | 0 | } else { |
574 | 0 | CopyFrom(from); |
575 | 0 | } |
576 | 0 | return *this; |
577 | 0 | } |
578 | | |
579 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
580 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
581 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
582 | 0 | } |
583 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
584 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
585 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
586 | 0 | } |
587 | | |
588 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
589 | 0 | return GetDescriptor(); |
590 | 0 | } |
591 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
592 | 0 | return default_instance().GetMetadata().descriptor; |
593 | 0 | } |
594 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
595 | 0 | return default_instance().GetMetadata().reflection; |
596 | 0 | } |
597 | 0 | static const WebSocketFrame& default_instance() { |
598 | 0 | return *internal_default_instance(); |
599 | 0 | } |
600 | 0 | static inline const WebSocketFrame* internal_default_instance() { |
601 | 0 | return reinterpret_cast<const WebSocketFrame*>( |
602 | 0 | &_WebSocketFrame_default_instance_); |
603 | 0 | } |
604 | | static constexpr int kIndexInFileMessages = 10; |
605 | 0 | friend void swap(WebSocketFrame& a, WebSocketFrame& b) { a.Swap(&b); } |
606 | 0 | inline void Swap(WebSocketFrame* other) { |
607 | 0 | if (other == this) return; |
608 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
609 | 0 | InternalSwap(other); |
610 | 0 | } else { |
611 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
612 | 0 | } |
613 | 0 | } |
614 | 0 | void UnsafeArenaSwap(WebSocketFrame* other) { |
615 | 0 | if (other == this) return; |
616 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
617 | 0 | InternalSwap(other); |
618 | 0 | } |
619 | | |
620 | | // implements Message ---------------------------------------------- |
621 | | |
622 | 0 | WebSocketFrame* New(::google::protobuf::Arena* arena = nullptr) const { |
623 | 0 | return ::google::protobuf::Message::DefaultConstruct<WebSocketFrame>(arena); |
624 | 0 | } |
625 | | using ::google::protobuf::Message::CopyFrom; |
626 | | void CopyFrom(const WebSocketFrame& from); |
627 | | using ::google::protobuf::Message::MergeFrom; |
628 | 0 | void MergeFrom(const WebSocketFrame& from) { WebSocketFrame::MergeImpl(*this, from); } |
629 | | |
630 | | private: |
631 | | static void MergeImpl( |
632 | | ::google::protobuf::MessageLite& to_msg, |
633 | | const ::google::protobuf::MessageLite& from_msg); |
634 | | |
635 | | public: |
636 | 0 | bool IsInitialized() const { |
637 | 0 | return true; |
638 | 0 | } |
639 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
640 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
641 | | private: |
642 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
643 | | static ::uint8_t* _InternalSerialize( |
644 | | const MessageLite& msg, ::uint8_t* target, |
645 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
646 | | |
647 | | public: |
648 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
649 | | ::uint8_t* _InternalSerialize( |
650 | | ::uint8_t* target, |
651 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
652 | | return _InternalSerialize(*this, target, stream); |
653 | | } |
654 | | #else // PROTOBUF_CUSTOM_VTABLE |
655 | | ::size_t ByteSizeLong() const final; |
656 | | ::uint8_t* _InternalSerialize( |
657 | | ::uint8_t* target, |
658 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
659 | | #endif // PROTOBUF_CUSTOM_VTABLE |
660 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
661 | | |
662 | | private: |
663 | | void SharedCtor(::google::protobuf::Arena* arena); |
664 | | static void SharedDtor(MessageLite& self); |
665 | | void InternalSwap(WebSocketFrame* other); |
666 | | private: |
667 | | template <typename T> |
668 | | friend ::absl::string_view( |
669 | | ::google::protobuf::internal::GetAnyMessageName)(); |
670 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.WebSocketFrame"; } |
671 | | |
672 | | protected: |
673 | | explicit WebSocketFrame(::google::protobuf::Arena* arena); |
674 | | WebSocketFrame(::google::protobuf::Arena* arena, const WebSocketFrame& from); |
675 | | WebSocketFrame(::google::protobuf::Arena* arena, WebSocketFrame&& from) noexcept |
676 | 0 | : WebSocketFrame(arena) { |
677 | 0 | *this = ::std::move(from); |
678 | 0 | } |
679 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
680 | | static void* PlacementNew_(const void*, void* mem, |
681 | | ::google::protobuf::Arena* arena); |
682 | | static constexpr auto InternalNewImpl_(); |
683 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
684 | | |
685 | | public: |
686 | | ::google::protobuf::Metadata GetMetadata() const; |
687 | | // nested types ---------------------------------------------------- |
688 | | |
689 | | // accessors ------------------------------------------------------- |
690 | | enum : int { |
691 | | kPayloadFieldNumber = 8, |
692 | | kFinFieldNumber = 1, |
693 | | kRsv1FieldNumber = 2, |
694 | | kRsv2FieldNumber = 3, |
695 | | kRsv3FieldNumber = 4, |
696 | | kOpcodeFieldNumber = 5, |
697 | | kMaskedFieldNumber = 6, |
698 | | kMaskKeyFieldNumber = 7, |
699 | | kLengthFormFieldNumber = 9, |
700 | | }; |
701 | | // bytes payload = 8; |
702 | | void clear_payload() ; |
703 | | const std::string& payload() const; |
704 | | template <typename Arg_ = const std::string&, typename... Args_> |
705 | | void set_payload(Arg_&& arg, Args_... args); |
706 | | std::string* mutable_payload(); |
707 | | PROTOBUF_NODISCARD std::string* release_payload(); |
708 | | void set_allocated_payload(std::string* value); |
709 | | |
710 | | private: |
711 | | const std::string& _internal_payload() const; |
712 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload( |
713 | | const std::string& value); |
714 | | std::string* _internal_mutable_payload(); |
715 | | |
716 | | public: |
717 | | // bool fin = 1; |
718 | | void clear_fin() ; |
719 | | bool fin() const; |
720 | | void set_fin(bool value); |
721 | | |
722 | | private: |
723 | | bool _internal_fin() const; |
724 | | void _internal_set_fin(bool value); |
725 | | |
726 | | public: |
727 | | // bool rsv1 = 2; |
728 | | void clear_rsv1() ; |
729 | | bool rsv1() const; |
730 | | void set_rsv1(bool value); |
731 | | |
732 | | private: |
733 | | bool _internal_rsv1() const; |
734 | | void _internal_set_rsv1(bool value); |
735 | | |
736 | | public: |
737 | | // bool rsv2 = 3; |
738 | | void clear_rsv2() ; |
739 | | bool rsv2() const; |
740 | | void set_rsv2(bool value); |
741 | | |
742 | | private: |
743 | | bool _internal_rsv2() const; |
744 | | void _internal_set_rsv2(bool value); |
745 | | |
746 | | public: |
747 | | // bool rsv3 = 4; |
748 | | void clear_rsv3() ; |
749 | | bool rsv3() const; |
750 | | void set_rsv3(bool value); |
751 | | |
752 | | private: |
753 | | bool _internal_rsv3() const; |
754 | | void _internal_set_rsv3(bool value); |
755 | | |
756 | | public: |
757 | | // uint32 opcode = 5; |
758 | | void clear_opcode() ; |
759 | | ::uint32_t opcode() const; |
760 | | void set_opcode(::uint32_t value); |
761 | | |
762 | | private: |
763 | | ::uint32_t _internal_opcode() const; |
764 | | void _internal_set_opcode(::uint32_t value); |
765 | | |
766 | | public: |
767 | | // bool masked = 6; |
768 | | void clear_masked() ; |
769 | | bool masked() const; |
770 | | void set_masked(bool value); |
771 | | |
772 | | private: |
773 | | bool _internal_masked() const; |
774 | | void _internal_set_masked(bool value); |
775 | | |
776 | | public: |
777 | | // uint32 mask_key = 7; |
778 | | void clear_mask_key() ; |
779 | | ::uint32_t mask_key() const; |
780 | | void set_mask_key(::uint32_t value); |
781 | | |
782 | | private: |
783 | | ::uint32_t _internal_mask_key() const; |
784 | | void _internal_set_mask_key(::uint32_t value); |
785 | | |
786 | | public: |
787 | | // uint32 length_form = 9; |
788 | | void clear_length_form() ; |
789 | | ::uint32_t length_form() const; |
790 | | void set_length_form(::uint32_t value); |
791 | | |
792 | | private: |
793 | | ::uint32_t _internal_length_form() const; |
794 | | void _internal_set_length_form(::uint32_t value); |
795 | | |
796 | | public: |
797 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.WebSocketFrame) |
798 | | private: |
799 | | class _Internal; |
800 | | friend class ::google::protobuf::internal::TcParser; |
801 | | static const ::google::protobuf::internal::TcParseTable< |
802 | | 4, 9, 0, |
803 | | 0, 2> |
804 | | _table_; |
805 | | |
806 | | friend class ::google::protobuf::MessageLite; |
807 | | friend class ::google::protobuf::Arena; |
808 | | template <typename T> |
809 | | friend class ::google::protobuf::Arena::InternalHelper; |
810 | | using InternalArenaConstructable_ = void; |
811 | | using DestructorSkippable_ = void; |
812 | | struct Impl_ { |
813 | | inline explicit constexpr Impl_( |
814 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
815 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
816 | | ::google::protobuf::Arena* arena); |
817 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
818 | | ::google::protobuf::Arena* arena, const Impl_& from, |
819 | | const WebSocketFrame& from_msg); |
820 | | ::google::protobuf::internal::ArenaStringPtr payload_; |
821 | | bool fin_; |
822 | | bool rsv1_; |
823 | | bool rsv2_; |
824 | | bool rsv3_; |
825 | | ::uint32_t opcode_; |
826 | | bool masked_; |
827 | | ::uint32_t mask_key_; |
828 | | ::uint32_t length_form_; |
829 | | ::google::protobuf::internal::CachedSize _cached_size_; |
830 | | PROTOBUF_TSAN_DECLARE_MEMBER |
831 | | }; |
832 | | union { Impl_ _impl_; }; |
833 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
834 | | }; |
835 | | // ------------------------------------------------------------------- |
836 | | |
837 | | class UploadScript final : public ::google::protobuf::Message |
838 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.UploadScript) */ { |
839 | | public: |
840 | 0 | inline UploadScript() : UploadScript(nullptr) {} |
841 | | ~UploadScript() PROTOBUF_FINAL; |
842 | | |
843 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
844 | | void operator delete(UploadScript* msg, std::destroying_delete_t) { |
845 | | SharedDtor(*msg); |
846 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(UploadScript)); |
847 | | } |
848 | | #endif |
849 | | |
850 | | template <typename = void> |
851 | | explicit PROTOBUF_CONSTEXPR UploadScript( |
852 | | ::google::protobuf::internal::ConstantInitialized); |
853 | | |
854 | 0 | inline UploadScript(const UploadScript& from) : UploadScript(nullptr, from) {} |
855 | | inline UploadScript(UploadScript&& from) noexcept |
856 | 0 | : UploadScript(nullptr, std::move(from)) {} |
857 | 0 | inline UploadScript& operator=(const UploadScript& from) { |
858 | 0 | CopyFrom(from); |
859 | 0 | return *this; |
860 | 0 | } |
861 | 0 | inline UploadScript& operator=(UploadScript&& from) noexcept { |
862 | 0 | if (this == &from) return *this; |
863 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
864 | 0 | InternalSwap(&from); |
865 | 0 | } else { |
866 | 0 | CopyFrom(from); |
867 | 0 | } |
868 | 0 | return *this; |
869 | 0 | } |
870 | | |
871 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
872 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
873 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
874 | 0 | } |
875 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
876 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
877 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
878 | 0 | } |
879 | | |
880 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
881 | 0 | return GetDescriptor(); |
882 | 0 | } |
883 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
884 | 0 | return default_instance().GetMetadata().descriptor; |
885 | 0 | } |
886 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
887 | 0 | return default_instance().GetMetadata().reflection; |
888 | 0 | } |
889 | 0 | static const UploadScript& default_instance() { |
890 | 0 | return *internal_default_instance(); |
891 | 0 | } |
892 | 0 | static inline const UploadScript* internal_default_instance() { |
893 | 0 | return reinterpret_cast<const UploadScript*>( |
894 | 0 | &_UploadScript_default_instance_); |
895 | 0 | } |
896 | | static constexpr int kIndexInFileMessages = 1; |
897 | 0 | friend void swap(UploadScript& a, UploadScript& b) { a.Swap(&b); } |
898 | 0 | inline void Swap(UploadScript* other) { |
899 | 0 | if (other == this) return; |
900 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
901 | 0 | InternalSwap(other); |
902 | 0 | } else { |
903 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
904 | 0 | } |
905 | 0 | } |
906 | 0 | void UnsafeArenaSwap(UploadScript* other) { |
907 | 0 | if (other == this) return; |
908 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
909 | 0 | InternalSwap(other); |
910 | 0 | } |
911 | | |
912 | | // implements Message ---------------------------------------------- |
913 | | |
914 | 0 | UploadScript* New(::google::protobuf::Arena* arena = nullptr) const { |
915 | 0 | return ::google::protobuf::Message::DefaultConstruct<UploadScript>(arena); |
916 | 0 | } |
917 | | using ::google::protobuf::Message::CopyFrom; |
918 | | void CopyFrom(const UploadScript& from); |
919 | | using ::google::protobuf::Message::MergeFrom; |
920 | 0 | void MergeFrom(const UploadScript& from) { UploadScript::MergeImpl(*this, from); } |
921 | | |
922 | | private: |
923 | | static void MergeImpl( |
924 | | ::google::protobuf::MessageLite& to_msg, |
925 | | const ::google::protobuf::MessageLite& from_msg); |
926 | | |
927 | | public: |
928 | 0 | bool IsInitialized() const { |
929 | 0 | return true; |
930 | 0 | } |
931 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
932 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
933 | | private: |
934 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
935 | | static ::uint8_t* _InternalSerialize( |
936 | | const MessageLite& msg, ::uint8_t* target, |
937 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
938 | | |
939 | | public: |
940 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
941 | | ::uint8_t* _InternalSerialize( |
942 | | ::uint8_t* target, |
943 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
944 | | return _InternalSerialize(*this, target, stream); |
945 | | } |
946 | | #else // PROTOBUF_CUSTOM_VTABLE |
947 | | ::size_t ByteSizeLong() const final; |
948 | | ::uint8_t* _InternalSerialize( |
949 | | ::uint8_t* target, |
950 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
951 | | #endif // PROTOBUF_CUSTOM_VTABLE |
952 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
953 | | |
954 | | private: |
955 | | void SharedCtor(::google::protobuf::Arena* arena); |
956 | | static void SharedDtor(MessageLite& self); |
957 | | void InternalSwap(UploadScript* other); |
958 | | private: |
959 | | template <typename T> |
960 | | friend ::absl::string_view( |
961 | | ::google::protobuf::internal::GetAnyMessageName)(); |
962 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.UploadScript"; } |
963 | | |
964 | | protected: |
965 | | explicit UploadScript(::google::protobuf::Arena* arena); |
966 | | UploadScript(::google::protobuf::Arena* arena, const UploadScript& from); |
967 | | UploadScript(::google::protobuf::Arena* arena, UploadScript&& from) noexcept |
968 | 0 | : UploadScript(arena) { |
969 | 0 | *this = ::std::move(from); |
970 | 0 | } |
971 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
972 | | static void* PlacementNew_(const void*, void* mem, |
973 | | ::google::protobuf::Arena* arena); |
974 | | static constexpr auto InternalNewImpl_(); |
975 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
976 | | |
977 | | public: |
978 | | ::google::protobuf::Metadata GetMetadata() const; |
979 | | // nested types ---------------------------------------------------- |
980 | | |
981 | | // accessors ------------------------------------------------------- |
982 | | enum : int { |
983 | | kReadSizesFieldNumber = 2, |
984 | | kDataFieldNumber = 1, |
985 | | kTerminalFieldNumber = 3, |
986 | | kSeekResultFieldNumber = 4, |
987 | | }; |
988 | | // repeated uint32 read_sizes = 2; |
989 | | int read_sizes_size() const; |
990 | | private: |
991 | | int _internal_read_sizes_size() const; |
992 | | |
993 | | public: |
994 | | void clear_read_sizes() ; |
995 | | ::uint32_t read_sizes(int index) const; |
996 | | void set_read_sizes(int index, ::uint32_t value); |
997 | | void add_read_sizes(::uint32_t value); |
998 | | const ::google::protobuf::RepeatedField<::uint32_t>& read_sizes() const; |
999 | | ::google::protobuf::RepeatedField<::uint32_t>* mutable_read_sizes(); |
1000 | | |
1001 | | private: |
1002 | | const ::google::protobuf::RepeatedField<::uint32_t>& _internal_read_sizes() const; |
1003 | | ::google::protobuf::RepeatedField<::uint32_t>* _internal_mutable_read_sizes(); |
1004 | | |
1005 | | public: |
1006 | | // bytes data = 1; |
1007 | | void clear_data() ; |
1008 | | const std::string& data() const; |
1009 | | template <typename Arg_ = const std::string&, typename... Args_> |
1010 | | void set_data(Arg_&& arg, Args_... args); |
1011 | | std::string* mutable_data(); |
1012 | | PROTOBUF_NODISCARD std::string* release_data(); |
1013 | | void set_allocated_data(std::string* value); |
1014 | | |
1015 | | private: |
1016 | | const std::string& _internal_data() const; |
1017 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data( |
1018 | | const std::string& value); |
1019 | | std::string* _internal_mutable_data(); |
1020 | | |
1021 | | public: |
1022 | | // .curl.fuzzer.proto.UploadTerminal terminal = 3; |
1023 | | void clear_terminal() ; |
1024 | | ::curl::fuzzer::proto::UploadTerminal terminal() const; |
1025 | | void set_terminal(::curl::fuzzer::proto::UploadTerminal value); |
1026 | | |
1027 | | private: |
1028 | | ::curl::fuzzer::proto::UploadTerminal _internal_terminal() const; |
1029 | | void _internal_set_terminal(::curl::fuzzer::proto::UploadTerminal value); |
1030 | | |
1031 | | public: |
1032 | | // .curl.fuzzer.proto.UploadSeekResult seek_result = 4; |
1033 | | void clear_seek_result() ; |
1034 | | ::curl::fuzzer::proto::UploadSeekResult seek_result() const; |
1035 | | void set_seek_result(::curl::fuzzer::proto::UploadSeekResult value); |
1036 | | |
1037 | | private: |
1038 | | ::curl::fuzzer::proto::UploadSeekResult _internal_seek_result() const; |
1039 | | void _internal_set_seek_result(::curl::fuzzer::proto::UploadSeekResult value); |
1040 | | |
1041 | | public: |
1042 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.UploadScript) |
1043 | | private: |
1044 | | class _Internal; |
1045 | | friend class ::google::protobuf::internal::TcParser; |
1046 | | static const ::google::protobuf::internal::TcParseTable< |
1047 | | 2, 4, 0, |
1048 | | 0, 2> |
1049 | | _table_; |
1050 | | |
1051 | | friend class ::google::protobuf::MessageLite; |
1052 | | friend class ::google::protobuf::Arena; |
1053 | | template <typename T> |
1054 | | friend class ::google::protobuf::Arena::InternalHelper; |
1055 | | using InternalArenaConstructable_ = void; |
1056 | | using DestructorSkippable_ = void; |
1057 | | struct Impl_ { |
1058 | | inline explicit constexpr Impl_( |
1059 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1060 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1061 | | ::google::protobuf::Arena* arena); |
1062 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1063 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1064 | | const UploadScript& from_msg); |
1065 | | ::google::protobuf::RepeatedField<::uint32_t> read_sizes_; |
1066 | | ::google::protobuf::internal::CachedSize _read_sizes_cached_byte_size_; |
1067 | | ::google::protobuf::internal::ArenaStringPtr data_; |
1068 | | int terminal_; |
1069 | | int seek_result_; |
1070 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1071 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1072 | | }; |
1073 | | union { Impl_ _impl_; }; |
1074 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1075 | | }; |
1076 | | // ------------------------------------------------------------------- |
1077 | | |
1078 | | class SetOption final : public ::google::protobuf::Message |
1079 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.SetOption) */ { |
1080 | | public: |
1081 | 0 | inline SetOption() : SetOption(nullptr) {} |
1082 | | ~SetOption() PROTOBUF_FINAL; |
1083 | | |
1084 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1085 | | void operator delete(SetOption* msg, std::destroying_delete_t) { |
1086 | | SharedDtor(*msg); |
1087 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(SetOption)); |
1088 | | } |
1089 | | #endif |
1090 | | |
1091 | | template <typename = void> |
1092 | | explicit PROTOBUF_CONSTEXPR SetOption( |
1093 | | ::google::protobuf::internal::ConstantInitialized); |
1094 | | |
1095 | 0 | inline SetOption(const SetOption& from) : SetOption(nullptr, from) {} |
1096 | | inline SetOption(SetOption&& from) noexcept |
1097 | 0 | : SetOption(nullptr, std::move(from)) {} |
1098 | 0 | inline SetOption& operator=(const SetOption& from) { |
1099 | 0 | CopyFrom(from); |
1100 | 0 | return *this; |
1101 | 0 | } |
1102 | 0 | inline SetOption& operator=(SetOption&& from) noexcept { |
1103 | 0 | if (this == &from) return *this; |
1104 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1105 | 0 | InternalSwap(&from); |
1106 | 0 | } else { |
1107 | 0 | CopyFrom(from); |
1108 | 0 | } |
1109 | 0 | return *this; |
1110 | 0 | } |
1111 | | |
1112 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1113 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1114 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1115 | 0 | } |
1116 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1117 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1118 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1119 | 0 | } |
1120 | | |
1121 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1122 | 0 | return GetDescriptor(); |
1123 | 0 | } |
1124 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1125 | 0 | return default_instance().GetMetadata().descriptor; |
1126 | 0 | } |
1127 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1128 | 0 | return default_instance().GetMetadata().reflection; |
1129 | 0 | } |
1130 | 0 | static const SetOption& default_instance() { |
1131 | 0 | return *internal_default_instance(); |
1132 | 0 | } |
1133 | | enum ValueCase { |
1134 | | kStringValue = 10, |
1135 | | kUintValue = 11, |
1136 | | kBoolValue = 12, |
1137 | | VALUE_NOT_SET = 0, |
1138 | | }; |
1139 | 0 | static inline const SetOption* internal_default_instance() { |
1140 | 0 | return reinterpret_cast<const SetOption*>( |
1141 | 0 | &_SetOption_default_instance_); |
1142 | 0 | } |
1143 | | static constexpr int kIndexInFileMessages = 6; |
1144 | 0 | friend void swap(SetOption& a, SetOption& b) { a.Swap(&b); } |
1145 | 0 | inline void Swap(SetOption* other) { |
1146 | 0 | if (other == this) return; |
1147 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1148 | 0 | InternalSwap(other); |
1149 | 0 | } else { |
1150 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1151 | 0 | } |
1152 | 0 | } |
1153 | 0 | void UnsafeArenaSwap(SetOption* other) { |
1154 | 0 | if (other == this) return; |
1155 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1156 | 0 | InternalSwap(other); |
1157 | 0 | } |
1158 | | |
1159 | | // implements Message ---------------------------------------------- |
1160 | | |
1161 | 0 | SetOption* New(::google::protobuf::Arena* arena = nullptr) const { |
1162 | 0 | return ::google::protobuf::Message::DefaultConstruct<SetOption>(arena); |
1163 | 0 | } |
1164 | | using ::google::protobuf::Message::CopyFrom; |
1165 | | void CopyFrom(const SetOption& from); |
1166 | | using ::google::protobuf::Message::MergeFrom; |
1167 | 0 | void MergeFrom(const SetOption& from) { SetOption::MergeImpl(*this, from); } |
1168 | | |
1169 | | private: |
1170 | | static void MergeImpl( |
1171 | | ::google::protobuf::MessageLite& to_msg, |
1172 | | const ::google::protobuf::MessageLite& from_msg); |
1173 | | |
1174 | | public: |
1175 | 0 | bool IsInitialized() const { |
1176 | 0 | return true; |
1177 | 0 | } |
1178 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1179 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1180 | | private: |
1181 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1182 | | static ::uint8_t* _InternalSerialize( |
1183 | | const MessageLite& msg, ::uint8_t* target, |
1184 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1185 | | |
1186 | | public: |
1187 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1188 | | ::uint8_t* _InternalSerialize( |
1189 | | ::uint8_t* target, |
1190 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1191 | | return _InternalSerialize(*this, target, stream); |
1192 | | } |
1193 | | #else // PROTOBUF_CUSTOM_VTABLE |
1194 | | ::size_t ByteSizeLong() const final; |
1195 | | ::uint8_t* _InternalSerialize( |
1196 | | ::uint8_t* target, |
1197 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1198 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1199 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1200 | | |
1201 | | private: |
1202 | | void SharedCtor(::google::protobuf::Arena* arena); |
1203 | | static void SharedDtor(MessageLite& self); |
1204 | | void InternalSwap(SetOption* other); |
1205 | | private: |
1206 | | template <typename T> |
1207 | | friend ::absl::string_view( |
1208 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1209 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.SetOption"; } |
1210 | | |
1211 | | protected: |
1212 | | explicit SetOption(::google::protobuf::Arena* arena); |
1213 | | SetOption(::google::protobuf::Arena* arena, const SetOption& from); |
1214 | | SetOption(::google::protobuf::Arena* arena, SetOption&& from) noexcept |
1215 | 0 | : SetOption(arena) { |
1216 | 0 | *this = ::std::move(from); |
1217 | 0 | } |
1218 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1219 | | static void* PlacementNew_(const void*, void* mem, |
1220 | | ::google::protobuf::Arena* arena); |
1221 | | static constexpr auto InternalNewImpl_(); |
1222 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1223 | | |
1224 | | public: |
1225 | | ::google::protobuf::Metadata GetMetadata() const; |
1226 | | // nested types ---------------------------------------------------- |
1227 | | |
1228 | | // accessors ------------------------------------------------------- |
1229 | | enum : int { |
1230 | | kOptionIdFieldNumber = 1, |
1231 | | kStringValueFieldNumber = 10, |
1232 | | kUintValueFieldNumber = 11, |
1233 | | kBoolValueFieldNumber = 12, |
1234 | | }; |
1235 | | // .curl.fuzzer.proto.CurlOptionId option_id = 1; |
1236 | | void clear_option_id() ; |
1237 | | ::curl::fuzzer::proto::CurlOptionId option_id() const; |
1238 | | void set_option_id(::curl::fuzzer::proto::CurlOptionId value); |
1239 | | |
1240 | | private: |
1241 | | ::curl::fuzzer::proto::CurlOptionId _internal_option_id() const; |
1242 | | void _internal_set_option_id(::curl::fuzzer::proto::CurlOptionId value); |
1243 | | |
1244 | | public: |
1245 | | // bytes string_value = 10; |
1246 | | bool has_string_value() const; |
1247 | | void clear_string_value() ; |
1248 | | const std::string& string_value() const; |
1249 | | template <typename Arg_ = const std::string&, typename... Args_> |
1250 | | void set_string_value(Arg_&& arg, Args_... args); |
1251 | | std::string* mutable_string_value(); |
1252 | | PROTOBUF_NODISCARD std::string* release_string_value(); |
1253 | | void set_allocated_string_value(std::string* value); |
1254 | | |
1255 | | private: |
1256 | | const std::string& _internal_string_value() const; |
1257 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value( |
1258 | | const std::string& value); |
1259 | | std::string* _internal_mutable_string_value(); |
1260 | | |
1261 | | public: |
1262 | | // uint64 uint_value = 11; |
1263 | | bool has_uint_value() const; |
1264 | | void clear_uint_value() ; |
1265 | | ::uint64_t uint_value() const; |
1266 | | void set_uint_value(::uint64_t value); |
1267 | | |
1268 | | private: |
1269 | | ::uint64_t _internal_uint_value() const; |
1270 | | void _internal_set_uint_value(::uint64_t value); |
1271 | | |
1272 | | public: |
1273 | | // bool bool_value = 12; |
1274 | | bool has_bool_value() const; |
1275 | | void clear_bool_value() ; |
1276 | | bool bool_value() const; |
1277 | | void set_bool_value(bool value); |
1278 | | |
1279 | | private: |
1280 | | bool _internal_bool_value() const; |
1281 | | void _internal_set_bool_value(bool value); |
1282 | | |
1283 | | public: |
1284 | | void clear_value(); |
1285 | | ValueCase value_case() const; |
1286 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.SetOption) |
1287 | | private: |
1288 | | class _Internal; |
1289 | | void set_has_string_value(); |
1290 | | void set_has_uint_value(); |
1291 | | void set_has_bool_value(); |
1292 | | inline bool has_value() const; |
1293 | | inline void clear_has_value(); |
1294 | | friend class ::google::protobuf::internal::TcParser; |
1295 | | static const ::google::protobuf::internal::TcParseTable< |
1296 | | 0, 4, 0, |
1297 | | 0, 2> |
1298 | | _table_; |
1299 | | |
1300 | | friend class ::google::protobuf::MessageLite; |
1301 | | friend class ::google::protobuf::Arena; |
1302 | | template <typename T> |
1303 | | friend class ::google::protobuf::Arena::InternalHelper; |
1304 | | using InternalArenaConstructable_ = void; |
1305 | | using DestructorSkippable_ = void; |
1306 | | struct Impl_ { |
1307 | | inline explicit constexpr Impl_( |
1308 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1309 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1310 | | ::google::protobuf::Arena* arena); |
1311 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1312 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1313 | | const SetOption& from_msg); |
1314 | | int option_id_; |
1315 | | union ValueUnion { |
1316 | 0 | constexpr ValueUnion() : _constinit_{} {} |
1317 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
1318 | | ::google::protobuf::internal::ArenaStringPtr string_value_; |
1319 | | ::uint64_t uint_value_; |
1320 | | bool bool_value_; |
1321 | | } value_; |
1322 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1323 | | ::uint32_t _oneof_case_[1]; |
1324 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1325 | | }; |
1326 | | union { Impl_ _impl_; }; |
1327 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1328 | | }; |
1329 | | // ------------------------------------------------------------------- |
1330 | | |
1331 | | class MimeDataPart final : public ::google::protobuf::Message |
1332 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.MimeDataPart) */ { |
1333 | | public: |
1334 | 0 | inline MimeDataPart() : MimeDataPart(nullptr) {} |
1335 | | ~MimeDataPart() PROTOBUF_FINAL; |
1336 | | |
1337 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1338 | | void operator delete(MimeDataPart* msg, std::destroying_delete_t) { |
1339 | | SharedDtor(*msg); |
1340 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(MimeDataPart)); |
1341 | | } |
1342 | | #endif |
1343 | | |
1344 | | template <typename = void> |
1345 | | explicit PROTOBUF_CONSTEXPR MimeDataPart( |
1346 | | ::google::protobuf::internal::ConstantInitialized); |
1347 | | |
1348 | 0 | inline MimeDataPart(const MimeDataPart& from) : MimeDataPart(nullptr, from) {} |
1349 | | inline MimeDataPart(MimeDataPart&& from) noexcept |
1350 | 0 | : MimeDataPart(nullptr, std::move(from)) {} |
1351 | 0 | inline MimeDataPart& operator=(const MimeDataPart& from) { |
1352 | 0 | CopyFrom(from); |
1353 | 0 | return *this; |
1354 | 0 | } |
1355 | 0 | inline MimeDataPart& operator=(MimeDataPart&& from) noexcept { |
1356 | 0 | if (this == &from) return *this; |
1357 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1358 | 0 | InternalSwap(&from); |
1359 | 0 | } else { |
1360 | 0 | CopyFrom(from); |
1361 | 0 | } |
1362 | 0 | return *this; |
1363 | 0 | } |
1364 | | |
1365 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1366 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1367 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1368 | 0 | } |
1369 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1370 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1371 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1372 | 0 | } |
1373 | | |
1374 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1375 | 0 | return GetDescriptor(); |
1376 | 0 | } |
1377 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1378 | 0 | return default_instance().GetMetadata().descriptor; |
1379 | 0 | } |
1380 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1381 | 0 | return default_instance().GetMetadata().reflection; |
1382 | 0 | } |
1383 | 0 | static const MimeDataPart& default_instance() { |
1384 | 0 | return *internal_default_instance(); |
1385 | 0 | } |
1386 | 0 | static inline const MimeDataPart* internal_default_instance() { |
1387 | 0 | return reinterpret_cast<const MimeDataPart*>( |
1388 | 0 | &_MimeDataPart_default_instance_); |
1389 | 0 | } |
1390 | | static constexpr int kIndexInFileMessages = 5; |
1391 | 0 | friend void swap(MimeDataPart& a, MimeDataPart& b) { a.Swap(&b); } |
1392 | 0 | inline void Swap(MimeDataPart* other) { |
1393 | 0 | if (other == this) return; |
1394 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1395 | 0 | InternalSwap(other); |
1396 | 0 | } else { |
1397 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1398 | 0 | } |
1399 | 0 | } |
1400 | 0 | void UnsafeArenaSwap(MimeDataPart* other) { |
1401 | 0 | if (other == this) return; |
1402 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1403 | 0 | InternalSwap(other); |
1404 | 0 | } |
1405 | | |
1406 | | // implements Message ---------------------------------------------- |
1407 | | |
1408 | 0 | MimeDataPart* New(::google::protobuf::Arena* arena = nullptr) const { |
1409 | 0 | return ::google::protobuf::Message::DefaultConstruct<MimeDataPart>(arena); |
1410 | 0 | } |
1411 | | using ::google::protobuf::Message::CopyFrom; |
1412 | | void CopyFrom(const MimeDataPart& from); |
1413 | | using ::google::protobuf::Message::MergeFrom; |
1414 | 0 | void MergeFrom(const MimeDataPart& from) { MimeDataPart::MergeImpl(*this, from); } |
1415 | | |
1416 | | private: |
1417 | | static void MergeImpl( |
1418 | | ::google::protobuf::MessageLite& to_msg, |
1419 | | const ::google::protobuf::MessageLite& from_msg); |
1420 | | |
1421 | | public: |
1422 | 0 | bool IsInitialized() const { |
1423 | 0 | return true; |
1424 | 0 | } |
1425 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1426 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1427 | | private: |
1428 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1429 | | static ::uint8_t* _InternalSerialize( |
1430 | | const MessageLite& msg, ::uint8_t* target, |
1431 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1432 | | |
1433 | | public: |
1434 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1435 | | ::uint8_t* _InternalSerialize( |
1436 | | ::uint8_t* target, |
1437 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1438 | | return _InternalSerialize(*this, target, stream); |
1439 | | } |
1440 | | #else // PROTOBUF_CUSTOM_VTABLE |
1441 | | ::size_t ByteSizeLong() const final; |
1442 | | ::uint8_t* _InternalSerialize( |
1443 | | ::uint8_t* target, |
1444 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1445 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1446 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1447 | | |
1448 | | private: |
1449 | | void SharedCtor(::google::protobuf::Arena* arena); |
1450 | | static void SharedDtor(MessageLite& self); |
1451 | | void InternalSwap(MimeDataPart* other); |
1452 | | private: |
1453 | | template <typename T> |
1454 | | friend ::absl::string_view( |
1455 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1456 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.MimeDataPart"; } |
1457 | | |
1458 | | protected: |
1459 | | explicit MimeDataPart(::google::protobuf::Arena* arena); |
1460 | | MimeDataPart(::google::protobuf::Arena* arena, const MimeDataPart& from); |
1461 | | MimeDataPart(::google::protobuf::Arena* arena, MimeDataPart&& from) noexcept |
1462 | 0 | : MimeDataPart(arena) { |
1463 | 0 | *this = ::std::move(from); |
1464 | 0 | } |
1465 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1466 | | static void* PlacementNew_(const void*, void* mem, |
1467 | | ::google::protobuf::Arena* arena); |
1468 | | static constexpr auto InternalNewImpl_(); |
1469 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1470 | | |
1471 | | public: |
1472 | | ::google::protobuf::Metadata GetMetadata() const; |
1473 | | // nested types ---------------------------------------------------- |
1474 | | |
1475 | | // accessors ------------------------------------------------------- |
1476 | | enum : int { |
1477 | | kHeadersFieldNumber = 6, |
1478 | | kNameFieldNumber = 1, |
1479 | | kDataFieldNumber = 2, |
1480 | | kFilenameFieldNumber = 3, |
1481 | | kContentTypeFieldNumber = 4, |
1482 | | kEncoderFieldNumber = 5, |
1483 | | }; |
1484 | | // repeated bytes headers = 6; |
1485 | | int headers_size() const; |
1486 | | private: |
1487 | | int _internal_headers_size() const; |
1488 | | |
1489 | | public: |
1490 | | void clear_headers() ; |
1491 | | const std::string& headers(int index) const; |
1492 | | std::string* mutable_headers(int index); |
1493 | | template <typename Arg_ = const std::string&, typename... Args_> |
1494 | | void set_headers(int index, Arg_&& value, Args_... args); |
1495 | | std::string* add_headers(); |
1496 | | template <typename Arg_ = const std::string&, typename... Args_> |
1497 | | void add_headers(Arg_&& value, Args_... args); |
1498 | | const ::google::protobuf::RepeatedPtrField<std::string>& headers() const; |
1499 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_headers(); |
1500 | | |
1501 | | private: |
1502 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_headers() const; |
1503 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_headers(); |
1504 | | |
1505 | | public: |
1506 | | // bytes name = 1; |
1507 | | void clear_name() ; |
1508 | | const std::string& name() const; |
1509 | | template <typename Arg_ = const std::string&, typename... Args_> |
1510 | | void set_name(Arg_&& arg, Args_... args); |
1511 | | std::string* mutable_name(); |
1512 | | PROTOBUF_NODISCARD std::string* release_name(); |
1513 | | void set_allocated_name(std::string* value); |
1514 | | |
1515 | | private: |
1516 | | const std::string& _internal_name() const; |
1517 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
1518 | | const std::string& value); |
1519 | | std::string* _internal_mutable_name(); |
1520 | | |
1521 | | public: |
1522 | | // bytes data = 2; |
1523 | | void clear_data() ; |
1524 | | const std::string& data() const; |
1525 | | template <typename Arg_ = const std::string&, typename... Args_> |
1526 | | void set_data(Arg_&& arg, Args_... args); |
1527 | | std::string* mutable_data(); |
1528 | | PROTOBUF_NODISCARD std::string* release_data(); |
1529 | | void set_allocated_data(std::string* value); |
1530 | | |
1531 | | private: |
1532 | | const std::string& _internal_data() const; |
1533 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data( |
1534 | | const std::string& value); |
1535 | | std::string* _internal_mutable_data(); |
1536 | | |
1537 | | public: |
1538 | | // bytes filename = 3; |
1539 | | void clear_filename() ; |
1540 | | const std::string& filename() const; |
1541 | | template <typename Arg_ = const std::string&, typename... Args_> |
1542 | | void set_filename(Arg_&& arg, Args_... args); |
1543 | | std::string* mutable_filename(); |
1544 | | PROTOBUF_NODISCARD std::string* release_filename(); |
1545 | | void set_allocated_filename(std::string* value); |
1546 | | |
1547 | | private: |
1548 | | const std::string& _internal_filename() const; |
1549 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename( |
1550 | | const std::string& value); |
1551 | | std::string* _internal_mutable_filename(); |
1552 | | |
1553 | | public: |
1554 | | // bytes content_type = 4; |
1555 | | void clear_content_type() ; |
1556 | | const std::string& content_type() const; |
1557 | | template <typename Arg_ = const std::string&, typename... Args_> |
1558 | | void set_content_type(Arg_&& arg, Args_... args); |
1559 | | std::string* mutable_content_type(); |
1560 | | PROTOBUF_NODISCARD std::string* release_content_type(); |
1561 | | void set_allocated_content_type(std::string* value); |
1562 | | |
1563 | | private: |
1564 | | const std::string& _internal_content_type() const; |
1565 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_content_type( |
1566 | | const std::string& value); |
1567 | | std::string* _internal_mutable_content_type(); |
1568 | | |
1569 | | public: |
1570 | | // .curl.fuzzer.proto.MimeEncoder encoder = 5; |
1571 | | void clear_encoder() ; |
1572 | | ::curl::fuzzer::proto::MimeEncoder encoder() const; |
1573 | | void set_encoder(::curl::fuzzer::proto::MimeEncoder value); |
1574 | | |
1575 | | private: |
1576 | | ::curl::fuzzer::proto::MimeEncoder _internal_encoder() const; |
1577 | | void _internal_set_encoder(::curl::fuzzer::proto::MimeEncoder value); |
1578 | | |
1579 | | public: |
1580 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.MimeDataPart) |
1581 | | private: |
1582 | | class _Internal; |
1583 | | friend class ::google::protobuf::internal::TcParser; |
1584 | | static const ::google::protobuf::internal::TcParseTable< |
1585 | | 3, 6, 0, |
1586 | | 0, 2> |
1587 | | _table_; |
1588 | | |
1589 | | friend class ::google::protobuf::MessageLite; |
1590 | | friend class ::google::protobuf::Arena; |
1591 | | template <typename T> |
1592 | | friend class ::google::protobuf::Arena::InternalHelper; |
1593 | | using InternalArenaConstructable_ = void; |
1594 | | using DestructorSkippable_ = void; |
1595 | | struct Impl_ { |
1596 | | inline explicit constexpr Impl_( |
1597 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1598 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1599 | | ::google::protobuf::Arena* arena); |
1600 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1601 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1602 | | const MimeDataPart& from_msg); |
1603 | | ::google::protobuf::RepeatedPtrField<std::string> headers_; |
1604 | | ::google::protobuf::internal::ArenaStringPtr name_; |
1605 | | ::google::protobuf::internal::ArenaStringPtr data_; |
1606 | | ::google::protobuf::internal::ArenaStringPtr filename_; |
1607 | | ::google::protobuf::internal::ArenaStringPtr content_type_; |
1608 | | int encoder_; |
1609 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1610 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1611 | | }; |
1612 | | union { Impl_ _impl_; }; |
1613 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1614 | | }; |
1615 | | // ------------------------------------------------------------------- |
1616 | | |
1617 | | class BackpressureConfig final : public ::google::protobuf::Message |
1618 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.BackpressureConfig) */ { |
1619 | | public: |
1620 | 0 | inline BackpressureConfig() : BackpressureConfig(nullptr) {} |
1621 | | ~BackpressureConfig() PROTOBUF_FINAL; |
1622 | | |
1623 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1624 | | void operator delete(BackpressureConfig* msg, std::destroying_delete_t) { |
1625 | | SharedDtor(*msg); |
1626 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(BackpressureConfig)); |
1627 | | } |
1628 | | #endif |
1629 | | |
1630 | | template <typename = void> |
1631 | | explicit PROTOBUF_CONSTEXPR BackpressureConfig( |
1632 | | ::google::protobuf::internal::ConstantInitialized); |
1633 | | |
1634 | 0 | inline BackpressureConfig(const BackpressureConfig& from) : BackpressureConfig(nullptr, from) {} |
1635 | | inline BackpressureConfig(BackpressureConfig&& from) noexcept |
1636 | 0 | : BackpressureConfig(nullptr, std::move(from)) {} |
1637 | 0 | inline BackpressureConfig& operator=(const BackpressureConfig& from) { |
1638 | 0 | CopyFrom(from); |
1639 | 0 | return *this; |
1640 | 0 | } |
1641 | 0 | inline BackpressureConfig& operator=(BackpressureConfig&& from) noexcept { |
1642 | 0 | if (this == &from) return *this; |
1643 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1644 | 0 | InternalSwap(&from); |
1645 | 0 | } else { |
1646 | 0 | CopyFrom(from); |
1647 | 0 | } |
1648 | 0 | return *this; |
1649 | 0 | } |
1650 | | |
1651 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1652 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1653 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1654 | 0 | } |
1655 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1656 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1657 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1658 | 0 | } |
1659 | | |
1660 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1661 | 0 | return GetDescriptor(); |
1662 | 0 | } |
1663 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1664 | 0 | return default_instance().GetMetadata().descriptor; |
1665 | 0 | } |
1666 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1667 | 0 | return default_instance().GetMetadata().reflection; |
1668 | 0 | } |
1669 | 0 | static const BackpressureConfig& default_instance() { |
1670 | 0 | return *internal_default_instance(); |
1671 | 0 | } |
1672 | 0 | static inline const BackpressureConfig* internal_default_instance() { |
1673 | 0 | return reinterpret_cast<const BackpressureConfig*>( |
1674 | 0 | &_BackpressureConfig_default_instance_); |
1675 | 0 | } |
1676 | | static constexpr int kIndexInFileMessages = 9; |
1677 | 0 | friend void swap(BackpressureConfig& a, BackpressureConfig& b) { a.Swap(&b); } |
1678 | 0 | inline void Swap(BackpressureConfig* other) { |
1679 | 0 | if (other == this) return; |
1680 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1681 | 0 | InternalSwap(other); |
1682 | 0 | } else { |
1683 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1684 | 0 | } |
1685 | 0 | } |
1686 | 0 | void UnsafeArenaSwap(BackpressureConfig* other) { |
1687 | 0 | if (other == this) return; |
1688 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1689 | 0 | InternalSwap(other); |
1690 | 0 | } |
1691 | | |
1692 | | // implements Message ---------------------------------------------- |
1693 | | |
1694 | 0 | BackpressureConfig* New(::google::protobuf::Arena* arena = nullptr) const { |
1695 | 0 | return ::google::protobuf::Message::DefaultConstruct<BackpressureConfig>(arena); |
1696 | 0 | } |
1697 | | using ::google::protobuf::Message::CopyFrom; |
1698 | | void CopyFrom(const BackpressureConfig& from); |
1699 | | using ::google::protobuf::Message::MergeFrom; |
1700 | 0 | void MergeFrom(const BackpressureConfig& from) { BackpressureConfig::MergeImpl(*this, from); } |
1701 | | |
1702 | | private: |
1703 | | static void MergeImpl( |
1704 | | ::google::protobuf::MessageLite& to_msg, |
1705 | | const ::google::protobuf::MessageLite& from_msg); |
1706 | | |
1707 | | public: |
1708 | 0 | bool IsInitialized() const { |
1709 | 0 | return true; |
1710 | 0 | } |
1711 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1712 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1713 | | private: |
1714 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1715 | | static ::uint8_t* _InternalSerialize( |
1716 | | const MessageLite& msg, ::uint8_t* target, |
1717 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1718 | | |
1719 | | public: |
1720 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1721 | | ::uint8_t* _InternalSerialize( |
1722 | | ::uint8_t* target, |
1723 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1724 | | return _InternalSerialize(*this, target, stream); |
1725 | | } |
1726 | | #else // PROTOBUF_CUSTOM_VTABLE |
1727 | | ::size_t ByteSizeLong() const final; |
1728 | | ::uint8_t* _InternalSerialize( |
1729 | | ::uint8_t* target, |
1730 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1731 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1732 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1733 | | |
1734 | | private: |
1735 | | void SharedCtor(::google::protobuf::Arena* arena); |
1736 | | static void SharedDtor(MessageLite& self); |
1737 | | void InternalSwap(BackpressureConfig* other); |
1738 | | private: |
1739 | | template <typename T> |
1740 | | friend ::absl::string_view( |
1741 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1742 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.BackpressureConfig"; } |
1743 | | |
1744 | | protected: |
1745 | | explicit BackpressureConfig(::google::protobuf::Arena* arena); |
1746 | | BackpressureConfig(::google::protobuf::Arena* arena, const BackpressureConfig& from); |
1747 | | BackpressureConfig(::google::protobuf::Arena* arena, BackpressureConfig&& from) noexcept |
1748 | 0 | : BackpressureConfig(arena) { |
1749 | 0 | *this = ::std::move(from); |
1750 | 0 | } |
1751 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1752 | | static void* PlacementNew_(const void*, void* mem, |
1753 | | ::google::protobuf::Arena* arena); |
1754 | | static constexpr auto InternalNewImpl_(); |
1755 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1756 | | |
1757 | | public: |
1758 | | ::google::protobuf::Metadata GetMetadata() const; |
1759 | | // nested types ---------------------------------------------------- |
1760 | | |
1761 | | // accessors ------------------------------------------------------- |
1762 | | enum : int { |
1763 | | kRecvBufBytesFieldNumber = 1, |
1764 | | kDrainLimitFieldNumber = 2, |
1765 | | }; |
1766 | | // uint32 recv_buf_bytes = 1; |
1767 | | void clear_recv_buf_bytes() ; |
1768 | | ::uint32_t recv_buf_bytes() const; |
1769 | | void set_recv_buf_bytes(::uint32_t value); |
1770 | | |
1771 | | private: |
1772 | | ::uint32_t _internal_recv_buf_bytes() const; |
1773 | | void _internal_set_recv_buf_bytes(::uint32_t value); |
1774 | | |
1775 | | public: |
1776 | | // uint32 drain_limit = 2; |
1777 | | void clear_drain_limit() ; |
1778 | | ::uint32_t drain_limit() const; |
1779 | | void set_drain_limit(::uint32_t value); |
1780 | | |
1781 | | private: |
1782 | | ::uint32_t _internal_drain_limit() const; |
1783 | | void _internal_set_drain_limit(::uint32_t value); |
1784 | | |
1785 | | public: |
1786 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.BackpressureConfig) |
1787 | | private: |
1788 | | class _Internal; |
1789 | | friend class ::google::protobuf::internal::TcParser; |
1790 | | static const ::google::protobuf::internal::TcParseTable< |
1791 | | 1, 2, 0, |
1792 | | 0, 2> |
1793 | | _table_; |
1794 | | |
1795 | | friend class ::google::protobuf::MessageLite; |
1796 | | friend class ::google::protobuf::Arena; |
1797 | | template <typename T> |
1798 | | friend class ::google::protobuf::Arena::InternalHelper; |
1799 | | using InternalArenaConstructable_ = void; |
1800 | | using DestructorSkippable_ = void; |
1801 | | struct Impl_ { |
1802 | | inline explicit constexpr Impl_( |
1803 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1804 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1805 | | ::google::protobuf::Arena* arena); |
1806 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1807 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1808 | | const BackpressureConfig& from_msg); |
1809 | | ::uint32_t recv_buf_bytes_; |
1810 | | ::uint32_t drain_limit_; |
1811 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1812 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1813 | | }; |
1814 | | union { Impl_ _impl_; }; |
1815 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1816 | | }; |
1817 | | // ------------------------------------------------------------------- |
1818 | | |
1819 | | class MimeSubparts final : public ::google::protobuf::Message |
1820 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.MimeSubparts) */ { |
1821 | | public: |
1822 | 0 | inline MimeSubparts() : MimeSubparts(nullptr) {} |
1823 | | ~MimeSubparts() PROTOBUF_FINAL; |
1824 | | |
1825 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1826 | | void operator delete(MimeSubparts* msg, std::destroying_delete_t) { |
1827 | | SharedDtor(*msg); |
1828 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(MimeSubparts)); |
1829 | | } |
1830 | | #endif |
1831 | | |
1832 | | template <typename = void> |
1833 | | explicit PROTOBUF_CONSTEXPR MimeSubparts( |
1834 | | ::google::protobuf::internal::ConstantInitialized); |
1835 | | |
1836 | 0 | inline MimeSubparts(const MimeSubparts& from) : MimeSubparts(nullptr, from) {} |
1837 | | inline MimeSubparts(MimeSubparts&& from) noexcept |
1838 | 0 | : MimeSubparts(nullptr, std::move(from)) {} |
1839 | 0 | inline MimeSubparts& operator=(const MimeSubparts& from) { |
1840 | 0 | CopyFrom(from); |
1841 | 0 | return *this; |
1842 | 0 | } |
1843 | 0 | inline MimeSubparts& operator=(MimeSubparts&& from) noexcept { |
1844 | 0 | if (this == &from) return *this; |
1845 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1846 | 0 | InternalSwap(&from); |
1847 | 0 | } else { |
1848 | 0 | CopyFrom(from); |
1849 | 0 | } |
1850 | 0 | return *this; |
1851 | 0 | } |
1852 | | |
1853 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1854 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1855 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1856 | 0 | } |
1857 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1858 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1859 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1860 | 0 | } |
1861 | | |
1862 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1863 | 0 | return GetDescriptor(); |
1864 | 0 | } |
1865 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1866 | 0 | return default_instance().GetMetadata().descriptor; |
1867 | 0 | } |
1868 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1869 | 0 | return default_instance().GetMetadata().reflection; |
1870 | 0 | } |
1871 | 0 | static const MimeSubparts& default_instance() { |
1872 | 0 | return *internal_default_instance(); |
1873 | 0 | } |
1874 | 0 | static inline const MimeSubparts* internal_default_instance() { |
1875 | 0 | return reinterpret_cast<const MimeSubparts*>( |
1876 | 0 | &_MimeSubparts_default_instance_); |
1877 | 0 | } |
1878 | | static constexpr int kIndexInFileMessages = 4; |
1879 | 0 | friend void swap(MimeSubparts& a, MimeSubparts& b) { a.Swap(&b); } |
1880 | 0 | inline void Swap(MimeSubparts* other) { |
1881 | 0 | if (other == this) return; |
1882 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1883 | 0 | InternalSwap(other); |
1884 | 0 | } else { |
1885 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1886 | 0 | } |
1887 | 0 | } |
1888 | 0 | void UnsafeArenaSwap(MimeSubparts* other) { |
1889 | 0 | if (other == this) return; |
1890 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1891 | 0 | InternalSwap(other); |
1892 | 0 | } |
1893 | | |
1894 | | // implements Message ---------------------------------------------- |
1895 | | |
1896 | 0 | MimeSubparts* New(::google::protobuf::Arena* arena = nullptr) const { |
1897 | 0 | return ::google::protobuf::Message::DefaultConstruct<MimeSubparts>(arena); |
1898 | 0 | } |
1899 | | using ::google::protobuf::Message::CopyFrom; |
1900 | | void CopyFrom(const MimeSubparts& from); |
1901 | | using ::google::protobuf::Message::MergeFrom; |
1902 | 0 | void MergeFrom(const MimeSubparts& from) { MimeSubparts::MergeImpl(*this, from); } |
1903 | | |
1904 | | private: |
1905 | | static void MergeImpl( |
1906 | | ::google::protobuf::MessageLite& to_msg, |
1907 | | const ::google::protobuf::MessageLite& from_msg); |
1908 | | |
1909 | | public: |
1910 | 0 | bool IsInitialized() const { |
1911 | 0 | return true; |
1912 | 0 | } |
1913 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1914 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1915 | | private: |
1916 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1917 | | static ::uint8_t* _InternalSerialize( |
1918 | | const MessageLite& msg, ::uint8_t* target, |
1919 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1920 | | |
1921 | | public: |
1922 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1923 | | ::uint8_t* _InternalSerialize( |
1924 | | ::uint8_t* target, |
1925 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1926 | | return _InternalSerialize(*this, target, stream); |
1927 | | } |
1928 | | #else // PROTOBUF_CUSTOM_VTABLE |
1929 | | ::size_t ByteSizeLong() const final; |
1930 | | ::uint8_t* _InternalSerialize( |
1931 | | ::uint8_t* target, |
1932 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1933 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1934 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1935 | | |
1936 | | private: |
1937 | | void SharedCtor(::google::protobuf::Arena* arena); |
1938 | | static void SharedDtor(MessageLite& self); |
1939 | | void InternalSwap(MimeSubparts* other); |
1940 | | private: |
1941 | | template <typename T> |
1942 | | friend ::absl::string_view( |
1943 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1944 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.MimeSubparts"; } |
1945 | | |
1946 | | protected: |
1947 | | explicit MimeSubparts(::google::protobuf::Arena* arena); |
1948 | | MimeSubparts(::google::protobuf::Arena* arena, const MimeSubparts& from); |
1949 | | MimeSubparts(::google::protobuf::Arena* arena, MimeSubparts&& from) noexcept |
1950 | 0 | : MimeSubparts(arena) { |
1951 | 0 | *this = ::std::move(from); |
1952 | 0 | } |
1953 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1954 | | static void* PlacementNew_(const void*, void* mem, |
1955 | | ::google::protobuf::Arena* arena); |
1956 | | static constexpr auto InternalNewImpl_(); |
1957 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1958 | | |
1959 | | public: |
1960 | | ::google::protobuf::Metadata GetMetadata() const; |
1961 | | // nested types ---------------------------------------------------- |
1962 | | |
1963 | | // accessors ------------------------------------------------------- |
1964 | | enum : int { |
1965 | | kPartsFieldNumber = 1, |
1966 | | }; |
1967 | | // repeated .curl.fuzzer.proto.MimeDataPart parts = 1; |
1968 | | int parts_size() const; |
1969 | | private: |
1970 | | int _internal_parts_size() const; |
1971 | | |
1972 | | public: |
1973 | | void clear_parts() ; |
1974 | | ::curl::fuzzer::proto::MimeDataPart* mutable_parts(int index); |
1975 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>* mutable_parts(); |
1976 | | |
1977 | | private: |
1978 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>& _internal_parts() const; |
1979 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>* _internal_mutable_parts(); |
1980 | | public: |
1981 | | const ::curl::fuzzer::proto::MimeDataPart& parts(int index) const; |
1982 | | ::curl::fuzzer::proto::MimeDataPart* add_parts(); |
1983 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>& parts() const; |
1984 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.MimeSubparts) |
1985 | | private: |
1986 | | class _Internal; |
1987 | | friend class ::google::protobuf::internal::TcParser; |
1988 | | static const ::google::protobuf::internal::TcParseTable< |
1989 | | 0, 1, 1, |
1990 | | 0, 2> |
1991 | | _table_; |
1992 | | |
1993 | | friend class ::google::protobuf::MessageLite; |
1994 | | friend class ::google::protobuf::Arena; |
1995 | | template <typename T> |
1996 | | friend class ::google::protobuf::Arena::InternalHelper; |
1997 | | using InternalArenaConstructable_ = void; |
1998 | | using DestructorSkippable_ = void; |
1999 | | struct Impl_ { |
2000 | | inline explicit constexpr Impl_( |
2001 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2002 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2003 | | ::google::protobuf::Arena* arena); |
2004 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2005 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2006 | | const MimeSubparts& from_msg); |
2007 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::MimeDataPart > parts_; |
2008 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2009 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2010 | | }; |
2011 | | union { Impl_ _impl_; }; |
2012 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
2013 | | }; |
2014 | | // ------------------------------------------------------------------- |
2015 | | |
2016 | | class Connection final : public ::google::protobuf::Message |
2017 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.Connection) */ { |
2018 | | public: |
2019 | 0 | inline Connection() : Connection(nullptr) {} |
2020 | | ~Connection() PROTOBUF_FINAL; |
2021 | | |
2022 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2023 | | void operator delete(Connection* msg, std::destroying_delete_t) { |
2024 | | SharedDtor(*msg); |
2025 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Connection)); |
2026 | | } |
2027 | | #endif |
2028 | | |
2029 | | template <typename = void> |
2030 | | explicit PROTOBUF_CONSTEXPR Connection( |
2031 | | ::google::protobuf::internal::ConstantInitialized); |
2032 | | |
2033 | 0 | inline Connection(const Connection& from) : Connection(nullptr, from) {} |
2034 | | inline Connection(Connection&& from) noexcept |
2035 | 0 | : Connection(nullptr, std::move(from)) {} |
2036 | 0 | inline Connection& operator=(const Connection& from) { |
2037 | 0 | CopyFrom(from); |
2038 | 0 | return *this; |
2039 | 0 | } |
2040 | 0 | inline Connection& operator=(Connection&& from) noexcept { |
2041 | 0 | if (this == &from) return *this; |
2042 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2043 | 0 | InternalSwap(&from); |
2044 | 0 | } else { |
2045 | 0 | CopyFrom(from); |
2046 | 0 | } |
2047 | 0 | return *this; |
2048 | 0 | } |
2049 | | |
2050 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2051 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2052 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2053 | 0 | } |
2054 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2055 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2056 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2057 | 0 | } |
2058 | | |
2059 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2060 | 0 | return GetDescriptor(); |
2061 | 0 | } |
2062 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2063 | 0 | return default_instance().GetMetadata().descriptor; |
2064 | 0 | } |
2065 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2066 | 0 | return default_instance().GetMetadata().reflection; |
2067 | 0 | } |
2068 | 0 | static const Connection& default_instance() { |
2069 | 0 | return *internal_default_instance(); |
2070 | 0 | } |
2071 | 0 | static inline const Connection* internal_default_instance() { |
2072 | 0 | return reinterpret_cast<const Connection*>( |
2073 | 0 | &_Connection_default_instance_); |
2074 | 0 | } |
2075 | | static constexpr int kIndexInFileMessages = 7; |
2076 | 0 | friend void swap(Connection& a, Connection& b) { a.Swap(&b); } |
2077 | 0 | inline void Swap(Connection* other) { |
2078 | 0 | if (other == this) return; |
2079 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2080 | 0 | InternalSwap(other); |
2081 | 0 | } else { |
2082 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2083 | 0 | } |
2084 | 0 | } |
2085 | 0 | void UnsafeArenaSwap(Connection* other) { |
2086 | 0 | if (other == this) return; |
2087 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2088 | 0 | InternalSwap(other); |
2089 | 0 | } |
2090 | | |
2091 | | // implements Message ---------------------------------------------- |
2092 | | |
2093 | 0 | Connection* New(::google::protobuf::Arena* arena = nullptr) const { |
2094 | 0 | return ::google::protobuf::Message::DefaultConstruct<Connection>(arena); |
2095 | 0 | } |
2096 | | using ::google::protobuf::Message::CopyFrom; |
2097 | | void CopyFrom(const Connection& from); |
2098 | | using ::google::protobuf::Message::MergeFrom; |
2099 | 0 | void MergeFrom(const Connection& from) { Connection::MergeImpl(*this, from); } |
2100 | | |
2101 | | private: |
2102 | | static void MergeImpl( |
2103 | | ::google::protobuf::MessageLite& to_msg, |
2104 | | const ::google::protobuf::MessageLite& from_msg); |
2105 | | |
2106 | | public: |
2107 | 0 | bool IsInitialized() const { |
2108 | 0 | return true; |
2109 | 0 | } |
2110 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2111 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2112 | | private: |
2113 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2114 | | static ::uint8_t* _InternalSerialize( |
2115 | | const MessageLite& msg, ::uint8_t* target, |
2116 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2117 | | |
2118 | | public: |
2119 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2120 | | ::uint8_t* _InternalSerialize( |
2121 | | ::uint8_t* target, |
2122 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2123 | | return _InternalSerialize(*this, target, stream); |
2124 | | } |
2125 | | #else // PROTOBUF_CUSTOM_VTABLE |
2126 | | ::size_t ByteSizeLong() const final; |
2127 | | ::uint8_t* _InternalSerialize( |
2128 | | ::uint8_t* target, |
2129 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2130 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2131 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2132 | | |
2133 | | private: |
2134 | | void SharedCtor(::google::protobuf::Arena* arena); |
2135 | | static void SharedDtor(MessageLite& self); |
2136 | | void InternalSwap(Connection* other); |
2137 | | private: |
2138 | | template <typename T> |
2139 | | friend ::absl::string_view( |
2140 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2141 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.Connection"; } |
2142 | | |
2143 | | protected: |
2144 | | explicit Connection(::google::protobuf::Arena* arena); |
2145 | | Connection(::google::protobuf::Arena* arena, const Connection& from); |
2146 | | Connection(::google::protobuf::Arena* arena, Connection&& from) noexcept |
2147 | 0 | : Connection(arena) { |
2148 | 0 | *this = ::std::move(from); |
2149 | 0 | } |
2150 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2151 | | static void* PlacementNew_(const void*, void* mem, |
2152 | | ::google::protobuf::Arena* arena); |
2153 | | static constexpr auto InternalNewImpl_(); |
2154 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2155 | | |
2156 | | public: |
2157 | | ::google::protobuf::Metadata GetMetadata() const; |
2158 | | // nested types ---------------------------------------------------- |
2159 | | |
2160 | | // accessors ------------------------------------------------------- |
2161 | | enum : int { |
2162 | | kOnReadableFieldNumber = 2, |
2163 | | kServerFramesFieldNumber = 3, |
2164 | | kInitialResponseFieldNumber = 1, |
2165 | | kBackpressureFieldNumber = 4, |
2166 | | kManualProbesFieldNumber = 5, |
2167 | | }; |
2168 | | // repeated bytes on_readable = 2; |
2169 | | int on_readable_size() const; |
2170 | | private: |
2171 | | int _internal_on_readable_size() const; |
2172 | | |
2173 | | public: |
2174 | | void clear_on_readable() ; |
2175 | | const std::string& on_readable(int index) const; |
2176 | | std::string* mutable_on_readable(int index); |
2177 | | template <typename Arg_ = const std::string&, typename... Args_> |
2178 | | void set_on_readable(int index, Arg_&& value, Args_... args); |
2179 | | std::string* add_on_readable(); |
2180 | | template <typename Arg_ = const std::string&, typename... Args_> |
2181 | | void add_on_readable(Arg_&& value, Args_... args); |
2182 | | const ::google::protobuf::RepeatedPtrField<std::string>& on_readable() const; |
2183 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_on_readable(); |
2184 | | |
2185 | | private: |
2186 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_on_readable() const; |
2187 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_on_readable(); |
2188 | | |
2189 | | public: |
2190 | | // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3; |
2191 | | int server_frames_size() const; |
2192 | | private: |
2193 | | int _internal_server_frames_size() const; |
2194 | | |
2195 | | public: |
2196 | | void clear_server_frames() ; |
2197 | | ::curl::fuzzer::proto::WebSocketFrame* mutable_server_frames(int index); |
2198 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* mutable_server_frames(); |
2199 | | |
2200 | | private: |
2201 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& _internal_server_frames() const; |
2202 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* _internal_mutable_server_frames(); |
2203 | | public: |
2204 | | const ::curl::fuzzer::proto::WebSocketFrame& server_frames(int index) const; |
2205 | | ::curl::fuzzer::proto::WebSocketFrame* add_server_frames(); |
2206 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& server_frames() const; |
2207 | | // bytes initial_response = 1; |
2208 | | void clear_initial_response() ; |
2209 | | const std::string& initial_response() const; |
2210 | | template <typename Arg_ = const std::string&, typename... Args_> |
2211 | | void set_initial_response(Arg_&& arg, Args_... args); |
2212 | | std::string* mutable_initial_response(); |
2213 | | PROTOBUF_NODISCARD std::string* release_initial_response(); |
2214 | | void set_allocated_initial_response(std::string* value); |
2215 | | |
2216 | | private: |
2217 | | const std::string& _internal_initial_response() const; |
2218 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_initial_response( |
2219 | | const std::string& value); |
2220 | | std::string* _internal_mutable_initial_response(); |
2221 | | |
2222 | | public: |
2223 | | // .curl.fuzzer.proto.BackpressureConfig backpressure = 4; |
2224 | | bool has_backpressure() const; |
2225 | | void clear_backpressure() ; |
2226 | | const ::curl::fuzzer::proto::BackpressureConfig& backpressure() const; |
2227 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::BackpressureConfig* release_backpressure(); |
2228 | | ::curl::fuzzer::proto::BackpressureConfig* mutable_backpressure(); |
2229 | | void set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value); |
2230 | | void unsafe_arena_set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value); |
2231 | | ::curl::fuzzer::proto::BackpressureConfig* unsafe_arena_release_backpressure(); |
2232 | | |
2233 | | private: |
2234 | | const ::curl::fuzzer::proto::BackpressureConfig& _internal_backpressure() const; |
2235 | | ::curl::fuzzer::proto::BackpressureConfig* _internal_mutable_backpressure(); |
2236 | | |
2237 | | public: |
2238 | | // .curl.fuzzer.proto.WsManualProbes manual_probes = 5; |
2239 | | bool has_manual_probes() const; |
2240 | | void clear_manual_probes() ; |
2241 | | const ::curl::fuzzer::proto::WsManualProbes& manual_probes() const; |
2242 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::WsManualProbes* release_manual_probes(); |
2243 | | ::curl::fuzzer::proto::WsManualProbes* mutable_manual_probes(); |
2244 | | void set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value); |
2245 | | void unsafe_arena_set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value); |
2246 | | ::curl::fuzzer::proto::WsManualProbes* unsafe_arena_release_manual_probes(); |
2247 | | |
2248 | | private: |
2249 | | const ::curl::fuzzer::proto::WsManualProbes& _internal_manual_probes() const; |
2250 | | ::curl::fuzzer::proto::WsManualProbes* _internal_mutable_manual_probes(); |
2251 | | |
2252 | | public: |
2253 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.Connection) |
2254 | | private: |
2255 | | class _Internal; |
2256 | | friend class ::google::protobuf::internal::TcParser; |
2257 | | static const ::google::protobuf::internal::TcParseTable< |
2258 | | 3, 5, 3, |
2259 | | 0, 2> |
2260 | | _table_; |
2261 | | |
2262 | | friend class ::google::protobuf::MessageLite; |
2263 | | friend class ::google::protobuf::Arena; |
2264 | | template <typename T> |
2265 | | friend class ::google::protobuf::Arena::InternalHelper; |
2266 | | using InternalArenaConstructable_ = void; |
2267 | | using DestructorSkippable_ = void; |
2268 | | struct Impl_ { |
2269 | | inline explicit constexpr Impl_( |
2270 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2271 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2272 | | ::google::protobuf::Arena* arena); |
2273 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2274 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2275 | | const Connection& from_msg); |
2276 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2277 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2278 | | ::google::protobuf::RepeatedPtrField<std::string> on_readable_; |
2279 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::WebSocketFrame > server_frames_; |
2280 | | ::google::protobuf::internal::ArenaStringPtr initial_response_; |
2281 | | ::curl::fuzzer::proto::BackpressureConfig* backpressure_; |
2282 | | ::curl::fuzzer::proto::WsManualProbes* manual_probes_; |
2283 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2284 | | }; |
2285 | | union { Impl_ _impl_; }; |
2286 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
2287 | | }; |
2288 | | // ------------------------------------------------------------------- |
2289 | | |
2290 | | class MimePart final : public ::google::protobuf::Message |
2291 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.MimePart) */ { |
2292 | | public: |
2293 | 0 | inline MimePart() : MimePart(nullptr) {} |
2294 | | ~MimePart() PROTOBUF_FINAL; |
2295 | | |
2296 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2297 | | void operator delete(MimePart* msg, std::destroying_delete_t) { |
2298 | | SharedDtor(*msg); |
2299 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(MimePart)); |
2300 | | } |
2301 | | #endif |
2302 | | |
2303 | | template <typename = void> |
2304 | | explicit PROTOBUF_CONSTEXPR MimePart( |
2305 | | ::google::protobuf::internal::ConstantInitialized); |
2306 | | |
2307 | 0 | inline MimePart(const MimePart& from) : MimePart(nullptr, from) {} |
2308 | | inline MimePart(MimePart&& from) noexcept |
2309 | 0 | : MimePart(nullptr, std::move(from)) {} |
2310 | 0 | inline MimePart& operator=(const MimePart& from) { |
2311 | 0 | CopyFrom(from); |
2312 | 0 | return *this; |
2313 | 0 | } |
2314 | 0 | inline MimePart& operator=(MimePart&& from) noexcept { |
2315 | 0 | if (this == &from) return *this; |
2316 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2317 | 0 | InternalSwap(&from); |
2318 | 0 | } else { |
2319 | 0 | CopyFrom(from); |
2320 | 0 | } |
2321 | 0 | return *this; |
2322 | 0 | } |
2323 | | |
2324 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2325 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2326 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2327 | 0 | } |
2328 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2329 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2330 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2331 | 0 | } |
2332 | | |
2333 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2334 | 0 | return GetDescriptor(); |
2335 | 0 | } |
2336 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2337 | 0 | return default_instance().GetMetadata().descriptor; |
2338 | 0 | } |
2339 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2340 | 0 | return default_instance().GetMetadata().reflection; |
2341 | 0 | } |
2342 | 0 | static const MimePart& default_instance() { |
2343 | 0 | return *internal_default_instance(); |
2344 | 0 | } |
2345 | | enum ContentCase { |
2346 | | kData = 2, |
2347 | | kSubparts = 7, |
2348 | | CONTENT_NOT_SET = 0, |
2349 | | }; |
2350 | 0 | static inline const MimePart* internal_default_instance() { |
2351 | 0 | return reinterpret_cast<const MimePart*>( |
2352 | 0 | &_MimePart_default_instance_); |
2353 | 0 | } |
2354 | | static constexpr int kIndexInFileMessages = 3; |
2355 | 0 | friend void swap(MimePart& a, MimePart& b) { a.Swap(&b); } |
2356 | 0 | inline void Swap(MimePart* other) { |
2357 | 0 | if (other == this) return; |
2358 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2359 | 0 | InternalSwap(other); |
2360 | 0 | } else { |
2361 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2362 | 0 | } |
2363 | 0 | } |
2364 | 0 | void UnsafeArenaSwap(MimePart* other) { |
2365 | 0 | if (other == this) return; |
2366 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2367 | 0 | InternalSwap(other); |
2368 | 0 | } |
2369 | | |
2370 | | // implements Message ---------------------------------------------- |
2371 | | |
2372 | 0 | MimePart* New(::google::protobuf::Arena* arena = nullptr) const { |
2373 | 0 | return ::google::protobuf::Message::DefaultConstruct<MimePart>(arena); |
2374 | 0 | } |
2375 | | using ::google::protobuf::Message::CopyFrom; |
2376 | | void CopyFrom(const MimePart& from); |
2377 | | using ::google::protobuf::Message::MergeFrom; |
2378 | 0 | void MergeFrom(const MimePart& from) { MimePart::MergeImpl(*this, from); } |
2379 | | |
2380 | | private: |
2381 | | static void MergeImpl( |
2382 | | ::google::protobuf::MessageLite& to_msg, |
2383 | | const ::google::protobuf::MessageLite& from_msg); |
2384 | | |
2385 | | public: |
2386 | 0 | bool IsInitialized() const { |
2387 | 0 | return true; |
2388 | 0 | } |
2389 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2390 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2391 | | private: |
2392 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2393 | | static ::uint8_t* _InternalSerialize( |
2394 | | const MessageLite& msg, ::uint8_t* target, |
2395 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2396 | | |
2397 | | public: |
2398 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2399 | | ::uint8_t* _InternalSerialize( |
2400 | | ::uint8_t* target, |
2401 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2402 | | return _InternalSerialize(*this, target, stream); |
2403 | | } |
2404 | | #else // PROTOBUF_CUSTOM_VTABLE |
2405 | | ::size_t ByteSizeLong() const final; |
2406 | | ::uint8_t* _InternalSerialize( |
2407 | | ::uint8_t* target, |
2408 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2409 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2410 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2411 | | |
2412 | | private: |
2413 | | void SharedCtor(::google::protobuf::Arena* arena); |
2414 | | static void SharedDtor(MessageLite& self); |
2415 | | void InternalSwap(MimePart* other); |
2416 | | private: |
2417 | | template <typename T> |
2418 | | friend ::absl::string_view( |
2419 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2420 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.MimePart"; } |
2421 | | |
2422 | | protected: |
2423 | | explicit MimePart(::google::protobuf::Arena* arena); |
2424 | | MimePart(::google::protobuf::Arena* arena, const MimePart& from); |
2425 | | MimePart(::google::protobuf::Arena* arena, MimePart&& from) noexcept |
2426 | 0 | : MimePart(arena) { |
2427 | 0 | *this = ::std::move(from); |
2428 | 0 | } |
2429 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2430 | | static void* PlacementNew_(const void*, void* mem, |
2431 | | ::google::protobuf::Arena* arena); |
2432 | | static constexpr auto InternalNewImpl_(); |
2433 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2434 | | |
2435 | | public: |
2436 | | ::google::protobuf::Metadata GetMetadata() const; |
2437 | | // nested types ---------------------------------------------------- |
2438 | | |
2439 | | // accessors ------------------------------------------------------- |
2440 | | enum : int { |
2441 | | kHeadersFieldNumber = 6, |
2442 | | kNameFieldNumber = 1, |
2443 | | kFilenameFieldNumber = 3, |
2444 | | kContentTypeFieldNumber = 4, |
2445 | | kEncoderFieldNumber = 5, |
2446 | | kDataFieldNumber = 2, |
2447 | | kSubpartsFieldNumber = 7, |
2448 | | }; |
2449 | | // repeated bytes headers = 6; |
2450 | | int headers_size() const; |
2451 | | private: |
2452 | | int _internal_headers_size() const; |
2453 | | |
2454 | | public: |
2455 | | void clear_headers() ; |
2456 | | const std::string& headers(int index) const; |
2457 | | std::string* mutable_headers(int index); |
2458 | | template <typename Arg_ = const std::string&, typename... Args_> |
2459 | | void set_headers(int index, Arg_&& value, Args_... args); |
2460 | | std::string* add_headers(); |
2461 | | template <typename Arg_ = const std::string&, typename... Args_> |
2462 | | void add_headers(Arg_&& value, Args_... args); |
2463 | | const ::google::protobuf::RepeatedPtrField<std::string>& headers() const; |
2464 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_headers(); |
2465 | | |
2466 | | private: |
2467 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_headers() const; |
2468 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_headers(); |
2469 | | |
2470 | | public: |
2471 | | // bytes name = 1; |
2472 | | void clear_name() ; |
2473 | | const std::string& name() const; |
2474 | | template <typename Arg_ = const std::string&, typename... Args_> |
2475 | | void set_name(Arg_&& arg, Args_... args); |
2476 | | std::string* mutable_name(); |
2477 | | PROTOBUF_NODISCARD std::string* release_name(); |
2478 | | void set_allocated_name(std::string* value); |
2479 | | |
2480 | | private: |
2481 | | const std::string& _internal_name() const; |
2482 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
2483 | | const std::string& value); |
2484 | | std::string* _internal_mutable_name(); |
2485 | | |
2486 | | public: |
2487 | | // bytes filename = 3; |
2488 | | void clear_filename() ; |
2489 | | const std::string& filename() const; |
2490 | | template <typename Arg_ = const std::string&, typename... Args_> |
2491 | | void set_filename(Arg_&& arg, Args_... args); |
2492 | | std::string* mutable_filename(); |
2493 | | PROTOBUF_NODISCARD std::string* release_filename(); |
2494 | | void set_allocated_filename(std::string* value); |
2495 | | |
2496 | | private: |
2497 | | const std::string& _internal_filename() const; |
2498 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename( |
2499 | | const std::string& value); |
2500 | | std::string* _internal_mutable_filename(); |
2501 | | |
2502 | | public: |
2503 | | // bytes content_type = 4; |
2504 | | void clear_content_type() ; |
2505 | | const std::string& content_type() const; |
2506 | | template <typename Arg_ = const std::string&, typename... Args_> |
2507 | | void set_content_type(Arg_&& arg, Args_... args); |
2508 | | std::string* mutable_content_type(); |
2509 | | PROTOBUF_NODISCARD std::string* release_content_type(); |
2510 | | void set_allocated_content_type(std::string* value); |
2511 | | |
2512 | | private: |
2513 | | const std::string& _internal_content_type() const; |
2514 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_content_type( |
2515 | | const std::string& value); |
2516 | | std::string* _internal_mutable_content_type(); |
2517 | | |
2518 | | public: |
2519 | | // .curl.fuzzer.proto.MimeEncoder encoder = 5; |
2520 | | void clear_encoder() ; |
2521 | | ::curl::fuzzer::proto::MimeEncoder encoder() const; |
2522 | | void set_encoder(::curl::fuzzer::proto::MimeEncoder value); |
2523 | | |
2524 | | private: |
2525 | | ::curl::fuzzer::proto::MimeEncoder _internal_encoder() const; |
2526 | | void _internal_set_encoder(::curl::fuzzer::proto::MimeEncoder value); |
2527 | | |
2528 | | public: |
2529 | | // bytes data = 2; |
2530 | | bool has_data() const; |
2531 | | void clear_data() ; |
2532 | | const std::string& data() const; |
2533 | | template <typename Arg_ = const std::string&, typename... Args_> |
2534 | | void set_data(Arg_&& arg, Args_... args); |
2535 | | std::string* mutable_data(); |
2536 | | PROTOBUF_NODISCARD std::string* release_data(); |
2537 | | void set_allocated_data(std::string* value); |
2538 | | |
2539 | | private: |
2540 | | const std::string& _internal_data() const; |
2541 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data( |
2542 | | const std::string& value); |
2543 | | std::string* _internal_mutable_data(); |
2544 | | |
2545 | | public: |
2546 | | // .curl.fuzzer.proto.MimeSubparts subparts = 7; |
2547 | | bool has_subparts() const; |
2548 | | private: |
2549 | | bool _internal_has_subparts() const; |
2550 | | |
2551 | | public: |
2552 | | void clear_subparts() ; |
2553 | | const ::curl::fuzzer::proto::MimeSubparts& subparts() const; |
2554 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::MimeSubparts* release_subparts(); |
2555 | | ::curl::fuzzer::proto::MimeSubparts* mutable_subparts(); |
2556 | | void set_allocated_subparts(::curl::fuzzer::proto::MimeSubparts* value); |
2557 | | void unsafe_arena_set_allocated_subparts(::curl::fuzzer::proto::MimeSubparts* value); |
2558 | | ::curl::fuzzer::proto::MimeSubparts* unsafe_arena_release_subparts(); |
2559 | | |
2560 | | private: |
2561 | | const ::curl::fuzzer::proto::MimeSubparts& _internal_subparts() const; |
2562 | | ::curl::fuzzer::proto::MimeSubparts* _internal_mutable_subparts(); |
2563 | | |
2564 | | public: |
2565 | | void clear_content(); |
2566 | | ContentCase content_case() const; |
2567 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.MimePart) |
2568 | | private: |
2569 | | class _Internal; |
2570 | | void set_has_data(); |
2571 | | void set_has_subparts(); |
2572 | | inline bool has_content() const; |
2573 | | inline void clear_has_content(); |
2574 | | friend class ::google::protobuf::internal::TcParser; |
2575 | | static const ::google::protobuf::internal::TcParseTable< |
2576 | | 3, 7, 1, |
2577 | | 0, 2> |
2578 | | _table_; |
2579 | | |
2580 | | friend class ::google::protobuf::MessageLite; |
2581 | | friend class ::google::protobuf::Arena; |
2582 | | template <typename T> |
2583 | | friend class ::google::protobuf::Arena::InternalHelper; |
2584 | | using InternalArenaConstructable_ = void; |
2585 | | using DestructorSkippable_ = void; |
2586 | | struct Impl_ { |
2587 | | inline explicit constexpr Impl_( |
2588 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2589 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2590 | | ::google::protobuf::Arena* arena); |
2591 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2592 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2593 | | const MimePart& from_msg); |
2594 | | ::google::protobuf::RepeatedPtrField<std::string> headers_; |
2595 | | ::google::protobuf::internal::ArenaStringPtr name_; |
2596 | | ::google::protobuf::internal::ArenaStringPtr filename_; |
2597 | | ::google::protobuf::internal::ArenaStringPtr content_type_; |
2598 | | int encoder_; |
2599 | | union ContentUnion { |
2600 | 0 | constexpr ContentUnion() : _constinit_{} {} |
2601 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
2602 | | ::google::protobuf::internal::ArenaStringPtr data_; |
2603 | | ::curl::fuzzer::proto::MimeSubparts* subparts_; |
2604 | | } content_; |
2605 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2606 | | ::uint32_t _oneof_case_[1]; |
2607 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2608 | | }; |
2609 | | union { Impl_ _impl_; }; |
2610 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
2611 | | }; |
2612 | | // ------------------------------------------------------------------- |
2613 | | |
2614 | | class MimePost final : public ::google::protobuf::Message |
2615 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.MimePost) */ { |
2616 | | public: |
2617 | 0 | inline MimePost() : MimePost(nullptr) {} |
2618 | | ~MimePost() PROTOBUF_FINAL; |
2619 | | |
2620 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2621 | | void operator delete(MimePost* msg, std::destroying_delete_t) { |
2622 | | SharedDtor(*msg); |
2623 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(MimePost)); |
2624 | | } |
2625 | | #endif |
2626 | | |
2627 | | template <typename = void> |
2628 | | explicit PROTOBUF_CONSTEXPR MimePost( |
2629 | | ::google::protobuf::internal::ConstantInitialized); |
2630 | | |
2631 | 0 | inline MimePost(const MimePost& from) : MimePost(nullptr, from) {} |
2632 | | inline MimePost(MimePost&& from) noexcept |
2633 | 0 | : MimePost(nullptr, std::move(from)) {} |
2634 | 0 | inline MimePost& operator=(const MimePost& from) { |
2635 | 0 | CopyFrom(from); |
2636 | 0 | return *this; |
2637 | 0 | } |
2638 | 0 | inline MimePost& operator=(MimePost&& from) noexcept { |
2639 | 0 | if (this == &from) return *this; |
2640 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2641 | 0 | InternalSwap(&from); |
2642 | 0 | } else { |
2643 | 0 | CopyFrom(from); |
2644 | 0 | } |
2645 | 0 | return *this; |
2646 | 0 | } |
2647 | | |
2648 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2649 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2650 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2651 | 0 | } |
2652 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2653 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2654 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2655 | 0 | } |
2656 | | |
2657 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2658 | 0 | return GetDescriptor(); |
2659 | 0 | } |
2660 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2661 | 0 | return default_instance().GetMetadata().descriptor; |
2662 | 0 | } |
2663 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2664 | 0 | return default_instance().GetMetadata().reflection; |
2665 | 0 | } |
2666 | 0 | static const MimePost& default_instance() { |
2667 | 0 | return *internal_default_instance(); |
2668 | 0 | } |
2669 | 0 | static inline const MimePost* internal_default_instance() { |
2670 | 0 | return reinterpret_cast<const MimePost*>( |
2671 | 0 | &_MimePost_default_instance_); |
2672 | 0 | } |
2673 | | static constexpr int kIndexInFileMessages = 2; |
2674 | 0 | friend void swap(MimePost& a, MimePost& b) { a.Swap(&b); } |
2675 | 0 | inline void Swap(MimePost* other) { |
2676 | 0 | if (other == this) return; |
2677 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2678 | 0 | InternalSwap(other); |
2679 | 0 | } else { |
2680 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2681 | 0 | } |
2682 | 0 | } |
2683 | 0 | void UnsafeArenaSwap(MimePost* other) { |
2684 | 0 | if (other == this) return; |
2685 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2686 | 0 | InternalSwap(other); |
2687 | 0 | } |
2688 | | |
2689 | | // implements Message ---------------------------------------------- |
2690 | | |
2691 | 0 | MimePost* New(::google::protobuf::Arena* arena = nullptr) const { |
2692 | 0 | return ::google::protobuf::Message::DefaultConstruct<MimePost>(arena); |
2693 | 0 | } |
2694 | | using ::google::protobuf::Message::CopyFrom; |
2695 | | void CopyFrom(const MimePost& from); |
2696 | | using ::google::protobuf::Message::MergeFrom; |
2697 | 0 | void MergeFrom(const MimePost& from) { MimePost::MergeImpl(*this, from); } |
2698 | | |
2699 | | private: |
2700 | | static void MergeImpl( |
2701 | | ::google::protobuf::MessageLite& to_msg, |
2702 | | const ::google::protobuf::MessageLite& from_msg); |
2703 | | |
2704 | | public: |
2705 | 0 | bool IsInitialized() const { |
2706 | 0 | return true; |
2707 | 0 | } |
2708 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2709 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2710 | | private: |
2711 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2712 | | static ::uint8_t* _InternalSerialize( |
2713 | | const MessageLite& msg, ::uint8_t* target, |
2714 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2715 | | |
2716 | | public: |
2717 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2718 | | ::uint8_t* _InternalSerialize( |
2719 | | ::uint8_t* target, |
2720 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2721 | | return _InternalSerialize(*this, target, stream); |
2722 | | } |
2723 | | #else // PROTOBUF_CUSTOM_VTABLE |
2724 | | ::size_t ByteSizeLong() const final; |
2725 | | ::uint8_t* _InternalSerialize( |
2726 | | ::uint8_t* target, |
2727 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2728 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2729 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2730 | | |
2731 | | private: |
2732 | | void SharedCtor(::google::protobuf::Arena* arena); |
2733 | | static void SharedDtor(MessageLite& self); |
2734 | | void InternalSwap(MimePost* other); |
2735 | | private: |
2736 | | template <typename T> |
2737 | | friend ::absl::string_view( |
2738 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2739 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.MimePost"; } |
2740 | | |
2741 | | protected: |
2742 | | explicit MimePost(::google::protobuf::Arena* arena); |
2743 | | MimePost(::google::protobuf::Arena* arena, const MimePost& from); |
2744 | | MimePost(::google::protobuf::Arena* arena, MimePost&& from) noexcept |
2745 | 0 | : MimePost(arena) { |
2746 | 0 | *this = ::std::move(from); |
2747 | 0 | } |
2748 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2749 | | static void* PlacementNew_(const void*, void* mem, |
2750 | | ::google::protobuf::Arena* arena); |
2751 | | static constexpr auto InternalNewImpl_(); |
2752 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2753 | | |
2754 | | public: |
2755 | | ::google::protobuf::Metadata GetMetadata() const; |
2756 | | // nested types ---------------------------------------------------- |
2757 | | |
2758 | | // accessors ------------------------------------------------------- |
2759 | | enum : int { |
2760 | | kPartsFieldNumber = 1, |
2761 | | }; |
2762 | | // repeated .curl.fuzzer.proto.MimePart parts = 1; |
2763 | | int parts_size() const; |
2764 | | private: |
2765 | | int _internal_parts_size() const; |
2766 | | |
2767 | | public: |
2768 | | void clear_parts() ; |
2769 | | ::curl::fuzzer::proto::MimePart* mutable_parts(int index); |
2770 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>* mutable_parts(); |
2771 | | |
2772 | | private: |
2773 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>& _internal_parts() const; |
2774 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>* _internal_mutable_parts(); |
2775 | | public: |
2776 | | const ::curl::fuzzer::proto::MimePart& parts(int index) const; |
2777 | | ::curl::fuzzer::proto::MimePart* add_parts(); |
2778 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>& parts() const; |
2779 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.MimePost) |
2780 | | private: |
2781 | | class _Internal; |
2782 | | friend class ::google::protobuf::internal::TcParser; |
2783 | | static const ::google::protobuf::internal::TcParseTable< |
2784 | | 0, 1, 1, |
2785 | | 0, 2> |
2786 | | _table_; |
2787 | | |
2788 | | friend class ::google::protobuf::MessageLite; |
2789 | | friend class ::google::protobuf::Arena; |
2790 | | template <typename T> |
2791 | | friend class ::google::protobuf::Arena::InternalHelper; |
2792 | | using InternalArenaConstructable_ = void; |
2793 | | using DestructorSkippable_ = void; |
2794 | | struct Impl_ { |
2795 | | inline explicit constexpr Impl_( |
2796 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2797 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2798 | | ::google::protobuf::Arena* arena); |
2799 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2800 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2801 | | const MimePost& from_msg); |
2802 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::MimePart > parts_; |
2803 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2804 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2805 | | }; |
2806 | | union { Impl_ _impl_; }; |
2807 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
2808 | | }; |
2809 | | // ------------------------------------------------------------------- |
2810 | | |
2811 | | class Scenario final : public ::google::protobuf::Message |
2812 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.Scenario) */ { |
2813 | | public: |
2814 | 10.4k | inline Scenario() : Scenario(nullptr) {} |
2815 | | ~Scenario() PROTOBUF_FINAL; |
2816 | | |
2817 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2818 | | void operator delete(Scenario* msg, std::destroying_delete_t) { |
2819 | | SharedDtor(*msg); |
2820 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Scenario)); |
2821 | | } |
2822 | | #endif |
2823 | | |
2824 | | template <typename = void> |
2825 | | explicit PROTOBUF_CONSTEXPR Scenario( |
2826 | | ::google::protobuf::internal::ConstantInitialized); |
2827 | | |
2828 | 0 | inline Scenario(const Scenario& from) : Scenario(nullptr, from) {} |
2829 | | inline Scenario(Scenario&& from) noexcept |
2830 | 0 | : Scenario(nullptr, std::move(from)) {} |
2831 | 0 | inline Scenario& operator=(const Scenario& from) { |
2832 | 0 | CopyFrom(from); |
2833 | 0 | return *this; |
2834 | 0 | } |
2835 | 0 | inline Scenario& operator=(Scenario&& from) noexcept { |
2836 | 0 | if (this == &from) return *this; |
2837 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2838 | 0 | InternalSwap(&from); |
2839 | 0 | } else { |
2840 | 0 | CopyFrom(from); |
2841 | 0 | } |
2842 | 0 | return *this; |
2843 | 0 | } |
2844 | | |
2845 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2846 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2847 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2848 | 0 | } |
2849 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2850 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2851 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2852 | 0 | } |
2853 | | |
2854 | 6 | static const ::google::protobuf::Descriptor* descriptor() { |
2855 | 6 | return GetDescriptor(); |
2856 | 6 | } |
2857 | 6 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2858 | 6 | return default_instance().GetMetadata().descriptor; |
2859 | 6 | } |
2860 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2861 | 0 | return default_instance().GetMetadata().reflection; |
2862 | 0 | } |
2863 | 6 | static const Scenario& default_instance() { |
2864 | 6 | return *internal_default_instance(); |
2865 | 6 | } |
2866 | 6 | static inline const Scenario* internal_default_instance() { |
2867 | 6 | return reinterpret_cast<const Scenario*>( |
2868 | 6 | &_Scenario_default_instance_); |
2869 | 6 | } |
2870 | | static constexpr int kIndexInFileMessages = 0; |
2871 | 0 | friend void swap(Scenario& a, Scenario& b) { a.Swap(&b); } |
2872 | 0 | inline void Swap(Scenario* other) { |
2873 | 0 | if (other == this) return; |
2874 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2875 | 0 | InternalSwap(other); |
2876 | 0 | } else { |
2877 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2878 | 0 | } |
2879 | 0 | } |
2880 | 0 | void UnsafeArenaSwap(Scenario* other) { |
2881 | 0 | if (other == this) return; |
2882 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2883 | 0 | InternalSwap(other); |
2884 | 0 | } |
2885 | | |
2886 | | // implements Message ---------------------------------------------- |
2887 | | |
2888 | 0 | Scenario* New(::google::protobuf::Arena* arena = nullptr) const { |
2889 | 0 | return ::google::protobuf::Message::DefaultConstruct<Scenario>(arena); |
2890 | 0 | } |
2891 | | using ::google::protobuf::Message::CopyFrom; |
2892 | | void CopyFrom(const Scenario& from); |
2893 | | using ::google::protobuf::Message::MergeFrom; |
2894 | 0 | void MergeFrom(const Scenario& from) { Scenario::MergeImpl(*this, from); } |
2895 | | |
2896 | | private: |
2897 | | static void MergeImpl( |
2898 | | ::google::protobuf::MessageLite& to_msg, |
2899 | | const ::google::protobuf::MessageLite& from_msg); |
2900 | | |
2901 | | public: |
2902 | 0 | bool IsInitialized() const { |
2903 | 0 | return true; |
2904 | 0 | } |
2905 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2906 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2907 | | private: |
2908 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2909 | | static ::uint8_t* _InternalSerialize( |
2910 | | const MessageLite& msg, ::uint8_t* target, |
2911 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2912 | | |
2913 | | public: |
2914 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2915 | | ::uint8_t* _InternalSerialize( |
2916 | | ::uint8_t* target, |
2917 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2918 | | return _InternalSerialize(*this, target, stream); |
2919 | | } |
2920 | | #else // PROTOBUF_CUSTOM_VTABLE |
2921 | | ::size_t ByteSizeLong() const final; |
2922 | | ::uint8_t* _InternalSerialize( |
2923 | | ::uint8_t* target, |
2924 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2925 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2926 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2927 | | |
2928 | | private: |
2929 | | void SharedCtor(::google::protobuf::Arena* arena); |
2930 | | static void SharedDtor(MessageLite& self); |
2931 | | void InternalSwap(Scenario* other); |
2932 | | private: |
2933 | | template <typename T> |
2934 | | friend ::absl::string_view( |
2935 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2936 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.Scenario"; } |
2937 | | |
2938 | | protected: |
2939 | | explicit Scenario(::google::protobuf::Arena* arena); |
2940 | | Scenario(::google::protobuf::Arena* arena, const Scenario& from); |
2941 | | Scenario(::google::protobuf::Arena* arena, Scenario&& from) noexcept |
2942 | 0 | : Scenario(arena) { |
2943 | 0 | *this = ::std::move(from); |
2944 | 0 | } |
2945 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2946 | | static void* PlacementNew_(const void*, void* mem, |
2947 | | ::google::protobuf::Arena* arena); |
2948 | | static constexpr auto InternalNewImpl_(); |
2949 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2950 | | |
2951 | | public: |
2952 | | ::google::protobuf::Metadata GetMetadata() const; |
2953 | | // nested types ---------------------------------------------------- |
2954 | | |
2955 | | // accessors ------------------------------------------------------- |
2956 | | enum : int { |
2957 | | kOptionsFieldNumber = 3, |
2958 | | kRequestHeadersFieldNumber = 5, |
2959 | | kSubsequentConnectionsFieldNumber = 7, |
2960 | | kHostPathFieldNumber = 2, |
2961 | | kConnectionFieldNumber = 4, |
2962 | | kMimePostFieldNumber = 6, |
2963 | | kUploadFieldNumber = 8, |
2964 | | kSchemeFieldNumber = 1, |
2965 | | }; |
2966 | | // repeated .curl.fuzzer.proto.SetOption options = 3; |
2967 | | int options_size() const; |
2968 | | private: |
2969 | | int _internal_options_size() const; |
2970 | | |
2971 | | public: |
2972 | | void clear_options() ; |
2973 | | ::curl::fuzzer::proto::SetOption* mutable_options(int index); |
2974 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* mutable_options(); |
2975 | | |
2976 | | private: |
2977 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& _internal_options() const; |
2978 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* _internal_mutable_options(); |
2979 | | public: |
2980 | | const ::curl::fuzzer::proto::SetOption& options(int index) const; |
2981 | | ::curl::fuzzer::proto::SetOption* add_options(); |
2982 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& options() const; |
2983 | | // repeated bytes request_headers = 5; |
2984 | | int request_headers_size() const; |
2985 | | private: |
2986 | | int _internal_request_headers_size() const; |
2987 | | |
2988 | | public: |
2989 | | void clear_request_headers() ; |
2990 | | const std::string& request_headers(int index) const; |
2991 | | std::string* mutable_request_headers(int index); |
2992 | | template <typename Arg_ = const std::string&, typename... Args_> |
2993 | | void set_request_headers(int index, Arg_&& value, Args_... args); |
2994 | | std::string* add_request_headers(); |
2995 | | template <typename Arg_ = const std::string&, typename... Args_> |
2996 | | void add_request_headers(Arg_&& value, Args_... args); |
2997 | | const ::google::protobuf::RepeatedPtrField<std::string>& request_headers() const; |
2998 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_request_headers(); |
2999 | | |
3000 | | private: |
3001 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_request_headers() const; |
3002 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_request_headers(); |
3003 | | |
3004 | | public: |
3005 | | // repeated .curl.fuzzer.proto.Connection subsequent_connections = 7; |
3006 | | int subsequent_connections_size() const; |
3007 | | private: |
3008 | | int _internal_subsequent_connections_size() const; |
3009 | | |
3010 | | public: |
3011 | | void clear_subsequent_connections() ; |
3012 | | ::curl::fuzzer::proto::Connection* mutable_subsequent_connections(int index); |
3013 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>* mutable_subsequent_connections(); |
3014 | | |
3015 | | private: |
3016 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>& _internal_subsequent_connections() const; |
3017 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>* _internal_mutable_subsequent_connections(); |
3018 | | public: |
3019 | | const ::curl::fuzzer::proto::Connection& subsequent_connections(int index) const; |
3020 | | ::curl::fuzzer::proto::Connection* add_subsequent_connections(); |
3021 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>& subsequent_connections() const; |
3022 | | // bytes host_path = 2; |
3023 | | void clear_host_path() ; |
3024 | | const std::string& host_path() const; |
3025 | | template <typename Arg_ = const std::string&, typename... Args_> |
3026 | | void set_host_path(Arg_&& arg, Args_... args); |
3027 | | std::string* mutable_host_path(); |
3028 | | PROTOBUF_NODISCARD std::string* release_host_path(); |
3029 | | void set_allocated_host_path(std::string* value); |
3030 | | |
3031 | | private: |
3032 | | const std::string& _internal_host_path() const; |
3033 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_host_path( |
3034 | | const std::string& value); |
3035 | | std::string* _internal_mutable_host_path(); |
3036 | | |
3037 | | public: |
3038 | | // .curl.fuzzer.proto.Connection connection = 4; |
3039 | | bool has_connection() const; |
3040 | | void clear_connection() ; |
3041 | | const ::curl::fuzzer::proto::Connection& connection() const; |
3042 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::Connection* release_connection(); |
3043 | | ::curl::fuzzer::proto::Connection* mutable_connection(); |
3044 | | void set_allocated_connection(::curl::fuzzer::proto::Connection* value); |
3045 | | void unsafe_arena_set_allocated_connection(::curl::fuzzer::proto::Connection* value); |
3046 | | ::curl::fuzzer::proto::Connection* unsafe_arena_release_connection(); |
3047 | | |
3048 | | private: |
3049 | | const ::curl::fuzzer::proto::Connection& _internal_connection() const; |
3050 | | ::curl::fuzzer::proto::Connection* _internal_mutable_connection(); |
3051 | | |
3052 | | public: |
3053 | | // .curl.fuzzer.proto.MimePost mime_post = 6; |
3054 | | bool has_mime_post() const; |
3055 | | void clear_mime_post() ; |
3056 | | const ::curl::fuzzer::proto::MimePost& mime_post() const; |
3057 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::MimePost* release_mime_post(); |
3058 | | ::curl::fuzzer::proto::MimePost* mutable_mime_post(); |
3059 | | void set_allocated_mime_post(::curl::fuzzer::proto::MimePost* value); |
3060 | | void unsafe_arena_set_allocated_mime_post(::curl::fuzzer::proto::MimePost* value); |
3061 | | ::curl::fuzzer::proto::MimePost* unsafe_arena_release_mime_post(); |
3062 | | |
3063 | | private: |
3064 | | const ::curl::fuzzer::proto::MimePost& _internal_mime_post() const; |
3065 | | ::curl::fuzzer::proto::MimePost* _internal_mutable_mime_post(); |
3066 | | |
3067 | | public: |
3068 | | // .curl.fuzzer.proto.UploadScript upload = 8; |
3069 | | bool has_upload() const; |
3070 | | void clear_upload() ; |
3071 | | const ::curl::fuzzer::proto::UploadScript& upload() const; |
3072 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::UploadScript* release_upload(); |
3073 | | ::curl::fuzzer::proto::UploadScript* mutable_upload(); |
3074 | | void set_allocated_upload(::curl::fuzzer::proto::UploadScript* value); |
3075 | | void unsafe_arena_set_allocated_upload(::curl::fuzzer::proto::UploadScript* value); |
3076 | | ::curl::fuzzer::proto::UploadScript* unsafe_arena_release_upload(); |
3077 | | |
3078 | | private: |
3079 | | const ::curl::fuzzer::proto::UploadScript& _internal_upload() const; |
3080 | | ::curl::fuzzer::proto::UploadScript* _internal_mutable_upload(); |
3081 | | |
3082 | | public: |
3083 | | // .curl.fuzzer.proto.Scheme scheme = 1; |
3084 | | void clear_scheme() ; |
3085 | | ::curl::fuzzer::proto::Scheme scheme() const; |
3086 | | void set_scheme(::curl::fuzzer::proto::Scheme value); |
3087 | | |
3088 | | private: |
3089 | | ::curl::fuzzer::proto::Scheme _internal_scheme() const; |
3090 | | void _internal_set_scheme(::curl::fuzzer::proto::Scheme value); |
3091 | | |
3092 | | public: |
3093 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.Scenario) |
3094 | | private: |
3095 | | class _Internal; |
3096 | | friend class ::google::protobuf::internal::TcParser; |
3097 | | static const ::google::protobuf::internal::TcParseTable< |
3098 | | 3, 8, 5, |
3099 | | 0, 2> |
3100 | | _table_; |
3101 | | |
3102 | | friend class ::google::protobuf::MessageLite; |
3103 | | friend class ::google::protobuf::Arena; |
3104 | | template <typename T> |
3105 | | friend class ::google::protobuf::Arena::InternalHelper; |
3106 | | using InternalArenaConstructable_ = void; |
3107 | | using DestructorSkippable_ = void; |
3108 | | struct Impl_ { |
3109 | | inline explicit constexpr Impl_( |
3110 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3111 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3112 | | ::google::protobuf::Arena* arena); |
3113 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3114 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3115 | | const Scenario& from_msg); |
3116 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3117 | | ::google::protobuf::internal::CachedSize _cached_size_; |
3118 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::SetOption > options_; |
3119 | | ::google::protobuf::RepeatedPtrField<std::string> request_headers_; |
3120 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::Connection > subsequent_connections_; |
3121 | | ::google::protobuf::internal::ArenaStringPtr host_path_; |
3122 | | ::curl::fuzzer::proto::Connection* connection_; |
3123 | | ::curl::fuzzer::proto::MimePost* mime_post_; |
3124 | | ::curl::fuzzer::proto::UploadScript* upload_; |
3125 | | int scheme_; |
3126 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3127 | | }; |
3128 | | union { Impl_ _impl_; }; |
3129 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
3130 | | }; |
3131 | | |
3132 | | // =================================================================== |
3133 | | |
3134 | | |
3135 | | |
3136 | | |
3137 | | // =================================================================== |
3138 | | |
3139 | | |
3140 | | #ifdef __GNUC__ |
3141 | | #pragma GCC diagnostic push |
3142 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
3143 | | #endif // __GNUC__ |
3144 | | // ------------------------------------------------------------------- |
3145 | | |
3146 | | // Scenario |
3147 | | |
3148 | | // .curl.fuzzer.proto.Scheme scheme = 1; |
3149 | 0 | inline void Scenario::clear_scheme() { |
3150 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3151 | 0 | _impl_.scheme_ = 0; |
3152 | 0 | } |
3153 | 20.3k | inline ::curl::fuzzer::proto::Scheme Scenario::scheme() const { |
3154 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.scheme) |
3155 | 20.3k | return _internal_scheme(); |
3156 | 20.3k | } |
3157 | 0 | inline void Scenario::set_scheme(::curl::fuzzer::proto::Scheme value) { |
3158 | 0 | _internal_set_scheme(value); |
3159 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Scenario.scheme) |
3160 | 0 | } |
3161 | 20.3k | inline ::curl::fuzzer::proto::Scheme Scenario::_internal_scheme() const { |
3162 | 20.3k | ::google::protobuf::internal::TSanRead(&_impl_); |
3163 | 20.3k | return static_cast<::curl::fuzzer::proto::Scheme>(_impl_.scheme_); |
3164 | 20.3k | } |
3165 | 0 | inline void Scenario::_internal_set_scheme(::curl::fuzzer::proto::Scheme value) { |
3166 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3167 | 0 | _impl_.scheme_ = value; |
3168 | 0 | } |
3169 | | |
3170 | | // bytes host_path = 2; |
3171 | 0 | inline void Scenario::clear_host_path() { |
3172 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3173 | 0 | _impl_.host_path_.ClearToEmpty(); |
3174 | 0 | } |
3175 | | inline const std::string& Scenario::host_path() const |
3176 | 20.3k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3177 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.host_path) |
3178 | 20.3k | return _internal_host_path(); |
3179 | 20.3k | } |
3180 | | template <typename Arg_, typename... Args_> |
3181 | | inline PROTOBUF_ALWAYS_INLINE void Scenario::set_host_path(Arg_&& arg, |
3182 | | Args_... args) { |
3183 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3184 | | _impl_.host_path_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
3185 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Scenario.host_path) |
3186 | | } |
3187 | 0 | inline std::string* Scenario::mutable_host_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3188 | 0 | std::string* _s = _internal_mutable_host_path(); |
3189 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.host_path) |
3190 | 0 | return _s; |
3191 | 0 | } |
3192 | 20.3k | inline const std::string& Scenario::_internal_host_path() const { |
3193 | 20.3k | ::google::protobuf::internal::TSanRead(&_impl_); |
3194 | 20.3k | return _impl_.host_path_.Get(); |
3195 | 20.3k | } |
3196 | 0 | inline void Scenario::_internal_set_host_path(const std::string& value) { |
3197 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3198 | 0 | _impl_.host_path_.Set(value, GetArena()); |
3199 | 0 | } |
3200 | 0 | inline std::string* Scenario::_internal_mutable_host_path() { |
3201 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3202 | 0 | return _impl_.host_path_.Mutable( GetArena()); |
3203 | 0 | } |
3204 | 0 | inline std::string* Scenario::release_host_path() { |
3205 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3206 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Scenario.host_path) |
3207 | 0 | return _impl_.host_path_.Release(); |
3208 | 0 | } |
3209 | 0 | inline void Scenario::set_allocated_host_path(std::string* value) { |
3210 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3211 | 0 | _impl_.host_path_.SetAllocated(value, GetArena()); |
3212 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.host_path_.IsDefault()) { |
3213 | 0 | _impl_.host_path_.Set("", GetArena()); |
3214 | 0 | } |
3215 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Scenario.host_path) |
3216 | 0 | } |
3217 | | |
3218 | | // repeated .curl.fuzzer.proto.SetOption options = 3; |
3219 | 22.4k | inline int Scenario::_internal_options_size() const { |
3220 | 22.4k | return _internal_options().size(); |
3221 | 22.4k | } |
3222 | 22.4k | inline int Scenario::options_size() const { |
3223 | 22.4k | return _internal_options_size(); |
3224 | 22.4k | } |
3225 | 0 | inline void Scenario::clear_options() { |
3226 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3227 | 0 | _impl_.options_.Clear(); |
3228 | 0 | } |
3229 | | inline ::curl::fuzzer::proto::SetOption* Scenario::mutable_options(int index) |
3230 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3231 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.options) |
3232 | 0 | return _internal_mutable_options()->Mutable(index); |
3233 | 0 | } |
3234 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* Scenario::mutable_options() |
3235 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3236 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Scenario.options) |
3237 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3238 | 0 | return _internal_mutable_options(); |
3239 | 0 | } |
3240 | | inline const ::curl::fuzzer::proto::SetOption& Scenario::options(int index) const |
3241 | 45.3k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3242 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.options) |
3243 | 45.3k | return _internal_options().Get(index); |
3244 | 45.3k | } |
3245 | 0 | inline ::curl::fuzzer::proto::SetOption* Scenario::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3246 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3247 | 0 | ::curl::fuzzer::proto::SetOption* _add = _internal_mutable_options()->Add(); |
3248 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Scenario.options) |
3249 | 0 | return _add; |
3250 | 0 | } |
3251 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& Scenario::options() const |
3252 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3253 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Scenario.options) |
3254 | 0 | return _internal_options(); |
3255 | 0 | } |
3256 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& |
3257 | 67.8k | Scenario::_internal_options() const { |
3258 | 67.8k | ::google::protobuf::internal::TSanRead(&_impl_); |
3259 | 67.8k | return _impl_.options_; |
3260 | 67.8k | } |
3261 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* |
3262 | 0 | Scenario::_internal_mutable_options() { |
3263 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3264 | 0 | return &_impl_.options_; |
3265 | 0 | } |
3266 | | |
3267 | | // .curl.fuzzer.proto.Connection connection = 4; |
3268 | 0 | inline bool Scenario::has_connection() const { |
3269 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3270 | 0 | PROTOBUF_ASSUME(!value || _impl_.connection_ != nullptr); |
3271 | 0 | return value; |
3272 | 0 | } |
3273 | 0 | inline void Scenario::clear_connection() { |
3274 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3275 | 0 | if (_impl_.connection_ != nullptr) _impl_.connection_->Clear(); |
3276 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3277 | 0 | } |
3278 | 22.9k | inline const ::curl::fuzzer::proto::Connection& Scenario::_internal_connection() const { |
3279 | 22.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
3280 | 22.9k | const ::curl::fuzzer::proto::Connection* p = _impl_.connection_; |
3281 | 22.9k | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::Connection&>(::curl::fuzzer::proto::_Connection_default_instance_); |
3282 | 22.9k | } |
3283 | 22.9k | inline const ::curl::fuzzer::proto::Connection& Scenario::connection() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3284 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.connection) |
3285 | 22.9k | return _internal_connection(); |
3286 | 22.9k | } |
3287 | 0 | inline void Scenario::unsafe_arena_set_allocated_connection(::curl::fuzzer::proto::Connection* value) { |
3288 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3289 | 0 | if (GetArena() == nullptr) { |
3290 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connection_); |
3291 | 0 | } |
3292 | 0 | _impl_.connection_ = reinterpret_cast<::curl::fuzzer::proto::Connection*>(value); |
3293 | 0 | if (value != nullptr) { |
3294 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3295 | 0 | } else { |
3296 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3297 | 0 | } |
3298 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Scenario.connection) |
3299 | 0 | } |
3300 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::release_connection() { |
3301 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3302 | 0 |
|
3303 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3304 | 0 | ::curl::fuzzer::proto::Connection* released = _impl_.connection_; |
3305 | 0 | _impl_.connection_ = nullptr; |
3306 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
3307 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
3308 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3309 | 0 | if (GetArena() == nullptr) { |
3310 | 0 | delete old; |
3311 | 0 | } |
3312 | 0 | } else { |
3313 | 0 | if (GetArena() != nullptr) { |
3314 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3315 | 0 | } |
3316 | 0 | } |
3317 | 0 | return released; |
3318 | 0 | } |
3319 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::unsafe_arena_release_connection() { |
3320 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3321 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Scenario.connection) |
3322 | 0 |
|
3323 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3324 | 0 | ::curl::fuzzer::proto::Connection* temp = _impl_.connection_; |
3325 | 0 | _impl_.connection_ = nullptr; |
3326 | 0 | return temp; |
3327 | 0 | } |
3328 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::_internal_mutable_connection() { |
3329 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3330 | 0 | if (_impl_.connection_ == nullptr) { |
3331 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::Connection>(GetArena()); |
3332 | 0 | _impl_.connection_ = reinterpret_cast<::curl::fuzzer::proto::Connection*>(p); |
3333 | 0 | } |
3334 | 0 | return _impl_.connection_; |
3335 | 0 | } |
3336 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::mutable_connection() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3337 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3338 | 0 | ::curl::fuzzer::proto::Connection* _msg = _internal_mutable_connection(); |
3339 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.connection) |
3340 | 0 | return _msg; |
3341 | 0 | } |
3342 | 0 | inline void Scenario::set_allocated_connection(::curl::fuzzer::proto::Connection* value) { |
3343 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
3344 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3345 | 0 | if (message_arena == nullptr) { |
3346 | 0 | delete (_impl_.connection_); |
3347 | 0 | } |
3348 | 0 |
|
3349 | 0 | if (value != nullptr) { |
3350 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
3351 | 0 | if (message_arena != submessage_arena) { |
3352 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
3353 | 0 | } |
3354 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3355 | 0 | } else { |
3356 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3357 | 0 | } |
3358 | 0 |
|
3359 | 0 | _impl_.connection_ = reinterpret_cast<::curl::fuzzer::proto::Connection*>(value); |
3360 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Scenario.connection) |
3361 | 0 | } |
3362 | | |
3363 | | // repeated bytes request_headers = 5; |
3364 | 0 | inline int Scenario::_internal_request_headers_size() const { |
3365 | 0 | return _internal_request_headers().size(); |
3366 | 0 | } |
3367 | 0 | inline int Scenario::request_headers_size() const { |
3368 | 0 | return _internal_request_headers_size(); |
3369 | 0 | } |
3370 | 0 | inline void Scenario::clear_request_headers() { |
3371 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3372 | 0 | _impl_.request_headers_.Clear(); |
3373 | 0 | } |
3374 | 0 | inline std::string* Scenario::add_request_headers() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3375 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3376 | 0 | std::string* _s = _internal_mutable_request_headers()->Add(); |
3377 | 0 | // @@protoc_insertion_point(field_add_mutable:curl.fuzzer.proto.Scenario.request_headers) |
3378 | 0 | return _s; |
3379 | 0 | } |
3380 | | inline const std::string& Scenario::request_headers(int index) const |
3381 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3382 | 0 | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.request_headers) |
3383 | 0 | return _internal_request_headers().Get(index); |
3384 | 0 | } |
3385 | | inline std::string* Scenario::mutable_request_headers(int index) |
3386 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3387 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.request_headers) |
3388 | 0 | return _internal_mutable_request_headers()->Mutable(index); |
3389 | 0 | } |
3390 | | template <typename Arg_, typename... Args_> |
3391 | | inline void Scenario::set_request_headers(int index, Arg_&& value, Args_... args) { |
3392 | | ::google::protobuf::internal::AssignToString( |
3393 | | *_internal_mutable_request_headers()->Mutable(index), |
3394 | | std::forward<Arg_>(value), args... , ::google::protobuf::internal::BytesTag{}); |
3395 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Scenario.request_headers) |
3396 | | } |
3397 | | template <typename Arg_, typename... Args_> |
3398 | | inline void Scenario::add_request_headers(Arg_&& value, Args_... args) { |
3399 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3400 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_request_headers(), |
3401 | | std::forward<Arg_>(value), |
3402 | | args... , ::google::protobuf::internal::BytesTag{}); |
3403 | | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Scenario.request_headers) |
3404 | | } |
3405 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
3406 | 10.1k | Scenario::request_headers() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3407 | | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Scenario.request_headers) |
3408 | 10.1k | return _internal_request_headers(); |
3409 | 10.1k | } |
3410 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
3411 | 0 | Scenario::mutable_request_headers() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3412 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Scenario.request_headers) |
3413 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3414 | 0 | return _internal_mutable_request_headers(); |
3415 | 0 | } |
3416 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
3417 | 10.1k | Scenario::_internal_request_headers() const { |
3418 | 10.1k | ::google::protobuf::internal::TSanRead(&_impl_); |
3419 | 10.1k | return _impl_.request_headers_; |
3420 | 10.1k | } |
3421 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
3422 | 0 | Scenario::_internal_mutable_request_headers() { |
3423 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3424 | 0 | return &_impl_.request_headers_; |
3425 | 0 | } |
3426 | | |
3427 | | // .curl.fuzzer.proto.MimePost mime_post = 6; |
3428 | 10.1k | inline bool Scenario::has_mime_post() const { |
3429 | 10.1k | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
3430 | 10.1k | PROTOBUF_ASSUME(!value || _impl_.mime_post_ != nullptr); |
3431 | 10.1k | return value; |
3432 | 10.1k | } |
3433 | 0 | inline void Scenario::clear_mime_post() { |
3434 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3435 | 0 | if (_impl_.mime_post_ != nullptr) _impl_.mime_post_->Clear(); |
3436 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3437 | 0 | } |
3438 | 1 | inline const ::curl::fuzzer::proto::MimePost& Scenario::_internal_mime_post() const { |
3439 | 1 | ::google::protobuf::internal::TSanRead(&_impl_); |
3440 | 1 | const ::curl::fuzzer::proto::MimePost* p = _impl_.mime_post_; |
3441 | 1 | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::MimePost&>(::curl::fuzzer::proto::_MimePost_default_instance_); |
3442 | 1 | } |
3443 | 1 | inline const ::curl::fuzzer::proto::MimePost& Scenario::mime_post() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3444 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.mime_post) |
3445 | 1 | return _internal_mime_post(); |
3446 | 1 | } |
3447 | 0 | inline void Scenario::unsafe_arena_set_allocated_mime_post(::curl::fuzzer::proto::MimePost* value) { |
3448 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3449 | 0 | if (GetArena() == nullptr) { |
3450 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mime_post_); |
3451 | 0 | } |
3452 | 0 | _impl_.mime_post_ = reinterpret_cast<::curl::fuzzer::proto::MimePost*>(value); |
3453 | 0 | if (value != nullptr) { |
3454 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3455 | 0 | } else { |
3456 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3457 | 0 | } |
3458 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Scenario.mime_post) |
3459 | 0 | } |
3460 | 0 | inline ::curl::fuzzer::proto::MimePost* Scenario::release_mime_post() { |
3461 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3462 | 0 |
|
3463 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3464 | 0 | ::curl::fuzzer::proto::MimePost* released = _impl_.mime_post_; |
3465 | 0 | _impl_.mime_post_ = nullptr; |
3466 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
3467 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
3468 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3469 | 0 | if (GetArena() == nullptr) { |
3470 | 0 | delete old; |
3471 | 0 | } |
3472 | 0 | } else { |
3473 | 0 | if (GetArena() != nullptr) { |
3474 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3475 | 0 | } |
3476 | 0 | } |
3477 | 0 | return released; |
3478 | 0 | } |
3479 | 0 | inline ::curl::fuzzer::proto::MimePost* Scenario::unsafe_arena_release_mime_post() { |
3480 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3481 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Scenario.mime_post) |
3482 | 0 |
|
3483 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3484 | 0 | ::curl::fuzzer::proto::MimePost* temp = _impl_.mime_post_; |
3485 | 0 | _impl_.mime_post_ = nullptr; |
3486 | 0 | return temp; |
3487 | 0 | } |
3488 | 0 | inline ::curl::fuzzer::proto::MimePost* Scenario::_internal_mutable_mime_post() { |
3489 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3490 | 0 | if (_impl_.mime_post_ == nullptr) { |
3491 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::MimePost>(GetArena()); |
3492 | 0 | _impl_.mime_post_ = reinterpret_cast<::curl::fuzzer::proto::MimePost*>(p); |
3493 | 0 | } |
3494 | 0 | return _impl_.mime_post_; |
3495 | 0 | } |
3496 | 0 | inline ::curl::fuzzer::proto::MimePost* Scenario::mutable_mime_post() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3497 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3498 | 0 | ::curl::fuzzer::proto::MimePost* _msg = _internal_mutable_mime_post(); |
3499 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.mime_post) |
3500 | 0 | return _msg; |
3501 | 0 | } |
3502 | 0 | inline void Scenario::set_allocated_mime_post(::curl::fuzzer::proto::MimePost* value) { |
3503 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
3504 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3505 | 0 | if (message_arena == nullptr) { |
3506 | 0 | delete (_impl_.mime_post_); |
3507 | 0 | } |
3508 | 0 |
|
3509 | 0 | if (value != nullptr) { |
3510 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
3511 | 0 | if (message_arena != submessage_arena) { |
3512 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
3513 | 0 | } |
3514 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3515 | 0 | } else { |
3516 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3517 | 0 | } |
3518 | 0 |
|
3519 | 0 | _impl_.mime_post_ = reinterpret_cast<::curl::fuzzer::proto::MimePost*>(value); |
3520 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Scenario.mime_post) |
3521 | 0 | } |
3522 | | |
3523 | | // repeated .curl.fuzzer.proto.Connection subsequent_connections = 7; |
3524 | 7.93k | inline int Scenario::_internal_subsequent_connections_size() const { |
3525 | 7.93k | return _internal_subsequent_connections().size(); |
3526 | 7.93k | } |
3527 | 7.93k | inline int Scenario::subsequent_connections_size() const { |
3528 | 7.93k | return _internal_subsequent_connections_size(); |
3529 | 7.93k | } |
3530 | 0 | inline void Scenario::clear_subsequent_connections() { |
3531 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3532 | 0 | _impl_.subsequent_connections_.Clear(); |
3533 | 0 | } |
3534 | | inline ::curl::fuzzer::proto::Connection* Scenario::mutable_subsequent_connections(int index) |
3535 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3536 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.subsequent_connections) |
3537 | 0 | return _internal_mutable_subsequent_connections()->Mutable(index); |
3538 | 0 | } |
3539 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>* Scenario::mutable_subsequent_connections() |
3540 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3541 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Scenario.subsequent_connections) |
3542 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3543 | 0 | return _internal_mutable_subsequent_connections(); |
3544 | 0 | } |
3545 | | inline const ::curl::fuzzer::proto::Connection& Scenario::subsequent_connections(int index) const |
3546 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3547 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.subsequent_connections) |
3548 | 0 | return _internal_subsequent_connections().Get(index); |
3549 | 0 | } |
3550 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::add_subsequent_connections() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3551 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3552 | 0 | ::curl::fuzzer::proto::Connection* _add = _internal_mutable_subsequent_connections()->Add(); |
3553 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Scenario.subsequent_connections) |
3554 | 0 | return _add; |
3555 | 0 | } |
3556 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>& Scenario::subsequent_connections() const |
3557 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3558 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Scenario.subsequent_connections) |
3559 | 0 | return _internal_subsequent_connections(); |
3560 | 0 | } |
3561 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>& |
3562 | 7.93k | Scenario::_internal_subsequent_connections() const { |
3563 | 7.93k | ::google::protobuf::internal::TSanRead(&_impl_); |
3564 | 7.93k | return _impl_.subsequent_connections_; |
3565 | 7.93k | } |
3566 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::Connection>* |
3567 | 0 | Scenario::_internal_mutable_subsequent_connections() { |
3568 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3569 | 0 | return &_impl_.subsequent_connections_; |
3570 | 0 | } |
3571 | | |
3572 | | // .curl.fuzzer.proto.UploadScript upload = 8; |
3573 | 20.2k | inline bool Scenario::has_upload() const { |
3574 | 20.2k | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
3575 | 20.2k | PROTOBUF_ASSUME(!value || _impl_.upload_ != nullptr); |
3576 | 20.2k | return value; |
3577 | 20.2k | } |
3578 | 0 | inline void Scenario::clear_upload() { |
3579 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3580 | 0 | if (_impl_.upload_ != nullptr) _impl_.upload_->Clear(); |
3581 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3582 | 0 | } |
3583 | 57 | inline const ::curl::fuzzer::proto::UploadScript& Scenario::_internal_upload() const { |
3584 | 57 | ::google::protobuf::internal::TSanRead(&_impl_); |
3585 | 57 | const ::curl::fuzzer::proto::UploadScript* p = _impl_.upload_; |
3586 | 57 | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::UploadScript&>(::curl::fuzzer::proto::_UploadScript_default_instance_); |
3587 | 57 | } |
3588 | 57 | inline const ::curl::fuzzer::proto::UploadScript& Scenario::upload() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3589 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.upload) |
3590 | 57 | return _internal_upload(); |
3591 | 57 | } |
3592 | 0 | inline void Scenario::unsafe_arena_set_allocated_upload(::curl::fuzzer::proto::UploadScript* value) { |
3593 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3594 | 0 | if (GetArena() == nullptr) { |
3595 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upload_); |
3596 | 0 | } |
3597 | 0 | _impl_.upload_ = reinterpret_cast<::curl::fuzzer::proto::UploadScript*>(value); |
3598 | 0 | if (value != nullptr) { |
3599 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
3600 | 0 | } else { |
3601 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3602 | 0 | } |
3603 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Scenario.upload) |
3604 | 0 | } |
3605 | 0 | inline ::curl::fuzzer::proto::UploadScript* Scenario::release_upload() { |
3606 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3607 | 0 |
|
3608 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3609 | 0 | ::curl::fuzzer::proto::UploadScript* released = _impl_.upload_; |
3610 | 0 | _impl_.upload_ = nullptr; |
3611 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
3612 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
3613 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3614 | 0 | if (GetArena() == nullptr) { |
3615 | 0 | delete old; |
3616 | 0 | } |
3617 | 0 | } else { |
3618 | 0 | if (GetArena() != nullptr) { |
3619 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3620 | 0 | } |
3621 | 0 | } |
3622 | 0 | return released; |
3623 | 0 | } |
3624 | 0 | inline ::curl::fuzzer::proto::UploadScript* Scenario::unsafe_arena_release_upload() { |
3625 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3626 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Scenario.upload) |
3627 | 0 |
|
3628 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3629 | 0 | ::curl::fuzzer::proto::UploadScript* temp = _impl_.upload_; |
3630 | 0 | _impl_.upload_ = nullptr; |
3631 | 0 | return temp; |
3632 | 0 | } |
3633 | 0 | inline ::curl::fuzzer::proto::UploadScript* Scenario::_internal_mutable_upload() { |
3634 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3635 | 0 | if (_impl_.upload_ == nullptr) { |
3636 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::UploadScript>(GetArena()); |
3637 | 0 | _impl_.upload_ = reinterpret_cast<::curl::fuzzer::proto::UploadScript*>(p); |
3638 | 0 | } |
3639 | 0 | return _impl_.upload_; |
3640 | 0 | } |
3641 | 0 | inline ::curl::fuzzer::proto::UploadScript* Scenario::mutable_upload() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3642 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
3643 | 0 | ::curl::fuzzer::proto::UploadScript* _msg = _internal_mutable_upload(); |
3644 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.upload) |
3645 | 0 | return _msg; |
3646 | 0 | } |
3647 | 0 | inline void Scenario::set_allocated_upload(::curl::fuzzer::proto::UploadScript* value) { |
3648 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
3649 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3650 | 0 | if (message_arena == nullptr) { |
3651 | 0 | delete (_impl_.upload_); |
3652 | 0 | } |
3653 | 0 |
|
3654 | 0 | if (value != nullptr) { |
3655 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
3656 | 0 | if (message_arena != submessage_arena) { |
3657 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
3658 | 0 | } |
3659 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
3660 | 0 | } else { |
3661 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3662 | 0 | } |
3663 | 0 |
|
3664 | 0 | _impl_.upload_ = reinterpret_cast<::curl::fuzzer::proto::UploadScript*>(value); |
3665 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Scenario.upload) |
3666 | 0 | } |
3667 | | |
3668 | | // ------------------------------------------------------------------- |
3669 | | |
3670 | | // UploadScript |
3671 | | |
3672 | | // bytes data = 1; |
3673 | 0 | inline void UploadScript::clear_data() { |
3674 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3675 | 0 | _impl_.data_.ClearToEmpty(); |
3676 | 0 | } |
3677 | | inline const std::string& UploadScript::data() const |
3678 | 114 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3679 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.UploadScript.data) |
3680 | 114 | return _internal_data(); |
3681 | 114 | } |
3682 | | template <typename Arg_, typename... Args_> |
3683 | | inline PROTOBUF_ALWAYS_INLINE void UploadScript::set_data(Arg_&& arg, |
3684 | | Args_... args) { |
3685 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3686 | | _impl_.data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
3687 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.UploadScript.data) |
3688 | | } |
3689 | 0 | inline std::string* UploadScript::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3690 | 0 | std::string* _s = _internal_mutable_data(); |
3691 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.UploadScript.data) |
3692 | 0 | return _s; |
3693 | 0 | } |
3694 | 114 | inline const std::string& UploadScript::_internal_data() const { |
3695 | 114 | ::google::protobuf::internal::TSanRead(&_impl_); |
3696 | 114 | return _impl_.data_.Get(); |
3697 | 114 | } |
3698 | 0 | inline void UploadScript::_internal_set_data(const std::string& value) { |
3699 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3700 | 0 | _impl_.data_.Set(value, GetArena()); |
3701 | 0 | } |
3702 | 0 | inline std::string* UploadScript::_internal_mutable_data() { |
3703 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3704 | 0 | return _impl_.data_.Mutable( GetArena()); |
3705 | 0 | } |
3706 | 0 | inline std::string* UploadScript::release_data() { |
3707 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3708 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.UploadScript.data) |
3709 | 0 | return _impl_.data_.Release(); |
3710 | 0 | } |
3711 | 0 | inline void UploadScript::set_allocated_data(std::string* value) { |
3712 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3713 | 0 | _impl_.data_.SetAllocated(value, GetArena()); |
3714 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { |
3715 | 0 | _impl_.data_.Set("", GetArena()); |
3716 | 0 | } |
3717 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.UploadScript.data) |
3718 | 0 | } |
3719 | | |
3720 | | // repeated uint32 read_sizes = 2; |
3721 | 57 | inline int UploadScript::_internal_read_sizes_size() const { |
3722 | 57 | return _internal_read_sizes().size(); |
3723 | 57 | } |
3724 | 57 | inline int UploadScript::read_sizes_size() const { |
3725 | 57 | return _internal_read_sizes_size(); |
3726 | 57 | } |
3727 | 0 | inline void UploadScript::clear_read_sizes() { |
3728 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3729 | 0 | _impl_.read_sizes_.Clear(); |
3730 | 0 | } |
3731 | 0 | inline ::uint32_t UploadScript::read_sizes(int index) const { |
3732 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.UploadScript.read_sizes) |
3733 | 0 | return _internal_read_sizes().Get(index); |
3734 | 0 | } |
3735 | 0 | inline void UploadScript::set_read_sizes(int index, ::uint32_t value) { |
3736 | 0 | _internal_mutable_read_sizes()->Set(index, value); |
3737 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.UploadScript.read_sizes) |
3738 | 0 | } |
3739 | 0 | inline void UploadScript::add_read_sizes(::uint32_t value) { |
3740 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3741 | 0 | _internal_mutable_read_sizes()->Add(value); |
3742 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.UploadScript.read_sizes) |
3743 | 0 | } |
3744 | | inline const ::google::protobuf::RepeatedField<::uint32_t>& UploadScript::read_sizes() const |
3745 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3746 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.UploadScript.read_sizes) |
3747 | 0 | return _internal_read_sizes(); |
3748 | 0 | } |
3749 | | inline ::google::protobuf::RepeatedField<::uint32_t>* UploadScript::mutable_read_sizes() |
3750 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3751 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.UploadScript.read_sizes) |
3752 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3753 | 0 | return _internal_mutable_read_sizes(); |
3754 | 0 | } |
3755 | | inline const ::google::protobuf::RepeatedField<::uint32_t>& |
3756 | 57 | UploadScript::_internal_read_sizes() const { |
3757 | 57 | ::google::protobuf::internal::TSanRead(&_impl_); |
3758 | 57 | return _impl_.read_sizes_; |
3759 | 57 | } |
3760 | 0 | inline ::google::protobuf::RepeatedField<::uint32_t>* UploadScript::_internal_mutable_read_sizes() { |
3761 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3762 | 0 | return &_impl_.read_sizes_; |
3763 | 0 | } |
3764 | | |
3765 | | // .curl.fuzzer.proto.UploadTerminal terminal = 3; |
3766 | 0 | inline void UploadScript::clear_terminal() { |
3767 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3768 | 0 | _impl_.terminal_ = 0; |
3769 | 0 | } |
3770 | 57 | inline ::curl::fuzzer::proto::UploadTerminal UploadScript::terminal() const { |
3771 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.UploadScript.terminal) |
3772 | 57 | return _internal_terminal(); |
3773 | 57 | } |
3774 | 0 | inline void UploadScript::set_terminal(::curl::fuzzer::proto::UploadTerminal value) { |
3775 | 0 | _internal_set_terminal(value); |
3776 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.UploadScript.terminal) |
3777 | 0 | } |
3778 | 57 | inline ::curl::fuzzer::proto::UploadTerminal UploadScript::_internal_terminal() const { |
3779 | 57 | ::google::protobuf::internal::TSanRead(&_impl_); |
3780 | 57 | return static_cast<::curl::fuzzer::proto::UploadTerminal>(_impl_.terminal_); |
3781 | 57 | } |
3782 | 0 | inline void UploadScript::_internal_set_terminal(::curl::fuzzer::proto::UploadTerminal value) { |
3783 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3784 | 0 | _impl_.terminal_ = value; |
3785 | 0 | } |
3786 | | |
3787 | | // .curl.fuzzer.proto.UploadSeekResult seek_result = 4; |
3788 | 0 | inline void UploadScript::clear_seek_result() { |
3789 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3790 | 0 | _impl_.seek_result_ = 0; |
3791 | 0 | } |
3792 | 57 | inline ::curl::fuzzer::proto::UploadSeekResult UploadScript::seek_result() const { |
3793 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.UploadScript.seek_result) |
3794 | 57 | return _internal_seek_result(); |
3795 | 57 | } |
3796 | 0 | inline void UploadScript::set_seek_result(::curl::fuzzer::proto::UploadSeekResult value) { |
3797 | 0 | _internal_set_seek_result(value); |
3798 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.UploadScript.seek_result) |
3799 | 0 | } |
3800 | 57 | inline ::curl::fuzzer::proto::UploadSeekResult UploadScript::_internal_seek_result() const { |
3801 | 57 | ::google::protobuf::internal::TSanRead(&_impl_); |
3802 | 57 | return static_cast<::curl::fuzzer::proto::UploadSeekResult>(_impl_.seek_result_); |
3803 | 57 | } |
3804 | 0 | inline void UploadScript::_internal_set_seek_result(::curl::fuzzer::proto::UploadSeekResult value) { |
3805 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3806 | 0 | _impl_.seek_result_ = value; |
3807 | 0 | } |
3808 | | |
3809 | | // ------------------------------------------------------------------- |
3810 | | |
3811 | | // MimePost |
3812 | | |
3813 | | // repeated .curl.fuzzer.proto.MimePart parts = 1; |
3814 | 1 | inline int MimePost::_internal_parts_size() const { |
3815 | 1 | return _internal_parts().size(); |
3816 | 1 | } |
3817 | 1 | inline int MimePost::parts_size() const { |
3818 | 1 | return _internal_parts_size(); |
3819 | 1 | } |
3820 | 0 | inline void MimePost::clear_parts() { |
3821 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3822 | 0 | _impl_.parts_.Clear(); |
3823 | 0 | } |
3824 | | inline ::curl::fuzzer::proto::MimePart* MimePost::mutable_parts(int index) |
3825 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3826 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePost.parts) |
3827 | 0 | return _internal_mutable_parts()->Mutable(index); |
3828 | 0 | } |
3829 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>* MimePost::mutable_parts() |
3830 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3831 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.MimePost.parts) |
3832 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3833 | 0 | return _internal_mutable_parts(); |
3834 | 0 | } |
3835 | | inline const ::curl::fuzzer::proto::MimePart& MimePost::parts(int index) const |
3836 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3837 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePost.parts) |
3838 | 0 | return _internal_parts().Get(index); |
3839 | 0 | } |
3840 | 0 | inline ::curl::fuzzer::proto::MimePart* MimePost::add_parts() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3841 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3842 | 0 | ::curl::fuzzer::proto::MimePart* _add = _internal_mutable_parts()->Add(); |
3843 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.MimePost.parts) |
3844 | 0 | return _add; |
3845 | 0 | } |
3846 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>& MimePost::parts() const |
3847 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3848 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.MimePost.parts) |
3849 | 0 | return _internal_parts(); |
3850 | 0 | } |
3851 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>& |
3852 | 1 | MimePost::_internal_parts() const { |
3853 | 1 | ::google::protobuf::internal::TSanRead(&_impl_); |
3854 | 1 | return _impl_.parts_; |
3855 | 1 | } |
3856 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimePart>* |
3857 | 0 | MimePost::_internal_mutable_parts() { |
3858 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3859 | 0 | return &_impl_.parts_; |
3860 | 0 | } |
3861 | | |
3862 | | // ------------------------------------------------------------------- |
3863 | | |
3864 | | // MimePart |
3865 | | |
3866 | | // bytes name = 1; |
3867 | 0 | inline void MimePart::clear_name() { |
3868 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3869 | 0 | _impl_.name_.ClearToEmpty(); |
3870 | 0 | } |
3871 | | inline const std::string& MimePart::name() const |
3872 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3873 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.name) |
3874 | 0 | return _internal_name(); |
3875 | 0 | } |
3876 | | template <typename Arg_, typename... Args_> |
3877 | | inline PROTOBUF_ALWAYS_INLINE void MimePart::set_name(Arg_&& arg, |
3878 | | Args_... args) { |
3879 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3880 | | _impl_.name_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
3881 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimePart.name) |
3882 | | } |
3883 | 0 | inline std::string* MimePart::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3884 | 0 | std::string* _s = _internal_mutable_name(); |
3885 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePart.name) |
3886 | 0 | return _s; |
3887 | 0 | } |
3888 | 0 | inline const std::string& MimePart::_internal_name() const { |
3889 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3890 | 0 | return _impl_.name_.Get(); |
3891 | 0 | } |
3892 | 0 | inline void MimePart::_internal_set_name(const std::string& value) { |
3893 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3894 | 0 | _impl_.name_.Set(value, GetArena()); |
3895 | 0 | } |
3896 | 0 | inline std::string* MimePart::_internal_mutable_name() { |
3897 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3898 | 0 | return _impl_.name_.Mutable( GetArena()); |
3899 | 0 | } |
3900 | 0 | inline std::string* MimePart::release_name() { |
3901 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3902 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimePart.name) |
3903 | 0 | return _impl_.name_.Release(); |
3904 | 0 | } |
3905 | 0 | inline void MimePart::set_allocated_name(std::string* value) { |
3906 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3907 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
3908 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
3909 | 0 | _impl_.name_.Set("", GetArena()); |
3910 | 0 | } |
3911 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimePart.name) |
3912 | 0 | } |
3913 | | |
3914 | | // bytes data = 2; |
3915 | 0 | inline bool MimePart::has_data() const { |
3916 | 0 | return content_case() == kData; |
3917 | 0 | } |
3918 | 0 | inline void MimePart::set_has_data() { |
3919 | 0 | _impl_._oneof_case_[0] = kData; |
3920 | 0 | } |
3921 | 0 | inline void MimePart::clear_data() { |
3922 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3923 | 0 | if (content_case() == kData) { |
3924 | 0 | _impl_.content_.data_.Destroy(); |
3925 | 0 | clear_has_content(); |
3926 | 0 | } |
3927 | 0 | } |
3928 | | inline const std::string& MimePart::data() const |
3929 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3930 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.data) |
3931 | 0 | return _internal_data(); |
3932 | 0 | } |
3933 | | template <typename Arg_, typename... Args_> |
3934 | | inline PROTOBUF_ALWAYS_INLINE void MimePart::set_data(Arg_&& arg, |
3935 | | Args_... args) { |
3936 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3937 | | if (content_case() != kData) { |
3938 | | clear_content(); |
3939 | | |
3940 | | set_has_data(); |
3941 | | _impl_.content_.data_.InitDefault(); |
3942 | | } |
3943 | | _impl_.content_.data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
3944 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimePart.data) |
3945 | | } |
3946 | 0 | inline std::string* MimePart::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3947 | 0 | std::string* _s = _internal_mutable_data(); |
3948 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePart.data) |
3949 | 0 | return _s; |
3950 | 0 | } |
3951 | 0 | inline const std::string& MimePart::_internal_data() const { |
3952 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3953 | 0 | if (content_case() != kData) { |
3954 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
3955 | 0 | } |
3956 | 0 | return _impl_.content_.data_.Get(); |
3957 | 0 | } |
3958 | 0 | inline void MimePart::_internal_set_data(const std::string& value) { |
3959 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3960 | 0 | if (content_case() != kData) { |
3961 | 0 | clear_content(); |
3962 | 0 |
|
3963 | 0 | set_has_data(); |
3964 | 0 | _impl_.content_.data_.InitDefault(); |
3965 | 0 | } |
3966 | 0 | _impl_.content_.data_.Set(value, GetArena()); |
3967 | 0 | } |
3968 | 0 | inline std::string* MimePart::_internal_mutable_data() { |
3969 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3970 | 0 | if (content_case() != kData) { |
3971 | 0 | clear_content(); |
3972 | |
|
3973 | 0 | set_has_data(); |
3974 | 0 | _impl_.content_.data_.InitDefault(); |
3975 | 0 | } |
3976 | 0 | return _impl_.content_.data_.Mutable( GetArena()); |
3977 | 0 | } |
3978 | 0 | inline std::string* MimePart::release_data() { |
3979 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3980 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimePart.data) |
3981 | 0 | if (content_case() != kData) { |
3982 | 0 | return nullptr; |
3983 | 0 | } |
3984 | 0 | clear_has_content(); |
3985 | 0 | return _impl_.content_.data_.Release(); |
3986 | 0 | } |
3987 | 0 | inline void MimePart::set_allocated_data(std::string* value) { |
3988 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3989 | 0 | if (has_content()) { |
3990 | 0 | clear_content(); |
3991 | 0 | } |
3992 | 0 | if (value != nullptr) { |
3993 | 0 | set_has_data(); |
3994 | 0 | _impl_.content_.data_.InitAllocated(value, GetArena()); |
3995 | 0 | } |
3996 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimePart.data) |
3997 | 0 | } |
3998 | | |
3999 | | // .curl.fuzzer.proto.MimeSubparts subparts = 7; |
4000 | 0 | inline bool MimePart::has_subparts() const { |
4001 | 0 | return content_case() == kSubparts; |
4002 | 0 | } |
4003 | 0 | inline bool MimePart::_internal_has_subparts() const { |
4004 | 0 | return content_case() == kSubparts; |
4005 | 0 | } |
4006 | 0 | inline void MimePart::set_has_subparts() { |
4007 | 0 | _impl_._oneof_case_[0] = kSubparts; |
4008 | 0 | } |
4009 | 0 | inline void MimePart::clear_subparts() { |
4010 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4011 | 0 | if (content_case() == kSubparts) { |
4012 | 0 | if (GetArena() == nullptr) { |
4013 | 0 | delete _impl_.content_.subparts_; |
4014 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
4015 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.content_.subparts_); |
4016 | 0 | } |
4017 | 0 | clear_has_content(); |
4018 | 0 | } |
4019 | 0 | } |
4020 | 0 | inline ::curl::fuzzer::proto::MimeSubparts* MimePart::release_subparts() { |
4021 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimePart.subparts) |
4022 | 0 | if (content_case() == kSubparts) { |
4023 | 0 | clear_has_content(); |
4024 | 0 | auto* temp = _impl_.content_.subparts_; |
4025 | 0 | if (GetArena() != nullptr) { |
4026 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
4027 | 0 | } |
4028 | 0 | _impl_.content_.subparts_ = nullptr; |
4029 | 0 | return temp; |
4030 | 0 | } else { |
4031 | 0 | return nullptr; |
4032 | 0 | } |
4033 | 0 | } |
4034 | 0 | inline const ::curl::fuzzer::proto::MimeSubparts& MimePart::_internal_subparts() const { |
4035 | 0 | return content_case() == kSubparts ? *_impl_.content_.subparts_ : reinterpret_cast<::curl::fuzzer::proto::MimeSubparts&>(::curl::fuzzer::proto::_MimeSubparts_default_instance_); |
4036 | 0 | } |
4037 | 0 | inline const ::curl::fuzzer::proto::MimeSubparts& MimePart::subparts() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4038 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.subparts) |
4039 | 0 | return _internal_subparts(); |
4040 | 0 | } |
4041 | 0 | inline ::curl::fuzzer::proto::MimeSubparts* MimePart::unsafe_arena_release_subparts() { |
4042 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:curl.fuzzer.proto.MimePart.subparts) |
4043 | 0 | if (content_case() == kSubparts) { |
4044 | 0 | clear_has_content(); |
4045 | 0 | auto* temp = _impl_.content_.subparts_; |
4046 | 0 | _impl_.content_.subparts_ = nullptr; |
4047 | 0 | return temp; |
4048 | 0 | } else { |
4049 | 0 | return nullptr; |
4050 | 0 | } |
4051 | 0 | } |
4052 | 0 | inline void MimePart::unsafe_arena_set_allocated_subparts(::curl::fuzzer::proto::MimeSubparts* value) { |
4053 | 0 | // We rely on the oneof clear method to free the earlier contents |
4054 | 0 | // of this oneof. We can directly use the pointer we're given to |
4055 | 0 | // set the new value. |
4056 | 0 | clear_content(); |
4057 | 0 | if (value) { |
4058 | 0 | set_has_subparts(); |
4059 | 0 | _impl_.content_.subparts_ = value; |
4060 | 0 | } |
4061 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.MimePart.subparts) |
4062 | 0 | } |
4063 | 0 | inline ::curl::fuzzer::proto::MimeSubparts* MimePart::_internal_mutable_subparts() { |
4064 | 0 | if (content_case() != kSubparts) { |
4065 | 0 | clear_content(); |
4066 | 0 | set_has_subparts(); |
4067 | 0 | _impl_.content_.subparts_ = |
4068 | 0 | ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::MimeSubparts>(GetArena()); |
4069 | 0 | } |
4070 | 0 | return _impl_.content_.subparts_; |
4071 | 0 | } |
4072 | 0 | inline ::curl::fuzzer::proto::MimeSubparts* MimePart::mutable_subparts() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4073 | 0 | ::curl::fuzzer::proto::MimeSubparts* _msg = _internal_mutable_subparts(); |
4074 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePart.subparts) |
4075 | 0 | return _msg; |
4076 | 0 | } |
4077 | | |
4078 | | // bytes filename = 3; |
4079 | 0 | inline void MimePart::clear_filename() { |
4080 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4081 | 0 | _impl_.filename_.ClearToEmpty(); |
4082 | 0 | } |
4083 | | inline const std::string& MimePart::filename() const |
4084 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4085 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.filename) |
4086 | 0 | return _internal_filename(); |
4087 | 0 | } |
4088 | | template <typename Arg_, typename... Args_> |
4089 | | inline PROTOBUF_ALWAYS_INLINE void MimePart::set_filename(Arg_&& arg, |
4090 | | Args_... args) { |
4091 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4092 | | _impl_.filename_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4093 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimePart.filename) |
4094 | | } |
4095 | 0 | inline std::string* MimePart::mutable_filename() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4096 | 0 | std::string* _s = _internal_mutable_filename(); |
4097 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePart.filename) |
4098 | 0 | return _s; |
4099 | 0 | } |
4100 | 0 | inline const std::string& MimePart::_internal_filename() const { |
4101 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4102 | 0 | return _impl_.filename_.Get(); |
4103 | 0 | } |
4104 | 0 | inline void MimePart::_internal_set_filename(const std::string& value) { |
4105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4106 | 0 | _impl_.filename_.Set(value, GetArena()); |
4107 | 0 | } |
4108 | 0 | inline std::string* MimePart::_internal_mutable_filename() { |
4109 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4110 | 0 | return _impl_.filename_.Mutable( GetArena()); |
4111 | 0 | } |
4112 | 0 | inline std::string* MimePart::release_filename() { |
4113 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4114 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimePart.filename) |
4115 | 0 | return _impl_.filename_.Release(); |
4116 | 0 | } |
4117 | 0 | inline void MimePart::set_allocated_filename(std::string* value) { |
4118 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4119 | 0 | _impl_.filename_.SetAllocated(value, GetArena()); |
4120 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filename_.IsDefault()) { |
4121 | 0 | _impl_.filename_.Set("", GetArena()); |
4122 | 0 | } |
4123 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimePart.filename) |
4124 | 0 | } |
4125 | | |
4126 | | // bytes content_type = 4; |
4127 | 0 | inline void MimePart::clear_content_type() { |
4128 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4129 | 0 | _impl_.content_type_.ClearToEmpty(); |
4130 | 0 | } |
4131 | | inline const std::string& MimePart::content_type() const |
4132 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4133 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.content_type) |
4134 | 0 | return _internal_content_type(); |
4135 | 0 | } |
4136 | | template <typename Arg_, typename... Args_> |
4137 | | inline PROTOBUF_ALWAYS_INLINE void MimePart::set_content_type(Arg_&& arg, |
4138 | | Args_... args) { |
4139 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4140 | | _impl_.content_type_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4141 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimePart.content_type) |
4142 | | } |
4143 | 0 | inline std::string* MimePart::mutable_content_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4144 | 0 | std::string* _s = _internal_mutable_content_type(); |
4145 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePart.content_type) |
4146 | 0 | return _s; |
4147 | 0 | } |
4148 | 0 | inline const std::string& MimePart::_internal_content_type() const { |
4149 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4150 | 0 | return _impl_.content_type_.Get(); |
4151 | 0 | } |
4152 | 0 | inline void MimePart::_internal_set_content_type(const std::string& value) { |
4153 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4154 | 0 | _impl_.content_type_.Set(value, GetArena()); |
4155 | 0 | } |
4156 | 0 | inline std::string* MimePart::_internal_mutable_content_type() { |
4157 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4158 | 0 | return _impl_.content_type_.Mutable( GetArena()); |
4159 | 0 | } |
4160 | 0 | inline std::string* MimePart::release_content_type() { |
4161 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4162 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimePart.content_type) |
4163 | 0 | return _impl_.content_type_.Release(); |
4164 | 0 | } |
4165 | 0 | inline void MimePart::set_allocated_content_type(std::string* value) { |
4166 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4167 | 0 | _impl_.content_type_.SetAllocated(value, GetArena()); |
4168 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.content_type_.IsDefault()) { |
4169 | 0 | _impl_.content_type_.Set("", GetArena()); |
4170 | 0 | } |
4171 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimePart.content_type) |
4172 | 0 | } |
4173 | | |
4174 | | // .curl.fuzzer.proto.MimeEncoder encoder = 5; |
4175 | 0 | inline void MimePart::clear_encoder() { |
4176 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4177 | 0 | _impl_.encoder_ = 0; |
4178 | 0 | } |
4179 | 0 | inline ::curl::fuzzer::proto::MimeEncoder MimePart::encoder() const { |
4180 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.encoder) |
4181 | 0 | return _internal_encoder(); |
4182 | 0 | } |
4183 | 0 | inline void MimePart::set_encoder(::curl::fuzzer::proto::MimeEncoder value) { |
4184 | 0 | _internal_set_encoder(value); |
4185 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimePart.encoder) |
4186 | 0 | } |
4187 | 0 | inline ::curl::fuzzer::proto::MimeEncoder MimePart::_internal_encoder() const { |
4188 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4189 | 0 | return static_cast<::curl::fuzzer::proto::MimeEncoder>(_impl_.encoder_); |
4190 | 0 | } |
4191 | 0 | inline void MimePart::_internal_set_encoder(::curl::fuzzer::proto::MimeEncoder value) { |
4192 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4193 | 0 | _impl_.encoder_ = value; |
4194 | 0 | } |
4195 | | |
4196 | | // repeated bytes headers = 6; |
4197 | 0 | inline int MimePart::_internal_headers_size() const { |
4198 | 0 | return _internal_headers().size(); |
4199 | 0 | } |
4200 | 0 | inline int MimePart::headers_size() const { |
4201 | 0 | return _internal_headers_size(); |
4202 | 0 | } |
4203 | 0 | inline void MimePart::clear_headers() { |
4204 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4205 | 0 | _impl_.headers_.Clear(); |
4206 | 0 | } |
4207 | 0 | inline std::string* MimePart::add_headers() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4208 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4209 | 0 | std::string* _s = _internal_mutable_headers()->Add(); |
4210 | 0 | // @@protoc_insertion_point(field_add_mutable:curl.fuzzer.proto.MimePart.headers) |
4211 | 0 | return _s; |
4212 | 0 | } |
4213 | | inline const std::string& MimePart::headers(int index) const |
4214 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4215 | 0 | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimePart.headers) |
4216 | 0 | return _internal_headers().Get(index); |
4217 | 0 | } |
4218 | | inline std::string* MimePart::mutable_headers(int index) |
4219 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4220 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimePart.headers) |
4221 | 0 | return _internal_mutable_headers()->Mutable(index); |
4222 | 0 | } |
4223 | | template <typename Arg_, typename... Args_> |
4224 | | inline void MimePart::set_headers(int index, Arg_&& value, Args_... args) { |
4225 | | ::google::protobuf::internal::AssignToString( |
4226 | | *_internal_mutable_headers()->Mutable(index), |
4227 | | std::forward<Arg_>(value), args... , ::google::protobuf::internal::BytesTag{}); |
4228 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimePart.headers) |
4229 | | } |
4230 | | template <typename Arg_, typename... Args_> |
4231 | | inline void MimePart::add_headers(Arg_&& value, Args_... args) { |
4232 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4233 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_headers(), |
4234 | | std::forward<Arg_>(value), |
4235 | | args... , ::google::protobuf::internal::BytesTag{}); |
4236 | | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.MimePart.headers) |
4237 | | } |
4238 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
4239 | 0 | MimePart::headers() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4240 | | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.MimePart.headers) |
4241 | 0 | return _internal_headers(); |
4242 | 0 | } |
4243 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
4244 | 0 | MimePart::mutable_headers() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4245 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.MimePart.headers) |
4246 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4247 | 0 | return _internal_mutable_headers(); |
4248 | 0 | } |
4249 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
4250 | 0 | MimePart::_internal_headers() const { |
4251 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4252 | 0 | return _impl_.headers_; |
4253 | 0 | } |
4254 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
4255 | 0 | MimePart::_internal_mutable_headers() { |
4256 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4257 | 0 | return &_impl_.headers_; |
4258 | 0 | } |
4259 | | |
4260 | 0 | inline bool MimePart::has_content() const { |
4261 | 0 | return content_case() != CONTENT_NOT_SET; |
4262 | 0 | } |
4263 | 0 | inline void MimePart::clear_has_content() { |
4264 | 0 | _impl_._oneof_case_[0] = CONTENT_NOT_SET; |
4265 | 0 | } |
4266 | 0 | inline MimePart::ContentCase MimePart::content_case() const { |
4267 | 0 | return MimePart::ContentCase(_impl_._oneof_case_[0]); |
4268 | 0 | } |
4269 | | // ------------------------------------------------------------------- |
4270 | | |
4271 | | // MimeSubparts |
4272 | | |
4273 | | // repeated .curl.fuzzer.proto.MimeDataPart parts = 1; |
4274 | 0 | inline int MimeSubparts::_internal_parts_size() const { |
4275 | 0 | return _internal_parts().size(); |
4276 | 0 | } |
4277 | 0 | inline int MimeSubparts::parts_size() const { |
4278 | 0 | return _internal_parts_size(); |
4279 | 0 | } |
4280 | 0 | inline void MimeSubparts::clear_parts() { |
4281 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4282 | 0 | _impl_.parts_.Clear(); |
4283 | 0 | } |
4284 | | inline ::curl::fuzzer::proto::MimeDataPart* MimeSubparts::mutable_parts(int index) |
4285 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4286 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimeSubparts.parts) |
4287 | 0 | return _internal_mutable_parts()->Mutable(index); |
4288 | 0 | } |
4289 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>* MimeSubparts::mutable_parts() |
4290 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4291 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.MimeSubparts.parts) |
4292 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4293 | 0 | return _internal_mutable_parts(); |
4294 | 0 | } |
4295 | | inline const ::curl::fuzzer::proto::MimeDataPart& MimeSubparts::parts(int index) const |
4296 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4297 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeSubparts.parts) |
4298 | 0 | return _internal_parts().Get(index); |
4299 | 0 | } |
4300 | 0 | inline ::curl::fuzzer::proto::MimeDataPart* MimeSubparts::add_parts() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4301 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4302 | 0 | ::curl::fuzzer::proto::MimeDataPart* _add = _internal_mutable_parts()->Add(); |
4303 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.MimeSubparts.parts) |
4304 | 0 | return _add; |
4305 | 0 | } |
4306 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>& MimeSubparts::parts() const |
4307 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4308 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.MimeSubparts.parts) |
4309 | 0 | return _internal_parts(); |
4310 | 0 | } |
4311 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>& |
4312 | 0 | MimeSubparts::_internal_parts() const { |
4313 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4314 | 0 | return _impl_.parts_; |
4315 | 0 | } |
4316 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::MimeDataPart>* |
4317 | 0 | MimeSubparts::_internal_mutable_parts() { |
4318 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4319 | 0 | return &_impl_.parts_; |
4320 | 0 | } |
4321 | | |
4322 | | // ------------------------------------------------------------------- |
4323 | | |
4324 | | // MimeDataPart |
4325 | | |
4326 | | // bytes name = 1; |
4327 | 0 | inline void MimeDataPart::clear_name() { |
4328 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4329 | 0 | _impl_.name_.ClearToEmpty(); |
4330 | 0 | } |
4331 | | inline const std::string& MimeDataPart::name() const |
4332 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4333 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeDataPart.name) |
4334 | 0 | return _internal_name(); |
4335 | 0 | } |
4336 | | template <typename Arg_, typename... Args_> |
4337 | | inline PROTOBUF_ALWAYS_INLINE void MimeDataPart::set_name(Arg_&& arg, |
4338 | | Args_... args) { |
4339 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4340 | | _impl_.name_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4341 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimeDataPart.name) |
4342 | | } |
4343 | 0 | inline std::string* MimeDataPart::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4344 | 0 | std::string* _s = _internal_mutable_name(); |
4345 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimeDataPart.name) |
4346 | 0 | return _s; |
4347 | 0 | } |
4348 | 0 | inline const std::string& MimeDataPart::_internal_name() const { |
4349 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4350 | 0 | return _impl_.name_.Get(); |
4351 | 0 | } |
4352 | 0 | inline void MimeDataPart::_internal_set_name(const std::string& value) { |
4353 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4354 | 0 | _impl_.name_.Set(value, GetArena()); |
4355 | 0 | } |
4356 | 0 | inline std::string* MimeDataPart::_internal_mutable_name() { |
4357 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4358 | 0 | return _impl_.name_.Mutable( GetArena()); |
4359 | 0 | } |
4360 | 0 | inline std::string* MimeDataPart::release_name() { |
4361 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4362 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimeDataPart.name) |
4363 | 0 | return _impl_.name_.Release(); |
4364 | 0 | } |
4365 | 0 | inline void MimeDataPart::set_allocated_name(std::string* value) { |
4366 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4367 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
4368 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
4369 | 0 | _impl_.name_.Set("", GetArena()); |
4370 | 0 | } |
4371 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimeDataPart.name) |
4372 | 0 | } |
4373 | | |
4374 | | // bytes data = 2; |
4375 | 0 | inline void MimeDataPart::clear_data() { |
4376 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4377 | 0 | _impl_.data_.ClearToEmpty(); |
4378 | 0 | } |
4379 | | inline const std::string& MimeDataPart::data() const |
4380 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4381 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeDataPart.data) |
4382 | 0 | return _internal_data(); |
4383 | 0 | } |
4384 | | template <typename Arg_, typename... Args_> |
4385 | | inline PROTOBUF_ALWAYS_INLINE void MimeDataPart::set_data(Arg_&& arg, |
4386 | | Args_... args) { |
4387 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4388 | | _impl_.data_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4389 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimeDataPart.data) |
4390 | | } |
4391 | 0 | inline std::string* MimeDataPart::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4392 | 0 | std::string* _s = _internal_mutable_data(); |
4393 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimeDataPart.data) |
4394 | 0 | return _s; |
4395 | 0 | } |
4396 | 0 | inline const std::string& MimeDataPart::_internal_data() const { |
4397 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4398 | 0 | return _impl_.data_.Get(); |
4399 | 0 | } |
4400 | 0 | inline void MimeDataPart::_internal_set_data(const std::string& value) { |
4401 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4402 | 0 | _impl_.data_.Set(value, GetArena()); |
4403 | 0 | } |
4404 | 0 | inline std::string* MimeDataPart::_internal_mutable_data() { |
4405 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4406 | 0 | return _impl_.data_.Mutable( GetArena()); |
4407 | 0 | } |
4408 | 0 | inline std::string* MimeDataPart::release_data() { |
4409 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4410 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimeDataPart.data) |
4411 | 0 | return _impl_.data_.Release(); |
4412 | 0 | } |
4413 | 0 | inline void MimeDataPart::set_allocated_data(std::string* value) { |
4414 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4415 | 0 | _impl_.data_.SetAllocated(value, GetArena()); |
4416 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { |
4417 | 0 | _impl_.data_.Set("", GetArena()); |
4418 | 0 | } |
4419 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimeDataPart.data) |
4420 | 0 | } |
4421 | | |
4422 | | // bytes filename = 3; |
4423 | 0 | inline void MimeDataPart::clear_filename() { |
4424 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4425 | 0 | _impl_.filename_.ClearToEmpty(); |
4426 | 0 | } |
4427 | | inline const std::string& MimeDataPart::filename() const |
4428 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4429 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeDataPart.filename) |
4430 | 0 | return _internal_filename(); |
4431 | 0 | } |
4432 | | template <typename Arg_, typename... Args_> |
4433 | | inline PROTOBUF_ALWAYS_INLINE void MimeDataPart::set_filename(Arg_&& arg, |
4434 | | Args_... args) { |
4435 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4436 | | _impl_.filename_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4437 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimeDataPart.filename) |
4438 | | } |
4439 | 0 | inline std::string* MimeDataPart::mutable_filename() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4440 | 0 | std::string* _s = _internal_mutable_filename(); |
4441 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimeDataPart.filename) |
4442 | 0 | return _s; |
4443 | 0 | } |
4444 | 0 | inline const std::string& MimeDataPart::_internal_filename() const { |
4445 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4446 | 0 | return _impl_.filename_.Get(); |
4447 | 0 | } |
4448 | 0 | inline void MimeDataPart::_internal_set_filename(const std::string& value) { |
4449 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4450 | 0 | _impl_.filename_.Set(value, GetArena()); |
4451 | 0 | } |
4452 | 0 | inline std::string* MimeDataPart::_internal_mutable_filename() { |
4453 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4454 | 0 | return _impl_.filename_.Mutable( GetArena()); |
4455 | 0 | } |
4456 | 0 | inline std::string* MimeDataPart::release_filename() { |
4457 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4458 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimeDataPart.filename) |
4459 | 0 | return _impl_.filename_.Release(); |
4460 | 0 | } |
4461 | 0 | inline void MimeDataPart::set_allocated_filename(std::string* value) { |
4462 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4463 | 0 | _impl_.filename_.SetAllocated(value, GetArena()); |
4464 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filename_.IsDefault()) { |
4465 | 0 | _impl_.filename_.Set("", GetArena()); |
4466 | 0 | } |
4467 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimeDataPart.filename) |
4468 | 0 | } |
4469 | | |
4470 | | // bytes content_type = 4; |
4471 | 0 | inline void MimeDataPart::clear_content_type() { |
4472 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4473 | 0 | _impl_.content_type_.ClearToEmpty(); |
4474 | 0 | } |
4475 | | inline const std::string& MimeDataPart::content_type() const |
4476 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4477 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeDataPart.content_type) |
4478 | 0 | return _internal_content_type(); |
4479 | 0 | } |
4480 | | template <typename Arg_, typename... Args_> |
4481 | | inline PROTOBUF_ALWAYS_INLINE void MimeDataPart::set_content_type(Arg_&& arg, |
4482 | | Args_... args) { |
4483 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4484 | | _impl_.content_type_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4485 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimeDataPart.content_type) |
4486 | | } |
4487 | 0 | inline std::string* MimeDataPart::mutable_content_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4488 | 0 | std::string* _s = _internal_mutable_content_type(); |
4489 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimeDataPart.content_type) |
4490 | 0 | return _s; |
4491 | 0 | } |
4492 | 0 | inline const std::string& MimeDataPart::_internal_content_type() const { |
4493 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4494 | 0 | return _impl_.content_type_.Get(); |
4495 | 0 | } |
4496 | 0 | inline void MimeDataPart::_internal_set_content_type(const std::string& value) { |
4497 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4498 | 0 | _impl_.content_type_.Set(value, GetArena()); |
4499 | 0 | } |
4500 | 0 | inline std::string* MimeDataPart::_internal_mutable_content_type() { |
4501 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4502 | 0 | return _impl_.content_type_.Mutable( GetArena()); |
4503 | 0 | } |
4504 | 0 | inline std::string* MimeDataPart::release_content_type() { |
4505 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4506 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.MimeDataPart.content_type) |
4507 | 0 | return _impl_.content_type_.Release(); |
4508 | 0 | } |
4509 | 0 | inline void MimeDataPart::set_allocated_content_type(std::string* value) { |
4510 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4511 | 0 | _impl_.content_type_.SetAllocated(value, GetArena()); |
4512 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.content_type_.IsDefault()) { |
4513 | 0 | _impl_.content_type_.Set("", GetArena()); |
4514 | 0 | } |
4515 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.MimeDataPart.content_type) |
4516 | 0 | } |
4517 | | |
4518 | | // .curl.fuzzer.proto.MimeEncoder encoder = 5; |
4519 | 0 | inline void MimeDataPart::clear_encoder() { |
4520 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4521 | 0 | _impl_.encoder_ = 0; |
4522 | 0 | } |
4523 | 0 | inline ::curl::fuzzer::proto::MimeEncoder MimeDataPart::encoder() const { |
4524 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeDataPart.encoder) |
4525 | 0 | return _internal_encoder(); |
4526 | 0 | } |
4527 | 0 | inline void MimeDataPart::set_encoder(::curl::fuzzer::proto::MimeEncoder value) { |
4528 | 0 | _internal_set_encoder(value); |
4529 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimeDataPart.encoder) |
4530 | 0 | } |
4531 | 0 | inline ::curl::fuzzer::proto::MimeEncoder MimeDataPart::_internal_encoder() const { |
4532 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4533 | 0 | return static_cast<::curl::fuzzer::proto::MimeEncoder>(_impl_.encoder_); |
4534 | 0 | } |
4535 | 0 | inline void MimeDataPart::_internal_set_encoder(::curl::fuzzer::proto::MimeEncoder value) { |
4536 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4537 | 0 | _impl_.encoder_ = value; |
4538 | 0 | } |
4539 | | |
4540 | | // repeated bytes headers = 6; |
4541 | 0 | inline int MimeDataPart::_internal_headers_size() const { |
4542 | 0 | return _internal_headers().size(); |
4543 | 0 | } |
4544 | 0 | inline int MimeDataPart::headers_size() const { |
4545 | 0 | return _internal_headers_size(); |
4546 | 0 | } |
4547 | 0 | inline void MimeDataPart::clear_headers() { |
4548 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4549 | 0 | _impl_.headers_.Clear(); |
4550 | 0 | } |
4551 | 0 | inline std::string* MimeDataPart::add_headers() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4552 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4553 | 0 | std::string* _s = _internal_mutable_headers()->Add(); |
4554 | 0 | // @@protoc_insertion_point(field_add_mutable:curl.fuzzer.proto.MimeDataPart.headers) |
4555 | 0 | return _s; |
4556 | 0 | } |
4557 | | inline const std::string& MimeDataPart::headers(int index) const |
4558 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4559 | 0 | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.MimeDataPart.headers) |
4560 | 0 | return _internal_headers().Get(index); |
4561 | 0 | } |
4562 | | inline std::string* MimeDataPart::mutable_headers(int index) |
4563 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4564 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.MimeDataPart.headers) |
4565 | 0 | return _internal_mutable_headers()->Mutable(index); |
4566 | 0 | } |
4567 | | template <typename Arg_, typename... Args_> |
4568 | | inline void MimeDataPart::set_headers(int index, Arg_&& value, Args_... args) { |
4569 | | ::google::protobuf::internal::AssignToString( |
4570 | | *_internal_mutable_headers()->Mutable(index), |
4571 | | std::forward<Arg_>(value), args... , ::google::protobuf::internal::BytesTag{}); |
4572 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.MimeDataPart.headers) |
4573 | | } |
4574 | | template <typename Arg_, typename... Args_> |
4575 | | inline void MimeDataPart::add_headers(Arg_&& value, Args_... args) { |
4576 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4577 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_headers(), |
4578 | | std::forward<Arg_>(value), |
4579 | | args... , ::google::protobuf::internal::BytesTag{}); |
4580 | | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.MimeDataPart.headers) |
4581 | | } |
4582 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
4583 | 0 | MimeDataPart::headers() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4584 | | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.MimeDataPart.headers) |
4585 | 0 | return _internal_headers(); |
4586 | 0 | } |
4587 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
4588 | 0 | MimeDataPart::mutable_headers() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4589 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.MimeDataPart.headers) |
4590 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4591 | 0 | return _internal_mutable_headers(); |
4592 | 0 | } |
4593 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
4594 | 0 | MimeDataPart::_internal_headers() const { |
4595 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4596 | 0 | return _impl_.headers_; |
4597 | 0 | } |
4598 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
4599 | 0 | MimeDataPart::_internal_mutable_headers() { |
4600 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4601 | 0 | return &_impl_.headers_; |
4602 | 0 | } |
4603 | | |
4604 | | // ------------------------------------------------------------------- |
4605 | | |
4606 | | // SetOption |
4607 | | |
4608 | | // .curl.fuzzer.proto.CurlOptionId option_id = 1; |
4609 | 0 | inline void SetOption::clear_option_id() { |
4610 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4611 | 0 | _impl_.option_id_ = 0; |
4612 | 0 | } |
4613 | 61.9k | inline ::curl::fuzzer::proto::CurlOptionId SetOption::option_id() const { |
4614 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.option_id) |
4615 | 61.9k | return _internal_option_id(); |
4616 | 61.9k | } |
4617 | 0 | inline void SetOption::set_option_id(::curl::fuzzer::proto::CurlOptionId value) { |
4618 | 0 | _internal_set_option_id(value); |
4619 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.option_id) |
4620 | 0 | } |
4621 | 61.9k | inline ::curl::fuzzer::proto::CurlOptionId SetOption::_internal_option_id() const { |
4622 | 61.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
4623 | 61.9k | return static_cast<::curl::fuzzer::proto::CurlOptionId>(_impl_.option_id_); |
4624 | 61.9k | } |
4625 | 0 | inline void SetOption::_internal_set_option_id(::curl::fuzzer::proto::CurlOptionId value) { |
4626 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4627 | 0 | _impl_.option_id_ = value; |
4628 | 0 | } |
4629 | | |
4630 | | // bytes string_value = 10; |
4631 | 0 | inline bool SetOption::has_string_value() const { |
4632 | 0 | return value_case() == kStringValue; |
4633 | 0 | } |
4634 | 0 | inline void SetOption::set_has_string_value() { |
4635 | 0 | _impl_._oneof_case_[0] = kStringValue; |
4636 | 0 | } |
4637 | 0 | inline void SetOption::clear_string_value() { |
4638 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4639 | 0 | if (value_case() == kStringValue) { |
4640 | 0 | _impl_.value_.string_value_.Destroy(); |
4641 | 0 | clear_has_value(); |
4642 | 0 | } |
4643 | 0 | } |
4644 | | inline const std::string& SetOption::string_value() const |
4645 | 4.25k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4646 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.string_value) |
4647 | 4.25k | return _internal_string_value(); |
4648 | 4.25k | } |
4649 | | template <typename Arg_, typename... Args_> |
4650 | | inline PROTOBUF_ALWAYS_INLINE void SetOption::set_string_value(Arg_&& arg, |
4651 | 0 | Args_... args) { |
4652 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4653 | 0 | if (value_case() != kStringValue) { |
4654 | 0 | clear_value(); |
4655 | |
|
4656 | 0 | set_has_string_value(); |
4657 | 0 | _impl_.value_.string_value_.InitDefault(); |
4658 | 0 | } |
4659 | 0 | _impl_.value_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4660 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.string_value) |
4661 | 0 | } |
4662 | 0 | inline std::string* SetOption::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4663 | 0 | std::string* _s = _internal_mutable_string_value(); |
4664 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.SetOption.string_value) |
4665 | 0 | return _s; |
4666 | 0 | } |
4667 | 4.25k | inline const std::string& SetOption::_internal_string_value() const { |
4668 | 4.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
4669 | 4.25k | if (value_case() != kStringValue) { |
4670 | 2.83k | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
4671 | 2.83k | } |
4672 | 1.42k | return _impl_.value_.string_value_.Get(); |
4673 | 4.25k | } |
4674 | 0 | inline void SetOption::_internal_set_string_value(const std::string& value) { |
4675 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4676 | 0 | if (value_case() != kStringValue) { |
4677 | 0 | clear_value(); |
4678 | 0 |
|
4679 | 0 | set_has_string_value(); |
4680 | 0 | _impl_.value_.string_value_.InitDefault(); |
4681 | 0 | } |
4682 | 0 | _impl_.value_.string_value_.Set(value, GetArena()); |
4683 | 0 | } |
4684 | 0 | inline std::string* SetOption::_internal_mutable_string_value() { |
4685 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4686 | 0 | if (value_case() != kStringValue) { |
4687 | 0 | clear_value(); |
4688 | |
|
4689 | 0 | set_has_string_value(); |
4690 | 0 | _impl_.value_.string_value_.InitDefault(); |
4691 | 0 | } |
4692 | 0 | return _impl_.value_.string_value_.Mutable( GetArena()); |
4693 | 0 | } |
4694 | 0 | inline std::string* SetOption::release_string_value() { |
4695 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4696 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.SetOption.string_value) |
4697 | 0 | if (value_case() != kStringValue) { |
4698 | 0 | return nullptr; |
4699 | 0 | } |
4700 | 0 | clear_has_value(); |
4701 | 0 | return _impl_.value_.string_value_.Release(); |
4702 | 0 | } |
4703 | 0 | inline void SetOption::set_allocated_string_value(std::string* value) { |
4704 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4705 | 0 | if (has_value()) { |
4706 | 0 | clear_value(); |
4707 | 0 | } |
4708 | 0 | if (value != nullptr) { |
4709 | 0 | set_has_string_value(); |
4710 | 0 | _impl_.value_.string_value_.InitAllocated(value, GetArena()); |
4711 | 0 | } |
4712 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.SetOption.string_value) |
4713 | 0 | } |
4714 | | |
4715 | | // uint64 uint_value = 11; |
4716 | 0 | inline bool SetOption::has_uint_value() const { |
4717 | 0 | return value_case() == kUintValue; |
4718 | 0 | } |
4719 | 0 | inline void SetOption::set_has_uint_value() { |
4720 | 0 | _impl_._oneof_case_[0] = kUintValue; |
4721 | 0 | } |
4722 | 0 | inline void SetOption::clear_uint_value() { |
4723 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4724 | 0 | if (value_case() == kUintValue) { |
4725 | 0 | _impl_.value_.uint_value_ = ::uint64_t{0u}; |
4726 | 0 | clear_has_value(); |
4727 | 0 | } |
4728 | 0 | } |
4729 | 8.41k | inline ::uint64_t SetOption::uint_value() const { |
4730 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.uint_value) |
4731 | 8.41k | return _internal_uint_value(); |
4732 | 8.41k | } |
4733 | 0 | inline void SetOption::set_uint_value(::uint64_t value) { |
4734 | 0 | if (value_case() != kUintValue) { |
4735 | 0 | clear_value(); |
4736 | 0 | set_has_uint_value(); |
4737 | 0 | } |
4738 | 0 | _impl_.value_.uint_value_ = value; |
4739 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.uint_value) |
4740 | 0 | } |
4741 | 8.41k | inline ::uint64_t SetOption::_internal_uint_value() const { |
4742 | 8.41k | if (value_case() == kUintValue) { |
4743 | 8.41k | return _impl_.value_.uint_value_; |
4744 | 8.41k | } |
4745 | 0 | return ::uint64_t{0u}; |
4746 | 8.41k | } |
4747 | | |
4748 | | // bool bool_value = 12; |
4749 | 0 | inline bool SetOption::has_bool_value() const { |
4750 | 0 | return value_case() == kBoolValue; |
4751 | 0 | } |
4752 | 0 | inline void SetOption::set_has_bool_value() { |
4753 | 0 | _impl_._oneof_case_[0] = kBoolValue; |
4754 | 0 | } |
4755 | 0 | inline void SetOption::clear_bool_value() { |
4756 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4757 | 0 | if (value_case() == kBoolValue) { |
4758 | 0 | _impl_.value_.bool_value_ = false; |
4759 | 0 | clear_has_value(); |
4760 | 0 | } |
4761 | 0 | } |
4762 | 3.02k | inline bool SetOption::bool_value() const { |
4763 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.bool_value) |
4764 | 3.02k | return _internal_bool_value(); |
4765 | 3.02k | } |
4766 | 0 | inline void SetOption::set_bool_value(bool value) { |
4767 | 0 | if (value_case() != kBoolValue) { |
4768 | 0 | clear_value(); |
4769 | 0 | set_has_bool_value(); |
4770 | 0 | } |
4771 | 0 | _impl_.value_.bool_value_ = value; |
4772 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.bool_value) |
4773 | 0 | } |
4774 | 3.02k | inline bool SetOption::_internal_bool_value() const { |
4775 | 3.02k | if (value_case() == kBoolValue) { |
4776 | 3.02k | return _impl_.value_.bool_value_; |
4777 | 3.02k | } |
4778 | 0 | return false; |
4779 | 3.02k | } |
4780 | | |
4781 | 65.7k | inline bool SetOption::has_value() const { |
4782 | 65.7k | return value_case() != VALUE_NOT_SET; |
4783 | 65.7k | } |
4784 | 0 | inline void SetOption::clear_has_value() { |
4785 | 0 | _impl_._oneof_case_[0] = VALUE_NOT_SET; |
4786 | 0 | } |
4787 | 140k | inline SetOption::ValueCase SetOption::value_case() const { |
4788 | 140k | return SetOption::ValueCase(_impl_._oneof_case_[0]); |
4789 | 140k | } |
4790 | | // ------------------------------------------------------------------- |
4791 | | |
4792 | | // Connection |
4793 | | |
4794 | | // bytes initial_response = 1; |
4795 | 0 | inline void Connection::clear_initial_response() { |
4796 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4797 | 0 | _impl_.initial_response_.ClearToEmpty(); |
4798 | 0 | } |
4799 | | inline const std::string& Connection::initial_response() const |
4800 | 7.72k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4801 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.initial_response) |
4802 | 7.72k | return _internal_initial_response(); |
4803 | 7.72k | } |
4804 | | template <typename Arg_, typename... Args_> |
4805 | | inline PROTOBUF_ALWAYS_INLINE void Connection::set_initial_response(Arg_&& arg, |
4806 | | Args_... args) { |
4807 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4808 | | _impl_.initial_response_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
4809 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Connection.initial_response) |
4810 | | } |
4811 | 0 | inline std::string* Connection::mutable_initial_response() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4812 | 0 | std::string* _s = _internal_mutable_initial_response(); |
4813 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.initial_response) |
4814 | 0 | return _s; |
4815 | 0 | } |
4816 | 7.72k | inline const std::string& Connection::_internal_initial_response() const { |
4817 | 7.72k | ::google::protobuf::internal::TSanRead(&_impl_); |
4818 | 7.72k | return _impl_.initial_response_.Get(); |
4819 | 7.72k | } |
4820 | 0 | inline void Connection::_internal_set_initial_response(const std::string& value) { |
4821 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4822 | 0 | _impl_.initial_response_.Set(value, GetArena()); |
4823 | 0 | } |
4824 | 0 | inline std::string* Connection::_internal_mutable_initial_response() { |
4825 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4826 | 0 | return _impl_.initial_response_.Mutable( GetArena()); |
4827 | 0 | } |
4828 | 0 | inline std::string* Connection::release_initial_response() { |
4829 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4830 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Connection.initial_response) |
4831 | 0 | return _impl_.initial_response_.Release(); |
4832 | 0 | } |
4833 | 0 | inline void Connection::set_allocated_initial_response(std::string* value) { |
4834 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4835 | 0 | _impl_.initial_response_.SetAllocated(value, GetArena()); |
4836 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.initial_response_.IsDefault()) { |
4837 | 0 | _impl_.initial_response_.Set("", GetArena()); |
4838 | 0 | } |
4839 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Connection.initial_response) |
4840 | 0 | } |
4841 | | |
4842 | | // repeated bytes on_readable = 2; |
4843 | 10.1k | inline int Connection::_internal_on_readable_size() const { |
4844 | 10.1k | return _internal_on_readable().size(); |
4845 | 10.1k | } |
4846 | 10.1k | inline int Connection::on_readable_size() const { |
4847 | 10.1k | return _internal_on_readable_size(); |
4848 | 10.1k | } |
4849 | 0 | inline void Connection::clear_on_readable() { |
4850 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4851 | 0 | _impl_.on_readable_.Clear(); |
4852 | 0 | } |
4853 | 0 | inline std::string* Connection::add_on_readable() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4854 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4855 | 0 | std::string* _s = _internal_mutable_on_readable()->Add(); |
4856 | 0 | // @@protoc_insertion_point(field_add_mutable:curl.fuzzer.proto.Connection.on_readable) |
4857 | 0 | return _s; |
4858 | 0 | } |
4859 | | inline const std::string& Connection::on_readable(int index) const |
4860 | 13.7k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4861 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.on_readable) |
4862 | 13.7k | return _internal_on_readable().Get(index); |
4863 | 13.7k | } |
4864 | | inline std::string* Connection::mutable_on_readable(int index) |
4865 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4866 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.on_readable) |
4867 | 0 | return _internal_mutable_on_readable()->Mutable(index); |
4868 | 0 | } |
4869 | | template <typename Arg_, typename... Args_> |
4870 | | inline void Connection::set_on_readable(int index, Arg_&& value, Args_... args) { |
4871 | | ::google::protobuf::internal::AssignToString( |
4872 | | *_internal_mutable_on_readable()->Mutable(index), |
4873 | | std::forward<Arg_>(value), args... , ::google::protobuf::internal::BytesTag{}); |
4874 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Connection.on_readable) |
4875 | | } |
4876 | | template <typename Arg_, typename... Args_> |
4877 | | inline void Connection::add_on_readable(Arg_&& value, Args_... args) { |
4878 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4879 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_on_readable(), |
4880 | | std::forward<Arg_>(value), |
4881 | | args... , ::google::protobuf::internal::BytesTag{}); |
4882 | | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Connection.on_readable) |
4883 | | } |
4884 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
4885 | 0 | Connection::on_readable() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4886 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Connection.on_readable) |
4887 | 0 | return _internal_on_readable(); |
4888 | 0 | } |
4889 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
4890 | 0 | Connection::mutable_on_readable() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4891 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Connection.on_readable) |
4892 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4893 | 0 | return _internal_mutable_on_readable(); |
4894 | 0 | } |
4895 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
4896 | 23.9k | Connection::_internal_on_readable() const { |
4897 | 23.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
4898 | 23.9k | return _impl_.on_readable_; |
4899 | 23.9k | } |
4900 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
4901 | 0 | Connection::_internal_mutable_on_readable() { |
4902 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4903 | 0 | return &_impl_.on_readable_; |
4904 | 0 | } |
4905 | | |
4906 | | // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3; |
4907 | 10.1k | inline int Connection::_internal_server_frames_size() const { |
4908 | 10.1k | return _internal_server_frames().size(); |
4909 | 10.1k | } |
4910 | 10.1k | inline int Connection::server_frames_size() const { |
4911 | 10.1k | return _internal_server_frames_size(); |
4912 | 10.1k | } |
4913 | 0 | inline void Connection::clear_server_frames() { |
4914 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4915 | 0 | _impl_.server_frames_.Clear(); |
4916 | 0 | } |
4917 | | inline ::curl::fuzzer::proto::WebSocketFrame* Connection::mutable_server_frames(int index) |
4918 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4919 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.server_frames) |
4920 | 0 | return _internal_mutable_server_frames()->Mutable(index); |
4921 | 0 | } |
4922 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* Connection::mutable_server_frames() |
4923 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4924 | | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Connection.server_frames) |
4925 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4926 | 0 | return _internal_mutable_server_frames(); |
4927 | 0 | } |
4928 | | inline const ::curl::fuzzer::proto::WebSocketFrame& Connection::server_frames(int index) const |
4929 | 7.35k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4930 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.server_frames) |
4931 | 7.35k | return _internal_server_frames().Get(index); |
4932 | 7.35k | } |
4933 | 0 | inline ::curl::fuzzer::proto::WebSocketFrame* Connection::add_server_frames() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4934 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4935 | 0 | ::curl::fuzzer::proto::WebSocketFrame* _add = _internal_mutable_server_frames()->Add(); |
4936 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Connection.server_frames) |
4937 | 0 | return _add; |
4938 | 0 | } |
4939 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& Connection::server_frames() const |
4940 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4941 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Connection.server_frames) |
4942 | 0 | return _internal_server_frames(); |
4943 | 0 | } |
4944 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& |
4945 | 17.5k | Connection::_internal_server_frames() const { |
4946 | 17.5k | ::google::protobuf::internal::TSanRead(&_impl_); |
4947 | 17.5k | return _impl_.server_frames_; |
4948 | 17.5k | } |
4949 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* |
4950 | 0 | Connection::_internal_mutable_server_frames() { |
4951 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
4952 | 0 | return &_impl_.server_frames_; |
4953 | 0 | } |
4954 | | |
4955 | | // .curl.fuzzer.proto.BackpressureConfig backpressure = 4; |
4956 | 0 | inline bool Connection::has_backpressure() const { |
4957 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
4958 | 0 | PROTOBUF_ASSUME(!value || _impl_.backpressure_ != nullptr); |
4959 | 0 | return value; |
4960 | 0 | } |
4961 | 0 | inline void Connection::clear_backpressure() { |
4962 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4963 | 0 | if (_impl_.backpressure_ != nullptr) _impl_.backpressure_->Clear(); |
4964 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4965 | 0 | } |
4966 | 28.0k | inline const ::curl::fuzzer::proto::BackpressureConfig& Connection::_internal_backpressure() const { |
4967 | 28.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
4968 | 28.0k | const ::curl::fuzzer::proto::BackpressureConfig* p = _impl_.backpressure_; |
4969 | 28.0k | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::BackpressureConfig&>(::curl::fuzzer::proto::_BackpressureConfig_default_instance_); |
4970 | 28.0k | } |
4971 | 28.0k | inline const ::curl::fuzzer::proto::BackpressureConfig& Connection::backpressure() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4972 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.backpressure) |
4973 | 28.0k | return _internal_backpressure(); |
4974 | 28.0k | } |
4975 | 0 | inline void Connection::unsafe_arena_set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value) { |
4976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4977 | 0 | if (GetArena() == nullptr) { |
4978 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.backpressure_); |
4979 | 0 | } |
4980 | 0 | _impl_.backpressure_ = reinterpret_cast<::curl::fuzzer::proto::BackpressureConfig*>(value); |
4981 | 0 | if (value != nullptr) { |
4982 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4983 | 0 | } else { |
4984 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4985 | 0 | } |
4986 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Connection.backpressure) |
4987 | 0 | } |
4988 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::release_backpressure() { |
4989 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4990 | 0 |
|
4991 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4992 | 0 | ::curl::fuzzer::proto::BackpressureConfig* released = _impl_.backpressure_; |
4993 | 0 | _impl_.backpressure_ = nullptr; |
4994 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
4995 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
4996 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
4997 | 0 | if (GetArena() == nullptr) { |
4998 | 0 | delete old; |
4999 | 0 | } |
5000 | 0 | } else { |
5001 | 0 | if (GetArena() != nullptr) { |
5002 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
5003 | 0 | } |
5004 | 0 | } |
5005 | 0 | return released; |
5006 | 0 | } |
5007 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::unsafe_arena_release_backpressure() { |
5008 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5009 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Connection.backpressure) |
5010 | 0 |
|
5011 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
5012 | 0 | ::curl::fuzzer::proto::BackpressureConfig* temp = _impl_.backpressure_; |
5013 | 0 | _impl_.backpressure_ = nullptr; |
5014 | 0 | return temp; |
5015 | 0 | } |
5016 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::_internal_mutable_backpressure() { |
5017 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5018 | 0 | if (_impl_.backpressure_ == nullptr) { |
5019 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::BackpressureConfig>(GetArena()); |
5020 | 0 | _impl_.backpressure_ = reinterpret_cast<::curl::fuzzer::proto::BackpressureConfig*>(p); |
5021 | 0 | } |
5022 | 0 | return _impl_.backpressure_; |
5023 | 0 | } |
5024 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::mutable_backpressure() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5025 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
5026 | 0 | ::curl::fuzzer::proto::BackpressureConfig* _msg = _internal_mutable_backpressure(); |
5027 | | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.backpressure) |
5028 | 0 | return _msg; |
5029 | 0 | } |
5030 | 0 | inline void Connection::set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value) { |
5031 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
5032 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5033 | 0 | if (message_arena == nullptr) { |
5034 | 0 | delete (_impl_.backpressure_); |
5035 | 0 | } |
5036 | 0 |
|
5037 | 0 | if (value != nullptr) { |
5038 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
5039 | 0 | if (message_arena != submessage_arena) { |
5040 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
5041 | 0 | } |
5042 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
5043 | 0 | } else { |
5044 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
5045 | 0 | } |
5046 | 0 |
|
5047 | 0 | _impl_.backpressure_ = reinterpret_cast<::curl::fuzzer::proto::BackpressureConfig*>(value); |
5048 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Connection.backpressure) |
5049 | 0 | } |
5050 | | |
5051 | | // .curl.fuzzer.proto.WsManualProbes manual_probes = 5; |
5052 | 0 | inline bool Connection::has_manual_probes() const { |
5053 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
5054 | 0 | PROTOBUF_ASSUME(!value || _impl_.manual_probes_ != nullptr); |
5055 | 0 | return value; |
5056 | 0 | } |
5057 | 0 | inline void Connection::clear_manual_probes() { |
5058 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5059 | 0 | if (_impl_.manual_probes_ != nullptr) _impl_.manual_probes_->Clear(); |
5060 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
5061 | 0 | } |
5062 | 450 | inline const ::curl::fuzzer::proto::WsManualProbes& Connection::_internal_manual_probes() const { |
5063 | 450 | ::google::protobuf::internal::TSanRead(&_impl_); |
5064 | 450 | const ::curl::fuzzer::proto::WsManualProbes* p = _impl_.manual_probes_; |
5065 | 450 | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::WsManualProbes&>(::curl::fuzzer::proto::_WsManualProbes_default_instance_); |
5066 | 450 | } |
5067 | 450 | inline const ::curl::fuzzer::proto::WsManualProbes& Connection::manual_probes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5068 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.manual_probes) |
5069 | 450 | return _internal_manual_probes(); |
5070 | 450 | } |
5071 | 0 | inline void Connection::unsafe_arena_set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value) { |
5072 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5073 | 0 | if (GetArena() == nullptr) { |
5074 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.manual_probes_); |
5075 | 0 | } |
5076 | 0 | _impl_.manual_probes_ = reinterpret_cast<::curl::fuzzer::proto::WsManualProbes*>(value); |
5077 | 0 | if (value != nullptr) { |
5078 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
5079 | 0 | } else { |
5080 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
5081 | 0 | } |
5082 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Connection.manual_probes) |
5083 | 0 | } |
5084 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::release_manual_probes() { |
5085 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5086 | 0 |
|
5087 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
5088 | 0 | ::curl::fuzzer::proto::WsManualProbes* released = _impl_.manual_probes_; |
5089 | 0 | _impl_.manual_probes_ = nullptr; |
5090 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
5091 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
5092 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
5093 | 0 | if (GetArena() == nullptr) { |
5094 | 0 | delete old; |
5095 | 0 | } |
5096 | 0 | } else { |
5097 | 0 | if (GetArena() != nullptr) { |
5098 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
5099 | 0 | } |
5100 | 0 | } |
5101 | 0 | return released; |
5102 | 0 | } |
5103 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::unsafe_arena_release_manual_probes() { |
5104 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5105 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Connection.manual_probes) |
5106 | 0 |
|
5107 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
5108 | 0 | ::curl::fuzzer::proto::WsManualProbes* temp = _impl_.manual_probes_; |
5109 | 0 | _impl_.manual_probes_ = nullptr; |
5110 | 0 | return temp; |
5111 | 0 | } |
5112 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::_internal_mutable_manual_probes() { |
5113 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5114 | 0 | if (_impl_.manual_probes_ == nullptr) { |
5115 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::WsManualProbes>(GetArena()); |
5116 | 0 | _impl_.manual_probes_ = reinterpret_cast<::curl::fuzzer::proto::WsManualProbes*>(p); |
5117 | 0 | } |
5118 | 0 | return _impl_.manual_probes_; |
5119 | 0 | } |
5120 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::mutable_manual_probes() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5121 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
5122 | 0 | ::curl::fuzzer::proto::WsManualProbes* _msg = _internal_mutable_manual_probes(); |
5123 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.manual_probes) |
5124 | 0 | return _msg; |
5125 | 0 | } |
5126 | 0 | inline void Connection::set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value) { |
5127 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
5128 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5129 | 0 | if (message_arena == nullptr) { |
5130 | 0 | delete (_impl_.manual_probes_); |
5131 | 0 | } |
5132 | 0 |
|
5133 | 0 | if (value != nullptr) { |
5134 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
5135 | 0 | if (message_arena != submessage_arena) { |
5136 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
5137 | 0 | } |
5138 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
5139 | 0 | } else { |
5140 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
5141 | 0 | } |
5142 | 0 |
|
5143 | 0 | _impl_.manual_probes_ = reinterpret_cast<::curl::fuzzer::proto::WsManualProbes*>(value); |
5144 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Connection.manual_probes) |
5145 | 0 | } |
5146 | | |
5147 | | // ------------------------------------------------------------------- |
5148 | | |
5149 | | // WsManualProbes |
5150 | | |
5151 | | // bool flag_matrix = 1; |
5152 | 0 | inline void WsManualProbes::clear_flag_matrix() { |
5153 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5154 | 0 | _impl_.flag_matrix_ = false; |
5155 | 0 | } |
5156 | 450 | inline bool WsManualProbes::flag_matrix() const { |
5157 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WsManualProbes.flag_matrix) |
5158 | 450 | return _internal_flag_matrix(); |
5159 | 450 | } |
5160 | 0 | inline void WsManualProbes::set_flag_matrix(bool value) { |
5161 | 0 | _internal_set_flag_matrix(value); |
5162 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WsManualProbes.flag_matrix) |
5163 | 0 | } |
5164 | 450 | inline bool WsManualProbes::_internal_flag_matrix() const { |
5165 | 450 | ::google::protobuf::internal::TSanRead(&_impl_); |
5166 | 450 | return _impl_.flag_matrix_; |
5167 | 450 | } |
5168 | 0 | inline void WsManualProbes::_internal_set_flag_matrix(bool value) { |
5169 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5170 | 0 | _impl_.flag_matrix_ = value; |
5171 | 0 | } |
5172 | | |
5173 | | // bool unaligned_send = 2; |
5174 | 0 | inline void WsManualProbes::clear_unaligned_send() { |
5175 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5176 | 0 | _impl_.unaligned_send_ = false; |
5177 | 0 | } |
5178 | 450 | inline bool WsManualProbes::unaligned_send() const { |
5179 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WsManualProbes.unaligned_send) |
5180 | 450 | return _internal_unaligned_send(); |
5181 | 450 | } |
5182 | 0 | inline void WsManualProbes::set_unaligned_send(bool value) { |
5183 | 0 | _internal_set_unaligned_send(value); |
5184 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WsManualProbes.unaligned_send) |
5185 | 0 | } |
5186 | 450 | inline bool WsManualProbes::_internal_unaligned_send() const { |
5187 | 450 | ::google::protobuf::internal::TSanRead(&_impl_); |
5188 | 450 | return _impl_.unaligned_send_; |
5189 | 450 | } |
5190 | 0 | inline void WsManualProbes::_internal_set_unaligned_send(bool value) { |
5191 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5192 | 0 | _impl_.unaligned_send_ = value; |
5193 | 0 | } |
5194 | | |
5195 | | // bool raw_send = 3; |
5196 | 0 | inline void WsManualProbes::clear_raw_send() { |
5197 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5198 | 0 | _impl_.raw_send_ = false; |
5199 | 0 | } |
5200 | 450 | inline bool WsManualProbes::raw_send() const { |
5201 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WsManualProbes.raw_send) |
5202 | 450 | return _internal_raw_send(); |
5203 | 450 | } |
5204 | 0 | inline void WsManualProbes::set_raw_send(bool value) { |
5205 | 0 | _internal_set_raw_send(value); |
5206 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WsManualProbes.raw_send) |
5207 | 0 | } |
5208 | 450 | inline bool WsManualProbes::_internal_raw_send() const { |
5209 | 450 | ::google::protobuf::internal::TSanRead(&_impl_); |
5210 | 450 | return _impl_.raw_send_; |
5211 | 450 | } |
5212 | 0 | inline void WsManualProbes::_internal_set_raw_send(bool value) { |
5213 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5214 | 0 | _impl_.raw_send_ = value; |
5215 | 0 | } |
5216 | | |
5217 | | // ------------------------------------------------------------------- |
5218 | | |
5219 | | // BackpressureConfig |
5220 | | |
5221 | | // uint32 recv_buf_bytes = 1; |
5222 | 0 | inline void BackpressureConfig::clear_recv_buf_bytes() { |
5223 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5224 | 0 | _impl_.recv_buf_bytes_ = 0u; |
5225 | 0 | } |
5226 | 28.0k | inline ::uint32_t BackpressureConfig::recv_buf_bytes() const { |
5227 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.BackpressureConfig.recv_buf_bytes) |
5228 | 28.0k | return _internal_recv_buf_bytes(); |
5229 | 28.0k | } |
5230 | 0 | inline void BackpressureConfig::set_recv_buf_bytes(::uint32_t value) { |
5231 | 0 | _internal_set_recv_buf_bytes(value); |
5232 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.BackpressureConfig.recv_buf_bytes) |
5233 | 0 | } |
5234 | 28.0k | inline ::uint32_t BackpressureConfig::_internal_recv_buf_bytes() const { |
5235 | 28.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
5236 | 28.0k | return _impl_.recv_buf_bytes_; |
5237 | 28.0k | } |
5238 | 0 | inline void BackpressureConfig::_internal_set_recv_buf_bytes(::uint32_t value) { |
5239 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5240 | 0 | _impl_.recv_buf_bytes_ = value; |
5241 | 0 | } |
5242 | | |
5243 | | // uint32 drain_limit = 2; |
5244 | 0 | inline void BackpressureConfig::clear_drain_limit() { |
5245 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5246 | 0 | _impl_.drain_limit_ = 0u; |
5247 | 0 | } |
5248 | 27.3k | inline ::uint32_t BackpressureConfig::drain_limit() const { |
5249 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.BackpressureConfig.drain_limit) |
5250 | 27.3k | return _internal_drain_limit(); |
5251 | 27.3k | } |
5252 | 0 | inline void BackpressureConfig::set_drain_limit(::uint32_t value) { |
5253 | 0 | _internal_set_drain_limit(value); |
5254 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.BackpressureConfig.drain_limit) |
5255 | 0 | } |
5256 | 27.3k | inline ::uint32_t BackpressureConfig::_internal_drain_limit() const { |
5257 | 27.3k | ::google::protobuf::internal::TSanRead(&_impl_); |
5258 | 27.3k | return _impl_.drain_limit_; |
5259 | 27.3k | } |
5260 | 0 | inline void BackpressureConfig::_internal_set_drain_limit(::uint32_t value) { |
5261 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5262 | 0 | _impl_.drain_limit_ = value; |
5263 | 0 | } |
5264 | | |
5265 | | // ------------------------------------------------------------------- |
5266 | | |
5267 | | // WebSocketFrame |
5268 | | |
5269 | | // bool fin = 1; |
5270 | 0 | inline void WebSocketFrame::clear_fin() { |
5271 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5272 | 0 | _impl_.fin_ = false; |
5273 | 0 | } |
5274 | 7.35k | inline bool WebSocketFrame::fin() const { |
5275 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.fin) |
5276 | 7.35k | return _internal_fin(); |
5277 | 7.35k | } |
5278 | 0 | inline void WebSocketFrame::set_fin(bool value) { |
5279 | 0 | _internal_set_fin(value); |
5280 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.fin) |
5281 | 0 | } |
5282 | 7.35k | inline bool WebSocketFrame::_internal_fin() const { |
5283 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5284 | 7.35k | return _impl_.fin_; |
5285 | 7.35k | } |
5286 | 0 | inline void WebSocketFrame::_internal_set_fin(bool value) { |
5287 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5288 | 0 | _impl_.fin_ = value; |
5289 | 0 | } |
5290 | | |
5291 | | // bool rsv1 = 2; |
5292 | 0 | inline void WebSocketFrame::clear_rsv1() { |
5293 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5294 | 0 | _impl_.rsv1_ = false; |
5295 | 0 | } |
5296 | 7.35k | inline bool WebSocketFrame::rsv1() const { |
5297 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.rsv1) |
5298 | 7.35k | return _internal_rsv1(); |
5299 | 7.35k | } |
5300 | 0 | inline void WebSocketFrame::set_rsv1(bool value) { |
5301 | 0 | _internal_set_rsv1(value); |
5302 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.rsv1) |
5303 | 0 | } |
5304 | 7.35k | inline bool WebSocketFrame::_internal_rsv1() const { |
5305 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5306 | 7.35k | return _impl_.rsv1_; |
5307 | 7.35k | } |
5308 | 0 | inline void WebSocketFrame::_internal_set_rsv1(bool value) { |
5309 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5310 | 0 | _impl_.rsv1_ = value; |
5311 | 0 | } |
5312 | | |
5313 | | // bool rsv2 = 3; |
5314 | 0 | inline void WebSocketFrame::clear_rsv2() { |
5315 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5316 | 0 | _impl_.rsv2_ = false; |
5317 | 0 | } |
5318 | 7.35k | inline bool WebSocketFrame::rsv2() const { |
5319 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.rsv2) |
5320 | 7.35k | return _internal_rsv2(); |
5321 | 7.35k | } |
5322 | 0 | inline void WebSocketFrame::set_rsv2(bool value) { |
5323 | 0 | _internal_set_rsv2(value); |
5324 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.rsv2) |
5325 | 0 | } |
5326 | 7.35k | inline bool WebSocketFrame::_internal_rsv2() const { |
5327 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5328 | 7.35k | return _impl_.rsv2_; |
5329 | 7.35k | } |
5330 | 0 | inline void WebSocketFrame::_internal_set_rsv2(bool value) { |
5331 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5332 | 0 | _impl_.rsv2_ = value; |
5333 | 0 | } |
5334 | | |
5335 | | // bool rsv3 = 4; |
5336 | 0 | inline void WebSocketFrame::clear_rsv3() { |
5337 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5338 | 0 | _impl_.rsv3_ = false; |
5339 | 0 | } |
5340 | 7.35k | inline bool WebSocketFrame::rsv3() const { |
5341 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.rsv3) |
5342 | 7.35k | return _internal_rsv3(); |
5343 | 7.35k | } |
5344 | 0 | inline void WebSocketFrame::set_rsv3(bool value) { |
5345 | 0 | _internal_set_rsv3(value); |
5346 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.rsv3) |
5347 | 0 | } |
5348 | 7.35k | inline bool WebSocketFrame::_internal_rsv3() const { |
5349 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5350 | 7.35k | return _impl_.rsv3_; |
5351 | 7.35k | } |
5352 | 0 | inline void WebSocketFrame::_internal_set_rsv3(bool value) { |
5353 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5354 | 0 | _impl_.rsv3_ = value; |
5355 | 0 | } |
5356 | | |
5357 | | // uint32 opcode = 5; |
5358 | 0 | inline void WebSocketFrame::clear_opcode() { |
5359 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5360 | 0 | _impl_.opcode_ = 0u; |
5361 | 0 | } |
5362 | 7.35k | inline ::uint32_t WebSocketFrame::opcode() const { |
5363 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.opcode) |
5364 | 7.35k | return _internal_opcode(); |
5365 | 7.35k | } |
5366 | 0 | inline void WebSocketFrame::set_opcode(::uint32_t value) { |
5367 | 0 | _internal_set_opcode(value); |
5368 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.opcode) |
5369 | 0 | } |
5370 | 7.35k | inline ::uint32_t WebSocketFrame::_internal_opcode() const { |
5371 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5372 | 7.35k | return _impl_.opcode_; |
5373 | 7.35k | } |
5374 | 0 | inline void WebSocketFrame::_internal_set_opcode(::uint32_t value) { |
5375 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5376 | 0 | _impl_.opcode_ = value; |
5377 | 0 | } |
5378 | | |
5379 | | // bool masked = 6; |
5380 | 0 | inline void WebSocketFrame::clear_masked() { |
5381 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5382 | 0 | _impl_.masked_ = false; |
5383 | 0 | } |
5384 | 14.7k | inline bool WebSocketFrame::masked() const { |
5385 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.masked) |
5386 | 14.7k | return _internal_masked(); |
5387 | 14.7k | } |
5388 | 0 | inline void WebSocketFrame::set_masked(bool value) { |
5389 | 0 | _internal_set_masked(value); |
5390 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.masked) |
5391 | 0 | } |
5392 | 14.7k | inline bool WebSocketFrame::_internal_masked() const { |
5393 | 14.7k | ::google::protobuf::internal::TSanRead(&_impl_); |
5394 | 14.7k | return _impl_.masked_; |
5395 | 14.7k | } |
5396 | 0 | inline void WebSocketFrame::_internal_set_masked(bool value) { |
5397 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5398 | 0 | _impl_.masked_ = value; |
5399 | 0 | } |
5400 | | |
5401 | | // uint32 mask_key = 7; |
5402 | 0 | inline void WebSocketFrame::clear_mask_key() { |
5403 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5404 | 0 | _impl_.mask_key_ = 0u; |
5405 | 0 | } |
5406 | 2.15k | inline ::uint32_t WebSocketFrame::mask_key() const { |
5407 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.mask_key) |
5408 | 2.15k | return _internal_mask_key(); |
5409 | 2.15k | } |
5410 | 0 | inline void WebSocketFrame::set_mask_key(::uint32_t value) { |
5411 | 0 | _internal_set_mask_key(value); |
5412 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.mask_key) |
5413 | 0 | } |
5414 | 2.15k | inline ::uint32_t WebSocketFrame::_internal_mask_key() const { |
5415 | 2.15k | ::google::protobuf::internal::TSanRead(&_impl_); |
5416 | 2.15k | return _impl_.mask_key_; |
5417 | 2.15k | } |
5418 | 0 | inline void WebSocketFrame::_internal_set_mask_key(::uint32_t value) { |
5419 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5420 | 0 | _impl_.mask_key_ = value; |
5421 | 0 | } |
5422 | | |
5423 | | // bytes payload = 8; |
5424 | 0 | inline void WebSocketFrame::clear_payload() { |
5425 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5426 | 0 | _impl_.payload_.ClearToEmpty(); |
5427 | 0 | } |
5428 | | inline const std::string& WebSocketFrame::payload() const |
5429 | 7.35k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5430 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.payload) |
5431 | 7.35k | return _internal_payload(); |
5432 | 7.35k | } |
5433 | | template <typename Arg_, typename... Args_> |
5434 | | inline PROTOBUF_ALWAYS_INLINE void WebSocketFrame::set_payload(Arg_&& arg, |
5435 | | Args_... args) { |
5436 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
5437 | | _impl_.payload_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
5438 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.payload) |
5439 | | } |
5440 | 0 | inline std::string* WebSocketFrame::mutable_payload() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5441 | 0 | std::string* _s = _internal_mutable_payload(); |
5442 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.WebSocketFrame.payload) |
5443 | 0 | return _s; |
5444 | 0 | } |
5445 | 7.35k | inline const std::string& WebSocketFrame::_internal_payload() const { |
5446 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5447 | 7.35k | return _impl_.payload_.Get(); |
5448 | 7.35k | } |
5449 | 0 | inline void WebSocketFrame::_internal_set_payload(const std::string& value) { |
5450 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5451 | 0 | _impl_.payload_.Set(value, GetArena()); |
5452 | 0 | } |
5453 | 0 | inline std::string* WebSocketFrame::_internal_mutable_payload() { |
5454 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5455 | 0 | return _impl_.payload_.Mutable( GetArena()); |
5456 | 0 | } |
5457 | 0 | inline std::string* WebSocketFrame::release_payload() { |
5458 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5459 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.WebSocketFrame.payload) |
5460 | 0 | return _impl_.payload_.Release(); |
5461 | 0 | } |
5462 | 0 | inline void WebSocketFrame::set_allocated_payload(std::string* value) { |
5463 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5464 | 0 | _impl_.payload_.SetAllocated(value, GetArena()); |
5465 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_.IsDefault()) { |
5466 | 0 | _impl_.payload_.Set("", GetArena()); |
5467 | 0 | } |
5468 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.WebSocketFrame.payload) |
5469 | 0 | } |
5470 | | |
5471 | | // uint32 length_form = 9; |
5472 | 0 | inline void WebSocketFrame::clear_length_form() { |
5473 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5474 | 0 | _impl_.length_form_ = 0u; |
5475 | 0 | } |
5476 | 7.35k | inline ::uint32_t WebSocketFrame::length_form() const { |
5477 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.length_form) |
5478 | 7.35k | return _internal_length_form(); |
5479 | 7.35k | } |
5480 | 0 | inline void WebSocketFrame::set_length_form(::uint32_t value) { |
5481 | 0 | _internal_set_length_form(value); |
5482 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.length_form) |
5483 | 0 | } |
5484 | 7.35k | inline ::uint32_t WebSocketFrame::_internal_length_form() const { |
5485 | 7.35k | ::google::protobuf::internal::TSanRead(&_impl_); |
5486 | 7.35k | return _impl_.length_form_; |
5487 | 7.35k | } |
5488 | 0 | inline void WebSocketFrame::_internal_set_length_form(::uint32_t value) { |
5489 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
5490 | 0 | _impl_.length_form_ = value; |
5491 | 0 | } |
5492 | | |
5493 | | #ifdef __GNUC__ |
5494 | | #pragma GCC diagnostic pop |
5495 | | #endif // __GNUC__ |
5496 | | |
5497 | | // @@protoc_insertion_point(namespace_scope) |
5498 | | } // namespace proto |
5499 | | } // namespace fuzzer |
5500 | | } // namespace curl |
5501 | | |
5502 | | |
5503 | | namespace google { |
5504 | | namespace protobuf { |
5505 | | |
5506 | | template <> |
5507 | | struct is_proto_enum<::curl::fuzzer::proto::UploadTerminal> : std::true_type {}; |
5508 | | template <> |
5509 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::UploadTerminal>() { |
5510 | 0 | return ::curl::fuzzer::proto::UploadTerminal_descriptor(); |
5511 | 0 | } |
5512 | | template <> |
5513 | | struct is_proto_enum<::curl::fuzzer::proto::UploadSeekResult> : std::true_type {}; |
5514 | | template <> |
5515 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::UploadSeekResult>() { |
5516 | 0 | return ::curl::fuzzer::proto::UploadSeekResult_descriptor(); |
5517 | 0 | } |
5518 | | template <> |
5519 | | struct is_proto_enum<::curl::fuzzer::proto::MimeEncoder> : std::true_type {}; |
5520 | | template <> |
5521 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::MimeEncoder>() { |
5522 | 0 | return ::curl::fuzzer::proto::MimeEncoder_descriptor(); |
5523 | 0 | } |
5524 | | template <> |
5525 | | struct is_proto_enum<::curl::fuzzer::proto::Scheme> : std::true_type {}; |
5526 | | template <> |
5527 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::Scheme>() { |
5528 | 0 | return ::curl::fuzzer::proto::Scheme_descriptor(); |
5529 | 0 | } |
5530 | | template <> |
5531 | | struct is_proto_enum<::curl::fuzzer::proto::CurlOptionId> : std::true_type {}; |
5532 | | template <> |
5533 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::CurlOptionId>() { |
5534 | 0 | return ::curl::fuzzer::proto::CurlOptionId_descriptor(); |
5535 | 0 | } |
5536 | | |
5537 | | } // namespace protobuf |
5538 | | } // namespace google |
5539 | | |
5540 | | // @@protoc_insertion_point(global_scope) |
5541 | | |
5542 | | #include "google/protobuf/port_undef.inc" |
5543 | | |
5544 | | #endif // curl_5ffuzzer_2eproto_2epb_2eh |