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