Coverage Report

Created: 2023-03-17 06:27

/src/genfiles/png_fuzz_proto.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: png_fuzz_proto.proto
3
4
#ifndef GOOGLE_PROTOBUF_INCLUDED_png_5ffuzz_5fproto_2eproto
5
#define GOOGLE_PROTOBUF_INCLUDED_png_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_util.h>
27
#include <google/protobuf/metadata_lite.h>
28
#include <google/protobuf/generated_message_reflection.h>
29
#include <google/protobuf/message.h>
30
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
31
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
32
#include <google/protobuf/unknown_field_set.h>
33
// @@protoc_insertion_point(includes)
34
#include <google/protobuf/port_def.inc>
35
#define PROTOBUF_INTERNAL_EXPORT_png_5ffuzz_5fproto_2eproto
36
PROTOBUF_NAMESPACE_OPEN
37
namespace internal {
38
class AnyMetadata;
39
}  // namespace internal
40
PROTOBUF_NAMESPACE_CLOSE
41
42
// Internal implementation detail -- do not use these members.
43
struct TableStruct_png_5ffuzz_5fproto_2eproto {
44
  static const uint32_t offsets[];
45
};
46
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_png_5ffuzz_5fproto_2eproto;
47
class IDAT;
48
struct IDATDefaultTypeInternal;
49
extern IDATDefaultTypeInternal _IDAT_default_instance_;
50
class IHDR;
51
struct IHDRDefaultTypeInternal;
52
extern IHDRDefaultTypeInternal _IHDR_default_instance_;
53
class OtherChunk;
54
struct OtherChunkDefaultTypeInternal;
55
extern OtherChunkDefaultTypeInternal _OtherChunk_default_instance_;
56
class PLTE;
57
struct PLTEDefaultTypeInternal;
58
extern PLTEDefaultTypeInternal _PLTE_default_instance_;
59
class PngChunk;
60
struct PngChunkDefaultTypeInternal;
61
extern PngChunkDefaultTypeInternal _PngChunk_default_instance_;
62
class PngProto;
63
struct PngProtoDefaultTypeInternal;
64
extern PngProtoDefaultTypeInternal _PngProto_default_instance_;
65
class iCCP;
66
struct iCCPDefaultTypeInternal;
67
extern iCCPDefaultTypeInternal _iCCP_default_instance_;
68
PROTOBUF_NAMESPACE_OPEN
69
template<> ::IDAT* Arena::CreateMaybeMessage<::IDAT>(Arena*);
70
template<> ::IHDR* Arena::CreateMaybeMessage<::IHDR>(Arena*);
71
template<> ::OtherChunk* Arena::CreateMaybeMessage<::OtherChunk>(Arena*);
72
template<> ::PLTE* Arena::CreateMaybeMessage<::PLTE>(Arena*);
73
template<> ::PngChunk* Arena::CreateMaybeMessage<::PngChunk>(Arena*);
74
template<> ::PngProto* Arena::CreateMaybeMessage<::PngProto>(Arena*);
75
template<> ::iCCP* Arena::CreateMaybeMessage<::iCCP>(Arena*);
76
PROTOBUF_NAMESPACE_CLOSE
77
78
// ===================================================================
79
80
class IHDR final :
81
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:IHDR) */ {
82
 public:
83
0
  inline IHDR() : IHDR(nullptr) {}
84
  ~IHDR() override;
85
  explicit PROTOBUF_CONSTEXPR IHDR(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86
87
  IHDR(const IHDR& from);
88
  IHDR(IHDR&& from) noexcept
89
0
    : IHDR() {
90
0
    *this = ::std::move(from);
91
0
  }
92
93
0
  inline IHDR& operator=(const IHDR& from) {
94
0
    CopyFrom(from);
95
0
    return *this;
96
0
  }
97
0
  inline IHDR& operator=(IHDR&& from) noexcept {
98
0
    if (this == &from) return *this;
99
0
    if (GetOwningArena() == from.GetOwningArena()
100
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101
0
        && GetOwningArena() != nullptr
102
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
103
0
    ) {
104
0
      InternalSwap(&from);
105
0
    } else {
106
0
      CopyFrom(from);
107
0
    }
108
0
    return *this;
109
0
  }
110
111
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
112
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113
0
  }
114
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
115
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116
0
  }
117
118
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
119
0
    return GetDescriptor();
120
0
  }
121
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
122
0
    return default_instance().GetMetadata().descriptor;
123
0
  }
124
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
125
0
    return default_instance().GetMetadata().reflection;
126
0
  }
127
0
  static const IHDR& default_instance() {
128
0
    return *internal_default_instance();
129
0
  }
130
0
  static inline const IHDR* internal_default_instance() {
131
0
    return reinterpret_cast<const IHDR*>(
132
0
               &_IHDR_default_instance_);
133
0
  }
134
  static constexpr int kIndexInFileMessages =
135
    0;
136
137
0
  friend void swap(IHDR& a, IHDR& b) {
138
0
    a.Swap(&b);
139
0
  }
140
0
  inline void Swap(IHDR* other) {
141
0
    if (other == this) return;
142
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143
0
    if (GetOwningArena() != nullptr &&
144
0
        GetOwningArena() == other->GetOwningArena()) {
145
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
146
0
    if (GetOwningArena() == other->GetOwningArena()) {
147
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
148
0
      InternalSwap(other);
149
0
    } else {
150
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151
0
    }
152
0
  }
153
0
  void UnsafeArenaSwap(IHDR* other) {
154
0
    if (other == this) return;
155
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156
0
    InternalSwap(other);
157
0
  }
158
159
  // implements Message ----------------------------------------------
160
161
17.6k
  IHDR* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
162
17.6k
    return CreateMaybeMessage<IHDR>(arena);
163
17.6k
  }
164
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
165
  void CopyFrom(const IHDR& from);
166
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
167
0
  void MergeFrom( const IHDR& from) {
168
0
    IHDR::MergeImpl(*this, from);
169
0
  }
170
  private:
171
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
172
  public:
173
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174
  bool IsInitialized() const final;
175
176
  size_t ByteSizeLong() const final;
177
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178
  uint8_t* _InternalSerialize(
179
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
181
182
  private:
183
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
184
  void SharedDtor();
185
  void SetCachedSize(int size) const final;
186
  void InternalSwap(IHDR* other);
187
188
  private:
189
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191
0
    return "IHDR";
192
0
  }
193
  protected:
194
  explicit IHDR(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195
                       bool is_message_owned = false);
196
  public:
197
198
  static const ClassData _class_data_;
199
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
200
201
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
202
203
  // nested types ----------------------------------------------------
204
205
  // accessors -------------------------------------------------------
206
207
  enum : int {
208
    kWidthFieldNumber = 1,
209
    kHeightFieldNumber = 2,
210
    kOther1FieldNumber = 3,
211
    kOther2FieldNumber = 4,
212
  };
213
  // required uint32 width = 1;
214
  bool has_width() const;
215
  private:
216
  bool _internal_has_width() const;
217
  public:
218
  void clear_width();
219
  uint32_t width() const;
220
  void set_width(uint32_t value);
221
  private:
222
  uint32_t _internal_width() const;
223
  void _internal_set_width(uint32_t value);
224
  public:
225
226
  // required uint32 height = 2;
227
  bool has_height() const;
228
  private:
229
  bool _internal_has_height() const;
230
  public:
231
  void clear_height();
232
  uint32_t height() const;
233
  void set_height(uint32_t value);
234
  private:
235
  uint32_t _internal_height() const;
236
  void _internal_set_height(uint32_t value);
237
  public:
238
239
  // required uint32 other1 = 3;
240
  bool has_other1() const;
241
  private:
242
  bool _internal_has_other1() const;
243
  public:
244
  void clear_other1();
245
  uint32_t other1() const;
246
  void set_other1(uint32_t value);
247
  private:
248
  uint32_t _internal_other1() const;
249
  void _internal_set_other1(uint32_t value);
250
  public:
251
252
  // required uint32 other2 = 4;
253
  bool has_other2() const;
254
  private:
255
  bool _internal_has_other2() const;
256
  public:
257
  void clear_other2();
258
  uint32_t other2() const;
259
  void set_other2(uint32_t value);
260
  private:
261
  uint32_t _internal_other2() const;
262
  void _internal_set_other2(uint32_t value);
263
  public:
264
265
  // @@protoc_insertion_point(class_scope:IHDR)
266
 private:
267
  class _Internal;
268
269
  // helper for ByteSizeLong()
270
  size_t RequiredFieldsByteSizeFallback() const;
271
272
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
273
  typedef void InternalArenaConstructable_;
274
  typedef void DestructorSkippable_;
275
  struct Impl_ {
276
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
277
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
278
    uint32_t width_;
279
    uint32_t height_;
280
    uint32_t other1_;
281
    uint32_t other2_;
282
  };
283
  union { Impl_ _impl_; };
284
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
285
};
286
// -------------------------------------------------------------------
287
288
class PLTE final :
289
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PLTE) */ {
290
 public:
291
0
  inline PLTE() : PLTE(nullptr) {}
292
  ~PLTE() override;
293
  explicit PROTOBUF_CONSTEXPR PLTE(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
294
295
  PLTE(const PLTE& from);
296
  PLTE(PLTE&& from) noexcept
297
0
    : PLTE() {
298
0
    *this = ::std::move(from);
299
0
  }
300
301
0
  inline PLTE& operator=(const PLTE& from) {
302
0
    CopyFrom(from);
303
0
    return *this;
304
0
  }
305
0
  inline PLTE& operator=(PLTE&& from) noexcept {
306
0
    if (this == &from) return *this;
307
0
    if (GetOwningArena() == from.GetOwningArena()
308
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
309
0
        && GetOwningArena() != nullptr
310
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
311
0
    ) {
312
0
      InternalSwap(&from);
313
0
    } else {
314
0
      CopyFrom(from);
315
0
    }
316
0
    return *this;
317
0
  }
318
319
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
320
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
321
0
  }
322
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
323
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
324
0
  }
325
326
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
327
0
    return GetDescriptor();
328
0
  }
329
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
330
0
    return default_instance().GetMetadata().descriptor;
331
0
  }
332
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
333
0
    return default_instance().GetMetadata().reflection;
334
0
  }
335
0
  static const PLTE& default_instance() {
336
0
    return *internal_default_instance();
337
0
  }
338
0
  static inline const PLTE* internal_default_instance() {
339
0
    return reinterpret_cast<const PLTE*>(
340
0
               &_PLTE_default_instance_);
341
0
  }
342
  static constexpr int kIndexInFileMessages =
343
    1;
344
345
0
  friend void swap(PLTE& a, PLTE& b) {
346
0
    a.Swap(&b);
347
0
  }
348
0
  inline void Swap(PLTE* other) {
349
0
    if (other == this) return;
350
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
351
0
    if (GetOwningArena() != nullptr &&
352
0
        GetOwningArena() == other->GetOwningArena()) {
353
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
354
0
    if (GetOwningArena() == other->GetOwningArena()) {
355
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
356
0
      InternalSwap(other);
357
0
    } else {
358
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
359
0
    }
360
0
  }
361
0
  void UnsafeArenaSwap(PLTE* other) {
362
0
    if (other == this) return;
363
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
364
0
    InternalSwap(other);
365
0
  }
366
367
  // implements Message ----------------------------------------------
368
369
2.89k
  PLTE* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
370
2.89k
    return CreateMaybeMessage<PLTE>(arena);
371
2.89k
  }
372
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
373
  void CopyFrom(const PLTE& from);
374
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
375
0
  void MergeFrom( const PLTE& from) {
376
0
    PLTE::MergeImpl(*this, from);
377
0
  }
378
  private:
379
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
380
  public:
381
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
382
  bool IsInitialized() const final;
383
384
  size_t ByteSizeLong() const final;
385
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
386
  uint8_t* _InternalSerialize(
387
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
388
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
389
390
  private:
391
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
392
  void SharedDtor();
393
  void SetCachedSize(int size) const final;
394
  void InternalSwap(PLTE* other);
395
396
  private:
397
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
398
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
399
0
    return "PLTE";
400
0
  }
401
  protected:
402
  explicit PLTE(::PROTOBUF_NAMESPACE_ID::Arena* arena,
403
                       bool is_message_owned = false);
404
  public:
405
406
  static const ClassData _class_data_;
407
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
408
409
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
410
411
  // nested types ----------------------------------------------------
412
413
  // accessors -------------------------------------------------------
414
415
  enum : int {
416
    kDataFieldNumber = 1,
417
  };
418
  // required bytes data = 1;
419
  bool has_data() const;
420
  private:
421
  bool _internal_has_data() const;
422
  public:
423
  void clear_data();
424
  const std::string& data() const;
425
  template <typename ArgT0 = const std::string&, typename... ArgT>
426
  void set_data(ArgT0&& arg0, ArgT... args);
427
  std::string* mutable_data();
428
  PROTOBUF_NODISCARD std::string* release_data();
429
  void set_allocated_data(std::string* data);
430
  private:
431
  const std::string& _internal_data() const;
432
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
433
  std::string* _internal_mutable_data();
434
  public:
435
436
  // @@protoc_insertion_point(class_scope:PLTE)
437
 private:
438
  class _Internal;
439
440
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
441
  typedef void InternalArenaConstructable_;
442
  typedef void DestructorSkippable_;
443
  struct Impl_ {
444
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
445
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
446
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
447
  };
448
  union { Impl_ _impl_; };
449
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
450
};
451
// -------------------------------------------------------------------
452
453
class IDAT final :
454
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:IDAT) */ {
455
 public:
456
0
  inline IDAT() : IDAT(nullptr) {}
457
  ~IDAT() override;
458
  explicit PROTOBUF_CONSTEXPR IDAT(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
459
460
  IDAT(const IDAT& from);
461
  IDAT(IDAT&& from) noexcept
462
0
    : IDAT() {
463
0
    *this = ::std::move(from);
464
0
  }
465
466
0
  inline IDAT& operator=(const IDAT& from) {
467
0
    CopyFrom(from);
468
0
    return *this;
469
0
  }
470
0
  inline IDAT& operator=(IDAT&& from) noexcept {
471
0
    if (this == &from) return *this;
472
0
    if (GetOwningArena() == from.GetOwningArena()
473
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
474
0
        && GetOwningArena() != nullptr
475
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
476
0
    ) {
477
0
      InternalSwap(&from);
478
0
    } else {
479
0
      CopyFrom(from);
480
0
    }
481
0
    return *this;
482
0
  }
483
484
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
485
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
486
0
  }
487
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
488
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
489
0
  }
490
491
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
492
0
    return GetDescriptor();
493
0
  }
494
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
495
0
    return default_instance().GetMetadata().descriptor;
496
0
  }
497
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
498
0
    return default_instance().GetMetadata().reflection;
499
0
  }
500
0
  static const IDAT& default_instance() {
501
0
    return *internal_default_instance();
502
0
  }
503
0
  static inline const IDAT* internal_default_instance() {
504
0
    return reinterpret_cast<const IDAT*>(
505
0
               &_IDAT_default_instance_);
506
0
  }
507
  static constexpr int kIndexInFileMessages =
508
    2;
509
510
0
  friend void swap(IDAT& a, IDAT& b) {
511
0
    a.Swap(&b);
512
0
  }
513
0
  inline void Swap(IDAT* other) {
514
0
    if (other == this) return;
515
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
516
0
    if (GetOwningArena() != nullptr &&
517
0
        GetOwningArena() == other->GetOwningArena()) {
518
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
519
0
    if (GetOwningArena() == other->GetOwningArena()) {
520
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
521
0
      InternalSwap(other);
522
0
    } else {
523
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
524
0
    }
525
0
  }
526
0
  void UnsafeArenaSwap(IDAT* other) {
527
0
    if (other == this) return;
528
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
529
0
    InternalSwap(other);
530
0
  }
531
532
  // implements Message ----------------------------------------------
533
534
5.97k
  IDAT* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
535
5.97k
    return CreateMaybeMessage<IDAT>(arena);
536
5.97k
  }
537
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
538
  void CopyFrom(const IDAT& from);
539
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
540
0
  void MergeFrom( const IDAT& from) {
541
0
    IDAT::MergeImpl(*this, from);
542
0
  }
543
  private:
544
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
545
  public:
546
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
547
  bool IsInitialized() const final;
548
549
  size_t ByteSizeLong() const final;
550
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
551
  uint8_t* _InternalSerialize(
552
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
553
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
554
555
  private:
556
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
557
  void SharedDtor();
558
  void SetCachedSize(int size) const final;
559
  void InternalSwap(IDAT* other);
560
561
  private:
562
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
563
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
564
0
    return "IDAT";
565
0
  }
566
  protected:
567
  explicit IDAT(::PROTOBUF_NAMESPACE_ID::Arena* arena,
568
                       bool is_message_owned = false);
569
  public:
570
571
  static const ClassData _class_data_;
572
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
573
574
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
575
576
  // nested types ----------------------------------------------------
577
578
  // accessors -------------------------------------------------------
579
580
  enum : int {
581
    kDataFieldNumber = 1,
582
  };
583
  // required bytes data = 1;
584
  bool has_data() const;
585
  private:
586
  bool _internal_has_data() const;
587
  public:
588
  void clear_data();
589
  const std::string& data() const;
590
  template <typename ArgT0 = const std::string&, typename... ArgT>
591
  void set_data(ArgT0&& arg0, ArgT... args);
592
  std::string* mutable_data();
593
  PROTOBUF_NODISCARD std::string* release_data();
594
  void set_allocated_data(std::string* data);
595
  private:
596
  const std::string& _internal_data() const;
597
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
598
  std::string* _internal_mutable_data();
599
  public:
600
601
  // @@protoc_insertion_point(class_scope:IDAT)
602
 private:
603
  class _Internal;
604
605
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
606
  typedef void InternalArenaConstructable_;
607
  typedef void DestructorSkippable_;
608
  struct Impl_ {
609
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
610
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
611
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
612
  };
613
  union { Impl_ _impl_; };
614
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
615
};
616
// -------------------------------------------------------------------
617
618
class iCCP final :
619
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:iCCP) */ {
620
 public:
621
0
  inline iCCP() : iCCP(nullptr) {}
622
  ~iCCP() override;
623
  explicit PROTOBUF_CONSTEXPR iCCP(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
624
625
  iCCP(const iCCP& from);
626
  iCCP(iCCP&& from) noexcept
627
0
    : iCCP() {
628
0
    *this = ::std::move(from);
629
0
  }
630
631
0
  inline iCCP& operator=(const iCCP& from) {
632
0
    CopyFrom(from);
633
0
    return *this;
634
0
  }
635
0
  inline iCCP& operator=(iCCP&& from) noexcept {
636
0
    if (this == &from) return *this;
637
0
    if (GetOwningArena() == from.GetOwningArena()
638
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
639
0
        && GetOwningArena() != nullptr
640
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
641
0
    ) {
642
0
      InternalSwap(&from);
643
0
    } else {
644
0
      CopyFrom(from);
645
0
    }
646
0
    return *this;
647
0
  }
648
649
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
650
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
651
0
  }
652
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
653
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
654
0
  }
655
656
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
657
0
    return GetDescriptor();
658
0
  }
659
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
660
0
    return default_instance().GetMetadata().descriptor;
661
0
  }
662
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
663
0
    return default_instance().GetMetadata().reflection;
664
0
  }
665
0
  static const iCCP& default_instance() {
666
0
    return *internal_default_instance();
667
0
  }
668
0
  static inline const iCCP* internal_default_instance() {
669
0
    return reinterpret_cast<const iCCP*>(
670
0
               &_iCCP_default_instance_);
671
0
  }
672
  static constexpr int kIndexInFileMessages =
673
    3;
674
675
0
  friend void swap(iCCP& a, iCCP& b) {
676
0
    a.Swap(&b);
677
0
  }
678
0
  inline void Swap(iCCP* other) {
679
0
    if (other == this) return;
680
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
681
0
    if (GetOwningArena() != nullptr &&
682
0
        GetOwningArena() == other->GetOwningArena()) {
683
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
684
0
    if (GetOwningArena() == other->GetOwningArena()) {
685
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
686
0
      InternalSwap(other);
687
0
    } else {
688
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
689
0
    }
690
0
  }
691
0
  void UnsafeArenaSwap(iCCP* other) {
692
0
    if (other == this) return;
693
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
694
0
    InternalSwap(other);
695
0
  }
696
697
  // implements Message ----------------------------------------------
698
699
10.9k
  iCCP* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
700
10.9k
    return CreateMaybeMessage<iCCP>(arena);
701
10.9k
  }
702
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
703
  void CopyFrom(const iCCP& from);
704
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
705
0
  void MergeFrom( const iCCP& from) {
706
0
    iCCP::MergeImpl(*this, from);
707
0
  }
708
  private:
709
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
710
  public:
711
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
712
  bool IsInitialized() const final;
713
714
  size_t ByteSizeLong() const final;
715
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
716
  uint8_t* _InternalSerialize(
717
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
718
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
719
720
  private:
721
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
722
  void SharedDtor();
723
  void SetCachedSize(int size) const final;
724
  void InternalSwap(iCCP* other);
725
726
  private:
727
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
728
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
729
0
    return "iCCP";
730
0
  }
731
  protected:
732
  explicit iCCP(::PROTOBUF_NAMESPACE_ID::Arena* arena,
733
                       bool is_message_owned = false);
734
  public:
735
736
  static const ClassData _class_data_;
737
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
738
739
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
740
741
  // nested types ----------------------------------------------------
742
743
  // accessors -------------------------------------------------------
744
745
  enum : int {
746
    kDataFieldNumber = 2,
747
  };
748
  // required bytes data = 2;
749
  bool has_data() const;
750
  private:
751
  bool _internal_has_data() const;
752
  public:
753
  void clear_data();
754
  const std::string& data() const;
755
  template <typename ArgT0 = const std::string&, typename... ArgT>
756
  void set_data(ArgT0&& arg0, ArgT... args);
757
  std::string* mutable_data();
758
  PROTOBUF_NODISCARD std::string* release_data();
759
  void set_allocated_data(std::string* data);
760
  private:
761
  const std::string& _internal_data() const;
762
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
763
  std::string* _internal_mutable_data();
764
  public:
765
766
  // @@protoc_insertion_point(class_scope:iCCP)
767
 private:
768
  class _Internal;
769
770
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
771
  typedef void InternalArenaConstructable_;
772
  typedef void DestructorSkippable_;
773
  struct Impl_ {
774
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
775
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
776
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
777
  };
778
  union { Impl_ _impl_; };
779
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
780
};
781
// -------------------------------------------------------------------
782
783
class OtherChunk final :
784
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OtherChunk) */ {
785
 public:
786
0
  inline OtherChunk() : OtherChunk(nullptr) {}
787
  ~OtherChunk() override;
788
  explicit PROTOBUF_CONSTEXPR OtherChunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
789
790
  OtherChunk(const OtherChunk& from);
791
  OtherChunk(OtherChunk&& from) noexcept
792
0
    : OtherChunk() {
793
0
    *this = ::std::move(from);
794
0
  }
795
796
0
  inline OtherChunk& operator=(const OtherChunk& from) {
797
0
    CopyFrom(from);
798
0
    return *this;
799
0
  }
800
0
  inline OtherChunk& operator=(OtherChunk&& from) noexcept {
801
0
    if (this == &from) return *this;
802
0
    if (GetOwningArena() == from.GetOwningArena()
803
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
804
0
        && GetOwningArena() != nullptr
805
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
806
0
    ) {
807
0
      InternalSwap(&from);
808
0
    } else {
809
0
      CopyFrom(from);
810
0
    }
811
0
    return *this;
812
0
  }
813
814
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
815
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
816
0
  }
817
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
818
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
819
0
  }
820
821
2
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
822
2
    return GetDescriptor();
823
2
  }
824
2
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
825
2
    return default_instance().GetMetadata().descriptor;
826
2
  }
827
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
828
0
    return default_instance().GetMetadata().reflection;
829
0
  }
830
2
  static const OtherChunk& default_instance() {
831
2
    return *internal_default_instance();
832
2
  }
833
  enum TypeCase {
834
    kKnownType = 1,
835
    kUnknownType = 2,
836
    TYPE_NOT_SET = 0,
837
  };
838
839
2
  static inline const OtherChunk* internal_default_instance() {
840
2
    return reinterpret_cast<const OtherChunk*>(
841
2
               &_OtherChunk_default_instance_);
842
2
  }
843
  static constexpr int kIndexInFileMessages =
844
    4;
845
846
0
  friend void swap(OtherChunk& a, OtherChunk& b) {
847
0
    a.Swap(&b);
848
0
  }
849
0
  inline void Swap(OtherChunk* other) {
850
0
    if (other == this) return;
851
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
852
0
    if (GetOwningArena() != nullptr &&
853
0
        GetOwningArena() == other->GetOwningArena()) {
854
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
855
0
    if (GetOwningArena() == other->GetOwningArena()) {
856
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
857
0
      InternalSwap(other);
858
0
    } else {
859
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
860
0
    }
861
0
  }
862
0
  void UnsafeArenaSwap(OtherChunk* other) {
863
0
    if (other == this) return;
864
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
865
0
    InternalSwap(other);
866
0
  }
867
868
  // implements Message ----------------------------------------------
869
870
63.5k
  OtherChunk* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
871
63.5k
    return CreateMaybeMessage<OtherChunk>(arena);
872
63.5k
  }
873
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
874
  void CopyFrom(const OtherChunk& from);
875
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
876
0
  void MergeFrom( const OtherChunk& from) {
877
0
    OtherChunk::MergeImpl(*this, from);
878
0
  }
879
  private:
880
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
881
  public:
882
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
883
  bool IsInitialized() const final;
884
885
  size_t ByteSizeLong() const final;
886
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
887
  uint8_t* _InternalSerialize(
888
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
889
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
890
891
  private:
892
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
893
  void SharedDtor();
894
  void SetCachedSize(int size) const final;
895
  void InternalSwap(OtherChunk* other);
896
897
  private:
898
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
899
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
900
0
    return "OtherChunk";
901
0
  }
902
  protected:
903
  explicit OtherChunk(::PROTOBUF_NAMESPACE_ID::Arena* arena,
904
                       bool is_message_owned = false);
905
  public:
906
907
  static const ClassData _class_data_;
908
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
909
910
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
911
912
  // nested types ----------------------------------------------------
913
914
  // accessors -------------------------------------------------------
915
916
  enum : int {
917
    kDataFieldNumber = 3,
918
    kKnownTypeFieldNumber = 1,
919
    kUnknownTypeFieldNumber = 2,
920
  };
921
  // required bytes data = 3;
922
  bool has_data() const;
923
  private:
924
  bool _internal_has_data() const;
925
  public:
926
  void clear_data();
927
  const std::string& data() const;
928
  template <typename ArgT0 = const std::string&, typename... ArgT>
929
  void set_data(ArgT0&& arg0, ArgT... args);
930
  std::string* mutable_data();
931
  PROTOBUF_NODISCARD std::string* release_data();
932
  void set_allocated_data(std::string* data);
933
  private:
934
  const std::string& _internal_data() const;
935
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
936
  std::string* _internal_mutable_data();
937
  public:
938
939
  // uint32 known_type = 1;
940
  bool has_known_type() const;
941
  private:
942
  bool _internal_has_known_type() const;
943
  public:
944
  void clear_known_type();
945
  uint32_t known_type() const;
946
  void set_known_type(uint32_t value);
947
  private:
948
  uint32_t _internal_known_type() const;
949
  void _internal_set_known_type(uint32_t value);
950
  public:
951
952
  // uint32 unknown_type = 2;
953
  bool has_unknown_type() const;
954
  private:
955
  bool _internal_has_unknown_type() const;
956
  public:
957
  void clear_unknown_type();
958
  uint32_t unknown_type() const;
959
  void set_unknown_type(uint32_t value);
960
  private:
961
  uint32_t _internal_unknown_type() const;
962
  void _internal_set_unknown_type(uint32_t value);
963
  public:
964
965
  void clear_type();
966
  TypeCase type_case() const;
967
  // @@protoc_insertion_point(class_scope:OtherChunk)
968
 private:
969
  class _Internal;
970
  void set_has_known_type();
971
  void set_has_unknown_type();
972
973
  inline bool has_type() const;
974
  inline void clear_has_type();
975
976
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
977
  typedef void InternalArenaConstructable_;
978
  typedef void DestructorSkippable_;
979
  struct Impl_ {
980
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
981
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
982
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
983
    union TypeUnion {
984
63.5k
      constexpr TypeUnion() : _constinit_{} {}
985
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
986
      uint32_t known_type_;
987
      uint32_t unknown_type_;
988
    } type_;
989
    uint32_t _oneof_case_[1];
990
991
  };
992
  union { Impl_ _impl_; };
993
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
994
};
995
// -------------------------------------------------------------------
996
997
class PngChunk final :
998
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PngChunk) */ {
999
 public:
1000
0
  inline PngChunk() : PngChunk(nullptr) {}
1001
  ~PngChunk() override;
1002
  explicit PROTOBUF_CONSTEXPR PngChunk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1003
1004
  PngChunk(const PngChunk& from);
1005
  PngChunk(PngChunk&& from) noexcept
1006
0
    : PngChunk() {
1007
0
    *this = ::std::move(from);
1008
0
  }
1009
1010
0
  inline PngChunk& operator=(const PngChunk& from) {
1011
0
    CopyFrom(from);
1012
0
    return *this;
1013
0
  }
1014
0
  inline PngChunk& operator=(PngChunk&& from) noexcept {
1015
0
    if (this == &from) return *this;
1016
0
    if (GetOwningArena() == from.GetOwningArena()
1017
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1018
0
        && GetOwningArena() != nullptr
1019
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1020
0
    ) {
1021
0
      InternalSwap(&from);
1022
0
    } else {
1023
0
      CopyFrom(from);
1024
0
    }
1025
0
    return *this;
1026
0
  }
1027
1028
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1029
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1030
0
  }
1031
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1032
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1033
0
  }
1034
1035
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1036
0
    return GetDescriptor();
1037
0
  }
1038
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1039
0
    return default_instance().GetMetadata().descriptor;
1040
0
  }
1041
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1042
0
    return default_instance().GetMetadata().reflection;
1043
0
  }
1044
0
  static const PngChunk& default_instance() {
1045
0
    return *internal_default_instance();
1046
0
  }
1047
  enum ChunkCase {
1048
    kPlte = 1,
1049
    kIdat = 2,
1050
    kIccp = 3,
1051
    kOtherChunk = 10000,
1052
    CHUNK_NOT_SET = 0,
1053
  };
1054
1055
0
  static inline const PngChunk* internal_default_instance() {
1056
0
    return reinterpret_cast<const PngChunk*>(
1057
0
               &_PngChunk_default_instance_);
1058
0
  }
1059
  static constexpr int kIndexInFileMessages =
1060
    5;
1061
1062
0
  friend void swap(PngChunk& a, PngChunk& b) {
1063
0
    a.Swap(&b);
1064
0
  }
1065
0
  inline void Swap(PngChunk* other) {
1066
0
    if (other == this) return;
1067
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1068
0
    if (GetOwningArena() != nullptr &&
1069
0
        GetOwningArena() == other->GetOwningArena()) {
1070
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1071
0
    if (GetOwningArena() == other->GetOwningArena()) {
1072
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1073
0
      InternalSwap(other);
1074
0
    } else {
1075
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1076
0
    }
1077
0
  }
1078
0
  void UnsafeArenaSwap(PngChunk* other) {
1079
0
    if (other == this) return;
1080
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1081
0
    InternalSwap(other);
1082
0
  }
1083
1084
  // implements Message ----------------------------------------------
1085
1086
91.8k
  PngChunk* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1087
91.8k
    return CreateMaybeMessage<PngChunk>(arena);
1088
91.8k
  }
1089
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1090
  void CopyFrom(const PngChunk& from);
1091
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1092
0
  void MergeFrom( const PngChunk& from) {
1093
0
    PngChunk::MergeImpl(*this, from);
1094
0
  }
1095
  private:
1096
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1097
  public:
1098
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1099
  bool IsInitialized() const final;
1100
1101
  size_t ByteSizeLong() const final;
1102
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1103
  uint8_t* _InternalSerialize(
1104
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1105
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1106
1107
  private:
1108
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1109
  void SharedDtor();
1110
  void SetCachedSize(int size) const final;
1111
  void InternalSwap(PngChunk* other);
1112
1113
  private:
1114
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1115
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1116
0
    return "PngChunk";
1117
0
  }
1118
  protected:
1119
  explicit PngChunk(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1120
                       bool is_message_owned = false);
1121
  public:
1122
1123
  static const ClassData _class_data_;
1124
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1125
1126
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1127
1128
  // nested types ----------------------------------------------------
1129
1130
  // accessors -------------------------------------------------------
1131
1132
  enum : int {
1133
    kPlteFieldNumber = 1,
1134
    kIdatFieldNumber = 2,
1135
    kIccpFieldNumber = 3,
1136
    kOtherChunkFieldNumber = 10000,
1137
  };
1138
  // .PLTE plte = 1;
1139
  bool has_plte() const;
1140
  private:
1141
  bool _internal_has_plte() const;
1142
  public:
1143
  void clear_plte();
1144
  const ::PLTE& plte() const;
1145
  PROTOBUF_NODISCARD ::PLTE* release_plte();
1146
  ::PLTE* mutable_plte();
1147
  void set_allocated_plte(::PLTE* plte);
1148
  private:
1149
  const ::PLTE& _internal_plte() const;
1150
  ::PLTE* _internal_mutable_plte();
1151
  public:
1152
  void unsafe_arena_set_allocated_plte(
1153
      ::PLTE* plte);
1154
  ::PLTE* unsafe_arena_release_plte();
1155
1156
  // .IDAT idat = 2;
1157
  bool has_idat() const;
1158
  private:
1159
  bool _internal_has_idat() const;
1160
  public:
1161
  void clear_idat();
1162
  const ::IDAT& idat() const;
1163
  PROTOBUF_NODISCARD ::IDAT* release_idat();
1164
  ::IDAT* mutable_idat();
1165
  void set_allocated_idat(::IDAT* idat);
1166
  private:
1167
  const ::IDAT& _internal_idat() const;
1168
  ::IDAT* _internal_mutable_idat();
1169
  public:
1170
  void unsafe_arena_set_allocated_idat(
1171
      ::IDAT* idat);
1172
  ::IDAT* unsafe_arena_release_idat();
1173
1174
  // .iCCP iccp = 3;
1175
  bool has_iccp() const;
1176
  private:
1177
  bool _internal_has_iccp() const;
1178
  public:
1179
  void clear_iccp();
1180
  const ::iCCP& iccp() const;
1181
  PROTOBUF_NODISCARD ::iCCP* release_iccp();
1182
  ::iCCP* mutable_iccp();
1183
  void set_allocated_iccp(::iCCP* iccp);
1184
  private:
1185
  const ::iCCP& _internal_iccp() const;
1186
  ::iCCP* _internal_mutable_iccp();
1187
  public:
1188
  void unsafe_arena_set_allocated_iccp(
1189
      ::iCCP* iccp);
1190
  ::iCCP* unsafe_arena_release_iccp();
1191
1192
  // .OtherChunk other_chunk = 10000;
1193
  bool has_other_chunk() const;
1194
  private:
1195
  bool _internal_has_other_chunk() const;
1196
  public:
1197
  void clear_other_chunk();
1198
  const ::OtherChunk& other_chunk() const;
1199
  PROTOBUF_NODISCARD ::OtherChunk* release_other_chunk();
1200
  ::OtherChunk* mutable_other_chunk();
1201
  void set_allocated_other_chunk(::OtherChunk* other_chunk);
1202
  private:
1203
  const ::OtherChunk& _internal_other_chunk() const;
1204
  ::OtherChunk* _internal_mutable_other_chunk();
1205
  public:
1206
  void unsafe_arena_set_allocated_other_chunk(
1207
      ::OtherChunk* other_chunk);
1208
  ::OtherChunk* unsafe_arena_release_other_chunk();
1209
1210
  void clear_chunk();
1211
  ChunkCase chunk_case() const;
1212
  // @@protoc_insertion_point(class_scope:PngChunk)
1213
 private:
1214
  class _Internal;
1215
  void set_has_plte();
1216
  void set_has_idat();
1217
  void set_has_iccp();
1218
  void set_has_other_chunk();
1219
1220
  inline bool has_chunk() const;
1221
  inline void clear_has_chunk();
1222
1223
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1224
  typedef void InternalArenaConstructable_;
1225
  typedef void DestructorSkippable_;
1226
  struct Impl_ {
1227
    union ChunkUnion {
1228
91.8k
      constexpr ChunkUnion() : _constinit_{} {}
1229
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1230
      ::PLTE* plte_;
1231
      ::IDAT* idat_;
1232
      ::iCCP* iccp_;
1233
      ::OtherChunk* other_chunk_;
1234
    } chunk_;
1235
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1236
    uint32_t _oneof_case_[1];
1237
1238
  };
1239
  union { Impl_ _impl_; };
1240
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
1241
};
1242
// -------------------------------------------------------------------
1243
1244
class PngProto final :
1245
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PngProto) */ {
1246
 public:
1247
17.6k
  inline PngProto() : PngProto(nullptr) {}
1248
  ~PngProto() override;
1249
  explicit PROTOBUF_CONSTEXPR PngProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1250
1251
  PngProto(const PngProto& from);
1252
  PngProto(PngProto&& from) noexcept
1253
0
    : PngProto() {
1254
0
    *this = ::std::move(from);
1255
0
  }
1256
1257
0
  inline PngProto& operator=(const PngProto& from) {
1258
0
    CopyFrom(from);
1259
0
    return *this;
1260
0
  }
1261
0
  inline PngProto& operator=(PngProto&& from) noexcept {
1262
0
    if (this == &from) return *this;
1263
0
    if (GetOwningArena() == from.GetOwningArena()
1264
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1265
0
        && GetOwningArena() != nullptr
1266
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1267
0
    ) {
1268
0
      InternalSwap(&from);
1269
0
    } else {
1270
0
      CopyFrom(from);
1271
0
    }
1272
0
    return *this;
1273
0
  }
1274
1275
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1276
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1277
0
  }
1278
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1279
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1280
0
  }
1281
1282
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1283
0
    return GetDescriptor();
1284
0
  }
1285
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1286
0
    return default_instance().GetMetadata().descriptor;
1287
0
  }
1288
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1289
0
    return default_instance().GetMetadata().reflection;
1290
0
  }
1291
0
  static const PngProto& default_instance() {
1292
0
    return *internal_default_instance();
1293
0
  }
1294
17.6k
  static inline const PngProto* internal_default_instance() {
1295
17.6k
    return reinterpret_cast<const PngProto*>(
1296
17.6k
               &_PngProto_default_instance_);
1297
17.6k
  }
1298
  static constexpr int kIndexInFileMessages =
1299
    6;
1300
1301
0
  friend void swap(PngProto& a, PngProto& b) {
1302
0
    a.Swap(&b);
1303
0
  }
1304
0
  inline void Swap(PngProto* other) {
1305
0
    if (other == this) return;
1306
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1307
0
    if (GetOwningArena() != nullptr &&
1308
0
        GetOwningArena() == other->GetOwningArena()) {
1309
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1310
0
    if (GetOwningArena() == other->GetOwningArena()) {
1311
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1312
0
      InternalSwap(other);
1313
0
    } else {
1314
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1315
0
    }
1316
0
  }
1317
0
  void UnsafeArenaSwap(PngProto* other) {
1318
0
    if (other == this) return;
1319
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1320
0
    InternalSwap(other);
1321
0
  }
1322
1323
  // implements Message ----------------------------------------------
1324
1325
0
  PngProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1326
0
    return CreateMaybeMessage<PngProto>(arena);
1327
0
  }
1328
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1329
  void CopyFrom(const PngProto& from);
1330
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1331
0
  void MergeFrom( const PngProto& from) {
1332
0
    PngProto::MergeImpl(*this, from);
1333
0
  }
1334
  private:
1335
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1336
  public:
1337
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1338
  bool IsInitialized() const final;
1339
1340
  size_t ByteSizeLong() const final;
1341
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1342
  uint8_t* _InternalSerialize(
1343
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1344
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1345
1346
  private:
1347
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1348
  void SharedDtor();
1349
  void SetCachedSize(int size) const final;
1350
  void InternalSwap(PngProto* other);
1351
1352
  private:
1353
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1354
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1355
0
    return "PngProto";
1356
0
  }
1357
  protected:
1358
  explicit PngProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1359
                       bool is_message_owned = false);
1360
  public:
1361
1362
  static const ClassData _class_data_;
1363
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1364
1365
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1366
1367
  // nested types ----------------------------------------------------
1368
1369
  // accessors -------------------------------------------------------
1370
1371
  enum : int {
1372
    kChunksFieldNumber = 2,
1373
    kIhdrFieldNumber = 1,
1374
  };
1375
  // repeated .PngChunk chunks = 2;
1376
  int chunks_size() const;
1377
  private:
1378
  int _internal_chunks_size() const;
1379
  public:
1380
  void clear_chunks();
1381
  ::PngChunk* mutable_chunks(int index);
1382
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PngChunk >*
1383
      mutable_chunks();
1384
  private:
1385
  const ::PngChunk& _internal_chunks(int index) const;
1386
  ::PngChunk* _internal_add_chunks();
1387
  public:
1388
  const ::PngChunk& chunks(int index) const;
1389
  ::PngChunk* add_chunks();
1390
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PngChunk >&
1391
      chunks() const;
1392
1393
  // required .IHDR ihdr = 1;
1394
  bool has_ihdr() const;
1395
  private:
1396
  bool _internal_has_ihdr() const;
1397
  public:
1398
  void clear_ihdr();
1399
  const ::IHDR& ihdr() const;
1400
  PROTOBUF_NODISCARD ::IHDR* release_ihdr();
1401
  ::IHDR* mutable_ihdr();
1402
  void set_allocated_ihdr(::IHDR* ihdr);
1403
  private:
1404
  const ::IHDR& _internal_ihdr() const;
1405
  ::IHDR* _internal_mutable_ihdr();
1406
  public:
1407
  void unsafe_arena_set_allocated_ihdr(
1408
      ::IHDR* ihdr);
1409
  ::IHDR* unsafe_arena_release_ihdr();
1410
1411
  // @@protoc_insertion_point(class_scope:PngProto)
1412
 private:
1413
  class _Internal;
1414
1415
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1416
  typedef void InternalArenaConstructable_;
1417
  typedef void DestructorSkippable_;
1418
  struct Impl_ {
1419
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1420
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1421
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PngChunk > chunks_;
1422
    ::IHDR* ihdr_;
1423
  };
1424
  union { Impl_ _impl_; };
1425
  friend struct ::TableStruct_png_5ffuzz_5fproto_2eproto;
1426
};
1427
// ===================================================================
1428
1429
1430
// ===================================================================
1431
1432
#ifdef __GNUC__
1433
  #pragma GCC diagnostic push
1434
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1435
#endif  // __GNUC__
1436
// IHDR
1437
1438
// required uint32 width = 1;
1439
0
inline bool IHDR::_internal_has_width() const {
1440
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1441
0
  return value;
1442
0
}
1443
0
inline bool IHDR::has_width() const {
1444
0
  return _internal_has_width();
1445
0
}
1446
0
inline void IHDR::clear_width() {
1447
0
  _impl_.width_ = 0u;
1448
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1449
0
}
1450
17.6k
inline uint32_t IHDR::_internal_width() const {
1451
17.6k
  return _impl_.width_;
1452
17.6k
}
1453
17.6k
inline uint32_t IHDR::width() const {
1454
  // @@protoc_insertion_point(field_get:IHDR.width)
1455
17.6k
  return _internal_width();
1456
17.6k
}
1457
0
inline void IHDR::_internal_set_width(uint32_t value) {
1458
0
  _impl_._has_bits_[0] |= 0x00000001u;
1459
0
  _impl_.width_ = value;
1460
0
}
1461
0
inline void IHDR::set_width(uint32_t value) {
1462
0
  _internal_set_width(value);
1463
0
  // @@protoc_insertion_point(field_set:IHDR.width)
1464
0
}
1465
1466
// required uint32 height = 2;
1467
0
inline bool IHDR::_internal_has_height() const {
1468
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1469
0
  return value;
1470
0
}
1471
0
inline bool IHDR::has_height() const {
1472
0
  return _internal_has_height();
1473
0
}
1474
0
inline void IHDR::clear_height() {
1475
0
  _impl_.height_ = 0u;
1476
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1477
0
}
1478
17.6k
inline uint32_t IHDR::_internal_height() const {
1479
17.6k
  return _impl_.height_;
1480
17.6k
}
1481
17.6k
inline uint32_t IHDR::height() const {
1482
  // @@protoc_insertion_point(field_get:IHDR.height)
1483
17.6k
  return _internal_height();
1484
17.6k
}
1485
0
inline void IHDR::_internal_set_height(uint32_t value) {
1486
0
  _impl_._has_bits_[0] |= 0x00000002u;
1487
0
  _impl_.height_ = value;
1488
0
}
1489
0
inline void IHDR::set_height(uint32_t value) {
1490
0
  _internal_set_height(value);
1491
0
  // @@protoc_insertion_point(field_set:IHDR.height)
1492
0
}
1493
1494
// required uint32 other1 = 3;
1495
0
inline bool IHDR::_internal_has_other1() const {
1496
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1497
0
  return value;
1498
0
}
1499
0
inline bool IHDR::has_other1() const {
1500
0
  return _internal_has_other1();
1501
0
}
1502
0
inline void IHDR::clear_other1() {
1503
0
  _impl_.other1_ = 0u;
1504
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1505
0
}
1506
17.6k
inline uint32_t IHDR::_internal_other1() const {
1507
17.6k
  return _impl_.other1_;
1508
17.6k
}
1509
17.6k
inline uint32_t IHDR::other1() const {
1510
  // @@protoc_insertion_point(field_get:IHDR.other1)
1511
17.6k
  return _internal_other1();
1512
17.6k
}
1513
0
inline void IHDR::_internal_set_other1(uint32_t value) {
1514
0
  _impl_._has_bits_[0] |= 0x00000004u;
1515
0
  _impl_.other1_ = value;
1516
0
}
1517
0
inline void IHDR::set_other1(uint32_t value) {
1518
0
  _internal_set_other1(value);
1519
0
  // @@protoc_insertion_point(field_set:IHDR.other1)
1520
0
}
1521
1522
// required uint32 other2 = 4;
1523
0
inline bool IHDR::_internal_has_other2() const {
1524
0
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1525
0
  return value;
1526
0
}
1527
0
inline bool IHDR::has_other2() const {
1528
0
  return _internal_has_other2();
1529
0
}
1530
0
inline void IHDR::clear_other2() {
1531
0
  _impl_.other2_ = 0u;
1532
0
  _impl_._has_bits_[0] &= ~0x00000008u;
1533
0
}
1534
17.6k
inline uint32_t IHDR::_internal_other2() const {
1535
17.6k
  return _impl_.other2_;
1536
17.6k
}
1537
17.6k
inline uint32_t IHDR::other2() const {
1538
  // @@protoc_insertion_point(field_get:IHDR.other2)
1539
17.6k
  return _internal_other2();
1540
17.6k
}
1541
0
inline void IHDR::_internal_set_other2(uint32_t value) {
1542
0
  _impl_._has_bits_[0] |= 0x00000008u;
1543
0
  _impl_.other2_ = value;
1544
0
}
1545
0
inline void IHDR::set_other2(uint32_t value) {
1546
0
  _internal_set_other2(value);
1547
0
  // @@protoc_insertion_point(field_set:IHDR.other2)
1548
0
}
1549
1550
// -------------------------------------------------------------------
1551
1552
// PLTE
1553
1554
// required bytes data = 1;
1555
0
inline bool PLTE::_internal_has_data() const {
1556
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1557
0
  return value;
1558
0
}
1559
0
inline bool PLTE::has_data() const {
1560
0
  return _internal_has_data();
1561
0
}
1562
0
inline void PLTE::clear_data() {
1563
0
  _impl_.data_.ClearToEmpty();
1564
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1565
0
}
1566
2.89k
inline const std::string& PLTE::data() const {
1567
  // @@protoc_insertion_point(field_get:PLTE.data)
1568
2.89k
  return _internal_data();
1569
2.89k
}
1570
template <typename ArgT0, typename... ArgT>
1571
inline PROTOBUF_ALWAYS_INLINE
1572
void PLTE::set_data(ArgT0&& arg0, ArgT... args) {
1573
 _impl_._has_bits_[0] |= 0x00000001u;
1574
 _impl_.data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1575
  // @@protoc_insertion_point(field_set:PLTE.data)
1576
}
1577
0
inline std::string* PLTE::mutable_data() {
1578
0
  std::string* _s = _internal_mutable_data();
1579
0
  // @@protoc_insertion_point(field_mutable:PLTE.data)
1580
0
  return _s;
1581
0
}
1582
2.89k
inline const std::string& PLTE::_internal_data() const {
1583
2.89k
  return _impl_.data_.Get();
1584
2.89k
}
1585
0
inline void PLTE::_internal_set_data(const std::string& value) {
1586
0
  _impl_._has_bits_[0] |= 0x00000001u;
1587
0
  _impl_.data_.Set(value, GetArenaForAllocation());
1588
0
}
1589
0
inline std::string* PLTE::_internal_mutable_data() {
1590
0
  _impl_._has_bits_[0] |= 0x00000001u;
1591
0
  return _impl_.data_.Mutable(GetArenaForAllocation());
1592
0
}
1593
0
inline std::string* PLTE::release_data() {
1594
0
  // @@protoc_insertion_point(field_release:PLTE.data)
1595
0
  if (!_internal_has_data()) {
1596
0
    return nullptr;
1597
0
  }
1598
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1599
0
  auto* p = _impl_.data_.Release();
1600
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1601
0
  if (_impl_.data_.IsDefault()) {
1602
0
    _impl_.data_.Set("", GetArenaForAllocation());
1603
0
  }
1604
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1605
0
  return p;
1606
0
}
1607
0
inline void PLTE::set_allocated_data(std::string* data) {
1608
0
  if (data != nullptr) {
1609
0
    _impl_._has_bits_[0] |= 0x00000001u;
1610
0
  } else {
1611
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1612
0
  }
1613
0
  _impl_.data_.SetAllocated(data, GetArenaForAllocation());
1614
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1615
0
  if (_impl_.data_.IsDefault()) {
1616
0
    _impl_.data_.Set("", GetArenaForAllocation());
1617
0
  }
1618
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1619
0
  // @@protoc_insertion_point(field_set_allocated:PLTE.data)
1620
0
}
1621
1622
// -------------------------------------------------------------------
1623
1624
// IDAT
1625
1626
// required bytes data = 1;
1627
0
inline bool IDAT::_internal_has_data() const {
1628
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1629
0
  return value;
1630
0
}
1631
0
inline bool IDAT::has_data() const {
1632
0
  return _internal_has_data();
1633
0
}
1634
0
inline void IDAT::clear_data() {
1635
0
  _impl_.data_.ClearToEmpty();
1636
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1637
0
}
1638
5.97k
inline const std::string& IDAT::data() const {
1639
  // @@protoc_insertion_point(field_get:IDAT.data)
1640
5.97k
  return _internal_data();
1641
5.97k
}
1642
template <typename ArgT0, typename... ArgT>
1643
inline PROTOBUF_ALWAYS_INLINE
1644
void IDAT::set_data(ArgT0&& arg0, ArgT... args) {
1645
 _impl_._has_bits_[0] |= 0x00000001u;
1646
 _impl_.data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1647
  // @@protoc_insertion_point(field_set:IDAT.data)
1648
}
1649
0
inline std::string* IDAT::mutable_data() {
1650
0
  std::string* _s = _internal_mutable_data();
1651
0
  // @@protoc_insertion_point(field_mutable:IDAT.data)
1652
0
  return _s;
1653
0
}
1654
5.97k
inline const std::string& IDAT::_internal_data() const {
1655
5.97k
  return _impl_.data_.Get();
1656
5.97k
}
1657
0
inline void IDAT::_internal_set_data(const std::string& value) {
1658
0
  _impl_._has_bits_[0] |= 0x00000001u;
1659
0
  _impl_.data_.Set(value, GetArenaForAllocation());
1660
0
}
1661
0
inline std::string* IDAT::_internal_mutable_data() {
1662
0
  _impl_._has_bits_[0] |= 0x00000001u;
1663
0
  return _impl_.data_.Mutable(GetArenaForAllocation());
1664
0
}
1665
0
inline std::string* IDAT::release_data() {
1666
0
  // @@protoc_insertion_point(field_release:IDAT.data)
1667
0
  if (!_internal_has_data()) {
1668
0
    return nullptr;
1669
0
  }
1670
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1671
0
  auto* p = _impl_.data_.Release();
1672
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1673
0
  if (_impl_.data_.IsDefault()) {
1674
0
    _impl_.data_.Set("", GetArenaForAllocation());
1675
0
  }
1676
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1677
0
  return p;
1678
0
}
1679
0
inline void IDAT::set_allocated_data(std::string* data) {
1680
0
  if (data != nullptr) {
1681
0
    _impl_._has_bits_[0] |= 0x00000001u;
1682
0
  } else {
1683
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1684
0
  }
1685
0
  _impl_.data_.SetAllocated(data, GetArenaForAllocation());
1686
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1687
0
  if (_impl_.data_.IsDefault()) {
1688
0
    _impl_.data_.Set("", GetArenaForAllocation());
1689
0
  }
1690
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1691
0
  // @@protoc_insertion_point(field_set_allocated:IDAT.data)
1692
0
}
1693
1694
// -------------------------------------------------------------------
1695
1696
// iCCP
1697
1698
// required bytes data = 2;
1699
0
inline bool iCCP::_internal_has_data() const {
1700
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1701
0
  return value;
1702
0
}
1703
0
inline bool iCCP::has_data() const {
1704
0
  return _internal_has_data();
1705
0
}
1706
0
inline void iCCP::clear_data() {
1707
0
  _impl_.data_.ClearToEmpty();
1708
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1709
0
}
1710
10.9k
inline const std::string& iCCP::data() const {
1711
  // @@protoc_insertion_point(field_get:iCCP.data)
1712
10.9k
  return _internal_data();
1713
10.9k
}
1714
template <typename ArgT0, typename... ArgT>
1715
inline PROTOBUF_ALWAYS_INLINE
1716
void iCCP::set_data(ArgT0&& arg0, ArgT... args) {
1717
 _impl_._has_bits_[0] |= 0x00000001u;
1718
 _impl_.data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1719
  // @@protoc_insertion_point(field_set:iCCP.data)
1720
}
1721
0
inline std::string* iCCP::mutable_data() {
1722
0
  std::string* _s = _internal_mutable_data();
1723
0
  // @@protoc_insertion_point(field_mutable:iCCP.data)
1724
0
  return _s;
1725
0
}
1726
10.9k
inline const std::string& iCCP::_internal_data() const {
1727
10.9k
  return _impl_.data_.Get();
1728
10.9k
}
1729
0
inline void iCCP::_internal_set_data(const std::string& value) {
1730
0
  _impl_._has_bits_[0] |= 0x00000001u;
1731
0
  _impl_.data_.Set(value, GetArenaForAllocation());
1732
0
}
1733
0
inline std::string* iCCP::_internal_mutable_data() {
1734
0
  _impl_._has_bits_[0] |= 0x00000001u;
1735
0
  return _impl_.data_.Mutable(GetArenaForAllocation());
1736
0
}
1737
0
inline std::string* iCCP::release_data() {
1738
0
  // @@protoc_insertion_point(field_release:iCCP.data)
1739
0
  if (!_internal_has_data()) {
1740
0
    return nullptr;
1741
0
  }
1742
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1743
0
  auto* p = _impl_.data_.Release();
1744
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1745
0
  if (_impl_.data_.IsDefault()) {
1746
0
    _impl_.data_.Set("", GetArenaForAllocation());
1747
0
  }
1748
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1749
0
  return p;
1750
0
}
1751
0
inline void iCCP::set_allocated_data(std::string* data) {
1752
0
  if (data != nullptr) {
1753
0
    _impl_._has_bits_[0] |= 0x00000001u;
1754
0
  } else {
1755
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1756
0
  }
1757
0
  _impl_.data_.SetAllocated(data, GetArenaForAllocation());
1758
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1759
0
  if (_impl_.data_.IsDefault()) {
1760
0
    _impl_.data_.Set("", GetArenaForAllocation());
1761
0
  }
1762
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1763
0
  // @@protoc_insertion_point(field_set_allocated:iCCP.data)
1764
0
}
1765
1766
// -------------------------------------------------------------------
1767
1768
// OtherChunk
1769
1770
// uint32 known_type = 1;
1771
124k
inline bool OtherChunk::_internal_has_known_type() const {
1772
124k
  return type_case() == kKnownType;
1773
124k
}
1774
63.5k
inline bool OtherChunk::has_known_type() const {
1775
63.5k
  return _internal_has_known_type();
1776
63.5k
}
1777
3
inline void OtherChunk::set_has_known_type() {
1778
3
  _impl_._oneof_case_[0] = kKnownType;
1779
3
}
1780
0
inline void OtherChunk::clear_known_type() {
1781
0
  if (_internal_has_known_type()) {
1782
0
    _impl_.type_.known_type_ = 0u;
1783
0
    clear_has_type();
1784
0
  }
1785
0
}
1786
60.4k
inline uint32_t OtherChunk::_internal_known_type() const {
1787
60.4k
  if (_internal_has_known_type()) {
1788
60.4k
    return _impl_.type_.known_type_;
1789
60.4k
  }
1790
0
  return 0u;
1791
60.4k
}
1792
3
inline void OtherChunk::_internal_set_known_type(uint32_t value) {
1793
3
  if (!_internal_has_known_type()) {
1794
3
    clear_type();
1795
3
    set_has_known_type();
1796
3
  }
1797
3
  _impl_.type_.known_type_ = value;
1798
3
}
1799
60.4k
inline uint32_t OtherChunk::known_type() const {
1800
  // @@protoc_insertion_point(field_get:OtherChunk.known_type)
1801
60.4k
  return _internal_known_type();
1802
60.4k
}
1803
3
inline void OtherChunk::set_known_type(uint32_t value) {
1804
3
  _internal_set_known_type(value);
1805
  // @@protoc_insertion_point(field_set:OtherChunk.known_type)
1806
3
}
1807
1808
// uint32 unknown_type = 2;
1809
6.04k
inline bool OtherChunk::_internal_has_unknown_type() const {
1810
6.04k
  return type_case() == kUnknownType;
1811
6.04k
}
1812
3.33k
inline bool OtherChunk::has_unknown_type() const {
1813
3.33k
  return _internal_has_unknown_type();
1814
3.33k
}
1815
0
inline void OtherChunk::set_has_unknown_type() {
1816
0
  _impl_._oneof_case_[0] = kUnknownType;
1817
0
}
1818
0
inline void OtherChunk::clear_unknown_type() {
1819
0
  if (_internal_has_unknown_type()) {
1820
0
    _impl_.type_.unknown_type_ = 0u;
1821
0
    clear_has_type();
1822
0
  }
1823
0
}
1824
2.71k
inline uint32_t OtherChunk::_internal_unknown_type() const {
1825
2.71k
  if (_internal_has_unknown_type()) {
1826
2.71k
    return _impl_.type_.unknown_type_;
1827
2.71k
  }
1828
0
  return 0u;
1829
2.71k
}
1830
0
inline void OtherChunk::_internal_set_unknown_type(uint32_t value) {
1831
0
  if (!_internal_has_unknown_type()) {
1832
0
    clear_type();
1833
0
    set_has_unknown_type();
1834
0
  }
1835
0
  _impl_.type_.unknown_type_ = value;
1836
0
}
1837
2.71k
inline uint32_t OtherChunk::unknown_type() const {
1838
  // @@protoc_insertion_point(field_get:OtherChunk.unknown_type)
1839
2.71k
  return _internal_unknown_type();
1840
2.71k
}
1841
0
inline void OtherChunk::set_unknown_type(uint32_t value) {
1842
0
  _internal_set_unknown_type(value);
1843
0
  // @@protoc_insertion_point(field_set:OtherChunk.unknown_type)
1844
0
}
1845
1846
// required bytes data = 3;
1847
0
inline bool OtherChunk::_internal_has_data() const {
1848
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1849
0
  return value;
1850
0
}
1851
0
inline bool OtherChunk::has_data() const {
1852
0
  return _internal_has_data();
1853
0
}
1854
0
inline void OtherChunk::clear_data() {
1855
0
  _impl_.data_.ClearToEmpty();
1856
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1857
0
}
1858
63.1k
inline const std::string& OtherChunk::data() const {
1859
  // @@protoc_insertion_point(field_get:OtherChunk.data)
1860
63.1k
  return _internal_data();
1861
63.1k
}
1862
template <typename ArgT0, typename... ArgT>
1863
inline PROTOBUF_ALWAYS_INLINE
1864
void OtherChunk::set_data(ArgT0&& arg0, ArgT... args) {
1865
 _impl_._has_bits_[0] |= 0x00000001u;
1866
 _impl_.data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1867
  // @@protoc_insertion_point(field_set:OtherChunk.data)
1868
}
1869
0
inline std::string* OtherChunk::mutable_data() {
1870
0
  std::string* _s = _internal_mutable_data();
1871
0
  // @@protoc_insertion_point(field_mutable:OtherChunk.data)
1872
0
  return _s;
1873
0
}
1874
63.1k
inline const std::string& OtherChunk::_internal_data() const {
1875
63.1k
  return _impl_.data_.Get();
1876
63.1k
}
1877
0
inline void OtherChunk::_internal_set_data(const std::string& value) {
1878
0
  _impl_._has_bits_[0] |= 0x00000001u;
1879
0
  _impl_.data_.Set(value, GetArenaForAllocation());
1880
0
}
1881
0
inline std::string* OtherChunk::_internal_mutable_data() {
1882
0
  _impl_._has_bits_[0] |= 0x00000001u;
1883
0
  return _impl_.data_.Mutable(GetArenaForAllocation());
1884
0
}
1885
0
inline std::string* OtherChunk::release_data() {
1886
0
  // @@protoc_insertion_point(field_release:OtherChunk.data)
1887
0
  if (!_internal_has_data()) {
1888
0
    return nullptr;
1889
0
  }
1890
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1891
0
  auto* p = _impl_.data_.Release();
1892
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1893
0
  if (_impl_.data_.IsDefault()) {
1894
0
    _impl_.data_.Set("", GetArenaForAllocation());
1895
0
  }
1896
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1897
0
  return p;
1898
0
}
1899
0
inline void OtherChunk::set_allocated_data(std::string* data) {
1900
0
  if (data != nullptr) {
1901
0
    _impl_._has_bits_[0] |= 0x00000001u;
1902
0
  } else {
1903
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1904
0
  }
1905
0
  _impl_.data_.SetAllocated(data, GetArenaForAllocation());
1906
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1907
0
  if (_impl_.data_.IsDefault()) {
1908
0
    _impl_.data_.Set("", GetArenaForAllocation());
1909
0
  }
1910
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1911
0
  // @@protoc_insertion_point(field_set_allocated:OtherChunk.data)
1912
0
}
1913
1914
63.5k
inline bool OtherChunk::has_type() const {
1915
63.5k
  return type_case() != TYPE_NOT_SET;
1916
63.5k
}
1917
63.5k
inline void OtherChunk::clear_has_type() {
1918
63.5k
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
1919
63.5k
}
1920
256k
inline OtherChunk::TypeCase OtherChunk::type_case() const {
1921
256k
  return OtherChunk::TypeCase(_impl_._oneof_case_[0]);
1922
256k
}
1923
// -------------------------------------------------------------------
1924
1925
// PngChunk
1926
1927
// .PLTE plte = 1;
1928
94.3k
inline bool PngChunk::_internal_has_plte() const {
1929
94.3k
  return chunk_case() == kPlte;
1930
94.3k
}
1931
91.4k
inline bool PngChunk::has_plte() const {
1932
91.4k
  return _internal_has_plte();
1933
91.4k
}
1934
0
inline void PngChunk::set_has_plte() {
1935
0
  _impl_._oneof_case_[0] = kPlte;
1936
0
}
1937
0
inline void PngChunk::clear_plte() {
1938
0
  if (_internal_has_plte()) {
1939
0
    if (GetArenaForAllocation() == nullptr) {
1940
0
      delete _impl_.chunk_.plte_;
1941
0
    }
1942
0
    clear_has_chunk();
1943
0
  }
1944
0
}
1945
0
inline ::PLTE* PngChunk::release_plte() {
1946
0
  // @@protoc_insertion_point(field_release:PngChunk.plte)
1947
0
  if (_internal_has_plte()) {
1948
0
    clear_has_chunk();
1949
0
    ::PLTE* temp = _impl_.chunk_.plte_;
1950
0
    if (GetArenaForAllocation() != nullptr) {
1951
0
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1952
0
    }
1953
0
    _impl_.chunk_.plte_ = nullptr;
1954
0
    return temp;
1955
0
  } else {
1956
0
    return nullptr;
1957
0
  }
1958
0
}
1959
2.89k
inline const ::PLTE& PngChunk::_internal_plte() const {
1960
2.89k
  return _internal_has_plte()
1961
2.89k
      ? *_impl_.chunk_.plte_
1962
2.89k
      : reinterpret_cast< ::PLTE&>(::_PLTE_default_instance_);
1963
2.89k
}
1964
2.89k
inline const ::PLTE& PngChunk::plte() const {
1965
  // @@protoc_insertion_point(field_get:PngChunk.plte)
1966
2.89k
  return _internal_plte();
1967
2.89k
}
1968
0
inline ::PLTE* PngChunk::unsafe_arena_release_plte() {
1969
0
  // @@protoc_insertion_point(field_unsafe_arena_release:PngChunk.plte)
1970
0
  if (_internal_has_plte()) {
1971
0
    clear_has_chunk();
1972
0
    ::PLTE* temp = _impl_.chunk_.plte_;
1973
0
    _impl_.chunk_.plte_ = nullptr;
1974
0
    return temp;
1975
0
  } else {
1976
0
    return nullptr;
1977
0
  }
1978
0
}
1979
0
inline void PngChunk::unsafe_arena_set_allocated_plte(::PLTE* plte) {
1980
0
  clear_chunk();
1981
0
  if (plte) {
1982
0
    set_has_plte();
1983
0
    _impl_.chunk_.plte_ = plte;
1984
0
  }
1985
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PngChunk.plte)
1986
0
}
1987
0
inline ::PLTE* PngChunk::_internal_mutable_plte() {
1988
0
  if (!_internal_has_plte()) {
1989
0
    clear_chunk();
1990
0
    set_has_plte();
1991
0
    _impl_.chunk_.plte_ = CreateMaybeMessage< ::PLTE >(GetArenaForAllocation());
1992
0
  }
1993
0
  return _impl_.chunk_.plte_;
1994
0
}
1995
0
inline ::PLTE* PngChunk::mutable_plte() {
1996
0
  ::PLTE* _msg = _internal_mutable_plte();
1997
0
  // @@protoc_insertion_point(field_mutable:PngChunk.plte)
1998
0
  return _msg;
1999
0
}
2000
2001
// .IDAT idat = 2;
2002
94.4k
inline bool PngChunk::_internal_has_idat() const {
2003
94.4k
  return chunk_case() == kIdat;
2004
94.4k
}
2005
88.5k
inline bool PngChunk::has_idat() const {
2006
88.5k
  return _internal_has_idat();
2007
88.5k
}
2008
0
inline void PngChunk::set_has_idat() {
2009
0
  _impl_._oneof_case_[0] = kIdat;
2010
0
}
2011
0
inline void PngChunk::clear_idat() {
2012
0
  if (_internal_has_idat()) {
2013
0
    if (GetArenaForAllocation() == nullptr) {
2014
0
      delete _impl_.chunk_.idat_;
2015
0
    }
2016
0
    clear_has_chunk();
2017
0
  }
2018
0
}
2019
0
inline ::IDAT* PngChunk::release_idat() {
2020
0
  // @@protoc_insertion_point(field_release:PngChunk.idat)
2021
0
  if (_internal_has_idat()) {
2022
0
    clear_has_chunk();
2023
0
    ::IDAT* temp = _impl_.chunk_.idat_;
2024
0
    if (GetArenaForAllocation() != nullptr) {
2025
0
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2026
0
    }
2027
0
    _impl_.chunk_.idat_ = nullptr;
2028
0
    return temp;
2029
0
  } else {
2030
0
    return nullptr;
2031
0
  }
2032
0
}
2033
5.97k
inline const ::IDAT& PngChunk::_internal_idat() const {
2034
5.97k
  return _internal_has_idat()
2035
5.97k
      ? *_impl_.chunk_.idat_
2036
5.97k
      : reinterpret_cast< ::IDAT&>(::_IDAT_default_instance_);
2037
5.97k
}
2038
5.97k
inline const ::IDAT& PngChunk::idat() const {
2039
  // @@protoc_insertion_point(field_get:PngChunk.idat)
2040
5.97k
  return _internal_idat();
2041
5.97k
}
2042
0
inline ::IDAT* PngChunk::unsafe_arena_release_idat() {
2043
0
  // @@protoc_insertion_point(field_unsafe_arena_release:PngChunk.idat)
2044
0
  if (_internal_has_idat()) {
2045
0
    clear_has_chunk();
2046
0
    ::IDAT* temp = _impl_.chunk_.idat_;
2047
0
    _impl_.chunk_.idat_ = nullptr;
2048
0
    return temp;
2049
0
  } else {
2050
0
    return nullptr;
2051
0
  }
2052
0
}
2053
0
inline void PngChunk::unsafe_arena_set_allocated_idat(::IDAT* idat) {
2054
0
  clear_chunk();
2055
0
  if (idat) {
2056
0
    set_has_idat();
2057
0
    _impl_.chunk_.idat_ = idat;
2058
0
  }
2059
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PngChunk.idat)
2060
0
}
2061
0
inline ::IDAT* PngChunk::_internal_mutable_idat() {
2062
0
  if (!_internal_has_idat()) {
2063
0
    clear_chunk();
2064
0
    set_has_idat();
2065
0
    _impl_.chunk_.idat_ = CreateMaybeMessage< ::IDAT >(GetArenaForAllocation());
2066
0
  }
2067
0
  return _impl_.chunk_.idat_;
2068
0
}
2069
0
inline ::IDAT* PngChunk::mutable_idat() {
2070
0
  ::IDAT* _msg = _internal_mutable_idat();
2071
0
  // @@protoc_insertion_point(field_mutable:PngChunk.idat)
2072
0
  return _msg;
2073
0
}
2074
2075
// .iCCP iccp = 3;
2076
93.4k
inline bool PngChunk::_internal_has_iccp() const {
2077
93.4k
  return chunk_case() == kIccp;
2078
93.4k
}
2079
82.5k
inline bool PngChunk::has_iccp() const {
2080
82.5k
  return _internal_has_iccp();
2081
82.5k
}
2082
0
inline void PngChunk::set_has_iccp() {
2083
0
  _impl_._oneof_case_[0] = kIccp;
2084
0
}
2085
0
inline void PngChunk::clear_iccp() {
2086
0
  if (_internal_has_iccp()) {
2087
0
    if (GetArenaForAllocation() == nullptr) {
2088
0
      delete _impl_.chunk_.iccp_;
2089
0
    }
2090
0
    clear_has_chunk();
2091
0
  }
2092
0
}
2093
0
inline ::iCCP* PngChunk::release_iccp() {
2094
0
  // @@protoc_insertion_point(field_release:PngChunk.iccp)
2095
0
  if (_internal_has_iccp()) {
2096
0
    clear_has_chunk();
2097
0
    ::iCCP* temp = _impl_.chunk_.iccp_;
2098
0
    if (GetArenaForAllocation() != nullptr) {
2099
0
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2100
0
    }
2101
0
    _impl_.chunk_.iccp_ = nullptr;
2102
0
    return temp;
2103
0
  } else {
2104
0
    return nullptr;
2105
0
  }
2106
0
}
2107
10.9k
inline const ::iCCP& PngChunk::_internal_iccp() const {
2108
10.9k
  return _internal_has_iccp()
2109
10.9k
      ? *_impl_.chunk_.iccp_
2110
10.9k
      : reinterpret_cast< ::iCCP&>(::_iCCP_default_instance_);
2111
10.9k
}
2112
10.9k
inline const ::iCCP& PngChunk::iccp() const {
2113
  // @@protoc_insertion_point(field_get:PngChunk.iccp)
2114
10.9k
  return _internal_iccp();
2115
10.9k
}
2116
0
inline ::iCCP* PngChunk::unsafe_arena_release_iccp() {
2117
0
  // @@protoc_insertion_point(field_unsafe_arena_release:PngChunk.iccp)
2118
0
  if (_internal_has_iccp()) {
2119
0
    clear_has_chunk();
2120
0
    ::iCCP* temp = _impl_.chunk_.iccp_;
2121
0
    _impl_.chunk_.iccp_ = nullptr;
2122
0
    return temp;
2123
0
  } else {
2124
0
    return nullptr;
2125
0
  }
2126
0
}
2127
0
inline void PngChunk::unsafe_arena_set_allocated_iccp(::iCCP* iccp) {
2128
0
  clear_chunk();
2129
0
  if (iccp) {
2130
0
    set_has_iccp();
2131
0
    _impl_.chunk_.iccp_ = iccp;
2132
0
  }
2133
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PngChunk.iccp)
2134
0
}
2135
0
inline ::iCCP* PngChunk::_internal_mutable_iccp() {
2136
0
  if (!_internal_has_iccp()) {
2137
0
    clear_chunk();
2138
0
    set_has_iccp();
2139
0
    _impl_.chunk_.iccp_ = CreateMaybeMessage< ::iCCP >(GetArenaForAllocation());
2140
0
  }
2141
0
  return _impl_.chunk_.iccp_;
2142
0
}
2143
0
inline ::iCCP* PngChunk::mutable_iccp() {
2144
0
  ::iCCP* _msg = _internal_mutable_iccp();
2145
0
  // @@protoc_insertion_point(field_mutable:PngChunk.iccp)
2146
0
  return _msg;
2147
0
}
2148
2149
// .OtherChunk other_chunk = 10000;
2150
135k
inline bool PngChunk::_internal_has_other_chunk() const {
2151
135k
  return chunk_case() == kOtherChunk;
2152
135k
}
2153
71.5k
inline bool PngChunk::has_other_chunk() const {
2154
71.5k
  return _internal_has_other_chunk();
2155
71.5k
}
2156
0
inline void PngChunk::set_has_other_chunk() {
2157
0
  _impl_._oneof_case_[0] = kOtherChunk;
2158
0
}
2159
0
inline void PngChunk::clear_other_chunk() {
2160
0
  if (_internal_has_other_chunk()) {
2161
0
    if (GetArenaForAllocation() == nullptr) {
2162
0
      delete _impl_.chunk_.other_chunk_;
2163
0
    }
2164
0
    clear_has_chunk();
2165
0
  }
2166
0
}
2167
0
inline ::OtherChunk* PngChunk::release_other_chunk() {
2168
0
  // @@protoc_insertion_point(field_release:PngChunk.other_chunk)
2169
0
  if (_internal_has_other_chunk()) {
2170
0
    clear_has_chunk();
2171
0
    ::OtherChunk* temp = _impl_.chunk_.other_chunk_;
2172
0
    if (GetArenaForAllocation() != nullptr) {
2173
0
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2174
0
    }
2175
0
    _impl_.chunk_.other_chunk_ = nullptr;
2176
0
    return temp;
2177
0
  } else {
2178
0
    return nullptr;
2179
0
  }
2180
0
}
2181
63.5k
inline const ::OtherChunk& PngChunk::_internal_other_chunk() const {
2182
63.5k
  return _internal_has_other_chunk()
2183
63.5k
      ? *_impl_.chunk_.other_chunk_
2184
63.5k
      : reinterpret_cast< ::OtherChunk&>(::_OtherChunk_default_instance_);
2185
63.5k
}
2186
63.5k
inline const ::OtherChunk& PngChunk::other_chunk() const {
2187
  // @@protoc_insertion_point(field_get:PngChunk.other_chunk)
2188
63.5k
  return _internal_other_chunk();
2189
63.5k
}
2190
0
inline ::OtherChunk* PngChunk::unsafe_arena_release_other_chunk() {
2191
0
  // @@protoc_insertion_point(field_unsafe_arena_release:PngChunk.other_chunk)
2192
0
  if (_internal_has_other_chunk()) {
2193
0
    clear_has_chunk();
2194
0
    ::OtherChunk* temp = _impl_.chunk_.other_chunk_;
2195
0
    _impl_.chunk_.other_chunk_ = nullptr;
2196
0
    return temp;
2197
0
  } else {
2198
0
    return nullptr;
2199
0
  }
2200
0
}
2201
0
inline void PngChunk::unsafe_arena_set_allocated_other_chunk(::OtherChunk* other_chunk) {
2202
0
  clear_chunk();
2203
0
  if (other_chunk) {
2204
0
    set_has_other_chunk();
2205
0
    _impl_.chunk_.other_chunk_ = other_chunk;
2206
0
  }
2207
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PngChunk.other_chunk)
2208
0
}
2209
0
inline ::OtherChunk* PngChunk::_internal_mutable_other_chunk() {
2210
0
  if (!_internal_has_other_chunk()) {
2211
0
    clear_chunk();
2212
0
    set_has_other_chunk();
2213
0
    _impl_.chunk_.other_chunk_ = CreateMaybeMessage< ::OtherChunk >(GetArenaForAllocation());
2214
0
  }
2215
0
  return _impl_.chunk_.other_chunk_;
2216
0
}
2217
0
inline ::OtherChunk* PngChunk::mutable_other_chunk() {
2218
0
  ::OtherChunk* _msg = _internal_mutable_other_chunk();
2219
0
  // @@protoc_insertion_point(field_mutable:PngChunk.other_chunk)
2220
0
  return _msg;
2221
0
}
2222
2223
91.8k
inline bool PngChunk::has_chunk() const {
2224
91.8k
  return chunk_case() != CHUNK_NOT_SET;
2225
91.8k
}
2226
91.8k
inline void PngChunk::clear_has_chunk() {
2227
91.8k
  _impl_._oneof_case_[0] = CHUNK_NOT_SET;
2228
91.8k
}
2229
593k
inline PngChunk::ChunkCase PngChunk::chunk_case() const {
2230
593k
  return PngChunk::ChunkCase(_impl_._oneof_case_[0]);
2231
593k
}
2232
// -------------------------------------------------------------------
2233
2234
// PngProto
2235
2236
// required .IHDR ihdr = 1;
2237
0
inline bool PngProto::_internal_has_ihdr() const {
2238
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2239
0
  PROTOBUF_ASSUME(!value || _impl_.ihdr_ != nullptr);
2240
0
  return value;
2241
0
}
2242
0
inline bool PngProto::has_ihdr() const {
2243
0
  return _internal_has_ihdr();
2244
0
}
2245
0
inline void PngProto::clear_ihdr() {
2246
0
  if (_impl_.ihdr_ != nullptr) _impl_.ihdr_->Clear();
2247
0
  _impl_._has_bits_[0] &= ~0x00000001u;
2248
0
}
2249
17.6k
inline const ::IHDR& PngProto::_internal_ihdr() const {
2250
17.6k
  const ::IHDR* p = _impl_.ihdr_;
2251
17.6k
  return p != nullptr ? *p : reinterpret_cast<const ::IHDR&>(
2252
0
      ::_IHDR_default_instance_);
2253
17.6k
}
2254
17.6k
inline const ::IHDR& PngProto::ihdr() const {
2255
  // @@protoc_insertion_point(field_get:PngProto.ihdr)
2256
17.6k
  return _internal_ihdr();
2257
17.6k
}
2258
inline void PngProto::unsafe_arena_set_allocated_ihdr(
2259
0
    ::IHDR* ihdr) {
2260
0
  if (GetArenaForAllocation() == nullptr) {
2261
0
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ihdr_);
2262
0
  }
2263
0
  _impl_.ihdr_ = ihdr;
2264
0
  if (ihdr) {
2265
0
    _impl_._has_bits_[0] |= 0x00000001u;
2266
0
  } else {
2267
0
    _impl_._has_bits_[0] &= ~0x00000001u;
2268
0
  }
2269
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PngProto.ihdr)
2270
0
}
2271
0
inline ::IHDR* PngProto::release_ihdr() {
2272
0
  _impl_._has_bits_[0] &= ~0x00000001u;
2273
0
  ::IHDR* temp = _impl_.ihdr_;
2274
0
  _impl_.ihdr_ = nullptr;
2275
0
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2276
0
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2277
0
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2278
0
  if (GetArenaForAllocation() == nullptr) { delete old; }
2279
0
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2280
0
  if (GetArenaForAllocation() != nullptr) {
2281
0
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2282
0
  }
2283
0
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2284
0
  return temp;
2285
0
}
2286
0
inline ::IHDR* PngProto::unsafe_arena_release_ihdr() {
2287
0
  // @@protoc_insertion_point(field_release:PngProto.ihdr)
2288
0
  _impl_._has_bits_[0] &= ~0x00000001u;
2289
0
  ::IHDR* temp = _impl_.ihdr_;
2290
0
  _impl_.ihdr_ = nullptr;
2291
0
  return temp;
2292
0
}
2293
0
inline ::IHDR* PngProto::_internal_mutable_ihdr() {
2294
0
  _impl_._has_bits_[0] |= 0x00000001u;
2295
0
  if (_impl_.ihdr_ == nullptr) {
2296
0
    auto* p = CreateMaybeMessage<::IHDR>(GetArenaForAllocation());
2297
0
    _impl_.ihdr_ = p;
2298
0
  }
2299
0
  return _impl_.ihdr_;
2300
0
}
2301
0
inline ::IHDR* PngProto::mutable_ihdr() {
2302
0
  ::IHDR* _msg = _internal_mutable_ihdr();
2303
0
  // @@protoc_insertion_point(field_mutable:PngProto.ihdr)
2304
0
  return _msg;
2305
0
}
2306
0
inline void PngProto::set_allocated_ihdr(::IHDR* ihdr) {
2307
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2308
0
  if (message_arena == nullptr) {
2309
0
    delete _impl_.ihdr_;
2310
0
  }
2311
0
  if (ihdr) {
2312
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2313
0
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ihdr);
2314
0
    if (message_arena != submessage_arena) {
2315
0
      ihdr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2316
0
          message_arena, ihdr, submessage_arena);
2317
0
    }
2318
0
    _impl_._has_bits_[0] |= 0x00000001u;
2319
0
  } else {
2320
0
    _impl_._has_bits_[0] &= ~0x00000001u;
2321
0
  }
2322
0
  _impl_.ihdr_ = ihdr;
2323
0
  // @@protoc_insertion_point(field_set_allocated:PngProto.ihdr)
2324
0
}
2325
2326
// repeated .PngChunk chunks = 2;
2327
17.6k
inline int PngProto::_internal_chunks_size() const {
2328
17.6k
  return _impl_.chunks_.size();
2329
17.6k
}
2330
17.6k
inline int PngProto::chunks_size() const {
2331
17.6k
  return _internal_chunks_size();
2332
17.6k
}
2333
0
inline void PngProto::clear_chunks() {
2334
0
  _impl_.chunks_.Clear();
2335
0
}
2336
0
inline ::PngChunk* PngProto::mutable_chunks(int index) {
2337
0
  // @@protoc_insertion_point(field_mutable:PngProto.chunks)
2338
0
  return _impl_.chunks_.Mutable(index);
2339
0
}
2340
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PngChunk >*
2341
0
PngProto::mutable_chunks() {
2342
0
  // @@protoc_insertion_point(field_mutable_list:PngProto.chunks)
2343
0
  return &_impl_.chunks_;
2344
0
}
2345
91.4k
inline const ::PngChunk& PngProto::_internal_chunks(int index) const {
2346
91.4k
  return _impl_.chunks_.Get(index);
2347
91.4k
}
2348
91.4k
inline const ::PngChunk& PngProto::chunks(int index) const {
2349
  // @@protoc_insertion_point(field_get:PngProto.chunks)
2350
91.4k
  return _internal_chunks(index);
2351
91.4k
}
2352
0
inline ::PngChunk* PngProto::_internal_add_chunks() {
2353
0
  return _impl_.chunks_.Add();
2354
0
}
2355
0
inline ::PngChunk* PngProto::add_chunks() {
2356
0
  ::PngChunk* _add = _internal_add_chunks();
2357
0
  // @@protoc_insertion_point(field_add:PngProto.chunks)
2358
0
  return _add;
2359
0
}
2360
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PngChunk >&
2361
0
PngProto::chunks() const {
2362
0
  // @@protoc_insertion_point(field_list:PngProto.chunks)
2363
0
  return _impl_.chunks_;
2364
0
}
2365
2366
#ifdef __GNUC__
2367
  #pragma GCC diagnostic pop
2368
#endif  // __GNUC__
2369
// -------------------------------------------------------------------
2370
2371
// -------------------------------------------------------------------
2372
2373
// -------------------------------------------------------------------
2374
2375
// -------------------------------------------------------------------
2376
2377
// -------------------------------------------------------------------
2378
2379
// -------------------------------------------------------------------
2380
2381
2382
// @@protoc_insertion_point(namespace_scope)
2383
2384
2385
// @@protoc_insertion_point(global_scope)
2386
2387
#include <google/protobuf/port_undef.inc>
2388
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_png_5ffuzz_5fproto_2eproto