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