/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tserver/tserver_service.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_service.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2ftserver_2ftserver_5fservice_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2ftserver_2ftserver_5fservice_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/unknown_field_set.h> |
32 | | #include "yb/common/common.pb.h" |
33 | | #include "yb/common/common_types.pb.h" |
34 | | #include "yb/common/transaction.pb.h" |
35 | | #include "yb/tablet/tablet_types.pb.h" |
36 | | #include "yb/tablet/operations.pb.h" |
37 | | #include "yb/tserver/tserver.pb.h" |
38 | | #include "yb/tserver/tserver_types.pb.h" |
39 | | // @@protoc_insertion_point(includes) |
40 | | |
41 | | namespace protobuf_yb_2ftserver_2ftserver_5fservice_2eproto { |
42 | | // Internal implementation detail -- do not use these members. |
43 | | struct TableStruct { |
44 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
45 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
46 | | static const ::google::protobuf::internal::ParseTable schema[23]; |
47 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
48 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
49 | | static const ::google::protobuf::uint32 offsets[]; |
50 | | }; |
51 | | void AddDescriptors(); |
52 | | void InitDefaultsGetLogLocationRequestPBImpl(); |
53 | | void InitDefaultsGetLogLocationRequestPB(); |
54 | | void InitDefaultsGetLogLocationResponsePBImpl(); |
55 | | void InitDefaultsGetLogLocationResponsePB(); |
56 | | void InitDefaultsChecksumRequestPBImpl(); |
57 | | void InitDefaultsChecksumRequestPB(); |
58 | | void InitDefaultsChecksumResponsePBImpl(); |
59 | | void InitDefaultsChecksumResponsePB(); |
60 | | void InitDefaultsListTabletsForTabletServerRequestPBImpl(); |
61 | | void InitDefaultsListTabletsForTabletServerRequestPB(); |
62 | | void InitDefaultsListTabletsForTabletServerResponsePB_EntryImpl(); |
63 | | void InitDefaultsListTabletsForTabletServerResponsePB_Entry(); |
64 | | void InitDefaultsListTabletsForTabletServerResponsePBImpl(); |
65 | | void InitDefaultsListTabletsForTabletServerResponsePB(); |
66 | | void InitDefaultsImportDataRequestPBImpl(); |
67 | | void InitDefaultsImportDataRequestPB(); |
68 | | void InitDefaultsImportDataResponsePBImpl(); |
69 | | void InitDefaultsImportDataResponsePB(); |
70 | | void InitDefaultsUpdateTransactionRequestPBImpl(); |
71 | | void InitDefaultsUpdateTransactionRequestPB(); |
72 | | void InitDefaultsUpdateTransactionResponsePBImpl(); |
73 | | void InitDefaultsUpdateTransactionResponsePB(); |
74 | | void InitDefaultsGetTransactionStatusRequestPBImpl(); |
75 | | void InitDefaultsGetTransactionStatusRequestPB(); |
76 | | void InitDefaultsGetTransactionStatusResponsePBImpl(); |
77 | | void InitDefaultsGetTransactionStatusResponsePB(); |
78 | | void InitDefaultsGetTransactionStatusAtParticipantRequestPBImpl(); |
79 | | void InitDefaultsGetTransactionStatusAtParticipantRequestPB(); |
80 | | void InitDefaultsGetTransactionStatusAtParticipantResponsePBImpl(); |
81 | | void InitDefaultsGetTransactionStatusAtParticipantResponsePB(); |
82 | | void InitDefaultsAbortTransactionRequestPBImpl(); |
83 | | void InitDefaultsAbortTransactionRequestPB(); |
84 | | void InitDefaultsAbortTransactionResponsePBImpl(); |
85 | | void InitDefaultsAbortTransactionResponsePB(); |
86 | | void InitDefaultsTakeTransactionRequestPBImpl(); |
87 | | void InitDefaultsTakeTransactionRequestPB(); |
88 | | void InitDefaultsTakeTransactionResponsePBImpl(); |
89 | | void InitDefaultsTakeTransactionResponsePB(); |
90 | | void InitDefaultsGetSplitKeyRequestPBImpl(); |
91 | | void InitDefaultsGetSplitKeyRequestPB(); |
92 | | void InitDefaultsGetSplitKeyResponsePBImpl(); |
93 | | void InitDefaultsGetSplitKeyResponsePB(); |
94 | | void InitDefaultsGetSharedDataRequestPBImpl(); |
95 | | void InitDefaultsGetSharedDataRequestPB(); |
96 | | void InitDefaultsGetSharedDataResponsePBImpl(); |
97 | | void InitDefaultsGetSharedDataResponsePB(); |
98 | 26.8k | inline void InitDefaults() { |
99 | 26.8k | InitDefaultsGetLogLocationRequestPB(); |
100 | 26.8k | InitDefaultsGetLogLocationResponsePB(); |
101 | 26.8k | InitDefaultsChecksumRequestPB(); |
102 | 26.8k | InitDefaultsChecksumResponsePB(); |
103 | 26.8k | InitDefaultsListTabletsForTabletServerRequestPB(); |
104 | 26.8k | InitDefaultsListTabletsForTabletServerResponsePB_Entry(); |
105 | 26.8k | InitDefaultsListTabletsForTabletServerResponsePB(); |
106 | 26.8k | InitDefaultsImportDataRequestPB(); |
107 | 26.8k | InitDefaultsImportDataResponsePB(); |
108 | 26.8k | InitDefaultsUpdateTransactionRequestPB(); |
109 | 26.8k | InitDefaultsUpdateTransactionResponsePB(); |
110 | 26.8k | InitDefaultsGetTransactionStatusRequestPB(); |
111 | 26.8k | InitDefaultsGetTransactionStatusResponsePB(); |
112 | 26.8k | InitDefaultsGetTransactionStatusAtParticipantRequestPB(); |
113 | 26.8k | InitDefaultsGetTransactionStatusAtParticipantResponsePB(); |
114 | 26.8k | InitDefaultsAbortTransactionRequestPB(); |
115 | 26.8k | InitDefaultsAbortTransactionResponsePB(); |
116 | 26.8k | InitDefaultsTakeTransactionRequestPB(); |
117 | 26.8k | InitDefaultsTakeTransactionResponsePB(); |
118 | 26.8k | InitDefaultsGetSplitKeyRequestPB(); |
119 | 26.8k | InitDefaultsGetSplitKeyResponsePB(); |
120 | 26.8k | InitDefaultsGetSharedDataRequestPB(); |
121 | 26.8k | InitDefaultsGetSharedDataResponsePB(); |
122 | 26.8k | } |
123 | | } // namespace protobuf_yb_2ftserver_2ftserver_5fservice_2eproto |
124 | | namespace yb { |
125 | | namespace tserver { |
126 | | class AbortTransactionRequestPB; |
127 | | class AbortTransactionRequestPBDefaultTypeInternal; |
128 | | extern AbortTransactionRequestPBDefaultTypeInternal _AbortTransactionRequestPB_default_instance_; |
129 | | class AbortTransactionResponsePB; |
130 | | class AbortTransactionResponsePBDefaultTypeInternal; |
131 | | extern AbortTransactionResponsePBDefaultTypeInternal _AbortTransactionResponsePB_default_instance_; |
132 | | class ChecksumRequestPB; |
133 | | class ChecksumRequestPBDefaultTypeInternal; |
134 | | extern ChecksumRequestPBDefaultTypeInternal _ChecksumRequestPB_default_instance_; |
135 | | class ChecksumResponsePB; |
136 | | class ChecksumResponsePBDefaultTypeInternal; |
137 | | extern ChecksumResponsePBDefaultTypeInternal _ChecksumResponsePB_default_instance_; |
138 | | class GetLogLocationRequestPB; |
139 | | class GetLogLocationRequestPBDefaultTypeInternal; |
140 | | extern GetLogLocationRequestPBDefaultTypeInternal _GetLogLocationRequestPB_default_instance_; |
141 | | class GetLogLocationResponsePB; |
142 | | class GetLogLocationResponsePBDefaultTypeInternal; |
143 | | extern GetLogLocationResponsePBDefaultTypeInternal _GetLogLocationResponsePB_default_instance_; |
144 | | class GetSharedDataRequestPB; |
145 | | class GetSharedDataRequestPBDefaultTypeInternal; |
146 | | extern GetSharedDataRequestPBDefaultTypeInternal _GetSharedDataRequestPB_default_instance_; |
147 | | class GetSharedDataResponsePB; |
148 | | class GetSharedDataResponsePBDefaultTypeInternal; |
149 | | extern GetSharedDataResponsePBDefaultTypeInternal _GetSharedDataResponsePB_default_instance_; |
150 | | class GetSplitKeyRequestPB; |
151 | | class GetSplitKeyRequestPBDefaultTypeInternal; |
152 | | extern GetSplitKeyRequestPBDefaultTypeInternal _GetSplitKeyRequestPB_default_instance_; |
153 | | class GetSplitKeyResponsePB; |
154 | | class GetSplitKeyResponsePBDefaultTypeInternal; |
155 | | extern GetSplitKeyResponsePBDefaultTypeInternal _GetSplitKeyResponsePB_default_instance_; |
156 | | class GetTransactionStatusAtParticipantRequestPB; |
157 | | class GetTransactionStatusAtParticipantRequestPBDefaultTypeInternal; |
158 | | extern GetTransactionStatusAtParticipantRequestPBDefaultTypeInternal _GetTransactionStatusAtParticipantRequestPB_default_instance_; |
159 | | class GetTransactionStatusAtParticipantResponsePB; |
160 | | class GetTransactionStatusAtParticipantResponsePBDefaultTypeInternal; |
161 | | extern GetTransactionStatusAtParticipantResponsePBDefaultTypeInternal _GetTransactionStatusAtParticipantResponsePB_default_instance_; |
162 | | class GetTransactionStatusRequestPB; |
163 | | class GetTransactionStatusRequestPBDefaultTypeInternal; |
164 | | extern GetTransactionStatusRequestPBDefaultTypeInternal _GetTransactionStatusRequestPB_default_instance_; |
165 | | class GetTransactionStatusResponsePB; |
166 | | class GetTransactionStatusResponsePBDefaultTypeInternal; |
167 | | extern GetTransactionStatusResponsePBDefaultTypeInternal _GetTransactionStatusResponsePB_default_instance_; |
168 | | class ImportDataRequestPB; |
169 | | class ImportDataRequestPBDefaultTypeInternal; |
170 | | extern ImportDataRequestPBDefaultTypeInternal _ImportDataRequestPB_default_instance_; |
171 | | class ImportDataResponsePB; |
172 | | class ImportDataResponsePBDefaultTypeInternal; |
173 | | extern ImportDataResponsePBDefaultTypeInternal _ImportDataResponsePB_default_instance_; |
174 | | class ListTabletsForTabletServerRequestPB; |
175 | | class ListTabletsForTabletServerRequestPBDefaultTypeInternal; |
176 | | extern ListTabletsForTabletServerRequestPBDefaultTypeInternal _ListTabletsForTabletServerRequestPB_default_instance_; |
177 | | class ListTabletsForTabletServerResponsePB; |
178 | | class ListTabletsForTabletServerResponsePBDefaultTypeInternal; |
179 | | extern ListTabletsForTabletServerResponsePBDefaultTypeInternal _ListTabletsForTabletServerResponsePB_default_instance_; |
180 | | class ListTabletsForTabletServerResponsePB_Entry; |
181 | | class ListTabletsForTabletServerResponsePB_EntryDefaultTypeInternal; |
182 | | extern ListTabletsForTabletServerResponsePB_EntryDefaultTypeInternal _ListTabletsForTabletServerResponsePB_Entry_default_instance_; |
183 | | class TakeTransactionRequestPB; |
184 | | class TakeTransactionRequestPBDefaultTypeInternal; |
185 | | extern TakeTransactionRequestPBDefaultTypeInternal _TakeTransactionRequestPB_default_instance_; |
186 | | class TakeTransactionResponsePB; |
187 | | class TakeTransactionResponsePBDefaultTypeInternal; |
188 | | extern TakeTransactionResponsePBDefaultTypeInternal _TakeTransactionResponsePB_default_instance_; |
189 | | class UpdateTransactionRequestPB; |
190 | | class UpdateTransactionRequestPBDefaultTypeInternal; |
191 | | extern UpdateTransactionRequestPBDefaultTypeInternal _UpdateTransactionRequestPB_default_instance_; |
192 | | class UpdateTransactionResponsePB; |
193 | | class UpdateTransactionResponsePBDefaultTypeInternal; |
194 | | extern UpdateTransactionResponsePBDefaultTypeInternal _UpdateTransactionResponsePB_default_instance_; |
195 | | } // namespace tserver |
196 | | } // namespace yb |
197 | | namespace yb { |
198 | | namespace tserver { |
199 | | |
200 | | // =================================================================== |
201 | | |
202 | | class GetLogLocationRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetLogLocationRequestPB) */ { |
203 | | public: |
204 | | GetLogLocationRequestPB(); |
205 | | virtual ~GetLogLocationRequestPB(); |
206 | | |
207 | | GetLogLocationRequestPB(const GetLogLocationRequestPB& from); |
208 | | |
209 | 0 | inline GetLogLocationRequestPB& operator=(const GetLogLocationRequestPB& from) { |
210 | 0 | CopyFrom(from); |
211 | 0 | return *this; |
212 | 0 | } |
213 | | #if LANG_CXX11 |
214 | | GetLogLocationRequestPB(GetLogLocationRequestPB&& from) noexcept |
215 | 0 | : GetLogLocationRequestPB() { |
216 | 0 | *this = ::std::move(from); |
217 | 0 | } |
218 | | |
219 | 0 | inline GetLogLocationRequestPB& operator=(GetLogLocationRequestPB&& from) noexcept { |
220 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
221 | 0 | if (this != &from) InternalSwap(&from); |
222 | 0 | } else { |
223 | 0 | CopyFrom(from); |
224 | 0 | } |
225 | 0 | return *this; |
226 | 0 | } |
227 | | #endif |
228 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
229 | 0 | return _internal_metadata_.unknown_fields(); |
230 | 0 | } |
231 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
232 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
233 | 0 | } |
234 | | |
235 | | static const ::google::protobuf::Descriptor* descriptor(); |
236 | | static const GetLogLocationRequestPB& default_instance(); |
237 | | |
238 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
239 | 26.8k | static inline const GetLogLocationRequestPB* internal_default_instance() { |
240 | 26.8k | return reinterpret_cast<const GetLogLocationRequestPB*>( |
241 | 26.8k | &_GetLogLocationRequestPB_default_instance_); |
242 | 26.8k | } |
243 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
244 | | 0; |
245 | | |
246 | | void Swap(GetLogLocationRequestPB* other); |
247 | 0 | friend void swap(GetLogLocationRequestPB& a, GetLogLocationRequestPB& b) { |
248 | 0 | a.Swap(&b); |
249 | 0 | } |
250 | | |
251 | | // implements Message ---------------------------------------------- |
252 | | |
253 | 0 | inline GetLogLocationRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
254 | | |
255 | | GetLogLocationRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
256 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
257 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
258 | | void CopyFrom(const GetLogLocationRequestPB& from); |
259 | | void MergeFrom(const GetLogLocationRequestPB& from); |
260 | | void Clear() PROTOBUF_FINAL; |
261 | | bool IsInitialized() const PROTOBUF_FINAL; |
262 | | |
263 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
264 | | bool MergePartialFromCodedStream( |
265 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
266 | | void SerializeWithCachedSizes( |
267 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
268 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
269 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
270 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
271 | | private: |
272 | | void SharedCtor(); |
273 | | void SharedDtor(); |
274 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
275 | | void InternalSwap(GetLogLocationRequestPB* other); |
276 | | private: |
277 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
278 | 0 | return NULL; |
279 | 0 | } |
280 | 0 | inline void* MaybeArenaPtr() const { |
281 | 0 | return NULL; |
282 | 0 | } |
283 | | public: |
284 | | |
285 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
286 | | |
287 | | // nested types ---------------------------------------------------- |
288 | | |
289 | | // accessors ------------------------------------------------------- |
290 | | |
291 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetLogLocationRequestPB) |
292 | | private: |
293 | | |
294 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
295 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
296 | | mutable int _cached_size_; |
297 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
298 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetLogLocationRequestPBImpl(); |
299 | | }; |
300 | | // ------------------------------------------------------------------- |
301 | | |
302 | | class GetLogLocationResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetLogLocationResponsePB) */ { |
303 | | public: |
304 | | GetLogLocationResponsePB(); |
305 | | virtual ~GetLogLocationResponsePB(); |
306 | | |
307 | | GetLogLocationResponsePB(const GetLogLocationResponsePB& from); |
308 | | |
309 | 0 | inline GetLogLocationResponsePB& operator=(const GetLogLocationResponsePB& from) { |
310 | 0 | CopyFrom(from); |
311 | 0 | return *this; |
312 | 0 | } |
313 | | #if LANG_CXX11 |
314 | | GetLogLocationResponsePB(GetLogLocationResponsePB&& from) noexcept |
315 | 0 | : GetLogLocationResponsePB() { |
316 | 0 | *this = ::std::move(from); |
317 | 0 | } Unexecuted instantiation: yb::tserver::GetLogLocationResponsePB::GetLogLocationResponsePB(yb::tserver::GetLogLocationResponsePB&&) Unexecuted instantiation: yb::tserver::GetLogLocationResponsePB::GetLogLocationResponsePB(yb::tserver::GetLogLocationResponsePB&&) |
318 | | |
319 | 0 | inline GetLogLocationResponsePB& operator=(GetLogLocationResponsePB&& from) noexcept { |
320 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
321 | 0 | if (this != &from) InternalSwap(&from); |
322 | 0 | } else { |
323 | 0 | CopyFrom(from); |
324 | 0 | } |
325 | 0 | return *this; |
326 | 0 | } |
327 | | #endif |
328 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
329 | 0 | return _internal_metadata_.unknown_fields(); |
330 | 0 | } |
331 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
332 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
333 | 0 | } |
334 | | |
335 | | static const ::google::protobuf::Descriptor* descriptor(); |
336 | | static const GetLogLocationResponsePB& default_instance(); |
337 | | |
338 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
339 | 26.8k | static inline const GetLogLocationResponsePB* internal_default_instance() { |
340 | 26.8k | return reinterpret_cast<const GetLogLocationResponsePB*>( |
341 | 26.8k | &_GetLogLocationResponsePB_default_instance_); |
342 | 26.8k | } |
343 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
344 | | 1; |
345 | | |
346 | | void Swap(GetLogLocationResponsePB* other); |
347 | 0 | friend void swap(GetLogLocationResponsePB& a, GetLogLocationResponsePB& b) { |
348 | 0 | a.Swap(&b); |
349 | 0 | } |
350 | | |
351 | | // implements Message ---------------------------------------------- |
352 | | |
353 | 0 | inline GetLogLocationResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
354 | | |
355 | | GetLogLocationResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
356 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
357 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
358 | | void CopyFrom(const GetLogLocationResponsePB& from); |
359 | | void MergeFrom(const GetLogLocationResponsePB& from); |
360 | | void Clear() PROTOBUF_FINAL; |
361 | | bool IsInitialized() const PROTOBUF_FINAL; |
362 | | |
363 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
364 | | bool MergePartialFromCodedStream( |
365 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
366 | | void SerializeWithCachedSizes( |
367 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
368 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
369 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
370 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
371 | | private: |
372 | | void SharedCtor(); |
373 | | void SharedDtor(); |
374 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
375 | | void InternalSwap(GetLogLocationResponsePB* other); |
376 | | private: |
377 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
378 | 0 | return NULL; |
379 | 0 | } |
380 | 0 | inline void* MaybeArenaPtr() const { |
381 | 0 | return NULL; |
382 | 0 | } |
383 | | public: |
384 | | |
385 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
386 | | |
387 | | // nested types ---------------------------------------------------- |
388 | | |
389 | | // accessors ------------------------------------------------------- |
390 | | |
391 | | // optional string log_location = 1; |
392 | | bool has_log_location() const; |
393 | | void clear_log_location(); |
394 | | static const int kLogLocationFieldNumber = 1; |
395 | | const ::std::string& log_location() const; |
396 | | void set_log_location(const ::std::string& value); |
397 | | #if LANG_CXX11 |
398 | | void set_log_location(::std::string&& value); |
399 | | #endif |
400 | | void set_log_location(const char* value); |
401 | | void set_log_location(const char* value, size_t size); |
402 | | ::std::string* mutable_log_location(); |
403 | | ::std::string* release_log_location(); |
404 | | void set_allocated_log_location(::std::string* log_location); |
405 | | |
406 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetLogLocationResponsePB) |
407 | | private: |
408 | | void set_has_log_location(); |
409 | | void clear_has_log_location(); |
410 | | |
411 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
412 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
413 | | mutable int _cached_size_; |
414 | | ::google::protobuf::internal::ArenaStringPtr log_location_; |
415 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
416 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetLogLocationResponsePBImpl(); |
417 | | }; |
418 | | // ------------------------------------------------------------------- |
419 | | |
420 | | class ChecksumRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ChecksumRequestPB) */ { |
421 | | public: |
422 | | ChecksumRequestPB(); |
423 | | virtual ~ChecksumRequestPB(); |
424 | | |
425 | | ChecksumRequestPB(const ChecksumRequestPB& from); |
426 | | |
427 | 0 | inline ChecksumRequestPB& operator=(const ChecksumRequestPB& from) { |
428 | 0 | CopyFrom(from); |
429 | 0 | return *this; |
430 | 0 | } |
431 | | #if LANG_CXX11 |
432 | | ChecksumRequestPB(ChecksumRequestPB&& from) noexcept |
433 | 0 | : ChecksumRequestPB() { |
434 | 0 | *this = ::std::move(from); |
435 | 0 | } |
436 | | |
437 | 0 | inline ChecksumRequestPB& operator=(ChecksumRequestPB&& from) noexcept { |
438 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
439 | 0 | if (this != &from) InternalSwap(&from); |
440 | 0 | } else { |
441 | 0 | CopyFrom(from); |
442 | 0 | } |
443 | 0 | return *this; |
444 | 0 | } |
445 | | #endif |
446 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
447 | 0 | return _internal_metadata_.unknown_fields(); |
448 | 0 | } |
449 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
450 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
451 | 0 | } |
452 | | |
453 | | static const ::google::protobuf::Descriptor* descriptor(); |
454 | | static const ChecksumRequestPB& default_instance(); |
455 | | |
456 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
457 | 34.5k | static inline const ChecksumRequestPB* internal_default_instance() { |
458 | 34.5k | return reinterpret_cast<const ChecksumRequestPB*>( |
459 | 34.5k | &_ChecksumRequestPB_default_instance_); |
460 | 34.5k | } |
461 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
462 | | 2; |
463 | | |
464 | | void Swap(ChecksumRequestPB* other); |
465 | 0 | friend void swap(ChecksumRequestPB& a, ChecksumRequestPB& b) { |
466 | 0 | a.Swap(&b); |
467 | 0 | } |
468 | | |
469 | | // implements Message ---------------------------------------------- |
470 | | |
471 | 0 | inline ChecksumRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
472 | | |
473 | | ChecksumRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
474 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
475 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
476 | | void CopyFrom(const ChecksumRequestPB& from); |
477 | | void MergeFrom(const ChecksumRequestPB& from); |
478 | | void Clear() PROTOBUF_FINAL; |
479 | | bool IsInitialized() const PROTOBUF_FINAL; |
480 | | |
481 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
482 | | bool MergePartialFromCodedStream( |
483 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
484 | | void SerializeWithCachedSizes( |
485 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
486 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
487 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
488 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
489 | | private: |
490 | | void SharedCtor(); |
491 | | void SharedDtor(); |
492 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
493 | | void InternalSwap(ChecksumRequestPB* other); |
494 | | private: |
495 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
496 | 0 | return NULL; |
497 | 0 | } |
498 | 0 | inline void* MaybeArenaPtr() const { |
499 | 0 | return NULL; |
500 | 0 | } |
501 | | public: |
502 | | |
503 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
504 | | |
505 | | // nested types ---------------------------------------------------- |
506 | | |
507 | | // accessors ------------------------------------------------------- |
508 | | |
509 | | // optional bytes tablet_id = 6; |
510 | | bool has_tablet_id() const; |
511 | | void clear_tablet_id(); |
512 | | static const int kTabletIdFieldNumber = 6; |
513 | | const ::std::string& tablet_id() const; |
514 | | void set_tablet_id(const ::std::string& value); |
515 | | #if LANG_CXX11 |
516 | | void set_tablet_id(::std::string&& value); |
517 | | #endif |
518 | | void set_tablet_id(const char* value); |
519 | | void set_tablet_id(const void* value, size_t size); |
520 | | ::std::string* mutable_tablet_id(); |
521 | | ::std::string* release_tablet_id(); |
522 | | void set_allocated_tablet_id(::std::string* tablet_id); |
523 | | |
524 | | // optional .yb.YBConsistencyLevel consistency_level = 7; |
525 | | bool has_consistency_level() const; |
526 | | void clear_consistency_level(); |
527 | | static const int kConsistencyLevelFieldNumber = 7; |
528 | | ::yb::YBConsistencyLevel consistency_level() const; |
529 | | void set_consistency_level(::yb::YBConsistencyLevel value); |
530 | | |
531 | | // @@protoc_insertion_point(class_scope:yb.tserver.ChecksumRequestPB) |
532 | | private: |
533 | | void set_has_tablet_id(); |
534 | | void clear_has_tablet_id(); |
535 | | void set_has_consistency_level(); |
536 | | void clear_has_consistency_level(); |
537 | | |
538 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
539 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
540 | | mutable int _cached_size_; |
541 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
542 | | int consistency_level_; |
543 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
544 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsChecksumRequestPBImpl(); |
545 | | }; |
546 | | // ------------------------------------------------------------------- |
547 | | |
548 | | class ChecksumResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ChecksumResponsePB) */ { |
549 | | public: |
550 | | ChecksumResponsePB(); |
551 | | virtual ~ChecksumResponsePB(); |
552 | | |
553 | | ChecksumResponsePB(const ChecksumResponsePB& from); |
554 | | |
555 | 0 | inline ChecksumResponsePB& operator=(const ChecksumResponsePB& from) { |
556 | 0 | CopyFrom(from); |
557 | 0 | return *this; |
558 | 0 | } |
559 | | #if LANG_CXX11 |
560 | | ChecksumResponsePB(ChecksumResponsePB&& from) noexcept |
561 | 0 | : ChecksumResponsePB() { |
562 | 0 | *this = ::std::move(from); |
563 | 0 | } |
564 | | |
565 | 0 | inline ChecksumResponsePB& operator=(ChecksumResponsePB&& from) noexcept { |
566 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
567 | 0 | if (this != &from) InternalSwap(&from); |
568 | 0 | } else { |
569 | 0 | CopyFrom(from); |
570 | 0 | } |
571 | 0 | return *this; |
572 | 0 | } |
573 | | #endif |
574 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
575 | 0 | return _internal_metadata_.unknown_fields(); |
576 | 0 | } |
577 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
578 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
579 | 0 | } |
580 | | |
581 | | static const ::google::protobuf::Descriptor* descriptor(); |
582 | | static const ChecksumResponsePB& default_instance(); |
583 | | |
584 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
585 | 42.2k | static inline const ChecksumResponsePB* internal_default_instance() { |
586 | 42.2k | return reinterpret_cast<const ChecksumResponsePB*>( |
587 | 42.2k | &_ChecksumResponsePB_default_instance_); |
588 | 42.2k | } |
589 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
590 | | 3; |
591 | | |
592 | | void Swap(ChecksumResponsePB* other); |
593 | 0 | friend void swap(ChecksumResponsePB& a, ChecksumResponsePB& b) { |
594 | 0 | a.Swap(&b); |
595 | 0 | } |
596 | | |
597 | | // implements Message ---------------------------------------------- |
598 | | |
599 | 0 | inline ChecksumResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
600 | | |
601 | | ChecksumResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
602 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
603 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
604 | | void CopyFrom(const ChecksumResponsePB& from); |
605 | | void MergeFrom(const ChecksumResponsePB& from); |
606 | | void Clear() PROTOBUF_FINAL; |
607 | | bool IsInitialized() const PROTOBUF_FINAL; |
608 | | |
609 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
610 | | bool MergePartialFromCodedStream( |
611 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
612 | | void SerializeWithCachedSizes( |
613 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
614 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
615 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
616 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
617 | | private: |
618 | | void SharedCtor(); |
619 | | void SharedDtor(); |
620 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
621 | | void InternalSwap(ChecksumResponsePB* other); |
622 | | private: |
623 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
624 | 0 | return NULL; |
625 | 0 | } |
626 | 0 | inline void* MaybeArenaPtr() const { |
627 | 0 | return NULL; |
628 | 0 | } |
629 | | public: |
630 | | |
631 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
632 | | |
633 | | // nested types ---------------------------------------------------- |
634 | | |
635 | | // accessors ------------------------------------------------------- |
636 | | |
637 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
638 | | bool has_error() const; |
639 | | void clear_error(); |
640 | | static const int kErrorFieldNumber = 1; |
641 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
642 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
643 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
644 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
645 | | |
646 | | // optional uint64 checksum = 2; |
647 | | bool has_checksum() const; |
648 | | void clear_checksum(); |
649 | | static const int kChecksumFieldNumber = 2; |
650 | | ::google::protobuf::uint64 checksum() const; |
651 | | void set_checksum(::google::protobuf::uint64 value); |
652 | | |
653 | | // @@protoc_insertion_point(class_scope:yb.tserver.ChecksumResponsePB) |
654 | | private: |
655 | | void set_has_error(); |
656 | | void clear_has_error(); |
657 | | void set_has_checksum(); |
658 | | void clear_has_checksum(); |
659 | | |
660 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
661 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
662 | | mutable int _cached_size_; |
663 | | ::yb::tserver::TabletServerErrorPB* error_; |
664 | | ::google::protobuf::uint64 checksum_; |
665 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
666 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsChecksumResponsePBImpl(); |
667 | | }; |
668 | | // ------------------------------------------------------------------- |
669 | | |
670 | | class ListTabletsForTabletServerRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ListTabletsForTabletServerRequestPB) */ { |
671 | | public: |
672 | | ListTabletsForTabletServerRequestPB(); |
673 | | virtual ~ListTabletsForTabletServerRequestPB(); |
674 | | |
675 | | ListTabletsForTabletServerRequestPB(const ListTabletsForTabletServerRequestPB& from); |
676 | | |
677 | 0 | inline ListTabletsForTabletServerRequestPB& operator=(const ListTabletsForTabletServerRequestPB& from) { |
678 | 0 | CopyFrom(from); |
679 | 0 | return *this; |
680 | 0 | } |
681 | | #if LANG_CXX11 |
682 | | ListTabletsForTabletServerRequestPB(ListTabletsForTabletServerRequestPB&& from) noexcept |
683 | 0 | : ListTabletsForTabletServerRequestPB() { |
684 | 0 | *this = ::std::move(from); |
685 | 0 | } |
686 | | |
687 | 0 | inline ListTabletsForTabletServerRequestPB& operator=(ListTabletsForTabletServerRequestPB&& from) noexcept { |
688 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
689 | 0 | if (this != &from) InternalSwap(&from); |
690 | 0 | } else { |
691 | 0 | CopyFrom(from); |
692 | 0 | } |
693 | 0 | return *this; |
694 | 0 | } |
695 | | #endif |
696 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
697 | 0 | return _internal_metadata_.unknown_fields(); |
698 | 0 | } |
699 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
700 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
701 | 0 | } |
702 | | |
703 | | static const ::google::protobuf::Descriptor* descriptor(); |
704 | | static const ListTabletsForTabletServerRequestPB& default_instance(); |
705 | | |
706 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
707 | 28.6k | static inline const ListTabletsForTabletServerRequestPB* internal_default_instance() { |
708 | 28.6k | return reinterpret_cast<const ListTabletsForTabletServerRequestPB*>( |
709 | 28.6k | &_ListTabletsForTabletServerRequestPB_default_instance_); |
710 | 28.6k | } |
711 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
712 | | 4; |
713 | | |
714 | | void Swap(ListTabletsForTabletServerRequestPB* other); |
715 | 0 | friend void swap(ListTabletsForTabletServerRequestPB& a, ListTabletsForTabletServerRequestPB& b) { |
716 | 0 | a.Swap(&b); |
717 | 0 | } |
718 | | |
719 | | // implements Message ---------------------------------------------- |
720 | | |
721 | 0 | inline ListTabletsForTabletServerRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
722 | | |
723 | | ListTabletsForTabletServerRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
724 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
725 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
726 | | void CopyFrom(const ListTabletsForTabletServerRequestPB& from); |
727 | | void MergeFrom(const ListTabletsForTabletServerRequestPB& from); |
728 | | void Clear() PROTOBUF_FINAL; |
729 | | bool IsInitialized() const PROTOBUF_FINAL; |
730 | | |
731 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
732 | | bool MergePartialFromCodedStream( |
733 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
734 | | void SerializeWithCachedSizes( |
735 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
736 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
737 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
738 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
739 | | private: |
740 | | void SharedCtor(); |
741 | | void SharedDtor(); |
742 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
743 | | void InternalSwap(ListTabletsForTabletServerRequestPB* other); |
744 | | private: |
745 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
746 | 0 | return NULL; |
747 | 0 | } |
748 | 0 | inline void* MaybeArenaPtr() const { |
749 | 0 | return NULL; |
750 | 0 | } |
751 | | public: |
752 | | |
753 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
754 | | |
755 | | // nested types ---------------------------------------------------- |
756 | | |
757 | | // accessors ------------------------------------------------------- |
758 | | |
759 | | // @@protoc_insertion_point(class_scope:yb.tserver.ListTabletsForTabletServerRequestPB) |
760 | | private: |
761 | | |
762 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
763 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
764 | | mutable int _cached_size_; |
765 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
766 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerRequestPBImpl(); |
767 | | }; |
768 | | // ------------------------------------------------------------------- |
769 | | |
770 | | class ListTabletsForTabletServerResponsePB_Entry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ListTabletsForTabletServerResponsePB.Entry) */ { |
771 | | public: |
772 | | ListTabletsForTabletServerResponsePB_Entry(); |
773 | | virtual ~ListTabletsForTabletServerResponsePB_Entry(); |
774 | | |
775 | | ListTabletsForTabletServerResponsePB_Entry(const ListTabletsForTabletServerResponsePB_Entry& from); |
776 | | |
777 | 0 | inline ListTabletsForTabletServerResponsePB_Entry& operator=(const ListTabletsForTabletServerResponsePB_Entry& from) { |
778 | 0 | CopyFrom(from); |
779 | 0 | return *this; |
780 | 0 | } |
781 | | #if LANG_CXX11 |
782 | | ListTabletsForTabletServerResponsePB_Entry(ListTabletsForTabletServerResponsePB_Entry&& from) noexcept |
783 | 4.06k | : ListTabletsForTabletServerResponsePB_Entry() { |
784 | 4.06k | *this = ::std::move(from); |
785 | 4.06k | } Unexecuted instantiation: yb::tserver::ListTabletsForTabletServerResponsePB_Entry::ListTabletsForTabletServerResponsePB_Entry(yb::tserver::ListTabletsForTabletServerResponsePB_Entry&&) yb::tserver::ListTabletsForTabletServerResponsePB_Entry::ListTabletsForTabletServerResponsePB_Entry(yb::tserver::ListTabletsForTabletServerResponsePB_Entry&&) Line | Count | Source | 783 | 4.06k | : ListTabletsForTabletServerResponsePB_Entry() { | 784 | 4.06k | *this = ::std::move(from); | 785 | 4.06k | } |
|
786 | | |
787 | 4.06k | inline ListTabletsForTabletServerResponsePB_Entry& operator=(ListTabletsForTabletServerResponsePB_Entry&& from) noexcept { |
788 | 4.06k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
789 | 4.06k | if (this != &from) InternalSwap(&from); |
790 | 4.06k | } else { |
791 | 0 | CopyFrom(from); |
792 | 0 | } |
793 | 4.06k | return *this; |
794 | 4.06k | } |
795 | | #endif |
796 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
797 | 0 | return _internal_metadata_.unknown_fields(); |
798 | 0 | } |
799 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
800 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
801 | 0 | } |
802 | | |
803 | | static const ::google::protobuf::Descriptor* descriptor(); |
804 | | static const ListTabletsForTabletServerResponsePB_Entry& default_instance(); |
805 | | |
806 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
807 | 39.7k | static inline const ListTabletsForTabletServerResponsePB_Entry* internal_default_instance() { |
808 | 39.7k | return reinterpret_cast<const ListTabletsForTabletServerResponsePB_Entry*>( |
809 | 39.7k | &_ListTabletsForTabletServerResponsePB_Entry_default_instance_); |
810 | 39.7k | } |
811 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
812 | | 5; |
813 | | |
814 | | void Swap(ListTabletsForTabletServerResponsePB_Entry* other); |
815 | 0 | friend void swap(ListTabletsForTabletServerResponsePB_Entry& a, ListTabletsForTabletServerResponsePB_Entry& b) { |
816 | 0 | a.Swap(&b); |
817 | 0 | } |
818 | | |
819 | | // implements Message ---------------------------------------------- |
820 | | |
821 | 0 | inline ListTabletsForTabletServerResponsePB_Entry* New() const PROTOBUF_FINAL { return New(NULL); } |
822 | | |
823 | | ListTabletsForTabletServerResponsePB_Entry* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
824 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
825 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
826 | | void CopyFrom(const ListTabletsForTabletServerResponsePB_Entry& from); |
827 | | void MergeFrom(const ListTabletsForTabletServerResponsePB_Entry& from); |
828 | | void Clear() PROTOBUF_FINAL; |
829 | | bool IsInitialized() const PROTOBUF_FINAL; |
830 | | |
831 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
832 | | bool MergePartialFromCodedStream( |
833 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
834 | | void SerializeWithCachedSizes( |
835 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
836 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
837 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
838 | 4.41k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
839 | | private: |
840 | | void SharedCtor(); |
841 | | void SharedDtor(); |
842 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
843 | | void InternalSwap(ListTabletsForTabletServerResponsePB_Entry* other); |
844 | | private: |
845 | 8.12k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
846 | 8.12k | return NULL; |
847 | 8.12k | } |
848 | 0 | inline void* MaybeArenaPtr() const { |
849 | 0 | return NULL; |
850 | 0 | } |
851 | | public: |
852 | | |
853 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
854 | | |
855 | | // nested types ---------------------------------------------------- |
856 | | |
857 | | // accessors ------------------------------------------------------- |
858 | | |
859 | | // optional string table_name = 1; |
860 | | bool has_table_name() const; |
861 | | void clear_table_name(); |
862 | | static const int kTableNameFieldNumber = 1; |
863 | | const ::std::string& table_name() const; |
864 | | void set_table_name(const ::std::string& value); |
865 | | #if LANG_CXX11 |
866 | | void set_table_name(::std::string&& value); |
867 | | #endif |
868 | | void set_table_name(const char* value); |
869 | | void set_table_name(const char* value, size_t size); |
870 | | ::std::string* mutable_table_name(); |
871 | | ::std::string* release_table_name(); |
872 | | void set_allocated_table_name(::std::string* table_name); |
873 | | |
874 | | // optional bytes tablet_id = 2; |
875 | | bool has_tablet_id() const; |
876 | | void clear_tablet_id(); |
877 | | static const int kTabletIdFieldNumber = 2; |
878 | | const ::std::string& tablet_id() const; |
879 | | void set_tablet_id(const ::std::string& value); |
880 | | #if LANG_CXX11 |
881 | | void set_tablet_id(::std::string&& value); |
882 | | #endif |
883 | | void set_tablet_id(const char* value); |
884 | | void set_tablet_id(const void* value, size_t size); |
885 | | ::std::string* mutable_tablet_id(); |
886 | | ::std::string* release_tablet_id(); |
887 | | void set_allocated_tablet_id(::std::string* tablet_id); |
888 | | |
889 | | // optional uint64 num_sst_files = 5; |
890 | | bool has_num_sst_files() const; |
891 | | void clear_num_sst_files(); |
892 | | static const int kNumSstFilesFieldNumber = 5; |
893 | | ::google::protobuf::uint64 num_sst_files() const; |
894 | | void set_num_sst_files(::google::protobuf::uint64 value); |
895 | | |
896 | | // optional uint64 num_log_segments = 6; |
897 | | bool has_num_log_segments() const; |
898 | | void clear_num_log_segments(); |
899 | | static const int kNumLogSegmentsFieldNumber = 6; |
900 | | ::google::protobuf::uint64 num_log_segments() const; |
901 | | void set_num_log_segments(::google::protobuf::uint64 value); |
902 | | |
903 | | // optional uint64 num_memtables_intents = 7; |
904 | | bool has_num_memtables_intents() const; |
905 | | void clear_num_memtables_intents(); |
906 | | static const int kNumMemtablesIntentsFieldNumber = 7; |
907 | | ::google::protobuf::uint64 num_memtables_intents() const; |
908 | | void set_num_memtables_intents(::google::protobuf::uint64 value); |
909 | | |
910 | | // optional uint64 num_memtables_regular = 8; |
911 | | bool has_num_memtables_regular() const; |
912 | | void clear_num_memtables_regular(); |
913 | | static const int kNumMemtablesRegularFieldNumber = 8; |
914 | | ::google::protobuf::uint64 num_memtables_regular() const; |
915 | | void set_num_memtables_regular(::google::protobuf::uint64 value); |
916 | | |
917 | | // optional bool is_leader = 3; |
918 | | bool has_is_leader() const; |
919 | | void clear_is_leader(); |
920 | | static const int kIsLeaderFieldNumber = 3; |
921 | | bool is_leader() const; |
922 | | void set_is_leader(bool value); |
923 | | |
924 | | // optional .yb.tablet.RaftGroupStatePB state = 4; |
925 | | bool has_state() const; |
926 | | void clear_state(); |
927 | | static const int kStateFieldNumber = 4; |
928 | | ::yb::tablet::RaftGroupStatePB state() const; |
929 | | void set_state(::yb::tablet::RaftGroupStatePB value); |
930 | | |
931 | | // @@protoc_insertion_point(class_scope:yb.tserver.ListTabletsForTabletServerResponsePB.Entry) |
932 | | private: |
933 | | void set_has_table_name(); |
934 | | void clear_has_table_name(); |
935 | | void set_has_tablet_id(); |
936 | | void clear_has_tablet_id(); |
937 | | void set_has_is_leader(); |
938 | | void clear_has_is_leader(); |
939 | | void set_has_state(); |
940 | | void clear_has_state(); |
941 | | void set_has_num_sst_files(); |
942 | | void clear_has_num_sst_files(); |
943 | | void set_has_num_log_segments(); |
944 | | void clear_has_num_log_segments(); |
945 | | void set_has_num_memtables_intents(); |
946 | | void clear_has_num_memtables_intents(); |
947 | | void set_has_num_memtables_regular(); |
948 | | void clear_has_num_memtables_regular(); |
949 | | |
950 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
951 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
952 | | mutable int _cached_size_; |
953 | | ::google::protobuf::internal::ArenaStringPtr table_name_; |
954 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
955 | | ::google::protobuf::uint64 num_sst_files_; |
956 | | ::google::protobuf::uint64 num_log_segments_; |
957 | | ::google::protobuf::uint64 num_memtables_intents_; |
958 | | ::google::protobuf::uint64 num_memtables_regular_; |
959 | | bool is_leader_; |
960 | | int state_; |
961 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
962 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePB_EntryImpl(); |
963 | | }; |
964 | | // ------------------------------------------------------------------- |
965 | | |
966 | | class ListTabletsForTabletServerResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ListTabletsForTabletServerResponsePB) */ { |
967 | | public: |
968 | | ListTabletsForTabletServerResponsePB(); |
969 | | virtual ~ListTabletsForTabletServerResponsePB(); |
970 | | |
971 | | ListTabletsForTabletServerResponsePB(const ListTabletsForTabletServerResponsePB& from); |
972 | | |
973 | 0 | inline ListTabletsForTabletServerResponsePB& operator=(const ListTabletsForTabletServerResponsePB& from) { |
974 | 0 | CopyFrom(from); |
975 | 0 | return *this; |
976 | 0 | } |
977 | | #if LANG_CXX11 |
978 | | ListTabletsForTabletServerResponsePB(ListTabletsForTabletServerResponsePB&& from) noexcept |
979 | 0 | : ListTabletsForTabletServerResponsePB() { |
980 | 0 | *this = ::std::move(from); |
981 | 0 | } Unexecuted instantiation: yb::tserver::ListTabletsForTabletServerResponsePB::ListTabletsForTabletServerResponsePB(yb::tserver::ListTabletsForTabletServerResponsePB&&) Unexecuted instantiation: yb::tserver::ListTabletsForTabletServerResponsePB::ListTabletsForTabletServerResponsePB(yb::tserver::ListTabletsForTabletServerResponsePB&&) |
982 | | |
983 | 0 | inline ListTabletsForTabletServerResponsePB& operator=(ListTabletsForTabletServerResponsePB&& from) noexcept { |
984 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
985 | 0 | if (this != &from) InternalSwap(&from); |
986 | 0 | } else { |
987 | 0 | CopyFrom(from); |
988 | 0 | } |
989 | 0 | return *this; |
990 | 0 | } |
991 | | #endif |
992 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
993 | 0 | return _internal_metadata_.unknown_fields(); |
994 | 0 | } |
995 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
996 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
997 | 0 | } |
998 | | |
999 | | static const ::google::protobuf::Descriptor* descriptor(); |
1000 | | static const ListTabletsForTabletServerResponsePB& default_instance(); |
1001 | | |
1002 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1003 | 28.6k | static inline const ListTabletsForTabletServerResponsePB* internal_default_instance() { |
1004 | 28.6k | return reinterpret_cast<const ListTabletsForTabletServerResponsePB*>( |
1005 | 28.6k | &_ListTabletsForTabletServerResponsePB_default_instance_); |
1006 | 28.6k | } |
1007 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1008 | | 6; |
1009 | | |
1010 | | void Swap(ListTabletsForTabletServerResponsePB* other); |
1011 | 0 | friend void swap(ListTabletsForTabletServerResponsePB& a, ListTabletsForTabletServerResponsePB& b) { |
1012 | 0 | a.Swap(&b); |
1013 | 0 | } |
1014 | | |
1015 | | // implements Message ---------------------------------------------- |
1016 | | |
1017 | 0 | inline ListTabletsForTabletServerResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1018 | | |
1019 | | ListTabletsForTabletServerResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1020 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1021 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1022 | | void CopyFrom(const ListTabletsForTabletServerResponsePB& from); |
1023 | | void MergeFrom(const ListTabletsForTabletServerResponsePB& from); |
1024 | | void Clear() PROTOBUF_FINAL; |
1025 | | bool IsInitialized() const PROTOBUF_FINAL; |
1026 | | |
1027 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1028 | | bool MergePartialFromCodedStream( |
1029 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1030 | | void SerializeWithCachedSizes( |
1031 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1032 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1033 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1034 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1035 | | private: |
1036 | | void SharedCtor(); |
1037 | | void SharedDtor(); |
1038 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1039 | | void InternalSwap(ListTabletsForTabletServerResponsePB* other); |
1040 | | private: |
1041 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1042 | 0 | return NULL; |
1043 | 0 | } |
1044 | 0 | inline void* MaybeArenaPtr() const { |
1045 | 0 | return NULL; |
1046 | 0 | } |
1047 | | public: |
1048 | | |
1049 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1050 | | |
1051 | | // nested types ---------------------------------------------------- |
1052 | | |
1053 | | typedef ListTabletsForTabletServerResponsePB_Entry Entry; |
1054 | | |
1055 | | // accessors ------------------------------------------------------- |
1056 | | |
1057 | | // repeated .yb.tserver.ListTabletsForTabletServerResponsePB.Entry entries = 1; |
1058 | | int entries_size() const; |
1059 | | void clear_entries(); |
1060 | | static const int kEntriesFieldNumber = 1; |
1061 | | const ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry& entries(int index) const; |
1062 | | ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry* mutable_entries(int index); |
1063 | | ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry* add_entries(); |
1064 | | ::google::protobuf::RepeatedPtrField< ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry >* |
1065 | | mutable_entries(); |
1066 | | const ::google::protobuf::RepeatedPtrField< ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry >& |
1067 | | entries() const; |
1068 | | |
1069 | | // @@protoc_insertion_point(class_scope:yb.tserver.ListTabletsForTabletServerResponsePB) |
1070 | | private: |
1071 | | |
1072 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1073 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1074 | | mutable int _cached_size_; |
1075 | | ::google::protobuf::RepeatedPtrField< ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry > entries_; |
1076 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1077 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePBImpl(); |
1078 | | }; |
1079 | | // ------------------------------------------------------------------- |
1080 | | |
1081 | | class ImportDataRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ImportDataRequestPB) */ { |
1082 | | public: |
1083 | | ImportDataRequestPB(); |
1084 | | virtual ~ImportDataRequestPB(); |
1085 | | |
1086 | | ImportDataRequestPB(const ImportDataRequestPB& from); |
1087 | | |
1088 | 0 | inline ImportDataRequestPB& operator=(const ImportDataRequestPB& from) { |
1089 | 0 | CopyFrom(from); |
1090 | 0 | return *this; |
1091 | 0 | } |
1092 | | #if LANG_CXX11 |
1093 | | ImportDataRequestPB(ImportDataRequestPB&& from) noexcept |
1094 | 0 | : ImportDataRequestPB() { |
1095 | 0 | *this = ::std::move(from); |
1096 | 0 | } |
1097 | | |
1098 | 0 | inline ImportDataRequestPB& operator=(ImportDataRequestPB&& from) noexcept { |
1099 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1100 | 0 | if (this != &from) InternalSwap(&from); |
1101 | 0 | } else { |
1102 | 0 | CopyFrom(from); |
1103 | 0 | } |
1104 | 0 | return *this; |
1105 | 0 | } |
1106 | | #endif |
1107 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1108 | 0 | return _internal_metadata_.unknown_fields(); |
1109 | 0 | } |
1110 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1111 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1112 | 0 | } |
1113 | | |
1114 | | static const ::google::protobuf::Descriptor* descriptor(); |
1115 | | static const ImportDataRequestPB& default_instance(); |
1116 | | |
1117 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1118 | 26.8k | static inline const ImportDataRequestPB* internal_default_instance() { |
1119 | 26.8k | return reinterpret_cast<const ImportDataRequestPB*>( |
1120 | 26.8k | &_ImportDataRequestPB_default_instance_); |
1121 | 26.8k | } |
1122 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1123 | | 7; |
1124 | | |
1125 | | void Swap(ImportDataRequestPB* other); |
1126 | 0 | friend void swap(ImportDataRequestPB& a, ImportDataRequestPB& b) { |
1127 | 0 | a.Swap(&b); |
1128 | 0 | } |
1129 | | |
1130 | | // implements Message ---------------------------------------------- |
1131 | | |
1132 | 0 | inline ImportDataRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1133 | | |
1134 | | ImportDataRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1135 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1136 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1137 | | void CopyFrom(const ImportDataRequestPB& from); |
1138 | | void MergeFrom(const ImportDataRequestPB& from); |
1139 | | void Clear() PROTOBUF_FINAL; |
1140 | | bool IsInitialized() const PROTOBUF_FINAL; |
1141 | | |
1142 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1143 | | bool MergePartialFromCodedStream( |
1144 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1145 | | void SerializeWithCachedSizes( |
1146 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1147 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1148 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1149 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1150 | | private: |
1151 | | void SharedCtor(); |
1152 | | void SharedDtor(); |
1153 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1154 | | void InternalSwap(ImportDataRequestPB* other); |
1155 | | private: |
1156 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1157 | 0 | return NULL; |
1158 | 0 | } |
1159 | 0 | inline void* MaybeArenaPtr() const { |
1160 | 0 | return NULL; |
1161 | 0 | } |
1162 | | public: |
1163 | | |
1164 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1165 | | |
1166 | | // nested types ---------------------------------------------------- |
1167 | | |
1168 | | // accessors ------------------------------------------------------- |
1169 | | |
1170 | | // optional string tablet_id = 1; |
1171 | | bool has_tablet_id() const; |
1172 | | void clear_tablet_id(); |
1173 | | static const int kTabletIdFieldNumber = 1; |
1174 | | const ::std::string& tablet_id() const; |
1175 | | void set_tablet_id(const ::std::string& value); |
1176 | | #if LANG_CXX11 |
1177 | | void set_tablet_id(::std::string&& value); |
1178 | | #endif |
1179 | | void set_tablet_id(const char* value); |
1180 | | void set_tablet_id(const char* value, size_t size); |
1181 | | ::std::string* mutable_tablet_id(); |
1182 | | ::std::string* release_tablet_id(); |
1183 | | void set_allocated_tablet_id(::std::string* tablet_id); |
1184 | | |
1185 | | // optional string source_dir = 2; |
1186 | | bool has_source_dir() const; |
1187 | | void clear_source_dir(); |
1188 | | static const int kSourceDirFieldNumber = 2; |
1189 | | const ::std::string& source_dir() const; |
1190 | | void set_source_dir(const ::std::string& value); |
1191 | | #if LANG_CXX11 |
1192 | | void set_source_dir(::std::string&& value); |
1193 | | #endif |
1194 | | void set_source_dir(const char* value); |
1195 | | void set_source_dir(const char* value, size_t size); |
1196 | | ::std::string* mutable_source_dir(); |
1197 | | ::std::string* release_source_dir(); |
1198 | | void set_allocated_source_dir(::std::string* source_dir); |
1199 | | |
1200 | | // @@protoc_insertion_point(class_scope:yb.tserver.ImportDataRequestPB) |
1201 | | private: |
1202 | | void set_has_tablet_id(); |
1203 | | void clear_has_tablet_id(); |
1204 | | void set_has_source_dir(); |
1205 | | void clear_has_source_dir(); |
1206 | | |
1207 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1208 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1209 | | mutable int _cached_size_; |
1210 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
1211 | | ::google::protobuf::internal::ArenaStringPtr source_dir_; |
1212 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1213 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsImportDataRequestPBImpl(); |
1214 | | }; |
1215 | | // ------------------------------------------------------------------- |
1216 | | |
1217 | | class ImportDataResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.ImportDataResponsePB) */ { |
1218 | | public: |
1219 | | ImportDataResponsePB(); |
1220 | | virtual ~ImportDataResponsePB(); |
1221 | | |
1222 | | ImportDataResponsePB(const ImportDataResponsePB& from); |
1223 | | |
1224 | 0 | inline ImportDataResponsePB& operator=(const ImportDataResponsePB& from) { |
1225 | 0 | CopyFrom(from); |
1226 | 0 | return *this; |
1227 | 0 | } |
1228 | | #if LANG_CXX11 |
1229 | | ImportDataResponsePB(ImportDataResponsePB&& from) noexcept |
1230 | 0 | : ImportDataResponsePB() { |
1231 | 0 | *this = ::std::move(from); |
1232 | 0 | } |
1233 | | |
1234 | 0 | inline ImportDataResponsePB& operator=(ImportDataResponsePB&& from) noexcept { |
1235 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1236 | 0 | if (this != &from) InternalSwap(&from); |
1237 | 0 | } else { |
1238 | 0 | CopyFrom(from); |
1239 | 0 | } |
1240 | 0 | return *this; |
1241 | 0 | } |
1242 | | #endif |
1243 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1244 | 0 | return _internal_metadata_.unknown_fields(); |
1245 | 0 | } |
1246 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1247 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1248 | 0 | } |
1249 | | |
1250 | | static const ::google::protobuf::Descriptor* descriptor(); |
1251 | | static const ImportDataResponsePB& default_instance(); |
1252 | | |
1253 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1254 | 26.8k | static inline const ImportDataResponsePB* internal_default_instance() { |
1255 | 26.8k | return reinterpret_cast<const ImportDataResponsePB*>( |
1256 | 26.8k | &_ImportDataResponsePB_default_instance_); |
1257 | 26.8k | } |
1258 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1259 | | 8; |
1260 | | |
1261 | | void Swap(ImportDataResponsePB* other); |
1262 | 0 | friend void swap(ImportDataResponsePB& a, ImportDataResponsePB& b) { |
1263 | 0 | a.Swap(&b); |
1264 | 0 | } |
1265 | | |
1266 | | // implements Message ---------------------------------------------- |
1267 | | |
1268 | 0 | inline ImportDataResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1269 | | |
1270 | | ImportDataResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1271 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1272 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1273 | | void CopyFrom(const ImportDataResponsePB& from); |
1274 | | void MergeFrom(const ImportDataResponsePB& from); |
1275 | | void Clear() PROTOBUF_FINAL; |
1276 | | bool IsInitialized() const PROTOBUF_FINAL; |
1277 | | |
1278 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1279 | | bool MergePartialFromCodedStream( |
1280 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1281 | | void SerializeWithCachedSizes( |
1282 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1283 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1284 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1285 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1286 | | private: |
1287 | | void SharedCtor(); |
1288 | | void SharedDtor(); |
1289 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1290 | | void InternalSwap(ImportDataResponsePB* other); |
1291 | | private: |
1292 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1293 | 0 | return NULL; |
1294 | 0 | } |
1295 | 0 | inline void* MaybeArenaPtr() const { |
1296 | 0 | return NULL; |
1297 | 0 | } |
1298 | | public: |
1299 | | |
1300 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1301 | | |
1302 | | // nested types ---------------------------------------------------- |
1303 | | |
1304 | | // accessors ------------------------------------------------------- |
1305 | | |
1306 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
1307 | | bool has_error() const; |
1308 | | void clear_error(); |
1309 | | static const int kErrorFieldNumber = 1; |
1310 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
1311 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
1312 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
1313 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
1314 | | |
1315 | | // @@protoc_insertion_point(class_scope:yb.tserver.ImportDataResponsePB) |
1316 | | private: |
1317 | | void set_has_error(); |
1318 | | void clear_has_error(); |
1319 | | |
1320 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1321 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1322 | | mutable int _cached_size_; |
1323 | | ::yb::tserver::TabletServerErrorPB* error_; |
1324 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1325 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsImportDataResponsePBImpl(); |
1326 | | }; |
1327 | | // ------------------------------------------------------------------- |
1328 | | |
1329 | | class UpdateTransactionRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.UpdateTransactionRequestPB) */ { |
1330 | | public: |
1331 | | UpdateTransactionRequestPB(); |
1332 | | virtual ~UpdateTransactionRequestPB(); |
1333 | | |
1334 | | UpdateTransactionRequestPB(const UpdateTransactionRequestPB& from); |
1335 | | |
1336 | 0 | inline UpdateTransactionRequestPB& operator=(const UpdateTransactionRequestPB& from) { |
1337 | 0 | CopyFrom(from); |
1338 | 0 | return *this; |
1339 | 0 | } |
1340 | | #if LANG_CXX11 |
1341 | | UpdateTransactionRequestPB(UpdateTransactionRequestPB&& from) noexcept |
1342 | 0 | : UpdateTransactionRequestPB() { |
1343 | 0 | *this = ::std::move(from); |
1344 | 0 | } |
1345 | | |
1346 | 0 | inline UpdateTransactionRequestPB& operator=(UpdateTransactionRequestPB&& from) noexcept { |
1347 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1348 | 0 | if (this != &from) InternalSwap(&from); |
1349 | 0 | } else { |
1350 | 0 | CopyFrom(from); |
1351 | 0 | } |
1352 | 0 | return *this; |
1353 | 0 | } |
1354 | | #endif |
1355 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1356 | 0 | return _internal_metadata_.unknown_fields(); |
1357 | 0 | } |
1358 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1359 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1360 | 0 | } |
1361 | | |
1362 | | static const ::google::protobuf::Descriptor* descriptor(); |
1363 | | static const UpdateTransactionRequestPB& default_instance(); |
1364 | | |
1365 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1366 | 10.7M | static inline const UpdateTransactionRequestPB* internal_default_instance() { |
1367 | 10.7M | return reinterpret_cast<const UpdateTransactionRequestPB*>( |
1368 | 10.7M | &_UpdateTransactionRequestPB_default_instance_); |
1369 | 10.7M | } |
1370 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1371 | | 9; |
1372 | | |
1373 | | void Swap(UpdateTransactionRequestPB* other); |
1374 | 0 | friend void swap(UpdateTransactionRequestPB& a, UpdateTransactionRequestPB& b) { |
1375 | 0 | a.Swap(&b); |
1376 | 0 | } |
1377 | | |
1378 | | // implements Message ---------------------------------------------- |
1379 | | |
1380 | 0 | inline UpdateTransactionRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1381 | | |
1382 | | UpdateTransactionRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1383 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1384 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1385 | | void CopyFrom(const UpdateTransactionRequestPB& from); |
1386 | | void MergeFrom(const UpdateTransactionRequestPB& from); |
1387 | | void Clear() PROTOBUF_FINAL; |
1388 | | bool IsInitialized() const PROTOBUF_FINAL; |
1389 | | |
1390 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1391 | | bool MergePartialFromCodedStream( |
1392 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1393 | | void SerializeWithCachedSizes( |
1394 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1395 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1396 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1397 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1398 | | private: |
1399 | | void SharedCtor(); |
1400 | | void SharedDtor(); |
1401 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1402 | | void InternalSwap(UpdateTransactionRequestPB* other); |
1403 | | private: |
1404 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1405 | 0 | return NULL; |
1406 | 0 | } |
1407 | 0 | inline void* MaybeArenaPtr() const { |
1408 | 0 | return NULL; |
1409 | 0 | } |
1410 | | public: |
1411 | | |
1412 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1413 | | |
1414 | | // nested types ---------------------------------------------------- |
1415 | | |
1416 | | // accessors ------------------------------------------------------- |
1417 | | |
1418 | | // optional bytes tablet_id = 1; |
1419 | | bool has_tablet_id() const; |
1420 | | void clear_tablet_id(); |
1421 | | static const int kTabletIdFieldNumber = 1; |
1422 | | const ::std::string& tablet_id() const; |
1423 | | void set_tablet_id(const ::std::string& value); |
1424 | | #if LANG_CXX11 |
1425 | | void set_tablet_id(::std::string&& value); |
1426 | | #endif |
1427 | | void set_tablet_id(const char* value); |
1428 | | void set_tablet_id(const void* value, size_t size); |
1429 | | ::std::string* mutable_tablet_id(); |
1430 | | ::std::string* release_tablet_id(); |
1431 | | void set_allocated_tablet_id(::std::string* tablet_id); |
1432 | | |
1433 | | // optional .yb.tablet.TransactionStatePB state = 2; |
1434 | | bool has_state() const; |
1435 | | void clear_state(); |
1436 | | static const int kStateFieldNumber = 2; |
1437 | | const ::yb::tablet::TransactionStatePB& state() const; |
1438 | | ::yb::tablet::TransactionStatePB* release_state(); |
1439 | | ::yb::tablet::TransactionStatePB* mutable_state(); |
1440 | | void set_allocated_state(::yb::tablet::TransactionStatePB* state); |
1441 | | |
1442 | | // optional fixed64 propagated_hybrid_time = 3; |
1443 | | bool has_propagated_hybrid_time() const; |
1444 | | void clear_propagated_hybrid_time(); |
1445 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
1446 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
1447 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
1448 | | |
1449 | | // @@protoc_insertion_point(class_scope:yb.tserver.UpdateTransactionRequestPB) |
1450 | | private: |
1451 | | void set_has_tablet_id(); |
1452 | | void clear_has_tablet_id(); |
1453 | | void set_has_state(); |
1454 | | void clear_has_state(); |
1455 | | void set_has_propagated_hybrid_time(); |
1456 | | void clear_has_propagated_hybrid_time(); |
1457 | | |
1458 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1459 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1460 | | mutable int _cached_size_; |
1461 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
1462 | | ::yb::tablet::TransactionStatePB* state_; |
1463 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
1464 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1465 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsUpdateTransactionRequestPBImpl(); |
1466 | | }; |
1467 | | // ------------------------------------------------------------------- |
1468 | | |
1469 | | class UpdateTransactionResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.UpdateTransactionResponsePB) */ { |
1470 | | public: |
1471 | | UpdateTransactionResponsePB(); |
1472 | | virtual ~UpdateTransactionResponsePB(); |
1473 | | |
1474 | | UpdateTransactionResponsePB(const UpdateTransactionResponsePB& from); |
1475 | | |
1476 | 0 | inline UpdateTransactionResponsePB& operator=(const UpdateTransactionResponsePB& from) { |
1477 | 0 | CopyFrom(from); |
1478 | 0 | return *this; |
1479 | 0 | } |
1480 | | #if LANG_CXX11 |
1481 | | UpdateTransactionResponsePB(UpdateTransactionResponsePB&& from) noexcept |
1482 | 0 | : UpdateTransactionResponsePB() { |
1483 | 0 | *this = ::std::move(from); |
1484 | 0 | } |
1485 | | |
1486 | 0 | inline UpdateTransactionResponsePB& operator=(UpdateTransactionResponsePB&& from) noexcept { |
1487 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1488 | 0 | if (this != &from) InternalSwap(&from); |
1489 | 0 | } else { |
1490 | 0 | CopyFrom(from); |
1491 | 0 | } |
1492 | 0 | return *this; |
1493 | 0 | } |
1494 | | #endif |
1495 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1496 | 0 | return _internal_metadata_.unknown_fields(); |
1497 | 0 | } |
1498 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1499 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1500 | 0 | } |
1501 | | |
1502 | | static const ::google::protobuf::Descriptor* descriptor(); |
1503 | | static const UpdateTransactionResponsePB& default_instance(); |
1504 | | |
1505 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1506 | 7.51M | static inline const UpdateTransactionResponsePB* internal_default_instance() { |
1507 | 7.51M | return reinterpret_cast<const UpdateTransactionResponsePB*>( |
1508 | 7.51M | &_UpdateTransactionResponsePB_default_instance_); |
1509 | 7.51M | } |
1510 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1511 | | 10; |
1512 | | |
1513 | | void Swap(UpdateTransactionResponsePB* other); |
1514 | 0 | friend void swap(UpdateTransactionResponsePB& a, UpdateTransactionResponsePB& b) { |
1515 | 0 | a.Swap(&b); |
1516 | 0 | } |
1517 | | |
1518 | | // implements Message ---------------------------------------------- |
1519 | | |
1520 | 0 | inline UpdateTransactionResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1521 | | |
1522 | | UpdateTransactionResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1523 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1524 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1525 | | void CopyFrom(const UpdateTransactionResponsePB& from); |
1526 | | void MergeFrom(const UpdateTransactionResponsePB& from); |
1527 | | void Clear() PROTOBUF_FINAL; |
1528 | | bool IsInitialized() const PROTOBUF_FINAL; |
1529 | | |
1530 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1531 | | bool MergePartialFromCodedStream( |
1532 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1533 | | void SerializeWithCachedSizes( |
1534 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1535 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1536 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1537 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1538 | | private: |
1539 | | void SharedCtor(); |
1540 | | void SharedDtor(); |
1541 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1542 | | void InternalSwap(UpdateTransactionResponsePB* other); |
1543 | | private: |
1544 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1545 | 0 | return NULL; |
1546 | 0 | } |
1547 | 0 | inline void* MaybeArenaPtr() const { |
1548 | 0 | return NULL; |
1549 | 0 | } |
1550 | | public: |
1551 | | |
1552 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1553 | | |
1554 | | // nested types ---------------------------------------------------- |
1555 | | |
1556 | | // accessors ------------------------------------------------------- |
1557 | | |
1558 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
1559 | | bool has_error() const; |
1560 | | void clear_error(); |
1561 | | static const int kErrorFieldNumber = 1; |
1562 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
1563 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
1564 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
1565 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
1566 | | |
1567 | | // optional fixed64 propagated_hybrid_time = 2; |
1568 | | bool has_propagated_hybrid_time() const; |
1569 | | void clear_propagated_hybrid_time(); |
1570 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
1571 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
1572 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
1573 | | |
1574 | | // @@protoc_insertion_point(class_scope:yb.tserver.UpdateTransactionResponsePB) |
1575 | | private: |
1576 | | void set_has_error(); |
1577 | | void clear_has_error(); |
1578 | | void set_has_propagated_hybrid_time(); |
1579 | | void clear_has_propagated_hybrid_time(); |
1580 | | |
1581 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1582 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1583 | | mutable int _cached_size_; |
1584 | | ::yb::tserver::TabletServerErrorPB* error_; |
1585 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
1586 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1587 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsUpdateTransactionResponsePBImpl(); |
1588 | | }; |
1589 | | // ------------------------------------------------------------------- |
1590 | | |
1591 | | class GetTransactionStatusRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetTransactionStatusRequestPB) */ { |
1592 | | public: |
1593 | | GetTransactionStatusRequestPB(); |
1594 | | virtual ~GetTransactionStatusRequestPB(); |
1595 | | |
1596 | | GetTransactionStatusRequestPB(const GetTransactionStatusRequestPB& from); |
1597 | | |
1598 | 0 | inline GetTransactionStatusRequestPB& operator=(const GetTransactionStatusRequestPB& from) { |
1599 | 0 | CopyFrom(from); |
1600 | 0 | return *this; |
1601 | 0 | } |
1602 | | #if LANG_CXX11 |
1603 | | GetTransactionStatusRequestPB(GetTransactionStatusRequestPB&& from) noexcept |
1604 | 0 | : GetTransactionStatusRequestPB() { |
1605 | 0 | *this = ::std::move(from); |
1606 | 0 | } |
1607 | | |
1608 | 0 | inline GetTransactionStatusRequestPB& operator=(GetTransactionStatusRequestPB&& from) noexcept { |
1609 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1610 | 0 | if (this != &from) InternalSwap(&from); |
1611 | 0 | } else { |
1612 | 0 | CopyFrom(from); |
1613 | 0 | } |
1614 | 0 | return *this; |
1615 | 0 | } |
1616 | | #endif |
1617 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1618 | 0 | return _internal_metadata_.unknown_fields(); |
1619 | 0 | } |
1620 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1621 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1622 | 0 | } |
1623 | | |
1624 | | static const ::google::protobuf::Descriptor* descriptor(); |
1625 | | static const GetTransactionStatusRequestPB& default_instance(); |
1626 | | |
1627 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1628 | 828k | static inline const GetTransactionStatusRequestPB* internal_default_instance() { |
1629 | 828k | return reinterpret_cast<const GetTransactionStatusRequestPB*>( |
1630 | 828k | &_GetTransactionStatusRequestPB_default_instance_); |
1631 | 828k | } |
1632 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1633 | | 11; |
1634 | | |
1635 | | void Swap(GetTransactionStatusRequestPB* other); |
1636 | 0 | friend void swap(GetTransactionStatusRequestPB& a, GetTransactionStatusRequestPB& b) { |
1637 | 0 | a.Swap(&b); |
1638 | 0 | } |
1639 | | |
1640 | | // implements Message ---------------------------------------------- |
1641 | | |
1642 | 0 | inline GetTransactionStatusRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1643 | | |
1644 | | GetTransactionStatusRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1645 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1646 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1647 | | void CopyFrom(const GetTransactionStatusRequestPB& from); |
1648 | | void MergeFrom(const GetTransactionStatusRequestPB& from); |
1649 | | void Clear() PROTOBUF_FINAL; |
1650 | | bool IsInitialized() const PROTOBUF_FINAL; |
1651 | | |
1652 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1653 | | bool MergePartialFromCodedStream( |
1654 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1655 | | void SerializeWithCachedSizes( |
1656 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1657 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1658 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1659 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1660 | | private: |
1661 | | void SharedCtor(); |
1662 | | void SharedDtor(); |
1663 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1664 | | void InternalSwap(GetTransactionStatusRequestPB* other); |
1665 | | private: |
1666 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1667 | 0 | return NULL; |
1668 | 0 | } |
1669 | 0 | inline void* MaybeArenaPtr() const { |
1670 | 0 | return NULL; |
1671 | 0 | } |
1672 | | public: |
1673 | | |
1674 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1675 | | |
1676 | | // nested types ---------------------------------------------------- |
1677 | | |
1678 | | // accessors ------------------------------------------------------- |
1679 | | |
1680 | | // repeated bytes transaction_id = 2; |
1681 | | int transaction_id_size() const; |
1682 | | void clear_transaction_id(); |
1683 | | static const int kTransactionIdFieldNumber = 2; |
1684 | | const ::std::string& transaction_id(int index) const; |
1685 | | ::std::string* mutable_transaction_id(int index); |
1686 | | void set_transaction_id(int index, const ::std::string& value); |
1687 | | #if LANG_CXX11 |
1688 | | void set_transaction_id(int index, ::std::string&& value); |
1689 | | #endif |
1690 | | void set_transaction_id(int index, const char* value); |
1691 | | void set_transaction_id(int index, const void* value, size_t size); |
1692 | | ::std::string* add_transaction_id(); |
1693 | | void add_transaction_id(const ::std::string& value); |
1694 | | #if LANG_CXX11 |
1695 | | void add_transaction_id(::std::string&& value); |
1696 | | #endif |
1697 | | void add_transaction_id(const char* value); |
1698 | | void add_transaction_id(const void* value, size_t size); |
1699 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& transaction_id() const; |
1700 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_transaction_id(); |
1701 | | |
1702 | | // optional bytes tablet_id = 1; |
1703 | | bool has_tablet_id() const; |
1704 | | void clear_tablet_id(); |
1705 | | static const int kTabletIdFieldNumber = 1; |
1706 | | const ::std::string& tablet_id() const; |
1707 | | void set_tablet_id(const ::std::string& value); |
1708 | | #if LANG_CXX11 |
1709 | | void set_tablet_id(::std::string&& value); |
1710 | | #endif |
1711 | | void set_tablet_id(const char* value); |
1712 | | void set_tablet_id(const void* value, size_t size); |
1713 | | ::std::string* mutable_tablet_id(); |
1714 | | ::std::string* release_tablet_id(); |
1715 | | void set_allocated_tablet_id(::std::string* tablet_id); |
1716 | | |
1717 | | // optional fixed64 propagated_hybrid_time = 3; |
1718 | | bool has_propagated_hybrid_time() const; |
1719 | | void clear_propagated_hybrid_time(); |
1720 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
1721 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
1722 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
1723 | | |
1724 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetTransactionStatusRequestPB) |
1725 | | private: |
1726 | | void set_has_tablet_id(); |
1727 | | void clear_has_tablet_id(); |
1728 | | void set_has_propagated_hybrid_time(); |
1729 | | void clear_has_propagated_hybrid_time(); |
1730 | | |
1731 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1732 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1733 | | mutable int _cached_size_; |
1734 | | ::google::protobuf::RepeatedPtrField< ::std::string> transaction_id_; |
1735 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
1736 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
1737 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1738 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusRequestPBImpl(); |
1739 | | }; |
1740 | | // ------------------------------------------------------------------- |
1741 | | |
1742 | | class GetTransactionStatusResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetTransactionStatusResponsePB) */ { |
1743 | | public: |
1744 | | GetTransactionStatusResponsePB(); |
1745 | | virtual ~GetTransactionStatusResponsePB(); |
1746 | | |
1747 | | GetTransactionStatusResponsePB(const GetTransactionStatusResponsePB& from); |
1748 | | |
1749 | 0 | inline GetTransactionStatusResponsePB& operator=(const GetTransactionStatusResponsePB& from) { |
1750 | 0 | CopyFrom(from); |
1751 | 0 | return *this; |
1752 | 0 | } |
1753 | | #if LANG_CXX11 |
1754 | | GetTransactionStatusResponsePB(GetTransactionStatusResponsePB&& from) noexcept |
1755 | 0 | : GetTransactionStatusResponsePB() { |
1756 | 0 | *this = ::std::move(from); |
1757 | 0 | } Unexecuted instantiation: yb::tserver::GetTransactionStatusResponsePB::GetTransactionStatusResponsePB(yb::tserver::GetTransactionStatusResponsePB&&) Unexecuted instantiation: yb::tserver::GetTransactionStatusResponsePB::GetTransactionStatusResponsePB(yb::tserver::GetTransactionStatusResponsePB&&) |
1758 | | |
1759 | 0 | inline GetTransactionStatusResponsePB& operator=(GetTransactionStatusResponsePB&& from) noexcept { |
1760 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1761 | 0 | if (this != &from) InternalSwap(&from); |
1762 | 0 | } else { |
1763 | 0 | CopyFrom(from); |
1764 | 0 | } |
1765 | 0 | return *this; |
1766 | 0 | } |
1767 | | #endif |
1768 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1769 | 0 | return _internal_metadata_.unknown_fields(); |
1770 | 0 | } |
1771 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1772 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1773 | 0 | } |
1774 | | |
1775 | | static const ::google::protobuf::Descriptor* descriptor(); |
1776 | | static const GetTransactionStatusResponsePB& default_instance(); |
1777 | | |
1778 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1779 | 1.03M | static inline const GetTransactionStatusResponsePB* internal_default_instance() { |
1780 | 1.03M | return reinterpret_cast<const GetTransactionStatusResponsePB*>( |
1781 | 1.03M | &_GetTransactionStatusResponsePB_default_instance_); |
1782 | 1.03M | } |
1783 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1784 | | 12; |
1785 | | |
1786 | | void Swap(GetTransactionStatusResponsePB* other); |
1787 | 0 | friend void swap(GetTransactionStatusResponsePB& a, GetTransactionStatusResponsePB& b) { |
1788 | 0 | a.Swap(&b); |
1789 | 0 | } |
1790 | | |
1791 | | // implements Message ---------------------------------------------- |
1792 | | |
1793 | 0 | inline GetTransactionStatusResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1794 | | |
1795 | | GetTransactionStatusResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1796 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1797 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1798 | | void CopyFrom(const GetTransactionStatusResponsePB& from); |
1799 | | void MergeFrom(const GetTransactionStatusResponsePB& from); |
1800 | | void Clear() PROTOBUF_FINAL; |
1801 | | bool IsInitialized() const PROTOBUF_FINAL; |
1802 | | |
1803 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1804 | | bool MergePartialFromCodedStream( |
1805 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1806 | | void SerializeWithCachedSizes( |
1807 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1808 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1809 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1810 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1811 | | private: |
1812 | | void SharedCtor(); |
1813 | | void SharedDtor(); |
1814 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1815 | | void InternalSwap(GetTransactionStatusResponsePB* other); |
1816 | | private: |
1817 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1818 | 0 | return NULL; |
1819 | 0 | } |
1820 | 0 | inline void* MaybeArenaPtr() const { |
1821 | 0 | return NULL; |
1822 | 0 | } |
1823 | | public: |
1824 | | |
1825 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1826 | | |
1827 | | // nested types ---------------------------------------------------- |
1828 | | |
1829 | | // accessors ------------------------------------------------------- |
1830 | | |
1831 | | // repeated .yb.TransactionStatus status = 2; |
1832 | | int status_size() const; |
1833 | | void clear_status(); |
1834 | | static const int kStatusFieldNumber = 2; |
1835 | | ::yb::TransactionStatus status(int index) const; |
1836 | | void set_status(int index, ::yb::TransactionStatus value); |
1837 | | void add_status(::yb::TransactionStatus value); |
1838 | | const ::google::protobuf::RepeatedField<int>& status() const; |
1839 | | ::google::protobuf::RepeatedField<int>* mutable_status(); |
1840 | | |
1841 | | // repeated fixed64 status_hybrid_time = 3; |
1842 | | int status_hybrid_time_size() const; |
1843 | | void clear_status_hybrid_time(); |
1844 | | static const int kStatusHybridTimeFieldNumber = 3; |
1845 | | ::google::protobuf::uint64 status_hybrid_time(int index) const; |
1846 | | void set_status_hybrid_time(int index, ::google::protobuf::uint64 value); |
1847 | | void add_status_hybrid_time(::google::protobuf::uint64 value); |
1848 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& |
1849 | | status_hybrid_time() const; |
1850 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* |
1851 | | mutable_status_hybrid_time(); |
1852 | | |
1853 | | // repeated int64 num_replicated_batches = 5; |
1854 | | int num_replicated_batches_size() const; |
1855 | | void clear_num_replicated_batches(); |
1856 | | static const int kNumReplicatedBatchesFieldNumber = 5; |
1857 | | ::google::protobuf::int64 num_replicated_batches(int index) const; |
1858 | | void set_num_replicated_batches(int index, ::google::protobuf::int64 value); |
1859 | | void add_num_replicated_batches(::google::protobuf::int64 value); |
1860 | | const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >& |
1861 | | num_replicated_batches() const; |
1862 | | ::google::protobuf::RepeatedField< ::google::protobuf::int64 >* |
1863 | | mutable_num_replicated_batches(); |
1864 | | |
1865 | | // repeated fixed64 coordinator_safe_time = 6; |
1866 | | int coordinator_safe_time_size() const; |
1867 | | void clear_coordinator_safe_time(); |
1868 | | static const int kCoordinatorSafeTimeFieldNumber = 6; |
1869 | | ::google::protobuf::uint64 coordinator_safe_time(int index) const; |
1870 | | void set_coordinator_safe_time(int index, ::google::protobuf::uint64 value); |
1871 | | void add_coordinator_safe_time(::google::protobuf::uint64 value); |
1872 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& |
1873 | | coordinator_safe_time() const; |
1874 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* |
1875 | | mutable_coordinator_safe_time(); |
1876 | | |
1877 | | // repeated .yb.AbortedSubTransactionSetPB aborted_subtxn_set = 7; |
1878 | | int aborted_subtxn_set_size() const; |
1879 | | void clear_aborted_subtxn_set(); |
1880 | | static const int kAbortedSubtxnSetFieldNumber = 7; |
1881 | | const ::yb::AbortedSubTransactionSetPB& aborted_subtxn_set(int index) const; |
1882 | | ::yb::AbortedSubTransactionSetPB* mutable_aborted_subtxn_set(int index); |
1883 | | ::yb::AbortedSubTransactionSetPB* add_aborted_subtxn_set(); |
1884 | | ::google::protobuf::RepeatedPtrField< ::yb::AbortedSubTransactionSetPB >* |
1885 | | mutable_aborted_subtxn_set(); |
1886 | | const ::google::protobuf::RepeatedPtrField< ::yb::AbortedSubTransactionSetPB >& |
1887 | | aborted_subtxn_set() const; |
1888 | | |
1889 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
1890 | | bool has_error() const; |
1891 | | void clear_error(); |
1892 | | static const int kErrorFieldNumber = 1; |
1893 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
1894 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
1895 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
1896 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
1897 | | |
1898 | | // optional fixed64 propagated_hybrid_time = 4; |
1899 | | bool has_propagated_hybrid_time() const; |
1900 | | void clear_propagated_hybrid_time(); |
1901 | | static const int kPropagatedHybridTimeFieldNumber = 4; |
1902 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
1903 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
1904 | | |
1905 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetTransactionStatusResponsePB) |
1906 | | private: |
1907 | | void set_has_error(); |
1908 | | void clear_has_error(); |
1909 | | void set_has_propagated_hybrid_time(); |
1910 | | void clear_has_propagated_hybrid_time(); |
1911 | | |
1912 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1913 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1914 | | mutable int _cached_size_; |
1915 | | ::google::protobuf::RepeatedField<int> status_; |
1916 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > status_hybrid_time_; |
1917 | | ::google::protobuf::RepeatedField< ::google::protobuf::int64 > num_replicated_batches_; |
1918 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > coordinator_safe_time_; |
1919 | | ::google::protobuf::RepeatedPtrField< ::yb::AbortedSubTransactionSetPB > aborted_subtxn_set_; |
1920 | | ::yb::tserver::TabletServerErrorPB* error_; |
1921 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
1922 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
1923 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusResponsePBImpl(); |
1924 | | }; |
1925 | | // ------------------------------------------------------------------- |
1926 | | |
1927 | | class GetTransactionStatusAtParticipantRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetTransactionStatusAtParticipantRequestPB) */ { |
1928 | | public: |
1929 | | GetTransactionStatusAtParticipantRequestPB(); |
1930 | | virtual ~GetTransactionStatusAtParticipantRequestPB(); |
1931 | | |
1932 | | GetTransactionStatusAtParticipantRequestPB(const GetTransactionStatusAtParticipantRequestPB& from); |
1933 | | |
1934 | 0 | inline GetTransactionStatusAtParticipantRequestPB& operator=(const GetTransactionStatusAtParticipantRequestPB& from) { |
1935 | 0 | CopyFrom(from); |
1936 | 0 | return *this; |
1937 | 0 | } |
1938 | | #if LANG_CXX11 |
1939 | | GetTransactionStatusAtParticipantRequestPB(GetTransactionStatusAtParticipantRequestPB&& from) noexcept |
1940 | 0 | : GetTransactionStatusAtParticipantRequestPB() { |
1941 | 0 | *this = ::std::move(from); |
1942 | 0 | } |
1943 | | |
1944 | 0 | inline GetTransactionStatusAtParticipantRequestPB& operator=(GetTransactionStatusAtParticipantRequestPB&& from) noexcept { |
1945 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1946 | 0 | if (this != &from) InternalSwap(&from); |
1947 | 0 | } else { |
1948 | 0 | CopyFrom(from); |
1949 | 0 | } |
1950 | 0 | return *this; |
1951 | 0 | } |
1952 | | #endif |
1953 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1954 | 0 | return _internal_metadata_.unknown_fields(); |
1955 | 0 | } |
1956 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1957 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1958 | 0 | } |
1959 | | |
1960 | | static const ::google::protobuf::Descriptor* descriptor(); |
1961 | | static const GetTransactionStatusAtParticipantRequestPB& default_instance(); |
1962 | | |
1963 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1964 | 26.8k | static inline const GetTransactionStatusAtParticipantRequestPB* internal_default_instance() { |
1965 | 26.8k | return reinterpret_cast<const GetTransactionStatusAtParticipantRequestPB*>( |
1966 | 26.8k | &_GetTransactionStatusAtParticipantRequestPB_default_instance_); |
1967 | 26.8k | } |
1968 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1969 | | 13; |
1970 | | |
1971 | | void Swap(GetTransactionStatusAtParticipantRequestPB* other); |
1972 | 0 | friend void swap(GetTransactionStatusAtParticipantRequestPB& a, GetTransactionStatusAtParticipantRequestPB& b) { |
1973 | 0 | a.Swap(&b); |
1974 | 0 | } |
1975 | | |
1976 | | // implements Message ---------------------------------------------- |
1977 | | |
1978 | 0 | inline GetTransactionStatusAtParticipantRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1979 | | |
1980 | | GetTransactionStatusAtParticipantRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1981 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1982 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1983 | | void CopyFrom(const GetTransactionStatusAtParticipantRequestPB& from); |
1984 | | void MergeFrom(const GetTransactionStatusAtParticipantRequestPB& from); |
1985 | | void Clear() PROTOBUF_FINAL; |
1986 | | bool IsInitialized() const PROTOBUF_FINAL; |
1987 | | |
1988 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1989 | | bool MergePartialFromCodedStream( |
1990 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1991 | | void SerializeWithCachedSizes( |
1992 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1993 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1994 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1995 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1996 | | private: |
1997 | | void SharedCtor(); |
1998 | | void SharedDtor(); |
1999 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2000 | | void InternalSwap(GetTransactionStatusAtParticipantRequestPB* other); |
2001 | | private: |
2002 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2003 | 0 | return NULL; |
2004 | 0 | } |
2005 | 0 | inline void* MaybeArenaPtr() const { |
2006 | 0 | return NULL; |
2007 | 0 | } |
2008 | | public: |
2009 | | |
2010 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2011 | | |
2012 | | // nested types ---------------------------------------------------- |
2013 | | |
2014 | | // accessors ------------------------------------------------------- |
2015 | | |
2016 | | // optional bytes tablet_id = 1; |
2017 | | bool has_tablet_id() const; |
2018 | | void clear_tablet_id(); |
2019 | | static const int kTabletIdFieldNumber = 1; |
2020 | | const ::std::string& tablet_id() const; |
2021 | | void set_tablet_id(const ::std::string& value); |
2022 | | #if LANG_CXX11 |
2023 | | void set_tablet_id(::std::string&& value); |
2024 | | #endif |
2025 | | void set_tablet_id(const char* value); |
2026 | | void set_tablet_id(const void* value, size_t size); |
2027 | | ::std::string* mutable_tablet_id(); |
2028 | | ::std::string* release_tablet_id(); |
2029 | | void set_allocated_tablet_id(::std::string* tablet_id); |
2030 | | |
2031 | | // optional bytes transaction_id = 2; |
2032 | | bool has_transaction_id() const; |
2033 | | void clear_transaction_id(); |
2034 | | static const int kTransactionIdFieldNumber = 2; |
2035 | | const ::std::string& transaction_id() const; |
2036 | | void set_transaction_id(const ::std::string& value); |
2037 | | #if LANG_CXX11 |
2038 | | void set_transaction_id(::std::string&& value); |
2039 | | #endif |
2040 | | void set_transaction_id(const char* value); |
2041 | | void set_transaction_id(const void* value, size_t size); |
2042 | | ::std::string* mutable_transaction_id(); |
2043 | | ::std::string* release_transaction_id(); |
2044 | | void set_allocated_transaction_id(::std::string* transaction_id); |
2045 | | |
2046 | | // optional fixed64 propagated_hybrid_time = 3; |
2047 | | bool has_propagated_hybrid_time() const; |
2048 | | void clear_propagated_hybrid_time(); |
2049 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
2050 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2051 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2052 | | |
2053 | | // optional int64 required_num_replicated_batches = 4; |
2054 | | bool has_required_num_replicated_batches() const; |
2055 | | void clear_required_num_replicated_batches(); |
2056 | | static const int kRequiredNumReplicatedBatchesFieldNumber = 4; |
2057 | | ::google::protobuf::int64 required_num_replicated_batches() const; |
2058 | | void set_required_num_replicated_batches(::google::protobuf::int64 value); |
2059 | | |
2060 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetTransactionStatusAtParticipantRequestPB) |
2061 | | private: |
2062 | | void set_has_tablet_id(); |
2063 | | void clear_has_tablet_id(); |
2064 | | void set_has_transaction_id(); |
2065 | | void clear_has_transaction_id(); |
2066 | | void set_has_propagated_hybrid_time(); |
2067 | | void clear_has_propagated_hybrid_time(); |
2068 | | void set_has_required_num_replicated_batches(); |
2069 | | void clear_has_required_num_replicated_batches(); |
2070 | | |
2071 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2072 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2073 | | mutable int _cached_size_; |
2074 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
2075 | | ::google::protobuf::internal::ArenaStringPtr transaction_id_; |
2076 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2077 | | ::google::protobuf::int64 required_num_replicated_batches_; |
2078 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2079 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusAtParticipantRequestPBImpl(); |
2080 | | }; |
2081 | | // ------------------------------------------------------------------- |
2082 | | |
2083 | | class GetTransactionStatusAtParticipantResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetTransactionStatusAtParticipantResponsePB) */ { |
2084 | | public: |
2085 | | GetTransactionStatusAtParticipantResponsePB(); |
2086 | | virtual ~GetTransactionStatusAtParticipantResponsePB(); |
2087 | | |
2088 | | GetTransactionStatusAtParticipantResponsePB(const GetTransactionStatusAtParticipantResponsePB& from); |
2089 | | |
2090 | 0 | inline GetTransactionStatusAtParticipantResponsePB& operator=(const GetTransactionStatusAtParticipantResponsePB& from) { |
2091 | 0 | CopyFrom(from); |
2092 | 0 | return *this; |
2093 | 0 | } |
2094 | | #if LANG_CXX11 |
2095 | | GetTransactionStatusAtParticipantResponsePB(GetTransactionStatusAtParticipantResponsePB&& from) noexcept |
2096 | 0 | : GetTransactionStatusAtParticipantResponsePB() { |
2097 | 0 | *this = ::std::move(from); |
2098 | 0 | } |
2099 | | |
2100 | 0 | inline GetTransactionStatusAtParticipantResponsePB& operator=(GetTransactionStatusAtParticipantResponsePB&& from) noexcept { |
2101 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2102 | 0 | if (this != &from) InternalSwap(&from); |
2103 | 0 | } else { |
2104 | 0 | CopyFrom(from); |
2105 | 0 | } |
2106 | 0 | return *this; |
2107 | 0 | } |
2108 | | #endif |
2109 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2110 | 0 | return _internal_metadata_.unknown_fields(); |
2111 | 0 | } |
2112 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2113 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2114 | 0 | } |
2115 | | |
2116 | | static const ::google::protobuf::Descriptor* descriptor(); |
2117 | | static const GetTransactionStatusAtParticipantResponsePB& default_instance(); |
2118 | | |
2119 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2120 | 26.8k | static inline const GetTransactionStatusAtParticipantResponsePB* internal_default_instance() { |
2121 | 26.8k | return reinterpret_cast<const GetTransactionStatusAtParticipantResponsePB*>( |
2122 | 26.8k | &_GetTransactionStatusAtParticipantResponsePB_default_instance_); |
2123 | 26.8k | } |
2124 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2125 | | 14; |
2126 | | |
2127 | | void Swap(GetTransactionStatusAtParticipantResponsePB* other); |
2128 | 0 | friend void swap(GetTransactionStatusAtParticipantResponsePB& a, GetTransactionStatusAtParticipantResponsePB& b) { |
2129 | 0 | a.Swap(&b); |
2130 | 0 | } |
2131 | | |
2132 | | // implements Message ---------------------------------------------- |
2133 | | |
2134 | 0 | inline GetTransactionStatusAtParticipantResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2135 | | |
2136 | | GetTransactionStatusAtParticipantResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2137 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2138 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2139 | | void CopyFrom(const GetTransactionStatusAtParticipantResponsePB& from); |
2140 | | void MergeFrom(const GetTransactionStatusAtParticipantResponsePB& from); |
2141 | | void Clear() PROTOBUF_FINAL; |
2142 | | bool IsInitialized() const PROTOBUF_FINAL; |
2143 | | |
2144 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2145 | | bool MergePartialFromCodedStream( |
2146 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2147 | | void SerializeWithCachedSizes( |
2148 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2149 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2150 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2151 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2152 | | private: |
2153 | | void SharedCtor(); |
2154 | | void SharedDtor(); |
2155 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2156 | | void InternalSwap(GetTransactionStatusAtParticipantResponsePB* other); |
2157 | | private: |
2158 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2159 | 0 | return NULL; |
2160 | 0 | } |
2161 | 0 | inline void* MaybeArenaPtr() const { |
2162 | 0 | return NULL; |
2163 | 0 | } |
2164 | | public: |
2165 | | |
2166 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2167 | | |
2168 | | // nested types ---------------------------------------------------- |
2169 | | |
2170 | | // accessors ------------------------------------------------------- |
2171 | | |
2172 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
2173 | | bool has_error() const; |
2174 | | void clear_error(); |
2175 | | static const int kErrorFieldNumber = 1; |
2176 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
2177 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
2178 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
2179 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
2180 | | |
2181 | | // optional fixed64 propagated_hybrid_time = 2; |
2182 | | bool has_propagated_hybrid_time() const; |
2183 | | void clear_propagated_hybrid_time(); |
2184 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
2185 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2186 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2187 | | |
2188 | | // optional int64 num_replicated_batches = 3; |
2189 | | bool has_num_replicated_batches() const; |
2190 | | void clear_num_replicated_batches(); |
2191 | | static const int kNumReplicatedBatchesFieldNumber = 3; |
2192 | | ::google::protobuf::int64 num_replicated_batches() const; |
2193 | | void set_num_replicated_batches(::google::protobuf::int64 value); |
2194 | | |
2195 | | // optional fixed64 status_hybrid_time = 4; |
2196 | | bool has_status_hybrid_time() const; |
2197 | | void clear_status_hybrid_time(); |
2198 | | static const int kStatusHybridTimeFieldNumber = 4; |
2199 | | ::google::protobuf::uint64 status_hybrid_time() const; |
2200 | | void set_status_hybrid_time(::google::protobuf::uint64 value); |
2201 | | |
2202 | | // optional bool aborted = 5; |
2203 | | bool has_aborted() const; |
2204 | | void clear_aborted(); |
2205 | | static const int kAbortedFieldNumber = 5; |
2206 | | bool aborted() const; |
2207 | | void set_aborted(bool value); |
2208 | | |
2209 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetTransactionStatusAtParticipantResponsePB) |
2210 | | private: |
2211 | | void set_has_error(); |
2212 | | void clear_has_error(); |
2213 | | void set_has_propagated_hybrid_time(); |
2214 | | void clear_has_propagated_hybrid_time(); |
2215 | | void set_has_num_replicated_batches(); |
2216 | | void clear_has_num_replicated_batches(); |
2217 | | void set_has_status_hybrid_time(); |
2218 | | void clear_has_status_hybrid_time(); |
2219 | | void set_has_aborted(); |
2220 | | void clear_has_aborted(); |
2221 | | |
2222 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2223 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2224 | | mutable int _cached_size_; |
2225 | | ::yb::tserver::TabletServerErrorPB* error_; |
2226 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2227 | | ::google::protobuf::int64 num_replicated_batches_; |
2228 | | ::google::protobuf::uint64 status_hybrid_time_; |
2229 | | bool aborted_; |
2230 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2231 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusAtParticipantResponsePBImpl(); |
2232 | | }; |
2233 | | // ------------------------------------------------------------------- |
2234 | | |
2235 | | class AbortTransactionRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.AbortTransactionRequestPB) */ { |
2236 | | public: |
2237 | | AbortTransactionRequestPB(); |
2238 | | virtual ~AbortTransactionRequestPB(); |
2239 | | |
2240 | | AbortTransactionRequestPB(const AbortTransactionRequestPB& from); |
2241 | | |
2242 | 0 | inline AbortTransactionRequestPB& operator=(const AbortTransactionRequestPB& from) { |
2243 | 0 | CopyFrom(from); |
2244 | 0 | return *this; |
2245 | 0 | } |
2246 | | #if LANG_CXX11 |
2247 | | AbortTransactionRequestPB(AbortTransactionRequestPB&& from) noexcept |
2248 | 0 | : AbortTransactionRequestPB() { |
2249 | 0 | *this = ::std::move(from); |
2250 | 0 | } |
2251 | | |
2252 | 0 | inline AbortTransactionRequestPB& operator=(AbortTransactionRequestPB&& from) noexcept { |
2253 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2254 | 0 | if (this != &from) InternalSwap(&from); |
2255 | 0 | } else { |
2256 | 0 | CopyFrom(from); |
2257 | 0 | } |
2258 | 0 | return *this; |
2259 | 0 | } |
2260 | | #endif |
2261 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2262 | 0 | return _internal_metadata_.unknown_fields(); |
2263 | 0 | } |
2264 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2265 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2266 | 0 | } |
2267 | | |
2268 | | static const ::google::protobuf::Descriptor* descriptor(); |
2269 | | static const AbortTransactionRequestPB& default_instance(); |
2270 | | |
2271 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2272 | 434k | static inline const AbortTransactionRequestPB* internal_default_instance() { |
2273 | 434k | return reinterpret_cast<const AbortTransactionRequestPB*>( |
2274 | 434k | &_AbortTransactionRequestPB_default_instance_); |
2275 | 434k | } |
2276 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2277 | | 15; |
2278 | | |
2279 | | void Swap(AbortTransactionRequestPB* other); |
2280 | 0 | friend void swap(AbortTransactionRequestPB& a, AbortTransactionRequestPB& b) { |
2281 | 0 | a.Swap(&b); |
2282 | 0 | } |
2283 | | |
2284 | | // implements Message ---------------------------------------------- |
2285 | | |
2286 | 0 | inline AbortTransactionRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2287 | | |
2288 | | AbortTransactionRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2289 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2290 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2291 | | void CopyFrom(const AbortTransactionRequestPB& from); |
2292 | | void MergeFrom(const AbortTransactionRequestPB& from); |
2293 | | void Clear() PROTOBUF_FINAL; |
2294 | | bool IsInitialized() const PROTOBUF_FINAL; |
2295 | | |
2296 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2297 | | bool MergePartialFromCodedStream( |
2298 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2299 | | void SerializeWithCachedSizes( |
2300 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2301 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2302 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2303 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2304 | | private: |
2305 | | void SharedCtor(); |
2306 | | void SharedDtor(); |
2307 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2308 | | void InternalSwap(AbortTransactionRequestPB* other); |
2309 | | private: |
2310 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2311 | 0 | return NULL; |
2312 | 0 | } |
2313 | 0 | inline void* MaybeArenaPtr() const { |
2314 | 0 | return NULL; |
2315 | 0 | } |
2316 | | public: |
2317 | | |
2318 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2319 | | |
2320 | | // nested types ---------------------------------------------------- |
2321 | | |
2322 | | // accessors ------------------------------------------------------- |
2323 | | |
2324 | | // optional bytes tablet_id = 1; |
2325 | | bool has_tablet_id() const; |
2326 | | void clear_tablet_id(); |
2327 | | static const int kTabletIdFieldNumber = 1; |
2328 | | const ::std::string& tablet_id() const; |
2329 | | void set_tablet_id(const ::std::string& value); |
2330 | | #if LANG_CXX11 |
2331 | | void set_tablet_id(::std::string&& value); |
2332 | | #endif |
2333 | | void set_tablet_id(const char* value); |
2334 | | void set_tablet_id(const void* value, size_t size); |
2335 | | ::std::string* mutable_tablet_id(); |
2336 | | ::std::string* release_tablet_id(); |
2337 | | void set_allocated_tablet_id(::std::string* tablet_id); |
2338 | | |
2339 | | // optional bytes transaction_id = 2; |
2340 | | bool has_transaction_id() const; |
2341 | | void clear_transaction_id(); |
2342 | | static const int kTransactionIdFieldNumber = 2; |
2343 | | const ::std::string& transaction_id() const; |
2344 | | void set_transaction_id(const ::std::string& value); |
2345 | | #if LANG_CXX11 |
2346 | | void set_transaction_id(::std::string&& value); |
2347 | | #endif |
2348 | | void set_transaction_id(const char* value); |
2349 | | void set_transaction_id(const void* value, size_t size); |
2350 | | ::std::string* mutable_transaction_id(); |
2351 | | ::std::string* release_transaction_id(); |
2352 | | void set_allocated_transaction_id(::std::string* transaction_id); |
2353 | | |
2354 | | // optional fixed64 propagated_hybrid_time = 3; |
2355 | | bool has_propagated_hybrid_time() const; |
2356 | | void clear_propagated_hybrid_time(); |
2357 | | static const int kPropagatedHybridTimeFieldNumber = 3; |
2358 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2359 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2360 | | |
2361 | | // @@protoc_insertion_point(class_scope:yb.tserver.AbortTransactionRequestPB) |
2362 | | private: |
2363 | | void set_has_tablet_id(); |
2364 | | void clear_has_tablet_id(); |
2365 | | void set_has_transaction_id(); |
2366 | | void clear_has_transaction_id(); |
2367 | | void set_has_propagated_hybrid_time(); |
2368 | | void clear_has_propagated_hybrid_time(); |
2369 | | |
2370 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2371 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2372 | | mutable int _cached_size_; |
2373 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
2374 | | ::google::protobuf::internal::ArenaStringPtr transaction_id_; |
2375 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2376 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2377 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsAbortTransactionRequestPBImpl(); |
2378 | | }; |
2379 | | // ------------------------------------------------------------------- |
2380 | | |
2381 | | class AbortTransactionResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.AbortTransactionResponsePB) */ { |
2382 | | public: |
2383 | | AbortTransactionResponsePB(); |
2384 | | virtual ~AbortTransactionResponsePB(); |
2385 | | |
2386 | | AbortTransactionResponsePB(const AbortTransactionResponsePB& from); |
2387 | | |
2388 | 0 | inline AbortTransactionResponsePB& operator=(const AbortTransactionResponsePB& from) { |
2389 | 0 | CopyFrom(from); |
2390 | 0 | return *this; |
2391 | 0 | } |
2392 | | #if LANG_CXX11 |
2393 | | AbortTransactionResponsePB(AbortTransactionResponsePB&& from) noexcept |
2394 | 0 | : AbortTransactionResponsePB() { |
2395 | 0 | *this = ::std::move(from); |
2396 | 0 | } |
2397 | | |
2398 | 0 | inline AbortTransactionResponsePB& operator=(AbortTransactionResponsePB&& from) noexcept { |
2399 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2400 | 0 | if (this != &from) InternalSwap(&from); |
2401 | 0 | } else { |
2402 | 0 | CopyFrom(from); |
2403 | 0 | } |
2404 | 0 | return *this; |
2405 | 0 | } |
2406 | | #endif |
2407 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2408 | 0 | return _internal_metadata_.unknown_fields(); |
2409 | 0 | } |
2410 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2411 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2412 | 0 | } |
2413 | | |
2414 | | static const ::google::protobuf::Descriptor* descriptor(); |
2415 | | static const AbortTransactionResponsePB& default_instance(); |
2416 | | |
2417 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2418 | 467k | static inline const AbortTransactionResponsePB* internal_default_instance() { |
2419 | 467k | return reinterpret_cast<const AbortTransactionResponsePB*>( |
2420 | 467k | &_AbortTransactionResponsePB_default_instance_); |
2421 | 467k | } |
2422 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2423 | | 16; |
2424 | | |
2425 | | void Swap(AbortTransactionResponsePB* other); |
2426 | 0 | friend void swap(AbortTransactionResponsePB& a, AbortTransactionResponsePB& b) { |
2427 | 0 | a.Swap(&b); |
2428 | 0 | } |
2429 | | |
2430 | | // implements Message ---------------------------------------------- |
2431 | | |
2432 | 0 | inline AbortTransactionResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2433 | | |
2434 | | AbortTransactionResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2435 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2436 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2437 | | void CopyFrom(const AbortTransactionResponsePB& from); |
2438 | | void MergeFrom(const AbortTransactionResponsePB& from); |
2439 | | void Clear() PROTOBUF_FINAL; |
2440 | | bool IsInitialized() const PROTOBUF_FINAL; |
2441 | | |
2442 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2443 | | bool MergePartialFromCodedStream( |
2444 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2445 | | void SerializeWithCachedSizes( |
2446 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2447 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2448 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2449 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2450 | | private: |
2451 | | void SharedCtor(); |
2452 | | void SharedDtor(); |
2453 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2454 | | void InternalSwap(AbortTransactionResponsePB* other); |
2455 | | private: |
2456 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2457 | 0 | return NULL; |
2458 | 0 | } |
2459 | 0 | inline void* MaybeArenaPtr() const { |
2460 | 0 | return NULL; |
2461 | 0 | } |
2462 | | public: |
2463 | | |
2464 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2465 | | |
2466 | | // nested types ---------------------------------------------------- |
2467 | | |
2468 | | // accessors ------------------------------------------------------- |
2469 | | |
2470 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
2471 | | bool has_error() const; |
2472 | | void clear_error(); |
2473 | | static const int kErrorFieldNumber = 1; |
2474 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
2475 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
2476 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
2477 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
2478 | | |
2479 | | // optional fixed64 status_hybrid_time = 3; |
2480 | | bool has_status_hybrid_time() const; |
2481 | | void clear_status_hybrid_time(); |
2482 | | static const int kStatusHybridTimeFieldNumber = 3; |
2483 | | ::google::protobuf::uint64 status_hybrid_time() const; |
2484 | | void set_status_hybrid_time(::google::protobuf::uint64 value); |
2485 | | |
2486 | | // optional fixed64 propagated_hybrid_time = 4; |
2487 | | bool has_propagated_hybrid_time() const; |
2488 | | void clear_propagated_hybrid_time(); |
2489 | | static const int kPropagatedHybridTimeFieldNumber = 4; |
2490 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2491 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2492 | | |
2493 | | // optional fixed64 coordinator_safe_time = 5; |
2494 | | bool has_coordinator_safe_time() const; |
2495 | | void clear_coordinator_safe_time(); |
2496 | | static const int kCoordinatorSafeTimeFieldNumber = 5; |
2497 | | ::google::protobuf::uint64 coordinator_safe_time() const; |
2498 | | void set_coordinator_safe_time(::google::protobuf::uint64 value); |
2499 | | |
2500 | | // optional .yb.TransactionStatus status = 2; |
2501 | | bool has_status() const; |
2502 | | void clear_status(); |
2503 | | static const int kStatusFieldNumber = 2; |
2504 | | ::yb::TransactionStatus status() const; |
2505 | | void set_status(::yb::TransactionStatus value); |
2506 | | |
2507 | | // @@protoc_insertion_point(class_scope:yb.tserver.AbortTransactionResponsePB) |
2508 | | private: |
2509 | | void set_has_error(); |
2510 | | void clear_has_error(); |
2511 | | void set_has_status(); |
2512 | | void clear_has_status(); |
2513 | | void set_has_status_hybrid_time(); |
2514 | | void clear_has_status_hybrid_time(); |
2515 | | void set_has_propagated_hybrid_time(); |
2516 | | void clear_has_propagated_hybrid_time(); |
2517 | | void set_has_coordinator_safe_time(); |
2518 | | void clear_has_coordinator_safe_time(); |
2519 | | |
2520 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2521 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2522 | | mutable int _cached_size_; |
2523 | | ::yb::tserver::TabletServerErrorPB* error_; |
2524 | | ::google::protobuf::uint64 status_hybrid_time_; |
2525 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2526 | | ::google::protobuf::uint64 coordinator_safe_time_; |
2527 | | int status_; |
2528 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2529 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsAbortTransactionResponsePBImpl(); |
2530 | | }; |
2531 | | // ------------------------------------------------------------------- |
2532 | | |
2533 | | class TakeTransactionRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.TakeTransactionRequestPB) */ { |
2534 | | public: |
2535 | | TakeTransactionRequestPB(); |
2536 | | virtual ~TakeTransactionRequestPB(); |
2537 | | |
2538 | | TakeTransactionRequestPB(const TakeTransactionRequestPB& from); |
2539 | | |
2540 | 0 | inline TakeTransactionRequestPB& operator=(const TakeTransactionRequestPB& from) { |
2541 | 0 | CopyFrom(from); |
2542 | 0 | return *this; |
2543 | 0 | } |
2544 | | #if LANG_CXX11 |
2545 | | TakeTransactionRequestPB(TakeTransactionRequestPB&& from) noexcept |
2546 | 0 | : TakeTransactionRequestPB() { |
2547 | 0 | *this = ::std::move(from); |
2548 | 0 | } |
2549 | | |
2550 | 0 | inline TakeTransactionRequestPB& operator=(TakeTransactionRequestPB&& from) noexcept { |
2551 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2552 | 0 | if (this != &from) InternalSwap(&from); |
2553 | 0 | } else { |
2554 | 0 | CopyFrom(from); |
2555 | 0 | } |
2556 | 0 | return *this; |
2557 | 0 | } |
2558 | | #endif |
2559 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2560 | 0 | return _internal_metadata_.unknown_fields(); |
2561 | 0 | } |
2562 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2563 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2564 | 0 | } |
2565 | | |
2566 | | static const ::google::protobuf::Descriptor* descriptor(); |
2567 | | static const TakeTransactionRequestPB& default_instance(); |
2568 | | |
2569 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2570 | 26.8k | static inline const TakeTransactionRequestPB* internal_default_instance() { |
2571 | 26.8k | return reinterpret_cast<const TakeTransactionRequestPB*>( |
2572 | 26.8k | &_TakeTransactionRequestPB_default_instance_); |
2573 | 26.8k | } |
2574 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2575 | | 17; |
2576 | | |
2577 | | void Swap(TakeTransactionRequestPB* other); |
2578 | 0 | friend void swap(TakeTransactionRequestPB& a, TakeTransactionRequestPB& b) { |
2579 | 0 | a.Swap(&b); |
2580 | 0 | } |
2581 | | |
2582 | | // implements Message ---------------------------------------------- |
2583 | | |
2584 | 0 | inline TakeTransactionRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2585 | | |
2586 | | TakeTransactionRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2587 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2588 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2589 | | void CopyFrom(const TakeTransactionRequestPB& from); |
2590 | | void MergeFrom(const TakeTransactionRequestPB& from); |
2591 | | void Clear() PROTOBUF_FINAL; |
2592 | | bool IsInitialized() const PROTOBUF_FINAL; |
2593 | | |
2594 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2595 | | bool MergePartialFromCodedStream( |
2596 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2597 | | void SerializeWithCachedSizes( |
2598 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2599 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2600 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2601 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2602 | | private: |
2603 | | void SharedCtor(); |
2604 | | void SharedDtor(); |
2605 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2606 | | void InternalSwap(TakeTransactionRequestPB* other); |
2607 | | private: |
2608 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2609 | 0 | return NULL; |
2610 | 0 | } |
2611 | 0 | inline void* MaybeArenaPtr() const { |
2612 | 0 | return NULL; |
2613 | 0 | } |
2614 | | public: |
2615 | | |
2616 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2617 | | |
2618 | | // nested types ---------------------------------------------------- |
2619 | | |
2620 | | // accessors ------------------------------------------------------- |
2621 | | |
2622 | | // optional bool is_global = 1; |
2623 | | bool has_is_global() const; |
2624 | | void clear_is_global(); |
2625 | | static const int kIsGlobalFieldNumber = 1; |
2626 | | bool is_global() const; |
2627 | | void set_is_global(bool value); |
2628 | | |
2629 | | // @@protoc_insertion_point(class_scope:yb.tserver.TakeTransactionRequestPB) |
2630 | | private: |
2631 | | void set_has_is_global(); |
2632 | | void clear_has_is_global(); |
2633 | | |
2634 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2635 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2636 | | mutable int _cached_size_; |
2637 | | bool is_global_; |
2638 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2639 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsTakeTransactionRequestPBImpl(); |
2640 | | }; |
2641 | | // ------------------------------------------------------------------- |
2642 | | |
2643 | | class TakeTransactionResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.TakeTransactionResponsePB) */ { |
2644 | | public: |
2645 | | TakeTransactionResponsePB(); |
2646 | | virtual ~TakeTransactionResponsePB(); |
2647 | | |
2648 | | TakeTransactionResponsePB(const TakeTransactionResponsePB& from); |
2649 | | |
2650 | 0 | inline TakeTransactionResponsePB& operator=(const TakeTransactionResponsePB& from) { |
2651 | 0 | CopyFrom(from); |
2652 | 0 | return *this; |
2653 | 0 | } |
2654 | | #if LANG_CXX11 |
2655 | | TakeTransactionResponsePB(TakeTransactionResponsePB&& from) noexcept |
2656 | 0 | : TakeTransactionResponsePB() { |
2657 | 0 | *this = ::std::move(from); |
2658 | 0 | } |
2659 | | |
2660 | 0 | inline TakeTransactionResponsePB& operator=(TakeTransactionResponsePB&& from) noexcept { |
2661 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2662 | 0 | if (this != &from) InternalSwap(&from); |
2663 | 0 | } else { |
2664 | 0 | CopyFrom(from); |
2665 | 0 | } |
2666 | 0 | return *this; |
2667 | 0 | } |
2668 | | #endif |
2669 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2670 | 0 | return _internal_metadata_.unknown_fields(); |
2671 | 0 | } |
2672 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2673 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2674 | 0 | } |
2675 | | |
2676 | | static const ::google::protobuf::Descriptor* descriptor(); |
2677 | | static const TakeTransactionResponsePB& default_instance(); |
2678 | | |
2679 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2680 | 26.8k | static inline const TakeTransactionResponsePB* internal_default_instance() { |
2681 | 26.8k | return reinterpret_cast<const TakeTransactionResponsePB*>( |
2682 | 26.8k | &_TakeTransactionResponsePB_default_instance_); |
2683 | 26.8k | } |
2684 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2685 | | 18; |
2686 | | |
2687 | | void Swap(TakeTransactionResponsePB* other); |
2688 | 0 | friend void swap(TakeTransactionResponsePB& a, TakeTransactionResponsePB& b) { |
2689 | 0 | a.Swap(&b); |
2690 | 0 | } |
2691 | | |
2692 | | // implements Message ---------------------------------------------- |
2693 | | |
2694 | 0 | inline TakeTransactionResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2695 | | |
2696 | | TakeTransactionResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2697 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2698 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2699 | | void CopyFrom(const TakeTransactionResponsePB& from); |
2700 | | void MergeFrom(const TakeTransactionResponsePB& from); |
2701 | | void Clear() PROTOBUF_FINAL; |
2702 | | bool IsInitialized() const PROTOBUF_FINAL; |
2703 | | |
2704 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2705 | | bool MergePartialFromCodedStream( |
2706 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2707 | | void SerializeWithCachedSizes( |
2708 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2709 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2710 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2711 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2712 | | private: |
2713 | | void SharedCtor(); |
2714 | | void SharedDtor(); |
2715 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2716 | | void InternalSwap(TakeTransactionResponsePB* other); |
2717 | | private: |
2718 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2719 | 0 | return NULL; |
2720 | 0 | } |
2721 | 0 | inline void* MaybeArenaPtr() const { |
2722 | 0 | return NULL; |
2723 | 0 | } |
2724 | | public: |
2725 | | |
2726 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2727 | | |
2728 | | // nested types ---------------------------------------------------- |
2729 | | |
2730 | | // accessors ------------------------------------------------------- |
2731 | | |
2732 | | // optional .yb.TransactionMetadataPB metadata = 1; |
2733 | | bool has_metadata() const; |
2734 | | void clear_metadata(); |
2735 | | static const int kMetadataFieldNumber = 1; |
2736 | | const ::yb::TransactionMetadataPB& metadata() const; |
2737 | | ::yb::TransactionMetadataPB* release_metadata(); |
2738 | | ::yb::TransactionMetadataPB* mutable_metadata(); |
2739 | | void set_allocated_metadata(::yb::TransactionMetadataPB* metadata); |
2740 | | |
2741 | | // @@protoc_insertion_point(class_scope:yb.tserver.TakeTransactionResponsePB) |
2742 | | private: |
2743 | | void set_has_metadata(); |
2744 | | void clear_has_metadata(); |
2745 | | |
2746 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2747 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2748 | | mutable int _cached_size_; |
2749 | | ::yb::TransactionMetadataPB* metadata_; |
2750 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2751 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsTakeTransactionResponsePBImpl(); |
2752 | | }; |
2753 | | // ------------------------------------------------------------------- |
2754 | | |
2755 | | class GetSplitKeyRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetSplitKeyRequestPB) */ { |
2756 | | public: |
2757 | | GetSplitKeyRequestPB(); |
2758 | | virtual ~GetSplitKeyRequestPB(); |
2759 | | |
2760 | | GetSplitKeyRequestPB(const GetSplitKeyRequestPB& from); |
2761 | | |
2762 | 0 | inline GetSplitKeyRequestPB& operator=(const GetSplitKeyRequestPB& from) { |
2763 | 0 | CopyFrom(from); |
2764 | 0 | return *this; |
2765 | 0 | } |
2766 | | #if LANG_CXX11 |
2767 | | GetSplitKeyRequestPB(GetSplitKeyRequestPB&& from) noexcept |
2768 | 0 | : GetSplitKeyRequestPB() { |
2769 | 0 | *this = ::std::move(from); |
2770 | 0 | } |
2771 | | |
2772 | 0 | inline GetSplitKeyRequestPB& operator=(GetSplitKeyRequestPB&& from) noexcept { |
2773 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2774 | 0 | if (this != &from) InternalSwap(&from); |
2775 | 0 | } else { |
2776 | 0 | CopyFrom(from); |
2777 | 0 | } |
2778 | 0 | return *this; |
2779 | 0 | } |
2780 | | #endif |
2781 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2782 | 0 | return _internal_metadata_.unknown_fields(); |
2783 | 0 | } |
2784 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2785 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2786 | 0 | } |
2787 | | |
2788 | | static const ::google::protobuf::Descriptor* descriptor(); |
2789 | | static const GetSplitKeyRequestPB& default_instance(); |
2790 | | |
2791 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2792 | 27.1k | static inline const GetSplitKeyRequestPB* internal_default_instance() { |
2793 | 27.1k | return reinterpret_cast<const GetSplitKeyRequestPB*>( |
2794 | 27.1k | &_GetSplitKeyRequestPB_default_instance_); |
2795 | 27.1k | } |
2796 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2797 | | 19; |
2798 | | |
2799 | | void Swap(GetSplitKeyRequestPB* other); |
2800 | 0 | friend void swap(GetSplitKeyRequestPB& a, GetSplitKeyRequestPB& b) { |
2801 | 0 | a.Swap(&b); |
2802 | 0 | } |
2803 | | |
2804 | | // implements Message ---------------------------------------------- |
2805 | | |
2806 | 0 | inline GetSplitKeyRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2807 | | |
2808 | | GetSplitKeyRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2809 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2810 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2811 | | void CopyFrom(const GetSplitKeyRequestPB& from); |
2812 | | void MergeFrom(const GetSplitKeyRequestPB& from); |
2813 | | void Clear() PROTOBUF_FINAL; |
2814 | | bool IsInitialized() const PROTOBUF_FINAL; |
2815 | | |
2816 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2817 | | bool MergePartialFromCodedStream( |
2818 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2819 | | void SerializeWithCachedSizes( |
2820 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2821 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2822 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2823 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2824 | | private: |
2825 | | void SharedCtor(); |
2826 | | void SharedDtor(); |
2827 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2828 | | void InternalSwap(GetSplitKeyRequestPB* other); |
2829 | | private: |
2830 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2831 | 0 | return NULL; |
2832 | 0 | } |
2833 | 0 | inline void* MaybeArenaPtr() const { |
2834 | 0 | return NULL; |
2835 | 0 | } |
2836 | | public: |
2837 | | |
2838 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2839 | | |
2840 | | // nested types ---------------------------------------------------- |
2841 | | |
2842 | | // accessors ------------------------------------------------------- |
2843 | | |
2844 | | // required bytes tablet_id = 1; |
2845 | | bool has_tablet_id() const; |
2846 | | void clear_tablet_id(); |
2847 | | static const int kTabletIdFieldNumber = 1; |
2848 | | const ::std::string& tablet_id() const; |
2849 | | void set_tablet_id(const ::std::string& value); |
2850 | | #if LANG_CXX11 |
2851 | | void set_tablet_id(::std::string&& value); |
2852 | | #endif |
2853 | | void set_tablet_id(const char* value); |
2854 | | void set_tablet_id(const void* value, size_t size); |
2855 | | ::std::string* mutable_tablet_id(); |
2856 | | ::std::string* release_tablet_id(); |
2857 | | void set_allocated_tablet_id(::std::string* tablet_id); |
2858 | | |
2859 | | // optional fixed64 propagated_hybrid_time = 2; |
2860 | | bool has_propagated_hybrid_time() const; |
2861 | | void clear_propagated_hybrid_time(); |
2862 | | static const int kPropagatedHybridTimeFieldNumber = 2; |
2863 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
2864 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
2865 | | |
2866 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetSplitKeyRequestPB) |
2867 | | private: |
2868 | | void set_has_tablet_id(); |
2869 | | void clear_has_tablet_id(); |
2870 | | void set_has_propagated_hybrid_time(); |
2871 | | void clear_has_propagated_hybrid_time(); |
2872 | | |
2873 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2874 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2875 | | mutable int _cached_size_; |
2876 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
2877 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
2878 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
2879 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSplitKeyRequestPBImpl(); |
2880 | | }; |
2881 | | // ------------------------------------------------------------------- |
2882 | | |
2883 | | class GetSplitKeyResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetSplitKeyResponsePB) */ { |
2884 | | public: |
2885 | | GetSplitKeyResponsePB(); |
2886 | | virtual ~GetSplitKeyResponsePB(); |
2887 | | |
2888 | | GetSplitKeyResponsePB(const GetSplitKeyResponsePB& from); |
2889 | | |
2890 | 0 | inline GetSplitKeyResponsePB& operator=(const GetSplitKeyResponsePB& from) { |
2891 | 0 | CopyFrom(from); |
2892 | 0 | return *this; |
2893 | 0 | } |
2894 | | #if LANG_CXX11 |
2895 | | GetSplitKeyResponsePB(GetSplitKeyResponsePB&& from) noexcept |
2896 | 2 | : GetSplitKeyResponsePB() { |
2897 | 2 | *this = ::std::move(from); |
2898 | 2 | } Unexecuted instantiation: yb::tserver::GetSplitKeyResponsePB::GetSplitKeyResponsePB(yb::tserver::GetSplitKeyResponsePB&&) yb::tserver::GetSplitKeyResponsePB::GetSplitKeyResponsePB(yb::tserver::GetSplitKeyResponsePB&&) Line | Count | Source | 2896 | 2 | : GetSplitKeyResponsePB() { | 2897 | 2 | *this = ::std::move(from); | 2898 | 2 | } |
|
2899 | | |
2900 | 2 | inline GetSplitKeyResponsePB& operator=(GetSplitKeyResponsePB&& from) noexcept { |
2901 | 2 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2902 | 2 | if (this != &from) InternalSwap(&from); |
2903 | 2 | } else { |
2904 | 0 | CopyFrom(from); |
2905 | 0 | } |
2906 | 2 | return *this; |
2907 | 2 | } |
2908 | | #endif |
2909 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2910 | 0 | return _internal_metadata_.unknown_fields(); |
2911 | 0 | } |
2912 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2913 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2914 | 0 | } |
2915 | | |
2916 | | static const ::google::protobuf::Descriptor* descriptor(); |
2917 | | static const GetSplitKeyResponsePB& default_instance(); |
2918 | | |
2919 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2920 | 27.2k | static inline const GetSplitKeyResponsePB* internal_default_instance() { |
2921 | 27.2k | return reinterpret_cast<const GetSplitKeyResponsePB*>( |
2922 | 27.2k | &_GetSplitKeyResponsePB_default_instance_); |
2923 | 27.2k | } |
2924 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2925 | | 20; |
2926 | | |
2927 | | void Swap(GetSplitKeyResponsePB* other); |
2928 | 0 | friend void swap(GetSplitKeyResponsePB& a, GetSplitKeyResponsePB& b) { |
2929 | 0 | a.Swap(&b); |
2930 | 0 | } |
2931 | | |
2932 | | // implements Message ---------------------------------------------- |
2933 | | |
2934 | 0 | inline GetSplitKeyResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2935 | | |
2936 | | GetSplitKeyResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2937 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2938 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2939 | | void CopyFrom(const GetSplitKeyResponsePB& from); |
2940 | | void MergeFrom(const GetSplitKeyResponsePB& from); |
2941 | | void Clear() PROTOBUF_FINAL; |
2942 | | bool IsInitialized() const PROTOBUF_FINAL; |
2943 | | |
2944 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2945 | | bool MergePartialFromCodedStream( |
2946 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2947 | | void SerializeWithCachedSizes( |
2948 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2949 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2950 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2951 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2952 | | private: |
2953 | | void SharedCtor(); |
2954 | | void SharedDtor(); |
2955 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2956 | | void InternalSwap(GetSplitKeyResponsePB* other); |
2957 | | private: |
2958 | 4 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2959 | 4 | return NULL; |
2960 | 4 | } |
2961 | 0 | inline void* MaybeArenaPtr() const { |
2962 | 0 | return NULL; |
2963 | 0 | } |
2964 | | public: |
2965 | | |
2966 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2967 | | |
2968 | | // nested types ---------------------------------------------------- |
2969 | | |
2970 | | // accessors ------------------------------------------------------- |
2971 | | |
2972 | | // optional bytes split_partition_key = 2; |
2973 | | bool has_split_partition_key() const; |
2974 | | void clear_split_partition_key(); |
2975 | | static const int kSplitPartitionKeyFieldNumber = 2; |
2976 | | const ::std::string& split_partition_key() const; |
2977 | | void set_split_partition_key(const ::std::string& value); |
2978 | | #if LANG_CXX11 |
2979 | | void set_split_partition_key(::std::string&& value); |
2980 | | #endif |
2981 | | void set_split_partition_key(const char* value); |
2982 | | void set_split_partition_key(const void* value, size_t size); |
2983 | | ::std::string* mutable_split_partition_key(); |
2984 | | ::std::string* release_split_partition_key(); |
2985 | | void set_allocated_split_partition_key(::std::string* split_partition_key); |
2986 | | |
2987 | | // optional bytes split_encoded_key = 3; |
2988 | | bool has_split_encoded_key() const; |
2989 | | void clear_split_encoded_key(); |
2990 | | static const int kSplitEncodedKeyFieldNumber = 3; |
2991 | | const ::std::string& split_encoded_key() const; |
2992 | | void set_split_encoded_key(const ::std::string& value); |
2993 | | #if LANG_CXX11 |
2994 | | void set_split_encoded_key(::std::string&& value); |
2995 | | #endif |
2996 | | void set_split_encoded_key(const char* value); |
2997 | | void set_split_encoded_key(const void* value, size_t size); |
2998 | | ::std::string* mutable_split_encoded_key(); |
2999 | | ::std::string* release_split_encoded_key(); |
3000 | | void set_allocated_split_encoded_key(::std::string* split_encoded_key); |
3001 | | |
3002 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3003 | | bool has_error() const; |
3004 | | void clear_error(); |
3005 | | static const int kErrorFieldNumber = 1; |
3006 | | const ::yb::tserver::TabletServerErrorPB& error() const; |
3007 | | ::yb::tserver::TabletServerErrorPB* release_error(); |
3008 | | ::yb::tserver::TabletServerErrorPB* mutable_error(); |
3009 | | void set_allocated_error(::yb::tserver::TabletServerErrorPB* error); |
3010 | | |
3011 | | // optional fixed64 propagated_hybrid_time = 4; |
3012 | | bool has_propagated_hybrid_time() const; |
3013 | | void clear_propagated_hybrid_time(); |
3014 | | static const int kPropagatedHybridTimeFieldNumber = 4; |
3015 | | ::google::protobuf::uint64 propagated_hybrid_time() const; |
3016 | | void set_propagated_hybrid_time(::google::protobuf::uint64 value); |
3017 | | |
3018 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetSplitKeyResponsePB) |
3019 | | private: |
3020 | | void set_has_error(); |
3021 | | void clear_has_error(); |
3022 | | void set_has_split_partition_key(); |
3023 | | void clear_has_split_partition_key(); |
3024 | | void set_has_split_encoded_key(); |
3025 | | void clear_has_split_encoded_key(); |
3026 | | void set_has_propagated_hybrid_time(); |
3027 | | void clear_has_propagated_hybrid_time(); |
3028 | | |
3029 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3030 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3031 | | mutable int _cached_size_; |
3032 | | ::google::protobuf::internal::ArenaStringPtr split_partition_key_; |
3033 | | ::google::protobuf::internal::ArenaStringPtr split_encoded_key_; |
3034 | | ::yb::tserver::TabletServerErrorPB* error_; |
3035 | | ::google::protobuf::uint64 propagated_hybrid_time_; |
3036 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
3037 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSplitKeyResponsePBImpl(); |
3038 | | }; |
3039 | | // ------------------------------------------------------------------- |
3040 | | |
3041 | | class GetSharedDataRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetSharedDataRequestPB) */ { |
3042 | | public: |
3043 | | GetSharedDataRequestPB(); |
3044 | | virtual ~GetSharedDataRequestPB(); |
3045 | | |
3046 | | GetSharedDataRequestPB(const GetSharedDataRequestPB& from); |
3047 | | |
3048 | 0 | inline GetSharedDataRequestPB& operator=(const GetSharedDataRequestPB& from) { |
3049 | 0 | CopyFrom(from); |
3050 | 0 | return *this; |
3051 | 0 | } |
3052 | | #if LANG_CXX11 |
3053 | | GetSharedDataRequestPB(GetSharedDataRequestPB&& from) noexcept |
3054 | 0 | : GetSharedDataRequestPB() { |
3055 | 0 | *this = ::std::move(from); |
3056 | 0 | } |
3057 | | |
3058 | 0 | inline GetSharedDataRequestPB& operator=(GetSharedDataRequestPB&& from) noexcept { |
3059 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3060 | 0 | if (this != &from) InternalSwap(&from); |
3061 | 0 | } else { |
3062 | 0 | CopyFrom(from); |
3063 | 0 | } |
3064 | 0 | return *this; |
3065 | 0 | } |
3066 | | #endif |
3067 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3068 | 0 | return _internal_metadata_.unknown_fields(); |
3069 | 0 | } |
3070 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3071 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3072 | 0 | } |
3073 | | |
3074 | | static const ::google::protobuf::Descriptor* descriptor(); |
3075 | | static const GetSharedDataRequestPB& default_instance(); |
3076 | | |
3077 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3078 | 26.8k | static inline const GetSharedDataRequestPB* internal_default_instance() { |
3079 | 26.8k | return reinterpret_cast<const GetSharedDataRequestPB*>( |
3080 | 26.8k | &_GetSharedDataRequestPB_default_instance_); |
3081 | 26.8k | } |
3082 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3083 | | 21; |
3084 | | |
3085 | | void Swap(GetSharedDataRequestPB* other); |
3086 | 0 | friend void swap(GetSharedDataRequestPB& a, GetSharedDataRequestPB& b) { |
3087 | 0 | a.Swap(&b); |
3088 | 0 | } |
3089 | | |
3090 | | // implements Message ---------------------------------------------- |
3091 | | |
3092 | 0 | inline GetSharedDataRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3093 | | |
3094 | | GetSharedDataRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3095 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3096 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3097 | | void CopyFrom(const GetSharedDataRequestPB& from); |
3098 | | void MergeFrom(const GetSharedDataRequestPB& from); |
3099 | | void Clear() PROTOBUF_FINAL; |
3100 | | bool IsInitialized() const PROTOBUF_FINAL; |
3101 | | |
3102 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3103 | | bool MergePartialFromCodedStream( |
3104 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3105 | | void SerializeWithCachedSizes( |
3106 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3107 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3108 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3109 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3110 | | private: |
3111 | | void SharedCtor(); |
3112 | | void SharedDtor(); |
3113 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3114 | | void InternalSwap(GetSharedDataRequestPB* other); |
3115 | | private: |
3116 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3117 | 0 | return NULL; |
3118 | 0 | } |
3119 | 0 | inline void* MaybeArenaPtr() const { |
3120 | 0 | return NULL; |
3121 | 0 | } |
3122 | | public: |
3123 | | |
3124 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3125 | | |
3126 | | // nested types ---------------------------------------------------- |
3127 | | |
3128 | | // accessors ------------------------------------------------------- |
3129 | | |
3130 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetSharedDataRequestPB) |
3131 | | private: |
3132 | | |
3133 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3134 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3135 | | mutable int _cached_size_; |
3136 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
3137 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSharedDataRequestPBImpl(); |
3138 | | }; |
3139 | | // ------------------------------------------------------------------- |
3140 | | |
3141 | | class GetSharedDataResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tserver.GetSharedDataResponsePB) */ { |
3142 | | public: |
3143 | | GetSharedDataResponsePB(); |
3144 | | virtual ~GetSharedDataResponsePB(); |
3145 | | |
3146 | | GetSharedDataResponsePB(const GetSharedDataResponsePB& from); |
3147 | | |
3148 | 0 | inline GetSharedDataResponsePB& operator=(const GetSharedDataResponsePB& from) { |
3149 | 0 | CopyFrom(from); |
3150 | 0 | return *this; |
3151 | 0 | } |
3152 | | #if LANG_CXX11 |
3153 | | GetSharedDataResponsePB(GetSharedDataResponsePB&& from) noexcept |
3154 | 0 | : GetSharedDataResponsePB() { |
3155 | 0 | *this = ::std::move(from); |
3156 | 0 | } |
3157 | | |
3158 | 0 | inline GetSharedDataResponsePB& operator=(GetSharedDataResponsePB&& from) noexcept { |
3159 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3160 | 0 | if (this != &from) InternalSwap(&from); |
3161 | 0 | } else { |
3162 | 0 | CopyFrom(from); |
3163 | 0 | } |
3164 | 0 | return *this; |
3165 | 0 | } |
3166 | | #endif |
3167 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3168 | 0 | return _internal_metadata_.unknown_fields(); |
3169 | 0 | } |
3170 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3171 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3172 | 0 | } |
3173 | | |
3174 | | static const ::google::protobuf::Descriptor* descriptor(); |
3175 | | static const GetSharedDataResponsePB& default_instance(); |
3176 | | |
3177 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3178 | 26.8k | static inline const GetSharedDataResponsePB* internal_default_instance() { |
3179 | 26.8k | return reinterpret_cast<const GetSharedDataResponsePB*>( |
3180 | 26.8k | &_GetSharedDataResponsePB_default_instance_); |
3181 | 26.8k | } |
3182 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3183 | | 22; |
3184 | | |
3185 | | void Swap(GetSharedDataResponsePB* other); |
3186 | 0 | friend void swap(GetSharedDataResponsePB& a, GetSharedDataResponsePB& b) { |
3187 | 0 | a.Swap(&b); |
3188 | 0 | } |
3189 | | |
3190 | | // implements Message ---------------------------------------------- |
3191 | | |
3192 | 0 | inline GetSharedDataResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3193 | | |
3194 | | GetSharedDataResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3195 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3196 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3197 | | void CopyFrom(const GetSharedDataResponsePB& from); |
3198 | | void MergeFrom(const GetSharedDataResponsePB& from); |
3199 | | void Clear() PROTOBUF_FINAL; |
3200 | | bool IsInitialized() const PROTOBUF_FINAL; |
3201 | | |
3202 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3203 | | bool MergePartialFromCodedStream( |
3204 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3205 | | void SerializeWithCachedSizes( |
3206 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3207 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3208 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3209 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3210 | | private: |
3211 | | void SharedCtor(); |
3212 | | void SharedDtor(); |
3213 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3214 | | void InternalSwap(GetSharedDataResponsePB* other); |
3215 | | private: |
3216 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3217 | 0 | return NULL; |
3218 | 0 | } |
3219 | 0 | inline void* MaybeArenaPtr() const { |
3220 | 0 | return NULL; |
3221 | 0 | } |
3222 | | public: |
3223 | | |
3224 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3225 | | |
3226 | | // nested types ---------------------------------------------------- |
3227 | | |
3228 | | // accessors ------------------------------------------------------- |
3229 | | |
3230 | | // optional bytes data = 1; |
3231 | | bool has_data() const; |
3232 | | void clear_data(); |
3233 | | static const int kDataFieldNumber = 1; |
3234 | | const ::std::string& data() const; |
3235 | | void set_data(const ::std::string& value); |
3236 | | #if LANG_CXX11 |
3237 | | void set_data(::std::string&& value); |
3238 | | #endif |
3239 | | void set_data(const char* value); |
3240 | | void set_data(const void* value, size_t size); |
3241 | | ::std::string* mutable_data(); |
3242 | | ::std::string* release_data(); |
3243 | | void set_allocated_data(::std::string* data); |
3244 | | |
3245 | | // @@protoc_insertion_point(class_scope:yb.tserver.GetSharedDataResponsePB) |
3246 | | private: |
3247 | | void set_has_data(); |
3248 | | void clear_has_data(); |
3249 | | |
3250 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3251 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3252 | | mutable int _cached_size_; |
3253 | | ::google::protobuf::internal::ArenaStringPtr data_; |
3254 | | friend struct ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::TableStruct; |
3255 | | friend void ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSharedDataResponsePBImpl(); |
3256 | | }; |
3257 | | // =================================================================== |
3258 | | |
3259 | | |
3260 | | // =================================================================== |
3261 | | |
3262 | | #ifdef __GNUC__ |
3263 | | #pragma GCC diagnostic push |
3264 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
3265 | | #endif // __GNUC__ |
3266 | | // GetLogLocationRequestPB |
3267 | | |
3268 | | // ------------------------------------------------------------------- |
3269 | | |
3270 | | // GetLogLocationResponsePB |
3271 | | |
3272 | | // optional string log_location = 1; |
3273 | 0 | inline bool GetLogLocationResponsePB::has_log_location() const { |
3274 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3275 | 0 | } |
3276 | 0 | inline void GetLogLocationResponsePB::set_has_log_location() { |
3277 | 0 | _has_bits_[0] |= 0x00000001u; |
3278 | 0 | } |
3279 | 0 | inline void GetLogLocationResponsePB::clear_has_log_location() { |
3280 | 0 | _has_bits_[0] &= ~0x00000001u; |
3281 | 0 | } |
3282 | 0 | inline void GetLogLocationResponsePB::clear_log_location() { |
3283 | 0 | log_location_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3284 | 0 | clear_has_log_location(); |
3285 | 0 | } |
3286 | 0 | inline const ::std::string& GetLogLocationResponsePB::log_location() const { |
3287 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetLogLocationResponsePB.log_location) |
3288 | 0 | return log_location_.GetNoArena(); |
3289 | 0 | } |
3290 | 0 | inline void GetLogLocationResponsePB::set_log_location(const ::std::string& value) { |
3291 | 0 | set_has_log_location(); |
3292 | 0 | log_location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3293 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetLogLocationResponsePB.log_location) |
3294 | 0 | } |
3295 | | #if LANG_CXX11 |
3296 | 0 | inline void GetLogLocationResponsePB::set_log_location(::std::string&& value) { |
3297 | 0 | set_has_log_location(); |
3298 | 0 | log_location_.SetNoArena( |
3299 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3300 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetLogLocationResponsePB.log_location) |
3301 | 0 | } |
3302 | | #endif |
3303 | 0 | inline void GetLogLocationResponsePB::set_log_location(const char* value) { |
3304 | 0 | GOOGLE_DCHECK(value != NULL); |
3305 | 0 | set_has_log_location(); |
3306 | 0 | log_location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3307 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetLogLocationResponsePB.log_location) |
3308 | 0 | } |
3309 | 0 | inline void GetLogLocationResponsePB::set_log_location(const char* value, size_t size) { |
3310 | 0 | set_has_log_location(); |
3311 | 0 | log_location_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3312 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3313 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetLogLocationResponsePB.log_location) |
3314 | 0 | } |
3315 | 0 | inline ::std::string* GetLogLocationResponsePB::mutable_log_location() { |
3316 | 0 | set_has_log_location(); |
3317 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.GetLogLocationResponsePB.log_location) |
3318 | 0 | return log_location_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3319 | 0 | } |
3320 | 0 | inline ::std::string* GetLogLocationResponsePB::release_log_location() { |
3321 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetLogLocationResponsePB.log_location) |
3322 | 0 | clear_has_log_location(); |
3323 | 0 | return log_location_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3324 | 0 | } |
3325 | 0 | inline void GetLogLocationResponsePB::set_allocated_log_location(::std::string* log_location) { |
3326 | 0 | if (log_location != NULL) { |
3327 | 0 | set_has_log_location(); |
3328 | 0 | } else { |
3329 | 0 | clear_has_log_location(); |
3330 | 0 | } |
3331 | 0 | log_location_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), log_location); |
3332 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetLogLocationResponsePB.log_location) |
3333 | 0 | } |
3334 | | |
3335 | | // ------------------------------------------------------------------- |
3336 | | |
3337 | | // ChecksumRequestPB |
3338 | | |
3339 | | // optional bytes tablet_id = 6; |
3340 | 8.76k | inline bool ChecksumRequestPB::has_tablet_id() const { |
3341 | 8.76k | return (_has_bits_[0] & 0x00000001u) != 0; |
3342 | 8.76k | } |
3343 | 7.68k | inline void ChecksumRequestPB::set_has_tablet_id() { |
3344 | 7.68k | _has_bits_[0] |= 0x00000001u; |
3345 | 7.68k | } |
3346 | 0 | inline void ChecksumRequestPB::clear_has_tablet_id() { |
3347 | 0 | _has_bits_[0] &= ~0x00000001u; |
3348 | 0 | } |
3349 | 0 | inline void ChecksumRequestPB::clear_tablet_id() { |
3350 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3351 | 0 | clear_has_tablet_id(); |
3352 | 0 | } |
3353 | 16.4k | inline const ::std::string& ChecksumRequestPB::tablet_id() const { |
3354 | | // @@protoc_insertion_point(field_get:yb.tserver.ChecksumRequestPB.tablet_id) |
3355 | 16.4k | return tablet_id_.GetNoArena(); |
3356 | 16.4k | } |
3357 | 4.37k | inline void ChecksumRequestPB::set_tablet_id(const ::std::string& value) { |
3358 | 4.37k | set_has_tablet_id(); |
3359 | 4.37k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3360 | | // @@protoc_insertion_point(field_set:yb.tserver.ChecksumRequestPB.tablet_id) |
3361 | 4.37k | } |
3362 | | #if LANG_CXX11 |
3363 | 0 | inline void ChecksumRequestPB::set_tablet_id(::std::string&& value) { |
3364 | 0 | set_has_tablet_id(); |
3365 | 0 | tablet_id_.SetNoArena( |
3366 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3367 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.ChecksumRequestPB.tablet_id) |
3368 | 0 | } |
3369 | | #endif |
3370 | | inline void ChecksumRequestPB::set_tablet_id(const char* value) { |
3371 | | GOOGLE_DCHECK(value != NULL); |
3372 | | set_has_tablet_id(); |
3373 | | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3374 | | // @@protoc_insertion_point(field_set_char:yb.tserver.ChecksumRequestPB.tablet_id) |
3375 | | } |
3376 | 0 | inline void ChecksumRequestPB::set_tablet_id(const void* value, size_t size) { |
3377 | 0 | set_has_tablet_id(); |
3378 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3379 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3380 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.ChecksumRequestPB.tablet_id) |
3381 | 0 | } |
3382 | 3.30k | inline ::std::string* ChecksumRequestPB::mutable_tablet_id() { |
3383 | 3.30k | set_has_tablet_id(); |
3384 | | // @@protoc_insertion_point(field_mutable:yb.tserver.ChecksumRequestPB.tablet_id) |
3385 | 3.30k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3386 | 3.30k | } |
3387 | 0 | inline ::std::string* ChecksumRequestPB::release_tablet_id() { |
3388 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ChecksumRequestPB.tablet_id) |
3389 | 0 | clear_has_tablet_id(); |
3390 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3391 | 0 | } |
3392 | 0 | inline void ChecksumRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
3393 | 0 | if (tablet_id != NULL) { |
3394 | 0 | set_has_tablet_id(); |
3395 | 0 | } else { |
3396 | 0 | clear_has_tablet_id(); |
3397 | 0 | } |
3398 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
3399 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ChecksumRequestPB.tablet_id) |
3400 | 0 | } |
3401 | | |
3402 | | // optional .yb.YBConsistencyLevel consistency_level = 7; |
3403 | 8.76k | inline bool ChecksumRequestPB::has_consistency_level() const { |
3404 | 8.76k | return (_has_bits_[0] & 0x00000002u) != 0; |
3405 | 8.76k | } |
3406 | 7.67k | inline void ChecksumRequestPB::set_has_consistency_level() { |
3407 | 7.67k | _has_bits_[0] |= 0x00000002u; |
3408 | 7.67k | } |
3409 | 0 | inline void ChecksumRequestPB::clear_has_consistency_level() { |
3410 | 0 | _has_bits_[0] &= ~0x00000002u; |
3411 | 0 | } |
3412 | 0 | inline void ChecksumRequestPB::clear_consistency_level() { |
3413 | 0 | consistency_level_ = 1; |
3414 | 0 | clear_has_consistency_level(); |
3415 | 0 | } |
3416 | 16.4k | inline ::yb::YBConsistencyLevel ChecksumRequestPB::consistency_level() const { |
3417 | | // @@protoc_insertion_point(field_get:yb.tserver.ChecksumRequestPB.consistency_level) |
3418 | 16.4k | return static_cast< ::yb::YBConsistencyLevel >(consistency_level_); |
3419 | 16.4k | } |
3420 | 7.66k | inline void ChecksumRequestPB::set_consistency_level(::yb::YBConsistencyLevel value) { |
3421 | 7.66k | assert(::yb::YBConsistencyLevel_IsValid(value)); |
3422 | 0 | set_has_consistency_level(); |
3423 | 7.66k | consistency_level_ = value; |
3424 | | // @@protoc_insertion_point(field_set:yb.tserver.ChecksumRequestPB.consistency_level) |
3425 | 7.66k | } |
3426 | | |
3427 | | // ------------------------------------------------------------------- |
3428 | | |
3429 | | // ChecksumResponsePB |
3430 | | |
3431 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3432 | 16.5k | inline bool ChecksumResponsePB::has_error() const { |
3433 | 16.5k | return (_has_bits_[0] & 0x00000001u) != 0; |
3434 | 16.5k | } |
3435 | 2 | inline void ChecksumResponsePB::set_has_error() { |
3436 | 2 | _has_bits_[0] |= 0x00000001u; |
3437 | 2 | } |
3438 | 0 | inline void ChecksumResponsePB::clear_has_error() { |
3439 | 0 | _has_bits_[0] &= ~0x00000001u; |
3440 | 0 | } |
3441 | 1 | inline const ::yb::tserver::TabletServerErrorPB& ChecksumResponsePB::error() const { |
3442 | 1 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
3443 | | // @@protoc_insertion_point(field_get:yb.tserver.ChecksumResponsePB.error) |
3444 | 1 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
3445 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
3446 | 1 | } |
3447 | 0 | inline ::yb::tserver::TabletServerErrorPB* ChecksumResponsePB::release_error() { |
3448 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ChecksumResponsePB.error) |
3449 | 0 | clear_has_error(); |
3450 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
3451 | 0 | error_ = NULL; |
3452 | 0 | return temp; |
3453 | 0 | } |
3454 | 2 | inline ::yb::tserver::TabletServerErrorPB* ChecksumResponsePB::mutable_error() { |
3455 | 2 | set_has_error(); |
3456 | 2 | if (error_ == NULL) { |
3457 | 2 | error_ = new ::yb::tserver::TabletServerErrorPB; |
3458 | 2 | } |
3459 | | // @@protoc_insertion_point(field_mutable:yb.tserver.ChecksumResponsePB.error) |
3460 | 2 | return error_; |
3461 | 2 | } |
3462 | 0 | inline void ChecksumResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
3463 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3464 | 0 | if (message_arena == NULL) { |
3465 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
3466 | 0 | } |
3467 | 0 | if (error) { |
3468 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3469 | 0 | if (message_arena != submessage_arena) { |
3470 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
3471 | 0 | message_arena, error, submessage_arena); |
3472 | 0 | } |
3473 | 0 | set_has_error(); |
3474 | 0 | } else { |
3475 | 0 | clear_has_error(); |
3476 | 0 | } |
3477 | 0 | error_ = error; |
3478 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ChecksumResponsePB.error) |
3479 | 0 | } |
3480 | | |
3481 | | // optional uint64 checksum = 2; |
3482 | 9.91k | inline bool ChecksumResponsePB::has_checksum() const { |
3483 | 9.91k | return (_has_bits_[0] & 0x00000002u) != 0; |
3484 | 9.91k | } |
3485 | 6.61k | inline void ChecksumResponsePB::set_has_checksum() { |
3486 | 6.61k | _has_bits_[0] |= 0x00000002u; |
3487 | 6.61k | } |
3488 | 0 | inline void ChecksumResponsePB::clear_has_checksum() { |
3489 | 0 | _has_bits_[0] &= ~0x00000002u; |
3490 | 0 | } |
3491 | 0 | inline void ChecksumResponsePB::clear_checksum() { |
3492 | 0 | checksum_ = GOOGLE_ULONGLONG(0); |
3493 | 0 | clear_has_checksum(); |
3494 | 0 | } |
3495 | 13.2k | inline ::google::protobuf::uint64 ChecksumResponsePB::checksum() const { |
3496 | | // @@protoc_insertion_point(field_get:yb.tserver.ChecksumResponsePB.checksum) |
3497 | 13.2k | return checksum_; |
3498 | 13.2k | } |
3499 | 3.30k | inline void ChecksumResponsePB::set_checksum(::google::protobuf::uint64 value) { |
3500 | 3.30k | set_has_checksum(); |
3501 | 3.30k | checksum_ = value; |
3502 | | // @@protoc_insertion_point(field_set:yb.tserver.ChecksumResponsePB.checksum) |
3503 | 3.30k | } |
3504 | | |
3505 | | // ------------------------------------------------------------------- |
3506 | | |
3507 | | // ListTabletsForTabletServerRequestPB |
3508 | | |
3509 | | // ------------------------------------------------------------------- |
3510 | | |
3511 | | // ListTabletsForTabletServerResponsePB_Entry |
3512 | | |
3513 | | // optional string table_name = 1; |
3514 | 13.2k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_table_name() const { |
3515 | 13.2k | return (_has_bits_[0] & 0x00000001u) != 0; |
3516 | 13.2k | } |
3517 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_table_name() { |
3518 | 8.82k | _has_bits_[0] |= 0x00000001u; |
3519 | 8.82k | } |
3520 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_table_name() { |
3521 | 0 | _has_bits_[0] &= ~0x00000001u; |
3522 | 0 | } |
3523 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_table_name() { |
3524 | 0 | table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3525 | 0 | clear_has_table_name(); |
3526 | 0 | } |
3527 | 34.8k | inline const ::std::string& ListTabletsForTabletServerResponsePB_Entry::table_name() const { |
3528 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3529 | 34.8k | return table_name_.GetNoArena(); |
3530 | 34.8k | } |
3531 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_table_name(const ::std::string& value) { |
3532 | 4.41k | set_has_table_name(); |
3533 | 4.41k | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3534 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3535 | 4.41k | } |
3536 | | #if LANG_CXX11 |
3537 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_table_name(::std::string&& value) { |
3538 | 0 | set_has_table_name(); |
3539 | 0 | table_name_.SetNoArena( |
3540 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3541 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3542 | 0 | } |
3543 | | #endif |
3544 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_table_name(const char* value) { |
3545 | 0 | GOOGLE_DCHECK(value != NULL); |
3546 | 0 | set_has_table_name(); |
3547 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3548 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3549 | 0 | } |
3550 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_table_name(const char* value, size_t size) { |
3551 | 0 | set_has_table_name(); |
3552 | 0 | table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3553 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3554 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3555 | 0 | } |
3556 | 4.41k | inline ::std::string* ListTabletsForTabletServerResponsePB_Entry::mutable_table_name() { |
3557 | 4.41k | set_has_table_name(); |
3558 | | // @@protoc_insertion_point(field_mutable:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3559 | 4.41k | return table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3560 | 4.41k | } |
3561 | 0 | inline ::std::string* ListTabletsForTabletServerResponsePB_Entry::release_table_name() { |
3562 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3563 | 0 | clear_has_table_name(); |
3564 | 0 | return table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3565 | 0 | } |
3566 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_allocated_table_name(::std::string* table_name) { |
3567 | 0 | if (table_name != NULL) { |
3568 | 0 | set_has_table_name(); |
3569 | 0 | } else { |
3570 | 0 | clear_has_table_name(); |
3571 | 0 | } |
3572 | 0 | table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_name); |
3573 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name) |
3574 | 0 | } |
3575 | | |
3576 | | // optional bytes tablet_id = 2; |
3577 | 13.2k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_tablet_id() const { |
3578 | 13.2k | return (_has_bits_[0] & 0x00000002u) != 0; |
3579 | 13.2k | } |
3580 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_tablet_id() { |
3581 | 8.82k | _has_bits_[0] |= 0x00000002u; |
3582 | 8.82k | } |
3583 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_tablet_id() { |
3584 | 0 | _has_bits_[0] &= ~0x00000002u; |
3585 | 0 | } |
3586 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_tablet_id() { |
3587 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3588 | 0 | clear_has_tablet_id(); |
3589 | 0 | } |
3590 | 14.7k | inline const ::std::string& ListTabletsForTabletServerResponsePB_Entry::tablet_id() const { |
3591 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3592 | 14.7k | return tablet_id_.GetNoArena(); |
3593 | 14.7k | } |
3594 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_tablet_id(const ::std::string& value) { |
3595 | 4.41k | set_has_tablet_id(); |
3596 | 4.41k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3597 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3598 | 4.41k | } |
3599 | | #if LANG_CXX11 |
3600 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_tablet_id(::std::string&& value) { |
3601 | 0 | set_has_tablet_id(); |
3602 | 0 | tablet_id_.SetNoArena( |
3603 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3604 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3605 | 0 | } |
3606 | | #endif |
3607 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_tablet_id(const char* value) { |
3608 | 0 | GOOGLE_DCHECK(value != NULL); |
3609 | 0 | set_has_tablet_id(); |
3610 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3611 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3612 | 0 | } |
3613 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_tablet_id(const void* value, size_t size) { |
3614 | 0 | set_has_tablet_id(); |
3615 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3616 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3617 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3618 | 0 | } |
3619 | 4.41k | inline ::std::string* ListTabletsForTabletServerResponsePB_Entry::mutable_tablet_id() { |
3620 | 4.41k | set_has_tablet_id(); |
3621 | | // @@protoc_insertion_point(field_mutable:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3622 | 4.41k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3623 | 4.41k | } |
3624 | 0 | inline ::std::string* ListTabletsForTabletServerResponsePB_Entry::release_tablet_id() { |
3625 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3626 | 0 | clear_has_tablet_id(); |
3627 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3628 | 0 | } |
3629 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::set_allocated_tablet_id(::std::string* tablet_id) { |
3630 | 0 | if (tablet_id != NULL) { |
3631 | 0 | set_has_tablet_id(); |
3632 | 0 | } else { |
3633 | 0 | clear_has_tablet_id(); |
3634 | 0 | } |
3635 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
3636 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.tablet_id) |
3637 | 0 | } |
3638 | | |
3639 | | // optional bool is_leader = 3; |
3640 | 8.82k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_is_leader() const { |
3641 | 8.82k | return (_has_bits_[0] & 0x00000040u) != 0; |
3642 | 8.82k | } |
3643 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_is_leader() { |
3644 | 8.82k | _has_bits_[0] |= 0x00000040u; |
3645 | 8.82k | } |
3646 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_is_leader() { |
3647 | 0 | _has_bits_[0] &= ~0x00000040u; |
3648 | 0 | } |
3649 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_is_leader() { |
3650 | 0 | is_leader_ = false; |
3651 | 0 | clear_has_is_leader(); |
3652 | 0 | } |
3653 | 4.61k | inline bool ListTabletsForTabletServerResponsePB_Entry::is_leader() const { |
3654 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.is_leader) |
3655 | 4.61k | return is_leader_; |
3656 | 4.61k | } |
3657 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_is_leader(bool value) { |
3658 | 4.41k | set_has_is_leader(); |
3659 | 4.41k | is_leader_ = value; |
3660 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.is_leader) |
3661 | 4.41k | } |
3662 | | |
3663 | | // optional .yb.tablet.RaftGroupStatePB state = 4; |
3664 | 8.82k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_state() const { |
3665 | 8.82k | return (_has_bits_[0] & 0x00000080u) != 0; |
3666 | 8.82k | } |
3667 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_state() { |
3668 | 8.82k | _has_bits_[0] |= 0x00000080u; |
3669 | 8.82k | } |
3670 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_state() { |
3671 | 0 | _has_bits_[0] &= ~0x00000080u; |
3672 | 0 | } |
3673 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_state() { |
3674 | 0 | state_ = 999; |
3675 | 0 | clear_has_state(); |
3676 | 0 | } |
3677 | 13.4k | inline ::yb::tablet::RaftGroupStatePB ListTabletsForTabletServerResponsePB_Entry::state() const { |
3678 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.state) |
3679 | 13.4k | return static_cast< ::yb::tablet::RaftGroupStatePB >(state_); |
3680 | 13.4k | } |
3681 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_state(::yb::tablet::RaftGroupStatePB value) { |
3682 | 8.82k | assert(::yb::tablet::RaftGroupStatePB_IsValid(value)); |
3683 | 0 | set_has_state(); |
3684 | 8.82k | state_ = value; |
3685 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.state) |
3686 | 8.82k | } |
3687 | | |
3688 | | // optional uint64 num_sst_files = 5; |
3689 | 8.82k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_num_sst_files() const { |
3690 | 8.82k | return (_has_bits_[0] & 0x00000004u) != 0; |
3691 | 8.82k | } |
3692 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_num_sst_files() { |
3693 | 8.82k | _has_bits_[0] |= 0x00000004u; |
3694 | 8.82k | } |
3695 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_num_sst_files() { |
3696 | 0 | _has_bits_[0] &= ~0x00000004u; |
3697 | 0 | } |
3698 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_num_sst_files() { |
3699 | 0 | num_sst_files_ = GOOGLE_ULONGLONG(0); |
3700 | 0 | clear_has_num_sst_files(); |
3701 | 0 | } |
3702 | 13.2k | inline ::google::protobuf::uint64 ListTabletsForTabletServerResponsePB_Entry::num_sst_files() const { |
3703 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_sst_files) |
3704 | 13.2k | return num_sst_files_; |
3705 | 13.2k | } |
3706 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_num_sst_files(::google::protobuf::uint64 value) { |
3707 | 4.41k | set_has_num_sst_files(); |
3708 | 4.41k | num_sst_files_ = value; |
3709 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_sst_files) |
3710 | 4.41k | } |
3711 | | |
3712 | | // optional uint64 num_log_segments = 6; |
3713 | 8.82k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_num_log_segments() const { |
3714 | 8.82k | return (_has_bits_[0] & 0x00000008u) != 0; |
3715 | 8.82k | } |
3716 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_num_log_segments() { |
3717 | 8.82k | _has_bits_[0] |= 0x00000008u; |
3718 | 8.82k | } |
3719 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_num_log_segments() { |
3720 | 0 | _has_bits_[0] &= ~0x00000008u; |
3721 | 0 | } |
3722 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_num_log_segments() { |
3723 | 0 | num_log_segments_ = GOOGLE_ULONGLONG(0); |
3724 | 0 | clear_has_num_log_segments(); |
3725 | 0 | } |
3726 | 13.2k | inline ::google::protobuf::uint64 ListTabletsForTabletServerResponsePB_Entry::num_log_segments() const { |
3727 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_log_segments) |
3728 | 13.2k | return num_log_segments_; |
3729 | 13.2k | } |
3730 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_num_log_segments(::google::protobuf::uint64 value) { |
3731 | 4.41k | set_has_num_log_segments(); |
3732 | 4.41k | num_log_segments_ = value; |
3733 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_log_segments) |
3734 | 4.41k | } |
3735 | | |
3736 | | // optional uint64 num_memtables_intents = 7; |
3737 | 8.82k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_num_memtables_intents() const { |
3738 | 8.82k | return (_has_bits_[0] & 0x00000010u) != 0; |
3739 | 8.82k | } |
3740 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_num_memtables_intents() { |
3741 | 8.82k | _has_bits_[0] |= 0x00000010u; |
3742 | 8.82k | } |
3743 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_num_memtables_intents() { |
3744 | 0 | _has_bits_[0] &= ~0x00000010u; |
3745 | 0 | } |
3746 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_num_memtables_intents() { |
3747 | 0 | num_memtables_intents_ = GOOGLE_ULONGLONG(0); |
3748 | 0 | clear_has_num_memtables_intents(); |
3749 | 0 | } |
3750 | 13.2k | inline ::google::protobuf::uint64 ListTabletsForTabletServerResponsePB_Entry::num_memtables_intents() const { |
3751 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_memtables_intents) |
3752 | 13.2k | return num_memtables_intents_; |
3753 | 13.2k | } |
3754 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_num_memtables_intents(::google::protobuf::uint64 value) { |
3755 | 4.41k | set_has_num_memtables_intents(); |
3756 | 4.41k | num_memtables_intents_ = value; |
3757 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_memtables_intents) |
3758 | 4.41k | } |
3759 | | |
3760 | | // optional uint64 num_memtables_regular = 8; |
3761 | 8.82k | inline bool ListTabletsForTabletServerResponsePB_Entry::has_num_memtables_regular() const { |
3762 | 8.82k | return (_has_bits_[0] & 0x00000020u) != 0; |
3763 | 8.82k | } |
3764 | 8.82k | inline void ListTabletsForTabletServerResponsePB_Entry::set_has_num_memtables_regular() { |
3765 | 8.82k | _has_bits_[0] |= 0x00000020u; |
3766 | 8.82k | } |
3767 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_has_num_memtables_regular() { |
3768 | 0 | _has_bits_[0] &= ~0x00000020u; |
3769 | 0 | } |
3770 | 0 | inline void ListTabletsForTabletServerResponsePB_Entry::clear_num_memtables_regular() { |
3771 | 0 | num_memtables_regular_ = GOOGLE_ULONGLONG(0); |
3772 | 0 | clear_has_num_memtables_regular(); |
3773 | 0 | } |
3774 | 13.2k | inline ::google::protobuf::uint64 ListTabletsForTabletServerResponsePB_Entry::num_memtables_regular() const { |
3775 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_memtables_regular) |
3776 | 13.2k | return num_memtables_regular_; |
3777 | 13.2k | } |
3778 | 4.41k | inline void ListTabletsForTabletServerResponsePB_Entry::set_num_memtables_regular(::google::protobuf::uint64 value) { |
3779 | 4.41k | set_has_num_memtables_regular(); |
3780 | 4.41k | num_memtables_regular_ = value; |
3781 | | // @@protoc_insertion_point(field_set:yb.tserver.ListTabletsForTabletServerResponsePB.Entry.num_memtables_regular) |
3782 | 4.41k | } |
3783 | | |
3784 | | // ------------------------------------------------------------------- |
3785 | | |
3786 | | // ListTabletsForTabletServerResponsePB |
3787 | | |
3788 | | // repeated .yb.tserver.ListTabletsForTabletServerResponsePB.Entry entries = 1; |
3789 | 2.64k | inline int ListTabletsForTabletServerResponsePB::entries_size() const { |
3790 | 2.64k | return entries_.size(); |
3791 | 2.64k | } |
3792 | 0 | inline void ListTabletsForTabletServerResponsePB::clear_entries() { |
3793 | 0 | entries_.Clear(); |
3794 | 0 | } |
3795 | 13.2k | inline const ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry& ListTabletsForTabletServerResponsePB::entries(int index) const { |
3796 | | // @@protoc_insertion_point(field_get:yb.tserver.ListTabletsForTabletServerResponsePB.entries) |
3797 | 13.2k | return entries_.Get(index); |
3798 | 13.2k | } |
3799 | 0 | inline ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry* ListTabletsForTabletServerResponsePB::mutable_entries(int index) { |
3800 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.ListTabletsForTabletServerResponsePB.entries) |
3801 | 0 | return entries_.Mutable(index); |
3802 | 0 | } |
3803 | 8.82k | inline ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry* ListTabletsForTabletServerResponsePB::add_entries() { |
3804 | | // @@protoc_insertion_point(field_add:yb.tserver.ListTabletsForTabletServerResponsePB.entries) |
3805 | 8.82k | return entries_.Add(); |
3806 | 8.82k | } |
3807 | | inline ::google::protobuf::RepeatedPtrField< ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry >* |
3808 | 0 | ListTabletsForTabletServerResponsePB::mutable_entries() { |
3809 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.ListTabletsForTabletServerResponsePB.entries) |
3810 | 0 | return &entries_; |
3811 | 0 | } |
3812 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry >& |
3813 | 881 | ListTabletsForTabletServerResponsePB::entries() const { |
3814 | | // @@protoc_insertion_point(field_list:yb.tserver.ListTabletsForTabletServerResponsePB.entries) |
3815 | 881 | return entries_; |
3816 | 881 | } |
3817 | | |
3818 | | // ------------------------------------------------------------------- |
3819 | | |
3820 | | // ImportDataRequestPB |
3821 | | |
3822 | | // optional string tablet_id = 1; |
3823 | 0 | inline bool ImportDataRequestPB::has_tablet_id() const { |
3824 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3825 | 0 | } |
3826 | 0 | inline void ImportDataRequestPB::set_has_tablet_id() { |
3827 | 0 | _has_bits_[0] |= 0x00000001u; |
3828 | 0 | } |
3829 | 0 | inline void ImportDataRequestPB::clear_has_tablet_id() { |
3830 | 0 | _has_bits_[0] &= ~0x00000001u; |
3831 | 0 | } |
3832 | 0 | inline void ImportDataRequestPB::clear_tablet_id() { |
3833 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3834 | 0 | clear_has_tablet_id(); |
3835 | 0 | } |
3836 | 0 | inline const ::std::string& ImportDataRequestPB::tablet_id() const { |
3837 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.ImportDataRequestPB.tablet_id) |
3838 | 0 | return tablet_id_.GetNoArena(); |
3839 | 0 | } |
3840 | 0 | inline void ImportDataRequestPB::set_tablet_id(const ::std::string& value) { |
3841 | 0 | set_has_tablet_id(); |
3842 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3843 | | // @@protoc_insertion_point(field_set:yb.tserver.ImportDataRequestPB.tablet_id) |
3844 | 0 | } |
3845 | | #if LANG_CXX11 |
3846 | 0 | inline void ImportDataRequestPB::set_tablet_id(::std::string&& value) { |
3847 | 0 | set_has_tablet_id(); |
3848 | 0 | tablet_id_.SetNoArena( |
3849 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3850 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.ImportDataRequestPB.tablet_id) |
3851 | 0 | } |
3852 | | #endif |
3853 | 0 | inline void ImportDataRequestPB::set_tablet_id(const char* value) { |
3854 | 0 | GOOGLE_DCHECK(value != NULL); |
3855 | 0 | set_has_tablet_id(); |
3856 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3857 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.ImportDataRequestPB.tablet_id) |
3858 | 0 | } |
3859 | 0 | inline void ImportDataRequestPB::set_tablet_id(const char* value, size_t size) { |
3860 | 0 | set_has_tablet_id(); |
3861 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3862 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3863 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.ImportDataRequestPB.tablet_id) |
3864 | 0 | } |
3865 | 0 | inline ::std::string* ImportDataRequestPB::mutable_tablet_id() { |
3866 | 0 | set_has_tablet_id(); |
3867 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.ImportDataRequestPB.tablet_id) |
3868 | 0 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3869 | 0 | } |
3870 | 0 | inline ::std::string* ImportDataRequestPB::release_tablet_id() { |
3871 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ImportDataRequestPB.tablet_id) |
3872 | 0 | clear_has_tablet_id(); |
3873 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3874 | 0 | } |
3875 | 0 | inline void ImportDataRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
3876 | 0 | if (tablet_id != NULL) { |
3877 | 0 | set_has_tablet_id(); |
3878 | 0 | } else { |
3879 | 0 | clear_has_tablet_id(); |
3880 | 0 | } |
3881 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
3882 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ImportDataRequestPB.tablet_id) |
3883 | 0 | } |
3884 | | |
3885 | | // optional string source_dir = 2; |
3886 | 0 | inline bool ImportDataRequestPB::has_source_dir() const { |
3887 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3888 | 0 | } |
3889 | 0 | inline void ImportDataRequestPB::set_has_source_dir() { |
3890 | 0 | _has_bits_[0] |= 0x00000002u; |
3891 | 0 | } |
3892 | 0 | inline void ImportDataRequestPB::clear_has_source_dir() { |
3893 | 0 | _has_bits_[0] &= ~0x00000002u; |
3894 | 0 | } |
3895 | 0 | inline void ImportDataRequestPB::clear_source_dir() { |
3896 | 0 | source_dir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3897 | 0 | clear_has_source_dir(); |
3898 | 0 | } |
3899 | 0 | inline const ::std::string& ImportDataRequestPB::source_dir() const { |
3900 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.ImportDataRequestPB.source_dir) |
3901 | 0 | return source_dir_.GetNoArena(); |
3902 | 0 | } |
3903 | 0 | inline void ImportDataRequestPB::set_source_dir(const ::std::string& value) { |
3904 | 0 | set_has_source_dir(); |
3905 | 0 | source_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3906 | | // @@protoc_insertion_point(field_set:yb.tserver.ImportDataRequestPB.source_dir) |
3907 | 0 | } |
3908 | | #if LANG_CXX11 |
3909 | 0 | inline void ImportDataRequestPB::set_source_dir(::std::string&& value) { |
3910 | 0 | set_has_source_dir(); |
3911 | 0 | source_dir_.SetNoArena( |
3912 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3913 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.ImportDataRequestPB.source_dir) |
3914 | 0 | } |
3915 | | #endif |
3916 | 0 | inline void ImportDataRequestPB::set_source_dir(const char* value) { |
3917 | 0 | GOOGLE_DCHECK(value != NULL); |
3918 | 0 | set_has_source_dir(); |
3919 | 0 | source_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3920 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.ImportDataRequestPB.source_dir) |
3921 | 0 | } |
3922 | 0 | inline void ImportDataRequestPB::set_source_dir(const char* value, size_t size) { |
3923 | 0 | set_has_source_dir(); |
3924 | 0 | source_dir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3925 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3926 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.ImportDataRequestPB.source_dir) |
3927 | 0 | } |
3928 | 0 | inline ::std::string* ImportDataRequestPB::mutable_source_dir() { |
3929 | 0 | set_has_source_dir(); |
3930 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.ImportDataRequestPB.source_dir) |
3931 | 0 | return source_dir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3932 | 0 | } |
3933 | 0 | inline ::std::string* ImportDataRequestPB::release_source_dir() { |
3934 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ImportDataRequestPB.source_dir) |
3935 | 0 | clear_has_source_dir(); |
3936 | 0 | return source_dir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3937 | 0 | } |
3938 | 0 | inline void ImportDataRequestPB::set_allocated_source_dir(::std::string* source_dir) { |
3939 | 0 | if (source_dir != NULL) { |
3940 | 0 | set_has_source_dir(); |
3941 | 0 | } else { |
3942 | 0 | clear_has_source_dir(); |
3943 | 0 | } |
3944 | 0 | source_dir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source_dir); |
3945 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ImportDataRequestPB.source_dir) |
3946 | 0 | } |
3947 | | |
3948 | | // ------------------------------------------------------------------- |
3949 | | |
3950 | | // ImportDataResponsePB |
3951 | | |
3952 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
3953 | 0 | inline bool ImportDataResponsePB::has_error() const { |
3954 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
3955 | 0 | } |
3956 | 0 | inline void ImportDataResponsePB::set_has_error() { |
3957 | 0 | _has_bits_[0] |= 0x00000001u; |
3958 | 0 | } |
3959 | 0 | inline void ImportDataResponsePB::clear_has_error() { |
3960 | 0 | _has_bits_[0] &= ~0x00000001u; |
3961 | 0 | } |
3962 | 0 | inline const ::yb::tserver::TabletServerErrorPB& ImportDataResponsePB::error() const { |
3963 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
3964 | | // @@protoc_insertion_point(field_get:yb.tserver.ImportDataResponsePB.error) |
3965 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
3966 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
3967 | 0 | } |
3968 | 0 | inline ::yb::tserver::TabletServerErrorPB* ImportDataResponsePB::release_error() { |
3969 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.ImportDataResponsePB.error) |
3970 | 0 | clear_has_error(); |
3971 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
3972 | 0 | error_ = NULL; |
3973 | 0 | return temp; |
3974 | 0 | } |
3975 | 0 | inline ::yb::tserver::TabletServerErrorPB* ImportDataResponsePB::mutable_error() { |
3976 | 0 | set_has_error(); |
3977 | 0 | if (error_ == NULL) { |
3978 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
3979 | 0 | } |
3980 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.ImportDataResponsePB.error) |
3981 | 0 | return error_; |
3982 | 0 | } |
3983 | 0 | inline void ImportDataResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
3984 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3985 | 0 | if (message_arena == NULL) { |
3986 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
3987 | 0 | } |
3988 | 0 | if (error) { |
3989 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3990 | 0 | if (message_arena != submessage_arena) { |
3991 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
3992 | 0 | message_arena, error, submessage_arena); |
3993 | 0 | } |
3994 | 0 | set_has_error(); |
3995 | 0 | } else { |
3996 | 0 | clear_has_error(); |
3997 | 0 | } |
3998 | 0 | error_ = error; |
3999 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.ImportDataResponsePB.error) |
4000 | 0 | } |
4001 | | |
4002 | | // ------------------------------------------------------------------- |
4003 | | |
4004 | | // UpdateTransactionRequestPB |
4005 | | |
4006 | | // optional bytes tablet_id = 1; |
4007 | 2.44M | inline bool UpdateTransactionRequestPB::has_tablet_id() const { |
4008 | 2.44M | return (_has_bits_[0] & 0x00000001u) != 0; |
4009 | 2.44M | } |
4010 | 3.75M | inline void UpdateTransactionRequestPB::set_has_tablet_id() { |
4011 | 3.75M | _has_bits_[0] |= 0x00000001u; |
4012 | 3.75M | } |
4013 | 0 | inline void UpdateTransactionRequestPB::clear_has_tablet_id() { |
4014 | 0 | _has_bits_[0] &= ~0x00000001u; |
4015 | 0 | } |
4016 | 0 | inline void UpdateTransactionRequestPB::clear_tablet_id() { |
4017 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4018 | 0 | clear_has_tablet_id(); |
4019 | 0 | } |
4020 | 7.79M | inline const ::std::string& UpdateTransactionRequestPB::tablet_id() const { |
4021 | | // @@protoc_insertion_point(field_get:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4022 | 7.79M | return tablet_id_.GetNoArena(); |
4023 | 7.79M | } |
4024 | 2.53M | inline void UpdateTransactionRequestPB::set_tablet_id(const ::std::string& value) { |
4025 | 2.53M | set_has_tablet_id(); |
4026 | 2.53M | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4027 | | // @@protoc_insertion_point(field_set:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4028 | 2.53M | } |
4029 | | #if LANG_CXX11 |
4030 | 0 | inline void UpdateTransactionRequestPB::set_tablet_id(::std::string&& value) { |
4031 | 0 | set_has_tablet_id(); |
4032 | 0 | tablet_id_.SetNoArena( |
4033 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4034 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4035 | 0 | } |
4036 | | #endif |
4037 | 0 | inline void UpdateTransactionRequestPB::set_tablet_id(const char* value) { |
4038 | 0 | GOOGLE_DCHECK(value != NULL); |
4039 | 0 | set_has_tablet_id(); |
4040 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4041 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4042 | 0 | } |
4043 | 0 | inline void UpdateTransactionRequestPB::set_tablet_id(const void* value, size_t size) { |
4044 | 0 | set_has_tablet_id(); |
4045 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4046 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4047 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4048 | 0 | } |
4049 | 1.22M | inline ::std::string* UpdateTransactionRequestPB::mutable_tablet_id() { |
4050 | 1.22M | set_has_tablet_id(); |
4051 | | // @@protoc_insertion_point(field_mutable:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4052 | 1.22M | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4053 | 1.22M | } |
4054 | 0 | inline ::std::string* UpdateTransactionRequestPB::release_tablet_id() { |
4055 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4056 | 0 | clear_has_tablet_id(); |
4057 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4058 | 0 | } |
4059 | 0 | inline void UpdateTransactionRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
4060 | 0 | if (tablet_id != NULL) { |
4061 | 0 | set_has_tablet_id(); |
4062 | 0 | } else { |
4063 | 0 | clear_has_tablet_id(); |
4064 | 0 | } |
4065 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
4066 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.UpdateTransactionRequestPB.tablet_id) |
4067 | 0 | } |
4068 | | |
4069 | | // optional .yb.tablet.TransactionStatePB state = 2; |
4070 | 2.43M | inline bool UpdateTransactionRequestPB::has_state() const { |
4071 | 2.43M | return (_has_bits_[0] & 0x00000002u) != 0; |
4072 | 2.43M | } |
4073 | 4.16M | inline void UpdateTransactionRequestPB::set_has_state() { |
4074 | 4.16M | _has_bits_[0] |= 0x00000002u; |
4075 | 4.16M | } |
4076 | 0 | inline void UpdateTransactionRequestPB::clear_has_state() { |
4077 | 0 | _has_bits_[0] &= ~0x00000002u; |
4078 | 0 | } |
4079 | 12.1M | inline const ::yb::tablet::TransactionStatePB& UpdateTransactionRequestPB::state() const { |
4080 | 12.1M | const ::yb::tablet::TransactionStatePB* p = state_; |
4081 | | // @@protoc_insertion_point(field_get:yb.tserver.UpdateTransactionRequestPB.state) |
4082 | 12.1M | return p != NULL ? *p12.1M : *reinterpret_cast<const ::yb::tablet::TransactionStatePB*>( |
4083 | 58 | &::yb::tablet::_TransactionStatePB_default_instance_); |
4084 | 12.1M | } |
4085 | 0 | inline ::yb::tablet::TransactionStatePB* UpdateTransactionRequestPB::release_state() { |
4086 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.UpdateTransactionRequestPB.state) |
4087 | 0 | clear_has_state(); |
4088 | 0 | ::yb::tablet::TransactionStatePB* temp = state_; |
4089 | 0 | state_ = NULL; |
4090 | 0 | return temp; |
4091 | 0 | } |
4092 | 4.16M | inline ::yb::tablet::TransactionStatePB* UpdateTransactionRequestPB::mutable_state() { |
4093 | 4.16M | set_has_state(); |
4094 | 4.16M | if (state_ == NULL) { |
4095 | 3.75M | state_ = new ::yb::tablet::TransactionStatePB; |
4096 | 3.75M | } |
4097 | | // @@protoc_insertion_point(field_mutable:yb.tserver.UpdateTransactionRequestPB.state) |
4098 | 4.16M | return state_; |
4099 | 4.16M | } |
4100 | 0 | inline void UpdateTransactionRequestPB::set_allocated_state(::yb::tablet::TransactionStatePB* state) { |
4101 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4102 | 0 | if (message_arena == NULL) { |
4103 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(state_); |
4104 | 0 | } |
4105 | 0 | if (state) { |
4106 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4107 | 0 | if (message_arena != submessage_arena) { |
4108 | 0 | state = ::google::protobuf::internal::GetOwnedMessage( |
4109 | 0 | message_arena, state, submessage_arena); |
4110 | 0 | } |
4111 | 0 | set_has_state(); |
4112 | 0 | } else { |
4113 | 0 | clear_has_state(); |
4114 | 0 | } |
4115 | 0 | state_ = state; |
4116 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.UpdateTransactionRequestPB.state) |
4117 | 0 | } |
4118 | | |
4119 | | // optional fixed64 propagated_hybrid_time = 3; |
4120 | 4.97M | inline bool UpdateTransactionRequestPB::has_propagated_hybrid_time() const { |
4121 | 4.97M | return (_has_bits_[0] & 0x00000004u) != 0; |
4122 | 4.97M | } |
4123 | 3.75M | inline void UpdateTransactionRequestPB::set_has_propagated_hybrid_time() { |
4124 | 3.75M | _has_bits_[0] |= 0x00000004u; |
4125 | 3.75M | } |
4126 | 0 | inline void UpdateTransactionRequestPB::clear_has_propagated_hybrid_time() { |
4127 | 0 | _has_bits_[0] &= ~0x00000004u; |
4128 | 0 | } |
4129 | 0 | inline void UpdateTransactionRequestPB::clear_propagated_hybrid_time() { |
4130 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4131 | 0 | clear_has_propagated_hybrid_time(); |
4132 | 0 | } |
4133 | 3.75M | inline ::google::protobuf::uint64 UpdateTransactionRequestPB::propagated_hybrid_time() const { |
4134 | | // @@protoc_insertion_point(field_get:yb.tserver.UpdateTransactionRequestPB.propagated_hybrid_time) |
4135 | 3.75M | return propagated_hybrid_time_; |
4136 | 3.75M | } |
4137 | 2.53M | inline void UpdateTransactionRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4138 | 2.53M | set_has_propagated_hybrid_time(); |
4139 | 2.53M | propagated_hybrid_time_ = value; |
4140 | | // @@protoc_insertion_point(field_set:yb.tserver.UpdateTransactionRequestPB.propagated_hybrid_time) |
4141 | 2.53M | } |
4142 | | |
4143 | | // ------------------------------------------------------------------- |
4144 | | |
4145 | | // UpdateTransactionResponsePB |
4146 | | |
4147 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
4148 | 6.47M | inline bool UpdateTransactionResponsePB::has_error() const { |
4149 | 6.47M | return (_has_bits_[0] & 0x00000001u) != 0; |
4150 | 6.47M | } |
4151 | 70.8k | inline void UpdateTransactionResponsePB::set_has_error() { |
4152 | 70.8k | _has_bits_[0] |= 0x00000001u; |
4153 | 70.8k | } |
4154 | 1.60M | inline void UpdateTransactionResponsePB::clear_has_error() { |
4155 | 1.60M | _has_bits_[0] &= ~0x00000001u; |
4156 | 1.60M | } |
4157 | 69.2k | inline const ::yb::tserver::TabletServerErrorPB& UpdateTransactionResponsePB::error() const { |
4158 | 69.2k | const ::yb::tserver::TabletServerErrorPB* p = error_; |
4159 | | // @@protoc_insertion_point(field_get:yb.tserver.UpdateTransactionResponsePB.error) |
4160 | 69.2k | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
4161 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
4162 | 69.2k | } |
4163 | 0 | inline ::yb::tserver::TabletServerErrorPB* UpdateTransactionResponsePB::release_error() { |
4164 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.UpdateTransactionResponsePB.error) |
4165 | 0 | clear_has_error(); |
4166 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
4167 | 0 | error_ = NULL; |
4168 | 0 | return temp; |
4169 | 0 | } |
4170 | 70.8k | inline ::yb::tserver::TabletServerErrorPB* UpdateTransactionResponsePB::mutable_error() { |
4171 | 70.8k | set_has_error(); |
4172 | 70.8k | if (error_ == NULL) { |
4173 | 68.3k | error_ = new ::yb::tserver::TabletServerErrorPB; |
4174 | 68.3k | } |
4175 | | // @@protoc_insertion_point(field_mutable:yb.tserver.UpdateTransactionResponsePB.error) |
4176 | 70.8k | return error_; |
4177 | 70.8k | } |
4178 | 0 | inline void UpdateTransactionResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
4179 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4180 | 0 | if (message_arena == NULL) { |
4181 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4182 | 0 | } |
4183 | 0 | if (error) { |
4184 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4185 | 0 | if (message_arena != submessage_arena) { |
4186 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4187 | 0 | message_arena, error, submessage_arena); |
4188 | 0 | } |
4189 | 0 | set_has_error(); |
4190 | 0 | } else { |
4191 | 0 | clear_has_error(); |
4192 | 0 | } |
4193 | 0 | error_ = error; |
4194 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.UpdateTransactionResponsePB.error) |
4195 | 0 | } |
4196 | | |
4197 | | // optional fixed64 propagated_hybrid_time = 2; |
4198 | 4.03M | inline bool UpdateTransactionResponsePB::has_propagated_hybrid_time() const { |
4199 | 4.03M | return (_has_bits_[0] & 0x00000002u) != 0; |
4200 | 4.03M | } |
4201 | 3.74M | inline void UpdateTransactionResponsePB::set_has_propagated_hybrid_time() { |
4202 | 3.74M | _has_bits_[0] |= 0x00000002u; |
4203 | 3.74M | } |
4204 | 0 | inline void UpdateTransactionResponsePB::clear_has_propagated_hybrid_time() { |
4205 | 0 | _has_bits_[0] &= ~0x00000002u; |
4206 | 0 | } |
4207 | 0 | inline void UpdateTransactionResponsePB::clear_propagated_hybrid_time() { |
4208 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4209 | 0 | clear_has_propagated_hybrid_time(); |
4210 | 0 | } |
4211 | 2.81M | inline ::google::protobuf::uint64 UpdateTransactionResponsePB::propagated_hybrid_time() const { |
4212 | | // @@protoc_insertion_point(field_get:yb.tserver.UpdateTransactionResponsePB.propagated_hybrid_time) |
4213 | 2.81M | return propagated_hybrid_time_; |
4214 | 2.81M | } |
4215 | 2.52M | inline void UpdateTransactionResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4216 | 2.52M | set_has_propagated_hybrid_time(); |
4217 | 2.52M | propagated_hybrid_time_ = value; |
4218 | | // @@protoc_insertion_point(field_set:yb.tserver.UpdateTransactionResponsePB.propagated_hybrid_time) |
4219 | 2.52M | } |
4220 | | |
4221 | | // ------------------------------------------------------------------- |
4222 | | |
4223 | | // GetTransactionStatusRequestPB |
4224 | | |
4225 | | // optional bytes tablet_id = 1; |
4226 | 419k | inline bool GetTransactionStatusRequestPB::has_tablet_id() const { |
4227 | 419k | return (_has_bits_[0] & 0x00000001u) != 0; |
4228 | 419k | } |
4229 | 506k | inline void GetTransactionStatusRequestPB::set_has_tablet_id() { |
4230 | 506k | _has_bits_[0] |= 0x00000001u; |
4231 | 506k | } |
4232 | 0 | inline void GetTransactionStatusRequestPB::clear_has_tablet_id() { |
4233 | 0 | _has_bits_[0] &= ~0x00000001u; |
4234 | 0 | } |
4235 | 0 | inline void GetTransactionStatusRequestPB::clear_tablet_id() { |
4236 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4237 | 0 | clear_has_tablet_id(); |
4238 | 0 | } |
4239 | 1.22M | inline const ::std::string& GetTransactionStatusRequestPB::tablet_id() const { |
4240 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4241 | 1.22M | return tablet_id_.GetNoArena(); |
4242 | 1.22M | } |
4243 | 296k | inline void GetTransactionStatusRequestPB::set_tablet_id(const ::std::string& value) { |
4244 | 296k | set_has_tablet_id(); |
4245 | 296k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4246 | | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4247 | 296k | } |
4248 | | #if LANG_CXX11 |
4249 | 0 | inline void GetTransactionStatusRequestPB::set_tablet_id(::std::string&& value) { |
4250 | 0 | set_has_tablet_id(); |
4251 | 0 | tablet_id_.SetNoArena( |
4252 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4253 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4254 | 0 | } |
4255 | | #endif |
4256 | 0 | inline void GetTransactionStatusRequestPB::set_tablet_id(const char* value) { |
4257 | 0 | GOOGLE_DCHECK(value != NULL); |
4258 | 0 | set_has_tablet_id(); |
4259 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4260 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4261 | 0 | } |
4262 | 0 | inline void GetTransactionStatusRequestPB::set_tablet_id(const void* value, size_t size) { |
4263 | 0 | set_has_tablet_id(); |
4264 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4265 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4266 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4267 | 0 | } |
4268 | 209k | inline ::std::string* GetTransactionStatusRequestPB::mutable_tablet_id() { |
4269 | 209k | set_has_tablet_id(); |
4270 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4271 | 209k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4272 | 209k | } |
4273 | 0 | inline ::std::string* GetTransactionStatusRequestPB::release_tablet_id() { |
4274 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4275 | 0 | clear_has_tablet_id(); |
4276 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4277 | 0 | } |
4278 | 0 | inline void GetTransactionStatusRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
4279 | 0 | if (tablet_id != NULL) { |
4280 | 0 | set_has_tablet_id(); |
4281 | 0 | } else { |
4282 | 0 | clear_has_tablet_id(); |
4283 | 0 | } |
4284 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
4285 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetTransactionStatusRequestPB.tablet_id) |
4286 | 0 | } |
4287 | | |
4288 | | // repeated bytes transaction_id = 2; |
4289 | 1.04M | inline int GetTransactionStatusRequestPB::transaction_id_size() const { |
4290 | 1.04M | return transaction_id_.size(); |
4291 | 1.04M | } |
4292 | 0 | inline void GetTransactionStatusRequestPB::clear_transaction_id() { |
4293 | 0 | transaction_id_.Clear(); |
4294 | 0 | } |
4295 | 629k | inline const ::std::string& GetTransactionStatusRequestPB::transaction_id(int index) const { |
4296 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4297 | 629k | return transaction_id_.Get(index); |
4298 | 629k | } |
4299 | 0 | inline ::std::string* GetTransactionStatusRequestPB::mutable_transaction_id(int index) { |
4300 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4301 | 0 | return transaction_id_.Mutable(index); |
4302 | 0 | } |
4303 | 0 | inline void GetTransactionStatusRequestPB::set_transaction_id(int index, const ::std::string& value) { |
4304 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4305 | 0 | transaction_id_.Mutable(index)->assign(value); |
4306 | 0 | } |
4307 | | #if LANG_CXX11 |
4308 | 0 | inline void GetTransactionStatusRequestPB::set_transaction_id(int index, ::std::string&& value) { |
4309 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4310 | 0 | transaction_id_.Mutable(index)->assign(std::move(value)); |
4311 | 0 | } |
4312 | | #endif |
4313 | 0 | inline void GetTransactionStatusRequestPB::set_transaction_id(int index, const char* value) { |
4314 | 0 | GOOGLE_DCHECK(value != NULL); |
4315 | 0 | transaction_id_.Mutable(index)->assign(value); |
4316 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4317 | 0 | } |
4318 | 0 | inline void GetTransactionStatusRequestPB::set_transaction_id(int index, const void* value, size_t size) { |
4319 | 0 | transaction_id_.Mutable(index)->assign( |
4320 | 0 | reinterpret_cast<const char*>(value), size); |
4321 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4322 | 0 | } |
4323 | 506k | inline ::std::string* GetTransactionStatusRequestPB::add_transaction_id() { |
4324 | | // @@protoc_insertion_point(field_add_mutable:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4325 | 506k | return transaction_id_.Add(); |
4326 | 506k | } |
4327 | 0 | inline void GetTransactionStatusRequestPB::add_transaction_id(const ::std::string& value) { |
4328 | 0 | transaction_id_.Add()->assign(value); |
4329 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4330 | 0 | } |
4331 | | #if LANG_CXX11 |
4332 | 0 | inline void GetTransactionStatusRequestPB::add_transaction_id(::std::string&& value) { |
4333 | 0 | transaction_id_.Add(std::move(value)); |
4334 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4335 | 0 | } |
4336 | | #endif |
4337 | 0 | inline void GetTransactionStatusRequestPB::add_transaction_id(const char* value) { |
4338 | 0 | GOOGLE_DCHECK(value != NULL); |
4339 | 0 | transaction_id_.Add()->assign(value); |
4340 | 0 | // @@protoc_insertion_point(field_add_char:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4341 | 0 | } |
4342 | 0 | inline void GetTransactionStatusRequestPB::add_transaction_id(const void* value, size_t size) { |
4343 | 0 | transaction_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4344 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4345 | 0 | } |
4346 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4347 | 296k | GetTransactionStatusRequestPB::transaction_id() const { |
4348 | | // @@protoc_insertion_point(field_list:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4349 | 296k | return transaction_id_; |
4350 | 296k | } |
4351 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4352 | 0 | GetTransactionStatusRequestPB::mutable_transaction_id() { |
4353 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.GetTransactionStatusRequestPB.transaction_id) |
4354 | 0 | return &transaction_id_; |
4355 | 0 | } |
4356 | | |
4357 | | // optional fixed64 propagated_hybrid_time = 3; |
4358 | 419k | inline bool GetTransactionStatusRequestPB::has_propagated_hybrid_time() const { |
4359 | 419k | return (_has_bits_[0] & 0x00000002u) != 0; |
4360 | 419k | } |
4361 | 464k | inline void GetTransactionStatusRequestPB::set_has_propagated_hybrid_time() { |
4362 | 464k | _has_bits_[0] |= 0x00000002u; |
4363 | 464k | } |
4364 | 0 | inline void GetTransactionStatusRequestPB::clear_has_propagated_hybrid_time() { |
4365 | 0 | _has_bits_[0] &= ~0x00000002u; |
4366 | 0 | } |
4367 | 0 | inline void GetTransactionStatusRequestPB::clear_propagated_hybrid_time() { |
4368 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4369 | 0 | clear_has_propagated_hybrid_time(); |
4370 | 0 | } |
4371 | 485k | inline ::google::protobuf::uint64 GetTransactionStatusRequestPB::propagated_hybrid_time() const { |
4372 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusRequestPB.propagated_hybrid_time) |
4373 | 485k | return propagated_hybrid_time_; |
4374 | 485k | } |
4375 | 275k | inline void GetTransactionStatusRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4376 | 275k | set_has_propagated_hybrid_time(); |
4377 | 275k | propagated_hybrid_time_ = value; |
4378 | | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusRequestPB.propagated_hybrid_time) |
4379 | 275k | } |
4380 | | |
4381 | | // ------------------------------------------------------------------- |
4382 | | |
4383 | | // GetTransactionStatusResponsePB |
4384 | | |
4385 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
4386 | 1.15M | inline bool GetTransactionStatusResponsePB::has_error() const { |
4387 | 1.15M | return (_has_bits_[0] & 0x00000001u) != 0; |
4388 | 1.15M | } |
4389 | 373 | inline void GetTransactionStatusResponsePB::set_has_error() { |
4390 | 373 | _has_bits_[0] |= 0x00000001u; |
4391 | 373 | } |
4392 | 296k | inline void GetTransactionStatusResponsePB::clear_has_error() { |
4393 | 296k | _has_bits_[0] &= ~0x00000001u; |
4394 | 296k | } |
4395 | 220 | inline const ::yb::tserver::TabletServerErrorPB& GetTransactionStatusResponsePB::error() const { |
4396 | 220 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
4397 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.error) |
4398 | 220 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
4399 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
4400 | 220 | } |
4401 | 0 | inline ::yb::tserver::TabletServerErrorPB* GetTransactionStatusResponsePB::release_error() { |
4402 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetTransactionStatusResponsePB.error) |
4403 | 0 | clear_has_error(); |
4404 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
4405 | 0 | error_ = NULL; |
4406 | 0 | return temp; |
4407 | 0 | } |
4408 | 373 | inline ::yb::tserver::TabletServerErrorPB* GetTransactionStatusResponsePB::mutable_error() { |
4409 | 373 | set_has_error(); |
4410 | 373 | if (error_ == NULL) { |
4411 | 192 | error_ = new ::yb::tserver::TabletServerErrorPB; |
4412 | 192 | } |
4413 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusResponsePB.error) |
4414 | 373 | return error_; |
4415 | 373 | } |
4416 | 0 | inline void GetTransactionStatusResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
4417 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4418 | 0 | if (message_arena == NULL) { |
4419 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4420 | 0 | } |
4421 | 0 | if (error) { |
4422 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4423 | 0 | if (message_arena != submessage_arena) { |
4424 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4425 | 0 | message_arena, error, submessage_arena); |
4426 | 0 | } |
4427 | 0 | set_has_error(); |
4428 | 0 | } else { |
4429 | 0 | clear_has_error(); |
4430 | 0 | } |
4431 | 0 | error_ = error; |
4432 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetTransactionStatusResponsePB.error) |
4433 | 0 | } |
4434 | | |
4435 | | // repeated .yb.TransactionStatus status = 2; |
4436 | 481k | inline int GetTransactionStatusResponsePB::status_size() const { |
4437 | 481k | return status_.size(); |
4438 | 481k | } |
4439 | 0 | inline void GetTransactionStatusResponsePB::clear_status() { |
4440 | 0 | status_.Clear(); |
4441 | 0 | } |
4442 | 720k | inline ::yb::TransactionStatus GetTransactionStatusResponsePB::status(int index) const { |
4443 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.status) |
4444 | 720k | return static_cast< ::yb::TransactionStatus >(status_.Get(index)); |
4445 | 720k | } |
4446 | 0 | inline void GetTransactionStatusResponsePB::set_status(int index, ::yb::TransactionStatus value) { |
4447 | 0 | assert(::yb::TransactionStatus_IsValid(value)); |
4448 | 0 | status_.Set(index, value); |
4449 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusResponsePB.status) |
4450 | 0 | } |
4451 | 505k | inline void GetTransactionStatusResponsePB::add_status(::yb::TransactionStatus value) { |
4452 | 505k | assert(::yb::TransactionStatus_IsValid(value)); |
4453 | 0 | status_.Add(value); |
4454 | | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusResponsePB.status) |
4455 | 505k | } |
4456 | | inline const ::google::protobuf::RepeatedField<int>& |
4457 | 343k | GetTransactionStatusResponsePB::status() const { |
4458 | | // @@protoc_insertion_point(field_list:yb.tserver.GetTransactionStatusResponsePB.status) |
4459 | 343k | return status_; |
4460 | 343k | } |
4461 | | inline ::google::protobuf::RepeatedField<int>* |
4462 | 0 | GetTransactionStatusResponsePB::mutable_status() { |
4463 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.GetTransactionStatusResponsePB.status) |
4464 | 0 | return &status_; |
4465 | 0 | } |
4466 | | |
4467 | | // repeated fixed64 status_hybrid_time = 3; |
4468 | 839k | inline int GetTransactionStatusResponsePB::status_hybrid_time_size() const { |
4469 | 839k | return status_hybrid_time_.size(); |
4470 | 839k | } |
4471 | 0 | inline void GetTransactionStatusResponsePB::clear_status_hybrid_time() { |
4472 | 0 | status_hybrid_time_.Clear(); |
4473 | 0 | } |
4474 | 1.73k | inline ::google::protobuf::uint64 GetTransactionStatusResponsePB::status_hybrid_time(int index) const { |
4475 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.status_hybrid_time) |
4476 | 1.73k | return status_hybrid_time_.Get(index); |
4477 | 1.73k | } |
4478 | 0 | inline void GetTransactionStatusResponsePB::set_status_hybrid_time(int index, ::google::protobuf::uint64 value) { |
4479 | 0 | status_hybrid_time_.Set(index, value); |
4480 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusResponsePB.status_hybrid_time) |
4481 | 0 | } |
4482 | 296k | inline void GetTransactionStatusResponsePB::add_status_hybrid_time(::google::protobuf::uint64 value) { |
4483 | 296k | status_hybrid_time_.Add(value); |
4484 | | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusResponsePB.status_hybrid_time) |
4485 | 296k | } |
4486 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& |
4487 | 549k | GetTransactionStatusResponsePB::status_hybrid_time() const { |
4488 | | // @@protoc_insertion_point(field_list:yb.tserver.GetTransactionStatusResponsePB.status_hybrid_time) |
4489 | 549k | return status_hybrid_time_; |
4490 | 549k | } |
4491 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* |
4492 | 209k | GetTransactionStatusResponsePB::mutable_status_hybrid_time() { |
4493 | | // @@protoc_insertion_point(field_mutable_list:yb.tserver.GetTransactionStatusResponsePB.status_hybrid_time) |
4494 | 209k | return &status_hybrid_time_; |
4495 | 209k | } |
4496 | | |
4497 | | // optional fixed64 propagated_hybrid_time = 4; |
4498 | 695k | inline bool GetTransactionStatusResponsePB::has_propagated_hybrid_time() const { |
4499 | 695k | return (_has_bits_[0] & 0x00000002u) != 0; |
4500 | 695k | } |
4501 | 505k | inline void GetTransactionStatusResponsePB::set_has_propagated_hybrid_time() { |
4502 | 505k | _has_bits_[0] |= 0x00000002u; |
4503 | 505k | } |
4504 | 0 | inline void GetTransactionStatusResponsePB::clear_has_propagated_hybrid_time() { |
4505 | 0 | _has_bits_[0] &= ~0x00000002u; |
4506 | 0 | } |
4507 | 0 | inline void GetTransactionStatusResponsePB::clear_propagated_hybrid_time() { |
4508 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4509 | 0 | clear_has_propagated_hybrid_time(); |
4510 | 0 | } |
4511 | 485k | inline ::google::protobuf::uint64 GetTransactionStatusResponsePB::propagated_hybrid_time() const { |
4512 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.propagated_hybrid_time) |
4513 | 485k | return propagated_hybrid_time_; |
4514 | 485k | } |
4515 | 296k | inline void GetTransactionStatusResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4516 | 296k | set_has_propagated_hybrid_time(); |
4517 | 296k | propagated_hybrid_time_ = value; |
4518 | | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusResponsePB.propagated_hybrid_time) |
4519 | 296k | } |
4520 | | |
4521 | | // repeated int64 num_replicated_batches = 5; |
4522 | 419k | inline int GetTransactionStatusResponsePB::num_replicated_batches_size() const { |
4523 | 419k | return num_replicated_batches_.size(); |
4524 | 419k | } |
4525 | 0 | inline void GetTransactionStatusResponsePB::clear_num_replicated_batches() { |
4526 | 0 | num_replicated_batches_.Clear(); |
4527 | 0 | } |
4528 | 0 | inline ::google::protobuf::int64 GetTransactionStatusResponsePB::num_replicated_batches(int index) const { |
4529 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.num_replicated_batches) |
4530 | 0 | return num_replicated_batches_.Get(index); |
4531 | 0 | } |
4532 | 0 | inline void GetTransactionStatusResponsePB::set_num_replicated_batches(int index, ::google::protobuf::int64 value) { |
4533 | 0 | num_replicated_batches_.Set(index, value); |
4534 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusResponsePB.num_replicated_batches) |
4535 | 0 | } |
4536 | 0 | inline void GetTransactionStatusResponsePB::add_num_replicated_batches(::google::protobuf::int64 value) { |
4537 | 0 | num_replicated_batches_.Add(value); |
4538 | 0 | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusResponsePB.num_replicated_batches) |
4539 | 0 | } |
4540 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >& |
4541 | 0 | GetTransactionStatusResponsePB::num_replicated_batches() const { |
4542 | 0 | // @@protoc_insertion_point(field_list:yb.tserver.GetTransactionStatusResponsePB.num_replicated_batches) |
4543 | 0 | return num_replicated_batches_; |
4544 | 0 | } |
4545 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >* |
4546 | 0 | GetTransactionStatusResponsePB::mutable_num_replicated_batches() { |
4547 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.GetTransactionStatusResponsePB.num_replicated_batches) |
4548 | 0 | return &num_replicated_batches_; |
4549 | 0 | } |
4550 | | |
4551 | | // repeated fixed64 coordinator_safe_time = 6; |
4552 | 838k | inline int GetTransactionStatusResponsePB::coordinator_safe_time_size() const { |
4553 | 838k | return coordinator_safe_time_.size(); |
4554 | 838k | } |
4555 | 0 | inline void GetTransactionStatusResponsePB::clear_coordinator_safe_time() { |
4556 | 0 | coordinator_safe_time_.Clear(); |
4557 | 0 | } |
4558 | 58.2k | inline ::google::protobuf::uint64 GetTransactionStatusResponsePB::coordinator_safe_time(int index) const { |
4559 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.coordinator_safe_time) |
4560 | 58.2k | return coordinator_safe_time_.Get(index); |
4561 | 58.2k | } |
4562 | 0 | inline void GetTransactionStatusResponsePB::set_coordinator_safe_time(int index, ::google::protobuf::uint64 value) { |
4563 | 0 | coordinator_safe_time_.Set(index, value); |
4564 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusResponsePB.coordinator_safe_time) |
4565 | 0 | } |
4566 | 63.0k | inline void GetTransactionStatusResponsePB::add_coordinator_safe_time(::google::protobuf::uint64 value) { |
4567 | 63.0k | coordinator_safe_time_.Add(value); |
4568 | | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusResponsePB.coordinator_safe_time) |
4569 | 63.0k | } |
4570 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >& |
4571 | 549k | GetTransactionStatusResponsePB::coordinator_safe_time() const { |
4572 | | // @@protoc_insertion_point(field_list:yb.tserver.GetTransactionStatusResponsePB.coordinator_safe_time) |
4573 | 549k | return coordinator_safe_time_; |
4574 | 549k | } |
4575 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >* |
4576 | 123k | GetTransactionStatusResponsePB::mutable_coordinator_safe_time() { |
4577 | | // @@protoc_insertion_point(field_mutable_list:yb.tserver.GetTransactionStatusResponsePB.coordinator_safe_time) |
4578 | 123k | return &coordinator_safe_time_; |
4579 | 123k | } |
4580 | | |
4581 | | // repeated .yb.AbortedSubTransactionSetPB aborted_subtxn_set = 7; |
4582 | 629k | inline int GetTransactionStatusResponsePB::aborted_subtxn_set_size() const { |
4583 | 629k | return aborted_subtxn_set_.size(); |
4584 | 629k | } |
4585 | 904k | inline const ::yb::AbortedSubTransactionSetPB& GetTransactionStatusResponsePB::aborted_subtxn_set(int index) const { |
4586 | | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusResponsePB.aborted_subtxn_set) |
4587 | 904k | return aborted_subtxn_set_.Get(index); |
4588 | 904k | } |
4589 | 0 | inline ::yb::AbortedSubTransactionSetPB* GetTransactionStatusResponsePB::mutable_aborted_subtxn_set(int index) { |
4590 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusResponsePB.aborted_subtxn_set) |
4591 | 0 | return aborted_subtxn_set_.Mutable(index); |
4592 | 0 | } |
4593 | 505k | inline ::yb::AbortedSubTransactionSetPB* GetTransactionStatusResponsePB::add_aborted_subtxn_set() { |
4594 | | // @@protoc_insertion_point(field_add:yb.tserver.GetTransactionStatusResponsePB.aborted_subtxn_set) |
4595 | 505k | return aborted_subtxn_set_.Add(); |
4596 | 505k | } |
4597 | | inline ::google::protobuf::RepeatedPtrField< ::yb::AbortedSubTransactionSetPB >* |
4598 | 0 | GetTransactionStatusResponsePB::mutable_aborted_subtxn_set() { |
4599 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.tserver.GetTransactionStatusResponsePB.aborted_subtxn_set) |
4600 | 0 | return &aborted_subtxn_set_; |
4601 | 0 | } |
4602 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::AbortedSubTransactionSetPB >& |
4603 | 827k | GetTransactionStatusResponsePB::aborted_subtxn_set() const { |
4604 | | // @@protoc_insertion_point(field_list:yb.tserver.GetTransactionStatusResponsePB.aborted_subtxn_set) |
4605 | 827k | return aborted_subtxn_set_; |
4606 | 827k | } |
4607 | | |
4608 | | // ------------------------------------------------------------------- |
4609 | | |
4610 | | // GetTransactionStatusAtParticipantRequestPB |
4611 | | |
4612 | | // optional bytes tablet_id = 1; |
4613 | 0 | inline bool GetTransactionStatusAtParticipantRequestPB::has_tablet_id() const { |
4614 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4615 | 0 | } |
4616 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_has_tablet_id() { |
4617 | 0 | _has_bits_[0] |= 0x00000001u; |
4618 | 0 | } |
4619 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_has_tablet_id() { |
4620 | 0 | _has_bits_[0] &= ~0x00000001u; |
4621 | 0 | } |
4622 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_tablet_id() { |
4623 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4624 | 0 | clear_has_tablet_id(); |
4625 | 0 | } |
4626 | 0 | inline const ::std::string& GetTransactionStatusAtParticipantRequestPB::tablet_id() const { |
4627 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4628 | 0 | return tablet_id_.GetNoArena(); |
4629 | 0 | } |
4630 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_tablet_id(const ::std::string& value) { |
4631 | 0 | set_has_tablet_id(); |
4632 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4633 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4634 | 0 | } |
4635 | | #if LANG_CXX11 |
4636 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_tablet_id(::std::string&& value) { |
4637 | 0 | set_has_tablet_id(); |
4638 | 0 | tablet_id_.SetNoArena( |
4639 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4640 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4641 | 0 | } |
4642 | | #endif |
4643 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_tablet_id(const char* value) { |
4644 | 0 | GOOGLE_DCHECK(value != NULL); |
4645 | 0 | set_has_tablet_id(); |
4646 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4647 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4648 | 0 | } |
4649 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_tablet_id(const void* value, size_t size) { |
4650 | 0 | set_has_tablet_id(); |
4651 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4652 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4653 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4654 | 0 | } |
4655 | 0 | inline ::std::string* GetTransactionStatusAtParticipantRequestPB::mutable_tablet_id() { |
4656 | 0 | set_has_tablet_id(); |
4657 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4658 | 0 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4659 | 0 | } |
4660 | 0 | inline ::std::string* GetTransactionStatusAtParticipantRequestPB::release_tablet_id() { |
4661 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4662 | 0 | clear_has_tablet_id(); |
4663 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4664 | 0 | } |
4665 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
4666 | 0 | if (tablet_id != NULL) { |
4667 | 0 | set_has_tablet_id(); |
4668 | 0 | } else { |
4669 | 0 | clear_has_tablet_id(); |
4670 | 0 | } |
4671 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
4672 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetTransactionStatusAtParticipantRequestPB.tablet_id) |
4673 | 0 | } |
4674 | | |
4675 | | // optional bytes transaction_id = 2; |
4676 | 0 | inline bool GetTransactionStatusAtParticipantRequestPB::has_transaction_id() const { |
4677 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4678 | 0 | } |
4679 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_has_transaction_id() { |
4680 | 0 | _has_bits_[0] |= 0x00000002u; |
4681 | 0 | } |
4682 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_has_transaction_id() { |
4683 | 0 | _has_bits_[0] &= ~0x00000002u; |
4684 | 0 | } |
4685 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_transaction_id() { |
4686 | 0 | transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4687 | 0 | clear_has_transaction_id(); |
4688 | 0 | } |
4689 | 0 | inline const ::std::string& GetTransactionStatusAtParticipantRequestPB::transaction_id() const { |
4690 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4691 | 0 | return transaction_id_.GetNoArena(); |
4692 | 0 | } |
4693 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_transaction_id(const ::std::string& value) { |
4694 | 0 | set_has_transaction_id(); |
4695 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4696 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4697 | 0 | } |
4698 | | #if LANG_CXX11 |
4699 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_transaction_id(::std::string&& value) { |
4700 | 0 | set_has_transaction_id(); |
4701 | 0 | transaction_id_.SetNoArena( |
4702 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4703 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4704 | 0 | } |
4705 | | #endif |
4706 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_transaction_id(const char* value) { |
4707 | 0 | GOOGLE_DCHECK(value != NULL); |
4708 | 0 | set_has_transaction_id(); |
4709 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4710 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4711 | 0 | } |
4712 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_transaction_id(const void* value, size_t size) { |
4713 | 0 | set_has_transaction_id(); |
4714 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4715 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4716 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4717 | 0 | } |
4718 | 0 | inline ::std::string* GetTransactionStatusAtParticipantRequestPB::mutable_transaction_id() { |
4719 | 0 | set_has_transaction_id(); |
4720 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4721 | 0 | return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4722 | 0 | } |
4723 | 0 | inline ::std::string* GetTransactionStatusAtParticipantRequestPB::release_transaction_id() { |
4724 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4725 | 0 | clear_has_transaction_id(); |
4726 | 0 | return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4727 | 0 | } |
4728 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_allocated_transaction_id(::std::string* transaction_id) { |
4729 | 0 | if (transaction_id != NULL) { |
4730 | 0 | set_has_transaction_id(); |
4731 | 0 | } else { |
4732 | 0 | clear_has_transaction_id(); |
4733 | 0 | } |
4734 | 0 | transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id); |
4735 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetTransactionStatusAtParticipantRequestPB.transaction_id) |
4736 | 0 | } |
4737 | | |
4738 | | // optional fixed64 propagated_hybrid_time = 3; |
4739 | 0 | inline bool GetTransactionStatusAtParticipantRequestPB::has_propagated_hybrid_time() const { |
4740 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4741 | 0 | } |
4742 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_has_propagated_hybrid_time() { |
4743 | 0 | _has_bits_[0] |= 0x00000004u; |
4744 | 0 | } |
4745 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_has_propagated_hybrid_time() { |
4746 | 0 | _has_bits_[0] &= ~0x00000004u; |
4747 | 0 | } |
4748 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_propagated_hybrid_time() { |
4749 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4750 | 0 | clear_has_propagated_hybrid_time(); |
4751 | 0 | } |
4752 | 0 | inline ::google::protobuf::uint64 GetTransactionStatusAtParticipantRequestPB::propagated_hybrid_time() const { |
4753 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantRequestPB.propagated_hybrid_time) |
4754 | 0 | return propagated_hybrid_time_; |
4755 | 0 | } |
4756 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4757 | 0 | set_has_propagated_hybrid_time(); |
4758 | 0 | propagated_hybrid_time_ = value; |
4759 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantRequestPB.propagated_hybrid_time) |
4760 | 0 | } |
4761 | | |
4762 | | // optional int64 required_num_replicated_batches = 4; |
4763 | 0 | inline bool GetTransactionStatusAtParticipantRequestPB::has_required_num_replicated_batches() const { |
4764 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
4765 | 0 | } |
4766 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_has_required_num_replicated_batches() { |
4767 | 0 | _has_bits_[0] |= 0x00000008u; |
4768 | 0 | } |
4769 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_has_required_num_replicated_batches() { |
4770 | 0 | _has_bits_[0] &= ~0x00000008u; |
4771 | 0 | } |
4772 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::clear_required_num_replicated_batches() { |
4773 | 0 | required_num_replicated_batches_ = GOOGLE_LONGLONG(0); |
4774 | 0 | clear_has_required_num_replicated_batches(); |
4775 | 0 | } |
4776 | 0 | inline ::google::protobuf::int64 GetTransactionStatusAtParticipantRequestPB::required_num_replicated_batches() const { |
4777 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantRequestPB.required_num_replicated_batches) |
4778 | 0 | return required_num_replicated_batches_; |
4779 | 0 | } |
4780 | 0 | inline void GetTransactionStatusAtParticipantRequestPB::set_required_num_replicated_batches(::google::protobuf::int64 value) { |
4781 | 0 | set_has_required_num_replicated_batches(); |
4782 | 0 | required_num_replicated_batches_ = value; |
4783 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantRequestPB.required_num_replicated_batches) |
4784 | 0 | } |
4785 | | |
4786 | | // ------------------------------------------------------------------- |
4787 | | |
4788 | | // GetTransactionStatusAtParticipantResponsePB |
4789 | | |
4790 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
4791 | 0 | inline bool GetTransactionStatusAtParticipantResponsePB::has_error() const { |
4792 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4793 | 0 | } |
4794 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_has_error() { |
4795 | 0 | _has_bits_[0] |= 0x00000001u; |
4796 | 0 | } |
4797 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_has_error() { |
4798 | 0 | _has_bits_[0] &= ~0x00000001u; |
4799 | 0 | } |
4800 | 0 | inline const ::yb::tserver::TabletServerErrorPB& GetTransactionStatusAtParticipantResponsePB::error() const { |
4801 | 0 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
4802 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantResponsePB.error) |
4803 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
4804 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
4805 | 0 | } |
4806 | 0 | inline ::yb::tserver::TabletServerErrorPB* GetTransactionStatusAtParticipantResponsePB::release_error() { |
4807 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetTransactionStatusAtParticipantResponsePB.error) |
4808 | 0 | clear_has_error(); |
4809 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
4810 | 0 | error_ = NULL; |
4811 | 0 | return temp; |
4812 | 0 | } |
4813 | 0 | inline ::yb::tserver::TabletServerErrorPB* GetTransactionStatusAtParticipantResponsePB::mutable_error() { |
4814 | 0 | set_has_error(); |
4815 | 0 | if (error_ == NULL) { |
4816 | 0 | error_ = new ::yb::tserver::TabletServerErrorPB; |
4817 | 0 | } |
4818 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.GetTransactionStatusAtParticipantResponsePB.error) |
4819 | 0 | return error_; |
4820 | 0 | } |
4821 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
4822 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4823 | 0 | if (message_arena == NULL) { |
4824 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4825 | 0 | } |
4826 | 0 | if (error) { |
4827 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4828 | 0 | if (message_arena != submessage_arena) { |
4829 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4830 | 0 | message_arena, error, submessage_arena); |
4831 | 0 | } |
4832 | 0 | set_has_error(); |
4833 | 0 | } else { |
4834 | 0 | clear_has_error(); |
4835 | 0 | } |
4836 | 0 | error_ = error; |
4837 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetTransactionStatusAtParticipantResponsePB.error) |
4838 | 0 | } |
4839 | | |
4840 | | // optional fixed64 propagated_hybrid_time = 2; |
4841 | 0 | inline bool GetTransactionStatusAtParticipantResponsePB::has_propagated_hybrid_time() const { |
4842 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
4843 | 0 | } |
4844 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_has_propagated_hybrid_time() { |
4845 | 0 | _has_bits_[0] |= 0x00000002u; |
4846 | 0 | } |
4847 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_has_propagated_hybrid_time() { |
4848 | 0 | _has_bits_[0] &= ~0x00000002u; |
4849 | 0 | } |
4850 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_propagated_hybrid_time() { |
4851 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4852 | 0 | clear_has_propagated_hybrid_time(); |
4853 | 0 | } |
4854 | 0 | inline ::google::protobuf::uint64 GetTransactionStatusAtParticipantResponsePB::propagated_hybrid_time() const { |
4855 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantResponsePB.propagated_hybrid_time) |
4856 | 0 | return propagated_hybrid_time_; |
4857 | 0 | } |
4858 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
4859 | 0 | set_has_propagated_hybrid_time(); |
4860 | 0 | propagated_hybrid_time_ = value; |
4861 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantResponsePB.propagated_hybrid_time) |
4862 | 0 | } |
4863 | | |
4864 | | // optional int64 num_replicated_batches = 3; |
4865 | 0 | inline bool GetTransactionStatusAtParticipantResponsePB::has_num_replicated_batches() const { |
4866 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
4867 | 0 | } |
4868 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_has_num_replicated_batches() { |
4869 | 0 | _has_bits_[0] |= 0x00000004u; |
4870 | 0 | } |
4871 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_has_num_replicated_batches() { |
4872 | 0 | _has_bits_[0] &= ~0x00000004u; |
4873 | 0 | } |
4874 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_num_replicated_batches() { |
4875 | 0 | num_replicated_batches_ = GOOGLE_LONGLONG(0); |
4876 | 0 | clear_has_num_replicated_batches(); |
4877 | 0 | } |
4878 | 0 | inline ::google::protobuf::int64 GetTransactionStatusAtParticipantResponsePB::num_replicated_batches() const { |
4879 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantResponsePB.num_replicated_batches) |
4880 | 0 | return num_replicated_batches_; |
4881 | 0 | } |
4882 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_num_replicated_batches(::google::protobuf::int64 value) { |
4883 | 0 | set_has_num_replicated_batches(); |
4884 | 0 | num_replicated_batches_ = value; |
4885 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantResponsePB.num_replicated_batches) |
4886 | 0 | } |
4887 | | |
4888 | | // optional fixed64 status_hybrid_time = 4; |
4889 | 0 | inline bool GetTransactionStatusAtParticipantResponsePB::has_status_hybrid_time() const { |
4890 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
4891 | 0 | } |
4892 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_has_status_hybrid_time() { |
4893 | 0 | _has_bits_[0] |= 0x00000008u; |
4894 | 0 | } |
4895 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_has_status_hybrid_time() { |
4896 | 0 | _has_bits_[0] &= ~0x00000008u; |
4897 | 0 | } |
4898 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_status_hybrid_time() { |
4899 | 0 | status_hybrid_time_ = GOOGLE_ULONGLONG(0); |
4900 | 0 | clear_has_status_hybrid_time(); |
4901 | 0 | } |
4902 | 0 | inline ::google::protobuf::uint64 GetTransactionStatusAtParticipantResponsePB::status_hybrid_time() const { |
4903 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantResponsePB.status_hybrid_time) |
4904 | 0 | return status_hybrid_time_; |
4905 | 0 | } |
4906 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_status_hybrid_time(::google::protobuf::uint64 value) { |
4907 | 0 | set_has_status_hybrid_time(); |
4908 | 0 | status_hybrid_time_ = value; |
4909 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantResponsePB.status_hybrid_time) |
4910 | 0 | } |
4911 | | |
4912 | | // optional bool aborted = 5; |
4913 | 0 | inline bool GetTransactionStatusAtParticipantResponsePB::has_aborted() const { |
4914 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
4915 | 0 | } |
4916 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_has_aborted() { |
4917 | 0 | _has_bits_[0] |= 0x00000010u; |
4918 | 0 | } |
4919 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_has_aborted() { |
4920 | 0 | _has_bits_[0] &= ~0x00000010u; |
4921 | 0 | } |
4922 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::clear_aborted() { |
4923 | 0 | aborted_ = false; |
4924 | 0 | clear_has_aborted(); |
4925 | 0 | } |
4926 | 0 | inline bool GetTransactionStatusAtParticipantResponsePB::aborted() const { |
4927 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.GetTransactionStatusAtParticipantResponsePB.aborted) |
4928 | 0 | return aborted_; |
4929 | 0 | } |
4930 | 0 | inline void GetTransactionStatusAtParticipantResponsePB::set_aborted(bool value) { |
4931 | 0 | set_has_aborted(); |
4932 | 0 | aborted_ = value; |
4933 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetTransactionStatusAtParticipantResponsePB.aborted) |
4934 | 0 | } |
4935 | | |
4936 | | // ------------------------------------------------------------------- |
4937 | | |
4938 | | // AbortTransactionRequestPB |
4939 | | |
4940 | | // optional bytes tablet_id = 1; |
4941 | 69.8k | inline bool AbortTransactionRequestPB::has_tablet_id() const { |
4942 | 69.8k | return (_has_bits_[0] & 0x00000001u) != 0; |
4943 | 69.8k | } |
4944 | 221k | inline void AbortTransactionRequestPB::set_has_tablet_id() { |
4945 | 221k | _has_bits_[0] |= 0x00000001u; |
4946 | 221k | } |
4947 | 0 | inline void AbortTransactionRequestPB::clear_has_tablet_id() { |
4948 | 0 | _has_bits_[0] &= ~0x00000001u; |
4949 | 0 | } |
4950 | 0 | inline void AbortTransactionRequestPB::clear_tablet_id() { |
4951 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4952 | 0 | clear_has_tablet_id(); |
4953 | 0 | } |
4954 | 494k | inline const ::std::string& AbortTransactionRequestPB::tablet_id() const { |
4955 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4956 | 494k | return tablet_id_.GetNoArena(); |
4957 | 494k | } |
4958 | 186k | inline void AbortTransactionRequestPB::set_tablet_id(const ::std::string& value) { |
4959 | 186k | set_has_tablet_id(); |
4960 | 186k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4961 | | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4962 | 186k | } |
4963 | | #if LANG_CXX11 |
4964 | 0 | inline void AbortTransactionRequestPB::set_tablet_id(::std::string&& value) { |
4965 | 0 | set_has_tablet_id(); |
4966 | 0 | tablet_id_.SetNoArena( |
4967 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4968 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4969 | 0 | } |
4970 | | #endif |
4971 | 0 | inline void AbortTransactionRequestPB::set_tablet_id(const char* value) { |
4972 | 0 | GOOGLE_DCHECK(value != NULL); |
4973 | 0 | set_has_tablet_id(); |
4974 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4975 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4976 | 0 | } |
4977 | 0 | inline void AbortTransactionRequestPB::set_tablet_id(const void* value, size_t size) { |
4978 | 0 | set_has_tablet_id(); |
4979 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4980 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4981 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4982 | 0 | } |
4983 | 34.8k | inline ::std::string* AbortTransactionRequestPB::mutable_tablet_id() { |
4984 | 34.8k | set_has_tablet_id(); |
4985 | | // @@protoc_insertion_point(field_mutable:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4986 | 34.8k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4987 | 34.8k | } |
4988 | 0 | inline ::std::string* AbortTransactionRequestPB::release_tablet_id() { |
4989 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.AbortTransactionRequestPB.tablet_id) |
4990 | 0 | clear_has_tablet_id(); |
4991 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4992 | 0 | } |
4993 | 0 | inline void AbortTransactionRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
4994 | 0 | if (tablet_id != NULL) { |
4995 | 0 | set_has_tablet_id(); |
4996 | 0 | } else { |
4997 | 0 | clear_has_tablet_id(); |
4998 | 0 | } |
4999 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
5000 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.AbortTransactionRequestPB.tablet_id) |
5001 | 0 | } |
5002 | | |
5003 | | // optional bytes transaction_id = 2; |
5004 | 69.8k | inline bool AbortTransactionRequestPB::has_transaction_id() const { |
5005 | 69.8k | return (_has_bits_[0] & 0x00000002u) != 0; |
5006 | 69.8k | } |
5007 | 221k | inline void AbortTransactionRequestPB::set_has_transaction_id() { |
5008 | 221k | _has_bits_[0] |= 0x00000002u; |
5009 | 221k | } |
5010 | 0 | inline void AbortTransactionRequestPB::clear_has_transaction_id() { |
5011 | 0 | _has_bits_[0] &= ~0x00000002u; |
5012 | 0 | } |
5013 | 0 | inline void AbortTransactionRequestPB::clear_transaction_id() { |
5014 | 0 | transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5015 | 0 | clear_has_transaction_id(); |
5016 | 0 | } |
5017 | 291k | inline const ::std::string& AbortTransactionRequestPB::transaction_id() const { |
5018 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5019 | 291k | return transaction_id_.GetNoArena(); |
5020 | 291k | } |
5021 | 0 | inline void AbortTransactionRequestPB::set_transaction_id(const ::std::string& value) { |
5022 | 0 | set_has_transaction_id(); |
5023 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5024 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5025 | 0 | } |
5026 | | #if LANG_CXX11 |
5027 | 0 | inline void AbortTransactionRequestPB::set_transaction_id(::std::string&& value) { |
5028 | 0 | set_has_transaction_id(); |
5029 | 0 | transaction_id_.SetNoArena( |
5030 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5031 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5032 | 0 | } |
5033 | | #endif |
5034 | 0 | inline void AbortTransactionRequestPB::set_transaction_id(const char* value) { |
5035 | 0 | GOOGLE_DCHECK(value != NULL); |
5036 | 0 | set_has_transaction_id(); |
5037 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5038 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5039 | 0 | } |
5040 | 186k | inline void AbortTransactionRequestPB::set_transaction_id(const void* value, size_t size) { |
5041 | 186k | set_has_transaction_id(); |
5042 | 186k | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5043 | 186k | ::std::string(reinterpret_cast<const char*>(value), size)); |
5044 | | // @@protoc_insertion_point(field_set_pointer:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5045 | 186k | } |
5046 | 34.8k | inline ::std::string* AbortTransactionRequestPB::mutable_transaction_id() { |
5047 | 34.8k | set_has_transaction_id(); |
5048 | | // @@protoc_insertion_point(field_mutable:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5049 | 34.8k | return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5050 | 34.8k | } |
5051 | 0 | inline ::std::string* AbortTransactionRequestPB::release_transaction_id() { |
5052 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5053 | 0 | clear_has_transaction_id(); |
5054 | 0 | return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5055 | 0 | } |
5056 | 0 | inline void AbortTransactionRequestPB::set_allocated_transaction_id(::std::string* transaction_id) { |
5057 | 0 | if (transaction_id != NULL) { |
5058 | 0 | set_has_transaction_id(); |
5059 | 0 | } else { |
5060 | 0 | clear_has_transaction_id(); |
5061 | 0 | } |
5062 | 0 | transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id); |
5063 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.AbortTransactionRequestPB.transaction_id) |
5064 | 0 | } |
5065 | | |
5066 | | // optional fixed64 propagated_hybrid_time = 3; |
5067 | 69.8k | inline bool AbortTransactionRequestPB::has_propagated_hybrid_time() const { |
5068 | 69.8k | return (_has_bits_[0] & 0x00000004u) != 0; |
5069 | 69.8k | } |
5070 | 221k | inline void AbortTransactionRequestPB::set_has_propagated_hybrid_time() { |
5071 | 221k | _has_bits_[0] |= 0x00000004u; |
5072 | 221k | } |
5073 | 0 | inline void AbortTransactionRequestPB::clear_has_propagated_hybrid_time() { |
5074 | 0 | _has_bits_[0] &= ~0x00000004u; |
5075 | 0 | } |
5076 | 0 | inline void AbortTransactionRequestPB::clear_propagated_hybrid_time() { |
5077 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
5078 | 0 | clear_has_propagated_hybrid_time(); |
5079 | 0 | } |
5080 | 228k | inline ::google::protobuf::uint64 AbortTransactionRequestPB::propagated_hybrid_time() const { |
5081 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionRequestPB.propagated_hybrid_time) |
5082 | 228k | return propagated_hybrid_time_; |
5083 | 228k | } |
5084 | 186k | inline void AbortTransactionRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
5085 | 186k | set_has_propagated_hybrid_time(); |
5086 | 186k | propagated_hybrid_time_ = value; |
5087 | | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionRequestPB.propagated_hybrid_time) |
5088 | 186k | } |
5089 | | |
5090 | | // ------------------------------------------------------------------- |
5091 | | |
5092 | | // AbortTransactionResponsePB |
5093 | | |
5094 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
5095 | 329k | inline bool AbortTransactionResponsePB::has_error() const { |
5096 | 329k | return (_has_bits_[0] & 0x00000001u) != 0; |
5097 | 329k | } |
5098 | 10.1k | inline void AbortTransactionResponsePB::set_has_error() { |
5099 | 10.1k | _has_bits_[0] |= 0x00000001u; |
5100 | 10.1k | } |
5101 | 186k | inline void AbortTransactionResponsePB::clear_has_error() { |
5102 | 186k | _has_bits_[0] &= ~0x00000001u; |
5103 | 186k | } |
5104 | 6.73k | inline const ::yb::tserver::TabletServerErrorPB& AbortTransactionResponsePB::error() const { |
5105 | 6.73k | const ::yb::tserver::TabletServerErrorPB* p = error_; |
5106 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionResponsePB.error) |
5107 | 6.73k | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
5108 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
5109 | 6.73k | } |
5110 | 0 | inline ::yb::tserver::TabletServerErrorPB* AbortTransactionResponsePB::release_error() { |
5111 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.AbortTransactionResponsePB.error) |
5112 | 0 | clear_has_error(); |
5113 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
5114 | 0 | error_ = NULL; |
5115 | 0 | return temp; |
5116 | 0 | } |
5117 | 10.1k | inline ::yb::tserver::TabletServerErrorPB* AbortTransactionResponsePB::mutable_error() { |
5118 | 10.1k | set_has_error(); |
5119 | 10.1k | if (error_ == NULL) { |
5120 | 5.88k | error_ = new ::yb::tserver::TabletServerErrorPB; |
5121 | 5.88k | } |
5122 | | // @@protoc_insertion_point(field_mutable:yb.tserver.AbortTransactionResponsePB.error) |
5123 | 10.1k | return error_; |
5124 | 10.1k | } |
5125 | 0 | inline void AbortTransactionResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
5126 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5127 | 0 | if (message_arena == NULL) { |
5128 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5129 | 0 | } |
5130 | 0 | if (error) { |
5131 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5132 | 0 | if (message_arena != submessage_arena) { |
5133 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5134 | 0 | message_arena, error, submessage_arena); |
5135 | 0 | } |
5136 | 0 | set_has_error(); |
5137 | 0 | } else { |
5138 | 0 | clear_has_error(); |
5139 | 0 | } |
5140 | 0 | error_ = error; |
5141 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.AbortTransactionResponsePB.error) |
5142 | 0 | } |
5143 | | |
5144 | | // optional .yb.TransactionStatus status = 2; |
5145 | 68.8k | inline bool AbortTransactionResponsePB::has_status() const { |
5146 | 68.8k | return (_has_bits_[0] & 0x00000010u) != 0; |
5147 | 68.8k | } |
5148 | 215k | inline void AbortTransactionResponsePB::set_has_status() { |
5149 | 215k | _has_bits_[0] |= 0x00000010u; |
5150 | 215k | } |
5151 | 0 | inline void AbortTransactionResponsePB::clear_has_status() { |
5152 | 0 | _has_bits_[0] &= ~0x00000010u; |
5153 | 0 | } |
5154 | 0 | inline void AbortTransactionResponsePB::clear_status() { |
5155 | 0 | status_ = 1; |
5156 | 0 | clear_has_status(); |
5157 | 0 | } |
5158 | 135k | inline ::yb::TransactionStatus AbortTransactionResponsePB::status() const { |
5159 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionResponsePB.status) |
5160 | 135k | return static_cast< ::yb::TransactionStatus >(status_); |
5161 | 135k | } |
5162 | 215k | inline void AbortTransactionResponsePB::set_status(::yb::TransactionStatus value) { |
5163 | 215k | assert(::yb::TransactionStatus_IsValid(value)); |
5164 | 0 | set_has_status(); |
5165 | 215k | status_ = value; |
5166 | | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionResponsePB.status) |
5167 | 215k | } |
5168 | | |
5169 | | // optional fixed64 status_hybrid_time = 3; |
5170 | 111k | inline bool AbortTransactionResponsePB::has_status_hybrid_time() const { |
5171 | 111k | return (_has_bits_[0] & 0x00000002u) != 0; |
5172 | 111k | } |
5173 | 34.1k | inline void AbortTransactionResponsePB::set_has_status_hybrid_time() { |
5174 | 34.1k | _has_bits_[0] |= 0x00000002u; |
5175 | 34.1k | } |
5176 | 0 | inline void AbortTransactionResponsePB::clear_has_status_hybrid_time() { |
5177 | 0 | _has_bits_[0] &= ~0x00000002u; |
5178 | 0 | } |
5179 | 0 | inline void AbortTransactionResponsePB::clear_status_hybrid_time() { |
5180 | 0 | status_hybrid_time_ = GOOGLE_ULONGLONG(0); |
5181 | 0 | clear_has_status_hybrid_time(); |
5182 | 0 | } |
5183 | 34.1k | inline ::google::protobuf::uint64 AbortTransactionResponsePB::status_hybrid_time() const { |
5184 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionResponsePB.status_hybrid_time) |
5185 | 34.1k | return status_hybrid_time_; |
5186 | 34.1k | } |
5187 | 22.5k | inline void AbortTransactionResponsePB::set_status_hybrid_time(::google::protobuf::uint64 value) { |
5188 | 22.5k | set_has_status_hybrid_time(); |
5189 | 22.5k | status_hybrid_time_ = value; |
5190 | | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionResponsePB.status_hybrid_time) |
5191 | 22.5k | } |
5192 | | |
5193 | | // optional fixed64 propagated_hybrid_time = 4; |
5194 | 253k | inline bool AbortTransactionResponsePB::has_propagated_hybrid_time() const { |
5195 | 253k | return (_has_bits_[0] & 0x00000004u) != 0; |
5196 | 253k | } |
5197 | 215k | inline void AbortTransactionResponsePB::set_has_propagated_hybrid_time() { |
5198 | 215k | _has_bits_[0] |= 0x00000004u; |
5199 | 215k | } |
5200 | 0 | inline void AbortTransactionResponsePB::clear_has_propagated_hybrid_time() { |
5201 | 0 | _has_bits_[0] &= ~0x00000004u; |
5202 | 0 | } |
5203 | 0 | inline void AbortTransactionResponsePB::clear_propagated_hybrid_time() { |
5204 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
5205 | 0 | clear_has_propagated_hybrid_time(); |
5206 | 0 | } |
5207 | 215k | inline ::google::protobuf::uint64 AbortTransactionResponsePB::propagated_hybrid_time() const { |
5208 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionResponsePB.propagated_hybrid_time) |
5209 | 215k | return propagated_hybrid_time_; |
5210 | 215k | } |
5211 | 184k | inline void AbortTransactionResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
5212 | 184k | set_has_propagated_hybrid_time(); |
5213 | 184k | propagated_hybrid_time_ = value; |
5214 | | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionResponsePB.propagated_hybrid_time) |
5215 | 184k | } |
5216 | | |
5217 | | // optional fixed64 coordinator_safe_time = 5; |
5218 | 68.8k | inline bool AbortTransactionResponsePB::has_coordinator_safe_time() const { |
5219 | 68.8k | return (_has_bits_[0] & 0x00000008u) != 0; |
5220 | 68.8k | } |
5221 | 215k | inline void AbortTransactionResponsePB::set_has_coordinator_safe_time() { |
5222 | 215k | _has_bits_[0] |= 0x00000008u; |
5223 | 215k | } |
5224 | 0 | inline void AbortTransactionResponsePB::clear_has_coordinator_safe_time() { |
5225 | 0 | _has_bits_[0] &= ~0x00000008u; |
5226 | 0 | } |
5227 | 0 | inline void AbortTransactionResponsePB::clear_coordinator_safe_time() { |
5228 | 0 | coordinator_safe_time_ = GOOGLE_ULONGLONG(0); |
5229 | 0 | clear_has_coordinator_safe_time(); |
5230 | 0 | } |
5231 | 57.0k | inline ::google::protobuf::uint64 AbortTransactionResponsePB::coordinator_safe_time() const { |
5232 | | // @@protoc_insertion_point(field_get:yb.tserver.AbortTransactionResponsePB.coordinator_safe_time) |
5233 | 57.0k | return coordinator_safe_time_; |
5234 | 57.0k | } |
5235 | 184k | inline void AbortTransactionResponsePB::set_coordinator_safe_time(::google::protobuf::uint64 value) { |
5236 | 184k | set_has_coordinator_safe_time(); |
5237 | 184k | coordinator_safe_time_ = value; |
5238 | | // @@protoc_insertion_point(field_set:yb.tserver.AbortTransactionResponsePB.coordinator_safe_time) |
5239 | 184k | } |
5240 | | |
5241 | | // ------------------------------------------------------------------- |
5242 | | |
5243 | | // TakeTransactionRequestPB |
5244 | | |
5245 | | // optional bool is_global = 1; |
5246 | 0 | inline bool TakeTransactionRequestPB::has_is_global() const { |
5247 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5248 | 0 | } |
5249 | 0 | inline void TakeTransactionRequestPB::set_has_is_global() { |
5250 | 0 | _has_bits_[0] |= 0x00000001u; |
5251 | 0 | } |
5252 | 0 | inline void TakeTransactionRequestPB::clear_has_is_global() { |
5253 | 0 | _has_bits_[0] &= ~0x00000001u; |
5254 | 0 | } |
5255 | 0 | inline void TakeTransactionRequestPB::clear_is_global() { |
5256 | 0 | is_global_ = false; |
5257 | 0 | clear_has_is_global(); |
5258 | 0 | } |
5259 | 0 | inline bool TakeTransactionRequestPB::is_global() const { |
5260 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.TakeTransactionRequestPB.is_global) |
5261 | 0 | return is_global_; |
5262 | 0 | } |
5263 | 0 | inline void TakeTransactionRequestPB::set_is_global(bool value) { |
5264 | 0 | set_has_is_global(); |
5265 | 0 | is_global_ = value; |
5266 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.TakeTransactionRequestPB.is_global) |
5267 | 0 | } |
5268 | | |
5269 | | // ------------------------------------------------------------------- |
5270 | | |
5271 | | // TakeTransactionResponsePB |
5272 | | |
5273 | | // optional .yb.TransactionMetadataPB metadata = 1; |
5274 | 0 | inline bool TakeTransactionResponsePB::has_metadata() const { |
5275 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5276 | 0 | } |
5277 | 0 | inline void TakeTransactionResponsePB::set_has_metadata() { |
5278 | 0 | _has_bits_[0] |= 0x00000001u; |
5279 | 0 | } |
5280 | 0 | inline void TakeTransactionResponsePB::clear_has_metadata() { |
5281 | 0 | _has_bits_[0] &= ~0x00000001u; |
5282 | 0 | } |
5283 | 0 | inline const ::yb::TransactionMetadataPB& TakeTransactionResponsePB::metadata() const { |
5284 | 0 | const ::yb::TransactionMetadataPB* p = metadata_; |
5285 | 0 | // @@protoc_insertion_point(field_get:yb.tserver.TakeTransactionResponsePB.metadata) |
5286 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::TransactionMetadataPB*>( |
5287 | 0 | &::yb::_TransactionMetadataPB_default_instance_); |
5288 | 0 | } |
5289 | 0 | inline ::yb::TransactionMetadataPB* TakeTransactionResponsePB::release_metadata() { |
5290 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.TakeTransactionResponsePB.metadata) |
5291 | 0 | clear_has_metadata(); |
5292 | 0 | ::yb::TransactionMetadataPB* temp = metadata_; |
5293 | 0 | metadata_ = NULL; |
5294 | 0 | return temp; |
5295 | 0 | } |
5296 | 0 | inline ::yb::TransactionMetadataPB* TakeTransactionResponsePB::mutable_metadata() { |
5297 | 0 | set_has_metadata(); |
5298 | 0 | if (metadata_ == NULL) { |
5299 | 0 | metadata_ = new ::yb::TransactionMetadataPB; |
5300 | 0 | } |
5301 | 0 | // @@protoc_insertion_point(field_mutable:yb.tserver.TakeTransactionResponsePB.metadata) |
5302 | 0 | return metadata_; |
5303 | 0 | } |
5304 | 0 | inline void TakeTransactionResponsePB::set_allocated_metadata(::yb::TransactionMetadataPB* metadata) { |
5305 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5306 | 0 | if (message_arena == NULL) { |
5307 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(metadata_); |
5308 | 0 | } |
5309 | 0 | if (metadata) { |
5310 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5311 | 0 | if (message_arena != submessage_arena) { |
5312 | 0 | metadata = ::google::protobuf::internal::GetOwnedMessage( |
5313 | 0 | message_arena, metadata, submessage_arena); |
5314 | 0 | } |
5315 | 0 | set_has_metadata(); |
5316 | 0 | } else { |
5317 | 0 | clear_has_metadata(); |
5318 | 0 | } |
5319 | 0 | metadata_ = metadata; |
5320 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.TakeTransactionResponsePB.metadata) |
5321 | 0 | } |
5322 | | |
5323 | | // ------------------------------------------------------------------- |
5324 | | |
5325 | | // GetSplitKeyRequestPB |
5326 | | |
5327 | | // required bytes tablet_id = 1; |
5328 | 288 | inline bool GetSplitKeyRequestPB::has_tablet_id() const { |
5329 | 288 | return (_has_bits_[0] & 0x00000001u) != 0; |
5330 | 288 | } |
5331 | 288 | inline void GetSplitKeyRequestPB::set_has_tablet_id() { |
5332 | 288 | _has_bits_[0] |= 0x00000001u; |
5333 | 288 | } |
5334 | 0 | inline void GetSplitKeyRequestPB::clear_has_tablet_id() { |
5335 | 0 | _has_bits_[0] &= ~0x00000001u; |
5336 | 0 | } |
5337 | 0 | inline void GetSplitKeyRequestPB::clear_tablet_id() { |
5338 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5339 | 0 | clear_has_tablet_id(); |
5340 | 0 | } |
5341 | 576 | inline const ::std::string& GetSplitKeyRequestPB::tablet_id() const { |
5342 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5343 | 576 | return tablet_id_.GetNoArena(); |
5344 | 576 | } |
5345 | 1 | inline void GetSplitKeyRequestPB::set_tablet_id(const ::std::string& value) { |
5346 | 1 | set_has_tablet_id(); |
5347 | 1 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5348 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5349 | 1 | } |
5350 | | #if LANG_CXX11 |
5351 | 143 | inline void GetSplitKeyRequestPB::set_tablet_id(::std::string&& value) { |
5352 | 143 | set_has_tablet_id(); |
5353 | 143 | tablet_id_.SetNoArena( |
5354 | 143 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5355 | | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5356 | 143 | } |
5357 | | #endif |
5358 | 0 | inline void GetSplitKeyRequestPB::set_tablet_id(const char* value) { |
5359 | 0 | GOOGLE_DCHECK(value != NULL); |
5360 | 0 | set_has_tablet_id(); |
5361 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5362 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5363 | 0 | } |
5364 | 0 | inline void GetSplitKeyRequestPB::set_tablet_id(const void* value, size_t size) { |
5365 | 0 | set_has_tablet_id(); |
5366 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5367 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5368 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5369 | 0 | } |
5370 | 144 | inline ::std::string* GetSplitKeyRequestPB::mutable_tablet_id() { |
5371 | 144 | set_has_tablet_id(); |
5372 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5373 | 144 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5374 | 144 | } |
5375 | 0 | inline ::std::string* GetSplitKeyRequestPB::release_tablet_id() { |
5376 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5377 | 0 | clear_has_tablet_id(); |
5378 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5379 | 0 | } |
5380 | 0 | inline void GetSplitKeyRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
5381 | 0 | if (tablet_id != NULL) { |
5382 | 0 | set_has_tablet_id(); |
5383 | 0 | } else { |
5384 | 0 | clear_has_tablet_id(); |
5385 | 0 | } |
5386 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
5387 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSplitKeyRequestPB.tablet_id) |
5388 | 0 | } |
5389 | | |
5390 | | // optional fixed64 propagated_hybrid_time = 2; |
5391 | 288 | inline bool GetSplitKeyRequestPB::has_propagated_hybrid_time() const { |
5392 | 288 | return (_has_bits_[0] & 0x00000002u) != 0; |
5393 | 288 | } |
5394 | 286 | inline void GetSplitKeyRequestPB::set_has_propagated_hybrid_time() { |
5395 | 286 | _has_bits_[0] |= 0x00000002u; |
5396 | 286 | } |
5397 | 0 | inline void GetSplitKeyRequestPB::clear_has_propagated_hybrid_time() { |
5398 | 0 | _has_bits_[0] &= ~0x00000002u; |
5399 | 0 | } |
5400 | 0 | inline void GetSplitKeyRequestPB::clear_propagated_hybrid_time() { |
5401 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
5402 | 0 | clear_has_propagated_hybrid_time(); |
5403 | 0 | } |
5404 | 287 | inline ::google::protobuf::uint64 GetSplitKeyRequestPB::propagated_hybrid_time() const { |
5405 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSplitKeyRequestPB.propagated_hybrid_time) |
5406 | 287 | return propagated_hybrid_time_; |
5407 | 287 | } |
5408 | 143 | inline void GetSplitKeyRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
5409 | 143 | set_has_propagated_hybrid_time(); |
5410 | 143 | propagated_hybrid_time_ = value; |
5411 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSplitKeyRequestPB.propagated_hybrid_time) |
5412 | 143 | } |
5413 | | |
5414 | | // ------------------------------------------------------------------- |
5415 | | |
5416 | | // GetSplitKeyResponsePB |
5417 | | |
5418 | | // optional .yb.tserver.TabletServerErrorPB error = 1; |
5419 | 720 | inline bool GetSplitKeyResponsePB::has_error() const { |
5420 | 720 | return (_has_bits_[0] & 0x00000004u) != 0; |
5421 | 720 | } |
5422 | 2 | inline void GetSplitKeyResponsePB::set_has_error() { |
5423 | 2 | _has_bits_[0] |= 0x00000004u; |
5424 | 2 | } |
5425 | 144 | inline void GetSplitKeyResponsePB::clear_has_error() { |
5426 | 144 | _has_bits_[0] &= ~0x00000004u; |
5427 | 144 | } |
5428 | 2 | inline const ::yb::tserver::TabletServerErrorPB& GetSplitKeyResponsePB::error() const { |
5429 | 2 | const ::yb::tserver::TabletServerErrorPB* p = error_; |
5430 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSplitKeyResponsePB.error) |
5431 | 2 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>( |
5432 | 0 | &::yb::tserver::_TabletServerErrorPB_default_instance_); |
5433 | 2 | } |
5434 | 0 | inline ::yb::tserver::TabletServerErrorPB* GetSplitKeyResponsePB::release_error() { |
5435 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSplitKeyResponsePB.error) |
5436 | 0 | clear_has_error(); |
5437 | 0 | ::yb::tserver::TabletServerErrorPB* temp = error_; |
5438 | 0 | error_ = NULL; |
5439 | 0 | return temp; |
5440 | 0 | } |
5441 | 2 | inline ::yb::tserver::TabletServerErrorPB* GetSplitKeyResponsePB::mutable_error() { |
5442 | 2 | set_has_error(); |
5443 | 2 | if (error_ == NULL) { |
5444 | 2 | error_ = new ::yb::tserver::TabletServerErrorPB; |
5445 | 2 | } |
5446 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSplitKeyResponsePB.error) |
5447 | 2 | return error_; |
5448 | 2 | } |
5449 | 0 | inline void GetSplitKeyResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) { |
5450 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5451 | 0 | if (message_arena == NULL) { |
5452 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5453 | 0 | } |
5454 | 0 | if (error) { |
5455 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5456 | 0 | if (message_arena != submessage_arena) { |
5457 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5458 | 0 | message_arena, error, submessage_arena); |
5459 | 0 | } |
5460 | 0 | set_has_error(); |
5461 | 0 | } else { |
5462 | 0 | clear_has_error(); |
5463 | 0 | } |
5464 | 0 | error_ = error; |
5465 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSplitKeyResponsePB.error) |
5466 | 0 | } |
5467 | | |
5468 | | // optional bytes split_partition_key = 2; |
5469 | 288 | inline bool GetSplitKeyResponsePB::has_split_partition_key() const { |
5470 | 288 | return (_has_bits_[0] & 0x00000001u) != 0; |
5471 | 288 | } |
5472 | 286 | inline void GetSplitKeyResponsePB::set_has_split_partition_key() { |
5473 | 286 | _has_bits_[0] |= 0x00000001u; |
5474 | 286 | } |
5475 | 0 | inline void GetSplitKeyResponsePB::clear_has_split_partition_key() { |
5476 | 0 | _has_bits_[0] &= ~0x00000001u; |
5477 | 0 | } |
5478 | 0 | inline void GetSplitKeyResponsePB::clear_split_partition_key() { |
5479 | 0 | split_partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5480 | 0 | clear_has_split_partition_key(); |
5481 | 0 | } |
5482 | 572 | inline const ::std::string& GetSplitKeyResponsePB::split_partition_key() const { |
5483 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5484 | 572 | return split_partition_key_.GetNoArena(); |
5485 | 572 | } |
5486 | 0 | inline void GetSplitKeyResponsePB::set_split_partition_key(const ::std::string& value) { |
5487 | 0 | set_has_split_partition_key(); |
5488 | 0 | split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5489 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5490 | 0 | } |
5491 | | #if LANG_CXX11 |
5492 | 143 | inline void GetSplitKeyResponsePB::set_split_partition_key(::std::string&& value) { |
5493 | 143 | set_has_split_partition_key(); |
5494 | 143 | split_partition_key_.SetNoArena( |
5495 | 143 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5496 | | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5497 | 143 | } |
5498 | | #endif |
5499 | 0 | inline void GetSplitKeyResponsePB::set_split_partition_key(const char* value) { |
5500 | 0 | GOOGLE_DCHECK(value != NULL); |
5501 | 0 | set_has_split_partition_key(); |
5502 | 0 | split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5503 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5504 | 0 | } |
5505 | 0 | inline void GetSplitKeyResponsePB::set_split_partition_key(const void* value, size_t size) { |
5506 | 0 | set_has_split_partition_key(); |
5507 | 0 | split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5508 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5509 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5510 | 0 | } |
5511 | 143 | inline ::std::string* GetSplitKeyResponsePB::mutable_split_partition_key() { |
5512 | 143 | set_has_split_partition_key(); |
5513 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5514 | 143 | return split_partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5515 | 143 | } |
5516 | 0 | inline ::std::string* GetSplitKeyResponsePB::release_split_partition_key() { |
5517 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5518 | 0 | clear_has_split_partition_key(); |
5519 | 0 | return split_partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5520 | 0 | } |
5521 | 0 | inline void GetSplitKeyResponsePB::set_allocated_split_partition_key(::std::string* split_partition_key) { |
5522 | 0 | if (split_partition_key != NULL) { |
5523 | 0 | set_has_split_partition_key(); |
5524 | 0 | } else { |
5525 | 0 | clear_has_split_partition_key(); |
5526 | 0 | } |
5527 | 0 | split_partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_partition_key); |
5528 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSplitKeyResponsePB.split_partition_key) |
5529 | 0 | } |
5530 | | |
5531 | | // optional bytes split_encoded_key = 3; |
5532 | 288 | inline bool GetSplitKeyResponsePB::has_split_encoded_key() const { |
5533 | 288 | return (_has_bits_[0] & 0x00000002u) != 0; |
5534 | 288 | } |
5535 | 286 | inline void GetSplitKeyResponsePB::set_has_split_encoded_key() { |
5536 | 286 | _has_bits_[0] |= 0x00000002u; |
5537 | 286 | } |
5538 | 0 | inline void GetSplitKeyResponsePB::clear_has_split_encoded_key() { |
5539 | 0 | _has_bits_[0] &= ~0x00000002u; |
5540 | 0 | } |
5541 | 0 | inline void GetSplitKeyResponsePB::clear_split_encoded_key() { |
5542 | 0 | split_encoded_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5543 | 0 | clear_has_split_encoded_key(); |
5544 | 0 | } |
5545 | 571 | inline const ::std::string& GetSplitKeyResponsePB::split_encoded_key() const { |
5546 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5547 | 571 | return split_encoded_key_.GetNoArena(); |
5548 | 571 | } |
5549 | 143 | inline void GetSplitKeyResponsePB::set_split_encoded_key(const ::std::string& value) { |
5550 | 143 | set_has_split_encoded_key(); |
5551 | 143 | split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5552 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5553 | 143 | } |
5554 | | #if LANG_CXX11 |
5555 | 0 | inline void GetSplitKeyResponsePB::set_split_encoded_key(::std::string&& value) { |
5556 | 0 | set_has_split_encoded_key(); |
5557 | 0 | split_encoded_key_.SetNoArena( |
5558 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5559 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5560 | 0 | } |
5561 | | #endif |
5562 | 0 | inline void GetSplitKeyResponsePB::set_split_encoded_key(const char* value) { |
5563 | 0 | GOOGLE_DCHECK(value != NULL); |
5564 | 0 | set_has_split_encoded_key(); |
5565 | 0 | split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5566 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5567 | 0 | } |
5568 | 0 | inline void GetSplitKeyResponsePB::set_split_encoded_key(const void* value, size_t size) { |
5569 | 0 | set_has_split_encoded_key(); |
5570 | 0 | split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5571 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5572 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5573 | 0 | } |
5574 | 143 | inline ::std::string* GetSplitKeyResponsePB::mutable_split_encoded_key() { |
5575 | 143 | set_has_split_encoded_key(); |
5576 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5577 | 143 | return split_encoded_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5578 | 143 | } |
5579 | 0 | inline ::std::string* GetSplitKeyResponsePB::release_split_encoded_key() { |
5580 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5581 | 0 | clear_has_split_encoded_key(); |
5582 | 0 | return split_encoded_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5583 | 0 | } |
5584 | 0 | inline void GetSplitKeyResponsePB::set_allocated_split_encoded_key(::std::string* split_encoded_key) { |
5585 | 0 | if (split_encoded_key != NULL) { |
5586 | 0 | set_has_split_encoded_key(); |
5587 | 0 | } else { |
5588 | 0 | clear_has_split_encoded_key(); |
5589 | 0 | } |
5590 | 0 | split_encoded_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_encoded_key); |
5591 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSplitKeyResponsePB.split_encoded_key) |
5592 | 0 | } |
5593 | | |
5594 | | // optional fixed64 propagated_hybrid_time = 4; |
5595 | 288 | inline bool GetSplitKeyResponsePB::has_propagated_hybrid_time() const { |
5596 | 288 | return (_has_bits_[0] & 0x00000008u) != 0; |
5597 | 288 | } |
5598 | 288 | inline void GetSplitKeyResponsePB::set_has_propagated_hybrid_time() { |
5599 | 288 | _has_bits_[0] |= 0x00000008u; |
5600 | 288 | } |
5601 | 0 | inline void GetSplitKeyResponsePB::clear_has_propagated_hybrid_time() { |
5602 | 0 | _has_bits_[0] &= ~0x00000008u; |
5603 | 0 | } |
5604 | 0 | inline void GetSplitKeyResponsePB::clear_propagated_hybrid_time() { |
5605 | 0 | propagated_hybrid_time_ = GOOGLE_ULONGLONG(0); |
5606 | 0 | clear_has_propagated_hybrid_time(); |
5607 | 0 | } |
5608 | 285 | inline ::google::protobuf::uint64 GetSplitKeyResponsePB::propagated_hybrid_time() const { |
5609 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSplitKeyResponsePB.propagated_hybrid_time) |
5610 | 285 | return propagated_hybrid_time_; |
5611 | 285 | } |
5612 | 144 | inline void GetSplitKeyResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) { |
5613 | 144 | set_has_propagated_hybrid_time(); |
5614 | 144 | propagated_hybrid_time_ = value; |
5615 | | // @@protoc_insertion_point(field_set:yb.tserver.GetSplitKeyResponsePB.propagated_hybrid_time) |
5616 | 144 | } |
5617 | | |
5618 | | // ------------------------------------------------------------------- |
5619 | | |
5620 | | // GetSharedDataRequestPB |
5621 | | |
5622 | | // ------------------------------------------------------------------- |
5623 | | |
5624 | | // GetSharedDataResponsePB |
5625 | | |
5626 | | // optional bytes data = 1; |
5627 | 16 | inline bool GetSharedDataResponsePB::has_data() const { |
5628 | 16 | return (_has_bits_[0] & 0x00000001u) != 0; |
5629 | 16 | } |
5630 | 16 | inline void GetSharedDataResponsePB::set_has_data() { |
5631 | 16 | _has_bits_[0] |= 0x00000001u; |
5632 | 16 | } |
5633 | 0 | inline void GetSharedDataResponsePB::clear_has_data() { |
5634 | 0 | _has_bits_[0] &= ~0x00000001u; |
5635 | 0 | } |
5636 | 0 | inline void GetSharedDataResponsePB::clear_data() { |
5637 | 0 | data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5638 | 0 | clear_has_data(); |
5639 | 0 | } |
5640 | 48 | inline const ::std::string& GetSharedDataResponsePB::data() const { |
5641 | | // @@protoc_insertion_point(field_get:yb.tserver.GetSharedDataResponsePB.data) |
5642 | 48 | return data_.GetNoArena(); |
5643 | 48 | } |
5644 | 0 | inline void GetSharedDataResponsePB::set_data(const ::std::string& value) { |
5645 | 0 | set_has_data(); |
5646 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5647 | 0 | // @@protoc_insertion_point(field_set:yb.tserver.GetSharedDataResponsePB.data) |
5648 | 0 | } |
5649 | | #if LANG_CXX11 |
5650 | 0 | inline void GetSharedDataResponsePB::set_data(::std::string&& value) { |
5651 | 0 | set_has_data(); |
5652 | 0 | data_.SetNoArena( |
5653 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5654 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.tserver.GetSharedDataResponsePB.data) |
5655 | 0 | } |
5656 | | #endif |
5657 | 0 | inline void GetSharedDataResponsePB::set_data(const char* value) { |
5658 | 0 | GOOGLE_DCHECK(value != NULL); |
5659 | 0 | set_has_data(); |
5660 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5661 | 0 | // @@protoc_insertion_point(field_set_char:yb.tserver.GetSharedDataResponsePB.data) |
5662 | 0 | } |
5663 | 0 | inline void GetSharedDataResponsePB::set_data(const void* value, size_t size) { |
5664 | 0 | set_has_data(); |
5665 | 0 | data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5666 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5667 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.tserver.GetSharedDataResponsePB.data) |
5668 | 0 | } |
5669 | 16 | inline ::std::string* GetSharedDataResponsePB::mutable_data() { |
5670 | 16 | set_has_data(); |
5671 | | // @@protoc_insertion_point(field_mutable:yb.tserver.GetSharedDataResponsePB.data) |
5672 | 16 | return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5673 | 16 | } |
5674 | 0 | inline ::std::string* GetSharedDataResponsePB::release_data() { |
5675 | 0 | // @@protoc_insertion_point(field_release:yb.tserver.GetSharedDataResponsePB.data) |
5676 | 0 | clear_has_data(); |
5677 | 0 | return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5678 | 0 | } |
5679 | 0 | inline void GetSharedDataResponsePB::set_allocated_data(::std::string* data) { |
5680 | 0 | if (data != NULL) { |
5681 | 0 | set_has_data(); |
5682 | 0 | } else { |
5683 | 0 | clear_has_data(); |
5684 | 0 | } |
5685 | 0 | data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data); |
5686 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.tserver.GetSharedDataResponsePB.data) |
5687 | 0 | } |
5688 | | |
5689 | | #ifdef __GNUC__ |
5690 | | #pragma GCC diagnostic pop |
5691 | | #endif // __GNUC__ |
5692 | | // ------------------------------------------------------------------- |
5693 | | |
5694 | | // ------------------------------------------------------------------- |
5695 | | |
5696 | | // ------------------------------------------------------------------- |
5697 | | |
5698 | | // ------------------------------------------------------------------- |
5699 | | |
5700 | | // ------------------------------------------------------------------- |
5701 | | |
5702 | | // ------------------------------------------------------------------- |
5703 | | |
5704 | | // ------------------------------------------------------------------- |
5705 | | |
5706 | | // ------------------------------------------------------------------- |
5707 | | |
5708 | | // ------------------------------------------------------------------- |
5709 | | |
5710 | | // ------------------------------------------------------------------- |
5711 | | |
5712 | | // ------------------------------------------------------------------- |
5713 | | |
5714 | | // ------------------------------------------------------------------- |
5715 | | |
5716 | | // ------------------------------------------------------------------- |
5717 | | |
5718 | | // ------------------------------------------------------------------- |
5719 | | |
5720 | | // ------------------------------------------------------------------- |
5721 | | |
5722 | | // ------------------------------------------------------------------- |
5723 | | |
5724 | | // ------------------------------------------------------------------- |
5725 | | |
5726 | | // ------------------------------------------------------------------- |
5727 | | |
5728 | | // ------------------------------------------------------------------- |
5729 | | |
5730 | | // ------------------------------------------------------------------- |
5731 | | |
5732 | | // ------------------------------------------------------------------- |
5733 | | |
5734 | | // ------------------------------------------------------------------- |
5735 | | |
5736 | | |
5737 | | // @@protoc_insertion_point(namespace_scope) |
5738 | | |
5739 | | } // namespace tserver |
5740 | | } // namespace yb |
5741 | | |
5742 | | // @@protoc_insertion_point(global_scope) |
5743 | | |
5744 | | #endif // PROTOBUF_yb_2ftserver_2ftserver_5fservice_2eproto__INCLUDED |