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.h
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
#ifndef PROTOBUF_yb_2futil_2fpb_5futil_2eproto__INCLUDED
5
#define PROTOBUF_yb_2futil_2fpb_5futil_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers.  Please update
14
#error your headers.
15
#endif
16
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers.  Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.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/unknown_field_set.h>
32
#include <google/protobuf/descriptor.pb.h>
33
// @@protoc_insertion_point(includes)
34
35
namespace protobuf_yb_2futil_2fpb_5futil_2eproto {
36
// Internal implementation detail -- do not use these members.
37
struct TableStruct {
38
  static const ::google::protobuf::internal::ParseTableField entries[];
39
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
40
  static const ::google::protobuf::internal::ParseTable schema[1];
41
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
42
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
43
  static const ::google::protobuf::uint32 offsets[];
44
};
45
void AddDescriptors();
46
void InitDefaultsContainerSupHeaderPBImpl();
47
void InitDefaultsContainerSupHeaderPB();
48
20.6k
inline void InitDefaults() {
49
20.6k
  InitDefaultsContainerSupHeaderPB();
50
20.6k
}
51
}  // namespace protobuf_yb_2futil_2fpb_5futil_2eproto
52
namespace yb {
53
class ContainerSupHeaderPB;
54
class ContainerSupHeaderPBDefaultTypeInternal;
55
extern ContainerSupHeaderPBDefaultTypeInternal _ContainerSupHeaderPB_default_instance_;
56
}  // namespace yb
57
namespace yb {
58
59
// ===================================================================
60
61
class ContainerSupHeaderPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ContainerSupHeaderPB) */ {
62
 public:
63
  ContainerSupHeaderPB();
64
  virtual ~ContainerSupHeaderPB();
65
66
  ContainerSupHeaderPB(const ContainerSupHeaderPB& from);
67
68
0
  inline ContainerSupHeaderPB& operator=(const ContainerSupHeaderPB& from) {
69
0
    CopyFrom(from);
70
0
    return *this;
71
0
  }
72
  #if LANG_CXX11
73
  ContainerSupHeaderPB(ContainerSupHeaderPB&& from) noexcept
74
0
    : ContainerSupHeaderPB() {
75
0
    *this = ::std::move(from);
76
0
  }
77
78
0
  inline ContainerSupHeaderPB& operator=(ContainerSupHeaderPB&& from) noexcept {
79
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
80
0
      if (this != &from) InternalSwap(&from);
81
0
    } else {
82
0
      CopyFrom(from);
83
0
    }
84
0
    return *this;
85
0
  }
86
  #endif
87
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
88
0
    return _internal_metadata_.unknown_fields();
89
0
  }
90
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
91
0
    return _internal_metadata_.mutable_unknown_fields();
92
0
  }
93
94
  static const ::google::protobuf::Descriptor* descriptor();
95
  static const ContainerSupHeaderPB& default_instance();
96
97
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
98
2.68M
  static inline const ContainerSupHeaderPB* internal_default_instance() {
99
2.68M
    return reinterpret_cast<const ContainerSupHeaderPB*>(
100
2.68M
               &_ContainerSupHeaderPB_default_instance_);
101
2.68M
  }
102
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
103
    0;
104
105
  void Swap(ContainerSupHeaderPB* other);
106
0
  friend void swap(ContainerSupHeaderPB& a, ContainerSupHeaderPB& b) {
107
0
    a.Swap(&b);
108
0
  }
109
110
  // implements Message ----------------------------------------------
111
112
0
  inline ContainerSupHeaderPB* New() const PROTOBUF_FINAL { return New(NULL); }
113
114
  ContainerSupHeaderPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
115
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
116
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
117
  void CopyFrom(const ContainerSupHeaderPB& from);
118
  void MergeFrom(const ContainerSupHeaderPB& from);
119
  void Clear() PROTOBUF_FINAL;
120
  bool IsInitialized() const PROTOBUF_FINAL;
121
122
  size_t ByteSizeLong() const PROTOBUF_FINAL;
123
  bool MergePartialFromCodedStream(
124
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
125
  void SerializeWithCachedSizes(
126
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
127
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
128
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
129
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
130
  private:
131
  void SharedCtor();
132
  void SharedDtor();
133
  void SetCachedSize(int size) const PROTOBUF_FINAL;
134
  void InternalSwap(ContainerSupHeaderPB* other);
135
  private:
136
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
137
0
    return NULL;
138
0
  }
139
0
  inline void* MaybeArenaPtr() const {
140
0
    return NULL;
141
0
  }
142
  public:
143
144
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
145
146
  // nested types ----------------------------------------------------
147
148
  // accessors -------------------------------------------------------
149
150
  // required string pb_type = 2;
151
  bool has_pb_type() const;
152
  void clear_pb_type();
153
  static const int kPbTypeFieldNumber = 2;
154
  const ::std::string& pb_type() const;
155
  void set_pb_type(const ::std::string& value);
156
  #if LANG_CXX11
157
  void set_pb_type(::std::string&& value);
158
  #endif
159
  void set_pb_type(const char* value);
160
  void set_pb_type(const char* value, size_t size);
161
  ::std::string* mutable_pb_type();
162
  ::std::string* release_pb_type();
163
  void set_allocated_pb_type(::std::string* pb_type);
164
165
  // required .google.protobuf.FileDescriptorSet protos = 1;
166
  bool has_protos() const;
167
  void clear_protos();
168
  static const int kProtosFieldNumber = 1;
169
  const ::google::protobuf::FileDescriptorSet& protos() const;
170
  ::google::protobuf::FileDescriptorSet* release_protos();
171
  ::google::protobuf::FileDescriptorSet* mutable_protos();
172
  void set_allocated_protos(::google::protobuf::FileDescriptorSet* protos);
173
174
  // @@protoc_insertion_point(class_scope:yb.ContainerSupHeaderPB)
175
 private:
176
  void set_has_protos();
177
  void clear_has_protos();
178
  void set_has_pb_type();
179
  void clear_has_pb_type();
180
181
  // helper for ByteSizeLong()
182
  size_t RequiredFieldsByteSizeFallback() const;
183
184
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
185
  ::google::protobuf::internal::HasBits<1> _has_bits_;
186
  mutable int _cached_size_;
187
  ::google::protobuf::internal::ArenaStringPtr pb_type_;
188
  ::google::protobuf::FileDescriptorSet* protos_;
189
  friend struct ::protobuf_yb_2futil_2fpb_5futil_2eproto::TableStruct;
190
  friend void ::protobuf_yb_2futil_2fpb_5futil_2eproto::InitDefaultsContainerSupHeaderPBImpl();
191
};
192
// ===================================================================
193
194
195
// ===================================================================
196
197
#ifdef __GNUC__
198
  #pragma GCC diagnostic push
199
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
200
#endif  // __GNUC__
201
// ContainerSupHeaderPB
202
203
// required .google.protobuf.FileDescriptorSet protos = 1;
204
1.33M
inline bool ContainerSupHeaderPB::has_protos() const {
205
1.33M
  return (_has_bits_[0] & 0x00000002u) != 0;
206
1.33M
}
207
1.33M
inline void ContainerSupHeaderPB::set_has_protos() {
208
1.33M
  _has_bits_[0] |= 0x00000002u;
209
1.33M
}
210
198k
inline void ContainerSupHeaderPB::clear_has_protos() {
211
198k
  _has_bits_[0] &= ~0x00000002u;
212
198k
}
213
0
inline const ::google::protobuf::FileDescriptorSet& ContainerSupHeaderPB::protos() const {
214
0
  const ::google::protobuf::FileDescriptorSet* p = protos_;
215
  // @@protoc_insertion_point(field_get:yb.ContainerSupHeaderPB.protos)
216
0
  return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::FileDescriptorSet*>(
217
0
      &::google::protobuf::_FileDescriptorSet_default_instance_);
218
0
}
219
198k
inline ::google::protobuf::FileDescriptorSet* ContainerSupHeaderPB::release_protos() {
220
  // @@protoc_insertion_point(field_release:yb.ContainerSupHeaderPB.protos)
221
198k
  clear_has_protos();
222
198k
  ::google::protobuf::FileDescriptorSet* temp = protos_;
223
198k
  protos_ = NULL;
224
198k
  return temp;
225
198k
}
226
1.33M
inline ::google::protobuf::FileDescriptorSet* ContainerSupHeaderPB::mutable_protos() {
227
1.33M
  set_has_protos();
228
1.33M
  if (protos_ == NULL) {
229
1.32M
    protos_ = new ::google::protobuf::FileDescriptorSet;
230
1.32M
  }
231
  // @@protoc_insertion_point(field_mutable:yb.ContainerSupHeaderPB.protos)
232
1.33M
  return protos_;
233
1.33M
}
234
0
inline void ContainerSupHeaderPB::set_allocated_protos(::google::protobuf::FileDescriptorSet* protos) {
235
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
236
0
  if (message_arena == NULL) {
237
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(protos_);
238
0
  }
239
0
  if (protos) {
240
0
    ::google::protobuf::Arena* submessage_arena =
241
0
      reinterpret_cast< ::google::protobuf::MessageLite*>(protos)->GetArena();
242
0
    if (message_arena != submessage_arena) {
243
0
      protos = ::google::protobuf::internal::GetOwnedMessage(
244
0
          message_arena, protos, submessage_arena);
245
0
    }
246
0
    set_has_protos();
247
0
  } else {
248
0
    clear_has_protos();
249
0
  }
250
0
  protos_ = protos;
251
0
  // @@protoc_insertion_point(field_set_allocated:yb.ContainerSupHeaderPB.protos)
252
0
}
253
254
// required string pb_type = 2;
255
0
inline bool ContainerSupHeaderPB::has_pb_type() const {
256
0
  return (_has_bits_[0] & 0x00000001u) != 0;
257
0
}
258
1.33M
inline void ContainerSupHeaderPB::set_has_pb_type() {
259
1.33M
  _has_bits_[0] |= 0x00000001u;
260
1.33M
}
261
0
inline void ContainerSupHeaderPB::clear_has_pb_type() {
262
0
  _has_bits_[0] &= ~0x00000001u;
263
0
}
264
0
inline void ContainerSupHeaderPB::clear_pb_type() {
265
0
  pb_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
266
0
  clear_has_pb_type();
267
0
}
268
5.12M
inline const ::std::string& ContainerSupHeaderPB::pb_type() const {
269
  // @@protoc_insertion_point(field_get:yb.ContainerSupHeaderPB.pb_type)
270
5.12M
  return pb_type_.GetNoArena();
271
5.12M
}
272
0
inline void ContainerSupHeaderPB::set_pb_type(const ::std::string& value) {
273
0
  set_has_pb_type();
274
0
  pb_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
275
0
  // @@protoc_insertion_point(field_set:yb.ContainerSupHeaderPB.pb_type)
276
0
}
277
#if LANG_CXX11
278
1.13M
inline void ContainerSupHeaderPB::set_pb_type(::std::string&& value) {
279
1.13M
  set_has_pb_type();
280
1.13M
  pb_type_.SetNoArena(
281
1.13M
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
282
  // @@protoc_insertion_point(field_set_rvalue:yb.ContainerSupHeaderPB.pb_type)
283
1.13M
}
284
#endif
285
0
inline void ContainerSupHeaderPB::set_pb_type(const char* value) {
286
0
  GOOGLE_DCHECK(value != NULL);
287
0
  set_has_pb_type();
288
0
  pb_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
289
0
  // @@protoc_insertion_point(field_set_char:yb.ContainerSupHeaderPB.pb_type)
290
0
}
291
0
inline void ContainerSupHeaderPB::set_pb_type(const char* value, size_t size) {
292
0
  set_has_pb_type();
293
0
  pb_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
294
0
      ::std::string(reinterpret_cast<const char*>(value), size));
295
0
  // @@protoc_insertion_point(field_set_pointer:yb.ContainerSupHeaderPB.pb_type)
296
0
}
297
198k
inline ::std::string* ContainerSupHeaderPB::mutable_pb_type() {
298
198k
  set_has_pb_type();
299
  // @@protoc_insertion_point(field_mutable:yb.ContainerSupHeaderPB.pb_type)
300
198k
  return pb_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
301
198k
}
302
0
inline ::std::string* ContainerSupHeaderPB::release_pb_type() {
303
0
  // @@protoc_insertion_point(field_release:yb.ContainerSupHeaderPB.pb_type)
304
0
  clear_has_pb_type();
305
0
  return pb_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
306
0
}
307
0
inline void ContainerSupHeaderPB::set_allocated_pb_type(::std::string* pb_type) {
308
0
  if (pb_type != NULL) {
309
0
    set_has_pb_type();
310
0
  } else {
311
0
    clear_has_pb_type();
312
0
  }
313
0
  pb_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pb_type);
314
0
  // @@protoc_insertion_point(field_set_allocated:yb.ContainerSupHeaderPB.pb_type)
315
0
}
316
317
#ifdef __GNUC__
318
  #pragma GCC diagnostic pop
319
#endif  // __GNUC__
320
321
// @@protoc_insertion_point(namespace_scope)
322
323
}  // namespace yb
324
325
// @@protoc_insertion_point(global_scope)
326
327
#endif  // PROTOBUF_yb_2futil_2fpb_5futil_2eproto__INCLUDED