YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/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
20.6k
void InitDefaultsContainerSupHeaderPBImpl() {
32
20.6k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
33
34
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
35
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
36
#else
37
20.6k
  ::google::protobuf::internal::InitProtobufDefaults();
38
20.6k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
39
20.6k
  protobuf_google_2fprotobuf_2fdescriptor_2eproto::InitDefaultsFileDescriptorSet();
40
20.6k
  {
41
20.6k
    void* ptr = &::yb::_ContainerSupHeaderPB_default_instance_;
42
20.6k
    new (ptr) ::yb::ContainerSupHeaderPB();
43
20.6k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
44
20.6k
  }
45
20.6k
  ::yb::ContainerSupHeaderPB::InitAsDefaultInstance();
46
20.6k
}
47
48
1.35M
void InitDefaultsContainerSupHeaderPB() {
49
1.35M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
50
1.35M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsContainerSupHeaderPBImpl);
51
1.35M
}
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
20.6k
void AddDescriptorsImpl() {
94
20.6k
  InitDefaults();
95
20.6k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
96
20.6k
      "\n\025yb/util/pb_util.proto\022\002yb\032 google/prot"
97
20.6k
      "obuf/descriptor.proto\"[\n\024ContainerSupHea"
98
20.6k
      "derPB\0222\n\006protos\030\001 \002(\0132\".google.protobuf."
99
20.6k
      "FileDescriptorSet\022\017\n\007pb_type\030\002 \002(\tB\010\n\006or"
100
20.6k
      "g.yb"
101
20.6k
  };
102
20.6k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
103
20.6k
      descriptor, 164);
104
20.6k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
105
20.6k
    "yb/util/pb_util.proto", &protobuf_RegisterTypes);
106
20.6k
  ::protobuf_google_2fprotobuf_2fdescriptor_2eproto::AddDescriptors();
107
20.6k
}
108
109
20.6k
void AddDescriptors() {
110
20.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
111
20.6k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
112
20.6k
}
113
// Force AddDescriptors() to be called at dynamic initialization time.
114
struct StaticDescriptorInitializer {
115
20.6k
  StaticDescriptorInitializer() {
116
20.6k
    AddDescriptors();
117
20.6k
  }
118
} static_descriptor_initializer;
119
}  // namespace protobuf_yb_2futil_2fpb_5futil_2eproto
120
namespace yb {
121
122
// ===================================================================
123
124
20.6k
void ContainerSupHeaderPB::InitAsDefaultInstance() {
125
20.6k
  ::yb::_ContainerSupHeaderPB_default_instance_._instance.get_mutable()->protos_ = const_cast< ::google::protobuf::FileDescriptorSet*>(
126
20.6k
      ::google::protobuf::FileDescriptorSet::internal_default_instance());
127
20.6k
}
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
1.35M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
139
1.33M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
140
1.33M
    ::protobuf_yb_2futil_2fpb_5futil_2eproto::InitDefaultsContainerSupHeaderPB();
141
1.33M
  }
142
1.35M
  SharedCtor();
143
  // @@protoc_insertion_point(constructor:yb.ContainerSupHeaderPB)
144
1.35M
}
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
1.35M
void ContainerSupHeaderPB::SharedCtor() {
164
1.35M
  _cached_size_ = 0;
165
1.35M
  pb_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
166
1.35M
  protos_ = NULL;
167
1.35M
}
168
169
1.33M
ContainerSupHeaderPB::~ContainerSupHeaderPB() {
170
  // @@protoc_insertion_point(destructor:yb.ContainerSupHeaderPB)
171
1.33M
  SharedDtor();
172
1.33M
}
173
174
1.33M
void ContainerSupHeaderPB::SharedDtor() {
175
1.33M
  pb_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
176
1.33M
  if (this != internal_default_instance()) delete protos_;
177
1.33M
}
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
198k
void ContainerSupHeaderPB::Clear() {
203
// @@protoc_insertion_point(message_clear_start:yb.ContainerSupHeaderPB)
204
198k
  ::google::protobuf::uint32 cached_has_bits = 0;
205
  // Prevent compiler warnings about cached_has_bits being unused
206
198k
  (void) cached_has_bits;
207
208
198k
  cached_has_bits = _has_bits_[0];
209
198k
  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
198k
  _has_bits_.Clear();
220
198k
  _internal_metadata_.Clear();
221
198k
}
222
223
bool ContainerSupHeaderPB::MergePartialFromCodedStream(
224
197k
    ::google::protobuf::io::CodedInputStream* input) {
225
395k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
226
197k
  ::google::protobuf::uint32 tag;
227
  // @@protoc_insertion_point(parse_start:yb.ContainerSupHeaderPB)
228
593k
  for (;;) {
229
593k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
230
593k
    tag = p.first;
231
593k
    if (!p.second) goto handle_unusual;
232
395k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
233
      // required .google.protobuf.FileDescriptorSet protos = 1;
234
197k
      case 1: {
235
197k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
236
197k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
237
197k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
238
197k
               input, mutable_protos()));
239
18.4E
        } else {
240
18.4E
          goto handle_unusual;
241
18.4E
        }
242
197k
        break;
243
197k
      }
244
245
      // required string pb_type = 2;
246
198k
      case 2: {
247
198k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
248
198k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
249
198k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
250
198k
                input, this->mutable_pb_type()));
251
198k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
252
198k
            this->pb_type().data(), static_cast<int>(this->pb_type().length()),
253
198k
            ::google::protobuf::internal::WireFormat::PARSE,
254
198k
            "yb.ContainerSupHeaderPB.pb_type");
255
18.4E
        } else {
256
18.4E
          goto handle_unusual;
257
18.4E
        }
258
198k
        break;
259
197k
      }
260
261
0
      default: {
262
197k
      handle_unusual:
263
197k
        if (tag == 0) {
264
197k
          goto success;
265
197k
        }
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
395k
    }
271
395k
  }
272
198k
success:
273
  // @@protoc_insertion_point(parse_success:yb.ContainerSupHeaderPB)
274
198k
  return true;
275
0
failure:
276
  // @@protoc_insertion_point(parse_failure:yb.ContainerSupHeaderPB)
277
0
  return false;
278
197k
#undef DO_
279
197k
}
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
1.13M
    bool deterministic, ::google::protobuf::uint8* target) const {
313
1.13M
  (void)deterministic; // Unused
314
  // @@protoc_insertion_point(serialize_to_array_start:yb.ContainerSupHeaderPB)
315
1.13M
  ::google::protobuf::uint32 cached_has_bits = 0;
316
1.13M
  (void) cached_has_bits;
317
318
1.13M
  cached_has_bits = _has_bits_[0];
319
  // required .google.protobuf.FileDescriptorSet protos = 1;
320
1.13M
  if (cached_has_bits & 0x00000002u) {
321
1.13M
    target = ::google::protobuf::internal::WireFormatLite::
322
1.13M
      InternalWriteMessageToArray(
323
1.13M
        1, *this->protos_, deterministic, target);
324
1.13M
  }
325
326
  // required string pb_type = 2;
327
1.13M
  if (cached_has_bits & 0x00000001u) {
328
1.13M
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
329
1.13M
      this->pb_type().data(), static_cast<int>(this->pb_type().length()),
330
1.13M
      ::google::protobuf::internal::WireFormat::SERIALIZE,
331
1.13M
      "yb.ContainerSupHeaderPB.pb_type");
332
1.13M
    target =
333
1.13M
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
334
1.13M
        2, this->pb_type(), target);
335
1.13M
  }
336
337
1.13M
  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
1.13M
  return target;
343
1.13M
}
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
1.13M
size_t ContainerSupHeaderPB::ByteSizeLong() const {
366
// @@protoc_insertion_point(message_byte_size_start:yb.ContainerSupHeaderPB)
367
1.13M
  size_t total_size = 0;
368
369
1.13M
  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
1.13M
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
375
    // required string pb_type = 2;
376
1.13M
    total_size += 1 +
377
1.13M
      ::google::protobuf::internal::WireFormatLite::StringSize(
378
1.13M
        this->pb_type());
379
380
    // required .google.protobuf.FileDescriptorSet protos = 1;
381
1.13M
    total_size += 1 +
382
1.13M
      ::google::protobuf::internal::WireFormatLite::MessageSize(
383
1.13M
        *this->protos_);
384
385
383
  } else {
386
383
    total_size += RequiredFieldsByteSizeFallback();
387
383
  }
388
1.13M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
389
1.13M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
390
1.13M
  _cached_size_ = cached_size;
391
1.13M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
392
1.13M
  return total_size;
393
1.13M
}
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
1.33M
bool ContainerSupHeaderPB::IsInitialized() const {
444
1.33M
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
445
1.33M
  if (has_protos()) {
446
1.33M
    if (!this->protos_->IsInitialized()) return false;
447
1.33M
  }
448
1.33M
  return true;
449
1.33M
}
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)