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/rpc/lightweight_message.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/rpc/lightweight_message.proto
3
4
#ifndef PROTOBUF_yb_2frpc_2flightweight_5fmessage_2eproto__INCLUDED
5
#define PROTOBUF_yb_2frpc_2flightweight_5fmessage_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/generated_enum_reflection.h>
32
#include <google/protobuf/unknown_field_set.h>
33
#include <google/protobuf/descriptor.pb.h>
34
// @@protoc_insertion_point(includes)
35
36
namespace protobuf_yb_2frpc_2flightweight_5fmessage_2eproto {
37
// Internal implementation detail -- do not use these members.
38
struct TableStruct {
39
  static const ::google::protobuf::internal::ParseTableField entries[];
40
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
41
  static const ::google::protobuf::internal::ParseTable schema[3];
42
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
43
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
44
  static const ::google::protobuf::uint32 offsets[];
45
};
46
void AddDescriptors();
47
void InitDefaultsLightweightMethodOptionsImpl();
48
void InitDefaultsLightweightMethodOptions();
49
void InitDefaultsLightweightFieldOptionsImpl();
50
void InitDefaultsLightweightFieldOptions();
51
void InitDefaultsLightweightMessageOptionsImpl();
52
void InitDefaultsLightweightMessageOptions();
53
26.9k
inline void InitDefaults() {
54
26.9k
  InitDefaultsLightweightMethodOptions();
55
26.9k
  InitDefaultsLightweightFieldOptions();
56
26.9k
  InitDefaultsLightweightMessageOptions();
57
26.9k
}
58
}  // namespace protobuf_yb_2frpc_2flightweight_5fmessage_2eproto
59
namespace yb {
60
namespace rpc {
61
class LightweightFieldOptions;
62
class LightweightFieldOptionsDefaultTypeInternal;
63
extern LightweightFieldOptionsDefaultTypeInternal _LightweightFieldOptions_default_instance_;
64
class LightweightMessageOptions;
65
class LightweightMessageOptionsDefaultTypeInternal;
66
extern LightweightMessageOptionsDefaultTypeInternal _LightweightMessageOptions_default_instance_;
67
class LightweightMethodOptions;
68
class LightweightMethodOptionsDefaultTypeInternal;
69
extern LightweightMethodOptionsDefaultTypeInternal _LightweightMethodOptions_default_instance_;
70
}  // namespace rpc
71
}  // namespace yb
72
namespace yb {
73
namespace rpc {
74
75
enum RpcSides {
76
  NONE = 0,
77
  SERVICE = 1,
78
  PROXY = 2,
79
  BOTH = 3,
80
  RpcSides_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
81
  RpcSides_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
82
};
83
bool RpcSides_IsValid(int value);
84
const RpcSides RpcSides_MIN = NONE;
85
const RpcSides RpcSides_MAX = BOTH;
86
const int RpcSides_ARRAYSIZE = RpcSides_MAX + 1;
87
88
const ::google::protobuf::EnumDescriptor* RpcSides_descriptor();
89
0
inline const ::std::string& RpcSides_Name(RpcSides value) {
90
0
  return ::google::protobuf::internal::NameOfEnum(
91
0
    RpcSides_descriptor(), value);
92
0
}
93
inline bool RpcSides_Parse(
94
0
    const ::std::string& name, RpcSides* value) {
95
0
  return ::google::protobuf::internal::ParseNamedEnum<RpcSides>(
96
0
    RpcSides_descriptor(), name, value);
97
0
}
98
// ===================================================================
99
100
class LightweightMethodOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc.LightweightMethodOptions) */ {
101
 public:
102
  LightweightMethodOptions();
103
  virtual ~LightweightMethodOptions();
104
105
  LightweightMethodOptions(const LightweightMethodOptions& from);
106
107
0
  inline LightweightMethodOptions& operator=(const LightweightMethodOptions& from) {
108
0
    CopyFrom(from);
109
0
    return *this;
110
0
  }
111
  #if LANG_CXX11
112
  LightweightMethodOptions(LightweightMethodOptions&& from) noexcept
113
0
    : LightweightMethodOptions() {
114
0
    *this = ::std::move(from);
115
0
  }
116
117
0
  inline LightweightMethodOptions& operator=(LightweightMethodOptions&& from) noexcept {
118
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
119
0
      if (this != &from) InternalSwap(&from);
120
0
    } else {
121
0
      CopyFrom(from);
122
0
    }
123
0
    return *this;
124
0
  }
125
  #endif
126
  static const ::google::protobuf::Descriptor* descriptor();
127
  static const LightweightMethodOptions& default_instance();
128
129
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
130
81.2k
  static inline const LightweightMethodOptions* internal_default_instance() {
131
81.2k
    return reinterpret_cast<const LightweightMethodOptions*>(
132
81.2k
               &_LightweightMethodOptions_default_instance_);
133
81.2k
  }
134
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
135
    0;
136
137
  void Swap(LightweightMethodOptions* other);
138
0
  friend void swap(LightweightMethodOptions& a, LightweightMethodOptions& b) {
139
0
    a.Swap(&b);
140
0
  }
141
142
  // implements Message ----------------------------------------------
143
144
0
  inline LightweightMethodOptions* New() const PROTOBUF_FINAL { return New(NULL); }
145
146
  LightweightMethodOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
147
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
148
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
149
  void CopyFrom(const LightweightMethodOptions& from);
150
  void MergeFrom(const LightweightMethodOptions& from);
151
  void Clear() PROTOBUF_FINAL;
152
  bool IsInitialized() const PROTOBUF_FINAL;
153
154
  size_t ByteSizeLong() const PROTOBUF_FINAL;
155
  bool MergePartialFromCodedStream(
156
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
157
  void SerializeWithCachedSizes(
158
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
159
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
160
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
161
66
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
162
  private:
163
  void SharedCtor();
164
  void SharedDtor();
165
  void SetCachedSize(int size) const PROTOBUF_FINAL;
166
  void InternalSwap(LightweightMethodOptions* other);
167
  private:
168
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
169
0
    return NULL;
170
0
  }
171
0
  inline void* MaybeArenaPtr() const {
172
0
    return NULL;
173
0
  }
174
  public:
175
176
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
177
178
  // nested types ----------------------------------------------------
179
180
  // accessors -------------------------------------------------------
181
182
  // .yb.rpc.RpcSides sides = 1;
183
  void clear_sides();
184
  static const int kSidesFieldNumber = 1;
185
  ::yb::rpc::RpcSides sides() const;
186
  void set_sides(::yb::rpc::RpcSides value);
187
188
  // @@protoc_insertion_point(class_scope:yb.rpc.LightweightMethodOptions)
189
 private:
190
191
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
192
  int sides_;
193
  mutable int _cached_size_;
194
  friend struct ::protobuf_yb_2frpc_2flightweight_5fmessage_2eproto::TableStruct;
195
  friend void ::protobuf_yb_2frpc_2flightweight_5fmessage_2eproto::InitDefaultsLightweightMethodOptionsImpl();
196
};
197
// -------------------------------------------------------------------
198
199
class LightweightFieldOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc.LightweightFieldOptions) */ {
200
 public:
201
  LightweightFieldOptions();
202
  virtual ~LightweightFieldOptions();
203
204
  LightweightFieldOptions(const LightweightFieldOptions& from);
205
206
0
  inline LightweightFieldOptions& operator=(const LightweightFieldOptions& from) {
207
0
    CopyFrom(from);
208
0
    return *this;
209
0
  }
210
  #if LANG_CXX11
211
  LightweightFieldOptions(LightweightFieldOptions&& from) noexcept
212
0
    : LightweightFieldOptions() {
213
0
    *this = ::std::move(from);
214
0
  }
215
216
0
  inline LightweightFieldOptions& operator=(LightweightFieldOptions&& from) noexcept {
217
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
218
0
      if (this != &from) InternalSwap(&from);
219
0
    } else {
220
0
      CopyFrom(from);
221
0
    }
222
0
    return *this;
223
0
  }
224
  #endif
225
  static const ::google::protobuf::Descriptor* descriptor();
226
  static const LightweightFieldOptions& default_instance();
227
228
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
229
81.4k
  static inline const LightweightFieldOptions* internal_default_instance() {
230
81.4k
    return reinterpret_cast<const LightweightFieldOptions*>(
231
81.4k
               &_LightweightFieldOptions_default_instance_);
232
81.4k
  }
233
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
234
    1;
235
236
  void Swap(LightweightFieldOptions* other);
237
0
  friend void swap(LightweightFieldOptions& a, LightweightFieldOptions& b) {
238
0
    a.Swap(&b);
239
0
  }
240
241
  // implements Message ----------------------------------------------
242
243
0
  inline LightweightFieldOptions* New() const PROTOBUF_FINAL { return New(NULL); }
244
245
  LightweightFieldOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
246
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
247
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
248
  void CopyFrom(const LightweightFieldOptions& from);
249
  void MergeFrom(const LightweightFieldOptions& from);
250
  void Clear() PROTOBUF_FINAL;
251
  bool IsInitialized() const PROTOBUF_FINAL;
252
253
  size_t ByteSizeLong() const PROTOBUF_FINAL;
254
  bool MergePartialFromCodedStream(
255
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
256
  void SerializeWithCachedSizes(
257
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
258
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
259
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
260
132
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
261
  private:
262
  void SharedCtor();
263
  void SharedDtor();
264
  void SetCachedSize(int size) const PROTOBUF_FINAL;
265
  void InternalSwap(LightweightFieldOptions* other);
266
  private:
267
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
268
0
    return NULL;
269
0
  }
270
0
  inline void* MaybeArenaPtr() const {
271
0
    return NULL;
272
0
  }
273
  public:
274
275
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
276
277
  // nested types ----------------------------------------------------
278
279
  // accessors -------------------------------------------------------
280
281
  // bool pointer = 1;
282
  void clear_pointer();
283
  static const int kPointerFieldNumber = 1;
284
  bool pointer() const;
285
  void set_pointer(bool value);
286
287
  // @@protoc_insertion_point(class_scope:yb.rpc.LightweightFieldOptions)
288
 private:
289
290
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
291
  bool pointer_;
292
  mutable int _cached_size_;
293
  friend struct ::protobuf_yb_2frpc_2flightweight_5fmessage_2eproto::TableStruct;
294
  friend void ::protobuf_yb_2frpc_2flightweight_5fmessage_2eproto::InitDefaultsLightweightFieldOptionsImpl();
295
};
296
// -------------------------------------------------------------------
297
298
class LightweightMessageOptions : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.rpc.LightweightMessageOptions) */ {
299
 public:
300
  LightweightMessageOptions();
301
  virtual ~LightweightMessageOptions();
302
303
  LightweightMessageOptions(const LightweightMessageOptions& from);
304
305
0
  inline LightweightMessageOptions& operator=(const LightweightMessageOptions& from) {
306
0
    CopyFrom(from);
307
0
    return *this;
308
0
  }
309
  #if LANG_CXX11
310
  LightweightMessageOptions(LightweightMessageOptions&& from) noexcept
311
0
    : LightweightMessageOptions() {
312
0
    *this = ::std::move(from);
313
0
  }
314
315
0
  inline LightweightMessageOptions& operator=(LightweightMessageOptions&& from) noexcept {
316
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
317
0
      if (this != &from) InternalSwap(&from);
318
0
    } else {
319
0
      CopyFrom(from);
320
0
    }
321
0
    return *this;
322
0
  }
323
  #endif
324
  static const ::google::protobuf::Descriptor* descriptor();
325
  static const LightweightMessageOptions& default_instance();
326
327
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
328
80.9k
  static inline const LightweightMessageOptions* internal_default_instance() {
329
80.9k
    return reinterpret_cast<const LightweightMessageOptions*>(
330
80.9k
               &_LightweightMessageOptions_default_instance_);
331
80.9k
  }
332
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
333
    2;
334
335
  void Swap(LightweightMessageOptions* other);
336
0
  friend void swap(LightweightMessageOptions& a, LightweightMessageOptions& b) {
337
0
    a.Swap(&b);
338
0
  }
339
340
  // implements Message ----------------------------------------------
341
342
0
  inline LightweightMessageOptions* New() const PROTOBUF_FINAL { return New(NULL); }
343
344
  LightweightMessageOptions* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
345
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
346
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
347
  void CopyFrom(const LightweightMessageOptions& from);
348
  void MergeFrom(const LightweightMessageOptions& from);
349
  void Clear() PROTOBUF_FINAL;
350
  bool IsInitialized() const PROTOBUF_FINAL;
351
352
  size_t ByteSizeLong() const PROTOBUF_FINAL;
353
  bool MergePartialFromCodedStream(
354
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
355
  void SerializeWithCachedSizes(
356
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
357
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
358
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
359
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
360
  private:
361
  void SharedCtor();
362
  void SharedDtor();
363
  void SetCachedSize(int size) const PROTOBUF_FINAL;
364
  void InternalSwap(LightweightMessageOptions* other);
365
  private:
366
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
367
0
    return NULL;
368
0
  }
369
0
  inline void* MaybeArenaPtr() const {
370
0
    return NULL;
371
0
  }
372
  public:
373
374
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
375
376
  // nested types ----------------------------------------------------
377
378
  // accessors -------------------------------------------------------
379
380
  // bool force_arena = 1;
381
  void clear_force_arena();
382
  static const int kForceArenaFieldNumber = 1;
383
  bool force_arena() const;
384
  void set_force_arena(bool value);
385
386
  // @@protoc_insertion_point(class_scope:yb.rpc.LightweightMessageOptions)
387
 private:
388
389
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
390
  bool force_arena_;
391
  mutable int _cached_size_;
392
  friend struct ::protobuf_yb_2frpc_2flightweight_5fmessage_2eproto::TableStruct;
393
  friend void ::protobuf_yb_2frpc_2flightweight_5fmessage_2eproto::InitDefaultsLightweightMessageOptionsImpl();
394
};
395
// ===================================================================
396
397
static const int kLightweightMethodFieldNumber = 50000;
398
extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MethodOptions,
399
    ::google::protobuf::internal::MessageTypeTraits< ::yb::rpc::LightweightMethodOptions >, 11, false >
400
  lightweight_method;
401
static const int kLightweightFieldFieldNumber = 50000;
402
extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::FieldOptions,
403
    ::google::protobuf::internal::MessageTypeTraits< ::yb::rpc::LightweightFieldOptions >, 11, false >
404
  lightweight_field;
405
static const int kLightweightMessageFieldNumber = 50000;
406
extern ::google::protobuf::internal::ExtensionIdentifier< ::google::protobuf::MessageOptions,
407
    ::google::protobuf::internal::MessageTypeTraits< ::yb::rpc::LightweightMessageOptions >, 11, false >
408
  lightweight_message;
409
410
// ===================================================================
411
412
#ifdef __GNUC__
413
  #pragma GCC diagnostic push
414
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
415
#endif  // __GNUC__
416
// LightweightMethodOptions
417
418
// .yb.rpc.RpcSides sides = 1;
419
0
inline void LightweightMethodOptions::clear_sides() {
420
0
  sides_ = 0;
421
0
}
422
264
inline ::yb::rpc::RpcSides LightweightMethodOptions::sides() const {
423
  // @@protoc_insertion_point(field_get:yb.rpc.LightweightMethodOptions.sides)
424
264
  return static_cast< ::yb::rpc::RpcSides >(sides_);
425
264
}
426
255
inline void LightweightMethodOptions::set_sides(::yb::rpc::RpcSides value) {
427
  
428
255
  sides_ = value;
429
  // @@protoc_insertion_point(field_set:yb.rpc.LightweightMethodOptions.sides)
430
255
}
431
432
// -------------------------------------------------------------------
433
434
// LightweightFieldOptions
435
436
// bool pointer = 1;
437
0
inline void LightweightFieldOptions::clear_pointer() {
438
0
  pointer_ = false;
439
0
}
440
396
inline bool LightweightFieldOptions::pointer() const {
441
  // @@protoc_insertion_point(field_get:yb.rpc.LightweightFieldOptions.pointer)
442
396
  return pointer_;
443
396
}
444
0
inline void LightweightFieldOptions::set_pointer(bool value) {
445
0
  
446
0
  pointer_ = value;
447
0
  // @@protoc_insertion_point(field_set:yb.rpc.LightweightFieldOptions.pointer)
448
0
}
449
450
// -------------------------------------------------------------------
451
452
// LightweightMessageOptions
453
454
// bool force_arena = 1;
455
0
inline void LightweightMessageOptions::clear_force_arena() {
456
0
  force_arena_ = false;
457
0
}
458
0
inline bool LightweightMessageOptions::force_arena() const {
459
  // @@protoc_insertion_point(field_get:yb.rpc.LightweightMessageOptions.force_arena)
460
0
  return force_arena_;
461
0
}
462
0
inline void LightweightMessageOptions::set_force_arena(bool value) {
463
0
  
464
0
  force_arena_ = value;
465
0
  // @@protoc_insertion_point(field_set:yb.rpc.LightweightMessageOptions.force_arena)
466
0
}
467
468
#ifdef __GNUC__
469
  #pragma GCC diagnostic pop
470
#endif  // __GNUC__
471
// -------------------------------------------------------------------
472
473
// -------------------------------------------------------------------
474
475
476
// @@protoc_insertion_point(namespace_scope)
477
478
}  // namespace rpc
479
}  // namespace yb
480
481
namespace google {
482
namespace protobuf {
483
484
template <> struct is_proto_enum< ::yb::rpc::RpcSides> : ::google::protobuf::internal::true_type {};
485
template <>
486
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::rpc::RpcSides>() {
487
0
  return ::yb::rpc::RpcSides_descriptor();
488
0
}
489
490
}  // namespace protobuf
491
}  // namespace google
492
493
// @@protoc_insertion_point(global_scope)
494
495
#endif  // PROTOBUF_yb_2frpc_2flightweight_5fmessage_2eproto__INCLUDED