/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tserver/backup.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/tserver/backup.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2ftserver_2fbackup_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2ftserver_2fbackup_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 <google/protobuf/any.pb.h> |
34 | | #include "yb/common/common.pb.h" |
35 | | #include "yb/tserver/tserver_types.pb.h" |
36 | | // @@protoc_insertion_point(includes) |
37 | | |
38 | | namespace protobuf_yb_2ftserver_2fbackup_2eproto { |
39 | | // Internal implementation detail -- do not use these members. |
40 | | struct TableStruct { |
41 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
42 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
43 | | static const ::google::protobuf::internal::ParseTable schema[2]; |
44 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
45 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
46 | | static const ::google::protobuf::uint32 offsets[]; |
47 | | }; |
48 | | void AddDescriptors(); |
49 | | void InitDefaultsTabletSnapshotOpRequestPBImpl(); |
50 | | void InitDefaultsTabletSnapshotOpRequestPB(); |
51 | | void InitDefaultsTabletSnapshotOpResponsePBImpl(); |
52 | | void InitDefaultsTabletSnapshotOpResponsePB(); |
53 | 26.8k | inline void InitDefaults() { |
54 | 26.8k | InitDefaultsTabletSnapshotOpRequestPB(); |
55 | 26.8k | InitDefaultsTabletSnapshotOpResponsePB(); |
56 | 26.8k | } |
57 | | } // namespace protobuf_yb_2ftserver_2fbackup_2eproto |
58 | | namespace yb { |
59 | | namespace tserver { |
60 | | class TabletSnapshotOpRequestPB; |
61 | | class TabletSnapshotOpRequestPBDefaultTypeInternal; |
62 | | extern TabletSnapshotOpRequestPBDefaultTypeInternal _TabletSnapshotOpRequestPB_default_instance_; |
63 | | class TabletSnapshotOpResponsePB; |
64 | | class TabletSnapshotOpResponsePBDefaultTypeInternal; |
65 | | extern TabletSnapshotOpResponsePBDefaultTypeInternal _TabletSnapshotOpResponsePB_default_instance_; |
66 | | } // namespace tserver |
67 | | } // namespace yb |
68 | | namespace yb { |
69 | | namespace tserver { |
70 | | |
71 | | enum TabletSnapshotOpRequestPB_Operation { |
72 | | TabletSnapshotOpRequestPB_Operation_UNKNOWN = 0, |
73 | | TabletSnapshotOpRequestPB_Operation_CREATE_ON_TABLET = 1, |
74 | | TabletSnapshotOpRequestPB_Operation_RESTORE_ON_TABLET = 2, |
75 | | TabletSnapshotOpRequestPB_Operation_DELETE_ON_TABLET = 3, |
76 | | TabletSnapshotOpRequestPB_Operation_CREATE_ON_MASTER = 4, |
77 | | TabletSnapshotOpRequestPB_Operation_DELETE_ON_MASTER = 5, |
78 | | TabletSnapshotOpRequestPB_Operation_RESTORE_SYS_CATALOG = 6, |
79 | | TabletSnapshotOpRequestPB_Operation_RESTORE_FINISHED = 7, |
80 | | TabletSnapshotOpRequestPB_Operation_TabletSnapshotOpRequestPB_Operation_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, |
81 | | TabletSnapshotOpRequestPB_Operation_TabletSnapshotOpRequestPB_Operation_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max |
82 | | }; |
83 | | bool TabletSnapshotOpRequestPB_Operation_IsValid(int value); |
84 | | const TabletSnapshotOpRequestPB_Operation TabletSnapshotOpRequestPB_Operation_Operation_MIN = TabletSnapshotOpRequestPB_Operation_UNKNOWN; |
85 | | const TabletSnapshotOpRequestPB_Operation TabletSnapshotOpRequestPB_Operation_Operation_MAX = TabletSnapshotOpRequestPB_Operation_RESTORE_FINISHED; |
86 | | const int TabletSnapshotOpRequestPB_Operation_Operation_ARRAYSIZE = TabletSnapshotOpRequestPB_Operation_Operation_MAX + 1; |
87 | | |
88 | | const ::google::protobuf::EnumDescriptor* TabletSnapshotOpRequestPB_Operation_descriptor(); |
89 | 275 | inline const ::std::string& TabletSnapshotOpRequestPB_Operation_Name(TabletSnapshotOpRequestPB_Operation value) { |
90 | 275 | return ::google::protobuf::internal::NameOfEnum( |
91 | 275 | TabletSnapshotOpRequestPB_Operation_descriptor(), value); |
92 | 275 | } |
93 | | inline bool TabletSnapshotOpRequestPB_Operation_Parse( |
94 | 0 | const ::std::string& name, TabletSnapshotOpRequestPB_Operation* value) { |
95 | 0 | return ::google::protobuf::internal::ParseNamedEnum<TabletSnapshotOpRequestPB_Operation>( |
96 | 0 | TabletSnapshotOpRequestPB_Operation_descriptor(), name, value); |
97 | 0 | } |
98 | | // =================================================================== |
99 | | |
100 | | class TabletSnapshotOpRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.TabletSnapshotOpRequestPB) */ { |
101 | | public: |
102 | | TabletSnapshotOpRequestPB(); |
103 | | virtual ~TabletSnapshotOpRequestPB(); |
104 | | |
105 | | TabletSnapshotOpRequestPB(const TabletSnapshotOpRequestPB& from); |
106 | | |
107 | 794 | inline TabletSnapshotOpRequestPB& operator=(const TabletSnapshotOpRequestPB& from) { |
108 | 794 | CopyFrom(from); |
109 | 794 | return *this; |
110 | 794 | } |
111 | | #if LANG_CXX11 |
112 | | TabletSnapshotOpRequestPB(TabletSnapshotOpRequestPB&& from) noexcept |
113 | 0 | : TabletSnapshotOpRequestPB() { |
114 | 0 | *this = ::std::move(from); |
115 | 0 | } |
116 | | |
117 | 0 | inline TabletSnapshotOpRequestPB& operator=(TabletSnapshotOpRequestPB&& from) noexcept { |
118 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
119 | 0 | if (this != &from) InternalSwap(&from); |
120 | 0 | } else { |
121 | 0 | CopyFrom(from); |
122 | 0 | } |
123 | 0 | return *this; |
124 | 0 | } |
125 | | #endif |
126 | | static const ::google::protobuf::Descriptor* descriptor(); |
127 | | static const TabletSnapshotOpRequestPB& default_instance(); |
128 | | |
129 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
130 | 95.3k | static inline const TabletSnapshotOpRequestPB* internal_default_instance() { |
131 | 95.3k | return reinterpret_cast<const TabletSnapshotOpRequestPB*>( |
132 | 95.3k | &_TabletSnapshotOpRequestPB_default_instance_); |
133 | 95.3k | } |
134 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
135 | | 0; |
136 | | |
137 | | void Swap(TabletSnapshotOpRequestPB* other); |
138 | 0 | friend void swap(TabletSnapshotOpRequestPB& a, TabletSnapshotOpRequestPB& b) { |
139 | 0 | a.Swap(&b); |
140 | 0 | } |
141 | | |
142 | | // implements Message ---------------------------------------------- |
143 | | |
144 | 0 | inline TabletSnapshotOpRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
145 | | |
146 | | TabletSnapshotOpRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
147 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
148 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
149 | | void CopyFrom(const TabletSnapshotOpRequestPB& from); |
150 | | void MergeFrom(const TabletSnapshotOpRequestPB& from); |
151 | | void Clear() PROTOBUF_FINAL; |
152 | | bool IsInitialized() const PROTOBUF_FINAL; |
153 | | |
154 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
155 | | bool MergePartialFromCodedStream( |
156 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
157 | | void SerializeWithCachedSizes( |
158 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
159 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
160 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
161 | 3.13k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
162 | | private: |
163 | | void SharedCtor(); |
164 | | void SharedDtor(); |
165 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
166 | | void InternalSwap(TabletSnapshotOpRequestPB* other); |
167 | | private: |
168 | 1.69k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
169 | 1.69k | return NULL; |
170 | 1.69k | } |
171 | 0 | inline void* MaybeArenaPtr() const { |
172 | 0 | return NULL; |
173 | 0 | } |
174 | | public: |
175 | | |
176 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
177 | | |
178 | | // nested types ---------------------------------------------------- |
179 | | |
180 | | typedef TabletSnapshotOpRequestPB_Operation Operation; |
181 | | static const Operation UNKNOWN = |
182 | | TabletSnapshotOpRequestPB_Operation_UNKNOWN; |
183 | | static const Operation CREATE_ON_TABLET = |
184 | | TabletSnapshotOpRequestPB_Operation_CREATE_ON_TABLET; |
185 | | static const Operation RESTORE_ON_TABLET = |
186 | | TabletSnapshotOpRequestPB_Operation_RESTORE_ON_TABLET; |
187 | | static const Operation DELETE_ON_TABLET = |
188 | | TabletSnapshotOpRequestPB_Operation_DELETE_ON_TABLET; |
189 | | static const Operation CREATE_ON_MASTER = |
190 | | TabletSnapshotOpRequestPB_Operation_CREATE_ON_MASTER; |
191 | | static const Operation DELETE_ON_MASTER = |
192 | | TabletSnapshotOpRequestPB_Operation_DELETE_ON_MASTER; |
193 | | static const Operation RESTORE_SYS_CATALOG = |
194 | | TabletSnapshotOpRequestPB_Operation_RESTORE_SYS_CATALOG; |
195 | | static const Operation RESTORE_FINISHED = |
196 | | TabletSnapshotOpRequestPB_Operation_RESTORE_FINISHED; |
197 | 0 | static inline bool Operation_IsValid(int value) { |
198 | 0 | return TabletSnapshotOpRequestPB_Operation_IsValid(value); |
199 | 0 | } |
200 | | static const Operation Operation_MIN = |
201 | | TabletSnapshotOpRequestPB_Operation_Operation_MIN; |
202 | | static const Operation Operation_MAX = |
203 | | TabletSnapshotOpRequestPB_Operation_Operation_MAX; |
204 | | static const int Operation_ARRAYSIZE = |
205 | | TabletSnapshotOpRequestPB_Operation_Operation_ARRAYSIZE; |
206 | | static inline const ::google::protobuf::EnumDescriptor* |
207 | 0 | Operation_descriptor() { |
208 | 0 | return TabletSnapshotOpRequestPB_Operation_descriptor(); |
209 | 0 | } |
210 | 275 | static inline const ::std::string& Operation_Name(Operation value) { |
211 | 275 | return TabletSnapshotOpRequestPB_Operation_Name(value); |
212 | 275 | } |
213 | | static inline bool Operation_Parse(const ::std::string& name, |
214 | 0 | Operation* value) { |
215 | 0 | return TabletSnapshotOpRequestPB_Operation_Parse(name, value); |
216 | 0 | } |
217 | | |
218 | | // accessors ------------------------------------------------------- |
219 | | |
220 | | // repeated bytes tablet_id = 4; |
221 | | int tablet_id_size() const; |
222 | | void clear_tablet_id(); |
223 | | static const int kTabletIdFieldNumber = 4; |
224 | | const ::std::string& tablet_id(int index) const; |
225 | | ::std::string* mutable_tablet_id(int index); |
226 | | void set_tablet_id(int index, const ::std::string& value); |
227 | | #if LANG_CXX11 |
228 | | void set_tablet_id(int index, ::std::string&& value); |
229 | | #endif |
230 | | void set_tablet_id(int index, const char* value); |
231 | | void set_tablet_id(int index, const void* value, size_t size); |
232 | | ::std::string* add_tablet_id(); |
233 | | void add_tablet_id(const ::std::string& value); |
234 | | #if LANG_CXX11 |
235 | | void add_tablet_id(::std::string&& value); |
236 | | #endif |
237 | | void add_tablet_id(const char* value); |
238 | | void add_tablet_id(const void* value, size_t size); |
239 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& tablet_id() const; |
240 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tablet_id(); |
241 | | |
242 | | // repeated .yb.IndexInfoPB indexes = 14; |
243 | | int indexes_size() const; |
244 | | void clear_indexes(); |
245 | | static const int kIndexesFieldNumber = 14; |
246 | | const ::yb::IndexInfoPB& indexes(int index) const; |
247 | | ::yb::IndexInfoPB* mutable_indexes(int index); |
248 | | ::yb::IndexInfoPB* add_indexes(); |
249 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
250 | | mutable_indexes(); |
251 | | const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
252 | | indexes() const; |
253 | | |
254 | | // bytes dest_uuid = 1; |
255 | | void clear_dest_uuid(); |
256 | | static const int kDestUuidFieldNumber = 1; |
257 | | const ::std::string& dest_uuid() const; |
258 | | void set_dest_uuid(const ::std::string& value); |
259 | | #if LANG_CXX11 |
260 | | void set_dest_uuid(::std::string&& value); |
261 | | #endif |
262 | | void set_dest_uuid(const char* value); |
263 | | void set_dest_uuid(const void* value, size_t size); |
264 | | ::std::string* mutable_dest_uuid(); |
265 | | ::std::string* release_dest_uuid(); |
266 | | void set_allocated_dest_uuid(::std::string* dest_uuid); |
267 | | |
268 | | // bytes snapshot_id = 3; |
269 | | void clear_snapshot_id(); |
270 | | static const int kSnapshotIdFieldNumber = 3; |
271 | | const ::std::string& snapshot_id() const; |
272 | | void set_snapshot_id(const ::std::string& value); |
273 | | #if LANG_CXX11 |
274 | | void set_snapshot_id(::std::string&& value); |
275 | | #endif |
276 | | void set_snapshot_id(const char* value); |
277 | | void set_snapshot_id(const void* value, size_t size); |
278 | | ::std::string* mutable_snapshot_id(); |
279 | | ::std::string* release_snapshot_id(); |
280 | | void set_allocated_snapshot_id(::std::string* snapshot_id); |
281 | | |
282 | | // string snapshot_dir_override = 6; |
283 | | void clear_snapshot_dir_override(); |
284 | | static const int kSnapshotDirOverrideFieldNumber = 6; |
285 | | const ::std::string& snapshot_dir_override() const; |
286 | | void set_snapshot_dir_override(const ::std::string& value); |
287 | | #if LANG_CXX11 |
288 | | void set_snapshot_dir_override(::std::string&& value); |
289 | | #endif |
290 | | void set_snapshot_dir_override(const char* value); |
291 | | void set_snapshot_dir_override(const char* value, size_t size); |
292 | | ::std::string* mutable_snapshot_dir_override(); |
293 | | ::std::string* release_snapshot_dir_override(); |
294 | | void set_allocated_snapshot_dir_override(::std::string* snapshot_dir_override); |
295 | | |
296 | | // bytes schedule_id = 10; |
297 | | void clear_schedule_id(); |
298 | | static const int kScheduleIdFieldNumber = 10; |
299 | | const ::std::string& schedule_id() const; |
300 | | void set_schedule_id(const ::std::string& value); |
301 | | #if LANG_CXX11 |
302 | | void set_schedule_id(::std::string&& value); |
303 | | #endif |
304 | | void set_schedule_id(const char* value); |
305 | | void set_schedule_id(const void* value, size_t size); |
306 | | ::std::string* mutable_schedule_id(); |
307 | | ::std::string* release_schedule_id(); |
308 | | void set_allocated_schedule_id(::std::string* schedule_id); |
309 | | |
310 | | // bytes restoration_id = 11; |
311 | | void clear_restoration_id(); |
312 | | static const int kRestorationIdFieldNumber = 11; |
313 | | const ::std::string& restoration_id() const; |
314 | | void set_restoration_id(const ::std::string& value); |
315 | | #if LANG_CXX11 |
316 | | void set_restoration_id(::std::string&& value); |
317 | | #endif |
318 | | void set_restoration_id(const char* value); |
319 | | void set_restoration_id(const void* value, size_t size); |
320 | | ::std::string* mutable_restoration_id(); |
321 | | ::std::string* release_restoration_id(); |
322 | | void set_allocated_restoration_id(::std::string* restoration_id); |
323 | | |
324 | | // .google.protobuf.Any extra_data = 8; |
325 | | bool has_extra_data() const; |
326 | | void clear_extra_data(); |
327 | | static const int kExtraDataFieldNumber = 8; |
328 | | const ::google::protobuf::Any& extra_data() const; |
329 | | ::google::protobuf::Any* release_extra_data(); |
330 | | ::google::protobuf::Any* mutable_extra_data(); |
331 | | void set_allocated_extra_data(::google::protobuf::Any* extra_data); |
332 | | |
333 | | // .yb.SchemaPB schema = 13; |
334 | | bool has_schema() const; |
335 | | void clear_schema(); |
336 | | static const int kSchemaFieldNumber = 13; |
337 | | const ::yb::SchemaPB& schema() const; |
338 | | ::yb::SchemaPB* release_schema(); |
339 | | ::yb::SchemaPB* mutable_schema(); |
340 | | void set_allocated_schema(::yb::SchemaPB* schema); |
341 | | |
342 | | // fixed64 propagated_hybrid_time = 5; |
343 | | void clear_propagated_hybrid_time(); |
344 | | static const int kPropagatedHybridTimeFieldNumber = 5; |
345 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
346 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
347 | | |
348 | | // fixed64 snapshot_hybrid_time = 7; |
349 | | void clear_snapshot_hybrid_time(); |
350 | | static const int kSnapshotHybridTimeFieldNumber = 7; |
351 | | ::google::protobuf::uint64 snapshot_hybrid_time() const; |
352 | | void set_snapshot_hybrid_time(::google::protobuf::uint64 value); |
353 | | |
354 | | // .yb.tserver.TabletSnapshotOpRequestPB.Operation operation = 2; |
355 | | void clear_operation(); |
356 | | static const int kOperationFieldNumber = 2; |
357 | | ::yb::tserver::TabletSnapshotOpRequestPB_Operation operation() const; |
358 | | void set_operation(::yb::tserver::TabletSnapshotOpRequestPB_Operation value); |
359 | | |
360 | | // uint32 schema_version = 12; |
361 | | void clear_schema_version(); |
362 | | static const int kSchemaVersionFieldNumber = 12; |
363 | | ::google::protobuf::uint32 schema_version() const; |
364 | | void set_schema_version(::google::protobuf::uint32 value); |
365 | | |
366 | | // fixed64 previous_snapshot_hybrid_time = 15; |
367 | | void clear_previous_snapshot_hybrid_time(); |
368 | | static const int kPreviousSnapshotHybridTimeFieldNumber = 15; |
369 | | ::google::protobuf::uint64 previous_snapshot_hybrid_time() const; |
370 | | void set_previous_snapshot_hybrid_time(::google::protobuf::uint64 value); |
371 | | |
372 | | // fixed64 restoration_hybrid_time = 17; |
373 | | void clear_restoration_hybrid_time(); |
374 | | static const int kRestorationHybridTimeFieldNumber = 17; |
375 | | ::google::protobuf::uint64 restoration_hybrid_time() const; |
376 | | void set_restoration_hybrid_time(::google::protobuf::uint64 value); |
377 | | |
378 | | // bool imported = 9; |
379 | | void clear_imported(); |
380 | | static const int kImportedFieldNumber = 9; |
381 | | bool imported() const; |
382 | | void set_imported(bool value); |
383 | | |
384 | | // bool hide = 16; |
385 | | void clear_hide(); |
386 | | static const int kHideFieldNumber = 16; |
387 | | bool hide() const; |
388 | | void set_hide(bool value); |
389 | | |
390 | | // @@protoc_insertion_point(class_scope:yb.tserver.TabletSnapshotOpRequestPB) |
391 | | private: |
392 | | |
393 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
394 | | ::google::protobuf::RepeatedPtrField< ::std::string> tablet_id_; |
395 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > indexes_; |
396 | | ::google::protobuf::internal::ArenaStringPtr dest_uuid_; |
397 | | ::google::protobuf::internal::ArenaStringPtr snapshot_id_; |
398 | | ::google::protobuf::internal::ArenaStringPtr snapshot_dir_override_; |
399 | | ::google::protobuf::internal::ArenaStringPtr schedule_id_; |
400 | | ::google::protobuf::internal::ArenaStringPtr restoration_id_; |
401 | | ::google::protobuf::Any* extra_data_; |
402 | | ::yb::SchemaPB* schema_; |
403 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
404 | | ::google::protobuf::uint64 snapshot_hybrid_time_; |
405 | | int operation_; |
406 | | ::google::protobuf::uint32 schema_version_; |
407 | | ::google::protobuf::uint64 previous_snapshot_hybrid_time_; |
408 | | ::google::protobuf::uint64 restoration_hybrid_time_; |
409 | | bool imported_; |
410 | | bool hide_; |
411 | | mutable int _cached_size_; |
412 | | friend struct ::protobuf_yb_2ftserver_2fbackup_2eproto::TableStruct; |
413 | | friend void ::protobuf_yb_2ftserver_2fbackup_2eproto::InitDefaultsTabletSnapshotOpRequestPBImpl(); |
414 | | }; |
415 | | // ------------------------------------------------------------------- |
416 | | |
417 | | class TabletSnapshotOpResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.TabletSnapshotOpResponsePB) */ { |
418 | | public: |
419 | | TabletSnapshotOpResponsePB(); |
420 | | virtual ~TabletSnapshotOpResponsePB(); |
421 | | |
422 | | TabletSnapshotOpResponsePB(const TabletSnapshotOpResponsePB& from); |
423 | | |
424 | 0 | inline TabletSnapshotOpResponsePB& operator=(const TabletSnapshotOpResponsePB& from) { |
425 | 0 | CopyFrom(from); |
426 | 0 | return *this; |
427 | 0 | } |
428 | | #if LANG_CXX11 |
429 | | TabletSnapshotOpResponsePB(TabletSnapshotOpResponsePB&& from) noexcept |
430 | 0 | : TabletSnapshotOpResponsePB() { |
431 | 0 | *this = ::std::move(from); |
432 | 0 | } |
433 | | |
434 | 0 | inline TabletSnapshotOpResponsePB& operator=(TabletSnapshotOpResponsePB&& from) noexcept { |
435 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
436 | 0 | if (this != &from) InternalSwap(&from); |
437 | 0 | } else { |
438 | 0 | CopyFrom(from); |
439 | 0 | } |
440 | 0 | return *this; |
441 | 0 | } |
442 | | #endif |
443 | | static const ::google::protobuf::Descriptor* descriptor(); |
444 | | static const TabletSnapshotOpResponsePB& default_instance(); |
445 | | |
446 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
447 | 28.9k | static inline const TabletSnapshotOpResponsePB* internal_default_instance() { |
448 | 28.9k | return reinterpret_cast<const TabletSnapshotOpResponsePB*>( |
449 | 28.9k | &_TabletSnapshotOpResponsePB_default_instance_); |
450 | 28.9k | } |
451 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
452 | | 1; |
453 | | |
454 | | void Swap(TabletSnapshotOpResponsePB* other); |
455 | 0 | friend void swap(TabletSnapshotOpResponsePB& a, TabletSnapshotOpResponsePB& b) { |
456 | 0 | a.Swap(&b); |
457 | 0 | } |
458 | | |
459 | | // implements Message ---------------------------------------------- |
460 | | |
461 | 0 | inline TabletSnapshotOpResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
462 | | |
463 | | TabletSnapshotOpResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
464 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
465 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
466 | | void CopyFrom(const TabletSnapshotOpResponsePB& from); |
467 | | void MergeFrom(const TabletSnapshotOpResponsePB& from); |
468 | | void Clear() PROTOBUF_FINAL; |
469 | | bool IsInitialized() const PROTOBUF_FINAL; |
470 | | |
471 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
472 | | bool MergePartialFromCodedStream( |
473 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
474 | | void SerializeWithCachedSizes( |
475 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
476 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
477 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
478 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
479 | | private: |
480 | | void SharedCtor(); |
481 | | void SharedDtor(); |
482 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
483 | | void InternalSwap(TabletSnapshotOpResponsePB* other); |
484 | | private: |
485 | 103 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
486 | 103 | return NULL; |
487 | 103 | } |
488 | 0 | inline void* MaybeArenaPtr() const { |
489 | 0 | return NULL; |
490 | 0 | } |
491 | | public: |
492 | | |
493 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
494 | | |
495 | | // nested types ---------------------------------------------------- |
496 | | |
497 | | // accessors ------------------------------------------------------- |
498 | | |
499 | | // .yb.tserver.TabletServerErrorPB error = 1; |
500 | | bool has_error() const; |
501 | | void clear_error(); |
502 | | static const int kErrorFieldNumber = 1; |
503 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
504 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
505 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
506 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
507 | | |
508 | | // fixed64 propagated_hybrid_time = 2; |
509 | | void clear_propagated_hybrid_time(); |
510 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
511 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
512 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
513 | | |
514 | | // @@protoc_insertion_point(class_scope:yb.tserver.TabletSnapshotOpResponsePB) |
515 | | private: |
516 | | |
517 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
518 | | ::yb::tserver::TabletServerErrorPB* error_; |
519 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
520 | | mutable int _cached_size_; |
521 | | friend struct ::protobuf_yb_2ftserver_2fbackup_2eproto::TableStruct; |
522 | | friend void ::protobuf_yb_2ftserver_2fbackup_2eproto::InitDefaultsTabletSnapshotOpResponsePBImpl(); |
523 | | }; |
524 | | // =================================================================== |
525 | | |
526 | | |
527 | | // =================================================================== |
528 | | |
529 | | #ifdef __GNUC__ |
530 | | #pragma GCC diagnostic push |
531 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
532 | | #endif // __GNUC__ |
533 | | // TabletSnapshotOpRequestPB |
534 | | |
535 | | // bytes dest_uuid = 1; |
536 | 0 | inline void TabletSnapshotOpRequestPB::clear_dest_uuid() { |
537 | 0 | dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
538 | 0 | } |
539 | 12.5k | inline const ::std::string& TabletSnapshotOpRequestPB::dest_uuid() const { |
540 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
541 | 12.5k | return dest_uuid_.GetNoArena(); |
542 | 12.5k | } |
543 | | inline void TabletSnapshotOpRequestPB::set_dest_uuid(const ::std::string& value) { |
544 | | |
545 | | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
546 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
547 | | } |
548 | | #if LANG_CXX11 |
549 | 50 | inline void TabletSnapshotOpRequestPB::set_dest_uuid(::std::string&& value) { |
550 | | |
551 | 50 | dest_uuid_.SetNoArena( |
552 | 50 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
553 | | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
554 | 50 | } |
555 | | #endif |
556 | 0 | inline void TabletSnapshotOpRequestPB::set_dest_uuid(const char* value) { |
557 | 0 | GOOGLE_DCHECK(value != NULL); |
558 | 0 | |
559 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
560 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
561 | 0 | } |
562 | 0 | inline void TabletSnapshotOpRequestPB::set_dest_uuid(const void* value, size_t size) { |
563 | 0 | |
564 | 0 | dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
565 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
566 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
567 | 0 | } |
568 | 145 | inline ::std::string* TabletSnapshotOpRequestPB::mutable_dest_uuid() { |
569 | | |
570 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
571 | 145 | return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
572 | 145 | } |
573 | 0 | inline ::std::string* TabletSnapshotOpRequestPB::release_dest_uuid() { |
574 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
575 | 0 | |
576 | 0 | return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
577 | 0 | } |
578 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) { |
579 | 0 | if (dest_uuid != NULL) { |
580 | 0 | |
581 | 0 | } else { |
582 | 0 | |
583 | 0 | } |
584 | 0 | dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid); |
585 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.dest_uuid) |
586 | 0 | } |
587 | | |
588 | | // .yb.tserver.TabletSnapshotOpRequestPB.Operation operation = 2; |
589 | 0 | inline void TabletSnapshotOpRequestPB::clear_operation() { |
590 | 0 | operation_ = 0; |
591 | 0 | } |
592 | 29.4k | inline ::yb::tserver::TabletSnapshotOpRequestPB_Operation TabletSnapshotOpRequestPB::operation() const { |
593 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.operation) |
594 | 29.4k | return static_cast< ::yb::tserver::TabletSnapshotOpRequestPB_Operation >(operation_); |
595 | 29.4k | } |
596 | 2.83k | inline void TabletSnapshotOpRequestPB::set_operation(::yb::tserver::TabletSnapshotOpRequestPB_Operation value) { |
597 | | |
598 | 2.83k | operation_ = value; |
599 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.operation) |
600 | 2.83k | } |
601 | | |
602 | | // bytes snapshot_id = 3; |
603 | 0 | inline void TabletSnapshotOpRequestPB::clear_snapshot_id() { |
604 | 0 | snapshot_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
605 | 0 | } |
606 | 12.9k | inline const ::std::string& TabletSnapshotOpRequestPB::snapshot_id() const { |
607 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
608 | 12.9k | return snapshot_id_.GetNoArena(); |
609 | 12.9k | } |
610 | 64 | inline void TabletSnapshotOpRequestPB::set_snapshot_id(const ::std::string& value) { |
611 | | |
612 | 64 | snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
613 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
614 | 64 | } |
615 | | #if LANG_CXX11 |
616 | 0 | inline void TabletSnapshotOpRequestPB::set_snapshot_id(::std::string&& value) { |
617 | 0 | |
618 | 0 | snapshot_id_.SetNoArena( |
619 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
620 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
621 | 0 | } |
622 | | #endif |
623 | 0 | inline void TabletSnapshotOpRequestPB::set_snapshot_id(const char* value) { |
624 | 0 | GOOGLE_DCHECK(value != NULL); |
625 | 0 | |
626 | 0 | snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
627 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
628 | 0 | } |
629 | 24 | inline void TabletSnapshotOpRequestPB::set_snapshot_id(const void* value, size_t size) { |
630 | | |
631 | 24 | snapshot_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
632 | 24 | ::std::string(reinterpret_cast<const char*>(value), size)); |
633 | | // @@protoc_insertion_point(field_set_pointer:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
634 | 24 | } |
635 | 143 | inline ::std::string* TabletSnapshotOpRequestPB::mutable_snapshot_id() { |
636 | | |
637 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
638 | 143 | return snapshot_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
639 | 143 | } |
640 | 0 | inline ::std::string* TabletSnapshotOpRequestPB::release_snapshot_id() { |
641 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
642 | 0 | |
643 | 0 | return snapshot_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
644 | 0 | } |
645 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_snapshot_id(::std::string* snapshot_id) { |
646 | 0 | if (snapshot_id != NULL) { |
647 | 0 | |
648 | 0 | } else { |
649 | 0 | |
650 | 0 | } |
651 | 0 | snapshot_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_id); |
652 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.snapshot_id) |
653 | 0 | } |
654 | | |
655 | | // repeated bytes tablet_id = 4; |
656 | 18.2k | inline int TabletSnapshotOpRequestPB::tablet_id_size() const { |
657 | 18.2k | return tablet_id_.size(); |
658 | 18.2k | } |
659 | 0 | inline void TabletSnapshotOpRequestPB::clear_tablet_id() { |
660 | 0 | tablet_id_.Clear(); |
661 | 0 | } |
662 | 10.7k | inline const ::std::string& TabletSnapshotOpRequestPB::tablet_id(int index) const { |
663 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
664 | 10.7k | return tablet_id_.Get(index); |
665 | 10.7k | } |
666 | 0 | inline ::std::string* TabletSnapshotOpRequestPB::mutable_tablet_id(int index) { |
667 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
668 | 0 | return tablet_id_.Mutable(index); |
669 | 0 | } |
670 | 0 | inline void TabletSnapshotOpRequestPB::set_tablet_id(int index, const ::std::string& value) { |
671 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
672 | 0 | tablet_id_.Mutable(index)->assign(value); |
673 | 0 | } |
674 | | #if LANG_CXX11 |
675 | 0 | inline void TabletSnapshotOpRequestPB::set_tablet_id(int index, ::std::string&& value) { |
676 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
677 | 0 | tablet_id_.Mutable(index)->assign(std::move(value)); |
678 | 0 | } |
679 | | #endif |
680 | 0 | inline void TabletSnapshotOpRequestPB::set_tablet_id(int index, const char* value) { |
681 | 0 | GOOGLE_DCHECK(value != NULL); |
682 | 0 | tablet_id_.Mutable(index)->assign(value); |
683 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
684 | 0 | } |
685 | 0 | inline void TabletSnapshotOpRequestPB::set_tablet_id(int index, const void* value, size_t size) { |
686 | 0 | tablet_id_.Mutable(index)->assign( |
687 | 0 | reinterpret_cast<const char*>(value), size); |
688 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
689 | 0 | } |
690 | 1.21k | inline ::std::string* TabletSnapshotOpRequestPB::add_tablet_id() { |
691 | | // @@protoc_insertion_point(field_add_mutable:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
692 | 1.21k | return tablet_id_.Add(); |
693 | 1.21k | } |
694 | 79 | inline void TabletSnapshotOpRequestPB::add_tablet_id(const ::std::string& value) { |
695 | 79 | tablet_id_.Add()->assign(value); |
696 | | // @@protoc_insertion_point(field_add:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
697 | 79 | } |
698 | | #if LANG_CXX11 |
699 | 0 | inline void TabletSnapshotOpRequestPB::add_tablet_id(::std::string&& value) { |
700 | 0 | tablet_id_.Add(std::move(value)); |
701 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
702 | 0 | } |
703 | | #endif |
704 | 748 | inline void TabletSnapshotOpRequestPB::add_tablet_id(const char* value) { |
705 | 748 | GOOGLE_DCHECK(value != NULL); |
706 | 748 | tablet_id_.Add()->assign(value); |
707 | | // @@protoc_insertion_point(field_add_char:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
708 | 748 | } |
709 | 0 | inline void TabletSnapshotOpRequestPB::add_tablet_id(const void* value, size_t size) { |
710 | 0 | tablet_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
711 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
712 | 0 | } |
713 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
714 | 51 | TabletSnapshotOpRequestPB::tablet_id() const { |
715 | | // @@protoc_insertion_point(field_list:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
716 | 51 | return tablet_id_; |
717 | 51 | } |
718 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
719 | 0 | TabletSnapshotOpRequestPB::mutable_tablet_id() { |
720 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.TabletSnapshotOpRequestPB.tablet_id) |
721 | 0 | return &tablet_id_; |
722 | 0 | } |
723 | | |
724 | | // fixed64 propagated_hybrid_time = 5; |
725 | 0 | inline void TabletSnapshotOpRequestPB::clear_propagated_hybrid_time() { |
726 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
727 | 0 | } |
728 | 11.8k | inline ::google::protobuf::uint64 TabletSnapshotOpRequestPB::propagated_hybrid_time() const { |
729 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.propagated_hybrid_time) |
730 | 11.8k | return propagated_hybrid_time_; |
731 | 11.8k | } |
732 | 96 | inline void TabletSnapshotOpRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
733 | | |
734 | 96 | propagated_hybrid_time_ = value; |
735 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.propagated_hybrid_time) |
736 | 96 | } |
737 | | |
738 | | // string snapshot_dir_override = 6; |
739 | 0 | inline void TabletSnapshotOpRequestPB::clear_snapshot_dir_override() { |
740 | 0 | snapshot_dir_override_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
741 | 0 | } |
742 | 32.2k | inline const ::std::string& TabletSnapshotOpRequestPB::snapshot_dir_override() const { |
743 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
744 | 32.2k | return snapshot_dir_override_.GetNoArena(); |
745 | 32.2k | } |
746 | 0 | inline void TabletSnapshotOpRequestPB::set_snapshot_dir_override(const ::std::string& value) { |
747 | 0 | |
748 | 0 | snapshot_dir_override_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
749 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
750 | 0 | } |
751 | | #if LANG_CXX11 |
752 | 746 | inline void TabletSnapshotOpRequestPB::set_snapshot_dir_override(::std::string&& value) { |
753 | | |
754 | 746 | snapshot_dir_override_.SetNoArena( |
755 | 746 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
756 | | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
757 | 746 | } |
758 | | #endif |
759 | 0 | inline void TabletSnapshotOpRequestPB::set_snapshot_dir_override(const char* value) { |
760 | 0 | GOOGLE_DCHECK(value != NULL); |
761 | 0 | |
762 | 0 | snapshot_dir_override_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
763 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
764 | 0 | } |
765 | 0 | inline void TabletSnapshotOpRequestPB::set_snapshot_dir_override(const char* value, size_t size) { |
766 | 0 | |
767 | 0 | snapshot_dir_override_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
768 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
769 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
770 | 0 | } |
771 | 1.02k | inline ::std::string* TabletSnapshotOpRequestPB::mutable_snapshot_dir_override() { |
772 | | |
773 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
774 | 1.02k | return snapshot_dir_override_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
775 | 1.02k | } |
776 | 0 | inline ::std::string* TabletSnapshotOpRequestPB::release_snapshot_dir_override() { |
777 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
778 | 0 | |
779 | 0 | return snapshot_dir_override_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
780 | 0 | } |
781 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_snapshot_dir_override(::std::string* snapshot_dir_override) { |
782 | 0 | if (snapshot_dir_override != NULL) { |
783 | 0 | |
784 | 0 | } else { |
785 | 0 | |
786 | 0 | } |
787 | 0 | snapshot_dir_override_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_dir_override); |
788 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.snapshot_dir_override) |
789 | 0 | } |
790 | | |
791 | | // fixed64 snapshot_hybrid_time = 7; |
792 | 0 | inline void TabletSnapshotOpRequestPB::clear_snapshot_hybrid_time() { |
793 | 0 | snapshot_hybrid_time_ = GOOGLE_ULONGLONG(0); |
794 | 0 | } |
795 | 13.8k | inline ::google::protobuf::uint64 TabletSnapshotOpRequestPB::snapshot_hybrid_time() const { |
796 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.snapshot_hybrid_time) |
797 | 13.8k | return snapshot_hybrid_time_; |
798 | 13.8k | } |
799 | 92 | inline void TabletSnapshotOpRequestPB::set_snapshot_hybrid_time(::google::protobuf::uint64 value) { |
800 | | |
801 | 92 | snapshot_hybrid_time_ = value; |
802 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.snapshot_hybrid_time) |
803 | 92 | } |
804 | | |
805 | | // fixed64 restoration_hybrid_time = 17; |
806 | 0 | inline void TabletSnapshotOpRequestPB::clear_restoration_hybrid_time() { |
807 | 0 | restoration_hybrid_time_ = GOOGLE_ULONGLONG(0); |
808 | 0 | } |
809 | 11.6k | inline ::google::protobuf::uint64 TabletSnapshotOpRequestPB::restoration_hybrid_time() const { |
810 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.restoration_hybrid_time) |
811 | 11.6k | return restoration_hybrid_time_; |
812 | 11.6k | } |
813 | 26 | inline void TabletSnapshotOpRequestPB::set_restoration_hybrid_time(::google::protobuf::uint64 value) { |
814 | | |
815 | 26 | restoration_hybrid_time_ = value; |
816 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.restoration_hybrid_time) |
817 | 26 | } |
818 | | |
819 | | // .google.protobuf.Any extra_data = 8; |
820 | 11.5k | inline bool TabletSnapshotOpRequestPB::has_extra_data() const { |
821 | 11.5k | return this != internal_default_instance() && extra_data_ != NULL11.4k ; |
822 | 11.5k | } |
823 | 51 | inline const ::google::protobuf::Any& TabletSnapshotOpRequestPB::extra_data() const { |
824 | 51 | const ::google::protobuf::Any* p = extra_data_; |
825 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.extra_data) |
826 | 51 | return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>( |
827 | 0 | &::google::protobuf::_Any_default_instance_); |
828 | 51 | } |
829 | 0 | inline ::google::protobuf::Any* TabletSnapshotOpRequestPB::release_extra_data() { |
830 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.extra_data) |
831 | 0 | |
832 | 0 | ::google::protobuf::Any* temp = extra_data_; |
833 | 0 | extra_data_ = NULL; |
834 | 0 | return temp; |
835 | 0 | } |
836 | 59 | inline ::google::protobuf::Any* TabletSnapshotOpRequestPB::mutable_extra_data() { |
837 | | |
838 | 59 | if (extra_data_ == NULL) { |
839 | 59 | extra_data_ = new ::google::protobuf::Any; |
840 | 59 | } |
841 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.extra_data) |
842 | 59 | return extra_data_; |
843 | 59 | } |
844 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_extra_data(::google::protobuf::Any* extra_data) { |
845 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
846 | 0 | if (message_arena == NULL) { |
847 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(extra_data_); |
848 | 0 | } |
849 | 0 | if (extra_data) { |
850 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
851 | 0 | if (message_arena != submessage_arena) { |
852 | 0 | extra_data = ::google::protobuf::internal::GetOwnedMessage( |
853 | 0 | message_arena, extra_data, submessage_arena); |
854 | 0 | } |
855 | 0 | |
856 | 0 | } else { |
857 | 0 | |
858 | 0 | } |
859 | 0 | extra_data_ = extra_data; |
860 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.extra_data) |
861 | 0 | } |
862 | | |
863 | | // bool imported = 9; |
864 | 0 | inline void TabletSnapshotOpRequestPB::clear_imported() { |
865 | 0 | imported_ = false; |
866 | 0 | } |
867 | 11.5k | inline bool TabletSnapshotOpRequestPB::imported() const { |
868 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.imported) |
869 | 11.5k | return imported_; |
870 | 11.5k | } |
871 | 21 | inline void TabletSnapshotOpRequestPB::set_imported(bool value) { |
872 | | |
873 | 21 | imported_ = value; |
874 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.imported) |
875 | 21 | } |
876 | | |
877 | | // bytes schedule_id = 10; |
878 | 0 | inline void TabletSnapshotOpRequestPB::clear_schedule_id() { |
879 | 0 | schedule_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
880 | 0 | } |
881 | 12.3k | inline const ::std::string& TabletSnapshotOpRequestPB::schedule_id() const { |
882 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
883 | 12.3k | return schedule_id_.GetNoArena(); |
884 | 12.3k | } |
885 | 0 | inline void TabletSnapshotOpRequestPB::set_schedule_id(const ::std::string& value) { |
886 | 0 | |
887 | 0 | schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
888 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
889 | 0 | } |
890 | | #if LANG_CXX11 |
891 | 0 | inline void TabletSnapshotOpRequestPB::set_schedule_id(::std::string&& value) { |
892 | 0 | |
893 | 0 | schedule_id_.SetNoArena( |
894 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
895 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
896 | 0 | } |
897 | | #endif |
898 | 0 | inline void TabletSnapshotOpRequestPB::set_schedule_id(const char* value) { |
899 | 0 | GOOGLE_DCHECK(value != NULL); |
900 | 0 | |
901 | 0 | schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
902 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
903 | 0 | } |
904 | 35 | inline void TabletSnapshotOpRequestPB::set_schedule_id(const void* value, size_t size) { |
905 | | |
906 | 35 | schedule_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
907 | 35 | ::std::string(reinterpret_cast<const char*>(value), size)); |
908 | | // @@protoc_insertion_point(field_set_pointer:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
909 | 35 | } |
910 | 91 | inline ::std::string* TabletSnapshotOpRequestPB::mutable_schedule_id() { |
911 | | |
912 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
913 | 91 | return schedule_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
914 | 91 | } |
915 | 0 | inline ::std::string* TabletSnapshotOpRequestPB::release_schedule_id() { |
916 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
917 | 0 | |
918 | 0 | return schedule_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
919 | 0 | } |
920 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_schedule_id(::std::string* schedule_id) { |
921 | 0 | if (schedule_id != NULL) { |
922 | 0 | |
923 | 0 | } else { |
924 | 0 | |
925 | 0 | } |
926 | 0 | schedule_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), schedule_id); |
927 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.schedule_id) |
928 | 0 | } |
929 | | |
930 | | // bytes restoration_id = 11; |
931 | 0 | inline void TabletSnapshotOpRequestPB::clear_restoration_id() { |
932 | 0 | restoration_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
933 | 0 | } |
934 | 13.8k | inline const ::std::string& TabletSnapshotOpRequestPB::restoration_id() const { |
935 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
936 | 13.8k | return restoration_id_.GetNoArena(); |
937 | 13.8k | } |
938 | 0 | inline void TabletSnapshotOpRequestPB::set_restoration_id(const ::std::string& value) { |
939 | 0 | |
940 | 0 | restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
941 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
942 | 0 | } |
943 | | #if LANG_CXX11 |
944 | 0 | inline void TabletSnapshotOpRequestPB::set_restoration_id(::std::string&& value) { |
945 | 0 | |
946 | 0 | restoration_id_.SetNoArena( |
947 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
948 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
949 | 0 | } |
950 | | #endif |
951 | 0 | inline void TabletSnapshotOpRequestPB::set_restoration_id(const char* value) { |
952 | 0 | GOOGLE_DCHECK(value != NULL); |
953 | 0 | |
954 | 0 | restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
955 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
956 | 0 | } |
957 | 29 | inline void TabletSnapshotOpRequestPB::set_restoration_id(const void* value, size_t size) { |
958 | | |
959 | 29 | restoration_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
960 | 29 | ::std::string(reinterpret_cast<const char*>(value), size)); |
961 | | // @@protoc_insertion_point(field_set_pointer:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
962 | 29 | } |
963 | 72 | inline ::std::string* TabletSnapshotOpRequestPB::mutable_restoration_id() { |
964 | | |
965 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
966 | 72 | return restoration_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
967 | 72 | } |
968 | 0 | inline ::std::string* TabletSnapshotOpRequestPB::release_restoration_id() { |
969 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
970 | 0 | |
971 | 0 | return restoration_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
972 | 0 | } |
973 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_restoration_id(::std::string* restoration_id) { |
974 | 0 | if (restoration_id != NULL) { |
975 | 0 | |
976 | 0 | } else { |
977 | 0 | |
978 | 0 | } |
979 | 0 | restoration_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), restoration_id); |
980 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.restoration_id) |
981 | 0 | } |
982 | | |
983 | | // uint32 schema_version = 12; |
984 | 0 | inline void TabletSnapshotOpRequestPB::clear_schema_version() { |
985 | 0 | schema_version_ = 0u; |
986 | 0 | } |
987 | 11.5k | inline ::google::protobuf::uint32 TabletSnapshotOpRequestPB::schema_version() const { |
988 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.schema_version) |
989 | 11.5k | return schema_version_; |
990 | 11.5k | } |
991 | 13 | inline void TabletSnapshotOpRequestPB::set_schema_version(::google::protobuf::uint32 value) { |
992 | | |
993 | 13 | schema_version_ = value; |
994 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.schema_version) |
995 | 13 | } |
996 | | |
997 | | // .yb.SchemaPB schema = 13; |
998 | 21.6k | inline bool TabletSnapshotOpRequestPB::has_schema() const { |
999 | 21.6k | return this != internal_default_instance() && schema_ != NULL; |
1000 | 21.6k | } |
1001 | 40 | inline const ::yb::SchemaPB& TabletSnapshotOpRequestPB::schema() const { |
1002 | 40 | const ::yb::SchemaPB* p = schema_; |
1003 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.schema) |
1004 | 40 | return p != NULL ? *p : *reinterpret_cast<const ::yb::SchemaPB*>( |
1005 | 0 | &::yb::_SchemaPB_default_instance_); |
1006 | 40 | } |
1007 | 0 | inline ::yb::SchemaPB* TabletSnapshotOpRequestPB::release_schema() { |
1008 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpRequestPB.schema) |
1009 | 0 | |
1010 | 0 | ::yb::SchemaPB* temp = schema_; |
1011 | 0 | schema_ = NULL; |
1012 | 0 | return temp; |
1013 | 0 | } |
1014 | 50 | inline ::yb::SchemaPB* TabletSnapshotOpRequestPB::mutable_schema() { |
1015 | | |
1016 | 50 | if (schema_ == NULL) { |
1017 | 50 | schema_ = new ::yb::SchemaPB; |
1018 | 50 | } |
1019 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.schema) |
1020 | 50 | return schema_; |
1021 | 50 | } |
1022 | 0 | inline void TabletSnapshotOpRequestPB::set_allocated_schema(::yb::SchemaPB* schema) { |
1023 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1024 | 0 | if (message_arena == NULL) { |
1025 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(schema_); |
1026 | 0 | } |
1027 | 0 | if (schema) { |
1028 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1029 | 0 | if (message_arena != submessage_arena) { |
1030 | 0 | schema = ::google::protobuf::internal::GetOwnedMessage( |
1031 | 0 | message_arena, schema, submessage_arena); |
1032 | 0 | } |
1033 | 0 | |
1034 | 0 | } else { |
1035 | 0 | |
1036 | 0 | } |
1037 | 0 | schema_ = schema; |
1038 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpRequestPB.schema) |
1039 | 0 | } |
1040 | | |
1041 | | // repeated .yb.IndexInfoPB indexes = 14; |
1042 | 10.7k | inline int TabletSnapshotOpRequestPB::indexes_size() const { |
1043 | 10.7k | return indexes_.size(); |
1044 | 10.7k | } |
1045 | 60 | inline const ::yb::IndexInfoPB& TabletSnapshotOpRequestPB::indexes(int index) const { |
1046 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.indexes) |
1047 | 60 | return indexes_.Get(index); |
1048 | 60 | } |
1049 | 0 | inline ::yb::IndexInfoPB* TabletSnapshotOpRequestPB::mutable_indexes(int index) { |
1050 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpRequestPB.indexes) |
1051 | 0 | return indexes_.Mutable(index); |
1052 | 0 | } |
1053 | 9 | inline ::yb::IndexInfoPB* TabletSnapshotOpRequestPB::add_indexes() { |
1054 | | // @@protoc_insertion_point(field_add:yb.tserver.TabletSnapshotOpRequestPB.indexes) |
1055 | 9 | return indexes_.Add(); |
1056 | 9 | } |
1057 | | inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >* |
1058 | 10 | TabletSnapshotOpRequestPB::mutable_indexes() { |
1059 | | // @@protoc_insertion_point(field_mutable_list:yb.tserver.TabletSnapshotOpRequestPB.indexes) |
1060 | 10 | return &indexes_; |
1061 | 10 | } |
1062 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >& |
1063 | 8.37k | TabletSnapshotOpRequestPB::indexes() const { |
1064 | | // @@protoc_insertion_point(field_list:yb.tserver.TabletSnapshotOpRequestPB.indexes) |
1065 | 8.37k | return indexes_; |
1066 | 8.37k | } |
1067 | | |
1068 | | // fixed64 previous_snapshot_hybrid_time = 15; |
1069 | 0 | inline void TabletSnapshotOpRequestPB::clear_previous_snapshot_hybrid_time() { |
1070 | 0 | previous_snapshot_hybrid_time_ = GOOGLE_ULONGLONG(0); |
1071 | 0 | } |
1072 | 11.6k | inline ::google::protobuf::uint64 TabletSnapshotOpRequestPB::previous_snapshot_hybrid_time() const { |
1073 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.previous_snapshot_hybrid_time) |
1074 | 11.6k | return previous_snapshot_hybrid_time_; |
1075 | 11.6k | } |
1076 | 11 | inline void TabletSnapshotOpRequestPB::set_previous_snapshot_hybrid_time(::google::protobuf::uint64 value) { |
1077 | | |
1078 | 11 | previous_snapshot_hybrid_time_ = value; |
1079 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.previous_snapshot_hybrid_time) |
1080 | 11 | } |
1081 | | |
1082 | | // bool hide = 16; |
1083 | 0 | inline void TabletSnapshotOpRequestPB::clear_hide() { |
1084 | 0 | hide_ = false; |
1085 | 0 | } |
1086 | 11.5k | inline bool TabletSnapshotOpRequestPB::hide() const { |
1087 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpRequestPB.hide) |
1088 | 11.5k | return hide_; |
1089 | 11.5k | } |
1090 | 10 | inline void TabletSnapshotOpRequestPB::set_hide(bool value) { |
1091 | | |
1092 | 10 | hide_ = value; |
1093 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpRequestPB.hide) |
1094 | 10 | } |
1095 | | |
1096 | | // ------------------------------------------------------------------- |
1097 | | |
1098 | | // TabletSnapshotOpResponsePB |
1099 | | |
1100 | | // .yb.tserver.TabletServerErrorPB error = 1; |
1101 | 399 | inline bool TabletSnapshotOpResponsePB::has_error() const { |
1102 | 399 | return this != internal_default_instance() && error_ != NULL398 ; |
1103 | 399 | } |
1104 | 13 | inline const ::yb::tserver::TabletServerErrorPB& TabletSnapshotOpResponsePB::error() const { |
1105 | 13 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
1106 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpResponsePB.error) |
1107 | 13 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
1108 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
1109 | 13 | } |
1110 | 0 | inline ::yb::tserver::TabletServerErrorPB* TabletSnapshotOpResponsePB::release_error() { |
1111 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TabletSnapshotOpResponsePB.error) |
1112 | 0 | |
1113 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
1114 | 0 | error_ = NULL; |
1115 | 0 | return temp; |
1116 | 0 | } |
1117 | 14 | inline ::yb::tserver::TabletServerErrorPB* TabletSnapshotOpResponsePB::mutable_error() { |
1118 | | |
1119 | 14 | if (error_ == NULL) { |
1120 | 14 | error_ = new ::yb::tserver::TabletServerErrorPB; |
1121 | 14 | } |
1122 | | // @@protoc_insertion_point(field_mutable:yb.tserver.TabletSnapshotOpResponsePB.error) |
1123 | 14 | return error_; |
1124 | 14 | } |
1125 | 0 | inline void TabletSnapshotOpResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
1126 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1127 | 0 | if (message_arena == NULL) { |
1128 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
1129 | 0 | } |
1130 | 0 | if (error) { |
1131 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1132 | 0 | if (message_arena != submessage_arena) { |
1133 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
1134 | 0 | message_arena, error, submessage_arena); |
1135 | 0 | } |
1136 | 0 | |
1137 | 0 | } else { |
1138 | 0 | |
1139 | 0 | } |
1140 | 0 | error_ = error; |
1141 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TabletSnapshotOpResponsePB.error) |
1142 | 0 | } |
1143 | | |
1144 | | // fixed64 propagated_hybrid_time = 2; |
1145 | 0 | inline void TabletSnapshotOpResponsePB::clear_propagated_hybrid_time() { |
1146 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
1147 | 0 | } |
1148 | 264 | inline ::google::protobuf::uint64 TabletSnapshotOpResponsePB::propagated_hybrid_time() const { |
1149 | | // @@protoc_insertion_point(field_get:yb.tserver.TabletSnapshotOpResponsePB.propagated_hybrid_time) |
1150 | 264 | return propagated_hybrid_time_; |
1151 | 264 | } |
1152 | 48 | inline void TabletSnapshotOpResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
1153 | | |
1154 | 48 | propagated_hybrid_time_ = value; |
1155 | | // @@protoc_insertion_point(field_set:yb.tserver.TabletSnapshotOpResponsePB.propagated_hybrid_time) |
1156 | 48 | } |
1157 | | |
1158 | | #ifdef __GNUC__ |
1159 | | #pragma GCC diagnostic pop |
1160 | | #endif // __GNUC__ |
1161 | | // ------------------------------------------------------------------- |
1162 | | |
1163 | | |
1164 | | // @@protoc_insertion_point(namespace_scope) |
1165 | | |
1166 | | } // namespace tserver |
1167 | | } // namespace yb |
1168 | | |
1169 | | namespace google { |
1170 | | namespace protobuf { |
1171 | | |
1172 | | template <> struct is_proto_enum< ::yb::tserver::TabletSnapshotOpRequestPB_Operation> : ::google::protobuf::internal::true_type {}; |
1173 | | template <> |
1174 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::tserver::TabletSnapshotOpRequestPB_Operation>() { |
1175 | 0 | return ::yb::tserver::TabletSnapshotOpRequestPB_Operation_descriptor(); |
1176 | 0 | } |
1177 | | |
1178 | | } // namespace protobuf |
1179 | | } // namespace google |
1180 | | |
1181 | | // @@protoc_insertion_point(global_scope) |
1182 | | |
1183 | | #endif // PROTOBUF_yb_2ftserver_2fbackup_2eproto__INCLUDED |