YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tserver/tserver_service.pb.cc
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
#include "yb/tserver/tserver_service.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/stubs/common.h>
9
#include <google/protobuf/stubs/port.h>
10
#include <google/protobuf/stubs/once.h>
11
#include <google/protobuf/io/coded_stream.h>
12
#include <google/protobuf/wire_format_lite_inl.h>
13
#include <google/protobuf/descriptor.h>
14
#include <google/protobuf/generated_message_reflection.h>
15
#include <google/protobuf/reflection_ops.h>
16
#include <google/protobuf/wire_format.h>
17
// This is a temporary google only hack
18
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
19
#include "third_party/protobuf/version.h"
20
#endif
21
#include "yb/util/protobuf-annotations.h"
22
// @@protoc_insertion_point(includes)
23
namespace yb {
24
namespace tserver {
25
class GetLogLocationRequestPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<GetLogLocationRequestPB>
28
      _instance;
29
} _GetLogLocationRequestPB_default_instance_;
30
class GetLogLocationResponsePBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<GetLogLocationResponsePB>
33
      _instance;
34
} _GetLogLocationResponsePB_default_instance_;
35
class ChecksumRequestPBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<ChecksumRequestPB>
38
      _instance;
39
} _ChecksumRequestPB_default_instance_;
40
class ChecksumResponsePBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<ChecksumResponsePB>
43
      _instance;
44
} _ChecksumResponsePB_default_instance_;
45
class ListTabletsForTabletServerRequestPBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletsForTabletServerRequestPB>
48
      _instance;
49
} _ListTabletsForTabletServerRequestPB_default_instance_;
50
class ListTabletsForTabletServerResponsePB_EntryDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletsForTabletServerResponsePB_Entry>
53
      _instance;
54
} _ListTabletsForTabletServerResponsePB_Entry_default_instance_;
55
class ListTabletsForTabletServerResponsePBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletsForTabletServerResponsePB>
58
      _instance;
59
} _ListTabletsForTabletServerResponsePB_default_instance_;
60
class ImportDataRequestPBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<ImportDataRequestPB>
63
      _instance;
64
} _ImportDataRequestPB_default_instance_;
65
class ImportDataResponsePBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<ImportDataResponsePB>
68
      _instance;
69
} _ImportDataResponsePB_default_instance_;
70
class UpdateTransactionRequestPBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<UpdateTransactionRequestPB>
73
      _instance;
74
} _UpdateTransactionRequestPB_default_instance_;
75
class UpdateTransactionResponsePBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<UpdateTransactionResponsePB>
78
      _instance;
79
} _UpdateTransactionResponsePB_default_instance_;
80
class GetTransactionStatusRequestPBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<GetTransactionStatusRequestPB>
83
      _instance;
84
} _GetTransactionStatusRequestPB_default_instance_;
85
class GetTransactionStatusResponsePBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<GetTransactionStatusResponsePB>
88
      _instance;
89
} _GetTransactionStatusResponsePB_default_instance_;
90
class GetTransactionStatusAtParticipantRequestPBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<GetTransactionStatusAtParticipantRequestPB>
93
      _instance;
94
} _GetTransactionStatusAtParticipantRequestPB_default_instance_;
95
class GetTransactionStatusAtParticipantResponsePBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<GetTransactionStatusAtParticipantResponsePB>
98
      _instance;
99
} _GetTransactionStatusAtParticipantResponsePB_default_instance_;
100
class AbortTransactionRequestPBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<AbortTransactionRequestPB>
103
      _instance;
104
} _AbortTransactionRequestPB_default_instance_;
105
class AbortTransactionResponsePBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<AbortTransactionResponsePB>
108
      _instance;
109
} _AbortTransactionResponsePB_default_instance_;
110
class TakeTransactionRequestPBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<TakeTransactionRequestPB>
113
      _instance;
114
} _TakeTransactionRequestPB_default_instance_;
115
class TakeTransactionResponsePBDefaultTypeInternal {
116
 public:
117
  ::google::protobuf::internal::ExplicitlyConstructed<TakeTransactionResponsePB>
118
      _instance;
119
} _TakeTransactionResponsePB_default_instance_;
120
class GetSplitKeyRequestPBDefaultTypeInternal {
121
 public:
122
  ::google::protobuf::internal::ExplicitlyConstructed<GetSplitKeyRequestPB>
123
      _instance;
124
} _GetSplitKeyRequestPB_default_instance_;
125
class GetSplitKeyResponsePBDefaultTypeInternal {
126
 public:
127
  ::google::protobuf::internal::ExplicitlyConstructed<GetSplitKeyResponsePB>
128
      _instance;
129
} _GetSplitKeyResponsePB_default_instance_;
130
class GetSharedDataRequestPBDefaultTypeInternal {
131
 public:
132
  ::google::protobuf::internal::ExplicitlyConstructed<GetSharedDataRequestPB>
133
      _instance;
134
} _GetSharedDataRequestPB_default_instance_;
135
class GetSharedDataResponsePBDefaultTypeInternal {
136
 public:
137
  ::google::protobuf::internal::ExplicitlyConstructed<GetSharedDataResponsePB>
138
      _instance;
139
} _GetSharedDataResponsePB_default_instance_;
140
}  // namespace tserver
141
}  // namespace yb
142
namespace protobuf_yb_2ftserver_2ftserver_5fservice_2eproto {
143
15.8k
void InitDefaultsGetLogLocationRequestPBImpl() {
144
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
145
146
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
147
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
148
#else
149
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
150
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
151
15.8k
  {
152
15.8k
    void* ptr = &::yb::tserver::_GetLogLocationRequestPB_default_instance_;
153
15.8k
    new (ptr) ::yb::tserver::GetLogLocationRequestPB();
154
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
155
15.8k
  }
156
15.8k
  ::yb::tserver::GetLogLocationRequestPB::InitAsDefaultInstance();
157
15.8k
}
158
159
15.8k
void InitDefaultsGetLogLocationRequestPB() {
160
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
161
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLogLocationRequestPBImpl);
162
15.8k
}
163
164
15.8k
void InitDefaultsGetLogLocationResponsePBImpl() {
165
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
166
167
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
168
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
169
#else
170
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
171
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
172
15.8k
  {
173
15.8k
    void* ptr = &::yb::tserver::_GetLogLocationResponsePB_default_instance_;
174
15.8k
    new (ptr) ::yb::tserver::GetLogLocationResponsePB();
175
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
176
15.8k
  }
177
15.8k
  ::yb::tserver::GetLogLocationResponsePB::InitAsDefaultInstance();
178
15.8k
}
179
180
15.8k
void InitDefaultsGetLogLocationResponsePB() {
181
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
182
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetLogLocationResponsePBImpl);
183
15.8k
}
184
185
15.8k
void InitDefaultsChecksumRequestPBImpl() {
186
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
187
188
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
189
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
190
#else
191
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
192
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
193
15.8k
  {
194
15.8k
    void* ptr = &::yb::tserver::_ChecksumRequestPB_default_instance_;
195
15.8k
    new (ptr) ::yb::tserver::ChecksumRequestPB();
196
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
197
15.8k
  }
198
15.8k
  ::yb::tserver::ChecksumRequestPB::InitAsDefaultInstance();
199
15.8k
}
200
201
22.9k
void InitDefaultsChecksumRequestPB() {
202
22.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
203
22.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChecksumRequestPBImpl);
204
22.9k
}
205
206
15.8k
void InitDefaultsChecksumResponsePBImpl() {
207
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
208
209
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
210
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
211
#else
212
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
213
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
214
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
215
15.8k
  {
216
15.8k
    void* ptr = &::yb::tserver::_ChecksumResponsePB_default_instance_;
217
15.8k
    new (ptr) ::yb::tserver::ChecksumResponsePB();
218
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
219
15.8k
  }
220
15.8k
  ::yb::tserver::ChecksumResponsePB::InitAsDefaultInstance();
221
15.8k
}
222
223
22.9k
void InitDefaultsChecksumResponsePB() {
224
22.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
225
22.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsChecksumResponsePBImpl);
226
22.9k
}
227
228
15.8k
void InitDefaultsListTabletsForTabletServerRequestPBImpl() {
229
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
230
231
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
232
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
233
#else
234
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
235
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
236
15.8k
  {
237
15.8k
    void* ptr = &::yb::tserver::_ListTabletsForTabletServerRequestPB_default_instance_;
238
15.8k
    new (ptr) ::yb::tserver::ListTabletsForTabletServerRequestPB();
239
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
240
15.8k
  }
241
15.8k
  ::yb::tserver::ListTabletsForTabletServerRequestPB::InitAsDefaultInstance();
242
15.8k
}
243
244
17.6k
void InitDefaultsListTabletsForTabletServerRequestPB() {
245
17.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
246
17.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletsForTabletServerRequestPBImpl);
247
17.6k
}
248
249
15.8k
void InitDefaultsListTabletsForTabletServerResponsePB_EntryImpl() {
250
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
251
252
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
253
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
254
#else
255
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
256
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
257
15.8k
  {
258
15.8k
    void* ptr = &::yb::tserver::_ListTabletsForTabletServerResponsePB_Entry_default_instance_;
259
15.8k
    new (ptr) ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry();
260
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
261
15.8k
  }
262
15.8k
  ::yb::tserver::ListTabletsForTabletServerResponsePB_Entry::InitAsDefaultInstance();
263
15.8k
}
264
265
42.6k
void InitDefaultsListTabletsForTabletServerResponsePB_Entry() {
266
42.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
267
42.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletsForTabletServerResponsePB_EntryImpl);
268
42.6k
}
269
270
15.8k
void InitDefaultsListTabletsForTabletServerResponsePBImpl() {
271
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
272
273
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
274
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
275
#else
276
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
277
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
278
15.8k
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePB_Entry();
279
15.8k
  {
280
15.8k
    void* ptr = &::yb::tserver::_ListTabletsForTabletServerResponsePB_default_instance_;
281
15.8k
    new (ptr) ::yb::tserver::ListTabletsForTabletServerResponsePB();
282
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
283
15.8k
  }
284
15.8k
  ::yb::tserver::ListTabletsForTabletServerResponsePB::InitAsDefaultInstance();
285
15.8k
}
286
287
17.6k
void InitDefaultsListTabletsForTabletServerResponsePB() {
288
17.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
289
17.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletsForTabletServerResponsePBImpl);
290
17.6k
}
291
292
15.8k
void InitDefaultsImportDataRequestPBImpl() {
293
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
294
295
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
296
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
297
#else
298
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
299
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
300
15.8k
  {
301
15.8k
    void* ptr = &::yb::tserver::_ImportDataRequestPB_default_instance_;
302
15.8k
    new (ptr) ::yb::tserver::ImportDataRequestPB();
303
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
304
15.8k
  }
305
15.8k
  ::yb::tserver::ImportDataRequestPB::InitAsDefaultInstance();
306
15.8k
}
307
308
15.8k
void InitDefaultsImportDataRequestPB() {
309
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
310
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsImportDataRequestPBImpl);
311
15.8k
}
312
313
15.8k
void InitDefaultsImportDataResponsePBImpl() {
314
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
315
316
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
317
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
318
#else
319
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
320
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
321
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
322
15.8k
  {
323
15.8k
    void* ptr = &::yb::tserver::_ImportDataResponsePB_default_instance_;
324
15.8k
    new (ptr) ::yb::tserver::ImportDataResponsePB();
325
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
326
15.8k
  }
327
15.8k
  ::yb::tserver::ImportDataResponsePB::InitAsDefaultInstance();
328
15.8k
}
329
330
15.8k
void InitDefaultsImportDataResponsePB() {
331
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
332
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsImportDataResponsePBImpl);
333
15.8k
}
334
335
15.8k
void InitDefaultsUpdateTransactionRequestPBImpl() {
336
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
337
338
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
339
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
340
#else
341
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
342
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
343
15.8k
  protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsTransactionStatePB();
344
15.8k
  {
345
15.8k
    void* ptr = &::yb::tserver::_UpdateTransactionRequestPB_default_instance_;
346
15.8k
    new (ptr) ::yb::tserver::UpdateTransactionRequestPB();
347
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
348
15.8k
  }
349
15.8k
  ::yb::tserver::UpdateTransactionRequestPB::InitAsDefaultInstance();
350
15.8k
}
351
352
3.14M
void InitDefaultsUpdateTransactionRequestPB() {
353
3.14M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
354
3.14M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUpdateTransactionRequestPBImpl);
355
3.14M
}
356
357
15.8k
void InitDefaultsUpdateTransactionResponsePBImpl() {
358
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
359
360
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
361
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
362
#else
363
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
364
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
365
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
366
15.8k
  {
367
15.8k
    void* ptr = &::yb::tserver::_UpdateTransactionResponsePB_default_instance_;
368
15.8k
    new (ptr) ::yb::tserver::UpdateTransactionResponsePB();
369
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
370
15.8k
  }
371
15.8k
  ::yb::tserver::UpdateTransactionResponsePB::InitAsDefaultInstance();
372
15.8k
}
373
374
2.21M
void InitDefaultsUpdateTransactionResponsePB() {
375
2.21M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
376
2.21M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsUpdateTransactionResponsePBImpl);
377
2.21M
}
378
379
15.8k
void InitDefaultsGetTransactionStatusRequestPBImpl() {
380
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
381
382
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
383
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
384
#else
385
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
386
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
387
15.8k
  {
388
15.8k
    void* ptr = &::yb::tserver::_GetTransactionStatusRequestPB_default_instance_;
389
15.8k
    new (ptr) ::yb::tserver::GetTransactionStatusRequestPB();
390
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
391
15.8k
  }
392
15.8k
  ::yb::tserver::GetTransactionStatusRequestPB::InitAsDefaultInstance();
393
15.8k
}
394
395
557k
void InitDefaultsGetTransactionStatusRequestPB() {
396
557k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
397
557k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTransactionStatusRequestPBImpl);
398
557k
}
399
400
15.8k
void InitDefaultsGetTransactionStatusResponsePBImpl() {
401
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
402
403
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
404
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
405
#else
406
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
407
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
408
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
409
15.8k
  protobuf_yb_2fcommon_2ftransaction_2eproto::InitDefaultsAbortedSubTransactionSetPB();
410
15.8k
  {
411
15.8k
    void* ptr = &::yb::tserver::_GetTransactionStatusResponsePB_default_instance_;
412
15.8k
    new (ptr) ::yb::tserver::GetTransactionStatusResponsePB();
413
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
414
15.8k
  }
415
15.8k
  ::yb::tserver::GetTransactionStatusResponsePB::InitAsDefaultInstance();
416
15.8k
}
417
418
349k
void InitDefaultsGetTransactionStatusResponsePB() {
419
349k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
420
349k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTransactionStatusResponsePBImpl);
421
349k
}
422
423
15.8k
void InitDefaultsGetTransactionStatusAtParticipantRequestPBImpl() {
424
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
425
426
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
427
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
428
#else
429
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
430
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
431
15.8k
  {
432
15.8k
    void* ptr = &::yb::tserver::_GetTransactionStatusAtParticipantRequestPB_default_instance_;
433
15.8k
    new (ptr) ::yb::tserver::GetTransactionStatusAtParticipantRequestPB();
434
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
435
15.8k
  }
436
15.8k
  ::yb::tserver::GetTransactionStatusAtParticipantRequestPB::InitAsDefaultInstance();
437
15.8k
}
438
439
15.8k
void InitDefaultsGetTransactionStatusAtParticipantRequestPB() {
440
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
441
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTransactionStatusAtParticipantRequestPBImpl);
442
15.8k
}
443
444
15.8k
void InitDefaultsGetTransactionStatusAtParticipantResponsePBImpl() {
445
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
446
447
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
448
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
449
#else
450
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
451
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
452
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
453
15.8k
  {
454
15.8k
    void* ptr = &::yb::tserver::_GetTransactionStatusAtParticipantResponsePB_default_instance_;
455
15.8k
    new (ptr) ::yb::tserver::GetTransactionStatusAtParticipantResponsePB();
456
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
457
15.8k
  }
458
15.8k
  ::yb::tserver::GetTransactionStatusAtParticipantResponsePB::InitAsDefaultInstance();
459
15.8k
}
460
461
15.8k
void InitDefaultsGetTransactionStatusAtParticipantResponsePB() {
462
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
463
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTransactionStatusAtParticipantResponsePBImpl);
464
15.8k
}
465
466
15.8k
void InitDefaultsAbortTransactionRequestPBImpl() {
467
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
468
469
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
470
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
471
#else
472
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
473
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
474
15.8k
  {
475
15.8k
    void* ptr = &::yb::tserver::_AbortTransactionRequestPB_default_instance_;
476
15.8k
    new (ptr) ::yb::tserver::AbortTransactionRequestPB();
477
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
478
15.8k
  }
479
15.8k
  ::yb::tserver::AbortTransactionRequestPB::InitAsDefaultInstance();
480
15.8k
}
481
482
280k
void InitDefaultsAbortTransactionRequestPB() {
483
280k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
484
280k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAbortTransactionRequestPBImpl);
485
280k
}
486
487
15.8k
void InitDefaultsAbortTransactionResponsePBImpl() {
488
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
489
490
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
491
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
492
#else
493
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
494
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
495
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
496
15.8k
  {
497
15.8k
    void* ptr = &::yb::tserver::_AbortTransactionResponsePB_default_instance_;
498
15.8k
    new (ptr) ::yb::tserver::AbortTransactionResponsePB();
499
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
500
15.8k
  }
501
15.8k
  ::yb::tserver::AbortTransactionResponsePB::InitAsDefaultInstance();
502
15.8k
}
503
504
164k
void InitDefaultsAbortTransactionResponsePB() {
505
164k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
506
164k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsAbortTransactionResponsePBImpl);
507
164k
}
508
509
15.8k
void InitDefaultsTakeTransactionRequestPBImpl() {
510
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
511
512
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
513
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
514
#else
515
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
516
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
517
15.8k
  {
518
15.8k
    void* ptr = &::yb::tserver::_TakeTransactionRequestPB_default_instance_;
519
15.8k
    new (ptr) ::yb::tserver::TakeTransactionRequestPB();
520
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
521
15.8k
  }
522
15.8k
  ::yb::tserver::TakeTransactionRequestPB::InitAsDefaultInstance();
523
15.8k
}
524
525
15.8k
void InitDefaultsTakeTransactionRequestPB() {
526
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
527
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTakeTransactionRequestPBImpl);
528
15.8k
}
529
530
15.8k
void InitDefaultsTakeTransactionResponsePBImpl() {
531
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
532
533
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
534
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
535
#else
536
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
537
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
538
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
539
15.8k
  {
540
15.8k
    void* ptr = &::yb::tserver::_TakeTransactionResponsePB_default_instance_;
541
15.8k
    new (ptr) ::yb::tserver::TakeTransactionResponsePB();
542
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
543
15.8k
  }
544
15.8k
  ::yb::tserver::TakeTransactionResponsePB::InitAsDefaultInstance();
545
15.8k
}
546
547
15.8k
void InitDefaultsTakeTransactionResponsePB() {
548
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
549
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTakeTransactionResponsePBImpl);
550
15.8k
}
551
552
15.8k
void InitDefaultsGetSplitKeyRequestPBImpl() {
553
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
554
555
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
556
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
557
#else
558
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
559
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
560
15.8k
  {
561
15.8k
    void* ptr = &::yb::tserver::_GetSplitKeyRequestPB_default_instance_;
562
15.8k
    new (ptr) ::yb::tserver::GetSplitKeyRequestPB();
563
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
564
15.8k
  }
565
15.8k
  ::yb::tserver::GetSplitKeyRequestPB::InitAsDefaultInstance();
566
15.8k
}
567
568
15.9k
void InitDefaultsGetSplitKeyRequestPB() {
569
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
570
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetSplitKeyRequestPBImpl);
571
15.9k
}
572
573
15.8k
void InitDefaultsGetSplitKeyResponsePBImpl() {
574
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
575
576
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
577
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
578
#else
579
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
580
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
581
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
582
15.8k
  {
583
15.8k
    void* ptr = &::yb::tserver::_GetSplitKeyResponsePB_default_instance_;
584
15.8k
    new (ptr) ::yb::tserver::GetSplitKeyResponsePB();
585
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
586
15.8k
  }
587
15.8k
  ::yb::tserver::GetSplitKeyResponsePB::InitAsDefaultInstance();
588
15.8k
}
589
590
15.9k
void InitDefaultsGetSplitKeyResponsePB() {
591
15.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
592
15.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetSplitKeyResponsePBImpl);
593
15.9k
}
594
595
15.8k
void InitDefaultsGetSharedDataRequestPBImpl() {
596
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
597
598
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
599
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
600
#else
601
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
602
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
603
15.8k
  {
604
15.8k
    void* ptr = &::yb::tserver::_GetSharedDataRequestPB_default_instance_;
605
15.8k
    new (ptr) ::yb::tserver::GetSharedDataRequestPB();
606
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
607
15.8k
  }
608
15.8k
  ::yb::tserver::GetSharedDataRequestPB::InitAsDefaultInstance();
609
15.8k
}
610
611
15.8k
void InitDefaultsGetSharedDataRequestPB() {
612
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
613
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetSharedDataRequestPBImpl);
614
15.8k
}
615
616
15.8k
void InitDefaultsGetSharedDataResponsePBImpl() {
617
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
618
619
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
620
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
621
#else
622
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
623
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
624
15.8k
  {
625
15.8k
    void* ptr = &::yb::tserver::_GetSharedDataResponsePB_default_instance_;
626
15.8k
    new (ptr) ::yb::tserver::GetSharedDataResponsePB();
627
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
628
15.8k
  }
629
15.8k
  ::yb::tserver::GetSharedDataResponsePB::InitAsDefaultInstance();
630
15.8k
}
631
632
15.8k
void InitDefaultsGetSharedDataResponsePB() {
633
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
634
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetSharedDataResponsePBImpl);
635
15.8k
}
636
637
::google::protobuf::Metadata file_level_metadata[23];
638
639
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
640
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetLogLocationRequestPB, _has_bits_),
641
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetLogLocationRequestPB, _internal_metadata_),
642
  ~0u,  // no _extensions_
643
  ~0u,  // no _oneof_case_
644
  ~0u,  // no _weak_field_map_
645
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetLogLocationResponsePB, _has_bits_),
646
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetLogLocationResponsePB, _internal_metadata_),
647
  ~0u,  // no _extensions_
648
  ~0u,  // no _oneof_case_
649
  ~0u,  // no _weak_field_map_
650
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetLogLocationResponsePB, log_location_),
651
  0,
652
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumRequestPB, _has_bits_),
653
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumRequestPB, _internal_metadata_),
654
  ~0u,  // no _extensions_
655
  ~0u,  // no _oneof_case_
656
  ~0u,  // no _weak_field_map_
657
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumRequestPB, tablet_id_),
658
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumRequestPB, consistency_level_),
659
  0,
660
  1,
661
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumResponsePB, _has_bits_),
662
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumResponsePB, _internal_metadata_),
663
  ~0u,  // no _extensions_
664
  ~0u,  // no _oneof_case_
665
  ~0u,  // no _weak_field_map_
666
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumResponsePB, error_),
667
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ChecksumResponsePB, checksum_),
668
  0,
669
  1,
670
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerRequestPB, _has_bits_),
671
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerRequestPB, _internal_metadata_),
672
  ~0u,  // no _extensions_
673
  ~0u,  // no _oneof_case_
674
  ~0u,  // no _weak_field_map_
675
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, _has_bits_),
676
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, _internal_metadata_),
677
  ~0u,  // no _extensions_
678
  ~0u,  // no _oneof_case_
679
  ~0u,  // no _weak_field_map_
680
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, table_name_),
681
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, tablet_id_),
682
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, is_leader_),
683
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, state_),
684
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, num_sst_files_),
685
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, num_log_segments_),
686
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, num_memtables_intents_),
687
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry, num_memtables_regular_),
688
  0,
689
  1,
690
  6,
691
  7,
692
  2,
693
  3,
694
  4,
695
  5,
696
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB, _has_bits_),
697
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB, _internal_metadata_),
698
  ~0u,  // no _extensions_
699
  ~0u,  // no _oneof_case_
700
  ~0u,  // no _weak_field_map_
701
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsForTabletServerResponsePB, entries_),
702
  ~0u,
703
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataRequestPB, _has_bits_),
704
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataRequestPB, _internal_metadata_),
705
  ~0u,  // no _extensions_
706
  ~0u,  // no _oneof_case_
707
  ~0u,  // no _weak_field_map_
708
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataRequestPB, tablet_id_),
709
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataRequestPB, source_dir_),
710
  0,
711
  1,
712
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataResponsePB, _has_bits_),
713
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataResponsePB, _internal_metadata_),
714
  ~0u,  // no _extensions_
715
  ~0u,  // no _oneof_case_
716
  ~0u,  // no _weak_field_map_
717
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ImportDataResponsePB, error_),
718
  0,
719
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionRequestPB, _has_bits_),
720
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionRequestPB, _internal_metadata_),
721
  ~0u,  // no _extensions_
722
  ~0u,  // no _oneof_case_
723
  ~0u,  // no _weak_field_map_
724
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionRequestPB, tablet_id_),
725
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionRequestPB, state_),
726
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionRequestPB, propagated_hybrid_time_),
727
  0,
728
  1,
729
  2,
730
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionResponsePB, _has_bits_),
731
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionResponsePB, _internal_metadata_),
732
  ~0u,  // no _extensions_
733
  ~0u,  // no _oneof_case_
734
  ~0u,  // no _weak_field_map_
735
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionResponsePB, error_),
736
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::UpdateTransactionResponsePB, propagated_hybrid_time_),
737
  0,
738
  1,
739
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusRequestPB, _has_bits_),
740
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusRequestPB, _internal_metadata_),
741
  ~0u,  // no _extensions_
742
  ~0u,  // no _oneof_case_
743
  ~0u,  // no _weak_field_map_
744
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusRequestPB, tablet_id_),
745
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusRequestPB, transaction_id_),
746
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusRequestPB, propagated_hybrid_time_),
747
  0,
748
  ~0u,
749
  1,
750
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, _has_bits_),
751
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, _internal_metadata_),
752
  ~0u,  // no _extensions_
753
  ~0u,  // no _oneof_case_
754
  ~0u,  // no _weak_field_map_
755
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, error_),
756
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, status_),
757
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, status_hybrid_time_),
758
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, propagated_hybrid_time_),
759
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, num_replicated_batches_),
760
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, coordinator_safe_time_),
761
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusResponsePB, aborted_subtxn_set_),
762
  0,
763
  ~0u,
764
  ~0u,
765
  1,
766
  ~0u,
767
  ~0u,
768
  ~0u,
769
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantRequestPB, _has_bits_),
770
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantRequestPB, _internal_metadata_),
771
  ~0u,  // no _extensions_
772
  ~0u,  // no _oneof_case_
773
  ~0u,  // no _weak_field_map_
774
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantRequestPB, tablet_id_),
775
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantRequestPB, transaction_id_),
776
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantRequestPB, propagated_hybrid_time_),
777
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantRequestPB, required_num_replicated_batches_),
778
  0,
779
  1,
780
  2,
781
  3,
782
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, _has_bits_),
783
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, _internal_metadata_),
784
  ~0u,  // no _extensions_
785
  ~0u,  // no _oneof_case_
786
  ~0u,  // no _weak_field_map_
787
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, error_),
788
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, propagated_hybrid_time_),
789
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, num_replicated_batches_),
790
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, status_hybrid_time_),
791
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTransactionStatusAtParticipantResponsePB, aborted_),
792
  0,
793
  1,
794
  2,
795
  3,
796
  4,
797
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionRequestPB, _has_bits_),
798
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionRequestPB, _internal_metadata_),
799
  ~0u,  // no _extensions_
800
  ~0u,  // no _oneof_case_
801
  ~0u,  // no _weak_field_map_
802
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionRequestPB, tablet_id_),
803
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionRequestPB, transaction_id_),
804
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionRequestPB, propagated_hybrid_time_),
805
  0,
806
  1,
807
  2,
808
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, _has_bits_),
809
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, _internal_metadata_),
810
  ~0u,  // no _extensions_
811
  ~0u,  // no _oneof_case_
812
  ~0u,  // no _weak_field_map_
813
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, error_),
814
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, status_),
815
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, status_hybrid_time_),
816
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, propagated_hybrid_time_),
817
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::AbortTransactionResponsePB, coordinator_safe_time_),
818
  0,
819
  4,
820
  1,
821
  2,
822
  3,
823
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TakeTransactionRequestPB, _has_bits_),
824
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TakeTransactionRequestPB, _internal_metadata_),
825
  ~0u,  // no _extensions_
826
  ~0u,  // no _oneof_case_
827
  ~0u,  // no _weak_field_map_
828
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TakeTransactionRequestPB, is_global_),
829
  0,
830
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TakeTransactionResponsePB, _has_bits_),
831
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TakeTransactionResponsePB, _internal_metadata_),
832
  ~0u,  // no _extensions_
833
  ~0u,  // no _oneof_case_
834
  ~0u,  // no _weak_field_map_
835
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TakeTransactionResponsePB, metadata_),
836
  0,
837
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyRequestPB, _has_bits_),
838
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyRequestPB, _internal_metadata_),
839
  ~0u,  // no _extensions_
840
  ~0u,  // no _oneof_case_
841
  ~0u,  // no _weak_field_map_
842
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyRequestPB, tablet_id_),
843
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyRequestPB, propagated_hybrid_time_),
844
  0,
845
  1,
846
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyResponsePB, _has_bits_),
847
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyResponsePB, _internal_metadata_),
848
  ~0u,  // no _extensions_
849
  ~0u,  // no _oneof_case_
850
  ~0u,  // no _weak_field_map_
851
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyResponsePB, error_),
852
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyResponsePB, split_partition_key_),
853
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyResponsePB, split_encoded_key_),
854
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSplitKeyResponsePB, propagated_hybrid_time_),
855
  2,
856
  0,
857
  1,
858
  3,
859
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSharedDataRequestPB, _has_bits_),
860
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSharedDataRequestPB, _internal_metadata_),
861
  ~0u,  // no _extensions_
862
  ~0u,  // no _oneof_case_
863
  ~0u,  // no _weak_field_map_
864
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSharedDataResponsePB, _has_bits_),
865
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSharedDataResponsePB, _internal_metadata_),
866
  ~0u,  // no _extensions_
867
  ~0u,  // no _oneof_case_
868
  ~0u,  // no _weak_field_map_
869
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetSharedDataResponsePB, data_),
870
  0,
871
};
872
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
873
  { 0, 5, sizeof(::yb::tserver::GetLogLocationRequestPB)},
874
  { 5, 11, sizeof(::yb::tserver::GetLogLocationResponsePB)},
875
  { 12, 19, sizeof(::yb::tserver::ChecksumRequestPB)},
876
  { 21, 28, sizeof(::yb::tserver::ChecksumResponsePB)},
877
  { 30, 35, sizeof(::yb::tserver::ListTabletsForTabletServerRequestPB)},
878
  { 35, 48, sizeof(::yb::tserver::ListTabletsForTabletServerResponsePB_Entry)},
879
  { 56, 62, sizeof(::yb::tserver::ListTabletsForTabletServerResponsePB)},
880
  { 63, 70, sizeof(::yb::tserver::ImportDataRequestPB)},
881
  { 72, 78, sizeof(::yb::tserver::ImportDataResponsePB)},
882
  { 79, 87, sizeof(::yb::tserver::UpdateTransactionRequestPB)},
883
  { 90, 97, sizeof(::yb::tserver::UpdateTransactionResponsePB)},
884
  { 99, 107, sizeof(::yb::tserver::GetTransactionStatusRequestPB)},
885
  { 110, 122, sizeof(::yb::tserver::GetTransactionStatusResponsePB)},
886
  { 129, 138, sizeof(::yb::tserver::GetTransactionStatusAtParticipantRequestPB)},
887
  { 142, 152, sizeof(::yb::tserver::GetTransactionStatusAtParticipantResponsePB)},
888
  { 157, 165, sizeof(::yb::tserver::AbortTransactionRequestPB)},
889
  { 168, 178, sizeof(::yb::tserver::AbortTransactionResponsePB)},
890
  { 183, 189, sizeof(::yb::tserver::TakeTransactionRequestPB)},
891
  { 190, 196, sizeof(::yb::tserver::TakeTransactionResponsePB)},
892
  { 197, 204, sizeof(::yb::tserver::GetSplitKeyRequestPB)},
893
  { 206, 215, sizeof(::yb::tserver::GetSplitKeyResponsePB)},
894
  { 219, 224, sizeof(::yb::tserver::GetSharedDataRequestPB)},
895
  { 224, 230, sizeof(::yb::tserver::GetSharedDataResponsePB)},
896
};
897
898
static ::google::protobuf::Message const * const file_default_instances[] = {
899
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetLogLocationRequestPB_default_instance_),
900
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetLogLocationResponsePB_default_instance_),
901
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ChecksumRequestPB_default_instance_),
902
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ChecksumResponsePB_default_instance_),
903
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ListTabletsForTabletServerRequestPB_default_instance_),
904
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ListTabletsForTabletServerResponsePB_Entry_default_instance_),
905
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ListTabletsForTabletServerResponsePB_default_instance_),
906
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ImportDataRequestPB_default_instance_),
907
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ImportDataResponsePB_default_instance_),
908
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_UpdateTransactionRequestPB_default_instance_),
909
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_UpdateTransactionResponsePB_default_instance_),
910
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetTransactionStatusRequestPB_default_instance_),
911
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetTransactionStatusResponsePB_default_instance_),
912
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetTransactionStatusAtParticipantRequestPB_default_instance_),
913
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetTransactionStatusAtParticipantResponsePB_default_instance_),
914
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_AbortTransactionRequestPB_default_instance_),
915
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_AbortTransactionResponsePB_default_instance_),
916
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_TakeTransactionRequestPB_default_instance_),
917
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_TakeTransactionResponsePB_default_instance_),
918
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetSplitKeyRequestPB_default_instance_),
919
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetSplitKeyResponsePB_default_instance_),
920
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetSharedDataRequestPB_default_instance_),
921
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetSharedDataResponsePB_default_instance_),
922
};
923
924
1.37k
void protobuf_AssignDescriptors() {
925
1.37k
  AddDescriptors();
926
1.37k
  ::google::protobuf::MessageFactory* factory = NULL;
927
1.37k
  AssignDescriptors(
928
1.37k
      "yb/tserver/tserver_service.proto", schemas, file_default_instances, TableStruct::offsets, factory,
929
1.37k
      file_level_metadata, NULL, NULL);
930
1.37k
}
931
932
1.03M
void protobuf_AssignDescriptorsOnce() {
933
1.03M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
934
1.03M
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
935
1.03M
}
936
937
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
938
0
void protobuf_RegisterTypes(const ::std::string&) {
939
0
  protobuf_AssignDescriptorsOnce();
940
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 23);
941
0
}
942
943
15.8k
void AddDescriptorsImpl() {
944
15.8k
  InitDefaults();
945
15.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
946
15.8k
      "\n yb/tserver/tserver_service.proto\022\nyb.t"
947
15.8k
      "server\032\026yb/common/common.proto\032\034yb/commo"
948
15.8k
      "n/common_types.proto\032\033yb/common/transact"
949
15.8k
      "ion.proto\032\034yb/tablet/tablet_types.proto\032"
950
15.8k
      "\032yb/tablet/operations.proto\032\030yb/tserver/"
951
15.8k
      "tserver.proto\032\036yb/tserver/tserver_types."
952
15.8k
      "proto\"\031\n\027GetLogLocationRequestPB\"0\n\030GetL"
953
15.8k
      "ogLocationResponsePB\022\024\n\014log_location\030\001 \001"
954
15.8k
      "(\t\"w\n\021ChecksumRequestPB\022\021\n\ttablet_id\030\006 \001"
955
15.8k
      "(\014\0221\n\021consistency_level\030\007 \001(\0162\026.yb.YBCon"
956
15.8k
      "sistencyLevelJ\004\010\001\020\002J\004\010\002\020\003J\004\010\003\020\004J\004\010\004\020\005J\004\010"
957
15.8k
      "\005\020\006\"h\n\022ChecksumResponsePB\022.\n\005error\030\001 \001(\013"
958
15.8k
      "2\037.yb.tserver.TabletServerErrorPB\022\020\n\010che"
959
15.8k
      "cksum\030\002 \001(\004J\004\010\003\020\004J\004\010\004\020\005J\004\010\005\020\006\"%\n#ListTab"
960
15.8k
      "letsForTabletServerRequestPB\"\316\002\n$ListTab"
961
15.8k
      "letsForTabletServerResponsePB\022G\n\007entries"
962
15.8k
      "\030\001 \003(\01326.yb.tserver.ListTabletsForTablet"
963
15.8k
      "ServerResponsePB.Entry\032\334\001\n\005Entry\022\022\n\ntabl"
964
15.8k
      "e_name\030\001 \001(\t\022\021\n\ttablet_id\030\002 \001(\014\022\021\n\tis_le"
965
15.8k
      "ader\030\003 \001(\010\022*\n\005state\030\004 \001(\0162\033.yb.tablet.Ra"
966
15.8k
      "ftGroupStatePB\022\025\n\rnum_sst_files\030\005 \001(\004\022\030\n"
967
15.8k
      "\020num_log_segments\030\006 \001(\004\022\035\n\025num_memtables"
968
15.8k
      "_intents\030\007 \001(\004\022\035\n\025num_memtables_regular\030"
969
15.8k
      "\010 \001(\004\"<\n\023ImportDataRequestPB\022\021\n\ttablet_i"
970
15.8k
      "d\030\001 \001(\t\022\022\n\nsource_dir\030\002 \001(\t\"F\n\024ImportDat"
971
15.8k
      "aResponsePB\022.\n\005error\030\001 \001(\0132\037.yb.tserver."
972
15.8k
      "TabletServerErrorPB\"}\n\032UpdateTransaction"
973
15.8k
      "RequestPB\022\021\n\ttablet_id\030\001 \001(\014\022,\n\005state\030\002 "
974
15.8k
      "\001(\0132\035.yb.tablet.TransactionStatePB\022\036\n\026pr"
975
15.8k
      "opagated_hybrid_time\030\003 \001(\006\"m\n\033UpdateTran"
976
15.8k
      "sactionResponsePB\022.\n\005error\030\001 \001(\0132\037.yb.ts"
977
15.8k
      "erver.TabletServerErrorPB\022\036\n\026propagated_"
978
15.8k
      "hybrid_time\030\002 \001(\006\"j\n\035GetTransactionStatu"
979
15.8k
      "sRequestPB\022\021\n\ttablet_id\030\001 \001(\014\022\026\n\016transac"
980
15.8k
      "tion_id\030\002 \003(\014\022\036\n\026propagated_hybrid_time\030"
981
15.8k
      "\003 \001(\006\"\256\002\n\036GetTransactionStatusResponsePB"
982
15.8k
      "\022.\n\005error\030\001 \001(\0132\037.yb.tserver.TabletServe"
983
15.8k
      "rErrorPB\022%\n\006status\030\002 \003(\0162\025.yb.Transactio"
984
15.8k
      "nStatus\022\032\n\022status_hybrid_time\030\003 \003(\006\022\036\n\026p"
985
15.8k
      "ropagated_hybrid_time\030\004 \001(\006\022\036\n\026num_repli"
986
15.8k
      "cated_batches\030\005 \003(\003\022\035\n\025coordinator_safe_"
987
15.8k
      "time\030\006 \003(\006\022:\n\022aborted_subtxn_set\030\007 \003(\0132\036"
988
15.8k
      ".yb.AbortedSubTransactionSetPB\"\240\001\n*GetTr"
989
15.8k
      "ansactionStatusAtParticipantRequestPB\022\021\n"
990
15.8k
      "\ttablet_id\030\001 \001(\014\022\026\n\016transaction_id\030\002 \001(\014"
991
15.8k
      "\022\036\n\026propagated_hybrid_time\030\003 \001(\006\022\'\n\037requ"
992
15.8k
      "ired_num_replicated_batches\030\004 \001(\003\"\312\001\n+Ge"
993
15.8k
      "tTransactionStatusAtParticipantResponseP"
994
15.8k
      "B\022.\n\005error\030\001 \001(\0132\037.yb.tserver.TabletServ"
995
15.8k
      "erErrorPB\022\036\n\026propagated_hybrid_time\030\002 \001("
996
15.8k
      "\006\022\036\n\026num_replicated_batches\030\003 \001(\003\022\032\n\022sta"
997
15.8k
      "tus_hybrid_time\030\004 \001(\006\022\017\n\007aborted\030\005 \001(\010\"f"
998
15.8k
      "\n\031AbortTransactionRequestPB\022\021\n\ttablet_id"
999
15.8k
      "\030\001 \001(\014\022\026\n\016transaction_id\030\002 \001(\014\022\036\n\026propag"
1000
15.8k
      "ated_hybrid_time\030\003 \001(\006\"\316\001\n\032AbortTransact"
1001
15.8k
      "ionResponsePB\022.\n\005error\030\001 \001(\0132\037.yb.tserve"
1002
15.8k
      "r.TabletServerErrorPB\022%\n\006status\030\002 \001(\0162\025."
1003
15.8k
      "yb.TransactionStatus\022\032\n\022status_hybrid_ti"
1004
15.8k
      "me\030\003 \001(\006\022\036\n\026propagated_hybrid_time\030\004 \001(\006"
1005
15.8k
      "\022\035\n\025coordinator_safe_time\030\005 \001(\006\"-\n\030TakeT"
1006
15.8k
      "ransactionRequestPB\022\021\n\tis_global\030\001 \001(\010\"H"
1007
15.8k
      "\n\031TakeTransactionResponsePB\022+\n\010metadata\030"
1008
15.8k
      "\001 \001(\0132\031.yb.TransactionMetadataPB\"I\n\024GetS"
1009
15.8k
      "plitKeyRequestPB\022\021\n\ttablet_id\030\001 \002(\014\022\036\n\026p"
1010
15.8k
      "ropagated_hybrid_time\030\002 \001(\006\"\237\001\n\025GetSplit"
1011
15.8k
      "KeyResponsePB\022.\n\005error\030\001 \001(\0132\037.yb.tserve"
1012
15.8k
      "r.TabletServerErrorPB\022\033\n\023split_partition"
1013
15.8k
      "_key\030\002 \001(\014\022\031\n\021split_encoded_key\030\003 \001(\014\022\036\n"
1014
15.8k
      "\026propagated_hybrid_time\030\004 \001(\006\"\030\n\026GetShar"
1015
15.8k
      "edDataRequestPB\"\'\n\027GetSharedDataResponse"
1016
15.8k
      "PB\022\014\n\004data\030\001 \001(\0142\264\017\n\023TabletServerService"
1017
15.8k
      "\022@\n\005Write\022\032.yb.tserver.WriteRequestPB\032\033."
1018
15.8k
      "yb.tserver.WriteResponsePB\022=\n\004Read\022\031.yb."
1019
15.8k
      "tserver.ReadRequestPB\032\032.yb.tserver.ReadR"
1020
15.8k
      "esponsePB\022j\n\023VerifyTableRowRange\022(.yb.ts"
1021
15.8k
      "erver.VerifyTableRowRangeRequestPB\032).yb."
1022
15.8k
      "tserver.VerifyTableRowRangeResponsePB\022=\n"
1023
15.8k
      "\004NoOp\022\031.yb.tserver.NoOpRequestPB\032\032.yb.ts"
1024
15.8k
      "erver.NoOpResponsePB\022R\n\013ListTablets\022 .yb"
1025
15.8k
      ".tserver.ListTabletsRequestPB\032!.yb.tserv"
1026
15.8k
      "er.ListTabletsResponsePB\022[\n\016GetLogLocati"
1027
15.8k
      "on\022#.yb.tserver.GetLogLocationRequestPB\032"
1028
15.8k
      "$.yb.tserver.GetLogLocationResponsePB\022I\n"
1029
15.8k
      "\010Checksum\022\035.yb.tserver.ChecksumRequestPB"
1030
15.8k
      "\032\036.yb.tserver.ChecksumResponsePB\022\177\n\032List"
1031
15.8k
      "TabletsForTabletServer\022/.yb.tserver.List"
1032
15.8k
      "TabletsForTabletServerRequestPB\0320.yb.tse"
1033
15.8k
      "rver.ListTabletsForTabletServerResponseP"
1034
15.8k
      "B\022O\n\nImportData\022\037.yb.tserver.ImportDataR"
1035
15.8k
      "equestPB\032 .yb.tserver.ImportDataResponse"
1036
15.8k
      "PB\022d\n\021UpdateTransaction\022&.yb.tserver.Upd"
1037
15.8k
      "ateTransactionRequestPB\032\'.yb.tserver.Upd"
1038
15.8k
      "ateTransactionResponsePB\022m\n\024GetTransacti"
1039
15.8k
      "onStatus\022).yb.tserver.GetTransactionStat"
1040
15.8k
      "usRequestPB\032*.yb.tserver.GetTransactionS"
1041
15.8k
      "tatusResponsePB\022\224\001\n!GetTransactionStatus"
1042
15.8k
      "AtParticipant\0226.yb.tserver.GetTransactio"
1043
15.8k
      "nStatusAtParticipantRequestPB\0327.yb.tserv"
1044
15.8k
      "er.GetTransactionStatusAtParticipantResp"
1045
15.8k
      "onsePB\022a\n\020AbortTransaction\022%.yb.tserver."
1046
15.8k
      "AbortTransactionRequestPB\032&.yb.tserver.A"
1047
15.8k
      "bortTransactionResponsePB\022I\n\010Truncate\022\035."
1048
15.8k
      "yb.tserver.TruncateRequestPB\032\036.yb.tserve"
1049
15.8k
      "r.TruncateResponsePB\022^\n\017GetTabletStatus\022"
1050
15.8k
      "$.yb.tserver.GetTabletStatusRequestPB\032%."
1051
15.8k
      "yb.tserver.GetTabletStatusResponsePB\022g\n\022"
1052
15.8k
      "GetMasterAddresses\022\'.yb.tserver.GetMaste"
1053
15.8k
      "rAddressesRequestPB\032(.yb.tserver.GetMast"
1054
15.8k
      "erAddressesResponsePB\022F\n\007Publish\022\034.yb.ts"
1055
15.8k
      "erver.PublishRequestPB\032\035.yb.tserver.Publ"
1056
15.8k
      "ishResponsePB\022j\n\023IsTabletServerReady\022(.y"
1057
15.8k
      "b.tserver.IsTabletServerReadyRequestPB\032)"
1058
15.8k
      ".yb.tserver.IsTabletServerReadyResponseP"
1059
15.8k
      "B\022^\n\017TakeTransaction\022$.yb.tserver.TakeTr"
1060
15.8k
      "ansactionRequestPB\032%.yb.tserver.TakeTran"
1061
15.8k
      "sactionResponsePB\022R\n\013GetSplitKey\022 .yb.ts"
1062
15.8k
      "erver.GetSplitKeyRequestPB\032!.yb.tserver."
1063
15.8k
      "GetSplitKeyResponsePB\022X\n\rGetSharedData\022\""
1064
15.8k
      ".yb.tserver.GetSharedDataRequestPB\032#.yb."
1065
15.8k
      "tserver.GetSharedDataResponsePBB\020\n\016org.y"
1066
15.8k
      "b.tserver"
1067
15.8k
  };
1068
15.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
1069
15.8k
      descriptor, 4809);
1070
15.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
1071
15.8k
    "yb/tserver/tserver_service.proto", &protobuf_RegisterTypes);
1072
15.8k
  ::protobuf_yb_2fcommon_2fcommon_2eproto::AddDescriptors();
1073
15.8k
  ::protobuf_yb_2fcommon_2fcommon_5ftypes_2eproto::AddDescriptors();
1074
15.8k
  ::protobuf_yb_2fcommon_2ftransaction_2eproto::AddDescriptors();
1075
15.8k
  ::protobuf_yb_2ftablet_2ftablet_5ftypes_2eproto::AddDescriptors();
1076
15.8k
  ::protobuf_yb_2ftablet_2foperations_2eproto::AddDescriptors();
1077
15.8k
  ::protobuf_yb_2ftserver_2ftserver_2eproto::AddDescriptors();
1078
15.8k
  ::protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::AddDescriptors();
1079
15.8k
}
1080
1081
17.2k
void AddDescriptors() {
1082
17.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1083
17.2k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
1084
17.2k
}
1085
// Force AddDescriptors() to be called at dynamic initialization time.
1086
struct StaticDescriptorInitializer {
1087
15.8k
  StaticDescriptorInitializer() {
1088
15.8k
    AddDescriptors();
1089
15.8k
  }
1090
} static_descriptor_initializer;
1091
}  // namespace protobuf_yb_2ftserver_2ftserver_5fservice_2eproto
1092
namespace yb {
1093
namespace tserver {
1094
1095
// ===================================================================
1096
1097
15.8k
void GetLogLocationRequestPB::InitAsDefaultInstance() {
1098
15.8k
}
1099
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1100
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1101
1102
GetLogLocationRequestPB::GetLogLocationRequestPB()
1103
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1104
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1105
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetLogLocationRequestPB();
1106
0
  }
1107
15.8k
  SharedCtor();
1108
  // @@protoc_insertion_point(constructor:yb.tserver.GetLogLocationRequestPB)
1109
15.8k
}
1110
GetLogLocationRequestPB::GetLogLocationRequestPB(const GetLogLocationRequestPB& from)
1111
  : ::google::protobuf::Message(),
1112
      _internal_metadata_(NULL),
1113
      _has_bits_(from._has_bits_),
1114
0
      _cached_size_(0) {
1115
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1116
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetLogLocationRequestPB)
1117
0
}
1118
1119
15.8k
void GetLogLocationRequestPB::SharedCtor() {
1120
15.8k
  _cached_size_ = 0;
1121
15.8k
}
1122
1123
0
GetLogLocationRequestPB::~GetLogLocationRequestPB() {
1124
  // @@protoc_insertion_point(destructor:yb.tserver.GetLogLocationRequestPB)
1125
0
  SharedDtor();
1126
0
}
1127
1128
0
void GetLogLocationRequestPB::SharedDtor() {
1129
0
}
1130
1131
0
void GetLogLocationRequestPB::SetCachedSize(int size) const {
1132
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1133
0
  _cached_size_ = size;
1134
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1135
0
}
1136
0
const ::google::protobuf::Descriptor* GetLogLocationRequestPB::descriptor() {
1137
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1138
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1139
0
}
1140
1141
0
const GetLogLocationRequestPB& GetLogLocationRequestPB::default_instance() {
1142
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetLogLocationRequestPB();
1143
0
  return *internal_default_instance();
1144
0
}
1145
1146
0
GetLogLocationRequestPB* GetLogLocationRequestPB::New(::google::protobuf::Arena* arena) const {
1147
0
  GetLogLocationRequestPB* n = new GetLogLocationRequestPB;
1148
0
  if (arena != NULL) {
1149
0
    arena->Own(n);
1150
0
  }
1151
0
  return n;
1152
0
}
1153
1154
0
void GetLogLocationRequestPB::Clear() {
1155
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetLogLocationRequestPB)
1156
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1157
  // Prevent compiler warnings about cached_has_bits being unused
1158
0
  (void) cached_has_bits;
1159
1160
0
  _has_bits_.Clear();
1161
0
  _internal_metadata_.Clear();
1162
0
}
1163
1164
bool GetLogLocationRequestPB::MergePartialFromCodedStream(
1165
0
    ::google::protobuf::io::CodedInputStream* input) {
1166
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1167
0
  ::google::protobuf::uint32 tag;
1168
  // @@protoc_insertion_point(parse_start:yb.tserver.GetLogLocationRequestPB)
1169
0
  for (;;) {
1170
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1171
0
    tag = p.first;
1172
0
    if (!p.second) goto handle_unusual;
1173
0
  handle_unusual:
1174
0
    if (tag == 0) {
1175
0
      goto success;
1176
0
    }
1177
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
1178
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
1179
0
  }
1180
0
success:
1181
  // @@protoc_insertion_point(parse_success:yb.tserver.GetLogLocationRequestPB)
1182
0
  return true;
1183
0
failure:
1184
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetLogLocationRequestPB)
1185
0
  return false;
1186
0
#undef DO_
1187
0
}
1188
1189
void GetLogLocationRequestPB::SerializeWithCachedSizes(
1190
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1191
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetLogLocationRequestPB)
1192
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1193
0
  (void) cached_has_bits;
1194
1195
0
  if (_internal_metadata_.have_unknown_fields()) {
1196
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1197
0
        _internal_metadata_.unknown_fields(), output);
1198
0
  }
1199
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetLogLocationRequestPB)
1200
0
}
1201
1202
::google::protobuf::uint8* GetLogLocationRequestPB::InternalSerializeWithCachedSizesToArray(
1203
0
    bool deterministic, ::google::protobuf::uint8* target) const {
1204
0
  (void)deterministic; // Unused
1205
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetLogLocationRequestPB)
1206
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1207
0
  (void) cached_has_bits;
1208
1209
0
  if (_internal_metadata_.have_unknown_fields()) {
1210
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1211
0
        _internal_metadata_.unknown_fields(), target);
1212
0
  }
1213
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetLogLocationRequestPB)
1214
0
  return target;
1215
0
}
1216
1217
0
size_t GetLogLocationRequestPB::ByteSizeLong() const {
1218
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetLogLocationRequestPB)
1219
0
  size_t total_size = 0;
1220
1221
0
  if (_internal_metadata_.have_unknown_fields()) {
1222
0
    total_size +=
1223
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1224
0
        _internal_metadata_.unknown_fields());
1225
0
  }
1226
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1227
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1228
0
  _cached_size_ = cached_size;
1229
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1230
0
  return total_size;
1231
0
}
1232
1233
0
void GetLogLocationRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
1234
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetLogLocationRequestPB)
1235
0
  GOOGLE_DCHECK_NE(&from, this);
1236
0
  const GetLogLocationRequestPB* source =
1237
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLogLocationRequestPB>(
1238
0
          &from);
1239
0
  if (source == NULL) {
1240
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetLogLocationRequestPB)
1241
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1242
0
  } else {
1243
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetLogLocationRequestPB)
1244
0
    MergeFrom(*source);
1245
0
  }
1246
0
}
1247
1248
0
void GetLogLocationRequestPB::MergeFrom(const GetLogLocationRequestPB& from) {
1249
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetLogLocationRequestPB)
1250
0
  GOOGLE_DCHECK_NE(&from, this);
1251
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1252
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1253
0
  (void) cached_has_bits;
1254
1255
0
}
1256
1257
0
void GetLogLocationRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
1258
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetLogLocationRequestPB)
1259
0
  if (&from == this) return;
1260
0
  Clear();
1261
0
  MergeFrom(from);
1262
0
}
1263
1264
0
void GetLogLocationRequestPB::CopyFrom(const GetLogLocationRequestPB& from) {
1265
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetLogLocationRequestPB)
1266
0
  if (&from == this) return;
1267
0
  Clear();
1268
0
  MergeFrom(from);
1269
0
}
1270
1271
0
bool GetLogLocationRequestPB::IsInitialized() const {
1272
0
  return true;
1273
0
}
1274
1275
0
void GetLogLocationRequestPB::Swap(GetLogLocationRequestPB* other) {
1276
0
  if (other == this) return;
1277
0
  InternalSwap(other);
1278
0
}
1279
0
void GetLogLocationRequestPB::InternalSwap(GetLogLocationRequestPB* other) {
1280
0
  using std::swap;
1281
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1282
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1283
0
  swap(_cached_size_, other->_cached_size_);
1284
0
}
1285
1286
0
::google::protobuf::Metadata GetLogLocationRequestPB::GetMetadata() const {
1287
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1288
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
1289
0
}
1290
1291
1292
// ===================================================================
1293
1294
15.8k
void GetLogLocationResponsePB::InitAsDefaultInstance() {
1295
15.8k
}
1296
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1297
const int GetLogLocationResponsePB::kLogLocationFieldNumber;
1298
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1299
1300
GetLogLocationResponsePB::GetLogLocationResponsePB()
1301
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1302
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1303
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetLogLocationResponsePB();
1304
0
  }
1305
15.8k
  SharedCtor();
1306
  // @@protoc_insertion_point(constructor:yb.tserver.GetLogLocationResponsePB)
1307
15.8k
}
1308
GetLogLocationResponsePB::GetLogLocationResponsePB(const GetLogLocationResponsePB& from)
1309
  : ::google::protobuf::Message(),
1310
      _internal_metadata_(NULL),
1311
      _has_bits_(from._has_bits_),
1312
0
      _cached_size_(0) {
1313
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1314
0
  log_location_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1315
0
  if (from.has_log_location()) {
1316
0
    log_location_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.log_location_);
1317
0
  }
1318
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetLogLocationResponsePB)
1319
0
}
1320
1321
15.8k
void GetLogLocationResponsePB::SharedCtor() {
1322
15.8k
  _cached_size_ = 0;
1323
15.8k
  log_location_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1324
15.8k
}
1325
1326
0
GetLogLocationResponsePB::~GetLogLocationResponsePB() {
1327
  // @@protoc_insertion_point(destructor:yb.tserver.GetLogLocationResponsePB)
1328
0
  SharedDtor();
1329
0
}
1330
1331
0
void GetLogLocationResponsePB::SharedDtor() {
1332
0
  log_location_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1333
0
}
1334
1335
0
void GetLogLocationResponsePB::SetCachedSize(int size) const {
1336
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1337
0
  _cached_size_ = size;
1338
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1339
0
}
1340
0
const ::google::protobuf::Descriptor* GetLogLocationResponsePB::descriptor() {
1341
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1342
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1343
0
}
1344
1345
0
const GetLogLocationResponsePB& GetLogLocationResponsePB::default_instance() {
1346
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetLogLocationResponsePB();
1347
0
  return *internal_default_instance();
1348
0
}
1349
1350
0
GetLogLocationResponsePB* GetLogLocationResponsePB::New(::google::protobuf::Arena* arena) const {
1351
0
  GetLogLocationResponsePB* n = new GetLogLocationResponsePB;
1352
0
  if (arena != NULL) {
1353
0
    arena->Own(n);
1354
0
  }
1355
0
  return n;
1356
0
}
1357
1358
0
void GetLogLocationResponsePB::Clear() {
1359
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetLogLocationResponsePB)
1360
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1361
  // Prevent compiler warnings about cached_has_bits being unused
1362
0
  (void) cached_has_bits;
1363
1364
0
  cached_has_bits = _has_bits_[0];
1365
0
  if (cached_has_bits & 0x00000001u) {
1366
0
    GOOGLE_DCHECK(!log_location_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1367
0
    (*log_location_.UnsafeRawStringPointer())->clear();
1368
0
  }
1369
0
  _has_bits_.Clear();
1370
0
  _internal_metadata_.Clear();
1371
0
}
1372
1373
bool GetLogLocationResponsePB::MergePartialFromCodedStream(
1374
0
    ::google::protobuf::io::CodedInputStream* input) {
1375
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1376
0
  ::google::protobuf::uint32 tag;
1377
  // @@protoc_insertion_point(parse_start:yb.tserver.GetLogLocationResponsePB)
1378
0
  for (;;) {
1379
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1380
0
    tag = p.first;
1381
0
    if (!p.second) goto handle_unusual;
1382
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1383
      // optional string log_location = 1;
1384
0
      case 1: {
1385
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1386
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1387
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
1388
0
                input, this->mutable_log_location()));
1389
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1390
0
            this->log_location().data(), static_cast<int>(this->log_location().length()),
1391
0
            ::google::protobuf::internal::WireFormat::PARSE,
1392
0
            "yb.tserver.GetLogLocationResponsePB.log_location");
1393
0
        } else {
1394
0
          goto handle_unusual;
1395
0
        }
1396
0
        break;
1397
0
      }
1398
1399
0
      default: {
1400
0
      handle_unusual:
1401
0
        if (tag == 0) {
1402
0
          goto success;
1403
0
        }
1404
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1405
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1406
0
        break;
1407
0
      }
1408
0
    }
1409
0
  }
1410
0
success:
1411
  // @@protoc_insertion_point(parse_success:yb.tserver.GetLogLocationResponsePB)
1412
0
  return true;
1413
0
failure:
1414
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetLogLocationResponsePB)
1415
0
  return false;
1416
0
#undef DO_
1417
0
}
1418
1419
void GetLogLocationResponsePB::SerializeWithCachedSizes(
1420
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1421
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetLogLocationResponsePB)
1422
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1423
0
  (void) cached_has_bits;
1424
1425
0
  cached_has_bits = _has_bits_[0];
1426
  // optional string log_location = 1;
1427
0
  if (cached_has_bits & 0x00000001u) {
1428
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1429
0
      this->log_location().data(), static_cast<int>(this->log_location().length()),
1430
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
1431
0
      "yb.tserver.GetLogLocationResponsePB.log_location");
1432
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
1433
0
      1, this->log_location(), output);
1434
0
  }
1435
1436
0
  if (_internal_metadata_.have_unknown_fields()) {
1437
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1438
0
        _internal_metadata_.unknown_fields(), output);
1439
0
  }
1440
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetLogLocationResponsePB)
1441
0
}
1442
1443
::google::protobuf::uint8* GetLogLocationResponsePB::InternalSerializeWithCachedSizesToArray(
1444
0
    bool deterministic, ::google::protobuf::uint8* target) const {
1445
0
  (void)deterministic; // Unused
1446
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetLogLocationResponsePB)
1447
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1448
0
  (void) cached_has_bits;
1449
1450
0
  cached_has_bits = _has_bits_[0];
1451
  // optional string log_location = 1;
1452
0
  if (cached_has_bits & 0x00000001u) {
1453
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
1454
0
      this->log_location().data(), static_cast<int>(this->log_location().length()),
1455
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
1456
0
      "yb.tserver.GetLogLocationResponsePB.log_location");
1457
0
    target =
1458
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1459
0
        1, this->log_location(), target);
1460
0
  }
1461
1462
0
  if (_internal_metadata_.have_unknown_fields()) {
1463
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1464
0
        _internal_metadata_.unknown_fields(), target);
1465
0
  }
1466
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetLogLocationResponsePB)
1467
0
  return target;
1468
0
}
1469
1470
0
size_t GetLogLocationResponsePB::ByteSizeLong() const {
1471
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetLogLocationResponsePB)
1472
0
  size_t total_size = 0;
1473
1474
0
  if (_internal_metadata_.have_unknown_fields()) {
1475
0
    total_size +=
1476
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1477
0
        _internal_metadata_.unknown_fields());
1478
0
  }
1479
  // optional string log_location = 1;
1480
0
  if (has_log_location()) {
1481
0
    total_size += 1 +
1482
0
      ::google::protobuf::internal::WireFormatLite::StringSize(
1483
0
        this->log_location());
1484
0
  }
1485
1486
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1487
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1488
0
  _cached_size_ = cached_size;
1489
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1490
0
  return total_size;
1491
0
}
1492
1493
0
void GetLogLocationResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
1494
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetLogLocationResponsePB)
1495
0
  GOOGLE_DCHECK_NE(&from, this);
1496
0
  const GetLogLocationResponsePB* source =
1497
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetLogLocationResponsePB>(
1498
0
          &from);
1499
0
  if (source == NULL) {
1500
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetLogLocationResponsePB)
1501
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1502
0
  } else {
1503
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetLogLocationResponsePB)
1504
0
    MergeFrom(*source);
1505
0
  }
1506
0
}
1507
1508
0
void GetLogLocationResponsePB::MergeFrom(const GetLogLocationResponsePB& from) {
1509
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetLogLocationResponsePB)
1510
0
  GOOGLE_DCHECK_NE(&from, this);
1511
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1512
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1513
0
  (void) cached_has_bits;
1514
1515
0
  if (from.has_log_location()) {
1516
0
    set_has_log_location();
1517
0
    log_location_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.log_location_);
1518
0
  }
1519
0
}
1520
1521
0
void GetLogLocationResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
1522
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetLogLocationResponsePB)
1523
0
  if (&from == this) return;
1524
0
  Clear();
1525
0
  MergeFrom(from);
1526
0
}
1527
1528
0
void GetLogLocationResponsePB::CopyFrom(const GetLogLocationResponsePB& from) {
1529
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetLogLocationResponsePB)
1530
0
  if (&from == this) return;
1531
0
  Clear();
1532
0
  MergeFrom(from);
1533
0
}
1534
1535
0
bool GetLogLocationResponsePB::IsInitialized() const {
1536
0
  return true;
1537
0
}
1538
1539
0
void GetLogLocationResponsePB::Swap(GetLogLocationResponsePB* other) {
1540
0
  if (other == this) return;
1541
0
  InternalSwap(other);
1542
0
}
1543
0
void GetLogLocationResponsePB::InternalSwap(GetLogLocationResponsePB* other) {
1544
0
  using std::swap;
1545
0
  log_location_.Swap(&other->log_location_);
1546
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1547
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1548
0
  swap(_cached_size_, other->_cached_size_);
1549
0
}
1550
1551
0
::google::protobuf::Metadata GetLogLocationResponsePB::GetMetadata() const {
1552
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1553
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
1554
0
}
1555
1556
1557
// ===================================================================
1558
1559
15.8k
void ChecksumRequestPB::InitAsDefaultInstance() {
1560
15.8k
}
1561
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1562
const int ChecksumRequestPB::kTabletIdFieldNumber;
1563
const int ChecksumRequestPB::kConsistencyLevelFieldNumber;
1564
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1565
1566
ChecksumRequestPB::ChecksumRequestPB()
1567
22.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1568
7.10k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1569
7.10k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsChecksumRequestPB();
1570
7.10k
  }
1571
22.9k
  SharedCtor();
1572
  // @@protoc_insertion_point(constructor:yb.tserver.ChecksumRequestPB)
1573
22.9k
}
1574
ChecksumRequestPB::ChecksumRequestPB(const ChecksumRequestPB& from)
1575
  : ::google::protobuf::Message(),
1576
      _internal_metadata_(NULL),
1577
      _has_bits_(from._has_bits_),
1578
0
      _cached_size_(0) {
1579
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1580
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1581
0
  if (from.has_tablet_id()) {
1582
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
1583
0
  }
1584
0
  consistency_level_ = from.consistency_level_;
1585
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ChecksumRequestPB)
1586
0
}
1587
1588
22.9k
void ChecksumRequestPB::SharedCtor() {
1589
22.9k
  _cached_size_ = 0;
1590
22.9k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1591
22.9k
  consistency_level_ = 1;
1592
22.9k
}
1593
1594
7.10k
ChecksumRequestPB::~ChecksumRequestPB() {
1595
  // @@protoc_insertion_point(destructor:yb.tserver.ChecksumRequestPB)
1596
7.10k
  SharedDtor();
1597
7.10k
}
1598
1599
7.10k
void ChecksumRequestPB::SharedDtor() {
1600
7.10k
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1601
7.10k
}
1602
1603
0
void ChecksumRequestPB::SetCachedSize(int size) const {
1604
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1605
0
  _cached_size_ = size;
1606
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1607
0
}
1608
0
const ::google::protobuf::Descriptor* ChecksumRequestPB::descriptor() {
1609
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1610
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1611
0
}
1612
1613
0
const ChecksumRequestPB& ChecksumRequestPB::default_instance() {
1614
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsChecksumRequestPB();
1615
0
  return *internal_default_instance();
1616
0
}
1617
1618
0
ChecksumRequestPB* ChecksumRequestPB::New(::google::protobuf::Arena* arena) const {
1619
0
  ChecksumRequestPB* n = new ChecksumRequestPB;
1620
0
  if (arena != NULL) {
1621
0
    arena->Own(n);
1622
0
  }
1623
0
  return n;
1624
0
}
1625
1626
2.90k
void ChecksumRequestPB::Clear() {
1627
// @@protoc_insertion_point(message_clear_start:yb.tserver.ChecksumRequestPB)
1628
2.90k
  ::google::protobuf::uint32 cached_has_bits = 0;
1629
  // Prevent compiler warnings about cached_has_bits being unused
1630
2.90k
  (void) cached_has_bits;
1631
1632
2.90k
  cached_has_bits = _has_bits_[0];
1633
2.90k
  if (cached_has_bits & 3u) {
1634
0
    if (cached_has_bits & 0x00000001u) {
1635
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1636
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
1637
0
    }
1638
0
    consistency_level_ = 1;
1639
0
  }
1640
2.90k
  _has_bits_.Clear();
1641
2.90k
  _internal_metadata_.Clear();
1642
2.90k
}
1643
1644
bool ChecksumRequestPB::MergePartialFromCodedStream(
1645
2.90k
    ::google::protobuf::io::CodedInputStream* input) {
1646
5.80k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1647
2.90k
  ::google::protobuf::uint32 tag;
1648
  // @@protoc_insertion_point(parse_start:yb.tserver.ChecksumRequestPB)
1649
8.69k
  for (;;) {
1650
8.69k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1651
8.69k
    tag = p.first;
1652
8.69k
    if (!p.second) goto handle_unusual;
1653
5.78k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1654
      // optional bytes tablet_id = 6;
1655
2.89k
      case 6: {
1656
2.89k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1657
2.89k
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
1658
2.89k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1659
2.89k
                input, this->mutable_tablet_id()));
1660
18.4E
        } else {
1661
18.4E
          goto handle_unusual;
1662
18.4E
        }
1663
2.89k
        break;
1664
2.89k
      }
1665
1666
      // optional .yb.YBConsistencyLevel consistency_level = 7;
1667
2.90k
      case 7: {
1668
2.90k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1669
2.90k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
1670
2.90k
          int value;
1671
2.90k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1672
2.90k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
1673
2.90k
                 input, &value)));
1674
2.90k
          if (::yb::YBConsistencyLevel_IsValid(value)) {
1675
2.89k
            set_consistency_level(static_cast< ::yb::YBConsistencyLevel >(value));
1676
12
          } else {
1677
12
            mutable_unknown_fields()->AddVarint(
1678
12
                7, static_cast< ::google::protobuf::uint64>(value));
1679
12
          }
1680
0
        } else {
1681
0
          goto handle_unusual;
1682
0
        }
1683
2.90k
        break;
1684
2.90k
      }
1685
1686
0
      default: {
1687
2.90k
      handle_unusual:
1688
2.90k
        if (tag == 0) {
1689
2.90k
          goto success;
1690
2.90k
        }
1691
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1692
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1693
18.4E
        break;
1694
18.4E
      }
1695
5.78k
    }
1696
5.78k
  }
1697
2.90k
success:
1698
  // @@protoc_insertion_point(parse_success:yb.tserver.ChecksumRequestPB)
1699
2.90k
  return true;
1700
0
failure:
1701
  // @@protoc_insertion_point(parse_failure:yb.tserver.ChecksumRequestPB)
1702
0
  return false;
1703
2.90k
#undef DO_
1704
2.90k
}
1705
1706
void ChecksumRequestPB::SerializeWithCachedSizes(
1707
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1708
  // @@protoc_insertion_point(serialize_start:yb.tserver.ChecksumRequestPB)
1709
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1710
0
  (void) cached_has_bits;
1711
1712
0
  cached_has_bits = _has_bits_[0];
1713
  // optional bytes tablet_id = 6;
1714
0
  if (cached_has_bits & 0x00000001u) {
1715
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1716
0
      6, this->tablet_id(), output);
1717
0
  }
1718
1719
  // optional .yb.YBConsistencyLevel consistency_level = 7;
1720
0
  if (cached_has_bits & 0x00000002u) {
1721
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
1722
0
      7, this->consistency_level(), output);
1723
0
  }
1724
1725
0
  if (_internal_metadata_.have_unknown_fields()) {
1726
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1727
0
        _internal_metadata_.unknown_fields(), output);
1728
0
  }
1729
  // @@protoc_insertion_point(serialize_end:yb.tserver.ChecksumRequestPB)
1730
0
}
1731
1732
::google::protobuf::uint8* ChecksumRequestPB::InternalSerializeWithCachedSizesToArray(
1733
4.20k
    bool deterministic, ::google::protobuf::uint8* target) const {
1734
4.20k
  (void)deterministic; // Unused
1735
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ChecksumRequestPB)
1736
4.20k
  ::google::protobuf::uint32 cached_has_bits = 0;
1737
4.20k
  (void) cached_has_bits;
1738
1739
4.20k
  cached_has_bits = _has_bits_[0];
1740
  // optional bytes tablet_id = 6;
1741
4.20k
  if (cached_has_bits & 0x00000001u) {
1742
4.20k
    target =
1743
4.20k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1744
4.20k
        6, this->tablet_id(), target);
1745
4.20k
  }
1746
1747
  // optional .yb.YBConsistencyLevel consistency_level = 7;
1748
4.20k
  if (cached_has_bits & 0x00000002u) {
1749
4.19k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
1750
4.19k
      7, this->consistency_level(), target);
1751
4.19k
  }
1752
1753
4.20k
  if (_internal_metadata_.have_unknown_fields()) {
1754
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1755
0
        _internal_metadata_.unknown_fields(), target);
1756
0
  }
1757
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ChecksumRequestPB)
1758
4.20k
  return target;
1759
4.20k
}
1760
1761
8.40k
size_t ChecksumRequestPB::ByteSizeLong() const {
1762
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ChecksumRequestPB)
1763
8.40k
  size_t total_size = 0;
1764
1765
8.40k
  if (_internal_metadata_.have_unknown_fields()) {
1766
0
    total_size +=
1767
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1768
0
        _internal_metadata_.unknown_fields());
1769
0
  }
1770
8.40k
  if (_has_bits_[0 / 32] & 3u) {
1771
    // optional bytes tablet_id = 6;
1772
8.40k
    if (has_tablet_id()) {
1773
8.40k
      total_size += 1 +
1774
8.40k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
1775
8.40k
          this->tablet_id());
1776
8.40k
    }
1777
1778
    // optional .yb.YBConsistencyLevel consistency_level = 7;
1779
8.40k
    if (has_consistency_level()) {
1780
8.39k
      total_size += 1 +
1781
8.39k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->consistency_level());
1782
8.39k
    }
1783
1784
8.40k
  }
1785
8.40k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1786
8.40k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1787
8.40k
  _cached_size_ = cached_size;
1788
8.40k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1789
8.40k
  return total_size;
1790
8.40k
}
1791
1792
0
void ChecksumRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
1793
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ChecksumRequestPB)
1794
0
  GOOGLE_DCHECK_NE(&from, this);
1795
0
  const ChecksumRequestPB* source =
1796
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ChecksumRequestPB>(
1797
0
          &from);
1798
0
  if (source == NULL) {
1799
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ChecksumRequestPB)
1800
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1801
0
  } else {
1802
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ChecksumRequestPB)
1803
0
    MergeFrom(*source);
1804
0
  }
1805
0
}
1806
1807
0
void ChecksumRequestPB::MergeFrom(const ChecksumRequestPB& from) {
1808
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ChecksumRequestPB)
1809
0
  GOOGLE_DCHECK_NE(&from, this);
1810
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1811
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1812
0
  (void) cached_has_bits;
1813
1814
0
  cached_has_bits = from._has_bits_[0];
1815
0
  if (cached_has_bits & 3u) {
1816
0
    if (cached_has_bits & 0x00000001u) {
1817
0
      set_has_tablet_id();
1818
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
1819
0
    }
1820
0
    if (cached_has_bits & 0x00000002u) {
1821
0
      consistency_level_ = from.consistency_level_;
1822
0
    }
1823
0
    _has_bits_[0] |= cached_has_bits;
1824
0
  }
1825
0
}
1826
1827
0
void ChecksumRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
1828
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ChecksumRequestPB)
1829
0
  if (&from == this) return;
1830
0
  Clear();
1831
0
  MergeFrom(from);
1832
0
}
1833
1834
0
void ChecksumRequestPB::CopyFrom(const ChecksumRequestPB& from) {
1835
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ChecksumRequestPB)
1836
0
  if (&from == this) return;
1837
0
  Clear();
1838
0
  MergeFrom(from);
1839
0
}
1840
1841
7.11k
bool ChecksumRequestPB::IsInitialized() const {
1842
7.11k
  return true;
1843
7.11k
}
1844
1845
0
void ChecksumRequestPB::Swap(ChecksumRequestPB* other) {
1846
0
  if (other == this) return;
1847
0
  InternalSwap(other);
1848
0
}
1849
0
void ChecksumRequestPB::InternalSwap(ChecksumRequestPB* other) {
1850
0
  using std::swap;
1851
0
  tablet_id_.Swap(&other->tablet_id_);
1852
0
  swap(consistency_level_, other->consistency_level_);
1853
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1854
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1855
0
  swap(_cached_size_, other->_cached_size_);
1856
0
}
1857
1858
2.90k
::google::protobuf::Metadata ChecksumRequestPB::GetMetadata() const {
1859
2.90k
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1860
2.90k
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
1861
2.90k
}
1862
1863
1864
// ===================================================================
1865
1866
15.8k
void ChecksumResponsePB::InitAsDefaultInstance() {
1867
15.8k
  ::yb::tserver::_ChecksumResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
1868
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
1869
15.8k
}
1870
0
void ChecksumResponsePB::clear_error() {
1871
0
  if (error_ != NULL) error_->Clear();
1872
0
  clear_has_error();
1873
0
}
1874
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1875
const int ChecksumResponsePB::kErrorFieldNumber;
1876
const int ChecksumResponsePB::kChecksumFieldNumber;
1877
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1878
1879
ChecksumResponsePB::ChecksumResponsePB()
1880
22.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1881
7.10k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1882
7.10k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsChecksumResponsePB();
1883
7.10k
  }
1884
22.9k
  SharedCtor();
1885
  // @@protoc_insertion_point(constructor:yb.tserver.ChecksumResponsePB)
1886
22.9k
}
1887
ChecksumResponsePB::ChecksumResponsePB(const ChecksumResponsePB& from)
1888
  : ::google::protobuf::Message(),
1889
      _internal_metadata_(NULL),
1890
      _has_bits_(from._has_bits_),
1891
0
      _cached_size_(0) {
1892
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1893
0
  if (from.has_error()) {
1894
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
1895
0
  } else {
1896
0
    error_ = NULL;
1897
0
  }
1898
0
  checksum_ = from.checksum_;
1899
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ChecksumResponsePB)
1900
0
}
1901
1902
22.9k
void ChecksumResponsePB::SharedCtor() {
1903
22.9k
  _cached_size_ = 0;
1904
22.9k
  ::memset(&error_, 0, static_cast<size_t>(
1905
22.9k
      reinterpret_cast<char*>(&checksum_) -
1906
22.9k
      reinterpret_cast<char*>(&error_)) + sizeof(checksum_));
1907
22.9k
}
1908
1909
7.10k
ChecksumResponsePB::~ChecksumResponsePB() {
1910
  // @@protoc_insertion_point(destructor:yb.tserver.ChecksumResponsePB)
1911
7.10k
  SharedDtor();
1912
7.10k
}
1913
1914
7.10k
void ChecksumResponsePB::SharedDtor() {
1915
7.10k
  if (this != internal_default_instance()) delete error_;
1916
7.10k
}
1917
1918
0
void ChecksumResponsePB::SetCachedSize(int size) const {
1919
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1920
0
  _cached_size_ = size;
1921
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1922
0
}
1923
0
const ::google::protobuf::Descriptor* ChecksumResponsePB::descriptor() {
1924
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
1925
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1926
0
}
1927
1928
0
const ChecksumResponsePB& ChecksumResponsePB::default_instance() {
1929
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsChecksumResponsePB();
1930
0
  return *internal_default_instance();
1931
0
}
1932
1933
0
ChecksumResponsePB* ChecksumResponsePB::New(::google::protobuf::Arena* arena) const {
1934
0
  ChecksumResponsePB* n = new ChecksumResponsePB;
1935
0
  if (arena != NULL) {
1936
0
    arena->Own(n);
1937
0
  }
1938
0
  return n;
1939
0
}
1940
1941
2.90k
void ChecksumResponsePB::Clear() {
1942
// @@protoc_insertion_point(message_clear_start:yb.tserver.ChecksumResponsePB)
1943
2.90k
  ::google::protobuf::uint32 cached_has_bits = 0;
1944
  // Prevent compiler warnings about cached_has_bits being unused
1945
2.90k
  (void) cached_has_bits;
1946
1947
2.90k
  cached_has_bits = _has_bits_[0];
1948
2.90k
  if (cached_has_bits & 0x00000001u) {
1949
0
    GOOGLE_DCHECK(error_ != NULL);
1950
0
    error_->Clear();
1951
0
  }
1952
2.90k
  checksum_ = GOOGLE_ULONGLONG(0);
1953
2.90k
  _has_bits_.Clear();
1954
2.90k
  _internal_metadata_.Clear();
1955
2.90k
}
1956
1957
bool ChecksumResponsePB::MergePartialFromCodedStream(
1958
2.88k
    ::google::protobuf::io::CodedInputStream* input) {
1959
2.90k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1960
2.88k
  ::google::protobuf::uint32 tag;
1961
  // @@protoc_insertion_point(parse_start:yb.tserver.ChecksumResponsePB)
1962
5.77k
  for (;;) {
1963
5.77k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1964
5.77k
    tag = p.first;
1965
5.77k
    if (!p.second) goto handle_unusual;
1966
2.88k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1967
      // optional .yb.tserver.TabletServerErrorPB error = 1;
1968
4
      case 1: {
1969
4
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1970
4
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1971
4
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1972
4
               input, mutable_error()));
1973
0
        } else {
1974
0
          goto handle_unusual;
1975
0
        }
1976
4
        break;
1977
4
      }
1978
1979
      // optional uint64 checksum = 2;
1980
2.89k
      case 2: {
1981
2.89k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1982
2.89k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
1983
2.89k
          set_has_checksum();
1984
2.89k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1985
2.89k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
1986
2.89k
                 input, &checksum_)));
1987
18.4E
        } else {
1988
18.4E
          goto handle_unusual;
1989
18.4E
        }
1990
2.89k
        break;
1991
2.89k
      }
1992
1993
0
      default: {
1994
2.89k
      handle_unusual:
1995
2.89k
        if (tag == 0) {
1996
2.89k
          goto success;
1997
2.89k
        }
1998
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1999
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2000
0
        break;
2001
0
      }
2002
2.88k
    }
2003
2.88k
  }
2004
2.89k
success:
2005
  // @@protoc_insertion_point(parse_success:yb.tserver.ChecksumResponsePB)
2006
2.89k
  return true;
2007
0
failure:
2008
  // @@protoc_insertion_point(parse_failure:yb.tserver.ChecksumResponsePB)
2009
0
  return false;
2010
2.88k
#undef DO_
2011
2.88k
}
2012
2013
void ChecksumResponsePB::SerializeWithCachedSizes(
2014
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2015
  // @@protoc_insertion_point(serialize_start:yb.tserver.ChecksumResponsePB)
2016
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2017
0
  (void) cached_has_bits;
2018
2019
0
  cached_has_bits = _has_bits_[0];
2020
  // optional .yb.tserver.TabletServerErrorPB error = 1;
2021
0
  if (cached_has_bits & 0x00000001u) {
2022
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2023
0
      1, *this->error_, output);
2024
0
  }
2025
2026
  // optional uint64 checksum = 2;
2027
0
  if (cached_has_bits & 0x00000002u) {
2028
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->checksum(), output);
2029
0
  }
2030
2031
0
  if (_internal_metadata_.have_unknown_fields()) {
2032
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2033
0
        _internal_metadata_.unknown_fields(), output);
2034
0
  }
2035
  // @@protoc_insertion_point(serialize_end:yb.tserver.ChecksumResponsePB)
2036
0
}
2037
2038
::google::protobuf::uint8* ChecksumResponsePB::InternalSerializeWithCachedSizesToArray(
2039
2.90k
    bool deterministic, ::google::protobuf::uint8* target) const {
2040
2.90k
  (void)deterministic; // Unused
2041
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ChecksumResponsePB)
2042
2.90k
  ::google::protobuf::uint32 cached_has_bits = 0;
2043
2.90k
  (void) cached_has_bits;
2044
2045
2.90k
  cached_has_bits = _has_bits_[0];
2046
  // optional .yb.tserver.TabletServerErrorPB error = 1;
2047
2.90k
  if (cached_has_bits & 0x00000001u) {
2048
4
    target = ::google::protobuf::internal::WireFormatLite::
2049
4
      InternalWriteMessageToArray(
2050
4
        1, *this->error_, deterministic, target);
2051
4
  }
2052
2053
  // optional uint64 checksum = 2;
2054
2.90k
  if (cached_has_bits & 0x00000002u) {
2055
2.90k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->checksum(), target);
2056
2.90k
  }
2057
2058
2.90k
  if (_internal_metadata_.have_unknown_fields()) {
2059
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2060
0
        _internal_metadata_.unknown_fields(), target);
2061
0
  }
2062
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ChecksumResponsePB)
2063
2.90k
  return target;
2064
2.90k
}
2065
2066
5.80k
size_t ChecksumResponsePB::ByteSizeLong() const {
2067
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ChecksumResponsePB)
2068
5.80k
  size_t total_size = 0;
2069
2070
5.80k
  if (_internal_metadata_.have_unknown_fields()) {
2071
0
    total_size +=
2072
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2073
0
        _internal_metadata_.unknown_fields());
2074
0
  }
2075
5.80k
  if (_has_bits_[0 / 32] & 3u) {
2076
    // optional .yb.tserver.TabletServerErrorPB error = 1;
2077
5.79k
    if (has_error()) {
2078
8
      total_size += 1 +
2079
8
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2080
8
          *this->error_);
2081
8
    }
2082
2083
    // optional uint64 checksum = 2;
2084
5.79k
    if (has_checksum()) {
2085
5.78k
      total_size += 1 +
2086
5.78k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
2087
5.78k
          this->checksum());
2088
5.78k
    }
2089
2090
5.79k
  }
2091
5.80k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2092
5.80k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2093
5.80k
  _cached_size_ = cached_size;
2094
5.80k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2095
5.80k
  return total_size;
2096
5.80k
}
2097
2098
0
void ChecksumResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
2099
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ChecksumResponsePB)
2100
0
  GOOGLE_DCHECK_NE(&from, this);
2101
0
  const ChecksumResponsePB* source =
2102
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ChecksumResponsePB>(
2103
0
          &from);
2104
0
  if (source == NULL) {
2105
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ChecksumResponsePB)
2106
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2107
0
  } else {
2108
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ChecksumResponsePB)
2109
0
    MergeFrom(*source);
2110
0
  }
2111
0
}
2112
2113
0
void ChecksumResponsePB::MergeFrom(const ChecksumResponsePB& from) {
2114
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ChecksumResponsePB)
2115
0
  GOOGLE_DCHECK_NE(&from, this);
2116
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2117
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2118
0
  (void) cached_has_bits;
2119
2120
0
  cached_has_bits = from._has_bits_[0];
2121
0
  if (cached_has_bits & 3u) {
2122
0
    if (cached_has_bits & 0x00000001u) {
2123
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
2124
0
    }
2125
0
    if (cached_has_bits & 0x00000002u) {
2126
0
      checksum_ = from.checksum_;
2127
0
    }
2128
0
    _has_bits_[0] |= cached_has_bits;
2129
0
  }
2130
0
}
2131
2132
0
void ChecksumResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
2133
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ChecksumResponsePB)
2134
0
  if (&from == this) return;
2135
0
  Clear();
2136
0
  MergeFrom(from);
2137
0
}
2138
2139
0
void ChecksumResponsePB::CopyFrom(const ChecksumResponsePB& from) {
2140
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ChecksumResponsePB)
2141
0
  if (&from == this) return;
2142
0
  Clear();
2143
0
  MergeFrom(from);
2144
0
}
2145
2146
5.80k
bool ChecksumResponsePB::IsInitialized() const {
2147
5.80k
  if (has_error()) {
2148
8
    if (!this->error_->IsInitialized()) return false;
2149
5.80k
  }
2150
5.80k
  return true;
2151
5.80k
}
2152
2153
0
void ChecksumResponsePB::Swap(ChecksumResponsePB* other) {
2154
0
  if (other == this) return;
2155
0
  InternalSwap(other);
2156
0
}
2157
0
void ChecksumResponsePB::InternalSwap(ChecksumResponsePB* other) {
2158
0
  using std::swap;
2159
0
  swap(error_, other->error_);
2160
0
  swap(checksum_, other->checksum_);
2161
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2162
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2163
0
  swap(_cached_size_, other->_cached_size_);
2164
0
}
2165
2166
0
::google::protobuf::Metadata ChecksumResponsePB::GetMetadata() const {
2167
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
2168
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
2169
0
}
2170
2171
2172
// ===================================================================
2173
2174
15.8k
void ListTabletsForTabletServerRequestPB::InitAsDefaultInstance() {
2175
15.8k
}
2176
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2177
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2178
2179
ListTabletsForTabletServerRequestPB::ListTabletsForTabletServerRequestPB()
2180
17.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2181
1.78k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2182
1.78k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerRequestPB();
2183
1.78k
  }
2184
17.6k
  SharedCtor();
2185
  // @@protoc_insertion_point(constructor:yb.tserver.ListTabletsForTabletServerRequestPB)
2186
17.6k
}
2187
ListTabletsForTabletServerRequestPB::ListTabletsForTabletServerRequestPB(const ListTabletsForTabletServerRequestPB& from)
2188
  : ::google::protobuf::Message(),
2189
      _internal_metadata_(NULL),
2190
      _has_bits_(from._has_bits_),
2191
0
      _cached_size_(0) {
2192
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2193
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ListTabletsForTabletServerRequestPB)
2194
0
}
2195
2196
17.6k
void ListTabletsForTabletServerRequestPB::SharedCtor() {
2197
17.6k
  _cached_size_ = 0;
2198
17.6k
}
2199
2200
1.78k
ListTabletsForTabletServerRequestPB::~ListTabletsForTabletServerRequestPB() {
2201
  // @@protoc_insertion_point(destructor:yb.tserver.ListTabletsForTabletServerRequestPB)
2202
1.78k
  SharedDtor();
2203
1.78k
}
2204
2205
1.78k
void ListTabletsForTabletServerRequestPB::SharedDtor() {
2206
1.78k
}
2207
2208
0
void ListTabletsForTabletServerRequestPB::SetCachedSize(int size) const {
2209
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2210
0
  _cached_size_ = size;
2211
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2212
0
}
2213
0
const ::google::protobuf::Descriptor* ListTabletsForTabletServerRequestPB::descriptor() {
2214
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
2215
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2216
0
}
2217
2218
0
const ListTabletsForTabletServerRequestPB& ListTabletsForTabletServerRequestPB::default_instance() {
2219
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerRequestPB();
2220
0
  return *internal_default_instance();
2221
0
}
2222
2223
0
ListTabletsForTabletServerRequestPB* ListTabletsForTabletServerRequestPB::New(::google::protobuf::Arena* arena) const {
2224
0
  ListTabletsForTabletServerRequestPB* n = new ListTabletsForTabletServerRequestPB;
2225
0
  if (arena != NULL) {
2226
0
    arena->Own(n);
2227
0
  }
2228
0
  return n;
2229
0
}
2230
2231
892
void ListTabletsForTabletServerRequestPB::Clear() {
2232
// @@protoc_insertion_point(message_clear_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2233
892
  ::google::protobuf::uint32 cached_has_bits = 0;
2234
  // Prevent compiler warnings about cached_has_bits being unused
2235
892
  (void) cached_has_bits;
2236
2237
892
  _has_bits_.Clear();
2238
892
  _internal_metadata_.Clear();
2239
892
}
2240
2241
bool ListTabletsForTabletServerRequestPB::MergePartialFromCodedStream(
2242
892
    ::google::protobuf::io::CodedInputStream* input) {
2243
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2244
892
  ::google::protobuf::uint32 tag;
2245
  // @@protoc_insertion_point(parse_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2246
892
  for (;;) {
2247
892
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2248
892
    tag = p.first;
2249
892
    if (!p.second) goto handle_unusual;
2250
892
  handle_unusual:
2251
892
    if (tag == 0) {
2252
892
      goto success;
2253
892
    }
2254
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
2255
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
2256
0
  }
2257
892
success:
2258
  // @@protoc_insertion_point(parse_success:yb.tserver.ListTabletsForTabletServerRequestPB)
2259
892
  return true;
2260
0
failure:
2261
  // @@protoc_insertion_point(parse_failure:yb.tserver.ListTabletsForTabletServerRequestPB)
2262
0
  return false;
2263
892
#undef DO_
2264
892
}
2265
2266
void ListTabletsForTabletServerRequestPB::SerializeWithCachedSizes(
2267
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2268
  // @@protoc_insertion_point(serialize_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2269
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2270
0
  (void) cached_has_bits;
2271
2272
0
  if (_internal_metadata_.have_unknown_fields()) {
2273
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2274
0
        _internal_metadata_.unknown_fields(), output);
2275
0
  }
2276
  // @@protoc_insertion_point(serialize_end:yb.tserver.ListTabletsForTabletServerRequestPB)
2277
0
}
2278
2279
::google::protobuf::uint8* ListTabletsForTabletServerRequestPB::InternalSerializeWithCachedSizesToArray(
2280
892
    bool deterministic, ::google::protobuf::uint8* target) const {
2281
892
  (void)deterministic; // Unused
2282
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2283
892
  ::google::protobuf::uint32 cached_has_bits = 0;
2284
892
  (void) cached_has_bits;
2285
2286
892
  if (_internal_metadata_.have_unknown_fields()) {
2287
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2288
0
        _internal_metadata_.unknown_fields(), target);
2289
0
  }
2290
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ListTabletsForTabletServerRequestPB)
2291
892
  return target;
2292
892
}
2293
2294
1.78k
size_t ListTabletsForTabletServerRequestPB::ByteSizeLong() const {
2295
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2296
1.78k
  size_t total_size = 0;
2297
2298
1.78k
  if (_internal_metadata_.have_unknown_fields()) {
2299
0
    total_size +=
2300
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2301
0
        _internal_metadata_.unknown_fields());
2302
0
  }
2303
1.78k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2304
1.78k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2305
1.78k
  _cached_size_ = cached_size;
2306
1.78k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2307
1.78k
  return total_size;
2308
1.78k
}
2309
2310
0
void ListTabletsForTabletServerRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
2311
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2312
0
  GOOGLE_DCHECK_NE(&from, this);
2313
0
  const ListTabletsForTabletServerRequestPB* source =
2314
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletsForTabletServerRequestPB>(
2315
0
          &from);
2316
0
  if (source == NULL) {
2317
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ListTabletsForTabletServerRequestPB)
2318
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2319
0
  } else {
2320
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ListTabletsForTabletServerRequestPB)
2321
0
    MergeFrom(*source);
2322
0
  }
2323
0
}
2324
2325
0
void ListTabletsForTabletServerRequestPB::MergeFrom(const ListTabletsForTabletServerRequestPB& from) {
2326
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2327
0
  GOOGLE_DCHECK_NE(&from, this);
2328
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2329
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2330
0
  (void) cached_has_bits;
2331
2332
0
}
2333
2334
0
void ListTabletsForTabletServerRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
2335
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2336
0
  if (&from == this) return;
2337
0
  Clear();
2338
0
  MergeFrom(from);
2339
0
}
2340
2341
0
void ListTabletsForTabletServerRequestPB::CopyFrom(const ListTabletsForTabletServerRequestPB& from) {
2342
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ListTabletsForTabletServerRequestPB)
2343
0
  if (&from == this) return;
2344
0
  Clear();
2345
0
  MergeFrom(from);
2346
0
}
2347
2348
1.78k
bool ListTabletsForTabletServerRequestPB::IsInitialized() const {
2349
1.78k
  return true;
2350
1.78k
}
2351
2352
0
void ListTabletsForTabletServerRequestPB::Swap(ListTabletsForTabletServerRequestPB* other) {
2353
0
  if (other == this) return;
2354
0
  InternalSwap(other);
2355
0
}
2356
0
void ListTabletsForTabletServerRequestPB::InternalSwap(ListTabletsForTabletServerRequestPB* other) {
2357
0
  using std::swap;
2358
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2359
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2360
0
  swap(_cached_size_, other->_cached_size_);
2361
0
}
2362
2363
892
::google::protobuf::Metadata ListTabletsForTabletServerRequestPB::GetMetadata() const {
2364
892
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
2365
892
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
2366
892
}
2367
2368
2369
// ===================================================================
2370
2371
15.8k
void ListTabletsForTabletServerResponsePB_Entry::InitAsDefaultInstance() {
2372
15.8k
}
2373
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2374
const int ListTabletsForTabletServerResponsePB_Entry::kTableNameFieldNumber;
2375
const int ListTabletsForTabletServerResponsePB_Entry::kTabletIdFieldNumber;
2376
const int ListTabletsForTabletServerResponsePB_Entry::kIsLeaderFieldNumber;
2377
const int ListTabletsForTabletServerResponsePB_Entry::kStateFieldNumber;
2378
const int ListTabletsForTabletServerResponsePB_Entry::kNumSstFilesFieldNumber;
2379
const int ListTabletsForTabletServerResponsePB_Entry::kNumLogSegmentsFieldNumber;
2380
const int ListTabletsForTabletServerResponsePB_Entry::kNumMemtablesIntentsFieldNumber;
2381
const int ListTabletsForTabletServerResponsePB_Entry::kNumMemtablesRegularFieldNumber;
2382
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2383
2384
ListTabletsForTabletServerResponsePB_Entry::ListTabletsForTabletServerResponsePB_Entry()
2385
26.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2386
10.9k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2387
10.9k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePB_Entry();
2388
10.9k
  }
2389
26.7k
  SharedCtor();
2390
  // @@protoc_insertion_point(constructor:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2391
26.7k
}
2392
ListTabletsForTabletServerResponsePB_Entry::ListTabletsForTabletServerResponsePB_Entry(const ListTabletsForTabletServerResponsePB_Entry& from)
2393
  : ::google::protobuf::Message(),
2394
      _internal_metadata_(NULL),
2395
      _has_bits_(from._has_bits_),
2396
3.77k
      _cached_size_(0) {
2397
3.77k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2398
3.77k
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2399
3.77k
  if (from.has_table_name()) {
2400
3.77k
    table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
2401
3.77k
  }
2402
3.77k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2403
3.77k
  if (from.has_tablet_id()) {
2404
3.77k
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
2405
3.77k
  }
2406
3.77k
  ::memcpy(&num_sst_files_, &from.num_sst_files_,
2407
3.77k
    static_cast<size_t>(reinterpret_cast<char*>(&state_) -
2408
3.77k
    reinterpret_cast<char*>(&num_sst_files_)) + sizeof(state_));
2409
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2410
3.77k
}
2411
2412
26.7k
void ListTabletsForTabletServerResponsePB_Entry::SharedCtor() {
2413
26.7k
  _cached_size_ = 0;
2414
26.7k
  table_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2415
26.7k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2416
26.7k
  ::memset(&num_sst_files_, 0, static_cast<size_t>(
2417
26.7k
      reinterpret_cast<char*>(&is_leader_) -
2418
26.7k
      reinterpret_cast<char*>(&num_sst_files_)) + sizeof(is_leader_));
2419
26.7k
  state_ = 999;
2420
26.7k
}
2421
2422
14.6k
ListTabletsForTabletServerResponsePB_Entry::~ListTabletsForTabletServerResponsePB_Entry() {
2423
  // @@protoc_insertion_point(destructor:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2424
14.6k
  SharedDtor();
2425
14.6k
}
2426
2427
14.6k
void ListTabletsForTabletServerResponsePB_Entry::SharedDtor() {
2428
14.6k
  table_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2429
14.6k
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2430
14.6k
}
2431
2432
0
void ListTabletsForTabletServerResponsePB_Entry::SetCachedSize(int size) const {
2433
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2434
0
  _cached_size_ = size;
2435
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2436
0
}
2437
0
const ::google::protobuf::Descriptor* ListTabletsForTabletServerResponsePB_Entry::descriptor() {
2438
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
2439
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2440
0
}
2441
2442
0
const ListTabletsForTabletServerResponsePB_Entry& ListTabletsForTabletServerResponsePB_Entry::default_instance() {
2443
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePB_Entry();
2444
0
  return *internal_default_instance();
2445
0
}
2446
2447
0
ListTabletsForTabletServerResponsePB_Entry* ListTabletsForTabletServerResponsePB_Entry::New(::google::protobuf::Arena* arena) const {
2448
0
  ListTabletsForTabletServerResponsePB_Entry* n = new ListTabletsForTabletServerResponsePB_Entry;
2449
0
  if (arena != NULL) {
2450
0
    arena->Own(n);
2451
0
  }
2452
0
  return n;
2453
0
}
2454
2455
0
void ListTabletsForTabletServerResponsePB_Entry::Clear() {
2456
// @@protoc_insertion_point(message_clear_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2457
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2458
  // Prevent compiler warnings about cached_has_bits being unused
2459
0
  (void) cached_has_bits;
2460
2461
0
  cached_has_bits = _has_bits_[0];
2462
0
  if (cached_has_bits & 3u) {
2463
0
    if (cached_has_bits & 0x00000001u) {
2464
0
      GOOGLE_DCHECK(!table_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2465
0
      (*table_name_.UnsafeRawStringPointer())->clear();
2466
0
    }
2467
0
    if (cached_has_bits & 0x00000002u) {
2468
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2469
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
2470
0
    }
2471
0
  }
2472
0
  if (cached_has_bits & 252u) {
2473
0
    ::memset(&num_sst_files_, 0, static_cast<size_t>(
2474
0
        reinterpret_cast<char*>(&is_leader_) -
2475
0
        reinterpret_cast<char*>(&num_sst_files_)) + sizeof(is_leader_));
2476
0
    state_ = 999;
2477
0
  }
2478
0
  _has_bits_.Clear();
2479
0
  _internal_metadata_.Clear();
2480
0
}
2481
2482
bool ListTabletsForTabletServerResponsePB_Entry::MergePartialFromCodedStream(
2483
3.77k
    ::google::protobuf::io::CodedInputStream* input) {
2484
30.1k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2485
3.77k
  ::google::protobuf::uint32 tag;
2486
  // @@protoc_insertion_point(parse_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2487
33.9k
  for (;;) {
2488
33.9k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2489
33.9k
    tag = p.first;
2490
33.9k
    if (!p.second) goto handle_unusual;
2491
30.1k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2492
      // optional string table_name = 1;
2493
3.77k
      case 1: {
2494
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2495
3.77k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2496
3.77k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2497
3.77k
                input, this->mutable_table_name()));
2498
3.77k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2499
3.77k
            this->table_name().data(), static_cast<int>(this->table_name().length()),
2500
3.77k
            ::google::protobuf::internal::WireFormat::PARSE,
2501
3.77k
            "yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name");
2502
0
        } else {
2503
0
          goto handle_unusual;
2504
0
        }
2505
3.77k
        break;
2506
3.77k
      }
2507
2508
      // optional bytes tablet_id = 2;
2509
3.77k
      case 2: {
2510
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2511
3.77k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2512
3.77k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2513
3.77k
                input, this->mutable_tablet_id()));
2514
0
        } else {
2515
0
          goto handle_unusual;
2516
0
        }
2517
3.77k
        break;
2518
3.77k
      }
2519
2520
      // optional bool is_leader = 3;
2521
3.77k
      case 3: {
2522
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2523
3.77k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
2524
3.77k
          set_has_is_leader();
2525
3.77k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2526
3.77k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
2527
3.77k
                 input, &is_leader_)));
2528
0
        } else {
2529
0
          goto handle_unusual;
2530
0
        }
2531
3.77k
        break;
2532
3.77k
      }
2533
2534
      // optional .yb.tablet.RaftGroupStatePB state = 4;
2535
3.77k
      case 4: {
2536
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2537
3.77k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
2538
3.77k
          int value;
2539
3.77k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2540
3.77k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2541
3.77k
                 input, &value)));
2542
3.77k
          if (::yb::tablet::RaftGroupStatePB_IsValid(value)) {
2543
3.77k
            set_state(static_cast< ::yb::tablet::RaftGroupStatePB >(value));
2544
0
          } else {
2545
0
            mutable_unknown_fields()->AddVarint(
2546
0
                4, static_cast< ::google::protobuf::uint64>(value));
2547
0
          }
2548
0
        } else {
2549
0
          goto handle_unusual;
2550
0
        }
2551
3.77k
        break;
2552
3.77k
      }
2553
2554
      // optional uint64 num_sst_files = 5;
2555
3.77k
      case 5: {
2556
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2557
3.77k
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
2558
3.77k
          set_has_num_sst_files();
2559
3.77k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2560
3.77k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2561
3.77k
                 input, &num_sst_files_)));
2562
0
        } else {
2563
0
          goto handle_unusual;
2564
0
        }
2565
3.77k
        break;
2566
3.77k
      }
2567
2568
      // optional uint64 num_log_segments = 6;
2569
3.77k
      case 6: {
2570
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2571
3.77k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
2572
3.77k
          set_has_num_log_segments();
2573
3.77k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2574
3.77k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2575
3.77k
                 input, &num_log_segments_)));
2576
0
        } else {
2577
0
          goto handle_unusual;
2578
0
        }
2579
3.77k
        break;
2580
3.77k
      }
2581
2582
      // optional uint64 num_memtables_intents = 7;
2583
3.77k
      case 7: {
2584
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2585
3.77k
            static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {
2586
3.77k
          set_has_num_memtables_intents();
2587
3.77k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2588
3.77k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2589
3.77k
                 input, &num_memtables_intents_)));
2590
0
        } else {
2591
0
          goto handle_unusual;
2592
0
        }
2593
3.77k
        break;
2594
3.77k
      }
2595
2596
      // optional uint64 num_memtables_regular = 8;
2597
3.77k
      case 8: {
2598
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2599
3.77k
            static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) {
2600
3.77k
          set_has_num_memtables_regular();
2601
3.77k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2602
3.77k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2603
3.77k
                 input, &num_memtables_regular_)));
2604
0
        } else {
2605
0
          goto handle_unusual;
2606
0
        }
2607
3.77k
        break;
2608
3.77k
      }
2609
2610
0
      default: {
2611
3.77k
      handle_unusual:
2612
3.77k
        if (tag == 0) {
2613
3.77k
          goto success;
2614
3.77k
        }
2615
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2616
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2617
0
        break;
2618
0
      }
2619
30.1k
    }
2620
30.1k
  }
2621
3.77k
success:
2622
  // @@protoc_insertion_point(parse_success:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2623
3.77k
  return true;
2624
0
failure:
2625
  // @@protoc_insertion_point(parse_failure:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2626
0
  return false;
2627
3.77k
#undef DO_
2628
3.77k
}
2629
2630
void ListTabletsForTabletServerResponsePB_Entry::SerializeWithCachedSizes(
2631
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2632
  // @@protoc_insertion_point(serialize_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2633
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2634
0
  (void) cached_has_bits;
2635
2636
0
  cached_has_bits = _has_bits_[0];
2637
  // optional string table_name = 1;
2638
0
  if (cached_has_bits & 0x00000001u) {
2639
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2640
0
      this->table_name().data(), static_cast<int>(this->table_name().length()),
2641
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
2642
0
      "yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name");
2643
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2644
0
      1, this->table_name(), output);
2645
0
  }
2646
2647
  // optional bytes tablet_id = 2;
2648
0
  if (cached_has_bits & 0x00000002u) {
2649
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2650
0
      2, this->tablet_id(), output);
2651
0
  }
2652
2653
  // optional bool is_leader = 3;
2654
0
  if (cached_has_bits & 0x00000040u) {
2655
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_leader(), output);
2656
0
  }
2657
2658
  // optional .yb.tablet.RaftGroupStatePB state = 4;
2659
0
  if (cached_has_bits & 0x00000080u) {
2660
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
2661
0
      4, this->state(), output);
2662
0
  }
2663
2664
  // optional uint64 num_sst_files = 5;
2665
0
  if (cached_has_bits & 0x00000004u) {
2666
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(5, this->num_sst_files(), output);
2667
0
  }
2668
2669
  // optional uint64 num_log_segments = 6;
2670
0
  if (cached_has_bits & 0x00000008u) {
2671
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->num_log_segments(), output);
2672
0
  }
2673
2674
  // optional uint64 num_memtables_intents = 7;
2675
0
  if (cached_has_bits & 0x00000010u) {
2676
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(7, this->num_memtables_intents(), output);
2677
0
  }
2678
2679
  // optional uint64 num_memtables_regular = 8;
2680
0
  if (cached_has_bits & 0x00000020u) {
2681
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->num_memtables_regular(), output);
2682
0
  }
2683
2684
0
  if (_internal_metadata_.have_unknown_fields()) {
2685
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2686
0
        _internal_metadata_.unknown_fields(), output);
2687
0
  }
2688
  // @@protoc_insertion_point(serialize_end:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2689
0
}
2690
2691
::google::protobuf::uint8* ListTabletsForTabletServerResponsePB_Entry::InternalSerializeWithCachedSizesToArray(
2692
3.77k
    bool deterministic, ::google::protobuf::uint8* target) const {
2693
3.77k
  (void)deterministic; // Unused
2694
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2695
3.77k
  ::google::protobuf::uint32 cached_has_bits = 0;
2696
3.77k
  (void) cached_has_bits;
2697
2698
3.77k
  cached_has_bits = _has_bits_[0];
2699
  // optional string table_name = 1;
2700
3.77k
  if (cached_has_bits & 0x00000001u) {
2701
3.77k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2702
3.77k
      this->table_name().data(), static_cast<int>(this->table_name().length()),
2703
3.77k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
2704
3.77k
      "yb.tserver.ListTabletsForTabletServerResponsePB.Entry.table_name");
2705
3.77k
    target =
2706
3.77k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2707
3.77k
        1, this->table_name(), target);
2708
3.77k
  }
2709
2710
  // optional bytes tablet_id = 2;
2711
3.77k
  if (cached_has_bits & 0x00000002u) {
2712
3.77k
    target =
2713
3.77k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2714
3.77k
        2, this->tablet_id(), target);
2715
3.77k
  }
2716
2717
  // optional bool is_leader = 3;
2718
3.77k
  if (cached_has_bits & 0x00000040u) {
2719
3.77k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_leader(), target);
2720
3.77k
  }
2721
2722
  // optional .yb.tablet.RaftGroupStatePB state = 4;
2723
3.77k
  if (cached_has_bits & 0x00000080u) {
2724
3.77k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2725
3.77k
      4, this->state(), target);
2726
3.77k
  }
2727
2728
  // optional uint64 num_sst_files = 5;
2729
3.77k
  if (cached_has_bits & 0x00000004u) {
2730
3.77k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(5, this->num_sst_files(), target);
2731
3.77k
  }
2732
2733
  // optional uint64 num_log_segments = 6;
2734
3.77k
  if (cached_has_bits & 0x00000008u) {
2735
3.77k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->num_log_segments(), target);
2736
3.77k
  }
2737
2738
  // optional uint64 num_memtables_intents = 7;
2739
3.77k
  if (cached_has_bits & 0x00000010u) {
2740
3.77k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(7, this->num_memtables_intents(), target);
2741
3.77k
  }
2742
2743
  // optional uint64 num_memtables_regular = 8;
2744
3.77k
  if (cached_has_bits & 0x00000020u) {
2745
3.77k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->num_memtables_regular(), target);
2746
3.77k
  }
2747
2748
3.77k
  if (_internal_metadata_.have_unknown_fields()) {
2749
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2750
0
        _internal_metadata_.unknown_fields(), target);
2751
0
  }
2752
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2753
3.77k
  return target;
2754
3.77k
}
2755
2756
7.54k
size_t ListTabletsForTabletServerResponsePB_Entry::ByteSizeLong() const {
2757
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2758
7.54k
  size_t total_size = 0;
2759
2760
7.54k
  if (_internal_metadata_.have_unknown_fields()) {
2761
0
    total_size +=
2762
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2763
0
        _internal_metadata_.unknown_fields());
2764
0
  }
2765
7.54k
  if (_has_bits_[0 / 32] & 255u) {
2766
    // optional string table_name = 1;
2767
7.54k
    if (has_table_name()) {
2768
7.54k
      total_size += 1 +
2769
7.54k
        ::google::protobuf::internal::WireFormatLite::StringSize(
2770
7.54k
          this->table_name());
2771
7.54k
    }
2772
2773
    // optional bytes tablet_id = 2;
2774
7.54k
    if (has_tablet_id()) {
2775
7.54k
      total_size += 1 +
2776
7.54k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
2777
7.54k
          this->tablet_id());
2778
7.54k
    }
2779
2780
    // optional uint64 num_sst_files = 5;
2781
7.54k
    if (has_num_sst_files()) {
2782
7.54k
      total_size += 1 +
2783
7.54k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
2784
7.54k
          this->num_sst_files());
2785
7.54k
    }
2786
2787
    // optional uint64 num_log_segments = 6;
2788
7.54k
    if (has_num_log_segments()) {
2789
7.54k
      total_size += 1 +
2790
7.54k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
2791
7.54k
          this->num_log_segments());
2792
7.54k
    }
2793
2794
    // optional uint64 num_memtables_intents = 7;
2795
7.54k
    if (has_num_memtables_intents()) {
2796
7.54k
      total_size += 1 +
2797
7.54k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
2798
7.54k
          this->num_memtables_intents());
2799
7.54k
    }
2800
2801
    // optional uint64 num_memtables_regular = 8;
2802
7.54k
    if (has_num_memtables_regular()) {
2803
7.54k
      total_size += 1 +
2804
7.54k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
2805
7.54k
          this->num_memtables_regular());
2806
7.54k
    }
2807
2808
    // optional bool is_leader = 3;
2809
7.54k
    if (has_is_leader()) {
2810
7.54k
      total_size += 1 + 1;
2811
7.54k
    }
2812
2813
    // optional .yb.tablet.RaftGroupStatePB state = 4;
2814
7.54k
    if (has_state()) {
2815
7.54k
      total_size += 1 +
2816
7.54k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->state());
2817
7.54k
    }
2818
2819
7.54k
  }
2820
7.54k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2821
7.54k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2822
7.54k
  _cached_size_ = cached_size;
2823
7.54k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2824
7.54k
  return total_size;
2825
7.54k
}
2826
2827
0
void ListTabletsForTabletServerResponsePB_Entry::MergeFrom(const ::google::protobuf::Message& from) {
2828
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2829
0
  GOOGLE_DCHECK_NE(&from, this);
2830
0
  const ListTabletsForTabletServerResponsePB_Entry* source =
2831
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletsForTabletServerResponsePB_Entry>(
2832
0
          &from);
2833
0
  if (source == NULL) {
2834
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2835
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2836
0
  } else {
2837
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2838
0
    MergeFrom(*source);
2839
0
  }
2840
0
}
2841
2842
0
void ListTabletsForTabletServerResponsePB_Entry::MergeFrom(const ListTabletsForTabletServerResponsePB_Entry& from) {
2843
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2844
0
  GOOGLE_DCHECK_NE(&from, this);
2845
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2846
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2847
0
  (void) cached_has_bits;
2848
2849
0
  cached_has_bits = from._has_bits_[0];
2850
0
  if (cached_has_bits & 255u) {
2851
0
    if (cached_has_bits & 0x00000001u) {
2852
0
      set_has_table_name();
2853
0
      table_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.table_name_);
2854
0
    }
2855
0
    if (cached_has_bits & 0x00000002u) {
2856
0
      set_has_tablet_id();
2857
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
2858
0
    }
2859
0
    if (cached_has_bits & 0x00000004u) {
2860
0
      num_sst_files_ = from.num_sst_files_;
2861
0
    }
2862
0
    if (cached_has_bits & 0x00000008u) {
2863
0
      num_log_segments_ = from.num_log_segments_;
2864
0
    }
2865
0
    if (cached_has_bits & 0x00000010u) {
2866
0
      num_memtables_intents_ = from.num_memtables_intents_;
2867
0
    }
2868
0
    if (cached_has_bits & 0x00000020u) {
2869
0
      num_memtables_regular_ = from.num_memtables_regular_;
2870
0
    }
2871
0
    if (cached_has_bits & 0x00000040u) {
2872
0
      is_leader_ = from.is_leader_;
2873
0
    }
2874
0
    if (cached_has_bits & 0x00000080u) {
2875
0
      state_ = from.state_;
2876
0
    }
2877
0
    _has_bits_[0] |= cached_has_bits;
2878
0
  }
2879
0
}
2880
2881
0
void ListTabletsForTabletServerResponsePB_Entry::CopyFrom(const ::google::protobuf::Message& from) {
2882
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2883
0
  if (&from == this) return;
2884
0
  Clear();
2885
0
  MergeFrom(from);
2886
0
}
2887
2888
0
void ListTabletsForTabletServerResponsePB_Entry::CopyFrom(const ListTabletsForTabletServerResponsePB_Entry& from) {
2889
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ListTabletsForTabletServerResponsePB.Entry)
2890
0
  if (&from == this) return;
2891
0
  Clear();
2892
0
  MergeFrom(from);
2893
0
}
2894
2895
0
bool ListTabletsForTabletServerResponsePB_Entry::IsInitialized() const {
2896
0
  return true;
2897
0
}
2898
2899
0
void ListTabletsForTabletServerResponsePB_Entry::Swap(ListTabletsForTabletServerResponsePB_Entry* other) {
2900
0
  if (other == this) return;
2901
0
  InternalSwap(other);
2902
0
}
2903
3.37k
void ListTabletsForTabletServerResponsePB_Entry::InternalSwap(ListTabletsForTabletServerResponsePB_Entry* other) {
2904
3.37k
  using std::swap;
2905
3.37k
  table_name_.Swap(&other->table_name_);
2906
3.37k
  tablet_id_.Swap(&other->tablet_id_);
2907
3.37k
  swap(num_sst_files_, other->num_sst_files_);
2908
3.37k
  swap(num_log_segments_, other->num_log_segments_);
2909
3.37k
  swap(num_memtables_intents_, other->num_memtables_intents_);
2910
3.37k
  swap(num_memtables_regular_, other->num_memtables_regular_);
2911
3.37k
  swap(is_leader_, other->is_leader_);
2912
3.37k
  swap(state_, other->state_);
2913
3.37k
  swap(_has_bits_[0], other->_has_bits_[0]);
2914
3.37k
  _internal_metadata_.Swap(&other->_internal_metadata_);
2915
3.37k
  swap(_cached_size_, other->_cached_size_);
2916
3.37k
}
2917
2918
0
::google::protobuf::Metadata ListTabletsForTabletServerResponsePB_Entry::GetMetadata() const {
2919
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
2920
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
2921
0
}
2922
2923
2924
// ===================================================================
2925
2926
15.8k
void ListTabletsForTabletServerResponsePB::InitAsDefaultInstance() {
2927
15.8k
}
2928
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2929
const int ListTabletsForTabletServerResponsePB::kEntriesFieldNumber;
2930
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2931
2932
ListTabletsForTabletServerResponsePB::ListTabletsForTabletServerResponsePB()
2933
17.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2934
1.78k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2935
1.78k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePB();
2936
1.78k
  }
2937
17.6k
  SharedCtor();
2938
  // @@protoc_insertion_point(constructor:yb.tserver.ListTabletsForTabletServerResponsePB)
2939
17.6k
}
2940
ListTabletsForTabletServerResponsePB::ListTabletsForTabletServerResponsePB(const ListTabletsForTabletServerResponsePB& from)
2941
  : ::google::protobuf::Message(),
2942
      _internal_metadata_(NULL),
2943
      _has_bits_(from._has_bits_),
2944
      _cached_size_(0),
2945
0
      entries_(from.entries_) {
2946
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2947
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ListTabletsForTabletServerResponsePB)
2948
0
}
2949
2950
17.6k
void ListTabletsForTabletServerResponsePB::SharedCtor() {
2951
17.6k
  _cached_size_ = 0;
2952
17.6k
}
2953
2954
1.78k
ListTabletsForTabletServerResponsePB::~ListTabletsForTabletServerResponsePB() {
2955
  // @@protoc_insertion_point(destructor:yb.tserver.ListTabletsForTabletServerResponsePB)
2956
1.78k
  SharedDtor();
2957
1.78k
}
2958
2959
1.78k
void ListTabletsForTabletServerResponsePB::SharedDtor() {
2960
1.78k
}
2961
2962
0
void ListTabletsForTabletServerResponsePB::SetCachedSize(int size) const {
2963
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2964
0
  _cached_size_ = size;
2965
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2966
0
}
2967
0
const ::google::protobuf::Descriptor* ListTabletsForTabletServerResponsePB::descriptor() {
2968
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
2969
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2970
0
}
2971
2972
0
const ListTabletsForTabletServerResponsePB& ListTabletsForTabletServerResponsePB::default_instance() {
2973
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsListTabletsForTabletServerResponsePB();
2974
0
  return *internal_default_instance();
2975
0
}
2976
2977
0
ListTabletsForTabletServerResponsePB* ListTabletsForTabletServerResponsePB::New(::google::protobuf::Arena* arena) const {
2978
0
  ListTabletsForTabletServerResponsePB* n = new ListTabletsForTabletServerResponsePB;
2979
0
  if (arena != NULL) {
2980
0
    arena->Own(n);
2981
0
  }
2982
0
  return n;
2983
0
}
2984
2985
892
void ListTabletsForTabletServerResponsePB::Clear() {
2986
// @@protoc_insertion_point(message_clear_start:yb.tserver.ListTabletsForTabletServerResponsePB)
2987
892
  ::google::protobuf::uint32 cached_has_bits = 0;
2988
  // Prevent compiler warnings about cached_has_bits being unused
2989
892
  (void) cached_has_bits;
2990
2991
892
  entries_.Clear();
2992
892
  _has_bits_.Clear();
2993
892
  _internal_metadata_.Clear();
2994
892
}
2995
2996
bool ListTabletsForTabletServerResponsePB::MergePartialFromCodedStream(
2997
892
    ::google::protobuf::io::CodedInputStream* input) {
2998
3.77k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2999
892
  ::google::protobuf::uint32 tag;
3000
  // @@protoc_insertion_point(parse_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3001
4.66k
  for (;;) {
3002
4.66k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3003
4.66k
    tag = p.first;
3004
4.66k
    if (!p.second) goto handle_unusual;
3005
3.77k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3006
      // repeated .yb.tserver.ListTabletsForTabletServerResponsePB.Entry entries = 1;
3007
3.77k
      case 1: {
3008
3.77k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3009
3.77k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3010
3.77k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_entries()));
3011
0
        } else {
3012
0
          goto handle_unusual;
3013
0
        }
3014
3.77k
        break;
3015
892
      }
3016
3017
0
      default: {
3018
892
      handle_unusual:
3019
892
        if (tag == 0) {
3020
892
          goto success;
3021
892
        }
3022
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3023
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3024
0
        break;
3025
0
      }
3026
3.77k
    }
3027
3.77k
  }
3028
892
success:
3029
  // @@protoc_insertion_point(parse_success:yb.tserver.ListTabletsForTabletServerResponsePB)
3030
892
  return true;
3031
0
failure:
3032
  // @@protoc_insertion_point(parse_failure:yb.tserver.ListTabletsForTabletServerResponsePB)
3033
0
  return false;
3034
892
#undef DO_
3035
892
}
3036
3037
void ListTabletsForTabletServerResponsePB::SerializeWithCachedSizes(
3038
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3039
  // @@protoc_insertion_point(serialize_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3040
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3041
0
  (void) cached_has_bits;
3042
3043
  // repeated .yb.tserver.ListTabletsForTabletServerResponsePB.Entry entries = 1;
3044
0
  for (unsigned int i = 0,
3045
0
      n = static_cast<unsigned int>(this->entries_size()); i < n; i++) {
3046
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3047
0
      1, this->entries(static_cast<int>(i)), output);
3048
0
  }
3049
3050
0
  if (_internal_metadata_.have_unknown_fields()) {
3051
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3052
0
        _internal_metadata_.unknown_fields(), output);
3053
0
  }
3054
  // @@protoc_insertion_point(serialize_end:yb.tserver.ListTabletsForTabletServerResponsePB)
3055
0
}
3056
3057
::google::protobuf::uint8* ListTabletsForTabletServerResponsePB::InternalSerializeWithCachedSizesToArray(
3058
892
    bool deterministic, ::google::protobuf::uint8* target) const {
3059
892
  (void)deterministic; // Unused
3060
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3061
892
  ::google::protobuf::uint32 cached_has_bits = 0;
3062
892
  (void) cached_has_bits;
3063
3064
  // repeated .yb.tserver.ListTabletsForTabletServerResponsePB.Entry entries = 1;
3065
892
  for (unsigned int i = 0,
3066
4.66k
      n = static_cast<unsigned int>(this->entries_size()); i < n; i++) {
3067
3.77k
    target = ::google::protobuf::internal::WireFormatLite::
3068
3.77k
      InternalWriteMessageToArray(
3069
3.77k
        1, this->entries(static_cast<int>(i)), deterministic, target);
3070
3.77k
  }
3071
3072
892
  if (_internal_metadata_.have_unknown_fields()) {
3073
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3074
0
        _internal_metadata_.unknown_fields(), target);
3075
0
  }
3076
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ListTabletsForTabletServerResponsePB)
3077
892
  return target;
3078
892
}
3079
3080
1.78k
size_t ListTabletsForTabletServerResponsePB::ByteSizeLong() const {
3081
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3082
1.78k
  size_t total_size = 0;
3083
3084
1.78k
  if (_internal_metadata_.have_unknown_fields()) {
3085
0
    total_size +=
3086
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3087
0
        _internal_metadata_.unknown_fields());
3088
0
  }
3089
  // repeated .yb.tserver.ListTabletsForTabletServerResponsePB.Entry entries = 1;
3090
1.78k
  {
3091
1.78k
    unsigned int count = static_cast<unsigned int>(this->entries_size());
3092
1.78k
    total_size += 1UL * count;
3093
9.33k
    for (unsigned int i = 0; i < count; i++) {
3094
7.54k
      total_size +=
3095
7.54k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3096
7.54k
          this->entries(static_cast<int>(i)));
3097
7.54k
    }
3098
1.78k
  }
3099
3100
1.78k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3101
1.78k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3102
1.78k
  _cached_size_ = cached_size;
3103
1.78k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3104
1.78k
  return total_size;
3105
1.78k
}
3106
3107
0
void ListTabletsForTabletServerResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3108
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3109
0
  GOOGLE_DCHECK_NE(&from, this);
3110
0
  const ListTabletsForTabletServerResponsePB* source =
3111
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletsForTabletServerResponsePB>(
3112
0
          &from);
3113
0
  if (source == NULL) {
3114
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ListTabletsForTabletServerResponsePB)
3115
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3116
0
  } else {
3117
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ListTabletsForTabletServerResponsePB)
3118
0
    MergeFrom(*source);
3119
0
  }
3120
0
}
3121
3122
0
void ListTabletsForTabletServerResponsePB::MergeFrom(const ListTabletsForTabletServerResponsePB& from) {
3123
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3124
0
  GOOGLE_DCHECK_NE(&from, this);
3125
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3126
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3127
0
  (void) cached_has_bits;
3128
3129
0
  entries_.MergeFrom(from.entries_);
3130
0
}
3131
3132
0
void ListTabletsForTabletServerResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3133
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3134
0
  if (&from == this) return;
3135
0
  Clear();
3136
0
  MergeFrom(from);
3137
0
}
3138
3139
0
void ListTabletsForTabletServerResponsePB::CopyFrom(const ListTabletsForTabletServerResponsePB& from) {
3140
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ListTabletsForTabletServerResponsePB)
3141
0
  if (&from == this) return;
3142
0
  Clear();
3143
0
  MergeFrom(from);
3144
0
}
3145
3146
1.78k
bool ListTabletsForTabletServerResponsePB::IsInitialized() const {
3147
1.78k
  return true;
3148
1.78k
}
3149
3150
0
void ListTabletsForTabletServerResponsePB::Swap(ListTabletsForTabletServerResponsePB* other) {
3151
0
  if (other == this) return;
3152
0
  InternalSwap(other);
3153
0
}
3154
0
void ListTabletsForTabletServerResponsePB::InternalSwap(ListTabletsForTabletServerResponsePB* other) {
3155
0
  using std::swap;
3156
0
  entries_.InternalSwap(&other->entries_);
3157
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3158
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3159
0
  swap(_cached_size_, other->_cached_size_);
3160
0
}
3161
3162
0
::google::protobuf::Metadata ListTabletsForTabletServerResponsePB::GetMetadata() const {
3163
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
3164
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
3165
0
}
3166
3167
3168
// ===================================================================
3169
3170
15.8k
void ImportDataRequestPB::InitAsDefaultInstance() {
3171
15.8k
}
3172
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3173
const int ImportDataRequestPB::kTabletIdFieldNumber;
3174
const int ImportDataRequestPB::kSourceDirFieldNumber;
3175
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3176
3177
ImportDataRequestPB::ImportDataRequestPB()
3178
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3179
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3180
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsImportDataRequestPB();
3181
0
  }
3182
15.8k
  SharedCtor();
3183
  // @@protoc_insertion_point(constructor:yb.tserver.ImportDataRequestPB)
3184
15.8k
}
3185
ImportDataRequestPB::ImportDataRequestPB(const ImportDataRequestPB& from)
3186
  : ::google::protobuf::Message(),
3187
      _internal_metadata_(NULL),
3188
      _has_bits_(from._has_bits_),
3189
0
      _cached_size_(0) {
3190
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3191
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3192
0
  if (from.has_tablet_id()) {
3193
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
3194
0
  }
3195
0
  source_dir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3196
0
  if (from.has_source_dir()) {
3197
0
    source_dir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_dir_);
3198
0
  }
3199
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ImportDataRequestPB)
3200
0
}
3201
3202
15.8k
void ImportDataRequestPB::SharedCtor() {
3203
15.8k
  _cached_size_ = 0;
3204
15.8k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3205
15.8k
  source_dir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3206
15.8k
}
3207
3208
0
ImportDataRequestPB::~ImportDataRequestPB() {
3209
  // @@protoc_insertion_point(destructor:yb.tserver.ImportDataRequestPB)
3210
0
  SharedDtor();
3211
0
}
3212
3213
0
void ImportDataRequestPB::SharedDtor() {
3214
0
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3215
0
  source_dir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3216
0
}
3217
3218
0
void ImportDataRequestPB::SetCachedSize(int size) const {
3219
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3220
0
  _cached_size_ = size;
3221
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3222
0
}
3223
0
const ::google::protobuf::Descriptor* ImportDataRequestPB::descriptor() {
3224
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
3225
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3226
0
}
3227
3228
0
const ImportDataRequestPB& ImportDataRequestPB::default_instance() {
3229
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsImportDataRequestPB();
3230
0
  return *internal_default_instance();
3231
0
}
3232
3233
0
ImportDataRequestPB* ImportDataRequestPB::New(::google::protobuf::Arena* arena) const {
3234
0
  ImportDataRequestPB* n = new ImportDataRequestPB;
3235
0
  if (arena != NULL) {
3236
0
    arena->Own(n);
3237
0
  }
3238
0
  return n;
3239
0
}
3240
3241
0
void ImportDataRequestPB::Clear() {
3242
// @@protoc_insertion_point(message_clear_start:yb.tserver.ImportDataRequestPB)
3243
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3244
  // Prevent compiler warnings about cached_has_bits being unused
3245
0
  (void) cached_has_bits;
3246
3247
0
  cached_has_bits = _has_bits_[0];
3248
0
  if (cached_has_bits & 3u) {
3249
0
    if (cached_has_bits & 0x00000001u) {
3250
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3251
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
3252
0
    }
3253
0
    if (cached_has_bits & 0x00000002u) {
3254
0
      GOOGLE_DCHECK(!source_dir_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3255
0
      (*source_dir_.UnsafeRawStringPointer())->clear();
3256
0
    }
3257
0
  }
3258
0
  _has_bits_.Clear();
3259
0
  _internal_metadata_.Clear();
3260
0
}
3261
3262
bool ImportDataRequestPB::MergePartialFromCodedStream(
3263
0
    ::google::protobuf::io::CodedInputStream* input) {
3264
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3265
0
  ::google::protobuf::uint32 tag;
3266
  // @@protoc_insertion_point(parse_start:yb.tserver.ImportDataRequestPB)
3267
0
  for (;;) {
3268
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3269
0
    tag = p.first;
3270
0
    if (!p.second) goto handle_unusual;
3271
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3272
      // optional string tablet_id = 1;
3273
0
      case 1: {
3274
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3275
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3276
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3277
0
                input, this->mutable_tablet_id()));
3278
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3279
0
            this->tablet_id().data(), static_cast<int>(this->tablet_id().length()),
3280
0
            ::google::protobuf::internal::WireFormat::PARSE,
3281
0
            "yb.tserver.ImportDataRequestPB.tablet_id");
3282
0
        } else {
3283
0
          goto handle_unusual;
3284
0
        }
3285
0
        break;
3286
0
      }
3287
3288
      // optional string source_dir = 2;
3289
0
      case 2: {
3290
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3291
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3292
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
3293
0
                input, this->mutable_source_dir()));
3294
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3295
0
            this->source_dir().data(), static_cast<int>(this->source_dir().length()),
3296
0
            ::google::protobuf::internal::WireFormat::PARSE,
3297
0
            "yb.tserver.ImportDataRequestPB.source_dir");
3298
0
        } else {
3299
0
          goto handle_unusual;
3300
0
        }
3301
0
        break;
3302
0
      }
3303
3304
0
      default: {
3305
0
      handle_unusual:
3306
0
        if (tag == 0) {
3307
0
          goto success;
3308
0
        }
3309
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3310
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3311
0
        break;
3312
0
      }
3313
0
    }
3314
0
  }
3315
0
success:
3316
  // @@protoc_insertion_point(parse_success:yb.tserver.ImportDataRequestPB)
3317
0
  return true;
3318
0
failure:
3319
  // @@protoc_insertion_point(parse_failure:yb.tserver.ImportDataRequestPB)
3320
0
  return false;
3321
0
#undef DO_
3322
0
}
3323
3324
void ImportDataRequestPB::SerializeWithCachedSizes(
3325
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3326
  // @@protoc_insertion_point(serialize_start:yb.tserver.ImportDataRequestPB)
3327
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3328
0
  (void) cached_has_bits;
3329
3330
0
  cached_has_bits = _has_bits_[0];
3331
  // optional string tablet_id = 1;
3332
0
  if (cached_has_bits & 0x00000001u) {
3333
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3334
0
      this->tablet_id().data(), static_cast<int>(this->tablet_id().length()),
3335
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3336
0
      "yb.tserver.ImportDataRequestPB.tablet_id");
3337
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3338
0
      1, this->tablet_id(), output);
3339
0
  }
3340
3341
  // optional string source_dir = 2;
3342
0
  if (cached_has_bits & 0x00000002u) {
3343
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3344
0
      this->source_dir().data(), static_cast<int>(this->source_dir().length()),
3345
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3346
0
      "yb.tserver.ImportDataRequestPB.source_dir");
3347
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
3348
0
      2, this->source_dir(), output);
3349
0
  }
3350
3351
0
  if (_internal_metadata_.have_unknown_fields()) {
3352
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3353
0
        _internal_metadata_.unknown_fields(), output);
3354
0
  }
3355
  // @@protoc_insertion_point(serialize_end:yb.tserver.ImportDataRequestPB)
3356
0
}
3357
3358
::google::protobuf::uint8* ImportDataRequestPB::InternalSerializeWithCachedSizesToArray(
3359
0
    bool deterministic, ::google::protobuf::uint8* target) const {
3360
0
  (void)deterministic; // Unused
3361
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ImportDataRequestPB)
3362
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3363
0
  (void) cached_has_bits;
3364
3365
0
  cached_has_bits = _has_bits_[0];
3366
  // optional string tablet_id = 1;
3367
0
  if (cached_has_bits & 0x00000001u) {
3368
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3369
0
      this->tablet_id().data(), static_cast<int>(this->tablet_id().length()),
3370
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3371
0
      "yb.tserver.ImportDataRequestPB.tablet_id");
3372
0
    target =
3373
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3374
0
        1, this->tablet_id(), target);
3375
0
  }
3376
3377
  // optional string source_dir = 2;
3378
0
  if (cached_has_bits & 0x00000002u) {
3379
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
3380
0
      this->source_dir().data(), static_cast<int>(this->source_dir().length()),
3381
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
3382
0
      "yb.tserver.ImportDataRequestPB.source_dir");
3383
0
    target =
3384
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3385
0
        2, this->source_dir(), target);
3386
0
  }
3387
3388
0
  if (_internal_metadata_.have_unknown_fields()) {
3389
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3390
0
        _internal_metadata_.unknown_fields(), target);
3391
0
  }
3392
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ImportDataRequestPB)
3393
0
  return target;
3394
0
}
3395
3396
0
size_t ImportDataRequestPB::ByteSizeLong() const {
3397
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ImportDataRequestPB)
3398
0
  size_t total_size = 0;
3399
3400
0
  if (_internal_metadata_.have_unknown_fields()) {
3401
0
    total_size +=
3402
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3403
0
        _internal_metadata_.unknown_fields());
3404
0
  }
3405
0
  if (_has_bits_[0 / 32] & 3u) {
3406
    // optional string tablet_id = 1;
3407
0
    if (has_tablet_id()) {
3408
0
      total_size += 1 +
3409
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
3410
0
          this->tablet_id());
3411
0
    }
3412
3413
    // optional string source_dir = 2;
3414
0
    if (has_source_dir()) {
3415
0
      total_size += 1 +
3416
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
3417
0
          this->source_dir());
3418
0
    }
3419
3420
0
  }
3421
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3422
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3423
0
  _cached_size_ = cached_size;
3424
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3425
0
  return total_size;
3426
0
}
3427
3428
0
void ImportDataRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
3429
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ImportDataRequestPB)
3430
0
  GOOGLE_DCHECK_NE(&from, this);
3431
0
  const ImportDataRequestPB* source =
3432
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ImportDataRequestPB>(
3433
0
          &from);
3434
0
  if (source == NULL) {
3435
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ImportDataRequestPB)
3436
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3437
0
  } else {
3438
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ImportDataRequestPB)
3439
0
    MergeFrom(*source);
3440
0
  }
3441
0
}
3442
3443
0
void ImportDataRequestPB::MergeFrom(const ImportDataRequestPB& from) {
3444
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ImportDataRequestPB)
3445
0
  GOOGLE_DCHECK_NE(&from, this);
3446
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3447
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3448
0
  (void) cached_has_bits;
3449
3450
0
  cached_has_bits = from._has_bits_[0];
3451
0
  if (cached_has_bits & 3u) {
3452
0
    if (cached_has_bits & 0x00000001u) {
3453
0
      set_has_tablet_id();
3454
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
3455
0
    }
3456
0
    if (cached_has_bits & 0x00000002u) {
3457
0
      set_has_source_dir();
3458
0
      source_dir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.source_dir_);
3459
0
    }
3460
0
  }
3461
0
}
3462
3463
0
void ImportDataRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
3464
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ImportDataRequestPB)
3465
0
  if (&from == this) return;
3466
0
  Clear();
3467
0
  MergeFrom(from);
3468
0
}
3469
3470
0
void ImportDataRequestPB::CopyFrom(const ImportDataRequestPB& from) {
3471
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ImportDataRequestPB)
3472
0
  if (&from == this) return;
3473
0
  Clear();
3474
0
  MergeFrom(from);
3475
0
}
3476
3477
0
bool ImportDataRequestPB::IsInitialized() const {
3478
0
  return true;
3479
0
}
3480
3481
0
void ImportDataRequestPB::Swap(ImportDataRequestPB* other) {
3482
0
  if (other == this) return;
3483
0
  InternalSwap(other);
3484
0
}
3485
0
void ImportDataRequestPB::InternalSwap(ImportDataRequestPB* other) {
3486
0
  using std::swap;
3487
0
  tablet_id_.Swap(&other->tablet_id_);
3488
0
  source_dir_.Swap(&other->source_dir_);
3489
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3490
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3491
0
  swap(_cached_size_, other->_cached_size_);
3492
0
}
3493
3494
0
::google::protobuf::Metadata ImportDataRequestPB::GetMetadata() const {
3495
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
3496
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
3497
0
}
3498
3499
3500
// ===================================================================
3501
3502
15.8k
void ImportDataResponsePB::InitAsDefaultInstance() {
3503
15.8k
  ::yb::tserver::_ImportDataResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
3504
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
3505
15.8k
}
3506
0
void ImportDataResponsePB::clear_error() {
3507
0
  if (error_ != NULL) error_->Clear();
3508
0
  clear_has_error();
3509
0
}
3510
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3511
const int ImportDataResponsePB::kErrorFieldNumber;
3512
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3513
3514
ImportDataResponsePB::ImportDataResponsePB()
3515
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3516
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3517
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsImportDataResponsePB();
3518
0
  }
3519
15.8k
  SharedCtor();
3520
  // @@protoc_insertion_point(constructor:yb.tserver.ImportDataResponsePB)
3521
15.8k
}
3522
ImportDataResponsePB::ImportDataResponsePB(const ImportDataResponsePB& from)
3523
  : ::google::protobuf::Message(),
3524
      _internal_metadata_(NULL),
3525
      _has_bits_(from._has_bits_),
3526
0
      _cached_size_(0) {
3527
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3528
0
  if (from.has_error()) {
3529
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
3530
0
  } else {
3531
0
    error_ = NULL;
3532
0
  }
3533
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ImportDataResponsePB)
3534
0
}
3535
3536
15.8k
void ImportDataResponsePB::SharedCtor() {
3537
15.8k
  _cached_size_ = 0;
3538
15.8k
  error_ = NULL;
3539
15.8k
}
3540
3541
0
ImportDataResponsePB::~ImportDataResponsePB() {
3542
  // @@protoc_insertion_point(destructor:yb.tserver.ImportDataResponsePB)
3543
0
  SharedDtor();
3544
0
}
3545
3546
0
void ImportDataResponsePB::SharedDtor() {
3547
0
  if (this != internal_default_instance()) delete error_;
3548
0
}
3549
3550
0
void ImportDataResponsePB::SetCachedSize(int size) const {
3551
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3552
0
  _cached_size_ = size;
3553
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3554
0
}
3555
0
const ::google::protobuf::Descriptor* ImportDataResponsePB::descriptor() {
3556
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
3557
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3558
0
}
3559
3560
0
const ImportDataResponsePB& ImportDataResponsePB::default_instance() {
3561
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsImportDataResponsePB();
3562
0
  return *internal_default_instance();
3563
0
}
3564
3565
0
ImportDataResponsePB* ImportDataResponsePB::New(::google::protobuf::Arena* arena) const {
3566
0
  ImportDataResponsePB* n = new ImportDataResponsePB;
3567
0
  if (arena != NULL) {
3568
0
    arena->Own(n);
3569
0
  }
3570
0
  return n;
3571
0
}
3572
3573
0
void ImportDataResponsePB::Clear() {
3574
// @@protoc_insertion_point(message_clear_start:yb.tserver.ImportDataResponsePB)
3575
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3576
  // Prevent compiler warnings about cached_has_bits being unused
3577
0
  (void) cached_has_bits;
3578
3579
0
  cached_has_bits = _has_bits_[0];
3580
0
  if (cached_has_bits & 0x00000001u) {
3581
0
    GOOGLE_DCHECK(error_ != NULL);
3582
0
    error_->Clear();
3583
0
  }
3584
0
  _has_bits_.Clear();
3585
0
  _internal_metadata_.Clear();
3586
0
}
3587
3588
bool ImportDataResponsePB::MergePartialFromCodedStream(
3589
0
    ::google::protobuf::io::CodedInputStream* input) {
3590
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3591
0
  ::google::protobuf::uint32 tag;
3592
  // @@protoc_insertion_point(parse_start:yb.tserver.ImportDataResponsePB)
3593
0
  for (;;) {
3594
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3595
0
    tag = p.first;
3596
0
    if (!p.second) goto handle_unusual;
3597
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3598
      // optional .yb.tserver.TabletServerErrorPB error = 1;
3599
0
      case 1: {
3600
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3601
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3602
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3603
0
               input, mutable_error()));
3604
0
        } else {
3605
0
          goto handle_unusual;
3606
0
        }
3607
0
        break;
3608
0
      }
3609
3610
0
      default: {
3611
0
      handle_unusual:
3612
0
        if (tag == 0) {
3613
0
          goto success;
3614
0
        }
3615
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3616
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3617
0
        break;
3618
0
      }
3619
0
    }
3620
0
  }
3621
0
success:
3622
  // @@protoc_insertion_point(parse_success:yb.tserver.ImportDataResponsePB)
3623
0
  return true;
3624
0
failure:
3625
  // @@protoc_insertion_point(parse_failure:yb.tserver.ImportDataResponsePB)
3626
0
  return false;
3627
0
#undef DO_
3628
0
}
3629
3630
void ImportDataResponsePB::SerializeWithCachedSizes(
3631
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3632
  // @@protoc_insertion_point(serialize_start:yb.tserver.ImportDataResponsePB)
3633
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3634
0
  (void) cached_has_bits;
3635
3636
0
  cached_has_bits = _has_bits_[0];
3637
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3638
0
  if (cached_has_bits & 0x00000001u) {
3639
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3640
0
      1, *this->error_, output);
3641
0
  }
3642
3643
0
  if (_internal_metadata_.have_unknown_fields()) {
3644
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3645
0
        _internal_metadata_.unknown_fields(), output);
3646
0
  }
3647
  // @@protoc_insertion_point(serialize_end:yb.tserver.ImportDataResponsePB)
3648
0
}
3649
3650
::google::protobuf::uint8* ImportDataResponsePB::InternalSerializeWithCachedSizesToArray(
3651
0
    bool deterministic, ::google::protobuf::uint8* target) const {
3652
0
  (void)deterministic; // Unused
3653
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ImportDataResponsePB)
3654
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3655
0
  (void) cached_has_bits;
3656
3657
0
  cached_has_bits = _has_bits_[0];
3658
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3659
0
  if (cached_has_bits & 0x00000001u) {
3660
0
    target = ::google::protobuf::internal::WireFormatLite::
3661
0
      InternalWriteMessageToArray(
3662
0
        1, *this->error_, deterministic, target);
3663
0
  }
3664
3665
0
  if (_internal_metadata_.have_unknown_fields()) {
3666
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3667
0
        _internal_metadata_.unknown_fields(), target);
3668
0
  }
3669
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ImportDataResponsePB)
3670
0
  return target;
3671
0
}
3672
3673
0
size_t ImportDataResponsePB::ByteSizeLong() const {
3674
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ImportDataResponsePB)
3675
0
  size_t total_size = 0;
3676
3677
0
  if (_internal_metadata_.have_unknown_fields()) {
3678
0
    total_size +=
3679
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3680
0
        _internal_metadata_.unknown_fields());
3681
0
  }
3682
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3683
0
  if (has_error()) {
3684
0
    total_size += 1 +
3685
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3686
0
        *this->error_);
3687
0
  }
3688
3689
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3690
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3691
0
  _cached_size_ = cached_size;
3692
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3693
0
  return total_size;
3694
0
}
3695
3696
0
void ImportDataResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3697
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ImportDataResponsePB)
3698
0
  GOOGLE_DCHECK_NE(&from, this);
3699
0
  const ImportDataResponsePB* source =
3700
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ImportDataResponsePB>(
3701
0
          &from);
3702
0
  if (source == NULL) {
3703
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ImportDataResponsePB)
3704
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3705
0
  } else {
3706
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ImportDataResponsePB)
3707
0
    MergeFrom(*source);
3708
0
  }
3709
0
}
3710
3711
0
void ImportDataResponsePB::MergeFrom(const ImportDataResponsePB& from) {
3712
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ImportDataResponsePB)
3713
0
  GOOGLE_DCHECK_NE(&from, this);
3714
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3715
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3716
0
  (void) cached_has_bits;
3717
3718
0
  if (from.has_error()) {
3719
0
    mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
3720
0
  }
3721
0
}
3722
3723
0
void ImportDataResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3724
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ImportDataResponsePB)
3725
0
  if (&from == this) return;
3726
0
  Clear();
3727
0
  MergeFrom(from);
3728
0
}
3729
3730
0
void ImportDataResponsePB::CopyFrom(const ImportDataResponsePB& from) {
3731
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ImportDataResponsePB)
3732
0
  if (&from == this) return;
3733
0
  Clear();
3734
0
  MergeFrom(from);
3735
0
}
3736
3737
0
bool ImportDataResponsePB::IsInitialized() const {
3738
0
  if (has_error()) {
3739
0
    if (!this->error_->IsInitialized()) return false;
3740
0
  }
3741
0
  return true;
3742
0
}
3743
3744
0
void ImportDataResponsePB::Swap(ImportDataResponsePB* other) {
3745
0
  if (other == this) return;
3746
0
  InternalSwap(other);
3747
0
}
3748
0
void ImportDataResponsePB::InternalSwap(ImportDataResponsePB* other) {
3749
0
  using std::swap;
3750
0
  swap(error_, other->error_);
3751
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3752
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3753
0
  swap(_cached_size_, other->_cached_size_);
3754
0
}
3755
3756
0
::google::protobuf::Metadata ImportDataResponsePB::GetMetadata() const {
3757
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
3758
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
3759
0
}
3760
3761
3762
// ===================================================================
3763
3764
15.8k
void UpdateTransactionRequestPB::InitAsDefaultInstance() {
3765
15.8k
  ::yb::tserver::_UpdateTransactionRequestPB_default_instance_._instance.get_mutable()->state_ = const_cast< ::yb::tablet::TransactionStatePB*>(
3766
15.8k
      ::yb::tablet::TransactionStatePB::internal_default_instance());
3767
15.8k
}
3768
0
void UpdateTransactionRequestPB::clear_state() {
3769
0
  if (state_ != NULL) state_->Clear();
3770
0
  clear_has_state();
3771
0
}
3772
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3773
const int UpdateTransactionRequestPB::kTabletIdFieldNumber;
3774
const int UpdateTransactionRequestPB::kStateFieldNumber;
3775
const int UpdateTransactionRequestPB::kPropagatedHybridTimeFieldNumber;
3776
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3777
3778
UpdateTransactionRequestPB::UpdateTransactionRequestPB()
3779
3.14M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3780
3.13M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3781
3.13M
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsUpdateTransactionRequestPB();
3782
3.13M
  }
3783
3.14M
  SharedCtor();
3784
  // @@protoc_insertion_point(constructor:yb.tserver.UpdateTransactionRequestPB)
3785
3.14M
}
3786
UpdateTransactionRequestPB::UpdateTransactionRequestPB(const UpdateTransactionRequestPB& from)
3787
  : ::google::protobuf::Message(),
3788
      _internal_metadata_(NULL),
3789
      _has_bits_(from._has_bits_),
3790
0
      _cached_size_(0) {
3791
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3792
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3793
0
  if (from.has_tablet_id()) {
3794
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
3795
0
  }
3796
0
  if (from.has_state()) {
3797
0
    state_ = new ::yb::tablet::TransactionStatePB(*from.state_);
3798
0
  } else {
3799
0
    state_ = NULL;
3800
0
  }
3801
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
3802
  // @@protoc_insertion_point(copy_constructor:yb.tserver.UpdateTransactionRequestPB)
3803
0
}
3804
3805
3.14M
void UpdateTransactionRequestPB::SharedCtor() {
3806
3.14M
  _cached_size_ = 0;
3807
3.14M
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3808
3.14M
  ::memset(&state_, 0, static_cast<size_t>(
3809
3.14M
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
3810
3.14M
      reinterpret_cast<char*>(&state_)) + sizeof(propagated_hybrid_time_));
3811
3.14M
}
3812
3813
3.13M
UpdateTransactionRequestPB::~UpdateTransactionRequestPB() {
3814
  // @@protoc_insertion_point(destructor:yb.tserver.UpdateTransactionRequestPB)
3815
3.13M
  SharedDtor();
3816
3.13M
}
3817
3818
3.13M
void UpdateTransactionRequestPB::SharedDtor() {
3819
3.13M
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3820
3.13M
  if (this != internal_default_instance()) delete state_;
3821
3.13M
}
3822
3823
0
void UpdateTransactionRequestPB::SetCachedSize(int size) const {
3824
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3825
0
  _cached_size_ = size;
3826
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3827
0
}
3828
0
const ::google::protobuf::Descriptor* UpdateTransactionRequestPB::descriptor() {
3829
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
3830
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3831
0
}
3832
3833
0
const UpdateTransactionRequestPB& UpdateTransactionRequestPB::default_instance() {
3834
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsUpdateTransactionRequestPB();
3835
0
  return *internal_default_instance();
3836
0
}
3837
3838
0
UpdateTransactionRequestPB* UpdateTransactionRequestPB::New(::google::protobuf::Arena* arena) const {
3839
0
  UpdateTransactionRequestPB* n = new UpdateTransactionRequestPB;
3840
0
  if (arena != NULL) {
3841
0
    arena->Own(n);
3842
0
  }
3843
0
  return n;
3844
0
}
3845
3846
718k
void UpdateTransactionRequestPB::Clear() {
3847
// @@protoc_insertion_point(message_clear_start:yb.tserver.UpdateTransactionRequestPB)
3848
718k
  ::google::protobuf::uint32 cached_has_bits = 0;
3849
  // Prevent compiler warnings about cached_has_bits being unused
3850
718k
  (void) cached_has_bits;
3851
3852
718k
  cached_has_bits = _has_bits_[0];
3853
718k
  if (cached_has_bits & 3u) {
3854
0
    if (cached_has_bits & 0x00000001u) {
3855
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3856
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
3857
0
    }
3858
0
    if (cached_has_bits & 0x00000002u) {
3859
0
      GOOGLE_DCHECK(state_ != NULL);
3860
0
      state_->Clear();
3861
0
    }
3862
0
  }
3863
718k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
3864
718k
  _has_bits_.Clear();
3865
718k
  _internal_metadata_.Clear();
3866
718k
}
3867
3868
bool UpdateTransactionRequestPB::MergePartialFromCodedStream(
3869
718k
    ::google::protobuf::io::CodedInputStream* input) {
3870
2.15M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3871
718k
  ::google::protobuf::uint32 tag;
3872
  // @@protoc_insertion_point(parse_start:yb.tserver.UpdateTransactionRequestPB)
3873
2.87M
  for (;;) {
3874
2.87M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3875
2.87M
    tag = p.first;
3876
2.87M
    if (!p.second) goto handle_unusual;
3877
2.15M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3878
      // optional bytes tablet_id = 1;
3879
717k
      case 1: {
3880
717k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3881
717k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3882
717k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3883
717k
                input, this->mutable_tablet_id()));
3884
18.4E
        } else {
3885
18.4E
          goto handle_unusual;
3886
18.4E
        }
3887
717k
        break;
3888
717k
      }
3889
3890
      // optional .yb.tablet.TransactionStatePB state = 2;
3891
718k
      case 2: {
3892
718k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3893
718k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3894
718k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3895
718k
               input, mutable_state()));
3896
18.4E
        } else {
3897
18.4E
          goto handle_unusual;
3898
18.4E
        }
3899
718k
        break;
3900
718k
      }
3901
3902
      // optional fixed64 propagated_hybrid_time = 3;
3903
718k
      case 3: {
3904
718k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3905
718k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
3906
718k
          set_has_propagated_hybrid_time();
3907
718k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3908
718k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
3909
718k
                 input, &propagated_hybrid_time_)));
3910
18.4E
        } else {
3911
18.4E
          goto handle_unusual;
3912
18.4E
        }
3913
718k
        break;
3914
718k
      }
3915
3916
0
      default: {
3917
718k
      handle_unusual:
3918
718k
        if (tag == 0) {
3919
718k
          goto success;
3920
718k
        }
3921
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3922
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3923
18.4E
        break;
3924
18.4E
      }
3925
2.15M
    }
3926
2.15M
  }
3927
718k
success:
3928
  // @@protoc_insertion_point(parse_success:yb.tserver.UpdateTransactionRequestPB)
3929
718k
  return true;
3930
0
failure:
3931
  // @@protoc_insertion_point(parse_failure:yb.tserver.UpdateTransactionRequestPB)
3932
0
  return false;
3933
718k
#undef DO_
3934
718k
}
3935
3936
void UpdateTransactionRequestPB::SerializeWithCachedSizes(
3937
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3938
  // @@protoc_insertion_point(serialize_start:yb.tserver.UpdateTransactionRequestPB)
3939
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3940
0
  (void) cached_has_bits;
3941
3942
0
  cached_has_bits = _has_bits_[0];
3943
  // optional bytes tablet_id = 1;
3944
0
  if (cached_has_bits & 0x00000001u) {
3945
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3946
0
      1, this->tablet_id(), output);
3947
0
  }
3948
3949
  // optional .yb.tablet.TransactionStatePB state = 2;
3950
0
  if (cached_has_bits & 0x00000002u) {
3951
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3952
0
      2, *this->state_, output);
3953
0
  }
3954
3955
  // optional fixed64 propagated_hybrid_time = 3;
3956
0
  if (cached_has_bits & 0x00000004u) {
3957
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->propagated_hybrid_time(), output);
3958
0
  }
3959
3960
0
  if (_internal_metadata_.have_unknown_fields()) {
3961
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3962
0
        _internal_metadata_.unknown_fields(), output);
3963
0
  }
3964
  // @@protoc_insertion_point(serialize_end:yb.tserver.UpdateTransactionRequestPB)
3965
0
}
3966
3967
::google::protobuf::uint8* UpdateTransactionRequestPB::InternalSerializeWithCachedSizesToArray(
3968
718k
    bool deterministic, ::google::protobuf::uint8* target) const {
3969
718k
  (void)deterministic; // Unused
3970
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.UpdateTransactionRequestPB)
3971
718k
  ::google::protobuf::uint32 cached_has_bits = 0;
3972
718k
  (void) cached_has_bits;
3973
3974
718k
  cached_has_bits = _has_bits_[0];
3975
  // optional bytes tablet_id = 1;
3976
718k
  if (cached_has_bits & 0x00000001u) {
3977
718k
    target =
3978
718k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3979
718k
        1, this->tablet_id(), target);
3980
718k
  }
3981
3982
  // optional .yb.tablet.TransactionStatePB state = 2;
3983
718k
  if (cached_has_bits & 0x00000002u) {
3984
718k
    target = ::google::protobuf::internal::WireFormatLite::
3985
718k
      InternalWriteMessageToArray(
3986
718k
        2, *this->state_, deterministic, target);
3987
718k
  }
3988
3989
  // optional fixed64 propagated_hybrid_time = 3;
3990
718k
  if (cached_has_bits & 0x00000004u) {
3991
718k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->propagated_hybrid_time(), target);
3992
718k
  }
3993
3994
718k
  if (_internal_metadata_.have_unknown_fields()) {
3995
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3996
0
        _internal_metadata_.unknown_fields(), target);
3997
0
  }
3998
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.UpdateTransactionRequestPB)
3999
718k
  return target;
4000
718k
}
4001
4002
1.43M
size_t UpdateTransactionRequestPB::ByteSizeLong() const {
4003
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.UpdateTransactionRequestPB)
4004
1.43M
  size_t total_size = 0;
4005
4006
1.43M
  if (_internal_metadata_.have_unknown_fields()) {
4007
0
    total_size +=
4008
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4009
0
        _internal_metadata_.unknown_fields());
4010
0
  }
4011
1.43M
  if (_has_bits_[0 / 32] & 7u) {
4012
    // optional bytes tablet_id = 1;
4013
1.43M
    if (has_tablet_id()) {
4014
1.43M
      total_size += 1 +
4015
1.43M
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4016
1.43M
          this->tablet_id());
4017
1.43M
    }
4018
4019
    // optional .yb.tablet.TransactionStatePB state = 2;
4020
1.43M
    if (has_state()) {
4021
1.43M
      total_size += 1 +
4022
1.43M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4023
1.43M
          *this->state_);
4024
1.43M
    }
4025
4026
    // optional fixed64 propagated_hybrid_time = 3;
4027
1.43M
    if (has_propagated_hybrid_time()) {
4028
1.43M
      total_size += 1 + 8;
4029
1.43M
    }
4030
4031
1.43M
  }
4032
1.43M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4033
1.43M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4034
1.43M
  _cached_size_ = cached_size;
4035
1.43M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4036
1.43M
  return total_size;
4037
1.43M
}
4038
4039
0
void UpdateTransactionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4040
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.UpdateTransactionRequestPB)
4041
0
  GOOGLE_DCHECK_NE(&from, this);
4042
0
  const UpdateTransactionRequestPB* source =
4043
0
      ::google::protobuf::internal::DynamicCastToGenerated<const UpdateTransactionRequestPB>(
4044
0
          &from);
4045
0
  if (source == NULL) {
4046
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.UpdateTransactionRequestPB)
4047
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4048
0
  } else {
4049
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.UpdateTransactionRequestPB)
4050
0
    MergeFrom(*source);
4051
0
  }
4052
0
}
4053
4054
0
void UpdateTransactionRequestPB::MergeFrom(const UpdateTransactionRequestPB& from) {
4055
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.UpdateTransactionRequestPB)
4056
0
  GOOGLE_DCHECK_NE(&from, this);
4057
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4058
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4059
0
  (void) cached_has_bits;
4060
4061
0
  cached_has_bits = from._has_bits_[0];
4062
0
  if (cached_has_bits & 7u) {
4063
0
    if (cached_has_bits & 0x00000001u) {
4064
0
      set_has_tablet_id();
4065
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
4066
0
    }
4067
0
    if (cached_has_bits & 0x00000002u) {
4068
0
      mutable_state()->::yb::tablet::TransactionStatePB::MergeFrom(from.state());
4069
0
    }
4070
0
    if (cached_has_bits & 0x00000004u) {
4071
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
4072
0
    }
4073
0
    _has_bits_[0] |= cached_has_bits;
4074
0
  }
4075
0
}
4076
4077
0
void UpdateTransactionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4078
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.UpdateTransactionRequestPB)
4079
0
  if (&from == this) return;
4080
0
  Clear();
4081
0
  MergeFrom(from);
4082
0
}
4083
4084
0
void UpdateTransactionRequestPB::CopyFrom(const UpdateTransactionRequestPB& from) {
4085
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.UpdateTransactionRequestPB)
4086
0
  if (&from == this) return;
4087
0
  Clear();
4088
0
  MergeFrom(from);
4089
0
}
4090
4091
1.43M
bool UpdateTransactionRequestPB::IsInitialized() const {
4092
1.43M
  return true;
4093
1.43M
}
4094
4095
932k
void UpdateTransactionRequestPB::Swap(UpdateTransactionRequestPB* other) {
4096
932k
  if (other == this) return;
4097
932k
  InternalSwap(other);
4098
932k
}
4099
932k
void UpdateTransactionRequestPB::InternalSwap(UpdateTransactionRequestPB* other) {
4100
932k
  using std::swap;
4101
932k
  tablet_id_.Swap(&other->tablet_id_);
4102
932k
  swap(state_, other->state_);
4103
932k
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
4104
932k
  swap(_has_bits_[0], other->_has_bits_[0]);
4105
932k
  _internal_metadata_.Swap(&other->_internal_metadata_);
4106
932k
  swap(_cached_size_, other->_cached_size_);
4107
932k
}
4108
4109
828k
::google::protobuf::Metadata UpdateTransactionRequestPB::GetMetadata() const {
4110
828k
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
4111
828k
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
4112
828k
}
4113
4114
4115
// ===================================================================
4116
4117
15.8k
void UpdateTransactionResponsePB::InitAsDefaultInstance() {
4118
15.8k
  ::yb::tserver::_UpdateTransactionResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
4119
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
4120
15.8k
}
4121
932k
void UpdateTransactionResponsePB::clear_error() {
4122
932k
  if (error_ != NULL) error_->Clear();
4123
932k
  clear_has_error();
4124
932k
}
4125
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4126
const int UpdateTransactionResponsePB::kErrorFieldNumber;
4127
const int UpdateTransactionResponsePB::kPropagatedHybridTimeFieldNumber;
4128
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4129
4130
UpdateTransactionResponsePB::UpdateTransactionResponsePB()
4131
2.21M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4132
2.19M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4133
2.19M
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsUpdateTransactionResponsePB();
4134
2.19M
  }
4135
2.21M
  SharedCtor();
4136
  // @@protoc_insertion_point(constructor:yb.tserver.UpdateTransactionResponsePB)
4137
2.21M
}
4138
UpdateTransactionResponsePB::UpdateTransactionResponsePB(const UpdateTransactionResponsePB& from)
4139
  : ::google::protobuf::Message(),
4140
      _internal_metadata_(NULL),
4141
      _has_bits_(from._has_bits_),
4142
0
      _cached_size_(0) {
4143
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4144
0
  if (from.has_error()) {
4145
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
4146
0
  } else {
4147
0
    error_ = NULL;
4148
0
  }
4149
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
4150
  // @@protoc_insertion_point(copy_constructor:yb.tserver.UpdateTransactionResponsePB)
4151
0
}
4152
4153
2.21M
void UpdateTransactionResponsePB::SharedCtor() {
4154
2.21M
  _cached_size_ = 0;
4155
2.21M
  ::memset(&error_, 0, static_cast<size_t>(
4156
2.21M
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
4157
2.21M
      reinterpret_cast<char*>(&error_)) + sizeof(propagated_hybrid_time_));
4158
2.21M
}
4159
4160
2.19M
UpdateTransactionResponsePB::~UpdateTransactionResponsePB() {
4161
  // @@protoc_insertion_point(destructor:yb.tserver.UpdateTransactionResponsePB)
4162
2.19M
  SharedDtor();
4163
2.19M
}
4164
4165
2.19M
void UpdateTransactionResponsePB::SharedDtor() {
4166
2.19M
  if (this != internal_default_instance()) delete error_;
4167
2.19M
}
4168
4169
0
void UpdateTransactionResponsePB::SetCachedSize(int size) const {
4170
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4171
0
  _cached_size_ = size;
4172
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4173
0
}
4174
0
const ::google::protobuf::Descriptor* UpdateTransactionResponsePB::descriptor() {
4175
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
4176
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4177
0
}
4178
4179
0
const UpdateTransactionResponsePB& UpdateTransactionResponsePB::default_instance() {
4180
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsUpdateTransactionResponsePB();
4181
0
  return *internal_default_instance();
4182
0
}
4183
4184
0
UpdateTransactionResponsePB* UpdateTransactionResponsePB::New(::google::protobuf::Arena* arena) const {
4185
0
  UpdateTransactionResponsePB* n = new UpdateTransactionResponsePB;
4186
0
  if (arena != NULL) {
4187
0
    arena->Own(n);
4188
0
  }
4189
0
  return n;
4190
0
}
4191
4192
1.48M
void UpdateTransactionResponsePB::Clear() {
4193
// @@protoc_insertion_point(message_clear_start:yb.tserver.UpdateTransactionResponsePB)
4194
1.48M
  ::google::protobuf::uint32 cached_has_bits = 0;
4195
  // Prevent compiler warnings about cached_has_bits being unused
4196
1.48M
  (void) cached_has_bits;
4197
4198
1.48M
  cached_has_bits = _has_bits_[0];
4199
1.48M
  if (cached_has_bits & 0x00000001u) {
4200
4.35k
    GOOGLE_DCHECK(error_ != NULL);
4201
4.35k
    error_->Clear();
4202
4.35k
  }
4203
1.48M
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
4204
1.48M
  _has_bits_.Clear();
4205
1.48M
  _internal_metadata_.Clear();
4206
1.48M
}
4207
4208
bool UpdateTransactionResponsePB::MergePartialFromCodedStream(
4209
714k
    ::google::protobuf::io::CodedInputStream* input) {
4210
714k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4211
714k
  ::google::protobuf::uint32 tag;
4212
  // @@protoc_insertion_point(parse_start:yb.tserver.UpdateTransactionResponsePB)
4213
1.43M
  for (;;) {
4214
1.43M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4215
1.43M
    tag = p.first;
4216
1.43M
    if (!p.second) goto handle_unusual;
4217
715k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4218
      // optional .yb.tserver.TabletServerErrorPB error = 1;
4219
3.58k
      case 1: {
4220
3.58k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4221
3.58k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4222
3.58k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4223
3.58k
               input, mutable_error()));
4224
0
        } else {
4225
0
          goto handle_unusual;
4226
0
        }
4227
3.58k
        break;
4228
3.58k
      }
4229
4230
      // optional fixed64 propagated_hybrid_time = 2;
4231
710k
      case 2: {
4232
710k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4233
710k
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
4234
710k
          set_has_propagated_hybrid_time();
4235
710k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4236
710k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4237
710k
                 input, &propagated_hybrid_time_)));
4238
18.4E
        } else {
4239
18.4E
          goto handle_unusual;
4240
18.4E
        }
4241
710k
        break;
4242
715k
      }
4243
4244
0
      default: {
4245
715k
      handle_unusual:
4246
715k
        if (tag == 0) {
4247
715k
          goto success;
4248
715k
        }
4249
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4250
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4251
18.4E
        break;
4252
18.4E
      }
4253
715k
    }
4254
715k
  }
4255
715k
success:
4256
  // @@protoc_insertion_point(parse_success:yb.tserver.UpdateTransactionResponsePB)
4257
715k
  return true;
4258
0
failure:
4259
  // @@protoc_insertion_point(parse_failure:yb.tserver.UpdateTransactionResponsePB)
4260
0
  return false;
4261
714k
#undef DO_
4262
714k
}
4263
4264
void UpdateTransactionResponsePB::SerializeWithCachedSizes(
4265
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4266
  // @@protoc_insertion_point(serialize_start:yb.tserver.UpdateTransactionResponsePB)
4267
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4268
0
  (void) cached_has_bits;
4269
4270
0
  cached_has_bits = _has_bits_[0];
4271
  // optional .yb.tserver.TabletServerErrorPB error = 1;
4272
0
  if (cached_has_bits & 0x00000001u) {
4273
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4274
0
      1, *this->error_, output);
4275
0
  }
4276
4277
  // optional fixed64 propagated_hybrid_time = 2;
4278
0
  if (cached_has_bits & 0x00000002u) {
4279
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->propagated_hybrid_time(), output);
4280
0
  }
4281
4282
0
  if (_internal_metadata_.have_unknown_fields()) {
4283
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4284
0
        _internal_metadata_.unknown_fields(), output);
4285
0
  }
4286
  // @@protoc_insertion_point(serialize_end:yb.tserver.UpdateTransactionResponsePB)
4287
0
}
4288
4289
::google::protobuf::uint8* UpdateTransactionResponsePB::InternalSerializeWithCachedSizesToArray(
4290
718k
    bool deterministic, ::google::protobuf::uint8* target) const {
4291
718k
  (void)deterministic; // Unused
4292
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.UpdateTransactionResponsePB)
4293
718k
  ::google::protobuf::uint32 cached_has_bits = 0;
4294
718k
  (void) cached_has_bits;
4295
4296
718k
  cached_has_bits = _has_bits_[0];
4297
  // optional .yb.tserver.TabletServerErrorPB error = 1;
4298
718k
  if (cached_has_bits & 0x00000001u) {
4299
3.67k
    target = ::google::protobuf::internal::WireFormatLite::
4300
3.67k
      InternalWriteMessageToArray(
4301
3.67k
        1, *this->error_, deterministic, target);
4302
3.67k
  }
4303
4304
  // optional fixed64 propagated_hybrid_time = 2;
4305
718k
  if (cached_has_bits & 0x00000002u) {
4306
713k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->propagated_hybrid_time(), target);
4307
713k
  }
4308
4309
718k
  if (_internal_metadata_.have_unknown_fields()) {
4310
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4311
0
        _internal_metadata_.unknown_fields(), target);
4312
0
  }
4313
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.UpdateTransactionResponsePB)
4314
718k
  return target;
4315
718k
}
4316
4317
1.43M
size_t UpdateTransactionResponsePB::ByteSizeLong() const {
4318
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.UpdateTransactionResponsePB)
4319
1.43M
  size_t total_size = 0;
4320
4321
1.43M
  if (_internal_metadata_.have_unknown_fields()) {
4322
0
    total_size +=
4323
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4324
0
        _internal_metadata_.unknown_fields());
4325
0
  }
4326
1.43M
  if (_has_bits_[0 / 32] & 3u) {
4327
    // optional .yb.tserver.TabletServerErrorPB error = 1;
4328
1.43M
    if (has_error()) {
4329
7.34k
      total_size += 1 +
4330
7.34k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
4331
7.34k
          *this->error_);
4332
7.34k
    }
4333
4334
    // optional fixed64 propagated_hybrid_time = 2;
4335
1.43M
    if (has_propagated_hybrid_time()) {
4336
1.42M
      total_size += 1 + 8;
4337
1.42M
    }
4338
4339
1.43M
  }
4340
1.43M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4341
1.43M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4342
1.43M
  _cached_size_ = cached_size;
4343
1.43M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4344
1.43M
  return total_size;
4345
1.43M
}
4346
4347
0
void UpdateTransactionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4348
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.UpdateTransactionResponsePB)
4349
0
  GOOGLE_DCHECK_NE(&from, this);
4350
0
  const UpdateTransactionResponsePB* source =
4351
0
      ::google::protobuf::internal::DynamicCastToGenerated<const UpdateTransactionResponsePB>(
4352
0
          &from);
4353
0
  if (source == NULL) {
4354
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.UpdateTransactionResponsePB)
4355
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4356
0
  } else {
4357
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.UpdateTransactionResponsePB)
4358
0
    MergeFrom(*source);
4359
0
  }
4360
0
}
4361
4362
0
void UpdateTransactionResponsePB::MergeFrom(const UpdateTransactionResponsePB& from) {
4363
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.UpdateTransactionResponsePB)
4364
0
  GOOGLE_DCHECK_NE(&from, this);
4365
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4366
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4367
0
  (void) cached_has_bits;
4368
4369
0
  cached_has_bits = from._has_bits_[0];
4370
0
  if (cached_has_bits & 3u) {
4371
0
    if (cached_has_bits & 0x00000001u) {
4372
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
4373
0
    }
4374
0
    if (cached_has_bits & 0x00000002u) {
4375
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
4376
0
    }
4377
0
    _has_bits_[0] |= cached_has_bits;
4378
0
  }
4379
0
}
4380
4381
0
void UpdateTransactionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4382
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.UpdateTransactionResponsePB)
4383
0
  if (&from == this) return;
4384
0
  Clear();
4385
0
  MergeFrom(from);
4386
0
}
4387
4388
0
void UpdateTransactionResponsePB::CopyFrom(const UpdateTransactionResponsePB& from) {
4389
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.UpdateTransactionResponsePB)
4390
0
  if (&from == this) return;
4391
0
  Clear();
4392
0
  MergeFrom(from);
4393
0
}
4394
4395
1.43M
bool UpdateTransactionResponsePB::IsInitialized() const {
4396
1.43M
  if (has_error()) {
4397
7.26k
    if (!this->error_->IsInitialized()) return false;
4398
1.43M
  }
4399
1.43M
  return true;
4400
1.43M
}
4401
4402
0
void UpdateTransactionResponsePB::Swap(UpdateTransactionResponsePB* other) {
4403
0
  if (other == this) return;
4404
0
  InternalSwap(other);
4405
0
}
4406
0
void UpdateTransactionResponsePB::InternalSwap(UpdateTransactionResponsePB* other) {
4407
0
  using std::swap;
4408
0
  swap(error_, other->error_);
4409
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
4410
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4411
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4412
0
  swap(_cached_size_, other->_cached_size_);
4413
0
}
4414
4415
0
::google::protobuf::Metadata UpdateTransactionResponsePB::GetMetadata() const {
4416
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
4417
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
4418
0
}
4419
4420
4421
// ===================================================================
4422
4423
15.8k
void GetTransactionStatusRequestPB::InitAsDefaultInstance() {
4424
15.8k
}
4425
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4426
const int GetTransactionStatusRequestPB::kTabletIdFieldNumber;
4427
const int GetTransactionStatusRequestPB::kTransactionIdFieldNumber;
4428
const int GetTransactionStatusRequestPB::kPropagatedHybridTimeFieldNumber;
4429
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4430
4431
GetTransactionStatusRequestPB::GetTransactionStatusRequestPB()
4432
557k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4433
541k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4434
541k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusRequestPB();
4435
541k
  }
4436
557k
  SharedCtor();
4437
  // @@protoc_insertion_point(constructor:yb.tserver.GetTransactionStatusRequestPB)
4438
557k
}
4439
GetTransactionStatusRequestPB::GetTransactionStatusRequestPB(const GetTransactionStatusRequestPB& from)
4440
  : ::google::protobuf::Message(),
4441
      _internal_metadata_(NULL),
4442
      _has_bits_(from._has_bits_),
4443
      _cached_size_(0),
4444
0
      transaction_id_(from.transaction_id_) {
4445
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4446
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4447
0
  if (from.has_tablet_id()) {
4448
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
4449
0
  }
4450
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
4451
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetTransactionStatusRequestPB)
4452
0
}
4453
4454
557k
void GetTransactionStatusRequestPB::SharedCtor() {
4455
557k
  _cached_size_ = 0;
4456
557k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4457
557k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
4458
557k
}
4459
4460
541k
GetTransactionStatusRequestPB::~GetTransactionStatusRequestPB() {
4461
  // @@protoc_insertion_point(destructor:yb.tserver.GetTransactionStatusRequestPB)
4462
541k
  SharedDtor();
4463
541k
}
4464
4465
541k
void GetTransactionStatusRequestPB::SharedDtor() {
4466
541k
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4467
541k
}
4468
4469
0
void GetTransactionStatusRequestPB::SetCachedSize(int size) const {
4470
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4471
0
  _cached_size_ = size;
4472
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4473
0
}
4474
0
const ::google::protobuf::Descriptor* GetTransactionStatusRequestPB::descriptor() {
4475
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
4476
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4477
0
}
4478
4479
0
const GetTransactionStatusRequestPB& GetTransactionStatusRequestPB::default_instance() {
4480
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusRequestPB();
4481
0
  return *internal_default_instance();
4482
0
}
4483
4484
0
GetTransactionStatusRequestPB* GetTransactionStatusRequestPB::New(::google::protobuf::Arena* arena) const {
4485
0
  GetTransactionStatusRequestPB* n = new GetTransactionStatusRequestPB;
4486
0
  if (arena != NULL) {
4487
0
    arena->Own(n);
4488
0
  }
4489
0
  return n;
4490
0
}
4491
4492
124k
void GetTransactionStatusRequestPB::Clear() {
4493
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetTransactionStatusRequestPB)
4494
124k
  ::google::protobuf::uint32 cached_has_bits = 0;
4495
  // Prevent compiler warnings about cached_has_bits being unused
4496
124k
  (void) cached_has_bits;
4497
4498
124k
  transaction_id_.Clear();
4499
124k
  cached_has_bits = _has_bits_[0];
4500
124k
  if (cached_has_bits & 0x00000001u) {
4501
0
    GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4502
0
    (*tablet_id_.UnsafeRawStringPointer())->clear();
4503
0
  }
4504
124k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
4505
124k
  _has_bits_.Clear();
4506
124k
  _internal_metadata_.Clear();
4507
124k
}
4508
4509
bool GetTransactionStatusRequestPB::MergePartialFromCodedStream(
4510
124k
    ::google::protobuf::io::CodedInputStream* input) {
4511
369k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4512
124k
  ::google::protobuf::uint32 tag;
4513
  // @@protoc_insertion_point(parse_start:yb.tserver.GetTransactionStatusRequestPB)
4514
494k
  for (;;) {
4515
494k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4516
494k
    tag = p.first;
4517
494k
    if (!p.second) goto handle_unusual;
4518
369k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4519
      // optional bytes tablet_id = 1;
4520
124k
      case 1: {
4521
124k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4522
124k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4523
124k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4524
124k
                input, this->mutable_tablet_id()));
4525
18.4E
        } else {
4526
18.4E
          goto handle_unusual;
4527
18.4E
        }
4528
124k
        break;
4529
124k
      }
4530
4531
      // repeated bytes transaction_id = 2;
4532
124k
      case 2: {
4533
124k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4534
124k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4535
124k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4536
124k
                input, this->add_transaction_id()));
4537
0
        } else {
4538
0
          goto handle_unusual;
4539
0
        }
4540
124k
        break;
4541
124k
      }
4542
4543
      // optional fixed64 propagated_hybrid_time = 3;
4544
119k
      case 3: {
4545
119k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4546
119k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
4547
119k
          set_has_propagated_hybrid_time();
4548
119k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4549
119k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4550
119k
                 input, &propagated_hybrid_time_)));
4551
18.4E
        } else {
4552
18.4E
          goto handle_unusual;
4553
18.4E
        }
4554
119k
        break;
4555
124k
      }
4556
4557
0
      default: {
4558
124k
      handle_unusual:
4559
124k
        if (tag == 0) {
4560
124k
          goto success;
4561
124k
        }
4562
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4563
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4564
18.4E
        break;
4565
18.4E
      }
4566
369k
    }
4567
369k
  }
4568
124k
success:
4569
  // @@protoc_insertion_point(parse_success:yb.tserver.GetTransactionStatusRequestPB)
4570
124k
  return true;
4571
0
failure:
4572
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetTransactionStatusRequestPB)
4573
0
  return false;
4574
124k
#undef DO_
4575
124k
}
4576
4577
void GetTransactionStatusRequestPB::SerializeWithCachedSizes(
4578
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4579
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetTransactionStatusRequestPB)
4580
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4581
0
  (void) cached_has_bits;
4582
4583
0
  cached_has_bits = _has_bits_[0];
4584
  // optional bytes tablet_id = 1;
4585
0
  if (cached_has_bits & 0x00000001u) {
4586
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4587
0
      1, this->tablet_id(), output);
4588
0
  }
4589
4590
  // repeated bytes transaction_id = 2;
4591
0
  for (int i = 0, n = this->transaction_id_size(); i < n; i++) {
4592
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
4593
0
      2, this->transaction_id(i), output);
4594
0
  }
4595
4596
  // optional fixed64 propagated_hybrid_time = 3;
4597
0
  if (cached_has_bits & 0x00000002u) {
4598
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->propagated_hybrid_time(), output);
4599
0
  }
4600
4601
0
  if (_internal_metadata_.have_unknown_fields()) {
4602
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4603
0
        _internal_metadata_.unknown_fields(), output);
4604
0
  }
4605
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetTransactionStatusRequestPB)
4606
0
}
4607
4608
::google::protobuf::uint8* GetTransactionStatusRequestPB::InternalSerializeWithCachedSizesToArray(
4609
124k
    bool deterministic, ::google::protobuf::uint8* target) const {
4610
124k
  (void)deterministic; // Unused
4611
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetTransactionStatusRequestPB)
4612
124k
  ::google::protobuf::uint32 cached_has_bits = 0;
4613
124k
  (void) cached_has_bits;
4614
4615
124k
  cached_has_bits = _has_bits_[0];
4616
  // optional bytes tablet_id = 1;
4617
124k
  if (cached_has_bits & 0x00000001u) {
4618
124k
    target =
4619
124k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4620
124k
        1, this->tablet_id(), target);
4621
124k
  }
4622
4623
  // repeated bytes transaction_id = 2;
4624
249k
  for (int i = 0, n = this->transaction_id_size(); i < n; i++) {
4625
124k
    target = ::google::protobuf::internal::WireFormatLite::
4626
124k
      WriteBytesToArray(2, this->transaction_id(i), target);
4627
124k
  }
4628
4629
  // optional fixed64 propagated_hybrid_time = 3;
4630
124k
  if (cached_has_bits & 0x00000002u) {
4631
119k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->propagated_hybrid_time(), target);
4632
119k
  }
4633
4634
124k
  if (_internal_metadata_.have_unknown_fields()) {
4635
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4636
0
        _internal_metadata_.unknown_fields(), target);
4637
0
  }
4638
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetTransactionStatusRequestPB)
4639
124k
  return target;
4640
124k
}
4641
4642
249k
size_t GetTransactionStatusRequestPB::ByteSizeLong() const {
4643
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetTransactionStatusRequestPB)
4644
249k
  size_t total_size = 0;
4645
4646
249k
  if (_internal_metadata_.have_unknown_fields()) {
4647
0
    total_size +=
4648
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4649
0
        _internal_metadata_.unknown_fields());
4650
0
  }
4651
  // repeated bytes transaction_id = 2;
4652
249k
  total_size += 1 *
4653
249k
      ::google::protobuf::internal::FromIntSize(this->transaction_id_size());
4654
499k
  for (int i = 0, n = this->transaction_id_size(); i < n; i++) {
4655
249k
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
4656
249k
      this->transaction_id(i));
4657
249k
  }
4658
4659
249k
  if (_has_bits_[0 / 32] & 3u) {
4660
    // optional bytes tablet_id = 1;
4661
249k
    if (has_tablet_id()) {
4662
249k
      total_size += 1 +
4663
249k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4664
249k
          this->tablet_id());
4665
249k
    }
4666
4667
    // optional fixed64 propagated_hybrid_time = 3;
4668
249k
    if (has_propagated_hybrid_time()) {
4669
238k
      total_size += 1 + 8;
4670
238k
    }
4671
4672
249k
  }
4673
249k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4674
249k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4675
249k
  _cached_size_ = cached_size;
4676
249k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4677
249k
  return total_size;
4678
249k
}
4679
4680
0
void GetTransactionStatusRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4681
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetTransactionStatusRequestPB)
4682
0
  GOOGLE_DCHECK_NE(&from, this);
4683
0
  const GetTransactionStatusRequestPB* source =
4684
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTransactionStatusRequestPB>(
4685
0
          &from);
4686
0
  if (source == NULL) {
4687
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetTransactionStatusRequestPB)
4688
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4689
0
  } else {
4690
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetTransactionStatusRequestPB)
4691
0
    MergeFrom(*source);
4692
0
  }
4693
0
}
4694
4695
0
void GetTransactionStatusRequestPB::MergeFrom(const GetTransactionStatusRequestPB& from) {
4696
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetTransactionStatusRequestPB)
4697
0
  GOOGLE_DCHECK_NE(&from, this);
4698
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4699
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4700
0
  (void) cached_has_bits;
4701
4702
0
  transaction_id_.MergeFrom(from.transaction_id_);
4703
0
  cached_has_bits = from._has_bits_[0];
4704
0
  if (cached_has_bits & 3u) {
4705
0
    if (cached_has_bits & 0x00000001u) {
4706
0
      set_has_tablet_id();
4707
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
4708
0
    }
4709
0
    if (cached_has_bits & 0x00000002u) {
4710
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
4711
0
    }
4712
0
    _has_bits_[0] |= cached_has_bits;
4713
0
  }
4714
0
}
4715
4716
0
void GetTransactionStatusRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4717
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetTransactionStatusRequestPB)
4718
0
  if (&from == this) return;
4719
0
  Clear();
4720
0
  MergeFrom(from);
4721
0
}
4722
4723
0
void GetTransactionStatusRequestPB::CopyFrom(const GetTransactionStatusRequestPB& from) {
4724
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetTransactionStatusRequestPB)
4725
0
  if (&from == this) return;
4726
0
  Clear();
4727
0
  MergeFrom(from);
4728
0
}
4729
4730
249k
bool GetTransactionStatusRequestPB::IsInitialized() const {
4731
249k
  return true;
4732
249k
}
4733
4734
208k
void GetTransactionStatusRequestPB::Swap(GetTransactionStatusRequestPB* other) {
4735
208k
  if (other == this) return;
4736
208k
  InternalSwap(other);
4737
208k
}
4738
208k
void GetTransactionStatusRequestPB::InternalSwap(GetTransactionStatusRequestPB* other) {
4739
208k
  using std::swap;
4740
208k
  transaction_id_.InternalSwap(&other->transaction_id_);
4741
208k
  tablet_id_.Swap(&other->tablet_id_);
4742
208k
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
4743
208k
  swap(_has_bits_[0], other->_has_bits_[0]);
4744
208k
  _internal_metadata_.Swap(&other->_internal_metadata_);
4745
208k
  swap(_cached_size_, other->_cached_size_);
4746
208k
}
4747
4748
124k
::google::protobuf::Metadata GetTransactionStatusRequestPB::GetMetadata() const {
4749
124k
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
4750
124k
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
4751
124k
}
4752
4753
4754
// ===================================================================
4755
4756
15.8k
void GetTransactionStatusResponsePB::InitAsDefaultInstance() {
4757
15.8k
  ::yb::tserver::_GetTransactionStatusResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
4758
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
4759
15.8k
}
4760
208k
void GetTransactionStatusResponsePB::clear_error() {
4761
208k
  if (error_ != NULL) error_->Clear();
4762
208k
  clear_has_error();
4763
208k
}
4764
0
void GetTransactionStatusResponsePB::clear_aborted_subtxn_set() {
4765
0
  aborted_subtxn_set_.Clear();
4766
0
}
4767
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4768
const int GetTransactionStatusResponsePB::kErrorFieldNumber;
4769
const int GetTransactionStatusResponsePB::kStatusFieldNumber;
4770
const int GetTransactionStatusResponsePB::kStatusHybridTimeFieldNumber;
4771
const int GetTransactionStatusResponsePB::kPropagatedHybridTimeFieldNumber;
4772
const int GetTransactionStatusResponsePB::kNumReplicatedBatchesFieldNumber;
4773
const int GetTransactionStatusResponsePB::kCoordinatorSafeTimeFieldNumber;
4774
const int GetTransactionStatusResponsePB::kAbortedSubtxnSetFieldNumber;
4775
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4776
4777
GetTransactionStatusResponsePB::GetTransactionStatusResponsePB()
4778
349k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4779
333k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4780
333k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusResponsePB();
4781
333k
  }
4782
349k
  SharedCtor();
4783
  // @@protoc_insertion_point(constructor:yb.tserver.GetTransactionStatusResponsePB)
4784
349k
}
4785
GetTransactionStatusResponsePB::GetTransactionStatusResponsePB(const GetTransactionStatusResponsePB& from)
4786
  : ::google::protobuf::Message(),
4787
      _internal_metadata_(NULL),
4788
      _has_bits_(from._has_bits_),
4789
      _cached_size_(0),
4790
      status_(from.status_),
4791
      status_hybrid_time_(from.status_hybrid_time_),
4792
      num_replicated_batches_(from.num_replicated_batches_),
4793
      coordinator_safe_time_(from.coordinator_safe_time_),
4794
0
      aborted_subtxn_set_(from.aborted_subtxn_set_) {
4795
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4796
0
  if (from.has_error()) {
4797
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
4798
0
  } else {
4799
0
    error_ = NULL;
4800
0
  }
4801
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
4802
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetTransactionStatusResponsePB)
4803
0
}
4804
4805
349k
void GetTransactionStatusResponsePB::SharedCtor() {
4806
349k
  _cached_size_ = 0;
4807
349k
  ::memset(&error_, 0, static_cast<size_t>(
4808
349k
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
4809
349k
      reinterpret_cast<char*>(&error_)) + sizeof(propagated_hybrid_time_));
4810
349k
}
4811
4812
333k
GetTransactionStatusResponsePB::~GetTransactionStatusResponsePB() {
4813
  // @@protoc_insertion_point(destructor:yb.tserver.GetTransactionStatusResponsePB)
4814
333k
  SharedDtor();
4815
333k
}
4816
4817
333k
void GetTransactionStatusResponsePB::SharedDtor() {
4818
333k
  if (this != internal_default_instance()) delete error_;
4819
333k
}
4820
4821
0
void GetTransactionStatusResponsePB::SetCachedSize(int size) const {
4822
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4823
0
  _cached_size_ = size;
4824
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4825
0
}
4826
0
const ::google::protobuf::Descriptor* GetTransactionStatusResponsePB::descriptor() {
4827
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
4828
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4829
0
}
4830
4831
0
const GetTransactionStatusResponsePB& GetTransactionStatusResponsePB::default_instance() {
4832
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusResponsePB();
4833
0
  return *internal_default_instance();
4834
0
}
4835
4836
0
GetTransactionStatusResponsePB* GetTransactionStatusResponsePB::New(::google::protobuf::Arena* arena) const {
4837
0
  GetTransactionStatusResponsePB* n = new GetTransactionStatusResponsePB;
4838
0
  if (arena != NULL) {
4839
0
    arena->Own(n);
4840
0
  }
4841
0
  return n;
4842
0
}
4843
4844
208k
void GetTransactionStatusResponsePB::Clear() {
4845
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetTransactionStatusResponsePB)
4846
208k
  ::google::protobuf::uint32 cached_has_bits = 0;
4847
  // Prevent compiler warnings about cached_has_bits being unused
4848
208k
  (void) cached_has_bits;
4849
4850
208k
  status_.Clear();
4851
208k
  status_hybrid_time_.Clear();
4852
208k
  num_replicated_batches_.Clear();
4853
208k
  coordinator_safe_time_.Clear();
4854
208k
  aborted_subtxn_set_.Clear();
4855
208k
  cached_has_bits = _has_bits_[0];
4856
208k
  if (cached_has_bits & 0x00000001u) {
4857
45
    GOOGLE_DCHECK(error_ != NULL);
4858
45
    error_->Clear();
4859
45
  }
4860
208k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
4861
208k
  _has_bits_.Clear();
4862
208k
  _internal_metadata_.Clear();
4863
208k
}
4864
4865
bool GetTransactionStatusResponsePB::MergePartialFromCodedStream(
4866
124k
    ::google::protobuf::io::CodedInputStream* input) {
4867
549k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4868
124k
  ::google::protobuf::uint32 tag;
4869
  // @@protoc_insertion_point(parse_start:yb.tserver.GetTransactionStatusResponsePB)
4870
674k
  for (;;) {
4871
674k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4872
674k
    tag = p.first;
4873
674k
    if (!p.second) goto handle_unusual;
4874
549k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4875
      // optional .yb.tserver.TabletServerErrorPB error = 1;
4876
26
      case 1: {
4877
26
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4878
26
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4879
26
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4880
26
               input, mutable_error()));
4881
0
        } else {
4882
0
          goto handle_unusual;
4883
0
        }
4884
26
        break;
4885
26
      }
4886
4887
      // repeated .yb.TransactionStatus status = 2;
4888
124k
      case 2: {
4889
124k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4890
124k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
4891
124k
          int value;
4892
124k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4893
124k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4894
124k
                 input, &value)));
4895
124k
          if (::yb::TransactionStatus_IsValid(value)) {
4896
124k
            add_status(static_cast< ::yb::TransactionStatus >(value));
4897
13
          } else {
4898
13
            mutable_unknown_fields()->AddVarint(
4899
13
                2, static_cast< ::google::protobuf::uint64>(value));
4900
13
          }
4901
18.4E
        } else if (
4902
18.4E
            static_cast< ::google::protobuf::uint8>(tag) ==
4903
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4904
0
          DO_((::google::protobuf::internal::WireFormat::ReadPackedEnumPreserveUnknowns(
4905
0
                 input,
4906
0
                 2,
4907
0
                 ::yb::TransactionStatus_IsValid,
4908
0
                 mutable_unknown_fields(),
4909
0
                 this->mutable_status())));
4910
18.4E
        } else {
4911
18.4E
          goto handle_unusual;
4912
18.4E
        }
4913
124k
        break;
4914
124k
      }
4915
4916
      // repeated fixed64 status_hybrid_time = 3;
4917
124k
      case 3: {
4918
124k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4919
124k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
4920
124k
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
4921
124k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4922
124k
                 1, 25u, input, this->mutable_status_hybrid_time())));
4923
18.4E
        } else if (
4924
18.4E
            static_cast< ::google::protobuf::uint8>(tag) ==
4925
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
4926
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
4927
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4928
0
                 input, this->mutable_status_hybrid_time())));
4929
18.4E
        } else {
4930
18.4E
          goto handle_unusual;
4931
18.4E
        }
4932
124k
        break;
4933
124k
      }
4934
4935
      // optional fixed64 propagated_hybrid_time = 4;
4936
124k
      case 4: {
4937
124k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4938
124k
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
4939
124k
          set_has_propagated_hybrid_time();
4940
124k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4941
124k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4942
124k
                 input, &propagated_hybrid_time_)));
4943
0
        } else {
4944
0
          goto handle_unusual;
4945
0
        }
4946
124k
        break;
4947
124k
      }
4948
4949
      // repeated int64 num_replicated_batches = 5;
4950
0
      case 5: {
4951
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4952
0
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
4953
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
4954
0
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
4955
0
                 1, 40u, input, this->mutable_num_replicated_batches())));
4956
0
        } else if (
4957
0
            static_cast< ::google::protobuf::uint8>(tag) ==
4958
0
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
4959
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
4960
0
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
4961
0
                 input, this->mutable_num_replicated_batches())));
4962
0
        } else {
4963
0
          goto handle_unusual;
4964
0
        }
4965
0
        break;
4966
0
      }
4967
4968
      // repeated fixed64 coordinator_safe_time = 6;
4969
49.5k
      case 6: {
4970
49.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4971
49.5k
            static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) {
4972
49.5k
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
4973
49.5k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4974
49.5k
                 1, 49u, input, this->mutable_coordinator_safe_time())));
4975
0
        } else if (
4976
0
            static_cast< ::google::protobuf::uint8>(tag) ==
4977
0
            static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
4978
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
4979
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4980
0
                 input, this->mutable_coordinator_safe_time())));
4981
0
        } else {
4982
0
          goto handle_unusual;
4983
0
        }
4984
49.5k
        break;
4985
49.5k
      }
4986
4987
      // repeated .yb.AbortedSubTransactionSetPB aborted_subtxn_set = 7;
4988
124k
      case 7: {
4989
124k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4990
124k
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
4991
124k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_aborted_subtxn_set()));
4992
18.4E
        } else {
4993
18.4E
          goto handle_unusual;
4994
18.4E
        }
4995
124k
        break;
4996
124k
      }
4997
4998
0
      default: {
4999
124k
      handle_unusual:
5000
124k
        if (tag == 0) {
5001
124k
          goto success;
5002
124k
        }
5003
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5004
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5005
18.4E
        break;
5006
18.4E
      }
5007
549k
    }
5008
549k
  }
5009
124k
success:
5010
  // @@protoc_insertion_point(parse_success:yb.tserver.GetTransactionStatusResponsePB)
5011
124k
  return true;
5012
0
failure:
5013
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetTransactionStatusResponsePB)
5014
0
  return false;
5015
124k
#undef DO_
5016
124k
}
5017
5018
void GetTransactionStatusResponsePB::SerializeWithCachedSizes(
5019
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5020
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetTransactionStatusResponsePB)
5021
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5022
0
  (void) cached_has_bits;
5023
5024
0
  cached_has_bits = _has_bits_[0];
5025
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5026
0
  if (cached_has_bits & 0x00000001u) {
5027
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5028
0
      1, *this->error_, output);
5029
0
  }
5030
5031
  // repeated .yb.TransactionStatus status = 2;
5032
0
  for (int i = 0, n = this->status_size(); i < n; i++) {
5033
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
5034
0
      2, this->status(i), output);
5035
0
  }
5036
5037
  // repeated fixed64 status_hybrid_time = 3;
5038
0
  for (int i = 0, n = this->status_hybrid_time_size(); i < n; i++) {
5039
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(
5040
0
      3, this->status_hybrid_time(i), output);
5041
0
  }
5042
5043
  // optional fixed64 propagated_hybrid_time = 4;
5044
0
  if (cached_has_bits & 0x00000002u) {
5045
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->propagated_hybrid_time(), output);
5046
0
  }
5047
5048
  // repeated int64 num_replicated_batches = 5;
5049
0
  for (int i = 0, n = this->num_replicated_batches_size(); i < n; i++) {
5050
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(
5051
0
      5, this->num_replicated_batches(i), output);
5052
0
  }
5053
5054
  // repeated fixed64 coordinator_safe_time = 6;
5055
0
  for (int i = 0, n = this->coordinator_safe_time_size(); i < n; i++) {
5056
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(
5057
0
      6, this->coordinator_safe_time(i), output);
5058
0
  }
5059
5060
  // repeated .yb.AbortedSubTransactionSetPB aborted_subtxn_set = 7;
5061
0
  for (unsigned int i = 0,
5062
0
      n = static_cast<unsigned int>(this->aborted_subtxn_set_size()); i < n; i++) {
5063
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5064
0
      7, this->aborted_subtxn_set(static_cast<int>(i)), output);
5065
0
  }
5066
5067
0
  if (_internal_metadata_.have_unknown_fields()) {
5068
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5069
0
        _internal_metadata_.unknown_fields(), output);
5070
0
  }
5071
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetTransactionStatusResponsePB)
5072
0
}
5073
5074
::google::protobuf::uint8* GetTransactionStatusResponsePB::InternalSerializeWithCachedSizesToArray(
5075
124k
    bool deterministic, ::google::protobuf::uint8* target) const {
5076
124k
  (void)deterministic; // Unused
5077
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetTransactionStatusResponsePB)
5078
124k
  ::google::protobuf::uint32 cached_has_bits = 0;
5079
124k
  (void) cached_has_bits;
5080
5081
124k
  cached_has_bits = _has_bits_[0];
5082
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5083
124k
  if (cached_has_bits & 0x00000001u) {
5084
26
    target = ::google::protobuf::internal::WireFormatLite::
5085
26
      InternalWriteMessageToArray(
5086
26
        1, *this->error_, deterministic, target);
5087
26
  }
5088
5089
  // repeated .yb.TransactionStatus status = 2;
5090
124k
  target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
5091
124k
    2, this->status_, target);
5092
5093
  // repeated fixed64 status_hybrid_time = 3;
5094
124k
  target = ::google::protobuf::internal::WireFormatLite::
5095
124k
    WriteFixed64ToArray(3, this->status_hybrid_time_, target);
5096
5097
  // optional fixed64 propagated_hybrid_time = 4;
5098
124k
  if (cached_has_bits & 0x00000002u) {
5099
124k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->propagated_hybrid_time(), target);
5100
124k
  }
5101
5102
  // repeated int64 num_replicated_batches = 5;
5103
124k
  target = ::google::protobuf::internal::WireFormatLite::
5104
124k
    WriteInt64ToArray(5, this->num_replicated_batches_, target);
5105
5106
  // repeated fixed64 coordinator_safe_time = 6;
5107
124k
  target = ::google::protobuf::internal::WireFormatLite::
5108
124k
    WriteFixed64ToArray(6, this->coordinator_safe_time_, target);
5109
5110
  // repeated .yb.AbortedSubTransactionSetPB aborted_subtxn_set = 7;
5111
124k
  for (unsigned int i = 0,
5112
249k
      n = static_cast<unsigned int>(this->aborted_subtxn_set_size()); i < n; i++) {
5113
124k
    target = ::google::protobuf::internal::WireFormatLite::
5114
124k
      InternalWriteMessageToArray(
5115
124k
        7, this->aborted_subtxn_set(static_cast<int>(i)), deterministic, target);
5116
124k
  }
5117
5118
124k
  if (_internal_metadata_.have_unknown_fields()) {
5119
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5120
0
        _internal_metadata_.unknown_fields(), target);
5121
0
  }
5122
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetTransactionStatusResponsePB)
5123
124k
  return target;
5124
124k
}
5125
5126
249k
size_t GetTransactionStatusResponsePB::ByteSizeLong() const {
5127
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetTransactionStatusResponsePB)
5128
249k
  size_t total_size = 0;
5129
5130
249k
  if (_internal_metadata_.have_unknown_fields()) {
5131
0
    total_size +=
5132
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5133
0
        _internal_metadata_.unknown_fields());
5134
0
  }
5135
  // repeated .yb.TransactionStatus status = 2;
5136
249k
  {
5137
249k
    size_t data_size = 0;
5138
499k
    unsigned int count = static_cast<unsigned int>(this->status_size());for (unsigned int i = 0; i < count; i++) {
5139
249k
      data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
5140
249k
        this->status(static_cast<int>(i)));
5141
249k
    }
5142
249k
    total_size += (1UL * count) + data_size;
5143
249k
  }
5144
5145
  // repeated fixed64 status_hybrid_time = 3;
5146
249k
  {
5147
249k
    unsigned int count = static_cast<unsigned int>(this->status_hybrid_time_size());
5148
249k
    size_t data_size = 8UL * count;
5149
249k
    total_size += 1 *
5150
249k
                  ::google::protobuf::internal::FromIntSize(this->status_hybrid_time_size());
5151
249k
    total_size += data_size;
5152
249k
  }
5153
5154
  // repeated int64 num_replicated_batches = 5;
5155
249k
  {
5156
249k
    size_t data_size = ::google::protobuf::internal::WireFormatLite::
5157
249k
      Int64Size(this->num_replicated_batches_);
5158
249k
    total_size += 1 *
5159
249k
                  ::google::protobuf::internal::FromIntSize(this->num_replicated_batches_size());
5160
249k
    total_size += data_size;
5161
249k
  }
5162
5163
  // repeated fixed64 coordinator_safe_time = 6;
5164
249k
  {
5165
249k
    unsigned int count = static_cast<unsigned int>(this->coordinator_safe_time_size());
5166
249k
    size_t data_size = 8UL * count;
5167
249k
    total_size += 1 *
5168
249k
                  ::google::protobuf::internal::FromIntSize(this->coordinator_safe_time_size());
5169
249k
    total_size += data_size;
5170
249k
  }
5171
5172
  // repeated .yb.AbortedSubTransactionSetPB aborted_subtxn_set = 7;
5173
249k
  {
5174
249k
    unsigned int count = static_cast<unsigned int>(this->aborted_subtxn_set_size());
5175
249k
    total_size += 1UL * count;
5176
499k
    for (unsigned int i = 0; i < count; i++) {
5177
249k
      total_size +=
5178
249k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5179
249k
          this->aborted_subtxn_set(static_cast<int>(i)));
5180
249k
    }
5181
249k
  }
5182
5183
249k
  if (_has_bits_[0 / 32] & 3u) {
5184
    // optional .yb.tserver.TabletServerErrorPB error = 1;
5185
249k
    if (has_error()) {
5186
52
      total_size += 1 +
5187
52
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5188
52
          *this->error_);
5189
52
    }
5190
5191
    // optional fixed64 propagated_hybrid_time = 4;
5192
249k
    if (has_propagated_hybrid_time()) {
5193
249k
      total_size += 1 + 8;
5194
249k
    }
5195
5196
249k
  }
5197
249k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5198
249k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5199
249k
  _cached_size_ = cached_size;
5200
249k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5201
249k
  return total_size;
5202
249k
}
5203
5204
0
void GetTransactionStatusResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5205
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetTransactionStatusResponsePB)
5206
0
  GOOGLE_DCHECK_NE(&from, this);
5207
0
  const GetTransactionStatusResponsePB* source =
5208
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTransactionStatusResponsePB>(
5209
0
          &from);
5210
0
  if (source == NULL) {
5211
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetTransactionStatusResponsePB)
5212
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5213
0
  } else {
5214
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetTransactionStatusResponsePB)
5215
0
    MergeFrom(*source);
5216
0
  }
5217
0
}
5218
5219
0
void GetTransactionStatusResponsePB::MergeFrom(const GetTransactionStatusResponsePB& from) {
5220
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetTransactionStatusResponsePB)
5221
0
  GOOGLE_DCHECK_NE(&from, this);
5222
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5223
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5224
0
  (void) cached_has_bits;
5225
5226
0
  status_.MergeFrom(from.status_);
5227
0
  status_hybrid_time_.MergeFrom(from.status_hybrid_time_);
5228
0
  num_replicated_batches_.MergeFrom(from.num_replicated_batches_);
5229
0
  coordinator_safe_time_.MergeFrom(from.coordinator_safe_time_);
5230
0
  aborted_subtxn_set_.MergeFrom(from.aborted_subtxn_set_);
5231
0
  cached_has_bits = from._has_bits_[0];
5232
0
  if (cached_has_bits & 3u) {
5233
0
    if (cached_has_bits & 0x00000001u) {
5234
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
5235
0
    }
5236
0
    if (cached_has_bits & 0x00000002u) {
5237
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
5238
0
    }
5239
0
    _has_bits_[0] |= cached_has_bits;
5240
0
  }
5241
0
}
5242
5243
0
void GetTransactionStatusResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5244
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetTransactionStatusResponsePB)
5245
0
  if (&from == this) return;
5246
0
  Clear();
5247
0
  MergeFrom(from);
5248
0
}
5249
5250
0
void GetTransactionStatusResponsePB::CopyFrom(const GetTransactionStatusResponsePB& from) {
5251
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetTransactionStatusResponsePB)
5252
0
  if (&from == this) return;
5253
0
  Clear();
5254
0
  MergeFrom(from);
5255
0
}
5256
5257
249k
bool GetTransactionStatusResponsePB::IsInitialized() const {
5258
249k
  if (has_error()) {
5259
52
    if (!this->error_->IsInitialized()) return false;
5260
249k
  }
5261
249k
  return true;
5262
249k
}
5263
5264
0
void GetTransactionStatusResponsePB::Swap(GetTransactionStatusResponsePB* other) {
5265
0
  if (other == this) return;
5266
0
  InternalSwap(other);
5267
0
}
5268
0
void GetTransactionStatusResponsePB::InternalSwap(GetTransactionStatusResponsePB* other) {
5269
0
  using std::swap;
5270
0
  status_.InternalSwap(&other->status_);
5271
0
  status_hybrid_time_.InternalSwap(&other->status_hybrid_time_);
5272
0
  num_replicated_batches_.InternalSwap(&other->num_replicated_batches_);
5273
0
  coordinator_safe_time_.InternalSwap(&other->coordinator_safe_time_);
5274
0
  aborted_subtxn_set_.InternalSwap(&other->aborted_subtxn_set_);
5275
0
  swap(error_, other->error_);
5276
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
5277
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5278
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5279
0
  swap(_cached_size_, other->_cached_size_);
5280
0
}
5281
5282
47.1k
::google::protobuf::Metadata GetTransactionStatusResponsePB::GetMetadata() const {
5283
47.1k
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
5284
47.1k
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
5285
47.1k
}
5286
5287
5288
// ===================================================================
5289
5290
15.8k
void GetTransactionStatusAtParticipantRequestPB::InitAsDefaultInstance() {
5291
15.8k
}
5292
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5293
const int GetTransactionStatusAtParticipantRequestPB::kTabletIdFieldNumber;
5294
const int GetTransactionStatusAtParticipantRequestPB::kTransactionIdFieldNumber;
5295
const int GetTransactionStatusAtParticipantRequestPB::kPropagatedHybridTimeFieldNumber;
5296
const int GetTransactionStatusAtParticipantRequestPB::kRequiredNumReplicatedBatchesFieldNumber;
5297
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5298
5299
GetTransactionStatusAtParticipantRequestPB::GetTransactionStatusAtParticipantRequestPB()
5300
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5301
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5302
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusAtParticipantRequestPB();
5303
0
  }
5304
15.8k
  SharedCtor();
5305
  // @@protoc_insertion_point(constructor:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5306
15.8k
}
5307
GetTransactionStatusAtParticipantRequestPB::GetTransactionStatusAtParticipantRequestPB(const GetTransactionStatusAtParticipantRequestPB& from)
5308
  : ::google::protobuf::Message(),
5309
      _internal_metadata_(NULL),
5310
      _has_bits_(from._has_bits_),
5311
0
      _cached_size_(0) {
5312
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5313
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5314
0
  if (from.has_tablet_id()) {
5315
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
5316
0
  }
5317
0
  transaction_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5318
0
  if (from.has_transaction_id()) {
5319
0
    transaction_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transaction_id_);
5320
0
  }
5321
0
  ::memcpy(&propagated_hybrid_time_, &from.propagated_hybrid_time_,
5322
0
    static_cast<size_t>(reinterpret_cast<char*>(&required_num_replicated_batches_) -
5323
0
    reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(required_num_replicated_batches_));
5324
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5325
0
}
5326
5327
15.8k
void GetTransactionStatusAtParticipantRequestPB::SharedCtor() {
5328
15.8k
  _cached_size_ = 0;
5329
15.8k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5330
15.8k
  transaction_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5331
15.8k
  ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
5332
15.8k
      reinterpret_cast<char*>(&required_num_replicated_batches_) -
5333
15.8k
      reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(required_num_replicated_batches_));
5334
15.8k
}
5335
5336
0
GetTransactionStatusAtParticipantRequestPB::~GetTransactionStatusAtParticipantRequestPB() {
5337
  // @@protoc_insertion_point(destructor:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5338
0
  SharedDtor();
5339
0
}
5340
5341
0
void GetTransactionStatusAtParticipantRequestPB::SharedDtor() {
5342
0
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5343
0
  transaction_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5344
0
}
5345
5346
0
void GetTransactionStatusAtParticipantRequestPB::SetCachedSize(int size) const {
5347
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5348
0
  _cached_size_ = size;
5349
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5350
0
}
5351
0
const ::google::protobuf::Descriptor* GetTransactionStatusAtParticipantRequestPB::descriptor() {
5352
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
5353
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5354
0
}
5355
5356
0
const GetTransactionStatusAtParticipantRequestPB& GetTransactionStatusAtParticipantRequestPB::default_instance() {
5357
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusAtParticipantRequestPB();
5358
0
  return *internal_default_instance();
5359
0
}
5360
5361
0
GetTransactionStatusAtParticipantRequestPB* GetTransactionStatusAtParticipantRequestPB::New(::google::protobuf::Arena* arena) const {
5362
0
  GetTransactionStatusAtParticipantRequestPB* n = new GetTransactionStatusAtParticipantRequestPB;
5363
0
  if (arena != NULL) {
5364
0
    arena->Own(n);
5365
0
  }
5366
0
  return n;
5367
0
}
5368
5369
0
void GetTransactionStatusAtParticipantRequestPB::Clear() {
5370
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5371
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5372
  // Prevent compiler warnings about cached_has_bits being unused
5373
0
  (void) cached_has_bits;
5374
5375
0
  cached_has_bits = _has_bits_[0];
5376
0
  if (cached_has_bits & 3u) {
5377
0
    if (cached_has_bits & 0x00000001u) {
5378
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5379
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
5380
0
    }
5381
0
    if (cached_has_bits & 0x00000002u) {
5382
0
      GOOGLE_DCHECK(!transaction_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5383
0
      (*transaction_id_.UnsafeRawStringPointer())->clear();
5384
0
    }
5385
0
  }
5386
0
  if (cached_has_bits & 12u) {
5387
0
    ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
5388
0
        reinterpret_cast<char*>(&required_num_replicated_batches_) -
5389
0
        reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(required_num_replicated_batches_));
5390
0
  }
5391
0
  _has_bits_.Clear();
5392
0
  _internal_metadata_.Clear();
5393
0
}
5394
5395
bool GetTransactionStatusAtParticipantRequestPB::MergePartialFromCodedStream(
5396
0
    ::google::protobuf::io::CodedInputStream* input) {
5397
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5398
0
  ::google::protobuf::uint32 tag;
5399
  // @@protoc_insertion_point(parse_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5400
0
  for (;;) {
5401
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5402
0
    tag = p.first;
5403
0
    if (!p.second) goto handle_unusual;
5404
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5405
      // optional bytes tablet_id = 1;
5406
0
      case 1: {
5407
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5408
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5409
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5410
0
                input, this->mutable_tablet_id()));
5411
0
        } else {
5412
0
          goto handle_unusual;
5413
0
        }
5414
0
        break;
5415
0
      }
5416
5417
      // optional bytes transaction_id = 2;
5418
0
      case 2: {
5419
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5420
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5421
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5422
0
                input, this->mutable_transaction_id()));
5423
0
        } else {
5424
0
          goto handle_unusual;
5425
0
        }
5426
0
        break;
5427
0
      }
5428
5429
      // optional fixed64 propagated_hybrid_time = 3;
5430
0
      case 3: {
5431
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5432
0
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
5433
0
          set_has_propagated_hybrid_time();
5434
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5435
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
5436
0
                 input, &propagated_hybrid_time_)));
5437
0
        } else {
5438
0
          goto handle_unusual;
5439
0
        }
5440
0
        break;
5441
0
      }
5442
5443
      // optional int64 required_num_replicated_batches = 4;
5444
0
      case 4: {
5445
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5446
0
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
5447
0
          set_has_required_num_replicated_batches();
5448
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5449
0
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
5450
0
                 input, &required_num_replicated_batches_)));
5451
0
        } else {
5452
0
          goto handle_unusual;
5453
0
        }
5454
0
        break;
5455
0
      }
5456
5457
0
      default: {
5458
0
      handle_unusual:
5459
0
        if (tag == 0) {
5460
0
          goto success;
5461
0
        }
5462
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5463
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5464
0
        break;
5465
0
      }
5466
0
    }
5467
0
  }
5468
0
success:
5469
  // @@protoc_insertion_point(parse_success:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5470
0
  return true;
5471
0
failure:
5472
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5473
0
  return false;
5474
0
#undef DO_
5475
0
}
5476
5477
void GetTransactionStatusAtParticipantRequestPB::SerializeWithCachedSizes(
5478
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5479
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5480
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5481
0
  (void) cached_has_bits;
5482
5483
0
  cached_has_bits = _has_bits_[0];
5484
  // optional bytes tablet_id = 1;
5485
0
  if (cached_has_bits & 0x00000001u) {
5486
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5487
0
      1, this->tablet_id(), output);
5488
0
  }
5489
5490
  // optional bytes transaction_id = 2;
5491
0
  if (cached_has_bits & 0x00000002u) {
5492
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5493
0
      2, this->transaction_id(), output);
5494
0
  }
5495
5496
  // optional fixed64 propagated_hybrid_time = 3;
5497
0
  if (cached_has_bits & 0x00000004u) {
5498
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->propagated_hybrid_time(), output);
5499
0
  }
5500
5501
  // optional int64 required_num_replicated_batches = 4;
5502
0
  if (cached_has_bits & 0x00000008u) {
5503
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->required_num_replicated_batches(), output);
5504
0
  }
5505
5506
0
  if (_internal_metadata_.have_unknown_fields()) {
5507
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5508
0
        _internal_metadata_.unknown_fields(), output);
5509
0
  }
5510
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5511
0
}
5512
5513
::google::protobuf::uint8* GetTransactionStatusAtParticipantRequestPB::InternalSerializeWithCachedSizesToArray(
5514
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5515
0
  (void)deterministic; // Unused
5516
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5517
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5518
0
  (void) cached_has_bits;
5519
5520
0
  cached_has_bits = _has_bits_[0];
5521
  // optional bytes tablet_id = 1;
5522
0
  if (cached_has_bits & 0x00000001u) {
5523
0
    target =
5524
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5525
0
        1, this->tablet_id(), target);
5526
0
  }
5527
5528
  // optional bytes transaction_id = 2;
5529
0
  if (cached_has_bits & 0x00000002u) {
5530
0
    target =
5531
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5532
0
        2, this->transaction_id(), target);
5533
0
  }
5534
5535
  // optional fixed64 propagated_hybrid_time = 3;
5536
0
  if (cached_has_bits & 0x00000004u) {
5537
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->propagated_hybrid_time(), target);
5538
0
  }
5539
5540
  // optional int64 required_num_replicated_batches = 4;
5541
0
  if (cached_has_bits & 0x00000008u) {
5542
0
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->required_num_replicated_batches(), target);
5543
0
  }
5544
5545
0
  if (_internal_metadata_.have_unknown_fields()) {
5546
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5547
0
        _internal_metadata_.unknown_fields(), target);
5548
0
  }
5549
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5550
0
  return target;
5551
0
}
5552
5553
0
size_t GetTransactionStatusAtParticipantRequestPB::ByteSizeLong() const {
5554
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5555
0
  size_t total_size = 0;
5556
5557
0
  if (_internal_metadata_.have_unknown_fields()) {
5558
0
    total_size +=
5559
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5560
0
        _internal_metadata_.unknown_fields());
5561
0
  }
5562
0
  if (_has_bits_[0 / 32] & 15u) {
5563
    // optional bytes tablet_id = 1;
5564
0
    if (has_tablet_id()) {
5565
0
      total_size += 1 +
5566
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5567
0
          this->tablet_id());
5568
0
    }
5569
5570
    // optional bytes transaction_id = 2;
5571
0
    if (has_transaction_id()) {
5572
0
      total_size += 1 +
5573
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5574
0
          this->transaction_id());
5575
0
    }
5576
5577
    // optional fixed64 propagated_hybrid_time = 3;
5578
0
    if (has_propagated_hybrid_time()) {
5579
0
      total_size += 1 + 8;
5580
0
    }
5581
5582
    // optional int64 required_num_replicated_batches = 4;
5583
0
    if (has_required_num_replicated_batches()) {
5584
0
      total_size += 1 +
5585
0
        ::google::protobuf::internal::WireFormatLite::Int64Size(
5586
0
          this->required_num_replicated_batches());
5587
0
    }
5588
5589
0
  }
5590
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5591
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5592
0
  _cached_size_ = cached_size;
5593
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5594
0
  return total_size;
5595
0
}
5596
5597
0
void GetTransactionStatusAtParticipantRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
5598
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5599
0
  GOOGLE_DCHECK_NE(&from, this);
5600
0
  const GetTransactionStatusAtParticipantRequestPB* source =
5601
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTransactionStatusAtParticipantRequestPB>(
5602
0
          &from);
5603
0
  if (source == NULL) {
5604
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5605
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5606
0
  } else {
5607
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5608
0
    MergeFrom(*source);
5609
0
  }
5610
0
}
5611
5612
0
void GetTransactionStatusAtParticipantRequestPB::MergeFrom(const GetTransactionStatusAtParticipantRequestPB& from) {
5613
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5614
0
  GOOGLE_DCHECK_NE(&from, this);
5615
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5616
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5617
0
  (void) cached_has_bits;
5618
5619
0
  cached_has_bits = from._has_bits_[0];
5620
0
  if (cached_has_bits & 15u) {
5621
0
    if (cached_has_bits & 0x00000001u) {
5622
0
      set_has_tablet_id();
5623
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
5624
0
    }
5625
0
    if (cached_has_bits & 0x00000002u) {
5626
0
      set_has_transaction_id();
5627
0
      transaction_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transaction_id_);
5628
0
    }
5629
0
    if (cached_has_bits & 0x00000004u) {
5630
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
5631
0
    }
5632
0
    if (cached_has_bits & 0x00000008u) {
5633
0
      required_num_replicated_batches_ = from.required_num_replicated_batches_;
5634
0
    }
5635
0
    _has_bits_[0] |= cached_has_bits;
5636
0
  }
5637
0
}
5638
5639
0
void GetTransactionStatusAtParticipantRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
5640
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5641
0
  if (&from == this) return;
5642
0
  Clear();
5643
0
  MergeFrom(from);
5644
0
}
5645
5646
0
void GetTransactionStatusAtParticipantRequestPB::CopyFrom(const GetTransactionStatusAtParticipantRequestPB& from) {
5647
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetTransactionStatusAtParticipantRequestPB)
5648
0
  if (&from == this) return;
5649
0
  Clear();
5650
0
  MergeFrom(from);
5651
0
}
5652
5653
0
bool GetTransactionStatusAtParticipantRequestPB::IsInitialized() const {
5654
0
  return true;
5655
0
}
5656
5657
0
void GetTransactionStatusAtParticipantRequestPB::Swap(GetTransactionStatusAtParticipantRequestPB* other) {
5658
0
  if (other == this) return;
5659
0
  InternalSwap(other);
5660
0
}
5661
0
void GetTransactionStatusAtParticipantRequestPB::InternalSwap(GetTransactionStatusAtParticipantRequestPB* other) {
5662
0
  using std::swap;
5663
0
  tablet_id_.Swap(&other->tablet_id_);
5664
0
  transaction_id_.Swap(&other->transaction_id_);
5665
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
5666
0
  swap(required_num_replicated_batches_, other->required_num_replicated_batches_);
5667
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5668
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5669
0
  swap(_cached_size_, other->_cached_size_);
5670
0
}
5671
5672
0
::google::protobuf::Metadata GetTransactionStatusAtParticipantRequestPB::GetMetadata() const {
5673
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
5674
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
5675
0
}
5676
5677
5678
// ===================================================================
5679
5680
15.8k
void GetTransactionStatusAtParticipantResponsePB::InitAsDefaultInstance() {
5681
15.8k
  ::yb::tserver::_GetTransactionStatusAtParticipantResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
5682
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
5683
15.8k
}
5684
0
void GetTransactionStatusAtParticipantResponsePB::clear_error() {
5685
0
  if (error_ != NULL) error_->Clear();
5686
0
  clear_has_error();
5687
0
}
5688
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5689
const int GetTransactionStatusAtParticipantResponsePB::kErrorFieldNumber;
5690
const int GetTransactionStatusAtParticipantResponsePB::kPropagatedHybridTimeFieldNumber;
5691
const int GetTransactionStatusAtParticipantResponsePB::kNumReplicatedBatchesFieldNumber;
5692
const int GetTransactionStatusAtParticipantResponsePB::kStatusHybridTimeFieldNumber;
5693
const int GetTransactionStatusAtParticipantResponsePB::kAbortedFieldNumber;
5694
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5695
5696
GetTransactionStatusAtParticipantResponsePB::GetTransactionStatusAtParticipantResponsePB()
5697
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5698
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5699
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusAtParticipantResponsePB();
5700
0
  }
5701
15.8k
  SharedCtor();
5702
  // @@protoc_insertion_point(constructor:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5703
15.8k
}
5704
GetTransactionStatusAtParticipantResponsePB::GetTransactionStatusAtParticipantResponsePB(const GetTransactionStatusAtParticipantResponsePB& from)
5705
  : ::google::protobuf::Message(),
5706
      _internal_metadata_(NULL),
5707
      _has_bits_(from._has_bits_),
5708
0
      _cached_size_(0) {
5709
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5710
0
  if (from.has_error()) {
5711
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
5712
0
  } else {
5713
0
    error_ = NULL;
5714
0
  }
5715
0
  ::memcpy(&propagated_hybrid_time_, &from.propagated_hybrid_time_,
5716
0
    static_cast<size_t>(reinterpret_cast<char*>(&aborted_) -
5717
0
    reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(aborted_));
5718
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5719
0
}
5720
5721
15.8k
void GetTransactionStatusAtParticipantResponsePB::SharedCtor() {
5722
15.8k
  _cached_size_ = 0;
5723
15.8k
  ::memset(&error_, 0, static_cast<size_t>(
5724
15.8k
      reinterpret_cast<char*>(&aborted_) -
5725
15.8k
      reinterpret_cast<char*>(&error_)) + sizeof(aborted_));
5726
15.8k
}
5727
5728
0
GetTransactionStatusAtParticipantResponsePB::~GetTransactionStatusAtParticipantResponsePB() {
5729
  // @@protoc_insertion_point(destructor:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5730
0
  SharedDtor();
5731
0
}
5732
5733
0
void GetTransactionStatusAtParticipantResponsePB::SharedDtor() {
5734
0
  if (this != internal_default_instance()) delete error_;
5735
0
}
5736
5737
0
void GetTransactionStatusAtParticipantResponsePB::SetCachedSize(int size) const {
5738
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5739
0
  _cached_size_ = size;
5740
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5741
0
}
5742
0
const ::google::protobuf::Descriptor* GetTransactionStatusAtParticipantResponsePB::descriptor() {
5743
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
5744
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5745
0
}
5746
5747
0
const GetTransactionStatusAtParticipantResponsePB& GetTransactionStatusAtParticipantResponsePB::default_instance() {
5748
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetTransactionStatusAtParticipantResponsePB();
5749
0
  return *internal_default_instance();
5750
0
}
5751
5752
0
GetTransactionStatusAtParticipantResponsePB* GetTransactionStatusAtParticipantResponsePB::New(::google::protobuf::Arena* arena) const {
5753
0
  GetTransactionStatusAtParticipantResponsePB* n = new GetTransactionStatusAtParticipantResponsePB;
5754
0
  if (arena != NULL) {
5755
0
    arena->Own(n);
5756
0
  }
5757
0
  return n;
5758
0
}
5759
5760
0
void GetTransactionStatusAtParticipantResponsePB::Clear() {
5761
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5762
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5763
  // Prevent compiler warnings about cached_has_bits being unused
5764
0
  (void) cached_has_bits;
5765
5766
0
  cached_has_bits = _has_bits_[0];
5767
0
  if (cached_has_bits & 0x00000001u) {
5768
0
    GOOGLE_DCHECK(error_ != NULL);
5769
0
    error_->Clear();
5770
0
  }
5771
0
  if (cached_has_bits & 30u) {
5772
0
    ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
5773
0
        reinterpret_cast<char*>(&aborted_) -
5774
0
        reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(aborted_));
5775
0
  }
5776
0
  _has_bits_.Clear();
5777
0
  _internal_metadata_.Clear();
5778
0
}
5779
5780
bool GetTransactionStatusAtParticipantResponsePB::MergePartialFromCodedStream(
5781
0
    ::google::protobuf::io::CodedInputStream* input) {
5782
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5783
0
  ::google::protobuf::uint32 tag;
5784
  // @@protoc_insertion_point(parse_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5785
0
  for (;;) {
5786
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5787
0
    tag = p.first;
5788
0
    if (!p.second) goto handle_unusual;
5789
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5790
      // optional .yb.tserver.TabletServerErrorPB error = 1;
5791
0
      case 1: {
5792
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5793
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5794
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5795
0
               input, mutable_error()));
5796
0
        } else {
5797
0
          goto handle_unusual;
5798
0
        }
5799
0
        break;
5800
0
      }
5801
5802
      // optional fixed64 propagated_hybrid_time = 2;
5803
0
      case 2: {
5804
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5805
0
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
5806
0
          set_has_propagated_hybrid_time();
5807
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5808
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
5809
0
                 input, &propagated_hybrid_time_)));
5810
0
        } else {
5811
0
          goto handle_unusual;
5812
0
        }
5813
0
        break;
5814
0
      }
5815
5816
      // optional int64 num_replicated_batches = 3;
5817
0
      case 3: {
5818
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5819
0
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
5820
0
          set_has_num_replicated_batches();
5821
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5822
0
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
5823
0
                 input, &num_replicated_batches_)));
5824
0
        } else {
5825
0
          goto handle_unusual;
5826
0
        }
5827
0
        break;
5828
0
      }
5829
5830
      // optional fixed64 status_hybrid_time = 4;
5831
0
      case 4: {
5832
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5833
0
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
5834
0
          set_has_status_hybrid_time();
5835
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5836
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
5837
0
                 input, &status_hybrid_time_)));
5838
0
        } else {
5839
0
          goto handle_unusual;
5840
0
        }
5841
0
        break;
5842
0
      }
5843
5844
      // optional bool aborted = 5;
5845
0
      case 5: {
5846
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5847
0
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
5848
0
          set_has_aborted();
5849
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5850
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5851
0
                 input, &aborted_)));
5852
0
        } else {
5853
0
          goto handle_unusual;
5854
0
        }
5855
0
        break;
5856
0
      }
5857
5858
0
      default: {
5859
0
      handle_unusual:
5860
0
        if (tag == 0) {
5861
0
          goto success;
5862
0
        }
5863
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5864
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5865
0
        break;
5866
0
      }
5867
0
    }
5868
0
  }
5869
0
success:
5870
  // @@protoc_insertion_point(parse_success:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5871
0
  return true;
5872
0
failure:
5873
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5874
0
  return false;
5875
0
#undef DO_
5876
0
}
5877
5878
void GetTransactionStatusAtParticipantResponsePB::SerializeWithCachedSizes(
5879
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5880
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5881
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5882
0
  (void) cached_has_bits;
5883
5884
0
  cached_has_bits = _has_bits_[0];
5885
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5886
0
  if (cached_has_bits & 0x00000001u) {
5887
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5888
0
      1, *this->error_, output);
5889
0
  }
5890
5891
  // optional fixed64 propagated_hybrid_time = 2;
5892
0
  if (cached_has_bits & 0x00000002u) {
5893
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->propagated_hybrid_time(), output);
5894
0
  }
5895
5896
  // optional int64 num_replicated_batches = 3;
5897
0
  if (cached_has_bits & 0x00000004u) {
5898
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->num_replicated_batches(), output);
5899
0
  }
5900
5901
  // optional fixed64 status_hybrid_time = 4;
5902
0
  if (cached_has_bits & 0x00000008u) {
5903
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->status_hybrid_time(), output);
5904
0
  }
5905
5906
  // optional bool aborted = 5;
5907
0
  if (cached_has_bits & 0x00000010u) {
5908
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->aborted(), output);
5909
0
  }
5910
5911
0
  if (_internal_metadata_.have_unknown_fields()) {
5912
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5913
0
        _internal_metadata_.unknown_fields(), output);
5914
0
  }
5915
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5916
0
}
5917
5918
::google::protobuf::uint8* GetTransactionStatusAtParticipantResponsePB::InternalSerializeWithCachedSizesToArray(
5919
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5920
0
  (void)deterministic; // Unused
5921
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5922
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5923
0
  (void) cached_has_bits;
5924
5925
0
  cached_has_bits = _has_bits_[0];
5926
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5927
0
  if (cached_has_bits & 0x00000001u) {
5928
0
    target = ::google::protobuf::internal::WireFormatLite::
5929
0
      InternalWriteMessageToArray(
5930
0
        1, *this->error_, deterministic, target);
5931
0
  }
5932
5933
  // optional fixed64 propagated_hybrid_time = 2;
5934
0
  if (cached_has_bits & 0x00000002u) {
5935
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->propagated_hybrid_time(), target);
5936
0
  }
5937
5938
  // optional int64 num_replicated_batches = 3;
5939
0
  if (cached_has_bits & 0x00000004u) {
5940
0
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->num_replicated_batches(), target);
5941
0
  }
5942
5943
  // optional fixed64 status_hybrid_time = 4;
5944
0
  if (cached_has_bits & 0x00000008u) {
5945
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->status_hybrid_time(), target);
5946
0
  }
5947
5948
  // optional bool aborted = 5;
5949
0
  if (cached_has_bits & 0x00000010u) {
5950
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->aborted(), target);
5951
0
  }
5952
5953
0
  if (_internal_metadata_.have_unknown_fields()) {
5954
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5955
0
        _internal_metadata_.unknown_fields(), target);
5956
0
  }
5957
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5958
0
  return target;
5959
0
}
5960
5961
0
size_t GetTransactionStatusAtParticipantResponsePB::ByteSizeLong() const {
5962
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
5963
0
  size_t total_size = 0;
5964
5965
0
  if (_internal_metadata_.have_unknown_fields()) {
5966
0
    total_size +=
5967
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5968
0
        _internal_metadata_.unknown_fields());
5969
0
  }
5970
0
  if (_has_bits_[0 / 32] & 31u) {
5971
    // optional .yb.tserver.TabletServerErrorPB error = 1;
5972
0
    if (has_error()) {
5973
0
      total_size += 1 +
5974
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5975
0
          *this->error_);
5976
0
    }
5977
5978
    // optional fixed64 propagated_hybrid_time = 2;
5979
0
    if (has_propagated_hybrid_time()) {
5980
0
      total_size += 1 + 8;
5981
0
    }
5982
5983
    // optional int64 num_replicated_batches = 3;
5984
0
    if (has_num_replicated_batches()) {
5985
0
      total_size += 1 +
5986
0
        ::google::protobuf::internal::WireFormatLite::Int64Size(
5987
0
          this->num_replicated_batches());
5988
0
    }
5989
5990
    // optional fixed64 status_hybrid_time = 4;
5991
0
    if (has_status_hybrid_time()) {
5992
0
      total_size += 1 + 8;
5993
0
    }
5994
5995
    // optional bool aborted = 5;
5996
0
    if (has_aborted()) {
5997
0
      total_size += 1 + 1;
5998
0
    }
5999
6000
0
  }
6001
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6002
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6003
0
  _cached_size_ = cached_size;
6004
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6005
0
  return total_size;
6006
0
}
6007
6008
0
void GetTransactionStatusAtParticipantResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6009
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
6010
0
  GOOGLE_DCHECK_NE(&from, this);
6011
0
  const GetTransactionStatusAtParticipantResponsePB* source =
6012
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTransactionStatusAtParticipantResponsePB>(
6013
0
          &from);
6014
0
  if (source == NULL) {
6015
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
6016
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6017
0
  } else {
6018
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
6019
0
    MergeFrom(*source);
6020
0
  }
6021
0
}
6022
6023
0
void GetTransactionStatusAtParticipantResponsePB::MergeFrom(const GetTransactionStatusAtParticipantResponsePB& from) {
6024
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
6025
0
  GOOGLE_DCHECK_NE(&from, this);
6026
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6027
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6028
0
  (void) cached_has_bits;
6029
6030
0
  cached_has_bits = from._has_bits_[0];
6031
0
  if (cached_has_bits & 31u) {
6032
0
    if (cached_has_bits & 0x00000001u) {
6033
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
6034
0
    }
6035
0
    if (cached_has_bits & 0x00000002u) {
6036
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
6037
0
    }
6038
0
    if (cached_has_bits & 0x00000004u) {
6039
0
      num_replicated_batches_ = from.num_replicated_batches_;
6040
0
    }
6041
0
    if (cached_has_bits & 0x00000008u) {
6042
0
      status_hybrid_time_ = from.status_hybrid_time_;
6043
0
    }
6044
0
    if (cached_has_bits & 0x00000010u) {
6045
0
      aborted_ = from.aborted_;
6046
0
    }
6047
0
    _has_bits_[0] |= cached_has_bits;
6048
0
  }
6049
0
}
6050
6051
0
void GetTransactionStatusAtParticipantResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6052
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
6053
0
  if (&from == this) return;
6054
0
  Clear();
6055
0
  MergeFrom(from);
6056
0
}
6057
6058
0
void GetTransactionStatusAtParticipantResponsePB::CopyFrom(const GetTransactionStatusAtParticipantResponsePB& from) {
6059
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetTransactionStatusAtParticipantResponsePB)
6060
0
  if (&from == this) return;
6061
0
  Clear();
6062
0
  MergeFrom(from);
6063
0
}
6064
6065
0
bool GetTransactionStatusAtParticipantResponsePB::IsInitialized() const {
6066
0
  if (has_error()) {
6067
0
    if (!this->error_->IsInitialized()) return false;
6068
0
  }
6069
0
  return true;
6070
0
}
6071
6072
0
void GetTransactionStatusAtParticipantResponsePB::Swap(GetTransactionStatusAtParticipantResponsePB* other) {
6073
0
  if (other == this) return;
6074
0
  InternalSwap(other);
6075
0
}
6076
0
void GetTransactionStatusAtParticipantResponsePB::InternalSwap(GetTransactionStatusAtParticipantResponsePB* other) {
6077
0
  using std::swap;
6078
0
  swap(error_, other->error_);
6079
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
6080
0
  swap(num_replicated_batches_, other->num_replicated_batches_);
6081
0
  swap(status_hybrid_time_, other->status_hybrid_time_);
6082
0
  swap(aborted_, other->aborted_);
6083
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6084
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6085
0
  swap(_cached_size_, other->_cached_size_);
6086
0
}
6087
6088
0
::google::protobuf::Metadata GetTransactionStatusAtParticipantResponsePB::GetMetadata() const {
6089
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
6090
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
6091
0
}
6092
6093
6094
// ===================================================================
6095
6096
15.8k
void AbortTransactionRequestPB::InitAsDefaultInstance() {
6097
15.8k
}
6098
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6099
const int AbortTransactionRequestPB::kTabletIdFieldNumber;
6100
const int AbortTransactionRequestPB::kTransactionIdFieldNumber;
6101
const int AbortTransactionRequestPB::kPropagatedHybridTimeFieldNumber;
6102
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6103
6104
AbortTransactionRequestPB::AbortTransactionRequestPB()
6105
280k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6106
264k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6107
264k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsAbortTransactionRequestPB();
6108
264k
  }
6109
280k
  SharedCtor();
6110
  // @@protoc_insertion_point(constructor:yb.tserver.AbortTransactionRequestPB)
6111
280k
}
6112
AbortTransactionRequestPB::AbortTransactionRequestPB(const AbortTransactionRequestPB& from)
6113
  : ::google::protobuf::Message(),
6114
      _internal_metadata_(NULL),
6115
      _has_bits_(from._has_bits_),
6116
0
      _cached_size_(0) {
6117
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6118
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6119
0
  if (from.has_tablet_id()) {
6120
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
6121
0
  }
6122
0
  transaction_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6123
0
  if (from.has_transaction_id()) {
6124
0
    transaction_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transaction_id_);
6125
0
  }
6126
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
6127
  // @@protoc_insertion_point(copy_constructor:yb.tserver.AbortTransactionRequestPB)
6128
0
}
6129
6130
279k
void AbortTransactionRequestPB::SharedCtor() {
6131
279k
  _cached_size_ = 0;
6132
279k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6133
279k
  transaction_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6134
279k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
6135
279k
}
6136
6137
263k
AbortTransactionRequestPB::~AbortTransactionRequestPB() {
6138
  // @@protoc_insertion_point(destructor:yb.tserver.AbortTransactionRequestPB)
6139
263k
  SharedDtor();
6140
263k
}
6141
6142
263k
void AbortTransactionRequestPB::SharedDtor() {
6143
263k
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6144
263k
  transaction_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6145
263k
}
6146
6147
0
void AbortTransactionRequestPB::SetCachedSize(int size) const {
6148
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6149
0
  _cached_size_ = size;
6150
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6151
0
}
6152
0
const ::google::protobuf::Descriptor* AbortTransactionRequestPB::descriptor() {
6153
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
6154
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6155
0
}
6156
6157
0
const AbortTransactionRequestPB& AbortTransactionRequestPB::default_instance() {
6158
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsAbortTransactionRequestPB();
6159
0
  return *internal_default_instance();
6160
0
}
6161
6162
0
AbortTransactionRequestPB* AbortTransactionRequestPB::New(::google::protobuf::Arena* arena) const {
6163
0
  AbortTransactionRequestPB* n = new AbortTransactionRequestPB;
6164
0
  if (arena != NULL) {
6165
0
    arena->Own(n);
6166
0
  }
6167
0
  return n;
6168
0
}
6169
6170
32.2k
void AbortTransactionRequestPB::Clear() {
6171
// @@protoc_insertion_point(message_clear_start:yb.tserver.AbortTransactionRequestPB)
6172
32.2k
  ::google::protobuf::uint32 cached_has_bits = 0;
6173
  // Prevent compiler warnings about cached_has_bits being unused
6174
32.2k
  (void) cached_has_bits;
6175
6176
32.2k
  cached_has_bits = _has_bits_[0];
6177
32.2k
  if (cached_has_bits & 3u) {
6178
0
    if (cached_has_bits & 0x00000001u) {
6179
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6180
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
6181
0
    }
6182
0
    if (cached_has_bits & 0x00000002u) {
6183
0
      GOOGLE_DCHECK(!transaction_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6184
0
      (*transaction_id_.UnsafeRawStringPointer())->clear();
6185
0
    }
6186
0
  }
6187
32.2k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
6188
32.2k
  _has_bits_.Clear();
6189
32.2k
  _internal_metadata_.Clear();
6190
32.2k
}
6191
6192
bool AbortTransactionRequestPB::MergePartialFromCodedStream(
6193
32.1k
    ::google::protobuf::io::CodedInputStream* input) {
6194
96.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6195
32.1k
  ::google::protobuf::uint32 tag;
6196
  // @@protoc_insertion_point(parse_start:yb.tserver.AbortTransactionRequestPB)
6197
128k
  for (;;) {
6198
128k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6199
128k
    tag = p.first;
6200
128k
    if (!p.second) goto handle_unusual;
6201
96.3k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6202
      // optional bytes tablet_id = 1;
6203
32.1k
      case 1: {
6204
32.1k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6205
32.1k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6206
32.1k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
6207
32.1k
                input, this->mutable_tablet_id()));
6208
18.4E
        } else {
6209
18.4E
          goto handle_unusual;
6210
18.4E
        }
6211
32.1k
        break;
6212
32.1k
      }
6213
6214
      // optional bytes transaction_id = 2;
6215
32.2k
      case 2: {
6216
32.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6217
32.2k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
6218
32.2k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
6219
32.2k
                input, this->mutable_transaction_id()));
6220
18.4E
        } else {
6221
18.4E
          goto handle_unusual;
6222
18.4E
        }
6223
32.2k
        break;
6224
32.2k
      }
6225
6226
      // optional fixed64 propagated_hybrid_time = 3;
6227
32.2k
      case 3: {
6228
32.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6229
32.2k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
6230
32.2k
          set_has_propagated_hybrid_time();
6231
32.2k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6232
32.2k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
6233
32.2k
                 input, &propagated_hybrid_time_)));
6234
18.4E
        } else {
6235
18.4E
          goto handle_unusual;
6236
18.4E
        }
6237
32.2k
        break;
6238
32.1k
      }
6239
6240
0
      default: {
6241
32.1k
      handle_unusual:
6242
32.2k
        if (tag == 0) {
6243
32.2k
          goto success;
6244
32.2k
        }
6245
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6246
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6247
18.4E
        break;
6248
18.4E
      }
6249
96.3k
    }
6250
96.3k
  }
6251
32.1k
success:
6252
  // @@protoc_insertion_point(parse_success:yb.tserver.AbortTransactionRequestPB)
6253
32.1k
  return true;
6254
0
failure:
6255
  // @@protoc_insertion_point(parse_failure:yb.tserver.AbortTransactionRequestPB)
6256
0
  return false;
6257
32.1k
#undef DO_
6258
32.1k
}
6259
6260
void AbortTransactionRequestPB::SerializeWithCachedSizes(
6261
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6262
  // @@protoc_insertion_point(serialize_start:yb.tserver.AbortTransactionRequestPB)
6263
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6264
0
  (void) cached_has_bits;
6265
6266
0
  cached_has_bits = _has_bits_[0];
6267
  // optional bytes tablet_id = 1;
6268
0
  if (cached_has_bits & 0x00000001u) {
6269
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6270
0
      1, this->tablet_id(), output);
6271
0
  }
6272
6273
  // optional bytes transaction_id = 2;
6274
0
  if (cached_has_bits & 0x00000002u) {
6275
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
6276
0
      2, this->transaction_id(), output);
6277
0
  }
6278
6279
  // optional fixed64 propagated_hybrid_time = 3;
6280
0
  if (cached_has_bits & 0x00000004u) {
6281
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->propagated_hybrid_time(), output);
6282
0
  }
6283
6284
0
  if (_internal_metadata_.have_unknown_fields()) {
6285
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6286
0
        _internal_metadata_.unknown_fields(), output);
6287
0
  }
6288
  // @@protoc_insertion_point(serialize_end:yb.tserver.AbortTransactionRequestPB)
6289
0
}
6290
6291
::google::protobuf::uint8* AbortTransactionRequestPB::InternalSerializeWithCachedSizesToArray(
6292
32.2k
    bool deterministic, ::google::protobuf::uint8* target) const {
6293
32.2k
  (void)deterministic; // Unused
6294
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.AbortTransactionRequestPB)
6295
32.2k
  ::google::protobuf::uint32 cached_has_bits = 0;
6296
32.2k
  (void) cached_has_bits;
6297
6298
32.2k
  cached_has_bits = _has_bits_[0];
6299
  // optional bytes tablet_id = 1;
6300
32.2k
  if (cached_has_bits & 0x00000001u) {
6301
32.1k
    target =
6302
32.1k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6303
32.1k
        1, this->tablet_id(), target);
6304
32.1k
  }
6305
6306
  // optional bytes transaction_id = 2;
6307
32.2k
  if (cached_has_bits & 0x00000002u) {
6308
32.1k
    target =
6309
32.1k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
6310
32.1k
        2, this->transaction_id(), target);
6311
32.1k
  }
6312
6313
  // optional fixed64 propagated_hybrid_time = 3;
6314
32.2k
  if (cached_has_bits & 0x00000004u) {
6315
32.1k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->propagated_hybrid_time(), target);
6316
32.1k
  }
6317
6318
32.2k
  if (_internal_metadata_.have_unknown_fields()) {
6319
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6320
0
        _internal_metadata_.unknown_fields(), target);
6321
0
  }
6322
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.AbortTransactionRequestPB)
6323
32.2k
  return target;
6324
32.2k
}
6325
6326
64.3k
size_t AbortTransactionRequestPB::ByteSizeLong() const {
6327
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.AbortTransactionRequestPB)
6328
64.3k
  size_t total_size = 0;
6329
6330
64.3k
  if (_internal_metadata_.have_unknown_fields()) {
6331
0
    total_size +=
6332
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6333
0
        _internal_metadata_.unknown_fields());
6334
0
  }
6335
64.3k
  if (_has_bits_[0 / 32] & 7u) {
6336
    // optional bytes tablet_id = 1;
6337
64.3k
    if (has_tablet_id()) {
6338
64.3k
      total_size += 1 +
6339
64.3k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6340
64.3k
          this->tablet_id());
6341
64.3k
    }
6342
6343
    // optional bytes transaction_id = 2;
6344
64.3k
    if (has_transaction_id()) {
6345
64.3k
      total_size += 1 +
6346
64.3k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6347
64.3k
          this->transaction_id());
6348
64.3k
    }
6349
6350
    // optional fixed64 propagated_hybrid_time = 3;
6351
64.3k
    if (has_propagated_hybrid_time()) {
6352
64.3k
      total_size += 1 + 8;
6353
64.3k
    }
6354
6355
64.3k
  }
6356
64.3k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6357
64.3k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6358
64.3k
  _cached_size_ = cached_size;
6359
64.3k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6360
64.3k
  return total_size;
6361
64.3k
}
6362
6363
0
void AbortTransactionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6364
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.AbortTransactionRequestPB)
6365
0
  GOOGLE_DCHECK_NE(&from, this);
6366
0
  const AbortTransactionRequestPB* source =
6367
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AbortTransactionRequestPB>(
6368
0
          &from);
6369
0
  if (source == NULL) {
6370
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.AbortTransactionRequestPB)
6371
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6372
0
  } else {
6373
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.AbortTransactionRequestPB)
6374
0
    MergeFrom(*source);
6375
0
  }
6376
0
}
6377
6378
0
void AbortTransactionRequestPB::MergeFrom(const AbortTransactionRequestPB& from) {
6379
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.AbortTransactionRequestPB)
6380
0
  GOOGLE_DCHECK_NE(&from, this);
6381
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6382
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6383
0
  (void) cached_has_bits;
6384
6385
0
  cached_has_bits = from._has_bits_[0];
6386
0
  if (cached_has_bits & 7u) {
6387
0
    if (cached_has_bits & 0x00000001u) {
6388
0
      set_has_tablet_id();
6389
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
6390
0
    }
6391
0
    if (cached_has_bits & 0x00000002u) {
6392
0
      set_has_transaction_id();
6393
0
      transaction_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.transaction_id_);
6394
0
    }
6395
0
    if (cached_has_bits & 0x00000004u) {
6396
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
6397
0
    }
6398
0
    _has_bits_[0] |= cached_has_bits;
6399
0
  }
6400
0
}
6401
6402
0
void AbortTransactionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6403
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.AbortTransactionRequestPB)
6404
0
  if (&from == this) return;
6405
0
  Clear();
6406
0
  MergeFrom(from);
6407
0
}
6408
6409
0
void AbortTransactionRequestPB::CopyFrom(const AbortTransactionRequestPB& from) {
6410
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.AbortTransactionRequestPB)
6411
0
  if (&from == this) return;
6412
0
  Clear();
6413
0
  MergeFrom(from);
6414
0
}
6415
6416
64.4k
bool AbortTransactionRequestPB::IsInitialized() const {
6417
64.4k
  return true;
6418
64.4k
}
6419
6420
116k
void AbortTransactionRequestPB::Swap(AbortTransactionRequestPB* other) {
6421
116k
  if (other == this) return;
6422
116k
  InternalSwap(other);
6423
116k
}
6424
116k
void AbortTransactionRequestPB::InternalSwap(AbortTransactionRequestPB* other) {
6425
116k
  using std::swap;
6426
116k
  tablet_id_.Swap(&other->tablet_id_);
6427
116k
  transaction_id_.Swap(&other->transaction_id_);
6428
116k
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
6429
116k
  swap(_has_bits_[0], other->_has_bits_[0]);
6430
116k
  _internal_metadata_.Swap(&other->_internal_metadata_);
6431
116k
  swap(_cached_size_, other->_cached_size_);
6432
116k
}
6433
6434
32.2k
::google::protobuf::Metadata AbortTransactionRequestPB::GetMetadata() const {
6435
32.2k
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
6436
32.2k
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
6437
32.2k
}
6438
6439
6440
// ===================================================================
6441
6442
15.8k
void AbortTransactionResponsePB::InitAsDefaultInstance() {
6443
15.8k
  ::yb::tserver::_AbortTransactionResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
6444
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
6445
15.8k
}
6446
116k
void AbortTransactionResponsePB::clear_error() {
6447
116k
  if (error_ != NULL) error_->Clear();
6448
116k
  clear_has_error();
6449
116k
}
6450
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6451
const int AbortTransactionResponsePB::kErrorFieldNumber;
6452
const int AbortTransactionResponsePB::kStatusFieldNumber;
6453
const int AbortTransactionResponsePB::kStatusHybridTimeFieldNumber;
6454
const int AbortTransactionResponsePB::kPropagatedHybridTimeFieldNumber;
6455
const int AbortTransactionResponsePB::kCoordinatorSafeTimeFieldNumber;
6456
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6457
6458
AbortTransactionResponsePB::AbortTransactionResponsePB()
6459
164k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6460
148k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6461
148k
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsAbortTransactionResponsePB();
6462
148k
  }
6463
164k
  SharedCtor();
6464
  // @@protoc_insertion_point(constructor:yb.tserver.AbortTransactionResponsePB)
6465
164k
}
6466
AbortTransactionResponsePB::AbortTransactionResponsePB(const AbortTransactionResponsePB& from)
6467
  : ::google::protobuf::Message(),
6468
      _internal_metadata_(NULL),
6469
      _has_bits_(from._has_bits_),
6470
0
      _cached_size_(0) {
6471
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6472
0
  if (from.has_error()) {
6473
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
6474
0
  } else {
6475
0
    error_ = NULL;
6476
0
  }
6477
0
  ::memcpy(&status_hybrid_time_, &from.status_hybrid_time_,
6478
0
    static_cast<size_t>(reinterpret_cast<char*>(&status_) -
6479
0
    reinterpret_cast<char*>(&status_hybrid_time_)) + sizeof(status_));
6480
  // @@protoc_insertion_point(copy_constructor:yb.tserver.AbortTransactionResponsePB)
6481
0
}
6482
6483
163k
void AbortTransactionResponsePB::SharedCtor() {
6484
163k
  _cached_size_ = 0;
6485
163k
  ::memset(&error_, 0, static_cast<size_t>(
6486
163k
      reinterpret_cast<char*>(&coordinator_safe_time_) -
6487
163k
      reinterpret_cast<char*>(&error_)) + sizeof(coordinator_safe_time_));
6488
163k
  status_ = 1;
6489
163k
}
6490
6491
147k
AbortTransactionResponsePB::~AbortTransactionResponsePB() {
6492
  // @@protoc_insertion_point(destructor:yb.tserver.AbortTransactionResponsePB)
6493
147k
  SharedDtor();
6494
147k
}
6495
6496
147k
void AbortTransactionResponsePB::SharedDtor() {
6497
147k
  if (this != internal_default_instance()) delete error_;
6498
147k
}
6499
6500
0
void AbortTransactionResponsePB::SetCachedSize(int size) const {
6501
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6502
0
  _cached_size_ = size;
6503
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6504
0
}
6505
0
const ::google::protobuf::Descriptor* AbortTransactionResponsePB::descriptor() {
6506
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
6507
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6508
0
}
6509
6510
0
const AbortTransactionResponsePB& AbortTransactionResponsePB::default_instance() {
6511
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsAbortTransactionResponsePB();
6512
0
  return *internal_default_instance();
6513
0
}
6514
6515
0
AbortTransactionResponsePB* AbortTransactionResponsePB::New(::google::protobuf::Arena* arena) const {
6516
0
  AbortTransactionResponsePB* n = new AbortTransactionResponsePB;
6517
0
  if (arena != NULL) {
6518
0
    arena->Own(n);
6519
0
  }
6520
0
  return n;
6521
0
}
6522
6523
125k
void AbortTransactionResponsePB::Clear() {
6524
// @@protoc_insertion_point(message_clear_start:yb.tserver.AbortTransactionResponsePB)
6525
125k
  ::google::protobuf::uint32 cached_has_bits = 0;
6526
  // Prevent compiler warnings about cached_has_bits being unused
6527
125k
  (void) cached_has_bits;
6528
6529
125k
  cached_has_bits = _has_bits_[0];
6530
125k
  if (cached_has_bits & 0x00000001u) {
6531
9.21k
    GOOGLE_DCHECK(error_ != NULL);
6532
9.21k
    error_->Clear();
6533
9.21k
  }
6534
125k
  if (cached_has_bits & 30u) {
6535
0
    ::memset(&status_hybrid_time_, 0, static_cast<size_t>(
6536
0
        reinterpret_cast<char*>(&coordinator_safe_time_) -
6537
0
        reinterpret_cast<char*>(&status_hybrid_time_)) + sizeof(coordinator_safe_time_));
6538
0
    status_ = 1;
6539
0
  }
6540
125k
  _has_bits_.Clear();
6541
125k
  _internal_metadata_.Clear();
6542
125k
}
6543
6544
bool AbortTransactionResponsePB::MergePartialFromCodedStream(
6545
31.6k
    ::google::protobuf::io::CodedInputStream* input) {
6546
90.3k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6547
31.6k
  ::google::protobuf::uint32 tag;
6548
  // @@protoc_insertion_point(parse_start:yb.tserver.AbortTransactionResponsePB)
6549
121k
  for (;;) {
6550
121k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6551
121k
    tag = p.first;
6552
121k
    if (!p.second) goto handle_unusual;
6553
90.2k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6554
      // optional .yb.tserver.TabletServerErrorPB error = 1;
6555
4.85k
      case 1: {
6556
4.85k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6557
4.85k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6558
4.85k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6559
4.85k
               input, mutable_error()));
6560
0
        } else {
6561
0
          goto handle_unusual;
6562
0
        }
6563
4.85k
        break;
6564
4.85k
      }
6565
6566
      // optional .yb.TransactionStatus status = 2;
6567
26.8k
      case 2: {
6568
26.8k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6569
26.8k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
6570
26.8k
          int value;
6571
26.8k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6572
26.8k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
6573
26.8k
                 input, &value)));
6574
26.8k
          if (::yb::TransactionStatus_IsValid(value)) {
6575
26.8k
            set_status(static_cast< ::yb::TransactionStatus >(value));
6576
8
          } else {
6577
8
            mutable_unknown_fields()->AddVarint(
6578
8
                2, static_cast< ::google::protobuf::uint64>(value));
6579
8
          }
6580
0
        } else {
6581
0
          goto handle_unusual;
6582
0
        }
6583
26.8k
        break;
6584
26.8k
      }
6585
6586
      // optional fixed64 status_hybrid_time = 3;
6587
4.94k
      case 3: {
6588
4.94k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6589
4.94k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
6590
4.94k
          set_has_status_hybrid_time();
6591
4.94k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6592
4.94k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
6593
4.94k
                 input, &status_hybrid_time_)));
6594
0
        } else {
6595
0
          goto handle_unusual;
6596
0
        }
6597
4.94k
        break;
6598
4.94k
      }
6599
6600
      // optional fixed64 propagated_hybrid_time = 4;
6601
26.8k
      case 4: {
6602
26.8k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6603
26.8k
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
6604
26.8k
          set_has_propagated_hybrid_time();
6605
26.8k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6606
26.8k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
6607
26.8k
                 input, &propagated_hybrid_time_)));
6608
0
        } else {
6609
0
          goto handle_unusual;
6610
0
        }
6611
26.8k
        break;
6612
26.8k
      }
6613
6614
      // optional fixed64 coordinator_safe_time = 5;
6615
26.8k
      case 5: {
6616
26.8k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6617
26.8k
            static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) {
6618
26.8k
          set_has_coordinator_safe_time();
6619
26.8k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6620
26.8k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
6621
26.8k
                 input, &coordinator_safe_time_)));
6622
0
        } else {
6623
0
          goto handle_unusual;
6624
0
        }
6625
26.8k
        break;
6626
31.6k
      }
6627
6628
0
      default: {
6629
31.6k
      handle_unusual:
6630
31.6k
        if (tag == 0) {
6631
31.6k
          goto success;
6632
31.6k
        }
6633
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6634
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6635
18.4E
        break;
6636
18.4E
      }
6637
90.2k
    }
6638
90.2k
  }
6639
31.6k
success:
6640
  // @@protoc_insertion_point(parse_success:yb.tserver.AbortTransactionResponsePB)
6641
31.6k
  return true;
6642
0
failure:
6643
  // @@protoc_insertion_point(parse_failure:yb.tserver.AbortTransactionResponsePB)
6644
0
  return false;
6645
31.6k
#undef DO_
6646
31.6k
}
6647
6648
void AbortTransactionResponsePB::SerializeWithCachedSizes(
6649
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6650
  // @@protoc_insertion_point(serialize_start:yb.tserver.AbortTransactionResponsePB)
6651
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6652
0
  (void) cached_has_bits;
6653
6654
0
  cached_has_bits = _has_bits_[0];
6655
  // optional .yb.tserver.TabletServerErrorPB error = 1;
6656
0
  if (cached_has_bits & 0x00000001u) {
6657
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6658
0
      1, *this->error_, output);
6659
0
  }
6660
6661
  // optional .yb.TransactionStatus status = 2;
6662
0
  if (cached_has_bits & 0x00000010u) {
6663
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
6664
0
      2, this->status(), output);
6665
0
  }
6666
6667
  // optional fixed64 status_hybrid_time = 3;
6668
0
  if (cached_has_bits & 0x00000002u) {
6669
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->status_hybrid_time(), output);
6670
0
  }
6671
6672
  // optional fixed64 propagated_hybrid_time = 4;
6673
0
  if (cached_has_bits & 0x00000004u) {
6674
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->propagated_hybrid_time(), output);
6675
0
  }
6676
6677
  // optional fixed64 coordinator_safe_time = 5;
6678
0
  if (cached_has_bits & 0x00000008u) {
6679
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(5, this->coordinator_safe_time(), output);
6680
0
  }
6681
6682
0
  if (_internal_metadata_.have_unknown_fields()) {
6683
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6684
0
        _internal_metadata_.unknown_fields(), output);
6685
0
  }
6686
  // @@protoc_insertion_point(serialize_end:yb.tserver.AbortTransactionResponsePB)
6687
0
}
6688
6689
::google::protobuf::uint8* AbortTransactionResponsePB::InternalSerializeWithCachedSizesToArray(
6690
31.7k
    bool deterministic, ::google::protobuf::uint8* target) const {
6691
31.7k
  (void)deterministic; // Unused
6692
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.AbortTransactionResponsePB)
6693
31.7k
  ::google::protobuf::uint32 cached_has_bits = 0;
6694
31.7k
  (void) cached_has_bits;
6695
6696
31.7k
  cached_has_bits = _has_bits_[0];
6697
  // optional .yb.tserver.TabletServerErrorPB error = 1;
6698
31.7k
  if (cached_has_bits & 0x00000001u) {
6699
4.84k
    target = ::google::protobuf::internal::WireFormatLite::
6700
4.84k
      InternalWriteMessageToArray(
6701
4.84k
        1, *this->error_, deterministic, target);
6702
4.84k
  }
6703
6704
  // optional .yb.TransactionStatus status = 2;
6705
31.7k
  if (cached_has_bits & 0x00000010u) {
6706
26.8k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
6707
26.8k
      2, this->status(), target);
6708
26.8k
  }
6709
6710
  // optional fixed64 status_hybrid_time = 3;
6711
31.7k
  if (cached_has_bits & 0x00000002u) {
6712
4.94k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->status_hybrid_time(), target);
6713
4.94k
  }
6714
6715
  // optional fixed64 propagated_hybrid_time = 4;
6716
31.7k
  if (cached_has_bits & 0x00000004u) {
6717
26.8k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->propagated_hybrid_time(), target);
6718
26.8k
  }
6719
6720
  // optional fixed64 coordinator_safe_time = 5;
6721
31.7k
  if (cached_has_bits & 0x00000008u) {
6722
26.8k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(5, this->coordinator_safe_time(), target);
6723
26.8k
  }
6724
6725
31.7k
  if (_internal_metadata_.have_unknown_fields()) {
6726
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6727
0
        _internal_metadata_.unknown_fields(), target);
6728
0
  }
6729
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.AbortTransactionResponsePB)
6730
31.7k
  return target;
6731
31.7k
}
6732
6733
63.4k
size_t AbortTransactionResponsePB::ByteSizeLong() const {
6734
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.AbortTransactionResponsePB)
6735
63.4k
  size_t total_size = 0;
6736
6737
63.4k
  if (_internal_metadata_.have_unknown_fields()) {
6738
0
    total_size +=
6739
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6740
0
        _internal_metadata_.unknown_fields());
6741
0
  }
6742
63.4k
  if (_has_bits_[0 / 32] & 31u) {
6743
    // optional .yb.tserver.TabletServerErrorPB error = 1;
6744
63.3k
    if (has_error()) {
6745
9.67k
      total_size += 1 +
6746
9.67k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6747
9.67k
          *this->error_);
6748
9.67k
    }
6749
6750
    // optional fixed64 status_hybrid_time = 3;
6751
63.3k
    if (has_status_hybrid_time()) {
6752
9.89k
      total_size += 1 + 8;
6753
9.89k
    }
6754
6755
    // optional fixed64 propagated_hybrid_time = 4;
6756
63.3k
    if (has_propagated_hybrid_time()) {
6757
53.7k
      total_size += 1 + 8;
6758
53.7k
    }
6759
6760
    // optional fixed64 coordinator_safe_time = 5;
6761
63.3k
    if (has_coordinator_safe_time()) {
6762
53.7k
      total_size += 1 + 8;
6763
53.7k
    }
6764
6765
    // optional .yb.TransactionStatus status = 2;
6766
63.3k
    if (has_status()) {
6767
53.7k
      total_size += 1 +
6768
53.7k
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->status());
6769
53.7k
    }
6770
6771
63.3k
  }
6772
63.4k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6773
63.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6774
63.4k
  _cached_size_ = cached_size;
6775
63.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6776
63.4k
  return total_size;
6777
63.4k
}
6778
6779
0
void AbortTransactionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6780
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.AbortTransactionResponsePB)
6781
0
  GOOGLE_DCHECK_NE(&from, this);
6782
0
  const AbortTransactionResponsePB* source =
6783
0
      ::google::protobuf::internal::DynamicCastToGenerated<const AbortTransactionResponsePB>(
6784
0
          &from);
6785
0
  if (source == NULL) {
6786
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.AbortTransactionResponsePB)
6787
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6788
0
  } else {
6789
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.AbortTransactionResponsePB)
6790
0
    MergeFrom(*source);
6791
0
  }
6792
0
}
6793
6794
0
void AbortTransactionResponsePB::MergeFrom(const AbortTransactionResponsePB& from) {
6795
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.AbortTransactionResponsePB)
6796
0
  GOOGLE_DCHECK_NE(&from, this);
6797
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6798
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6799
0
  (void) cached_has_bits;
6800
6801
0
  cached_has_bits = from._has_bits_[0];
6802
0
  if (cached_has_bits & 31u) {
6803
0
    if (cached_has_bits & 0x00000001u) {
6804
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
6805
0
    }
6806
0
    if (cached_has_bits & 0x00000002u) {
6807
0
      status_hybrid_time_ = from.status_hybrid_time_;
6808
0
    }
6809
0
    if (cached_has_bits & 0x00000004u) {
6810
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
6811
0
    }
6812
0
    if (cached_has_bits & 0x00000008u) {
6813
0
      coordinator_safe_time_ = from.coordinator_safe_time_;
6814
0
    }
6815
0
    if (cached_has_bits & 0x00000010u) {
6816
0
      status_ = from.status_;
6817
0
    }
6818
0
    _has_bits_[0] |= cached_has_bits;
6819
0
  }
6820
0
}
6821
6822
0
void AbortTransactionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6823
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.AbortTransactionResponsePB)
6824
0
  if (&from == this) return;
6825
0
  Clear();
6826
0
  MergeFrom(from);
6827
0
}
6828
6829
0
void AbortTransactionResponsePB::CopyFrom(const AbortTransactionResponsePB& from) {
6830
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.AbortTransactionResponsePB)
6831
0
  if (&from == this) return;
6832
0
  Clear();
6833
0
  MergeFrom(from);
6834
0
}
6835
6836
63.4k
bool AbortTransactionResponsePB::IsInitialized() const {
6837
63.4k
  if (has_error()) {
6838
9.69k
    if (!this->error_->IsInitialized()) return false;
6839
63.4k
  }
6840
63.4k
  return true;
6841
63.4k
}
6842
6843
0
void AbortTransactionResponsePB::Swap(AbortTransactionResponsePB* other) {
6844
0
  if (other == this) return;
6845
0
  InternalSwap(other);
6846
0
}
6847
0
void AbortTransactionResponsePB::InternalSwap(AbortTransactionResponsePB* other) {
6848
0
  using std::swap;
6849
0
  swap(error_, other->error_);
6850
0
  swap(status_hybrid_time_, other->status_hybrid_time_);
6851
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
6852
0
  swap(coordinator_safe_time_, other->coordinator_safe_time_);
6853
0
  swap(status_, other->status_);
6854
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6855
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6856
0
  swap(_cached_size_, other->_cached_size_);
6857
0
}
6858
6859
0
::google::protobuf::Metadata AbortTransactionResponsePB::GetMetadata() const {
6860
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
6861
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
6862
0
}
6863
6864
6865
// ===================================================================
6866
6867
15.8k
void TakeTransactionRequestPB::InitAsDefaultInstance() {
6868
15.8k
}
6869
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6870
const int TakeTransactionRequestPB::kIsGlobalFieldNumber;
6871
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6872
6873
TakeTransactionRequestPB::TakeTransactionRequestPB()
6874
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6875
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6876
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsTakeTransactionRequestPB();
6877
0
  }
6878
15.8k
  SharedCtor();
6879
  // @@protoc_insertion_point(constructor:yb.tserver.TakeTransactionRequestPB)
6880
15.8k
}
6881
TakeTransactionRequestPB::TakeTransactionRequestPB(const TakeTransactionRequestPB& from)
6882
  : ::google::protobuf::Message(),
6883
      _internal_metadata_(NULL),
6884
      _has_bits_(from._has_bits_),
6885
0
      _cached_size_(0) {
6886
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6887
0
  is_global_ = from.is_global_;
6888
  // @@protoc_insertion_point(copy_constructor:yb.tserver.TakeTransactionRequestPB)
6889
0
}
6890
6891
15.8k
void TakeTransactionRequestPB::SharedCtor() {
6892
15.8k
  _cached_size_ = 0;
6893
15.8k
  is_global_ = false;
6894
15.8k
}
6895
6896
0
TakeTransactionRequestPB::~TakeTransactionRequestPB() {
6897
  // @@protoc_insertion_point(destructor:yb.tserver.TakeTransactionRequestPB)
6898
0
  SharedDtor();
6899
0
}
6900
6901
0
void TakeTransactionRequestPB::SharedDtor() {
6902
0
}
6903
6904
0
void TakeTransactionRequestPB::SetCachedSize(int size) const {
6905
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6906
0
  _cached_size_ = size;
6907
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6908
0
}
6909
0
const ::google::protobuf::Descriptor* TakeTransactionRequestPB::descriptor() {
6910
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
6911
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6912
0
}
6913
6914
0
const TakeTransactionRequestPB& TakeTransactionRequestPB::default_instance() {
6915
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsTakeTransactionRequestPB();
6916
0
  return *internal_default_instance();
6917
0
}
6918
6919
0
TakeTransactionRequestPB* TakeTransactionRequestPB::New(::google::protobuf::Arena* arena) const {
6920
0
  TakeTransactionRequestPB* n = new TakeTransactionRequestPB;
6921
0
  if (arena != NULL) {
6922
0
    arena->Own(n);
6923
0
  }
6924
0
  return n;
6925
0
}
6926
6927
0
void TakeTransactionRequestPB::Clear() {
6928
// @@protoc_insertion_point(message_clear_start:yb.tserver.TakeTransactionRequestPB)
6929
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6930
  // Prevent compiler warnings about cached_has_bits being unused
6931
0
  (void) cached_has_bits;
6932
6933
0
  is_global_ = false;
6934
0
  _has_bits_.Clear();
6935
0
  _internal_metadata_.Clear();
6936
0
}
6937
6938
bool TakeTransactionRequestPB::MergePartialFromCodedStream(
6939
0
    ::google::protobuf::io::CodedInputStream* input) {
6940
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6941
0
  ::google::protobuf::uint32 tag;
6942
  // @@protoc_insertion_point(parse_start:yb.tserver.TakeTransactionRequestPB)
6943
0
  for (;;) {
6944
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6945
0
    tag = p.first;
6946
0
    if (!p.second) goto handle_unusual;
6947
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6948
      // optional bool is_global = 1;
6949
0
      case 1: {
6950
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6951
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
6952
0
          set_has_is_global();
6953
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6954
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
6955
0
                 input, &is_global_)));
6956
0
        } else {
6957
0
          goto handle_unusual;
6958
0
        }
6959
0
        break;
6960
0
      }
6961
6962
0
      default: {
6963
0
      handle_unusual:
6964
0
        if (tag == 0) {
6965
0
          goto success;
6966
0
        }
6967
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6968
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6969
0
        break;
6970
0
      }
6971
0
    }
6972
0
  }
6973
0
success:
6974
  // @@protoc_insertion_point(parse_success:yb.tserver.TakeTransactionRequestPB)
6975
0
  return true;
6976
0
failure:
6977
  // @@protoc_insertion_point(parse_failure:yb.tserver.TakeTransactionRequestPB)
6978
0
  return false;
6979
0
#undef DO_
6980
0
}
6981
6982
void TakeTransactionRequestPB::SerializeWithCachedSizes(
6983
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6984
  // @@protoc_insertion_point(serialize_start:yb.tserver.TakeTransactionRequestPB)
6985
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6986
0
  (void) cached_has_bits;
6987
6988
0
  cached_has_bits = _has_bits_[0];
6989
  // optional bool is_global = 1;
6990
0
  if (cached_has_bits & 0x00000001u) {
6991
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->is_global(), output);
6992
0
  }
6993
6994
0
  if (_internal_metadata_.have_unknown_fields()) {
6995
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6996
0
        _internal_metadata_.unknown_fields(), output);
6997
0
  }
6998
  // @@protoc_insertion_point(serialize_end:yb.tserver.TakeTransactionRequestPB)
6999
0
}
7000
7001
::google::protobuf::uint8* TakeTransactionRequestPB::InternalSerializeWithCachedSizesToArray(
7002
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7003
0
  (void)deterministic; // Unused
7004
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.TakeTransactionRequestPB)
7005
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7006
0
  (void) cached_has_bits;
7007
7008
0
  cached_has_bits = _has_bits_[0];
7009
  // optional bool is_global = 1;
7010
0
  if (cached_has_bits & 0x00000001u) {
7011
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->is_global(), target);
7012
0
  }
7013
7014
0
  if (_internal_metadata_.have_unknown_fields()) {
7015
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7016
0
        _internal_metadata_.unknown_fields(), target);
7017
0
  }
7018
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.TakeTransactionRequestPB)
7019
0
  return target;
7020
0
}
7021
7022
0
size_t TakeTransactionRequestPB::ByteSizeLong() const {
7023
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.TakeTransactionRequestPB)
7024
0
  size_t total_size = 0;
7025
7026
0
  if (_internal_metadata_.have_unknown_fields()) {
7027
0
    total_size +=
7028
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7029
0
        _internal_metadata_.unknown_fields());
7030
0
  }
7031
  // optional bool is_global = 1;
7032
0
  if (has_is_global()) {
7033
0
    total_size += 1 + 1;
7034
0
  }
7035
7036
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7037
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7038
0
  _cached_size_ = cached_size;
7039
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7040
0
  return total_size;
7041
0
}
7042
7043
0
void TakeTransactionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7044
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.TakeTransactionRequestPB)
7045
0
  GOOGLE_DCHECK_NE(&from, this);
7046
0
  const TakeTransactionRequestPB* source =
7047
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TakeTransactionRequestPB>(
7048
0
          &from);
7049
0
  if (source == NULL) {
7050
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.TakeTransactionRequestPB)
7051
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7052
0
  } else {
7053
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.TakeTransactionRequestPB)
7054
0
    MergeFrom(*source);
7055
0
  }
7056
0
}
7057
7058
0
void TakeTransactionRequestPB::MergeFrom(const TakeTransactionRequestPB& from) {
7059
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.TakeTransactionRequestPB)
7060
0
  GOOGLE_DCHECK_NE(&from, this);
7061
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7062
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7063
0
  (void) cached_has_bits;
7064
7065
0
  if (from.has_is_global()) {
7066
0
    set_is_global(from.is_global());
7067
0
  }
7068
0
}
7069
7070
0
void TakeTransactionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7071
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.TakeTransactionRequestPB)
7072
0
  if (&from == this) return;
7073
0
  Clear();
7074
0
  MergeFrom(from);
7075
0
}
7076
7077
0
void TakeTransactionRequestPB::CopyFrom(const TakeTransactionRequestPB& from) {
7078
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.TakeTransactionRequestPB)
7079
0
  if (&from == this) return;
7080
0
  Clear();
7081
0
  MergeFrom(from);
7082
0
}
7083
7084
0
bool TakeTransactionRequestPB::IsInitialized() const {
7085
0
  return true;
7086
0
}
7087
7088
0
void TakeTransactionRequestPB::Swap(TakeTransactionRequestPB* other) {
7089
0
  if (other == this) return;
7090
0
  InternalSwap(other);
7091
0
}
7092
0
void TakeTransactionRequestPB::InternalSwap(TakeTransactionRequestPB* other) {
7093
0
  using std::swap;
7094
0
  swap(is_global_, other->is_global_);
7095
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7096
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7097
0
  swap(_cached_size_, other->_cached_size_);
7098
0
}
7099
7100
0
::google::protobuf::Metadata TakeTransactionRequestPB::GetMetadata() const {
7101
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
7102
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
7103
0
}
7104
7105
7106
// ===================================================================
7107
7108
15.8k
void TakeTransactionResponsePB::InitAsDefaultInstance() {
7109
15.8k
  ::yb::tserver::_TakeTransactionResponsePB_default_instance_._instance.get_mutable()->metadata_ = const_cast< ::yb::TransactionMetadataPB*>(
7110
15.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
7111
15.8k
}
7112
0
void TakeTransactionResponsePB::clear_metadata() {
7113
0
  if (metadata_ != NULL) metadata_->Clear();
7114
0
  clear_has_metadata();
7115
0
}
7116
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7117
const int TakeTransactionResponsePB::kMetadataFieldNumber;
7118
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7119
7120
TakeTransactionResponsePB::TakeTransactionResponsePB()
7121
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7122
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7123
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsTakeTransactionResponsePB();
7124
0
  }
7125
15.8k
  SharedCtor();
7126
  // @@protoc_insertion_point(constructor:yb.tserver.TakeTransactionResponsePB)
7127
15.8k
}
7128
TakeTransactionResponsePB::TakeTransactionResponsePB(const TakeTransactionResponsePB& from)
7129
  : ::google::protobuf::Message(),
7130
      _internal_metadata_(NULL),
7131
      _has_bits_(from._has_bits_),
7132
0
      _cached_size_(0) {
7133
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7134
0
  if (from.has_metadata()) {
7135
0
    metadata_ = new ::yb::TransactionMetadataPB(*from.metadata_);
7136
0
  } else {
7137
0
    metadata_ = NULL;
7138
0
  }
7139
  // @@protoc_insertion_point(copy_constructor:yb.tserver.TakeTransactionResponsePB)
7140
0
}
7141
7142
15.8k
void TakeTransactionResponsePB::SharedCtor() {
7143
15.8k
  _cached_size_ = 0;
7144
15.8k
  metadata_ = NULL;
7145
15.8k
}
7146
7147
0
TakeTransactionResponsePB::~TakeTransactionResponsePB() {
7148
  // @@protoc_insertion_point(destructor:yb.tserver.TakeTransactionResponsePB)
7149
0
  SharedDtor();
7150
0
}
7151
7152
0
void TakeTransactionResponsePB::SharedDtor() {
7153
0
  if (this != internal_default_instance()) delete metadata_;
7154
0
}
7155
7156
0
void TakeTransactionResponsePB::SetCachedSize(int size) const {
7157
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7158
0
  _cached_size_ = size;
7159
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7160
0
}
7161
0
const ::google::protobuf::Descriptor* TakeTransactionResponsePB::descriptor() {
7162
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
7163
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7164
0
}
7165
7166
0
const TakeTransactionResponsePB& TakeTransactionResponsePB::default_instance() {
7167
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsTakeTransactionResponsePB();
7168
0
  return *internal_default_instance();
7169
0
}
7170
7171
0
TakeTransactionResponsePB* TakeTransactionResponsePB::New(::google::protobuf::Arena* arena) const {
7172
0
  TakeTransactionResponsePB* n = new TakeTransactionResponsePB;
7173
0
  if (arena != NULL) {
7174
0
    arena->Own(n);
7175
0
  }
7176
0
  return n;
7177
0
}
7178
7179
0
void TakeTransactionResponsePB::Clear() {
7180
// @@protoc_insertion_point(message_clear_start:yb.tserver.TakeTransactionResponsePB)
7181
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7182
  // Prevent compiler warnings about cached_has_bits being unused
7183
0
  (void) cached_has_bits;
7184
7185
0
  cached_has_bits = _has_bits_[0];
7186
0
  if (cached_has_bits & 0x00000001u) {
7187
0
    GOOGLE_DCHECK(metadata_ != NULL);
7188
0
    metadata_->Clear();
7189
0
  }
7190
0
  _has_bits_.Clear();
7191
0
  _internal_metadata_.Clear();
7192
0
}
7193
7194
bool TakeTransactionResponsePB::MergePartialFromCodedStream(
7195
0
    ::google::protobuf::io::CodedInputStream* input) {
7196
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7197
0
  ::google::protobuf::uint32 tag;
7198
  // @@protoc_insertion_point(parse_start:yb.tserver.TakeTransactionResponsePB)
7199
0
  for (;;) {
7200
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7201
0
    tag = p.first;
7202
0
    if (!p.second) goto handle_unusual;
7203
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7204
      // optional .yb.TransactionMetadataPB metadata = 1;
7205
0
      case 1: {
7206
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7207
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7208
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7209
0
               input, mutable_metadata()));
7210
0
        } else {
7211
0
          goto handle_unusual;
7212
0
        }
7213
0
        break;
7214
0
      }
7215
7216
0
      default: {
7217
0
      handle_unusual:
7218
0
        if (tag == 0) {
7219
0
          goto success;
7220
0
        }
7221
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7222
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7223
0
        break;
7224
0
      }
7225
0
    }
7226
0
  }
7227
0
success:
7228
  // @@protoc_insertion_point(parse_success:yb.tserver.TakeTransactionResponsePB)
7229
0
  return true;
7230
0
failure:
7231
  // @@protoc_insertion_point(parse_failure:yb.tserver.TakeTransactionResponsePB)
7232
0
  return false;
7233
0
#undef DO_
7234
0
}
7235
7236
void TakeTransactionResponsePB::SerializeWithCachedSizes(
7237
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7238
  // @@protoc_insertion_point(serialize_start:yb.tserver.TakeTransactionResponsePB)
7239
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7240
0
  (void) cached_has_bits;
7241
7242
0
  cached_has_bits = _has_bits_[0];
7243
  // optional .yb.TransactionMetadataPB metadata = 1;
7244
0
  if (cached_has_bits & 0x00000001u) {
7245
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7246
0
      1, *this->metadata_, output);
7247
0
  }
7248
7249
0
  if (_internal_metadata_.have_unknown_fields()) {
7250
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7251
0
        _internal_metadata_.unknown_fields(), output);
7252
0
  }
7253
  // @@protoc_insertion_point(serialize_end:yb.tserver.TakeTransactionResponsePB)
7254
0
}
7255
7256
::google::protobuf::uint8* TakeTransactionResponsePB::InternalSerializeWithCachedSizesToArray(
7257
0
    bool deterministic, ::google::protobuf::uint8* target) const {
7258
0
  (void)deterministic; // Unused
7259
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.TakeTransactionResponsePB)
7260
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7261
0
  (void) cached_has_bits;
7262
7263
0
  cached_has_bits = _has_bits_[0];
7264
  // optional .yb.TransactionMetadataPB metadata = 1;
7265
0
  if (cached_has_bits & 0x00000001u) {
7266
0
    target = ::google::protobuf::internal::WireFormatLite::
7267
0
      InternalWriteMessageToArray(
7268
0
        1, *this->metadata_, deterministic, target);
7269
0
  }
7270
7271
0
  if (_internal_metadata_.have_unknown_fields()) {
7272
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7273
0
        _internal_metadata_.unknown_fields(), target);
7274
0
  }
7275
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.TakeTransactionResponsePB)
7276
0
  return target;
7277
0
}
7278
7279
0
size_t TakeTransactionResponsePB::ByteSizeLong() const {
7280
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.TakeTransactionResponsePB)
7281
0
  size_t total_size = 0;
7282
7283
0
  if (_internal_metadata_.have_unknown_fields()) {
7284
0
    total_size +=
7285
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7286
0
        _internal_metadata_.unknown_fields());
7287
0
  }
7288
  // optional .yb.TransactionMetadataPB metadata = 1;
7289
0
  if (has_metadata()) {
7290
0
    total_size += 1 +
7291
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
7292
0
        *this->metadata_);
7293
0
  }
7294
7295
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7296
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7297
0
  _cached_size_ = cached_size;
7298
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7299
0
  return total_size;
7300
0
}
7301
7302
0
void TakeTransactionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7303
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.TakeTransactionResponsePB)
7304
0
  GOOGLE_DCHECK_NE(&from, this);
7305
0
  const TakeTransactionResponsePB* source =
7306
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TakeTransactionResponsePB>(
7307
0
          &from);
7308
0
  if (source == NULL) {
7309
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.TakeTransactionResponsePB)
7310
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7311
0
  } else {
7312
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.TakeTransactionResponsePB)
7313
0
    MergeFrom(*source);
7314
0
  }
7315
0
}
7316
7317
0
void TakeTransactionResponsePB::MergeFrom(const TakeTransactionResponsePB& from) {
7318
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.TakeTransactionResponsePB)
7319
0
  GOOGLE_DCHECK_NE(&from, this);
7320
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7321
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7322
0
  (void) cached_has_bits;
7323
7324
0
  if (from.has_metadata()) {
7325
0
    mutable_metadata()->::yb::TransactionMetadataPB::MergeFrom(from.metadata());
7326
0
  }
7327
0
}
7328
7329
0
void TakeTransactionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7330
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.TakeTransactionResponsePB)
7331
0
  if (&from == this) return;
7332
0
  Clear();
7333
0
  MergeFrom(from);
7334
0
}
7335
7336
0
void TakeTransactionResponsePB::CopyFrom(const TakeTransactionResponsePB& from) {
7337
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.TakeTransactionResponsePB)
7338
0
  if (&from == this) return;
7339
0
  Clear();
7340
0
  MergeFrom(from);
7341
0
}
7342
7343
0
bool TakeTransactionResponsePB::IsInitialized() const {
7344
0
  return true;
7345
0
}
7346
7347
0
void TakeTransactionResponsePB::Swap(TakeTransactionResponsePB* other) {
7348
0
  if (other == this) return;
7349
0
  InternalSwap(other);
7350
0
}
7351
0
void TakeTransactionResponsePB::InternalSwap(TakeTransactionResponsePB* other) {
7352
0
  using std::swap;
7353
0
  swap(metadata_, other->metadata_);
7354
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7355
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7356
0
  swap(_cached_size_, other->_cached_size_);
7357
0
}
7358
7359
0
::google::protobuf::Metadata TakeTransactionResponsePB::GetMetadata() const {
7360
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
7361
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
7362
0
}
7363
7364
7365
// ===================================================================
7366
7367
15.8k
void GetSplitKeyRequestPB::InitAsDefaultInstance() {
7368
15.8k
}
7369
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7370
const int GetSplitKeyRequestPB::kTabletIdFieldNumber;
7371
const int GetSplitKeyRequestPB::kPropagatedHybridTimeFieldNumber;
7372
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7373
7374
GetSplitKeyRequestPB::GetSplitKeyRequestPB()
7375
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7376
97
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7377
97
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSplitKeyRequestPB();
7378
97
  }
7379
15.9k
  SharedCtor();
7380
  // @@protoc_insertion_point(constructor:yb.tserver.GetSplitKeyRequestPB)
7381
15.9k
}
7382
GetSplitKeyRequestPB::GetSplitKeyRequestPB(const GetSplitKeyRequestPB& from)
7383
  : ::google::protobuf::Message(),
7384
      _internal_metadata_(NULL),
7385
      _has_bits_(from._has_bits_),
7386
0
      _cached_size_(0) {
7387
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7388
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7389
0
  if (from.has_tablet_id()) {
7390
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
7391
0
  }
7392
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
7393
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetSplitKeyRequestPB)
7394
0
}
7395
7396
15.9k
void GetSplitKeyRequestPB::SharedCtor() {
7397
15.9k
  _cached_size_ = 0;
7398
15.9k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7399
15.9k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
7400
15.9k
}
7401
7402
53
GetSplitKeyRequestPB::~GetSplitKeyRequestPB() {
7403
  // @@protoc_insertion_point(destructor:yb.tserver.GetSplitKeyRequestPB)
7404
53
  SharedDtor();
7405
53
}
7406
7407
53
void GetSplitKeyRequestPB::SharedDtor() {
7408
53
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7409
53
}
7410
7411
0
void GetSplitKeyRequestPB::SetCachedSize(int size) const {
7412
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7413
0
  _cached_size_ = size;
7414
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7415
0
}
7416
0
const ::google::protobuf::Descriptor* GetSplitKeyRequestPB::descriptor() {
7417
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
7418
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7419
0
}
7420
7421
0
const GetSplitKeyRequestPB& GetSplitKeyRequestPB::default_instance() {
7422
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSplitKeyRequestPB();
7423
0
  return *internal_default_instance();
7424
0
}
7425
7426
0
GetSplitKeyRequestPB* GetSplitKeyRequestPB::New(::google::protobuf::Arena* arena) const {
7427
0
  GetSplitKeyRequestPB* n = new GetSplitKeyRequestPB;
7428
0
  if (arena != NULL) {
7429
0
    arena->Own(n);
7430
0
  }
7431
0
  return n;
7432
0
}
7433
7434
49
void GetSplitKeyRequestPB::Clear() {
7435
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetSplitKeyRequestPB)
7436
49
  ::google::protobuf::uint32 cached_has_bits = 0;
7437
  // Prevent compiler warnings about cached_has_bits being unused
7438
49
  (void) cached_has_bits;
7439
7440
49
  cached_has_bits = _has_bits_[0];
7441
49
  if (cached_has_bits & 0x00000001u) {
7442
0
    GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7443
0
    (*tablet_id_.UnsafeRawStringPointer())->clear();
7444
0
  }
7445
49
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
7446
49
  _has_bits_.Clear();
7447
49
  _internal_metadata_.Clear();
7448
49
}
7449
7450
bool GetSplitKeyRequestPB::MergePartialFromCodedStream(
7451
49
    ::google::protobuf::io::CodedInputStream* input) {
7452
95
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7453
49
  ::google::protobuf::uint32 tag;
7454
  // @@protoc_insertion_point(parse_start:yb.tserver.GetSplitKeyRequestPB)
7455
144
  for (;;) {
7456
144
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7457
144
    tag = p.first;
7458
144
    if (!p.second) goto handle_unusual;
7459
95
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7460
      // required bytes tablet_id = 1;
7461
49
      case 1: {
7462
49
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7463
49
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7464
49
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7465
49
                input, this->mutable_tablet_id()));
7466
0
        } else {
7467
0
          goto handle_unusual;
7468
0
        }
7469
49
        break;
7470
49
      }
7471
7472
      // optional fixed64 propagated_hybrid_time = 2;
7473
46
      case 2: {
7474
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7475
46
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
7476
46
          set_has_propagated_hybrid_time();
7477
46
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7478
46
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
7479
46
                 input, &propagated_hybrid_time_)));
7480
0
        } else {
7481
0
          goto handle_unusual;
7482
0
        }
7483
46
        break;
7484
49
      }
7485
7486
0
      default: {
7487
49
      handle_unusual:
7488
49
        if (tag == 0) {
7489
49
          goto success;
7490
49
        }
7491
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7492
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7493
0
        break;
7494
0
      }
7495
95
    }
7496
95
  }
7497
49
success:
7498
  // @@protoc_insertion_point(parse_success:yb.tserver.GetSplitKeyRequestPB)
7499
49
  return true;
7500
0
failure:
7501
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetSplitKeyRequestPB)
7502
0
  return false;
7503
49
#undef DO_
7504
49
}
7505
7506
void GetSplitKeyRequestPB::SerializeWithCachedSizes(
7507
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7508
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetSplitKeyRequestPB)
7509
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7510
0
  (void) cached_has_bits;
7511
7512
0
  cached_has_bits = _has_bits_[0];
7513
  // required bytes tablet_id = 1;
7514
0
  if (cached_has_bits & 0x00000001u) {
7515
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7516
0
      1, this->tablet_id(), output);
7517
0
  }
7518
7519
  // optional fixed64 propagated_hybrid_time = 2;
7520
0
  if (cached_has_bits & 0x00000002u) {
7521
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->propagated_hybrid_time(), output);
7522
0
  }
7523
7524
0
  if (_internal_metadata_.have_unknown_fields()) {
7525
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7526
0
        _internal_metadata_.unknown_fields(), output);
7527
0
  }
7528
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetSplitKeyRequestPB)
7529
0
}
7530
7531
::google::protobuf::uint8* GetSplitKeyRequestPB::InternalSerializeWithCachedSizesToArray(
7532
49
    bool deterministic, ::google::protobuf::uint8* target) const {
7533
49
  (void)deterministic; // Unused
7534
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetSplitKeyRequestPB)
7535
49
  ::google::protobuf::uint32 cached_has_bits = 0;
7536
49
  (void) cached_has_bits;
7537
7538
49
  cached_has_bits = _has_bits_[0];
7539
  // required bytes tablet_id = 1;
7540
49
  if (cached_has_bits & 0x00000001u) {
7541
49
    target =
7542
49
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7543
49
        1, this->tablet_id(), target);
7544
49
  }
7545
7546
  // optional fixed64 propagated_hybrid_time = 2;
7547
49
  if (cached_has_bits & 0x00000002u) {
7548
46
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->propagated_hybrid_time(), target);
7549
46
  }
7550
7551
49
  if (_internal_metadata_.have_unknown_fields()) {
7552
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7553
0
        _internal_metadata_.unknown_fields(), target);
7554
0
  }
7555
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetSplitKeyRequestPB)
7556
49
  return target;
7557
49
}
7558
7559
98
size_t GetSplitKeyRequestPB::ByteSizeLong() const {
7560
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetSplitKeyRequestPB)
7561
98
  size_t total_size = 0;
7562
7563
98
  if (_internal_metadata_.have_unknown_fields()) {
7564
0
    total_size +=
7565
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7566
0
        _internal_metadata_.unknown_fields());
7567
0
  }
7568
  // required bytes tablet_id = 1;
7569
98
  if (has_tablet_id()) {
7570
98
    total_size += 1 +
7571
98
      ::google::protobuf::internal::WireFormatLite::BytesSize(
7572
98
        this->tablet_id());
7573
98
  }
7574
  // optional fixed64 propagated_hybrid_time = 2;
7575
98
  if (has_propagated_hybrid_time()) {
7576
92
    total_size += 1 + 8;
7577
92
  }
7578
7579
98
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7580
98
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7581
98
  _cached_size_ = cached_size;
7582
98
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7583
98
  return total_size;
7584
98
}
7585
7586
0
void GetSplitKeyRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7587
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetSplitKeyRequestPB)
7588
0
  GOOGLE_DCHECK_NE(&from, this);
7589
0
  const GetSplitKeyRequestPB* source =
7590
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetSplitKeyRequestPB>(
7591
0
          &from);
7592
0
  if (source == NULL) {
7593
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetSplitKeyRequestPB)
7594
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7595
0
  } else {
7596
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetSplitKeyRequestPB)
7597
0
    MergeFrom(*source);
7598
0
  }
7599
0
}
7600
7601
0
void GetSplitKeyRequestPB::MergeFrom(const GetSplitKeyRequestPB& from) {
7602
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetSplitKeyRequestPB)
7603
0
  GOOGLE_DCHECK_NE(&from, this);
7604
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7605
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7606
0
  (void) cached_has_bits;
7607
7608
0
  cached_has_bits = from._has_bits_[0];
7609
0
  if (cached_has_bits & 3u) {
7610
0
    if (cached_has_bits & 0x00000001u) {
7611
0
      set_has_tablet_id();
7612
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
7613
0
    }
7614
0
    if (cached_has_bits & 0x00000002u) {
7615
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
7616
0
    }
7617
0
    _has_bits_[0] |= cached_has_bits;
7618
0
  }
7619
0
}
7620
7621
0
void GetSplitKeyRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7622
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetSplitKeyRequestPB)
7623
0
  if (&from == this) return;
7624
0
  Clear();
7625
0
  MergeFrom(from);
7626
0
}
7627
7628
0
void GetSplitKeyRequestPB::CopyFrom(const GetSplitKeyRequestPB& from) {
7629
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetSplitKeyRequestPB)
7630
0
  if (&from == this) return;
7631
0
  Clear();
7632
0
  MergeFrom(from);
7633
0
}
7634
7635
98
bool GetSplitKeyRequestPB::IsInitialized() const {
7636
98
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
7637
98
  return true;
7638
98
}
7639
7640
0
void GetSplitKeyRequestPB::Swap(GetSplitKeyRequestPB* other) {
7641
0
  if (other == this) return;
7642
0
  InternalSwap(other);
7643
0
}
7644
0
void GetSplitKeyRequestPB::InternalSwap(GetSplitKeyRequestPB* other) {
7645
0
  using std::swap;
7646
0
  tablet_id_.Swap(&other->tablet_id_);
7647
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
7648
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7649
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7650
0
  swap(_cached_size_, other->_cached_size_);
7651
0
}
7652
7653
49
::google::protobuf::Metadata GetSplitKeyRequestPB::GetMetadata() const {
7654
49
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
7655
49
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
7656
49
}
7657
7658
7659
// ===================================================================
7660
7661
15.8k
void GetSplitKeyResponsePB::InitAsDefaultInstance() {
7662
15.8k
  ::yb::tserver::_GetSplitKeyResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
7663
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
7664
15.8k
}
7665
47
void GetSplitKeyResponsePB::clear_error() {
7666
47
  if (error_ != NULL) error_->Clear();
7667
47
  clear_has_error();
7668
47
}
7669
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7670
const int GetSplitKeyResponsePB::kErrorFieldNumber;
7671
const int GetSplitKeyResponsePB::kSplitPartitionKeyFieldNumber;
7672
const int GetSplitKeyResponsePB::kSplitEncodedKeyFieldNumber;
7673
const int GetSplitKeyResponsePB::kPropagatedHybridTimeFieldNumber;
7674
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7675
7676
GetSplitKeyResponsePB::GetSplitKeyResponsePB()
7677
15.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7678
99
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7679
99
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSplitKeyResponsePB();
7680
99
  }
7681
15.9k
  SharedCtor();
7682
  // @@protoc_insertion_point(constructor:yb.tserver.GetSplitKeyResponsePB)
7683
15.9k
}
7684
GetSplitKeyResponsePB::GetSplitKeyResponsePB(const GetSplitKeyResponsePB& from)
7685
  : ::google::protobuf::Message(),
7686
      _internal_metadata_(NULL),
7687
      _has_bits_(from._has_bits_),
7688
0
      _cached_size_(0) {
7689
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7690
0
  split_partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7691
0
  if (from.has_split_partition_key()) {
7692
0
    split_partition_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.split_partition_key_);
7693
0
  }
7694
0
  split_encoded_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7695
0
  if (from.has_split_encoded_key()) {
7696
0
    split_encoded_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.split_encoded_key_);
7697
0
  }
7698
0
  if (from.has_error()) {
7699
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
7700
0
  } else {
7701
0
    error_ = NULL;
7702
0
  }
7703
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
7704
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetSplitKeyResponsePB)
7705
0
}
7706
7707
15.9k
void GetSplitKeyResponsePB::SharedCtor() {
7708
15.9k
  _cached_size_ = 0;
7709
15.9k
  split_partition_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7710
15.9k
  split_encoded_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7711
15.9k
  ::memset(&error_, 0, static_cast<size_t>(
7712
15.9k
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
7713
15.9k
      reinterpret_cast<char*>(&error_)) + sizeof(propagated_hybrid_time_));
7714
15.9k
}
7715
7716
55
GetSplitKeyResponsePB::~GetSplitKeyResponsePB() {
7717
  // @@protoc_insertion_point(destructor:yb.tserver.GetSplitKeyResponsePB)
7718
55
  SharedDtor();
7719
55
}
7720
7721
55
void GetSplitKeyResponsePB::SharedDtor() {
7722
55
  split_partition_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7723
55
  split_encoded_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7724
55
  if (this != internal_default_instance()) delete error_;
7725
55
}
7726
7727
0
void GetSplitKeyResponsePB::SetCachedSize(int size) const {
7728
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7729
0
  _cached_size_ = size;
7730
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7731
0
}
7732
0
const ::google::protobuf::Descriptor* GetSplitKeyResponsePB::descriptor() {
7733
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
7734
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7735
0
}
7736
7737
0
const GetSplitKeyResponsePB& GetSplitKeyResponsePB::default_instance() {
7738
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSplitKeyResponsePB();
7739
0
  return *internal_default_instance();
7740
0
}
7741
7742
0
GetSplitKeyResponsePB* GetSplitKeyResponsePB::New(::google::protobuf::Arena* arena) const {
7743
0
  GetSplitKeyResponsePB* n = new GetSplitKeyResponsePB;
7744
0
  if (arena != NULL) {
7745
0
    arena->Own(n);
7746
0
  }
7747
0
  return n;
7748
0
}
7749
7750
49
void GetSplitKeyResponsePB::Clear() {
7751
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetSplitKeyResponsePB)
7752
49
  ::google::protobuf::uint32 cached_has_bits = 0;
7753
  // Prevent compiler warnings about cached_has_bits being unused
7754
49
  (void) cached_has_bits;
7755
7756
49
  cached_has_bits = _has_bits_[0];
7757
49
  if (cached_has_bits & 7u) {
7758
1
    if (cached_has_bits & 0x00000001u) {
7759
0
      GOOGLE_DCHECK(!split_partition_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7760
0
      (*split_partition_key_.UnsafeRawStringPointer())->clear();
7761
0
    }
7762
1
    if (cached_has_bits & 0x00000002u) {
7763
0
      GOOGLE_DCHECK(!split_encoded_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7764
0
      (*split_encoded_key_.UnsafeRawStringPointer())->clear();
7765
0
    }
7766
1
    if (cached_has_bits & 0x00000004u) {
7767
1
      GOOGLE_DCHECK(error_ != NULL);
7768
1
      error_->Clear();
7769
1
    }
7770
1
  }
7771
49
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
7772
49
  _has_bits_.Clear();
7773
49
  _internal_metadata_.Clear();
7774
49
}
7775
7776
bool GetSplitKeyResponsePB::MergePartialFromCodedStream(
7777
49
    ::google::protobuf::io::CodedInputStream* input) {
7778
142
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7779
49
  ::google::protobuf::uint32 tag;
7780
  // @@protoc_insertion_point(parse_start:yb.tserver.GetSplitKeyResponsePB)
7781
191
  for (;;) {
7782
191
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7783
191
    tag = p.first;
7784
191
    if (!p.second) goto handle_unusual;
7785
142
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7786
      // optional .yb.tserver.TabletServerErrorPB error = 1;
7787
3
      case 1: {
7788
3
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7789
3
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7790
3
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7791
3
               input, mutable_error()));
7792
0
        } else {
7793
0
          goto handle_unusual;
7794
0
        }
7795
3
        break;
7796
3
      }
7797
7798
      // optional bytes split_partition_key = 2;
7799
46
      case 2: {
7800
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7801
46
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
7802
46
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7803
46
                input, this->mutable_split_partition_key()));
7804
0
        } else {
7805
0
          goto handle_unusual;
7806
0
        }
7807
46
        break;
7808
46
      }
7809
7810
      // optional bytes split_encoded_key = 3;
7811
46
      case 3: {
7812
46
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7813
46
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
7814
46
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7815
46
                input, this->mutable_split_encoded_key()));
7816
0
        } else {
7817
0
          goto handle_unusual;
7818
0
        }
7819
46
        break;
7820
46
      }
7821
7822
      // optional fixed64 propagated_hybrid_time = 4;
7823
47
      case 4: {
7824
47
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7825
47
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
7826
47
          set_has_propagated_hybrid_time();
7827
47
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7828
47
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
7829
47
                 input, &propagated_hybrid_time_)));
7830
0
        } else {
7831
0
          goto handle_unusual;
7832
0
        }
7833
47
        break;
7834
49
      }
7835
7836
0
      default: {
7837
49
      handle_unusual:
7838
49
        if (tag == 0) {
7839
49
          goto success;
7840
49
        }
7841
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7842
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7843
0
        break;
7844
0
      }
7845
142
    }
7846
142
  }
7847
49
success:
7848
  // @@protoc_insertion_point(parse_success:yb.tserver.GetSplitKeyResponsePB)
7849
49
  return true;
7850
0
failure:
7851
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetSplitKeyResponsePB)
7852
0
  return false;
7853
49
#undef DO_
7854
49
}
7855
7856
void GetSplitKeyResponsePB::SerializeWithCachedSizes(
7857
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7858
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetSplitKeyResponsePB)
7859
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7860
0
  (void) cached_has_bits;
7861
7862
0
  cached_has_bits = _has_bits_[0];
7863
  // optional .yb.tserver.TabletServerErrorPB error = 1;
7864
0
  if (cached_has_bits & 0x00000004u) {
7865
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7866
0
      1, *this->error_, output);
7867
0
  }
7868
7869
  // optional bytes split_partition_key = 2;
7870
0
  if (cached_has_bits & 0x00000001u) {
7871
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7872
0
      2, this->split_partition_key(), output);
7873
0
  }
7874
7875
  // optional bytes split_encoded_key = 3;
7876
0
  if (cached_has_bits & 0x00000002u) {
7877
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7878
0
      3, this->split_encoded_key(), output);
7879
0
  }
7880
7881
  // optional fixed64 propagated_hybrid_time = 4;
7882
0
  if (cached_has_bits & 0x00000008u) {
7883
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->propagated_hybrid_time(), output);
7884
0
  }
7885
7886
0
  if (_internal_metadata_.have_unknown_fields()) {
7887
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7888
0
        _internal_metadata_.unknown_fields(), output);
7889
0
  }
7890
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetSplitKeyResponsePB)
7891
0
}
7892
7893
::google::protobuf::uint8* GetSplitKeyResponsePB::InternalSerializeWithCachedSizesToArray(
7894
49
    bool deterministic, ::google::protobuf::uint8* target) const {
7895
49
  (void)deterministic; // Unused
7896
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetSplitKeyResponsePB)
7897
49
  ::google::protobuf::uint32 cached_has_bits = 0;
7898
49
  (void) cached_has_bits;
7899
7900
49
  cached_has_bits = _has_bits_[0];
7901
  // optional .yb.tserver.TabletServerErrorPB error = 1;
7902
49
  if (cached_has_bits & 0x00000004u) {
7903
3
    target = ::google::protobuf::internal::WireFormatLite::
7904
3
      InternalWriteMessageToArray(
7905
3
        1, *this->error_, deterministic, target);
7906
3
  }
7907
7908
  // optional bytes split_partition_key = 2;
7909
49
  if (cached_has_bits & 0x00000001u) {
7910
46
    target =
7911
46
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7912
46
        2, this->split_partition_key(), target);
7913
46
  }
7914
7915
  // optional bytes split_encoded_key = 3;
7916
49
  if (cached_has_bits & 0x00000002u) {
7917
46
    target =
7918
46
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7919
46
        3, this->split_encoded_key(), target);
7920
46
  }
7921
7922
  // optional fixed64 propagated_hybrid_time = 4;
7923
49
  if (cached_has_bits & 0x00000008u) {
7924
47
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->propagated_hybrid_time(), target);
7925
47
  }
7926
7927
49
  if (_internal_metadata_.have_unknown_fields()) {
7928
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7929
0
        _internal_metadata_.unknown_fields(), target);
7930
0
  }
7931
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetSplitKeyResponsePB)
7932
49
  return target;
7933
49
}
7934
7935
98
size_t GetSplitKeyResponsePB::ByteSizeLong() const {
7936
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetSplitKeyResponsePB)
7937
98
  size_t total_size = 0;
7938
7939
98
  if (_internal_metadata_.have_unknown_fields()) {
7940
0
    total_size +=
7941
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7942
0
        _internal_metadata_.unknown_fields());
7943
0
  }
7944
98
  if (_has_bits_[0 / 32] & 15u) {
7945
    // optional bytes split_partition_key = 2;
7946
98
    if (has_split_partition_key()) {
7947
92
      total_size += 1 +
7948
92
        ::google::protobuf::internal::WireFormatLite::BytesSize(
7949
92
          this->split_partition_key());
7950
92
    }
7951
7952
    // optional bytes split_encoded_key = 3;
7953
98
    if (has_split_encoded_key()) {
7954
92
      total_size += 1 +
7955
92
        ::google::protobuf::internal::WireFormatLite::BytesSize(
7956
92
          this->split_encoded_key());
7957
92
    }
7958
7959
    // optional .yb.tserver.TabletServerErrorPB error = 1;
7960
98
    if (has_error()) {
7961
6
      total_size += 1 +
7962
6
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7963
6
          *this->error_);
7964
6
    }
7965
7966
    // optional fixed64 propagated_hybrid_time = 4;
7967
98
    if (has_propagated_hybrid_time()) {
7968
94
      total_size += 1 + 8;
7969
94
    }
7970
7971
98
  }
7972
98
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7973
98
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7974
98
  _cached_size_ = cached_size;
7975
98
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7976
98
  return total_size;
7977
98
}
7978
7979
0
void GetSplitKeyResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7980
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetSplitKeyResponsePB)
7981
0
  GOOGLE_DCHECK_NE(&from, this);
7982
0
  const GetSplitKeyResponsePB* source =
7983
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetSplitKeyResponsePB>(
7984
0
          &from);
7985
0
  if (source == NULL) {
7986
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetSplitKeyResponsePB)
7987
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7988
0
  } else {
7989
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetSplitKeyResponsePB)
7990
0
    MergeFrom(*source);
7991
0
  }
7992
0
}
7993
7994
0
void GetSplitKeyResponsePB::MergeFrom(const GetSplitKeyResponsePB& from) {
7995
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetSplitKeyResponsePB)
7996
0
  GOOGLE_DCHECK_NE(&from, this);
7997
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7998
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7999
0
  (void) cached_has_bits;
8000
8001
0
  cached_has_bits = from._has_bits_[0];
8002
0
  if (cached_has_bits & 15u) {
8003
0
    if (cached_has_bits & 0x00000001u) {
8004
0
      set_has_split_partition_key();
8005
0
      split_partition_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.split_partition_key_);
8006
0
    }
8007
0
    if (cached_has_bits & 0x00000002u) {
8008
0
      set_has_split_encoded_key();
8009
0
      split_encoded_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.split_encoded_key_);
8010
0
    }
8011
0
    if (cached_has_bits & 0x00000004u) {
8012
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
8013
0
    }
8014
0
    if (cached_has_bits & 0x00000008u) {
8015
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
8016
0
    }
8017
0
    _has_bits_[0] |= cached_has_bits;
8018
0
  }
8019
0
}
8020
8021
0
void GetSplitKeyResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8022
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetSplitKeyResponsePB)
8023
0
  if (&from == this) return;
8024
0
  Clear();
8025
0
  MergeFrom(from);
8026
0
}
8027
8028
0
void GetSplitKeyResponsePB::CopyFrom(const GetSplitKeyResponsePB& from) {
8029
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetSplitKeyResponsePB)
8030
0
  if (&from == this) return;
8031
0
  Clear();
8032
0
  MergeFrom(from);
8033
0
}
8034
8035
98
bool GetSplitKeyResponsePB::IsInitialized() const {
8036
98
  if (has_error()) {
8037
6
    if (!this->error_->IsInitialized()) return false;
8038
98
  }
8039
98
  return true;
8040
98
}
8041
8042
0
void GetSplitKeyResponsePB::Swap(GetSplitKeyResponsePB* other) {
8043
0
  if (other == this) return;
8044
0
  InternalSwap(other);
8045
0
}
8046
2
void GetSplitKeyResponsePB::InternalSwap(GetSplitKeyResponsePB* other) {
8047
2
  using std::swap;
8048
2
  split_partition_key_.Swap(&other->split_partition_key_);
8049
2
  split_encoded_key_.Swap(&other->split_encoded_key_);
8050
2
  swap(error_, other->error_);
8051
2
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
8052
2
  swap(_has_bits_[0], other->_has_bits_[0]);
8053
2
  _internal_metadata_.Swap(&other->_internal_metadata_);
8054
2
  swap(_cached_size_, other->_cached_size_);
8055
2
}
8056
8057
0
::google::protobuf::Metadata GetSplitKeyResponsePB::GetMetadata() const {
8058
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
8059
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
8060
0
}
8061
8062
8063
// ===================================================================
8064
8065
15.8k
void GetSharedDataRequestPB::InitAsDefaultInstance() {
8066
15.8k
}
8067
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8068
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8069
8070
GetSharedDataRequestPB::GetSharedDataRequestPB()
8071
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8072
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8073
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSharedDataRequestPB();
8074
0
  }
8075
15.8k
  SharedCtor();
8076
  // @@protoc_insertion_point(constructor:yb.tserver.GetSharedDataRequestPB)
8077
15.8k
}
8078
GetSharedDataRequestPB::GetSharedDataRequestPB(const GetSharedDataRequestPB& from)
8079
  : ::google::protobuf::Message(),
8080
      _internal_metadata_(NULL),
8081
      _has_bits_(from._has_bits_),
8082
0
      _cached_size_(0) {
8083
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8084
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetSharedDataRequestPB)
8085
0
}
8086
8087
15.8k
void GetSharedDataRequestPB::SharedCtor() {
8088
15.8k
  _cached_size_ = 0;
8089
15.8k
}
8090
8091
0
GetSharedDataRequestPB::~GetSharedDataRequestPB() {
8092
  // @@protoc_insertion_point(destructor:yb.tserver.GetSharedDataRequestPB)
8093
0
  SharedDtor();
8094
0
}
8095
8096
0
void GetSharedDataRequestPB::SharedDtor() {
8097
0
}
8098
8099
0
void GetSharedDataRequestPB::SetCachedSize(int size) const {
8100
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8101
0
  _cached_size_ = size;
8102
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8103
0
}
8104
0
const ::google::protobuf::Descriptor* GetSharedDataRequestPB::descriptor() {
8105
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
8106
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8107
0
}
8108
8109
0
const GetSharedDataRequestPB& GetSharedDataRequestPB::default_instance() {
8110
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSharedDataRequestPB();
8111
0
  return *internal_default_instance();
8112
0
}
8113
8114
0
GetSharedDataRequestPB* GetSharedDataRequestPB::New(::google::protobuf::Arena* arena) const {
8115
0
  GetSharedDataRequestPB* n = new GetSharedDataRequestPB;
8116
0
  if (arena != NULL) {
8117
0
    arena->Own(n);
8118
0
  }
8119
0
  return n;
8120
0
}
8121
8122
0
void GetSharedDataRequestPB::Clear() {
8123
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetSharedDataRequestPB)
8124
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8125
  // Prevent compiler warnings about cached_has_bits being unused
8126
0
  (void) cached_has_bits;
8127
8128
0
  _has_bits_.Clear();
8129
0
  _internal_metadata_.Clear();
8130
0
}
8131
8132
bool GetSharedDataRequestPB::MergePartialFromCodedStream(
8133
0
    ::google::protobuf::io::CodedInputStream* input) {
8134
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8135
0
  ::google::protobuf::uint32 tag;
8136
  // @@protoc_insertion_point(parse_start:yb.tserver.GetSharedDataRequestPB)
8137
0
  for (;;) {
8138
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8139
0
    tag = p.first;
8140
0
    if (!p.second) goto handle_unusual;
8141
0
  handle_unusual:
8142
0
    if (tag == 0) {
8143
0
      goto success;
8144
0
    }
8145
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
8146
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
8147
0
  }
8148
0
success:
8149
  // @@protoc_insertion_point(parse_success:yb.tserver.GetSharedDataRequestPB)
8150
0
  return true;
8151
0
failure:
8152
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetSharedDataRequestPB)
8153
0
  return false;
8154
0
#undef DO_
8155
0
}
8156
8157
void GetSharedDataRequestPB::SerializeWithCachedSizes(
8158
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8159
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetSharedDataRequestPB)
8160
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8161
0
  (void) cached_has_bits;
8162
8163
0
  if (_internal_metadata_.have_unknown_fields()) {
8164
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8165
0
        _internal_metadata_.unknown_fields(), output);
8166
0
  }
8167
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetSharedDataRequestPB)
8168
0
}
8169
8170
::google::protobuf::uint8* GetSharedDataRequestPB::InternalSerializeWithCachedSizesToArray(
8171
0
    bool deterministic, ::google::protobuf::uint8* target) const {
8172
0
  (void)deterministic; // Unused
8173
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetSharedDataRequestPB)
8174
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8175
0
  (void) cached_has_bits;
8176
8177
0
  if (_internal_metadata_.have_unknown_fields()) {
8178
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8179
0
        _internal_metadata_.unknown_fields(), target);
8180
0
  }
8181
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetSharedDataRequestPB)
8182
0
  return target;
8183
0
}
8184
8185
0
size_t GetSharedDataRequestPB::ByteSizeLong() const {
8186
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetSharedDataRequestPB)
8187
0
  size_t total_size = 0;
8188
8189
0
  if (_internal_metadata_.have_unknown_fields()) {
8190
0
    total_size +=
8191
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8192
0
        _internal_metadata_.unknown_fields());
8193
0
  }
8194
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8195
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8196
0
  _cached_size_ = cached_size;
8197
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8198
0
  return total_size;
8199
0
}
8200
8201
0
void GetSharedDataRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
8202
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetSharedDataRequestPB)
8203
0
  GOOGLE_DCHECK_NE(&from, this);
8204
0
  const GetSharedDataRequestPB* source =
8205
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetSharedDataRequestPB>(
8206
0
          &from);
8207
0
  if (source == NULL) {
8208
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetSharedDataRequestPB)
8209
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8210
0
  } else {
8211
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetSharedDataRequestPB)
8212
0
    MergeFrom(*source);
8213
0
  }
8214
0
}
8215
8216
0
void GetSharedDataRequestPB::MergeFrom(const GetSharedDataRequestPB& from) {
8217
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetSharedDataRequestPB)
8218
0
  GOOGLE_DCHECK_NE(&from, this);
8219
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8220
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8221
0
  (void) cached_has_bits;
8222
8223
0
}
8224
8225
0
void GetSharedDataRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
8226
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetSharedDataRequestPB)
8227
0
  if (&from == this) return;
8228
0
  Clear();
8229
0
  MergeFrom(from);
8230
0
}
8231
8232
0
void GetSharedDataRequestPB::CopyFrom(const GetSharedDataRequestPB& from) {
8233
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetSharedDataRequestPB)
8234
0
  if (&from == this) return;
8235
0
  Clear();
8236
0
  MergeFrom(from);
8237
0
}
8238
8239
0
bool GetSharedDataRequestPB::IsInitialized() const {
8240
0
  return true;
8241
0
}
8242
8243
0
void GetSharedDataRequestPB::Swap(GetSharedDataRequestPB* other) {
8244
0
  if (other == this) return;
8245
0
  InternalSwap(other);
8246
0
}
8247
0
void GetSharedDataRequestPB::InternalSwap(GetSharedDataRequestPB* other) {
8248
0
  using std::swap;
8249
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8250
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8251
0
  swap(_cached_size_, other->_cached_size_);
8252
0
}
8253
8254
0
::google::protobuf::Metadata GetSharedDataRequestPB::GetMetadata() const {
8255
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
8256
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
8257
0
}
8258
8259
8260
// ===================================================================
8261
8262
15.8k
void GetSharedDataResponsePB::InitAsDefaultInstance() {
8263
15.8k
}
8264
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8265
const int GetSharedDataResponsePB::kDataFieldNumber;
8266
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8267
8268
GetSharedDataResponsePB::GetSharedDataResponsePB()
8269
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8270
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8271
0
    ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSharedDataResponsePB();
8272
0
  }
8273
15.8k
  SharedCtor();
8274
  // @@protoc_insertion_point(constructor:yb.tserver.GetSharedDataResponsePB)
8275
15.8k
}
8276
GetSharedDataResponsePB::GetSharedDataResponsePB(const GetSharedDataResponsePB& from)
8277
  : ::google::protobuf::Message(),
8278
      _internal_metadata_(NULL),
8279
      _has_bits_(from._has_bits_),
8280
0
      _cached_size_(0) {
8281
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8282
0
  data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8283
0
  if (from.has_data()) {
8284
0
    data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_);
8285
0
  }
8286
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetSharedDataResponsePB)
8287
0
}
8288
8289
15.8k
void GetSharedDataResponsePB::SharedCtor() {
8290
15.8k
  _cached_size_ = 0;
8291
15.8k
  data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8292
15.8k
}
8293
8294
0
GetSharedDataResponsePB::~GetSharedDataResponsePB() {
8295
  // @@protoc_insertion_point(destructor:yb.tserver.GetSharedDataResponsePB)
8296
0
  SharedDtor();
8297
0
}
8298
8299
0
void GetSharedDataResponsePB::SharedDtor() {
8300
0
  data_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8301
0
}
8302
8303
0
void GetSharedDataResponsePB::SetCachedSize(int size) const {
8304
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8305
0
  _cached_size_ = size;
8306
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8307
0
}
8308
0
const ::google::protobuf::Descriptor* GetSharedDataResponsePB::descriptor() {
8309
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
8310
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8311
0
}
8312
8313
0
const GetSharedDataResponsePB& GetSharedDataResponsePB::default_instance() {
8314
0
  ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::InitDefaultsGetSharedDataResponsePB();
8315
0
  return *internal_default_instance();
8316
0
}
8317
8318
0
GetSharedDataResponsePB* GetSharedDataResponsePB::New(::google::protobuf::Arena* arena) const {
8319
0
  GetSharedDataResponsePB* n = new GetSharedDataResponsePB;
8320
0
  if (arena != NULL) {
8321
0
    arena->Own(n);
8322
0
  }
8323
0
  return n;
8324
0
}
8325
8326
0
void GetSharedDataResponsePB::Clear() {
8327
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetSharedDataResponsePB)
8328
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8329
  // Prevent compiler warnings about cached_has_bits being unused
8330
0
  (void) cached_has_bits;
8331
8332
0
  cached_has_bits = _has_bits_[0];
8333
0
  if (cached_has_bits & 0x00000001u) {
8334
0
    GOOGLE_DCHECK(!data_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8335
0
    (*data_.UnsafeRawStringPointer())->clear();
8336
0
  }
8337
0
  _has_bits_.Clear();
8338
0
  _internal_metadata_.Clear();
8339
0
}
8340
8341
bool GetSharedDataResponsePB::MergePartialFromCodedStream(
8342
0
    ::google::protobuf::io::CodedInputStream* input) {
8343
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8344
0
  ::google::protobuf::uint32 tag;
8345
  // @@protoc_insertion_point(parse_start:yb.tserver.GetSharedDataResponsePB)
8346
0
  for (;;) {
8347
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8348
0
    tag = p.first;
8349
0
    if (!p.second) goto handle_unusual;
8350
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8351
      // optional bytes data = 1;
8352
0
      case 1: {
8353
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8354
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8355
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
8356
0
                input, this->mutable_data()));
8357
0
        } else {
8358
0
          goto handle_unusual;
8359
0
        }
8360
0
        break;
8361
0
      }
8362
8363
0
      default: {
8364
0
      handle_unusual:
8365
0
        if (tag == 0) {
8366
0
          goto success;
8367
0
        }
8368
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8369
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8370
0
        break;
8371
0
      }
8372
0
    }
8373
0
  }
8374
0
success:
8375
  // @@protoc_insertion_point(parse_success:yb.tserver.GetSharedDataResponsePB)
8376
0
  return true;
8377
0
failure:
8378
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetSharedDataResponsePB)
8379
0
  return false;
8380
0
#undef DO_
8381
0
}
8382
8383
void GetSharedDataResponsePB::SerializeWithCachedSizes(
8384
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8385
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetSharedDataResponsePB)
8386
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8387
0
  (void) cached_has_bits;
8388
8389
0
  cached_has_bits = _has_bits_[0];
8390
  // optional bytes data = 1;
8391
0
  if (cached_has_bits & 0x00000001u) {
8392
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
8393
0
      1, this->data(), output);
8394
0
  }
8395
8396
0
  if (_internal_metadata_.have_unknown_fields()) {
8397
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8398
0
        _internal_metadata_.unknown_fields(), output);
8399
0
  }
8400
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetSharedDataResponsePB)
8401
0
}
8402
8403
::google::protobuf::uint8* GetSharedDataResponsePB::InternalSerializeWithCachedSizesToArray(
8404
0
    bool deterministic, ::google::protobuf::uint8* target) const {
8405
0
  (void)deterministic; // Unused
8406
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetSharedDataResponsePB)
8407
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8408
0
  (void) cached_has_bits;
8409
8410
0
  cached_has_bits = _has_bits_[0];
8411
  // optional bytes data = 1;
8412
0
  if (cached_has_bits & 0x00000001u) {
8413
0
    target =
8414
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
8415
0
        1, this->data(), target);
8416
0
  }
8417
8418
0
  if (_internal_metadata_.have_unknown_fields()) {
8419
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8420
0
        _internal_metadata_.unknown_fields(), target);
8421
0
  }
8422
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetSharedDataResponsePB)
8423
0
  return target;
8424
0
}
8425
8426
0
size_t GetSharedDataResponsePB::ByteSizeLong() const {
8427
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetSharedDataResponsePB)
8428
0
  size_t total_size = 0;
8429
8430
0
  if (_internal_metadata_.have_unknown_fields()) {
8431
0
    total_size +=
8432
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8433
0
        _internal_metadata_.unknown_fields());
8434
0
  }
8435
  // optional bytes data = 1;
8436
0
  if (has_data()) {
8437
0
    total_size += 1 +
8438
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
8439
0
        this->data());
8440
0
  }
8441
8442
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8443
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8444
0
  _cached_size_ = cached_size;
8445
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8446
0
  return total_size;
8447
0
}
8448
8449
0
void GetSharedDataResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8450
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetSharedDataResponsePB)
8451
0
  GOOGLE_DCHECK_NE(&from, this);
8452
0
  const GetSharedDataResponsePB* source =
8453
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetSharedDataResponsePB>(
8454
0
          &from);
8455
0
  if (source == NULL) {
8456
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetSharedDataResponsePB)
8457
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8458
0
  } else {
8459
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetSharedDataResponsePB)
8460
0
    MergeFrom(*source);
8461
0
  }
8462
0
}
8463
8464
0
void GetSharedDataResponsePB::MergeFrom(const GetSharedDataResponsePB& from) {
8465
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetSharedDataResponsePB)
8466
0
  GOOGLE_DCHECK_NE(&from, this);
8467
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8468
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8469
0
  (void) cached_has_bits;
8470
8471
0
  if (from.has_data()) {
8472
0
    set_has_data();
8473
0
    data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_);
8474
0
  }
8475
0
}
8476
8477
0
void GetSharedDataResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8478
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetSharedDataResponsePB)
8479
0
  if (&from == this) return;
8480
0
  Clear();
8481
0
  MergeFrom(from);
8482
0
}
8483
8484
0
void GetSharedDataResponsePB::CopyFrom(const GetSharedDataResponsePB& from) {
8485
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetSharedDataResponsePB)
8486
0
  if (&from == this) return;
8487
0
  Clear();
8488
0
  MergeFrom(from);
8489
0
}
8490
8491
0
bool GetSharedDataResponsePB::IsInitialized() const {
8492
0
  return true;
8493
0
}
8494
8495
0
void GetSharedDataResponsePB::Swap(GetSharedDataResponsePB* other) {
8496
0
  if (other == this) return;
8497
0
  InternalSwap(other);
8498
0
}
8499
0
void GetSharedDataResponsePB::InternalSwap(GetSharedDataResponsePB* other) {
8500
0
  using std::swap;
8501
0
  data_.Swap(&other->data_);
8502
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8503
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8504
0
  swap(_cached_size_, other->_cached_size_);
8505
0
}
8506
8507
0
::google::protobuf::Metadata GetSharedDataResponsePB::GetMetadata() const {
8508
0
  protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::protobuf_AssignDescriptorsOnce();
8509
0
  return ::protobuf_yb_2ftserver_2ftserver_5fservice_2eproto::file_level_metadata[kIndexInFileMessages];
8510
0
}
8511
8512
8513
// @@protoc_insertion_point(namespace_scope)
8514
}  // namespace tserver
8515
}  // namespace yb
8516
8517
// @@protoc_insertion_point(global_scope)