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/tablet/tablet_types.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/tablet/tablet_types.proto
3
4
#ifndef PROTOBUF_yb_2ftablet_2ftablet_5ftypes_2eproto__INCLUDED
5
#define PROTOBUF_yb_2ftablet_2ftablet_5ftypes_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/repeated_field.h>  // IWYU pragma: export
29
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
30
#include <google/protobuf/generated_enum_reflection.h>
31
// @@protoc_insertion_point(includes)
32
33
namespace protobuf_yb_2ftablet_2ftablet_5ftypes_2eproto {
34
// Internal implementation detail -- do not use these members.
35
struct TableStruct {
36
  static const ::google::protobuf::internal::ParseTableField entries[];
37
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
38
  static const ::google::protobuf::internal::ParseTable schema[1];
39
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
40
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
41
  static const ::google::protobuf::uint32 offsets[];
42
};
43
void AddDescriptors();
44
15.8k
inline void InitDefaults() {
45
15.8k
}
46
}  // namespace protobuf_yb_2ftablet_2ftablet_5ftypes_2eproto
47
namespace yb {
48
namespace tablet {
49
}  // namespace tablet
50
}  // namespace yb
51
namespace yb {
52
namespace tablet {
53
54
enum RaftGroupStatePB {
55
  UNKNOWN = 999,
56
  NOT_STARTED = 5,
57
  BOOTSTRAPPING = 0,
58
  RUNNING = 1,
59
  FAILED = 2,
60
  QUIESCING = 3,
61
  SHUTDOWN = 4
62
};
63
bool RaftGroupStatePB_IsValid(int value);
64
const RaftGroupStatePB RaftGroupStatePB_MIN = BOOTSTRAPPING;
65
const RaftGroupStatePB RaftGroupStatePB_MAX = UNKNOWN;
66
const int RaftGroupStatePB_ARRAYSIZE = RaftGroupStatePB_MAX + 1;
67
68
const ::google::protobuf::EnumDescriptor* RaftGroupStatePB_descriptor();
69
1.30M
inline const ::std::string& RaftGroupStatePB_Name(RaftGroupStatePB value) {
70
1.30M
  return ::google::protobuf::internal::NameOfEnum(
71
1.30M
    RaftGroupStatePB_descriptor(), value);
72
1.30M
}
73
inline bool RaftGroupStatePB_Parse(
74
0
    const ::std::string& name, RaftGroupStatePB* value) {
75
0
  return ::google::protobuf::internal::ParseNamedEnum<RaftGroupStatePB>(
76
0
    RaftGroupStatePB_descriptor(), name, value);
77
0
}
78
enum TabletDataState {
79
  TABLET_DATA_UNKNOWN = 999,
80
  TABLET_DATA_COPYING = 0,
81
  TABLET_DATA_READY = 1,
82
  TABLET_DATA_DELETED = 2,
83
  TABLET_DATA_TOMBSTONED = 3,
84
  TABLET_DATA_SPLIT_COMPLETED = 4,
85
  TABLET_DATA_INIT_STARTED = 5
86
};
87
bool TabletDataState_IsValid(int value);
88
const TabletDataState TabletDataState_MIN = TABLET_DATA_COPYING;
89
const TabletDataState TabletDataState_MAX = TABLET_DATA_UNKNOWN;
90
const int TabletDataState_ARRAYSIZE = TabletDataState_MAX + 1;
91
92
const ::google::protobuf::EnumDescriptor* TabletDataState_descriptor();
93
147k
inline const ::std::string& TabletDataState_Name(TabletDataState value) {
94
147k
  return ::google::protobuf::internal::NameOfEnum(
95
147k
    TabletDataState_descriptor(), value);
96
147k
}
97
inline bool TabletDataState_Parse(
98
0
    const ::std::string& name, TabletDataState* value) {
99
0
  return ::google::protobuf::internal::ParseNamedEnum<TabletDataState>(
100
0
    TabletDataState_descriptor(), name, value);
101
0
}
102
// ===================================================================
103
104
105
// ===================================================================
106
107
108
// ===================================================================
109
110
#ifdef __GNUC__
111
  #pragma GCC diagnostic push
112
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
113
#endif  // __GNUC__
114
#ifdef __GNUC__
115
  #pragma GCC diagnostic pop
116
#endif  // __GNUC__
117
118
// @@protoc_insertion_point(namespace_scope)
119
120
}  // namespace tablet
121
}  // namespace yb
122
123
namespace google {
124
namespace protobuf {
125
126
template <> struct is_proto_enum< ::yb::tablet::RaftGroupStatePB> : ::google::protobuf::internal::true_type {};
127
template <>
128
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::tablet::RaftGroupStatePB>() {
129
0
  return ::yb::tablet::RaftGroupStatePB_descriptor();
130
0
}
131
template <> struct is_proto_enum< ::yb::tablet::TabletDataState> : ::google::protobuf::internal::true_type {};
132
template <>
133
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::tablet::TabletDataState>() {
134
0
  return ::yb::tablet::TabletDataState_descriptor();
135
0
}
136
137
}  // namespace protobuf
138
}  // namespace google
139
140
// @@protoc_insertion_point(global_scope)
141
142
#endif  // PROTOBUF_yb_2ftablet_2ftablet_5ftypes_2eproto__INCLUDED