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