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