Coverage Report

Created: 2026-03-19 06:22

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/work/boringssl/genfiles/asn1_pdu.pb.h
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// NO CHECKED-IN PROTOBUF GENCODE
3
// source: asn1_pdu.proto
4
// Protobuf C++ Version: 5.29.3
5
6
#ifndef asn1_5fpdu_2eproto_2epb_2eh
7
#define asn1_5fpdu_2eproto_2epb_2eh
8
9
#include <limits>
10
#include <string>
11
#include <type_traits>
12
#include <utility>
13
14
#include "google/protobuf/runtime_version.h"
15
#if PROTOBUF_VERSION != 5029003
16
#error "Protobuf C++ gencode is built with an incompatible version of"
17
#error "Protobuf C++ headers/runtime. See"
18
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19
#endif
20
#include "google/protobuf/io/coded_stream.h"
21
#include "google/protobuf/arena.h"
22
#include "google/protobuf/arenastring.h"
23
#include "google/protobuf/generated_message_tctable_decl.h"
24
#include "google/protobuf/generated_message_util.h"
25
#include "google/protobuf/metadata_lite.h"
26
#include "google/protobuf/generated_message_reflection.h"
27
#include "google/protobuf/message.h"
28
#include "google/protobuf/message_lite.h"
29
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
30
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
31
#include "google/protobuf/generated_enum_reflection.h"
32
#include "google/protobuf/unknown_field_set.h"
33
// @@protoc_insertion_point(includes)
34
35
// Must be included last.
36
#include "google/protobuf/port_def.inc"
37
38
#define PROTOBUF_INTERNAL_EXPORT_asn1_5fpdu_2eproto
39
40
namespace google {
41
namespace protobuf {
42
namespace internal {
43
template <typename T>
44
::absl::string_view GetAnyMessageName();
45
}  // namespace internal
46
}  // namespace protobuf
47
}  // namespace google
48
49
// Internal implementation detail -- do not use these members.
50
struct TableStruct_asn1_5fpdu_2eproto {
51
  static const ::uint32_t offsets[];
52
};
53
extern const ::google::protobuf::internal::DescriptorTable
54
    descriptor_table_asn1_5fpdu_2eproto;
55
namespace asn1_pdu {
56
class Identifier;
57
struct IdentifierDefaultTypeInternal;
58
extern IdentifierDefaultTypeInternal _Identifier_default_instance_;
59
class Length;
60
struct LengthDefaultTypeInternal;
61
extern LengthDefaultTypeInternal _Length_default_instance_;
62
class PDU;
63
struct PDUDefaultTypeInternal;
64
extern PDUDefaultTypeInternal _PDU_default_instance_;
65
class TagNumber;
66
struct TagNumberDefaultTypeInternal;
67
extern TagNumberDefaultTypeInternal _TagNumber_default_instance_;
68
class Value;
69
struct ValueDefaultTypeInternal;
70
extern ValueDefaultTypeInternal _Value_default_instance_;
71
class ValueElement;
72
struct ValueElementDefaultTypeInternal;
73
extern ValueElementDefaultTypeInternal _ValueElement_default_instance_;
74
}  // namespace asn1_pdu
75
namespace google {
76
namespace protobuf {
77
}  // namespace protobuf
78
}  // namespace google
79
80
namespace asn1_pdu {
81
enum LowTagNumber : int {
82
  VAL0 = 0,
83
  VAL1 = 1,
84
  VAL2 = 2,
85
  VAL3 = 3,
86
  VAL4 = 4,
87
  VAL5 = 5,
88
  VAL6 = 6,
89
  VAL7 = 7,
90
  VAL8 = 8,
91
  VAL9 = 9,
92
  VAL10 = 10,
93
  VAL11 = 11,
94
  VAL12 = 12,
95
  VAL13 = 13,
96
  VAL14 = 14,
97
  VAL15 = 15,
98
  VAL16 = 16,
99
  VAL17 = 17,
100
  VAL18 = 18,
101
  VAL19 = 19,
102
  VAL20 = 20,
103
  VAL21 = 21,
104
  VAL22 = 22,
105
  VAL23 = 23,
106
  VAL24 = 24,
107
  VAL25 = 25,
108
  VAL26 = 26,
109
  VAL27 = 27,
110
  VAL28 = 28,
111
  VAL29 = 29,
112
  VAL30 = 30,
113
};
114
115
bool LowTagNumber_IsValid(int value);
116
extern const uint32_t LowTagNumber_internal_data_[];
117
constexpr LowTagNumber LowTagNumber_MIN = static_cast<LowTagNumber>(0);
118
constexpr LowTagNumber LowTagNumber_MAX = static_cast<LowTagNumber>(30);
119
constexpr int LowTagNumber_ARRAYSIZE = 30 + 1;
120
const ::google::protobuf::EnumDescriptor*
121
LowTagNumber_descriptor();
122
template <typename T>
123
const std::string& LowTagNumber_Name(T value) {
124
  static_assert(std::is_same<T, LowTagNumber>::value ||
125
                    std::is_integral<T>::value,
126
                "Incorrect type passed to LowTagNumber_Name().");
127
  return LowTagNumber_Name(static_cast<LowTagNumber>(value));
128
}
129
template <>
130
0
inline const std::string& LowTagNumber_Name(LowTagNumber value) {
131
0
  return ::google::protobuf::internal::NameOfDenseEnum<LowTagNumber_descriptor,
132
0
                                                 0, 30>(
133
0
      static_cast<int>(value));
134
0
}
135
0
inline bool LowTagNumber_Parse(absl::string_view name, LowTagNumber* value) {
136
0
  return ::google::protobuf::internal::ParseNamedEnum<LowTagNumber>(
137
0
      LowTagNumber_descriptor(), name, value);
138
0
}
139
enum Class : int {
140
  Universal = 0,
141
  Application = 1,
142
  ContextSpecific = 2,
143
  Private = 3,
144
};
145
146
bool Class_IsValid(int value);
147
extern const uint32_t Class_internal_data_[];
148
constexpr Class Class_MIN = static_cast<Class>(0);
149
constexpr Class Class_MAX = static_cast<Class>(3);
150
constexpr int Class_ARRAYSIZE = 3 + 1;
151
const ::google::protobuf::EnumDescriptor*
152
Class_descriptor();
153
template <typename T>
154
const std::string& Class_Name(T value) {
155
  static_assert(std::is_same<T, Class>::value ||
156
                    std::is_integral<T>::value,
157
                "Incorrect type passed to Class_Name().");
158
  return Class_Name(static_cast<Class>(value));
159
}
160
template <>
161
0
inline const std::string& Class_Name(Class value) {
162
0
  return ::google::protobuf::internal::NameOfDenseEnum<Class_descriptor,
163
0
                                                 0, 3>(
164
0
      static_cast<int>(value));
165
0
}
166
0
inline bool Class_Parse(absl::string_view name, Class* value) {
167
0
  return ::google::protobuf::internal::ParseNamedEnum<Class>(
168
0
      Class_descriptor(), name, value);
169
0
}
170
enum Encoding : int {
171
  Primitive = 0,
172
  Constructed = 1,
173
};
174
175
bool Encoding_IsValid(int value);
176
extern const uint32_t Encoding_internal_data_[];
177
constexpr Encoding Encoding_MIN = static_cast<Encoding>(0);
178
constexpr Encoding Encoding_MAX = static_cast<Encoding>(1);
179
constexpr int Encoding_ARRAYSIZE = 1 + 1;
180
const ::google::protobuf::EnumDescriptor*
181
Encoding_descriptor();
182
template <typename T>
183
const std::string& Encoding_Name(T value) {
184
  static_assert(std::is_same<T, Encoding>::value ||
185
                    std::is_integral<T>::value,
186
                "Incorrect type passed to Encoding_Name().");
187
  return Encoding_Name(static_cast<Encoding>(value));
188
}
189
template <>
190
0
inline const std::string& Encoding_Name(Encoding value) {
191
0
  return ::google::protobuf::internal::NameOfDenseEnum<Encoding_descriptor,
192
0
                                                 0, 1>(
193
0
      static_cast<int>(value));
194
0
}
195
0
inline bool Encoding_Parse(absl::string_view name, Encoding* value) {
196
0
  return ::google::protobuf::internal::ParseNamedEnum<Encoding>(
197
0
      Encoding_descriptor(), name, value);
198
0
}
199
200
// ===================================================================
201
202
203
// -------------------------------------------------------------------
204
205
class TagNumber final : public ::google::protobuf::Message
206
/* @@protoc_insertion_point(class_definition:asn1_pdu.TagNumber) */ {
207
 public:
208
0
  inline TagNumber() : TagNumber(nullptr) {}
209
  ~TagNumber() PROTOBUF_FINAL;
210
211
#if defined(PROTOBUF_CUSTOM_VTABLE)
212
  void operator delete(TagNumber* msg, std::destroying_delete_t) {
213
    SharedDtor(*msg);
214
    ::google::protobuf::internal::SizedDelete(msg, sizeof(TagNumber));
215
  }
216
#endif
217
218
  template <typename = void>
219
  explicit PROTOBUF_CONSTEXPR TagNumber(
220
      ::google::protobuf::internal::ConstantInitialized);
221
222
0
  inline TagNumber(const TagNumber& from) : TagNumber(nullptr, from) {}
223
  inline TagNumber(TagNumber&& from) noexcept
224
0
      : TagNumber(nullptr, std::move(from)) {}
225
0
  inline TagNumber& operator=(const TagNumber& from) {
226
0
    CopyFrom(from);
227
0
    return *this;
228
0
  }
229
0
  inline TagNumber& operator=(TagNumber&& from) noexcept {
230
0
    if (this == &from) return *this;
231
0
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
232
0
      InternalSwap(&from);
233
0
    } else {
234
0
      CopyFrom(from);
235
0
    }
236
0
    return *this;
237
0
  }
238
239
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
240
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
241
0
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
242
0
  }
243
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
244
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
245
0
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
246
0
  }
247
248
0
  static const ::google::protobuf::Descriptor* descriptor() {
249
0
    return GetDescriptor();
250
0
  }
251
0
  static const ::google::protobuf::Descriptor* GetDescriptor() {
252
0
    return default_instance().GetMetadata().descriptor;
253
0
  }
254
0
  static const ::google::protobuf::Reflection* GetReflection() {
255
0
    return default_instance().GetMetadata().reflection;
256
0
  }
257
0
  static const TagNumber& default_instance() {
258
0
    return *internal_default_instance();
259
0
  }
260
0
  static inline const TagNumber* internal_default_instance() {
261
0
    return reinterpret_cast<const TagNumber*>(
262
0
        &_TagNumber_default_instance_);
263
0
  }
264
  static constexpr int kIndexInFileMessages = 2;
265
0
  friend void swap(TagNumber& a, TagNumber& b) { a.Swap(&b); }
266
0
  inline void Swap(TagNumber* other) {
267
0
    if (other == this) return;
268
0
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
269
0
      InternalSwap(other);
270
0
    } else {
271
0
      ::google::protobuf::internal::GenericSwap(this, other);
272
0
    }
273
0
  }
274
0
  void UnsafeArenaSwap(TagNumber* other) {
275
0
    if (other == this) return;
276
0
    ABSL_DCHECK(GetArena() == other->GetArena());
277
0
    InternalSwap(other);
278
0
  }
279
280
  // implements Message ----------------------------------------------
281
282
0
  TagNumber* New(::google::protobuf::Arena* arena = nullptr) const {
283
0
    return ::google::protobuf::Message::DefaultConstruct<TagNumber>(arena);
284
0
  }
285
  using ::google::protobuf::Message::CopyFrom;
286
  void CopyFrom(const TagNumber& from);
287
  using ::google::protobuf::Message::MergeFrom;
288
0
  void MergeFrom(const TagNumber& from) { TagNumber::MergeImpl(*this, from); }
289
290
  private:
291
  static void MergeImpl(
292
      ::google::protobuf::MessageLite& to_msg,
293
      const ::google::protobuf::MessageLite& from_msg);
294
295
  public:
296
0
  bool IsInitialized() const {
297
0
    return IsInitializedImpl(*this);
298
0
  }
299
300
  private:
301
  static bool IsInitializedImpl(const MessageLite& msg);
302
303
  public:
304
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
305
  #if defined(PROTOBUF_CUSTOM_VTABLE)
306
  private:
307
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
308
  static ::uint8_t* _InternalSerialize(
309
      const MessageLite& msg, ::uint8_t* target,
310
      ::google::protobuf::io::EpsCopyOutputStream* stream);
311
312
  public:
313
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
314
  ::uint8_t* _InternalSerialize(
315
      ::uint8_t* target,
316
      ::google::protobuf::io::EpsCopyOutputStream* stream) const {
317
    return _InternalSerialize(*this, target, stream);
318
  }
319
  #else   // PROTOBUF_CUSTOM_VTABLE
320
  ::size_t ByteSizeLong() const final;
321
  ::uint8_t* _InternalSerialize(
322
      ::uint8_t* target,
323
      ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
324
  #endif  // PROTOBUF_CUSTOM_VTABLE
325
0
  int GetCachedSize() const { return _impl_._cached_size_.Get(); }
326
327
  private:
328
  void SharedCtor(::google::protobuf::Arena* arena);
329
  static void SharedDtor(MessageLite& self);
330
  void InternalSwap(TagNumber* other);
331
 private:
332
  template <typename T>
333
  friend ::absl::string_view(
334
      ::google::protobuf::internal::GetAnyMessageName)();
335
0
  static ::absl::string_view FullMessageName() { return "asn1_pdu.TagNumber"; }
336
337
 protected:
338
  explicit TagNumber(::google::protobuf::Arena* arena);
339
  TagNumber(::google::protobuf::Arena* arena, const TagNumber& from);
340
  TagNumber(::google::protobuf::Arena* arena, TagNumber&& from) noexcept
341
0
      : TagNumber(arena) {
342
0
    *this = ::std::move(from);
343
0
  }
344
  const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
345
  static void* PlacementNew_(const void*, void* mem,
346
                             ::google::protobuf::Arena* arena);
347
  static constexpr auto InternalNewImpl_();
348
  static const ::google::protobuf::internal::ClassDataFull _class_data_;
349
350
 public:
351
  ::google::protobuf::Metadata GetMetadata() const;
352
  // nested types ----------------------------------------------------
353
354
  // accessors -------------------------------------------------------
355
  enum : int {
356
    kHighTagNumFieldNumber = 1,
357
    kLowTagNumFieldNumber = 2,
358
  };
359
  // optional uint32 high_tag_num = 1;
360
  bool has_high_tag_num() const;
361
  void clear_high_tag_num() ;
362
  ::uint32_t high_tag_num() const;
363
  void set_high_tag_num(::uint32_t value);
364
365
  private:
366
  ::uint32_t _internal_high_tag_num() const;
367
  void _internal_set_high_tag_num(::uint32_t value);
368
369
  public:
370
  // required .asn1_pdu.LowTagNumber low_tag_num = 2;
371
  bool has_low_tag_num() const;
372
  void clear_low_tag_num() ;
373
  ::asn1_pdu::LowTagNumber low_tag_num() const;
374
  void set_low_tag_num(::asn1_pdu::LowTagNumber value);
375
376
  private:
377
  ::asn1_pdu::LowTagNumber _internal_low_tag_num() const;
378
  void _internal_set_low_tag_num(::asn1_pdu::LowTagNumber value);
379
380
  public:
381
  // @@protoc_insertion_point(class_scope:asn1_pdu.TagNumber)
382
 private:
383
  class _Internal;
384
  friend class ::google::protobuf::internal::TcParser;
385
  static const ::google::protobuf::internal::TcParseTable<
386
      1, 2, 1,
387
      0, 2>
388
      _table_;
389
390
  friend class ::google::protobuf::MessageLite;
391
  friend class ::google::protobuf::Arena;
392
  template <typename T>
393
  friend class ::google::protobuf::Arena::InternalHelper;
394
  using InternalArenaConstructable_ = void;
395
  using DestructorSkippable_ = void;
396
  struct Impl_ {
397
    inline explicit constexpr Impl_(
398
        ::google::protobuf::internal::ConstantInitialized) noexcept;
399
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
400
                          ::google::protobuf::Arena* arena);
401
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
402
                          ::google::protobuf::Arena* arena, const Impl_& from,
403
                          const TagNumber& from_msg);
404
    ::google::protobuf::internal::HasBits<1> _has_bits_;
405
    ::google::protobuf::internal::CachedSize _cached_size_;
406
    ::uint32_t high_tag_num_;
407
    int low_tag_num_;
408
    PROTOBUF_TSAN_DECLARE_MEMBER
409
  };
410
  union { Impl_ _impl_; };
411
  friend struct ::TableStruct_asn1_5fpdu_2eproto;
412
};
413
// -------------------------------------------------------------------
414
415
class Length final : public ::google::protobuf::Message
416
/* @@protoc_insertion_point(class_definition:asn1_pdu.Length) */ {
417
 public:
418
0
  inline Length() : Length(nullptr) {}
419
  ~Length() PROTOBUF_FINAL;
420
421
#if defined(PROTOBUF_CUSTOM_VTABLE)
422
  void operator delete(Length* msg, std::destroying_delete_t) {
423
    SharedDtor(*msg);
424
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Length));
425
  }
426
#endif
427
428
  template <typename = void>
429
  explicit PROTOBUF_CONSTEXPR Length(
430
      ::google::protobuf::internal::ConstantInitialized);
431
432
0
  inline Length(const Length& from) : Length(nullptr, from) {}
433
  inline Length(Length&& from) noexcept
434
0
      : Length(nullptr, std::move(from)) {}
435
0
  inline Length& operator=(const Length& from) {
436
0
    CopyFrom(from);
437
0
    return *this;
438
0
  }
439
0
  inline Length& operator=(Length&& from) noexcept {
440
0
    if (this == &from) return *this;
441
0
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
442
0
      InternalSwap(&from);
443
0
    } else {
444
0
      CopyFrom(from);
445
0
    }
446
0
    return *this;
447
0
  }
448
449
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
450
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
451
0
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
452
0
  }
453
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
454
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
455
0
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
456
0
  }
457
458
0
  static const ::google::protobuf::Descriptor* descriptor() {
459
0
    return GetDescriptor();
460
0
  }
461
0
  static const ::google::protobuf::Descriptor* GetDescriptor() {
462
0
    return default_instance().GetMetadata().descriptor;
463
0
  }
464
0
  static const ::google::protobuf::Reflection* GetReflection() {
465
0
    return default_instance().GetMetadata().reflection;
466
0
  }
467
0
  static const Length& default_instance() {
468
0
    return *internal_default_instance();
469
0
  }
470
  enum TypesCase {
471
    kIndefiniteForm = 1,
472
    kLengthOverride = 2,
473
    TYPES_NOT_SET = 0,
474
  };
475
0
  static inline const Length* internal_default_instance() {
476
0
    return reinterpret_cast<const Length*>(
477
0
        &_Length_default_instance_);
478
0
  }
479
  static constexpr int kIndexInFileMessages = 3;
480
0
  friend void swap(Length& a, Length& b) { a.Swap(&b); }
481
0
  inline void Swap(Length* other) {
482
0
    if (other == this) return;
483
0
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
484
0
      InternalSwap(other);
485
0
    } else {
486
0
      ::google::protobuf::internal::GenericSwap(this, other);
487
0
    }
488
0
  }
489
0
  void UnsafeArenaSwap(Length* other) {
490
0
    if (other == this) return;
491
0
    ABSL_DCHECK(GetArena() == other->GetArena());
492
0
    InternalSwap(other);
493
0
  }
494
495
  // implements Message ----------------------------------------------
496
497
0
  Length* New(::google::protobuf::Arena* arena = nullptr) const {
498
0
    return ::google::protobuf::Message::DefaultConstruct<Length>(arena);
499
0
  }
500
  using ::google::protobuf::Message::CopyFrom;
501
  void CopyFrom(const Length& from);
502
  using ::google::protobuf::Message::MergeFrom;
503
0
  void MergeFrom(const Length& from) { Length::MergeImpl(*this, from); }
504
505
  private:
506
  static void MergeImpl(
507
      ::google::protobuf::MessageLite& to_msg,
508
      const ::google::protobuf::MessageLite& from_msg);
509
510
  public:
511
0
  bool IsInitialized() const {
512
0
    return true;
513
0
  }
514
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
515
  #if defined(PROTOBUF_CUSTOM_VTABLE)
516
  private:
517
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
518
  static ::uint8_t* _InternalSerialize(
519
      const MessageLite& msg, ::uint8_t* target,
520
      ::google::protobuf::io::EpsCopyOutputStream* stream);
521
522
  public:
523
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
524
  ::uint8_t* _InternalSerialize(
525
      ::uint8_t* target,
526
      ::google::protobuf::io::EpsCopyOutputStream* stream) const {
527
    return _InternalSerialize(*this, target, stream);
528
  }
529
  #else   // PROTOBUF_CUSTOM_VTABLE
530
  ::size_t ByteSizeLong() const final;
531
  ::uint8_t* _InternalSerialize(
532
      ::uint8_t* target,
533
      ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
534
  #endif  // PROTOBUF_CUSTOM_VTABLE
535
0
  int GetCachedSize() const { return _impl_._cached_size_.Get(); }
536
537
  private:
538
  void SharedCtor(::google::protobuf::Arena* arena);
539
  static void SharedDtor(MessageLite& self);
540
  void InternalSwap(Length* other);
541
 private:
542
  template <typename T>
543
  friend ::absl::string_view(
544
      ::google::protobuf::internal::GetAnyMessageName)();
545
0
  static ::absl::string_view FullMessageName() { return "asn1_pdu.Length"; }
546
547
 protected:
548
  explicit Length(::google::protobuf::Arena* arena);
549
  Length(::google::protobuf::Arena* arena, const Length& from);
550
  Length(::google::protobuf::Arena* arena, Length&& from) noexcept
551
0
      : Length(arena) {
552
0
    *this = ::std::move(from);
553
0
  }
554
  const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
555
  static void* PlacementNew_(const void*, void* mem,
556
                             ::google::protobuf::Arena* arena);
557
  static constexpr auto InternalNewImpl_();
558
  static const ::google::protobuf::internal::ClassDataFull _class_data_;
559
560
 public:
561
  ::google::protobuf::Metadata GetMetadata() const;
562
  // nested types ----------------------------------------------------
563
564
  // accessors -------------------------------------------------------
565
  enum : int {
566
    kIndefiniteFormFieldNumber = 1,
567
    kLengthOverrideFieldNumber = 2,
568
  };
569
  // bool indefinite_form = 1;
570
  bool has_indefinite_form() const;
571
  void clear_indefinite_form() ;
572
  bool indefinite_form() const;
573
  void set_indefinite_form(bool value);
574
575
  private:
576
  bool _internal_indefinite_form() const;
577
  void _internal_set_indefinite_form(bool value);
578
579
  public:
580
  // bytes length_override = 2;
581
  bool has_length_override() const;
582
  void clear_length_override() ;
583
  const std::string& length_override() const;
584
  template <typename Arg_ = const std::string&, typename... Args_>
585
  void set_length_override(Arg_&& arg, Args_... args);
586
  std::string* mutable_length_override();
587
  PROTOBUF_NODISCARD std::string* release_length_override();
588
  void set_allocated_length_override(std::string* value);
589
590
  private:
591
  const std::string& _internal_length_override() const;
592
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_length_override(
593
      const std::string& value);
594
  std::string* _internal_mutable_length_override();
595
596
  public:
597
  void clear_types();
598
  TypesCase types_case() const;
599
  // @@protoc_insertion_point(class_scope:asn1_pdu.Length)
600
 private:
601
  class _Internal;
602
  void set_has_indefinite_form();
603
  void set_has_length_override();
604
  inline bool has_types() const;
605
  inline void clear_has_types();
606
  friend class ::google::protobuf::internal::TcParser;
607
  static const ::google::protobuf::internal::TcParseTable<
608
      0, 2, 0,
609
      0, 2>
610
      _table_;
611
612
  friend class ::google::protobuf::MessageLite;
613
  friend class ::google::protobuf::Arena;
614
  template <typename T>
615
  friend class ::google::protobuf::Arena::InternalHelper;
616
  using InternalArenaConstructable_ = void;
617
  using DestructorSkippable_ = void;
618
  struct Impl_ {
619
    inline explicit constexpr Impl_(
620
        ::google::protobuf::internal::ConstantInitialized) noexcept;
621
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
622
                          ::google::protobuf::Arena* arena);
623
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
624
                          ::google::protobuf::Arena* arena, const Impl_& from,
625
                          const Length& from_msg);
626
    union TypesUnion {
627
0
      constexpr TypesUnion() : _constinit_{} {}
628
      ::google::protobuf::internal::ConstantInitialized _constinit_;
629
      bool indefinite_form_;
630
      ::google::protobuf::internal::ArenaStringPtr length_override_;
631
    } types_;
632
    ::google::protobuf::internal::CachedSize _cached_size_;
633
    ::uint32_t _oneof_case_[1];
634
    PROTOBUF_TSAN_DECLARE_MEMBER
635
  };
636
  union { Impl_ _impl_; };
637
  friend struct ::TableStruct_asn1_5fpdu_2eproto;
638
};
639
// -------------------------------------------------------------------
640
641
class Identifier final : public ::google::protobuf::Message
642
/* @@protoc_insertion_point(class_definition:asn1_pdu.Identifier) */ {
643
 public:
644
0
  inline Identifier() : Identifier(nullptr) {}
645
  ~Identifier() PROTOBUF_FINAL;
646
647
#if defined(PROTOBUF_CUSTOM_VTABLE)
648
  void operator delete(Identifier* msg, std::destroying_delete_t) {
649
    SharedDtor(*msg);
650
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Identifier));
651
  }
652
#endif
653
654
  template <typename = void>
655
  explicit PROTOBUF_CONSTEXPR Identifier(
656
      ::google::protobuf::internal::ConstantInitialized);
657
658
0
  inline Identifier(const Identifier& from) : Identifier(nullptr, from) {}
659
  inline Identifier(Identifier&& from) noexcept
660
0
      : Identifier(nullptr, std::move(from)) {}
661
0
  inline Identifier& operator=(const Identifier& from) {
662
0
    CopyFrom(from);
663
0
    return *this;
664
0
  }
665
0
  inline Identifier& operator=(Identifier&& from) noexcept {
666
0
    if (this == &from) return *this;
667
0
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
668
0
      InternalSwap(&from);
669
0
    } else {
670
0
      CopyFrom(from);
671
0
    }
672
0
    return *this;
673
0
  }
674
675
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
676
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
677
0
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
678
0
  }
679
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
680
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
681
0
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
682
0
  }
683
684
0
  static const ::google::protobuf::Descriptor* descriptor() {
685
0
    return GetDescriptor();
686
0
  }
687
0
  static const ::google::protobuf::Descriptor* GetDescriptor() {
688
0
    return default_instance().GetMetadata().descriptor;
689
0
  }
690
0
  static const ::google::protobuf::Reflection* GetReflection() {
691
0
    return default_instance().GetMetadata().reflection;
692
0
  }
693
0
  static const Identifier& default_instance() {
694
0
    return *internal_default_instance();
695
0
  }
696
0
  static inline const Identifier* internal_default_instance() {
697
0
    return reinterpret_cast<const Identifier*>(
698
0
        &_Identifier_default_instance_);
699
0
  }
700
  static constexpr int kIndexInFileMessages = 1;
701
0
  friend void swap(Identifier& a, Identifier& b) { a.Swap(&b); }
702
0
  inline void Swap(Identifier* other) {
703
0
    if (other == this) return;
704
0
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
705
0
      InternalSwap(other);
706
0
    } else {
707
0
      ::google::protobuf::internal::GenericSwap(this, other);
708
0
    }
709
0
  }
710
0
  void UnsafeArenaSwap(Identifier* other) {
711
0
    if (other == this) return;
712
0
    ABSL_DCHECK(GetArena() == other->GetArena());
713
0
    InternalSwap(other);
714
0
  }
715
716
  // implements Message ----------------------------------------------
717
718
0
  Identifier* New(::google::protobuf::Arena* arena = nullptr) const {
719
0
    return ::google::protobuf::Message::DefaultConstruct<Identifier>(arena);
720
0
  }
721
  using ::google::protobuf::Message::CopyFrom;
722
  void CopyFrom(const Identifier& from);
723
  using ::google::protobuf::Message::MergeFrom;
724
0
  void MergeFrom(const Identifier& from) { Identifier::MergeImpl(*this, from); }
725
726
  private:
727
  static void MergeImpl(
728
      ::google::protobuf::MessageLite& to_msg,
729
      const ::google::protobuf::MessageLite& from_msg);
730
731
  public:
732
0
  bool IsInitialized() const {
733
0
    return IsInitializedImpl(*this);
734
0
  }
735
736
  private:
737
  static bool IsInitializedImpl(const MessageLite& msg);
738
739
  public:
740
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
741
  #if defined(PROTOBUF_CUSTOM_VTABLE)
742
  private:
743
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
744
  static ::uint8_t* _InternalSerialize(
745
      const MessageLite& msg, ::uint8_t* target,
746
      ::google::protobuf::io::EpsCopyOutputStream* stream);
747
748
  public:
749
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
750
  ::uint8_t* _InternalSerialize(
751
      ::uint8_t* target,
752
      ::google::protobuf::io::EpsCopyOutputStream* stream) const {
753
    return _InternalSerialize(*this, target, stream);
754
  }
755
  #else   // PROTOBUF_CUSTOM_VTABLE
756
  ::size_t ByteSizeLong() const final;
757
  ::uint8_t* _InternalSerialize(
758
      ::uint8_t* target,
759
      ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
760
  #endif  // PROTOBUF_CUSTOM_VTABLE
761
0
  int GetCachedSize() const { return _impl_._cached_size_.Get(); }
762
763
  private:
764
  void SharedCtor(::google::protobuf::Arena* arena);
765
  static void SharedDtor(MessageLite& self);
766
  void InternalSwap(Identifier* other);
767
 private:
768
  template <typename T>
769
  friend ::absl::string_view(
770
      ::google::protobuf::internal::GetAnyMessageName)();
771
0
  static ::absl::string_view FullMessageName() { return "asn1_pdu.Identifier"; }
772
773
 protected:
774
  explicit Identifier(::google::protobuf::Arena* arena);
775
  Identifier(::google::protobuf::Arena* arena, const Identifier& from);
776
  Identifier(::google::protobuf::Arena* arena, Identifier&& from) noexcept
777
0
      : Identifier(arena) {
778
0
    *this = ::std::move(from);
779
0
  }
780
  const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
781
  static void* PlacementNew_(const void*, void* mem,
782
                             ::google::protobuf::Arena* arena);
783
  static constexpr auto InternalNewImpl_();
784
  static const ::google::protobuf::internal::ClassDataFull _class_data_;
785
786
 public:
787
  ::google::protobuf::Metadata GetMetadata() const;
788
  // nested types ----------------------------------------------------
789
790
  // accessors -------------------------------------------------------
791
  enum : int {
792
    kTagNumFieldNumber = 3,
793
    kEncodingFieldNumber = 1,
794
    kIdClassFieldNumber = 2,
795
  };
796
  // required .asn1_pdu.TagNumber tag_num = 3;
797
  bool has_tag_num() const;
798
  void clear_tag_num() ;
799
  const ::asn1_pdu::TagNumber& tag_num() const;
800
  PROTOBUF_NODISCARD ::asn1_pdu::TagNumber* release_tag_num();
801
  ::asn1_pdu::TagNumber* mutable_tag_num();
802
  void set_allocated_tag_num(::asn1_pdu::TagNumber* value);
803
  void unsafe_arena_set_allocated_tag_num(::asn1_pdu::TagNumber* value);
804
  ::asn1_pdu::TagNumber* unsafe_arena_release_tag_num();
805
806
  private:
807
  const ::asn1_pdu::TagNumber& _internal_tag_num() const;
808
  ::asn1_pdu::TagNumber* _internal_mutable_tag_num();
809
810
  public:
811
  // required .asn1_pdu.Encoding encoding = 1;
812
  bool has_encoding() const;
813
  void clear_encoding() ;
814
  ::asn1_pdu::Encoding encoding() const;
815
  void set_encoding(::asn1_pdu::Encoding value);
816
817
  private:
818
  ::asn1_pdu::Encoding _internal_encoding() const;
819
  void _internal_set_encoding(::asn1_pdu::Encoding value);
820
821
  public:
822
  // required .asn1_pdu.Class id_class = 2;
823
  bool has_id_class() const;
824
  void clear_id_class() ;
825
  ::asn1_pdu::Class id_class() const;
826
  void set_id_class(::asn1_pdu::Class value);
827
828
  private:
829
  ::asn1_pdu::Class _internal_id_class() const;
830
  void _internal_set_id_class(::asn1_pdu::Class value);
831
832
  public:
833
  // @@protoc_insertion_point(class_scope:asn1_pdu.Identifier)
834
 private:
835
  class _Internal;
836
  friend class ::google::protobuf::internal::TcParser;
837
  static const ::google::protobuf::internal::TcParseTable<
838
      2, 3, 3,
839
      0, 2>
840
      _table_;
841
842
  friend class ::google::protobuf::MessageLite;
843
  friend class ::google::protobuf::Arena;
844
  template <typename T>
845
  friend class ::google::protobuf::Arena::InternalHelper;
846
  using InternalArenaConstructable_ = void;
847
  using DestructorSkippable_ = void;
848
  struct Impl_ {
849
    inline explicit constexpr Impl_(
850
        ::google::protobuf::internal::ConstantInitialized) noexcept;
851
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
852
                          ::google::protobuf::Arena* arena);
853
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
854
                          ::google::protobuf::Arena* arena, const Impl_& from,
855
                          const Identifier& from_msg);
856
    ::google::protobuf::internal::HasBits<1> _has_bits_;
857
    ::google::protobuf::internal::CachedSize _cached_size_;
858
    ::asn1_pdu::TagNumber* tag_num_;
859
    int encoding_;
860
    int id_class_;
861
    PROTOBUF_TSAN_DECLARE_MEMBER
862
  };
863
  union { Impl_ _impl_; };
864
  friend struct ::TableStruct_asn1_5fpdu_2eproto;
865
};
866
// -------------------------------------------------------------------
867
868
class PDU final : public ::google::protobuf::Message
869
/* @@protoc_insertion_point(class_definition:asn1_pdu.PDU) */ {
870
 public:
871
13.0k
  inline PDU() : PDU(nullptr) {}
872
  ~PDU() PROTOBUF_FINAL;
873
874
#if defined(PROTOBUF_CUSTOM_VTABLE)
875
  void operator delete(PDU* msg, std::destroying_delete_t) {
876
    SharedDtor(*msg);
877
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PDU));
878
  }
879
#endif
880
881
  template <typename = void>
882
  explicit PROTOBUF_CONSTEXPR PDU(
883
      ::google::protobuf::internal::ConstantInitialized);
884
885
0
  inline PDU(const PDU& from) : PDU(nullptr, from) {}
886
  inline PDU(PDU&& from) noexcept
887
0
      : PDU(nullptr, std::move(from)) {}
888
0
  inline PDU& operator=(const PDU& from) {
889
0
    CopyFrom(from);
890
0
    return *this;
891
0
  }
892
0
  inline PDU& operator=(PDU&& from) noexcept {
893
0
    if (this == &from) return *this;
894
0
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
895
0
      InternalSwap(&from);
896
0
    } else {
897
0
      CopyFrom(from);
898
0
    }
899
0
    return *this;
900
0
  }
901
902
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
903
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
904
0
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
905
0
  }
906
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
907
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
908
0
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
909
0
  }
910
911
0
  static const ::google::protobuf::Descriptor* descriptor() {
912
0
    return GetDescriptor();
913
0
  }
914
0
  static const ::google::protobuf::Descriptor* GetDescriptor() {
915
0
    return default_instance().GetMetadata().descriptor;
916
0
  }
917
0
  static const ::google::protobuf::Reflection* GetReflection() {
918
0
    return default_instance().GetMetadata().reflection;
919
0
  }
920
0
  static const PDU& default_instance() {
921
0
    return *internal_default_instance();
922
0
  }
923
0
  static inline const PDU* internal_default_instance() {
924
0
    return reinterpret_cast<const PDU*>(
925
0
        &_PDU_default_instance_);
926
0
  }
927
  static constexpr int kIndexInFileMessages = 0;
928
0
  friend void swap(PDU& a, PDU& b) { a.Swap(&b); }
929
0
  inline void Swap(PDU* other) {
930
0
    if (other == this) return;
931
0
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
932
0
      InternalSwap(other);
933
0
    } else {
934
0
      ::google::protobuf::internal::GenericSwap(this, other);
935
0
    }
936
0
  }
937
0
  void UnsafeArenaSwap(PDU* other) {
938
0
    if (other == this) return;
939
0
    ABSL_DCHECK(GetArena() == other->GetArena());
940
0
    InternalSwap(other);
941
0
  }
942
943
  // implements Message ----------------------------------------------
944
945
0
  PDU* New(::google::protobuf::Arena* arena = nullptr) const {
946
0
    return ::google::protobuf::Message::DefaultConstruct<PDU>(arena);
947
0
  }
948
  using ::google::protobuf::Message::CopyFrom;
949
  void CopyFrom(const PDU& from);
950
  using ::google::protobuf::Message::MergeFrom;
951
0
  void MergeFrom(const PDU& from) { PDU::MergeImpl(*this, from); }
952
953
  private:
954
  static void MergeImpl(
955
      ::google::protobuf::MessageLite& to_msg,
956
      const ::google::protobuf::MessageLite& from_msg);
957
958
  public:
959
0
  bool IsInitialized() const {
960
0
    return IsInitializedImpl(*this);
961
0
  }
962
963
  private:
964
  static bool IsInitializedImpl(const MessageLite& msg);
965
966
  public:
967
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
968
  #if defined(PROTOBUF_CUSTOM_VTABLE)
969
  private:
970
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
971
  static ::uint8_t* _InternalSerialize(
972
      const MessageLite& msg, ::uint8_t* target,
973
      ::google::protobuf::io::EpsCopyOutputStream* stream);
974
975
  public:
976
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
977
  ::uint8_t* _InternalSerialize(
978
      ::uint8_t* target,
979
      ::google::protobuf::io::EpsCopyOutputStream* stream) const {
980
    return _InternalSerialize(*this, target, stream);
981
  }
982
  #else   // PROTOBUF_CUSTOM_VTABLE
983
  ::size_t ByteSizeLong() const final;
984
  ::uint8_t* _InternalSerialize(
985
      ::uint8_t* target,
986
      ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
987
  #endif  // PROTOBUF_CUSTOM_VTABLE
988
0
  int GetCachedSize() const { return _impl_._cached_size_.Get(); }
989
990
  private:
991
  void SharedCtor(::google::protobuf::Arena* arena);
992
  static void SharedDtor(MessageLite& self);
993
  void InternalSwap(PDU* other);
994
 private:
995
  template <typename T>
996
  friend ::absl::string_view(
997
      ::google::protobuf::internal::GetAnyMessageName)();
998
0
  static ::absl::string_view FullMessageName() { return "asn1_pdu.PDU"; }
999
1000
 protected:
1001
  explicit PDU(::google::protobuf::Arena* arena);
1002
  PDU(::google::protobuf::Arena* arena, const PDU& from);
1003
  PDU(::google::protobuf::Arena* arena, PDU&& from) noexcept
1004
0
      : PDU(arena) {
1005
0
    *this = ::std::move(from);
1006
0
  }
1007
  const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1008
  static void* PlacementNew_(const void*, void* mem,
1009
                             ::google::protobuf::Arena* arena);
1010
  static constexpr auto InternalNewImpl_();
1011
  static const ::google::protobuf::internal::ClassDataFull _class_data_;
1012
1013
 public:
1014
  ::google::protobuf::Metadata GetMetadata() const;
1015
  // nested types ----------------------------------------------------
1016
1017
  // accessors -------------------------------------------------------
1018
  enum : int {
1019
    kIdFieldNumber = 1,
1020
    kLenFieldNumber = 2,
1021
    kValFieldNumber = 3,
1022
  };
1023
  // required .asn1_pdu.Identifier id = 1;
1024
  bool has_id() const;
1025
  void clear_id() ;
1026
  const ::asn1_pdu::Identifier& id() const;
1027
  PROTOBUF_NODISCARD ::asn1_pdu::Identifier* release_id();
1028
  ::asn1_pdu::Identifier* mutable_id();
1029
  void set_allocated_id(::asn1_pdu::Identifier* value);
1030
  void unsafe_arena_set_allocated_id(::asn1_pdu::Identifier* value);
1031
  ::asn1_pdu::Identifier* unsafe_arena_release_id();
1032
1033
  private:
1034
  const ::asn1_pdu::Identifier& _internal_id() const;
1035
  ::asn1_pdu::Identifier* _internal_mutable_id();
1036
1037
  public:
1038
  // required .asn1_pdu.Length len = 2;
1039
  bool has_len() const;
1040
  void clear_len() ;
1041
  const ::asn1_pdu::Length& len() const;
1042
  PROTOBUF_NODISCARD ::asn1_pdu::Length* release_len();
1043
  ::asn1_pdu::Length* mutable_len();
1044
  void set_allocated_len(::asn1_pdu::Length* value);
1045
  void unsafe_arena_set_allocated_len(::asn1_pdu::Length* value);
1046
  ::asn1_pdu::Length* unsafe_arena_release_len();
1047
1048
  private:
1049
  const ::asn1_pdu::Length& _internal_len() const;
1050
  ::asn1_pdu::Length* _internal_mutable_len();
1051
1052
  public:
1053
  // required .asn1_pdu.Value val = 3;
1054
  bool has_val() const;
1055
  void clear_val() ;
1056
  const ::asn1_pdu::Value& val() const;
1057
  PROTOBUF_NODISCARD ::asn1_pdu::Value* release_val();
1058
  ::asn1_pdu::Value* mutable_val();
1059
  void set_allocated_val(::asn1_pdu::Value* value);
1060
  void unsafe_arena_set_allocated_val(::asn1_pdu::Value* value);
1061
  ::asn1_pdu::Value* unsafe_arena_release_val();
1062
1063
  private:
1064
  const ::asn1_pdu::Value& _internal_val() const;
1065
  ::asn1_pdu::Value* _internal_mutable_val();
1066
1067
  public:
1068
  // @@protoc_insertion_point(class_scope:asn1_pdu.PDU)
1069
 private:
1070
  class _Internal;
1071
  friend class ::google::protobuf::internal::TcParser;
1072
  static const ::google::protobuf::internal::TcParseTable<
1073
      2, 3, 3,
1074
      0, 2>
1075
      _table_;
1076
1077
  friend class ::google::protobuf::MessageLite;
1078
  friend class ::google::protobuf::Arena;
1079
  template <typename T>
1080
  friend class ::google::protobuf::Arena::InternalHelper;
1081
  using InternalArenaConstructable_ = void;
1082
  using DestructorSkippable_ = void;
1083
  struct Impl_ {
1084
    inline explicit constexpr Impl_(
1085
        ::google::protobuf::internal::ConstantInitialized) noexcept;
1086
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1087
                          ::google::protobuf::Arena* arena);
1088
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1089
                          ::google::protobuf::Arena* arena, const Impl_& from,
1090
                          const PDU& from_msg);
1091
    ::google::protobuf::internal::HasBits<1> _has_bits_;
1092
    ::google::protobuf::internal::CachedSize _cached_size_;
1093
    ::asn1_pdu::Identifier* id_;
1094
    ::asn1_pdu::Length* len_;
1095
    ::asn1_pdu::Value* val_;
1096
    PROTOBUF_TSAN_DECLARE_MEMBER
1097
  };
1098
  union { Impl_ _impl_; };
1099
  friend struct ::TableStruct_asn1_5fpdu_2eproto;
1100
};
1101
// -------------------------------------------------------------------
1102
1103
class Value final : public ::google::protobuf::Message
1104
/* @@protoc_insertion_point(class_definition:asn1_pdu.Value) */ {
1105
 public:
1106
0
  inline Value() : Value(nullptr) {}
1107
  ~Value() PROTOBUF_FINAL;
1108
1109
#if defined(PROTOBUF_CUSTOM_VTABLE)
1110
  void operator delete(Value* msg, std::destroying_delete_t) {
1111
    SharedDtor(*msg);
1112
    ::google::protobuf::internal::SizedDelete(msg, sizeof(Value));
1113
  }
1114
#endif
1115
1116
  template <typename = void>
1117
  explicit PROTOBUF_CONSTEXPR Value(
1118
      ::google::protobuf::internal::ConstantInitialized);
1119
1120
0
  inline Value(const Value& from) : Value(nullptr, from) {}
1121
  inline Value(Value&& from) noexcept
1122
0
      : Value(nullptr, std::move(from)) {}
1123
0
  inline Value& operator=(const Value& from) {
1124
0
    CopyFrom(from);
1125
0
    return *this;
1126
0
  }
1127
0
  inline Value& operator=(Value&& from) noexcept {
1128
0
    if (this == &from) return *this;
1129
0
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1130
0
      InternalSwap(&from);
1131
0
    } else {
1132
0
      CopyFrom(from);
1133
0
    }
1134
0
    return *this;
1135
0
  }
1136
1137
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1138
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
1139
0
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1140
0
  }
1141
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1142
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
1143
0
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1144
0
  }
1145
1146
0
  static const ::google::protobuf::Descriptor* descriptor() {
1147
0
    return GetDescriptor();
1148
0
  }
1149
0
  static const ::google::protobuf::Descriptor* GetDescriptor() {
1150
0
    return default_instance().GetMetadata().descriptor;
1151
0
  }
1152
0
  static const ::google::protobuf::Reflection* GetReflection() {
1153
0
    return default_instance().GetMetadata().reflection;
1154
0
  }
1155
0
  static const Value& default_instance() {
1156
0
    return *internal_default_instance();
1157
0
  }
1158
0
  static inline const Value* internal_default_instance() {
1159
0
    return reinterpret_cast<const Value*>(
1160
0
        &_Value_default_instance_);
1161
0
  }
1162
  static constexpr int kIndexInFileMessages = 5;
1163
0
  friend void swap(Value& a, Value& b) { a.Swap(&b); }
1164
0
  inline void Swap(Value* other) {
1165
0
    if (other == this) return;
1166
0
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1167
0
      InternalSwap(other);
1168
0
    } else {
1169
0
      ::google::protobuf::internal::GenericSwap(this, other);
1170
0
    }
1171
0
  }
1172
0
  void UnsafeArenaSwap(Value* other) {
1173
0
    if (other == this) return;
1174
0
    ABSL_DCHECK(GetArena() == other->GetArena());
1175
0
    InternalSwap(other);
1176
0
  }
1177
1178
  // implements Message ----------------------------------------------
1179
1180
0
  Value* New(::google::protobuf::Arena* arena = nullptr) const {
1181
0
    return ::google::protobuf::Message::DefaultConstruct<Value>(arena);
1182
0
  }
1183
  using ::google::protobuf::Message::CopyFrom;
1184
  void CopyFrom(const Value& from);
1185
  using ::google::protobuf::Message::MergeFrom;
1186
0
  void MergeFrom(const Value& from) { Value::MergeImpl(*this, from); }
1187
1188
  private:
1189
  static void MergeImpl(
1190
      ::google::protobuf::MessageLite& to_msg,
1191
      const ::google::protobuf::MessageLite& from_msg);
1192
1193
  public:
1194
0
  bool IsInitialized() const {
1195
0
    return IsInitializedImpl(*this);
1196
0
  }
1197
1198
  private:
1199
  static bool IsInitializedImpl(const MessageLite& msg);
1200
1201
  public:
1202
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1203
  #if defined(PROTOBUF_CUSTOM_VTABLE)
1204
  private:
1205
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1206
  static ::uint8_t* _InternalSerialize(
1207
      const MessageLite& msg, ::uint8_t* target,
1208
      ::google::protobuf::io::EpsCopyOutputStream* stream);
1209
1210
  public:
1211
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1212
  ::uint8_t* _InternalSerialize(
1213
      ::uint8_t* target,
1214
      ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1215
    return _InternalSerialize(*this, target, stream);
1216
  }
1217
  #else   // PROTOBUF_CUSTOM_VTABLE
1218
  ::size_t ByteSizeLong() const final;
1219
  ::uint8_t* _InternalSerialize(
1220
      ::uint8_t* target,
1221
      ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1222
  #endif  // PROTOBUF_CUSTOM_VTABLE
1223
0
  int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1224
1225
  private:
1226
  void SharedCtor(::google::protobuf::Arena* arena);
1227
  static void SharedDtor(MessageLite& self);
1228
  void InternalSwap(Value* other);
1229
 private:
1230
  template <typename T>
1231
  friend ::absl::string_view(
1232
      ::google::protobuf::internal::GetAnyMessageName)();
1233
0
  static ::absl::string_view FullMessageName() { return "asn1_pdu.Value"; }
1234
1235
 protected:
1236
  explicit Value(::google::protobuf::Arena* arena);
1237
  Value(::google::protobuf::Arena* arena, const Value& from);
1238
  Value(::google::protobuf::Arena* arena, Value&& from) noexcept
1239
0
      : Value(arena) {
1240
0
    *this = ::std::move(from);
1241
0
  }
1242
  const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1243
  static void* PlacementNew_(const void*, void* mem,
1244
                             ::google::protobuf::Arena* arena);
1245
  static constexpr auto InternalNewImpl_();
1246
  static const ::google::protobuf::internal::ClassDataFull _class_data_;
1247
1248
 public:
1249
  ::google::protobuf::Metadata GetMetadata() const;
1250
  // nested types ----------------------------------------------------
1251
1252
  // accessors -------------------------------------------------------
1253
  enum : int {
1254
    kValArrayFieldNumber = 1,
1255
  };
1256
  // repeated .asn1_pdu.ValueElement val_array = 1;
1257
  int val_array_size() const;
1258
  private:
1259
  int _internal_val_array_size() const;
1260
1261
  public:
1262
  void clear_val_array() ;
1263
  ::asn1_pdu::ValueElement* mutable_val_array(int index);
1264
  ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>* mutable_val_array();
1265
1266
  private:
1267
  const ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>& _internal_val_array() const;
1268
  ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>* _internal_mutable_val_array();
1269
  public:
1270
  const ::asn1_pdu::ValueElement& val_array(int index) const;
1271
  ::asn1_pdu::ValueElement* add_val_array();
1272
  const ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>& val_array() const;
1273
  // @@protoc_insertion_point(class_scope:asn1_pdu.Value)
1274
 private:
1275
  class _Internal;
1276
  friend class ::google::protobuf::internal::TcParser;
1277
  static const ::google::protobuf::internal::TcParseTable<
1278
      0, 1, 1,
1279
      0, 2>
1280
      _table_;
1281
1282
  friend class ::google::protobuf::MessageLite;
1283
  friend class ::google::protobuf::Arena;
1284
  template <typename T>
1285
  friend class ::google::protobuf::Arena::InternalHelper;
1286
  using InternalArenaConstructable_ = void;
1287
  using DestructorSkippable_ = void;
1288
  struct Impl_ {
1289
    inline explicit constexpr Impl_(
1290
        ::google::protobuf::internal::ConstantInitialized) noexcept;
1291
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1292
                          ::google::protobuf::Arena* arena);
1293
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1294
                          ::google::protobuf::Arena* arena, const Impl_& from,
1295
                          const Value& from_msg);
1296
    ::google::protobuf::RepeatedPtrField< ::asn1_pdu::ValueElement > val_array_;
1297
    ::google::protobuf::internal::CachedSize _cached_size_;
1298
    PROTOBUF_TSAN_DECLARE_MEMBER
1299
  };
1300
  union { Impl_ _impl_; };
1301
  friend struct ::TableStruct_asn1_5fpdu_2eproto;
1302
};
1303
// -------------------------------------------------------------------
1304
1305
class ValueElement final : public ::google::protobuf::Message
1306
/* @@protoc_insertion_point(class_definition:asn1_pdu.ValueElement) */ {
1307
 public:
1308
0
  inline ValueElement() : ValueElement(nullptr) {}
1309
  ~ValueElement() PROTOBUF_FINAL;
1310
1311
#if defined(PROTOBUF_CUSTOM_VTABLE)
1312
  void operator delete(ValueElement* msg, std::destroying_delete_t) {
1313
    SharedDtor(*msg);
1314
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ValueElement));
1315
  }
1316
#endif
1317
1318
  template <typename = void>
1319
  explicit PROTOBUF_CONSTEXPR ValueElement(
1320
      ::google::protobuf::internal::ConstantInitialized);
1321
1322
0
  inline ValueElement(const ValueElement& from) : ValueElement(nullptr, from) {}
1323
  inline ValueElement(ValueElement&& from) noexcept
1324
0
      : ValueElement(nullptr, std::move(from)) {}
1325
0
  inline ValueElement& operator=(const ValueElement& from) {
1326
0
    CopyFrom(from);
1327
0
    return *this;
1328
0
  }
1329
0
  inline ValueElement& operator=(ValueElement&& from) noexcept {
1330
0
    if (this == &from) return *this;
1331
0
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1332
0
      InternalSwap(&from);
1333
0
    } else {
1334
0
      CopyFrom(from);
1335
0
    }
1336
0
    return *this;
1337
0
  }
1338
1339
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1340
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
1341
0
    return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1342
0
  }
1343
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1344
0
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
1345
0
    return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1346
0
  }
1347
1348
0
  static const ::google::protobuf::Descriptor* descriptor() {
1349
0
    return GetDescriptor();
1350
0
  }
1351
0
  static const ::google::protobuf::Descriptor* GetDescriptor() {
1352
0
    return default_instance().GetMetadata().descriptor;
1353
0
  }
1354
0
  static const ::google::protobuf::Reflection* GetReflection() {
1355
0
    return default_instance().GetMetadata().reflection;
1356
0
  }
1357
0
  static const ValueElement& default_instance() {
1358
0
    return *internal_default_instance();
1359
0
  }
1360
0
  static inline const ValueElement* internal_default_instance() {
1361
0
    return reinterpret_cast<const ValueElement*>(
1362
0
        &_ValueElement_default_instance_);
1363
0
  }
1364
  static constexpr int kIndexInFileMessages = 4;
1365
0
  friend void swap(ValueElement& a, ValueElement& b) { a.Swap(&b); }
1366
0
  inline void Swap(ValueElement* other) {
1367
0
    if (other == this) return;
1368
0
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1369
0
      InternalSwap(other);
1370
0
    } else {
1371
0
      ::google::protobuf::internal::GenericSwap(this, other);
1372
0
    }
1373
0
  }
1374
0
  void UnsafeArenaSwap(ValueElement* other) {
1375
0
    if (other == this) return;
1376
0
    ABSL_DCHECK(GetArena() == other->GetArena());
1377
0
    InternalSwap(other);
1378
0
  }
1379
1380
  // implements Message ----------------------------------------------
1381
1382
0
  ValueElement* New(::google::protobuf::Arena* arena = nullptr) const {
1383
0
    return ::google::protobuf::Message::DefaultConstruct<ValueElement>(arena);
1384
0
  }
1385
  using ::google::protobuf::Message::CopyFrom;
1386
  void CopyFrom(const ValueElement& from);
1387
  using ::google::protobuf::Message::MergeFrom;
1388
0
  void MergeFrom(const ValueElement& from) { ValueElement::MergeImpl(*this, from); }
1389
1390
  private:
1391
  static void MergeImpl(
1392
      ::google::protobuf::MessageLite& to_msg,
1393
      const ::google::protobuf::MessageLite& from_msg);
1394
1395
  public:
1396
0
  bool IsInitialized() const {
1397
0
    return IsInitializedImpl(*this);
1398
0
  }
1399
1400
  private:
1401
  static bool IsInitializedImpl(const MessageLite& msg);
1402
1403
  public:
1404
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1405
  #if defined(PROTOBUF_CUSTOM_VTABLE)
1406
  private:
1407
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1408
  static ::uint8_t* _InternalSerialize(
1409
      const MessageLite& msg, ::uint8_t* target,
1410
      ::google::protobuf::io::EpsCopyOutputStream* stream);
1411
1412
  public:
1413
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1414
  ::uint8_t* _InternalSerialize(
1415
      ::uint8_t* target,
1416
      ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1417
    return _InternalSerialize(*this, target, stream);
1418
  }
1419
  #else   // PROTOBUF_CUSTOM_VTABLE
1420
  ::size_t ByteSizeLong() const final;
1421
  ::uint8_t* _InternalSerialize(
1422
      ::uint8_t* target,
1423
      ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1424
  #endif  // PROTOBUF_CUSTOM_VTABLE
1425
0
  int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1426
1427
  private:
1428
  void SharedCtor(::google::protobuf::Arena* arena);
1429
  static void SharedDtor(MessageLite& self);
1430
  void InternalSwap(ValueElement* other);
1431
 private:
1432
  template <typename T>
1433
  friend ::absl::string_view(
1434
      ::google::protobuf::internal::GetAnyMessageName)();
1435
0
  static ::absl::string_view FullMessageName() { return "asn1_pdu.ValueElement"; }
1436
1437
 protected:
1438
  explicit ValueElement(::google::protobuf::Arena* arena);
1439
  ValueElement(::google::protobuf::Arena* arena, const ValueElement& from);
1440
  ValueElement(::google::protobuf::Arena* arena, ValueElement&& from) noexcept
1441
0
      : ValueElement(arena) {
1442
0
    *this = ::std::move(from);
1443
0
  }
1444
  const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1445
  static void* PlacementNew_(const void*, void* mem,
1446
                             ::google::protobuf::Arena* arena);
1447
  static constexpr auto InternalNewImpl_();
1448
  static const ::google::protobuf::internal::ClassDataFull _class_data_;
1449
1450
 public:
1451
  ::google::protobuf::Metadata GetMetadata() const;
1452
  // nested types ----------------------------------------------------
1453
1454
  // accessors -------------------------------------------------------
1455
  enum : int {
1456
    kValBitsFieldNumber = 2,
1457
    kPduFieldNumber = 1,
1458
  };
1459
  // required bytes val_bits = 2;
1460
  bool has_val_bits() const;
1461
  void clear_val_bits() ;
1462
  const std::string& val_bits() const;
1463
  template <typename Arg_ = const std::string&, typename... Args_>
1464
  void set_val_bits(Arg_&& arg, Args_... args);
1465
  std::string* mutable_val_bits();
1466
  PROTOBUF_NODISCARD std::string* release_val_bits();
1467
  void set_allocated_val_bits(std::string* value);
1468
1469
  private:
1470
  const std::string& _internal_val_bits() const;
1471
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_val_bits(
1472
      const std::string& value);
1473
  std::string* _internal_mutable_val_bits();
1474
1475
  public:
1476
  // optional .asn1_pdu.PDU pdu = 1;
1477
  bool has_pdu() const;
1478
  void clear_pdu() ;
1479
  const ::asn1_pdu::PDU& pdu() const;
1480
  PROTOBUF_NODISCARD ::asn1_pdu::PDU* release_pdu();
1481
  ::asn1_pdu::PDU* mutable_pdu();
1482
  void set_allocated_pdu(::asn1_pdu::PDU* value);
1483
  void unsafe_arena_set_allocated_pdu(::asn1_pdu::PDU* value);
1484
  ::asn1_pdu::PDU* unsafe_arena_release_pdu();
1485
1486
  private:
1487
  const ::asn1_pdu::PDU& _internal_pdu() const;
1488
  ::asn1_pdu::PDU* _internal_mutable_pdu();
1489
1490
  public:
1491
  // @@protoc_insertion_point(class_scope:asn1_pdu.ValueElement)
1492
 private:
1493
  class _Internal;
1494
  friend class ::google::protobuf::internal::TcParser;
1495
  static const ::google::protobuf::internal::TcParseTable<
1496
      1, 2, 1,
1497
      0, 2>
1498
      _table_;
1499
1500
  friend class ::google::protobuf::MessageLite;
1501
  friend class ::google::protobuf::Arena;
1502
  template <typename T>
1503
  friend class ::google::protobuf::Arena::InternalHelper;
1504
  using InternalArenaConstructable_ = void;
1505
  using DestructorSkippable_ = void;
1506
  struct Impl_ {
1507
    inline explicit constexpr Impl_(
1508
        ::google::protobuf::internal::ConstantInitialized) noexcept;
1509
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1510
                          ::google::protobuf::Arena* arena);
1511
    inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1512
                          ::google::protobuf::Arena* arena, const Impl_& from,
1513
                          const ValueElement& from_msg);
1514
    ::google::protobuf::internal::HasBits<1> _has_bits_;
1515
    ::google::protobuf::internal::CachedSize _cached_size_;
1516
    ::google::protobuf::internal::ArenaStringPtr val_bits_;
1517
    ::asn1_pdu::PDU* pdu_;
1518
    PROTOBUF_TSAN_DECLARE_MEMBER
1519
  };
1520
  union { Impl_ _impl_; };
1521
  friend struct ::TableStruct_asn1_5fpdu_2eproto;
1522
};
1523
1524
// ===================================================================
1525
1526
1527
1528
1529
// ===================================================================
1530
1531
1532
#ifdef __GNUC__
1533
#pragma GCC diagnostic push
1534
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1535
#endif  // __GNUC__
1536
// -------------------------------------------------------------------
1537
1538
// PDU
1539
1540
// required .asn1_pdu.Identifier id = 1;
1541
0
inline bool PDU::has_id() const {
1542
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1543
0
  PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr);
1544
0
  return value;
1545
0
}
1546
0
inline void PDU::clear_id() {
1547
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1548
0
  if (_impl_.id_ != nullptr) _impl_.id_->Clear();
1549
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1550
0
}
1551
61.0k
inline const ::asn1_pdu::Identifier& PDU::_internal_id() const {
1552
61.0k
  ::google::protobuf::internal::TSanRead(&_impl_);
1553
61.0k
  const ::asn1_pdu::Identifier* p = _impl_.id_;
1554
61.0k
  return p != nullptr ? *p : reinterpret_cast<const ::asn1_pdu::Identifier&>(::asn1_pdu::_Identifier_default_instance_);
1555
61.0k
}
1556
61.0k
inline const ::asn1_pdu::Identifier& PDU::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1557
  // @@protoc_insertion_point(field_get:asn1_pdu.PDU.id)
1558
61.0k
  return _internal_id();
1559
61.0k
}
1560
0
inline void PDU::unsafe_arena_set_allocated_id(::asn1_pdu::Identifier* value) {
1561
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1562
0
  if (GetArena() == nullptr) {
1563
0
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_);
1564
0
  }
1565
0
  _impl_.id_ = reinterpret_cast<::asn1_pdu::Identifier*>(value);
1566
0
  if (value != nullptr) {
1567
0
    _impl_._has_bits_[0] |= 0x00000001u;
1568
0
  } else {
1569
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1570
0
  }
1571
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:asn1_pdu.PDU.id)
1572
0
}
1573
0
inline ::asn1_pdu::Identifier* PDU::release_id() {
1574
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1575
0
1576
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1577
0
  ::asn1_pdu::Identifier* released = _impl_.id_;
1578
0
  _impl_.id_ = nullptr;
1579
0
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1580
0
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1581
0
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1582
0
    if (GetArena() == nullptr) {
1583
0
      delete old;
1584
0
    }
1585
0
  } else {
1586
0
    if (GetArena() != nullptr) {
1587
0
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1588
0
    }
1589
0
  }
1590
0
  return released;
1591
0
}
1592
0
inline ::asn1_pdu::Identifier* PDU::unsafe_arena_release_id() {
1593
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1594
0
  // @@protoc_insertion_point(field_release:asn1_pdu.PDU.id)
1595
0
1596
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1597
0
  ::asn1_pdu::Identifier* temp = _impl_.id_;
1598
0
  _impl_.id_ = nullptr;
1599
0
  return temp;
1600
0
}
1601
0
inline ::asn1_pdu::Identifier* PDU::_internal_mutable_id() {
1602
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1603
0
  if (_impl_.id_ == nullptr) {
1604
0
    auto* p = ::google::protobuf::Message::DefaultConstruct<::asn1_pdu::Identifier>(GetArena());
1605
0
    _impl_.id_ = reinterpret_cast<::asn1_pdu::Identifier*>(p);
1606
0
  }
1607
0
  return _impl_.id_;
1608
0
}
1609
0
inline ::asn1_pdu::Identifier* PDU::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1610
0
  _impl_._has_bits_[0] |= 0x00000001u;
1611
0
  ::asn1_pdu::Identifier* _msg = _internal_mutable_id();
1612
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.PDU.id)
1613
0
  return _msg;
1614
0
}
1615
0
inline void PDU::set_allocated_id(::asn1_pdu::Identifier* value) {
1616
0
  ::google::protobuf::Arena* message_arena = GetArena();
1617
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1618
0
  if (message_arena == nullptr) {
1619
0
    delete (_impl_.id_);
1620
0
  }
1621
0
1622
0
  if (value != nullptr) {
1623
0
    ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1624
0
    if (message_arena != submessage_arena) {
1625
0
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1626
0
    }
1627
0
    _impl_._has_bits_[0] |= 0x00000001u;
1628
0
  } else {
1629
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1630
0
  }
1631
0
1632
0
  _impl_.id_ = reinterpret_cast<::asn1_pdu::Identifier*>(value);
1633
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.PDU.id)
1634
0
}
1635
1636
// required .asn1_pdu.Length len = 2;
1637
0
inline bool PDU::has_len() const {
1638
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1639
0
  PROTOBUF_ASSUME(!value || _impl_.len_ != nullptr);
1640
0
  return value;
1641
0
}
1642
0
inline void PDU::clear_len() {
1643
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1644
0
  if (_impl_.len_ != nullptr) _impl_.len_->Clear();
1645
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1646
0
}
1647
61.0k
inline const ::asn1_pdu::Length& PDU::_internal_len() const {
1648
61.0k
  ::google::protobuf::internal::TSanRead(&_impl_);
1649
61.0k
  const ::asn1_pdu::Length* p = _impl_.len_;
1650
61.0k
  return p != nullptr ? *p : reinterpret_cast<const ::asn1_pdu::Length&>(::asn1_pdu::_Length_default_instance_);
1651
61.0k
}
1652
61.0k
inline const ::asn1_pdu::Length& PDU::len() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1653
  // @@protoc_insertion_point(field_get:asn1_pdu.PDU.len)
1654
61.0k
  return _internal_len();
1655
61.0k
}
1656
0
inline void PDU::unsafe_arena_set_allocated_len(::asn1_pdu::Length* value) {
1657
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1658
0
  if (GetArena() == nullptr) {
1659
0
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.len_);
1660
0
  }
1661
0
  _impl_.len_ = reinterpret_cast<::asn1_pdu::Length*>(value);
1662
0
  if (value != nullptr) {
1663
0
    _impl_._has_bits_[0] |= 0x00000002u;
1664
0
  } else {
1665
0
    _impl_._has_bits_[0] &= ~0x00000002u;
1666
0
  }
1667
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:asn1_pdu.PDU.len)
1668
0
}
1669
0
inline ::asn1_pdu::Length* PDU::release_len() {
1670
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1671
0
1672
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1673
0
  ::asn1_pdu::Length* released = _impl_.len_;
1674
0
  _impl_.len_ = nullptr;
1675
0
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1676
0
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1677
0
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1678
0
    if (GetArena() == nullptr) {
1679
0
      delete old;
1680
0
    }
1681
0
  } else {
1682
0
    if (GetArena() != nullptr) {
1683
0
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1684
0
    }
1685
0
  }
1686
0
  return released;
1687
0
}
1688
0
inline ::asn1_pdu::Length* PDU::unsafe_arena_release_len() {
1689
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1690
0
  // @@protoc_insertion_point(field_release:asn1_pdu.PDU.len)
1691
0
1692
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1693
0
  ::asn1_pdu::Length* temp = _impl_.len_;
1694
0
  _impl_.len_ = nullptr;
1695
0
  return temp;
1696
0
}
1697
0
inline ::asn1_pdu::Length* PDU::_internal_mutable_len() {
1698
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1699
0
  if (_impl_.len_ == nullptr) {
1700
0
    auto* p = ::google::protobuf::Message::DefaultConstruct<::asn1_pdu::Length>(GetArena());
1701
0
    _impl_.len_ = reinterpret_cast<::asn1_pdu::Length*>(p);
1702
0
  }
1703
0
  return _impl_.len_;
1704
0
}
1705
0
inline ::asn1_pdu::Length* PDU::mutable_len() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1706
0
  _impl_._has_bits_[0] |= 0x00000002u;
1707
0
  ::asn1_pdu::Length* _msg = _internal_mutable_len();
1708
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.PDU.len)
1709
0
  return _msg;
1710
0
}
1711
0
inline void PDU::set_allocated_len(::asn1_pdu::Length* value) {
1712
0
  ::google::protobuf::Arena* message_arena = GetArena();
1713
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1714
0
  if (message_arena == nullptr) {
1715
0
    delete (_impl_.len_);
1716
0
  }
1717
0
1718
0
  if (value != nullptr) {
1719
0
    ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1720
0
    if (message_arena != submessage_arena) {
1721
0
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1722
0
    }
1723
0
    _impl_._has_bits_[0] |= 0x00000002u;
1724
0
  } else {
1725
0
    _impl_._has_bits_[0] &= ~0x00000002u;
1726
0
  }
1727
0
1728
0
  _impl_.len_ = reinterpret_cast<::asn1_pdu::Length*>(value);
1729
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.PDU.len)
1730
0
}
1731
1732
// required .asn1_pdu.Value val = 3;
1733
0
inline bool PDU::has_val() const {
1734
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1735
0
  PROTOBUF_ASSUME(!value || _impl_.val_ != nullptr);
1736
0
  return value;
1737
0
}
1738
0
inline void PDU::clear_val() {
1739
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1740
0
  if (_impl_.val_ != nullptr) _impl_.val_->Clear();
1741
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1742
0
}
1743
61.0k
inline const ::asn1_pdu::Value& PDU::_internal_val() const {
1744
61.0k
  ::google::protobuf::internal::TSanRead(&_impl_);
1745
61.0k
  const ::asn1_pdu::Value* p = _impl_.val_;
1746
61.0k
  return p != nullptr ? *p : reinterpret_cast<const ::asn1_pdu::Value&>(::asn1_pdu::_Value_default_instance_);
1747
61.0k
}
1748
61.0k
inline const ::asn1_pdu::Value& PDU::val() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1749
  // @@protoc_insertion_point(field_get:asn1_pdu.PDU.val)
1750
61.0k
  return _internal_val();
1751
61.0k
}
1752
0
inline void PDU::unsafe_arena_set_allocated_val(::asn1_pdu::Value* value) {
1753
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1754
0
  if (GetArena() == nullptr) {
1755
0
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.val_);
1756
0
  }
1757
0
  _impl_.val_ = reinterpret_cast<::asn1_pdu::Value*>(value);
1758
0
  if (value != nullptr) {
1759
0
    _impl_._has_bits_[0] |= 0x00000004u;
1760
0
  } else {
1761
0
    _impl_._has_bits_[0] &= ~0x00000004u;
1762
0
  }
1763
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:asn1_pdu.PDU.val)
1764
0
}
1765
0
inline ::asn1_pdu::Value* PDU::release_val() {
1766
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1767
0
1768
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1769
0
  ::asn1_pdu::Value* released = _impl_.val_;
1770
0
  _impl_.val_ = nullptr;
1771
0
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1772
0
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1773
0
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1774
0
    if (GetArena() == nullptr) {
1775
0
      delete old;
1776
0
    }
1777
0
  } else {
1778
0
    if (GetArena() != nullptr) {
1779
0
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1780
0
    }
1781
0
  }
1782
0
  return released;
1783
0
}
1784
0
inline ::asn1_pdu::Value* PDU::unsafe_arena_release_val() {
1785
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1786
0
  // @@protoc_insertion_point(field_release:asn1_pdu.PDU.val)
1787
0
1788
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1789
0
  ::asn1_pdu::Value* temp = _impl_.val_;
1790
0
  _impl_.val_ = nullptr;
1791
0
  return temp;
1792
0
}
1793
0
inline ::asn1_pdu::Value* PDU::_internal_mutable_val() {
1794
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1795
0
  if (_impl_.val_ == nullptr) {
1796
0
    auto* p = ::google::protobuf::Message::DefaultConstruct<::asn1_pdu::Value>(GetArena());
1797
0
    _impl_.val_ = reinterpret_cast<::asn1_pdu::Value*>(p);
1798
0
  }
1799
0
  return _impl_.val_;
1800
0
}
1801
0
inline ::asn1_pdu::Value* PDU::mutable_val() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1802
0
  _impl_._has_bits_[0] |= 0x00000004u;
1803
0
  ::asn1_pdu::Value* _msg = _internal_mutable_val();
1804
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.PDU.val)
1805
0
  return _msg;
1806
0
}
1807
0
inline void PDU::set_allocated_val(::asn1_pdu::Value* value) {
1808
0
  ::google::protobuf::Arena* message_arena = GetArena();
1809
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1810
0
  if (message_arena == nullptr) {
1811
0
    delete (_impl_.val_);
1812
0
  }
1813
0
1814
0
  if (value != nullptr) {
1815
0
    ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1816
0
    if (message_arena != submessage_arena) {
1817
0
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1818
0
    }
1819
0
    _impl_._has_bits_[0] |= 0x00000004u;
1820
0
  } else {
1821
0
    _impl_._has_bits_[0] &= ~0x00000004u;
1822
0
  }
1823
0
1824
0
  _impl_.val_ = reinterpret_cast<::asn1_pdu::Value*>(value);
1825
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.PDU.val)
1826
0
}
1827
1828
// -------------------------------------------------------------------
1829
1830
// Identifier
1831
1832
// required .asn1_pdu.Class id_class = 2;
1833
0
inline bool Identifier::has_id_class() const {
1834
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1835
0
  return value;
1836
0
}
1837
0
inline void Identifier::clear_id_class() {
1838
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1839
0
  _impl_.id_class_ = 0;
1840
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1841
0
}
1842
61.0k
inline ::asn1_pdu::Class Identifier::id_class() const {
1843
  // @@protoc_insertion_point(field_get:asn1_pdu.Identifier.id_class)
1844
61.0k
  return _internal_id_class();
1845
61.0k
}
1846
0
inline void Identifier::set_id_class(::asn1_pdu::Class value) {
1847
0
  _internal_set_id_class(value);
1848
0
  _impl_._has_bits_[0] |= 0x00000004u;
1849
0
  // @@protoc_insertion_point(field_set:asn1_pdu.Identifier.id_class)
1850
0
}
1851
61.0k
inline ::asn1_pdu::Class Identifier::_internal_id_class() const {
1852
61.0k
  ::google::protobuf::internal::TSanRead(&_impl_);
1853
61.0k
  return static_cast<::asn1_pdu::Class>(_impl_.id_class_);
1854
61.0k
}
1855
0
inline void Identifier::_internal_set_id_class(::asn1_pdu::Class value) {
1856
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1857
0
  assert(::asn1_pdu::Class_IsValid(value));
1858
0
  _impl_.id_class_ = value;
1859
0
}
1860
1861
// required .asn1_pdu.Encoding encoding = 1;
1862
0
inline bool Identifier::has_encoding() const {
1863
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1864
0
  return value;
1865
0
}
1866
0
inline void Identifier::clear_encoding() {
1867
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1868
0
  _impl_.encoding_ = 0;
1869
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1870
0
}
1871
61.0k
inline ::asn1_pdu::Encoding Identifier::encoding() const {
1872
  // @@protoc_insertion_point(field_get:asn1_pdu.Identifier.encoding)
1873
61.0k
  return _internal_encoding();
1874
61.0k
}
1875
0
inline void Identifier::set_encoding(::asn1_pdu::Encoding value) {
1876
0
  _internal_set_encoding(value);
1877
0
  _impl_._has_bits_[0] |= 0x00000002u;
1878
0
  // @@protoc_insertion_point(field_set:asn1_pdu.Identifier.encoding)
1879
0
}
1880
61.0k
inline ::asn1_pdu::Encoding Identifier::_internal_encoding() const {
1881
61.0k
  ::google::protobuf::internal::TSanRead(&_impl_);
1882
61.0k
  return static_cast<::asn1_pdu::Encoding>(_impl_.encoding_);
1883
61.0k
}
1884
0
inline void Identifier::_internal_set_encoding(::asn1_pdu::Encoding value) {
1885
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1886
0
  assert(::asn1_pdu::Encoding_IsValid(value));
1887
0
  _impl_.encoding_ = value;
1888
0
}
1889
1890
// required .asn1_pdu.TagNumber tag_num = 3;
1891
0
inline bool Identifier::has_tag_num() const {
1892
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1893
0
  PROTOBUF_ASSUME(!value || _impl_.tag_num_ != nullptr);
1894
0
  return value;
1895
0
}
1896
0
inline void Identifier::clear_tag_num() {
1897
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1898
0
  if (_impl_.tag_num_ != nullptr) _impl_.tag_num_->Clear();
1899
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1900
0
}
1901
122k
inline const ::asn1_pdu::TagNumber& Identifier::_internal_tag_num() const {
1902
122k
  ::google::protobuf::internal::TSanRead(&_impl_);
1903
122k
  const ::asn1_pdu::TagNumber* p = _impl_.tag_num_;
1904
122k
  return p != nullptr ? *p : reinterpret_cast<const ::asn1_pdu::TagNumber&>(::asn1_pdu::_TagNumber_default_instance_);
1905
122k
}
1906
122k
inline const ::asn1_pdu::TagNumber& Identifier::tag_num() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1907
  // @@protoc_insertion_point(field_get:asn1_pdu.Identifier.tag_num)
1908
122k
  return _internal_tag_num();
1909
122k
}
1910
0
inline void Identifier::unsafe_arena_set_allocated_tag_num(::asn1_pdu::TagNumber* value) {
1911
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1912
0
  if (GetArena() == nullptr) {
1913
0
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tag_num_);
1914
0
  }
1915
0
  _impl_.tag_num_ = reinterpret_cast<::asn1_pdu::TagNumber*>(value);
1916
0
  if (value != nullptr) {
1917
0
    _impl_._has_bits_[0] |= 0x00000001u;
1918
0
  } else {
1919
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1920
0
  }
1921
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:asn1_pdu.Identifier.tag_num)
1922
0
}
1923
0
inline ::asn1_pdu::TagNumber* Identifier::release_tag_num() {
1924
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1925
0
1926
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1927
0
  ::asn1_pdu::TagNumber* released = _impl_.tag_num_;
1928
0
  _impl_.tag_num_ = nullptr;
1929
0
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1930
0
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1931
0
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1932
0
    if (GetArena() == nullptr) {
1933
0
      delete old;
1934
0
    }
1935
0
  } else {
1936
0
    if (GetArena() != nullptr) {
1937
0
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1938
0
    }
1939
0
  }
1940
0
  return released;
1941
0
}
1942
0
inline ::asn1_pdu::TagNumber* Identifier::unsafe_arena_release_tag_num() {
1943
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1944
0
  // @@protoc_insertion_point(field_release:asn1_pdu.Identifier.tag_num)
1945
0
1946
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1947
0
  ::asn1_pdu::TagNumber* temp = _impl_.tag_num_;
1948
0
  _impl_.tag_num_ = nullptr;
1949
0
  return temp;
1950
0
}
1951
0
inline ::asn1_pdu::TagNumber* Identifier::_internal_mutable_tag_num() {
1952
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1953
0
  if (_impl_.tag_num_ == nullptr) {
1954
0
    auto* p = ::google::protobuf::Message::DefaultConstruct<::asn1_pdu::TagNumber>(GetArena());
1955
0
    _impl_.tag_num_ = reinterpret_cast<::asn1_pdu::TagNumber*>(p);
1956
0
  }
1957
0
  return _impl_.tag_num_;
1958
0
}
1959
0
inline ::asn1_pdu::TagNumber* Identifier::mutable_tag_num() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1960
0
  _impl_._has_bits_[0] |= 0x00000001u;
1961
0
  ::asn1_pdu::TagNumber* _msg = _internal_mutable_tag_num();
1962
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.Identifier.tag_num)
1963
0
  return _msg;
1964
0
}
1965
0
inline void Identifier::set_allocated_tag_num(::asn1_pdu::TagNumber* value) {
1966
0
  ::google::protobuf::Arena* message_arena = GetArena();
1967
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1968
0
  if (message_arena == nullptr) {
1969
0
    delete (_impl_.tag_num_);
1970
0
  }
1971
0
1972
0
  if (value != nullptr) {
1973
0
    ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1974
0
    if (message_arena != submessage_arena) {
1975
0
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1976
0
    }
1977
0
    _impl_._has_bits_[0] |= 0x00000001u;
1978
0
  } else {
1979
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1980
0
  }
1981
0
1982
0
  _impl_.tag_num_ = reinterpret_cast<::asn1_pdu::TagNumber*>(value);
1983
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.Identifier.tag_num)
1984
0
}
1985
1986
// -------------------------------------------------------------------
1987
1988
// TagNumber
1989
1990
// optional uint32 high_tag_num = 1;
1991
61.0k
inline bool TagNumber::has_high_tag_num() const {
1992
61.0k
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1993
61.0k
  return value;
1994
61.0k
}
1995
0
inline void TagNumber::clear_high_tag_num() {
1996
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
1997
0
  _impl_.high_tag_num_ = 0u;
1998
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1999
0
}
2000
6.75k
inline ::uint32_t TagNumber::high_tag_num() const {
2001
  // @@protoc_insertion_point(field_get:asn1_pdu.TagNumber.high_tag_num)
2002
6.75k
  return _internal_high_tag_num();
2003
6.75k
}
2004
0
inline void TagNumber::set_high_tag_num(::uint32_t value) {
2005
0
  _internal_set_high_tag_num(value);
2006
0
  _impl_._has_bits_[0] |= 0x00000001u;
2007
0
  // @@protoc_insertion_point(field_set:asn1_pdu.TagNumber.high_tag_num)
2008
0
}
2009
6.75k
inline ::uint32_t TagNumber::_internal_high_tag_num() const {
2010
6.75k
  ::google::protobuf::internal::TSanRead(&_impl_);
2011
6.75k
  return _impl_.high_tag_num_;
2012
6.75k
}
2013
0
inline void TagNumber::_internal_set_high_tag_num(::uint32_t value) {
2014
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2015
0
  _impl_.high_tag_num_ = value;
2016
0
}
2017
2018
// required .asn1_pdu.LowTagNumber low_tag_num = 2;
2019
0
inline bool TagNumber::has_low_tag_num() const {
2020
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2021
0
  return value;
2022
0
}
2023
0
inline void TagNumber::clear_low_tag_num() {
2024
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2025
0
  _impl_.low_tag_num_ = 0;
2026
0
  _impl_._has_bits_[0] &= ~0x00000002u;
2027
0
}
2028
54.3k
inline ::asn1_pdu::LowTagNumber TagNumber::low_tag_num() const {
2029
  // @@protoc_insertion_point(field_get:asn1_pdu.TagNumber.low_tag_num)
2030
54.3k
  return _internal_low_tag_num();
2031
54.3k
}
2032
0
inline void TagNumber::set_low_tag_num(::asn1_pdu::LowTagNumber value) {
2033
0
  _internal_set_low_tag_num(value);
2034
0
  _impl_._has_bits_[0] |= 0x00000002u;
2035
0
  // @@protoc_insertion_point(field_set:asn1_pdu.TagNumber.low_tag_num)
2036
0
}
2037
54.3k
inline ::asn1_pdu::LowTagNumber TagNumber::_internal_low_tag_num() const {
2038
54.3k
  ::google::protobuf::internal::TSanRead(&_impl_);
2039
54.3k
  return static_cast<::asn1_pdu::LowTagNumber>(_impl_.low_tag_num_);
2040
54.3k
}
2041
0
inline void TagNumber::_internal_set_low_tag_num(::asn1_pdu::LowTagNumber value) {
2042
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2043
0
  assert(::asn1_pdu::LowTagNumber_IsValid(value));
2044
0
  _impl_.low_tag_num_ = value;
2045
0
}
2046
2047
// -------------------------------------------------------------------
2048
2049
// Length
2050
2051
// bool indefinite_form = 1;
2052
52.3k
inline bool Length::has_indefinite_form() const {
2053
52.3k
  return types_case() == kIndefiniteForm;
2054
52.3k
}
2055
0
inline void Length::set_has_indefinite_form() {
2056
0
  _impl_._oneof_case_[0] = kIndefiniteForm;
2057
0
}
2058
0
inline void Length::clear_indefinite_form() {
2059
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2060
0
  if (types_case() == kIndefiniteForm) {
2061
0
    _impl_.types_.indefinite_form_ = false;
2062
0
    clear_has_types();
2063
0
  }
2064
0
}
2065
4.46k
inline bool Length::indefinite_form() const {
2066
  // @@protoc_insertion_point(field_get:asn1_pdu.Length.indefinite_form)
2067
4.46k
  return _internal_indefinite_form();
2068
4.46k
}
2069
0
inline void Length::set_indefinite_form(bool value) {
2070
0
  if (types_case() != kIndefiniteForm) {
2071
0
    clear_types();
2072
0
    set_has_indefinite_form();
2073
0
  }
2074
0
  _impl_.types_.indefinite_form_ = value;
2075
0
  // @@protoc_insertion_point(field_set:asn1_pdu.Length.indefinite_form)
2076
0
}
2077
4.46k
inline bool Length::_internal_indefinite_form() const {
2078
4.46k
  if (types_case() == kIndefiniteForm) {
2079
4.46k
    return _impl_.types_.indefinite_form_;
2080
4.46k
  }
2081
0
  return false;
2082
4.46k
}
2083
2084
// bytes length_override = 2;
2085
61.0k
inline bool Length::has_length_override() const {
2086
61.0k
  return types_case() == kLengthOverride;
2087
61.0k
}
2088
0
inline void Length::set_has_length_override() {
2089
0
  _impl_._oneof_case_[0] = kLengthOverride;
2090
0
}
2091
0
inline void Length::clear_length_override() {
2092
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2093
0
  if (types_case() == kLengthOverride) {
2094
0
    _impl_.types_.length_override_.Destroy();
2095
0
    clear_has_types();
2096
0
  }
2097
0
}
2098
inline const std::string& Length::length_override() const
2099
8.70k
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
2100
  // @@protoc_insertion_point(field_get:asn1_pdu.Length.length_override)
2101
8.70k
  return _internal_length_override();
2102
8.70k
}
2103
template <typename Arg_, typename... Args_>
2104
inline PROTOBUF_ALWAYS_INLINE void Length::set_length_override(Arg_&& arg,
2105
                                                     Args_... args) {
2106
  ::google::protobuf::internal::TSanWrite(&_impl_);
2107
  if (types_case() != kLengthOverride) {
2108
    clear_types();
2109
2110
    set_has_length_override();
2111
    _impl_.types_.length_override_.InitDefault();
2112
  }
2113
  _impl_.types_.length_override_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
2114
  // @@protoc_insertion_point(field_set:asn1_pdu.Length.length_override)
2115
}
2116
0
inline std::string* Length::mutable_length_override() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2117
0
  std::string* _s = _internal_mutable_length_override();
2118
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.Length.length_override)
2119
0
  return _s;
2120
0
}
2121
8.70k
inline const std::string& Length::_internal_length_override() const {
2122
8.70k
  ::google::protobuf::internal::TSanRead(&_impl_);
2123
8.70k
  if (types_case() != kLengthOverride) {
2124
0
    return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
2125
0
  }
2126
8.70k
  return _impl_.types_.length_override_.Get();
2127
8.70k
}
2128
0
inline void Length::_internal_set_length_override(const std::string& value) {
2129
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2130
0
  if (types_case() != kLengthOverride) {
2131
0
    clear_types();
2132
0
2133
0
    set_has_length_override();
2134
0
    _impl_.types_.length_override_.InitDefault();
2135
0
  }
2136
0
  _impl_.types_.length_override_.Set(value, GetArena());
2137
0
}
2138
0
inline std::string* Length::_internal_mutable_length_override() {
2139
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2140
0
  if (types_case() != kLengthOverride) {
2141
0
    clear_types();
2142
0
2143
0
    set_has_length_override();
2144
0
    _impl_.types_.length_override_.InitDefault();
2145
0
  }
2146
0
  return _impl_.types_.length_override_.Mutable( GetArena());
2147
0
}
2148
0
inline std::string* Length::release_length_override() {
2149
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2150
0
  // @@protoc_insertion_point(field_release:asn1_pdu.Length.length_override)
2151
0
  if (types_case() != kLengthOverride) {
2152
0
    return nullptr;
2153
0
  }
2154
0
  clear_has_types();
2155
0
  return _impl_.types_.length_override_.Release();
2156
0
}
2157
0
inline void Length::set_allocated_length_override(std::string* value) {
2158
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2159
0
  if (has_types()) {
2160
0
    clear_types();
2161
0
  }
2162
0
  if (value != nullptr) {
2163
0
    set_has_length_override();
2164
0
    _impl_.types_.length_override_.InitAllocated(value, GetArena());
2165
0
  }
2166
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.Length.length_override)
2167
0
}
2168
2169
71.4k
inline bool Length::has_types() const {
2170
71.4k
  return types_case() != TYPES_NOT_SET;
2171
71.4k
}
2172
0
inline void Length::clear_has_types() {
2173
0
  _impl_._oneof_case_[0] = TYPES_NOT_SET;
2174
0
}
2175
226k
inline Length::TypesCase Length::types_case() const {
2176
226k
  return Length::TypesCase(_impl_._oneof_case_[0]);
2177
226k
}
2178
// -------------------------------------------------------------------
2179
2180
// ValueElement
2181
2182
// optional .asn1_pdu.PDU pdu = 1;
2183
110k
inline bool ValueElement::has_pdu() const {
2184
110k
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2185
110k
  PROTOBUF_ASSUME(!value || _impl_.pdu_ != nullptr);
2186
110k
  return value;
2187
110k
}
2188
0
inline void ValueElement::clear_pdu() {
2189
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2190
0
  if (_impl_.pdu_ != nullptr) _impl_.pdu_->Clear();
2191
0
  _impl_._has_bits_[0] &= ~0x00000002u;
2192
0
}
2193
48.5k
inline const ::asn1_pdu::PDU& ValueElement::_internal_pdu() const {
2194
48.5k
  ::google::protobuf::internal::TSanRead(&_impl_);
2195
48.5k
  const ::asn1_pdu::PDU* p = _impl_.pdu_;
2196
48.5k
  return p != nullptr ? *p : reinterpret_cast<const ::asn1_pdu::PDU&>(::asn1_pdu::_PDU_default_instance_);
2197
48.5k
}
2198
48.5k
inline const ::asn1_pdu::PDU& ValueElement::pdu() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2199
  // @@protoc_insertion_point(field_get:asn1_pdu.ValueElement.pdu)
2200
48.5k
  return _internal_pdu();
2201
48.5k
}
2202
0
inline void ValueElement::unsafe_arena_set_allocated_pdu(::asn1_pdu::PDU* value) {
2203
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2204
0
  if (GetArena() == nullptr) {
2205
0
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pdu_);
2206
0
  }
2207
0
  _impl_.pdu_ = reinterpret_cast<::asn1_pdu::PDU*>(value);
2208
0
  if (value != nullptr) {
2209
0
    _impl_._has_bits_[0] |= 0x00000002u;
2210
0
  } else {
2211
0
    _impl_._has_bits_[0] &= ~0x00000002u;
2212
0
  }
2213
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:asn1_pdu.ValueElement.pdu)
2214
0
}
2215
0
inline ::asn1_pdu::PDU* ValueElement::release_pdu() {
2216
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2217
0
2218
0
  _impl_._has_bits_[0] &= ~0x00000002u;
2219
0
  ::asn1_pdu::PDU* released = _impl_.pdu_;
2220
0
  _impl_.pdu_ = nullptr;
2221
0
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2222
0
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2223
0
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2224
0
    if (GetArena() == nullptr) {
2225
0
      delete old;
2226
0
    }
2227
0
  } else {
2228
0
    if (GetArena() != nullptr) {
2229
0
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2230
0
    }
2231
0
  }
2232
0
  return released;
2233
0
}
2234
0
inline ::asn1_pdu::PDU* ValueElement::unsafe_arena_release_pdu() {
2235
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2236
0
  // @@protoc_insertion_point(field_release:asn1_pdu.ValueElement.pdu)
2237
0
2238
0
  _impl_._has_bits_[0] &= ~0x00000002u;
2239
0
  ::asn1_pdu::PDU* temp = _impl_.pdu_;
2240
0
  _impl_.pdu_ = nullptr;
2241
0
  return temp;
2242
0
}
2243
0
inline ::asn1_pdu::PDU* ValueElement::_internal_mutable_pdu() {
2244
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2245
0
  if (_impl_.pdu_ == nullptr) {
2246
0
    auto* p = ::google::protobuf::Message::DefaultConstruct<::asn1_pdu::PDU>(GetArena());
2247
0
    _impl_.pdu_ = reinterpret_cast<::asn1_pdu::PDU*>(p);
2248
0
  }
2249
0
  return _impl_.pdu_;
2250
0
}
2251
0
inline ::asn1_pdu::PDU* ValueElement::mutable_pdu() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2252
0
  _impl_._has_bits_[0] |= 0x00000002u;
2253
0
  ::asn1_pdu::PDU* _msg = _internal_mutable_pdu();
2254
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.ValueElement.pdu)
2255
0
  return _msg;
2256
0
}
2257
0
inline void ValueElement::set_allocated_pdu(::asn1_pdu::PDU* value) {
2258
0
  ::google::protobuf::Arena* message_arena = GetArena();
2259
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2260
0
  if (message_arena == nullptr) {
2261
0
    delete (_impl_.pdu_);
2262
0
  }
2263
0
2264
0
  if (value != nullptr) {
2265
0
    ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
2266
0
    if (message_arena != submessage_arena) {
2267
0
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2268
0
    }
2269
0
    _impl_._has_bits_[0] |= 0x00000002u;
2270
0
  } else {
2271
0
    _impl_._has_bits_[0] &= ~0x00000002u;
2272
0
  }
2273
0
2274
0
  _impl_.pdu_ = reinterpret_cast<::asn1_pdu::PDU*>(value);
2275
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.ValueElement.pdu)
2276
0
}
2277
2278
// required bytes val_bits = 2;
2279
0
inline bool ValueElement::has_val_bits() const {
2280
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2281
0
  return value;
2282
0
}
2283
0
inline void ValueElement::clear_val_bits() {
2284
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2285
0
  _impl_.val_bits_.ClearToEmpty();
2286
0
  _impl_._has_bits_[0] &= ~0x00000001u;
2287
0
}
2288
inline const std::string& ValueElement::val_bits() const
2289
123k
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
2290
  // @@protoc_insertion_point(field_get:asn1_pdu.ValueElement.val_bits)
2291
123k
  return _internal_val_bits();
2292
123k
}
2293
template <typename Arg_, typename... Args_>
2294
inline PROTOBUF_ALWAYS_INLINE void ValueElement::set_val_bits(Arg_&& arg,
2295
                                                     Args_... args) {
2296
  ::google::protobuf::internal::TSanWrite(&_impl_);
2297
  _impl_._has_bits_[0] |= 0x00000001u;
2298
  _impl_.val_bits_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
2299
  // @@protoc_insertion_point(field_set:asn1_pdu.ValueElement.val_bits)
2300
}
2301
0
inline std::string* ValueElement::mutable_val_bits() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2302
0
  std::string* _s = _internal_mutable_val_bits();
2303
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.ValueElement.val_bits)
2304
0
  return _s;
2305
0
}
2306
123k
inline const std::string& ValueElement::_internal_val_bits() const {
2307
123k
  ::google::protobuf::internal::TSanRead(&_impl_);
2308
123k
  return _impl_.val_bits_.Get();
2309
123k
}
2310
0
inline void ValueElement::_internal_set_val_bits(const std::string& value) {
2311
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2312
0
  _impl_._has_bits_[0] |= 0x00000001u;
2313
0
  _impl_.val_bits_.Set(value, GetArena());
2314
0
}
2315
0
inline std::string* ValueElement::_internal_mutable_val_bits() {
2316
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2317
0
  _impl_._has_bits_[0] |= 0x00000001u;
2318
0
  return _impl_.val_bits_.Mutable( GetArena());
2319
0
}
2320
0
inline std::string* ValueElement::release_val_bits() {
2321
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2322
0
  // @@protoc_insertion_point(field_release:asn1_pdu.ValueElement.val_bits)
2323
0
  if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2324
0
    return nullptr;
2325
0
  }
2326
0
  _impl_._has_bits_[0] &= ~0x00000001u;
2327
0
  auto* released = _impl_.val_bits_.Release();
2328
0
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2329
0
    _impl_.val_bits_.Set("", GetArena());
2330
0
  }
2331
0
  return released;
2332
0
}
2333
0
inline void ValueElement::set_allocated_val_bits(std::string* value) {
2334
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2335
0
  if (value != nullptr) {
2336
0
    _impl_._has_bits_[0] |= 0x00000001u;
2337
0
  } else {
2338
0
    _impl_._has_bits_[0] &= ~0x00000001u;
2339
0
  }
2340
0
  _impl_.val_bits_.SetAllocated(value, GetArena());
2341
0
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.val_bits_.IsDefault()) {
2342
0
    _impl_.val_bits_.Set("", GetArena());
2343
0
  }
2344
0
  // @@protoc_insertion_point(field_set_allocated:asn1_pdu.ValueElement.val_bits)
2345
0
}
2346
2347
// -------------------------------------------------------------------
2348
2349
// Value
2350
2351
// repeated .asn1_pdu.ValueElement val_array = 1;
2352
0
inline int Value::_internal_val_array_size() const {
2353
0
  return _internal_val_array().size();
2354
0
}
2355
0
inline int Value::val_array_size() const {
2356
0
  return _internal_val_array_size();
2357
0
}
2358
0
inline void Value::clear_val_array() {
2359
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2360
0
  _impl_.val_array_.Clear();
2361
0
}
2362
inline ::asn1_pdu::ValueElement* Value::mutable_val_array(int index)
2363
0
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
2364
0
  // @@protoc_insertion_point(field_mutable:asn1_pdu.Value.val_array)
2365
0
  return _internal_mutable_val_array()->Mutable(index);
2366
0
}
2367
inline ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>* Value::mutable_val_array()
2368
0
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
2369
0
  // @@protoc_insertion_point(field_mutable_list:asn1_pdu.Value.val_array)
2370
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2371
0
  return _internal_mutable_val_array();
2372
0
}
2373
inline const ::asn1_pdu::ValueElement& Value::val_array(int index) const
2374
0
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
2375
0
  // @@protoc_insertion_point(field_get:asn1_pdu.Value.val_array)
2376
0
  return _internal_val_array().Get(index);
2377
0
}
2378
0
inline ::asn1_pdu::ValueElement* Value::add_val_array() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2379
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2380
0
  ::asn1_pdu::ValueElement* _add = _internal_mutable_val_array()->Add();
2381
0
  // @@protoc_insertion_point(field_add:asn1_pdu.Value.val_array)
2382
0
  return _add;
2383
0
}
2384
inline const ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>& Value::val_array() const
2385
61.0k
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
2386
  // @@protoc_insertion_point(field_list:asn1_pdu.Value.val_array)
2387
61.0k
  return _internal_val_array();
2388
61.0k
}
2389
inline const ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>&
2390
65.5k
Value::_internal_val_array() const {
2391
65.5k
  ::google::protobuf::internal::TSanRead(&_impl_);
2392
65.5k
  return _impl_.val_array_;
2393
65.5k
}
2394
inline ::google::protobuf::RepeatedPtrField<::asn1_pdu::ValueElement>*
2395
4.44k
Value::_internal_mutable_val_array() {
2396
4.44k
  ::google::protobuf::internal::TSanRead(&_impl_);
2397
4.44k
  return &_impl_.val_array_;
2398
4.44k
}
2399
2400
#ifdef __GNUC__
2401
#pragma GCC diagnostic pop
2402
#endif  // __GNUC__
2403
2404
// @@protoc_insertion_point(namespace_scope)
2405
}  // namespace asn1_pdu
2406
2407
2408
namespace google {
2409
namespace protobuf {
2410
2411
template <>
2412
struct is_proto_enum<::asn1_pdu::LowTagNumber> : std::true_type {};
2413
template <>
2414
0
inline const EnumDescriptor* GetEnumDescriptor<::asn1_pdu::LowTagNumber>() {
2415
0
  return ::asn1_pdu::LowTagNumber_descriptor();
2416
0
}
2417
template <>
2418
struct is_proto_enum<::asn1_pdu::Class> : std::true_type {};
2419
template <>
2420
0
inline const EnumDescriptor* GetEnumDescriptor<::asn1_pdu::Class>() {
2421
0
  return ::asn1_pdu::Class_descriptor();
2422
0
}
2423
template <>
2424
struct is_proto_enum<::asn1_pdu::Encoding> : std::true_type {};
2425
template <>
2426
0
inline const EnumDescriptor* GetEnumDescriptor<::asn1_pdu::Encoding>() {
2427
0
  return ::asn1_pdu::Encoding_descriptor();
2428
0
}
2429
2430
}  // namespace protobuf
2431
}  // namespace google
2432
2433
// @@protoc_insertion_point(global_scope)
2434
2435
#include "google/protobuf/port_undef.inc"
2436
2437
#endif  // asn1_5fpdu_2eproto_2epb_2eh