/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tserver/tserver_admin.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/tserver/tserver_admin.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2ftserver_2ftserver_5fadmin_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2ftserver_2ftserver_5fadmin_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/generated_enum_reflection.h> |
32 | | #include <google/protobuf/unknown_field_set.h> |
33 | | #include "yb/common/common.pb.h" |
34 | | #include "yb/common/common_types.pb.h" |
35 | | #include "yb/consensus/metadata.pb.h" |
36 | | #include "yb/tablet/metadata.pb.h" |
37 | | #include "yb/tablet/operations.pb.h" |
38 | | #include "yb/tablet/tablet_types.pb.h" |
39 | | #include "yb/tserver/tserver_types.pb.h" |
40 | | // @@protoc_insertion_point(includes) |
41 | | |
42 | | namespace protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto { |
43 | | // Internal implementation detail -- do not use these members. |
44 | | struct TableStruct { |
45 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
46 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
47 | | static const ::google::protobuf::internal::ParseTable schema[23]; |
48 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
49 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
50 | | static const ::google::protobuf::uint32 offsets[]; |
51 | | }; |
52 | | void AddDescriptors(); |
53 | | void InitDefaultsExportedTabletMetadataChangesImpl(); |
54 | | void InitDefaultsExportedTabletMetadataChanges(); |
55 | | void InitDefaultsChangeMetadataResponsePBImpl(); |
56 | | void InitDefaultsChangeMetadataResponsePB(); |
57 | | void InitDefaultsGetSafeTimeRequestPBImpl(); |
58 | | void InitDefaultsGetSafeTimeRequestPB(); |
59 | | void InitDefaultsGetSafeTimeResponsePBImpl(); |
60 | | void InitDefaultsGetSafeTimeResponsePB(); |
61 | | void InitDefaultsBackfillIndexRequestPBImpl(); |
62 | | void InitDefaultsBackfillIndexRequestPB(); |
63 | | void InitDefaultsBackfillIndexResponsePBImpl(); |
64 | | void InitDefaultsBackfillIndexResponsePB(); |
65 | | void InitDefaultsCopartitionTableRequestPBImpl(); |
66 | | void InitDefaultsCopartitionTableRequestPB(); |
67 | | void InitDefaultsCopartitionTableResponsePBImpl(); |
68 | | void InitDefaultsCopartitionTableResponsePB(); |
69 | | void InitDefaultsCreateTabletRequestPBImpl(); |
70 | | void InitDefaultsCreateTabletRequestPB(); |
71 | | void InitDefaultsCreateTabletResponsePBImpl(); |
72 | | void InitDefaultsCreateTabletResponsePB(); |
73 | | void InitDefaultsDeleteTabletRequestPBImpl(); |
74 | | void InitDefaultsDeleteTabletRequestPB(); |
75 | | void InitDefaultsDeleteTabletResponsePBImpl(); |
76 | | void InitDefaultsDeleteTabletResponsePB(); |
77 | | void InitDefaultsFlushTabletsRequestPBImpl(); |
78 | | void InitDefaultsFlushTabletsRequestPB(); |
79 | | void InitDefaultsFlushTabletsResponsePBImpl(); |
80 | | void InitDefaultsFlushTabletsResponsePB(); |
81 | | void InitDefaultsCountIntentsRequestPBImpl(); |
82 | | void InitDefaultsCountIntentsRequestPB(); |
83 | | void InitDefaultsCountIntentsResponsePBImpl(); |
84 | | void InitDefaultsCountIntentsResponsePB(); |
85 | | void InitDefaultsAddTableToTabletRequestPBImpl(); |
86 | | void InitDefaultsAddTableToTabletRequestPB(); |
87 | | void InitDefaultsAddTableToTabletResponsePBImpl(); |
88 | | void InitDefaultsAddTableToTabletResponsePB(); |
89 | | void InitDefaultsRemoveTableFromTabletRequestPBImpl(); |
90 | | void InitDefaultsRemoveTableFromTabletRequestPB(); |
91 | | void InitDefaultsRemoveTableFromTabletResponsePBImpl(); |
92 | | void InitDefaultsRemoveTableFromTabletResponsePB(); |
93 | | void InitDefaultsSplitTabletResponsePBImpl(); |
94 | | void InitDefaultsSplitTabletResponsePB(); |
95 | | void InitDefaultsUpgradeYsqlRequestPBImpl(); |
96 | | void InitDefaultsUpgradeYsqlRequestPB(); |
97 | | void InitDefaultsUpgradeYsqlResponsePBImpl(); |
98 | | void InitDefaultsUpgradeYsqlResponsePB(); |
99 | 26.8k | inline void InitDefaults() { |
100 | 26.8k | InitDefaultsExportedTabletMetadataChanges(); |
101 | 26.8k | InitDefaultsChangeMetadataResponsePB(); |
102 | 26.8k | InitDefaultsGetSafeTimeRequestPB(); |
103 | 26.8k | InitDefaultsGetSafeTimeResponsePB(); |
104 | 26.8k | InitDefaultsBackfillIndexRequestPB(); |
105 | 26.8k | InitDefaultsBackfillIndexResponsePB(); |
106 | 26.8k | InitDefaultsCopartitionTableRequestPB(); |
107 | 26.8k | InitDefaultsCopartitionTableResponsePB(); |
108 | 26.8k | InitDefaultsCreateTabletRequestPB(); |
109 | 26.8k | InitDefaultsCreateTabletResponsePB(); |
110 | 26.8k | InitDefaultsDeleteTabletRequestPB(); |
111 | 26.8k | InitDefaultsDeleteTabletResponsePB(); |
112 | 26.8k | InitDefaultsFlushTabletsRequestPB(); |
113 | 26.8k | InitDefaultsFlushTabletsResponsePB(); |
114 | 26.8k | InitDefaultsCountIntentsRequestPB(); |
115 | 26.8k | InitDefaultsCountIntentsResponsePB(); |
116 | 26.8k | InitDefaultsAddTableToTabletRequestPB(); |
117 | 26.8k | InitDefaultsAddTableToTabletResponsePB(); |
118 | 26.8k | InitDefaultsRemoveTableFromTabletRequestPB(); |
119 | 26.8k | InitDefaultsRemoveTableFromTabletResponsePB(); |
120 | 26.8k | InitDefaultsSplitTabletResponsePB(); |
121 | 26.8k | InitDefaultsUpgradeYsqlRequestPB(); |
122 | 26.8k | InitDefaultsUpgradeYsqlResponsePB(); |
123 | 26.8k | } |
124 | | } // namespace protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto |
125 | | namespace yb { |
126 | | namespace tserver { |
127 | | class AddTableToTabletRequestPB; |
128 | | class AddTableToTabletRequestPBDefaultTypeInternal; |
129 | | extern AddTableToTabletRequestPBDefaultTypeInternal _AddTableToTabletRequestPB_default_instance_; |
130 | | class AddTableToTabletResponsePB; |
131 | | class AddTableToTabletResponsePBDefaultTypeInternal; |
132 | | extern AddTableToTabletResponsePBDefaultTypeInternal _AddTableToTabletResponsePB_default_instance_; |
133 | | class BackfillIndexRequestPB; |
134 | | class BackfillIndexRequestPBDefaultTypeInternal; |
135 | | extern BackfillIndexRequestPBDefaultTypeInternal _BackfillIndexRequestPB_default_instance_; |
136 | | class BackfillIndexResponsePB; |
137 | | class BackfillIndexResponsePBDefaultTypeInternal; |
138 | | extern BackfillIndexResponsePBDefaultTypeInternal _BackfillIndexResponsePB_default_instance_; |
139 | | class ChangeMetadataResponsePB; |
140 | | class ChangeMetadataResponsePBDefaultTypeInternal; |
141 | | extern ChangeMetadataResponsePBDefaultTypeInternal _ChangeMetadataResponsePB_default_instance_; |
142 | | class CopartitionTableRequestPB; |
143 | | class CopartitionTableRequestPBDefaultTypeInternal; |
144 | | extern CopartitionTableRequestPBDefaultTypeInternal _CopartitionTableRequestPB_default_instance_; |
145 | | class CopartitionTableResponsePB; |
146 | | class CopartitionTableResponsePBDefaultTypeInternal; |
147 | | extern CopartitionTableResponsePBDefaultTypeInternal _CopartitionTableResponsePB_default_instance_; |
148 | | class CountIntentsRequestPB; |
149 | | class CountIntentsRequestPBDefaultTypeInternal; |
150 | | extern CountIntentsRequestPBDefaultTypeInternal _CountIntentsRequestPB_default_instance_; |
151 | | class CountIntentsResponsePB; |
152 | | class CountIntentsResponsePBDefaultTypeInternal; |
153 | | extern CountIntentsResponsePBDefaultTypeInternal _CountIntentsResponsePB_default_instance_; |
154 | | class CreateTabletRequestPB; |
155 | | class CreateTabletRequestPBDefaultTypeInternal; |
156 | | extern CreateTabletRequestPBDefaultTypeInternal _CreateTabletRequestPB_default_instance_; |
157 | | class CreateTabletResponsePB; |
158 | | class CreateTabletResponsePBDefaultTypeInternal; |
159 | | extern CreateTabletResponsePBDefaultTypeInternal _CreateTabletResponsePB_default_instance_; |
160 | | class DeleteTabletRequestPB; |
161 | | class DeleteTabletRequestPBDefaultTypeInternal; |
162 | | extern DeleteTabletRequestPBDefaultTypeInternal _DeleteTabletRequestPB_default_instance_; |
163 | | class DeleteTabletResponsePB; |
164 | | class DeleteTabletResponsePBDefaultTypeInternal; |
165 | | extern DeleteTabletResponsePBDefaultTypeInternal _DeleteTabletResponsePB_default_instance_; |
166 | | class ExportedTabletMetadataChanges; |
167 | | class ExportedTabletMetadataChangesDefaultTypeInternal; |
168 | | extern ExportedTabletMetadataChangesDefaultTypeInternal _ExportedTabletMetadataChanges_default_instance_; |
169 | | class FlushTabletsRequestPB; |
170 | | class FlushTabletsRequestPBDefaultTypeInternal; |
171 | | extern FlushTabletsRequestPBDefaultTypeInternal _FlushTabletsRequestPB_default_instance_; |
172 | | class FlushTabletsResponsePB; |
173 | | class FlushTabletsResponsePBDefaultTypeInternal; |
174 | | extern FlushTabletsResponsePBDefaultTypeInternal _FlushTabletsResponsePB_default_instance_; |
175 | | class GetSafeTimeRequestPB; |
176 | | class GetSafeTimeRequestPBDefaultTypeInternal; |
177 | | extern GetSafeTimeRequestPBDefaultTypeInternal _GetSafeTimeRequestPB_default_instance_; |
178 | | class GetSafeTimeResponsePB; |
179 | | class GetSafeTimeResponsePBDefaultTypeInternal; |
180 | | extern GetSafeTimeResponsePBDefaultTypeInternal _GetSafeTimeResponsePB_default_instance_; |
181 | | class RemoveTableFromTabletRequestPB; |
182 | | class RemoveTableFromTabletRequestPBDefaultTypeInternal; |
183 | | extern RemoveTableFromTabletRequestPBDefaultTypeInternal _RemoveTableFromTabletRequestPB_default_instance_; |
184 | | class RemoveTableFromTabletResponsePB; |
185 | | class RemoveTableFromTabletResponsePBDefaultTypeInternal; |
186 | | extern RemoveTableFromTabletResponsePBDefaultTypeInternal _RemoveTableFromTabletResponsePB_default_instance_; |
187 | | class SplitTabletResponsePB; |
188 | | class SplitTabletResponsePBDefaultTypeInternal; |
189 | | extern SplitTabletResponsePBDefaultTypeInternal _SplitTabletResponsePB_default_instance_; |
190 | | class UpgradeYsqlRequestPB; |
191 | | class UpgradeYsqlRequestPBDefaultTypeInternal; |
192 | | extern UpgradeYsqlRequestPBDefaultTypeInternal _UpgradeYsqlRequestPB_default_instance_; |
193 | | class UpgradeYsqlResponsePB; |
194 | | class UpgradeYsqlResponsePBDefaultTypeInternal; |
195 | | extern UpgradeYsqlResponsePBDefaultTypeInternal _UpgradeYsqlResponsePB_default_instance_; |
196 | | } // namespace tserver |
197 | | } // namespace yb |
198 | | namespace yb { |
199 | | namespace tserver { |
200 | | |
201 | | enum FlushTabletsRequestPB_Operation { |
202 | | FlushTabletsRequestPB_Operation_FLUSH = 0, |
203 | | FlushTabletsRequestPB_Operation_COMPACT = 1, |
204 | | FlushTabletsRequestPB_Operation_LOG_GC = 2 |
205 | | }; |
206 | | bool FlushTabletsRequestPB_Operation_IsValid(int value); |
207 | | const FlushTabletsRequestPB_Operation FlushTabletsRequestPB_Operation_Operation_MIN = FlushTabletsRequestPB_Operation_FLUSH; |
208 | | const FlushTabletsRequestPB_Operation FlushTabletsRequestPB_Operation_Operation_MAX = FlushTabletsRequestPB_Operation_LOG_GC; |
209 | | const int FlushTabletsRequestPB_Operation_Operation_ARRAYSIZE = FlushTabletsRequestPB_Operation_Operation_MAX + 1; |
210 | | |
211 | | const ::google::protobuf::EnumDescriptor* FlushTabletsRequestPB_Operation_descriptor(); |
212 | 0 | inline const ::std::string& FlushTabletsRequestPB_Operation_Name(FlushTabletsRequestPB_Operation value) { |
213 | 0 | return ::google::protobuf::internal::NameOfEnum( |
214 | 0 | FlushTabletsRequestPB_Operation_descriptor(), value); |
215 | 0 | } |
216 | | inline bool FlushTabletsRequestPB_Operation_Parse( |
217 | 0 | const ::std::string& name, FlushTabletsRequestPB_Operation* value) { |
218 | 0 | return ::google::protobuf::internal::ParseNamedEnum<FlushTabletsRequestPB_Operation>( |
219 | 0 | FlushTabletsRequestPB_Operation_descriptor(), name, value); |
220 | 0 | } |
221 | | // =================================================================== |
222 | | |
223 | | class ExportedTabletMetadataChanges : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ExportedTabletMetadataChanges) */ { |
224 | | public: |
225 | | ExportedTabletMetadataChanges(); |
226 | | virtual ~ExportedTabletMetadataChanges(); |
227 | | |
228 | | ExportedTabletMetadataChanges(const ExportedTabletMetadataChanges& from); |
229 | | |
230 | 0 | inline ExportedTabletMetadataChanges& operator=(const ExportedTabletMetadataChanges& from) { |
231 | 0 | CopyFrom(from); |
232 | 0 | return *this; |
233 | 0 | } |
234 | | #if LANG_CXX11 |
235 | | ExportedTabletMetadataChanges(ExportedTabletMetadataChanges&& from) noexcept |
236 | 0 | : ExportedTabletMetadataChanges() { |
237 | 0 | *this = ::std::move(from); |
238 | 0 | } |
239 | | |
240 | 0 | inline ExportedTabletMetadataChanges& operator=(ExportedTabletMetadataChanges&& from) noexcept { |
241 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
242 | 0 | if (this != &from) InternalSwap(&from); |
243 | 0 | } else { |
244 | 0 | CopyFrom(from); |
245 | 0 | } |
246 | 0 | return *this; |
247 | 0 | } |
248 | | #endif |
249 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
250 | 0 | return _internal_metadata_.unknown_fields(); |
251 | 0 | } |
252 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
253 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
254 | 0 | } |
255 | | |
256 | | static const ::google::protobuf::Descriptor* descriptor(); |
257 | | static const ExportedTabletMetadataChanges& default_instance(); |
258 | | |
259 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
260 | 27.6k | static inline const ExportedTabletMetadataChanges* internal_default_instance() { |
261 | 27.6k | return reinterpret_cast<const ExportedTabletMetadataChanges*>( |
262 | 27.6k | &_ExportedTabletMetadataChanges_default_instance_); |
263 | 27.6k | } |
264 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
265 | | 0; |
266 | | |
267 | | void Swap(ExportedTabletMetadataChanges* other); |
268 | 0 | friend void swap(ExportedTabletMetadataChanges& a, ExportedTabletMetadataChanges& b) { |
269 | 0 | a.Swap(&b); |
270 | 0 | } |
271 | | |
272 | | // implements Message ---------------------------------------------- |
273 | | |
274 | 0 | inline ExportedTabletMetadataChanges* New() const PROTOBUF_FINAL { return New(NULL); } |
275 | | |
276 | | ExportedTabletMetadataChanges* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
277 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
278 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
279 | | void CopyFrom(const ExportedTabletMetadataChanges& from); |
280 | | void MergeFrom(const ExportedTabletMetadataChanges& from); |
281 | | void Clear() PROTOBUF_FINAL; |
282 | | bool IsInitialized() const PROTOBUF_FINAL; |
283 | | |
284 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
285 | | bool MergePartialFromCodedStream( |
286 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
287 | | void SerializeWithCachedSizes( |
288 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
289 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
290 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
291 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
292 | | private: |
293 | | void SharedCtor(); |
294 | | void SharedDtor(); |
295 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
296 | | void InternalSwap(ExportedTabletMetadataChanges* other); |
297 | | private: |
298 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
299 | 0 | return NULL; |
300 | 0 | } |
301 | 0 | inline void* MaybeArenaPtr() const { |
302 | 0 | return NULL; |
303 | 0 | } |
304 | | public: |
305 | | |
306 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
307 | | |
308 | | // nested types ---------------------------------------------------- |
309 | | |
310 | | // accessors ------------------------------------------------------- |
311 | | |
312 | | // repeated .yb.tablet.ChangeMetadataRequestPB metadata_changes = 1; |
313 | | int metadata_changes_size() const; |
314 | | void clear_metadata_changes(); |
315 | | static const int kMetadataChangesFieldNumber = 1; |
316 | | const ::yb::tablet::ChangeMetadataRequestPB& metadata_changes(int index) const; |
317 | | ::yb::tablet::ChangeMetadataRequestPB* mutable_metadata_changes(int index); |
318 | | ::yb::tablet::ChangeMetadataRequestPB* add_metadata_changes(); |
319 | | ::google::protobuf::RepeatedPtrField< ::yb::tablet::ChangeMetadataRequestPB >* |
320 | | mutable_metadata_changes(); |
321 | | const ::google::protobuf::RepeatedPtrField< ::yb::tablet::ChangeMetadataRequestPB >& |
322 | | metadata_changes() const; |
323 | | |
324 | | // @@protoc_insertion_point(class_scope:yb.tserver.ExportedTabletMetadataChanges) |
325 | | private: |
326 | | |
327 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
328 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
329 | | mutable int _cached_size_; |
330 | | ::google::protobuf::RepeatedPtrField< ::yb::tablet::ChangeMetadataRequestPB > metadata_changes_; |
331 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
332 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsExportedTabletMetadataChangesImpl(); |
333 | | }; |
334 | | // ------------------------------------------------------------------- |
335 | | |
336 | | class ChangeMetadataResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ChangeMetadataResponsePB) */ { |
337 | | public: |
338 | | ChangeMetadataResponsePB(); |
339 | | virtual ~ChangeMetadataResponsePB(); |
340 | | |
341 | | ChangeMetadataResponsePB(const ChangeMetadataResponsePB& from); |
342 | | |
343 | 0 | inline ChangeMetadataResponsePB& operator=(const ChangeMetadataResponsePB& from) { |
344 | 0 | CopyFrom(from); |
345 | 0 | return *this; |
346 | 0 | } |
347 | | #if LANG_CXX11 |
348 | | ChangeMetadataResponsePB(ChangeMetadataResponsePB&& from) noexcept |
349 | 0 | : ChangeMetadataResponsePB() { |
350 | 0 | *this = ::std::move(from); |
351 | 0 | } |
352 | | |
353 | 0 | inline ChangeMetadataResponsePB& operator=(ChangeMetadataResponsePB&& from) noexcept { |
354 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
355 | 0 | if (this != &from) InternalSwap(&from); |
356 | 0 | } else { |
357 | 0 | CopyFrom(from); |
358 | 0 | } |
359 | 0 | return *this; |
360 | 0 | } |
361 | | #endif |
362 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
363 | 0 | return _internal_metadata_.unknown_fields(); |
364 | 0 | } |
365 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
366 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
367 | 0 | } |
368 | | |
369 | | static const ::google::protobuf::Descriptor* descriptor(); |
370 | | static const ChangeMetadataResponsePB& default_instance(); |
371 | | |
372 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
373 | 149k | static inline const ChangeMetadataResponsePB* internal_default_instance() { |
374 | 149k | return reinterpret_cast<const ChangeMetadataResponsePB*>( |
375 | 149k | &_ChangeMetadataResponsePB_default_instance_); |
376 | 149k | } |
377 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
378 | | 1; |
379 | | |
380 | | void Swap(ChangeMetadataResponsePB* other); |
381 | 0 | friend void swap(ChangeMetadataResponsePB& a, ChangeMetadataResponsePB& b) { |
382 | 0 | a.Swap(&b); |
383 | 0 | } |
384 | | |
385 | | // implements Message ---------------------------------------------- |
386 | | |
387 | 0 | inline ChangeMetadataResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
388 | | |
389 | | ChangeMetadataResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
390 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
391 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
392 | | void CopyFrom(const ChangeMetadataResponsePB& from); |
393 | | void MergeFrom(const ChangeMetadataResponsePB& from); |
394 | | void Clear() PROTOBUF_FINAL; |
395 | | bool IsInitialized() const PROTOBUF_FINAL; |
396 | | |
397 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
398 | | bool MergePartialFromCodedStream( |
399 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
400 | | void SerializeWithCachedSizes( |
401 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
402 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
403 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
404 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
405 | | private: |
406 | | void SharedCtor(); |
407 | | void SharedDtor(); |
408 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
409 | | void InternalSwap(ChangeMetadataResponsePB* other); |
410 | | private: |
411 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
412 | 0 | return NULL; |
413 | 0 | } |
414 | 0 | inline void* MaybeArenaPtr() const { |
415 | 0 | return NULL; |
416 | 0 | } |
417 | | public: |
418 | | |
419 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
420 | | |
421 | | // nested types ---------------------------------------------------- |
422 | | |
423 | | // accessors ------------------------------------------------------- |
424 | | |
425 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
426 | | bool has_error() const; |
427 | | void clear_error(); |
428 | | static const int kErrorFieldNumber = 1; |
429 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
430 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
431 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
432 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
433 | | |
434 | | // optional fixed64 propagated_hybrid_time = 2; |
435 | | bool has_propagated_hybrid_time() const; |
436 | | void clear_propagated_hybrid_time(); |
437 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
438 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
439 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
440 | | |
441 | | // @@protoc_insertion_point(class_scope:yb.tserver.ChangeMetadataResponsePB) |
442 | | private: |
443 | | void set_has_error(); |
444 | | void clear_has_error(); |
445 | | void set_has_propagated_hybrid_time(); |
446 | | void clear_has_propagated_hybrid_time(); |
447 | | |
448 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
449 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
450 | | mutable int _cached_size_; |
451 | | ::yb::tserver::TabletServerErrorPB* error_; |
452 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
453 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
454 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsChangeMetadataResponsePBImpl(); |
455 | | }; |
456 | | // ------------------------------------------------------------------- |
457 | | |
458 | | class GetSafeTimeRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetSafeTimeRequestPB) */ { |
459 | | public: |
460 | | GetSafeTimeRequestPB(); |
461 | | virtual ~GetSafeTimeRequestPB(); |
462 | | |
463 | | GetSafeTimeRequestPB(const GetSafeTimeRequestPB& from); |
464 | | |
465 | 0 | inline GetSafeTimeRequestPB& operator=(const GetSafeTimeRequestPB& from) { |
466 | 0 | CopyFrom(from); |
467 | 0 | return *this; |
468 | 0 | } |
469 | | #if LANG_CXX11 |
470 | | GetSafeTimeRequestPB(GetSafeTimeRequestPB&& from) noexcept |
471 | 0 | : GetSafeTimeRequestPB() { |
472 | 0 | *this = ::std::move(from); |
473 | 0 | } |
474 | | |
475 | 0 | inline GetSafeTimeRequestPB& operator=(GetSafeTimeRequestPB&& from) noexcept { |
476 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
477 | 0 | if (this != &from) InternalSwap(&from); |
478 | 0 | } else { |
479 | 0 | CopyFrom(from); |
480 | 0 | } |
481 | 0 | return *this; |
482 | 0 | } |
483 | | #endif |
484 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
485 | 0 | return _internal_metadata_.unknown_fields(); |
486 | 0 | } |
487 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
488 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
489 | 0 | } |
490 | | |
491 | | static const ::google::protobuf::Descriptor* descriptor(); |
492 | | static const GetSafeTimeRequestPB& default_instance(); |
493 | | |
494 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
495 | 35.6k | static inline const GetSafeTimeRequestPB* internal_default_instance() { |
496 | 35.6k | return reinterpret_cast<const GetSafeTimeRequestPB*>( |
497 | 35.6k | &_GetSafeTimeRequestPB_default_instance_); |
498 | 35.6k | } |
499 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
500 | | 2; |
501 | | |
502 | | void Swap(GetSafeTimeRequestPB* other); |
503 | 0 | friend void swap(GetSafeTimeRequestPB& a, GetSafeTimeRequestPB& b) { |
504 | 0 | a.Swap(&b); |
505 | 0 | } |
506 | | |
507 | | // implements Message ---------------------------------------------- |
508 | | |
509 | 0 | inline GetSafeTimeRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
510 | | |
511 | | GetSafeTimeRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
512 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
513 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
514 | | void CopyFrom(const GetSafeTimeRequestPB& from); |
515 | | void MergeFrom(const GetSafeTimeRequestPB& from); |
516 | | void Clear() PROTOBUF_FINAL; |
517 | | bool IsInitialized() const PROTOBUF_FINAL; |
518 | | |
519 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
520 | | bool MergePartialFromCodedStream( |
521 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
522 | | void SerializeWithCachedSizes( |
523 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
524 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
525 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
526 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
527 | | private: |
528 | | void SharedCtor(); |
529 | | void SharedDtor(); |
530 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
531 | | void InternalSwap(GetSafeTimeRequestPB* other); |
532 | | private: |
533 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
534 | 0 | return NULL; |
535 | 0 | } |
536 | 0 | inline void* MaybeArenaPtr() const { |
537 | 0 | return NULL; |
538 | 0 | } |
539 | | public: |
540 | | |
541 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
542 | | |
543 | | // nested types ---------------------------------------------------- |
544 | | |
545 | | // accessors ------------------------------------------------------- |
546 | | |
547 | | // optional bytes dest_uuid = 1; |
548 | | bool has_dest_uuid() const; |
549 | | void clear_dest_uuid(); |
550 | | static const int kDestUuidFieldNumber = 1; |
551 | | const ::std::string& dest_uuid() const; |
552 | | void set_dest_uuid(const ::std::string& value); |
553 | | #if LANG_CXX11 |
554 | | void set_dest_uuid(::std::string&& value); |
555 | | #endif |
556 | | void set_dest_uuid(const char* value); |
557 | | void set_dest_uuid(const void* value, size_t size); |
558 | | ::std::string* mutable_dest_uuid(); |
559 | | ::std::string* release_dest_uuid(); |
560 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
561 | | |
562 | | // required bytes tablet_id = 2; |
563 | | bool has_tablet_id() const; |
564 | | void clear_tablet_id(); |
565 | | static const int kTabletIdFieldNumber = 2; |
566 | | const ::std::string& tablet_id() const; |
567 | | void set_tablet_id(const ::std::string& value); |
568 | | #if LANG_CXX11 |
569 | | void set_tablet_id(::std::string&& value); |
570 | | #endif |
571 | | void set_tablet_id(const char* value); |
572 | | void set_tablet_id(const void* value, size_t size); |
573 | | ::std::string* mutable_tablet_id(); |
574 | | ::std::string* release_tablet_id(); |
575 | | void set_allocated_tablet_id(::std::string* tablet_id); |
576 | | |
577 | | // optional fixed64 propagated_hybrid_time = 4; |
578 | | bool has_propagated_hybrid_time() const; |
579 | | void clear_propagated_hybrid_time(); |
580 | | static const int kPropagatedHybridTimeFieldNumber = 4; |
581 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
582 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
583 | | |
584 | | // optional fixed64 min_hybrid_time_for_backfill = 5; |
585 | | bool has_min_hybrid_time_for_backfill() const; |
586 | | void clear_min_hybrid_time_for_backfill(); |
587 | | static const int kMinHybridTimeForBackfillFieldNumber = 5; |
588 | | ::google::protobuf::uint64 min_hybrid_time_for_backfill() const; |
589 | | void set_min_hybrid_time_for_backfill(::google::protobuf::uint64 value); |
590 | | |
591 | | // optional uint32 schema_version = 3; |
592 | | bool has_schema_version() const; |
593 | | void clear_schema_version(); |
594 | | static const int kSchemaVersionFieldNumber = 3; |
595 | | ::google::protobuf::uint32 schema_version() const; |
596 | | void set_schema_version(::google::protobuf::uint32 value); |
597 | | |
598 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetSafeTimeRequestPB) |
599 | | private: |
600 | | void set_has_dest_uuid(); |
601 | | void clear_has_dest_uuid(); |
602 | | void set_has_tablet_id(); |
603 | | void clear_has_tablet_id(); |
604 | | void set_has_schema_version(); |
605 | | void clear_has_schema_version(); |
606 | | void set_has_propagated_hybrid_time(); |
607 | | void clear_has_propagated_hybrid_time(); |
608 | | void set_has_min_hybrid_time_for_backfill(); |
609 | | void clear_has_min_hybrid_time_for_backfill(); |
610 | | |
611 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
612 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
613 | | mutable int _cached_size_; |
614 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
615 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
616 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
617 | | ::google::protobuf::uint64 min_hybrid_time_for_backfill_; |
618 | | ::google::protobuf::uint32 schema_version_; |
619 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
620 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsGetSafeTimeRequestPBImpl(); |
621 | | }; |
622 | | // ------------------------------------------------------------------- |
623 | | |
624 | | class GetSafeTimeResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetSafeTimeResponsePB) */ { |
625 | | public: |
626 | | GetSafeTimeResponsePB(); |
627 | | virtual ~GetSafeTimeResponsePB(); |
628 | | |
629 | | GetSafeTimeResponsePB(const GetSafeTimeResponsePB& from); |
630 | | |
631 | 0 | inline GetSafeTimeResponsePB& operator=(const GetSafeTimeResponsePB& from) { |
632 | 0 | CopyFrom(from); |
633 | 0 | return *this; |
634 | 0 | } |
635 | | #if LANG_CXX11 |
636 | | GetSafeTimeResponsePB(GetSafeTimeResponsePB&& from) noexcept |
637 | 0 | : GetSafeTimeResponsePB() { |
638 | 0 | *this = ::std::move(from); |
639 | 0 | } |
640 | | |
641 | 0 | inline GetSafeTimeResponsePB& operator=(GetSafeTimeResponsePB&& from) noexcept { |
642 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
643 | 0 | if (this != &from) InternalSwap(&from); |
644 | 0 | } else { |
645 | 0 | CopyFrom(from); |
646 | 0 | } |
647 | 0 | return *this; |
648 | 0 | } |
649 | | #endif |
650 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
651 | 0 | return _internal_metadata_.unknown_fields(); |
652 | 0 | } |
653 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
654 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
655 | 0 | } |
656 | | |
657 | | static const ::google::protobuf::Descriptor* descriptor(); |
658 | | static const GetSafeTimeResponsePB& default_instance(); |
659 | | |
660 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
661 | 43.4k | static inline const GetSafeTimeResponsePB* internal_default_instance() { |
662 | 43.4k | return reinterpret_cast<const GetSafeTimeResponsePB*>( |
663 | 43.4k | &_GetSafeTimeResponsePB_default_instance_); |
664 | 43.4k | } |
665 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
666 | | 3; |
667 | | |
668 | | void Swap(GetSafeTimeResponsePB* other); |
669 | 0 | friend void swap(GetSafeTimeResponsePB& a, GetSafeTimeResponsePB& b) { |
670 | 0 | a.Swap(&b); |
671 | 0 | } |
672 | | |
673 | | // implements Message ---------------------------------------------- |
674 | | |
675 | 0 | inline GetSafeTimeResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
676 | | |
677 | | GetSafeTimeResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
678 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
679 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
680 | | void CopyFrom(const GetSafeTimeResponsePB& from); |
681 | | void MergeFrom(const GetSafeTimeResponsePB& from); |
682 | | void Clear() PROTOBUF_FINAL; |
683 | | bool IsInitialized() const PROTOBUF_FINAL; |
684 | | |
685 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
686 | | bool MergePartialFromCodedStream( |
687 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
688 | | void SerializeWithCachedSizes( |
689 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
690 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
691 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
692 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
693 | | private: |
694 | | void SharedCtor(); |
695 | | void SharedDtor(); |
696 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
697 | | void InternalSwap(GetSafeTimeResponsePB* other); |
698 | | private: |
699 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
700 | 0 | return NULL; |
701 | 0 | } |
702 | 0 | inline void* MaybeArenaPtr() const { |
703 | 0 | return NULL; |
704 | 0 | } |
705 | | public: |
706 | | |
707 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
708 | | |
709 | | // nested types ---------------------------------------------------- |
710 | | |
711 | | // accessors ------------------------------------------------------- |
712 | | |
713 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
714 | | bool has_error() const; |
715 | | void clear_error(); |
716 | | static const int kErrorFieldNumber = 1; |
717 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
718 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
719 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
720 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
721 | | |
722 | | // optional fixed64 safe_time = 2; |
723 | | bool has_safe_time() const; |
724 | | void clear_safe_time(); |
725 | | static const int kSafeTimeFieldNumber = 2; |
726 | | ::google::protobuf::uint64 safe_time() const; |
727 | | void set_safe_time(::google::protobuf::uint64 value); |
728 | | |
729 | | // optional fixed64 propagated_hybrid_time = 3; |
730 | | bool has_propagated_hybrid_time() const; |
731 | | void clear_propagated_hybrid_time(); |
732 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
733 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
734 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
735 | | |
736 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetSafeTimeResponsePB) |
737 | | private: |
738 | | void set_has_error(); |
739 | | void clear_has_error(); |
740 | | void set_has_safe_time(); |
741 | | void clear_has_safe_time(); |
742 | | void set_has_propagated_hybrid_time(); |
743 | | void clear_has_propagated_hybrid_time(); |
744 | | |
745 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
746 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
747 | | mutable int _cached_size_; |
748 | | ::yb::tserver::TabletServerErrorPB* error_; |
749 | | ::google::protobuf::uint64 safe_time_; |
750 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
751 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
752 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsGetSafeTimeResponsePBImpl(); |
753 | | }; |
754 | | // ------------------------------------------------------------------- |
755 | | |
756 | | class BackfillIndexRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.BackfillIndexRequestPB) */ { |
757 | | public: |
758 | | BackfillIndexRequestPB(); |
759 | | virtual ~BackfillIndexRequestPB(); |
760 | | |
761 | | BackfillIndexRequestPB(const BackfillIndexRequestPB& from); |
762 | | |
763 | 0 | inline BackfillIndexRequestPB& operator=(const BackfillIndexRequestPB& from) { |
764 | 0 | CopyFrom(from); |
765 | 0 | return *this; |
766 | 0 | } |
767 | | #if LANG_CXX11 |
768 | | BackfillIndexRequestPB(BackfillIndexRequestPB&& from) noexcept |
769 | 0 | : BackfillIndexRequestPB() { |
770 | 0 | *this = ::std::move(from); |
771 | 0 | } |
772 | | |
773 | 0 | inline BackfillIndexRequestPB& operator=(BackfillIndexRequestPB&& from) noexcept { |
774 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
775 | 0 | if (this != &from) InternalSwap(&from); |
776 | 0 | } else { |
777 | 0 | CopyFrom(from); |
778 | 0 | } |
779 | 0 | return *this; |
780 | 0 | } |
781 | | #endif |
782 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
783 | 0 | return _internal_metadata_.unknown_fields(); |
784 | 0 | } |
785 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
786 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
787 | 0 | } |
788 | | |
789 | | static const ::google::protobuf::Descriptor* descriptor(); |
790 | | static const BackfillIndexRequestPB& default_instance(); |
791 | | |
792 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
793 | 35.9k | static inline const BackfillIndexRequestPB* internal_default_instance() { |
794 | 35.9k | return reinterpret_cast<const BackfillIndexRequestPB*>( |
795 | 35.9k | &_BackfillIndexRequestPB_default_instance_); |
796 | 35.9k | } |
797 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
798 | | 4; |
799 | | |
800 | | void Swap(BackfillIndexRequestPB* other); |
801 | 0 | friend void swap(BackfillIndexRequestPB& a, BackfillIndexRequestPB& b) { |
802 | 0 | a.Swap(&b); |
803 | 0 | } |
804 | | |
805 | | // implements Message ---------------------------------------------- |
806 | | |
807 | 0 | inline BackfillIndexRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
808 | | |
809 | | BackfillIndexRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
810 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
811 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
812 | | void CopyFrom(const BackfillIndexRequestPB& from); |
813 | | void MergeFrom(const BackfillIndexRequestPB& from); |
814 | | void Clear() PROTOBUF_FINAL; |
815 | | bool IsInitialized() const PROTOBUF_FINAL; |
816 | | |
817 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
818 | | bool MergePartialFromCodedStream( |
819 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
820 | | void SerializeWithCachedSizes( |
821 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
822 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
823 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
824 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
825 | | private: |
826 | | void SharedCtor(); |
827 | | void SharedDtor(); |
828 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
829 | | void InternalSwap(BackfillIndexRequestPB* other); |
830 | | private: |
831 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
832 | 0 | return NULL; |
833 | 0 | } |
834 | 0 | inline void* MaybeArenaPtr() const { |
835 | 0 | return NULL; |
836 | 0 | } |
837 | | public: |
838 | | |
839 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
840 | | |
841 | | // nested types ---------------------------------------------------- |
842 | | |
843 | | // accessors ------------------------------------------------------- |
844 | | |
845 | | // repeated .yb.IndexInfoPB indexes = 3; |
846 | | int indexes_size() const; |
847 | | void clear_indexes(); |
848 | | static const int kIndexesFieldNumber = 3; |
849 | | const ::yb::IndexInfoPB& indexes(int index) const; |
850 | | ::yb::IndexInfoPB* mutable_indexes(int index); |
851 | | ::yb::IndexInfoPB* add_indexes(); |
852 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
853 | | mutable_indexes(); |
854 | | const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
855 | | indexes() const; |
856 | | |
857 | | // optional bytes dest_uuid = 1; |
858 | | bool has_dest_uuid() const; |
859 | | void clear_dest_uuid(); |
860 | | static const int kDestUuidFieldNumber = 1; |
861 | | const ::std::string& dest_uuid() const; |
862 | | void set_dest_uuid(const ::std::string& value); |
863 | | #if LANG_CXX11 |
864 | | void set_dest_uuid(::std::string&& value); |
865 | | #endif |
866 | | void set_dest_uuid(const char* value); |
867 | | void set_dest_uuid(const void* value, size_t size); |
868 | | ::std::string* mutable_dest_uuid(); |
869 | | ::std::string* release_dest_uuid(); |
870 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
871 | | |
872 | | // required bytes tablet_id = 2; |
873 | | bool has_tablet_id() const; |
874 | | void clear_tablet_id(); |
875 | | static const int kTabletIdFieldNumber = 2; |
876 | | const ::std::string& tablet_id() const; |
877 | | void set_tablet_id(const ::std::string& value); |
878 | | #if LANG_CXX11 |
879 | | void set_tablet_id(::std::string&& value); |
880 | | #endif |
881 | | void set_tablet_id(const char* value); |
882 | | void set_tablet_id(const void* value, size_t size); |
883 | | ::std::string* mutable_tablet_id(); |
884 | | ::std::string* release_tablet_id(); |
885 | | void set_allocated_tablet_id(::std::string* tablet_id); |
886 | | |
887 | | // optional bytes start_key = 6; |
888 | | bool has_start_key() const; |
889 | | void clear_start_key(); |
890 | | static const int kStartKeyFieldNumber = 6; |
891 | | const ::std::string& start_key() const; |
892 | | void set_start_key(const ::std::string& value); |
893 | | #if LANG_CXX11 |
894 | | void set_start_key(::std::string&& value); |
895 | | #endif |
896 | | void set_start_key(const char* value); |
897 | | void set_start_key(const void* value, size_t size); |
898 | | ::std::string* mutable_start_key(); |
899 | | ::std::string* release_start_key(); |
900 | | void set_allocated_start_key(::std::string* start_key); |
901 | | |
902 | | // optional bytes end_key = 7; |
903 | | bool has_end_key() const; |
904 | | void clear_end_key(); |
905 | | static const int kEndKeyFieldNumber = 7; |
906 | | const ::std::string& end_key() const; |
907 | | void set_end_key(const ::std::string& value); |
908 | | #if LANG_CXX11 |
909 | | void set_end_key(::std::string&& value); |
910 | | #endif |
911 | | void set_end_key(const char* value); |
912 | | void set_end_key(const void* value, size_t size); |
913 | | ::std::string* mutable_end_key(); |
914 | | ::std::string* release_end_key(); |
915 | | void set_allocated_end_key(::std::string* end_key); |
916 | | |
917 | | // optional string namespace_name = 9; |
918 | | bool has_namespace_name() const; |
919 | | void clear_namespace_name(); |
920 | | static const int kNamespaceNameFieldNumber = 9; |
921 | | const ::std::string& namespace_name() const; |
922 | | void set_namespace_name(const ::std::string& value); |
923 | | #if LANG_CXX11 |
924 | | void set_namespace_name(::std::string&& value); |
925 | | #endif |
926 | | void set_namespace_name(const char* value); |
927 | | void set_namespace_name(const char* value, size_t size); |
928 | | ::std::string* mutable_namespace_name(); |
929 | | ::std::string* release_namespace_name(); |
930 | | void set_allocated_namespace_name(::std::string* namespace_name); |
931 | | |
932 | | // optional bytes indexed_table_id = 10; |
933 | | bool has_indexed_table_id() const; |
934 | | void clear_indexed_table_id(); |
935 | | static const int kIndexedTableIdFieldNumber = 10; |
936 | | const ::std::string& indexed_table_id() const; |
937 | | void set_indexed_table_id(const ::std::string& value); |
938 | | #if LANG_CXX11 |
939 | | void set_indexed_table_id(::std::string&& value); |
940 | | #endif |
941 | | void set_indexed_table_id(const char* value); |
942 | | void set_indexed_table_id(const void* value, size_t size); |
943 | | ::std::string* mutable_indexed_table_id(); |
944 | | ::std::string* release_indexed_table_id(); |
945 | | void set_allocated_indexed_table_id(::std::string* indexed_table_id); |
946 | | |
947 | | // optional fixed64 read_at_hybrid_time = 5; |
948 | | bool has_read_at_hybrid_time() const; |
949 | | void clear_read_at_hybrid_time(); |
950 | | static const int kReadAtHybridTimeFieldNumber = 5; |
951 | | ::google::protobuf::uint64 read_at_hybrid_time() const; |
952 | | void set_read_at_hybrid_time(::google::protobuf::uint64 value); |
953 | | |
954 | | // optional fixed64 propagated_hybrid_time = 8; |
955 | | bool has_propagated_hybrid_time() const; |
956 | | void clear_propagated_hybrid_time(); |
957 | | static const int kPropagatedHybridTimeFieldNumber = 8; |
958 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
959 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
960 | | |
961 | | // optional uint32 schema_version = 4; |
962 | | bool has_schema_version() const; |
963 | | void clear_schema_version(); |
964 | | static const int kSchemaVersionFieldNumber = 4; |
965 | | ::google::protobuf::uint32 schema_version() const; |
966 | | void set_schema_version(::google::protobuf::uint32 value); |
967 | | |
968 | | // @@protoc_insertion_point(class_scope:yb.tserver.BackfillIndexRequestPB) |
969 | | private: |
970 | | void set_has_dest_uuid(); |
971 | | void clear_has_dest_uuid(); |
972 | | void set_has_tablet_id(); |
973 | | void clear_has_tablet_id(); |
974 | | void set_has_schema_version(); |
975 | | void clear_has_schema_version(); |
976 | | void set_has_read_at_hybrid_time(); |
977 | | void clear_has_read_at_hybrid_time(); |
978 | | void set_has_start_key(); |
979 | | void clear_has_start_key(); |
980 | | void set_has_end_key(); |
981 | | void clear_has_end_key(); |
982 | | void set_has_propagated_hybrid_time(); |
983 | | void clear_has_propagated_hybrid_time(); |
984 | | void set_has_namespace_name(); |
985 | | void clear_has_namespace_name(); |
986 | | void set_has_indexed_table_id(); |
987 | | void clear_has_indexed_table_id(); |
988 | | |
989 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
990 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
991 | | mutable int _cached_size_; |
992 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > indexes_; |
993 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
994 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
995 | | ::google::protobuf::internal::ArenaStringPtr start_key_; |
996 | | ::google::protobuf::internal::ArenaStringPtr end_key_; |
997 | | ::google::protobuf::internal::ArenaStringPtr namespace_name_; |
998 | | ::google::protobuf::internal::ArenaStringPtr indexed_table_id_; |
999 | | ::google::protobuf::uint64 read_at_hybrid_time_; |
1000 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
1001 | | ::google::protobuf::uint32 schema_version_; |
1002 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
1003 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsBackfillIndexRequestPBImpl(); |
1004 | | }; |
1005 | | // ------------------------------------------------------------------- |
1006 | | |
1007 | | class BackfillIndexResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.BackfillIndexResponsePB) */ { |
1008 | | public: |
1009 | | BackfillIndexResponsePB(); |
1010 | | virtual ~BackfillIndexResponsePB(); |
1011 | | |
1012 | | BackfillIndexResponsePB(const BackfillIndexResponsePB& from); |
1013 | | |
1014 | 0 | inline BackfillIndexResponsePB& operator=(const BackfillIndexResponsePB& from) { |
1015 | 0 | CopyFrom(from); |
1016 | 0 | return *this; |
1017 | 0 | } |
1018 | | #if LANG_CXX11 |
1019 | | BackfillIndexResponsePB(BackfillIndexResponsePB&& from) noexcept |
1020 | 0 | : BackfillIndexResponsePB() { |
1021 | 0 | *this = ::std::move(from); |
1022 | 0 | } |
1023 | | |
1024 | 0 | inline BackfillIndexResponsePB& operator=(BackfillIndexResponsePB&& from) noexcept { |
1025 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1026 | 0 | if (this != &from) InternalSwap(&from); |
1027 | 0 | } else { |
1028 | 0 | CopyFrom(from); |
1029 | 0 | } |
1030 | 0 | return *this; |
1031 | 0 | } |
1032 | | #endif |
1033 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1034 | 0 | return _internal_metadata_.unknown_fields(); |
1035 | 0 | } |
1036 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1037 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1038 | 0 | } |
1039 | | |
1040 | | static const ::google::protobuf::Descriptor* descriptor(); |
1041 | | static const BackfillIndexResponsePB& default_instance(); |
1042 | | |
1043 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1044 | 43.5k | static inline const BackfillIndexResponsePB* internal_default_instance() { |
1045 | 43.5k | return reinterpret_cast<const BackfillIndexResponsePB*>( |
1046 | 43.5k | &_BackfillIndexResponsePB_default_instance_); |
1047 | 43.5k | } |
1048 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1049 | | 5; |
1050 | | |
1051 | | void Swap(BackfillIndexResponsePB* other); |
1052 | 0 | friend void swap(BackfillIndexResponsePB& a, BackfillIndexResponsePB& b) { |
1053 | 0 | a.Swap(&b); |
1054 | 0 | } |
1055 | | |
1056 | | // implements Message ---------------------------------------------- |
1057 | | |
1058 | 0 | inline BackfillIndexResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1059 | | |
1060 | | BackfillIndexResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1061 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1062 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1063 | | void CopyFrom(const BackfillIndexResponsePB& from); |
1064 | | void MergeFrom(const BackfillIndexResponsePB& from); |
1065 | | void Clear() PROTOBUF_FINAL; |
1066 | | bool IsInitialized() const PROTOBUF_FINAL; |
1067 | | |
1068 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1069 | | bool MergePartialFromCodedStream( |
1070 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1071 | | void SerializeWithCachedSizes( |
1072 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1073 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1074 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1075 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1076 | | private: |
1077 | | void SharedCtor(); |
1078 | | void SharedDtor(); |
1079 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1080 | | void InternalSwap(BackfillIndexResponsePB* other); |
1081 | | private: |
1082 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1083 | 0 | return NULL; |
1084 | 0 | } |
1085 | 0 | inline void* MaybeArenaPtr() const { |
1086 | 0 | return NULL; |
1087 | 0 | } |
1088 | | public: |
1089 | | |
1090 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1091 | | |
1092 | | // nested types ---------------------------------------------------- |
1093 | | |
1094 | | // accessors ------------------------------------------------------- |
1095 | | |
1096 | | // repeated bytes failed_index_ids = 4; |
1097 | | int failed_index_ids_size() const; |
1098 | | void clear_failed_index_ids(); |
1099 | | static const int kFailedIndexIdsFieldNumber = 4; |
1100 | | const ::std::string& failed_index_ids(int index) const; |
1101 | | ::std::string* mutable_failed_index_ids(int index); |
1102 | | void set_failed_index_ids(int index, const ::std::string& value); |
1103 | | #if LANG_CXX11 |
1104 | | void set_failed_index_ids(int index, ::std::string&& value); |
1105 | | #endif |
1106 | | void set_failed_index_ids(int index, const char* value); |
1107 | | void set_failed_index_ids(int index, const void* value, size_t size); |
1108 | | ::std::string* add_failed_index_ids(); |
1109 | | void add_failed_index_ids(const ::std::string& value); |
1110 | | #if LANG_CXX11 |
1111 | | void add_failed_index_ids(::std::string&& value); |
1112 | | #endif |
1113 | | void add_failed_index_ids(const char* value); |
1114 | | void add_failed_index_ids(const void* value, size_t size); |
1115 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& failed_index_ids() const; |
1116 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_failed_index_ids(); |
1117 | | |
1118 | | // optional bytes backfilled_until = 3; |
1119 | | bool has_backfilled_until() const; |
1120 | | void clear_backfilled_until(); |
1121 | | static const int kBackfilledUntilFieldNumber = 3; |
1122 | | const ::std::string& backfilled_until() const; |
1123 | | void set_backfilled_until(const ::std::string& value); |
1124 | | #if LANG_CXX11 |
1125 | | void set_backfilled_until(::std::string&& value); |
1126 | | #endif |
1127 | | void set_backfilled_until(const char* value); |
1128 | | void set_backfilled_until(const void* value, size_t size); |
1129 | | ::std::string* mutable_backfilled_until(); |
1130 | | ::std::string* release_backfilled_until(); |
1131 | | void set_allocated_backfilled_until(::std::string* backfilled_until); |
1132 | | |
1133 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
1134 | | bool has_error() const; |
1135 | | void clear_error(); |
1136 | | static const int kErrorFieldNumber = 1; |
1137 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
1138 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
1139 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
1140 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
1141 | | |
1142 | | // optional fixed64 propagated_hybrid_time = 2; |
1143 | | bool has_propagated_hybrid_time() const; |
1144 | | void clear_propagated_hybrid_time(); |
1145 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
1146 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
1147 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
1148 | | |
1149 | | // optional uint64 number_rows_processed = 5; |
1150 | | bool has_number_rows_processed() const; |
1151 | | void clear_number_rows_processed(); |
1152 | | static const int kNumberRowsProcessedFieldNumber = 5; |
1153 | | ::google::protobuf::uint64 number_rows_processed() const; |
1154 | | void set_number_rows_processed(::google::protobuf::uint64 value); |
1155 | | |
1156 | | // @@protoc_insertion_point(class_scope:yb.tserver.BackfillIndexResponsePB) |
1157 | | private: |
1158 | | void set_has_error(); |
1159 | | void clear_has_error(); |
1160 | | void set_has_propagated_hybrid_time(); |
1161 | | void clear_has_propagated_hybrid_time(); |
1162 | | void set_has_backfilled_until(); |
1163 | | void clear_has_backfilled_until(); |
1164 | | void set_has_number_rows_processed(); |
1165 | | void clear_has_number_rows_processed(); |
1166 | | |
1167 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1168 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1169 | | mutable int _cached_size_; |
1170 | | ::google::protobuf::RepeatedPtrField< ::std::string> failed_index_ids_; |
1171 | | ::google::protobuf::internal::ArenaStringPtr backfilled_until_; |
1172 | | ::yb::tserver::TabletServerErrorPB* error_; |
1173 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
1174 | | ::google::protobuf::uint64 number_rows_processed_; |
1175 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
1176 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsBackfillIndexResponsePBImpl(); |
1177 | | }; |
1178 | | // ------------------------------------------------------------------- |
1179 | | |
1180 | | class CopartitionTableRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.CopartitionTableRequestPB) */ { |
1181 | | public: |
1182 | | CopartitionTableRequestPB(); |
1183 | | virtual ~CopartitionTableRequestPB(); |
1184 | | |
1185 | | CopartitionTableRequestPB(const CopartitionTableRequestPB& from); |
1186 | | |
1187 | 0 | inline CopartitionTableRequestPB& operator=(const CopartitionTableRequestPB& from) { |
1188 | 0 | CopyFrom(from); |
1189 | 0 | return *this; |
1190 | 0 | } |
1191 | | #if LANG_CXX11 |
1192 | | CopartitionTableRequestPB(CopartitionTableRequestPB&& from) noexcept |
1193 | 0 | : CopartitionTableRequestPB() { |
1194 | 0 | *this = ::std::move(from); |
1195 | 0 | } |
1196 | | |
1197 | 0 | inline CopartitionTableRequestPB& operator=(CopartitionTableRequestPB&& from) noexcept { |
1198 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1199 | 0 | if (this != &from) InternalSwap(&from); |
1200 | 0 | } else { |
1201 | 0 | CopyFrom(from); |
1202 | 0 | } |
1203 | 0 | return *this; |
1204 | 0 | } |
1205 | | #endif |
1206 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1207 | 0 | return _internal_metadata_.unknown_fields(); |
1208 | 0 | } |
1209 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1210 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1211 | 0 | } |
1212 | | |
1213 | | static const ::google::protobuf::Descriptor* descriptor(); |
1214 | | static const CopartitionTableRequestPB& default_instance(); |
1215 | | |
1216 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1217 | 26.8k | static inline const CopartitionTableRequestPB* internal_default_instance() { |
1218 | 26.8k | return reinterpret_cast<const CopartitionTableRequestPB*>( |
1219 | 26.8k | &_CopartitionTableRequestPB_default_instance_); |
1220 | 26.8k | } |
1221 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1222 | | 6; |
1223 | | |
1224 | | void Swap(CopartitionTableRequestPB* other); |
1225 | 0 | friend void swap(CopartitionTableRequestPB& a, CopartitionTableRequestPB& b) { |
1226 | 0 | a.Swap(&b); |
1227 | 0 | } |
1228 | | |
1229 | | // implements Message ---------------------------------------------- |
1230 | | |
1231 | 0 | inline CopartitionTableRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1232 | | |
1233 | | CopartitionTableRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1234 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1235 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1236 | | void CopyFrom(const CopartitionTableRequestPB& from); |
1237 | | void MergeFrom(const CopartitionTableRequestPB& from); |
1238 | | void Clear() PROTOBUF_FINAL; |
1239 | | bool IsInitialized() const PROTOBUF_FINAL; |
1240 | | |
1241 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1242 | | bool MergePartialFromCodedStream( |
1243 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1244 | | void SerializeWithCachedSizes( |
1245 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1246 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1247 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1248 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1249 | | private: |
1250 | | void SharedCtor(); |
1251 | | void SharedDtor(); |
1252 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1253 | | void InternalSwap(CopartitionTableRequestPB* other); |
1254 | | private: |
1255 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1256 | 0 | return NULL; |
1257 | 0 | } |
1258 | 0 | inline void* MaybeArenaPtr() const { |
1259 | 0 | return NULL; |
1260 | 0 | } |
1261 | | public: |
1262 | | |
1263 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1264 | | |
1265 | | // nested types ---------------------------------------------------- |
1266 | | |
1267 | | // accessors ------------------------------------------------------- |
1268 | | |
1269 | | // optional bytes dest_uuid = 1; |
1270 | | bool has_dest_uuid() const; |
1271 | | void clear_dest_uuid(); |
1272 | | static const int kDestUuidFieldNumber = 1; |
1273 | | const ::std::string& dest_uuid() const; |
1274 | | void set_dest_uuid(const ::std::string& value); |
1275 | | #if LANG_CXX11 |
1276 | | void set_dest_uuid(::std::string&& value); |
1277 | | #endif |
1278 | | void set_dest_uuid(const char* value); |
1279 | | void set_dest_uuid(const void* value, size_t size); |
1280 | | ::std::string* mutable_dest_uuid(); |
1281 | | ::std::string* release_dest_uuid(); |
1282 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
1283 | | |
1284 | | // optional bytes table_id = 2; |
1285 | | bool has_table_id() const; |
1286 | | void clear_table_id(); |
1287 | | static const int kTableIdFieldNumber = 2; |
1288 | | const ::std::string& table_id() const; |
1289 | | void set_table_id(const ::std::string& value); |
1290 | | #if LANG_CXX11 |
1291 | | void set_table_id(::std::string&& value); |
1292 | | #endif |
1293 | | void set_table_id(const char* value); |
1294 | | void set_table_id(const void* value, size_t size); |
1295 | | ::std::string* mutable_table_id(); |
1296 | | ::std::string* release_table_id(); |
1297 | | void set_allocated_table_id(::std::string* table_id); |
1298 | | |
1299 | | // optional bytes tablet_id = 3; |
1300 | | bool has_tablet_id() const; |
1301 | | void clear_tablet_id(); |
1302 | | static const int kTabletIdFieldNumber = 3; |
1303 | | const ::std::string& tablet_id() const; |
1304 | | void set_tablet_id(const ::std::string& value); |
1305 | | #if LANG_CXX11 |
1306 | | void set_tablet_id(::std::string&& value); |
1307 | | #endif |
1308 | | void set_tablet_id(const char* value); |
1309 | | void set_tablet_id(const void* value, size_t size); |
1310 | | ::std::string* mutable_tablet_id(); |
1311 | | ::std::string* release_tablet_id(); |
1312 | | void set_allocated_tablet_id(::std::string* tablet_id); |
1313 | | |
1314 | | // optional string table_name = 4; |
1315 | | bool has_table_name() const; |
1316 | | void clear_table_name(); |
1317 | | static const int kTableNameFieldNumber = 4; |
1318 | | const ::std::string& table_name() const; |
1319 | | void set_table_name(const ::std::string& value); |
1320 | | #if LANG_CXX11 |
1321 | | void set_table_name(::std::string&& value); |
1322 | | #endif |
1323 | | void set_table_name(const char* value); |
1324 | | void set_table_name(const char* value, size_t size); |
1325 | | ::std::string* mutable_table_name(); |
1326 | | ::std::string* release_table_name(); |
1327 | | void set_allocated_table_name(::std::string* table_name); |
1328 | | |
1329 | | // @@protoc_insertion_point(class_scope:yb.tserver.CopartitionTableRequestPB) |
1330 | | private: |
1331 | | void set_has_dest_uuid(); |
1332 | | void clear_has_dest_uuid(); |
1333 | | void set_has_table_id(); |
1334 | | void clear_has_table_id(); |
1335 | | void set_has_tablet_id(); |
1336 | | void clear_has_tablet_id(); |
1337 | | void set_has_table_name(); |
1338 | | void clear_has_table_name(); |
1339 | | |
1340 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1341 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1342 | | mutable int _cached_size_; |
1343 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
1344 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
1345 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
1346 | | ::google::protobuf::internal::ArenaStringPtr table_name_; |
1347 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
1348 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsCopartitionTableRequestPBImpl(); |
1349 | | }; |
1350 | | // ------------------------------------------------------------------- |
1351 | | |
1352 | | class CopartitionTableResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.CopartitionTableResponsePB) */ { |
1353 | | public: |
1354 | | CopartitionTableResponsePB(); |
1355 | | virtual ~CopartitionTableResponsePB(); |
1356 | | |
1357 | | CopartitionTableResponsePB(const CopartitionTableResponsePB& from); |
1358 | | |
1359 | 0 | inline CopartitionTableResponsePB& operator=(const CopartitionTableResponsePB& from) { |
1360 | 0 | CopyFrom(from); |
1361 | 0 | return *this; |
1362 | 0 | } |
1363 | | #if LANG_CXX11 |
1364 | | CopartitionTableResponsePB(CopartitionTableResponsePB&& from) noexcept |
1365 | 0 | : CopartitionTableResponsePB() { |
1366 | 0 | *this = ::std::move(from); |
1367 | 0 | } |
1368 | | |
1369 | 0 | inline CopartitionTableResponsePB& operator=(CopartitionTableResponsePB&& from) noexcept { |
1370 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1371 | 0 | if (this != &from) InternalSwap(&from); |
1372 | 0 | } else { |
1373 | 0 | CopyFrom(from); |
1374 | 0 | } |
1375 | 0 | return *this; |
1376 | 0 | } |
1377 | | #endif |
1378 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1379 | 0 | return _internal_metadata_.unknown_fields(); |
1380 | 0 | } |
1381 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1382 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1383 | 0 | } |
1384 | | |
1385 | | static const ::google::protobuf::Descriptor* descriptor(); |
1386 | | static const CopartitionTableResponsePB& default_instance(); |
1387 | | |
1388 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1389 | 26.8k | static inline const CopartitionTableResponsePB* internal_default_instance() { |
1390 | 26.8k | return reinterpret_cast<const CopartitionTableResponsePB*>( |
1391 | 26.8k | &_CopartitionTableResponsePB_default_instance_); |
1392 | 26.8k | } |
1393 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1394 | | 7; |
1395 | | |
1396 | | void Swap(CopartitionTableResponsePB* other); |
1397 | 0 | friend void swap(CopartitionTableResponsePB& a, CopartitionTableResponsePB& b) { |
1398 | 0 | a.Swap(&b); |
1399 | 0 | } |
1400 | | |
1401 | | // implements Message ---------------------------------------------- |
1402 | | |
1403 | 0 | inline CopartitionTableResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1404 | | |
1405 | | CopartitionTableResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1406 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1407 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1408 | | void CopyFrom(const CopartitionTableResponsePB& from); |
1409 | | void MergeFrom(const CopartitionTableResponsePB& from); |
1410 | | void Clear() PROTOBUF_FINAL; |
1411 | | bool IsInitialized() const PROTOBUF_FINAL; |
1412 | | |
1413 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1414 | | bool MergePartialFromCodedStream( |
1415 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1416 | | void SerializeWithCachedSizes( |
1417 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1418 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1419 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1420 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1421 | | private: |
1422 | | void SharedCtor(); |
1423 | | void SharedDtor(); |
1424 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1425 | | void InternalSwap(CopartitionTableResponsePB* other); |
1426 | | private: |
1427 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1428 | 0 | return NULL; |
1429 | 0 | } |
1430 | 0 | inline void* MaybeArenaPtr() const { |
1431 | 0 | return NULL; |
1432 | 0 | } |
1433 | | public: |
1434 | | |
1435 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1436 | | |
1437 | | // nested types ---------------------------------------------------- |
1438 | | |
1439 | | // accessors ------------------------------------------------------- |
1440 | | |
1441 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
1442 | | bool has_error() const; |
1443 | | void clear_error(); |
1444 | | static const int kErrorFieldNumber = 1; |
1445 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
1446 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
1447 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
1448 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
1449 | | |
1450 | | // @@protoc_insertion_point(class_scope:yb.tserver.CopartitionTableResponsePB) |
1451 | | private: |
1452 | | void set_has_error(); |
1453 | | void clear_has_error(); |
1454 | | |
1455 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1456 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1457 | | mutable int _cached_size_; |
1458 | | ::yb::tserver::TabletServerErrorPB* error_; |
1459 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
1460 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsCopartitionTableResponsePBImpl(); |
1461 | | }; |
1462 | | // ------------------------------------------------------------------- |
1463 | | |
1464 | | class CreateTabletRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.CreateTabletRequestPB) */ { |
1465 | | public: |
1466 | | CreateTabletRequestPB(); |
1467 | | virtual ~CreateTabletRequestPB(); |
1468 | | |
1469 | | CreateTabletRequestPB(const CreateTabletRequestPB& from); |
1470 | | |
1471 | 0 | inline CreateTabletRequestPB& operator=(const CreateTabletRequestPB& from) { |
1472 | 0 | CopyFrom(from); |
1473 | 0 | return *this; |
1474 | 0 | } |
1475 | | #if LANG_CXX11 |
1476 | | CreateTabletRequestPB(CreateTabletRequestPB&& from) noexcept |
1477 | 0 | : CreateTabletRequestPB() { |
1478 | 0 | *this = ::std::move(from); |
1479 | 0 | } |
1480 | | |
1481 | 0 | inline CreateTabletRequestPB& operator=(CreateTabletRequestPB&& from) noexcept { |
1482 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1483 | 0 | if (this != &from) InternalSwap(&from); |
1484 | 0 | } else { |
1485 | 0 | CopyFrom(from); |
1486 | 0 | } |
1487 | 0 | return *this; |
1488 | 0 | } |
1489 | | #endif |
1490 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1491 | 0 | return _internal_metadata_.unknown_fields(); |
1492 | 0 | } |
1493 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1494 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1495 | 0 | } |
1496 | | |
1497 | | static const ::google::protobuf::Descriptor* descriptor(); |
1498 | | static const CreateTabletRequestPB& default_instance(); |
1499 | | |
1500 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1501 | 1.42M | static inline const CreateTabletRequestPB* internal_default_instance() { |
1502 | 1.42M | return reinterpret_cast<const CreateTabletRequestPB*>( |
1503 | 1.42M | &_CreateTabletRequestPB_default_instance_); |
1504 | 1.42M | } |
1505 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1506 | | 8; |
1507 | | |
1508 | | void Swap(CreateTabletRequestPB* other); |
1509 | 0 | friend void swap(CreateTabletRequestPB& a, CreateTabletRequestPB& b) { |
1510 | 0 | a.Swap(&b); |
1511 | 0 | } |
1512 | | |
1513 | | // implements Message ---------------------------------------------- |
1514 | | |
1515 | 0 | inline CreateTabletRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1516 | | |
1517 | | CreateTabletRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1518 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1519 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1520 | | void CopyFrom(const CreateTabletRequestPB& from); |
1521 | | void MergeFrom(const CreateTabletRequestPB& from); |
1522 | | void Clear() PROTOBUF_FINAL; |
1523 | | bool IsInitialized() const PROTOBUF_FINAL; |
1524 | | |
1525 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1526 | | bool MergePartialFromCodedStream( |
1527 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1528 | | void SerializeWithCachedSizes( |
1529 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1530 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1531 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1532 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1533 | | private: |
1534 | | void SharedCtor(); |
1535 | | void SharedDtor(); |
1536 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1537 | | void InternalSwap(CreateTabletRequestPB* other); |
1538 | | private: |
1539 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1540 | 0 | return NULL; |
1541 | 0 | } |
1542 | 0 | inline void* MaybeArenaPtr() const { |
1543 | 0 | return NULL; |
1544 | 0 | } |
1545 | | public: |
1546 | | |
1547 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1548 | | |
1549 | | // nested types ---------------------------------------------------- |
1550 | | |
1551 | | // accessors ------------------------------------------------------- |
1552 | | |
1553 | | // repeated bytes snapshot_schedules = 16; |
1554 | | int snapshot_schedules_size() const; |
1555 | | void clear_snapshot_schedules(); |
1556 | | static const int kSnapshotSchedulesFieldNumber = 16; |
1557 | | const ::std::string& snapshot_schedules(int index) const; |
1558 | | ::std::string* mutable_snapshot_schedules(int index); |
1559 | | void set_snapshot_schedules(int index, const ::std::string& value); |
1560 | | #if LANG_CXX11 |
1561 | | void set_snapshot_schedules(int index, ::std::string&& value); |
1562 | | #endif |
1563 | | void set_snapshot_schedules(int index, const char* value); |
1564 | | void set_snapshot_schedules(int index, const void* value, size_t size); |
1565 | | ::std::string* add_snapshot_schedules(); |
1566 | | void add_snapshot_schedules(const ::std::string& value); |
1567 | | #if LANG_CXX11 |
1568 | | void add_snapshot_schedules(::std::string&& value); |
1569 | | #endif |
1570 | | void add_snapshot_schedules(const char* value); |
1571 | | void add_snapshot_schedules(const void* value, size_t size); |
1572 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& snapshot_schedules() const; |
1573 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_snapshot_schedules(); |
1574 | | |
1575 | | // required bytes table_id = 1; |
1576 | | bool has_table_id() const; |
1577 | | void clear_table_id(); |
1578 | | static const int kTableIdFieldNumber = 1; |
1579 | | const ::std::string& table_id() const; |
1580 | | void set_table_id(const ::std::string& value); |
1581 | | #if LANG_CXX11 |
1582 | | void set_table_id(::std::string&& value); |
1583 | | #endif |
1584 | | void set_table_id(const char* value); |
1585 | | void set_table_id(const void* value, size_t size); |
1586 | | ::std::string* mutable_table_id(); |
1587 | | ::std::string* release_table_id(); |
1588 | | void set_allocated_table_id(::std::string* table_id); |
1589 | | |
1590 | | // required bytes tablet_id = 2; |
1591 | | bool has_tablet_id() const; |
1592 | | void clear_tablet_id(); |
1593 | | static const int kTabletIdFieldNumber = 2; |
1594 | | const ::std::string& tablet_id() const; |
1595 | | void set_tablet_id(const ::std::string& value); |
1596 | | #if LANG_CXX11 |
1597 | | void set_tablet_id(::std::string&& value); |
1598 | | #endif |
1599 | | void set_tablet_id(const char* value); |
1600 | | void set_tablet_id(const void* value, size_t size); |
1601 | | ::std::string* mutable_tablet_id(); |
1602 | | ::std::string* release_tablet_id(); |
1603 | | void set_allocated_tablet_id(::std::string* tablet_id); |
1604 | | |
1605 | | // optional bytes start_key = 3; |
1606 | | bool has_start_key() const; |
1607 | | void clear_start_key(); |
1608 | | static const int kStartKeyFieldNumber = 3; |
1609 | | const ::std::string& start_key() const; |
1610 | | void set_start_key(const ::std::string& value); |
1611 | | #if LANG_CXX11 |
1612 | | void set_start_key(::std::string&& value); |
1613 | | #endif |
1614 | | void set_start_key(const char* value); |
1615 | | void set_start_key(const void* value, size_t size); |
1616 | | ::std::string* mutable_start_key(); |
1617 | | ::std::string* release_start_key(); |
1618 | | void set_allocated_start_key(::std::string* start_key); |
1619 | | |
1620 | | // optional bytes end_key = 4; |
1621 | | bool has_end_key() const; |
1622 | | void clear_end_key(); |
1623 | | static const int kEndKeyFieldNumber = 4; |
1624 | | const ::std::string& end_key() const; |
1625 | | void set_end_key(const ::std::string& value); |
1626 | | #if LANG_CXX11 |
1627 | | void set_end_key(::std::string&& value); |
1628 | | #endif |
1629 | | void set_end_key(const char* value); |
1630 | | void set_end_key(const void* value, size_t size); |
1631 | | ::std::string* mutable_end_key(); |
1632 | | ::std::string* release_end_key(); |
1633 | | void set_allocated_end_key(::std::string* end_key); |
1634 | | |
1635 | | // required string table_name = 5; |
1636 | | bool has_table_name() const; |
1637 | | void clear_table_name(); |
1638 | | static const int kTableNameFieldNumber = 5; |
1639 | | const ::std::string& table_name() const; |
1640 | | void set_table_name(const ::std::string& value); |
1641 | | #if LANG_CXX11 |
1642 | | void set_table_name(::std::string&& value); |
1643 | | #endif |
1644 | | void set_table_name(const char* value); |
1645 | | void set_table_name(const char* value, size_t size); |
1646 | | ::std::string* mutable_table_name(); |
1647 | | ::std::string* release_table_name(); |
1648 | | void set_allocated_table_name(::std::string* table_name); |
1649 | | |
1650 | | // optional bytes dest_uuid = 8; |
1651 | | bool has_dest_uuid() const; |
1652 | | void clear_dest_uuid(); |
1653 | | static const int kDestUuidFieldNumber = 8; |
1654 | | const ::std::string& dest_uuid() const; |
1655 | | void set_dest_uuid(const ::std::string& value); |
1656 | | #if LANG_CXX11 |
1657 | | void set_dest_uuid(::std::string&& value); |
1658 | | #endif |
1659 | | void set_dest_uuid(const char* value); |
1660 | | void set_dest_uuid(const void* value, size_t size); |
1661 | | ::std::string* mutable_dest_uuid(); |
1662 | | ::std::string* release_dest_uuid(); |
1663 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
1664 | | |
1665 | | // optional bytes namespace_id = 14; |
1666 | | bool has_namespace_id() const; |
1667 | | void clear_namespace_id(); |
1668 | | static const int kNamespaceIdFieldNumber = 14; |
1669 | | const ::std::string& namespace_id() const; |
1670 | | void set_namespace_id(const ::std::string& value); |
1671 | | #if LANG_CXX11 |
1672 | | void set_namespace_id(::std::string&& value); |
1673 | | #endif |
1674 | | void set_namespace_id(const char* value); |
1675 | | void set_namespace_id(const void* value, size_t size); |
1676 | | ::std::string* mutable_namespace_id(); |
1677 | | ::std::string* release_namespace_id(); |
1678 | | void set_allocated_namespace_id(::std::string* namespace_id); |
1679 | | |
1680 | | // optional bytes namespace_name = 15; |
1681 | | bool has_namespace_name() const; |
1682 | | void clear_namespace_name(); |
1683 | | static const int kNamespaceNameFieldNumber = 15; |
1684 | | const ::std::string& namespace_name() const; |
1685 | | void set_namespace_name(const ::std::string& value); |
1686 | | #if LANG_CXX11 |
1687 | | void set_namespace_name(::std::string&& value); |
1688 | | #endif |
1689 | | void set_namespace_name(const char* value); |
1690 | | void set_namespace_name(const void* value, size_t size); |
1691 | | ::std::string* mutable_namespace_name(); |
1692 | | ::std::string* release_namespace_name(); |
1693 | | void set_allocated_namespace_name(::std::string* namespace_name); |
1694 | | |
1695 | | // required .yb.SchemaPB schema = 6; |
1696 | | bool has_schema() const; |
1697 | | void clear_schema(); |
1698 | | static const int kSchemaFieldNumber = 6; |
1699 | | const ::yb::SchemaPB& schema() const; |
1700 | | ::yb::SchemaPB* release_schema(); |
1701 | | ::yb::SchemaPB* mutable_schema(); |
1702 | | void set_allocated_schema(::yb::SchemaPB* schema); |
1703 | | |
1704 | | // required .yb.consensus.RaftConfigPB config = 7; |
1705 | | bool has_config() const; |
1706 | | void clear_config(); |
1707 | | static const int kConfigFieldNumber = 7; |
1708 | | const ::yb::consensus::RaftConfigPB& config() const; |
1709 | | ::yb::consensus::RaftConfigPB* release_config(); |
1710 | | ::yb::consensus::RaftConfigPB* mutable_config(); |
1711 | | void set_allocated_config(::yb::consensus::RaftConfigPB* config); |
1712 | | |
1713 | | // optional .yb.PartitionPB partition = 9; |
1714 | | bool has_partition() const; |
1715 | | void clear_partition(); |
1716 | | static const int kPartitionFieldNumber = 9; |
1717 | | const ::yb::PartitionPB& partition() const; |
1718 | | ::yb::PartitionPB* release_partition(); |
1719 | | ::yb::PartitionPB* mutable_partition(); |
1720 | | void set_allocated_partition(::yb::PartitionPB* partition); |
1721 | | |
1722 | | // optional .yb.PartitionSchemaPB partition_schema = 10; |
1723 | | bool has_partition_schema() const; |
1724 | | void clear_partition_schema(); |
1725 | | static const int kPartitionSchemaFieldNumber = 10; |
1726 | | const ::yb::PartitionSchemaPB& partition_schema() const; |
1727 | | ::yb::PartitionSchemaPB* release_partition_schema(); |
1728 | | ::yb::PartitionSchemaPB* mutable_partition_schema(); |
1729 | | void set_allocated_partition_schema(::yb::PartitionSchemaPB* partition_schema); |
1730 | | |
1731 | | // optional .yb.IndexInfoPB index_info = 12; |
1732 | | bool has_index_info() const; |
1733 | | void clear_index_info(); |
1734 | | static const int kIndexInfoFieldNumber = 12; |
1735 | | const ::yb::IndexInfoPB& index_info() const; |
1736 | | ::yb::IndexInfoPB* release_index_info(); |
1737 | | ::yb::IndexInfoPB* mutable_index_info(); |
1738 | | void set_allocated_index_info(::yb::IndexInfoPB* index_info); |
1739 | | |
1740 | | // optional bool colocated = 13 [default = false]; |
1741 | | bool has_colocated() const; |
1742 | | void clear_colocated(); |
1743 | | static const int kColocatedFieldNumber = 13; |
1744 | | bool colocated() const; |
1745 | | void set_colocated(bool value); |
1746 | | |
1747 | | // optional .yb.TableType table_type = 11; |
1748 | | bool has_table_type() const; |
1749 | | void clear_table_type(); |
1750 | | static const int kTableTypeFieldNumber = 11; |
1751 | | ::yb::TableType table_type() const; |
1752 | | void set_table_type(::yb::TableType value); |
1753 | | |
1754 | | // @@protoc_insertion_point(class_scope:yb.tserver.CreateTabletRequestPB) |
1755 | | private: |
1756 | | void set_has_dest_uuid(); |
1757 | | void clear_has_dest_uuid(); |
1758 | | void set_has_table_id(); |
1759 | | void clear_has_table_id(); |
1760 | | void set_has_tablet_id(); |
1761 | | void clear_has_tablet_id(); |
1762 | | void set_has_start_key(); |
1763 | | void clear_has_start_key(); |
1764 | | void set_has_end_key(); |
1765 | | void clear_has_end_key(); |
1766 | | void set_has_partition(); |
1767 | | void clear_has_partition(); |
1768 | | void set_has_namespace_id(); |
1769 | | void clear_has_namespace_id(); |
1770 | | void set_has_namespace_name(); |
1771 | | void clear_has_namespace_name(); |
1772 | | void set_has_table_name(); |
1773 | | void clear_has_table_name(); |
1774 | | void set_has_table_type(); |
1775 | | void clear_has_table_type(); |
1776 | | void set_has_schema(); |
1777 | | void clear_has_schema(); |
1778 | | void set_has_partition_schema(); |
1779 | | void clear_has_partition_schema(); |
1780 | | void set_has_config(); |
1781 | | void clear_has_config(); |
1782 | | void set_has_index_info(); |
1783 | | void clear_has_index_info(); |
1784 | | void set_has_colocated(); |
1785 | | void clear_has_colocated(); |
1786 | | |
1787 | | // helper for ByteSizeLong() |
1788 | | size_t RequiredFieldsByteSizeFallback() const; |
1789 | | |
1790 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1791 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1792 | | mutable int _cached_size_; |
1793 | | ::google::protobuf::RepeatedPtrField< ::std::string> snapshot_schedules_; |
1794 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
1795 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
1796 | | ::google::protobuf::internal::ArenaStringPtr start_key_; |
1797 | | ::google::protobuf::internal::ArenaStringPtr end_key_; |
1798 | | ::google::protobuf::internal::ArenaStringPtr table_name_; |
1799 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
1800 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
1801 | | ::google::protobuf::internal::ArenaStringPtr namespace_name_; |
1802 | | ::yb::SchemaPB* schema_; |
1803 | | ::yb::consensus::RaftConfigPB* config_; |
1804 | | ::yb::PartitionPB* partition_; |
1805 | | ::yb::PartitionSchemaPB* partition_schema_; |
1806 | | ::yb::IndexInfoPB* index_info_; |
1807 | | bool colocated_; |
1808 | | int table_type_; |
1809 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
1810 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsCreateTabletRequestPBImpl(); |
1811 | | }; |
1812 | | // ------------------------------------------------------------------- |
1813 | | |
1814 | | class CreateTabletResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.CreateTabletResponsePB) */ { |
1815 | | public: |
1816 | | CreateTabletResponsePB(); |
1817 | | virtual ~CreateTabletResponsePB(); |
1818 | | |
1819 | | CreateTabletResponsePB(const CreateTabletResponsePB& from); |
1820 | | |
1821 | 0 | inline CreateTabletResponsePB& operator=(const CreateTabletResponsePB& from) { |
1822 | 0 | CopyFrom(from); |
1823 | 0 | return *this; |
1824 | 0 | } |
1825 | | #if LANG_CXX11 |
1826 | | CreateTabletResponsePB(CreateTabletResponsePB&& from) noexcept |
1827 | 0 | : CreateTabletResponsePB() { |
1828 | 0 | *this = ::std::move(from); |
1829 | 0 | } |
1830 | | |
1831 | 0 | inline CreateTabletResponsePB& operator=(CreateTabletResponsePB&& from) noexcept { |
1832 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1833 | 0 | if (this != &from) InternalSwap(&from); |
1834 | 0 | } else { |
1835 | 0 | CopyFrom(from); |
1836 | 0 | } |
1837 | 0 | return *this; |
1838 | 0 | } |
1839 | | #endif |
1840 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1841 | 0 | return _internal_metadata_.unknown_fields(); |
1842 | 0 | } |
1843 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1844 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1845 | 0 | } |
1846 | | |
1847 | | static const ::google::protobuf::Descriptor* descriptor(); |
1848 | | static const CreateTabletResponsePB& default_instance(); |
1849 | | |
1850 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1851 | 530k | static inline const CreateTabletResponsePB* internal_default_instance() { |
1852 | 530k | return reinterpret_cast<const CreateTabletResponsePB*>( |
1853 | 530k | &_CreateTabletResponsePB_default_instance_); |
1854 | 530k | } |
1855 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1856 | | 9; |
1857 | | |
1858 | | void Swap(CreateTabletResponsePB* other); |
1859 | 0 | friend void swap(CreateTabletResponsePB& a, CreateTabletResponsePB& b) { |
1860 | 0 | a.Swap(&b); |
1861 | 0 | } |
1862 | | |
1863 | | // implements Message ---------------------------------------------- |
1864 | | |
1865 | 0 | inline CreateTabletResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1866 | | |
1867 | | CreateTabletResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1868 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1869 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1870 | | void CopyFrom(const CreateTabletResponsePB& from); |
1871 | | void MergeFrom(const CreateTabletResponsePB& from); |
1872 | | void Clear() PROTOBUF_FINAL; |
1873 | | bool IsInitialized() const PROTOBUF_FINAL; |
1874 | | |
1875 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1876 | | bool MergePartialFromCodedStream( |
1877 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1878 | | void SerializeWithCachedSizes( |
1879 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1880 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1881 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1882 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1883 | | private: |
1884 | | void SharedCtor(); |
1885 | | void SharedDtor(); |
1886 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1887 | | void InternalSwap(CreateTabletResponsePB* other); |
1888 | | private: |
1889 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1890 | 0 | return NULL; |
1891 | 0 | } |
1892 | 0 | inline void* MaybeArenaPtr() const { |
1893 | 0 | return NULL; |
1894 | 0 | } |
1895 | | public: |
1896 | | |
1897 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1898 | | |
1899 | | // nested types ---------------------------------------------------- |
1900 | | |
1901 | | // accessors ------------------------------------------------------- |
1902 | | |
1903 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
1904 | | bool has_error() const; |
1905 | | void clear_error(); |
1906 | | static const int kErrorFieldNumber = 1; |
1907 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
1908 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
1909 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
1910 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
1911 | | |
1912 | | // @@protoc_insertion_point(class_scope:yb.tserver.CreateTabletResponsePB) |
1913 | | private: |
1914 | | void set_has_error(); |
1915 | | void clear_has_error(); |
1916 | | |
1917 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1918 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1919 | | mutable int _cached_size_; |
1920 | | ::yb::tserver::TabletServerErrorPB* error_; |
1921 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
1922 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsCreateTabletResponsePBImpl(); |
1923 | | }; |
1924 | | // ------------------------------------------------------------------- |
1925 | | |
1926 | | class DeleteTabletRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.DeleteTabletRequestPB) */ { |
1927 | | public: |
1928 | | DeleteTabletRequestPB(); |
1929 | | virtual ~DeleteTabletRequestPB(); |
1930 | | |
1931 | | DeleteTabletRequestPB(const DeleteTabletRequestPB& from); |
1932 | | |
1933 | 0 | inline DeleteTabletRequestPB& operator=(const DeleteTabletRequestPB& from) { |
1934 | 0 | CopyFrom(from); |
1935 | 0 | return *this; |
1936 | 0 | } |
1937 | | #if LANG_CXX11 |
1938 | | DeleteTabletRequestPB(DeleteTabletRequestPB&& from) noexcept |
1939 | 0 | : DeleteTabletRequestPB() { |
1940 | 0 | *this = ::std::move(from); |
1941 | 0 | } |
1942 | | |
1943 | 0 | inline DeleteTabletRequestPB& operator=(DeleteTabletRequestPB&& from) noexcept { |
1944 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1945 | 0 | if (this != &from) InternalSwap(&from); |
1946 | 0 | } else { |
1947 | 0 | CopyFrom(from); |
1948 | 0 | } |
1949 | 0 | return *this; |
1950 | 0 | } |
1951 | | #endif |
1952 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1953 | 0 | return _internal_metadata_.unknown_fields(); |
1954 | 0 | } |
1955 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1956 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1957 | 0 | } |
1958 | | |
1959 | | static const ::google::protobuf::Descriptor* descriptor(); |
1960 | | static const DeleteTabletRequestPB& default_instance(); |
1961 | | |
1962 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1963 | 182k | static inline const DeleteTabletRequestPB* internal_default_instance() { |
1964 | 182k | return reinterpret_cast<const DeleteTabletRequestPB*>( |
1965 | 182k | &_DeleteTabletRequestPB_default_instance_); |
1966 | 182k | } |
1967 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1968 | | 10; |
1969 | | |
1970 | | void Swap(DeleteTabletRequestPB* other); |
1971 | 0 | friend void swap(DeleteTabletRequestPB& a, DeleteTabletRequestPB& b) { |
1972 | 0 | a.Swap(&b); |
1973 | 0 | } |
1974 | | |
1975 | | // implements Message ---------------------------------------------- |
1976 | | |
1977 | 0 | inline DeleteTabletRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1978 | | |
1979 | | DeleteTabletRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1980 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1981 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1982 | | void CopyFrom(const DeleteTabletRequestPB& from); |
1983 | | void MergeFrom(const DeleteTabletRequestPB& from); |
1984 | | void Clear() PROTOBUF_FINAL; |
1985 | | bool IsInitialized() const PROTOBUF_FINAL; |
1986 | | |
1987 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1988 | | bool MergePartialFromCodedStream( |
1989 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1990 | | void SerializeWithCachedSizes( |
1991 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1992 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1993 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1994 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1995 | | private: |
1996 | | void SharedCtor(); |
1997 | | void SharedDtor(); |
1998 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1999 | | void InternalSwap(DeleteTabletRequestPB* other); |
2000 | | private: |
2001 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2002 | 0 | return NULL; |
2003 | 0 | } |
2004 | 0 | inline void* MaybeArenaPtr() const { |
2005 | 0 | return NULL; |
2006 | 0 | } |
2007 | | public: |
2008 | | |
2009 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2010 | | |
2011 | | // nested types ---------------------------------------------------- |
2012 | | |
2013 | | // accessors ------------------------------------------------------- |
2014 | | |
2015 | | // required bytes tablet_id = 1; |
2016 | | bool has_tablet_id() const; |
2017 | | void clear_tablet_id(); |
2018 | | static const int kTabletIdFieldNumber = 1; |
2019 | | const ::std::string& tablet_id() const; |
2020 | | void set_tablet_id(const ::std::string& value); |
2021 | | #if LANG_CXX11 |
2022 | | void set_tablet_id(::std::string&& value); |
2023 | | #endif |
2024 | | void set_tablet_id(const char* value); |
2025 | | void set_tablet_id(const void* value, size_t size); |
2026 | | ::std::string* mutable_tablet_id(); |
2027 | | ::std::string* release_tablet_id(); |
2028 | | void set_allocated_tablet_id(::std::string* tablet_id); |
2029 | | |
2030 | | // optional string reason = 2; |
2031 | | bool has_reason() const; |
2032 | | void clear_reason(); |
2033 | | static const int kReasonFieldNumber = 2; |
2034 | | const ::std::string& reason() const; |
2035 | | void set_reason(const ::std::string& value); |
2036 | | #if LANG_CXX11 |
2037 | | void set_reason(::std::string&& value); |
2038 | | #endif |
2039 | | void set_reason(const char* value); |
2040 | | void set_reason(const char* value, size_t size); |
2041 | | ::std::string* mutable_reason(); |
2042 | | ::std::string* release_reason(); |
2043 | | void set_allocated_reason(::std::string* reason); |
2044 | | |
2045 | | // optional bytes dest_uuid = 4; |
2046 | | bool has_dest_uuid() const; |
2047 | | void clear_dest_uuid(); |
2048 | | static const int kDestUuidFieldNumber = 4; |
2049 | | const ::std::string& dest_uuid() const; |
2050 | | void set_dest_uuid(const ::std::string& value); |
2051 | | #if LANG_CXX11 |
2052 | | void set_dest_uuid(::std::string&& value); |
2053 | | #endif |
2054 | | void set_dest_uuid(const char* value); |
2055 | | void set_dest_uuid(const void* value, size_t size); |
2056 | | ::std::string* mutable_dest_uuid(); |
2057 | | ::std::string* release_dest_uuid(); |
2058 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
2059 | | |
2060 | | // optional int64 cas_config_opid_index_less_or_equal = 5; |
2061 | | bool has_cas_config_opid_index_less_or_equal() const; |
2062 | | void clear_cas_config_opid_index_less_or_equal(); |
2063 | | static const int kCasConfigOpidIndexLessOrEqualFieldNumber = 5; |
2064 | | ::google::protobuf::int64 cas_config_opid_index_less_or_equal() const; |
2065 | | void set_cas_config_opid_index_less_or_equal(::google::protobuf::int64 value); |
2066 | | |
2067 | | // optional bool hide_only = 6; |
2068 | | bool has_hide_only() const; |
2069 | | void clear_hide_only(); |
2070 | | static const int kHideOnlyFieldNumber = 6; |
2071 | | bool hide_only() const; |
2072 | | void set_hide_only(bool value); |
2073 | | |
2074 | | // optional .yb.tablet.TabletDataState delete_type = 3 [default = TABLET_DATA_TOMBSTONED]; |
2075 | | bool has_delete_type() const; |
2076 | | void clear_delete_type(); |
2077 | | static const int kDeleteTypeFieldNumber = 3; |
2078 | | ::yb::tablet::TabletDataState delete_type() const; |
2079 | | void set_delete_type(::yb::tablet::TabletDataState value); |
2080 | | |
2081 | | // @@protoc_insertion_point(class_scope:yb.tserver.DeleteTabletRequestPB) |
2082 | | private: |
2083 | | void set_has_dest_uuid(); |
2084 | | void clear_has_dest_uuid(); |
2085 | | void set_has_tablet_id(); |
2086 | | void clear_has_tablet_id(); |
2087 | | void set_has_reason(); |
2088 | | void clear_has_reason(); |
2089 | | void set_has_delete_type(); |
2090 | | void clear_has_delete_type(); |
2091 | | void set_has_cas_config_opid_index_less_or_equal(); |
2092 | | void clear_has_cas_config_opid_index_less_or_equal(); |
2093 | | void set_has_hide_only(); |
2094 | | void clear_has_hide_only(); |
2095 | | |
2096 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2097 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2098 | | mutable int _cached_size_; |
2099 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
2100 | | ::google::protobuf::internal::ArenaStringPtr reason_; |
2101 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
2102 | | ::google::protobuf::int64 cas_config_opid_index_less_or_equal_; |
2103 | | bool hide_only_; |
2104 | | int delete_type_; |
2105 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2106 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsDeleteTabletRequestPBImpl(); |
2107 | | }; |
2108 | | // ------------------------------------------------------------------- |
2109 | | |
2110 | | class DeleteTabletResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.DeleteTabletResponsePB) */ { |
2111 | | public: |
2112 | | DeleteTabletResponsePB(); |
2113 | | virtual ~DeleteTabletResponsePB(); |
2114 | | |
2115 | | DeleteTabletResponsePB(const DeleteTabletResponsePB& from); |
2116 | | |
2117 | 0 | inline DeleteTabletResponsePB& operator=(const DeleteTabletResponsePB& from) { |
2118 | 0 | CopyFrom(from); |
2119 | 0 | return *this; |
2120 | 0 | } |
2121 | | #if LANG_CXX11 |
2122 | | DeleteTabletResponsePB(DeleteTabletResponsePB&& from) noexcept |
2123 | 0 | : DeleteTabletResponsePB() { |
2124 | 0 | *this = ::std::move(from); |
2125 | 0 | } |
2126 | | |
2127 | 0 | inline DeleteTabletResponsePB& operator=(DeleteTabletResponsePB&& from) noexcept { |
2128 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2129 | 0 | if (this != &from) InternalSwap(&from); |
2130 | 0 | } else { |
2131 | 0 | CopyFrom(from); |
2132 | 0 | } |
2133 | 0 | return *this; |
2134 | 0 | } |
2135 | | #endif |
2136 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2137 | 0 | return _internal_metadata_.unknown_fields(); |
2138 | 0 | } |
2139 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2140 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2141 | 0 | } |
2142 | | |
2143 | | static const ::google::protobuf::Descriptor* descriptor(); |
2144 | | static const DeleteTabletResponsePB& default_instance(); |
2145 | | |
2146 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2147 | 293k | static inline const DeleteTabletResponsePB* internal_default_instance() { |
2148 | 293k | return reinterpret_cast<const DeleteTabletResponsePB*>( |
2149 | 293k | &_DeleteTabletResponsePB_default_instance_); |
2150 | 293k | } |
2151 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2152 | | 11; |
2153 | | |
2154 | | void Swap(DeleteTabletResponsePB* other); |
2155 | 0 | friend void swap(DeleteTabletResponsePB& a, DeleteTabletResponsePB& b) { |
2156 | 0 | a.Swap(&b); |
2157 | 0 | } |
2158 | | |
2159 | | // implements Message ---------------------------------------------- |
2160 | | |
2161 | 0 | inline DeleteTabletResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2162 | | |
2163 | | DeleteTabletResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2164 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2165 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2166 | | void CopyFrom(const DeleteTabletResponsePB& from); |
2167 | | void MergeFrom(const DeleteTabletResponsePB& from); |
2168 | | void Clear() PROTOBUF_FINAL; |
2169 | | bool IsInitialized() const PROTOBUF_FINAL; |
2170 | | |
2171 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2172 | | bool MergePartialFromCodedStream( |
2173 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2174 | | void SerializeWithCachedSizes( |
2175 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2176 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2177 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2178 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2179 | | private: |
2180 | | void SharedCtor(); |
2181 | | void SharedDtor(); |
2182 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2183 | | void InternalSwap(DeleteTabletResponsePB* other); |
2184 | | private: |
2185 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2186 | 0 | return NULL; |
2187 | 0 | } |
2188 | 0 | inline void* MaybeArenaPtr() const { |
2189 | 0 | return NULL; |
2190 | 0 | } |
2191 | | public: |
2192 | | |
2193 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2194 | | |
2195 | | // nested types ---------------------------------------------------- |
2196 | | |
2197 | | // accessors ------------------------------------------------------- |
2198 | | |
2199 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
2200 | | bool has_error() const; |
2201 | | void clear_error(); |
2202 | | static const int kErrorFieldNumber = 1; |
2203 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
2204 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
2205 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
2206 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
2207 | | |
2208 | | // @@protoc_insertion_point(class_scope:yb.tserver.DeleteTabletResponsePB) |
2209 | | private: |
2210 | | void set_has_error(); |
2211 | | void clear_has_error(); |
2212 | | |
2213 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2214 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2215 | | mutable int _cached_size_; |
2216 | | ::yb::tserver::TabletServerErrorPB* error_; |
2217 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2218 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsDeleteTabletResponsePBImpl(); |
2219 | | }; |
2220 | | // ------------------------------------------------------------------- |
2221 | | |
2222 | | class FlushTabletsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.FlushTabletsRequestPB) */ { |
2223 | | public: |
2224 | | FlushTabletsRequestPB(); |
2225 | | virtual ~FlushTabletsRequestPB(); |
2226 | | |
2227 | | FlushTabletsRequestPB(const FlushTabletsRequestPB& from); |
2228 | | |
2229 | 0 | inline FlushTabletsRequestPB& operator=(const FlushTabletsRequestPB& from) { |
2230 | 0 | CopyFrom(from); |
2231 | 0 | return *this; |
2232 | 0 | } |
2233 | | #if LANG_CXX11 |
2234 | | FlushTabletsRequestPB(FlushTabletsRequestPB&& from) noexcept |
2235 | 0 | : FlushTabletsRequestPB() { |
2236 | 0 | *this = ::std::move(from); |
2237 | 0 | } |
2238 | | |
2239 | 0 | inline FlushTabletsRequestPB& operator=(FlushTabletsRequestPB&& from) noexcept { |
2240 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2241 | 0 | if (this != &from) InternalSwap(&from); |
2242 | 0 | } else { |
2243 | 0 | CopyFrom(from); |
2244 | 0 | } |
2245 | 0 | return *this; |
2246 | 0 | } |
2247 | | #endif |
2248 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2249 | 0 | return _internal_metadata_.unknown_fields(); |
2250 | 0 | } |
2251 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2252 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2253 | 0 | } |
2254 | | |
2255 | | static const ::google::protobuf::Descriptor* descriptor(); |
2256 | | static const FlushTabletsRequestPB& default_instance(); |
2257 | | |
2258 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2259 | 26.9k | static inline const FlushTabletsRequestPB* internal_default_instance() { |
2260 | 26.9k | return reinterpret_cast<const FlushTabletsRequestPB*>( |
2261 | 26.9k | &_FlushTabletsRequestPB_default_instance_); |
2262 | 26.9k | } |
2263 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2264 | | 12; |
2265 | | |
2266 | | void Swap(FlushTabletsRequestPB* other); |
2267 | 0 | friend void swap(FlushTabletsRequestPB& a, FlushTabletsRequestPB& b) { |
2268 | 0 | a.Swap(&b); |
2269 | 0 | } |
2270 | | |
2271 | | // implements Message ---------------------------------------------- |
2272 | | |
2273 | 0 | inline FlushTabletsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2274 | | |
2275 | | FlushTabletsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2276 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2277 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2278 | | void CopyFrom(const FlushTabletsRequestPB& from); |
2279 | | void MergeFrom(const FlushTabletsRequestPB& from); |
2280 | | void Clear() PROTOBUF_FINAL; |
2281 | | bool IsInitialized() const PROTOBUF_FINAL; |
2282 | | |
2283 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2284 | | bool MergePartialFromCodedStream( |
2285 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2286 | | void SerializeWithCachedSizes( |
2287 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2288 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2289 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2290 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2291 | | private: |
2292 | | void SharedCtor(); |
2293 | | void SharedDtor(); |
2294 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2295 | | void InternalSwap(FlushTabletsRequestPB* other); |
2296 | | private: |
2297 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2298 | 0 | return NULL; |
2299 | 0 | } |
2300 | 0 | inline void* MaybeArenaPtr() const { |
2301 | 0 | return NULL; |
2302 | 0 | } |
2303 | | public: |
2304 | | |
2305 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2306 | | |
2307 | | // nested types ---------------------------------------------------- |
2308 | | |
2309 | | typedef FlushTabletsRequestPB_Operation Operation; |
2310 | | static const Operation FLUSH = |
2311 | | FlushTabletsRequestPB_Operation_FLUSH; |
2312 | | static const Operation COMPACT = |
2313 | | FlushTabletsRequestPB_Operation_COMPACT; |
2314 | | static const Operation LOG_GC = |
2315 | | FlushTabletsRequestPB_Operation_LOG_GC; |
2316 | 0 | static inline bool Operation_IsValid(int value) { |
2317 | 0 | return FlushTabletsRequestPB_Operation_IsValid(value); |
2318 | 0 | } |
2319 | | static const Operation Operation_MIN = |
2320 | | FlushTabletsRequestPB_Operation_Operation_MIN; |
2321 | | static const Operation Operation_MAX = |
2322 | | FlushTabletsRequestPB_Operation_Operation_MAX; |
2323 | | static const int Operation_ARRAYSIZE = |
2324 | | FlushTabletsRequestPB_Operation_Operation_ARRAYSIZE; |
2325 | | static inline const ::google::protobuf::EnumDescriptor* |
2326 | 0 | Operation_descriptor() { |
2327 | 0 | return FlushTabletsRequestPB_Operation_descriptor(); |
2328 | 0 | } |
2329 | 0 | static inline const ::std::string& Operation_Name(Operation value) { |
2330 | 0 | return FlushTabletsRequestPB_Operation_Name(value); |
2331 | 0 | } |
2332 | | static inline bool Operation_Parse(const ::std::string& name, |
2333 | 0 | Operation* value) { |
2334 | 0 | return FlushTabletsRequestPB_Operation_Parse(name, value); |
2335 | 0 | } |
2336 | | |
2337 | | // accessors ------------------------------------------------------- |
2338 | | |
2339 | | // repeated bytes tablet_ids = 2; |
2340 | | int tablet_ids_size() const; |
2341 | | void clear_tablet_ids(); |
2342 | | static const int kTabletIdsFieldNumber = 2; |
2343 | | const ::std::string& tablet_ids(int index) const; |
2344 | | ::std::string* mutable_tablet_ids(int index); |
2345 | | void set_tablet_ids(int index, const ::std::string& value); |
2346 | | #if LANG_CXX11 |
2347 | | void set_tablet_ids(int index, ::std::string&& value); |
2348 | | #endif |
2349 | | void set_tablet_ids(int index, const char* value); |
2350 | | void set_tablet_ids(int index, const void* value, size_t size); |
2351 | | ::std::string* add_tablet_ids(); |
2352 | | void add_tablet_ids(const ::std::string& value); |
2353 | | #if LANG_CXX11 |
2354 | | void add_tablet_ids(::std::string&& value); |
2355 | | #endif |
2356 | | void add_tablet_ids(const char* value); |
2357 | | void add_tablet_ids(const void* value, size_t size); |
2358 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& tablet_ids() const; |
2359 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tablet_ids(); |
2360 | | |
2361 | | // optional bytes dest_uuid = 1; |
2362 | | bool has_dest_uuid() const; |
2363 | | void clear_dest_uuid(); |
2364 | | static const int kDestUuidFieldNumber = 1; |
2365 | | const ::std::string& dest_uuid() const; |
2366 | | void set_dest_uuid(const ::std::string& value); |
2367 | | #if LANG_CXX11 |
2368 | | void set_dest_uuid(::std::string&& value); |
2369 | | #endif |
2370 | | void set_dest_uuid(const char* value); |
2371 | | void set_dest_uuid(const void* value, size_t size); |
2372 | | ::std::string* mutable_dest_uuid(); |
2373 | | ::std::string* release_dest_uuid(); |
2374 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
2375 | | |
2376 | | // optional fixed64 propagated_hybrid_time = 3; |
2377 | | bool has_propagated_hybrid_time() const; |
2378 | | void clear_propagated_hybrid_time(); |
2379 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
2380 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2381 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2382 | | |
2383 | | // optional .yb.tserver.FlushTabletsRequestPB.Operation operation = 4; |
2384 | | bool has_operation() const; |
2385 | | void clear_operation(); |
2386 | | static const int kOperationFieldNumber = 4; |
2387 | | ::yb::tserver::FlushTabletsRequestPB_Operation operation() const; |
2388 | | void set_operation(::yb::tserver::FlushTabletsRequestPB_Operation value); |
2389 | | |
2390 | | // optional bool all_tablets = 5; |
2391 | | bool has_all_tablets() const; |
2392 | | void clear_all_tablets(); |
2393 | | static const int kAllTabletsFieldNumber = 5; |
2394 | | bool all_tablets() const; |
2395 | | void set_all_tablets(bool value); |
2396 | | |
2397 | | // @@protoc_insertion_point(class_scope:yb.tserver.FlushTabletsRequestPB) |
2398 | | private: |
2399 | | void set_has_dest_uuid(); |
2400 | | void clear_has_dest_uuid(); |
2401 | | void set_has_propagated_hybrid_time(); |
2402 | | void clear_has_propagated_hybrid_time(); |
2403 | | void set_has_operation(); |
2404 | | void clear_has_operation(); |
2405 | | void set_has_all_tablets(); |
2406 | | void clear_has_all_tablets(); |
2407 | | |
2408 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2409 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2410 | | mutable int _cached_size_; |
2411 | | ::google::protobuf::RepeatedPtrField< ::std::string> tablet_ids_; |
2412 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
2413 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2414 | | int operation_; |
2415 | | bool all_tablets_; |
2416 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2417 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsFlushTabletsRequestPBImpl(); |
2418 | | }; |
2419 | | // ------------------------------------------------------------------- |
2420 | | |
2421 | | class FlushTabletsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.FlushTabletsResponsePB) */ { |
2422 | | public: |
2423 | | FlushTabletsResponsePB(); |
2424 | | virtual ~FlushTabletsResponsePB(); |
2425 | | |
2426 | | FlushTabletsResponsePB(const FlushTabletsResponsePB& from); |
2427 | | |
2428 | 0 | inline FlushTabletsResponsePB& operator=(const FlushTabletsResponsePB& from) { |
2429 | 0 | CopyFrom(from); |
2430 | 0 | return *this; |
2431 | 0 | } |
2432 | | #if LANG_CXX11 |
2433 | | FlushTabletsResponsePB(FlushTabletsResponsePB&& from) noexcept |
2434 | 0 | : FlushTabletsResponsePB() { |
2435 | 0 | *this = ::std::move(from); |
2436 | 0 | } |
2437 | | |
2438 | 0 | inline FlushTabletsResponsePB& operator=(FlushTabletsResponsePB&& from) noexcept { |
2439 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2440 | 0 | if (this != &from) InternalSwap(&from); |
2441 | 0 | } else { |
2442 | 0 | CopyFrom(from); |
2443 | 0 | } |
2444 | 0 | return *this; |
2445 | 0 | } |
2446 | | #endif |
2447 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2448 | 0 | return _internal_metadata_.unknown_fields(); |
2449 | 0 | } |
2450 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2451 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2452 | 0 | } |
2453 | | |
2454 | | static const ::google::protobuf::Descriptor* descriptor(); |
2455 | | static const FlushTabletsResponsePB& default_instance(); |
2456 | | |
2457 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2458 | 27.0k | static inline const FlushTabletsResponsePB* internal_default_instance() { |
2459 | 27.0k | return reinterpret_cast<const FlushTabletsResponsePB*>( |
2460 | 27.0k | &_FlushTabletsResponsePB_default_instance_); |
2461 | 27.0k | } |
2462 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2463 | | 13; |
2464 | | |
2465 | | void Swap(FlushTabletsResponsePB* other); |
2466 | 0 | friend void swap(FlushTabletsResponsePB& a, FlushTabletsResponsePB& b) { |
2467 | 0 | a.Swap(&b); |
2468 | 0 | } |
2469 | | |
2470 | | // implements Message ---------------------------------------------- |
2471 | | |
2472 | 0 | inline FlushTabletsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2473 | | |
2474 | | FlushTabletsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2475 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2476 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2477 | | void CopyFrom(const FlushTabletsResponsePB& from); |
2478 | | void MergeFrom(const FlushTabletsResponsePB& from); |
2479 | | void Clear() PROTOBUF_FINAL; |
2480 | | bool IsInitialized() const PROTOBUF_FINAL; |
2481 | | |
2482 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2483 | | bool MergePartialFromCodedStream( |
2484 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2485 | | void SerializeWithCachedSizes( |
2486 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2487 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2488 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2489 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2490 | | private: |
2491 | | void SharedCtor(); |
2492 | | void SharedDtor(); |
2493 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2494 | | void InternalSwap(FlushTabletsResponsePB* other); |
2495 | | private: |
2496 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2497 | 0 | return NULL; |
2498 | 0 | } |
2499 | 0 | inline void* MaybeArenaPtr() const { |
2500 | 0 | return NULL; |
2501 | 0 | } |
2502 | | public: |
2503 | | |
2504 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2505 | | |
2506 | | // nested types ---------------------------------------------------- |
2507 | | |
2508 | | // accessors ------------------------------------------------------- |
2509 | | |
2510 | | // optional bytes failed_tablet_id = 2; |
2511 | | bool has_failed_tablet_id() const; |
2512 | | void clear_failed_tablet_id(); |
2513 | | static const int kFailedTabletIdFieldNumber = 2; |
2514 | | const ::std::string& failed_tablet_id() const; |
2515 | | void set_failed_tablet_id(const ::std::string& value); |
2516 | | #if LANG_CXX11 |
2517 | | void set_failed_tablet_id(::std::string&& value); |
2518 | | #endif |
2519 | | void set_failed_tablet_id(const char* value); |
2520 | | void set_failed_tablet_id(const void* value, size_t size); |
2521 | | ::std::string* mutable_failed_tablet_id(); |
2522 | | ::std::string* release_failed_tablet_id(); |
2523 | | void set_allocated_failed_tablet_id(::std::string* failed_tablet_id); |
2524 | | |
2525 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
2526 | | bool has_error() const; |
2527 | | void clear_error(); |
2528 | | static const int kErrorFieldNumber = 1; |
2529 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
2530 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
2531 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
2532 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
2533 | | |
2534 | | // optional fixed64 propagated_hybrid_time = 3; |
2535 | | bool has_propagated_hybrid_time() const; |
2536 | | void clear_propagated_hybrid_time(); |
2537 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
2538 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2539 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2540 | | |
2541 | | // @@protoc_insertion_point(class_scope:yb.tserver.FlushTabletsResponsePB) |
2542 | | private: |
2543 | | void set_has_error(); |
2544 | | void clear_has_error(); |
2545 | | void set_has_failed_tablet_id(); |
2546 | | void clear_has_failed_tablet_id(); |
2547 | | void set_has_propagated_hybrid_time(); |
2548 | | void clear_has_propagated_hybrid_time(); |
2549 | | |
2550 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2551 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2552 | | mutable int _cached_size_; |
2553 | | ::google::protobuf::internal::ArenaStringPtr failed_tablet_id_; |
2554 | | ::yb::tserver::TabletServerErrorPB* error_; |
2555 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2556 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2557 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsFlushTabletsResponsePBImpl(); |
2558 | | }; |
2559 | | // ------------------------------------------------------------------- |
2560 | | |
2561 | | class CountIntentsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.CountIntentsRequestPB) */ { |
2562 | | public: |
2563 | | CountIntentsRequestPB(); |
2564 | | virtual ~CountIntentsRequestPB(); |
2565 | | |
2566 | | CountIntentsRequestPB(const CountIntentsRequestPB& from); |
2567 | | |
2568 | 0 | inline CountIntentsRequestPB& operator=(const CountIntentsRequestPB& from) { |
2569 | 0 | CopyFrom(from); |
2570 | 0 | return *this; |
2571 | 0 | } |
2572 | | #if LANG_CXX11 |
2573 | | CountIntentsRequestPB(CountIntentsRequestPB&& from) noexcept |
2574 | 0 | : CountIntentsRequestPB() { |
2575 | 0 | *this = ::std::move(from); |
2576 | 0 | } |
2577 | | |
2578 | 0 | inline CountIntentsRequestPB& operator=(CountIntentsRequestPB&& from) noexcept { |
2579 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2580 | 0 | if (this != &from) InternalSwap(&from); |
2581 | 0 | } else { |
2582 | 0 | CopyFrom(from); |
2583 | 0 | } |
2584 | 0 | return *this; |
2585 | 0 | } |
2586 | | #endif |
2587 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2588 | 0 | return _internal_metadata_.unknown_fields(); |
2589 | 0 | } |
2590 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2591 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2592 | 0 | } |
2593 | | |
2594 | | static const ::google::protobuf::Descriptor* descriptor(); |
2595 | | static const CountIntentsRequestPB& default_instance(); |
2596 | | |
2597 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2598 | 26.8k | static inline const CountIntentsRequestPB* internal_default_instance() { |
2599 | 26.8k | return reinterpret_cast<const CountIntentsRequestPB*>( |
2600 | 26.8k | &_CountIntentsRequestPB_default_instance_); |
2601 | 26.8k | } |
2602 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2603 | | 14; |
2604 | | |
2605 | | void Swap(CountIntentsRequestPB* other); |
2606 | 0 | friend void swap(CountIntentsRequestPB& a, CountIntentsRequestPB& b) { |
2607 | 0 | a.Swap(&b); |
2608 | 0 | } |
2609 | | |
2610 | | // implements Message ---------------------------------------------- |
2611 | | |
2612 | 0 | inline CountIntentsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2613 | | |
2614 | | CountIntentsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2615 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2616 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2617 | | void CopyFrom(const CountIntentsRequestPB& from); |
2618 | | void MergeFrom(const CountIntentsRequestPB& from); |
2619 | | void Clear() PROTOBUF_FINAL; |
2620 | | bool IsInitialized() const PROTOBUF_FINAL; |
2621 | | |
2622 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2623 | | bool MergePartialFromCodedStream( |
2624 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2625 | | void SerializeWithCachedSizes( |
2626 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2627 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2628 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2629 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2630 | | private: |
2631 | | void SharedCtor(); |
2632 | | void SharedDtor(); |
2633 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2634 | | void InternalSwap(CountIntentsRequestPB* other); |
2635 | | private: |
2636 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2637 | 0 | return NULL; |
2638 | 0 | } |
2639 | 0 | inline void* MaybeArenaPtr() const { |
2640 | 0 | return NULL; |
2641 | 0 | } |
2642 | | public: |
2643 | | |
2644 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2645 | | |
2646 | | // nested types ---------------------------------------------------- |
2647 | | |
2648 | | // accessors ------------------------------------------------------- |
2649 | | |
2650 | | // @@protoc_insertion_point(class_scope:yb.tserver.CountIntentsRequestPB) |
2651 | | private: |
2652 | | |
2653 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2654 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2655 | | mutable int _cached_size_; |
2656 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2657 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsCountIntentsRequestPBImpl(); |
2658 | | }; |
2659 | | // ------------------------------------------------------------------- |
2660 | | |
2661 | | class CountIntentsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.CountIntentsResponsePB) */ { |
2662 | | public: |
2663 | | CountIntentsResponsePB(); |
2664 | | virtual ~CountIntentsResponsePB(); |
2665 | | |
2666 | | CountIntentsResponsePB(const CountIntentsResponsePB& from); |
2667 | | |
2668 | 0 | inline CountIntentsResponsePB& operator=(const CountIntentsResponsePB& from) { |
2669 | 0 | CopyFrom(from); |
2670 | 0 | return *this; |
2671 | 0 | } |
2672 | | #if LANG_CXX11 |
2673 | | CountIntentsResponsePB(CountIntentsResponsePB&& from) noexcept |
2674 | 0 | : CountIntentsResponsePB() { |
2675 | 0 | *this = ::std::move(from); |
2676 | 0 | } |
2677 | | |
2678 | 0 | inline CountIntentsResponsePB& operator=(CountIntentsResponsePB&& from) noexcept { |
2679 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2680 | 0 | if (this != &from) InternalSwap(&from); |
2681 | 0 | } else { |
2682 | 0 | CopyFrom(from); |
2683 | 0 | } |
2684 | 0 | return *this; |
2685 | 0 | } |
2686 | | #endif |
2687 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2688 | 0 | return _internal_metadata_.unknown_fields(); |
2689 | 0 | } |
2690 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2691 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2692 | 0 | } |
2693 | | |
2694 | | static const ::google::protobuf::Descriptor* descriptor(); |
2695 | | static const CountIntentsResponsePB& default_instance(); |
2696 | | |
2697 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2698 | 26.8k | static inline const CountIntentsResponsePB* internal_default_instance() { |
2699 | 26.8k | return reinterpret_cast<const CountIntentsResponsePB*>( |
2700 | 26.8k | &_CountIntentsResponsePB_default_instance_); |
2701 | 26.8k | } |
2702 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2703 | | 15; |
2704 | | |
2705 | | void Swap(CountIntentsResponsePB* other); |
2706 | 0 | friend void swap(CountIntentsResponsePB& a, CountIntentsResponsePB& b) { |
2707 | 0 | a.Swap(&b); |
2708 | 0 | } |
2709 | | |
2710 | | // implements Message ---------------------------------------------- |
2711 | | |
2712 | 0 | inline CountIntentsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2713 | | |
2714 | | CountIntentsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2715 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2716 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2717 | | void CopyFrom(const CountIntentsResponsePB& from); |
2718 | | void MergeFrom(const CountIntentsResponsePB& from); |
2719 | | void Clear() PROTOBUF_FINAL; |
2720 | | bool IsInitialized() const PROTOBUF_FINAL; |
2721 | | |
2722 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2723 | | bool MergePartialFromCodedStream( |
2724 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2725 | | void SerializeWithCachedSizes( |
2726 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2727 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2728 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2729 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2730 | | private: |
2731 | | void SharedCtor(); |
2732 | | void SharedDtor(); |
2733 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2734 | | void InternalSwap(CountIntentsResponsePB* other); |
2735 | | private: |
2736 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2737 | 0 | return NULL; |
2738 | 0 | } |
2739 | 0 | inline void* MaybeArenaPtr() const { |
2740 | 0 | return NULL; |
2741 | 0 | } |
2742 | | public: |
2743 | | |
2744 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2745 | | |
2746 | | // nested types ---------------------------------------------------- |
2747 | | |
2748 | | // accessors ------------------------------------------------------- |
2749 | | |
2750 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
2751 | | bool has_error() const; |
2752 | | void clear_error(); |
2753 | | static const int kErrorFieldNumber = 1; |
2754 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
2755 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
2756 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
2757 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
2758 | | |
2759 | | // optional int64 num_intents = 2; |
2760 | | bool has_num_intents() const; |
2761 | | void clear_num_intents(); |
2762 | | static const int kNumIntentsFieldNumber = 2; |
2763 | | ::google::protobuf::int64 num_intents() const; |
2764 | | void set_num_intents(::google::protobuf::int64 value); |
2765 | | |
2766 | | // @@protoc_insertion_point(class_scope:yb.tserver.CountIntentsResponsePB) |
2767 | | private: |
2768 | | void set_has_error(); |
2769 | | void clear_has_error(); |
2770 | | void set_has_num_intents(); |
2771 | | void clear_has_num_intents(); |
2772 | | |
2773 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2774 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2775 | | mutable int _cached_size_; |
2776 | | ::yb::tserver::TabletServerErrorPB* error_; |
2777 | | ::google::protobuf::int64 num_intents_; |
2778 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2779 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsCountIntentsResponsePBImpl(); |
2780 | | }; |
2781 | | // ------------------------------------------------------------------- |
2782 | | |
2783 | | class AddTableToTabletRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.AddTableToTabletRequestPB) */ { |
2784 | | public: |
2785 | | AddTableToTabletRequestPB(); |
2786 | | virtual ~AddTableToTabletRequestPB(); |
2787 | | |
2788 | | AddTableToTabletRequestPB(const AddTableToTabletRequestPB& from); |
2789 | | |
2790 | 0 | inline AddTableToTabletRequestPB& operator=(const AddTableToTabletRequestPB& from) { |
2791 | 0 | CopyFrom(from); |
2792 | 0 | return *this; |
2793 | 0 | } |
2794 | | #if LANG_CXX11 |
2795 | | AddTableToTabletRequestPB(AddTableToTabletRequestPB&& from) noexcept |
2796 | 0 | : AddTableToTabletRequestPB() { |
2797 | 0 | *this = ::std::move(from); |
2798 | 0 | } |
2799 | | |
2800 | 0 | inline AddTableToTabletRequestPB& operator=(AddTableToTabletRequestPB&& from) noexcept { |
2801 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2802 | 0 | if (this != &from) InternalSwap(&from); |
2803 | 0 | } else { |
2804 | 0 | CopyFrom(from); |
2805 | 0 | } |
2806 | 0 | return *this; |
2807 | 0 | } |
2808 | | #endif |
2809 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2810 | 0 | return _internal_metadata_.unknown_fields(); |
2811 | 0 | } |
2812 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2813 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2814 | 0 | } |
2815 | | |
2816 | | static const ::google::protobuf::Descriptor* descriptor(); |
2817 | | static const AddTableToTabletRequestPB& default_instance(); |
2818 | | |
2819 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2820 | 27.3k | static inline const AddTableToTabletRequestPB* internal_default_instance() { |
2821 | 27.3k | return reinterpret_cast<const AddTableToTabletRequestPB*>( |
2822 | 27.3k | &_AddTableToTabletRequestPB_default_instance_); |
2823 | 27.3k | } |
2824 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2825 | | 16; |
2826 | | |
2827 | | void Swap(AddTableToTabletRequestPB* other); |
2828 | 0 | friend void swap(AddTableToTabletRequestPB& a, AddTableToTabletRequestPB& b) { |
2829 | 0 | a.Swap(&b); |
2830 | 0 | } |
2831 | | |
2832 | | // implements Message ---------------------------------------------- |
2833 | | |
2834 | 0 | inline AddTableToTabletRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2835 | | |
2836 | | AddTableToTabletRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2837 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2838 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2839 | | void CopyFrom(const AddTableToTabletRequestPB& from); |
2840 | | void MergeFrom(const AddTableToTabletRequestPB& from); |
2841 | | void Clear() PROTOBUF_FINAL; |
2842 | | bool IsInitialized() const PROTOBUF_FINAL; |
2843 | | |
2844 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2845 | | bool MergePartialFromCodedStream( |
2846 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2847 | | void SerializeWithCachedSizes( |
2848 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2849 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2850 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2851 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2852 | | private: |
2853 | | void SharedCtor(); |
2854 | | void SharedDtor(); |
2855 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2856 | | void InternalSwap(AddTableToTabletRequestPB* other); |
2857 | | private: |
2858 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2859 | 0 | return NULL; |
2860 | 0 | } |
2861 | 0 | inline void* MaybeArenaPtr() const { |
2862 | 0 | return NULL; |
2863 | 0 | } |
2864 | | public: |
2865 | | |
2866 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2867 | | |
2868 | | // nested types ---------------------------------------------------- |
2869 | | |
2870 | | // accessors ------------------------------------------------------- |
2871 | | |
2872 | | // required bytes tablet_id = 1; |
2873 | | bool has_tablet_id() const; |
2874 | | void clear_tablet_id(); |
2875 | | static const int kTabletIdFieldNumber = 1; |
2876 | | const ::std::string& tablet_id() const; |
2877 | | void set_tablet_id(const ::std::string& value); |
2878 | | #if LANG_CXX11 |
2879 | | void set_tablet_id(::std::string&& value); |
2880 | | #endif |
2881 | | void set_tablet_id(const char* value); |
2882 | | void set_tablet_id(const void* value, size_t size); |
2883 | | ::std::string* mutable_tablet_id(); |
2884 | | ::std::string* release_tablet_id(); |
2885 | | void set_allocated_tablet_id(::std::string* tablet_id); |
2886 | | |
2887 | | // required .yb.tablet.TableInfoPB add_table = 2; |
2888 | | bool has_add_table() const; |
2889 | | void clear_add_table(); |
2890 | | static const int kAddTableFieldNumber = 2; |
2891 | | const ::yb::tablet::TableInfoPB& add_table() const; |
2892 | | ::yb::tablet::TableInfoPB* release_add_table(); |
2893 | | ::yb::tablet::TableInfoPB* mutable_add_table(); |
2894 | | void set_allocated_add_table(::yb::tablet::TableInfoPB* add_table); |
2895 | | |
2896 | | // @@protoc_insertion_point(class_scope:yb.tserver.AddTableToTabletRequestPB) |
2897 | | private: |
2898 | | void set_has_tablet_id(); |
2899 | | void clear_has_tablet_id(); |
2900 | | void set_has_add_table(); |
2901 | | void clear_has_add_table(); |
2902 | | |
2903 | | // helper for ByteSizeLong() |
2904 | | size_t RequiredFieldsByteSizeFallback() const; |
2905 | | |
2906 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2907 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2908 | | mutable int _cached_size_; |
2909 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
2910 | | ::yb::tablet::TableInfoPB* add_table_; |
2911 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
2912 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsAddTableToTabletRequestPBImpl(); |
2913 | | }; |
2914 | | // ------------------------------------------------------------------- |
2915 | | |
2916 | | class AddTableToTabletResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.AddTableToTabletResponsePB) */ { |
2917 | | public: |
2918 | | AddTableToTabletResponsePB(); |
2919 | | virtual ~AddTableToTabletResponsePB(); |
2920 | | |
2921 | | AddTableToTabletResponsePB(const AddTableToTabletResponsePB& from); |
2922 | | |
2923 | 0 | inline AddTableToTabletResponsePB& operator=(const AddTableToTabletResponsePB& from) { |
2924 | 0 | CopyFrom(from); |
2925 | 0 | return *this; |
2926 | 0 | } |
2927 | | #if LANG_CXX11 |
2928 | | AddTableToTabletResponsePB(AddTableToTabletResponsePB&& from) noexcept |
2929 | 0 | : AddTableToTabletResponsePB() { |
2930 | 0 | *this = ::std::move(from); |
2931 | 0 | } |
2932 | | |
2933 | 0 | inline AddTableToTabletResponsePB& operator=(AddTableToTabletResponsePB&& from) noexcept { |
2934 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2935 | 0 | if (this != &from) InternalSwap(&from); |
2936 | 0 | } else { |
2937 | 0 | CopyFrom(from); |
2938 | 0 | } |
2939 | 0 | return *this; |
2940 | 0 | } |
2941 | | #endif |
2942 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2943 | 0 | return _internal_metadata_.unknown_fields(); |
2944 | 0 | } |
2945 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2946 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2947 | 0 | } |
2948 | | |
2949 | | static const ::google::protobuf::Descriptor* descriptor(); |
2950 | | static const AddTableToTabletResponsePB& default_instance(); |
2951 | | |
2952 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2953 | 27.3k | static inline const AddTableToTabletResponsePB* internal_default_instance() { |
2954 | 27.3k | return reinterpret_cast<const AddTableToTabletResponsePB*>( |
2955 | 27.3k | &_AddTableToTabletResponsePB_default_instance_); |
2956 | 27.3k | } |
2957 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2958 | | 17; |
2959 | | |
2960 | | void Swap(AddTableToTabletResponsePB* other); |
2961 | 0 | friend void swap(AddTableToTabletResponsePB& a, AddTableToTabletResponsePB& b) { |
2962 | 0 | a.Swap(&b); |
2963 | 0 | } |
2964 | | |
2965 | | // implements Message ---------------------------------------------- |
2966 | | |
2967 | 0 | inline AddTableToTabletResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2968 | | |
2969 | | AddTableToTabletResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2970 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2971 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2972 | | void CopyFrom(const AddTableToTabletResponsePB& from); |
2973 | | void MergeFrom(const AddTableToTabletResponsePB& from); |
2974 | | void Clear() PROTOBUF_FINAL; |
2975 | | bool IsInitialized() const PROTOBUF_FINAL; |
2976 | | |
2977 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2978 | | bool MergePartialFromCodedStream( |
2979 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2980 | | void SerializeWithCachedSizes( |
2981 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2982 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2983 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2984 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2985 | | private: |
2986 | | void SharedCtor(); |
2987 | | void SharedDtor(); |
2988 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2989 | | void InternalSwap(AddTableToTabletResponsePB* other); |
2990 | | private: |
2991 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2992 | 0 | return NULL; |
2993 | 0 | } |
2994 | 0 | inline void* MaybeArenaPtr() const { |
2995 | 0 | return NULL; |
2996 | 0 | } |
2997 | | public: |
2998 | | |
2999 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3000 | | |
3001 | | // nested types ---------------------------------------------------- |
3002 | | |
3003 | | // accessors ------------------------------------------------------- |
3004 | | |
3005 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3006 | | bool has_error() const; |
3007 | | void clear_error(); |
3008 | | static const int kErrorFieldNumber = 1; |
3009 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
3010 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
3011 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
3012 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
3013 | | |
3014 | | // optional fixed64 propagated_hybrid_time = 2; |
3015 | | bool has_propagated_hybrid_time() const; |
3016 | | void clear_propagated_hybrid_time(); |
3017 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
3018 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
3019 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
3020 | | |
3021 | | // @@protoc_insertion_point(class_scope:yb.tserver.AddTableToTabletResponsePB) |
3022 | | private: |
3023 | | void set_has_error(); |
3024 | | void clear_has_error(); |
3025 | | void set_has_propagated_hybrid_time(); |
3026 | | void clear_has_propagated_hybrid_time(); |
3027 | | |
3028 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3029 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3030 | | mutable int _cached_size_; |
3031 | | ::yb::tserver::TabletServerErrorPB* error_; |
3032 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
3033 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
3034 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsAddTableToTabletResponsePBImpl(); |
3035 | | }; |
3036 | | // ------------------------------------------------------------------- |
3037 | | |
3038 | | class RemoveTableFromTabletRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.RemoveTableFromTabletRequestPB) */ { |
3039 | | public: |
3040 | | RemoveTableFromTabletRequestPB(); |
3041 | | virtual ~RemoveTableFromTabletRequestPB(); |
3042 | | |
3043 | | RemoveTableFromTabletRequestPB(const RemoveTableFromTabletRequestPB& from); |
3044 | | |
3045 | 0 | inline RemoveTableFromTabletRequestPB& operator=(const RemoveTableFromTabletRequestPB& from) { |
3046 | 0 | CopyFrom(from); |
3047 | 0 | return *this; |
3048 | 0 | } |
3049 | | #if LANG_CXX11 |
3050 | | RemoveTableFromTabletRequestPB(RemoveTableFromTabletRequestPB&& from) noexcept |
3051 | 0 | : RemoveTableFromTabletRequestPB() { |
3052 | 0 | *this = ::std::move(from); |
3053 | 0 | } |
3054 | | |
3055 | 0 | inline RemoveTableFromTabletRequestPB& operator=(RemoveTableFromTabletRequestPB&& from) noexcept { |
3056 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3057 | 0 | if (this != &from) InternalSwap(&from); |
3058 | 0 | } else { |
3059 | 0 | CopyFrom(from); |
3060 | 0 | } |
3061 | 0 | return *this; |
3062 | 0 | } |
3063 | | #endif |
3064 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3065 | 0 | return _internal_metadata_.unknown_fields(); |
3066 | 0 | } |
3067 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3068 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3069 | 0 | } |
3070 | | |
3071 | | static const ::google::protobuf::Descriptor* descriptor(); |
3072 | | static const RemoveTableFromTabletRequestPB& default_instance(); |
3073 | | |
3074 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3075 | 27.0k | static inline const RemoveTableFromTabletRequestPB* internal_default_instance() { |
3076 | 27.0k | return reinterpret_cast<const RemoveTableFromTabletRequestPB*>( |
3077 | 27.0k | &_RemoveTableFromTabletRequestPB_default_instance_); |
3078 | 27.0k | } |
3079 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3080 | | 18; |
3081 | | |
3082 | | void Swap(RemoveTableFromTabletRequestPB* other); |
3083 | 0 | friend void swap(RemoveTableFromTabletRequestPB& a, RemoveTableFromTabletRequestPB& b) { |
3084 | 0 | a.Swap(&b); |
3085 | 0 | } |
3086 | | |
3087 | | // implements Message ---------------------------------------------- |
3088 | | |
3089 | 0 | inline RemoveTableFromTabletRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3090 | | |
3091 | | RemoveTableFromTabletRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3092 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3093 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3094 | | void CopyFrom(const RemoveTableFromTabletRequestPB& from); |
3095 | | void MergeFrom(const RemoveTableFromTabletRequestPB& from); |
3096 | | void Clear() PROTOBUF_FINAL; |
3097 | | bool IsInitialized() const PROTOBUF_FINAL; |
3098 | | |
3099 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3100 | | bool MergePartialFromCodedStream( |
3101 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3102 | | void SerializeWithCachedSizes( |
3103 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3104 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3105 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3106 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3107 | | private: |
3108 | | void SharedCtor(); |
3109 | | void SharedDtor(); |
3110 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3111 | | void InternalSwap(RemoveTableFromTabletRequestPB* other); |
3112 | | private: |
3113 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3114 | 0 | return NULL; |
3115 | 0 | } |
3116 | 0 | inline void* MaybeArenaPtr() const { |
3117 | 0 | return NULL; |
3118 | 0 | } |
3119 | | public: |
3120 | | |
3121 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3122 | | |
3123 | | // nested types ---------------------------------------------------- |
3124 | | |
3125 | | // accessors ------------------------------------------------------- |
3126 | | |
3127 | | // required bytes tablet_id = 1; |
3128 | | bool has_tablet_id() const; |
3129 | | void clear_tablet_id(); |
3130 | | static const int kTabletIdFieldNumber = 1; |
3131 | | const ::std::string& tablet_id() const; |
3132 | | void set_tablet_id(const ::std::string& value); |
3133 | | #if LANG_CXX11 |
3134 | | void set_tablet_id(::std::string&& value); |
3135 | | #endif |
3136 | | void set_tablet_id(const char* value); |
3137 | | void set_tablet_id(const void* value, size_t size); |
3138 | | ::std::string* mutable_tablet_id(); |
3139 | | ::std::string* release_tablet_id(); |
3140 | | void set_allocated_tablet_id(::std::string* tablet_id); |
3141 | | |
3142 | | // required bytes remove_table_id = 2; |
3143 | | bool has_remove_table_id() const; |
3144 | | void clear_remove_table_id(); |
3145 | | static const int kRemoveTableIdFieldNumber = 2; |
3146 | | const ::std::string& remove_table_id() const; |
3147 | | void set_remove_table_id(const ::std::string& value); |
3148 | | #if LANG_CXX11 |
3149 | | void set_remove_table_id(::std::string&& value); |
3150 | | #endif |
3151 | | void set_remove_table_id(const char* value); |
3152 | | void set_remove_table_id(const void* value, size_t size); |
3153 | | ::std::string* mutable_remove_table_id(); |
3154 | | ::std::string* release_remove_table_id(); |
3155 | | void set_allocated_remove_table_id(::std::string* remove_table_id); |
3156 | | |
3157 | | // @@protoc_insertion_point(class_scope:yb.tserver.RemoveTableFromTabletRequestPB) |
3158 | | private: |
3159 | | void set_has_tablet_id(); |
3160 | | void clear_has_tablet_id(); |
3161 | | void set_has_remove_table_id(); |
3162 | | void clear_has_remove_table_id(); |
3163 | | |
3164 | | // helper for ByteSizeLong() |
3165 | | size_t RequiredFieldsByteSizeFallback() const; |
3166 | | |
3167 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3168 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3169 | | mutable int _cached_size_; |
3170 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
3171 | | ::google::protobuf::internal::ArenaStringPtr remove_table_id_; |
3172 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
3173 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsRemoveTableFromTabletRequestPBImpl(); |
3174 | | }; |
3175 | | // ------------------------------------------------------------------- |
3176 | | |
3177 | | class RemoveTableFromTabletResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.RemoveTableFromTabletResponsePB) */ { |
3178 | | public: |
3179 | | RemoveTableFromTabletResponsePB(); |
3180 | | virtual ~RemoveTableFromTabletResponsePB(); |
3181 | | |
3182 | | RemoveTableFromTabletResponsePB(const RemoveTableFromTabletResponsePB& from); |
3183 | | |
3184 | 0 | inline RemoveTableFromTabletResponsePB& operator=(const RemoveTableFromTabletResponsePB& from) { |
3185 | 0 | CopyFrom(from); |
3186 | 0 | return *this; |
3187 | 0 | } |
3188 | | #if LANG_CXX11 |
3189 | | RemoveTableFromTabletResponsePB(RemoveTableFromTabletResponsePB&& from) noexcept |
3190 | 0 | : RemoveTableFromTabletResponsePB() { |
3191 | 0 | *this = ::std::move(from); |
3192 | 0 | } |
3193 | | |
3194 | 0 | inline RemoveTableFromTabletResponsePB& operator=(RemoveTableFromTabletResponsePB&& from) noexcept { |
3195 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3196 | 0 | if (this != &from) InternalSwap(&from); |
3197 | 0 | } else { |
3198 | 0 | CopyFrom(from); |
3199 | 0 | } |
3200 | 0 | return *this; |
3201 | 0 | } |
3202 | | #endif |
3203 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3204 | 0 | return _internal_metadata_.unknown_fields(); |
3205 | 0 | } |
3206 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3207 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3208 | 0 | } |
3209 | | |
3210 | | static const ::google::protobuf::Descriptor* descriptor(); |
3211 | | static const RemoveTableFromTabletResponsePB& default_instance(); |
3212 | | |
3213 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3214 | 27.1k | static inline const RemoveTableFromTabletResponsePB* internal_default_instance() { |
3215 | 27.1k | return reinterpret_cast<const RemoveTableFromTabletResponsePB*>( |
3216 | 27.1k | &_RemoveTableFromTabletResponsePB_default_instance_); |
3217 | 27.1k | } |
3218 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3219 | | 19; |
3220 | | |
3221 | | void Swap(RemoveTableFromTabletResponsePB* other); |
3222 | 0 | friend void swap(RemoveTableFromTabletResponsePB& a, RemoveTableFromTabletResponsePB& b) { |
3223 | 0 | a.Swap(&b); |
3224 | 0 | } |
3225 | | |
3226 | | // implements Message ---------------------------------------------- |
3227 | | |
3228 | 0 | inline RemoveTableFromTabletResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3229 | | |
3230 | | RemoveTableFromTabletResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3231 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3232 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3233 | | void CopyFrom(const RemoveTableFromTabletResponsePB& from); |
3234 | | void MergeFrom(const RemoveTableFromTabletResponsePB& from); |
3235 | | void Clear() PROTOBUF_FINAL; |
3236 | | bool IsInitialized() const PROTOBUF_FINAL; |
3237 | | |
3238 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3239 | | bool MergePartialFromCodedStream( |
3240 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3241 | | void SerializeWithCachedSizes( |
3242 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3243 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3244 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3245 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3246 | | private: |
3247 | | void SharedCtor(); |
3248 | | void SharedDtor(); |
3249 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3250 | | void InternalSwap(RemoveTableFromTabletResponsePB* other); |
3251 | | private: |
3252 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3253 | 0 | return NULL; |
3254 | 0 | } |
3255 | 0 | inline void* MaybeArenaPtr() const { |
3256 | 0 | return NULL; |
3257 | 0 | } |
3258 | | public: |
3259 | | |
3260 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3261 | | |
3262 | | // nested types ---------------------------------------------------- |
3263 | | |
3264 | | // accessors ------------------------------------------------------- |
3265 | | |
3266 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3267 | | bool has_error() const; |
3268 | | void clear_error(); |
3269 | | static const int kErrorFieldNumber = 1; |
3270 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
3271 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
3272 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
3273 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
3274 | | |
3275 | | // optional fixed64 propagated_hybrid_time = 2; |
3276 | | bool has_propagated_hybrid_time() const; |
3277 | | void clear_propagated_hybrid_time(); |
3278 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
3279 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
3280 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
3281 | | |
3282 | | // @@protoc_insertion_point(class_scope:yb.tserver.RemoveTableFromTabletResponsePB) |
3283 | | private: |
3284 | | void set_has_error(); |
3285 | | void clear_has_error(); |
3286 | | void set_has_propagated_hybrid_time(); |
3287 | | void clear_has_propagated_hybrid_time(); |
3288 | | |
3289 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3290 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3291 | | mutable int _cached_size_; |
3292 | | ::yb::tserver::TabletServerErrorPB* error_; |
3293 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
3294 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
3295 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsRemoveTableFromTabletResponsePBImpl(); |
3296 | | }; |
3297 | | // ------------------------------------------------------------------- |
3298 | | |
3299 | | class SplitTabletResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.SplitTabletResponsePB) */ { |
3300 | | public: |
3301 | | SplitTabletResponsePB(); |
3302 | | virtual ~SplitTabletResponsePB(); |
3303 | | |
3304 | | SplitTabletResponsePB(const SplitTabletResponsePB& from); |
3305 | | |
3306 | 0 | inline SplitTabletResponsePB& operator=(const SplitTabletResponsePB& from) { |
3307 | 0 | CopyFrom(from); |
3308 | 0 | return *this; |
3309 | 0 | } |
3310 | | #if LANG_CXX11 |
3311 | | SplitTabletResponsePB(SplitTabletResponsePB&& from) noexcept |
3312 | 0 | : SplitTabletResponsePB() { |
3313 | 0 | *this = ::std::move(from); |
3314 | 0 | } |
3315 | | |
3316 | 0 | inline SplitTabletResponsePB& operator=(SplitTabletResponsePB&& from) noexcept { |
3317 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3318 | 0 | if (this != &from) InternalSwap(&from); |
3319 | 0 | } else { |
3320 | 0 | CopyFrom(from); |
3321 | 0 | } |
3322 | 0 | return *this; |
3323 | 0 | } |
3324 | | #endif |
3325 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3326 | 0 | return _internal_metadata_.unknown_fields(); |
3327 | 0 | } |
3328 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3329 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3330 | 0 | } |
3331 | | |
3332 | | static const ::google::protobuf::Descriptor* descriptor(); |
3333 | | static const SplitTabletResponsePB& default_instance(); |
3334 | | |
3335 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3336 | 27.2k | static inline const SplitTabletResponsePB* internal_default_instance() { |
3337 | 27.2k | return reinterpret_cast<const SplitTabletResponsePB*>( |
3338 | 27.2k | &_SplitTabletResponsePB_default_instance_); |
3339 | 27.2k | } |
3340 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3341 | | 20; |
3342 | | |
3343 | | void Swap(SplitTabletResponsePB* other); |
3344 | 0 | friend void swap(SplitTabletResponsePB& a, SplitTabletResponsePB& b) { |
3345 | 0 | a.Swap(&b); |
3346 | 0 | } |
3347 | | |
3348 | | // implements Message ---------------------------------------------- |
3349 | | |
3350 | 0 | inline SplitTabletResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3351 | | |
3352 | | SplitTabletResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3353 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3354 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3355 | | void CopyFrom(const SplitTabletResponsePB& from); |
3356 | | void MergeFrom(const SplitTabletResponsePB& from); |
3357 | | void Clear() PROTOBUF_FINAL; |
3358 | | bool IsInitialized() const PROTOBUF_FINAL; |
3359 | | |
3360 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3361 | | bool MergePartialFromCodedStream( |
3362 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3363 | | void SerializeWithCachedSizes( |
3364 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3365 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3366 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3367 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3368 | | private: |
3369 | | void SharedCtor(); |
3370 | | void SharedDtor(); |
3371 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3372 | | void InternalSwap(SplitTabletResponsePB* other); |
3373 | | private: |
3374 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3375 | 0 | return NULL; |
3376 | 0 | } |
3377 | 0 | inline void* MaybeArenaPtr() const { |
3378 | 0 | return NULL; |
3379 | 0 | } |
3380 | | public: |
3381 | | |
3382 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3383 | | |
3384 | | // nested types ---------------------------------------------------- |
3385 | | |
3386 | | // accessors ------------------------------------------------------- |
3387 | | |
3388 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3389 | | bool has_error() const; |
3390 | | void clear_error(); |
3391 | | static const int kErrorFieldNumber = 1; |
3392 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
3393 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
3394 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
3395 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
3396 | | |
3397 | | // optional fixed64 propagated_hybrid_time = 2; |
3398 | | bool has_propagated_hybrid_time() const; |
3399 | | void clear_propagated_hybrid_time(); |
3400 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
3401 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
3402 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
3403 | | |
3404 | | // @@protoc_insertion_point(class_scope:yb.tserver.SplitTabletResponsePB) |
3405 | | private: |
3406 | | void set_has_error(); |
3407 | | void clear_has_error(); |
3408 | | void set_has_propagated_hybrid_time(); |
3409 | | void clear_has_propagated_hybrid_time(); |
3410 | | |
3411 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3412 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3413 | | mutable int _cached_size_; |
3414 | | ::yb::tserver::TabletServerErrorPB* error_; |
3415 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
3416 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
3417 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsSplitTabletResponsePBImpl(); |
3418 | | }; |
3419 | | // ------------------------------------------------------------------- |
3420 | | |
3421 | | class UpgradeYsqlRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.UpgradeYsqlRequestPB) */ { |
3422 | | public: |
3423 | | UpgradeYsqlRequestPB(); |
3424 | | virtual ~UpgradeYsqlRequestPB(); |
3425 | | |
3426 | | UpgradeYsqlRequestPB(const UpgradeYsqlRequestPB& from); |
3427 | | |
3428 | 0 | inline UpgradeYsqlRequestPB& operator=(const UpgradeYsqlRequestPB& from) { |
3429 | 0 | CopyFrom(from); |
3430 | 0 | return *this; |
3431 | 0 | } |
3432 | | #if LANG_CXX11 |
3433 | | UpgradeYsqlRequestPB(UpgradeYsqlRequestPB&& from) noexcept |
3434 | 0 | : UpgradeYsqlRequestPB() { |
3435 | 0 | *this = ::std::move(from); |
3436 | 0 | } |
3437 | | |
3438 | 0 | inline UpgradeYsqlRequestPB& operator=(UpgradeYsqlRequestPB&& from) noexcept { |
3439 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3440 | 0 | if (this != &from) InternalSwap(&from); |
3441 | 0 | } else { |
3442 | 0 | CopyFrom(from); |
3443 | 0 | } |
3444 | 0 | return *this; |
3445 | 0 | } |
3446 | | #endif |
3447 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3448 | 0 | return _internal_metadata_.unknown_fields(); |
3449 | 0 | } |
3450 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3451 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3452 | 0 | } |
3453 | | |
3454 | | static const ::google::protobuf::Descriptor* descriptor(); |
3455 | | static const UpgradeYsqlRequestPB& default_instance(); |
3456 | | |
3457 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3458 | 26.8k | static inline const UpgradeYsqlRequestPB* internal_default_instance() { |
3459 | 26.8k | return reinterpret_cast<const UpgradeYsqlRequestPB*>( |
3460 | 26.8k | &_UpgradeYsqlRequestPB_default_instance_); |
3461 | 26.8k | } |
3462 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3463 | | 21; |
3464 | | |
3465 | | void Swap(UpgradeYsqlRequestPB* other); |
3466 | 0 | friend void swap(UpgradeYsqlRequestPB& a, UpgradeYsqlRequestPB& b) { |
3467 | 0 | a.Swap(&b); |
3468 | 0 | } |
3469 | | |
3470 | | // implements Message ---------------------------------------------- |
3471 | | |
3472 | 0 | inline UpgradeYsqlRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3473 | | |
3474 | | UpgradeYsqlRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3475 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3476 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3477 | | void CopyFrom(const UpgradeYsqlRequestPB& from); |
3478 | | void MergeFrom(const UpgradeYsqlRequestPB& from); |
3479 | | void Clear() PROTOBUF_FINAL; |
3480 | | bool IsInitialized() const PROTOBUF_FINAL; |
3481 | | |
3482 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3483 | | bool MergePartialFromCodedStream( |
3484 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3485 | | void SerializeWithCachedSizes( |
3486 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3487 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3488 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3489 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3490 | | private: |
3491 | | void SharedCtor(); |
3492 | | void SharedDtor(); |
3493 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3494 | | void InternalSwap(UpgradeYsqlRequestPB* other); |
3495 | | private: |
3496 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3497 | 0 | return NULL; |
3498 | 0 | } |
3499 | 0 | inline void* MaybeArenaPtr() const { |
3500 | 0 | return NULL; |
3501 | 0 | } |
3502 | | public: |
3503 | | |
3504 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3505 | | |
3506 | | // nested types ---------------------------------------------------- |
3507 | | |
3508 | | // accessors ------------------------------------------------------- |
3509 | | |
3510 | | // @@protoc_insertion_point(class_scope:yb.tserver.UpgradeYsqlRequestPB) |
3511 | | private: |
3512 | | |
3513 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3514 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3515 | | mutable int _cached_size_; |
3516 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
3517 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsUpgradeYsqlRequestPBImpl(); |
3518 | | }; |
3519 | | // ------------------------------------------------------------------- |
3520 | | |
3521 | | class UpgradeYsqlResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.UpgradeYsqlResponsePB) */ { |
3522 | | public: |
3523 | | UpgradeYsqlResponsePB(); |
3524 | | virtual ~UpgradeYsqlResponsePB(); |
3525 | | |
3526 | | UpgradeYsqlResponsePB(const UpgradeYsqlResponsePB& from); |
3527 | | |
3528 | 0 | inline UpgradeYsqlResponsePB& operator=(const UpgradeYsqlResponsePB& from) { |
3529 | 0 | CopyFrom(from); |
3530 | 0 | return *this; |
3531 | 0 | } |
3532 | | #if LANG_CXX11 |
3533 | | UpgradeYsqlResponsePB(UpgradeYsqlResponsePB&& from) noexcept |
3534 | 3 | : UpgradeYsqlResponsePB() { |
3535 | 3 | *this = ::std::move(from); |
3536 | 3 | } Unexecuted instantiation: yb::tserver::UpgradeYsqlResponsePB::UpgradeYsqlResponsePB(yb::tserver::UpgradeYsqlResponsePB&&) yb::tserver::UpgradeYsqlResponsePB::UpgradeYsqlResponsePB(yb::tserver::UpgradeYsqlResponsePB&&) Line | Count | Source | 3534 | 3 | : UpgradeYsqlResponsePB() { | 3535 | 3 | *this = ::std::move(from); | 3536 | 3 | } |
|
3537 | | |
3538 | 3 | inline UpgradeYsqlResponsePB& operator=(UpgradeYsqlResponsePB&& from) noexcept { |
3539 | 3 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3540 | 3 | if (this != &from) InternalSwap(&from); |
3541 | 3 | } else { |
3542 | 0 | CopyFrom(from); |
3543 | 0 | } |
3544 | 3 | return *this; |
3545 | 3 | } |
3546 | | #endif |
3547 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3548 | 0 | return _internal_metadata_.unknown_fields(); |
3549 | 0 | } |
3550 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3551 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3552 | 0 | } |
3553 | | |
3554 | | static const ::google::protobuf::Descriptor* descriptor(); |
3555 | | static const UpgradeYsqlResponsePB& default_instance(); |
3556 | | |
3557 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3558 | 26.8k | static inline const UpgradeYsqlResponsePB* internal_default_instance() { |
3559 | 26.8k | return reinterpret_cast<const UpgradeYsqlResponsePB*>( |
3560 | 26.8k | &_UpgradeYsqlResponsePB_default_instance_); |
3561 | 26.8k | } |
3562 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3563 | | 22; |
3564 | | |
3565 | | void Swap(UpgradeYsqlResponsePB* other); |
3566 | 0 | friend void swap(UpgradeYsqlResponsePB& a, UpgradeYsqlResponsePB& b) { |
3567 | 0 | a.Swap(&b); |
3568 | 0 | } |
3569 | | |
3570 | | // implements Message ---------------------------------------------- |
3571 | | |
3572 | 0 | inline UpgradeYsqlResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3573 | | |
3574 | | UpgradeYsqlResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3575 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3576 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3577 | | void CopyFrom(const UpgradeYsqlResponsePB& from); |
3578 | | void MergeFrom(const UpgradeYsqlResponsePB& from); |
3579 | | void Clear() PROTOBUF_FINAL; |
3580 | | bool IsInitialized() const PROTOBUF_FINAL; |
3581 | | |
3582 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3583 | | bool MergePartialFromCodedStream( |
3584 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3585 | | void SerializeWithCachedSizes( |
3586 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3587 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3588 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3589 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3590 | | private: |
3591 | | void SharedCtor(); |
3592 | | void SharedDtor(); |
3593 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3594 | | void InternalSwap(UpgradeYsqlResponsePB* other); |
3595 | | private: |
3596 | 6 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3597 | 6 | return NULL; |
3598 | 6 | } |
3599 | 0 | inline void* MaybeArenaPtr() const { |
3600 | 0 | return NULL; |
3601 | 0 | } |
3602 | | public: |
3603 | | |
3604 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3605 | | |
3606 | | // nested types ---------------------------------------------------- |
3607 | | |
3608 | | // accessors ------------------------------------------------------- |
3609 | | |
3610 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3611 | | bool has_error() const; |
3612 | | void clear_error(); |
3613 | | static const int kErrorFieldNumber = 1; |
3614 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
3615 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
3616 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
3617 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
3618 | | |
3619 | | // @@protoc_insertion_point(class_scope:yb.tserver.UpgradeYsqlResponsePB) |
3620 | | private: |
3621 | | void set_has_error(); |
3622 | | void clear_has_error(); |
3623 | | |
3624 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3625 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3626 | | mutable int _cached_size_; |
3627 | | ::yb::tserver::TabletServerErrorPB* error_; |
3628 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::TableStruct; |
3629 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fadmin_2eproto::InitDefaultsUpgradeYsqlResponsePBImpl(); |
3630 | | }; |
3631 | | // =================================================================== |
3632 | | |
3633 | | |
3634 | | // =================================================================== |
3635 | | |
3636 | | #ifdef __GNUC__ |
3637 | | #pragma GCC diagnostic push |
3638 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
3639 | | #endif // __GNUC__ |
3640 | | // ExportedTabletMetadataChanges |
3641 | | |
3642 | | // repeated .yb.tablet.ChangeMetadataRequestPB metadata_changes = 1; |
3643 | 749 | inline int ExportedTabletMetadataChanges::metadata_changes_size() const { |
3644 | 749 | return metadata_changes_.size(); |
3645 | 749 | } |
3646 | 2.24k | inline const ::yb::tablet::ChangeMetadataRequestPB& ExportedTabletMetadataChanges::metadata_changes(int index) const { |
3647 | | // @@protoc_insertion_point(field_get:yb.tserver.ExportedTabletMetadataChanges.metadata_changes) |
3648 | 2.24k | return metadata_changes_.Get(index); |
3649 | 2.24k | } |
3650 | 0 | inline ::yb::tablet::ChangeMetadataRequestPB* ExportedTabletMetadataChanges::mutable_metadata_changes(int index) { |
3651 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.ExportedTabletMetadataChanges.metadata_changes) |
3652 | 0 | return metadata_changes_.Mutable(index); |
3653 | 0 | } |
3654 | 418k | inline ::yb::tablet::ChangeMetadataRequestPB* ExportedTabletMetadataChanges::add_metadata_changes() { |
3655 | | // @@protoc_insertion_point(field_add:yb.tserver.ExportedTabletMetadataChanges.metadata_changes) |
3656 | 418k | return metadata_changes_.Add(); |
3657 | 418k | } |
3658 | | inline ::google::protobuf::RepeatedPtrField< ::yb::tablet::ChangeMetadataRequestPB >* |
3659 | 0 | ExportedTabletMetadataChanges::mutable_metadata_changes() { |
3660 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.ExportedTabletMetadataChanges.metadata_changes) |
3661 | 0 | return &metadata_changes_; |
3662 | 0 | } |
3663 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::tablet::ChangeMetadataRequestPB >& |
3664 | 1.49k | ExportedTabletMetadataChanges::metadata_changes() const { |
3665 | | // @@protoc_insertion_point(field_list:yb.tserver.ExportedTabletMetadataChanges.metadata_changes) |
3666 | 1.49k | return metadata_changes_; |
3667 | 1.49k | } |
3668 | | |
3669 | | // ------------------------------------------------------------------- |
3670 | | |
3671 | | // ChangeMetadataResponsePB |
3672 | | |
3673 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3674 | 161k | inline bool ChangeMetadataResponsePB::has_error() const { |
3675 | 161k | return (_has_bits_[0] & 0x00000001u) != 0; |
3676 | 161k | } |
3677 | 1.22k | inline void ChangeMetadataResponsePB::set_has_error() { |
3678 | 1.22k | _has_bits_[0] |= 0x00000001u; |
3679 | 1.22k | } |
3680 | 31.6k | inline void ChangeMetadataResponsePB::clear_has_error() { |
3681 | 31.6k | _has_bits_[0] &= ~0x00000001u; |
3682 | 31.6k | } |
3683 | 1.23k | inline const ::yb::tserver::TabletServerErrorPB& ChangeMetadataResponsePB::error() const { |
3684 | 1.23k | const ::yb::tserver::TabletServerErrorPB* p = error_; |
3685 | | // @@protoc_insertion_point(field_get:yb.tserver.ChangeMetadataResponsePB.error) |
3686 | 1.23k | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
3687 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
3688 | 1.23k | } |
3689 | 0 | inline ::yb::tserver::TabletServerErrorPB* ChangeMetadataResponsePB::release_error() { |
3690 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ChangeMetadataResponsePB.error) |
3691 | 0 | clear_has_error(); |
3692 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
3693 | 0 | error_ = NULL; |
3694 | 0 | return temp; |
3695 | 0 | } |
3696 | 1.22k | inline ::yb::tserver::TabletServerErrorPB* ChangeMetadataResponsePB::mutable_error() { |
3697 | 1.22k | set_has_error(); |
3698 | 1.22k | if (error_ == NULL) { |
3699 | 761 | error_ = new ::yb::tserver::TabletServerErrorPB; |
3700 | 761 | } |
3701 | | // @@protoc_insertion_point(field_mutable:yb.tserver.ChangeMetadataResponsePB.error) |
3702 | 1.22k | return error_; |
3703 | 1.22k | } |
3704 | 0 | inline void ChangeMetadataResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
3705 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3706 | 0 | if (message_arena == NULL) { |
3707 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
3708 | 0 | } |
3709 | 0 | if (error) { |
3710 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3711 | 0 | if (message_arena != submessage_arena) { |
3712 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
3713 | 0 | message_arena, error, submessage_arena); |
3714 | 0 | } |
3715 | 0 | set_has_error(); |
3716 | 0 | } else { |
3717 | 0 | clear_has_error(); |
3718 | 0 | } |
3719 | 0 | error_ = error; |
3720 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ChangeMetadataResponsePB.error) |
3721 | 0 | } |
3722 | | |
3723 | | // optional fixed64 propagated_hybrid_time = 2; |
3724 | 63.8k | inline bool ChangeMetadataResponsePB::has_propagated_hybrid_time() const { |
3725 | 63.8k | return (_has_bits_[0] & 0x00000002u) != 0; |
3726 | 63.8k | } |
3727 | 62.7k | inline void ChangeMetadataResponsePB::set_has_propagated_hybrid_time() { |
3728 | 62.7k | _has_bits_[0] |= 0x00000002u; |
3729 | 62.7k | } |
3730 | 0 | inline void ChangeMetadataResponsePB::clear_has_propagated_hybrid_time() { |
3731 | 0 | _has_bits_[0] &= ~0x00000002u; |
3732 | 0 | } |
3733 | 0 | inline void ChangeMetadataResponsePB::clear_propagated_hybrid_time() { |
3734 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
3735 | 0 | clear_has_propagated_hybrid_time(); |
3736 | 0 | } |
3737 | 63.7k | inline ::google::protobuf::uint64 ChangeMetadataResponsePB::propagated_hybrid_time() const { |
3738 | | // @@protoc_insertion_point(field_get:yb.tserver.ChangeMetadataResponsePB.propagated_hybrid_time) |
3739 | 63.7k | return propagated_hybrid_time_; |
3740 | 63.7k | } |
3741 | 31.4k | inline void ChangeMetadataResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
3742 | 31.4k | set_has_propagated_hybrid_time(); |
3743 | 31.4k | propagated_hybrid_time_ = value; |
3744 | | // @@protoc_insertion_point(field_set:yb.tserver.ChangeMetadataResponsePB.propagated_hybrid_time) |
3745 | 31.4k | } |
3746 | | |
3747 | | // ------------------------------------------------------------------- |
3748 | | |
3749 | | // GetSafeTimeRequestPB |
3750 | | |
3751 | | // optional bytes dest_uuid = 1; |
3752 | 8.80k | inline bool GetSafeTimeRequestPB::has_dest_uuid() const { |
3753 | 8.80k | return (_has_bits_[0] & 0x00000001u) != 0; |
3754 | 8.80k | } |
3755 | 8.80k | inline void GetSafeTimeRequestPB::set_has_dest_uuid() { |
3756 | 8.80k | _has_bits_[0] |= 0x00000001u; |
3757 | 8.80k | } |
3758 | 0 | inline void GetSafeTimeRequestPB::clear_has_dest_uuid() { |
3759 | 0 | _has_bits_[0] &= ~0x00000001u; |
3760 | 0 | } |
3761 | 0 | inline void GetSafeTimeRequestPB::clear_dest_uuid() { |
3762 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3763 | 0 | clear_has_dest_uuid(); |
3764 | 0 | } |
3765 | 21.9k | inline const ::std::string& GetSafeTimeRequestPB::dest_uuid() const { |
3766 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3767 | 21.9k | return dest_uuid_.GetNoArena(); |
3768 | 21.9k | } |
3769 | 0 | inline void GetSafeTimeRequestPB::set_dest_uuid(const ::std::string& value) { |
3770 | 0 | set_has_dest_uuid(); |
3771 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3772 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3773 | 0 | } |
3774 | | #if LANG_CXX11 |
3775 | 4.40k | inline void GetSafeTimeRequestPB::set_dest_uuid(::std::string&& value) { |
3776 | 4.40k | set_has_dest_uuid(); |
3777 | 4.40k | dest_uuid_.SetNoArena( |
3778 | 4.40k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3779 | | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3780 | 4.40k | } |
3781 | | #endif |
3782 | 0 | inline void GetSafeTimeRequestPB::set_dest_uuid(const char* value) { |
3783 | 0 | GOOGLE_DCHECK(value != NULL); |
3784 | 0 | set_has_dest_uuid(); |
3785 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3786 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3787 | 0 | } |
3788 | 0 | inline void GetSafeTimeRequestPB::set_dest_uuid(const void* value, size_t size) { |
3789 | 0 | set_has_dest_uuid(); |
3790 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3791 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3792 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3793 | 0 | } |
3794 | 4.40k | inline ::std::string* GetSafeTimeRequestPB::mutable_dest_uuid() { |
3795 | 4.40k | set_has_dest_uuid(); |
3796 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3797 | 4.40k | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3798 | 4.40k | } |
3799 | 0 | inline ::std::string* GetSafeTimeRequestPB::release_dest_uuid() { |
3800 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3801 | 0 | clear_has_dest_uuid(); |
3802 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3803 | 0 | } |
3804 | 0 | inline void GetSafeTimeRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
3805 | 0 | if (dest_uuid != NULL) { |
3806 | 0 | set_has_dest_uuid(); |
3807 | 0 | } else { |
3808 | 0 | clear_has_dest_uuid(); |
3809 | 0 | } |
3810 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
3811 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSafeTimeRequestPB.dest_uuid) |
3812 | 0 | } |
3813 | | |
3814 | | // required bytes tablet_id = 2; |
3815 | 8.80k | inline bool GetSafeTimeRequestPB::has_tablet_id() const { |
3816 | 8.80k | return (_has_bits_[0] & 0x00000002u) != 0; |
3817 | 8.80k | } |
3818 | 8.80k | inline void GetSafeTimeRequestPB::set_has_tablet_id() { |
3819 | 8.80k | _has_bits_[0] |= 0x00000002u; |
3820 | 8.80k | } |
3821 | 0 | inline void GetSafeTimeRequestPB::clear_has_tablet_id() { |
3822 | 0 | _has_bits_[0] &= ~0x00000002u; |
3823 | 0 | } |
3824 | 0 | inline void GetSafeTimeRequestPB::clear_tablet_id() { |
3825 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3826 | 0 | clear_has_tablet_id(); |
3827 | 0 | } |
3828 | 17.6k | inline const ::std::string& GetSafeTimeRequestPB::tablet_id() const { |
3829 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3830 | 17.6k | return tablet_id_.GetNoArena(); |
3831 | 17.6k | } |
3832 | 4.40k | inline void GetSafeTimeRequestPB::set_tablet_id(const ::std::string& value) { |
3833 | 4.40k | set_has_tablet_id(); |
3834 | 4.40k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3835 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3836 | 4.40k | } |
3837 | | #if LANG_CXX11 |
3838 | 0 | inline void GetSafeTimeRequestPB::set_tablet_id(::std::string&& value) { |
3839 | 0 | set_has_tablet_id(); |
3840 | 0 | tablet_id_.SetNoArena( |
3841 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3842 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3843 | 0 | } |
3844 | | #endif |
3845 | 0 | inline void GetSafeTimeRequestPB::set_tablet_id(const char* value) { |
3846 | 0 | GOOGLE_DCHECK(value != NULL); |
3847 | 0 | set_has_tablet_id(); |
3848 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3849 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3850 | 0 | } |
3851 | 0 | inline void GetSafeTimeRequestPB::set_tablet_id(const void* value, size_t size) { |
3852 | 0 | set_has_tablet_id(); |
3853 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3854 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3855 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3856 | 0 | } |
3857 | 4.40k | inline ::std::string* GetSafeTimeRequestPB::mutable_tablet_id() { |
3858 | 4.40k | set_has_tablet_id(); |
3859 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3860 | 4.40k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3861 | 4.40k | } |
3862 | 0 | inline ::std::string* GetSafeTimeRequestPB::release_tablet_id() { |
3863 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3864 | 0 | clear_has_tablet_id(); |
3865 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3866 | 0 | } |
3867 | 0 | inline void GetSafeTimeRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
3868 | 0 | if (tablet_id != NULL) { |
3869 | 0 | set_has_tablet_id(); |
3870 | 0 | } else { |
3871 | 0 | clear_has_tablet_id(); |
3872 | 0 | } |
3873 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
3874 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSafeTimeRequestPB.tablet_id) |
3875 | 0 | } |
3876 | | |
3877 | | // optional uint32 schema_version = 3; |
3878 | 8.80k | inline bool GetSafeTimeRequestPB::has_schema_version() const { |
3879 | 8.80k | return (_has_bits_[0] & 0x00000010u) != 0; |
3880 | 8.80k | } |
3881 | 0 | inline void GetSafeTimeRequestPB::set_has_schema_version() { |
3882 | 0 | _has_bits_[0] |= 0x00000010u; |
3883 | 0 | } |
3884 | 0 | inline void GetSafeTimeRequestPB::clear_has_schema_version() { |
3885 | 0 | _has_bits_[0] &= ~0x00000010u; |
3886 | 0 | } |
3887 | 0 | inline void GetSafeTimeRequestPB::clear_schema_version() { |
3888 | 0 | schema_version_ = 0u; |
3889 | 0 | clear_has_schema_version(); |
3890 | 0 | } |
3891 | 0 | inline ::google::protobuf::uint32 GetSafeTimeRequestPB::schema_version() const { |
3892 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeRequestPB.schema_version) |
3893 | 0 | return schema_version_; |
3894 | 0 | } |
3895 | 0 | inline void GetSafeTimeRequestPB::set_schema_version(::google::protobuf::uint32 value) { |
3896 | 0 | set_has_schema_version(); |
3897 | 0 | schema_version_ = value; |
3898 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeRequestPB.schema_version) |
3899 | 0 | } |
3900 | | |
3901 | | // optional fixed64 propagated_hybrid_time = 4; |
3902 | 8.80k | inline bool GetSafeTimeRequestPB::has_propagated_hybrid_time() const { |
3903 | 8.80k | return (_has_bits_[0] & 0x00000004u) != 0; |
3904 | 8.80k | } |
3905 | 8.80k | inline void GetSafeTimeRequestPB::set_has_propagated_hybrid_time() { |
3906 | 8.80k | _has_bits_[0] |= 0x00000004u; |
3907 | 8.80k | } |
3908 | 0 | inline void GetSafeTimeRequestPB::clear_has_propagated_hybrid_time() { |
3909 | 0 | _has_bits_[0] &= ~0x00000004u; |
3910 | 0 | } |
3911 | 0 | inline void GetSafeTimeRequestPB::clear_propagated_hybrid_time() { |
3912 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
3913 | 0 | clear_has_propagated_hybrid_time(); |
3914 | 0 | } |
3915 | 8.80k | inline ::google::protobuf::uint64 GetSafeTimeRequestPB::propagated_hybrid_time() const { |
3916 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeRequestPB.propagated_hybrid_time) |
3917 | 8.80k | return propagated_hybrid_time_; |
3918 | 8.80k | } |
3919 | 4.40k | inline void GetSafeTimeRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
3920 | 4.40k | set_has_propagated_hybrid_time(); |
3921 | 4.40k | propagated_hybrid_time_ = value; |
3922 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeRequestPB.propagated_hybrid_time) |
3923 | 4.40k | } |
3924 | | |
3925 | | // optional fixed64 min_hybrid_time_for_backfill = 5; |
3926 | 13.1k | inline bool GetSafeTimeRequestPB::has_min_hybrid_time_for_backfill() const { |
3927 | 13.1k | return (_has_bits_[0] & 0x00000008u) != 0; |
3928 | 13.1k | } |
3929 | 8.80k | inline void GetSafeTimeRequestPB::set_has_min_hybrid_time_for_backfill() { |
3930 | 8.80k | _has_bits_[0] |= 0x00000008u; |
3931 | 8.80k | } |
3932 | 0 | inline void GetSafeTimeRequestPB::clear_has_min_hybrid_time_for_backfill() { |
3933 | 0 | _has_bits_[0] &= ~0x00000008u; |
3934 | 0 | } |
3935 | 0 | inline void GetSafeTimeRequestPB::clear_min_hybrid_time_for_backfill() { |
3936 | 0 | min_hybrid_time_for_backfill_ = GOOGLE_ULONGLONG(0); |
3937 | 0 | clear_has_min_hybrid_time_for_backfill(); |
3938 | 0 | } |
3939 | 8.77k | inline ::google::protobuf::uint64 GetSafeTimeRequestPB::min_hybrid_time_for_backfill() const { |
3940 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeRequestPB.min_hybrid_time_for_backfill) |
3941 | 8.77k | return min_hybrid_time_for_backfill_; |
3942 | 8.77k | } |
3943 | 4.40k | inline void GetSafeTimeRequestPB::set_min_hybrid_time_for_backfill(::google::protobuf::uint64 value) { |
3944 | 4.40k | set_has_min_hybrid_time_for_backfill(); |
3945 | 4.40k | min_hybrid_time_for_backfill_ = value; |
3946 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeRequestPB.min_hybrid_time_for_backfill) |
3947 | 4.40k | } |
3948 | | |
3949 | | // ------------------------------------------------------------------- |
3950 | | |
3951 | | // GetSafeTimeResponsePB |
3952 | | |
3953 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3954 | 26.3k | inline bool GetSafeTimeResponsePB::has_error() const { |
3955 | 26.3k | return (_has_bits_[0] & 0x00000001u) != 0; |
3956 | 26.3k | } |
3957 | 6 | inline void GetSafeTimeResponsePB::set_has_error() { |
3958 | 6 | _has_bits_[0] |= 0x00000001u; |
3959 | 6 | } |
3960 | 4.39k | inline void GetSafeTimeResponsePB::clear_has_error() { |
3961 | 4.39k | _has_bits_[0] &= ~0x00000001u; |
3962 | 4.39k | } |
3963 | 9 | inline const ::yb::tserver::TabletServerErrorPB& GetSafeTimeResponsePB::error() const { |
3964 | 9 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
3965 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeResponsePB.error) |
3966 | 9 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
3967 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
3968 | 9 | } |
3969 | 0 | inline ::yb::tserver::TabletServerErrorPB* GetSafeTimeResponsePB::release_error() { |
3970 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSafeTimeResponsePB.error) |
3971 | 0 | clear_has_error(); |
3972 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
3973 | 0 | error_ = NULL; |
3974 | 0 | return temp; |
3975 | 0 | } |
3976 | 6 | inline ::yb::tserver::TabletServerErrorPB* GetSafeTimeResponsePB::mutable_error() { |
3977 | 6 | set_has_error(); |
3978 | 6 | if (error_ == NULL) { |
3979 | 6 | error_ = new ::yb::tserver::TabletServerErrorPB; |
3980 | 6 | } |
3981 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSafeTimeResponsePB.error) |
3982 | 6 | return error_; |
3983 | 6 | } |
3984 | 0 | inline void GetSafeTimeResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
3985 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3986 | 0 | if (message_arena == NULL) { |
3987 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
3988 | 0 | } |
3989 | 0 | if (error) { |
3990 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3991 | 0 | if (message_arena != submessage_arena) { |
3992 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
3993 | 0 | message_arena, error, submessage_arena); |
3994 | 0 | } |
3995 | 0 | set_has_error(); |
3996 | 0 | } else { |
3997 | 0 | clear_has_error(); |
3998 | 0 | } |
3999 | 0 | error_ = error; |
4000 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSafeTimeResponsePB.error) |
4001 | 0 | } |
4002 | | |
4003 | | // optional fixed64 safe_time = 2; |
4004 | 8.70k | inline bool GetSafeTimeResponsePB::has_safe_time() const { |
4005 | 8.70k | return (_has_bits_[0] & 0x00000002u) != 0; |
4006 | 8.70k | } |
4007 | 8.79k | inline void GetSafeTimeResponsePB::set_has_safe_time() { |
4008 | 8.79k | _has_bits_[0] |= 0x00000002u; |
4009 | 8.79k | } |
4010 | 0 | inline void GetSafeTimeResponsePB::clear_has_safe_time() { |
4011 | 0 | _has_bits_[0] &= ~0x00000002u; |
4012 | 0 | } |
4013 | 0 | inline void GetSafeTimeResponsePB::clear_safe_time() { |
4014 | 0 | safe_time_ = GOOGLE_ULONGLONG(0); |
4015 | 0 | clear_has_safe_time(); |
4016 | 0 | } |
4017 | 8.79k | inline ::google::protobuf::uint64 GetSafeTimeResponsePB::safe_time() const { |
4018 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeResponsePB.safe_time) |
4019 | 8.79k | return safe_time_; |
4020 | 8.79k | } |
4021 | 4.37k | inline void GetSafeTimeResponsePB::set_safe_time(::google::protobuf::uint64 value) { |
4022 | 4.37k | set_has_safe_time(); |
4023 | 4.37k | safe_time_ = value; |
4024 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeResponsePB.safe_time) |
4025 | 4.37k | } |
4026 | | |
4027 | | // optional fixed64 propagated_hybrid_time = 3; |
4028 | 8.71k | inline bool GetSafeTimeResponsePB::has_propagated_hybrid_time() const { |
4029 | 8.71k | return (_has_bits_[0] & 0x00000004u) != 0; |
4030 | 8.71k | } |
4031 | 8.78k | inline void GetSafeTimeResponsePB::set_has_propagated_hybrid_time() { |
4032 | 8.78k | _has_bits_[0] |= 0x00000004u; |
4033 | 8.78k | } |
4034 | 0 | inline void GetSafeTimeResponsePB::clear_has_propagated_hybrid_time() { |
4035 | 0 | _has_bits_[0] &= ~0x00000004u; |
4036 | 0 | } |
4037 | 0 | inline void GetSafeTimeResponsePB::clear_propagated_hybrid_time() { |
4038 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4039 | 0 | clear_has_propagated_hybrid_time(); |
4040 | 0 | } |
4041 | 8.79k | inline ::google::protobuf::uint64 GetSafeTimeResponsePB::propagated_hybrid_time() const { |
4042 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSafeTimeResponsePB.propagated_hybrid_time) |
4043 | 8.79k | return propagated_hybrid_time_; |
4044 | 8.79k | } |
4045 | 4.40k | inline void GetSafeTimeResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4046 | 4.40k | set_has_propagated_hybrid_time(); |
4047 | 4.40k | propagated_hybrid_time_ = value; |
4048 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSafeTimeResponsePB.propagated_hybrid_time) |
4049 | 4.40k | } |
4050 | | |
4051 | | // ------------------------------------------------------------------- |
4052 | | |
4053 | | // BackfillIndexRequestPB |
4054 | | |
4055 | | // optional bytes dest_uuid = 1; |
4056 | 9.04k | inline bool BackfillIndexRequestPB::has_dest_uuid() const { |
4057 | 9.04k | return (_has_bits_[0] & 0x00000001u) != 0; |
4058 | 9.04k | } |
4059 | 9.04k | inline void BackfillIndexRequestPB::set_has_dest_uuid() { |
4060 | 9.04k | _has_bits_[0] |= 0x00000001u; |
4061 | 9.04k | } |
4062 | 0 | inline void BackfillIndexRequestPB::clear_has_dest_uuid() { |
4063 | 0 | _has_bits_[0] &= ~0x00000001u; |
4064 | 0 | } |
4065 | 0 | inline void BackfillIndexRequestPB::clear_dest_uuid() { |
4066 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4067 | 0 | clear_has_dest_uuid(); |
4068 | 0 | } |
4069 | 22.5k | inline const ::std::string& BackfillIndexRequestPB::dest_uuid() const { |
4070 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4071 | 22.5k | return dest_uuid_.GetNoArena(); |
4072 | 22.5k | } |
4073 | 0 | inline void BackfillIndexRequestPB::set_dest_uuid(const ::std::string& value) { |
4074 | 0 | set_has_dest_uuid(); |
4075 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4076 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4077 | 0 | } |
4078 | | #if LANG_CXX11 |
4079 | 4.52k | inline void BackfillIndexRequestPB::set_dest_uuid(::std::string&& value) { |
4080 | 4.52k | set_has_dest_uuid(); |
4081 | 4.52k | dest_uuid_.SetNoArena( |
4082 | 4.52k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4083 | | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4084 | 4.52k | } |
4085 | | #endif |
4086 | 0 | inline void BackfillIndexRequestPB::set_dest_uuid(const char* value) { |
4087 | 0 | GOOGLE_DCHECK(value != NULL); |
4088 | 0 | set_has_dest_uuid(); |
4089 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4090 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4091 | 0 | } |
4092 | 0 | inline void BackfillIndexRequestPB::set_dest_uuid(const void* value, size_t size) { |
4093 | 0 | set_has_dest_uuid(); |
4094 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4095 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4096 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4097 | 0 | } |
4098 | 4.52k | inline ::std::string* BackfillIndexRequestPB::mutable_dest_uuid() { |
4099 | 4.52k | set_has_dest_uuid(); |
4100 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4101 | 4.52k | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4102 | 4.52k | } |
4103 | 0 | inline ::std::string* BackfillIndexRequestPB::release_dest_uuid() { |
4104 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4105 | 0 | clear_has_dest_uuid(); |
4106 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4107 | 0 | } |
4108 | 0 | inline void BackfillIndexRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
4109 | 0 | if (dest_uuid != NULL) { |
4110 | 0 | set_has_dest_uuid(); |
4111 | 0 | } else { |
4112 | 0 | clear_has_dest_uuid(); |
4113 | 0 | } |
4114 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
4115 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexRequestPB.dest_uuid) |
4116 | 0 | } |
4117 | | |
4118 | | // required bytes tablet_id = 2; |
4119 | 9.04k | inline bool BackfillIndexRequestPB::has_tablet_id() const { |
4120 | 9.04k | return (_has_bits_[0] & 0x00000002u) != 0; |
4121 | 9.04k | } |
4122 | 9.04k | inline void BackfillIndexRequestPB::set_has_tablet_id() { |
4123 | 9.04k | _has_bits_[0] |= 0x00000002u; |
4124 | 9.04k | } |
4125 | 0 | inline void BackfillIndexRequestPB::clear_has_tablet_id() { |
4126 | 0 | _has_bits_[0] &= ~0x00000002u; |
4127 | 0 | } |
4128 | 0 | inline void BackfillIndexRequestPB::clear_tablet_id() { |
4129 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4130 | 0 | clear_has_tablet_id(); |
4131 | 0 | } |
4132 | 18.0k | inline const ::std::string& BackfillIndexRequestPB::tablet_id() const { |
4133 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4134 | 18.0k | return tablet_id_.GetNoArena(); |
4135 | 18.0k | } |
4136 | 4.52k | inline void BackfillIndexRequestPB::set_tablet_id(const ::std::string& value) { |
4137 | 4.52k | set_has_tablet_id(); |
4138 | 4.52k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4139 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4140 | 4.52k | } |
4141 | | #if LANG_CXX11 |
4142 | 0 | inline void BackfillIndexRequestPB::set_tablet_id(::std::string&& value) { |
4143 | 0 | set_has_tablet_id(); |
4144 | 0 | tablet_id_.SetNoArena( |
4145 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4146 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4147 | 0 | } |
4148 | | #endif |
4149 | 0 | inline void BackfillIndexRequestPB::set_tablet_id(const char* value) { |
4150 | 0 | GOOGLE_DCHECK(value != NULL); |
4151 | 0 | set_has_tablet_id(); |
4152 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4153 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4154 | 0 | } |
4155 | 0 | inline void BackfillIndexRequestPB::set_tablet_id(const void* value, size_t size) { |
4156 | 0 | set_has_tablet_id(); |
4157 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4158 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4159 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4160 | 0 | } |
4161 | 4.51k | inline ::std::string* BackfillIndexRequestPB::mutable_tablet_id() { |
4162 | 4.51k | set_has_tablet_id(); |
4163 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4164 | 4.51k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4165 | 4.51k | } |
4166 | 0 | inline ::std::string* BackfillIndexRequestPB::release_tablet_id() { |
4167 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4168 | 0 | clear_has_tablet_id(); |
4169 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4170 | 0 | } |
4171 | 0 | inline void BackfillIndexRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
4172 | 0 | if (tablet_id != NULL) { |
4173 | 0 | set_has_tablet_id(); |
4174 | 0 | } else { |
4175 | 0 | clear_has_tablet_id(); |
4176 | 0 | } |
4177 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
4178 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexRequestPB.tablet_id) |
4179 | 0 | } |
4180 | | |
4181 | | // repeated .yb.IndexInfoPB indexes = 3; |
4182 | 13.5k | inline int BackfillIndexRequestPB::indexes_size() const { |
4183 | 13.5k | return indexes_.size(); |
4184 | 13.5k | } |
4185 | 13.6k | inline const ::yb::IndexInfoPB& BackfillIndexRequestPB::indexes(int index) const { |
4186 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.indexes) |
4187 | 13.6k | return indexes_.Get(index); |
4188 | 13.6k | } |
4189 | 0 | inline ::yb::IndexInfoPB* BackfillIndexRequestPB::mutable_indexes(int index) { |
4190 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.indexes) |
4191 | 0 | return indexes_.Mutable(index); |
4192 | 0 | } |
4193 | 9.11k | inline ::yb::IndexInfoPB* BackfillIndexRequestPB::add_indexes() { |
4194 | | // @@protoc_insertion_point(field_add:yb.tserver.BackfillIndexRequestPB.indexes) |
4195 | 9.11k | return indexes_.Add(); |
4196 | 9.11k | } |
4197 | | inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
4198 | 0 | BackfillIndexRequestPB::mutable_indexes() { |
4199 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.BackfillIndexRequestPB.indexes) |
4200 | 0 | return &indexes_; |
4201 | 0 | } |
4202 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
4203 | 17.9k | BackfillIndexRequestPB::indexes() const { |
4204 | | // @@protoc_insertion_point(field_list:yb.tserver.BackfillIndexRequestPB.indexes) |
4205 | 17.9k | return indexes_; |
4206 | 17.9k | } |
4207 | | |
4208 | | // optional uint32 schema_version = 4; |
4209 | 9.04k | inline bool BackfillIndexRequestPB::has_schema_version() const { |
4210 | 9.04k | return (_has_bits_[0] & 0x00000100u) != 0; |
4211 | 9.04k | } |
4212 | 9.04k | inline void BackfillIndexRequestPB::set_has_schema_version() { |
4213 | 9.04k | _has_bits_[0] |= 0x00000100u; |
4214 | 9.04k | } |
4215 | 0 | inline void BackfillIndexRequestPB::clear_has_schema_version() { |
4216 | 0 | _has_bits_[0] &= ~0x00000100u; |
4217 | 0 | } |
4218 | 0 | inline void BackfillIndexRequestPB::clear_schema_version() { |
4219 | 0 | schema_version_ = 0u; |
4220 | 0 | clear_has_schema_version(); |
4221 | 0 | } |
4222 | 13.5k | inline ::google::protobuf::uint32 BackfillIndexRequestPB::schema_version() const { |
4223 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.schema_version) |
4224 | 13.5k | return schema_version_; |
4225 | 13.5k | } |
4226 | 4.52k | inline void BackfillIndexRequestPB::set_schema_version(::google::protobuf::uint32 value) { |
4227 | 4.52k | set_has_schema_version(); |
4228 | 4.52k | schema_version_ = value; |
4229 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.schema_version) |
4230 | 4.52k | } |
4231 | | |
4232 | | // optional fixed64 read_at_hybrid_time = 5; |
4233 | 9.04k | inline bool BackfillIndexRequestPB::has_read_at_hybrid_time() const { |
4234 | 9.04k | return (_has_bits_[0] & 0x00000040u) != 0; |
4235 | 9.04k | } |
4236 | 9.03k | inline void BackfillIndexRequestPB::set_has_read_at_hybrid_time() { |
4237 | 9.03k | _has_bits_[0] |= 0x00000040u; |
4238 | 9.03k | } |
4239 | 0 | inline void BackfillIndexRequestPB::clear_has_read_at_hybrid_time() { |
4240 | 0 | _has_bits_[0] &= ~0x00000040u; |
4241 | 0 | } |
4242 | 0 | inline void BackfillIndexRequestPB::clear_read_at_hybrid_time() { |
4243 | 0 | read_at_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4244 | 0 | clear_has_read_at_hybrid_time(); |
4245 | 0 | } |
4246 | 9.02k | inline ::google::protobuf::uint64 BackfillIndexRequestPB::read_at_hybrid_time() const { |
4247 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.read_at_hybrid_time) |
4248 | 9.02k | return read_at_hybrid_time_; |
4249 | 9.02k | } |
4250 | 4.52k | inline void BackfillIndexRequestPB::set_read_at_hybrid_time(::google::protobuf::uint64 value) { |
4251 | 4.52k | set_has_read_at_hybrid_time(); |
4252 | 4.52k | read_at_hybrid_time_ = value; |
4253 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.read_at_hybrid_time) |
4254 | 4.52k | } |
4255 | | |
4256 | | // optional bytes start_key = 6; |
4257 | 9.04k | inline bool BackfillIndexRequestPB::has_start_key() const { |
4258 | 9.04k | return (_has_bits_[0] & 0x00000004u) != 0; |
4259 | 9.04k | } |
4260 | 9.04k | inline void BackfillIndexRequestPB::set_has_start_key() { |
4261 | 9.04k | _has_bits_[0] |= 0x00000004u; |
4262 | 9.04k | } |
4263 | 0 | inline void BackfillIndexRequestPB::clear_has_start_key() { |
4264 | 0 | _has_bits_[0] &= ~0x00000004u; |
4265 | 0 | } |
4266 | 0 | inline void BackfillIndexRequestPB::clear_start_key() { |
4267 | 0 | start_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4268 | 0 | clear_has_start_key(); |
4269 | 0 | } |
4270 | 17.9k | inline const ::std::string& BackfillIndexRequestPB::start_key() const { |
4271 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.start_key) |
4272 | 17.9k | return start_key_.GetNoArena(); |
4273 | 17.9k | } |
4274 | 4.52k | inline void BackfillIndexRequestPB::set_start_key(const ::std::string& value) { |
4275 | 4.52k | set_has_start_key(); |
4276 | 4.52k | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4277 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.start_key) |
4278 | 4.52k | } |
4279 | | #if LANG_CXX11 |
4280 | 0 | inline void BackfillIndexRequestPB::set_start_key(::std::string&& value) { |
4281 | 0 | set_has_start_key(); |
4282 | 0 | start_key_.SetNoArena( |
4283 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4284 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexRequestPB.start_key) |
4285 | 0 | } |
4286 | | #endif |
4287 | 0 | inline void BackfillIndexRequestPB::set_start_key(const char* value) { |
4288 | 0 | GOOGLE_DCHECK(value != NULL); |
4289 | 0 | set_has_start_key(); |
4290 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4291 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexRequestPB.start_key) |
4292 | 0 | } |
4293 | 0 | inline void BackfillIndexRequestPB::set_start_key(const void* value, size_t size) { |
4294 | 0 | set_has_start_key(); |
4295 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4296 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4297 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexRequestPB.start_key) |
4298 | 0 | } |
4299 | 4.51k | inline ::std::string* BackfillIndexRequestPB::mutable_start_key() { |
4300 | 4.51k | set_has_start_key(); |
4301 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.start_key) |
4302 | 4.51k | return start_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4303 | 4.51k | } |
4304 | 0 | inline ::std::string* BackfillIndexRequestPB::release_start_key() { |
4305 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexRequestPB.start_key) |
4306 | 0 | clear_has_start_key(); |
4307 | 0 | return start_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4308 | 0 | } |
4309 | 0 | inline void BackfillIndexRequestPB::set_allocated_start_key(::std::string* start_key) { |
4310 | 0 | if (start_key != NULL) { |
4311 | 0 | set_has_start_key(); |
4312 | 0 | } else { |
4313 | 0 | clear_has_start_key(); |
4314 | 0 | } |
4315 | 0 | start_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), start_key); |
4316 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexRequestPB.start_key) |
4317 | 0 | } |
4318 | | |
4319 | | // optional bytes end_key = 7; |
4320 | 9.04k | inline bool BackfillIndexRequestPB::has_end_key() const { |
4321 | 9.04k | return (_has_bits_[0] & 0x00000008u) != 0; |
4322 | 9.04k | } |
4323 | 0 | inline void BackfillIndexRequestPB::set_has_end_key() { |
4324 | 0 | _has_bits_[0] |= 0x00000008u; |
4325 | 0 | } |
4326 | 0 | inline void BackfillIndexRequestPB::clear_has_end_key() { |
4327 | 0 | _has_bits_[0] &= ~0x00000008u; |
4328 | 0 | } |
4329 | 0 | inline void BackfillIndexRequestPB::clear_end_key() { |
4330 | 0 | end_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4331 | 0 | clear_has_end_key(); |
4332 | 0 | } |
4333 | 0 | inline const ::std::string& BackfillIndexRequestPB::end_key() const { |
4334 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.end_key) |
4335 | 0 | return end_key_.GetNoArena(); |
4336 | 0 | } |
4337 | 0 | inline void BackfillIndexRequestPB::set_end_key(const ::std::string& value) { |
4338 | 0 | set_has_end_key(); |
4339 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4340 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.end_key) |
4341 | 0 | } |
4342 | | #if LANG_CXX11 |
4343 | 0 | inline void BackfillIndexRequestPB::set_end_key(::std::string&& value) { |
4344 | 0 | set_has_end_key(); |
4345 | 0 | end_key_.SetNoArena( |
4346 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4347 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexRequestPB.end_key) |
4348 | 0 | } |
4349 | | #endif |
4350 | 0 | inline void BackfillIndexRequestPB::set_end_key(const char* value) { |
4351 | 0 | GOOGLE_DCHECK(value != NULL); |
4352 | 0 | set_has_end_key(); |
4353 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4354 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexRequestPB.end_key) |
4355 | 0 | } |
4356 | 0 | inline void BackfillIndexRequestPB::set_end_key(const void* value, size_t size) { |
4357 | 0 | set_has_end_key(); |
4358 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4359 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4360 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexRequestPB.end_key) |
4361 | 0 | } |
4362 | 0 | inline ::std::string* BackfillIndexRequestPB::mutable_end_key() { |
4363 | 0 | set_has_end_key(); |
4364 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.end_key) |
4365 | 0 | return end_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4366 | 0 | } |
4367 | 0 | inline ::std::string* BackfillIndexRequestPB::release_end_key() { |
4368 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexRequestPB.end_key) |
4369 | 0 | clear_has_end_key(); |
4370 | 0 | return end_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4371 | 0 | } |
4372 | 0 | inline void BackfillIndexRequestPB::set_allocated_end_key(::std::string* end_key) { |
4373 | 0 | if (end_key != NULL) { |
4374 | 0 | set_has_end_key(); |
4375 | 0 | } else { |
4376 | 0 | clear_has_end_key(); |
4377 | 0 | } |
4378 | 0 | end_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), end_key); |
4379 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexRequestPB.end_key) |
4380 | 0 | } |
4381 | | |
4382 | | // optional fixed64 propagated_hybrid_time = 8; |
4383 | 9.04k | inline bool BackfillIndexRequestPB::has_propagated_hybrid_time() const { |
4384 | 9.04k | return (_has_bits_[0] & 0x00000080u) != 0; |
4385 | 9.04k | } |
4386 | 9.04k | inline void BackfillIndexRequestPB::set_has_propagated_hybrid_time() { |
4387 | 9.04k | _has_bits_[0] |= 0x00000080u; |
4388 | 9.04k | } |
4389 | 0 | inline void BackfillIndexRequestPB::clear_has_propagated_hybrid_time() { |
4390 | 0 | _has_bits_[0] &= ~0x00000080u; |
4391 | 0 | } |
4392 | 0 | inline void BackfillIndexRequestPB::clear_propagated_hybrid_time() { |
4393 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4394 | 0 | clear_has_propagated_hybrid_time(); |
4395 | 0 | } |
4396 | 9.03k | inline ::google::protobuf::uint64 BackfillIndexRequestPB::propagated_hybrid_time() const { |
4397 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.propagated_hybrid_time) |
4398 | 9.03k | return propagated_hybrid_time_; |
4399 | 9.03k | } |
4400 | 4.52k | inline void BackfillIndexRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4401 | 4.52k | set_has_propagated_hybrid_time(); |
4402 | 4.52k | propagated_hybrid_time_ = value; |
4403 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.propagated_hybrid_time) |
4404 | 4.52k | } |
4405 | | |
4406 | | // optional string namespace_name = 9; |
4407 | 11.0k | inline bool BackfillIndexRequestPB::has_namespace_name() const { |
4408 | 11.0k | return (_has_bits_[0] & 0x00000010u) != 0; |
4409 | 11.0k | } |
4410 | 3.98k | inline void BackfillIndexRequestPB::set_has_namespace_name() { |
4411 | 3.98k | _has_bits_[0] |= 0x00000010u; |
4412 | 3.98k | } |
4413 | 0 | inline void BackfillIndexRequestPB::clear_has_namespace_name() { |
4414 | 0 | _has_bits_[0] &= ~0x00000010u; |
4415 | 0 | } |
4416 | 0 | inline void BackfillIndexRequestPB::clear_namespace_name() { |
4417 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4418 | 0 | clear_has_namespace_name(); |
4419 | 0 | } |
4420 | 15.8k | inline const ::std::string& BackfillIndexRequestPB::namespace_name() const { |
4421 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4422 | 15.8k | return namespace_name_.GetNoArena(); |
4423 | 15.8k | } |
4424 | 1.99k | inline void BackfillIndexRequestPB::set_namespace_name(const ::std::string& value) { |
4425 | 1.99k | set_has_namespace_name(); |
4426 | 1.99k | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4427 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4428 | 1.99k | } |
4429 | | #if LANG_CXX11 |
4430 | 0 | inline void BackfillIndexRequestPB::set_namespace_name(::std::string&& value) { |
4431 | 0 | set_has_namespace_name(); |
4432 | 0 | namespace_name_.SetNoArena( |
4433 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4434 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4435 | 0 | } |
4436 | | #endif |
4437 | 0 | inline void BackfillIndexRequestPB::set_namespace_name(const char* value) { |
4438 | 0 | GOOGLE_DCHECK(value != NULL); |
4439 | 0 | set_has_namespace_name(); |
4440 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4441 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4442 | 0 | } |
4443 | 0 | inline void BackfillIndexRequestPB::set_namespace_name(const char* value, size_t size) { |
4444 | 0 | set_has_namespace_name(); |
4445 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4446 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4447 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4448 | 0 | } |
4449 | 1.99k | inline ::std::string* BackfillIndexRequestPB::mutable_namespace_name() { |
4450 | 1.99k | set_has_namespace_name(); |
4451 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4452 | 1.99k | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4453 | 1.99k | } |
4454 | 0 | inline ::std::string* BackfillIndexRequestPB::release_namespace_name() { |
4455 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4456 | 0 | clear_has_namespace_name(); |
4457 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4458 | 0 | } |
4459 | 0 | inline void BackfillIndexRequestPB::set_allocated_namespace_name(::std::string* namespace_name) { |
4460 | 0 | if (namespace_name != NULL) { |
4461 | 0 | set_has_namespace_name(); |
4462 | 0 | } else { |
4463 | 0 | clear_has_namespace_name(); |
4464 | 0 | } |
4465 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
4466 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexRequestPB.namespace_name) |
4467 | 0 | } |
4468 | | |
4469 | | // optional bytes indexed_table_id = 10; |
4470 | 9.04k | inline bool BackfillIndexRequestPB::has_indexed_table_id() const { |
4471 | 9.04k | return (_has_bits_[0] & 0x00000020u) != 0; |
4472 | 9.04k | } |
4473 | 9.03k | inline void BackfillIndexRequestPB::set_has_indexed_table_id() { |
4474 | 9.03k | _has_bits_[0] |= 0x00000020u; |
4475 | 9.03k | } |
4476 | 0 | inline void BackfillIndexRequestPB::clear_has_indexed_table_id() { |
4477 | 0 | _has_bits_[0] &= ~0x00000020u; |
4478 | 0 | } |
4479 | 0 | inline void BackfillIndexRequestPB::clear_indexed_table_id() { |
4480 | 0 | indexed_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4481 | 0 | clear_has_indexed_table_id(); |
4482 | 0 | } |
4483 | 17.9k | inline const ::std::string& BackfillIndexRequestPB::indexed_table_id() const { |
4484 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4485 | 17.9k | return indexed_table_id_.GetNoArena(); |
4486 | 17.9k | } |
4487 | 4.52k | inline void BackfillIndexRequestPB::set_indexed_table_id(const ::std::string& value) { |
4488 | 4.52k | set_has_indexed_table_id(); |
4489 | 4.52k | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4490 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4491 | 4.52k | } |
4492 | | #if LANG_CXX11 |
4493 | 0 | inline void BackfillIndexRequestPB::set_indexed_table_id(::std::string&& value) { |
4494 | 0 | set_has_indexed_table_id(); |
4495 | 0 | indexed_table_id_.SetNoArena( |
4496 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4497 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4498 | 0 | } |
4499 | | #endif |
4500 | 0 | inline void BackfillIndexRequestPB::set_indexed_table_id(const char* value) { |
4501 | 0 | GOOGLE_DCHECK(value != NULL); |
4502 | 0 | set_has_indexed_table_id(); |
4503 | 0 | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4504 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4505 | 0 | } |
4506 | 0 | inline void BackfillIndexRequestPB::set_indexed_table_id(const void* value, size_t size) { |
4507 | 0 | set_has_indexed_table_id(); |
4508 | 0 | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4509 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4510 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4511 | 0 | } |
4512 | 4.51k | inline ::std::string* BackfillIndexRequestPB::mutable_indexed_table_id() { |
4513 | 4.51k | set_has_indexed_table_id(); |
4514 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4515 | 4.51k | return indexed_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4516 | 4.51k | } |
4517 | 0 | inline ::std::string* BackfillIndexRequestPB::release_indexed_table_id() { |
4518 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4519 | 0 | clear_has_indexed_table_id(); |
4520 | 0 | return indexed_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4521 | 0 | } |
4522 | 0 | inline void BackfillIndexRequestPB::set_allocated_indexed_table_id(::std::string* indexed_table_id) { |
4523 | 0 | if (indexed_table_id != NULL) { |
4524 | 0 | set_has_indexed_table_id(); |
4525 | 0 | } else { |
4526 | 0 | clear_has_indexed_table_id(); |
4527 | 0 | } |
4528 | 0 | indexed_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), indexed_table_id); |
4529 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexRequestPB.indexed_table_id) |
4530 | 0 | } |
4531 | | |
4532 | | // ------------------------------------------------------------------- |
4533 | | |
4534 | | // BackfillIndexResponsePB |
4535 | | |
4536 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
4537 | 26.1k | inline bool BackfillIndexResponsePB::has_error() const { |
4538 | 26.1k | return (_has_bits_[0] & 0x00000002u) != 0; |
4539 | 26.1k | } |
4540 | 76 | inline void BackfillIndexResponsePB::set_has_error() { |
4541 | 76 | _has_bits_[0] |= 0x00000002u; |
4542 | 76 | } |
4543 | 4.51k | inline void BackfillIndexResponsePB::clear_has_error() { |
4544 | 4.51k | _has_bits_[0] &= ~0x00000002u; |
4545 | 4.51k | } |
4546 | 114 | inline const ::yb::tserver::TabletServerErrorPB& BackfillIndexResponsePB::error() const { |
4547 | 114 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
4548 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexResponsePB.error) |
4549 | 114 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
4550 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
4551 | 114 | } |
4552 | 0 | inline ::yb::tserver::TabletServerErrorPB* BackfillIndexResponsePB::release_error() { |
4553 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexResponsePB.error) |
4554 | 0 | clear_has_error(); |
4555 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
4556 | 0 | error_ = NULL; |
4557 | 0 | return temp; |
4558 | 0 | } |
4559 | 76 | inline ::yb::tserver::TabletServerErrorPB* BackfillIndexResponsePB::mutable_error() { |
4560 | 76 | set_has_error(); |
4561 | 76 | if (error_ == NULL) { |
4562 | 76 | error_ = new ::yb::tserver::TabletServerErrorPB; |
4563 | 76 | } |
4564 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexResponsePB.error) |
4565 | 76 | return error_; |
4566 | 76 | } |
4567 | 0 | inline void BackfillIndexResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
4568 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4569 | 0 | if (message_arena == NULL) { |
4570 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4571 | 0 | } |
4572 | 0 | if (error) { |
4573 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4574 | 0 | if (message_arena != submessage_arena) { |
4575 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4576 | 0 | message_arena, error, submessage_arena); |
4577 | 0 | } |
4578 | 0 | set_has_error(); |
4579 | 0 | } else { |
4580 | 0 | clear_has_error(); |
4581 | 0 | } |
4582 | 0 | error_ = error; |
4583 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexResponsePB.error) |
4584 | 0 | } |
4585 | | |
4586 | | // optional fixed64 propagated_hybrid_time = 2; |
4587 | 8.70k | inline bool BackfillIndexResponsePB::has_propagated_hybrid_time() const { |
4588 | 8.70k | return (_has_bits_[0] & 0x00000004u) != 0; |
4589 | 8.70k | } |
4590 | 8.70k | inline void BackfillIndexResponsePB::set_has_propagated_hybrid_time() { |
4591 | 8.70k | _has_bits_[0] |= 0x00000004u; |
4592 | 8.70k | } |
4593 | 0 | inline void BackfillIndexResponsePB::clear_has_propagated_hybrid_time() { |
4594 | 0 | _has_bits_[0] &= ~0x00000004u; |
4595 | 0 | } |
4596 | 0 | inline void BackfillIndexResponsePB::clear_propagated_hybrid_time() { |
4597 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4598 | 0 | clear_has_propagated_hybrid_time(); |
4599 | 0 | } |
4600 | 8.71k | inline ::google::protobuf::uint64 BackfillIndexResponsePB::propagated_hybrid_time() const { |
4601 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexResponsePB.propagated_hybrid_time) |
4602 | 8.71k | return propagated_hybrid_time_; |
4603 | 8.71k | } |
4604 | 4.35k | inline void BackfillIndexResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4605 | 4.35k | set_has_propagated_hybrid_time(); |
4606 | 4.35k | propagated_hybrid_time_ = value; |
4607 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexResponsePB.propagated_hybrid_time) |
4608 | 4.35k | } |
4609 | | |
4610 | | // optional bytes backfilled_until = 3; |
4611 | 13.0k | inline bool BackfillIndexResponsePB::has_backfilled_until() const { |
4612 | 13.0k | return (_has_bits_[0] & 0x00000001u) != 0; |
4613 | 13.0k | } |
4614 | 8.69k | inline void BackfillIndexResponsePB::set_has_backfilled_until() { |
4615 | 8.69k | _has_bits_[0] |= 0x00000001u; |
4616 | 8.69k | } |
4617 | 0 | inline void BackfillIndexResponsePB::clear_has_backfilled_until() { |
4618 | 0 | _has_bits_[0] &= ~0x00000001u; |
4619 | 0 | } |
4620 | 0 | inline void BackfillIndexResponsePB::clear_backfilled_until() { |
4621 | 0 | backfilled_until_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4622 | 0 | clear_has_backfilled_until(); |
4623 | 0 | } |
4624 | 17.3k | inline const ::std::string& BackfillIndexResponsePB::backfilled_until() const { |
4625 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4626 | 17.3k | return backfilled_until_.GetNoArena(); |
4627 | 17.3k | } |
4628 | 4.35k | inline void BackfillIndexResponsePB::set_backfilled_until(const ::std::string& value) { |
4629 | 4.35k | set_has_backfilled_until(); |
4630 | 4.35k | backfilled_until_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4631 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4632 | 4.35k | } |
4633 | | #if LANG_CXX11 |
4634 | 0 | inline void BackfillIndexResponsePB::set_backfilled_until(::std::string&& value) { |
4635 | 0 | set_has_backfilled_until(); |
4636 | 0 | backfilled_until_.SetNoArena( |
4637 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4638 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4639 | 0 | } |
4640 | | #endif |
4641 | 0 | inline void BackfillIndexResponsePB::set_backfilled_until(const char* value) { |
4642 | 0 | GOOGLE_DCHECK(value != NULL); |
4643 | 0 | set_has_backfilled_until(); |
4644 | 0 | backfilled_until_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4645 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4646 | 0 | } |
4647 | 0 | inline void BackfillIndexResponsePB::set_backfilled_until(const void* value, size_t size) { |
4648 | 0 | set_has_backfilled_until(); |
4649 | 0 | backfilled_until_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4650 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4651 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4652 | 0 | } |
4653 | 4.34k | inline ::std::string* BackfillIndexResponsePB::mutable_backfilled_until() { |
4654 | 4.34k | set_has_backfilled_until(); |
4655 | | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4656 | 4.34k | return backfilled_until_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4657 | 4.34k | } |
4658 | 0 | inline ::std::string* BackfillIndexResponsePB::release_backfilled_until() { |
4659 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4660 | 0 | clear_has_backfilled_until(); |
4661 | 0 | return backfilled_until_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4662 | 0 | } |
4663 | 0 | inline void BackfillIndexResponsePB::set_allocated_backfilled_until(::std::string* backfilled_until) { |
4664 | 0 | if (backfilled_until != NULL) { |
4665 | 0 | set_has_backfilled_until(); |
4666 | 0 | } else { |
4667 | 0 | clear_has_backfilled_until(); |
4668 | 0 | } |
4669 | 0 | backfilled_until_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), backfilled_until); |
4670 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.BackfillIndexResponsePB.backfilled_until) |
4671 | 0 | } |
4672 | | |
4673 | | // repeated bytes failed_index_ids = 4; |
4674 | 21.9k | inline int BackfillIndexResponsePB::failed_index_ids_size() const { |
4675 | 21.9k | return failed_index_ids_.size(); |
4676 | 21.9k | } |
4677 | 0 | inline void BackfillIndexResponsePB::clear_failed_index_ids() { |
4678 | 0 | failed_index_ids_.Clear(); |
4679 | 0 | } |
4680 | 117 | inline const ::std::string& BackfillIndexResponsePB::failed_index_ids(int index) const { |
4681 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4682 | 117 | return failed_index_ids_.Get(index); |
4683 | 117 | } |
4684 | 0 | inline ::std::string* BackfillIndexResponsePB::mutable_failed_index_ids(int index) { |
4685 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4686 | 0 | return failed_index_ids_.Mutable(index); |
4687 | 0 | } |
4688 | 0 | inline void BackfillIndexResponsePB::set_failed_index_ids(int index, const ::std::string& value) { |
4689 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4690 | 0 | failed_index_ids_.Mutable(index)->assign(value); |
4691 | 0 | } |
4692 | | #if LANG_CXX11 |
4693 | 0 | inline void BackfillIndexResponsePB::set_failed_index_ids(int index, ::std::string&& value) { |
4694 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4695 | 0 | failed_index_ids_.Mutable(index)->assign(std::move(value)); |
4696 | 0 | } |
4697 | | #endif |
4698 | 0 | inline void BackfillIndexResponsePB::set_failed_index_ids(int index, const char* value) { |
4699 | 0 | GOOGLE_DCHECK(value != NULL); |
4700 | 0 | failed_index_ids_.Mutable(index)->assign(value); |
4701 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4702 | 0 | } |
4703 | 0 | inline void BackfillIndexResponsePB::set_failed_index_ids(int index, const void* value, size_t size) { |
4704 | 0 | failed_index_ids_.Mutable(index)->assign( |
4705 | 0 | reinterpret_cast<const char*>(value), size); |
4706 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4707 | 0 | } |
4708 | 58 | inline ::std::string* BackfillIndexResponsePB::add_failed_index_ids() { |
4709 | | // @@protoc_insertion_point(field_add_mutable:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4710 | 58 | return failed_index_ids_.Add(); |
4711 | 58 | } |
4712 | 0 | inline void BackfillIndexResponsePB::add_failed_index_ids(const ::std::string& value) { |
4713 | 0 | failed_index_ids_.Add()->assign(value); |
4714 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4715 | 0 | } |
4716 | | #if LANG_CXX11 |
4717 | 0 | inline void BackfillIndexResponsePB::add_failed_index_ids(::std::string&& value) { |
4718 | 0 | failed_index_ids_.Add(std::move(value)); |
4719 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4720 | 0 | } |
4721 | | #endif |
4722 | 0 | inline void BackfillIndexResponsePB::add_failed_index_ids(const char* value) { |
4723 | 0 | GOOGLE_DCHECK(value != NULL); |
4724 | 0 | failed_index_ids_.Add()->assign(value); |
4725 | 0 | // @@protoc_insertion_point(field_add_char:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4726 | 0 | } |
4727 | 0 | inline void BackfillIndexResponsePB::add_failed_index_ids(const void* value, size_t size) { |
4728 | 0 | failed_index_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4729 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4730 | 0 | } |
4731 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4732 | 0 | BackfillIndexResponsePB::failed_index_ids() const { |
4733 | 0 | // @@protoc_insertion_point(field_list:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4734 | 0 | return failed_index_ids_; |
4735 | 0 | } |
4736 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4737 | 0 | BackfillIndexResponsePB::mutable_failed_index_ids() { |
4738 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.BackfillIndexResponsePB.failed_index_ids) |
4739 | 0 | return &failed_index_ids_; |
4740 | 0 | } |
4741 | | |
4742 | | // optional uint64 number_rows_processed = 5; |
4743 | 8.70k | inline bool BackfillIndexResponsePB::has_number_rows_processed() const { |
4744 | 8.70k | return (_has_bits_[0] & 0x00000008u) != 0; |
4745 | 8.70k | } |
4746 | 8.69k | inline void BackfillIndexResponsePB::set_has_number_rows_processed() { |
4747 | 8.69k | _has_bits_[0] |= 0x00000008u; |
4748 | 8.69k | } |
4749 | 0 | inline void BackfillIndexResponsePB::clear_has_number_rows_processed() { |
4750 | 0 | _has_bits_[0] &= ~0x00000008u; |
4751 | 0 | } |
4752 | 0 | inline void BackfillIndexResponsePB::clear_number_rows_processed() { |
4753 | 0 | number_rows_processed_ = GOOGLE_ULONGLONG(0); |
4754 | 0 | clear_has_number_rows_processed(); |
4755 | 0 | } |
4756 | 17.4k | inline ::google::protobuf::uint64 BackfillIndexResponsePB::number_rows_processed() const { |
4757 | | // @@protoc_insertion_point(field_get:yb.tserver.BackfillIndexResponsePB.number_rows_processed) |
4758 | 17.4k | return number_rows_processed_; |
4759 | 17.4k | } |
4760 | 4.35k | inline void BackfillIndexResponsePB::set_number_rows_processed(::google::protobuf::uint64 value) { |
4761 | 4.35k | set_has_number_rows_processed(); |
4762 | 4.35k | number_rows_processed_ = value; |
4763 | | // @@protoc_insertion_point(field_set:yb.tserver.BackfillIndexResponsePB.number_rows_processed) |
4764 | 4.35k | } |
4765 | | |
4766 | | // ------------------------------------------------------------------- |
4767 | | |
4768 | | // CopartitionTableRequestPB |
4769 | | |
4770 | | // optional bytes dest_uuid = 1; |
4771 | 0 | inline bool CopartitionTableRequestPB::has_dest_uuid() const { |
4772 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4773 | 0 | } |
4774 | 0 | inline void CopartitionTableRequestPB::set_has_dest_uuid() { |
4775 | 0 | _has_bits_[0] |= 0x00000001u; |
4776 | 0 | } |
4777 | 0 | inline void CopartitionTableRequestPB::clear_has_dest_uuid() { |
4778 | 0 | _has_bits_[0] &= ~0x00000001u; |
4779 | 0 | } |
4780 | 0 | inline void CopartitionTableRequestPB::clear_dest_uuid() { |
4781 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4782 | 0 | clear_has_dest_uuid(); |
4783 | 0 | } |
4784 | 0 | inline const ::std::string& CopartitionTableRequestPB::dest_uuid() const { |
4785 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4786 | 0 | return dest_uuid_.GetNoArena(); |
4787 | 0 | } |
4788 | 0 | inline void CopartitionTableRequestPB::set_dest_uuid(const ::std::string& value) { |
4789 | 0 | set_has_dest_uuid(); |
4790 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4791 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4792 | 0 | } |
4793 | | #if LANG_CXX11 |
4794 | 0 | inline void CopartitionTableRequestPB::set_dest_uuid(::std::string&& value) { |
4795 | 0 | set_has_dest_uuid(); |
4796 | 0 | dest_uuid_.SetNoArena( |
4797 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4798 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4799 | 0 | } |
4800 | | #endif |
4801 | 0 | inline void CopartitionTableRequestPB::set_dest_uuid(const char* value) { |
4802 | 0 | GOOGLE_DCHECK(value != NULL); |
4803 | 0 | set_has_dest_uuid(); |
4804 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4805 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4806 | 0 | } |
4807 | 0 | inline void CopartitionTableRequestPB::set_dest_uuid(const void* value, size_t size) { |
4808 | 0 | set_has_dest_uuid(); |
4809 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4810 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4811 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4812 | 0 | } |
4813 | 0 | inline ::std::string* CopartitionTableRequestPB::mutable_dest_uuid() { |
4814 | 0 | set_has_dest_uuid(); |
4815 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4816 | 0 | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4817 | 0 | } |
4818 | 0 | inline ::std::string* CopartitionTableRequestPB::release_dest_uuid() { |
4819 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4820 | 0 | clear_has_dest_uuid(); |
4821 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4822 | 0 | } |
4823 | 0 | inline void CopartitionTableRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
4824 | 0 | if (dest_uuid != NULL) { |
4825 | 0 | set_has_dest_uuid(); |
4826 | 0 | } else { |
4827 | 0 | clear_has_dest_uuid(); |
4828 | 0 | } |
4829 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
4830 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CopartitionTableRequestPB.dest_uuid) |
4831 | 0 | } |
4832 | | |
4833 | | // optional bytes table_id = 2; |
4834 | 0 | inline bool CopartitionTableRequestPB::has_table_id() const { |
4835 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4836 | 0 | } |
4837 | 0 | inline void CopartitionTableRequestPB::set_has_table_id() { |
4838 | 0 | _has_bits_[0] |= 0x00000002u; |
4839 | 0 | } |
4840 | 0 | inline void CopartitionTableRequestPB::clear_has_table_id() { |
4841 | 0 | _has_bits_[0] &= ~0x00000002u; |
4842 | 0 | } |
4843 | 0 | inline void CopartitionTableRequestPB::clear_table_id() { |
4844 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4845 | 0 | clear_has_table_id(); |
4846 | 0 | } |
4847 | 0 | inline const ::std::string& CopartitionTableRequestPB::table_id() const { |
4848 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CopartitionTableRequestPB.table_id) |
4849 | 0 | return table_id_.GetNoArena(); |
4850 | 0 | } |
4851 | 0 | inline void CopartitionTableRequestPB::set_table_id(const ::std::string& value) { |
4852 | 0 | set_has_table_id(); |
4853 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4854 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CopartitionTableRequestPB.table_id) |
4855 | 0 | } |
4856 | | #if LANG_CXX11 |
4857 | 0 | inline void CopartitionTableRequestPB::set_table_id(::std::string&& value) { |
4858 | 0 | set_has_table_id(); |
4859 | 0 | table_id_.SetNoArena( |
4860 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4861 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CopartitionTableRequestPB.table_id) |
4862 | 0 | } |
4863 | | #endif |
4864 | 0 | inline void CopartitionTableRequestPB::set_table_id(const char* value) { |
4865 | 0 | GOOGLE_DCHECK(value != NULL); |
4866 | 0 | set_has_table_id(); |
4867 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4868 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CopartitionTableRequestPB.table_id) |
4869 | 0 | } |
4870 | 0 | inline void CopartitionTableRequestPB::set_table_id(const void* value, size_t size) { |
4871 | 0 | set_has_table_id(); |
4872 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4873 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4874 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CopartitionTableRequestPB.table_id) |
4875 | 0 | } |
4876 | 0 | inline ::std::string* CopartitionTableRequestPB::mutable_table_id() { |
4877 | 0 | set_has_table_id(); |
4878 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CopartitionTableRequestPB.table_id) |
4879 | 0 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4880 | 0 | } |
4881 | 0 | inline ::std::string* CopartitionTableRequestPB::release_table_id() { |
4882 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CopartitionTableRequestPB.table_id) |
4883 | 0 | clear_has_table_id(); |
4884 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4885 | 0 | } |
4886 | 0 | inline void CopartitionTableRequestPB::set_allocated_table_id(::std::string* table_id) { |
4887 | 0 | if (table_id != NULL) { |
4888 | 0 | set_has_table_id(); |
4889 | 0 | } else { |
4890 | 0 | clear_has_table_id(); |
4891 | 0 | } |
4892 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
4893 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CopartitionTableRequestPB.table_id) |
4894 | 0 | } |
4895 | | |
4896 | | // optional bytes tablet_id = 3; |
4897 | 0 | inline bool CopartitionTableRequestPB::has_tablet_id() const { |
4898 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4899 | 0 | } |
4900 | 0 | inline void CopartitionTableRequestPB::set_has_tablet_id() { |
4901 | 0 | _has_bits_[0] |= 0x00000004u; |
4902 | 0 | } |
4903 | 0 | inline void CopartitionTableRequestPB::clear_has_tablet_id() { |
4904 | 0 | _has_bits_[0] &= ~0x00000004u; |
4905 | 0 | } |
4906 | 0 | inline void CopartitionTableRequestPB::clear_tablet_id() { |
4907 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4908 | 0 | clear_has_tablet_id(); |
4909 | 0 | } |
4910 | 0 | inline const ::std::string& CopartitionTableRequestPB::tablet_id() const { |
4911 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4912 | 0 | return tablet_id_.GetNoArena(); |
4913 | 0 | } |
4914 | 0 | inline void CopartitionTableRequestPB::set_tablet_id(const ::std::string& value) { |
4915 | 0 | set_has_tablet_id(); |
4916 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4917 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4918 | 0 | } |
4919 | | #if LANG_CXX11 |
4920 | 0 | inline void CopartitionTableRequestPB::set_tablet_id(::std::string&& value) { |
4921 | 0 | set_has_tablet_id(); |
4922 | 0 | tablet_id_.SetNoArena( |
4923 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4924 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4925 | 0 | } |
4926 | | #endif |
4927 | 0 | inline void CopartitionTableRequestPB::set_tablet_id(const char* value) { |
4928 | 0 | GOOGLE_DCHECK(value != NULL); |
4929 | 0 | set_has_tablet_id(); |
4930 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4931 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4932 | 0 | } |
4933 | 0 | inline void CopartitionTableRequestPB::set_tablet_id(const void* value, size_t size) { |
4934 | 0 | set_has_tablet_id(); |
4935 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4936 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4937 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4938 | 0 | } |
4939 | 0 | inline ::std::string* CopartitionTableRequestPB::mutable_tablet_id() { |
4940 | 0 | set_has_tablet_id(); |
4941 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4942 | 0 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4943 | 0 | } |
4944 | 0 | inline ::std::string* CopartitionTableRequestPB::release_tablet_id() { |
4945 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4946 | 0 | clear_has_tablet_id(); |
4947 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4948 | 0 | } |
4949 | 0 | inline void CopartitionTableRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
4950 | 0 | if (tablet_id != NULL) { |
4951 | 0 | set_has_tablet_id(); |
4952 | 0 | } else { |
4953 | 0 | clear_has_tablet_id(); |
4954 | 0 | } |
4955 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
4956 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CopartitionTableRequestPB.tablet_id) |
4957 | 0 | } |
4958 | | |
4959 | | // optional string table_name = 4; |
4960 | 0 | inline bool CopartitionTableRequestPB::has_table_name() const { |
4961 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
4962 | 0 | } |
4963 | 0 | inline void CopartitionTableRequestPB::set_has_table_name() { |
4964 | 0 | _has_bits_[0] |= 0x00000008u; |
4965 | 0 | } |
4966 | 0 | inline void CopartitionTableRequestPB::clear_has_table_name() { |
4967 | 0 | _has_bits_[0] &= ~0x00000008u; |
4968 | 0 | } |
4969 | 0 | inline void CopartitionTableRequestPB::clear_table_name() { |
4970 | 0 | table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4971 | 0 | clear_has_table_name(); |
4972 | 0 | } |
4973 | 0 | inline const ::std::string& CopartitionTableRequestPB::table_name() const { |
4974 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CopartitionTableRequestPB.table_name) |
4975 | 0 | return table_name_.GetNoArena(); |
4976 | 0 | } |
4977 | 0 | inline void CopartitionTableRequestPB::set_table_name(const ::std::string& value) { |
4978 | 0 | set_has_table_name(); |
4979 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4980 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CopartitionTableRequestPB.table_name) |
4981 | 0 | } |
4982 | | #if LANG_CXX11 |
4983 | 0 | inline void CopartitionTableRequestPB::set_table_name(::std::string&& value) { |
4984 | 0 | set_has_table_name(); |
4985 | 0 | table_name_.SetNoArena( |
4986 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4987 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CopartitionTableRequestPB.table_name) |
4988 | 0 | } |
4989 | | #endif |
4990 | 0 | inline void CopartitionTableRequestPB::set_table_name(const char* value) { |
4991 | 0 | GOOGLE_DCHECK(value != NULL); |
4992 | 0 | set_has_table_name(); |
4993 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4994 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CopartitionTableRequestPB.table_name) |
4995 | 0 | } |
4996 | 0 | inline void CopartitionTableRequestPB::set_table_name(const char* value, size_t size) { |
4997 | 0 | set_has_table_name(); |
4998 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4999 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5000 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CopartitionTableRequestPB.table_name) |
5001 | 0 | } |
5002 | 0 | inline ::std::string* CopartitionTableRequestPB::mutable_table_name() { |
5003 | 0 | set_has_table_name(); |
5004 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CopartitionTableRequestPB.table_name) |
5005 | 0 | return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5006 | 0 | } |
5007 | 0 | inline ::std::string* CopartitionTableRequestPB::release_table_name() { |
5008 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CopartitionTableRequestPB.table_name) |
5009 | 0 | clear_has_table_name(); |
5010 | 0 | return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5011 | 0 | } |
5012 | 0 | inline void CopartitionTableRequestPB::set_allocated_table_name(::std::string* table_name) { |
5013 | 0 | if (table_name != NULL) { |
5014 | 0 | set_has_table_name(); |
5015 | 0 | } else { |
5016 | 0 | clear_has_table_name(); |
5017 | 0 | } |
5018 | 0 | table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name); |
5019 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CopartitionTableRequestPB.table_name) |
5020 | 0 | } |
5021 | | |
5022 | | // ------------------------------------------------------------------- |
5023 | | |
5024 | | // CopartitionTableResponsePB |
5025 | | |
5026 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
5027 | 0 | inline bool CopartitionTableResponsePB::has_error() const { |
5028 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5029 | 0 | } |
5030 | 0 | inline void CopartitionTableResponsePB::set_has_error() { |
5031 | 0 | _has_bits_[0] |= 0x00000001u; |
5032 | 0 | } |
5033 | 0 | inline void CopartitionTableResponsePB::clear_has_error() { |
5034 | 0 | _has_bits_[0] &= ~0x00000001u; |
5035 | 0 | } |
5036 | 0 | inline const ::yb::tserver::TabletServerErrorPB& CopartitionTableResponsePB::error() const { |
5037 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
5038 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CopartitionTableResponsePB.error) |
5039 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
5040 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
5041 | 0 | } |
5042 | 0 | inline ::yb::tserver::TabletServerErrorPB* CopartitionTableResponsePB::release_error() { |
5043 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CopartitionTableResponsePB.error) |
5044 | 0 | clear_has_error(); |
5045 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
5046 | 0 | error_ = NULL; |
5047 | 0 | return temp; |
5048 | 0 | } |
5049 | 0 | inline ::yb::tserver::TabletServerErrorPB* CopartitionTableResponsePB::mutable_error() { |
5050 | 0 | set_has_error(); |
5051 | 0 | if (error_ == NULL) { |
5052 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
5053 | 0 | } |
5054 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CopartitionTableResponsePB.error) |
5055 | 0 | return error_; |
5056 | 0 | } |
5057 | 0 | inline void CopartitionTableResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
5058 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5059 | 0 | if (message_arena == NULL) { |
5060 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5061 | 0 | } |
5062 | 0 | if (error) { |
5063 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5064 | 0 | if (message_arena != submessage_arena) { |
5065 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5066 | 0 | message_arena, error, submessage_arena); |
5067 | 0 | } |
5068 | 0 | set_has_error(); |
5069 | 0 | } else { |
5070 | 0 | clear_has_error(); |
5071 | 0 | } |
5072 | 0 | error_ = error; |
5073 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CopartitionTableResponsePB.error) |
5074 | 0 | } |
5075 | | |
5076 | | // ------------------------------------------------------------------- |
5077 | | |
5078 | | // CreateTabletRequestPB |
5079 | | |
5080 | | // optional bytes dest_uuid = 8; |
5081 | 272k | inline bool CreateTabletRequestPB::has_dest_uuid() const { |
5082 | 272k | return (_has_bits_[0] & 0x00000020u) != 0; |
5083 | 272k | } |
5084 | 280k | inline void CreateTabletRequestPB::set_has_dest_uuid() { |
5085 | 280k | _has_bits_[0] |= 0x00000020u; |
5086 | 280k | } |
5087 | 0 | inline void CreateTabletRequestPB::clear_has_dest_uuid() { |
5088 | 0 | _has_bits_[0] &= ~0x00000020u; |
5089 | 0 | } |
5090 | 0 | inline void CreateTabletRequestPB::clear_dest_uuid() { |
5091 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5092 | 0 | clear_has_dest_uuid(); |
5093 | 0 | } |
5094 | 828k | inline const ::std::string& CreateTabletRequestPB::dest_uuid() const { |
5095 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5096 | 828k | return dest_uuid_.GetNoArena(); |
5097 | 828k | } |
5098 | 140k | inline void CreateTabletRequestPB::set_dest_uuid(const ::std::string& value) { |
5099 | 140k | set_has_dest_uuid(); |
5100 | 140k | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5101 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5102 | 140k | } |
5103 | | #if LANG_CXX11 |
5104 | 0 | inline void CreateTabletRequestPB::set_dest_uuid(::std::string&& value) { |
5105 | 0 | set_has_dest_uuid(); |
5106 | 0 | dest_uuid_.SetNoArena( |
5107 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5108 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5109 | 0 | } |
5110 | | #endif |
5111 | 0 | inline void CreateTabletRequestPB::set_dest_uuid(const char* value) { |
5112 | 0 | GOOGLE_DCHECK(value != NULL); |
5113 | 0 | set_has_dest_uuid(); |
5114 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5115 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5116 | 0 | } |
5117 | 0 | inline void CreateTabletRequestPB::set_dest_uuid(const void* value, size_t size) { |
5118 | 0 | set_has_dest_uuid(); |
5119 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5120 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5121 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5122 | 0 | } |
5123 | 139k | inline ::std::string* CreateTabletRequestPB::mutable_dest_uuid() { |
5124 | 139k | set_has_dest_uuid(); |
5125 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5126 | 139k | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5127 | 139k | } |
5128 | 0 | inline ::std::string* CreateTabletRequestPB::release_dest_uuid() { |
5129 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5130 | 0 | clear_has_dest_uuid(); |
5131 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5132 | 0 | } |
5133 | 0 | inline void CreateTabletRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
5134 | 0 | if (dest_uuid != NULL) { |
5135 | 0 | set_has_dest_uuid(); |
5136 | 0 | } else { |
5137 | 0 | clear_has_dest_uuid(); |
5138 | 0 | } |
5139 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
5140 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.dest_uuid) |
5141 | 0 | } |
5142 | | |
5143 | | // required bytes table_id = 1; |
5144 | 0 | inline bool CreateTabletRequestPB::has_table_id() const { |
5145 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5146 | 0 | } |
5147 | 280k | inline void CreateTabletRequestPB::set_has_table_id() { |
5148 | 280k | _has_bits_[0] |= 0x00000001u; |
5149 | 280k | } |
5150 | 0 | inline void CreateTabletRequestPB::clear_has_table_id() { |
5151 | 0 | _has_bits_[0] &= ~0x00000001u; |
5152 | 0 | } |
5153 | 0 | inline void CreateTabletRequestPB::clear_table_id() { |
5154 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5155 | 0 | clear_has_table_id(); |
5156 | 0 | } |
5157 | 685k | inline const ::std::string& CreateTabletRequestPB::table_id() const { |
5158 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.table_id) |
5159 | 685k | return table_id_.GetNoArena(); |
5160 | 685k | } |
5161 | 140k | inline void CreateTabletRequestPB::set_table_id(const ::std::string& value) { |
5162 | 140k | set_has_table_id(); |
5163 | 140k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5164 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.table_id) |
5165 | 140k | } |
5166 | | #if LANG_CXX11 |
5167 | 0 | inline void CreateTabletRequestPB::set_table_id(::std::string&& value) { |
5168 | 0 | set_has_table_id(); |
5169 | 0 | table_id_.SetNoArena( |
5170 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5171 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.table_id) |
5172 | 0 | } |
5173 | | #endif |
5174 | | inline void CreateTabletRequestPB::set_table_id(const char* value) { |
5175 | | GOOGLE_DCHECK(value != NULL); |
5176 | | set_has_table_id(); |
5177 | | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5178 | | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.table_id) |
5179 | | } |
5180 | 0 | inline void CreateTabletRequestPB::set_table_id(const void* value, size_t size) { |
5181 | 0 | set_has_table_id(); |
5182 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5183 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5184 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.table_id) |
5185 | 0 | } |
5186 | 139k | inline ::std::string* CreateTabletRequestPB::mutable_table_id() { |
5187 | 139k | set_has_table_id(); |
5188 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.table_id) |
5189 | 139k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5190 | 139k | } |
5191 | 0 | inline ::std::string* CreateTabletRequestPB::release_table_id() { |
5192 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.table_id) |
5193 | 0 | clear_has_table_id(); |
5194 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5195 | 0 | } |
5196 | 0 | inline void CreateTabletRequestPB::set_allocated_table_id(::std::string* table_id) { |
5197 | 0 | if (table_id != NULL) { |
5198 | 0 | set_has_table_id(); |
5199 | 0 | } else { |
5200 | 0 | clear_has_table_id(); |
5201 | 0 | } |
5202 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
5203 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.table_id) |
5204 | 0 | } |
5205 | | |
5206 | | // required bytes tablet_id = 2; |
5207 | 0 | inline bool CreateTabletRequestPB::has_tablet_id() const { |
5208 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5209 | 0 | } |
5210 | 280k | inline void CreateTabletRequestPB::set_has_tablet_id() { |
5211 | 280k | _has_bits_[0] |= 0x00000002u; |
5212 | 280k | } |
5213 | 0 | inline void CreateTabletRequestPB::clear_has_tablet_id() { |
5214 | 0 | _has_bits_[0] &= ~0x00000002u; |
5215 | 0 | } |
5216 | 0 | inline void CreateTabletRequestPB::clear_tablet_id() { |
5217 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5218 | 0 | clear_has_tablet_id(); |
5219 | 0 | } |
5220 | 684k | inline const ::std::string& CreateTabletRequestPB::tablet_id() const { |
5221 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.tablet_id) |
5222 | 684k | return tablet_id_.GetNoArena(); |
5223 | 684k | } |
5224 | 140k | inline void CreateTabletRequestPB::set_tablet_id(const ::std::string& value) { |
5225 | 140k | set_has_tablet_id(); |
5226 | 140k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5227 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.tablet_id) |
5228 | 140k | } |
5229 | | #if LANG_CXX11 |
5230 | 0 | inline void CreateTabletRequestPB::set_tablet_id(::std::string&& value) { |
5231 | 0 | set_has_tablet_id(); |
5232 | 0 | tablet_id_.SetNoArena( |
5233 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5234 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.tablet_id) |
5235 | 0 | } |
5236 | | #endif |
5237 | | inline void CreateTabletRequestPB::set_tablet_id(const char* value) { |
5238 | | GOOGLE_DCHECK(value != NULL); |
5239 | | set_has_tablet_id(); |
5240 | | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5241 | | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.tablet_id) |
5242 | | } |
5243 | 0 | inline void CreateTabletRequestPB::set_tablet_id(const void* value, size_t size) { |
5244 | 0 | set_has_tablet_id(); |
5245 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5246 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5247 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.tablet_id) |
5248 | 0 | } |
5249 | 139k | inline ::std::string* CreateTabletRequestPB::mutable_tablet_id() { |
5250 | 139k | set_has_tablet_id(); |
5251 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.tablet_id) |
5252 | 139k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5253 | 139k | } |
5254 | 0 | inline ::std::string* CreateTabletRequestPB::release_tablet_id() { |
5255 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.tablet_id) |
5256 | 0 | clear_has_tablet_id(); |
5257 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5258 | 0 | } |
5259 | 0 | inline void CreateTabletRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
5260 | 0 | if (tablet_id != NULL) { |
5261 | 0 | set_has_tablet_id(); |
5262 | 0 | } else { |
5263 | 0 | clear_has_tablet_id(); |
5264 | 0 | } |
5265 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
5266 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.tablet_id) |
5267 | 0 | } |
5268 | | |
5269 | | // optional bytes start_key = 3; |
5270 | 0 | inline bool CreateTabletRequestPB::has_start_key() const { |
5271 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5272 | 0 | } |
5273 | 0 | inline void CreateTabletRequestPB::set_has_start_key() { |
5274 | 0 | _has_bits_[0] |= 0x00000004u; |
5275 | 0 | } |
5276 | 0 | inline void CreateTabletRequestPB::clear_has_start_key() { |
5277 | 0 | _has_bits_[0] &= ~0x00000004u; |
5278 | 0 | } |
5279 | 0 | inline void CreateTabletRequestPB::clear_start_key() { |
5280 | 0 | start_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5281 | 0 | clear_has_start_key(); |
5282 | 0 | } |
5283 | 0 | inline const ::std::string& CreateTabletRequestPB::start_key() const { |
5284 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.start_key) |
5285 | 0 | return start_key_.GetNoArena(); |
5286 | 0 | } |
5287 | 0 | inline void CreateTabletRequestPB::set_start_key(const ::std::string& value) { |
5288 | 0 | set_has_start_key(); |
5289 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5290 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.start_key) |
5291 | 0 | } |
5292 | | #if LANG_CXX11 |
5293 | 0 | inline void CreateTabletRequestPB::set_start_key(::std::string&& value) { |
5294 | 0 | set_has_start_key(); |
5295 | 0 | start_key_.SetNoArena( |
5296 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5297 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.start_key) |
5298 | 0 | } |
5299 | | #endif |
5300 | 0 | inline void CreateTabletRequestPB::set_start_key(const char* value) { |
5301 | 0 | GOOGLE_DCHECK(value != NULL); |
5302 | 0 | set_has_start_key(); |
5303 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5304 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.start_key) |
5305 | 0 | } |
5306 | 0 | inline void CreateTabletRequestPB::set_start_key(const void* value, size_t size) { |
5307 | 0 | set_has_start_key(); |
5308 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5309 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5310 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.start_key) |
5311 | 0 | } |
5312 | 0 | inline ::std::string* CreateTabletRequestPB::mutable_start_key() { |
5313 | 0 | set_has_start_key(); |
5314 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.start_key) |
5315 | 0 | return start_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5316 | 0 | } |
5317 | 0 | inline ::std::string* CreateTabletRequestPB::release_start_key() { |
5318 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.start_key) |
5319 | 0 | clear_has_start_key(); |
5320 | 0 | return start_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5321 | 0 | } |
5322 | 0 | inline void CreateTabletRequestPB::set_allocated_start_key(::std::string* start_key) { |
5323 | 0 | if (start_key != NULL) { |
5324 | 0 | set_has_start_key(); |
5325 | 0 | } else { |
5326 | 0 | clear_has_start_key(); |
5327 | 0 | } |
5328 | 0 | start_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), start_key); |
5329 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.start_key) |
5330 | 0 | } |
5331 | | |
5332 | | // optional bytes end_key = 4; |
5333 | 0 | inline bool CreateTabletRequestPB::has_end_key() const { |
5334 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
5335 | 0 | } |
5336 | 0 | inline void CreateTabletRequestPB::set_has_end_key() { |
5337 | 0 | _has_bits_[0] |= 0x00000008u; |
5338 | 0 | } |
5339 | 0 | inline void CreateTabletRequestPB::clear_has_end_key() { |
5340 | 0 | _has_bits_[0] &= ~0x00000008u; |
5341 | 0 | } |
5342 | 0 | inline void CreateTabletRequestPB::clear_end_key() { |
5343 | 0 | end_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5344 | 0 | clear_has_end_key(); |
5345 | 0 | } |
5346 | 0 | inline const ::std::string& CreateTabletRequestPB::end_key() const { |
5347 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.end_key) |
5348 | 0 | return end_key_.GetNoArena(); |
5349 | 0 | } |
5350 | 0 | inline void CreateTabletRequestPB::set_end_key(const ::std::string& value) { |
5351 | 0 | set_has_end_key(); |
5352 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5353 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.end_key) |
5354 | 0 | } |
5355 | | #if LANG_CXX11 |
5356 | 0 | inline void CreateTabletRequestPB::set_end_key(::std::string&& value) { |
5357 | 0 | set_has_end_key(); |
5358 | 0 | end_key_.SetNoArena( |
5359 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5360 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.end_key) |
5361 | 0 | } |
5362 | | #endif |
5363 | 0 | inline void CreateTabletRequestPB::set_end_key(const char* value) { |
5364 | 0 | GOOGLE_DCHECK(value != NULL); |
5365 | 0 | set_has_end_key(); |
5366 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5367 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.end_key) |
5368 | 0 | } |
5369 | 0 | inline void CreateTabletRequestPB::set_end_key(const void* value, size_t size) { |
5370 | 0 | set_has_end_key(); |
5371 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5372 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5373 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.end_key) |
5374 | 0 | } |
5375 | 0 | inline ::std::string* CreateTabletRequestPB::mutable_end_key() { |
5376 | 0 | set_has_end_key(); |
5377 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.end_key) |
5378 | 0 | return end_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5379 | 0 | } |
5380 | 0 | inline ::std::string* CreateTabletRequestPB::release_end_key() { |
5381 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.end_key) |
5382 | 0 | clear_has_end_key(); |
5383 | 0 | return end_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5384 | 0 | } |
5385 | 0 | inline void CreateTabletRequestPB::set_allocated_end_key(::std::string* end_key) { |
5386 | 0 | if (end_key != NULL) { |
5387 | 0 | set_has_end_key(); |
5388 | 0 | } else { |
5389 | 0 | clear_has_end_key(); |
5390 | 0 | } |
5391 | 0 | end_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), end_key); |
5392 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.end_key) |
5393 | 0 | } |
5394 | | |
5395 | | // optional .yb.PartitionPB partition = 9; |
5396 | 273k | inline bool CreateTabletRequestPB::has_partition() const { |
5397 | 273k | return (_has_bits_[0] & 0x00000400u) != 0; |
5398 | 273k | } |
5399 | 279k | inline void CreateTabletRequestPB::set_has_partition() { |
5400 | 279k | _has_bits_[0] |= 0x00000400u; |
5401 | 279k | } |
5402 | 0 | inline void CreateTabletRequestPB::clear_has_partition() { |
5403 | 0 | _has_bits_[0] &= ~0x00000400u; |
5404 | 0 | } |
5405 | 139k | inline const ::yb::PartitionPB& CreateTabletRequestPB::partition() const { |
5406 | 139k | const ::yb::PartitionPB* p = partition_; |
5407 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.partition) |
5408 | 18.4E | return p != NULL139k ? *p139k : *reinterpret_cast<const ::yb::PartitionPB*>( |
5409 | 18.4E | &::yb::_PartitionPB_default_instance_); |
5410 | 139k | } |
5411 | 0 | inline ::yb::PartitionPB* CreateTabletRequestPB::release_partition() { |
5412 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.partition) |
5413 | 0 | clear_has_partition(); |
5414 | 0 | ::yb::PartitionPB* temp = partition_; |
5415 | 0 | partition_ = NULL; |
5416 | 0 | return temp; |
5417 | 0 | } |
5418 | 280k | inline ::yb::PartitionPB* CreateTabletRequestPB::mutable_partition() { |
5419 | 280k | set_has_partition(); |
5420 | 280k | if (partition_ == NULL) { |
5421 | 279k | partition_ = new ::yb::PartitionPB; |
5422 | 279k | } |
5423 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.partition) |
5424 | 280k | return partition_; |
5425 | 280k | } |
5426 | 0 | inline void CreateTabletRequestPB::set_allocated_partition(::yb::PartitionPB* partition) { |
5427 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5428 | 0 | if (message_arena == NULL) { |
5429 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_); |
5430 | 0 | } |
5431 | 0 | if (partition) { |
5432 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5433 | 0 | if (message_arena != submessage_arena) { |
5434 | 0 | partition = ::google::protobuf::internal::GetOwnedMessage( |
5435 | 0 | message_arena, partition, submessage_arena); |
5436 | 0 | } |
5437 | 0 | set_has_partition(); |
5438 | 0 | } else { |
5439 | 0 | clear_has_partition(); |
5440 | 0 | } |
5441 | 0 | partition_ = partition; |
5442 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.partition) |
5443 | 0 | } |
5444 | | |
5445 | | // optional bytes namespace_id = 14; |
5446 | 269k | inline bool CreateTabletRequestPB::has_namespace_id() const { |
5447 | 269k | return (_has_bits_[0] & 0x00000040u) != 0; |
5448 | 269k | } |
5449 | 279k | inline void CreateTabletRequestPB::set_has_namespace_id() { |
5450 | 279k | _has_bits_[0] |= 0x00000040u; |
5451 | 279k | } |
5452 | 0 | inline void CreateTabletRequestPB::clear_has_namespace_id() { |
5453 | 0 | _has_bits_[0] &= ~0x00000040u; |
5454 | 0 | } |
5455 | 0 | inline void CreateTabletRequestPB::clear_namespace_id() { |
5456 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5457 | 0 | clear_has_namespace_id(); |
5458 | 0 | } |
5459 | 406k | inline const ::std::string& CreateTabletRequestPB::namespace_id() const { |
5460 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.namespace_id) |
5461 | 406k | return namespace_id_.GetNoArena(); |
5462 | 406k | } |
5463 | 140k | inline void CreateTabletRequestPB::set_namespace_id(const ::std::string& value) { |
5464 | 140k | set_has_namespace_id(); |
5465 | 140k | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5466 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.namespace_id) |
5467 | 140k | } |
5468 | | #if LANG_CXX11 |
5469 | 0 | inline void CreateTabletRequestPB::set_namespace_id(::std::string&& value) { |
5470 | 0 | set_has_namespace_id(); |
5471 | 0 | namespace_id_.SetNoArena( |
5472 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5473 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.namespace_id) |
5474 | 0 | } |
5475 | | #endif |
5476 | 0 | inline void CreateTabletRequestPB::set_namespace_id(const char* value) { |
5477 | 0 | GOOGLE_DCHECK(value != NULL); |
5478 | 0 | set_has_namespace_id(); |
5479 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5480 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.namespace_id) |
5481 | 0 | } |
5482 | 0 | inline void CreateTabletRequestPB::set_namespace_id(const void* value, size_t size) { |
5483 | 0 | set_has_namespace_id(); |
5484 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5485 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5486 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.namespace_id) |
5487 | 0 | } |
5488 | 139k | inline ::std::string* CreateTabletRequestPB::mutable_namespace_id() { |
5489 | 139k | set_has_namespace_id(); |
5490 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.namespace_id) |
5491 | 139k | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5492 | 139k | } |
5493 | 0 | inline ::std::string* CreateTabletRequestPB::release_namespace_id() { |
5494 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.namespace_id) |
5495 | 0 | clear_has_namespace_id(); |
5496 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5497 | 0 | } |
5498 | 0 | inline void CreateTabletRequestPB::set_allocated_namespace_id(::std::string* namespace_id) { |
5499 | 0 | if (namespace_id != NULL) { |
5500 | 0 | set_has_namespace_id(); |
5501 | 0 | } else { |
5502 | 0 | clear_has_namespace_id(); |
5503 | 0 | } |
5504 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
5505 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.namespace_id) |
5506 | 0 | } |
5507 | | |
5508 | | // optional bytes namespace_name = 15; |
5509 | 269k | inline bool CreateTabletRequestPB::has_namespace_name() const { |
5510 | 269k | return (_has_bits_[0] & 0x00000080u) != 0; |
5511 | 269k | } |
5512 | 279k | inline void CreateTabletRequestPB::set_has_namespace_name() { |
5513 | 279k | _has_bits_[0] |= 0x00000080u; |
5514 | 279k | } |
5515 | 0 | inline void CreateTabletRequestPB::clear_has_namespace_name() { |
5516 | 0 | _has_bits_[0] &= ~0x00000080u; |
5517 | 0 | } |
5518 | 0 | inline void CreateTabletRequestPB::clear_namespace_name() { |
5519 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5520 | 0 | clear_has_namespace_name(); |
5521 | 0 | } |
5522 | 544k | inline const ::std::string& CreateTabletRequestPB::namespace_name() const { |
5523 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.namespace_name) |
5524 | 544k | return namespace_name_.GetNoArena(); |
5525 | 544k | } |
5526 | 140k | inline void CreateTabletRequestPB::set_namespace_name(const ::std::string& value) { |
5527 | 140k | set_has_namespace_name(); |
5528 | 140k | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5529 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.namespace_name) |
5530 | 140k | } |
5531 | | #if LANG_CXX11 |
5532 | 0 | inline void CreateTabletRequestPB::set_namespace_name(::std::string&& value) { |
5533 | 0 | set_has_namespace_name(); |
5534 | 0 | namespace_name_.SetNoArena( |
5535 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5536 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.namespace_name) |
5537 | 0 | } |
5538 | | #endif |
5539 | 0 | inline void CreateTabletRequestPB::set_namespace_name(const char* value) { |
5540 | 0 | GOOGLE_DCHECK(value != NULL); |
5541 | 0 | set_has_namespace_name(); |
5542 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5543 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.namespace_name) |
5544 | 0 | } |
5545 | 0 | inline void CreateTabletRequestPB::set_namespace_name(const void* value, size_t size) { |
5546 | 0 | set_has_namespace_name(); |
5547 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5548 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5549 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.namespace_name) |
5550 | 0 | } |
5551 | 139k | inline ::std::string* CreateTabletRequestPB::mutable_namespace_name() { |
5552 | 139k | set_has_namespace_name(); |
5553 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.namespace_name) |
5554 | 139k | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5555 | 139k | } |
5556 | 0 | inline ::std::string* CreateTabletRequestPB::release_namespace_name() { |
5557 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.namespace_name) |
5558 | 0 | clear_has_namespace_name(); |
5559 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5560 | 0 | } |
5561 | 0 | inline void CreateTabletRequestPB::set_allocated_namespace_name(::std::string* namespace_name) { |
5562 | 0 | if (namespace_name != NULL) { |
5563 | 0 | set_has_namespace_name(); |
5564 | 0 | } else { |
5565 | 0 | clear_has_namespace_name(); |
5566 | 0 | } |
5567 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
5568 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.namespace_name) |
5569 | 0 | } |
5570 | | |
5571 | | // required string table_name = 5; |
5572 | 0 | inline bool CreateTabletRequestPB::has_table_name() const { |
5573 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
5574 | 0 | } |
5575 | 280k | inline void CreateTabletRequestPB::set_has_table_name() { |
5576 | 280k | _has_bits_[0] |= 0x00000010u; |
5577 | 280k | } |
5578 | 0 | inline void CreateTabletRequestPB::clear_has_table_name() { |
5579 | 0 | _has_bits_[0] &= ~0x00000010u; |
5580 | 0 | } |
5581 | 0 | inline void CreateTabletRequestPB::clear_table_name() { |
5582 | 0 | table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5583 | 0 | clear_has_table_name(); |
5584 | 0 | } |
5585 | 1.22M | inline const ::std::string& CreateTabletRequestPB::table_name() const { |
5586 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.table_name) |
5587 | 1.22M | return table_name_.GetNoArena(); |
5588 | 1.22M | } |
5589 | 140k | inline void CreateTabletRequestPB::set_table_name(const ::std::string& value) { |
5590 | 140k | set_has_table_name(); |
5591 | 140k | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5592 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.table_name) |
5593 | 140k | } |
5594 | | #if LANG_CXX11 |
5595 | 0 | inline void CreateTabletRequestPB::set_table_name(::std::string&& value) { |
5596 | 0 | set_has_table_name(); |
5597 | 0 | table_name_.SetNoArena( |
5598 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5599 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.CreateTabletRequestPB.table_name) |
5600 | 0 | } |
5601 | | #endif |
5602 | | inline void CreateTabletRequestPB::set_table_name(const char* value) { |
5603 | | GOOGLE_DCHECK(value != NULL); |
5604 | | set_has_table_name(); |
5605 | | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5606 | | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.table_name) |
5607 | | } |
5608 | 0 | inline void CreateTabletRequestPB::set_table_name(const char* value, size_t size) { |
5609 | 0 | set_has_table_name(); |
5610 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5611 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5612 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.table_name) |
5613 | 0 | } |
5614 | 139k | inline ::std::string* CreateTabletRequestPB::mutable_table_name() { |
5615 | 139k | set_has_table_name(); |
5616 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.table_name) |
5617 | 139k | return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5618 | 139k | } |
5619 | 0 | inline ::std::string* CreateTabletRequestPB::release_table_name() { |
5620 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.table_name) |
5621 | 0 | clear_has_table_name(); |
5622 | 0 | return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5623 | 0 | } |
5624 | 0 | inline void CreateTabletRequestPB::set_allocated_table_name(::std::string* table_name) { |
5625 | 0 | if (table_name != NULL) { |
5626 | 0 | set_has_table_name(); |
5627 | 0 | } else { |
5628 | 0 | clear_has_table_name(); |
5629 | 0 | } |
5630 | 0 | table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name); |
5631 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.table_name) |
5632 | 0 | } |
5633 | | |
5634 | | // optional .yb.TableType table_type = 11; |
5635 | 268k | inline bool CreateTabletRequestPB::has_table_type() const { |
5636 | 268k | return (_has_bits_[0] & 0x00004000u) != 0; |
5637 | 268k | } |
5638 | 278k | inline void CreateTabletRequestPB::set_has_table_type() { |
5639 | 278k | _has_bits_[0] |= 0x00004000u; |
5640 | 278k | } |
5641 | 0 | inline void CreateTabletRequestPB::clear_has_table_type() { |
5642 | 0 | _has_bits_[0] &= ~0x00004000u; |
5643 | 0 | } |
5644 | 0 | inline void CreateTabletRequestPB::clear_table_type() { |
5645 | 0 | table_type_ = 2; |
5646 | 0 | clear_has_table_type(); |
5647 | 0 | } |
5648 | 545k | inline ::yb::TableType CreateTabletRequestPB::table_type() const { |
5649 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.table_type) |
5650 | 545k | return static_cast< ::yb::TableType >(table_type_); |
5651 | 545k | } |
5652 | 279k | inline void CreateTabletRequestPB::set_table_type(::yb::TableType value) { |
5653 | 279k | assert(::yb::TableType_IsValid(value)); |
5654 | 0 | set_has_table_type(); |
5655 | 279k | table_type_ = value; |
5656 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.table_type) |
5657 | 279k | } |
5658 | | |
5659 | | // required .yb.SchemaPB schema = 6; |
5660 | 277k | inline bool CreateTabletRequestPB::has_schema() const { |
5661 | 277k | return (_has_bits_[0] & 0x00000100u) != 0; |
5662 | 277k | } |
5663 | 280k | inline void CreateTabletRequestPB::set_has_schema() { |
5664 | 280k | _has_bits_[0] |= 0x00000100u; |
5665 | 280k | } |
5666 | 0 | inline void CreateTabletRequestPB::clear_has_schema() { |
5667 | 0 | _has_bits_[0] &= ~0x00000100u; |
5668 | 0 | } |
5669 | 139k | inline const ::yb::SchemaPB& CreateTabletRequestPB::schema() const { |
5670 | 139k | const ::yb::SchemaPB* p = schema_; |
5671 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.schema) |
5672 | 139k | return p != NULL ? *p139k : *reinterpret_cast<const ::yb::SchemaPB*>( |
5673 | 21 | &::yb::_SchemaPB_default_instance_); |
5674 | 139k | } |
5675 | 0 | inline ::yb::SchemaPB* CreateTabletRequestPB::release_schema() { |
5676 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.schema) |
5677 | 0 | clear_has_schema(); |
5678 | 0 | ::yb::SchemaPB* temp = schema_; |
5679 | 0 | schema_ = NULL; |
5680 | 0 | return temp; |
5681 | 0 | } |
5682 | 280k | inline ::yb::SchemaPB* CreateTabletRequestPB::mutable_schema() { |
5683 | 280k | set_has_schema(); |
5684 | 280k | if (schema_ == NULL) { |
5685 | 280k | schema_ = new ::yb::SchemaPB; |
5686 | 280k | } |
5687 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.schema) |
5688 | 280k | return schema_; |
5689 | 280k | } |
5690 | 0 | inline void CreateTabletRequestPB::set_allocated_schema(::yb::SchemaPB* schema) { |
5691 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5692 | 0 | if (message_arena == NULL) { |
5693 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(schema_); |
5694 | 0 | } |
5695 | 0 | if (schema) { |
5696 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5697 | 0 | if (message_arena != submessage_arena) { |
5698 | 0 | schema = ::google::protobuf::internal::GetOwnedMessage( |
5699 | 0 | message_arena, schema, submessage_arena); |
5700 | 0 | } |
5701 | 0 | set_has_schema(); |
5702 | 0 | } else { |
5703 | 0 | clear_has_schema(); |
5704 | 0 | } |
5705 | 0 | schema_ = schema; |
5706 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.schema) |
5707 | 0 | } |
5708 | | |
5709 | | // optional .yb.PartitionSchemaPB partition_schema = 10; |
5710 | 548k | inline bool CreateTabletRequestPB::has_partition_schema() const { |
5711 | 548k | return (_has_bits_[0] & 0x00000800u) != 0; |
5712 | 548k | } |
5713 | 279k | inline void CreateTabletRequestPB::set_has_partition_schema() { |
5714 | 279k | _has_bits_[0] |= 0x00000800u; |
5715 | 279k | } |
5716 | 0 | inline void CreateTabletRequestPB::clear_has_partition_schema() { |
5717 | 0 | _has_bits_[0] &= ~0x00000800u; |
5718 | 0 | } |
5719 | 138k | inline const ::yb::PartitionSchemaPB& CreateTabletRequestPB::partition_schema() const { |
5720 | 138k | const ::yb::PartitionSchemaPB* p = partition_schema_; |
5721 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.partition_schema) |
5722 | 138k | return p != NULL ? *p138k : *reinterpret_cast<const ::yb::PartitionSchemaPB*>( |
5723 | 1 | &::yb::_PartitionSchemaPB_default_instance_); |
5724 | 138k | } |
5725 | 0 | inline ::yb::PartitionSchemaPB* CreateTabletRequestPB::release_partition_schema() { |
5726 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.partition_schema) |
5727 | 0 | clear_has_partition_schema(); |
5728 | 0 | ::yb::PartitionSchemaPB* temp = partition_schema_; |
5729 | 0 | partition_schema_ = NULL; |
5730 | 0 | return temp; |
5731 | 0 | } |
5732 | 279k | inline ::yb::PartitionSchemaPB* CreateTabletRequestPB::mutable_partition_schema() { |
5733 | 279k | set_has_partition_schema(); |
5734 | 279k | if (partition_schema_ == NULL) { |
5735 | 279k | partition_schema_ = new ::yb::PartitionSchemaPB; |
5736 | 279k | } |
5737 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.partition_schema) |
5738 | 279k | return partition_schema_; |
5739 | 279k | } |
5740 | 0 | inline void CreateTabletRequestPB::set_allocated_partition_schema(::yb::PartitionSchemaPB* partition_schema) { |
5741 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5742 | 0 | if (message_arena == NULL) { |
5743 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_schema_); |
5744 | 0 | } |
5745 | 0 | if (partition_schema) { |
5746 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5747 | 0 | if (message_arena != submessage_arena) { |
5748 | 0 | partition_schema = ::google::protobuf::internal::GetOwnedMessage( |
5749 | 0 | message_arena, partition_schema, submessage_arena); |
5750 | 0 | } |
5751 | 0 | set_has_partition_schema(); |
5752 | 0 | } else { |
5753 | 0 | clear_has_partition_schema(); |
5754 | 0 | } |
5755 | 0 | partition_schema_ = partition_schema; |
5756 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.partition_schema) |
5757 | 0 | } |
5758 | | |
5759 | | // required .yb.consensus.RaftConfigPB config = 7; |
5760 | 276k | inline bool CreateTabletRequestPB::has_config() const { |
5761 | 276k | return (_has_bits_[0] & 0x00000200u) != 0; |
5762 | 276k | } |
5763 | 279k | inline void CreateTabletRequestPB::set_has_config() { |
5764 | 279k | _has_bits_[0] |= 0x00000200u; |
5765 | 279k | } |
5766 | 0 | inline void CreateTabletRequestPB::clear_has_config() { |
5767 | 0 | _has_bits_[0] &= ~0x00000200u; |
5768 | 0 | } |
5769 | 139k | inline const ::yb::consensus::RaftConfigPB& CreateTabletRequestPB::config() const { |
5770 | 139k | const ::yb::consensus::RaftConfigPB* p = config_; |
5771 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.config) |
5772 | 18.4E | return p != NULL139k ? *p139k : *reinterpret_cast<const ::yb::consensus::RaftConfigPB*>( |
5773 | 18.4E | &::yb::consensus::_RaftConfigPB_default_instance_); |
5774 | 139k | } |
5775 | 0 | inline ::yb::consensus::RaftConfigPB* CreateTabletRequestPB::release_config() { |
5776 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.config) |
5777 | 0 | clear_has_config(); |
5778 | 0 | ::yb::consensus::RaftConfigPB* temp = config_; |
5779 | 0 | config_ = NULL; |
5780 | 0 | return temp; |
5781 | 0 | } |
5782 | 280k | inline ::yb::consensus::RaftConfigPB* CreateTabletRequestPB::mutable_config() { |
5783 | 280k | set_has_config(); |
5784 | 280k | if (config_ == NULL) { |
5785 | 279k | config_ = new ::yb::consensus::RaftConfigPB; |
5786 | 279k | } |
5787 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.config) |
5788 | 280k | return config_; |
5789 | 280k | } |
5790 | 0 | inline void CreateTabletRequestPB::set_allocated_config(::yb::consensus::RaftConfigPB* config) { |
5791 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5792 | 0 | if (message_arena == NULL) { |
5793 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(config_); |
5794 | 0 | } |
5795 | 0 | if (config) { |
5796 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5797 | 0 | if (message_arena != submessage_arena) { |
5798 | 0 | config = ::google::protobuf::internal::GetOwnedMessage( |
5799 | 0 | message_arena, config, submessage_arena); |
5800 | 0 | } |
5801 | 0 | set_has_config(); |
5802 | 0 | } else { |
5803 | 0 | clear_has_config(); |
5804 | 0 | } |
5805 | 0 | config_ = config; |
5806 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.config) |
5807 | 0 | } |
5808 | | |
5809 | | // optional .yb.IndexInfoPB index_info = 12; |
5810 | 683k | inline bool CreateTabletRequestPB::has_index_info() const { |
5811 | 683k | return (_has_bits_[0] & 0x00001000u) != 0; |
5812 | 683k | } |
5813 | 29.4k | inline void CreateTabletRequestPB::set_has_index_info() { |
5814 | 29.4k | _has_bits_[0] |= 0x00001000u; |
5815 | 29.4k | } |
5816 | 0 | inline void CreateTabletRequestPB::clear_has_index_info() { |
5817 | 0 | _has_bits_[0] &= ~0x00001000u; |
5818 | 0 | } |
5819 | 14.7k | inline const ::yb::IndexInfoPB& CreateTabletRequestPB::index_info() const { |
5820 | 14.7k | const ::yb::IndexInfoPB* p = index_info_; |
5821 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.index_info) |
5822 | 14.7k | return p != NULL ? *p : *reinterpret_cast<const ::yb::IndexInfoPB*>( |
5823 | 0 | &::yb::_IndexInfoPB_default_instance_); |
5824 | 14.7k | } |
5825 | 0 | inline ::yb::IndexInfoPB* CreateTabletRequestPB::release_index_info() { |
5826 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletRequestPB.index_info) |
5827 | 0 | clear_has_index_info(); |
5828 | 0 | ::yb::IndexInfoPB* temp = index_info_; |
5829 | 0 | index_info_ = NULL; |
5830 | 0 | return temp; |
5831 | 0 | } |
5832 | 29.4k | inline ::yb::IndexInfoPB* CreateTabletRequestPB::mutable_index_info() { |
5833 | 29.4k | set_has_index_info(); |
5834 | 29.4k | if (index_info_ == NULL) { |
5835 | 29.4k | index_info_ = new ::yb::IndexInfoPB; |
5836 | 29.4k | } |
5837 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.index_info) |
5838 | 29.4k | return index_info_; |
5839 | 29.4k | } |
5840 | 0 | inline void CreateTabletRequestPB::set_allocated_index_info(::yb::IndexInfoPB* index_info) { |
5841 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5842 | 0 | if (message_arena == NULL) { |
5843 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(index_info_); |
5844 | 0 | } |
5845 | 0 | if (index_info) { |
5846 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5847 | 0 | if (message_arena != submessage_arena) { |
5848 | 0 | index_info = ::google::protobuf::internal::GetOwnedMessage( |
5849 | 0 | message_arena, index_info, submessage_arena); |
5850 | 0 | } |
5851 | 0 | set_has_index_info(); |
5852 | 0 | } else { |
5853 | 0 | clear_has_index_info(); |
5854 | 0 | } |
5855 | 0 | index_info_ = index_info; |
5856 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletRequestPB.index_info) |
5857 | 0 | } |
5858 | | |
5859 | | // optional bool colocated = 13 [default = false]; |
5860 | 268k | inline bool CreateTabletRequestPB::has_colocated() const { |
5861 | 268k | return (_has_bits_[0] & 0x00002000u) != 0; |
5862 | 268k | } |
5863 | 279k | inline void CreateTabletRequestPB::set_has_colocated() { |
5864 | 279k | _has_bits_[0] |= 0x00002000u; |
5865 | 279k | } |
5866 | 0 | inline void CreateTabletRequestPB::clear_has_colocated() { |
5867 | 0 | _has_bits_[0] &= ~0x00002000u; |
5868 | 0 | } |
5869 | 0 | inline void CreateTabletRequestPB::clear_colocated() { |
5870 | 0 | colocated_ = false; |
5871 | 0 | clear_has_colocated(); |
5872 | 0 | } |
5873 | 278k | inline bool CreateTabletRequestPB::colocated() const { |
5874 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.colocated) |
5875 | 278k | return colocated_; |
5876 | 278k | } |
5877 | 140k | inline void CreateTabletRequestPB::set_colocated(bool value) { |
5878 | 140k | set_has_colocated(); |
5879 | 140k | colocated_ = value; |
5880 | | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.colocated) |
5881 | 140k | } |
5882 | | |
5883 | | // repeated bytes snapshot_schedules = 16; |
5884 | 680k | inline int CreateTabletRequestPB::snapshot_schedules_size() const { |
5885 | 680k | return snapshot_schedules_.size(); |
5886 | 680k | } |
5887 | 0 | inline void CreateTabletRequestPB::clear_snapshot_schedules() { |
5888 | 0 | snapshot_schedules_.Clear(); |
5889 | 0 | } |
5890 | 215 | inline const ::std::string& CreateTabletRequestPB::snapshot_schedules(int index) const { |
5891 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5892 | 215 | return snapshot_schedules_.Get(index); |
5893 | 215 | } |
5894 | 0 | inline ::std::string* CreateTabletRequestPB::mutable_snapshot_schedules(int index) { |
5895 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5896 | 0 | return snapshot_schedules_.Mutable(index); |
5897 | 0 | } |
5898 | 0 | inline void CreateTabletRequestPB::set_snapshot_schedules(int index, const ::std::string& value) { |
5899 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5900 | 0 | snapshot_schedules_.Mutable(index)->assign(value); |
5901 | 0 | } |
5902 | | #if LANG_CXX11 |
5903 | 0 | inline void CreateTabletRequestPB::set_snapshot_schedules(int index, ::std::string&& value) { |
5904 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5905 | 0 | snapshot_schedules_.Mutable(index)->assign(std::move(value)); |
5906 | 0 | } |
5907 | | #endif |
5908 | 0 | inline void CreateTabletRequestPB::set_snapshot_schedules(int index, const char* value) { |
5909 | 0 | GOOGLE_DCHECK(value != NULL); |
5910 | 0 | snapshot_schedules_.Mutable(index)->assign(value); |
5911 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5912 | 0 | } |
5913 | 0 | inline void CreateTabletRequestPB::set_snapshot_schedules(int index, const void* value, size_t size) { |
5914 | 0 | snapshot_schedules_.Mutable(index)->assign( |
5915 | 0 | reinterpret_cast<const char*>(value), size); |
5916 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5917 | 0 | } |
5918 | 72 | inline ::std::string* CreateTabletRequestPB::add_snapshot_schedules() { |
5919 | | // @@protoc_insertion_point(field_add_mutable:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5920 | 72 | return snapshot_schedules_.Add(); |
5921 | 72 | } |
5922 | 0 | inline void CreateTabletRequestPB::add_snapshot_schedules(const ::std::string& value) { |
5923 | 0 | snapshot_schedules_.Add()->assign(value); |
5924 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5925 | 0 | } |
5926 | | #if LANG_CXX11 |
5927 | 0 | inline void CreateTabletRequestPB::add_snapshot_schedules(::std::string&& value) { |
5928 | 0 | snapshot_schedules_.Add(std::move(value)); |
5929 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5930 | 0 | } |
5931 | | #endif |
5932 | 0 | inline void CreateTabletRequestPB::add_snapshot_schedules(const char* value) { |
5933 | 0 | GOOGLE_DCHECK(value != NULL); |
5934 | 0 | snapshot_schedules_.Add()->assign(value); |
5935 | 0 | // @@protoc_insertion_point(field_add_char:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5936 | 0 | } |
5937 | 0 | inline void CreateTabletRequestPB::add_snapshot_schedules(const void* value, size_t size) { |
5938 | 0 | snapshot_schedules_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5939 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5940 | 0 | } |
5941 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5942 | 278k | CreateTabletRequestPB::snapshot_schedules() const { |
5943 | | // @@protoc_insertion_point(field_list:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5944 | 278k | return snapshot_schedules_; |
5945 | 278k | } |
5946 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5947 | 140k | CreateTabletRequestPB::mutable_snapshot_schedules() { |
5948 | | // @@protoc_insertion_point(field_mutable_list:yb.tserver.CreateTabletRequestPB.snapshot_schedules) |
5949 | 140k | return &snapshot_schedules_; |
5950 | 140k | } |
5951 | | |
5952 | | // ------------------------------------------------------------------- |
5953 | | |
5954 | | // CreateTabletResponsePB |
5955 | | |
5956 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
5957 | 699k | inline bool CreateTabletResponsePB::has_error() const { |
5958 | 699k | return (_has_bits_[0] & 0x00000001u) != 0; |
5959 | 699k | } |
5960 | 24 | inline void CreateTabletResponsePB::set_has_error() { |
5961 | 24 | _has_bits_[0] |= 0x00000001u; |
5962 | 24 | } |
5963 | 0 | inline void CreateTabletResponsePB::clear_has_error() { |
5964 | 0 | _has_bits_[0] &= ~0x00000001u; |
5965 | 0 | } |
5966 | 12 | inline const ::yb::tserver::TabletServerErrorPB& CreateTabletResponsePB::error() const { |
5967 | 12 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
5968 | | // @@protoc_insertion_point(field_get:yb.tserver.CreateTabletResponsePB.error) |
5969 | 12 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
5970 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
5971 | 12 | } |
5972 | 0 | inline ::yb::tserver::TabletServerErrorPB* CreateTabletResponsePB::release_error() { |
5973 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CreateTabletResponsePB.error) |
5974 | 0 | clear_has_error(); |
5975 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
5976 | 0 | error_ = NULL; |
5977 | 0 | return temp; |
5978 | 0 | } |
5979 | 24 | inline ::yb::tserver::TabletServerErrorPB* CreateTabletResponsePB::mutable_error() { |
5980 | 24 | set_has_error(); |
5981 | 24 | if (error_ == NULL) { |
5982 | 18 | error_ = new ::yb::tserver::TabletServerErrorPB; |
5983 | 18 | } |
5984 | | // @@protoc_insertion_point(field_mutable:yb.tserver.CreateTabletResponsePB.error) |
5985 | 24 | return error_; |
5986 | 24 | } |
5987 | 0 | inline void CreateTabletResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
5988 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5989 | 0 | if (message_arena == NULL) { |
5990 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5991 | 0 | } |
5992 | 0 | if (error) { |
5993 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5994 | 0 | if (message_arena != submessage_arena) { |
5995 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5996 | 0 | message_arena, error, submessage_arena); |
5997 | 0 | } |
5998 | 0 | set_has_error(); |
5999 | 0 | } else { |
6000 | 0 | clear_has_error(); |
6001 | 0 | } |
6002 | 0 | error_ = error; |
6003 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CreateTabletResponsePB.error) |
6004 | 0 | } |
6005 | | |
6006 | | // ------------------------------------------------------------------- |
6007 | | |
6008 | | // DeleteTabletRequestPB |
6009 | | |
6010 | | // optional bytes dest_uuid = 4; |
6011 | 155k | inline bool DeleteTabletRequestPB::has_dest_uuid() const { |
6012 | 155k | return (_has_bits_[0] & 0x00000004u) != 0; |
6013 | 155k | } |
6014 | 155k | inline void DeleteTabletRequestPB::set_has_dest_uuid() { |
6015 | 155k | _has_bits_[0] |= 0x00000004u; |
6016 | 155k | } |
6017 | 0 | inline void DeleteTabletRequestPB::clear_has_dest_uuid() { |
6018 | 0 | _has_bits_[0] &= ~0x00000004u; |
6019 | 0 | } |
6020 | 0 | inline void DeleteTabletRequestPB::clear_dest_uuid() { |
6021 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6022 | 0 | clear_has_dest_uuid(); |
6023 | 0 | } |
6024 | 387k | inline const ::std::string& DeleteTabletRequestPB::dest_uuid() const { |
6025 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6026 | 387k | return dest_uuid_.GetNoArena(); |
6027 | 387k | } |
6028 | 78.1k | inline void DeleteTabletRequestPB::set_dest_uuid(const ::std::string& value) { |
6029 | 78.1k | set_has_dest_uuid(); |
6030 | 78.1k | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6031 | | // @@protoc_insertion_point(field_set:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6032 | 78.1k | } |
6033 | | #if LANG_CXX11 |
6034 | 0 | inline void DeleteTabletRequestPB::set_dest_uuid(::std::string&& value) { |
6035 | 0 | set_has_dest_uuid(); |
6036 | 0 | dest_uuid_.SetNoArena( |
6037 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6038 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6039 | 0 | } |
6040 | | #endif |
6041 | 0 | inline void DeleteTabletRequestPB::set_dest_uuid(const char* value) { |
6042 | 0 | GOOGLE_DCHECK(value != NULL); |
6043 | 0 | set_has_dest_uuid(); |
6044 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6045 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6046 | 0 | } |
6047 | 0 | inline void DeleteTabletRequestPB::set_dest_uuid(const void* value, size_t size) { |
6048 | 0 | set_has_dest_uuid(); |
6049 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6050 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6051 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6052 | 0 | } |
6053 | 77.5k | inline ::std::string* DeleteTabletRequestPB::mutable_dest_uuid() { |
6054 | 77.5k | set_has_dest_uuid(); |
6055 | | // @@protoc_insertion_point(field_mutable:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6056 | 77.5k | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6057 | 77.5k | } |
6058 | 0 | inline ::std::string* DeleteTabletRequestPB::release_dest_uuid() { |
6059 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6060 | 0 | clear_has_dest_uuid(); |
6061 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6062 | 0 | } |
6063 | 0 | inline void DeleteTabletRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
6064 | 0 | if (dest_uuid != NULL) { |
6065 | 0 | set_has_dest_uuid(); |
6066 | 0 | } else { |
6067 | 0 | clear_has_dest_uuid(); |
6068 | 0 | } |
6069 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
6070 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.DeleteTabletRequestPB.dest_uuid) |
6071 | 0 | } |
6072 | | |
6073 | | // required bytes tablet_id = 1; |
6074 | 155k | inline bool DeleteTabletRequestPB::has_tablet_id() const { |
6075 | 155k | return (_has_bits_[0] & 0x00000001u) != 0; |
6076 | 155k | } |
6077 | 155k | inline void DeleteTabletRequestPB::set_has_tablet_id() { |
6078 | 155k | _has_bits_[0] |= 0x00000001u; |
6079 | 155k | } |
6080 | 0 | inline void DeleteTabletRequestPB::clear_has_tablet_id() { |
6081 | 0 | _has_bits_[0] &= ~0x00000001u; |
6082 | 0 | } |
6083 | 0 | inline void DeleteTabletRequestPB::clear_tablet_id() { |
6084 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6085 | 0 | clear_has_tablet_id(); |
6086 | 0 | } |
6087 | 388k | inline const ::std::string& DeleteTabletRequestPB::tablet_id() const { |
6088 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6089 | 388k | return tablet_id_.GetNoArena(); |
6090 | 388k | } |
6091 | 77.9k | inline void DeleteTabletRequestPB::set_tablet_id(const ::std::string& value) { |
6092 | 77.9k | set_has_tablet_id(); |
6093 | 77.9k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6094 | | // @@protoc_insertion_point(field_set:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6095 | 77.9k | } |
6096 | | #if LANG_CXX11 |
6097 | 0 | inline void DeleteTabletRequestPB::set_tablet_id(::std::string&& value) { |
6098 | 0 | set_has_tablet_id(); |
6099 | 0 | tablet_id_.SetNoArena( |
6100 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6101 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6102 | 0 | } |
6103 | | #endif |
6104 | | inline void DeleteTabletRequestPB::set_tablet_id(const char* value) { |
6105 | | GOOGLE_DCHECK(value != NULL); |
6106 | | set_has_tablet_id(); |
6107 | | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6108 | | // @@protoc_insertion_point(field_set_char:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6109 | | } |
6110 | 0 | inline void DeleteTabletRequestPB::set_tablet_id(const void* value, size_t size) { |
6111 | 0 | set_has_tablet_id(); |
6112 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6113 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6114 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6115 | 0 | } |
6116 | 77.4k | inline ::std::string* DeleteTabletRequestPB::mutable_tablet_id() { |
6117 | 77.4k | set_has_tablet_id(); |
6118 | | // @@protoc_insertion_point(field_mutable:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6119 | 77.4k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6120 | 77.4k | } |
6121 | 0 | inline ::std::string* DeleteTabletRequestPB::release_tablet_id() { |
6122 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6123 | 0 | clear_has_tablet_id(); |
6124 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6125 | 0 | } |
6126 | 0 | inline void DeleteTabletRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
6127 | 0 | if (tablet_id != NULL) { |
6128 | 0 | set_has_tablet_id(); |
6129 | 0 | } else { |
6130 | 0 | clear_has_tablet_id(); |
6131 | 0 | } |
6132 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
6133 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.DeleteTabletRequestPB.tablet_id) |
6134 | 0 | } |
6135 | | |
6136 | | // optional string reason = 2; |
6137 | 232k | inline bool DeleteTabletRequestPB::has_reason() const { |
6138 | 232k | return (_has_bits_[0] & 0x00000002u) != 0; |
6139 | 232k | } |
6140 | 155k | inline void DeleteTabletRequestPB::set_has_reason() { |
6141 | 155k | _has_bits_[0] |= 0x00000002u; |
6142 | 155k | } |
6143 | 0 | inline void DeleteTabletRequestPB::clear_has_reason() { |
6144 | 0 | _has_bits_[0] &= ~0x00000002u; |
6145 | 0 | } |
6146 | 0 | inline void DeleteTabletRequestPB::clear_reason() { |
6147 | 0 | reason_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6148 | 0 | clear_has_reason(); |
6149 | 0 | } |
6150 | 619k | inline const ::std::string& DeleteTabletRequestPB::reason() const { |
6151 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletRequestPB.reason) |
6152 | 619k | return reason_.GetNoArena(); |
6153 | 619k | } |
6154 | 78.0k | inline void DeleteTabletRequestPB::set_reason(const ::std::string& value) { |
6155 | 78.0k | set_has_reason(); |
6156 | 78.0k | reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6157 | | // @@protoc_insertion_point(field_set:yb.tserver.DeleteTabletRequestPB.reason) |
6158 | 78.0k | } |
6159 | | #if LANG_CXX11 |
6160 | 0 | inline void DeleteTabletRequestPB::set_reason(::std::string&& value) { |
6161 | 0 | set_has_reason(); |
6162 | 0 | reason_.SetNoArena( |
6163 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6164 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.DeleteTabletRequestPB.reason) |
6165 | 0 | } |
6166 | | #endif |
6167 | 0 | inline void DeleteTabletRequestPB::set_reason(const char* value) { |
6168 | 0 | GOOGLE_DCHECK(value != NULL); |
6169 | 0 | set_has_reason(); |
6170 | 0 | reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6171 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.DeleteTabletRequestPB.reason) |
6172 | 0 | } |
6173 | 0 | inline void DeleteTabletRequestPB::set_reason(const char* value, size_t size) { |
6174 | 0 | set_has_reason(); |
6175 | 0 | reason_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6176 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6177 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.DeleteTabletRequestPB.reason) |
6178 | 0 | } |
6179 | 77.5k | inline ::std::string* DeleteTabletRequestPB::mutable_reason() { |
6180 | 77.5k | set_has_reason(); |
6181 | | // @@protoc_insertion_point(field_mutable:yb.tserver.DeleteTabletRequestPB.reason) |
6182 | 77.5k | return reason_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6183 | 77.5k | } |
6184 | 0 | inline ::std::string* DeleteTabletRequestPB::release_reason() { |
6185 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.DeleteTabletRequestPB.reason) |
6186 | 0 | clear_has_reason(); |
6187 | 0 | return reason_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6188 | 0 | } |
6189 | 0 | inline void DeleteTabletRequestPB::set_allocated_reason(::std::string* reason) { |
6190 | 0 | if (reason != NULL) { |
6191 | 0 | set_has_reason(); |
6192 | 0 | } else { |
6193 | 0 | clear_has_reason(); |
6194 | 0 | } |
6195 | 0 | reason_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), reason); |
6196 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.DeleteTabletRequestPB.reason) |
6197 | 0 | } |
6198 | | |
6199 | | // optional .yb.tablet.TabletDataState delete_type = 3 [default = TABLET_DATA_TOMBSTONED]; |
6200 | 232k | inline bool DeleteTabletRequestPB::has_delete_type() const { |
6201 | 232k | return (_has_bits_[0] & 0x00000020u) != 0; |
6202 | 232k | } |
6203 | 155k | inline void DeleteTabletRequestPB::set_has_delete_type() { |
6204 | 155k | _has_bits_[0] |= 0x00000020u; |
6205 | 155k | } |
6206 | 0 | inline void DeleteTabletRequestPB::clear_has_delete_type() { |
6207 | 0 | _has_bits_[0] &= ~0x00000020u; |
6208 | 0 | } |
6209 | 0 | inline void DeleteTabletRequestPB::clear_delete_type() { |
6210 | 0 | delete_type_ = 3; |
6211 | 0 | clear_has_delete_type(); |
6212 | 0 | } |
6213 | 310k | inline ::yb::tablet::TabletDataState DeleteTabletRequestPB::delete_type() const { |
6214 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletRequestPB.delete_type) |
6215 | 310k | return static_cast< ::yb::tablet::TabletDataState >(delete_type_); |
6216 | 310k | } |
6217 | 155k | inline void DeleteTabletRequestPB::set_delete_type(::yb::tablet::TabletDataState value) { |
6218 | 155k | assert(::yb::tablet::TabletDataState_IsValid(value)); |
6219 | 0 | set_has_delete_type(); |
6220 | 155k | delete_type_ = value; |
6221 | | // @@protoc_insertion_point(field_set:yb.tserver.DeleteTabletRequestPB.delete_type) |
6222 | 155k | } |
6223 | | |
6224 | | // optional int64 cas_config_opid_index_less_or_equal = 5; |
6225 | 233k | inline bool DeleteTabletRequestPB::has_cas_config_opid_index_less_or_equal() const { |
6226 | 233k | return (_has_bits_[0] & 0x00000008u) != 0; |
6227 | 233k | } |
6228 | 7.64k | inline void DeleteTabletRequestPB::set_has_cas_config_opid_index_less_or_equal() { |
6229 | 7.64k | _has_bits_[0] |= 0x00000008u; |
6230 | 7.64k | } |
6231 | 0 | inline void DeleteTabletRequestPB::clear_has_cas_config_opid_index_less_or_equal() { |
6232 | 0 | _has_bits_[0] &= ~0x00000008u; |
6233 | 0 | } |
6234 | 0 | inline void DeleteTabletRequestPB::clear_cas_config_opid_index_less_or_equal() { |
6235 | 0 | cas_config_opid_index_less_or_equal_ = GOOGLE_LONGLONG(0); |
6236 | 0 | clear_has_cas_config_opid_index_less_or_equal(); |
6237 | 0 | } |
6238 | 15.9k | inline ::google::protobuf::int64 DeleteTabletRequestPB::cas_config_opid_index_less_or_equal() const { |
6239 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletRequestPB.cas_config_opid_index_less_or_equal) |
6240 | 15.9k | return cas_config_opid_index_less_or_equal_; |
6241 | 15.9k | } |
6242 | 4.16k | inline void DeleteTabletRequestPB::set_cas_config_opid_index_less_or_equal(::google::protobuf::int64 value) { |
6243 | 4.16k | set_has_cas_config_opid_index_less_or_equal(); |
6244 | 4.16k | cas_config_opid_index_less_or_equal_ = value; |
6245 | | // @@protoc_insertion_point(field_set:yb.tserver.DeleteTabletRequestPB.cas_config_opid_index_less_or_equal) |
6246 | 4.16k | } |
6247 | | |
6248 | | // optional bool hide_only = 6; |
6249 | 155k | inline bool DeleteTabletRequestPB::has_hide_only() const { |
6250 | 155k | return (_has_bits_[0] & 0x00000010u) != 0; |
6251 | 155k | } |
6252 | 72 | inline void DeleteTabletRequestPB::set_has_hide_only() { |
6253 | 72 | _has_bits_[0] |= 0x00000010u; |
6254 | 72 | } |
6255 | 0 | inline void DeleteTabletRequestPB::clear_has_hide_only() { |
6256 | 0 | _has_bits_[0] &= ~0x00000010u; |
6257 | 0 | } |
6258 | 0 | inline void DeleteTabletRequestPB::clear_hide_only() { |
6259 | 0 | hide_only_ = false; |
6260 | 0 | clear_has_hide_only(); |
6261 | 0 | } |
6262 | 155k | inline bool DeleteTabletRequestPB::hide_only() const { |
6263 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletRequestPB.hide_only) |
6264 | 155k | return hide_only_; |
6265 | 155k | } |
6266 | 36 | inline void DeleteTabletRequestPB::set_hide_only(bool value) { |
6267 | 36 | set_has_hide_only(); |
6268 | 36 | hide_only_ = value; |
6269 | | // @@protoc_insertion_point(field_set:yb.tserver.DeleteTabletRequestPB.hide_only) |
6270 | 36 | } |
6271 | | |
6272 | | // ------------------------------------------------------------------- |
6273 | | |
6274 | | // DeleteTabletResponsePB |
6275 | | |
6276 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
6277 | 387k | inline bool DeleteTabletResponsePB::has_error() const { |
6278 | 387k | return (_has_bits_[0] & 0x00000001u) != 0; |
6279 | 387k | } |
6280 | 4.00k | inline void DeleteTabletResponsePB::set_has_error() { |
6281 | 4.00k | _has_bits_[0] |= 0x00000001u; |
6282 | 4.00k | } |
6283 | 0 | inline void DeleteTabletResponsePB::clear_has_error() { |
6284 | 0 | _has_bits_[0] &= ~0x00000001u; |
6285 | 0 | } |
6286 | 3.99k | inline const ::yb::tserver::TabletServerErrorPB& DeleteTabletResponsePB::error() const { |
6287 | 3.99k | const ::yb::tserver::TabletServerErrorPB* p = error_; |
6288 | | // @@protoc_insertion_point(field_get:yb.tserver.DeleteTabletResponsePB.error) |
6289 | 18.4E | return p != NULL3.99k ? *p3.99k : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
6290 | 18.4E | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
6291 | 3.99k | } |
6292 | 0 | inline ::yb::tserver::TabletServerErrorPB* DeleteTabletResponsePB::release_error() { |
6293 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.DeleteTabletResponsePB.error) |
6294 | 0 | clear_has_error(); |
6295 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
6296 | 0 | error_ = NULL; |
6297 | 0 | return temp; |
6298 | 0 | } |
6299 | 3.99k | inline ::yb::tserver::TabletServerErrorPB* DeleteTabletResponsePB::mutable_error() { |
6300 | 3.99k | set_has_error(); |
6301 | 3.99k | if (error_ == NULL) { |
6302 | 2.24k | error_ = new ::yb::tserver::TabletServerErrorPB; |
6303 | 2.24k | } |
6304 | | // @@protoc_insertion_point(field_mutable:yb.tserver.DeleteTabletResponsePB.error) |
6305 | 3.99k | return error_; |
6306 | 3.99k | } |
6307 | 0 | inline void DeleteTabletResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
6308 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6309 | 0 | if (message_arena == NULL) { |
6310 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6311 | 0 | } |
6312 | 0 | if (error) { |
6313 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6314 | 0 | if (message_arena != submessage_arena) { |
6315 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6316 | 0 | message_arena, error, submessage_arena); |
6317 | 0 | } |
6318 | 0 | set_has_error(); |
6319 | 0 | } else { |
6320 | 0 | clear_has_error(); |
6321 | 0 | } |
6322 | 0 | error_ = error; |
6323 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.DeleteTabletResponsePB.error) |
6324 | 0 | } |
6325 | | |
6326 | | // ------------------------------------------------------------------- |
6327 | | |
6328 | | // FlushTabletsRequestPB |
6329 | | |
6330 | | // optional bytes dest_uuid = 1; |
6331 | 85 | inline bool FlushTabletsRequestPB::has_dest_uuid() const { |
6332 | 85 | return (_has_bits_[0] & 0x00000001u) != 0; |
6333 | 85 | } |
6334 | 86 | inline void FlushTabletsRequestPB::set_has_dest_uuid() { |
6335 | 86 | _has_bits_[0] |= 0x00000001u; |
6336 | 86 | } |
6337 | 0 | inline void FlushTabletsRequestPB::clear_has_dest_uuid() { |
6338 | 0 | _has_bits_[0] &= ~0x00000001u; |
6339 | 0 | } |
6340 | 0 | inline void FlushTabletsRequestPB::clear_dest_uuid() { |
6341 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6342 | 0 | clear_has_dest_uuid(); |
6343 | 0 | } |
6344 | 214 | inline const ::std::string& FlushTabletsRequestPB::dest_uuid() const { |
6345 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6346 | 214 | return dest_uuid_.GetNoArena(); |
6347 | 214 | } |
6348 | 43 | inline void FlushTabletsRequestPB::set_dest_uuid(const ::std::string& value) { |
6349 | 43 | set_has_dest_uuid(); |
6350 | 43 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6351 | | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6352 | 43 | } |
6353 | | #if LANG_CXX11 |
6354 | 0 | inline void FlushTabletsRequestPB::set_dest_uuid(::std::string&& value) { |
6355 | 0 | set_has_dest_uuid(); |
6356 | 0 | dest_uuid_.SetNoArena( |
6357 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6358 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6359 | 0 | } |
6360 | | #endif |
6361 | 0 | inline void FlushTabletsRequestPB::set_dest_uuid(const char* value) { |
6362 | 0 | GOOGLE_DCHECK(value != NULL); |
6363 | 0 | set_has_dest_uuid(); |
6364 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6365 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6366 | 0 | } |
6367 | 0 | inline void FlushTabletsRequestPB::set_dest_uuid(const void* value, size_t size) { |
6368 | 0 | set_has_dest_uuid(); |
6369 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6370 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6371 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6372 | 0 | } |
6373 | 43 | inline ::std::string* FlushTabletsRequestPB::mutable_dest_uuid() { |
6374 | 43 | set_has_dest_uuid(); |
6375 | | // @@protoc_insertion_point(field_mutable:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6376 | 43 | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6377 | 43 | } |
6378 | 0 | inline ::std::string* FlushTabletsRequestPB::release_dest_uuid() { |
6379 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6380 | 0 | clear_has_dest_uuid(); |
6381 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6382 | 0 | } |
6383 | 0 | inline void FlushTabletsRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
6384 | 0 | if (dest_uuid != NULL) { |
6385 | 0 | set_has_dest_uuid(); |
6386 | 0 | } else { |
6387 | 0 | clear_has_dest_uuid(); |
6388 | 0 | } |
6389 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
6390 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.FlushTabletsRequestPB.dest_uuid) |
6391 | 0 | } |
6392 | | |
6393 | | // repeated bytes tablet_ids = 2; |
6394 | 248 | inline int FlushTabletsRequestPB::tablet_ids_size() const { |
6395 | 248 | return tablet_ids_.size(); |
6396 | 248 | } |
6397 | 0 | inline void FlushTabletsRequestPB::clear_tablet_ids() { |
6398 | 0 | tablet_ids_.Clear(); |
6399 | 0 | } |
6400 | 150 | inline const ::std::string& FlushTabletsRequestPB::tablet_ids(int index) const { |
6401 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6402 | 150 | return tablet_ids_.Get(index); |
6403 | 150 | } |
6404 | 0 | inline ::std::string* FlushTabletsRequestPB::mutable_tablet_ids(int index) { |
6405 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6406 | 0 | return tablet_ids_.Mutable(index); |
6407 | 0 | } |
6408 | 0 | inline void FlushTabletsRequestPB::set_tablet_ids(int index, const ::std::string& value) { |
6409 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6410 | 0 | tablet_ids_.Mutable(index)->assign(value); |
6411 | 0 | } |
6412 | | #if LANG_CXX11 |
6413 | 0 | inline void FlushTabletsRequestPB::set_tablet_ids(int index, ::std::string&& value) { |
6414 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6415 | 0 | tablet_ids_.Mutable(index)->assign(std::move(value)); |
6416 | 0 | } |
6417 | | #endif |
6418 | 0 | inline void FlushTabletsRequestPB::set_tablet_ids(int index, const char* value) { |
6419 | 0 | GOOGLE_DCHECK(value != NULL); |
6420 | 0 | tablet_ids_.Mutable(index)->assign(value); |
6421 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6422 | 0 | } |
6423 | 0 | inline void FlushTabletsRequestPB::set_tablet_ids(int index, const void* value, size_t size) { |
6424 | 0 | tablet_ids_.Mutable(index)->assign( |
6425 | 0 | reinterpret_cast<const char*>(value), size); |
6426 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6427 | 0 | } |
6428 | 50 | inline ::std::string* FlushTabletsRequestPB::add_tablet_ids() { |
6429 | | // @@protoc_insertion_point(field_add_mutable:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6430 | 50 | return tablet_ids_.Add(); |
6431 | 50 | } |
6432 | 48 | inline void FlushTabletsRequestPB::add_tablet_ids(const ::std::string& value) { |
6433 | 48 | tablet_ids_.Add()->assign(value); |
6434 | | // @@protoc_insertion_point(field_add:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6435 | 48 | } |
6436 | | #if LANG_CXX11 |
6437 | 0 | inline void FlushTabletsRequestPB::add_tablet_ids(::std::string&& value) { |
6438 | 0 | tablet_ids_.Add(std::move(value)); |
6439 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6440 | 0 | } |
6441 | | #endif |
6442 | 0 | inline void FlushTabletsRequestPB::add_tablet_ids(const char* value) { |
6443 | 0 | GOOGLE_DCHECK(value != NULL); |
6444 | 0 | tablet_ids_.Add()->assign(value); |
6445 | 0 | // @@protoc_insertion_point(field_add_char:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6446 | 0 | } |
6447 | 0 | inline void FlushTabletsRequestPB::add_tablet_ids(const void* value, size_t size) { |
6448 | 0 | tablet_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
6449 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6450 | 0 | } |
6451 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
6452 | 35 | FlushTabletsRequestPB::tablet_ids() const { |
6453 | | // @@protoc_insertion_point(field_list:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6454 | 35 | return tablet_ids_; |
6455 | 35 | } |
6456 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
6457 | 0 | FlushTabletsRequestPB::mutable_tablet_ids() { |
6458 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.FlushTabletsRequestPB.tablet_ids) |
6459 | 0 | return &tablet_ids_; |
6460 | 0 | } |
6461 | | |
6462 | | // optional fixed64 propagated_hybrid_time = 3; |
6463 | 85 | inline bool FlushTabletsRequestPB::has_propagated_hybrid_time() const { |
6464 | 85 | return (_has_bits_[0] & 0x00000002u) != 0; |
6465 | 85 | } |
6466 | 60 | inline void FlushTabletsRequestPB::set_has_propagated_hybrid_time() { |
6467 | 60 | _has_bits_[0] |= 0x00000002u; |
6468 | 60 | } |
6469 | 0 | inline void FlushTabletsRequestPB::clear_has_propagated_hybrid_time() { |
6470 | 0 | _has_bits_[0] &= ~0x00000002u; |
6471 | 0 | } |
6472 | 0 | inline void FlushTabletsRequestPB::clear_propagated_hybrid_time() { |
6473 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
6474 | 0 | clear_has_propagated_hybrid_time(); |
6475 | 0 | } |
6476 | 71 | inline ::google::protobuf::uint64 FlushTabletsRequestPB::propagated_hybrid_time() const { |
6477 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsRequestPB.propagated_hybrid_time) |
6478 | 71 | return propagated_hybrid_time_; |
6479 | 71 | } |
6480 | 30 | inline void FlushTabletsRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
6481 | 30 | set_has_propagated_hybrid_time(); |
6482 | 30 | propagated_hybrid_time_ = value; |
6483 | | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsRequestPB.propagated_hybrid_time) |
6484 | 30 | } |
6485 | | |
6486 | | // optional .yb.tserver.FlushTabletsRequestPB.Operation operation = 4; |
6487 | 85 | inline bool FlushTabletsRequestPB::has_operation() const { |
6488 | 85 | return (_has_bits_[0] & 0x00000004u) != 0; |
6489 | 85 | } |
6490 | 86 | inline void FlushTabletsRequestPB::set_has_operation() { |
6491 | 86 | _has_bits_[0] |= 0x00000004u; |
6492 | 86 | } |
6493 | 0 | inline void FlushTabletsRequestPB::clear_has_operation() { |
6494 | 0 | _has_bits_[0] &= ~0x00000004u; |
6495 | 0 | } |
6496 | 0 | inline void FlushTabletsRequestPB::clear_operation() { |
6497 | 0 | operation_ = 0; |
6498 | 0 | clear_has_operation(); |
6499 | 0 | } |
6500 | 169 | inline ::yb::tserver::FlushTabletsRequestPB_Operation FlushTabletsRequestPB::operation() const { |
6501 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsRequestPB.operation) |
6502 | 169 | return static_cast< ::yb::tserver::FlushTabletsRequestPB_Operation >(operation_); |
6503 | 169 | } |
6504 | 86 | inline void FlushTabletsRequestPB::set_operation(::yb::tserver::FlushTabletsRequestPB_Operation value) { |
6505 | 86 | assert(::yb::tserver::FlushTabletsRequestPB_Operation_IsValid(value)); |
6506 | 0 | set_has_operation(); |
6507 | 86 | operation_ = value; |
6508 | | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsRequestPB.operation) |
6509 | 86 | } |
6510 | | |
6511 | | // optional bool all_tablets = 5; |
6512 | 85 | inline bool FlushTabletsRequestPB::has_all_tablets() const { |
6513 | 85 | return (_has_bits_[0] & 0x00000008u) != 0; |
6514 | 85 | } |
6515 | 16 | inline void FlushTabletsRequestPB::set_has_all_tablets() { |
6516 | 16 | _has_bits_[0] |= 0x00000008u; |
6517 | 16 | } |
6518 | 0 | inline void FlushTabletsRequestPB::clear_has_all_tablets() { |
6519 | 0 | _has_bits_[0] &= ~0x00000008u; |
6520 | 0 | } |
6521 | 0 | inline void FlushTabletsRequestPB::clear_all_tablets() { |
6522 | 0 | all_tablets_ = false; |
6523 | 0 | clear_has_all_tablets(); |
6524 | 0 | } |
6525 | 94 | inline bool FlushTabletsRequestPB::all_tablets() const { |
6526 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsRequestPB.all_tablets) |
6527 | 94 | return all_tablets_; |
6528 | 94 | } |
6529 | 8 | inline void FlushTabletsRequestPB::set_all_tablets(bool value) { |
6530 | 8 | set_has_all_tablets(); |
6531 | 8 | all_tablets_ = value; |
6532 | | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsRequestPB.all_tablets) |
6533 | 8 | } |
6534 | | |
6535 | | // ------------------------------------------------------------------- |
6536 | | |
6537 | | // FlushTabletsResponsePB |
6538 | | |
6539 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
6540 | 146 | inline bool FlushTabletsResponsePB::has_error() const { |
6541 | 146 | return (_has_bits_[0] & 0x00000002u) != 0; |
6542 | 146 | } |
6543 | 0 | inline void FlushTabletsResponsePB::set_has_error() { |
6544 | 0 | _has_bits_[0] |= 0x00000002u; |
6545 | 0 | } |
6546 | 0 | inline void FlushTabletsResponsePB::clear_has_error() { |
6547 | 0 | _has_bits_[0] &= ~0x00000002u; |
6548 | 0 | } |
6549 | 0 | inline const ::yb::tserver::TabletServerErrorPB& FlushTabletsResponsePB::error() const { |
6550 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
6551 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsResponsePB.error) |
6552 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
6553 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
6554 | 0 | } |
6555 | 0 | inline ::yb::tserver::TabletServerErrorPB* FlushTabletsResponsePB::release_error() { |
6556 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.FlushTabletsResponsePB.error) |
6557 | 0 | clear_has_error(); |
6558 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
6559 | 0 | error_ = NULL; |
6560 | 0 | return temp; |
6561 | 0 | } |
6562 | 0 | inline ::yb::tserver::TabletServerErrorPB* FlushTabletsResponsePB::mutable_error() { |
6563 | 0 | set_has_error(); |
6564 | 0 | if (error_ == NULL) { |
6565 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
6566 | 0 | } |
6567 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.FlushTabletsResponsePB.error) |
6568 | 0 | return error_; |
6569 | 0 | } |
6570 | 0 | inline void FlushTabletsResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
6571 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6572 | 0 | if (message_arena == NULL) { |
6573 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6574 | 0 | } |
6575 | 0 | if (error) { |
6576 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6577 | 0 | if (message_arena != submessage_arena) { |
6578 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6579 | 0 | message_arena, error, submessage_arena); |
6580 | 0 | } |
6581 | 0 | set_has_error(); |
6582 | 0 | } else { |
6583 | 0 | clear_has_error(); |
6584 | 0 | } |
6585 | 0 | error_ = error; |
6586 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.FlushTabletsResponsePB.error) |
6587 | 0 | } |
6588 | | |
6589 | | // optional bytes failed_tablet_id = 2; |
6590 | 0 | inline bool FlushTabletsResponsePB::has_failed_tablet_id() const { |
6591 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6592 | 0 | } |
6593 | 108 | inline void FlushTabletsResponsePB::set_has_failed_tablet_id() { |
6594 | 108 | _has_bits_[0] |= 0x00000001u; |
6595 | 108 | } |
6596 | 108 | inline void FlushTabletsResponsePB::clear_has_failed_tablet_id() { |
6597 | 108 | _has_bits_[0] &= ~0x00000001u; |
6598 | 108 | } |
6599 | 108 | inline void FlushTabletsResponsePB::clear_failed_tablet_id() { |
6600 | 108 | failed_tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6601 | 108 | clear_has_failed_tablet_id(); |
6602 | 108 | } |
6603 | 0 | inline const ::std::string& FlushTabletsResponsePB::failed_tablet_id() const { |
6604 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6605 | 0 | return failed_tablet_id_.GetNoArena(); |
6606 | 0 | } |
6607 | 108 | inline void FlushTabletsResponsePB::set_failed_tablet_id(const ::std::string& value) { |
6608 | 108 | set_has_failed_tablet_id(); |
6609 | 108 | failed_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6610 | | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6611 | 108 | } |
6612 | | #if LANG_CXX11 |
6613 | 0 | inline void FlushTabletsResponsePB::set_failed_tablet_id(::std::string&& value) { |
6614 | 0 | set_has_failed_tablet_id(); |
6615 | 0 | failed_tablet_id_.SetNoArena( |
6616 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6617 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6618 | 0 | } |
6619 | | #endif |
6620 | 0 | inline void FlushTabletsResponsePB::set_failed_tablet_id(const char* value) { |
6621 | 0 | GOOGLE_DCHECK(value != NULL); |
6622 | 0 | set_has_failed_tablet_id(); |
6623 | 0 | failed_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6624 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6625 | 0 | } |
6626 | 0 | inline void FlushTabletsResponsePB::set_failed_tablet_id(const void* value, size_t size) { |
6627 | 0 | set_has_failed_tablet_id(); |
6628 | 0 | failed_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6629 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6630 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6631 | 0 | } |
6632 | 0 | inline ::std::string* FlushTabletsResponsePB::mutable_failed_tablet_id() { |
6633 | 0 | set_has_failed_tablet_id(); |
6634 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6635 | 0 | return failed_tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6636 | 0 | } |
6637 | 0 | inline ::std::string* FlushTabletsResponsePB::release_failed_tablet_id() { |
6638 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6639 | 0 | clear_has_failed_tablet_id(); |
6640 | 0 | return failed_tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6641 | 0 | } |
6642 | 0 | inline void FlushTabletsResponsePB::set_allocated_failed_tablet_id(::std::string* failed_tablet_id) { |
6643 | 0 | if (failed_tablet_id != NULL) { |
6644 | 0 | set_has_failed_tablet_id(); |
6645 | 0 | } else { |
6646 | 0 | clear_has_failed_tablet_id(); |
6647 | 0 | } |
6648 | 0 | failed_tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), failed_tablet_id); |
6649 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.FlushTabletsResponsePB.failed_tablet_id) |
6650 | 0 | } |
6651 | | |
6652 | | // optional fixed64 propagated_hybrid_time = 3; |
6653 | 0 | inline bool FlushTabletsResponsePB::has_propagated_hybrid_time() const { |
6654 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
6655 | 0 | } |
6656 | 0 | inline void FlushTabletsResponsePB::set_has_propagated_hybrid_time() { |
6657 | 0 | _has_bits_[0] |= 0x00000004u; |
6658 | 0 | } |
6659 | 0 | inline void FlushTabletsResponsePB::clear_has_propagated_hybrid_time() { |
6660 | 0 | _has_bits_[0] &= ~0x00000004u; |
6661 | 0 | } |
6662 | 0 | inline void FlushTabletsResponsePB::clear_propagated_hybrid_time() { |
6663 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
6664 | 0 | clear_has_propagated_hybrid_time(); |
6665 | 0 | } |
6666 | 30 | inline ::google::protobuf::uint64 FlushTabletsResponsePB::propagated_hybrid_time() const { |
6667 | | // @@protoc_insertion_point(field_get:yb.tserver.FlushTabletsResponsePB.propagated_hybrid_time) |
6668 | 30 | return propagated_hybrid_time_; |
6669 | 30 | } |
6670 | 0 | inline void FlushTabletsResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
6671 | 0 | set_has_propagated_hybrid_time(); |
6672 | 0 | propagated_hybrid_time_ = value; |
6673 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.FlushTabletsResponsePB.propagated_hybrid_time) |
6674 | 0 | } |
6675 | | |
6676 | | // ------------------------------------------------------------------- |
6677 | | |
6678 | | // CountIntentsRequestPB |
6679 | | |
6680 | | // ------------------------------------------------------------------- |
6681 | | |
6682 | | // CountIntentsResponsePB |
6683 | | |
6684 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
6685 | 0 | inline bool CountIntentsResponsePB::has_error() const { |
6686 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6687 | 0 | } |
6688 | 0 | inline void CountIntentsResponsePB::set_has_error() { |
6689 | 0 | _has_bits_[0] |= 0x00000001u; |
6690 | 0 | } |
6691 | 0 | inline void CountIntentsResponsePB::clear_has_error() { |
6692 | 0 | _has_bits_[0] &= ~0x00000001u; |
6693 | 0 | } |
6694 | 0 | inline const ::yb::tserver::TabletServerErrorPB& CountIntentsResponsePB::error() const { |
6695 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
6696 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.CountIntentsResponsePB.error) |
6697 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
6698 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
6699 | 0 | } |
6700 | 0 | inline ::yb::tserver::TabletServerErrorPB* CountIntentsResponsePB::release_error() { |
6701 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.CountIntentsResponsePB.error) |
6702 | 0 | clear_has_error(); |
6703 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
6704 | 0 | error_ = NULL; |
6705 | 0 | return temp; |
6706 | 0 | } |
6707 | 0 | inline ::yb::tserver::TabletServerErrorPB* CountIntentsResponsePB::mutable_error() { |
6708 | 0 | set_has_error(); |
6709 | 0 | if (error_ == NULL) { |
6710 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
6711 | 0 | } |
6712 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.CountIntentsResponsePB.error) |
6713 | 0 | return error_; |
6714 | 0 | } |
6715 | 0 | inline void CountIntentsResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
6716 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6717 | 0 | if (message_arena == NULL) { |
6718 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6719 | 0 | } |
6720 | 0 | if (error) { |
6721 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6722 | 0 | if (message_arena != submessage_arena) { |
6723 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6724 | 0 | message_arena, error, submessage_arena); |
6725 | 0 | } |
6726 | 0 | set_has_error(); |
6727 | 0 | } else { |
6728 | 0 | clear_has_error(); |
6729 | 0 | } |
6730 | 0 | error_ = error; |
6731 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.CountIntentsResponsePB.error) |
6732 | 0 | } |
6733 | | |
6734 | | // optional int64 num_intents = 2; |
6735 | 0 | inline bool CountIntentsResponsePB::has_num_intents() const { |
6736 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6737 | 0 | } |
6738 | 0 | inline void CountIntentsResponsePB::set_has_num_intents() { |
6739 | 0 | _has_bits_[0] |= 0x00000002u; |
6740 | 0 | } |
6741 | 0 | inline void CountIntentsResponsePB::clear_has_num_intents() { |
6742 | 0 | _has_bits_[0] &= ~0x00000002u; |
6743 | 0 | } |
6744 | 0 | inline void CountIntentsResponsePB::clear_num_intents() { |
6745 | 0 | num_intents_ = GOOGLE_LONGLONG(0); |
6746 | 0 | clear_has_num_intents(); |
6747 | 0 | } |
6748 | 0 | inline ::google::protobuf::int64 CountIntentsResponsePB::num_intents() const { |
6749 | | // @@protoc_insertion_point(field_get:yb.tserver.CountIntentsResponsePB.num_intents) |
6750 | 0 | return num_intents_; |
6751 | 0 | } |
6752 | 0 | inline void CountIntentsResponsePB::set_num_intents(::google::protobuf::int64 value) { |
6753 | 0 | set_has_num_intents(); |
6754 | 0 | num_intents_ = value; |
6755 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.CountIntentsResponsePB.num_intents) |
6756 | 0 | } |
6757 | | |
6758 | | // ------------------------------------------------------------------- |
6759 | | |
6760 | | // AddTableToTabletRequestPB |
6761 | | |
6762 | | // required bytes tablet_id = 1; |
6763 | 0 | inline bool AddTableToTabletRequestPB::has_tablet_id() const { |
6764 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6765 | 0 | } |
6766 | 253 | inline void AddTableToTabletRequestPB::set_has_tablet_id() { |
6767 | 253 | _has_bits_[0] |= 0x00000001u; |
6768 | 253 | } |
6769 | 0 | inline void AddTableToTabletRequestPB::clear_has_tablet_id() { |
6770 | 0 | _has_bits_[0] &= ~0x00000001u; |
6771 | 0 | } |
6772 | 0 | inline void AddTableToTabletRequestPB::clear_tablet_id() { |
6773 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6774 | 0 | clear_has_tablet_id(); |
6775 | 0 | } |
6776 | 504 | inline const ::std::string& AddTableToTabletRequestPB::tablet_id() const { |
6777 | | // @@protoc_insertion_point(field_get:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6778 | 504 | return tablet_id_.GetNoArena(); |
6779 | 504 | } |
6780 | 127 | inline void AddTableToTabletRequestPB::set_tablet_id(const ::std::string& value) { |
6781 | 127 | set_has_tablet_id(); |
6782 | 127 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6783 | | // @@protoc_insertion_point(field_set:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6784 | 127 | } |
6785 | | #if LANG_CXX11 |
6786 | 0 | inline void AddTableToTabletRequestPB::set_tablet_id(::std::string&& value) { |
6787 | 0 | set_has_tablet_id(); |
6788 | 0 | tablet_id_.SetNoArena( |
6789 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6790 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6791 | 0 | } |
6792 | | #endif |
6793 | 0 | inline void AddTableToTabletRequestPB::set_tablet_id(const char* value) { |
6794 | 0 | GOOGLE_DCHECK(value != NULL); |
6795 | 0 | set_has_tablet_id(); |
6796 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6797 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6798 | 0 | } |
6799 | 0 | inline void AddTableToTabletRequestPB::set_tablet_id(const void* value, size_t size) { |
6800 | 0 | set_has_tablet_id(); |
6801 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6802 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6803 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6804 | 0 | } |
6805 | 126 | inline ::std::string* AddTableToTabletRequestPB::mutable_tablet_id() { |
6806 | 126 | set_has_tablet_id(); |
6807 | | // @@protoc_insertion_point(field_mutable:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6808 | 126 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6809 | 126 | } |
6810 | 0 | inline ::std::string* AddTableToTabletRequestPB::release_tablet_id() { |
6811 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6812 | 0 | clear_has_tablet_id(); |
6813 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6814 | 0 | } |
6815 | 0 | inline void AddTableToTabletRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
6816 | 0 | if (tablet_id != NULL) { |
6817 | 0 | set_has_tablet_id(); |
6818 | 0 | } else { |
6819 | 0 | clear_has_tablet_id(); |
6820 | 0 | } |
6821 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
6822 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.AddTableToTabletRequestPB.tablet_id) |
6823 | 0 | } |
6824 | | |
6825 | | // required .yb.tablet.TableInfoPB add_table = 2; |
6826 | 252 | inline bool AddTableToTabletRequestPB::has_add_table() const { |
6827 | 252 | return (_has_bits_[0] & 0x00000002u) != 0; |
6828 | 252 | } |
6829 | 253 | inline void AddTableToTabletRequestPB::set_has_add_table() { |
6830 | 253 | _has_bits_[0] |= 0x00000002u; |
6831 | 253 | } |
6832 | 0 | inline void AddTableToTabletRequestPB::clear_has_add_table() { |
6833 | 0 | _has_bits_[0] &= ~0x00000002u; |
6834 | 0 | } |
6835 | 126 | inline const ::yb::tablet::TableInfoPB& AddTableToTabletRequestPB::add_table() const { |
6836 | 126 | const ::yb::tablet::TableInfoPB* p = add_table_; |
6837 | | // @@protoc_insertion_point(field_get:yb.tserver.AddTableToTabletRequestPB.add_table) |
6838 | 126 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TableInfoPB*>( |
6839 | 0 | &::yb::tablet::_TableInfoPB_default_instance_); |
6840 | 126 | } |
6841 | 0 | inline ::yb::tablet::TableInfoPB* AddTableToTabletRequestPB::release_add_table() { |
6842 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.AddTableToTabletRequestPB.add_table) |
6843 | 0 | clear_has_add_table(); |
6844 | 0 | ::yb::tablet::TableInfoPB* temp = add_table_; |
6845 | 0 | add_table_ = NULL; |
6846 | 0 | return temp; |
6847 | 0 | } |
6848 | 253 | inline ::yb::tablet::TableInfoPB* AddTableToTabletRequestPB::mutable_add_table() { |
6849 | 253 | set_has_add_table(); |
6850 | 253 | if (add_table_ == NULL) { |
6851 | 253 | add_table_ = new ::yb::tablet::TableInfoPB; |
6852 | 253 | } |
6853 | | // @@protoc_insertion_point(field_mutable:yb.tserver.AddTableToTabletRequestPB.add_table) |
6854 | 253 | return add_table_; |
6855 | 253 | } |
6856 | 0 | inline void AddTableToTabletRequestPB::set_allocated_add_table(::yb::tablet::TableInfoPB* add_table) { |
6857 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6858 | 0 | if (message_arena == NULL) { |
6859 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(add_table_); |
6860 | 0 | } |
6861 | 0 | if (add_table) { |
6862 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6863 | 0 | if (message_arena != submessage_arena) { |
6864 | 0 | add_table = ::google::protobuf::internal::GetOwnedMessage( |
6865 | 0 | message_arena, add_table, submessage_arena); |
6866 | 0 | } |
6867 | 0 | set_has_add_table(); |
6868 | 0 | } else { |
6869 | 0 | clear_has_add_table(); |
6870 | 0 | } |
6871 | 0 | add_table_ = add_table; |
6872 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.AddTableToTabletRequestPB.add_table) |
6873 | 0 | } |
6874 | | |
6875 | | // ------------------------------------------------------------------- |
6876 | | |
6877 | | // AddTableToTabletResponsePB |
6878 | | |
6879 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
6880 | 378 | inline bool AddTableToTabletResponsePB::has_error() const { |
6881 | 378 | return (_has_bits_[0] & 0x00000001u) != 0; |
6882 | 378 | } |
6883 | 0 | inline void AddTableToTabletResponsePB::set_has_error() { |
6884 | 0 | _has_bits_[0] |= 0x00000001u; |
6885 | 0 | } |
6886 | 126 | inline void AddTableToTabletResponsePB::clear_has_error() { |
6887 | 126 | _has_bits_[0] &= ~0x00000001u; |
6888 | 126 | } |
6889 | 0 | inline const ::yb::tserver::TabletServerErrorPB& AddTableToTabletResponsePB::error() const { |
6890 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
6891 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.AddTableToTabletResponsePB.error) |
6892 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
6893 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
6894 | 0 | } |
6895 | 0 | inline ::yb::tserver::TabletServerErrorPB* AddTableToTabletResponsePB::release_error() { |
6896 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.AddTableToTabletResponsePB.error) |
6897 | 0 | clear_has_error(); |
6898 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
6899 | 0 | error_ = NULL; |
6900 | 0 | return temp; |
6901 | 0 | } |
6902 | 0 | inline ::yb::tserver::TabletServerErrorPB* AddTableToTabletResponsePB::mutable_error() { |
6903 | 0 | set_has_error(); |
6904 | 0 | if (error_ == NULL) { |
6905 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
6906 | 0 | } |
6907 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.AddTableToTabletResponsePB.error) |
6908 | 0 | return error_; |
6909 | 0 | } |
6910 | 0 | inline void AddTableToTabletResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
6911 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6912 | 0 | if (message_arena == NULL) { |
6913 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6914 | 0 | } |
6915 | 0 | if (error) { |
6916 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6917 | 0 | if (message_arena != submessage_arena) { |
6918 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6919 | 0 | message_arena, error, submessage_arena); |
6920 | 0 | } |
6921 | 0 | set_has_error(); |
6922 | 0 | } else { |
6923 | 0 | clear_has_error(); |
6924 | 0 | } |
6925 | 0 | error_ = error; |
6926 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.AddTableToTabletResponsePB.error) |
6927 | 0 | } |
6928 | | |
6929 | | // optional fixed64 propagated_hybrid_time = 2; |
6930 | 0 | inline bool AddTableToTabletResponsePB::has_propagated_hybrid_time() const { |
6931 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6932 | 0 | } |
6933 | 0 | inline void AddTableToTabletResponsePB::set_has_propagated_hybrid_time() { |
6934 | 0 | _has_bits_[0] |= 0x00000002u; |
6935 | 0 | } |
6936 | 0 | inline void AddTableToTabletResponsePB::clear_has_propagated_hybrid_time() { |
6937 | 0 | _has_bits_[0] &= ~0x00000002u; |
6938 | 0 | } |
6939 | 0 | inline void AddTableToTabletResponsePB::clear_propagated_hybrid_time() { |
6940 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
6941 | 0 | clear_has_propagated_hybrid_time(); |
6942 | 0 | } |
6943 | 0 | inline ::google::protobuf::uint64 AddTableToTabletResponsePB::propagated_hybrid_time() const { |
6944 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.AddTableToTabletResponsePB.propagated_hybrid_time) |
6945 | 0 | return propagated_hybrid_time_; |
6946 | 0 | } |
6947 | 0 | inline void AddTableToTabletResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
6948 | 0 | set_has_propagated_hybrid_time(); |
6949 | 0 | propagated_hybrid_time_ = value; |
6950 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.AddTableToTabletResponsePB.propagated_hybrid_time) |
6951 | 0 | } |
6952 | | |
6953 | | // ------------------------------------------------------------------- |
6954 | | |
6955 | | // RemoveTableFromTabletRequestPB |
6956 | | |
6957 | | // required bytes tablet_id = 1; |
6958 | 0 | inline bool RemoveTableFromTabletRequestPB::has_tablet_id() const { |
6959 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6960 | 0 | } |
6961 | 162 | inline void RemoveTableFromTabletRequestPB::set_has_tablet_id() { |
6962 | 162 | _has_bits_[0] |= 0x00000001u; |
6963 | 162 | } |
6964 | 0 | inline void RemoveTableFromTabletRequestPB::clear_has_tablet_id() { |
6965 | 0 | _has_bits_[0] &= ~0x00000001u; |
6966 | 0 | } |
6967 | 0 | inline void RemoveTableFromTabletRequestPB::clear_tablet_id() { |
6968 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6969 | 0 | clear_has_tablet_id(); |
6970 | 0 | } |
6971 | 404 | inline const ::std::string& RemoveTableFromTabletRequestPB::tablet_id() const { |
6972 | | // @@protoc_insertion_point(field_get:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
6973 | 404 | return tablet_id_.GetNoArena(); |
6974 | 404 | } |
6975 | 81 | inline void RemoveTableFromTabletRequestPB::set_tablet_id(const ::std::string& value) { |
6976 | 81 | set_has_tablet_id(); |
6977 | 81 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6978 | | // @@protoc_insertion_point(field_set:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
6979 | 81 | } |
6980 | | #if LANG_CXX11 |
6981 | 0 | inline void RemoveTableFromTabletRequestPB::set_tablet_id(::std::string&& value) { |
6982 | 0 | set_has_tablet_id(); |
6983 | 0 | tablet_id_.SetNoArena( |
6984 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6985 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
6986 | 0 | } |
6987 | | #endif |
6988 | 0 | inline void RemoveTableFromTabletRequestPB::set_tablet_id(const char* value) { |
6989 | 0 | GOOGLE_DCHECK(value != NULL); |
6990 | 0 | set_has_tablet_id(); |
6991 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6992 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
6993 | 0 | } |
6994 | 0 | inline void RemoveTableFromTabletRequestPB::set_tablet_id(const void* value, size_t size) { |
6995 | 0 | set_has_tablet_id(); |
6996 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6997 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6998 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
6999 | 0 | } |
7000 | 81 | inline ::std::string* RemoveTableFromTabletRequestPB::mutable_tablet_id() { |
7001 | 81 | set_has_tablet_id(); |
7002 | | // @@protoc_insertion_point(field_mutable:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
7003 | 81 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7004 | 81 | } |
7005 | 0 | inline ::std::string* RemoveTableFromTabletRequestPB::release_tablet_id() { |
7006 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
7007 | 0 | clear_has_tablet_id(); |
7008 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7009 | 0 | } |
7010 | 0 | inline void RemoveTableFromTabletRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
7011 | 0 | if (tablet_id != NULL) { |
7012 | 0 | set_has_tablet_id(); |
7013 | 0 | } else { |
7014 | 0 | clear_has_tablet_id(); |
7015 | 0 | } |
7016 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
7017 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.RemoveTableFromTabletRequestPB.tablet_id) |
7018 | 0 | } |
7019 | | |
7020 | | // required bytes remove_table_id = 2; |
7021 | 0 | inline bool RemoveTableFromTabletRequestPB::has_remove_table_id() const { |
7022 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7023 | 0 | } |
7024 | 162 | inline void RemoveTableFromTabletRequestPB::set_has_remove_table_id() { |
7025 | 162 | _has_bits_[0] |= 0x00000002u; |
7026 | 162 | } |
7027 | 0 | inline void RemoveTableFromTabletRequestPB::clear_has_remove_table_id() { |
7028 | 0 | _has_bits_[0] &= ~0x00000002u; |
7029 | 0 | } |
7030 | 0 | inline void RemoveTableFromTabletRequestPB::clear_remove_table_id() { |
7031 | 0 | remove_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7032 | 0 | clear_has_remove_table_id(); |
7033 | 0 | } |
7034 | 323 | inline const ::std::string& RemoveTableFromTabletRequestPB::remove_table_id() const { |
7035 | | // @@protoc_insertion_point(field_get:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7036 | 323 | return remove_table_id_.GetNoArena(); |
7037 | 323 | } |
7038 | 81 | inline void RemoveTableFromTabletRequestPB::set_remove_table_id(const ::std::string& value) { |
7039 | 81 | set_has_remove_table_id(); |
7040 | 81 | remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7041 | | // @@protoc_insertion_point(field_set:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7042 | 81 | } |
7043 | | #if LANG_CXX11 |
7044 | 0 | inline void RemoveTableFromTabletRequestPB::set_remove_table_id(::std::string&& value) { |
7045 | 0 | set_has_remove_table_id(); |
7046 | 0 | remove_table_id_.SetNoArena( |
7047 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7048 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7049 | 0 | } |
7050 | | #endif |
7051 | 0 | inline void RemoveTableFromTabletRequestPB::set_remove_table_id(const char* value) { |
7052 | 0 | GOOGLE_DCHECK(value != NULL); |
7053 | 0 | set_has_remove_table_id(); |
7054 | 0 | remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7055 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7056 | 0 | } |
7057 | 0 | inline void RemoveTableFromTabletRequestPB::set_remove_table_id(const void* value, size_t size) { |
7058 | 0 | set_has_remove_table_id(); |
7059 | 0 | remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7060 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7061 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7062 | 0 | } |
7063 | 81 | inline ::std::string* RemoveTableFromTabletRequestPB::mutable_remove_table_id() { |
7064 | 81 | set_has_remove_table_id(); |
7065 | | // @@protoc_insertion_point(field_mutable:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7066 | 81 | return remove_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7067 | 81 | } |
7068 | 0 | inline ::std::string* RemoveTableFromTabletRequestPB::release_remove_table_id() { |
7069 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7070 | 0 | clear_has_remove_table_id(); |
7071 | 0 | return remove_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7072 | 0 | } |
7073 | 0 | inline void RemoveTableFromTabletRequestPB::set_allocated_remove_table_id(::std::string* remove_table_id) { |
7074 | 0 | if (remove_table_id != NULL) { |
7075 | 0 | set_has_remove_table_id(); |
7076 | 0 | } else { |
7077 | 0 | clear_has_remove_table_id(); |
7078 | 0 | } |
7079 | 0 | remove_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), remove_table_id); |
7080 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.RemoveTableFromTabletRequestPB.remove_table_id) |
7081 | 0 | } |
7082 | | |
7083 | | // ------------------------------------------------------------------- |
7084 | | |
7085 | | // RemoveTableFromTabletResponsePB |
7086 | | |
7087 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
7088 | 245 | inline bool RemoveTableFromTabletResponsePB::has_error() const { |
7089 | 245 | return (_has_bits_[0] & 0x00000001u) != 0; |
7090 | 245 | } |
7091 | 2 | inline void RemoveTableFromTabletResponsePB::set_has_error() { |
7092 | 2 | _has_bits_[0] |= 0x00000001u; |
7093 | 2 | } |
7094 | 80 | inline void RemoveTableFromTabletResponsePB::clear_has_error() { |
7095 | 80 | _has_bits_[0] &= ~0x00000001u; |
7096 | 80 | } |
7097 | 2 | inline const ::yb::tserver::TabletServerErrorPB& RemoveTableFromTabletResponsePB::error() const { |
7098 | 2 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
7099 | | // @@protoc_insertion_point(field_get:yb.tserver.RemoveTableFromTabletResponsePB.error) |
7100 | 2 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
7101 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
7102 | 2 | } |
7103 | 0 | inline ::yb::tserver::TabletServerErrorPB* RemoveTableFromTabletResponsePB::release_error() { |
7104 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.RemoveTableFromTabletResponsePB.error) |
7105 | 0 | clear_has_error(); |
7106 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
7107 | 0 | error_ = NULL; |
7108 | 0 | return temp; |
7109 | 0 | } |
7110 | 2 | inline ::yb::tserver::TabletServerErrorPB* RemoveTableFromTabletResponsePB::mutable_error() { |
7111 | 2 | set_has_error(); |
7112 | 2 | if (error_ == NULL) { |
7113 | 2 | error_ = new ::yb::tserver::TabletServerErrorPB; |
7114 | 2 | } |
7115 | | // @@protoc_insertion_point(field_mutable:yb.tserver.RemoveTableFromTabletResponsePB.error) |
7116 | 2 | return error_; |
7117 | 2 | } |
7118 | 0 | inline void RemoveTableFromTabletResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
7119 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7120 | 0 | if (message_arena == NULL) { |
7121 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7122 | 0 | } |
7123 | 0 | if (error) { |
7124 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7125 | 0 | if (message_arena != submessage_arena) { |
7126 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7127 | 0 | message_arena, error, submessage_arena); |
7128 | 0 | } |
7129 | 0 | set_has_error(); |
7130 | 0 | } else { |
7131 | 0 | clear_has_error(); |
7132 | 0 | } |
7133 | 0 | error_ = error; |
7134 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.RemoveTableFromTabletResponsePB.error) |
7135 | 0 | } |
7136 | | |
7137 | | // optional fixed64 propagated_hybrid_time = 2; |
7138 | 2 | inline bool RemoveTableFromTabletResponsePB::has_propagated_hybrid_time() const { |
7139 | 2 | return (_has_bits_[0] & 0x00000002u) != 0; |
7140 | 2 | } |
7141 | 0 | inline void RemoveTableFromTabletResponsePB::set_has_propagated_hybrid_time() { |
7142 | 0 | _has_bits_[0] |= 0x00000002u; |
7143 | 0 | } |
7144 | 0 | inline void RemoveTableFromTabletResponsePB::clear_has_propagated_hybrid_time() { |
7145 | 0 | _has_bits_[0] &= ~0x00000002u; |
7146 | 0 | } |
7147 | 0 | inline void RemoveTableFromTabletResponsePB::clear_propagated_hybrid_time() { |
7148 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
7149 | 0 | clear_has_propagated_hybrid_time(); |
7150 | 0 | } |
7151 | 0 | inline ::google::protobuf::uint64 RemoveTableFromTabletResponsePB::propagated_hybrid_time() const { |
7152 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.RemoveTableFromTabletResponsePB.propagated_hybrid_time) |
7153 | 0 | return propagated_hybrid_time_; |
7154 | 0 | } |
7155 | 0 | inline void RemoveTableFromTabletResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
7156 | 0 | set_has_propagated_hybrid_time(); |
7157 | 0 | propagated_hybrid_time_ = value; |
7158 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.RemoveTableFromTabletResponsePB.propagated_hybrid_time) |
7159 | 0 | } |
7160 | | |
7161 | | // ------------------------------------------------------------------- |
7162 | | |
7163 | | // SplitTabletResponsePB |
7164 | | |
7165 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
7166 | 700 | inline bool SplitTabletResponsePB::has_error() const { |
7167 | 700 | return (_has_bits_[0] & 0x00000001u) != 0; |
7168 | 700 | } |
7169 | 192 | inline void SplitTabletResponsePB::set_has_error() { |
7170 | 192 | _has_bits_[0] |= 0x00000001u; |
7171 | 192 | } |
7172 | 141 | inline void SplitTabletResponsePB::clear_has_error() { |
7173 | 141 | _has_bits_[0] &= ~0x00000001u; |
7174 | 141 | } |
7175 | 192 | inline const ::yb::tserver::TabletServerErrorPB& SplitTabletResponsePB::error() const { |
7176 | 192 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
7177 | | // @@protoc_insertion_point(field_get:yb.tserver.SplitTabletResponsePB.error) |
7178 | 192 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
7179 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
7180 | 192 | } |
7181 | 0 | inline ::yb::tserver::TabletServerErrorPB* SplitTabletResponsePB::release_error() { |
7182 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.SplitTabletResponsePB.error) |
7183 | 0 | clear_has_error(); |
7184 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
7185 | 0 | error_ = NULL; |
7186 | 0 | return temp; |
7187 | 0 | } |
7188 | 192 | inline ::yb::tserver::TabletServerErrorPB* SplitTabletResponsePB::mutable_error() { |
7189 | 192 | set_has_error(); |
7190 | 192 | if (error_ == NULL) { |
7191 | 192 | error_ = new ::yb::tserver::TabletServerErrorPB; |
7192 | 192 | } |
7193 | | // @@protoc_insertion_point(field_mutable:yb.tserver.SplitTabletResponsePB.error) |
7194 | 192 | return error_; |
7195 | 192 | } |
7196 | 0 | inline void SplitTabletResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
7197 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7198 | 0 | if (message_arena == NULL) { |
7199 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7200 | 0 | } |
7201 | 0 | if (error) { |
7202 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7203 | 0 | if (message_arena != submessage_arena) { |
7204 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7205 | 0 | message_arena, error, submessage_arena); |
7206 | 0 | } |
7207 | 0 | set_has_error(); |
7208 | 0 | } else { |
7209 | 0 | clear_has_error(); |
7210 | 0 | } |
7211 | 0 | error_ = error; |
7212 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.SplitTabletResponsePB.error) |
7213 | 0 | } |
7214 | | |
7215 | | // optional fixed64 propagated_hybrid_time = 2; |
7216 | 280 | inline bool SplitTabletResponsePB::has_propagated_hybrid_time() const { |
7217 | 280 | return (_has_bits_[0] & 0x00000002u) != 0; |
7218 | 280 | } |
7219 | 88 | inline void SplitTabletResponsePB::set_has_propagated_hybrid_time() { |
7220 | 88 | _has_bits_[0] |= 0x00000002u; |
7221 | 88 | } |
7222 | 0 | inline void SplitTabletResponsePB::clear_has_propagated_hybrid_time() { |
7223 | 0 | _has_bits_[0] &= ~0x00000002u; |
7224 | 0 | } |
7225 | 0 | inline void SplitTabletResponsePB::clear_propagated_hybrid_time() { |
7226 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
7227 | 0 | clear_has_propagated_hybrid_time(); |
7228 | 0 | } |
7229 | 184 | inline ::google::protobuf::uint64 SplitTabletResponsePB::propagated_hybrid_time() const { |
7230 | | // @@protoc_insertion_point(field_get:yb.tserver.SplitTabletResponsePB.propagated_hybrid_time) |
7231 | 184 | return propagated_hybrid_time_; |
7232 | 184 | } |
7233 | 44 | inline void SplitTabletResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
7234 | 44 | set_has_propagated_hybrid_time(); |
7235 | 44 | propagated_hybrid_time_ = value; |
7236 | | // @@protoc_insertion_point(field_set:yb.tserver.SplitTabletResponsePB.propagated_hybrid_time) |
7237 | 44 | } |
7238 | | |
7239 | | // ------------------------------------------------------------------- |
7240 | | |
7241 | | // UpgradeYsqlRequestPB |
7242 | | |
7243 | | // ------------------------------------------------------------------- |
7244 | | |
7245 | | // UpgradeYsqlResponsePB |
7246 | | |
7247 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
7248 | 15 | inline bool UpgradeYsqlResponsePB::has_error() const { |
7249 | 15 | return (_has_bits_[0] & 0x00000001u) != 0; |
7250 | 15 | } |
7251 | 0 | inline void UpgradeYsqlResponsePB::set_has_error() { |
7252 | 0 | _has_bits_[0] |= 0x00000001u; |
7253 | 0 | } |
7254 | 0 | inline void UpgradeYsqlResponsePB::clear_has_error() { |
7255 | 0 | _has_bits_[0] &= ~0x00000001u; |
7256 | 0 | } |
7257 | 0 | inline const ::yb::tserver::TabletServerErrorPB& UpgradeYsqlResponsePB::error() const { |
7258 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
7259 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.UpgradeYsqlResponsePB.error) |
7260 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
7261 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
7262 | 0 | } |
7263 | 0 | inline ::yb::tserver::TabletServerErrorPB* UpgradeYsqlResponsePB::release_error() { |
7264 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.UpgradeYsqlResponsePB.error) |
7265 | 0 | clear_has_error(); |
7266 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
7267 | 0 | error_ = NULL; |
7268 | 0 | return temp; |
7269 | 0 | } |
7270 | 0 | inline ::yb::tserver::TabletServerErrorPB* UpgradeYsqlResponsePB::mutable_error() { |
7271 | 0 | set_has_error(); |
7272 | 0 | if (error_ == NULL) { |
7273 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
7274 | 0 | } |
7275 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.UpgradeYsqlResponsePB.error) |
7276 | 0 | return error_; |
7277 | 0 | } |
7278 | 0 | inline void UpgradeYsqlResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
7279 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7280 | 0 | if (message_arena == NULL) { |
7281 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7282 | 0 | } |
7283 | 0 | if (error) { |
7284 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7285 | 0 | if (message_arena != submessage_arena) { |
7286 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7287 | 0 | message_arena, error, submessage_arena); |
7288 | 0 | } |
7289 | 0 | set_has_error(); |
7290 | 0 | } else { |
7291 | 0 | clear_has_error(); |
7292 | 0 | } |
7293 | 0 | error_ = error; |
7294 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.UpgradeYsqlResponsePB.error) |
7295 | 0 | } |
7296 | | |
7297 | | #ifdef __GNUC__ |
7298 | | #pragma GCC diagnostic pop |
7299 | | #endif // __GNUC__ |
7300 | | // ------------------------------------------------------------------- |
7301 | | |
7302 | | // ------------------------------------------------------------------- |
7303 | | |
7304 | | // ------------------------------------------------------------------- |
7305 | | |
7306 | | // ------------------------------------------------------------------- |
7307 | | |
7308 | | // ------------------------------------------------------------------- |
7309 | | |
7310 | | // ------------------------------------------------------------------- |
7311 | | |
7312 | | // ------------------------------------------------------------------- |
7313 | | |
7314 | | // ------------------------------------------------------------------- |
7315 | | |
7316 | | // ------------------------------------------------------------------- |
7317 | | |
7318 | | // ------------------------------------------------------------------- |
7319 | | |
7320 | | // ------------------------------------------------------------------- |
7321 | | |
7322 | | // ------------------------------------------------------------------- |
7323 | | |
7324 | | // ------------------------------------------------------------------- |
7325 | | |
7326 | | // ------------------------------------------------------------------- |
7327 | | |
7328 | | // ------------------------------------------------------------------- |
7329 | | |
7330 | | // ------------------------------------------------------------------- |
7331 | | |
7332 | | // ------------------------------------------------------------------- |
7333 | | |
7334 | | // ------------------------------------------------------------------- |
7335 | | |
7336 | | // ------------------------------------------------------------------- |
7337 | | |
7338 | | // ------------------------------------------------------------------- |
7339 | | |
7340 | | // ------------------------------------------------------------------- |
7341 | | |
7342 | | // ------------------------------------------------------------------- |
7343 | | |
7344 | | |
7345 | | // @@protoc_insertion_point(namespace_scope) |
7346 | | |
7347 | | } // namespace tserver |
7348 | | } // namespace yb |
7349 | | |
7350 | | namespace google { |
7351 | | namespace protobuf { |
7352 | | |
7353 | | template <> struct is_proto_enum< ::yb::tserver::FlushTabletsRequestPB_Operation> : ::google::protobuf::internal::true_type {}; |
7354 | | template <> |
7355 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::tserver::FlushTabletsRequestPB_Operation>() { |
7356 | 0 | return ::yb::tserver::FlushTabletsRequestPB_Operation_descriptor(); |
7357 | 0 | } |
7358 | | |
7359 | | } // namespace protobuf |
7360 | | } // namespace google |
7361 | | |
7362 | | // @@protoc_insertion_point(global_scope) |
7363 | | |
7364 | | #endif // PROTOBUF_yb_2ftserver_2ftserver_5fadmin_2eproto__INCLUDED |