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/rpc/rtest_diff_package.messages.h
Line
Count
Source (jump to first uncovered line)
1
// THIS FILE IS AUTOGENERATED FROM yb/rpc/rtest_diff_package.proto
2
3
#ifndef YB_RPC_RTEST_DIFF_PACKAGE_MESSAGES_H
4
#define YB_RPC_RTEST_DIFF_PACKAGE_MESSAGES_H
5
6
#include "yb/rpc/lightweight_message.h"
7
#include "yb/util/memory/arena_list.h"
8
#include "yb/util/memory/mc_types.h"
9
#include "yb/rpc/rtest_diff_package.pb.h"
10
11
namespace yb {
12
namespace rpc_test_diff_package {
13
14
class LWReqDiffPackagePB;
15
class LWRespDiffPackagePB;
16
17
class LWReqDiffPackagePB : public ::yb::rpc::LightweightMessage {
18
 public:
19
  explicit LWReqDiffPackagePB(::yb::Arena* arena);
20
  LWReqDiffPackagePB(::yb::Arena* arena, const LWReqDiffPackagePB& rhs);
21
22
  LWReqDiffPackagePB(::yb::Arena* arena, const ReqDiffPackagePB& rhs) 
23
0
      : LWReqDiffPackagePB(arena) {
24
0
    CopyFrom(rhs);
25
0
  }
26
27
0
  void operator=(const LWReqDiffPackagePB& rhs) {
28
0
    CopyFrom(rhs);
29
0
  }
30
31
0
  void operator=(const ReqDiffPackagePB& rhs) {
32
0
    CopyFrom(rhs);
33
0
  }
34
35
  CHECKED_STATUS ParseFromCodedStream(google::protobuf::io::CodedInputStream* cis) override;
36
  size_t SerializedSize() const override;
37
  uint8_t* SerializeToArray(uint8_t* out) const override;
38
  void AppendToDebugString(std::string* out) const override;
39
40
  void Clear() override;
41
  void CopyFrom(const LWReqDiffPackagePB& rhs);
42
  void CopyFrom(const ReqDiffPackagePB& rhs);
43
44
  void ToGoogleProtobuf(ReqDiffPackagePB* out) const;
45
46
0
  ReqDiffPackagePB ToGoogleProtobuf() const {
47
0
    ReqDiffPackagePB result;
48
0
    ToGoogleProtobuf(&result);
49
0
    return result;
50
0
  }
51
52
0
  size_t cached_size() const {
53
0
    return cached_size_;
54
0
  }
55
56
 private:
57
  mutable size_t cached_size_ = 0;
58
};
59
60
class LWRespDiffPackagePB : public ::yb::rpc::LightweightMessage {
61
 public:
62
  explicit LWRespDiffPackagePB(::yb::Arena* arena);
63
  LWRespDiffPackagePB(::yb::Arena* arena, const LWRespDiffPackagePB& rhs);
64
65
  LWRespDiffPackagePB(::yb::Arena* arena, const RespDiffPackagePB& rhs) 
66
0
      : LWRespDiffPackagePB(arena) {
67
0
    CopyFrom(rhs);
68
0
  }
69
70
0
  void operator=(const LWRespDiffPackagePB& rhs) {
71
0
    CopyFrom(rhs);
72
0
  }
73
74
0
  void operator=(const RespDiffPackagePB& rhs) {
75
0
    CopyFrom(rhs);
76
0
  }
77
78
  CHECKED_STATUS ParseFromCodedStream(google::protobuf::io::CodedInputStream* cis) override;
79
  size_t SerializedSize() const override;
80
  uint8_t* SerializeToArray(uint8_t* out) const override;
81
  void AppendToDebugString(std::string* out) const override;
82
83
  void Clear() override;
84
  void CopyFrom(const LWRespDiffPackagePB& rhs);
85
  void CopyFrom(const RespDiffPackagePB& rhs);
86
87
  void ToGoogleProtobuf(RespDiffPackagePB* out) const;
88
89
0
  RespDiffPackagePB ToGoogleProtobuf() const {
90
0
    RespDiffPackagePB result;
91
0
    ToGoogleProtobuf(&result);
92
0
    return result;
93
0
  }
94
95
0
  size_t cached_size() const {
96
0
    return cached_size_;
97
0
  }
98
99
 private:
100
  mutable size_t cached_size_ = 0;
101
};
102
103
} // namespace rpc_test_diff_package
104
} // namespace yb
105
106
#endif // YB_RPC_RTEST_DIFF_PACKAGE_MESSAGES_H