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