YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/util/pb_util.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/util/pb_util.proto
3
4
#include "yb/util/pb_util.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/stubs/common.h>
9
#include <google/protobuf/stubs/port.h>
10
#include <google/protobuf/stubs/once.h>
11
#include <google/protobuf/io/coded_stream.h>
12
#include <google/protobuf/wire_format_lite_inl.h>
13
#include <google/protobuf/descriptor.h>
14
#include <google/protobuf/generated_message_reflection.h>
15
#include <google/protobuf/reflection_ops.h>
16
#include <google/protobuf/wire_format.h>
17
// This is a temporary google only hack
18
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
19
#include "third_party/protobuf/version.h"
20
#endif
21
#include "yb/util/protobuf-annotations.h"
22
// @@protoc_insertion_point(includes)
23
namespace yb {
24
class ContainerSupHeaderPBDefaultTypeInternal {
25
 public:
26
  ::google::protobuf::internal::ExplicitlyConstructed<ContainerSupHeaderPB>
27
      _instance;
28
} _ContainerSupHeaderPB_default_instance_;
29
}  // namespace yb
30
namespace protobuf_yb_2futil_2fpb_5futil_2eproto {
31
32.7k
void InitDefaultsContainerSupHeaderPBImpl() {
32
32.7k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
33
34
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
35
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
36
#else
37
32.7k
  ::google::protobuf::internal::InitProtobufDefaults();
38
32.7k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
39
32.7k
  protobuf_google_2fprotobuf_2fdescriptor_2eproto::InitDefaultsFileDescriptorSet();
40
32.7k
  {
41
32.7k
    void* ptr = &::yb::_ContainerSupHeaderPB_default_instance_;
42
32.7k
    new (ptr) ::yb::ContainerSupHeaderPB();
43
32.7k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
44
32.7k
  }
45
32.7k
  ::yb::ContainerSupHeaderPB::InitAsDefaultInstance();
46
32.7k
}
47
48
2.47M
void InitDefaultsContainerSupHeaderPB() {
49
2.47M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
50
2.47M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsContainerSupHeaderPBImpl);
51
2.47M
}
52
53
::google::protobuf::Metadata file_level_metadata[1];
54
55
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
56
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::ContainerSupHeaderPB, _has_bits_),
57
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::ContainerSupHeaderPB, _internal_metadata_),
58
  ~0u,  // no _extensions_
59
  ~0u,  // no _oneof_case_
60
  ~0u,  // no _weak_field_map_
61
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::ContainerSupHeaderPB, protos_),
62
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::ContainerSupHeaderPB, pb_type_),
63
  1,
64
  0,
65
};
66
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
67
  { 0, 7, sizeof(::yb::ContainerSupHeaderPB)},
68
};
69
70
static ::google::protobuf::Message const * const file_default_instances[] = {
71
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::_ContainerSupHeaderPB_default_instance_),
72
};
73
74
0
void protobuf_AssignDescriptors() {
75
0
  AddDescriptors();
76
0
  ::google::protobuf::MessageFactory* factory = NULL;
77
0
  AssignDescriptors(
78
0
      "yb/util/pb_util.proto", schemas, file_default_instances, TableStruct::offsets, factory,
79
0
      file_level_metadata, NULL, NULL);
80
0
}
81
82
0
void protobuf_AssignDescriptorsOnce() {
83
0
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
84
0
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
85
0
}
86
87
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
88
0
void protobuf_RegisterTypes(const ::std::string&) {
89
0
  protobuf_AssignDescriptorsOnce();
90
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1);
91
0
}
92
93
32.7k
void AddDescriptorsImpl() {
94
32.7k
  InitDefaults();
95
32.7k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
96
32.7k
      "\n\025yb/util/pb_util.proto\022\002yb\032 google/prot"
97
32.7k
      "obuf/descriptor.proto\"[\n\024ContainerSupHea"
98
32.7k
      "derPB\0222\n\006protos\030\001 \002(\0132\".google.protobuf."
99
32.7k
      "FileDescriptorSet\022\017\n\007pb_type\030\002 \002(\tB\010\n\006or"
100
32.7k
      "g.yb"
101
32.7k
  };
102
32.7k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
103
32.7k
      descriptor, 164);
104
32.7k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
105
32.7k
    "yb/util/pb_util.proto", &protobuf_RegisterTypes);
106
32.7k
  ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::AddDescriptors();
107
32.7k
}
108
109
32.7k
void AddDescriptors() {
110
32.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
111
32.7k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
112
32.7k
}
113
// Force AddDescriptors() to be called at dynamic initialization time.
114
struct StaticDescriptorInitializer {
115
32.7k
  StaticDescriptorInitializer() {
116
32.7k
    AddDescriptors();
117
32.7k
  }
118
} static_descriptor_initializer;
119
}  // namespace protobuf_yb_2futil_2fpb_5futil_2eproto
120
namespace yb {
121
122
// ===================================================================
123
124
32.7k
void ContainerSupHeaderPB::InitAsDefaultInstance() {
125
32.7k
  ::yb::_ContainerSupHeaderPB_default_instance_._instance.get_mutable()->protos_ = const_cast< ::google::protobuf::FileDescriptorSet*>(
126
32.7k
      ::google::protobuf::FileDescriptorSet::internal_default_instance());
127
32.7k
}
128
0
void ContainerSupHeaderPB::clear_protos() {
129
0
  if (protos_ != NULL) protos_->Clear();
130
0
  clear_has_protos();
131
0
}
132
#if !defined(_MSC_VER) || _MSC_VER >= 1900
133
const int ContainerSupHeaderPB::kProtosFieldNumber;
134
const int ContainerSupHeaderPB::kPbTypeFieldNumber;
135
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
136
137
ContainerSupHeaderPB::ContainerSupHeaderPB()
138
2.47M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
139
2.47M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
140
2.43M
    ::protobuf_yb_2futil_2fpb_5futil_2eproto::InitDefaultsContainerSupHeaderPB();
141
2.43M
  }
142
2.47M
  SharedCtor();
143
  // @@protoc_insertion_point(constructor:yb.ContainerSupHeaderPB)
144
2.47M
}
145
ContainerSupHeaderPB::ContainerSupHeaderPB(const ContainerSupHeaderPB& from)
146
  : ::google::protobuf::Message(),
147
      _internal_metadata_(NULL),
148
      _has_bits_(from._has_bits_),
149
0
      _cached_size_(0) {
150
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
151
0
  pb_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
152
0
  if (from.has_pb_type()) {
153
0
    pb_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pb_type_);
154
0
  }
155
0
  if (from.has_protos()) {
156
0
    protos_ = new ::google::protobuf::FileDescriptorSet(*from.protos_);
157
0
  } else {
158
0
    protos_ = NULL;
159
0
  }
160
  // @@protoc_insertion_point(copy_constructor:yb.ContainerSupHeaderPB)
161
0
}
162
163
2.46M
void ContainerSupHeaderPB::SharedCtor() {
164
2.46M
  _cached_size_ = 0;
165
2.46M
  pb_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
166
2.46M
  protos_ = NULL;
167
2.46M
}
168
169
2.43M
ContainerSupHeaderPB::~ContainerSupHeaderPB() {
170
  // @@protoc_insertion_point(destructor:yb.ContainerSupHeaderPB)
171
2.43M
  SharedDtor();
172
2.43M
}
173
174
2.43M
void ContainerSupHeaderPB::SharedDtor() {
175
2.43M
  pb_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
176
2.43M
  if (this != internal_default_instance()) 
delete protos_2.43M
;
177
2.43M
}
178
179
0
void ContainerSupHeaderPB::SetCachedSize(int size) const {
180
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
181
0
  _cached_size_ = size;
182
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
183
0
}
184
0
const ::google::protobuf::Descriptor* ContainerSupHeaderPB::descriptor() {
185
0
  ::protobuf_yb_2futil_2fpb_5futil_2eproto::protobuf_AssignDescriptorsOnce();
186
0
  return ::protobuf_yb_2futil_2fpb_5futil_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
187
0
}
188
189
0
const ContainerSupHeaderPB& ContainerSupHeaderPB::default_instance() {
190
0
  ::protobuf_yb_2futil_2fpb_5futil_2eproto::InitDefaultsContainerSupHeaderPB();
191
0
  return *internal_default_instance();
192
0
}
193
194
0
ContainerSupHeaderPB* ContainerSupHeaderPB::New(::google::protobuf::Arena* arena) const {
195
0
  ContainerSupHeaderPB* n = new ContainerSupHeaderPB;
196
0
  if (arena != NULL) {
197
0
    arena->Own(n);
198
0
  }
199
0
  return n;
200
0
}
201
202
330k
void ContainerSupHeaderPB::Clear() {
203
// @@protoc_insertion_point(message_clear_start:yb.ContainerSupHeaderPB)
204
330k
  ::google::protobuf::uint32 cached_has_bits = 0;
205
  // Prevent compiler warnings about cached_has_bits being unused
206
330k
  (void) cached_has_bits;
207
208
330k
  cached_has_bits = _has_bits_[0];
209
330k
  if (cached_has_bits & 3u) {
210
0
    if (cached_has_bits & 0x00000001u) {
211
0
      GOOGLE_DCHECK(!pb_type_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
212
0
      (*pb_type_.UnsafeRawStringPointer())->clear();
213
0
    }
214
0
    if (cached_has_bits & 0x00000002u) {
215
0
      GOOGLE_DCHECK(protos_ != NULL);
216
0
      protos_->Clear();
217
0
    }
218
0
  }
219
330k
  _has_bits_.Clear();
220
330k
  _internal_metadata_.Clear();
221
330k
}
222
223
bool ContainerSupHeaderPB::MergePartialFromCodedStream(
224
330k
    ::google::protobuf::io::CodedInputStream* input) {
225
660k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) 
goto failure0
226
330k
  ::google::protobuf::uint32 tag;
227
  // @@protoc_insertion_point(parse_start:yb.ContainerSupHeaderPB)
228
992k
  for (;;) {
229
992k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
230
992k
    tag = p.first;
231
992k
    if (!p.second) 
goto handle_unusual330k
;
232
661k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
233
      // required .google.protobuf.FileDescriptorSet protos = 1;
234
329k
      case 1: {
235
329k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
236
329k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
237
329k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
238
329k
               input, mutable_protos()));
239
18.4E
        } else {
240
18.4E
          goto handle_unusual;
241
18.4E
        }
242
329k
        break;
243
329k
      }
244
245
      // required string pb_type = 2;
246
330k
      case 2: {
247
330k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
248
331k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
249
331k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
250
331k
                input, this->mutable_pb_type()));
251
331k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
252
331k
            this->pb_type().data(), static_cast<int>(this->pb_type().length()),
253
331k
            ::google::protobuf::internal::WireFormat::PARSE,
254
331k
            "yb.ContainerSupHeaderPB.pb_type");
255
18.4E
        } else {
256
18.4E
          goto handle_unusual;
257
18.4E
        }
258
331k
        break;
259
330k
      }
260
261
331k
      default: {
262
330k
      handle_unusual:
263
330k
        if (
tag == 0330k
) {
264
330k
          goto success;
265
330k
        }
266
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
267
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
268
18.4E
        break;
269
18.4E
      }
270
661k
    }
271
661k
  }
272
330k
success:
273
  // @@protoc_insertion_point(parse_success:yb.ContainerSupHeaderPB)
274
330k
  return true;
275
0
failure:
276
  // @@protoc_insertion_point(parse_failure:yb.ContainerSupHeaderPB)
277
0
  return false;
278
330k
#undef DO_
279
330k
}
280
281
void ContainerSupHeaderPB::SerializeWithCachedSizes(
282
0
    ::google::protobuf::io::CodedOutputStream* output) const {
283
  // @@protoc_insertion_point(serialize_start:yb.ContainerSupHeaderPB)
284
0
  ::google::protobuf::uint32 cached_has_bits = 0;
285
0
  (void) cached_has_bits;
286
287
0
  cached_has_bits = _has_bits_[0];
288
  // required .google.protobuf.FileDescriptorSet protos = 1;
289
0
  if (cached_has_bits & 0x00000002u) {
290
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
291
0
      1, *this->protos_, output);
292
0
  }
293
294
  // required string pb_type = 2;
295
0
  if (cached_has_bits & 0x00000001u) {
296
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
297
0
      this->pb_type().data(), static_cast<int>(this->pb_type().length()),
298
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
299
0
      "yb.ContainerSupHeaderPB.pb_type");
300
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
301
0
      2, this->pb_type(), output);
302
0
  }
303
304
0
  if (_internal_metadata_.have_unknown_fields()) {
305
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
306
0
        _internal_metadata_.unknown_fields(), output);
307
0
  }
308
  // @@protoc_insertion_point(serialize_end:yb.ContainerSupHeaderPB)
309
0
}
310
311
::google::protobuf::uint8* ContainerSupHeaderPB::InternalSerializeWithCachedSizesToArray(
312
2.10M
    bool deterministic, ::google::protobuf::uint8* target) const {
313
2.10M
  (void)deterministic; // Unused
314
  // @@protoc_insertion_point(serialize_to_array_start:yb.ContainerSupHeaderPB)
315
2.10M
  ::google::protobuf::uint32 cached_has_bits = 0;
316
2.10M
  (void) cached_has_bits;
317
318
2.10M
  cached_has_bits = _has_bits_[0];
319
  // required .google.protobuf.FileDescriptorSet protos = 1;
320
2.10M
  if (
cached_has_bits & 0x00000002u2.10M
) {
321
2.10M
    target = ::google::protobuf::internal::WireFormatLite::
322
2.10M
      InternalWriteMessageToArray(
323
2.10M
        1, *this->protos_, deterministic, target);
324
2.10M
  }
325
326
  // required string pb_type = 2;
327
2.10M
  if (
cached_has_bits & 0x00000001u2.10M
) {
328
2.10M
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
329
2.10M
      this->pb_type().data(), static_cast<int>(this->pb_type().length()),
330
2.10M
      ::google::protobuf::internal::WireFormat::SERIALIZE,
331
2.10M
      "yb.ContainerSupHeaderPB.pb_type");
332
2.10M
    target =
333
2.10M
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
334
2.10M
        2, this->pb_type(), target);
335
2.10M
  }
336
337
2.10M
  if (_internal_metadata_.have_unknown_fields()) {
338
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
339
0
        _internal_metadata_.unknown_fields(), target);
340
0
  }
341
  // @@protoc_insertion_point(serialize_to_array_end:yb.ContainerSupHeaderPB)
342
2.10M
  return target;
343
2.10M
}
344
345
0
size_t ContainerSupHeaderPB::RequiredFieldsByteSizeFallback() const {
346
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.ContainerSupHeaderPB)
347
0
  size_t total_size = 0;
348
349
0
  if (has_pb_type()) {
350
    // required string pb_type = 2;
351
0
    total_size += 1 +
352
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
353
0
        this->pb_type());
354
0
  }
355
356
0
  if (has_protos()) {
357
    // required .google.protobuf.FileDescriptorSet protos = 1;
358
0
    total_size += 1 +
359
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
360
0
        *this->protos_);
361
0
  }
362
363
0
  return total_size;
364
0
}
365
2.10M
size_t ContainerSupHeaderPB::ByteSizeLong() const {
366
// @@protoc_insertion_point(message_byte_size_start:yb.ContainerSupHeaderPB)
367
2.10M
  size_t total_size = 0;
368
369
2.10M
  if (_internal_metadata_.have_unknown_fields()) {
370
0
    total_size +=
371
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
372
0
        _internal_metadata_.unknown_fields());
373
0
  }
374
2.10M
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
375
    // required string pb_type = 2;
376
2.10M
    total_size += 1 +
377
2.10M
      ::google::protobuf::internal::WireFormatLite::StringSize(
378
2.10M
        this->pb_type());
379
380
    // required .google.protobuf.FileDescriptorSet protos = 1;
381
2.10M
    total_size += 1 +
382
2.10M
      ::google::protobuf::internal::WireFormatLite::MessageSize(
383
2.10M
        *this->protos_);
384
385
2.10M
  } else {
386
483
    total_size += RequiredFieldsByteSizeFallback();
387
483
  }
388
2.10M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
389
2.10M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
390
2.10M
  _cached_size_ = cached_size;
391
2.10M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
392
2.10M
  return total_size;
393
2.10M
}
394
395
0
void ContainerSupHeaderPB::MergeFrom(const ::google::protobuf::Message& from) {
396
// @@protoc_insertion_point(generalized_merge_from_start:yb.ContainerSupHeaderPB)
397
0
  GOOGLE_DCHECK_NE(&from, this);
398
0
  const ContainerSupHeaderPB* source =
399
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ContainerSupHeaderPB>(
400
0
          &from);
401
0
  if (source == NULL) {
402
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.ContainerSupHeaderPB)
403
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
404
0
  } else {
405
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.ContainerSupHeaderPB)
406
0
    MergeFrom(*source);
407
0
  }
408
0
}
409
410
0
void ContainerSupHeaderPB::MergeFrom(const ContainerSupHeaderPB& from) {
411
// @@protoc_insertion_point(class_specific_merge_from_start:yb.ContainerSupHeaderPB)
412
0
  GOOGLE_DCHECK_NE(&from, this);
413
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
414
0
  ::google::protobuf::uint32 cached_has_bits = 0;
415
0
  (void) cached_has_bits;
416
417
0
  cached_has_bits = from._has_bits_[0];
418
0
  if (cached_has_bits & 3u) {
419
0
    if (cached_has_bits & 0x00000001u) {
420
0
      set_has_pb_type();
421
0
      pb_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.pb_type_);
422
0
    }
423
0
    if (cached_has_bits & 0x00000002u) {
424
0
      mutable_protos()->::google::protobuf::FileDescriptorSet::MergeFrom(from.protos());
425
0
    }
426
0
  }
427
0
}
428
429
0
void ContainerSupHeaderPB::CopyFrom(const ::google::protobuf::Message& from) {
430
// @@protoc_insertion_point(generalized_copy_from_start:yb.ContainerSupHeaderPB)
431
0
  if (&from == this) return;
432
0
  Clear();
433
0
  MergeFrom(from);
434
0
}
435
436
0
void ContainerSupHeaderPB::CopyFrom(const ContainerSupHeaderPB& from) {
437
// @@protoc_insertion_point(class_specific_copy_from_start:yb.ContainerSupHeaderPB)
438
0
  if (&from == this) return;
439
0
  Clear();
440
0
  MergeFrom(from);
441
0
}
442
443
2.43M
bool ContainerSupHeaderPB::IsInitialized() const {
444
2.43M
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) 
return false0
;
445
2.43M
  if (has_protos()) {
446
2.43M
    if (!this->protos_->IsInitialized()) 
return false0
;
447
2.43M
  }
448
2.43M
  return true;
449
2.43M
}
450
451
0
void ContainerSupHeaderPB::Swap(ContainerSupHeaderPB* other) {
452
0
  if (other == this) return;
453
0
  InternalSwap(other);
454
0
}
455
0
void ContainerSupHeaderPB::InternalSwap(ContainerSupHeaderPB* other) {
456
0
  using std::swap;
457
0
  pb_type_.Swap(&other->pb_type_);
458
0
  swap(protos_, other->protos_);
459
0
  swap(_has_bits_[0], other->_has_bits_[0]);
460
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
461
0
  swap(_cached_size_, other->_cached_size_);
462
0
}
463
464
0
::google::protobuf::Metadata ContainerSupHeaderPB::GetMetadata() const {
465
0
  protobuf_yb_2futil_2fpb_5futil_2eproto::protobuf_AssignDescriptorsOnce();
466
0
  return ::protobuf_yb_2futil_2fpb_5futil_2eproto::file_level_metadata[kIndexInFileMessages];
467
0
}
468
469
470
// @@protoc_insertion_point(namespace_scope)
471
}  // namespace yb
472
473
// @@protoc_insertion_point(global_scope)