/src/curl_fuzzer/build/curl_fuzzer.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // NO CHECKED-IN PROTOBUF GENCODE |
3 | | // source: curl_fuzzer.proto |
4 | | // Protobuf C++ Version: 5.29.3 |
5 | | |
6 | | #ifndef curl_5ffuzzer_2eproto_2epb_2eh |
7 | | #define curl_5ffuzzer_2eproto_2epb_2eh |
8 | | |
9 | | #include <limits> |
10 | | #include <string> |
11 | | #include <type_traits> |
12 | | #include <utility> |
13 | | |
14 | | #include "google/protobuf/runtime_version.h" |
15 | | #if PROTOBUF_VERSION != 5029003 |
16 | | #error "Protobuf C++ gencode is built with an incompatible version of" |
17 | | #error "Protobuf C++ headers/runtime. See" |
18 | | #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" |
19 | | #endif |
20 | | #include "google/protobuf/io/coded_stream.h" |
21 | | #include "google/protobuf/arena.h" |
22 | | #include "google/protobuf/arenastring.h" |
23 | | #include "google/protobuf/generated_message_tctable_decl.h" |
24 | | #include "google/protobuf/generated_message_util.h" |
25 | | #include "google/protobuf/metadata_lite.h" |
26 | | #include "google/protobuf/generated_message_reflection.h" |
27 | | #include "google/protobuf/message.h" |
28 | | #include "google/protobuf/message_lite.h" |
29 | | #include "google/protobuf/repeated_field.h" // IWYU pragma: export |
30 | | #include "google/protobuf/extension_set.h" // IWYU pragma: export |
31 | | #include "google/protobuf/generated_enum_reflection.h" |
32 | | #include "google/protobuf/unknown_field_set.h" |
33 | | // @@protoc_insertion_point(includes) |
34 | | |
35 | | // Must be included last. |
36 | | #include "google/protobuf/port_def.inc" |
37 | | |
38 | | #define PROTOBUF_INTERNAL_EXPORT_curl_5ffuzzer_2eproto |
39 | | |
40 | | namespace google { |
41 | | namespace protobuf { |
42 | | namespace internal { |
43 | | template <typename T> |
44 | | ::absl::string_view GetAnyMessageName(); |
45 | | } // namespace internal |
46 | | } // namespace protobuf |
47 | | } // namespace google |
48 | | |
49 | | // Internal implementation detail -- do not use these members. |
50 | | struct TableStruct_curl_5ffuzzer_2eproto { |
51 | | static const ::uint32_t offsets[]; |
52 | | }; |
53 | | extern const ::google::protobuf::internal::DescriptorTable |
54 | | descriptor_table_curl_5ffuzzer_2eproto; |
55 | | namespace curl { |
56 | | namespace fuzzer { |
57 | | namespace proto { |
58 | | class BackpressureConfig; |
59 | | struct BackpressureConfigDefaultTypeInternal; |
60 | | extern BackpressureConfigDefaultTypeInternal _BackpressureConfig_default_instance_; |
61 | | class Connection; |
62 | | struct ConnectionDefaultTypeInternal; |
63 | | extern ConnectionDefaultTypeInternal _Connection_default_instance_; |
64 | | class Scenario; |
65 | | struct ScenarioDefaultTypeInternal; |
66 | | extern ScenarioDefaultTypeInternal _Scenario_default_instance_; |
67 | | class SetOption; |
68 | | struct SetOptionDefaultTypeInternal; |
69 | | extern SetOptionDefaultTypeInternal _SetOption_default_instance_; |
70 | | class WebSocketFrame; |
71 | | struct WebSocketFrameDefaultTypeInternal; |
72 | | extern WebSocketFrameDefaultTypeInternal _WebSocketFrame_default_instance_; |
73 | | class WsManualProbes; |
74 | | struct WsManualProbesDefaultTypeInternal; |
75 | | extern WsManualProbesDefaultTypeInternal _WsManualProbes_default_instance_; |
76 | | } // namespace proto |
77 | | } // namespace fuzzer |
78 | | } // namespace curl |
79 | | namespace google { |
80 | | namespace protobuf { |
81 | | } // namespace protobuf |
82 | | } // namespace google |
83 | | |
84 | | namespace curl { |
85 | | namespace fuzzer { |
86 | | namespace proto { |
87 | | enum Scheme : int { |
88 | | SCHEME_UNSPECIFIED = 0, |
89 | | SCHEME_HTTP = 1, |
90 | | SCHEME_HTTPS = 2, |
91 | | SCHEME_WS = 3, |
92 | | SCHEME_WSS = 4, |
93 | | Scheme_INT_MIN_SENTINEL_DO_NOT_USE_ = |
94 | | std::numeric_limits<::int32_t>::min(), |
95 | | Scheme_INT_MAX_SENTINEL_DO_NOT_USE_ = |
96 | | std::numeric_limits<::int32_t>::max(), |
97 | | }; |
98 | | |
99 | | bool Scheme_IsValid(int value); |
100 | | extern const uint32_t Scheme_internal_data_[]; |
101 | | constexpr Scheme Scheme_MIN = static_cast<Scheme>(0); |
102 | | constexpr Scheme Scheme_MAX = static_cast<Scheme>(4); |
103 | | constexpr int Scheme_ARRAYSIZE = 4 + 1; |
104 | | const ::google::protobuf::EnumDescriptor* |
105 | | Scheme_descriptor(); |
106 | | template <typename T> |
107 | | const std::string& Scheme_Name(T value) { |
108 | | static_assert(std::is_same<T, Scheme>::value || |
109 | | std::is_integral<T>::value, |
110 | | "Incorrect type passed to Scheme_Name()."); |
111 | | return Scheme_Name(static_cast<Scheme>(value)); |
112 | | } |
113 | | template <> |
114 | 0 | inline const std::string& Scheme_Name(Scheme value) { |
115 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Scheme_descriptor, |
116 | 0 | 0, 4>( |
117 | 0 | static_cast<int>(value)); |
118 | 0 | } |
119 | 0 | inline bool Scheme_Parse(absl::string_view name, Scheme* value) { |
120 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Scheme>( |
121 | 0 | Scheme_descriptor(), name, value); |
122 | 0 | } |
123 | | enum CurlOptionId : int { |
124 | | CURL_OPTION_UNSPECIFIED = 0, |
125 | | CURLOPT_CUSTOMREQUEST = 10036, |
126 | | CURLOPT_HTTPGET = 80, |
127 | | CURLOPT_NOBODY = 44, |
128 | | CURLOPT_POST = 47, |
129 | | CURLOPT_POSTFIELDS = 10015, |
130 | | CURLOPT_FOLLOWLOCATION = 52, |
131 | | CURLOPT_MAXREDIRS = 68, |
132 | | CURLOPT_USERAGENT = 10018, |
133 | | CURLOPT_ACCEPT_ENCODING = 10102, |
134 | | CURLOPT_HEADER = 42, |
135 | | CURLOPT_FAILONERROR = 45, |
136 | | CURLOPT_HTTP_VERSION = 84, |
137 | | CURLOPT_HTTP09_ALLOWED = 285, |
138 | | CURLOPT_AUTOREFERER = 58, |
139 | | CURLOPT_REFERER = 10016, |
140 | | CURLOPT_CONNECT_ONLY = 141, |
141 | | CURLOPT_WS_OPTIONS = 320, |
142 | | CURLOPT_UPLOAD = 46, |
143 | | CURLOPT_INFILESIZE_LARGE = 30115, |
144 | | CurlOptionId_INT_MIN_SENTINEL_DO_NOT_USE_ = |
145 | | std::numeric_limits<::int32_t>::min(), |
146 | | CurlOptionId_INT_MAX_SENTINEL_DO_NOT_USE_ = |
147 | | std::numeric_limits<::int32_t>::max(), |
148 | | }; |
149 | | |
150 | | bool CurlOptionId_IsValid(int value); |
151 | | extern const uint32_t CurlOptionId_internal_data_[]; |
152 | | constexpr CurlOptionId CurlOptionId_MIN = static_cast<CurlOptionId>(0); |
153 | | constexpr CurlOptionId CurlOptionId_MAX = static_cast<CurlOptionId>(30115); |
154 | | constexpr int CurlOptionId_ARRAYSIZE = 30115 + 1; |
155 | | const ::google::protobuf::EnumDescriptor* |
156 | | CurlOptionId_descriptor(); |
157 | | template <typename T> |
158 | | const std::string& CurlOptionId_Name(T value) { |
159 | | static_assert(std::is_same<T, CurlOptionId>::value || |
160 | | std::is_integral<T>::value, |
161 | | "Incorrect type passed to CurlOptionId_Name()."); |
162 | | return ::google::protobuf::internal::NameOfEnum(CurlOptionId_descriptor(), value); |
163 | | } |
164 | 0 | inline bool CurlOptionId_Parse(absl::string_view name, CurlOptionId* value) { |
165 | 0 | return ::google::protobuf::internal::ParseNamedEnum<CurlOptionId>( |
166 | 0 | CurlOptionId_descriptor(), name, value); |
167 | 0 | } |
168 | | |
169 | | // =================================================================== |
170 | | |
171 | | |
172 | | // ------------------------------------------------------------------- |
173 | | |
174 | | class WsManualProbes final : public ::google::protobuf::Message |
175 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.WsManualProbes) */ { |
176 | | public: |
177 | 0 | inline WsManualProbes() : WsManualProbes(nullptr) {} |
178 | | ~WsManualProbes() PROTOBUF_FINAL; |
179 | | |
180 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
181 | | void operator delete(WsManualProbes* msg, std::destroying_delete_t) { |
182 | | SharedDtor(*msg); |
183 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(WsManualProbes)); |
184 | | } |
185 | | #endif |
186 | | |
187 | | template <typename = void> |
188 | | explicit PROTOBUF_CONSTEXPR WsManualProbes( |
189 | | ::google::protobuf::internal::ConstantInitialized); |
190 | | |
191 | 0 | inline WsManualProbes(const WsManualProbes& from) : WsManualProbes(nullptr, from) {} |
192 | | inline WsManualProbes(WsManualProbes&& from) noexcept |
193 | 0 | : WsManualProbes(nullptr, std::move(from)) {} |
194 | 0 | inline WsManualProbes& operator=(const WsManualProbes& from) { |
195 | 0 | CopyFrom(from); |
196 | 0 | return *this; |
197 | 0 | } |
198 | 0 | inline WsManualProbes& operator=(WsManualProbes&& from) noexcept { |
199 | 0 | if (this == &from) return *this; |
200 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
201 | 0 | InternalSwap(&from); |
202 | 0 | } else { |
203 | 0 | CopyFrom(from); |
204 | 0 | } |
205 | 0 | return *this; |
206 | 0 | } |
207 | | |
208 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
209 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
210 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
211 | 0 | } |
212 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
213 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
214 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
215 | 0 | } |
216 | | |
217 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
218 | 0 | return GetDescriptor(); |
219 | 0 | } |
220 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
221 | 0 | return default_instance().GetMetadata().descriptor; |
222 | 0 | } |
223 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
224 | 0 | return default_instance().GetMetadata().reflection; |
225 | 0 | } |
226 | 0 | static const WsManualProbes& default_instance() { |
227 | 0 | return *internal_default_instance(); |
228 | 0 | } |
229 | 0 | static inline const WsManualProbes* internal_default_instance() { |
230 | 0 | return reinterpret_cast<const WsManualProbes*>( |
231 | 0 | &_WsManualProbes_default_instance_); |
232 | 0 | } |
233 | | static constexpr int kIndexInFileMessages = 3; |
234 | 0 | friend void swap(WsManualProbes& a, WsManualProbes& b) { a.Swap(&b); } |
235 | 0 | inline void Swap(WsManualProbes* other) { |
236 | 0 | if (other == this) return; |
237 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
238 | 0 | InternalSwap(other); |
239 | 0 | } else { |
240 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
241 | 0 | } |
242 | 0 | } |
243 | 0 | void UnsafeArenaSwap(WsManualProbes* other) { |
244 | 0 | if (other == this) return; |
245 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
246 | 0 | InternalSwap(other); |
247 | 0 | } |
248 | | |
249 | | // implements Message ---------------------------------------------- |
250 | | |
251 | 0 | WsManualProbes* New(::google::protobuf::Arena* arena = nullptr) const { |
252 | 0 | return ::google::protobuf::Message::DefaultConstruct<WsManualProbes>(arena); |
253 | 0 | } |
254 | | using ::google::protobuf::Message::CopyFrom; |
255 | | void CopyFrom(const WsManualProbes& from); |
256 | | using ::google::protobuf::Message::MergeFrom; |
257 | 0 | void MergeFrom(const WsManualProbes& from) { WsManualProbes::MergeImpl(*this, from); } |
258 | | |
259 | | private: |
260 | | static void MergeImpl( |
261 | | ::google::protobuf::MessageLite& to_msg, |
262 | | const ::google::protobuf::MessageLite& from_msg); |
263 | | |
264 | | public: |
265 | 0 | bool IsInitialized() const { |
266 | 0 | return true; |
267 | 0 | } |
268 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
269 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
270 | | private: |
271 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
272 | | static ::uint8_t* _InternalSerialize( |
273 | | const MessageLite& msg, ::uint8_t* target, |
274 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
275 | | |
276 | | public: |
277 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
278 | | ::uint8_t* _InternalSerialize( |
279 | | ::uint8_t* target, |
280 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
281 | | return _InternalSerialize(*this, target, stream); |
282 | | } |
283 | | #else // PROTOBUF_CUSTOM_VTABLE |
284 | | ::size_t ByteSizeLong() const final; |
285 | | ::uint8_t* _InternalSerialize( |
286 | | ::uint8_t* target, |
287 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
288 | | #endif // PROTOBUF_CUSTOM_VTABLE |
289 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
290 | | |
291 | | private: |
292 | | void SharedCtor(::google::protobuf::Arena* arena); |
293 | | static void SharedDtor(MessageLite& self); |
294 | | void InternalSwap(WsManualProbes* other); |
295 | | private: |
296 | | template <typename T> |
297 | | friend ::absl::string_view( |
298 | | ::google::protobuf::internal::GetAnyMessageName)(); |
299 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.WsManualProbes"; } |
300 | | |
301 | | protected: |
302 | | explicit WsManualProbes(::google::protobuf::Arena* arena); |
303 | | WsManualProbes(::google::protobuf::Arena* arena, const WsManualProbes& from); |
304 | | WsManualProbes(::google::protobuf::Arena* arena, WsManualProbes&& from) noexcept |
305 | 0 | : WsManualProbes(arena) { |
306 | 0 | *this = ::std::move(from); |
307 | 0 | } |
308 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
309 | | static void* PlacementNew_(const void*, void* mem, |
310 | | ::google::protobuf::Arena* arena); |
311 | | static constexpr auto InternalNewImpl_(); |
312 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
313 | | |
314 | | public: |
315 | | ::google::protobuf::Metadata GetMetadata() const; |
316 | | // nested types ---------------------------------------------------- |
317 | | |
318 | | // accessors ------------------------------------------------------- |
319 | | enum : int { |
320 | | kFlagMatrixFieldNumber = 1, |
321 | | kUnalignedSendFieldNumber = 2, |
322 | | kRawSendFieldNumber = 3, |
323 | | }; |
324 | | // bool flag_matrix = 1; |
325 | | void clear_flag_matrix() ; |
326 | | bool flag_matrix() const; |
327 | | void set_flag_matrix(bool value); |
328 | | |
329 | | private: |
330 | | bool _internal_flag_matrix() const; |
331 | | void _internal_set_flag_matrix(bool value); |
332 | | |
333 | | public: |
334 | | // bool unaligned_send = 2; |
335 | | void clear_unaligned_send() ; |
336 | | bool unaligned_send() const; |
337 | | void set_unaligned_send(bool value); |
338 | | |
339 | | private: |
340 | | bool _internal_unaligned_send() const; |
341 | | void _internal_set_unaligned_send(bool value); |
342 | | |
343 | | public: |
344 | | // bool raw_send = 3; |
345 | | void clear_raw_send() ; |
346 | | bool raw_send() const; |
347 | | void set_raw_send(bool value); |
348 | | |
349 | | private: |
350 | | bool _internal_raw_send() const; |
351 | | void _internal_set_raw_send(bool value); |
352 | | |
353 | | public: |
354 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.WsManualProbes) |
355 | | private: |
356 | | class _Internal; |
357 | | friend class ::google::protobuf::internal::TcParser; |
358 | | static const ::google::protobuf::internal::TcParseTable< |
359 | | 2, 3, 0, |
360 | | 0, 2> |
361 | | _table_; |
362 | | |
363 | | friend class ::google::protobuf::MessageLite; |
364 | | friend class ::google::protobuf::Arena; |
365 | | template <typename T> |
366 | | friend class ::google::protobuf::Arena::InternalHelper; |
367 | | using InternalArenaConstructable_ = void; |
368 | | using DestructorSkippable_ = void; |
369 | | struct Impl_ { |
370 | | inline explicit constexpr Impl_( |
371 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
372 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
373 | | ::google::protobuf::Arena* arena); |
374 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
375 | | ::google::protobuf::Arena* arena, const Impl_& from, |
376 | | const WsManualProbes& from_msg); |
377 | | bool flag_matrix_; |
378 | | bool unaligned_send_; |
379 | | bool raw_send_; |
380 | | ::google::protobuf::internal::CachedSize _cached_size_; |
381 | | PROTOBUF_TSAN_DECLARE_MEMBER |
382 | | }; |
383 | | union { Impl_ _impl_; }; |
384 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
385 | | }; |
386 | | // ------------------------------------------------------------------- |
387 | | |
388 | | class WebSocketFrame final : public ::google::protobuf::Message |
389 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.WebSocketFrame) */ { |
390 | | public: |
391 | 0 | inline WebSocketFrame() : WebSocketFrame(nullptr) {} |
392 | | ~WebSocketFrame() PROTOBUF_FINAL; |
393 | | |
394 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
395 | | void operator delete(WebSocketFrame* msg, std::destroying_delete_t) { |
396 | | SharedDtor(*msg); |
397 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(WebSocketFrame)); |
398 | | } |
399 | | #endif |
400 | | |
401 | | template <typename = void> |
402 | | explicit PROTOBUF_CONSTEXPR WebSocketFrame( |
403 | | ::google::protobuf::internal::ConstantInitialized); |
404 | | |
405 | 0 | inline WebSocketFrame(const WebSocketFrame& from) : WebSocketFrame(nullptr, from) {} |
406 | | inline WebSocketFrame(WebSocketFrame&& from) noexcept |
407 | 0 | : WebSocketFrame(nullptr, std::move(from)) {} |
408 | 0 | inline WebSocketFrame& operator=(const WebSocketFrame& from) { |
409 | 0 | CopyFrom(from); |
410 | 0 | return *this; |
411 | 0 | } |
412 | 0 | inline WebSocketFrame& operator=(WebSocketFrame&& from) noexcept { |
413 | 0 | if (this == &from) return *this; |
414 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
415 | 0 | InternalSwap(&from); |
416 | 0 | } else { |
417 | 0 | CopyFrom(from); |
418 | 0 | } |
419 | 0 | return *this; |
420 | 0 | } |
421 | | |
422 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
423 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
424 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
425 | 0 | } |
426 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
427 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
428 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
429 | 0 | } |
430 | | |
431 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
432 | 0 | return GetDescriptor(); |
433 | 0 | } |
434 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
435 | 0 | return default_instance().GetMetadata().descriptor; |
436 | 0 | } |
437 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
438 | 0 | return default_instance().GetMetadata().reflection; |
439 | 0 | } |
440 | 0 | static const WebSocketFrame& default_instance() { |
441 | 0 | return *internal_default_instance(); |
442 | 0 | } |
443 | 0 | static inline const WebSocketFrame* internal_default_instance() { |
444 | 0 | return reinterpret_cast<const WebSocketFrame*>( |
445 | 0 | &_WebSocketFrame_default_instance_); |
446 | 0 | } |
447 | | static constexpr int kIndexInFileMessages = 5; |
448 | 0 | friend void swap(WebSocketFrame& a, WebSocketFrame& b) { a.Swap(&b); } |
449 | 0 | inline void Swap(WebSocketFrame* other) { |
450 | 0 | if (other == this) return; |
451 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
452 | 0 | InternalSwap(other); |
453 | 0 | } else { |
454 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
455 | 0 | } |
456 | 0 | } |
457 | 0 | void UnsafeArenaSwap(WebSocketFrame* other) { |
458 | 0 | if (other == this) return; |
459 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
460 | 0 | InternalSwap(other); |
461 | 0 | } |
462 | | |
463 | | // implements Message ---------------------------------------------- |
464 | | |
465 | 0 | WebSocketFrame* New(::google::protobuf::Arena* arena = nullptr) const { |
466 | 0 | return ::google::protobuf::Message::DefaultConstruct<WebSocketFrame>(arena); |
467 | 0 | } |
468 | | using ::google::protobuf::Message::CopyFrom; |
469 | | void CopyFrom(const WebSocketFrame& from); |
470 | | using ::google::protobuf::Message::MergeFrom; |
471 | 0 | void MergeFrom(const WebSocketFrame& from) { WebSocketFrame::MergeImpl(*this, from); } |
472 | | |
473 | | private: |
474 | | static void MergeImpl( |
475 | | ::google::protobuf::MessageLite& to_msg, |
476 | | const ::google::protobuf::MessageLite& from_msg); |
477 | | |
478 | | public: |
479 | 0 | bool IsInitialized() const { |
480 | 0 | return true; |
481 | 0 | } |
482 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
483 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
484 | | private: |
485 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
486 | | static ::uint8_t* _InternalSerialize( |
487 | | const MessageLite& msg, ::uint8_t* target, |
488 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
489 | | |
490 | | public: |
491 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
492 | | ::uint8_t* _InternalSerialize( |
493 | | ::uint8_t* target, |
494 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
495 | | return _InternalSerialize(*this, target, stream); |
496 | | } |
497 | | #else // PROTOBUF_CUSTOM_VTABLE |
498 | | ::size_t ByteSizeLong() const final; |
499 | | ::uint8_t* _InternalSerialize( |
500 | | ::uint8_t* target, |
501 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
502 | | #endif // PROTOBUF_CUSTOM_VTABLE |
503 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
504 | | |
505 | | private: |
506 | | void SharedCtor(::google::protobuf::Arena* arena); |
507 | | static void SharedDtor(MessageLite& self); |
508 | | void InternalSwap(WebSocketFrame* other); |
509 | | private: |
510 | | template <typename T> |
511 | | friend ::absl::string_view( |
512 | | ::google::protobuf::internal::GetAnyMessageName)(); |
513 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.WebSocketFrame"; } |
514 | | |
515 | | protected: |
516 | | explicit WebSocketFrame(::google::protobuf::Arena* arena); |
517 | | WebSocketFrame(::google::protobuf::Arena* arena, const WebSocketFrame& from); |
518 | | WebSocketFrame(::google::protobuf::Arena* arena, WebSocketFrame&& from) noexcept |
519 | 0 | : WebSocketFrame(arena) { |
520 | 0 | *this = ::std::move(from); |
521 | 0 | } |
522 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
523 | | static void* PlacementNew_(const void*, void* mem, |
524 | | ::google::protobuf::Arena* arena); |
525 | | static constexpr auto InternalNewImpl_(); |
526 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
527 | | |
528 | | public: |
529 | | ::google::protobuf::Metadata GetMetadata() const; |
530 | | // nested types ---------------------------------------------------- |
531 | | |
532 | | // accessors ------------------------------------------------------- |
533 | | enum : int { |
534 | | kPayloadFieldNumber = 8, |
535 | | kFinFieldNumber = 1, |
536 | | kRsv1FieldNumber = 2, |
537 | | kRsv2FieldNumber = 3, |
538 | | kRsv3FieldNumber = 4, |
539 | | kOpcodeFieldNumber = 5, |
540 | | kMaskedFieldNumber = 6, |
541 | | kMaskKeyFieldNumber = 7, |
542 | | kLengthFormFieldNumber = 9, |
543 | | }; |
544 | | // bytes payload = 8; |
545 | | void clear_payload() ; |
546 | | const std::string& payload() const; |
547 | | template <typename Arg_ = const std::string&, typename... Args_> |
548 | | void set_payload(Arg_&& arg, Args_... args); |
549 | | std::string* mutable_payload(); |
550 | | PROTOBUF_NODISCARD std::string* release_payload(); |
551 | | void set_allocated_payload(std::string* value); |
552 | | |
553 | | private: |
554 | | const std::string& _internal_payload() const; |
555 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload( |
556 | | const std::string& value); |
557 | | std::string* _internal_mutable_payload(); |
558 | | |
559 | | public: |
560 | | // bool fin = 1; |
561 | | void clear_fin() ; |
562 | | bool fin() const; |
563 | | void set_fin(bool value); |
564 | | |
565 | | private: |
566 | | bool _internal_fin() const; |
567 | | void _internal_set_fin(bool value); |
568 | | |
569 | | public: |
570 | | // bool rsv1 = 2; |
571 | | void clear_rsv1() ; |
572 | | bool rsv1() const; |
573 | | void set_rsv1(bool value); |
574 | | |
575 | | private: |
576 | | bool _internal_rsv1() const; |
577 | | void _internal_set_rsv1(bool value); |
578 | | |
579 | | public: |
580 | | // bool rsv2 = 3; |
581 | | void clear_rsv2() ; |
582 | | bool rsv2() const; |
583 | | void set_rsv2(bool value); |
584 | | |
585 | | private: |
586 | | bool _internal_rsv2() const; |
587 | | void _internal_set_rsv2(bool value); |
588 | | |
589 | | public: |
590 | | // bool rsv3 = 4; |
591 | | void clear_rsv3() ; |
592 | | bool rsv3() const; |
593 | | void set_rsv3(bool value); |
594 | | |
595 | | private: |
596 | | bool _internal_rsv3() const; |
597 | | void _internal_set_rsv3(bool value); |
598 | | |
599 | | public: |
600 | | // uint32 opcode = 5; |
601 | | void clear_opcode() ; |
602 | | ::uint32_t opcode() const; |
603 | | void set_opcode(::uint32_t value); |
604 | | |
605 | | private: |
606 | | ::uint32_t _internal_opcode() const; |
607 | | void _internal_set_opcode(::uint32_t value); |
608 | | |
609 | | public: |
610 | | // bool masked = 6; |
611 | | void clear_masked() ; |
612 | | bool masked() const; |
613 | | void set_masked(bool value); |
614 | | |
615 | | private: |
616 | | bool _internal_masked() const; |
617 | | void _internal_set_masked(bool value); |
618 | | |
619 | | public: |
620 | | // uint32 mask_key = 7; |
621 | | void clear_mask_key() ; |
622 | | ::uint32_t mask_key() const; |
623 | | void set_mask_key(::uint32_t value); |
624 | | |
625 | | private: |
626 | | ::uint32_t _internal_mask_key() const; |
627 | | void _internal_set_mask_key(::uint32_t value); |
628 | | |
629 | | public: |
630 | | // uint32 length_form = 9; |
631 | | void clear_length_form() ; |
632 | | ::uint32_t length_form() const; |
633 | | void set_length_form(::uint32_t value); |
634 | | |
635 | | private: |
636 | | ::uint32_t _internal_length_form() const; |
637 | | void _internal_set_length_form(::uint32_t value); |
638 | | |
639 | | public: |
640 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.WebSocketFrame) |
641 | | private: |
642 | | class _Internal; |
643 | | friend class ::google::protobuf::internal::TcParser; |
644 | | static const ::google::protobuf::internal::TcParseTable< |
645 | | 4, 9, 0, |
646 | | 0, 2> |
647 | | _table_; |
648 | | |
649 | | friend class ::google::protobuf::MessageLite; |
650 | | friend class ::google::protobuf::Arena; |
651 | | template <typename T> |
652 | | friend class ::google::protobuf::Arena::InternalHelper; |
653 | | using InternalArenaConstructable_ = void; |
654 | | using DestructorSkippable_ = void; |
655 | | struct Impl_ { |
656 | | inline explicit constexpr Impl_( |
657 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
658 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
659 | | ::google::protobuf::Arena* arena); |
660 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
661 | | ::google::protobuf::Arena* arena, const Impl_& from, |
662 | | const WebSocketFrame& from_msg); |
663 | | ::google::protobuf::internal::ArenaStringPtr payload_; |
664 | | bool fin_; |
665 | | bool rsv1_; |
666 | | bool rsv2_; |
667 | | bool rsv3_; |
668 | | ::uint32_t opcode_; |
669 | | bool masked_; |
670 | | ::uint32_t mask_key_; |
671 | | ::uint32_t length_form_; |
672 | | ::google::protobuf::internal::CachedSize _cached_size_; |
673 | | PROTOBUF_TSAN_DECLARE_MEMBER |
674 | | }; |
675 | | union { Impl_ _impl_; }; |
676 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
677 | | }; |
678 | | // ------------------------------------------------------------------- |
679 | | |
680 | | class SetOption final : public ::google::protobuf::Message |
681 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.SetOption) */ { |
682 | | public: |
683 | 0 | inline SetOption() : SetOption(nullptr) {} |
684 | | ~SetOption() PROTOBUF_FINAL; |
685 | | |
686 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
687 | | void operator delete(SetOption* msg, std::destroying_delete_t) { |
688 | | SharedDtor(*msg); |
689 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(SetOption)); |
690 | | } |
691 | | #endif |
692 | | |
693 | | template <typename = void> |
694 | | explicit PROTOBUF_CONSTEXPR SetOption( |
695 | | ::google::protobuf::internal::ConstantInitialized); |
696 | | |
697 | 0 | inline SetOption(const SetOption& from) : SetOption(nullptr, from) {} |
698 | | inline SetOption(SetOption&& from) noexcept |
699 | 0 | : SetOption(nullptr, std::move(from)) {} |
700 | 0 | inline SetOption& operator=(const SetOption& from) { |
701 | 0 | CopyFrom(from); |
702 | 0 | return *this; |
703 | 0 | } |
704 | 0 | inline SetOption& operator=(SetOption&& from) noexcept { |
705 | 0 | if (this == &from) return *this; |
706 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
707 | 0 | InternalSwap(&from); |
708 | 0 | } else { |
709 | 0 | CopyFrom(from); |
710 | 0 | } |
711 | 0 | return *this; |
712 | 0 | } |
713 | | |
714 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
715 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
716 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
717 | 0 | } |
718 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
719 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
720 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
721 | 0 | } |
722 | | |
723 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
724 | 0 | return GetDescriptor(); |
725 | 0 | } |
726 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
727 | 0 | return default_instance().GetMetadata().descriptor; |
728 | 0 | } |
729 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
730 | 0 | return default_instance().GetMetadata().reflection; |
731 | 0 | } |
732 | 0 | static const SetOption& default_instance() { |
733 | 0 | return *internal_default_instance(); |
734 | 0 | } |
735 | | enum ValueCase { |
736 | | kStringValue = 10, |
737 | | kUintValue = 11, |
738 | | kBoolValue = 12, |
739 | | VALUE_NOT_SET = 0, |
740 | | }; |
741 | 0 | static inline const SetOption* internal_default_instance() { |
742 | 0 | return reinterpret_cast<const SetOption*>( |
743 | 0 | &_SetOption_default_instance_); |
744 | 0 | } |
745 | | static constexpr int kIndexInFileMessages = 1; |
746 | 0 | friend void swap(SetOption& a, SetOption& b) { a.Swap(&b); } |
747 | 0 | inline void Swap(SetOption* other) { |
748 | 0 | if (other == this) return; |
749 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
750 | 0 | InternalSwap(other); |
751 | 0 | } else { |
752 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
753 | 0 | } |
754 | 0 | } |
755 | 0 | void UnsafeArenaSwap(SetOption* other) { |
756 | 0 | if (other == this) return; |
757 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
758 | 0 | InternalSwap(other); |
759 | 0 | } |
760 | | |
761 | | // implements Message ---------------------------------------------- |
762 | | |
763 | 0 | SetOption* New(::google::protobuf::Arena* arena = nullptr) const { |
764 | 0 | return ::google::protobuf::Message::DefaultConstruct<SetOption>(arena); |
765 | 0 | } |
766 | | using ::google::protobuf::Message::CopyFrom; |
767 | | void CopyFrom(const SetOption& from); |
768 | | using ::google::protobuf::Message::MergeFrom; |
769 | 0 | void MergeFrom(const SetOption& from) { SetOption::MergeImpl(*this, from); } |
770 | | |
771 | | private: |
772 | | static void MergeImpl( |
773 | | ::google::protobuf::MessageLite& to_msg, |
774 | | const ::google::protobuf::MessageLite& from_msg); |
775 | | |
776 | | public: |
777 | 0 | bool IsInitialized() const { |
778 | 0 | return true; |
779 | 0 | } |
780 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
781 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
782 | | private: |
783 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
784 | | static ::uint8_t* _InternalSerialize( |
785 | | const MessageLite& msg, ::uint8_t* target, |
786 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
787 | | |
788 | | public: |
789 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
790 | | ::uint8_t* _InternalSerialize( |
791 | | ::uint8_t* target, |
792 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
793 | | return _InternalSerialize(*this, target, stream); |
794 | | } |
795 | | #else // PROTOBUF_CUSTOM_VTABLE |
796 | | ::size_t ByteSizeLong() const final; |
797 | | ::uint8_t* _InternalSerialize( |
798 | | ::uint8_t* target, |
799 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
800 | | #endif // PROTOBUF_CUSTOM_VTABLE |
801 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
802 | | |
803 | | private: |
804 | | void SharedCtor(::google::protobuf::Arena* arena); |
805 | | static void SharedDtor(MessageLite& self); |
806 | | void InternalSwap(SetOption* other); |
807 | | private: |
808 | | template <typename T> |
809 | | friend ::absl::string_view( |
810 | | ::google::protobuf::internal::GetAnyMessageName)(); |
811 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.SetOption"; } |
812 | | |
813 | | protected: |
814 | | explicit SetOption(::google::protobuf::Arena* arena); |
815 | | SetOption(::google::protobuf::Arena* arena, const SetOption& from); |
816 | | SetOption(::google::protobuf::Arena* arena, SetOption&& from) noexcept |
817 | 0 | : SetOption(arena) { |
818 | 0 | *this = ::std::move(from); |
819 | 0 | } |
820 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
821 | | static void* PlacementNew_(const void*, void* mem, |
822 | | ::google::protobuf::Arena* arena); |
823 | | static constexpr auto InternalNewImpl_(); |
824 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
825 | | |
826 | | public: |
827 | | ::google::protobuf::Metadata GetMetadata() const; |
828 | | // nested types ---------------------------------------------------- |
829 | | |
830 | | // accessors ------------------------------------------------------- |
831 | | enum : int { |
832 | | kOptionIdFieldNumber = 1, |
833 | | kStringValueFieldNumber = 10, |
834 | | kUintValueFieldNumber = 11, |
835 | | kBoolValueFieldNumber = 12, |
836 | | }; |
837 | | // .curl.fuzzer.proto.CurlOptionId option_id = 1; |
838 | | void clear_option_id() ; |
839 | | ::curl::fuzzer::proto::CurlOptionId option_id() const; |
840 | | void set_option_id(::curl::fuzzer::proto::CurlOptionId value); |
841 | | |
842 | | private: |
843 | | ::curl::fuzzer::proto::CurlOptionId _internal_option_id() const; |
844 | | void _internal_set_option_id(::curl::fuzzer::proto::CurlOptionId value); |
845 | | |
846 | | public: |
847 | | // bytes string_value = 10; |
848 | | bool has_string_value() const; |
849 | | void clear_string_value() ; |
850 | | const std::string& string_value() const; |
851 | | template <typename Arg_ = const std::string&, typename... Args_> |
852 | | void set_string_value(Arg_&& arg, Args_... args); |
853 | | std::string* mutable_string_value(); |
854 | | PROTOBUF_NODISCARD std::string* release_string_value(); |
855 | | void set_allocated_string_value(std::string* value); |
856 | | |
857 | | private: |
858 | | const std::string& _internal_string_value() const; |
859 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value( |
860 | | const std::string& value); |
861 | | std::string* _internal_mutable_string_value(); |
862 | | |
863 | | public: |
864 | | // uint64 uint_value = 11; |
865 | | bool has_uint_value() const; |
866 | | void clear_uint_value() ; |
867 | | ::uint64_t uint_value() const; |
868 | | void set_uint_value(::uint64_t value); |
869 | | |
870 | | private: |
871 | | ::uint64_t _internal_uint_value() const; |
872 | | void _internal_set_uint_value(::uint64_t value); |
873 | | |
874 | | public: |
875 | | // bool bool_value = 12; |
876 | | bool has_bool_value() const; |
877 | | void clear_bool_value() ; |
878 | | bool bool_value() const; |
879 | | void set_bool_value(bool value); |
880 | | |
881 | | private: |
882 | | bool _internal_bool_value() const; |
883 | | void _internal_set_bool_value(bool value); |
884 | | |
885 | | public: |
886 | | void clear_value(); |
887 | | ValueCase value_case() const; |
888 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.SetOption) |
889 | | private: |
890 | | class _Internal; |
891 | | void set_has_string_value(); |
892 | | void set_has_uint_value(); |
893 | | void set_has_bool_value(); |
894 | | inline bool has_value() const; |
895 | | inline void clear_has_value(); |
896 | | friend class ::google::protobuf::internal::TcParser; |
897 | | static const ::google::protobuf::internal::TcParseTable< |
898 | | 0, 4, 0, |
899 | | 0, 2> |
900 | | _table_; |
901 | | |
902 | | friend class ::google::protobuf::MessageLite; |
903 | | friend class ::google::protobuf::Arena; |
904 | | template <typename T> |
905 | | friend class ::google::protobuf::Arena::InternalHelper; |
906 | | using InternalArenaConstructable_ = void; |
907 | | using DestructorSkippable_ = void; |
908 | | struct Impl_ { |
909 | | inline explicit constexpr Impl_( |
910 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
911 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
912 | | ::google::protobuf::Arena* arena); |
913 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
914 | | ::google::protobuf::Arena* arena, const Impl_& from, |
915 | | const SetOption& from_msg); |
916 | | int option_id_; |
917 | | union ValueUnion { |
918 | 0 | constexpr ValueUnion() : _constinit_{} {} |
919 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
920 | | ::google::protobuf::internal::ArenaStringPtr string_value_; |
921 | | ::uint64_t uint_value_; |
922 | | bool bool_value_; |
923 | | } value_; |
924 | | ::google::protobuf::internal::CachedSize _cached_size_; |
925 | | ::uint32_t _oneof_case_[1]; |
926 | | PROTOBUF_TSAN_DECLARE_MEMBER |
927 | | }; |
928 | | union { Impl_ _impl_; }; |
929 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
930 | | }; |
931 | | // ------------------------------------------------------------------- |
932 | | |
933 | | class BackpressureConfig final : public ::google::protobuf::Message |
934 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.BackpressureConfig) */ { |
935 | | public: |
936 | 0 | inline BackpressureConfig() : BackpressureConfig(nullptr) {} |
937 | | ~BackpressureConfig() PROTOBUF_FINAL; |
938 | | |
939 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
940 | | void operator delete(BackpressureConfig* msg, std::destroying_delete_t) { |
941 | | SharedDtor(*msg); |
942 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(BackpressureConfig)); |
943 | | } |
944 | | #endif |
945 | | |
946 | | template <typename = void> |
947 | | explicit PROTOBUF_CONSTEXPR BackpressureConfig( |
948 | | ::google::protobuf::internal::ConstantInitialized); |
949 | | |
950 | 0 | inline BackpressureConfig(const BackpressureConfig& from) : BackpressureConfig(nullptr, from) {} |
951 | | inline BackpressureConfig(BackpressureConfig&& from) noexcept |
952 | 0 | : BackpressureConfig(nullptr, std::move(from)) {} |
953 | 0 | inline BackpressureConfig& operator=(const BackpressureConfig& from) { |
954 | 0 | CopyFrom(from); |
955 | 0 | return *this; |
956 | 0 | } |
957 | 0 | inline BackpressureConfig& operator=(BackpressureConfig&& from) noexcept { |
958 | 0 | if (this == &from) return *this; |
959 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
960 | 0 | InternalSwap(&from); |
961 | 0 | } else { |
962 | 0 | CopyFrom(from); |
963 | 0 | } |
964 | 0 | return *this; |
965 | 0 | } |
966 | | |
967 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
968 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
969 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
970 | 0 | } |
971 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
972 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
973 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
974 | 0 | } |
975 | | |
976 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
977 | 0 | return GetDescriptor(); |
978 | 0 | } |
979 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
980 | 0 | return default_instance().GetMetadata().descriptor; |
981 | 0 | } |
982 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
983 | 0 | return default_instance().GetMetadata().reflection; |
984 | 0 | } |
985 | 0 | static const BackpressureConfig& default_instance() { |
986 | 0 | return *internal_default_instance(); |
987 | 0 | } |
988 | 0 | static inline const BackpressureConfig* internal_default_instance() { |
989 | 0 | return reinterpret_cast<const BackpressureConfig*>( |
990 | 0 | &_BackpressureConfig_default_instance_); |
991 | 0 | } |
992 | | static constexpr int kIndexInFileMessages = 4; |
993 | 0 | friend void swap(BackpressureConfig& a, BackpressureConfig& b) { a.Swap(&b); } |
994 | 0 | inline void Swap(BackpressureConfig* other) { |
995 | 0 | if (other == this) return; |
996 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
997 | 0 | InternalSwap(other); |
998 | 0 | } else { |
999 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1000 | 0 | } |
1001 | 0 | } |
1002 | 0 | void UnsafeArenaSwap(BackpressureConfig* other) { |
1003 | 0 | if (other == this) return; |
1004 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1005 | 0 | InternalSwap(other); |
1006 | 0 | } |
1007 | | |
1008 | | // implements Message ---------------------------------------------- |
1009 | | |
1010 | 0 | BackpressureConfig* New(::google::protobuf::Arena* arena = nullptr) const { |
1011 | 0 | return ::google::protobuf::Message::DefaultConstruct<BackpressureConfig>(arena); |
1012 | 0 | } |
1013 | | using ::google::protobuf::Message::CopyFrom; |
1014 | | void CopyFrom(const BackpressureConfig& from); |
1015 | | using ::google::protobuf::Message::MergeFrom; |
1016 | 0 | void MergeFrom(const BackpressureConfig& from) { BackpressureConfig::MergeImpl(*this, from); } |
1017 | | |
1018 | | private: |
1019 | | static void MergeImpl( |
1020 | | ::google::protobuf::MessageLite& to_msg, |
1021 | | const ::google::protobuf::MessageLite& from_msg); |
1022 | | |
1023 | | public: |
1024 | 0 | bool IsInitialized() const { |
1025 | 0 | return true; |
1026 | 0 | } |
1027 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1028 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1029 | | private: |
1030 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1031 | | static ::uint8_t* _InternalSerialize( |
1032 | | const MessageLite& msg, ::uint8_t* target, |
1033 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1034 | | |
1035 | | public: |
1036 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1037 | | ::uint8_t* _InternalSerialize( |
1038 | | ::uint8_t* target, |
1039 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1040 | | return _InternalSerialize(*this, target, stream); |
1041 | | } |
1042 | | #else // PROTOBUF_CUSTOM_VTABLE |
1043 | | ::size_t ByteSizeLong() const final; |
1044 | | ::uint8_t* _InternalSerialize( |
1045 | | ::uint8_t* target, |
1046 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1047 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1048 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1049 | | |
1050 | | private: |
1051 | | void SharedCtor(::google::protobuf::Arena* arena); |
1052 | | static void SharedDtor(MessageLite& self); |
1053 | | void InternalSwap(BackpressureConfig* other); |
1054 | | private: |
1055 | | template <typename T> |
1056 | | friend ::absl::string_view( |
1057 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1058 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.BackpressureConfig"; } |
1059 | | |
1060 | | protected: |
1061 | | explicit BackpressureConfig(::google::protobuf::Arena* arena); |
1062 | | BackpressureConfig(::google::protobuf::Arena* arena, const BackpressureConfig& from); |
1063 | | BackpressureConfig(::google::protobuf::Arena* arena, BackpressureConfig&& from) noexcept |
1064 | 0 | : BackpressureConfig(arena) { |
1065 | 0 | *this = ::std::move(from); |
1066 | 0 | } |
1067 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1068 | | static void* PlacementNew_(const void*, void* mem, |
1069 | | ::google::protobuf::Arena* arena); |
1070 | | static constexpr auto InternalNewImpl_(); |
1071 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1072 | | |
1073 | | public: |
1074 | | ::google::protobuf::Metadata GetMetadata() const; |
1075 | | // nested types ---------------------------------------------------- |
1076 | | |
1077 | | // accessors ------------------------------------------------------- |
1078 | | enum : int { |
1079 | | kRecvBufBytesFieldNumber = 1, |
1080 | | kDrainLimitFieldNumber = 2, |
1081 | | }; |
1082 | | // uint32 recv_buf_bytes = 1; |
1083 | | void clear_recv_buf_bytes() ; |
1084 | | ::uint32_t recv_buf_bytes() const; |
1085 | | void set_recv_buf_bytes(::uint32_t value); |
1086 | | |
1087 | | private: |
1088 | | ::uint32_t _internal_recv_buf_bytes() const; |
1089 | | void _internal_set_recv_buf_bytes(::uint32_t value); |
1090 | | |
1091 | | public: |
1092 | | // uint32 drain_limit = 2; |
1093 | | void clear_drain_limit() ; |
1094 | | ::uint32_t drain_limit() const; |
1095 | | void set_drain_limit(::uint32_t value); |
1096 | | |
1097 | | private: |
1098 | | ::uint32_t _internal_drain_limit() const; |
1099 | | void _internal_set_drain_limit(::uint32_t value); |
1100 | | |
1101 | | public: |
1102 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.BackpressureConfig) |
1103 | | private: |
1104 | | class _Internal; |
1105 | | friend class ::google::protobuf::internal::TcParser; |
1106 | | static const ::google::protobuf::internal::TcParseTable< |
1107 | | 1, 2, 0, |
1108 | | 0, 2> |
1109 | | _table_; |
1110 | | |
1111 | | friend class ::google::protobuf::MessageLite; |
1112 | | friend class ::google::protobuf::Arena; |
1113 | | template <typename T> |
1114 | | friend class ::google::protobuf::Arena::InternalHelper; |
1115 | | using InternalArenaConstructable_ = void; |
1116 | | using DestructorSkippable_ = void; |
1117 | | struct Impl_ { |
1118 | | inline explicit constexpr Impl_( |
1119 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1120 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1121 | | ::google::protobuf::Arena* arena); |
1122 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1123 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1124 | | const BackpressureConfig& from_msg); |
1125 | | ::uint32_t recv_buf_bytes_; |
1126 | | ::uint32_t drain_limit_; |
1127 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1128 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1129 | | }; |
1130 | | union { Impl_ _impl_; }; |
1131 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1132 | | }; |
1133 | | // ------------------------------------------------------------------- |
1134 | | |
1135 | | class Connection final : public ::google::protobuf::Message |
1136 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.Connection) */ { |
1137 | | public: |
1138 | 0 | inline Connection() : Connection(nullptr) {} |
1139 | | ~Connection() PROTOBUF_FINAL; |
1140 | | |
1141 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1142 | | void operator delete(Connection* msg, std::destroying_delete_t) { |
1143 | | SharedDtor(*msg); |
1144 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Connection)); |
1145 | | } |
1146 | | #endif |
1147 | | |
1148 | | template <typename = void> |
1149 | | explicit PROTOBUF_CONSTEXPR Connection( |
1150 | | ::google::protobuf::internal::ConstantInitialized); |
1151 | | |
1152 | 0 | inline Connection(const Connection& from) : Connection(nullptr, from) {} |
1153 | | inline Connection(Connection&& from) noexcept |
1154 | 0 | : Connection(nullptr, std::move(from)) {} |
1155 | 0 | inline Connection& operator=(const Connection& from) { |
1156 | 0 | CopyFrom(from); |
1157 | 0 | return *this; |
1158 | 0 | } |
1159 | 0 | inline Connection& operator=(Connection&& from) noexcept { |
1160 | 0 | if (this == &from) return *this; |
1161 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1162 | 0 | InternalSwap(&from); |
1163 | 0 | } else { |
1164 | 0 | CopyFrom(from); |
1165 | 0 | } |
1166 | 0 | return *this; |
1167 | 0 | } |
1168 | | |
1169 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1170 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1171 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1172 | 0 | } |
1173 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1174 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1175 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1176 | 0 | } |
1177 | | |
1178 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1179 | 0 | return GetDescriptor(); |
1180 | 0 | } |
1181 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1182 | 0 | return default_instance().GetMetadata().descriptor; |
1183 | 0 | } |
1184 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1185 | 0 | return default_instance().GetMetadata().reflection; |
1186 | 0 | } |
1187 | 0 | static const Connection& default_instance() { |
1188 | 0 | return *internal_default_instance(); |
1189 | 0 | } |
1190 | 0 | static inline const Connection* internal_default_instance() { |
1191 | 0 | return reinterpret_cast<const Connection*>( |
1192 | 0 | &_Connection_default_instance_); |
1193 | 0 | } |
1194 | | static constexpr int kIndexInFileMessages = 2; |
1195 | 0 | friend void swap(Connection& a, Connection& b) { a.Swap(&b); } |
1196 | 0 | inline void Swap(Connection* other) { |
1197 | 0 | if (other == this) return; |
1198 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1199 | 0 | InternalSwap(other); |
1200 | 0 | } else { |
1201 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1202 | 0 | } |
1203 | 0 | } |
1204 | 0 | void UnsafeArenaSwap(Connection* other) { |
1205 | 0 | if (other == this) return; |
1206 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1207 | 0 | InternalSwap(other); |
1208 | 0 | } |
1209 | | |
1210 | | // implements Message ---------------------------------------------- |
1211 | | |
1212 | 0 | Connection* New(::google::protobuf::Arena* arena = nullptr) const { |
1213 | 0 | return ::google::protobuf::Message::DefaultConstruct<Connection>(arena); |
1214 | 0 | } |
1215 | | using ::google::protobuf::Message::CopyFrom; |
1216 | | void CopyFrom(const Connection& from); |
1217 | | using ::google::protobuf::Message::MergeFrom; |
1218 | 0 | void MergeFrom(const Connection& from) { Connection::MergeImpl(*this, from); } |
1219 | | |
1220 | | private: |
1221 | | static void MergeImpl( |
1222 | | ::google::protobuf::MessageLite& to_msg, |
1223 | | const ::google::protobuf::MessageLite& from_msg); |
1224 | | |
1225 | | public: |
1226 | 0 | bool IsInitialized() const { |
1227 | 0 | return true; |
1228 | 0 | } |
1229 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1230 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1231 | | private: |
1232 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1233 | | static ::uint8_t* _InternalSerialize( |
1234 | | const MessageLite& msg, ::uint8_t* target, |
1235 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1236 | | |
1237 | | public: |
1238 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1239 | | ::uint8_t* _InternalSerialize( |
1240 | | ::uint8_t* target, |
1241 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1242 | | return _InternalSerialize(*this, target, stream); |
1243 | | } |
1244 | | #else // PROTOBUF_CUSTOM_VTABLE |
1245 | | ::size_t ByteSizeLong() const final; |
1246 | | ::uint8_t* _InternalSerialize( |
1247 | | ::uint8_t* target, |
1248 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1249 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1250 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1251 | | |
1252 | | private: |
1253 | | void SharedCtor(::google::protobuf::Arena* arena); |
1254 | | static void SharedDtor(MessageLite& self); |
1255 | | void InternalSwap(Connection* other); |
1256 | | private: |
1257 | | template <typename T> |
1258 | | friend ::absl::string_view( |
1259 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1260 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.Connection"; } |
1261 | | |
1262 | | protected: |
1263 | | explicit Connection(::google::protobuf::Arena* arena); |
1264 | | Connection(::google::protobuf::Arena* arena, const Connection& from); |
1265 | | Connection(::google::protobuf::Arena* arena, Connection&& from) noexcept |
1266 | 0 | : Connection(arena) { |
1267 | 0 | *this = ::std::move(from); |
1268 | 0 | } |
1269 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1270 | | static void* PlacementNew_(const void*, void* mem, |
1271 | | ::google::protobuf::Arena* arena); |
1272 | | static constexpr auto InternalNewImpl_(); |
1273 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1274 | | |
1275 | | public: |
1276 | | ::google::protobuf::Metadata GetMetadata() const; |
1277 | | // nested types ---------------------------------------------------- |
1278 | | |
1279 | | // accessors ------------------------------------------------------- |
1280 | | enum : int { |
1281 | | kOnReadableFieldNumber = 2, |
1282 | | kServerFramesFieldNumber = 3, |
1283 | | kInitialResponseFieldNumber = 1, |
1284 | | kBackpressureFieldNumber = 4, |
1285 | | kManualProbesFieldNumber = 5, |
1286 | | }; |
1287 | | // repeated bytes on_readable = 2; |
1288 | | int on_readable_size() const; |
1289 | | private: |
1290 | | int _internal_on_readable_size() const; |
1291 | | |
1292 | | public: |
1293 | | void clear_on_readable() ; |
1294 | | const std::string& on_readable(int index) const; |
1295 | | std::string* mutable_on_readable(int index); |
1296 | | template <typename Arg_ = const std::string&, typename... Args_> |
1297 | | void set_on_readable(int index, Arg_&& value, Args_... args); |
1298 | | std::string* add_on_readable(); |
1299 | | template <typename Arg_ = const std::string&, typename... Args_> |
1300 | | void add_on_readable(Arg_&& value, Args_... args); |
1301 | | const ::google::protobuf::RepeatedPtrField<std::string>& on_readable() const; |
1302 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_on_readable(); |
1303 | | |
1304 | | private: |
1305 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_on_readable() const; |
1306 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_on_readable(); |
1307 | | |
1308 | | public: |
1309 | | // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3; |
1310 | | int server_frames_size() const; |
1311 | | private: |
1312 | | int _internal_server_frames_size() const; |
1313 | | |
1314 | | public: |
1315 | | void clear_server_frames() ; |
1316 | | ::curl::fuzzer::proto::WebSocketFrame* mutable_server_frames(int index); |
1317 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* mutable_server_frames(); |
1318 | | |
1319 | | private: |
1320 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& _internal_server_frames() const; |
1321 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* _internal_mutable_server_frames(); |
1322 | | public: |
1323 | | const ::curl::fuzzer::proto::WebSocketFrame& server_frames(int index) const; |
1324 | | ::curl::fuzzer::proto::WebSocketFrame* add_server_frames(); |
1325 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& server_frames() const; |
1326 | | // bytes initial_response = 1; |
1327 | | void clear_initial_response() ; |
1328 | | const std::string& initial_response() const; |
1329 | | template <typename Arg_ = const std::string&, typename... Args_> |
1330 | | void set_initial_response(Arg_&& arg, Args_... args); |
1331 | | std::string* mutable_initial_response(); |
1332 | | PROTOBUF_NODISCARD std::string* release_initial_response(); |
1333 | | void set_allocated_initial_response(std::string* value); |
1334 | | |
1335 | | private: |
1336 | | const std::string& _internal_initial_response() const; |
1337 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_initial_response( |
1338 | | const std::string& value); |
1339 | | std::string* _internal_mutable_initial_response(); |
1340 | | |
1341 | | public: |
1342 | | // .curl.fuzzer.proto.BackpressureConfig backpressure = 4; |
1343 | | bool has_backpressure() const; |
1344 | | void clear_backpressure() ; |
1345 | | const ::curl::fuzzer::proto::BackpressureConfig& backpressure() const; |
1346 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::BackpressureConfig* release_backpressure(); |
1347 | | ::curl::fuzzer::proto::BackpressureConfig* mutable_backpressure(); |
1348 | | void set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value); |
1349 | | void unsafe_arena_set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value); |
1350 | | ::curl::fuzzer::proto::BackpressureConfig* unsafe_arena_release_backpressure(); |
1351 | | |
1352 | | private: |
1353 | | const ::curl::fuzzer::proto::BackpressureConfig& _internal_backpressure() const; |
1354 | | ::curl::fuzzer::proto::BackpressureConfig* _internal_mutable_backpressure(); |
1355 | | |
1356 | | public: |
1357 | | // .curl.fuzzer.proto.WsManualProbes manual_probes = 5; |
1358 | | bool has_manual_probes() const; |
1359 | | void clear_manual_probes() ; |
1360 | | const ::curl::fuzzer::proto::WsManualProbes& manual_probes() const; |
1361 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::WsManualProbes* release_manual_probes(); |
1362 | | ::curl::fuzzer::proto::WsManualProbes* mutable_manual_probes(); |
1363 | | void set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value); |
1364 | | void unsafe_arena_set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value); |
1365 | | ::curl::fuzzer::proto::WsManualProbes* unsafe_arena_release_manual_probes(); |
1366 | | |
1367 | | private: |
1368 | | const ::curl::fuzzer::proto::WsManualProbes& _internal_manual_probes() const; |
1369 | | ::curl::fuzzer::proto::WsManualProbes* _internal_mutable_manual_probes(); |
1370 | | |
1371 | | public: |
1372 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.Connection) |
1373 | | private: |
1374 | | class _Internal; |
1375 | | friend class ::google::protobuf::internal::TcParser; |
1376 | | static const ::google::protobuf::internal::TcParseTable< |
1377 | | 3, 5, 3, |
1378 | | 0, 2> |
1379 | | _table_; |
1380 | | |
1381 | | friend class ::google::protobuf::MessageLite; |
1382 | | friend class ::google::protobuf::Arena; |
1383 | | template <typename T> |
1384 | | friend class ::google::protobuf::Arena::InternalHelper; |
1385 | | using InternalArenaConstructable_ = void; |
1386 | | using DestructorSkippable_ = void; |
1387 | | struct Impl_ { |
1388 | | inline explicit constexpr Impl_( |
1389 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1390 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1391 | | ::google::protobuf::Arena* arena); |
1392 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1393 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1394 | | const Connection& from_msg); |
1395 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1396 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1397 | | ::google::protobuf::RepeatedPtrField<std::string> on_readable_; |
1398 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::WebSocketFrame > server_frames_; |
1399 | | ::google::protobuf::internal::ArenaStringPtr initial_response_; |
1400 | | ::curl::fuzzer::proto::BackpressureConfig* backpressure_; |
1401 | | ::curl::fuzzer::proto::WsManualProbes* manual_probes_; |
1402 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1403 | | }; |
1404 | | union { Impl_ _impl_; }; |
1405 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1406 | | }; |
1407 | | // ------------------------------------------------------------------- |
1408 | | |
1409 | | class Scenario final : public ::google::protobuf::Message |
1410 | | /* @@protoc_insertion_point(class_definition:curl.fuzzer.proto.Scenario) */ { |
1411 | | public: |
1412 | 3.37k | inline Scenario() : Scenario(nullptr) {} |
1413 | | ~Scenario() PROTOBUF_FINAL; |
1414 | | |
1415 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1416 | | void operator delete(Scenario* msg, std::destroying_delete_t) { |
1417 | | SharedDtor(*msg); |
1418 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Scenario)); |
1419 | | } |
1420 | | #endif |
1421 | | |
1422 | | template <typename = void> |
1423 | | explicit PROTOBUF_CONSTEXPR Scenario( |
1424 | | ::google::protobuf::internal::ConstantInitialized); |
1425 | | |
1426 | 0 | inline Scenario(const Scenario& from) : Scenario(nullptr, from) {} |
1427 | | inline Scenario(Scenario&& from) noexcept |
1428 | 0 | : Scenario(nullptr, std::move(from)) {} |
1429 | 0 | inline Scenario& operator=(const Scenario& from) { |
1430 | 0 | CopyFrom(from); |
1431 | 0 | return *this; |
1432 | 0 | } |
1433 | 0 | inline Scenario& operator=(Scenario&& from) noexcept { |
1434 | 0 | if (this == &from) return *this; |
1435 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1436 | 0 | InternalSwap(&from); |
1437 | 0 | } else { |
1438 | 0 | CopyFrom(from); |
1439 | 0 | } |
1440 | 0 | return *this; |
1441 | 0 | } |
1442 | | |
1443 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1444 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1445 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1446 | 0 | } |
1447 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1448 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1449 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1450 | 0 | } |
1451 | | |
1452 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1453 | 0 | return GetDescriptor(); |
1454 | 0 | } |
1455 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1456 | 0 | return default_instance().GetMetadata().descriptor; |
1457 | 0 | } |
1458 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1459 | 0 | return default_instance().GetMetadata().reflection; |
1460 | 0 | } |
1461 | 0 | static const Scenario& default_instance() { |
1462 | 0 | return *internal_default_instance(); |
1463 | 0 | } |
1464 | 0 | static inline const Scenario* internal_default_instance() { |
1465 | 0 | return reinterpret_cast<const Scenario*>( |
1466 | 0 | &_Scenario_default_instance_); |
1467 | 0 | } |
1468 | | static constexpr int kIndexInFileMessages = 0; |
1469 | 0 | friend void swap(Scenario& a, Scenario& b) { a.Swap(&b); } |
1470 | 0 | inline void Swap(Scenario* other) { |
1471 | 0 | if (other == this) return; |
1472 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1473 | 0 | InternalSwap(other); |
1474 | 0 | } else { |
1475 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1476 | 0 | } |
1477 | 0 | } |
1478 | 0 | void UnsafeArenaSwap(Scenario* other) { |
1479 | 0 | if (other == this) return; |
1480 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1481 | 0 | InternalSwap(other); |
1482 | 0 | } |
1483 | | |
1484 | | // implements Message ---------------------------------------------- |
1485 | | |
1486 | 0 | Scenario* New(::google::protobuf::Arena* arena = nullptr) const { |
1487 | 0 | return ::google::protobuf::Message::DefaultConstruct<Scenario>(arena); |
1488 | 0 | } |
1489 | | using ::google::protobuf::Message::CopyFrom; |
1490 | | void CopyFrom(const Scenario& from); |
1491 | | using ::google::protobuf::Message::MergeFrom; |
1492 | 0 | void MergeFrom(const Scenario& from) { Scenario::MergeImpl(*this, from); } |
1493 | | |
1494 | | private: |
1495 | | static void MergeImpl( |
1496 | | ::google::protobuf::MessageLite& to_msg, |
1497 | | const ::google::protobuf::MessageLite& from_msg); |
1498 | | |
1499 | | public: |
1500 | 0 | bool IsInitialized() const { |
1501 | 0 | return true; |
1502 | 0 | } |
1503 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1504 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1505 | | private: |
1506 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1507 | | static ::uint8_t* _InternalSerialize( |
1508 | | const MessageLite& msg, ::uint8_t* target, |
1509 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1510 | | |
1511 | | public: |
1512 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1513 | | ::uint8_t* _InternalSerialize( |
1514 | | ::uint8_t* target, |
1515 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1516 | | return _InternalSerialize(*this, target, stream); |
1517 | | } |
1518 | | #else // PROTOBUF_CUSTOM_VTABLE |
1519 | | ::size_t ByteSizeLong() const final; |
1520 | | ::uint8_t* _InternalSerialize( |
1521 | | ::uint8_t* target, |
1522 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1523 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1524 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1525 | | |
1526 | | private: |
1527 | | void SharedCtor(::google::protobuf::Arena* arena); |
1528 | | static void SharedDtor(MessageLite& self); |
1529 | | void InternalSwap(Scenario* other); |
1530 | | private: |
1531 | | template <typename T> |
1532 | | friend ::absl::string_view( |
1533 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1534 | 0 | static ::absl::string_view FullMessageName() { return "curl.fuzzer.proto.Scenario"; } |
1535 | | |
1536 | | protected: |
1537 | | explicit Scenario(::google::protobuf::Arena* arena); |
1538 | | Scenario(::google::protobuf::Arena* arena, const Scenario& from); |
1539 | | Scenario(::google::protobuf::Arena* arena, Scenario&& from) noexcept |
1540 | 0 | : Scenario(arena) { |
1541 | 0 | *this = ::std::move(from); |
1542 | 0 | } |
1543 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1544 | | static void* PlacementNew_(const void*, void* mem, |
1545 | | ::google::protobuf::Arena* arena); |
1546 | | static constexpr auto InternalNewImpl_(); |
1547 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1548 | | |
1549 | | public: |
1550 | | ::google::protobuf::Metadata GetMetadata() const; |
1551 | | // nested types ---------------------------------------------------- |
1552 | | |
1553 | | // accessors ------------------------------------------------------- |
1554 | | enum : int { |
1555 | | kOptionsFieldNumber = 3, |
1556 | | kHostPathFieldNumber = 2, |
1557 | | kConnectionFieldNumber = 4, |
1558 | | kSchemeFieldNumber = 1, |
1559 | | }; |
1560 | | // repeated .curl.fuzzer.proto.SetOption options = 3; |
1561 | | int options_size() const; |
1562 | | private: |
1563 | | int _internal_options_size() const; |
1564 | | |
1565 | | public: |
1566 | | void clear_options() ; |
1567 | | ::curl::fuzzer::proto::SetOption* mutable_options(int index); |
1568 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* mutable_options(); |
1569 | | |
1570 | | private: |
1571 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& _internal_options() const; |
1572 | | ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* _internal_mutable_options(); |
1573 | | public: |
1574 | | const ::curl::fuzzer::proto::SetOption& options(int index) const; |
1575 | | ::curl::fuzzer::proto::SetOption* add_options(); |
1576 | | const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& options() const; |
1577 | | // bytes host_path = 2; |
1578 | | void clear_host_path() ; |
1579 | | const std::string& host_path() const; |
1580 | | template <typename Arg_ = const std::string&, typename... Args_> |
1581 | | void set_host_path(Arg_&& arg, Args_... args); |
1582 | | std::string* mutable_host_path(); |
1583 | | PROTOBUF_NODISCARD std::string* release_host_path(); |
1584 | | void set_allocated_host_path(std::string* value); |
1585 | | |
1586 | | private: |
1587 | | const std::string& _internal_host_path() const; |
1588 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_host_path( |
1589 | | const std::string& value); |
1590 | | std::string* _internal_mutable_host_path(); |
1591 | | |
1592 | | public: |
1593 | | // .curl.fuzzer.proto.Connection connection = 4; |
1594 | | bool has_connection() const; |
1595 | | void clear_connection() ; |
1596 | | const ::curl::fuzzer::proto::Connection& connection() const; |
1597 | | PROTOBUF_NODISCARD ::curl::fuzzer::proto::Connection* release_connection(); |
1598 | | ::curl::fuzzer::proto::Connection* mutable_connection(); |
1599 | | void set_allocated_connection(::curl::fuzzer::proto::Connection* value); |
1600 | | void unsafe_arena_set_allocated_connection(::curl::fuzzer::proto::Connection* value); |
1601 | | ::curl::fuzzer::proto::Connection* unsafe_arena_release_connection(); |
1602 | | |
1603 | | private: |
1604 | | const ::curl::fuzzer::proto::Connection& _internal_connection() const; |
1605 | | ::curl::fuzzer::proto::Connection* _internal_mutable_connection(); |
1606 | | |
1607 | | public: |
1608 | | // .curl.fuzzer.proto.Scheme scheme = 1; |
1609 | | void clear_scheme() ; |
1610 | | ::curl::fuzzer::proto::Scheme scheme() const; |
1611 | | void set_scheme(::curl::fuzzer::proto::Scheme value); |
1612 | | |
1613 | | private: |
1614 | | ::curl::fuzzer::proto::Scheme _internal_scheme() const; |
1615 | | void _internal_set_scheme(::curl::fuzzer::proto::Scheme value); |
1616 | | |
1617 | | public: |
1618 | | // @@protoc_insertion_point(class_scope:curl.fuzzer.proto.Scenario) |
1619 | | private: |
1620 | | class _Internal; |
1621 | | friend class ::google::protobuf::internal::TcParser; |
1622 | | static const ::google::protobuf::internal::TcParseTable< |
1623 | | 2, 4, 2, |
1624 | | 0, 2> |
1625 | | _table_; |
1626 | | |
1627 | | friend class ::google::protobuf::MessageLite; |
1628 | | friend class ::google::protobuf::Arena; |
1629 | | template <typename T> |
1630 | | friend class ::google::protobuf::Arena::InternalHelper; |
1631 | | using InternalArenaConstructable_ = void; |
1632 | | using DestructorSkippable_ = void; |
1633 | | struct Impl_ { |
1634 | | inline explicit constexpr Impl_( |
1635 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1636 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1637 | | ::google::protobuf::Arena* arena); |
1638 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1639 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1640 | | const Scenario& from_msg); |
1641 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1642 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1643 | | ::google::protobuf::RepeatedPtrField< ::curl::fuzzer::proto::SetOption > options_; |
1644 | | ::google::protobuf::internal::ArenaStringPtr host_path_; |
1645 | | ::curl::fuzzer::proto::Connection* connection_; |
1646 | | int scheme_; |
1647 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1648 | | }; |
1649 | | union { Impl_ _impl_; }; |
1650 | | friend struct ::TableStruct_curl_5ffuzzer_2eproto; |
1651 | | }; |
1652 | | |
1653 | | // =================================================================== |
1654 | | |
1655 | | |
1656 | | |
1657 | | |
1658 | | // =================================================================== |
1659 | | |
1660 | | |
1661 | | #ifdef __GNUC__ |
1662 | | #pragma GCC diagnostic push |
1663 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1664 | | #endif // __GNUC__ |
1665 | | // ------------------------------------------------------------------- |
1666 | | |
1667 | | // Scenario |
1668 | | |
1669 | | // .curl.fuzzer.proto.Scheme scheme = 1; |
1670 | 0 | inline void Scenario::clear_scheme() { |
1671 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1672 | 0 | _impl_.scheme_ = 0; |
1673 | 0 | } |
1674 | 6.58k | inline ::curl::fuzzer::proto::Scheme Scenario::scheme() const { |
1675 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.scheme) |
1676 | 6.58k | return _internal_scheme(); |
1677 | 6.58k | } |
1678 | 0 | inline void Scenario::set_scheme(::curl::fuzzer::proto::Scheme value) { |
1679 | 0 | _internal_set_scheme(value); |
1680 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Scenario.scheme) |
1681 | 0 | } |
1682 | 6.58k | inline ::curl::fuzzer::proto::Scheme Scenario::_internal_scheme() const { |
1683 | 6.58k | ::google::protobuf::internal::TSanRead(&_impl_); |
1684 | 6.58k | return static_cast<::curl::fuzzer::proto::Scheme>(_impl_.scheme_); |
1685 | 6.58k | } |
1686 | 0 | inline void Scenario::_internal_set_scheme(::curl::fuzzer::proto::Scheme value) { |
1687 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1688 | 0 | _impl_.scheme_ = value; |
1689 | 0 | } |
1690 | | |
1691 | | // bytes host_path = 2; |
1692 | 0 | inline void Scenario::clear_host_path() { |
1693 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1694 | 0 | _impl_.host_path_.ClearToEmpty(); |
1695 | 0 | } |
1696 | | inline const std::string& Scenario::host_path() const |
1697 | 6.57k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1698 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.host_path) |
1699 | 6.57k | return _internal_host_path(); |
1700 | 6.57k | } |
1701 | | template <typename Arg_, typename... Args_> |
1702 | | inline PROTOBUF_ALWAYS_INLINE void Scenario::set_host_path(Arg_&& arg, |
1703 | | Args_... args) { |
1704 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1705 | | _impl_.host_path_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
1706 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Scenario.host_path) |
1707 | | } |
1708 | 0 | inline std::string* Scenario::mutable_host_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1709 | 0 | std::string* _s = _internal_mutable_host_path(); |
1710 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.host_path) |
1711 | 0 | return _s; |
1712 | 0 | } |
1713 | 6.57k | inline const std::string& Scenario::_internal_host_path() const { |
1714 | 6.57k | ::google::protobuf::internal::TSanRead(&_impl_); |
1715 | 6.57k | return _impl_.host_path_.Get(); |
1716 | 6.57k | } |
1717 | 0 | inline void Scenario::_internal_set_host_path(const std::string& value) { |
1718 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1719 | 0 | _impl_.host_path_.Set(value, GetArena()); |
1720 | 0 | } |
1721 | 0 | inline std::string* Scenario::_internal_mutable_host_path() { |
1722 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1723 | 0 | return _impl_.host_path_.Mutable( GetArena()); |
1724 | 0 | } |
1725 | 0 | inline std::string* Scenario::release_host_path() { |
1726 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1727 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Scenario.host_path) |
1728 | 0 | return _impl_.host_path_.Release(); |
1729 | 0 | } |
1730 | 0 | inline void Scenario::set_allocated_host_path(std::string* value) { |
1731 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1732 | 0 | _impl_.host_path_.SetAllocated(value, GetArena()); |
1733 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.host_path_.IsDefault()) { |
1734 | 0 | _impl_.host_path_.Set("", GetArena()); |
1735 | 0 | } |
1736 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Scenario.host_path) |
1737 | 0 | } |
1738 | | |
1739 | | // repeated .curl.fuzzer.proto.SetOption options = 3; |
1740 | 3.28k | inline int Scenario::_internal_options_size() const { |
1741 | 3.28k | return _internal_options().size(); |
1742 | 3.28k | } |
1743 | 3.28k | inline int Scenario::options_size() const { |
1744 | 3.28k | return _internal_options_size(); |
1745 | 3.28k | } |
1746 | 0 | inline void Scenario::clear_options() { |
1747 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1748 | 0 | _impl_.options_.Clear(); |
1749 | 0 | } |
1750 | | inline ::curl::fuzzer::proto::SetOption* Scenario::mutable_options(int index) |
1751 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1752 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.options) |
1753 | 0 | return _internal_mutable_options()->Mutable(index); |
1754 | 0 | } |
1755 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* Scenario::mutable_options() |
1756 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1757 | 0 | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Scenario.options) |
1758 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1759 | 0 | return _internal_mutable_options(); |
1760 | 0 | } |
1761 | | inline const ::curl::fuzzer::proto::SetOption& Scenario::options(int index) const |
1762 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1763 | 0 | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.options) |
1764 | 0 | return _internal_options().Get(index); |
1765 | 0 | } |
1766 | 0 | inline ::curl::fuzzer::proto::SetOption* Scenario::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1767 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1768 | 0 | ::curl::fuzzer::proto::SetOption* _add = _internal_mutable_options()->Add(); |
1769 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Scenario.options) |
1770 | 0 | return _add; |
1771 | 0 | } |
1772 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& Scenario::options() const |
1773 | 4.34k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1774 | | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Scenario.options) |
1775 | 4.34k | return _internal_options(); |
1776 | 4.34k | } |
1777 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>& |
1778 | 7.62k | Scenario::_internal_options() const { |
1779 | 7.62k | ::google::protobuf::internal::TSanRead(&_impl_); |
1780 | 7.62k | return _impl_.options_; |
1781 | 7.62k | } |
1782 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::SetOption>* |
1783 | 0 | Scenario::_internal_mutable_options() { |
1784 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1785 | 0 | return &_impl_.options_; |
1786 | 0 | } |
1787 | | |
1788 | | // .curl.fuzzer.proto.Connection connection = 4; |
1789 | 0 | inline bool Scenario::has_connection() const { |
1790 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
1791 | 0 | PROTOBUF_ASSUME(!value || _impl_.connection_ != nullptr); |
1792 | 0 | return value; |
1793 | 0 | } |
1794 | 0 | inline void Scenario::clear_connection() { |
1795 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1796 | 0 | if (_impl_.connection_ != nullptr) _impl_.connection_->Clear(); |
1797 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1798 | 0 | } |
1799 | 6.73k | inline const ::curl::fuzzer::proto::Connection& Scenario::_internal_connection() const { |
1800 | 6.73k | ::google::protobuf::internal::TSanRead(&_impl_); |
1801 | 6.73k | const ::curl::fuzzer::proto::Connection* p = _impl_.connection_; |
1802 | 6.73k | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::Connection&>(::curl::fuzzer::proto::_Connection_default_instance_); |
1803 | 6.73k | } |
1804 | 6.73k | inline const ::curl::fuzzer::proto::Connection& Scenario::connection() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1805 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Scenario.connection) |
1806 | 6.73k | return _internal_connection(); |
1807 | 6.73k | } |
1808 | 0 | inline void Scenario::unsafe_arena_set_allocated_connection(::curl::fuzzer::proto::Connection* value) { |
1809 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1810 | 0 | if (GetArena() == nullptr) { |
1811 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.connection_); |
1812 | 0 | } |
1813 | 0 | _impl_.connection_ = reinterpret_cast<::curl::fuzzer::proto::Connection*>(value); |
1814 | 0 | if (value != nullptr) { |
1815 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1816 | 0 | } else { |
1817 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1818 | 0 | } |
1819 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Scenario.connection) |
1820 | 0 | } |
1821 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::release_connection() { |
1822 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1823 | 0 |
|
1824 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1825 | 0 | ::curl::fuzzer::proto::Connection* released = _impl_.connection_; |
1826 | 0 | _impl_.connection_ = nullptr; |
1827 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
1828 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
1829 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
1830 | 0 | if (GetArena() == nullptr) { |
1831 | 0 | delete old; |
1832 | 0 | } |
1833 | 0 | } else { |
1834 | 0 | if (GetArena() != nullptr) { |
1835 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
1836 | 0 | } |
1837 | 0 | } |
1838 | 0 | return released; |
1839 | 0 | } |
1840 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::unsafe_arena_release_connection() { |
1841 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1842 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Scenario.connection) |
1843 | 0 |
|
1844 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1845 | 0 | ::curl::fuzzer::proto::Connection* temp = _impl_.connection_; |
1846 | 0 | _impl_.connection_ = nullptr; |
1847 | 0 | return temp; |
1848 | 0 | } |
1849 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::_internal_mutable_connection() { |
1850 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1851 | 0 | if (_impl_.connection_ == nullptr) { |
1852 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::Connection>(GetArena()); |
1853 | 0 | _impl_.connection_ = reinterpret_cast<::curl::fuzzer::proto::Connection*>(p); |
1854 | 0 | } |
1855 | 0 | return _impl_.connection_; |
1856 | 0 | } |
1857 | 0 | inline ::curl::fuzzer::proto::Connection* Scenario::mutable_connection() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1858 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1859 | 0 | ::curl::fuzzer::proto::Connection* _msg = _internal_mutable_connection(); |
1860 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Scenario.connection) |
1861 | 0 | return _msg; |
1862 | 0 | } |
1863 | 0 | inline void Scenario::set_allocated_connection(::curl::fuzzer::proto::Connection* value) { |
1864 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
1865 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1866 | 0 | if (message_arena == nullptr) { |
1867 | 0 | delete (_impl_.connection_); |
1868 | 0 | } |
1869 | 0 |
|
1870 | 0 | if (value != nullptr) { |
1871 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
1872 | 0 | if (message_arena != submessage_arena) { |
1873 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
1874 | 0 | } |
1875 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1876 | 0 | } else { |
1877 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1878 | 0 | } |
1879 | 0 |
|
1880 | 0 | _impl_.connection_ = reinterpret_cast<::curl::fuzzer::proto::Connection*>(value); |
1881 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Scenario.connection) |
1882 | 0 | } |
1883 | | |
1884 | | // ------------------------------------------------------------------- |
1885 | | |
1886 | | // SetOption |
1887 | | |
1888 | | // .curl.fuzzer.proto.CurlOptionId option_id = 1; |
1889 | 0 | inline void SetOption::clear_option_id() { |
1890 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1891 | 0 | _impl_.option_id_ = 0; |
1892 | 0 | } |
1893 | 83.0k | inline ::curl::fuzzer::proto::CurlOptionId SetOption::option_id() const { |
1894 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.option_id) |
1895 | 83.0k | return _internal_option_id(); |
1896 | 83.0k | } |
1897 | 0 | inline void SetOption::set_option_id(::curl::fuzzer::proto::CurlOptionId value) { |
1898 | 0 | _internal_set_option_id(value); |
1899 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.option_id) |
1900 | 0 | } |
1901 | 83.0k | inline ::curl::fuzzer::proto::CurlOptionId SetOption::_internal_option_id() const { |
1902 | 83.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
1903 | 83.0k | return static_cast<::curl::fuzzer::proto::CurlOptionId>(_impl_.option_id_); |
1904 | 83.0k | } |
1905 | 0 | inline void SetOption::_internal_set_option_id(::curl::fuzzer::proto::CurlOptionId value) { |
1906 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1907 | 0 | _impl_.option_id_ = value; |
1908 | 0 | } |
1909 | | |
1910 | | // bytes string_value = 10; |
1911 | 0 | inline bool SetOption::has_string_value() const { |
1912 | 0 | return value_case() == kStringValue; |
1913 | 0 | } |
1914 | 0 | inline void SetOption::set_has_string_value() { |
1915 | 0 | _impl_._oneof_case_[0] = kStringValue; |
1916 | 0 | } |
1917 | 0 | inline void SetOption::clear_string_value() { |
1918 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1919 | 0 | if (value_case() == kStringValue) { |
1920 | 0 | _impl_.value_.string_value_.Destroy(); |
1921 | 0 | clear_has_value(); |
1922 | 0 | } |
1923 | 0 | } |
1924 | | inline const std::string& SetOption::string_value() const |
1925 | 8.30k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1926 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.string_value) |
1927 | 8.30k | return _internal_string_value(); |
1928 | 8.30k | } |
1929 | | template <typename Arg_, typename... Args_> |
1930 | | inline PROTOBUF_ALWAYS_INLINE void SetOption::set_string_value(Arg_&& arg, |
1931 | | Args_... args) { |
1932 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1933 | | if (value_case() != kStringValue) { |
1934 | | clear_value(); |
1935 | | |
1936 | | set_has_string_value(); |
1937 | | _impl_.value_.string_value_.InitDefault(); |
1938 | | } |
1939 | | _impl_.value_.string_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
1940 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.string_value) |
1941 | | } |
1942 | 0 | inline std::string* SetOption::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1943 | 0 | std::string* _s = _internal_mutable_string_value(); |
1944 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.SetOption.string_value) |
1945 | 0 | return _s; |
1946 | 0 | } |
1947 | 8.30k | inline const std::string& SetOption::_internal_string_value() const { |
1948 | 8.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
1949 | 8.30k | if (value_case() != kStringValue) { |
1950 | 6.00k | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1951 | 6.00k | } |
1952 | 2.30k | return _impl_.value_.string_value_.Get(); |
1953 | 8.30k | } |
1954 | 0 | inline void SetOption::_internal_set_string_value(const std::string& value) { |
1955 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1956 | 0 | if (value_case() != kStringValue) { |
1957 | 0 | clear_value(); |
1958 | 0 |
|
1959 | 0 | set_has_string_value(); |
1960 | 0 | _impl_.value_.string_value_.InitDefault(); |
1961 | 0 | } |
1962 | 0 | _impl_.value_.string_value_.Set(value, GetArena()); |
1963 | 0 | } |
1964 | 0 | inline std::string* SetOption::_internal_mutable_string_value() { |
1965 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1966 | 0 | if (value_case() != kStringValue) { |
1967 | 0 | clear_value(); |
1968 | 0 |
|
1969 | 0 | set_has_string_value(); |
1970 | 0 | _impl_.value_.string_value_.InitDefault(); |
1971 | 0 | } |
1972 | 0 | return _impl_.value_.string_value_.Mutable( GetArena()); |
1973 | 0 | } |
1974 | 0 | inline std::string* SetOption::release_string_value() { |
1975 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1976 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.SetOption.string_value) |
1977 | 0 | if (value_case() != kStringValue) { |
1978 | 0 | return nullptr; |
1979 | 0 | } |
1980 | 0 | clear_has_value(); |
1981 | 0 | return _impl_.value_.string_value_.Release(); |
1982 | 0 | } |
1983 | 0 | inline void SetOption::set_allocated_string_value(std::string* value) { |
1984 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1985 | 0 | if (has_value()) { |
1986 | 0 | clear_value(); |
1987 | 0 | } |
1988 | 0 | if (value != nullptr) { |
1989 | 0 | set_has_string_value(); |
1990 | 0 | _impl_.value_.string_value_.InitAllocated(value, GetArena()); |
1991 | 0 | } |
1992 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.SetOption.string_value) |
1993 | 0 | } |
1994 | | |
1995 | | // uint64 uint_value = 11; |
1996 | 0 | inline bool SetOption::has_uint_value() const { |
1997 | 0 | return value_case() == kUintValue; |
1998 | 0 | } |
1999 | 0 | inline void SetOption::set_has_uint_value() { |
2000 | 0 | _impl_._oneof_case_[0] = kUintValue; |
2001 | 0 | } |
2002 | 0 | inline void SetOption::clear_uint_value() { |
2003 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2004 | 0 | if (value_case() == kUintValue) { |
2005 | 0 | _impl_.value_.uint_value_ = ::uint64_t{0u}; |
2006 | 0 | clear_has_value(); |
2007 | 0 | } |
2008 | 0 | } |
2009 | 4.09k | inline ::uint64_t SetOption::uint_value() const { |
2010 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.uint_value) |
2011 | 4.09k | return _internal_uint_value(); |
2012 | 4.09k | } |
2013 | 0 | inline void SetOption::set_uint_value(::uint64_t value) { |
2014 | 0 | if (value_case() != kUintValue) { |
2015 | 0 | clear_value(); |
2016 | 0 | set_has_uint_value(); |
2017 | 0 | } |
2018 | 0 | _impl_.value_.uint_value_ = value; |
2019 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.uint_value) |
2020 | 0 | } |
2021 | 4.09k | inline ::uint64_t SetOption::_internal_uint_value() const { |
2022 | 4.09k | if (value_case() == kUintValue) { |
2023 | 2.84k | return _impl_.value_.uint_value_; |
2024 | 2.84k | } |
2025 | 1.24k | return ::uint64_t{0u}; |
2026 | 4.09k | } |
2027 | | |
2028 | | // bool bool_value = 12; |
2029 | 0 | inline bool SetOption::has_bool_value() const { |
2030 | 0 | return value_case() == kBoolValue; |
2031 | 0 | } |
2032 | 0 | inline void SetOption::set_has_bool_value() { |
2033 | 0 | _impl_._oneof_case_[0] = kBoolValue; |
2034 | 0 | } |
2035 | 0 | inline void SetOption::clear_bool_value() { |
2036 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2037 | 0 | if (value_case() == kBoolValue) { |
2038 | 0 | _impl_.value_.bool_value_ = false; |
2039 | 0 | clear_has_value(); |
2040 | 0 | } |
2041 | 0 | } |
2042 | 33.1k | inline bool SetOption::bool_value() const { |
2043 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.SetOption.bool_value) |
2044 | 33.1k | return _internal_bool_value(); |
2045 | 33.1k | } |
2046 | 0 | inline void SetOption::set_bool_value(bool value) { |
2047 | 0 | if (value_case() != kBoolValue) { |
2048 | 0 | clear_value(); |
2049 | 0 | set_has_bool_value(); |
2050 | 0 | } |
2051 | 0 | _impl_.value_.bool_value_ = value; |
2052 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.SetOption.bool_value) |
2053 | 0 | } |
2054 | 33.1k | inline bool SetOption::_internal_bool_value() const { |
2055 | 33.1k | if (value_case() == kBoolValue) { |
2056 | 6.07k | return _impl_.value_.bool_value_; |
2057 | 6.07k | } |
2058 | 27.1k | return false; |
2059 | 33.1k | } |
2060 | | |
2061 | 56.6k | inline bool SetOption::has_value() const { |
2062 | 56.6k | return value_case() != VALUE_NOT_SET; |
2063 | 56.6k | } |
2064 | 0 | inline void SetOption::clear_has_value() { |
2065 | 0 | _impl_._oneof_case_[0] = VALUE_NOT_SET; |
2066 | 0 | } |
2067 | 126k | inline SetOption::ValueCase SetOption::value_case() const { |
2068 | 126k | return SetOption::ValueCase(_impl_._oneof_case_[0]); |
2069 | 126k | } |
2070 | | // ------------------------------------------------------------------- |
2071 | | |
2072 | | // Connection |
2073 | | |
2074 | | // bytes initial_response = 1; |
2075 | 0 | inline void Connection::clear_initial_response() { |
2076 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2077 | 0 | _impl_.initial_response_.ClearToEmpty(); |
2078 | 0 | } |
2079 | | inline const std::string& Connection::initial_response() const |
2080 | 2.23k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2081 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.initial_response) |
2082 | 2.23k | return _internal_initial_response(); |
2083 | 2.23k | } |
2084 | | template <typename Arg_, typename... Args_> |
2085 | | inline PROTOBUF_ALWAYS_INLINE void Connection::set_initial_response(Arg_&& arg, |
2086 | | Args_... args) { |
2087 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2088 | | _impl_.initial_response_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
2089 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Connection.initial_response) |
2090 | | } |
2091 | 0 | inline std::string* Connection::mutable_initial_response() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2092 | 0 | std::string* _s = _internal_mutable_initial_response(); |
2093 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.initial_response) |
2094 | 0 | return _s; |
2095 | 0 | } |
2096 | 2.23k | inline const std::string& Connection::_internal_initial_response() const { |
2097 | 2.23k | ::google::protobuf::internal::TSanRead(&_impl_); |
2098 | 2.23k | return _impl_.initial_response_.Get(); |
2099 | 2.23k | } |
2100 | 0 | inline void Connection::_internal_set_initial_response(const std::string& value) { |
2101 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2102 | 0 | _impl_.initial_response_.Set(value, GetArena()); |
2103 | 0 | } |
2104 | 0 | inline std::string* Connection::_internal_mutable_initial_response() { |
2105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2106 | 0 | return _impl_.initial_response_.Mutable( GetArena()); |
2107 | 0 | } |
2108 | 0 | inline std::string* Connection::release_initial_response() { |
2109 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2110 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Connection.initial_response) |
2111 | 0 | return _impl_.initial_response_.Release(); |
2112 | 0 | } |
2113 | 0 | inline void Connection::set_allocated_initial_response(std::string* value) { |
2114 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2115 | 0 | _impl_.initial_response_.SetAllocated(value, GetArena()); |
2116 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.initial_response_.IsDefault()) { |
2117 | 0 | _impl_.initial_response_.Set("", GetArena()); |
2118 | 0 | } |
2119 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Connection.initial_response) |
2120 | 0 | } |
2121 | | |
2122 | | // repeated bytes on_readable = 2; |
2123 | 3.28k | inline int Connection::_internal_on_readable_size() const { |
2124 | 3.28k | return _internal_on_readable().size(); |
2125 | 3.28k | } |
2126 | 3.28k | inline int Connection::on_readable_size() const { |
2127 | 3.28k | return _internal_on_readable_size(); |
2128 | 3.28k | } |
2129 | 0 | inline void Connection::clear_on_readable() { |
2130 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2131 | 0 | _impl_.on_readable_.Clear(); |
2132 | 0 | } |
2133 | 0 | inline std::string* Connection::add_on_readable() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2134 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2135 | 0 | std::string* _s = _internal_mutable_on_readable()->Add(); |
2136 | 0 | // @@protoc_insertion_point(field_add_mutable:curl.fuzzer.proto.Connection.on_readable) |
2137 | 0 | return _s; |
2138 | 0 | } |
2139 | | inline const std::string& Connection::on_readable(int index) const |
2140 | 2.73k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2141 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.on_readable) |
2142 | 2.73k | return _internal_on_readable().Get(index); |
2143 | 2.73k | } |
2144 | | inline std::string* Connection::mutable_on_readable(int index) |
2145 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2146 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.on_readable) |
2147 | 0 | return _internal_mutable_on_readable()->Mutable(index); |
2148 | 0 | } |
2149 | | template <typename Arg_, typename... Args_> |
2150 | | inline void Connection::set_on_readable(int index, Arg_&& value, Args_... args) { |
2151 | | ::google::protobuf::internal::AssignToString( |
2152 | | *_internal_mutable_on_readable()->Mutable(index), |
2153 | | std::forward<Arg_>(value), args... , ::google::protobuf::internal::BytesTag{}); |
2154 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.Connection.on_readable) |
2155 | | } |
2156 | | template <typename Arg_, typename... Args_> |
2157 | | inline void Connection::add_on_readable(Arg_&& value, Args_... args) { |
2158 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2159 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_on_readable(), |
2160 | | std::forward<Arg_>(value), |
2161 | | args... , ::google::protobuf::internal::BytesTag{}); |
2162 | | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Connection.on_readable) |
2163 | | } |
2164 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
2165 | 0 | Connection::on_readable() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2166 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Connection.on_readable) |
2167 | 0 | return _internal_on_readable(); |
2168 | 0 | } |
2169 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
2170 | 0 | Connection::mutable_on_readable() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2171 | 0 | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Connection.on_readable) |
2172 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2173 | 0 | return _internal_mutable_on_readable(); |
2174 | 0 | } |
2175 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
2176 | 6.01k | Connection::_internal_on_readable() const { |
2177 | 6.01k | ::google::protobuf::internal::TSanRead(&_impl_); |
2178 | 6.01k | return _impl_.on_readable_; |
2179 | 6.01k | } |
2180 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
2181 | 0 | Connection::_internal_mutable_on_readable() { |
2182 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2183 | 0 | return &_impl_.on_readable_; |
2184 | 0 | } |
2185 | | |
2186 | | // repeated .curl.fuzzer.proto.WebSocketFrame server_frames = 3; |
2187 | 3.28k | inline int Connection::_internal_server_frames_size() const { |
2188 | 3.28k | return _internal_server_frames().size(); |
2189 | 3.28k | } |
2190 | 3.28k | inline int Connection::server_frames_size() const { |
2191 | 3.28k | return _internal_server_frames_size(); |
2192 | 3.28k | } |
2193 | 0 | inline void Connection::clear_server_frames() { |
2194 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2195 | 0 | _impl_.server_frames_.Clear(); |
2196 | 0 | } |
2197 | | inline ::curl::fuzzer::proto::WebSocketFrame* Connection::mutable_server_frames(int index) |
2198 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2199 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.server_frames) |
2200 | 0 | return _internal_mutable_server_frames()->Mutable(index); |
2201 | 0 | } |
2202 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* Connection::mutable_server_frames() |
2203 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2204 | 0 | // @@protoc_insertion_point(field_mutable_list:curl.fuzzer.proto.Connection.server_frames) |
2205 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2206 | 0 | return _internal_mutable_server_frames(); |
2207 | 0 | } |
2208 | | inline const ::curl::fuzzer::proto::WebSocketFrame& Connection::server_frames(int index) const |
2209 | 2.30k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2210 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.server_frames) |
2211 | 2.30k | return _internal_server_frames().Get(index); |
2212 | 2.30k | } |
2213 | 0 | inline ::curl::fuzzer::proto::WebSocketFrame* Connection::add_server_frames() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2214 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2215 | 0 | ::curl::fuzzer::proto::WebSocketFrame* _add = _internal_mutable_server_frames()->Add(); |
2216 | 0 | // @@protoc_insertion_point(field_add:curl.fuzzer.proto.Connection.server_frames) |
2217 | 0 | return _add; |
2218 | 0 | } |
2219 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& Connection::server_frames() const |
2220 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2221 | 0 | // @@protoc_insertion_point(field_list:curl.fuzzer.proto.Connection.server_frames) |
2222 | 0 | return _internal_server_frames(); |
2223 | 0 | } |
2224 | | inline const ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>& |
2225 | 5.58k | Connection::_internal_server_frames() const { |
2226 | 5.58k | ::google::protobuf::internal::TSanRead(&_impl_); |
2227 | 5.58k | return _impl_.server_frames_; |
2228 | 5.58k | } |
2229 | | inline ::google::protobuf::RepeatedPtrField<::curl::fuzzer::proto::WebSocketFrame>* |
2230 | 0 | Connection::_internal_mutable_server_frames() { |
2231 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2232 | 0 | return &_impl_.server_frames_; |
2233 | 0 | } |
2234 | | |
2235 | | // .curl.fuzzer.proto.BackpressureConfig backpressure = 4; |
2236 | 0 | inline bool Connection::has_backpressure() const { |
2237 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2238 | 0 | PROTOBUF_ASSUME(!value || _impl_.backpressure_ != nullptr); |
2239 | 0 | return value; |
2240 | 0 | } |
2241 | 0 | inline void Connection::clear_backpressure() { |
2242 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2243 | 0 | if (_impl_.backpressure_ != nullptr) _impl_.backpressure_->Clear(); |
2244 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2245 | 0 | } |
2246 | 3.28k | inline const ::curl::fuzzer::proto::BackpressureConfig& Connection::_internal_backpressure() const { |
2247 | 3.28k | ::google::protobuf::internal::TSanRead(&_impl_); |
2248 | 3.28k | const ::curl::fuzzer::proto::BackpressureConfig* p = _impl_.backpressure_; |
2249 | 3.28k | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::BackpressureConfig&>(::curl::fuzzer::proto::_BackpressureConfig_default_instance_); |
2250 | 3.28k | } |
2251 | 3.28k | inline const ::curl::fuzzer::proto::BackpressureConfig& Connection::backpressure() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2252 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.backpressure) |
2253 | 3.28k | return _internal_backpressure(); |
2254 | 3.28k | } |
2255 | 0 | inline void Connection::unsafe_arena_set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value) { |
2256 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2257 | 0 | if (GetArena() == nullptr) { |
2258 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.backpressure_); |
2259 | 0 | } |
2260 | 0 | _impl_.backpressure_ = reinterpret_cast<::curl::fuzzer::proto::BackpressureConfig*>(value); |
2261 | 0 | if (value != nullptr) { |
2262 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2263 | 0 | } else { |
2264 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2265 | 0 | } |
2266 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Connection.backpressure) |
2267 | 0 | } |
2268 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::release_backpressure() { |
2269 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2270 | 0 |
|
2271 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2272 | 0 | ::curl::fuzzer::proto::BackpressureConfig* released = _impl_.backpressure_; |
2273 | 0 | _impl_.backpressure_ = nullptr; |
2274 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
2275 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
2276 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2277 | 0 | if (GetArena() == nullptr) { |
2278 | 0 | delete old; |
2279 | 0 | } |
2280 | 0 | } else { |
2281 | 0 | if (GetArena() != nullptr) { |
2282 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2283 | 0 | } |
2284 | 0 | } |
2285 | 0 | return released; |
2286 | 0 | } |
2287 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::unsafe_arena_release_backpressure() { |
2288 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2289 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Connection.backpressure) |
2290 | 0 |
|
2291 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2292 | 0 | ::curl::fuzzer::proto::BackpressureConfig* temp = _impl_.backpressure_; |
2293 | 0 | _impl_.backpressure_ = nullptr; |
2294 | 0 | return temp; |
2295 | 0 | } |
2296 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::_internal_mutable_backpressure() { |
2297 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2298 | 0 | if (_impl_.backpressure_ == nullptr) { |
2299 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::BackpressureConfig>(GetArena()); |
2300 | 0 | _impl_.backpressure_ = reinterpret_cast<::curl::fuzzer::proto::BackpressureConfig*>(p); |
2301 | 0 | } |
2302 | 0 | return _impl_.backpressure_; |
2303 | 0 | } |
2304 | 0 | inline ::curl::fuzzer::proto::BackpressureConfig* Connection::mutable_backpressure() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2305 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2306 | 0 | ::curl::fuzzer::proto::BackpressureConfig* _msg = _internal_mutable_backpressure(); |
2307 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.backpressure) |
2308 | 0 | return _msg; |
2309 | 0 | } |
2310 | 0 | inline void Connection::set_allocated_backpressure(::curl::fuzzer::proto::BackpressureConfig* value) { |
2311 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2312 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2313 | 0 | if (message_arena == nullptr) { |
2314 | 0 | delete (_impl_.backpressure_); |
2315 | 0 | } |
2316 | 0 |
|
2317 | 0 | if (value != nullptr) { |
2318 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
2319 | 0 | if (message_arena != submessage_arena) { |
2320 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
2321 | 0 | } |
2322 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2323 | 0 | } else { |
2324 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2325 | 0 | } |
2326 | 0 |
|
2327 | 0 | _impl_.backpressure_ = reinterpret_cast<::curl::fuzzer::proto::BackpressureConfig*>(value); |
2328 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Connection.backpressure) |
2329 | 0 | } |
2330 | | |
2331 | | // .curl.fuzzer.proto.WsManualProbes manual_probes = 5; |
2332 | 0 | inline bool Connection::has_manual_probes() const { |
2333 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2334 | 0 | PROTOBUF_ASSUME(!value || _impl_.manual_probes_ != nullptr); |
2335 | 0 | return value; |
2336 | 0 | } |
2337 | 0 | inline void Connection::clear_manual_probes() { |
2338 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2339 | 0 | if (_impl_.manual_probes_ != nullptr) _impl_.manual_probes_->Clear(); |
2340 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2341 | 0 | } |
2342 | 166 | inline const ::curl::fuzzer::proto::WsManualProbes& Connection::_internal_manual_probes() const { |
2343 | 166 | ::google::protobuf::internal::TSanRead(&_impl_); |
2344 | 166 | const ::curl::fuzzer::proto::WsManualProbes* p = _impl_.manual_probes_; |
2345 | 166 | return p != nullptr ? *p : reinterpret_cast<const ::curl::fuzzer::proto::WsManualProbes&>(::curl::fuzzer::proto::_WsManualProbes_default_instance_); |
2346 | 166 | } |
2347 | 166 | inline const ::curl::fuzzer::proto::WsManualProbes& Connection::manual_probes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2348 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.Connection.manual_probes) |
2349 | 166 | return _internal_manual_probes(); |
2350 | 166 | } |
2351 | 0 | inline void Connection::unsafe_arena_set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value) { |
2352 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2353 | 0 | if (GetArena() == nullptr) { |
2354 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.manual_probes_); |
2355 | 0 | } |
2356 | 0 | _impl_.manual_probes_ = reinterpret_cast<::curl::fuzzer::proto::WsManualProbes*>(value); |
2357 | 0 | if (value != nullptr) { |
2358 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2359 | 0 | } else { |
2360 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2361 | 0 | } |
2362 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:curl.fuzzer.proto.Connection.manual_probes) |
2363 | 0 | } |
2364 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::release_manual_probes() { |
2365 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2366 | 0 |
|
2367 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2368 | 0 | ::curl::fuzzer::proto::WsManualProbes* released = _impl_.manual_probes_; |
2369 | 0 | _impl_.manual_probes_ = nullptr; |
2370 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
2371 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
2372 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2373 | 0 | if (GetArena() == nullptr) { |
2374 | 0 | delete old; |
2375 | 0 | } |
2376 | 0 | } else { |
2377 | 0 | if (GetArena() != nullptr) { |
2378 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2379 | 0 | } |
2380 | 0 | } |
2381 | 0 | return released; |
2382 | 0 | } |
2383 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::unsafe_arena_release_manual_probes() { |
2384 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2385 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.Connection.manual_probes) |
2386 | 0 |
|
2387 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2388 | 0 | ::curl::fuzzer::proto::WsManualProbes* temp = _impl_.manual_probes_; |
2389 | 0 | _impl_.manual_probes_ = nullptr; |
2390 | 0 | return temp; |
2391 | 0 | } |
2392 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::_internal_mutable_manual_probes() { |
2393 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2394 | 0 | if (_impl_.manual_probes_ == nullptr) { |
2395 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::curl::fuzzer::proto::WsManualProbes>(GetArena()); |
2396 | 0 | _impl_.manual_probes_ = reinterpret_cast<::curl::fuzzer::proto::WsManualProbes*>(p); |
2397 | 0 | } |
2398 | 0 | return _impl_.manual_probes_; |
2399 | 0 | } |
2400 | 0 | inline ::curl::fuzzer::proto::WsManualProbes* Connection::mutable_manual_probes() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2401 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2402 | 0 | ::curl::fuzzer::proto::WsManualProbes* _msg = _internal_mutable_manual_probes(); |
2403 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.Connection.manual_probes) |
2404 | 0 | return _msg; |
2405 | 0 | } |
2406 | 0 | inline void Connection::set_allocated_manual_probes(::curl::fuzzer::proto::WsManualProbes* value) { |
2407 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2408 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2409 | 0 | if (message_arena == nullptr) { |
2410 | 0 | delete (_impl_.manual_probes_); |
2411 | 0 | } |
2412 | 0 |
|
2413 | 0 | if (value != nullptr) { |
2414 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
2415 | 0 | if (message_arena != submessage_arena) { |
2416 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
2417 | 0 | } |
2418 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2419 | 0 | } else { |
2420 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2421 | 0 | } |
2422 | 0 |
|
2423 | 0 | _impl_.manual_probes_ = reinterpret_cast<::curl::fuzzer::proto::WsManualProbes*>(value); |
2424 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.Connection.manual_probes) |
2425 | 0 | } |
2426 | | |
2427 | | // ------------------------------------------------------------------- |
2428 | | |
2429 | | // WsManualProbes |
2430 | | |
2431 | | // bool flag_matrix = 1; |
2432 | 0 | inline void WsManualProbes::clear_flag_matrix() { |
2433 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2434 | 0 | _impl_.flag_matrix_ = false; |
2435 | 0 | } |
2436 | 166 | inline bool WsManualProbes::flag_matrix() const { |
2437 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WsManualProbes.flag_matrix) |
2438 | 166 | return _internal_flag_matrix(); |
2439 | 166 | } |
2440 | 0 | inline void WsManualProbes::set_flag_matrix(bool value) { |
2441 | 0 | _internal_set_flag_matrix(value); |
2442 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WsManualProbes.flag_matrix) |
2443 | 0 | } |
2444 | 166 | inline bool WsManualProbes::_internal_flag_matrix() const { |
2445 | 166 | ::google::protobuf::internal::TSanRead(&_impl_); |
2446 | 166 | return _impl_.flag_matrix_; |
2447 | 166 | } |
2448 | 0 | inline void WsManualProbes::_internal_set_flag_matrix(bool value) { |
2449 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2450 | 0 | _impl_.flag_matrix_ = value; |
2451 | 0 | } |
2452 | | |
2453 | | // bool unaligned_send = 2; |
2454 | 0 | inline void WsManualProbes::clear_unaligned_send() { |
2455 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2456 | 0 | _impl_.unaligned_send_ = false; |
2457 | 0 | } |
2458 | 166 | inline bool WsManualProbes::unaligned_send() const { |
2459 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WsManualProbes.unaligned_send) |
2460 | 166 | return _internal_unaligned_send(); |
2461 | 166 | } |
2462 | 0 | inline void WsManualProbes::set_unaligned_send(bool value) { |
2463 | 0 | _internal_set_unaligned_send(value); |
2464 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WsManualProbes.unaligned_send) |
2465 | 0 | } |
2466 | 166 | inline bool WsManualProbes::_internal_unaligned_send() const { |
2467 | 166 | ::google::protobuf::internal::TSanRead(&_impl_); |
2468 | 166 | return _impl_.unaligned_send_; |
2469 | 166 | } |
2470 | 0 | inline void WsManualProbes::_internal_set_unaligned_send(bool value) { |
2471 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2472 | 0 | _impl_.unaligned_send_ = value; |
2473 | 0 | } |
2474 | | |
2475 | | // bool raw_send = 3; |
2476 | 0 | inline void WsManualProbes::clear_raw_send() { |
2477 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2478 | 0 | _impl_.raw_send_ = false; |
2479 | 0 | } |
2480 | 166 | inline bool WsManualProbes::raw_send() const { |
2481 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WsManualProbes.raw_send) |
2482 | 166 | return _internal_raw_send(); |
2483 | 166 | } |
2484 | 0 | inline void WsManualProbes::set_raw_send(bool value) { |
2485 | 0 | _internal_set_raw_send(value); |
2486 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WsManualProbes.raw_send) |
2487 | 0 | } |
2488 | 166 | inline bool WsManualProbes::_internal_raw_send() const { |
2489 | 166 | ::google::protobuf::internal::TSanRead(&_impl_); |
2490 | 166 | return _impl_.raw_send_; |
2491 | 166 | } |
2492 | 0 | inline void WsManualProbes::_internal_set_raw_send(bool value) { |
2493 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2494 | 0 | _impl_.raw_send_ = value; |
2495 | 0 | } |
2496 | | |
2497 | | // ------------------------------------------------------------------- |
2498 | | |
2499 | | // BackpressureConfig |
2500 | | |
2501 | | // uint32 recv_buf_bytes = 1; |
2502 | 0 | inline void BackpressureConfig::clear_recv_buf_bytes() { |
2503 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2504 | 0 | _impl_.recv_buf_bytes_ = 0u; |
2505 | 0 | } |
2506 | 3.28k | inline ::uint32_t BackpressureConfig::recv_buf_bytes() const { |
2507 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.BackpressureConfig.recv_buf_bytes) |
2508 | 3.28k | return _internal_recv_buf_bytes(); |
2509 | 3.28k | } |
2510 | 0 | inline void BackpressureConfig::set_recv_buf_bytes(::uint32_t value) { |
2511 | 0 | _internal_set_recv_buf_bytes(value); |
2512 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.BackpressureConfig.recv_buf_bytes) |
2513 | 0 | } |
2514 | 3.28k | inline ::uint32_t BackpressureConfig::_internal_recv_buf_bytes() const { |
2515 | 3.28k | ::google::protobuf::internal::TSanRead(&_impl_); |
2516 | 3.28k | return _impl_.recv_buf_bytes_; |
2517 | 3.28k | } |
2518 | 0 | inline void BackpressureConfig::_internal_set_recv_buf_bytes(::uint32_t value) { |
2519 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2520 | 0 | _impl_.recv_buf_bytes_ = value; |
2521 | 0 | } |
2522 | | |
2523 | | // uint32 drain_limit = 2; |
2524 | 0 | inline void BackpressureConfig::clear_drain_limit() { |
2525 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2526 | 0 | _impl_.drain_limit_ = 0u; |
2527 | 0 | } |
2528 | 3.28k | inline ::uint32_t BackpressureConfig::drain_limit() const { |
2529 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.BackpressureConfig.drain_limit) |
2530 | 3.28k | return _internal_drain_limit(); |
2531 | 3.28k | } |
2532 | 0 | inline void BackpressureConfig::set_drain_limit(::uint32_t value) { |
2533 | 0 | _internal_set_drain_limit(value); |
2534 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.BackpressureConfig.drain_limit) |
2535 | 0 | } |
2536 | 3.28k | inline ::uint32_t BackpressureConfig::_internal_drain_limit() const { |
2537 | 3.28k | ::google::protobuf::internal::TSanRead(&_impl_); |
2538 | 3.28k | return _impl_.drain_limit_; |
2539 | 3.28k | } |
2540 | 0 | inline void BackpressureConfig::_internal_set_drain_limit(::uint32_t value) { |
2541 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2542 | 0 | _impl_.drain_limit_ = value; |
2543 | 0 | } |
2544 | | |
2545 | | // ------------------------------------------------------------------- |
2546 | | |
2547 | | // WebSocketFrame |
2548 | | |
2549 | | // bool fin = 1; |
2550 | 0 | inline void WebSocketFrame::clear_fin() { |
2551 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2552 | 0 | _impl_.fin_ = false; |
2553 | 0 | } |
2554 | 2.30k | inline bool WebSocketFrame::fin() const { |
2555 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.fin) |
2556 | 2.30k | return _internal_fin(); |
2557 | 2.30k | } |
2558 | 0 | inline void WebSocketFrame::set_fin(bool value) { |
2559 | 0 | _internal_set_fin(value); |
2560 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.fin) |
2561 | 0 | } |
2562 | 2.30k | inline bool WebSocketFrame::_internal_fin() const { |
2563 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2564 | 2.30k | return _impl_.fin_; |
2565 | 2.30k | } |
2566 | 0 | inline void WebSocketFrame::_internal_set_fin(bool value) { |
2567 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2568 | 0 | _impl_.fin_ = value; |
2569 | 0 | } |
2570 | | |
2571 | | // bool rsv1 = 2; |
2572 | 0 | inline void WebSocketFrame::clear_rsv1() { |
2573 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2574 | 0 | _impl_.rsv1_ = false; |
2575 | 0 | } |
2576 | 2.30k | inline bool WebSocketFrame::rsv1() const { |
2577 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.rsv1) |
2578 | 2.30k | return _internal_rsv1(); |
2579 | 2.30k | } |
2580 | 0 | inline void WebSocketFrame::set_rsv1(bool value) { |
2581 | 0 | _internal_set_rsv1(value); |
2582 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.rsv1) |
2583 | 0 | } |
2584 | 2.30k | inline bool WebSocketFrame::_internal_rsv1() const { |
2585 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2586 | 2.30k | return _impl_.rsv1_; |
2587 | 2.30k | } |
2588 | 0 | inline void WebSocketFrame::_internal_set_rsv1(bool value) { |
2589 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2590 | 0 | _impl_.rsv1_ = value; |
2591 | 0 | } |
2592 | | |
2593 | | // bool rsv2 = 3; |
2594 | 0 | inline void WebSocketFrame::clear_rsv2() { |
2595 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2596 | 0 | _impl_.rsv2_ = false; |
2597 | 0 | } |
2598 | 2.30k | inline bool WebSocketFrame::rsv2() const { |
2599 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.rsv2) |
2600 | 2.30k | return _internal_rsv2(); |
2601 | 2.30k | } |
2602 | 0 | inline void WebSocketFrame::set_rsv2(bool value) { |
2603 | 0 | _internal_set_rsv2(value); |
2604 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.rsv2) |
2605 | 0 | } |
2606 | 2.30k | inline bool WebSocketFrame::_internal_rsv2() const { |
2607 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2608 | 2.30k | return _impl_.rsv2_; |
2609 | 2.30k | } |
2610 | 0 | inline void WebSocketFrame::_internal_set_rsv2(bool value) { |
2611 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2612 | 0 | _impl_.rsv2_ = value; |
2613 | 0 | } |
2614 | | |
2615 | | // bool rsv3 = 4; |
2616 | 0 | inline void WebSocketFrame::clear_rsv3() { |
2617 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2618 | 0 | _impl_.rsv3_ = false; |
2619 | 0 | } |
2620 | 2.30k | inline bool WebSocketFrame::rsv3() const { |
2621 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.rsv3) |
2622 | 2.30k | return _internal_rsv3(); |
2623 | 2.30k | } |
2624 | 0 | inline void WebSocketFrame::set_rsv3(bool value) { |
2625 | 0 | _internal_set_rsv3(value); |
2626 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.rsv3) |
2627 | 0 | } |
2628 | 2.30k | inline bool WebSocketFrame::_internal_rsv3() const { |
2629 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2630 | 2.30k | return _impl_.rsv3_; |
2631 | 2.30k | } |
2632 | 0 | inline void WebSocketFrame::_internal_set_rsv3(bool value) { |
2633 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2634 | 0 | _impl_.rsv3_ = value; |
2635 | 0 | } |
2636 | | |
2637 | | // uint32 opcode = 5; |
2638 | 0 | inline void WebSocketFrame::clear_opcode() { |
2639 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2640 | 0 | _impl_.opcode_ = 0u; |
2641 | 0 | } |
2642 | 2.30k | inline ::uint32_t WebSocketFrame::opcode() const { |
2643 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.opcode) |
2644 | 2.30k | return _internal_opcode(); |
2645 | 2.30k | } |
2646 | 0 | inline void WebSocketFrame::set_opcode(::uint32_t value) { |
2647 | 0 | _internal_set_opcode(value); |
2648 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.opcode) |
2649 | 0 | } |
2650 | 2.30k | inline ::uint32_t WebSocketFrame::_internal_opcode() const { |
2651 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2652 | 2.30k | return _impl_.opcode_; |
2653 | 2.30k | } |
2654 | 0 | inline void WebSocketFrame::_internal_set_opcode(::uint32_t value) { |
2655 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2656 | 0 | _impl_.opcode_ = value; |
2657 | 0 | } |
2658 | | |
2659 | | // bool masked = 6; |
2660 | 0 | inline void WebSocketFrame::clear_masked() { |
2661 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2662 | 0 | _impl_.masked_ = false; |
2663 | 0 | } |
2664 | 4.60k | inline bool WebSocketFrame::masked() const { |
2665 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.masked) |
2666 | 4.60k | return _internal_masked(); |
2667 | 4.60k | } |
2668 | 0 | inline void WebSocketFrame::set_masked(bool value) { |
2669 | 0 | _internal_set_masked(value); |
2670 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.masked) |
2671 | 0 | } |
2672 | 4.60k | inline bool WebSocketFrame::_internal_masked() const { |
2673 | 4.60k | ::google::protobuf::internal::TSanRead(&_impl_); |
2674 | 4.60k | return _impl_.masked_; |
2675 | 4.60k | } |
2676 | 0 | inline void WebSocketFrame::_internal_set_masked(bool value) { |
2677 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2678 | 0 | _impl_.masked_ = value; |
2679 | 0 | } |
2680 | | |
2681 | | // uint32 mask_key = 7; |
2682 | 0 | inline void WebSocketFrame::clear_mask_key() { |
2683 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2684 | 0 | _impl_.mask_key_ = 0u; |
2685 | 0 | } |
2686 | 537 | inline ::uint32_t WebSocketFrame::mask_key() const { |
2687 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.mask_key) |
2688 | 537 | return _internal_mask_key(); |
2689 | 537 | } |
2690 | 0 | inline void WebSocketFrame::set_mask_key(::uint32_t value) { |
2691 | 0 | _internal_set_mask_key(value); |
2692 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.mask_key) |
2693 | 0 | } |
2694 | 537 | inline ::uint32_t WebSocketFrame::_internal_mask_key() const { |
2695 | 537 | ::google::protobuf::internal::TSanRead(&_impl_); |
2696 | 537 | return _impl_.mask_key_; |
2697 | 537 | } |
2698 | 0 | inline void WebSocketFrame::_internal_set_mask_key(::uint32_t value) { |
2699 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2700 | 0 | _impl_.mask_key_ = value; |
2701 | 0 | } |
2702 | | |
2703 | | // bytes payload = 8; |
2704 | 0 | inline void WebSocketFrame::clear_payload() { |
2705 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2706 | 0 | _impl_.payload_.ClearToEmpty(); |
2707 | 0 | } |
2708 | | inline const std::string& WebSocketFrame::payload() const |
2709 | 2.30k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2710 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.payload) |
2711 | 2.30k | return _internal_payload(); |
2712 | 2.30k | } |
2713 | | template <typename Arg_, typename... Args_> |
2714 | | inline PROTOBUF_ALWAYS_INLINE void WebSocketFrame::set_payload(Arg_&& arg, |
2715 | | Args_... args) { |
2716 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2717 | | _impl_.payload_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
2718 | | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.payload) |
2719 | | } |
2720 | 0 | inline std::string* WebSocketFrame::mutable_payload() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2721 | 0 | std::string* _s = _internal_mutable_payload(); |
2722 | 0 | // @@protoc_insertion_point(field_mutable:curl.fuzzer.proto.WebSocketFrame.payload) |
2723 | 0 | return _s; |
2724 | 0 | } |
2725 | 2.30k | inline const std::string& WebSocketFrame::_internal_payload() const { |
2726 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2727 | 2.30k | return _impl_.payload_.Get(); |
2728 | 2.30k | } |
2729 | 0 | inline void WebSocketFrame::_internal_set_payload(const std::string& value) { |
2730 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2731 | 0 | _impl_.payload_.Set(value, GetArena()); |
2732 | 0 | } |
2733 | 0 | inline std::string* WebSocketFrame::_internal_mutable_payload() { |
2734 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2735 | 0 | return _impl_.payload_.Mutable( GetArena()); |
2736 | 0 | } |
2737 | 0 | inline std::string* WebSocketFrame::release_payload() { |
2738 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2739 | 0 | // @@protoc_insertion_point(field_release:curl.fuzzer.proto.WebSocketFrame.payload) |
2740 | 0 | return _impl_.payload_.Release(); |
2741 | 0 | } |
2742 | 0 | inline void WebSocketFrame::set_allocated_payload(std::string* value) { |
2743 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2744 | 0 | _impl_.payload_.SetAllocated(value, GetArena()); |
2745 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_.IsDefault()) { |
2746 | 0 | _impl_.payload_.Set("", GetArena()); |
2747 | 0 | } |
2748 | 0 | // @@protoc_insertion_point(field_set_allocated:curl.fuzzer.proto.WebSocketFrame.payload) |
2749 | 0 | } |
2750 | | |
2751 | | // uint32 length_form = 9; |
2752 | 0 | inline void WebSocketFrame::clear_length_form() { |
2753 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2754 | 0 | _impl_.length_form_ = 0u; |
2755 | 0 | } |
2756 | 2.30k | inline ::uint32_t WebSocketFrame::length_form() const { |
2757 | | // @@protoc_insertion_point(field_get:curl.fuzzer.proto.WebSocketFrame.length_form) |
2758 | 2.30k | return _internal_length_form(); |
2759 | 2.30k | } |
2760 | 0 | inline void WebSocketFrame::set_length_form(::uint32_t value) { |
2761 | 0 | _internal_set_length_form(value); |
2762 | 0 | // @@protoc_insertion_point(field_set:curl.fuzzer.proto.WebSocketFrame.length_form) |
2763 | 0 | } |
2764 | 2.30k | inline ::uint32_t WebSocketFrame::_internal_length_form() const { |
2765 | 2.30k | ::google::protobuf::internal::TSanRead(&_impl_); |
2766 | 2.30k | return _impl_.length_form_; |
2767 | 2.30k | } |
2768 | 0 | inline void WebSocketFrame::_internal_set_length_form(::uint32_t value) { |
2769 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2770 | 0 | _impl_.length_form_ = value; |
2771 | 0 | } |
2772 | | |
2773 | | #ifdef __GNUC__ |
2774 | | #pragma GCC diagnostic pop |
2775 | | #endif // __GNUC__ |
2776 | | |
2777 | | // @@protoc_insertion_point(namespace_scope) |
2778 | | } // namespace proto |
2779 | | } // namespace fuzzer |
2780 | | } // namespace curl |
2781 | | |
2782 | | |
2783 | | namespace google { |
2784 | | namespace protobuf { |
2785 | | |
2786 | | template <> |
2787 | | struct is_proto_enum<::curl::fuzzer::proto::Scheme> : std::true_type {}; |
2788 | | template <> |
2789 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::Scheme>() { |
2790 | 0 | return ::curl::fuzzer::proto::Scheme_descriptor(); |
2791 | 0 | } |
2792 | | template <> |
2793 | | struct is_proto_enum<::curl::fuzzer::proto::CurlOptionId> : std::true_type {}; |
2794 | | template <> |
2795 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::curl::fuzzer::proto::CurlOptionId>() { |
2796 | 0 | return ::curl::fuzzer::proto::CurlOptionId_descriptor(); |
2797 | 0 | } |
2798 | | |
2799 | | } // namespace protobuf |
2800 | | } // namespace google |
2801 | | |
2802 | | // @@protoc_insertion_point(global_scope) |
2803 | | |
2804 | | #include "google/protobuf/port_undef.inc" |
2805 | | |
2806 | | #endif // curl_5ffuzzer_2eproto_2epb_2eh |