/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tablet/tablet.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.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2ftablet_2ftablet_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2ftablet_2ftablet_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 "yb/common/common.pb.h" |
33 | | #include "yb/common/common_types.pb.h" |
34 | | #include "yb/tablet/tablet_types.pb.h" |
35 | | // @@protoc_insertion_point(includes) |
36 | | |
37 | | namespace protobuf_yb_2ftablet_2ftablet_2eproto { |
38 | | // Internal implementation detail -- do not use these members. |
39 | | struct TableStruct { |
40 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
41 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
42 | | static const ::google::protobuf::internal::ParseTable schema[4]; |
43 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
44 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
45 | | static const ::google::protobuf::uint32 offsets[]; |
46 | | }; |
47 | | void AddDescriptors(); |
48 | | void InitDefaultsTabletStatusPBImpl(); |
49 | | void InitDefaultsTabletStatusPB(); |
50 | | void InitDefaultsMaintenanceManagerStatusPB_MaintenanceOpPBImpl(); |
51 | | void InitDefaultsMaintenanceManagerStatusPB_MaintenanceOpPB(); |
52 | | void InitDefaultsMaintenanceManagerStatusPB_CompletedOpPBImpl(); |
53 | | void InitDefaultsMaintenanceManagerStatusPB_CompletedOpPB(); |
54 | | void InitDefaultsMaintenanceManagerStatusPBImpl(); |
55 | | void InitDefaultsMaintenanceManagerStatusPB(); |
56 | 26.8k | inline void InitDefaults() { |
57 | 26.8k | InitDefaultsTabletStatusPB(); |
58 | 26.8k | InitDefaultsMaintenanceManagerStatusPB_MaintenanceOpPB(); |
59 | 26.8k | InitDefaultsMaintenanceManagerStatusPB_CompletedOpPB(); |
60 | 26.8k | InitDefaultsMaintenanceManagerStatusPB(); |
61 | 26.8k | } |
62 | | } // namespace protobuf_yb_2ftablet_2ftablet_2eproto |
63 | | namespace yb { |
64 | | namespace tablet { |
65 | | class MaintenanceManagerStatusPB; |
66 | | class MaintenanceManagerStatusPBDefaultTypeInternal; |
67 | | extern MaintenanceManagerStatusPBDefaultTypeInternal _MaintenanceManagerStatusPB_default_instance_; |
68 | | class MaintenanceManagerStatusPB_CompletedOpPB; |
69 | | class MaintenanceManagerStatusPB_CompletedOpPBDefaultTypeInternal; |
70 | | extern MaintenanceManagerStatusPB_CompletedOpPBDefaultTypeInternal _MaintenanceManagerStatusPB_CompletedOpPB_default_instance_; |
71 | | class MaintenanceManagerStatusPB_MaintenanceOpPB; |
72 | | class MaintenanceManagerStatusPB_MaintenanceOpPBDefaultTypeInternal; |
73 | | extern MaintenanceManagerStatusPB_MaintenanceOpPBDefaultTypeInternal _MaintenanceManagerStatusPB_MaintenanceOpPB_default_instance_; |
74 | | class TabletStatusPB; |
75 | | class TabletStatusPBDefaultTypeInternal; |
76 | | extern TabletStatusPBDefaultTypeInternal _TabletStatusPB_default_instance_; |
77 | | } // namespace tablet |
78 | | } // namespace yb |
79 | | namespace yb { |
80 | | namespace tablet { |
81 | | |
82 | | // =================================================================== |
83 | | |
84 | | class TabletStatusPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.TabletStatusPB) */ { |
85 | | public: |
86 | | TabletStatusPB(); |
87 | | virtual ~TabletStatusPB(); |
88 | | |
89 | | TabletStatusPB(const TabletStatusPB& from); |
90 | | |
91 | 0 | inline TabletStatusPB& operator=(const TabletStatusPB& from) { |
92 | 0 | CopyFrom(from); |
93 | 0 | return *this; |
94 | 0 | } |
95 | | #if LANG_CXX11 |
96 | | TabletStatusPB(TabletStatusPB&& from) noexcept |
97 | 0 | : TabletStatusPB() { |
98 | 0 | *this = ::std::move(from); |
99 | 0 | } |
100 | | |
101 | 0 | inline TabletStatusPB& operator=(TabletStatusPB&& from) noexcept { |
102 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
103 | 0 | if (this != &from) InternalSwap(&from); |
104 | 0 | } else { |
105 | 0 | CopyFrom(from); |
106 | 0 | } |
107 | 0 | return *this; |
108 | 0 | } |
109 | | #endif |
110 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
111 | 0 | return _internal_metadata_.unknown_fields(); |
112 | 0 | } |
113 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
114 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
115 | 0 | } |
116 | | |
117 | | static const ::google::protobuf::Descriptor* descriptor(); |
118 | | static const TabletStatusPB& default_instance(); |
119 | | |
120 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
121 | 106k | static inline const TabletStatusPB* internal_default_instance() { |
122 | 106k | return reinterpret_cast<const TabletStatusPB*>( |
123 | 106k | &_TabletStatusPB_default_instance_); |
124 | 106k | } |
125 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
126 | | 0; |
127 | | |
128 | | void Swap(TabletStatusPB* other); |
129 | 0 | friend void swap(TabletStatusPB& a, TabletStatusPB& b) { |
130 | 0 | a.Swap(&b); |
131 | 0 | } |
132 | | |
133 | | // implements Message ---------------------------------------------- |
134 | | |
135 | 0 | inline TabletStatusPB* New() const PROTOBUF_FINAL { return New(NULL); } |
136 | | |
137 | | TabletStatusPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
138 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
139 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
140 | | void CopyFrom(const TabletStatusPB& from); |
141 | | void MergeFrom(const TabletStatusPB& from); |
142 | | void Clear() PROTOBUF_FINAL; |
143 | | bool IsInitialized() const PROTOBUF_FINAL; |
144 | | |
145 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
146 | | bool MergePartialFromCodedStream( |
147 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
148 | | void SerializeWithCachedSizes( |
149 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
150 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
151 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
152 | 3.19k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
153 | | private: |
154 | | void SharedCtor(); |
155 | | void SharedDtor(); |
156 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
157 | | void InternalSwap(TabletStatusPB* other); |
158 | | private: |
159 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
160 | 0 | return NULL; |
161 | 0 | } |
162 | 0 | inline void* MaybeArenaPtr() const { |
163 | 0 | return NULL; |
164 | 0 | } |
165 | | public: |
166 | | |
167 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
168 | | |
169 | | // nested types ---------------------------------------------------- |
170 | | |
171 | | // accessors ------------------------------------------------------- |
172 | | |
173 | | // required string tablet_id = 1; |
174 | | bool has_tablet_id() const; |
175 | | void clear_tablet_id(); |
176 | | static const int kTabletIdFieldNumber = 1; |
177 | | const ::std::string& tablet_id() const; |
178 | | void set_tablet_id(const ::std::string& value); |
179 | | #if LANG_CXX11 |
180 | | void set_tablet_id(::std::string&& value); |
181 | | #endif |
182 | | void set_tablet_id(const char* value); |
183 | | void set_tablet_id(const char* value, size_t size); |
184 | | ::std::string* mutable_tablet_id(); |
185 | | ::std::string* release_tablet_id(); |
186 | | void set_allocated_tablet_id(::std::string* tablet_id); |
187 | | |
188 | | // required string table_name = 2; |
189 | | bool has_table_name() const; |
190 | | void clear_table_name(); |
191 | | static const int kTableNameFieldNumber = 2; |
192 | | const ::std::string& table_name() const; |
193 | | void set_table_name(const ::std::string& value); |
194 | | #if LANG_CXX11 |
195 | | void set_table_name(::std::string&& value); |
196 | | #endif |
197 | | void set_table_name(const char* value); |
198 | | void set_table_name(const char* value, size_t size); |
199 | | ::std::string* mutable_table_name(); |
200 | | ::std::string* release_table_name(); |
201 | | void set_allocated_table_name(::std::string* table_name); |
202 | | |
203 | | // required string last_status = 4; |
204 | | bool has_last_status() const; |
205 | | void clear_last_status(); |
206 | | static const int kLastStatusFieldNumber = 4; |
207 | | const ::std::string& last_status() const; |
208 | | void set_last_status(const ::std::string& value); |
209 | | #if LANG_CXX11 |
210 | | void set_last_status(::std::string&& value); |
211 | | #endif |
212 | | void set_last_status(const char* value); |
213 | | void set_last_status(const char* value, size_t size); |
214 | | ::std::string* mutable_last_status(); |
215 | | ::std::string* release_last_status(); |
216 | | void set_allocated_last_status(::std::string* last_status); |
217 | | |
218 | | // optional bytes start_key = 5; |
219 | | bool has_start_key() const; |
220 | | void clear_start_key(); |
221 | | static const int kStartKeyFieldNumber = 5; |
222 | | const ::std::string& start_key() const; |
223 | | void set_start_key(const ::std::string& value); |
224 | | #if LANG_CXX11 |
225 | | void set_start_key(::std::string&& value); |
226 | | #endif |
227 | | void set_start_key(const char* value); |
228 | | void set_start_key(const void* value, size_t size); |
229 | | ::std::string* mutable_start_key(); |
230 | | ::std::string* release_start_key(); |
231 | | void set_allocated_start_key(::std::string* start_key); |
232 | | |
233 | | // optional bytes end_key = 6; |
234 | | bool has_end_key() const; |
235 | | void clear_end_key(); |
236 | | static const int kEndKeyFieldNumber = 6; |
237 | | const ::std::string& end_key() const; |
238 | | void set_end_key(const ::std::string& value); |
239 | | #if LANG_CXX11 |
240 | | void set_end_key(::std::string&& value); |
241 | | #endif |
242 | | void set_end_key(const char* value); |
243 | | void set_end_key(const void* value, size_t size); |
244 | | ::std::string* mutable_end_key(); |
245 | | ::std::string* release_end_key(); |
246 | | void set_allocated_end_key(::std::string* end_key); |
247 | | |
248 | | // required string table_id = 10; |
249 | | bool has_table_id() const; |
250 | | void clear_table_id(); |
251 | | static const int kTableIdFieldNumber = 10; |
252 | | const ::std::string& table_id() const; |
253 | | void set_table_id(const ::std::string& value); |
254 | | #if LANG_CXX11 |
255 | | void set_table_id(::std::string&& value); |
256 | | #endif |
257 | | void set_table_id(const char* value); |
258 | | void set_table_id(const char* value, size_t size); |
259 | | ::std::string* mutable_table_id(); |
260 | | ::std::string* release_table_id(); |
261 | | void set_allocated_table_id(::std::string* table_id); |
262 | | |
263 | | // optional string namespace_name = 15; |
264 | | bool has_namespace_name() const; |
265 | | void clear_namespace_name(); |
266 | | static const int kNamespaceNameFieldNumber = 15; |
267 | | const ::std::string& namespace_name() const; |
268 | | void set_namespace_name(const ::std::string& value); |
269 | | #if LANG_CXX11 |
270 | | void set_namespace_name(::std::string&& value); |
271 | | #endif |
272 | | void set_namespace_name(const char* value); |
273 | | void set_namespace_name(const char* value, size_t size); |
274 | | ::std::string* mutable_namespace_name(); |
275 | | ::std::string* release_namespace_name(); |
276 | | void set_allocated_namespace_name(::std::string* namespace_name); |
277 | | |
278 | | // optional .yb.PartitionPB partition = 9; |
279 | | bool has_partition() const; |
280 | | void clear_partition(); |
281 | | static const int kPartitionFieldNumber = 9; |
282 | | const ::yb::PartitionPB& partition() const; |
283 | | ::yb::PartitionPB* release_partition(); |
284 | | ::yb::PartitionPB* mutable_partition(); |
285 | | void set_allocated_partition(::yb::PartitionPB* partition); |
286 | | |
287 | | // optional int64 estimated_on_disk_size = 7; |
288 | | bool has_estimated_on_disk_size() const; |
289 | | void clear_estimated_on_disk_size(); |
290 | | static const int kEstimatedOnDiskSizeFieldNumber = 7; |
291 | | ::google::protobuf::int64 estimated_on_disk_size() const; |
292 | | void set_estimated_on_disk_size(::google::protobuf::int64 value); |
293 | | |
294 | | // optional int64 consensus_metadata_disk_size = 11; |
295 | | bool has_consensus_metadata_disk_size() const; |
296 | | void clear_consensus_metadata_disk_size(); |
297 | | static const int kConsensusMetadataDiskSizeFieldNumber = 11; |
298 | | ::google::protobuf::int64 consensus_metadata_disk_size() const; |
299 | | void set_consensus_metadata_disk_size(::google::protobuf::int64 value); |
300 | | |
301 | | // optional int64 wal_files_disk_size = 12; |
302 | | bool has_wal_files_disk_size() const; |
303 | | void clear_wal_files_disk_size(); |
304 | | static const int kWalFilesDiskSizeFieldNumber = 12; |
305 | | ::google::protobuf::int64 wal_files_disk_size() const; |
306 | | void set_wal_files_disk_size(::google::protobuf::int64 value); |
307 | | |
308 | | // optional int64 sst_files_disk_size = 13; |
309 | | bool has_sst_files_disk_size() const; |
310 | | void clear_sst_files_disk_size(); |
311 | | static const int kSstFilesDiskSizeFieldNumber = 13; |
312 | | ::google::protobuf::int64 sst_files_disk_size() const; |
313 | | void set_sst_files_disk_size(::google::protobuf::int64 value); |
314 | | |
315 | | // optional int64 uncompressed_sst_files_disk_size = 14; |
316 | | bool has_uncompressed_sst_files_disk_size() const; |
317 | | void clear_uncompressed_sst_files_disk_size(); |
318 | | static const int kUncompressedSstFilesDiskSizeFieldNumber = 14; |
319 | | ::google::protobuf::int64 uncompressed_sst_files_disk_size() const; |
320 | | void set_uncompressed_sst_files_disk_size(::google::protobuf::int64 value); |
321 | | |
322 | | // optional bool is_hidden = 17; |
323 | | bool has_is_hidden() const; |
324 | | void clear_is_hidden(); |
325 | | static const int kIsHiddenFieldNumber = 17; |
326 | | bool is_hidden() const; |
327 | | void set_is_hidden(bool value); |
328 | | |
329 | | // optional .yb.TableType table_type = 16; |
330 | | bool has_table_type() const; |
331 | | void clear_table_type(); |
332 | | static const int kTableTypeFieldNumber = 16; |
333 | | ::yb::TableType table_type() const; |
334 | | void set_table_type(::yb::TableType value); |
335 | | |
336 | | // optional .yb.tablet.RaftGroupStatePB state = 3 [default = UNKNOWN]; |
337 | | bool has_state() const; |
338 | | void clear_state(); |
339 | | static const int kStateFieldNumber = 3; |
340 | | ::yb::tablet::RaftGroupStatePB state() const; |
341 | | void set_state(::yb::tablet::RaftGroupStatePB value); |
342 | | |
343 | | // optional .yb.tablet.TabletDataState tablet_data_state = 8 [default = TABLET_DATA_UNKNOWN]; |
344 | | bool has_tablet_data_state() const; |
345 | | void clear_tablet_data_state(); |
346 | | static const int kTabletDataStateFieldNumber = 8; |
347 | | ::yb::tablet::TabletDataState tablet_data_state() const; |
348 | | void set_tablet_data_state(::yb::tablet::TabletDataState value); |
349 | | |
350 | | // @@protoc_insertion_point(class_scope:yb.tablet.TabletStatusPB) |
351 | | private: |
352 | | void set_has_tablet_id(); |
353 | | void clear_has_tablet_id(); |
354 | | void set_has_namespace_name(); |
355 | | void clear_has_namespace_name(); |
356 | | void set_has_table_name(); |
357 | | void clear_has_table_name(); |
358 | | void set_has_table_id(); |
359 | | void clear_has_table_id(); |
360 | | void set_has_state(); |
361 | | void clear_has_state(); |
362 | | void set_has_tablet_data_state(); |
363 | | void clear_has_tablet_data_state(); |
364 | | void set_has_last_status(); |
365 | | void clear_has_last_status(); |
366 | | void set_has_start_key(); |
367 | | void clear_has_start_key(); |
368 | | void set_has_end_key(); |
369 | | void clear_has_end_key(); |
370 | | void set_has_estimated_on_disk_size(); |
371 | | void clear_has_estimated_on_disk_size(); |
372 | | void set_has_consensus_metadata_disk_size(); |
373 | | void clear_has_consensus_metadata_disk_size(); |
374 | | void set_has_wal_files_disk_size(); |
375 | | void clear_has_wal_files_disk_size(); |
376 | | void set_has_sst_files_disk_size(); |
377 | | void clear_has_sst_files_disk_size(); |
378 | | void set_has_uncompressed_sst_files_disk_size(); |
379 | | void clear_has_uncompressed_sst_files_disk_size(); |
380 | | void set_has_partition(); |
381 | | void clear_has_partition(); |
382 | | void set_has_table_type(); |
383 | | void clear_has_table_type(); |
384 | | void set_has_is_hidden(); |
385 | | void clear_has_is_hidden(); |
386 | | |
387 | | // helper for ByteSizeLong() |
388 | | size_t RequiredFieldsByteSizeFallback() const; |
389 | | |
390 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
391 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
392 | | mutable int _cached_size_; |
393 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
394 | | ::google::protobuf::internal::ArenaStringPtr table_name_; |
395 | | ::google::protobuf::internal::ArenaStringPtr last_status_; |
396 | | ::google::protobuf::internal::ArenaStringPtr start_key_; |
397 | | ::google::protobuf::internal::ArenaStringPtr end_key_; |
398 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
399 | | ::google::protobuf::internal::ArenaStringPtr namespace_name_; |
400 | | ::yb::PartitionPB* partition_; |
401 | | ::google::protobuf::int64 estimated_on_disk_size_; |
402 | | ::google::protobuf::int64 consensus_metadata_disk_size_; |
403 | | ::google::protobuf::int64 wal_files_disk_size_; |
404 | | ::google::protobuf::int64 sst_files_disk_size_; |
405 | | ::google::protobuf::int64 uncompressed_sst_files_disk_size_; |
406 | | bool is_hidden_; |
407 | | int table_type_; |
408 | | int state_; |
409 | | int tablet_data_state_; |
410 | | friend struct ::protobuf_yb_2ftablet_2ftablet_2eproto::TableStruct; |
411 | | friend void ::protobuf_yb_2ftablet_2ftablet_2eproto::InitDefaultsTabletStatusPBImpl(); |
412 | | }; |
413 | | // ------------------------------------------------------------------- |
414 | | |
415 | | class MaintenanceManagerStatusPB_MaintenanceOpPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB) */ { |
416 | | public: |
417 | | MaintenanceManagerStatusPB_MaintenanceOpPB(); |
418 | | virtual ~MaintenanceManagerStatusPB_MaintenanceOpPB(); |
419 | | |
420 | | MaintenanceManagerStatusPB_MaintenanceOpPB(const MaintenanceManagerStatusPB_MaintenanceOpPB& from); |
421 | | |
422 | 0 | inline MaintenanceManagerStatusPB_MaintenanceOpPB& operator=(const MaintenanceManagerStatusPB_MaintenanceOpPB& from) { |
423 | 0 | CopyFrom(from); |
424 | 0 | return *this; |
425 | 0 | } |
426 | | #if LANG_CXX11 |
427 | | MaintenanceManagerStatusPB_MaintenanceOpPB(MaintenanceManagerStatusPB_MaintenanceOpPB&& from) noexcept |
428 | 0 | : MaintenanceManagerStatusPB_MaintenanceOpPB() { |
429 | 0 | *this = ::std::move(from); |
430 | 0 | } |
431 | | |
432 | 0 | inline MaintenanceManagerStatusPB_MaintenanceOpPB& operator=(MaintenanceManagerStatusPB_MaintenanceOpPB&& from) noexcept { |
433 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
434 | 0 | if (this != &from) InternalSwap(&from); |
435 | 0 | } else { |
436 | 0 | CopyFrom(from); |
437 | 0 | } |
438 | 0 | return *this; |
439 | 0 | } |
440 | | #endif |
441 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
442 | 0 | return _internal_metadata_.unknown_fields(); |
443 | 0 | } |
444 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
445 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
446 | 0 | } |
447 | | |
448 | | static const ::google::protobuf::Descriptor* descriptor(); |
449 | | static const MaintenanceManagerStatusPB_MaintenanceOpPB& default_instance(); |
450 | | |
451 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
452 | 53.7k | static inline const MaintenanceManagerStatusPB_MaintenanceOpPB* internal_default_instance() { |
453 | 53.7k | return reinterpret_cast<const MaintenanceManagerStatusPB_MaintenanceOpPB*>( |
454 | 53.7k | &_MaintenanceManagerStatusPB_MaintenanceOpPB_default_instance_); |
455 | 53.7k | } |
456 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
457 | | 1; |
458 | | |
459 | | void Swap(MaintenanceManagerStatusPB_MaintenanceOpPB* other); |
460 | 0 | friend void swap(MaintenanceManagerStatusPB_MaintenanceOpPB& a, MaintenanceManagerStatusPB_MaintenanceOpPB& b) { |
461 | 0 | a.Swap(&b); |
462 | 0 | } |
463 | | |
464 | | // implements Message ---------------------------------------------- |
465 | | |
466 | 0 | inline MaintenanceManagerStatusPB_MaintenanceOpPB* New() const PROTOBUF_FINAL { return New(NULL); } |
467 | | |
468 | | MaintenanceManagerStatusPB_MaintenanceOpPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
469 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
470 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
471 | | void CopyFrom(const MaintenanceManagerStatusPB_MaintenanceOpPB& from); |
472 | | void MergeFrom(const MaintenanceManagerStatusPB_MaintenanceOpPB& from); |
473 | | void Clear() PROTOBUF_FINAL; |
474 | | bool IsInitialized() const PROTOBUF_FINAL; |
475 | | |
476 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
477 | | bool MergePartialFromCodedStream( |
478 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
479 | | void SerializeWithCachedSizes( |
480 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
481 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
482 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
483 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
484 | | private: |
485 | | void SharedCtor(); |
486 | | void SharedDtor(); |
487 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
488 | | void InternalSwap(MaintenanceManagerStatusPB_MaintenanceOpPB* other); |
489 | | private: |
490 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
491 | 0 | return NULL; |
492 | 0 | } |
493 | 0 | inline void* MaybeArenaPtr() const { |
494 | 0 | return NULL; |
495 | 0 | } |
496 | | public: |
497 | | |
498 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
499 | | |
500 | | // nested types ---------------------------------------------------- |
501 | | |
502 | | // accessors ------------------------------------------------------- |
503 | | |
504 | | // required string name = 1; |
505 | | bool has_name() const; |
506 | | void clear_name(); |
507 | | static const int kNameFieldNumber = 1; |
508 | | const ::std::string& name() const; |
509 | | void set_name(const ::std::string& value); |
510 | | #if LANG_CXX11 |
511 | | void set_name(::std::string&& value); |
512 | | #endif |
513 | | void set_name(const char* value); |
514 | | void set_name(const char* value, size_t size); |
515 | | ::std::string* mutable_name(); |
516 | | ::std::string* release_name(); |
517 | | void set_allocated_name(::std::string* name); |
518 | | |
519 | | // required uint32 running = 2; |
520 | | bool has_running() const; |
521 | | void clear_running(); |
522 | | static const int kRunningFieldNumber = 2; |
523 | | ::google::protobuf::uint32 running() const; |
524 | | void set_running(::google::protobuf::uint32 value); |
525 | | |
526 | | // required bool runnable = 3; |
527 | | bool has_runnable() const; |
528 | | void clear_runnable(); |
529 | | static const int kRunnableFieldNumber = 3; |
530 | | bool runnable() const; |
531 | | void set_runnable(bool value); |
532 | | |
533 | | // required uint64 ram_anchored_bytes = 4; |
534 | | bool has_ram_anchored_bytes() const; |
535 | | void clear_ram_anchored_bytes(); |
536 | | static const int kRamAnchoredBytesFieldNumber = 4; |
537 | | ::google::protobuf::uint64 ram_anchored_bytes() const; |
538 | | void set_ram_anchored_bytes(::google::protobuf::uint64 value); |
539 | | |
540 | | // required int64 logs_retained_bytes = 5; |
541 | | bool has_logs_retained_bytes() const; |
542 | | void clear_logs_retained_bytes(); |
543 | | static const int kLogsRetainedBytesFieldNumber = 5; |
544 | | ::google::protobuf::int64 logs_retained_bytes() const; |
545 | | void set_logs_retained_bytes(::google::protobuf::int64 value); |
546 | | |
547 | | // required double perf_improvement = 6; |
548 | | bool has_perf_improvement() const; |
549 | | void clear_perf_improvement(); |
550 | | static const int kPerfImprovementFieldNumber = 6; |
551 | | double perf_improvement() const; |
552 | | void set_perf_improvement(double value); |
553 | | |
554 | | // @@protoc_insertion_point(class_scope:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB) |
555 | | private: |
556 | | void set_has_name(); |
557 | | void clear_has_name(); |
558 | | void set_has_running(); |
559 | | void clear_has_running(); |
560 | | void set_has_runnable(); |
561 | | void clear_has_runnable(); |
562 | | void set_has_ram_anchored_bytes(); |
563 | | void clear_has_ram_anchored_bytes(); |
564 | | void set_has_logs_retained_bytes(); |
565 | | void clear_has_logs_retained_bytes(); |
566 | | void set_has_perf_improvement(); |
567 | | void clear_has_perf_improvement(); |
568 | | |
569 | | // helper for ByteSizeLong() |
570 | | size_t RequiredFieldsByteSizeFallback() const; |
571 | | |
572 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
573 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
574 | | mutable int _cached_size_; |
575 | | ::google::protobuf::internal::ArenaStringPtr name_; |
576 | | ::google::protobuf::uint32 running_; |
577 | | bool runnable_; |
578 | | ::google::protobuf::uint64 ram_anchored_bytes_; |
579 | | ::google::protobuf::int64 logs_retained_bytes_; |
580 | | double perf_improvement_; |
581 | | friend struct ::protobuf_yb_2ftablet_2ftablet_2eproto::TableStruct; |
582 | | friend void ::protobuf_yb_2ftablet_2ftablet_2eproto::InitDefaultsMaintenanceManagerStatusPB_MaintenanceOpPBImpl(); |
583 | | }; |
584 | | // ------------------------------------------------------------------- |
585 | | |
586 | | class MaintenanceManagerStatusPB_CompletedOpPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB) */ { |
587 | | public: |
588 | | MaintenanceManagerStatusPB_CompletedOpPB(); |
589 | | virtual ~MaintenanceManagerStatusPB_CompletedOpPB(); |
590 | | |
591 | | MaintenanceManagerStatusPB_CompletedOpPB(const MaintenanceManagerStatusPB_CompletedOpPB& from); |
592 | | |
593 | 0 | inline MaintenanceManagerStatusPB_CompletedOpPB& operator=(const MaintenanceManagerStatusPB_CompletedOpPB& from) { |
594 | 0 | CopyFrom(from); |
595 | 0 | return *this; |
596 | 0 | } |
597 | | #if LANG_CXX11 |
598 | | MaintenanceManagerStatusPB_CompletedOpPB(MaintenanceManagerStatusPB_CompletedOpPB&& from) noexcept |
599 | 0 | : MaintenanceManagerStatusPB_CompletedOpPB() { |
600 | 0 | *this = ::std::move(from); |
601 | 0 | } |
602 | | |
603 | 0 | inline MaintenanceManagerStatusPB_CompletedOpPB& operator=(MaintenanceManagerStatusPB_CompletedOpPB&& from) noexcept { |
604 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
605 | 0 | if (this != &from) InternalSwap(&from); |
606 | 0 | } else { |
607 | 0 | CopyFrom(from); |
608 | 0 | } |
609 | 0 | return *this; |
610 | 0 | } |
611 | | #endif |
612 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
613 | 0 | return _internal_metadata_.unknown_fields(); |
614 | 0 | } |
615 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
616 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
617 | 0 | } |
618 | | |
619 | | static const ::google::protobuf::Descriptor* descriptor(); |
620 | | static const MaintenanceManagerStatusPB_CompletedOpPB& default_instance(); |
621 | | |
622 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
623 | 26.8k | static inline const MaintenanceManagerStatusPB_CompletedOpPB* internal_default_instance() { |
624 | 26.8k | return reinterpret_cast<const MaintenanceManagerStatusPB_CompletedOpPB*>( |
625 | 26.8k | &_MaintenanceManagerStatusPB_CompletedOpPB_default_instance_); |
626 | 26.8k | } |
627 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
628 | | 2; |
629 | | |
630 | | void Swap(MaintenanceManagerStatusPB_CompletedOpPB* other); |
631 | 0 | friend void swap(MaintenanceManagerStatusPB_CompletedOpPB& a, MaintenanceManagerStatusPB_CompletedOpPB& b) { |
632 | 0 | a.Swap(&b); |
633 | 0 | } |
634 | | |
635 | | // implements Message ---------------------------------------------- |
636 | | |
637 | 0 | inline MaintenanceManagerStatusPB_CompletedOpPB* New() const PROTOBUF_FINAL { return New(NULL); } |
638 | | |
639 | | MaintenanceManagerStatusPB_CompletedOpPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
640 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
641 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
642 | | void CopyFrom(const MaintenanceManagerStatusPB_CompletedOpPB& from); |
643 | | void MergeFrom(const MaintenanceManagerStatusPB_CompletedOpPB& from); |
644 | | void Clear() PROTOBUF_FINAL; |
645 | | bool IsInitialized() const PROTOBUF_FINAL; |
646 | | |
647 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
648 | | bool MergePartialFromCodedStream( |
649 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
650 | | void SerializeWithCachedSizes( |
651 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
652 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
653 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
654 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
655 | | private: |
656 | | void SharedCtor(); |
657 | | void SharedDtor(); |
658 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
659 | | void InternalSwap(MaintenanceManagerStatusPB_CompletedOpPB* other); |
660 | | private: |
661 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
662 | 0 | return NULL; |
663 | 0 | } |
664 | 0 | inline void* MaybeArenaPtr() const { |
665 | 0 | return NULL; |
666 | 0 | } |
667 | | public: |
668 | | |
669 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
670 | | |
671 | | // nested types ---------------------------------------------------- |
672 | | |
673 | | // accessors ------------------------------------------------------- |
674 | | |
675 | | // required string name = 1; |
676 | | bool has_name() const; |
677 | | void clear_name(); |
678 | | static const int kNameFieldNumber = 1; |
679 | | const ::std::string& name() const; |
680 | | void set_name(const ::std::string& value); |
681 | | #if LANG_CXX11 |
682 | | void set_name(::std::string&& value); |
683 | | #endif |
684 | | void set_name(const char* value); |
685 | | void set_name(const char* value, size_t size); |
686 | | ::std::string* mutable_name(); |
687 | | ::std::string* release_name(); |
688 | | void set_allocated_name(::std::string* name); |
689 | | |
690 | | // required int32 duration_millis = 2; |
691 | | bool has_duration_millis() const; |
692 | | void clear_duration_millis(); |
693 | | static const int kDurationMillisFieldNumber = 2; |
694 | | ::google::protobuf::int32 duration_millis() const; |
695 | | void set_duration_millis(::google::protobuf::int32 value); |
696 | | |
697 | | // required int32 secs_since_start = 3; |
698 | | bool has_secs_since_start() const; |
699 | | void clear_secs_since_start(); |
700 | | static const int kSecsSinceStartFieldNumber = 3; |
701 | | ::google::protobuf::int32 secs_since_start() const; |
702 | | void set_secs_since_start(::google::protobuf::int32 value); |
703 | | |
704 | | // @@protoc_insertion_point(class_scope:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB) |
705 | | private: |
706 | | void set_has_name(); |
707 | | void clear_has_name(); |
708 | | void set_has_duration_millis(); |
709 | | void clear_has_duration_millis(); |
710 | | void set_has_secs_since_start(); |
711 | | void clear_has_secs_since_start(); |
712 | | |
713 | | // helper for ByteSizeLong() |
714 | | size_t RequiredFieldsByteSizeFallback() const; |
715 | | |
716 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
717 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
718 | | mutable int _cached_size_; |
719 | | ::google::protobuf::internal::ArenaStringPtr name_; |
720 | | ::google::protobuf::int32 duration_millis_; |
721 | | ::google::protobuf::int32 secs_since_start_; |
722 | | friend struct ::protobuf_yb_2ftablet_2ftablet_2eproto::TableStruct; |
723 | | friend void ::protobuf_yb_2ftablet_2ftablet_2eproto::InitDefaultsMaintenanceManagerStatusPB_CompletedOpPBImpl(); |
724 | | }; |
725 | | // ------------------------------------------------------------------- |
726 | | |
727 | | class MaintenanceManagerStatusPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.MaintenanceManagerStatusPB) */ { |
728 | | public: |
729 | | MaintenanceManagerStatusPB(); |
730 | | virtual ~MaintenanceManagerStatusPB(); |
731 | | |
732 | | MaintenanceManagerStatusPB(const MaintenanceManagerStatusPB& from); |
733 | | |
734 | 0 | inline MaintenanceManagerStatusPB& operator=(const MaintenanceManagerStatusPB& from) { |
735 | 0 | CopyFrom(from); |
736 | 0 | return *this; |
737 | 0 | } |
738 | | #if LANG_CXX11 |
739 | | MaintenanceManagerStatusPB(MaintenanceManagerStatusPB&& from) noexcept |
740 | 0 | : MaintenanceManagerStatusPB() { |
741 | 0 | *this = ::std::move(from); |
742 | 0 | } |
743 | | |
744 | 0 | inline MaintenanceManagerStatusPB& operator=(MaintenanceManagerStatusPB&& from) noexcept { |
745 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
746 | 0 | if (this != &from) InternalSwap(&from); |
747 | 0 | } else { |
748 | 0 | CopyFrom(from); |
749 | 0 | } |
750 | 0 | return *this; |
751 | 0 | } |
752 | | #endif |
753 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
754 | 0 | return _internal_metadata_.unknown_fields(); |
755 | 0 | } |
756 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
757 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
758 | 0 | } |
759 | | |
760 | | static const ::google::protobuf::Descriptor* descriptor(); |
761 | | static const MaintenanceManagerStatusPB& default_instance(); |
762 | | |
763 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
764 | 26.8k | static inline const MaintenanceManagerStatusPB* internal_default_instance() { |
765 | 26.8k | return reinterpret_cast<const MaintenanceManagerStatusPB*>( |
766 | 26.8k | &_MaintenanceManagerStatusPB_default_instance_); |
767 | 26.8k | } |
768 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
769 | | 3; |
770 | | |
771 | | void Swap(MaintenanceManagerStatusPB* other); |
772 | 0 | friend void swap(MaintenanceManagerStatusPB& a, MaintenanceManagerStatusPB& b) { |
773 | 0 | a.Swap(&b); |
774 | 0 | } |
775 | | |
776 | | // implements Message ---------------------------------------------- |
777 | | |
778 | 0 | inline MaintenanceManagerStatusPB* New() const PROTOBUF_FINAL { return New(NULL); } |
779 | | |
780 | | MaintenanceManagerStatusPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
781 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
782 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
783 | | void CopyFrom(const MaintenanceManagerStatusPB& from); |
784 | | void MergeFrom(const MaintenanceManagerStatusPB& from); |
785 | | void Clear() PROTOBUF_FINAL; |
786 | | bool IsInitialized() const PROTOBUF_FINAL; |
787 | | |
788 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
789 | | bool MergePartialFromCodedStream( |
790 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
791 | | void SerializeWithCachedSizes( |
792 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
793 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
794 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
795 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
796 | | private: |
797 | | void SharedCtor(); |
798 | | void SharedDtor(); |
799 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
800 | | void InternalSwap(MaintenanceManagerStatusPB* other); |
801 | | private: |
802 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
803 | 0 | return NULL; |
804 | 0 | } |
805 | 0 | inline void* MaybeArenaPtr() const { |
806 | 0 | return NULL; |
807 | 0 | } |
808 | | public: |
809 | | |
810 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
811 | | |
812 | | // nested types ---------------------------------------------------- |
813 | | |
814 | | typedef MaintenanceManagerStatusPB_MaintenanceOpPB MaintenanceOpPB; |
815 | | typedef MaintenanceManagerStatusPB_CompletedOpPB CompletedOpPB; |
816 | | |
817 | | // accessors ------------------------------------------------------- |
818 | | |
819 | | // repeated .yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB registered_operations = 2; |
820 | | int registered_operations_size() const; |
821 | | void clear_registered_operations(); |
822 | | static const int kRegisteredOperationsFieldNumber = 2; |
823 | | const ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB& registered_operations(int index) const; |
824 | | ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* mutable_registered_operations(int index); |
825 | | ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* add_registered_operations(); |
826 | | ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB >* |
827 | | mutable_registered_operations(); |
828 | | const ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB >& |
829 | | registered_operations() const; |
830 | | |
831 | | // repeated .yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB completed_operations = 3; |
832 | | int completed_operations_size() const; |
833 | | void clear_completed_operations(); |
834 | | static const int kCompletedOperationsFieldNumber = 3; |
835 | | const ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB& completed_operations(int index) const; |
836 | | ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB* mutable_completed_operations(int index); |
837 | | ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB* add_completed_operations(); |
838 | | ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB >* |
839 | | mutable_completed_operations(); |
840 | | const ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB >& |
841 | | completed_operations() const; |
842 | | |
843 | | // optional .yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB best_op = 1; |
844 | | bool has_best_op() const; |
845 | | void clear_best_op(); |
846 | | static const int kBestOpFieldNumber = 1; |
847 | | const ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB& best_op() const; |
848 | | ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* release_best_op(); |
849 | | ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* mutable_best_op(); |
850 | | void set_allocated_best_op(::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* best_op); |
851 | | |
852 | | // @@protoc_insertion_point(class_scope:yb.tablet.MaintenanceManagerStatusPB) |
853 | | private: |
854 | | void set_has_best_op(); |
855 | | void clear_has_best_op(); |
856 | | |
857 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
858 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
859 | | mutable int _cached_size_; |
860 | | ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB > registered_operations_; |
861 | | ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB > completed_operations_; |
862 | | ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* best_op_; |
863 | | friend struct ::protobuf_yb_2ftablet_2ftablet_2eproto::TableStruct; |
864 | | friend void ::protobuf_yb_2ftablet_2ftablet_2eproto::InitDefaultsMaintenanceManagerStatusPBImpl(); |
865 | | }; |
866 | | // =================================================================== |
867 | | |
868 | | |
869 | | // =================================================================== |
870 | | |
871 | | #ifdef __GNUC__ |
872 | | #pragma GCC diagnostic push |
873 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
874 | | #endif // __GNUC__ |
875 | | // TabletStatusPB |
876 | | |
877 | | // required string tablet_id = 1; |
878 | 3.11k | inline bool TabletStatusPB::has_tablet_id() const { |
879 | 3.11k | return (_has_bits_[0] & 0x00000001u) != 0; |
880 | 3.11k | } |
881 | 11.3k | inline void TabletStatusPB::set_has_tablet_id() { |
882 | 11.3k | _has_bits_[0] |= 0x00000001u; |
883 | 11.3k | } |
884 | 0 | inline void TabletStatusPB::clear_has_tablet_id() { |
885 | 0 | _has_bits_[0] &= ~0x00000001u; |
886 | 0 | } |
887 | 0 | inline void TabletStatusPB::clear_tablet_id() { |
888 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
889 | 0 | clear_has_tablet_id(); |
890 | 0 | } |
891 | 28.9k | inline const ::std::string& TabletStatusPB::tablet_id() const { |
892 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.tablet_id) |
893 | 28.9k | return tablet_id_.GetNoArena(); |
894 | 28.9k | } |
895 | 8.14k | inline void TabletStatusPB::set_tablet_id(const ::std::string& value) { |
896 | 8.14k | set_has_tablet_id(); |
897 | 8.14k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
898 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.tablet_id) |
899 | 8.14k | } |
900 | | #if LANG_CXX11 |
901 | 0 | inline void TabletStatusPB::set_tablet_id(::std::string&& value) { |
902 | 0 | set_has_tablet_id(); |
903 | 0 | tablet_id_.SetNoArena( |
904 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
905 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.tablet_id) |
906 | 0 | } |
907 | | #endif |
908 | 0 | inline void TabletStatusPB::set_tablet_id(const char* value) { |
909 | 0 | GOOGLE_DCHECK(value != NULL); |
910 | 0 | set_has_tablet_id(); |
911 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
912 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.tablet_id) |
913 | 0 | } |
914 | 0 | inline void TabletStatusPB::set_tablet_id(const char* value, size_t size) { |
915 | 0 | set_has_tablet_id(); |
916 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
917 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
918 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.tablet_id) |
919 | 0 | } |
920 | 3.16k | inline ::std::string* TabletStatusPB::mutable_tablet_id() { |
921 | 3.16k | set_has_tablet_id(); |
922 | | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.tablet_id) |
923 | 3.16k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
924 | 3.16k | } |
925 | 0 | inline ::std::string* TabletStatusPB::release_tablet_id() { |
926 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.tablet_id) |
927 | 0 | clear_has_tablet_id(); |
928 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
929 | 0 | } |
930 | 0 | inline void TabletStatusPB::set_allocated_tablet_id(::std::string* tablet_id) { |
931 | 0 | if (tablet_id != NULL) { |
932 | 0 | set_has_tablet_id(); |
933 | 0 | } else { |
934 | 0 | clear_has_tablet_id(); |
935 | 0 | } |
936 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
937 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.tablet_id) |
938 | 0 | } |
939 | | |
940 | | // optional string namespace_name = 15; |
941 | 9.49k | inline bool TabletStatusPB::has_namespace_name() const { |
942 | 9.49k | return (_has_bits_[0] & 0x00000040u) != 0; |
943 | 9.49k | } |
944 | 11.3k | inline void TabletStatusPB::set_has_namespace_name() { |
945 | 11.3k | _has_bits_[0] |= 0x00000040u; |
946 | 11.3k | } |
947 | 0 | inline void TabletStatusPB::clear_has_namespace_name() { |
948 | 0 | _has_bits_[0] &= ~0x00000040u; |
949 | 0 | } |
950 | 0 | inline void TabletStatusPB::clear_namespace_name() { |
951 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
952 | 0 | clear_has_namespace_name(); |
953 | 0 | } |
954 | 22.3k | inline const ::std::string& TabletStatusPB::namespace_name() const { |
955 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.namespace_name) |
956 | 22.3k | return namespace_name_.GetNoArena(); |
957 | 22.3k | } |
958 | 8.14k | inline void TabletStatusPB::set_namespace_name(const ::std::string& value) { |
959 | 8.14k | set_has_namespace_name(); |
960 | 8.14k | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
961 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.namespace_name) |
962 | 8.14k | } |
963 | | #if LANG_CXX11 |
964 | 0 | inline void TabletStatusPB::set_namespace_name(::std::string&& value) { |
965 | 0 | set_has_namespace_name(); |
966 | 0 | namespace_name_.SetNoArena( |
967 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
968 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.namespace_name) |
969 | 0 | } |
970 | | #endif |
971 | 0 | inline void TabletStatusPB::set_namespace_name(const char* value) { |
972 | 0 | GOOGLE_DCHECK(value != NULL); |
973 | 0 | set_has_namespace_name(); |
974 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
975 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.namespace_name) |
976 | 0 | } |
977 | 0 | inline void TabletStatusPB::set_namespace_name(const char* value, size_t size) { |
978 | 0 | set_has_namespace_name(); |
979 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
980 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
981 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.namespace_name) |
982 | 0 | } |
983 | 3.16k | inline ::std::string* TabletStatusPB::mutable_namespace_name() { |
984 | 3.16k | set_has_namespace_name(); |
985 | | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.namespace_name) |
986 | 3.16k | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
987 | 3.16k | } |
988 | 0 | inline ::std::string* TabletStatusPB::release_namespace_name() { |
989 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.namespace_name) |
990 | 0 | clear_has_namespace_name(); |
991 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
992 | 0 | } |
993 | 0 | inline void TabletStatusPB::set_allocated_namespace_name(::std::string* namespace_name) { |
994 | 0 | if (namespace_name != NULL) { |
995 | 0 | set_has_namespace_name(); |
996 | 0 | } else { |
997 | 0 | clear_has_namespace_name(); |
998 | 0 | } |
999 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
1000 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.namespace_name) |
1001 | 0 | } |
1002 | | |
1003 | | // required string table_name = 2; |
1004 | 3.11k | inline bool TabletStatusPB::has_table_name() const { |
1005 | 3.11k | return (_has_bits_[0] & 0x00000002u) != 0; |
1006 | 3.11k | } |
1007 | 11.3k | inline void TabletStatusPB::set_has_table_name() { |
1008 | 11.3k | _has_bits_[0] |= 0x00000002u; |
1009 | 11.3k | } |
1010 | 0 | inline void TabletStatusPB::clear_has_table_name() { |
1011 | 0 | _has_bits_[0] &= ~0x00000002u; |
1012 | 0 | } |
1013 | 0 | inline void TabletStatusPB::clear_table_name() { |
1014 | 0 | table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1015 | 0 | clear_has_table_name(); |
1016 | 0 | } |
1017 | 26.7k | inline const ::std::string& TabletStatusPB::table_name() const { |
1018 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.table_name) |
1019 | 26.7k | return table_name_.GetNoArena(); |
1020 | 26.7k | } |
1021 | 8.14k | inline void TabletStatusPB::set_table_name(const ::std::string& value) { |
1022 | 8.14k | set_has_table_name(); |
1023 | 8.14k | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1024 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.table_name) |
1025 | 8.14k | } |
1026 | | #if LANG_CXX11 |
1027 | 0 | inline void TabletStatusPB::set_table_name(::std::string&& value) { |
1028 | 0 | set_has_table_name(); |
1029 | 0 | table_name_.SetNoArena( |
1030 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1031 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.table_name) |
1032 | 0 | } |
1033 | | #endif |
1034 | 0 | inline void TabletStatusPB::set_table_name(const char* value) { |
1035 | 0 | GOOGLE_DCHECK(value != NULL); |
1036 | 0 | set_has_table_name(); |
1037 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1038 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.table_name) |
1039 | 0 | } |
1040 | 0 | inline void TabletStatusPB::set_table_name(const char* value, size_t size) { |
1041 | 0 | set_has_table_name(); |
1042 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1043 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1044 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.table_name) |
1045 | 0 | } |
1046 | 3.16k | inline ::std::string* TabletStatusPB::mutable_table_name() { |
1047 | 3.16k | set_has_table_name(); |
1048 | | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.table_name) |
1049 | 3.16k | return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1050 | 3.16k | } |
1051 | 0 | inline ::std::string* TabletStatusPB::release_table_name() { |
1052 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.table_name) |
1053 | 0 | clear_has_table_name(); |
1054 | 0 | return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1055 | 0 | } |
1056 | 0 | inline void TabletStatusPB::set_allocated_table_name(::std::string* table_name) { |
1057 | 0 | if (table_name != NULL) { |
1058 | 0 | set_has_table_name(); |
1059 | 0 | } else { |
1060 | 0 | clear_has_table_name(); |
1061 | 0 | } |
1062 | 0 | table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name); |
1063 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.table_name) |
1064 | 0 | } |
1065 | | |
1066 | | // required string table_id = 10; |
1067 | 3.11k | inline bool TabletStatusPB::has_table_id() const { |
1068 | 3.11k | return (_has_bits_[0] & 0x00000020u) != 0; |
1069 | 3.11k | } |
1070 | 11.3k | inline void TabletStatusPB::set_has_table_id() { |
1071 | 11.3k | _has_bits_[0] |= 0x00000020u; |
1072 | 11.3k | } |
1073 | 0 | inline void TabletStatusPB::clear_has_table_id() { |
1074 | 0 | _has_bits_[0] &= ~0x00000020u; |
1075 | 0 | } |
1076 | 0 | inline void TabletStatusPB::clear_table_id() { |
1077 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1078 | 0 | clear_has_table_id(); |
1079 | 0 | } |
1080 | 22.3k | inline const ::std::string& TabletStatusPB::table_id() const { |
1081 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.table_id) |
1082 | 22.3k | return table_id_.GetNoArena(); |
1083 | 22.3k | } |
1084 | 8.14k | inline void TabletStatusPB::set_table_id(const ::std::string& value) { |
1085 | 8.14k | set_has_table_id(); |
1086 | 8.14k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1087 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.table_id) |
1088 | 8.14k | } |
1089 | | #if LANG_CXX11 |
1090 | 0 | inline void TabletStatusPB::set_table_id(::std::string&& value) { |
1091 | 0 | set_has_table_id(); |
1092 | 0 | table_id_.SetNoArena( |
1093 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1094 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.table_id) |
1095 | 0 | } |
1096 | | #endif |
1097 | 0 | inline void TabletStatusPB::set_table_id(const char* value) { |
1098 | 0 | GOOGLE_DCHECK(value != NULL); |
1099 | 0 | set_has_table_id(); |
1100 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1101 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.table_id) |
1102 | 0 | } |
1103 | 0 | inline void TabletStatusPB::set_table_id(const char* value, size_t size) { |
1104 | 0 | set_has_table_id(); |
1105 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1106 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1107 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.table_id) |
1108 | 0 | } |
1109 | 3.16k | inline ::std::string* TabletStatusPB::mutable_table_id() { |
1110 | 3.16k | set_has_table_id(); |
1111 | | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.table_id) |
1112 | 3.16k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1113 | 3.16k | } |
1114 | 0 | inline ::std::string* TabletStatusPB::release_table_id() { |
1115 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.table_id) |
1116 | 0 | clear_has_table_id(); |
1117 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1118 | 0 | } |
1119 | 0 | inline void TabletStatusPB::set_allocated_table_id(::std::string* table_id) { |
1120 | 0 | if (table_id != NULL) { |
1121 | 0 | set_has_table_id(); |
1122 | 0 | } else { |
1123 | 0 | clear_has_table_id(); |
1124 | 0 | } |
1125 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
1126 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.table_id) |
1127 | 0 | } |
1128 | | |
1129 | | // optional .yb.tablet.RaftGroupStatePB state = 3 [default = UNKNOWN]; |
1130 | 6.38k | inline bool TabletStatusPB::has_state() const { |
1131 | 6.38k | return (_has_bits_[0] & 0x00008000u) != 0; |
1132 | 6.38k | } |
1133 | 11.3k | inline void TabletStatusPB::set_has_state() { |
1134 | 11.3k | _has_bits_[0] |= 0x00008000u; |
1135 | 11.3k | } |
1136 | 0 | inline void TabletStatusPB::clear_has_state() { |
1137 | 0 | _has_bits_[0] &= ~0x00008000u; |
1138 | 0 | } |
1139 | 0 | inline void TabletStatusPB::clear_state() { |
1140 | 0 | state_ = 999; |
1141 | 0 | clear_has_state(); |
1142 | 0 | } |
1143 | 14.7k | inline ::yb::tablet::RaftGroupStatePB TabletStatusPB::state() const { |
1144 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.state) |
1145 | 14.7k | return static_cast< ::yb::tablet::RaftGroupStatePB >(state_); |
1146 | 14.7k | } |
1147 | 11.3k | inline void TabletStatusPB::set_state(::yb::tablet::RaftGroupStatePB value) { |
1148 | 11.3k | assert(::yb::tablet::RaftGroupStatePB_IsValid(value)); |
1149 | 0 | set_has_state(); |
1150 | 11.3k | state_ = value; |
1151 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.state) |
1152 | 11.3k | } |
1153 | | |
1154 | | // optional .yb.tablet.TabletDataState tablet_data_state = 8 [default = TABLET_DATA_UNKNOWN]; |
1155 | 6.38k | inline bool TabletStatusPB::has_tablet_data_state() const { |
1156 | 6.38k | return (_has_bits_[0] & 0x00010000u) != 0; |
1157 | 6.38k | } |
1158 | 11.3k | inline void TabletStatusPB::set_has_tablet_data_state() { |
1159 | 11.3k | _has_bits_[0] |= 0x00010000u; |
1160 | 11.3k | } |
1161 | 0 | inline void TabletStatusPB::clear_has_tablet_data_state() { |
1162 | 0 | _has_bits_[0] &= ~0x00010000u; |
1163 | 0 | } |
1164 | 0 | inline void TabletStatusPB::clear_tablet_data_state() { |
1165 | 0 | tablet_data_state_ = 999; |
1166 | 0 | clear_has_tablet_data_state(); |
1167 | 0 | } |
1168 | 9.57k | inline ::yb::tablet::TabletDataState TabletStatusPB::tablet_data_state() const { |
1169 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.tablet_data_state) |
1170 | 9.57k | return static_cast< ::yb::tablet::TabletDataState >(tablet_data_state_); |
1171 | 9.57k | } |
1172 | 11.3k | inline void TabletStatusPB::set_tablet_data_state(::yb::tablet::TabletDataState value) { |
1173 | 11.3k | assert(::yb::tablet::TabletDataState_IsValid(value)); |
1174 | 0 | set_has_tablet_data_state(); |
1175 | 11.3k | tablet_data_state_ = value; |
1176 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.tablet_data_state) |
1177 | 11.3k | } |
1178 | | |
1179 | | // required string last_status = 4; |
1180 | 3.11k | inline bool TabletStatusPB::has_last_status() const { |
1181 | 3.11k | return (_has_bits_[0] & 0x00000004u) != 0; |
1182 | 3.11k | } |
1183 | 11.3k | inline void TabletStatusPB::set_has_last_status() { |
1184 | 11.3k | _has_bits_[0] |= 0x00000004u; |
1185 | 11.3k | } |
1186 | 0 | inline void TabletStatusPB::clear_has_last_status() { |
1187 | 0 | _has_bits_[0] &= ~0x00000004u; |
1188 | 0 | } |
1189 | 0 | inline void TabletStatusPB::clear_last_status() { |
1190 | 0 | last_status_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1191 | 0 | clear_has_last_status(); |
1192 | 0 | } |
1193 | 22.3k | inline const ::std::string& TabletStatusPB::last_status() const { |
1194 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.last_status) |
1195 | 22.3k | return last_status_.GetNoArena(); |
1196 | 22.3k | } |
1197 | 0 | inline void TabletStatusPB::set_last_status(const ::std::string& value) { |
1198 | 0 | set_has_last_status(); |
1199 | 0 | last_status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1200 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.last_status) |
1201 | 0 | } |
1202 | | #if LANG_CXX11 |
1203 | 8.14k | inline void TabletStatusPB::set_last_status(::std::string&& value) { |
1204 | 8.14k | set_has_last_status(); |
1205 | 8.14k | last_status_.SetNoArena( |
1206 | 8.14k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1207 | | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.last_status) |
1208 | 8.14k | } |
1209 | | #endif |
1210 | 0 | inline void TabletStatusPB::set_last_status(const char* value) { |
1211 | 0 | GOOGLE_DCHECK(value != NULL); |
1212 | 0 | set_has_last_status(); |
1213 | 0 | last_status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1214 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.last_status) |
1215 | 0 | } |
1216 | 0 | inline void TabletStatusPB::set_last_status(const char* value, size_t size) { |
1217 | 0 | set_has_last_status(); |
1218 | 0 | last_status_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1219 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1220 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.last_status) |
1221 | 0 | } |
1222 | 3.16k | inline ::std::string* TabletStatusPB::mutable_last_status() { |
1223 | 3.16k | set_has_last_status(); |
1224 | | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.last_status) |
1225 | 3.16k | return last_status_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1226 | 3.16k | } |
1227 | 0 | inline ::std::string* TabletStatusPB::release_last_status() { |
1228 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.last_status) |
1229 | 0 | clear_has_last_status(); |
1230 | 0 | return last_status_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1231 | 0 | } |
1232 | 0 | inline void TabletStatusPB::set_allocated_last_status(::std::string* last_status) { |
1233 | 0 | if (last_status != NULL) { |
1234 | 0 | set_has_last_status(); |
1235 | 0 | } else { |
1236 | 0 | clear_has_last_status(); |
1237 | 0 | } |
1238 | 0 | last_status_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), last_status); |
1239 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.last_status) |
1240 | 0 | } |
1241 | | |
1242 | | // optional bytes start_key = 5; |
1243 | 3.11k | inline bool TabletStatusPB::has_start_key() const { |
1244 | 3.11k | return (_has_bits_[0] & 0x00000008u) != 0; |
1245 | 3.11k | } |
1246 | 0 | inline void TabletStatusPB::set_has_start_key() { |
1247 | 0 | _has_bits_[0] |= 0x00000008u; |
1248 | 0 | } |
1249 | 0 | inline void TabletStatusPB::clear_has_start_key() { |
1250 | 0 | _has_bits_[0] &= ~0x00000008u; |
1251 | 0 | } |
1252 | 0 | inline void TabletStatusPB::clear_start_key() { |
1253 | 0 | start_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1254 | 0 | clear_has_start_key(); |
1255 | 0 | } |
1256 | 0 | inline const ::std::string& TabletStatusPB::start_key() const { |
1257 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.start_key) |
1258 | 0 | return start_key_.GetNoArena(); |
1259 | 0 | } |
1260 | 0 | inline void TabletStatusPB::set_start_key(const ::std::string& value) { |
1261 | 0 | set_has_start_key(); |
1262 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1263 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.start_key) |
1264 | 0 | } |
1265 | | #if LANG_CXX11 |
1266 | 0 | inline void TabletStatusPB::set_start_key(::std::string&& value) { |
1267 | 0 | set_has_start_key(); |
1268 | 0 | start_key_.SetNoArena( |
1269 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1270 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.start_key) |
1271 | 0 | } |
1272 | | #endif |
1273 | 0 | inline void TabletStatusPB::set_start_key(const char* value) { |
1274 | 0 | GOOGLE_DCHECK(value != NULL); |
1275 | 0 | set_has_start_key(); |
1276 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1277 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.start_key) |
1278 | 0 | } |
1279 | 0 | inline void TabletStatusPB::set_start_key(const void* value, size_t size) { |
1280 | 0 | set_has_start_key(); |
1281 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1282 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1283 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.start_key) |
1284 | 0 | } |
1285 | 0 | inline ::std::string* TabletStatusPB::mutable_start_key() { |
1286 | 0 | set_has_start_key(); |
1287 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.start_key) |
1288 | 0 | return start_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1289 | 0 | } |
1290 | 0 | inline ::std::string* TabletStatusPB::release_start_key() { |
1291 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.start_key) |
1292 | 0 | clear_has_start_key(); |
1293 | 0 | return start_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1294 | 0 | } |
1295 | 0 | inline void TabletStatusPB::set_allocated_start_key(::std::string* start_key) { |
1296 | 0 | if (start_key != NULL) { |
1297 | 0 | set_has_start_key(); |
1298 | 0 | } else { |
1299 | 0 | clear_has_start_key(); |
1300 | 0 | } |
1301 | 0 | start_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), start_key); |
1302 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.start_key) |
1303 | 0 | } |
1304 | | |
1305 | | // optional bytes end_key = 6; |
1306 | 3.11k | inline bool TabletStatusPB::has_end_key() const { |
1307 | 3.11k | return (_has_bits_[0] & 0x00000010u) != 0; |
1308 | 3.11k | } |
1309 | 0 | inline void TabletStatusPB::set_has_end_key() { |
1310 | 0 | _has_bits_[0] |= 0x00000010u; |
1311 | 0 | } |
1312 | 0 | inline void TabletStatusPB::clear_has_end_key() { |
1313 | 0 | _has_bits_[0] &= ~0x00000010u; |
1314 | 0 | } |
1315 | 0 | inline void TabletStatusPB::clear_end_key() { |
1316 | 0 | end_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1317 | 0 | clear_has_end_key(); |
1318 | 0 | } |
1319 | 0 | inline const ::std::string& TabletStatusPB::end_key() const { |
1320 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.end_key) |
1321 | 0 | return end_key_.GetNoArena(); |
1322 | 0 | } |
1323 | 0 | inline void TabletStatusPB::set_end_key(const ::std::string& value) { |
1324 | 0 | set_has_end_key(); |
1325 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1326 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.end_key) |
1327 | 0 | } |
1328 | | #if LANG_CXX11 |
1329 | 0 | inline void TabletStatusPB::set_end_key(::std::string&& value) { |
1330 | 0 | set_has_end_key(); |
1331 | 0 | end_key_.SetNoArena( |
1332 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1333 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TabletStatusPB.end_key) |
1334 | 0 | } |
1335 | | #endif |
1336 | 0 | inline void TabletStatusPB::set_end_key(const char* value) { |
1337 | 0 | GOOGLE_DCHECK(value != NULL); |
1338 | 0 | set_has_end_key(); |
1339 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1340 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.TabletStatusPB.end_key) |
1341 | 0 | } |
1342 | 0 | inline void TabletStatusPB::set_end_key(const void* value, size_t size) { |
1343 | 0 | set_has_end_key(); |
1344 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1345 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1346 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.TabletStatusPB.end_key) |
1347 | 0 | } |
1348 | 0 | inline ::std::string* TabletStatusPB::mutable_end_key() { |
1349 | 0 | set_has_end_key(); |
1350 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.end_key) |
1351 | 0 | return end_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1352 | 0 | } |
1353 | 0 | inline ::std::string* TabletStatusPB::release_end_key() { |
1354 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.end_key) |
1355 | 0 | clear_has_end_key(); |
1356 | 0 | return end_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1357 | 0 | } |
1358 | 0 | inline void TabletStatusPB::set_allocated_end_key(::std::string* end_key) { |
1359 | 0 | if (end_key != NULL) { |
1360 | 0 | set_has_end_key(); |
1361 | 0 | } else { |
1362 | 0 | clear_has_end_key(); |
1363 | 0 | } |
1364 | 0 | end_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), end_key); |
1365 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.end_key) |
1366 | 0 | } |
1367 | | |
1368 | | // optional int64 estimated_on_disk_size = 7; |
1369 | 6.38k | inline bool TabletStatusPB::has_estimated_on_disk_size() const { |
1370 | 6.38k | return (_has_bits_[0] & 0x00000100u) != 0; |
1371 | 6.38k | } |
1372 | 11.3k | inline void TabletStatusPB::set_has_estimated_on_disk_size() { |
1373 | 11.3k | _has_bits_[0] |= 0x00000100u; |
1374 | 11.3k | } |
1375 | 0 | inline void TabletStatusPB::clear_has_estimated_on_disk_size() { |
1376 | 0 | _has_bits_[0] &= ~0x00000100u; |
1377 | 0 | } |
1378 | 0 | inline void TabletStatusPB::clear_estimated_on_disk_size() { |
1379 | 0 | estimated_on_disk_size_ = GOOGLE_LONGLONG(0); |
1380 | 0 | clear_has_estimated_on_disk_size(); |
1381 | 0 | } |
1382 | 9.58k | inline ::google::protobuf::int64 TabletStatusPB::estimated_on_disk_size() const { |
1383 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.estimated_on_disk_size) |
1384 | 9.58k | return estimated_on_disk_size_; |
1385 | 9.58k | } |
1386 | 8.14k | inline void TabletStatusPB::set_estimated_on_disk_size(::google::protobuf::int64 value) { |
1387 | 8.14k | set_has_estimated_on_disk_size(); |
1388 | 8.14k | estimated_on_disk_size_ = value; |
1389 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.estimated_on_disk_size) |
1390 | 8.14k | } |
1391 | | |
1392 | | // optional int64 consensus_metadata_disk_size = 11; |
1393 | 6.38k | inline bool TabletStatusPB::has_consensus_metadata_disk_size() const { |
1394 | 6.38k | return (_has_bits_[0] & 0x00000200u) != 0; |
1395 | 6.38k | } |
1396 | 11.3k | inline void TabletStatusPB::set_has_consensus_metadata_disk_size() { |
1397 | 11.3k | _has_bits_[0] |= 0x00000200u; |
1398 | 11.3k | } |
1399 | 0 | inline void TabletStatusPB::clear_has_consensus_metadata_disk_size() { |
1400 | 0 | _has_bits_[0] &= ~0x00000200u; |
1401 | 0 | } |
1402 | 0 | inline void TabletStatusPB::clear_consensus_metadata_disk_size() { |
1403 | 0 | consensus_metadata_disk_size_ = GOOGLE_LONGLONG(0); |
1404 | 0 | clear_has_consensus_metadata_disk_size(); |
1405 | 0 | } |
1406 | 9.58k | inline ::google::protobuf::int64 TabletStatusPB::consensus_metadata_disk_size() const { |
1407 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.consensus_metadata_disk_size) |
1408 | 9.58k | return consensus_metadata_disk_size_; |
1409 | 9.58k | } |
1410 | 8.14k | inline void TabletStatusPB::set_consensus_metadata_disk_size(::google::protobuf::int64 value) { |
1411 | 8.14k | set_has_consensus_metadata_disk_size(); |
1412 | 8.14k | consensus_metadata_disk_size_ = value; |
1413 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.consensus_metadata_disk_size) |
1414 | 8.14k | } |
1415 | | |
1416 | | // optional int64 wal_files_disk_size = 12; |
1417 | 6.38k | inline bool TabletStatusPB::has_wal_files_disk_size() const { |
1418 | 6.38k | return (_has_bits_[0] & 0x00000400u) != 0; |
1419 | 6.38k | } |
1420 | 11.3k | inline void TabletStatusPB::set_has_wal_files_disk_size() { |
1421 | 11.3k | _has_bits_[0] |= 0x00000400u; |
1422 | 11.3k | } |
1423 | 0 | inline void TabletStatusPB::clear_has_wal_files_disk_size() { |
1424 | 0 | _has_bits_[0] &= ~0x00000400u; |
1425 | 0 | } |
1426 | 0 | inline void TabletStatusPB::clear_wal_files_disk_size() { |
1427 | 0 | wal_files_disk_size_ = GOOGLE_LONGLONG(0); |
1428 | 0 | clear_has_wal_files_disk_size(); |
1429 | 0 | } |
1430 | 9.58k | inline ::google::protobuf::int64 TabletStatusPB::wal_files_disk_size() const { |
1431 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.wal_files_disk_size) |
1432 | 9.58k | return wal_files_disk_size_; |
1433 | 9.58k | } |
1434 | 8.14k | inline void TabletStatusPB::set_wal_files_disk_size(::google::protobuf::int64 value) { |
1435 | 8.14k | set_has_wal_files_disk_size(); |
1436 | 8.14k | wal_files_disk_size_ = value; |
1437 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.wal_files_disk_size) |
1438 | 8.14k | } |
1439 | | |
1440 | | // optional int64 sst_files_disk_size = 13; |
1441 | 6.38k | inline bool TabletStatusPB::has_sst_files_disk_size() const { |
1442 | 6.38k | return (_has_bits_[0] & 0x00000800u) != 0; |
1443 | 6.38k | } |
1444 | 11.3k | inline void TabletStatusPB::set_has_sst_files_disk_size() { |
1445 | 11.3k | _has_bits_[0] |= 0x00000800u; |
1446 | 11.3k | } |
1447 | 0 | inline void TabletStatusPB::clear_has_sst_files_disk_size() { |
1448 | 0 | _has_bits_[0] &= ~0x00000800u; |
1449 | 0 | } |
1450 | 0 | inline void TabletStatusPB::clear_sst_files_disk_size() { |
1451 | 0 | sst_files_disk_size_ = GOOGLE_LONGLONG(0); |
1452 | 0 | clear_has_sst_files_disk_size(); |
1453 | 0 | } |
1454 | 9.58k | inline ::google::protobuf::int64 TabletStatusPB::sst_files_disk_size() const { |
1455 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.sst_files_disk_size) |
1456 | 9.58k | return sst_files_disk_size_; |
1457 | 9.58k | } |
1458 | 8.14k | inline void TabletStatusPB::set_sst_files_disk_size(::google::protobuf::int64 value) { |
1459 | 8.14k | set_has_sst_files_disk_size(); |
1460 | 8.14k | sst_files_disk_size_ = value; |
1461 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.sst_files_disk_size) |
1462 | 8.14k | } |
1463 | | |
1464 | | // optional int64 uncompressed_sst_files_disk_size = 14; |
1465 | 6.38k | inline bool TabletStatusPB::has_uncompressed_sst_files_disk_size() const { |
1466 | 6.38k | return (_has_bits_[0] & 0x00001000u) != 0; |
1467 | 6.38k | } |
1468 | 11.3k | inline void TabletStatusPB::set_has_uncompressed_sst_files_disk_size() { |
1469 | 11.3k | _has_bits_[0] |= 0x00001000u; |
1470 | 11.3k | } |
1471 | 0 | inline void TabletStatusPB::clear_has_uncompressed_sst_files_disk_size() { |
1472 | 0 | _has_bits_[0] &= ~0x00001000u; |
1473 | 0 | } |
1474 | 0 | inline void TabletStatusPB::clear_uncompressed_sst_files_disk_size() { |
1475 | 0 | uncompressed_sst_files_disk_size_ = GOOGLE_LONGLONG(0); |
1476 | 0 | clear_has_uncompressed_sst_files_disk_size(); |
1477 | 0 | } |
1478 | 9.58k | inline ::google::protobuf::int64 TabletStatusPB::uncompressed_sst_files_disk_size() const { |
1479 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.uncompressed_sst_files_disk_size) |
1480 | 9.58k | return uncompressed_sst_files_disk_size_; |
1481 | 9.58k | } |
1482 | 8.14k | inline void TabletStatusPB::set_uncompressed_sst_files_disk_size(::google::protobuf::int64 value) { |
1483 | 8.14k | set_has_uncompressed_sst_files_disk_size(); |
1484 | 8.14k | uncompressed_sst_files_disk_size_ = value; |
1485 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.uncompressed_sst_files_disk_size) |
1486 | 8.14k | } |
1487 | | |
1488 | | // optional .yb.PartitionPB partition = 9; |
1489 | 9.49k | inline bool TabletStatusPB::has_partition() const { |
1490 | 9.49k | return (_has_bits_[0] & 0x00000080u) != 0; |
1491 | 9.49k | } |
1492 | 11.3k | inline void TabletStatusPB::set_has_partition() { |
1493 | 11.3k | _has_bits_[0] |= 0x00000080u; |
1494 | 11.3k | } |
1495 | 0 | inline void TabletStatusPB::clear_has_partition() { |
1496 | 0 | _has_bits_[0] &= ~0x00000080u; |
1497 | 0 | } |
1498 | 26 | inline const ::yb::PartitionPB& TabletStatusPB::partition() const { |
1499 | 26 | const ::yb::PartitionPB* p = partition_; |
1500 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.partition) |
1501 | 26 | return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionPB*>( |
1502 | 0 | &::yb::_PartitionPB_default_instance_); |
1503 | 26 | } |
1504 | 0 | inline ::yb::PartitionPB* TabletStatusPB::release_partition() { |
1505 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.TabletStatusPB.partition) |
1506 | 0 | clear_has_partition(); |
1507 | 0 | ::yb::PartitionPB* temp = partition_; |
1508 | 0 | partition_ = NULL; |
1509 | 0 | return temp; |
1510 | 0 | } |
1511 | 11.3k | inline ::yb::PartitionPB* TabletStatusPB::mutable_partition() { |
1512 | 11.3k | set_has_partition(); |
1513 | 11.3k | if (partition_ == NULL) { |
1514 | 11.3k | partition_ = new ::yb::PartitionPB; |
1515 | 11.3k | } |
1516 | | // @@protoc_insertion_point(field_mutable:yb.tablet.TabletStatusPB.partition) |
1517 | 11.3k | return partition_; |
1518 | 11.3k | } |
1519 | 0 | inline void TabletStatusPB::set_allocated_partition(::yb::PartitionPB* partition) { |
1520 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1521 | 0 | if (message_arena == NULL) { |
1522 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_); |
1523 | 0 | } |
1524 | 0 | if (partition) { |
1525 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1526 | 0 | if (message_arena != submessage_arena) { |
1527 | 0 | partition = ::google::protobuf::internal::GetOwnedMessage( |
1528 | 0 | message_arena, partition, submessage_arena); |
1529 | 0 | } |
1530 | 0 | set_has_partition(); |
1531 | 0 | } else { |
1532 | 0 | clear_has_partition(); |
1533 | 0 | } |
1534 | 0 | partition_ = partition; |
1535 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.TabletStatusPB.partition) |
1536 | 0 | } |
1537 | | |
1538 | | // optional .yb.TableType table_type = 16; |
1539 | 6.38k | inline bool TabletStatusPB::has_table_type() const { |
1540 | 6.38k | return (_has_bits_[0] & 0x00004000u) != 0; |
1541 | 6.38k | } |
1542 | 11.2k | inline void TabletStatusPB::set_has_table_type() { |
1543 | 11.2k | _has_bits_[0] |= 0x00004000u; |
1544 | 11.2k | } |
1545 | 0 | inline void TabletStatusPB::clear_has_table_type() { |
1546 | 0 | _has_bits_[0] &= ~0x00004000u; |
1547 | 0 | } |
1548 | 0 | inline void TabletStatusPB::clear_table_type() { |
1549 | 0 | table_type_ = 2; |
1550 | 0 | clear_has_table_type(); |
1551 | 0 | } |
1552 | 9.56k | inline ::yb::TableType TabletStatusPB::table_type() const { |
1553 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.table_type) |
1554 | 9.56k | return static_cast< ::yb::TableType >(table_type_); |
1555 | 9.56k | } |
1556 | 11.2k | inline void TabletStatusPB::set_table_type(::yb::TableType value) { |
1557 | 11.2k | assert(::yb::TableType_IsValid(value)); |
1558 | 0 | set_has_table_type(); |
1559 | 11.2k | table_type_ = value; |
1560 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.table_type) |
1561 | 11.2k | } |
1562 | | |
1563 | | // optional bool is_hidden = 17; |
1564 | 6.38k | inline bool TabletStatusPB::has_is_hidden() const { |
1565 | 6.38k | return (_has_bits_[0] & 0x00002000u) != 0; |
1566 | 6.38k | } |
1567 | 11.3k | inline void TabletStatusPB::set_has_is_hidden() { |
1568 | 11.3k | _has_bits_[0] |= 0x00002000u; |
1569 | 11.3k | } |
1570 | 0 | inline void TabletStatusPB::clear_has_is_hidden() { |
1571 | 0 | _has_bits_[0] &= ~0x00002000u; |
1572 | 0 | } |
1573 | 0 | inline void TabletStatusPB::clear_is_hidden() { |
1574 | 0 | is_hidden_ = false; |
1575 | 0 | clear_has_is_hidden(); |
1576 | 0 | } |
1577 | 3.19k | inline bool TabletStatusPB::is_hidden() const { |
1578 | | // @@protoc_insertion_point(field_get:yb.tablet.TabletStatusPB.is_hidden) |
1579 | 3.19k | return is_hidden_; |
1580 | 3.19k | } |
1581 | 8.14k | inline void TabletStatusPB::set_is_hidden(bool value) { |
1582 | 8.14k | set_has_is_hidden(); |
1583 | 8.14k | is_hidden_ = value; |
1584 | | // @@protoc_insertion_point(field_set:yb.tablet.TabletStatusPB.is_hidden) |
1585 | 8.14k | } |
1586 | | |
1587 | | // ------------------------------------------------------------------- |
1588 | | |
1589 | | // MaintenanceManagerStatusPB_MaintenanceOpPB |
1590 | | |
1591 | | // required string name = 1; |
1592 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::has_name() const { |
1593 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
1594 | 0 | } |
1595 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_has_name() { |
1596 | 0 | _has_bits_[0] |= 0x00000001u; |
1597 | 0 | } |
1598 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_has_name() { |
1599 | 0 | _has_bits_[0] &= ~0x00000001u; |
1600 | 0 | } |
1601 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_name() { |
1602 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1603 | 0 | clear_has_name(); |
1604 | 0 | } |
1605 | 0 | inline const ::std::string& MaintenanceManagerStatusPB_MaintenanceOpPB::name() const { |
1606 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1607 | 0 | return name_.GetNoArena(); |
1608 | 0 | } |
1609 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_name(const ::std::string& value) { |
1610 | 0 | set_has_name(); |
1611 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1612 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1613 | 0 | } |
1614 | | #if LANG_CXX11 |
1615 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_name(::std::string&& value) { |
1616 | 0 | set_has_name(); |
1617 | 0 | name_.SetNoArena( |
1618 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1619 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1620 | 0 | } |
1621 | | #endif |
1622 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_name(const char* value) { |
1623 | 0 | GOOGLE_DCHECK(value != NULL); |
1624 | 0 | set_has_name(); |
1625 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1626 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1627 | 0 | } |
1628 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_name(const char* value, size_t size) { |
1629 | 0 | set_has_name(); |
1630 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1631 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1632 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1633 | 0 | } |
1634 | 0 | inline ::std::string* MaintenanceManagerStatusPB_MaintenanceOpPB::mutable_name() { |
1635 | 0 | set_has_name(); |
1636 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1637 | 0 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1638 | 0 | } |
1639 | 0 | inline ::std::string* MaintenanceManagerStatusPB_MaintenanceOpPB::release_name() { |
1640 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1641 | 0 | clear_has_name(); |
1642 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1643 | 0 | } |
1644 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_allocated_name(::std::string* name) { |
1645 | 0 | if (name != NULL) { |
1646 | 0 | set_has_name(); |
1647 | 0 | } else { |
1648 | 0 | clear_has_name(); |
1649 | 0 | } |
1650 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
1651 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.name) |
1652 | 0 | } |
1653 | | |
1654 | | // required uint32 running = 2; |
1655 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::has_running() const { |
1656 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
1657 | 0 | } |
1658 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_has_running() { |
1659 | 0 | _has_bits_[0] |= 0x00000002u; |
1660 | 0 | } |
1661 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_has_running() { |
1662 | 0 | _has_bits_[0] &= ~0x00000002u; |
1663 | 0 | } |
1664 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_running() { |
1665 | 0 | running_ = 0u; |
1666 | 0 | clear_has_running(); |
1667 | 0 | } |
1668 | 0 | inline ::google::protobuf::uint32 MaintenanceManagerStatusPB_MaintenanceOpPB::running() const { |
1669 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.running) |
1670 | 0 | return running_; |
1671 | 0 | } |
1672 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_running(::google::protobuf::uint32 value) { |
1673 | 0 | set_has_running(); |
1674 | 0 | running_ = value; |
1675 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.running) |
1676 | 0 | } |
1677 | | |
1678 | | // required bool runnable = 3; |
1679 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::has_runnable() const { |
1680 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
1681 | 0 | } |
1682 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_has_runnable() { |
1683 | 0 | _has_bits_[0] |= 0x00000004u; |
1684 | 0 | } |
1685 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_has_runnable() { |
1686 | 0 | _has_bits_[0] &= ~0x00000004u; |
1687 | 0 | } |
1688 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_runnable() { |
1689 | 0 | runnable_ = false; |
1690 | 0 | clear_has_runnable(); |
1691 | 0 | } |
1692 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::runnable() const { |
1693 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.runnable) |
1694 | 0 | return runnable_; |
1695 | 0 | } |
1696 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_runnable(bool value) { |
1697 | 0 | set_has_runnable(); |
1698 | 0 | runnable_ = value; |
1699 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.runnable) |
1700 | 0 | } |
1701 | | |
1702 | | // required uint64 ram_anchored_bytes = 4; |
1703 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::has_ram_anchored_bytes() const { |
1704 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
1705 | 0 | } |
1706 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_has_ram_anchored_bytes() { |
1707 | 0 | _has_bits_[0] |= 0x00000008u; |
1708 | 0 | } |
1709 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_has_ram_anchored_bytes() { |
1710 | 0 | _has_bits_[0] &= ~0x00000008u; |
1711 | 0 | } |
1712 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_ram_anchored_bytes() { |
1713 | 0 | ram_anchored_bytes_ = GOOGLE_ULONGLONG(0); |
1714 | 0 | clear_has_ram_anchored_bytes(); |
1715 | 0 | } |
1716 | 0 | inline ::google::protobuf::uint64 MaintenanceManagerStatusPB_MaintenanceOpPB::ram_anchored_bytes() const { |
1717 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.ram_anchored_bytes) |
1718 | 0 | return ram_anchored_bytes_; |
1719 | 0 | } |
1720 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_ram_anchored_bytes(::google::protobuf::uint64 value) { |
1721 | 0 | set_has_ram_anchored_bytes(); |
1722 | 0 | ram_anchored_bytes_ = value; |
1723 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.ram_anchored_bytes) |
1724 | 0 | } |
1725 | | |
1726 | | // required int64 logs_retained_bytes = 5; |
1727 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::has_logs_retained_bytes() const { |
1728 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
1729 | 0 | } |
1730 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_has_logs_retained_bytes() { |
1731 | 0 | _has_bits_[0] |= 0x00000010u; |
1732 | 0 | } |
1733 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_has_logs_retained_bytes() { |
1734 | 0 | _has_bits_[0] &= ~0x00000010u; |
1735 | 0 | } |
1736 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_logs_retained_bytes() { |
1737 | 0 | logs_retained_bytes_ = GOOGLE_LONGLONG(0); |
1738 | 0 | clear_has_logs_retained_bytes(); |
1739 | 0 | } |
1740 | 0 | inline ::google::protobuf::int64 MaintenanceManagerStatusPB_MaintenanceOpPB::logs_retained_bytes() const { |
1741 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.logs_retained_bytes) |
1742 | 0 | return logs_retained_bytes_; |
1743 | 0 | } |
1744 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_logs_retained_bytes(::google::protobuf::int64 value) { |
1745 | 0 | set_has_logs_retained_bytes(); |
1746 | 0 | logs_retained_bytes_ = value; |
1747 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.logs_retained_bytes) |
1748 | 0 | } |
1749 | | |
1750 | | // required double perf_improvement = 6; |
1751 | 0 | inline bool MaintenanceManagerStatusPB_MaintenanceOpPB::has_perf_improvement() const { |
1752 | 0 | return (_has_bits_[0] & 0x00000020u) != 0; |
1753 | 0 | } |
1754 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_has_perf_improvement() { |
1755 | 0 | _has_bits_[0] |= 0x00000020u; |
1756 | 0 | } |
1757 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_has_perf_improvement() { |
1758 | 0 | _has_bits_[0] &= ~0x00000020u; |
1759 | 0 | } |
1760 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::clear_perf_improvement() { |
1761 | 0 | perf_improvement_ = 0; |
1762 | 0 | clear_has_perf_improvement(); |
1763 | 0 | } |
1764 | 0 | inline double MaintenanceManagerStatusPB_MaintenanceOpPB::perf_improvement() const { |
1765 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.perf_improvement) |
1766 | 0 | return perf_improvement_; |
1767 | 0 | } |
1768 | 0 | inline void MaintenanceManagerStatusPB_MaintenanceOpPB::set_perf_improvement(double value) { |
1769 | 0 | set_has_perf_improvement(); |
1770 | 0 | perf_improvement_ = value; |
1771 | 0 | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB.perf_improvement) |
1772 | 0 | } |
1773 | | |
1774 | | // ------------------------------------------------------------------- |
1775 | | |
1776 | | // MaintenanceManagerStatusPB_CompletedOpPB |
1777 | | |
1778 | | // required string name = 1; |
1779 | 0 | inline bool MaintenanceManagerStatusPB_CompletedOpPB::has_name() const { |
1780 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
1781 | 0 | } |
1782 | 14 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_has_name() { |
1783 | 14 | _has_bits_[0] |= 0x00000001u; |
1784 | 14 | } |
1785 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::clear_has_name() { |
1786 | 0 | _has_bits_[0] &= ~0x00000001u; |
1787 | 0 | } |
1788 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::clear_name() { |
1789 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1790 | 0 | clear_has_name(); |
1791 | 0 | } |
1792 | 5 | inline const ::std::string& MaintenanceManagerStatusPB_CompletedOpPB::name() const { |
1793 | | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1794 | 5 | return name_.GetNoArena(); |
1795 | 5 | } |
1796 | 14 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_name(const ::std::string& value) { |
1797 | 14 | set_has_name(); |
1798 | 14 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1799 | | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1800 | 14 | } |
1801 | | #if LANG_CXX11 |
1802 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_name(::std::string&& value) { |
1803 | 0 | set_has_name(); |
1804 | 0 | name_.SetNoArena( |
1805 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1806 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1807 | 0 | } |
1808 | | #endif |
1809 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_name(const char* value) { |
1810 | 0 | GOOGLE_DCHECK(value != NULL); |
1811 | 0 | set_has_name(); |
1812 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1813 | 0 | // @@protoc_insertion_point(field_set_char:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1814 | 0 | } |
1815 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_name(const char* value, size_t size) { |
1816 | 0 | set_has_name(); |
1817 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1818 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1819 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1820 | 0 | } |
1821 | 0 | inline ::std::string* MaintenanceManagerStatusPB_CompletedOpPB::mutable_name() { |
1822 | 0 | set_has_name(); |
1823 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1824 | 0 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1825 | 0 | } |
1826 | 0 | inline ::std::string* MaintenanceManagerStatusPB_CompletedOpPB::release_name() { |
1827 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1828 | 0 | clear_has_name(); |
1829 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1830 | 0 | } |
1831 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_allocated_name(::std::string* name) { |
1832 | 0 | if (name != NULL) { |
1833 | 0 | set_has_name(); |
1834 | 0 | } else { |
1835 | 0 | clear_has_name(); |
1836 | 0 | } |
1837 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
1838 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.name) |
1839 | 0 | } |
1840 | | |
1841 | | // required int32 duration_millis = 2; |
1842 | 0 | inline bool MaintenanceManagerStatusPB_CompletedOpPB::has_duration_millis() const { |
1843 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
1844 | 0 | } |
1845 | 14 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_has_duration_millis() { |
1846 | 14 | _has_bits_[0] |= 0x00000002u; |
1847 | 14 | } |
1848 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::clear_has_duration_millis() { |
1849 | 0 | _has_bits_[0] &= ~0x00000002u; |
1850 | 0 | } |
1851 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::clear_duration_millis() { |
1852 | 0 | duration_millis_ = 0; |
1853 | 0 | clear_has_duration_millis(); |
1854 | 0 | } |
1855 | 0 | inline ::google::protobuf::int32 MaintenanceManagerStatusPB_CompletedOpPB::duration_millis() const { |
1856 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.duration_millis) |
1857 | 0 | return duration_millis_; |
1858 | 0 | } |
1859 | 14 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_duration_millis(::google::protobuf::int32 value) { |
1860 | 14 | set_has_duration_millis(); |
1861 | 14 | duration_millis_ = value; |
1862 | | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.duration_millis) |
1863 | 14 | } |
1864 | | |
1865 | | // required int32 secs_since_start = 3; |
1866 | 0 | inline bool MaintenanceManagerStatusPB_CompletedOpPB::has_secs_since_start() const { |
1867 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
1868 | 0 | } |
1869 | 14 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_has_secs_since_start() { |
1870 | 14 | _has_bits_[0] |= 0x00000004u; |
1871 | 14 | } |
1872 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::clear_has_secs_since_start() { |
1873 | 0 | _has_bits_[0] &= ~0x00000004u; |
1874 | 0 | } |
1875 | 0 | inline void MaintenanceManagerStatusPB_CompletedOpPB::clear_secs_since_start() { |
1876 | 0 | secs_since_start_ = 0; |
1877 | 0 | clear_has_secs_since_start(); |
1878 | 0 | } |
1879 | 0 | inline ::google::protobuf::int32 MaintenanceManagerStatusPB_CompletedOpPB::secs_since_start() const { |
1880 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.secs_since_start) |
1881 | 0 | return secs_since_start_; |
1882 | 0 | } |
1883 | 14 | inline void MaintenanceManagerStatusPB_CompletedOpPB::set_secs_since_start(::google::protobuf::int32 value) { |
1884 | 14 | set_has_secs_since_start(); |
1885 | 14 | secs_since_start_ = value; |
1886 | | // @@protoc_insertion_point(field_set:yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB.secs_since_start) |
1887 | 14 | } |
1888 | | |
1889 | | // ------------------------------------------------------------------- |
1890 | | |
1891 | | // MaintenanceManagerStatusPB |
1892 | | |
1893 | | // optional .yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB best_op = 1; |
1894 | 0 | inline bool MaintenanceManagerStatusPB::has_best_op() const { |
1895 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
1896 | 0 | } |
1897 | 0 | inline void MaintenanceManagerStatusPB::set_has_best_op() { |
1898 | 0 | _has_bits_[0] |= 0x00000001u; |
1899 | 0 | } |
1900 | 0 | inline void MaintenanceManagerStatusPB::clear_has_best_op() { |
1901 | 0 | _has_bits_[0] &= ~0x00000001u; |
1902 | 0 | } |
1903 | 0 | inline void MaintenanceManagerStatusPB::clear_best_op() { |
1904 | 0 | if (best_op_ != NULL) best_op_->Clear(); |
1905 | 0 | clear_has_best_op(); |
1906 | 0 | } |
1907 | 0 | inline const ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB& MaintenanceManagerStatusPB::best_op() const { |
1908 | 0 | const ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* p = best_op_; |
1909 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.best_op) |
1910 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB*>( |
1911 | 0 | &::yb::tablet::_MaintenanceManagerStatusPB_MaintenanceOpPB_default_instance_); |
1912 | 0 | } |
1913 | 0 | inline ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* MaintenanceManagerStatusPB::release_best_op() { |
1914 | 0 | // @@protoc_insertion_point(field_release:yb.tablet.MaintenanceManagerStatusPB.best_op) |
1915 | 0 | clear_has_best_op(); |
1916 | 0 | ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* temp = best_op_; |
1917 | 0 | best_op_ = NULL; |
1918 | 0 | return temp; |
1919 | 0 | } |
1920 | 0 | inline ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* MaintenanceManagerStatusPB::mutable_best_op() { |
1921 | 0 | set_has_best_op(); |
1922 | 0 | if (best_op_ == NULL) { |
1923 | 0 | best_op_ = new ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB; |
1924 | 0 | } |
1925 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.MaintenanceManagerStatusPB.best_op) |
1926 | 0 | return best_op_; |
1927 | 0 | } |
1928 | 0 | inline void MaintenanceManagerStatusPB::set_allocated_best_op(::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* best_op) { |
1929 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1930 | 0 | if (message_arena == NULL) { |
1931 | 0 | delete best_op_; |
1932 | 0 | } |
1933 | 0 | if (best_op) { |
1934 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1935 | 0 | if (message_arena != submessage_arena) { |
1936 | 0 | best_op = ::google::protobuf::internal::GetOwnedMessage( |
1937 | 0 | message_arena, best_op, submessage_arena); |
1938 | 0 | } |
1939 | 0 | set_has_best_op(); |
1940 | 0 | } else { |
1941 | 0 | clear_has_best_op(); |
1942 | 0 | } |
1943 | 0 | best_op_ = best_op; |
1944 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tablet.MaintenanceManagerStatusPB.best_op) |
1945 | 0 | } |
1946 | | |
1947 | | // repeated .yb.tablet.MaintenanceManagerStatusPB.MaintenanceOpPB registered_operations = 2; |
1948 | 0 | inline int MaintenanceManagerStatusPB::registered_operations_size() const { |
1949 | 0 | return registered_operations_.size(); |
1950 | 0 | } |
1951 | 0 | inline void MaintenanceManagerStatusPB::clear_registered_operations() { |
1952 | 0 | registered_operations_.Clear(); |
1953 | 0 | } |
1954 | 0 | inline const ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB& MaintenanceManagerStatusPB::registered_operations(int index) const { |
1955 | 0 | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.registered_operations) |
1956 | 0 | return registered_operations_.Get(index); |
1957 | 0 | } |
1958 | 0 | inline ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* MaintenanceManagerStatusPB::mutable_registered_operations(int index) { |
1959 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.MaintenanceManagerStatusPB.registered_operations) |
1960 | 0 | return registered_operations_.Mutable(index); |
1961 | 0 | } |
1962 | 0 | inline ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB* MaintenanceManagerStatusPB::add_registered_operations() { |
1963 | 0 | // @@protoc_insertion_point(field_add:yb.tablet.MaintenanceManagerStatusPB.registered_operations) |
1964 | 0 | return registered_operations_.Add(); |
1965 | 0 | } |
1966 | | inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB >* |
1967 | 0 | MaintenanceManagerStatusPB::mutable_registered_operations() { |
1968 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tablet.MaintenanceManagerStatusPB.registered_operations) |
1969 | 0 | return ®istered_operations_; |
1970 | 0 | } |
1971 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_MaintenanceOpPB >& |
1972 | 0 | MaintenanceManagerStatusPB::registered_operations() const { |
1973 | 0 | // @@protoc_insertion_point(field_list:yb.tablet.MaintenanceManagerStatusPB.registered_operations) |
1974 | 0 | return registered_operations_; |
1975 | 0 | } |
1976 | | |
1977 | | // repeated .yb.tablet.MaintenanceManagerStatusPB.CompletedOpPB completed_operations = 3; |
1978 | 5 | inline int MaintenanceManagerStatusPB::completed_operations_size() const { |
1979 | 5 | return completed_operations_.size(); |
1980 | 5 | } |
1981 | 0 | inline void MaintenanceManagerStatusPB::clear_completed_operations() { |
1982 | 0 | completed_operations_.Clear(); |
1983 | 0 | } |
1984 | 5 | inline const ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB& MaintenanceManagerStatusPB::completed_operations(int index) const { |
1985 | | // @@protoc_insertion_point(field_get:yb.tablet.MaintenanceManagerStatusPB.completed_operations) |
1986 | 5 | return completed_operations_.Get(index); |
1987 | 5 | } |
1988 | 0 | inline ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB* MaintenanceManagerStatusPB::mutable_completed_operations(int index) { |
1989 | 0 | // @@protoc_insertion_point(field_mutable:yb.tablet.MaintenanceManagerStatusPB.completed_operations) |
1990 | 0 | return completed_operations_.Mutable(index); |
1991 | 0 | } |
1992 | 14 | inline ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB* MaintenanceManagerStatusPB::add_completed_operations() { |
1993 | | // @@protoc_insertion_point(field_add:yb.tablet.MaintenanceManagerStatusPB.completed_operations) |
1994 | 14 | return completed_operations_.Add(); |
1995 | 14 | } |
1996 | | inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB >* |
1997 | 0 | MaintenanceManagerStatusPB::mutable_completed_operations() { |
1998 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tablet.MaintenanceManagerStatusPB.completed_operations) |
1999 | 0 | return &completed_operations_; |
2000 | 0 | } |
2001 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::MaintenanceManagerStatusPB_CompletedOpPB >& |
2002 | 0 | MaintenanceManagerStatusPB::completed_operations() const { |
2003 | 0 | // @@protoc_insertion_point(field_list:yb.tablet.MaintenanceManagerStatusPB.completed_operations) |
2004 | 0 | return completed_operations_; |
2005 | 0 | } |
2006 | | |
2007 | | #ifdef __GNUC__ |
2008 | | #pragma GCC diagnostic pop |
2009 | | #endif // __GNUC__ |
2010 | | // ------------------------------------------------------------------- |
2011 | | |
2012 | | // ------------------------------------------------------------------- |
2013 | | |
2014 | | // ------------------------------------------------------------------- |
2015 | | |
2016 | | |
2017 | | // @@protoc_insertion_point(namespace_scope) |
2018 | | |
2019 | | } // namespace tablet |
2020 | | } // namespace yb |
2021 | | |
2022 | | // @@protoc_insertion_point(global_scope) |
2023 | | |
2024 | | #endif // PROTOBUF_yb_2ftablet_2ftablet_2eproto__INCLUDED |