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.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.proto
3
4
#include "yb/tserver/tserver.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 WriteRequestPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<WriteRequestPB>
28
      _instance;
29
} _WriteRequestPB_default_instance_;
30
class WriteResponsePB_PerRowErrorPBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<WriteResponsePB_PerRowErrorPB>
33
      _instance;
34
} _WriteResponsePB_PerRowErrorPB_default_instance_;
35
class WriteResponsePBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<WriteResponsePB>
38
      _instance;
39
} _WriteResponsePB_default_instance_;
40
class ListTabletsRequestPBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletsRequestPB>
43
      _instance;
44
} _ListTabletsRequestPB_default_instance_;
45
class ListTabletsResponsePB_StatusAndSchemaPBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletsResponsePB_StatusAndSchemaPB>
48
      _instance;
49
} _ListTabletsResponsePB_StatusAndSchemaPB_default_instance_;
50
class ListTabletsResponsePBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<ListTabletsResponsePB>
53
      _instance;
54
} _ListTabletsResponsePB_default_instance_;
55
class NoOpRequestPBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<NoOpRequestPB>
58
      _instance;
59
} _NoOpRequestPB_default_instance_;
60
class NoOpResponsePBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<NoOpResponsePB>
63
      _instance;
64
} _NoOpResponsePB_default_instance_;
65
class VerifyTableRowRangeRequestPBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<VerifyTableRowRangeRequestPB>
68
      _instance;
69
} _VerifyTableRowRangeRequestPB_default_instance_;
70
class VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUseDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse>
73
      _instance;
74
} _VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse_default_instance_;
75
class VerifyTableRowRangeResponsePBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<VerifyTableRowRangeResponsePB>
78
      _instance;
79
} _VerifyTableRowRangeResponsePB_default_instance_;
80
class ReadRequestPBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<ReadRequestPB>
83
      _instance;
84
} _ReadRequestPB_default_instance_;
85
class ReadResponsePBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<ReadResponsePB>
88
      _instance;
89
} _ReadResponsePB_default_instance_;
90
class TruncateRequestPBDefaultTypeInternal {
91
 public:
92
  ::google::protobuf::internal::ExplicitlyConstructed<TruncateRequestPB>
93
      _instance;
94
} _TruncateRequestPB_default_instance_;
95
class TruncateResponsePBDefaultTypeInternal {
96
 public:
97
  ::google::protobuf::internal::ExplicitlyConstructed<TruncateResponsePB>
98
      _instance;
99
} _TruncateResponsePB_default_instance_;
100
class GetTabletStatusRequestPBDefaultTypeInternal {
101
 public:
102
  ::google::protobuf::internal::ExplicitlyConstructed<GetTabletStatusRequestPB>
103
      _instance;
104
} _GetTabletStatusRequestPB_default_instance_;
105
class GetTabletStatusResponsePBDefaultTypeInternal {
106
 public:
107
  ::google::protobuf::internal::ExplicitlyConstructed<GetTabletStatusResponsePB>
108
      _instance;
109
} _GetTabletStatusResponsePB_default_instance_;
110
class GetMasterAddressesRequestPBDefaultTypeInternal {
111
 public:
112
  ::google::protobuf::internal::ExplicitlyConstructed<GetMasterAddressesRequestPB>
113
      _instance;
114
} _GetMasterAddressesRequestPB_default_instance_;
115
class GetMasterAddressesResponsePBDefaultTypeInternal {
116
 public:
117
  ::google::protobuf::internal::ExplicitlyConstructed<GetMasterAddressesResponsePB>
118
      _instance;
119
} _GetMasterAddressesResponsePB_default_instance_;
120
class PublishRequestPBDefaultTypeInternal {
121
 public:
122
  ::google::protobuf::internal::ExplicitlyConstructed<PublishRequestPB>
123
      _instance;
124
} _PublishRequestPB_default_instance_;
125
class PublishResponsePBDefaultTypeInternal {
126
 public:
127
  ::google::protobuf::internal::ExplicitlyConstructed<PublishResponsePB>
128
      _instance;
129
} _PublishResponsePB_default_instance_;
130
class IsTabletServerReadyRequestPBDefaultTypeInternal {
131
 public:
132
  ::google::protobuf::internal::ExplicitlyConstructed<IsTabletServerReadyRequestPB>
133
      _instance;
134
} _IsTabletServerReadyRequestPB_default_instance_;
135
class IsTabletServerReadyResponsePBDefaultTypeInternal {
136
 public:
137
  ::google::protobuf::internal::ExplicitlyConstructed<IsTabletServerReadyResponsePB>
138
      _instance;
139
} _IsTabletServerReadyResponsePB_default_instance_;
140
}  // namespace tserver
141
}  // namespace yb
142
namespace protobuf_yb_2ftserver_2ftserver_2eproto {
143
15.8k
void InitDefaultsWriteRequestPBImpl() {
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
  protobuf_yb_2fdocdb_2fdocdb_2eproto::InitDefaultsKeyValueWriteBatchPB();
152
15.8k
  protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisWriteRequestPB();
153
15.8k
  protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLWriteRequestPB();
154
15.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlWriteRequestPB();
155
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePB();
156
15.8k
  {
157
15.8k
    void* ptr = &::yb::tserver::_WriteRequestPB_default_instance_;
158
15.8k
    new (ptr) ::yb::tserver::WriteRequestPB();
159
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
160
15.8k
  }
161
15.8k
  ::yb::tserver::WriteRequestPB::InitAsDefaultInstance();
162
15.8k
}
163
164
2.13M
void InitDefaultsWriteRequestPB() {
165
2.13M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
166
2.13M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsWriteRequestPBImpl);
167
2.13M
}
168
169
15.8k
void InitDefaultsWriteResponsePB_PerRowErrorPBImpl() {
170
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
171
172
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
173
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
174
#else
175
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
176
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
177
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
178
15.8k
  {
179
15.8k
    void* ptr = &::yb::tserver::_WriteResponsePB_PerRowErrorPB_default_instance_;
180
15.8k
    new (ptr) ::yb::tserver::WriteResponsePB_PerRowErrorPB();
181
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
182
15.8k
  }
183
15.8k
  ::yb::tserver::WriteResponsePB_PerRowErrorPB::InitAsDefaultInstance();
184
15.8k
}
185
186
31.6k
void InitDefaultsWriteResponsePB_PerRowErrorPB() {
187
31.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
188
31.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsWriteResponsePB_PerRowErrorPBImpl);
189
31.6k
}
190
191
15.8k
void InitDefaultsWriteResponsePBImpl() {
192
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
193
194
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
195
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
196
#else
197
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
198
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
199
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
200
15.8k
  protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteResponsePB_PerRowErrorPB();
201
15.8k
  protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisResponsePB();
202
15.8k
  protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLResponsePB();
203
15.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlResponsePB();
204
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePB();
205
15.8k
  {
206
15.8k
    void* ptr = &::yb::tserver::_WriteResponsePB_default_instance_;
207
15.8k
    new (ptr) ::yb::tserver::WriteResponsePB();
208
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
209
15.8k
  }
210
15.8k
  ::yb::tserver::WriteResponsePB::InitAsDefaultInstance();
211
15.8k
}
212
213
2.12M
void InitDefaultsWriteResponsePB() {
214
2.12M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
215
2.12M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsWriteResponsePBImpl);
216
2.12M
}
217
218
15.8k
void InitDefaultsListTabletsRequestPBImpl() {
219
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
220
221
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
222
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
223
#else
224
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
225
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
226
15.8k
  {
227
15.8k
    void* ptr = &::yb::tserver::_ListTabletsRequestPB_default_instance_;
228
15.8k
    new (ptr) ::yb::tserver::ListTabletsRequestPB();
229
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
230
15.8k
  }
231
15.8k
  ::yb::tserver::ListTabletsRequestPB::InitAsDefaultInstance();
232
15.8k
}
233
234
16.2k
void InitDefaultsListTabletsRequestPB() {
235
16.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
236
16.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletsRequestPBImpl);
237
16.2k
}
238
239
15.8k
void InitDefaultsListTabletsResponsePB_StatusAndSchemaPBImpl() {
240
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
241
242
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
243
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
244
#else
245
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
246
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
247
15.8k
  protobuf_yb_2ftablet_2ftablet_2eproto::InitDefaultsTabletStatusPB();
248
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsSchemaPB();
249
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB();
250
15.8k
  {
251
15.8k
    void* ptr = &::yb::tserver::_ListTabletsResponsePB_StatusAndSchemaPB_default_instance_;
252
15.8k
    new (ptr) ::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB();
253
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
254
15.8k
  }
255
15.8k
  ::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB::InitAsDefaultInstance();
256
15.8k
}
257
258
37.9k
void InitDefaultsListTabletsResponsePB_StatusAndSchemaPB() {
259
37.9k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
260
37.9k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletsResponsePB_StatusAndSchemaPBImpl);
261
37.9k
}
262
263
15.8k
void InitDefaultsListTabletsResponsePBImpl() {
264
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
265
266
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
267
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
268
#else
269
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
270
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
271
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
272
15.8k
  protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsResponsePB_StatusAndSchemaPB();
273
15.8k
  {
274
15.8k
    void* ptr = &::yb::tserver::_ListTabletsResponsePB_default_instance_;
275
15.8k
    new (ptr) ::yb::tserver::ListTabletsResponsePB();
276
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
277
15.8k
  }
278
15.8k
  ::yb::tserver::ListTabletsResponsePB::InitAsDefaultInstance();
279
15.8k
}
280
281
16.2k
void InitDefaultsListTabletsResponsePB() {
282
16.2k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
283
16.2k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsListTabletsResponsePBImpl);
284
16.2k
}
285
286
15.8k
void InitDefaultsNoOpRequestPBImpl() {
287
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
288
289
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
290
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
291
#else
292
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
293
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
294
15.8k
  {
295
15.8k
    void* ptr = &::yb::tserver::_NoOpRequestPB_default_instance_;
296
15.8k
    new (ptr) ::yb::tserver::NoOpRequestPB();
297
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
298
15.8k
  }
299
15.8k
  ::yb::tserver::NoOpRequestPB::InitAsDefaultInstance();
300
15.8k
}
301
302
15.8k
void InitDefaultsNoOpRequestPB() {
303
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
304
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsNoOpRequestPBImpl);
305
15.8k
}
306
307
15.8k
void InitDefaultsNoOpResponsePBImpl() {
308
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
309
310
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
311
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
312
#else
313
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
314
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
315
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
316
15.8k
  {
317
15.8k
    void* ptr = &::yb::tserver::_NoOpResponsePB_default_instance_;
318
15.8k
    new (ptr) ::yb::tserver::NoOpResponsePB();
319
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
320
15.8k
  }
321
15.8k
  ::yb::tserver::NoOpResponsePB::InitAsDefaultInstance();
322
15.8k
}
323
324
15.8k
void InitDefaultsNoOpResponsePB() {
325
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
326
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsNoOpResponsePBImpl);
327
15.8k
}
328
329
15.8k
void InitDefaultsVerifyTableRowRangeRequestPBImpl() {
330
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
331
332
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
333
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
334
#else
335
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
336
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
337
15.8k
  {
338
15.8k
    void* ptr = &::yb::tserver::_VerifyTableRowRangeRequestPB_default_instance_;
339
15.8k
    new (ptr) ::yb::tserver::VerifyTableRowRangeRequestPB();
340
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
341
15.8k
  }
342
15.8k
  ::yb::tserver::VerifyTableRowRangeRequestPB::InitAsDefaultInstance();
343
15.8k
}
344
345
15.8k
void InitDefaultsVerifyTableRowRangeRequestPB() {
346
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
347
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsVerifyTableRowRangeRequestPBImpl);
348
15.8k
}
349
350
15.8k
void InitDefaultsVerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUseImpl() {
351
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
352
353
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
354
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
355
#else
356
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
357
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
358
15.8k
  {
359
15.8k
    void* ptr = &::yb::tserver::_VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse_default_instance_;
360
15.8k
    new (ptr) ::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse();
361
15.8k
  }
362
15.8k
  ::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::InitAsDefaultInstance();
363
15.8k
}
364
365
31.6k
void InitDefaultsVerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse() {
366
31.6k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
367
31.6k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsVerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUseImpl);
368
31.6k
}
369
370
15.8k
void InitDefaultsVerifyTableRowRangeResponsePBImpl() {
371
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
372
373
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
374
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
375
#else
376
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
377
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
378
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
379
15.8k
  protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsVerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse();
380
15.8k
  {
381
15.8k
    void* ptr = &::yb::tserver::_VerifyTableRowRangeResponsePB_default_instance_;
382
15.8k
    new (ptr) ::yb::tserver::VerifyTableRowRangeResponsePB();
383
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
384
15.8k
  }
385
15.8k
  ::yb::tserver::VerifyTableRowRangeResponsePB::InitAsDefaultInstance();
386
15.8k
}
387
388
15.8k
void InitDefaultsVerifyTableRowRangeResponsePB() {
389
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
390
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsVerifyTableRowRangeResponsePBImpl);
391
15.8k
}
392
393
15.8k
void InitDefaultsReadRequestPBImpl() {
394
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
395
396
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
397
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
398
#else
399
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
400
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
401
15.8k
  protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisReadRequestPB();
402
15.8k
  protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLReadRequestPB();
403
15.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlReadRequestPB();
404
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPB();
405
15.8k
  protobuf_yb_2fcommon_2ftransaction_2eproto::InitDefaultsSubTransactionMetadataPB();
406
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePB();
407
15.8k
  {
408
15.8k
    void* ptr = &::yb::tserver::_ReadRequestPB_default_instance_;
409
15.8k
    new (ptr) ::yb::tserver::ReadRequestPB();
410
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
411
15.8k
  }
412
15.8k
  ::yb::tserver::ReadRequestPB::InitAsDefaultInstance();
413
15.8k
}
414
415
5.64M
void InitDefaultsReadRequestPB() {
416
5.64M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
417
5.64M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsReadRequestPBImpl);
418
5.64M
}
419
420
15.8k
void InitDefaultsReadResponsePBImpl() {
421
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
422
423
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
424
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
425
#else
426
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
427
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
428
15.8k
  protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::InitDefaultsRedisResponsePB();
429
15.8k
  protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLResponsePB();
430
15.8k
  protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::InitDefaultsPgsqlResponsePB();
431
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
432
15.8k
  protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePB();
433
15.8k
  {
434
15.8k
    void* ptr = &::yb::tserver::_ReadResponsePB_default_instance_;
435
15.8k
    new (ptr) ::yb::tserver::ReadResponsePB();
436
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
437
15.8k
  }
438
15.8k
  ::yb::tserver::ReadResponsePB::InitAsDefaultInstance();
439
15.8k
}
440
441
5.63M
void InitDefaultsReadResponsePB() {
442
5.63M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
443
5.63M
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsReadResponsePBImpl);
444
5.63M
}
445
446
15.8k
void InitDefaultsTruncateRequestPBImpl() {
447
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
448
449
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
450
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
451
#else
452
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
453
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
454
15.8k
  protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsTruncatePB();
455
15.8k
  {
456
15.8k
    void* ptr = &::yb::tserver::_TruncateRequestPB_default_instance_;
457
15.8k
    new (ptr) ::yb::tserver::TruncateRequestPB();
458
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
459
15.8k
  }
460
15.8k
  ::yb::tserver::TruncateRequestPB::InitAsDefaultInstance();
461
15.8k
}
462
463
131k
void InitDefaultsTruncateRequestPB() {
464
131k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
465
131k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTruncateRequestPBImpl);
466
131k
}
467
468
15.8k
void InitDefaultsTruncateResponsePBImpl() {
469
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
470
471
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
472
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
473
#else
474
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
475
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
476
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
477
15.8k
  {
478
15.8k
    void* ptr = &::yb::tserver::_TruncateResponsePB_default_instance_;
479
15.8k
    new (ptr) ::yb::tserver::TruncateResponsePB();
480
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
481
15.8k
  }
482
15.8k
  ::yb::tserver::TruncateResponsePB::InitAsDefaultInstance();
483
15.8k
}
484
485
123k
void InitDefaultsTruncateResponsePB() {
486
123k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
487
123k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTruncateResponsePBImpl);
488
123k
}
489
490
15.8k
void InitDefaultsGetTabletStatusRequestPBImpl() {
491
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
492
493
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
494
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
495
#else
496
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
497
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
498
15.8k
  {
499
15.8k
    void* ptr = &::yb::tserver::_GetTabletStatusRequestPB_default_instance_;
500
15.8k
    new (ptr) ::yb::tserver::GetTabletStatusRequestPB();
501
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
502
15.8k
  }
503
15.8k
  ::yb::tserver::GetTabletStatusRequestPB::InitAsDefaultInstance();
504
15.8k
}
505
506
16.7k
void InitDefaultsGetTabletStatusRequestPB() {
507
16.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
508
16.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTabletStatusRequestPBImpl);
509
16.7k
}
510
511
15.8k
void InitDefaultsGetTabletStatusResponsePBImpl() {
512
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
513
514
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
515
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
516
#else
517
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
518
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
519
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
520
15.8k
  protobuf_yb_2ftablet_2ftablet_2eproto::InitDefaultsTabletStatusPB();
521
15.8k
  {
522
15.8k
    void* ptr = &::yb::tserver::_GetTabletStatusResponsePB_default_instance_;
523
15.8k
    new (ptr) ::yb::tserver::GetTabletStatusResponsePB();
524
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
525
15.8k
  }
526
15.8k
  ::yb::tserver::GetTabletStatusResponsePB::InitAsDefaultInstance();
527
15.8k
}
528
529
16.7k
void InitDefaultsGetTabletStatusResponsePB() {
530
16.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
531
16.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetTabletStatusResponsePBImpl);
532
16.7k
}
533
534
15.8k
void InitDefaultsGetMasterAddressesRequestPBImpl() {
535
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
536
537
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
538
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
539
#else
540
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
541
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
542
15.8k
  {
543
15.8k
    void* ptr = &::yb::tserver::_GetMasterAddressesRequestPB_default_instance_;
544
15.8k
    new (ptr) ::yb::tserver::GetMasterAddressesRequestPB();
545
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
546
15.8k
  }
547
15.8k
  ::yb::tserver::GetMasterAddressesRequestPB::InitAsDefaultInstance();
548
15.8k
}
549
550
15.8k
void InitDefaultsGetMasterAddressesRequestPB() {
551
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
552
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetMasterAddressesRequestPBImpl);
553
15.8k
}
554
555
15.8k
void InitDefaultsGetMasterAddressesResponsePBImpl() {
556
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
557
558
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
559
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
560
#else
561
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
562
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
563
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
564
15.8k
  {
565
15.8k
    void* ptr = &::yb::tserver::_GetMasterAddressesResponsePB_default_instance_;
566
15.8k
    new (ptr) ::yb::tserver::GetMasterAddressesResponsePB();
567
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
568
15.8k
  }
569
15.8k
  ::yb::tserver::GetMasterAddressesResponsePB::InitAsDefaultInstance();
570
15.8k
}
571
572
15.8k
void InitDefaultsGetMasterAddressesResponsePB() {
573
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
574
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsGetMasterAddressesResponsePBImpl);
575
15.8k
}
576
577
15.8k
void InitDefaultsPublishRequestPBImpl() {
578
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
579
580
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
581
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
582
#else
583
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
584
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
585
15.8k
  {
586
15.8k
    void* ptr = &::yb::tserver::_PublishRequestPB_default_instance_;
587
15.8k
    new (ptr) ::yb::tserver::PublishRequestPB();
588
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
589
15.8k
  }
590
15.8k
  ::yb::tserver::PublishRequestPB::InitAsDefaultInstance();
591
15.8k
}
592
593
15.8k
void InitDefaultsPublishRequestPB() {
594
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
595
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPublishRequestPBImpl);
596
15.8k
}
597
598
15.8k
void InitDefaultsPublishResponsePBImpl() {
599
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
600
601
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
602
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
603
#else
604
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
605
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
606
15.8k
  {
607
15.8k
    void* ptr = &::yb::tserver::_PublishResponsePB_default_instance_;
608
15.8k
    new (ptr) ::yb::tserver::PublishResponsePB();
609
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
610
15.8k
  }
611
15.8k
  ::yb::tserver::PublishResponsePB::InitAsDefaultInstance();
612
15.8k
}
613
614
15.8k
void InitDefaultsPublishResponsePB() {
615
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
616
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsPublishResponsePBImpl);
617
15.8k
}
618
619
15.8k
void InitDefaultsIsTabletServerReadyRequestPBImpl() {
620
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
621
622
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
623
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
624
#else
625
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
626
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
627
15.8k
  {
628
15.8k
    void* ptr = &::yb::tserver::_IsTabletServerReadyRequestPB_default_instance_;
629
15.8k
    new (ptr) ::yb::tserver::IsTabletServerReadyRequestPB();
630
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
631
15.8k
  }
632
15.8k
  ::yb::tserver::IsTabletServerReadyRequestPB::InitAsDefaultInstance();
633
15.8k
}
634
635
15.8k
void InitDefaultsIsTabletServerReadyRequestPB() {
636
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
637
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsTabletServerReadyRequestPBImpl);
638
15.8k
}
639
640
15.8k
void InitDefaultsIsTabletServerReadyResponsePBImpl() {
641
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
642
643
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
644
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
645
#else
646
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
647
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
648
15.8k
  protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::InitDefaultsTabletServerErrorPB();
649
15.8k
  {
650
15.8k
    void* ptr = &::yb::tserver::_IsTabletServerReadyResponsePB_default_instance_;
651
15.8k
    new (ptr) ::yb::tserver::IsTabletServerReadyResponsePB();
652
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
653
15.8k
  }
654
15.8k
  ::yb::tserver::IsTabletServerReadyResponsePB::InitAsDefaultInstance();
655
15.8k
}
656
657
15.8k
void InitDefaultsIsTabletServerReadyResponsePB() {
658
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
659
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsIsTabletServerReadyResponsePBImpl);
660
15.8k
}
661
662
::google::protobuf::Metadata file_level_metadata[23];
663
664
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
665
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, _has_bits_),
666
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, _internal_metadata_),
667
  ~0u,  // no _extensions_
668
  ~0u,  // no _oneof_case_
669
  ~0u,  // no _weak_field_map_
670
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, tablet_id_),
671
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, write_batch_),
672
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, redis_write_batch_),
673
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, ql_write_batch_),
674
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, pgsql_write_batch_),
675
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, propagated_hybrid_time_),
676
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, include_trace_),
677
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, read_time_),
678
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, client_id1_),
679
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, client_id2_),
680
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, request_id_),
681
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, min_running_request_id_),
682
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, rejection_score_),
683
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, external_hybrid_time_),
684
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteRequestPB, batch_idx_),
685
  0,
686
  1,
687
  ~0u,
688
  ~0u,
689
  ~0u,
690
  3,
691
  7,
692
  2,
693
  4,
694
  5,
695
  6,
696
  8,
697
  9,
698
  10,
699
  11,
700
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB_PerRowErrorPB, _has_bits_),
701
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB_PerRowErrorPB, _internal_metadata_),
702
  ~0u,  // no _extensions_
703
  ~0u,  // no _oneof_case_
704
  ~0u,  // no _weak_field_map_
705
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB_PerRowErrorPB, row_index_),
706
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB_PerRowErrorPB, error_),
707
  1,
708
  0,
709
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, _has_bits_),
710
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, _internal_metadata_),
711
  ~0u,  // no _extensions_
712
  ~0u,  // no _oneof_case_
713
  ~0u,  // no _weak_field_map_
714
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, error_),
715
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, per_row_errors_),
716
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, redis_response_batch_),
717
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, ql_response_batch_),
718
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, pgsql_response_batch_),
719
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, propagated_hybrid_time_),
720
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, trace_buffer_),
721
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, restart_read_time_),
722
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, used_read_time_),
723
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::WriteResponsePB, local_limit_ht_),
724
  1,
725
  ~0u,
726
  ~0u,
727
  ~0u,
728
  ~0u,
729
  4,
730
  0,
731
  2,
732
  3,
733
  5,
734
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsRequestPB, _has_bits_),
735
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsRequestPB, _internal_metadata_),
736
  ~0u,  // no _extensions_
737
  ~0u,  // no _oneof_case_
738
  ~0u,  // no _weak_field_map_
739
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB, _has_bits_),
740
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB, _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::ListTabletsResponsePB_StatusAndSchemaPB, tablet_status_),
745
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB, schema_),
746
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB, partition_schema_),
747
  0,
748
  1,
749
  2,
750
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB, _has_bits_),
751
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB, _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::ListTabletsResponsePB, error_),
756
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ListTabletsResponsePB, status_and_schema_),
757
  0,
758
  ~0u,
759
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::NoOpRequestPB, _has_bits_),
760
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::NoOpRequestPB, _internal_metadata_),
761
  ~0u,  // no _extensions_
762
  ~0u,  // no _oneof_case_
763
  ~0u,  // no _weak_field_map_
764
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::NoOpRequestPB, tablet_id_),
765
  0,
766
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::NoOpResponsePB, _has_bits_),
767
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::NoOpResponsePB, _internal_metadata_),
768
  ~0u,  // no _extensions_
769
  ~0u,  // no _oneof_case_
770
  ~0u,  // no _weak_field_map_
771
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::NoOpResponsePB, error_),
772
  0,
773
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, _has_bits_),
774
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, _internal_metadata_),
775
  ~0u,  // no _extensions_
776
  ~0u,  // no _oneof_case_
777
  ~0u,  // no _weak_field_map_
778
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, tablet_id_),
779
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, index_ids_),
780
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, start_key_),
781
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, num_rows_),
782
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, read_time_),
783
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeRequestPB, propagated_hybrid_time_),
784
  0,
785
  ~0u,
786
  1,
787
  4,
788
  2,
789
  3,
790
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse, _has_bits_),
791
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse, _internal_metadata_),
792
  ~0u,  // no _extensions_
793
  ~0u,  // no _oneof_case_
794
  ~0u,  // no _weak_field_map_
795
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse, key_),
796
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse, value_),
797
  0,
798
  1,
799
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB, _has_bits_),
800
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB, _internal_metadata_),
801
  ~0u,  // no _extensions_
802
  ~0u,  // no _oneof_case_
803
  ~0u,  // no _weak_field_map_
804
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB, error_),
805
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB, consistency_stats_),
806
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB, verified_until_),
807
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::VerifyTableRowRangeResponsePB, propagated_hybrid_time_),
808
  1,
809
  ~0u,
810
  0,
811
  2,
812
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, _has_bits_),
813
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, _internal_metadata_),
814
  ~0u,  // no _extensions_
815
  ~0u,  // no _oneof_case_
816
  ~0u,  // no _weak_field_map_
817
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, tablet_id_),
818
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, redis_batch_),
819
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, ql_batch_),
820
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, pgsql_batch_),
821
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, cache_blocks_),
822
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, include_trace_),
823
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, consistency_level_),
824
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, transaction_),
825
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, subtransaction_),
826
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, propagated_hybrid_time_),
827
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, read_time_),
828
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, proxy_uuid_),
829
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, deprecated_may_have_metadata_),
830
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, rejection_score_),
831
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadRequestPB, batch_idx_),
832
  0,
833
  ~0u,
834
  ~0u,
835
  ~0u,
836
  10,
837
  8,
838
  11,
839
  2,
840
  4,
841
  5,
842
  3,
843
  1,
844
  9,
845
  6,
846
  7,
847
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, _has_bits_),
848
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, _internal_metadata_),
849
  ~0u,  // no _extensions_
850
  ~0u,  // no _oneof_case_
851
  ~0u,  // no _weak_field_map_
852
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, redis_batch_),
853
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, ql_batch_),
854
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, pgsql_batch_),
855
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, error_),
856
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, trace_buffer_),
857
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, propagated_hybrid_time_),
858
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, restart_read_time_),
859
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, used_read_time_),
860
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::ReadResponsePB, local_limit_ht_),
861
  ~0u,
862
  ~0u,
863
  ~0u,
864
  1,
865
  0,
866
  4,
867
  2,
868
  3,
869
  5,
870
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateRequestPB, _has_bits_),
871
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateRequestPB, _internal_metadata_),
872
  ~0u,  // no _extensions_
873
  ~0u,  // no _oneof_case_
874
  ~0u,  // no _weak_field_map_
875
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateRequestPB, tablet_id_),
876
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateRequestPB, propagated_hybrid_time_),
877
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateRequestPB, truncate_),
878
  0,
879
  2,
880
  1,
881
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateResponsePB, _has_bits_),
882
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateResponsePB, _internal_metadata_),
883
  ~0u,  // no _extensions_
884
  ~0u,  // no _oneof_case_
885
  ~0u,  // no _weak_field_map_
886
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateResponsePB, error_),
887
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::TruncateResponsePB, propagated_hybrid_time_),
888
  0,
889
  1,
890
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusRequestPB, _has_bits_),
891
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusRequestPB, _internal_metadata_),
892
  ~0u,  // no _extensions_
893
  ~0u,  // no _oneof_case_
894
  ~0u,  // no _weak_field_map_
895
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusRequestPB, tablet_id_),
896
  0,
897
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusResponsePB, _has_bits_),
898
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusResponsePB, _internal_metadata_),
899
  ~0u,  // no _extensions_
900
  ~0u,  // no _oneof_case_
901
  ~0u,  // no _weak_field_map_
902
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusResponsePB, error_),
903
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetTabletStatusResponsePB, tablet_status_),
904
  0,
905
  1,
906
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetMasterAddressesRequestPB, _has_bits_),
907
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetMasterAddressesRequestPB, _internal_metadata_),
908
  ~0u,  // no _extensions_
909
  ~0u,  // no _oneof_case_
910
  ~0u,  // no _weak_field_map_
911
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetMasterAddressesResponsePB, _has_bits_),
912
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetMasterAddressesResponsePB, _internal_metadata_),
913
  ~0u,  // no _extensions_
914
  ~0u,  // no _oneof_case_
915
  ~0u,  // no _weak_field_map_
916
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetMasterAddressesResponsePB, error_),
917
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::GetMasterAddressesResponsePB, master_addresses_),
918
  1,
919
  0,
920
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishRequestPB, _has_bits_),
921
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishRequestPB, _internal_metadata_),
922
  ~0u,  // no _extensions_
923
  ~0u,  // no _oneof_case_
924
  ~0u,  // no _weak_field_map_
925
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishRequestPB, channel_),
926
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishRequestPB, message_),
927
  0,
928
  1,
929
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishResponsePB, _has_bits_),
930
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishResponsePB, _internal_metadata_),
931
  ~0u,  // no _extensions_
932
  ~0u,  // no _oneof_case_
933
  ~0u,  // no _weak_field_map_
934
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::PublishResponsePB, num_clients_forwarded_to_),
935
  0,
936
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyRequestPB, _has_bits_),
937
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyRequestPB, _internal_metadata_),
938
  ~0u,  // no _extensions_
939
  ~0u,  // no _oneof_case_
940
  ~0u,  // no _weak_field_map_
941
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyResponsePB, _has_bits_),
942
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyResponsePB, _internal_metadata_),
943
  ~0u,  // no _extensions_
944
  ~0u,  // no _oneof_case_
945
  ~0u,  // no _weak_field_map_
946
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyResponsePB, error_),
947
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyResponsePB, num_tablets_not_running_),
948
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::IsTabletServerReadyResponsePB, total_tablets_),
949
  0,
950
  1,
951
  2,
952
};
953
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
954
  { 0, 20, sizeof(::yb::tserver::WriteRequestPB)},
955
  { 35, 42, sizeof(::yb::tserver::WriteResponsePB_PerRowErrorPB)},
956
  { 44, 59, sizeof(::yb::tserver::WriteResponsePB)},
957
  { 69, 74, sizeof(::yb::tserver::ListTabletsRequestPB)},
958
  { 74, 82, sizeof(::yb::tserver::ListTabletsResponsePB_StatusAndSchemaPB)},
959
  { 85, 92, sizeof(::yb::tserver::ListTabletsResponsePB)},
960
  { 94, 100, sizeof(::yb::tserver::NoOpRequestPB)},
961
  { 101, 107, sizeof(::yb::tserver::NoOpResponsePB)},
962
  { 108, 119, sizeof(::yb::tserver::VerifyTableRowRangeRequestPB)},
963
  { 125, 132, sizeof(::yb::tserver::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse)},
964
  { 134, 143, sizeof(::yb::tserver::VerifyTableRowRangeResponsePB)},
965
  { 147, 167, sizeof(::yb::tserver::ReadRequestPB)},
966
  { 182, 196, sizeof(::yb::tserver::ReadResponsePB)},
967
  { 205, 213, sizeof(::yb::tserver::TruncateRequestPB)},
968
  { 216, 223, sizeof(::yb::tserver::TruncateResponsePB)},
969
  { 225, 231, sizeof(::yb::tserver::GetTabletStatusRequestPB)},
970
  { 232, 239, sizeof(::yb::tserver::GetTabletStatusResponsePB)},
971
  { 241, 246, sizeof(::yb::tserver::GetMasterAddressesRequestPB)},
972
  { 246, 253, sizeof(::yb::tserver::GetMasterAddressesResponsePB)},
973
  { 255, 262, sizeof(::yb::tserver::PublishRequestPB)},
974
  { 264, 270, sizeof(::yb::tserver::PublishResponsePB)},
975
  { 271, 276, sizeof(::yb::tserver::IsTabletServerReadyRequestPB)},
976
  { 276, 284, sizeof(::yb::tserver::IsTabletServerReadyResponsePB)},
977
};
978
979
static ::google::protobuf::Message const * const file_default_instances[] = {
980
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_WriteRequestPB_default_instance_),
981
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_WriteResponsePB_PerRowErrorPB_default_instance_),
982
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_WriteResponsePB_default_instance_),
983
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ListTabletsRequestPB_default_instance_),
984
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ListTabletsResponsePB_StatusAndSchemaPB_default_instance_),
985
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ListTabletsResponsePB_default_instance_),
986
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_NoOpRequestPB_default_instance_),
987
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_NoOpResponsePB_default_instance_),
988
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_VerifyTableRowRangeRequestPB_default_instance_),
989
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse_default_instance_),
990
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_VerifyTableRowRangeResponsePB_default_instance_),
991
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ReadRequestPB_default_instance_),
992
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_ReadResponsePB_default_instance_),
993
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_TruncateRequestPB_default_instance_),
994
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_TruncateResponsePB_default_instance_),
995
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetTabletStatusRequestPB_default_instance_),
996
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetTabletStatusResponsePB_default_instance_),
997
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetMasterAddressesRequestPB_default_instance_),
998
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_GetMasterAddressesResponsePB_default_instance_),
999
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PublishRequestPB_default_instance_),
1000
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_PublishResponsePB_default_instance_),
1001
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_IsTabletServerReadyRequestPB_default_instance_),
1002
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_IsTabletServerReadyResponsePB_default_instance_),
1003
};
1004
1005
3.60k
void protobuf_AssignDescriptors() {
1006
3.60k
  AddDescriptors();
1007
3.60k
  ::google::protobuf::MessageFactory* factory = NULL;
1008
3.60k
  AssignDescriptors(
1009
3.60k
      "yb/tserver/tserver.proto", schemas, file_default_instances, TableStruct::offsets, factory,
1010
3.60k
      file_level_metadata, NULL, NULL);
1011
3.60k
}
1012
1013
1.49M
void protobuf_AssignDescriptorsOnce() {
1014
1.49M
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1015
1.49M
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
1016
1.49M
}
1017
1018
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
1019
0
void protobuf_RegisterTypes(const ::std::string&) {
1020
0
  protobuf_AssignDescriptorsOnce();
1021
0
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 23);
1022
0
}
1023
1024
15.8k
void AddDescriptorsImpl() {
1025
15.8k
  InitDefaults();
1026
15.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
1027
15.8k
      "\n\030yb/tserver/tserver.proto\022\nyb.tserver\032\026"
1028
15.8k
      "yb/common/common.proto\032\034yb/common/common"
1029
15.8k
      "_types.proto\032\036yb/common/redis_protocol.p"
1030
15.8k
      "roto\032\033yb/common/ql_protocol.proto\032\036yb/co"
1031
15.8k
      "mmon/pgsql_protocol.proto\032\033yb/common/tra"
1032
15.8k
      "nsaction.proto\032\035yb/common/wire_protocol."
1033
15.8k
      "proto\032\024yb/docdb/docdb.proto\032\032yb/tablet/o"
1034
15.8k
      "perations.proto\032\026yb/tablet/tablet.proto\032"
1035
15.8k
      "\036yb/tserver/tserver_types.proto\"\373\003\n\016Writ"
1036
15.8k
      "eRequestPB\022\021\n\ttablet_id\030\001 \002(\014\0223\n\013write_b"
1037
15.8k
      "atch\030\007 \001(\0132\036.yb.docdb.KeyValueWriteBatch"
1038
15.8k
      "PB\0222\n\021redis_write_batch\030\010 \003(\0132\027.yb.Redis"
1039
15.8k
      "WriteRequestPB\022,\n\016ql_write_batch\030\n \003(\0132\024"
1040
15.8k
      ".yb.QLWriteRequestPB\0222\n\021pgsql_write_batc"
1041
15.8k
      "h\030\r \003(\0132\027.yb.PgsqlWriteRequestPB\022\036\n\026prop"
1042
15.8k
      "agated_hybrid_time\030\005 \001(\006\022\034\n\rinclude_trac"
1043
15.8k
      "e\030\006 \001(\010:\005false\022\'\n\tread_time\030\014 \001(\0132\024.yb.R"
1044
15.8k
      "eadHybridTimePB\022\022\n\nclient_id1\030\016 \001(\006\022\022\n\nc"
1045
15.8k
      "lient_id2\030\017 \001(\006\022\022\n\nrequest_id\030\020 \001(\003\022\036\n\026m"
1046
15.8k
      "in_running_request_id\030\021 \001(\003\022\027\n\017rejection"
1047
15.8k
      "_score\030\022 \001(\001\022\034\n\024external_hybrid_time\030\023 \001"
1048
15.8k
      "(\006\022\021\n\tbatch_idx\030\024 \001(\004\"\210\004\n\017WriteResponseP"
1049
15.8k
      "B\022.\n\005error\030\001 \001(\0132\037.yb.tserver.TabletServ"
1050
15.8k
      "erErrorPB\022A\n\016per_row_errors\030\002 \003(\0132).yb.t"
1051
15.8k
      "server.WriteResponsePB.PerRowErrorPB\0221\n\024"
1052
15.8k
      "redis_response_batch\030\010 \003(\0132\023.yb.RedisRes"
1053
15.8k
      "ponsePB\022+\n\021ql_response_batch\030\t \003(\0132\020.yb."
1054
15.8k
      "QLResponsePB\0221\n\024pgsql_response_batch\030\014 \003"
1055
15.8k
      "(\0132\023.yb.PgsqlResponsePB\022\036\n\026propagated_hy"
1056
15.8k
      "brid_time\030\003 \001(\006\022\024\n\014trace_buffer\030\n \001(\t\022/\n"
1057
15.8k
      "\021restart_read_time\030\013 \001(\0132\024.yb.ReadHybrid"
1058
15.8k
      "TimePB\022,\n\016used_read_time\030\r \001(\0132\024.yb.Read"
1059
15.8k
      "HybridTimePB\022\026\n\016local_limit_ht\030\016 \001(\006\032B\n\r"
1060
15.8k
      "PerRowErrorPB\022\021\n\trow_index\030\001 \002(\005\022\036\n\005erro"
1061
15.8k
      "r\030\002 \002(\0132\017.yb.AppStatusPB\"\026\n\024ListTabletsR"
1062
15.8k
      "equestPB\"\256\002\n\025ListTabletsResponsePB\022.\n\005er"
1063
15.8k
      "ror\030\001 \001(\0132\037.yb.tserver.TabletServerError"
1064
15.8k
      "PB\022N\n\021status_and_schema\030\002 \003(\01323.yb.tserv"
1065
15.8k
      "er.ListTabletsResponsePB.StatusAndSchema"
1066
15.8k
      "PB\032\224\001\n\021StatusAndSchemaPB\0220\n\rtablet_statu"
1067
15.8k
      "s\030\001 \002(\0132\031.yb.tablet.TabletStatusPB\022\034\n\006sc"
1068
15.8k
      "hema\030\002 \002(\0132\014.yb.SchemaPB\022/\n\020partition_sc"
1069
15.8k
      "hema\030\003 \001(\0132\025.yb.PartitionSchemaPB\"\"\n\rNoO"
1070
15.8k
      "pRequestPB\022\021\n\ttablet_id\030\001 \001(\014\"@\n\016NoOpRes"
1071
15.8k
      "ponsePB\022.\n\005error\030\001 \001(\0132\037.yb.tserver.Tabl"
1072
15.8k
      "etServerErrorPB\"\234\001\n\034VerifyTableRowRangeR"
1073
15.8k
      "equestPB\022\021\n\ttablet_id\030\001 \002(\014\022\021\n\tindex_ids"
1074
15.8k
      "\030\002 \003(\014\022\021\n\tstart_key\030\003 \001(\014\022\020\n\010num_rows\030\004 "
1075
15.8k
      "\001(\r\022\021\n\tread_time\030\005 \001(\006\022\036\n\026propagated_hyb"
1076
15.8k
      "rid_time\030\006 \001(\006\"\234\002\n\035VerifyTableRowRangeRe"
1077
15.8k
      "sponsePB\022.\n\005error\030\001 \001(\0132\037.yb.tserver.Tab"
1078
15.8k
      "letServerErrorPB\022Z\n\021consistency_stats\030\002 "
1079
15.8k
      "\003(\0132\?.yb.tserver.VerifyTableRowRangeResp"
1080
15.8k
      "onsePB.ConsistencyStatsEntry\022\026\n\016verified"
1081
15.8k
      "_until\030\003 \001(\014\022\036\n\026propagated_hybrid_time\030\004"
1082
15.8k
      " \001(\006\0327\n\025ConsistencyStatsEntry\022\013\n\003key\030\001 \001"
1083
15.8k
      "(\t\022\r\n\005value\030\002 \001(\004:\0028\001\"\255\004\n\rReadRequestPB\022"
1084
15.8k
      "\021\n\ttablet_id\030\001 \001(\014\022+\n\013redis_batch\030\002 \003(\0132"
1085
15.8k
      "\026.yb.RedisReadRequestPB\022%\n\010ql_batch\030\004 \003("
1086
15.8k
      "\0132\023.yb.QLReadRequestPB\022+\n\013pgsql_batch\030\n "
1087
15.8k
      "\003(\0132\026.yb.PgsqlReadRequestPB\022\032\n\014cache_blo"
1088
15.8k
      "cks\030\003 \001(\010:\004true\022\034\n\rinclude_trace\030\005 \001(\010:\005"
1089
15.8k
      "false\0229\n\021consistency_level\030\006 \001(\0162\026.yb.YB"
1090
15.8k
      "ConsistencyLevel:\006STRONG\022.\n\013transaction\030"
1091
15.8k
      "\007 \001(\0132\031.yb.TransactionMetadataPB\0224\n\016subt"
1092
15.8k
      "ransaction\030\017 \001(\0132\034.yb.SubTransactionMeta"
1093
15.8k
      "dataPB\022\036\n\026propagated_hybrid_time\030\010 \001(\006\022\'"
1094
15.8k
      "\n\tread_time\030\t \001(\0132\024.yb.ReadHybridTimePB\022"
1095
15.8k
      "\022\n\nproxy_uuid\030\013 \001(\t\022$\n\034DEPRECATED_may_ha"
1096
15.8k
      "ve_metadata\030\014 \001(\010\022\027\n\017rejection_score\030\r \001"
1097
15.8k
      "(\001\022\021\n\tbatch_idx\030\016 \001(\004\"\353\002\n\016ReadResponsePB"
1098
15.8k
      "\022(\n\013redis_batch\030\001 \003(\0132\023.yb.RedisResponse"
1099
15.8k
      "PB\022\"\n\010ql_batch\030\004 \003(\0132\020.yb.QLResponsePB\022("
1100
15.8k
      "\n\013pgsql_batch\030\010 \003(\0132\023.yb.PgsqlResponsePB"
1101
15.8k
      "\022.\n\005error\030\003 \001(\0132\037.yb.tserver.TabletServe"
1102
15.8k
      "rErrorPB\022\024\n\014trace_buffer\030\005 \001(\t\022\036\n\026propag"
1103
15.8k
      "ated_hybrid_time\030\006 \001(\006\022/\n\021restart_read_t"
1104
15.8k
      "ime\030\007 \001(\0132\024.yb.ReadHybridTimePB\022,\n\016used_"
1105
15.8k
      "read_time\030\t \001(\0132\024.yb.ReadHybridTimePB\022\026\n"
1106
15.8k
      "\016local_limit_ht\030\n \001(\006J\004\010\002\020\003\"o\n\021TruncateR"
1107
15.8k
      "equestPB\022\021\n\ttablet_id\030\001 \001(\014\022\036\n\026propagate"
1108
15.8k
      "d_hybrid_time\030\002 \001(\006\022\'\n\010truncate\030\003 \001(\0132\025."
1109
15.8k
      "yb.tablet.TruncatePB\"d\n\022TruncateResponse"
1110
15.8k
      "PB\022.\n\005error\030\001 \001(\0132\037.yb.tserver.TabletSer"
1111
15.8k
      "verErrorPB\022\036\n\026propagated_hybrid_time\030\002 \001"
1112
15.8k
      "(\006\"-\n\030GetTabletStatusRequestPB\022\021\n\ttablet"
1113
15.8k
      "_id\030\001 \001(\014\"}\n\031GetTabletStatusResponsePB\022."
1114
15.8k
      "\n\005error\030\001 \001(\0132\037.yb.tserver.TabletServerE"
1115
15.8k
      "rrorPB\0220\n\rtablet_status\030\002 \001(\0132\031.yb.table"
1116
15.8k
      "t.TabletStatusPB\"\035\n\033GetMasterAddressesRe"
1117
15.8k
      "questPB\"h\n\034GetMasterAddressesResponsePB\022"
1118
15.8k
      ".\n\005error\030\001 \001(\0132\037.yb.tserver.TabletServer"
1119
15.8k
      "ErrorPB\022\030\n\020master_addresses\030\002 \001(\t\"4\n\020Pub"
1120
15.8k
      "lishRequestPB\022\017\n\007channel\030\001 \002(\014\022\017\n\007messag"
1121
15.8k
      "e\030\002 \002(\014\"5\n\021PublishResponsePB\022 \n\030num_clie"
1122
15.8k
      "nts_forwarded_to\030\001 \002(\005\"\036\n\034IsTabletServer"
1123
15.8k
      "ReadyRequestPB\"\212\001\n\035IsTabletServerReadyRe"
1124
15.8k
      "sponsePB\022.\n\005error\030\001 \001(\0132\037.yb.tserver.Tab"
1125
15.8k
      "letServerErrorPB\022\037\n\027num_tablets_not_runn"
1126
15.8k
      "ing\030\002 \001(\005\022\030\n\rtotal_tablets\030\003 \001(\005:\0010B\020\n\016o"
1127
15.8k
      "rg.yb.tserver"
1128
15.8k
  };
1129
15.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
1130
15.8k
      descriptor, 4013);
1131
15.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
1132
15.8k
    "yb/tserver/tserver.proto", &protobuf_RegisterTypes);
1133
15.8k
  ::protobuf_yb_2fcommon_2fcommon_2eproto::AddDescriptors();
1134
15.8k
  ::protobuf_yb_2fcommon_2fcommon_5ftypes_2eproto::AddDescriptors();
1135
15.8k
  ::protobuf_yb_2fcommon_2fredis_5fprotocol_2eproto::AddDescriptors();
1136
15.8k
  ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::AddDescriptors();
1137
15.8k
  ::protobuf_yb_2fcommon_2fpgsql_5fprotocol_2eproto::AddDescriptors();
1138
15.8k
  ::protobuf_yb_2fcommon_2ftransaction_2eproto::AddDescriptors();
1139
15.8k
  ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::AddDescriptors();
1140
15.8k
  ::protobuf_yb_2fdocdb_2fdocdb_2eproto::AddDescriptors();
1141
15.8k
  ::protobuf_yb_2ftablet_2foperations_2eproto::AddDescriptors();
1142
15.8k
  ::protobuf_yb_2ftablet_2ftablet_2eproto::AddDescriptors();
1143
15.8k
  ::protobuf_yb_2ftserver_2ftserver_5ftypes_2eproto::AddDescriptors();
1144
15.8k
}
1145
1146
60.3k
void AddDescriptors() {
1147
60.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
1148
60.3k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
1149
60.3k
}
1150
// Force AddDescriptors() to be called at dynamic initialization time.
1151
struct StaticDescriptorInitializer {
1152
15.8k
  StaticDescriptorInitializer() {
1153
15.8k
    AddDescriptors();
1154
15.8k
  }
1155
} static_descriptor_initializer;
1156
}  // namespace protobuf_yb_2ftserver_2ftserver_2eproto
1157
namespace yb {
1158
namespace tserver {
1159
1160
// ===================================================================
1161
1162
15.8k
void WriteRequestPB::InitAsDefaultInstance() {
1163
15.8k
  ::yb::tserver::_WriteRequestPB_default_instance_._instance.get_mutable()->write_batch_ = const_cast< ::yb::docdb::KeyValueWriteBatchPB*>(
1164
15.8k
      ::yb::docdb::KeyValueWriteBatchPB::internal_default_instance());
1165
15.8k
  ::yb::tserver::_WriteRequestPB_default_instance_._instance.get_mutable()->read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
1166
15.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
1167
15.8k
}
1168
0
void WriteRequestPB::clear_write_batch() {
1169
0
  if (write_batch_ != NULL) write_batch_->Clear();
1170
0
  clear_has_write_batch();
1171
0
}
1172
0
void WriteRequestPB::clear_redis_write_batch() {
1173
0
  redis_write_batch_.Clear();
1174
0
}
1175
9.22k
void WriteRequestPB::clear_ql_write_batch() {
1176
9.22k
  ql_write_batch_.Clear();
1177
9.22k
}
1178
0
void WriteRequestPB::clear_pgsql_write_batch() {
1179
0
  pgsql_write_batch_.Clear();
1180
0
}
1181
0
void WriteRequestPB::clear_read_time() {
1182
0
  if (read_time_ != NULL) read_time_->Clear();
1183
0
  clear_has_read_time();
1184
0
}
1185
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1186
const int WriteRequestPB::kTabletIdFieldNumber;
1187
const int WriteRequestPB::kWriteBatchFieldNumber;
1188
const int WriteRequestPB::kRedisWriteBatchFieldNumber;
1189
const int WriteRequestPB::kQlWriteBatchFieldNumber;
1190
const int WriteRequestPB::kPgsqlWriteBatchFieldNumber;
1191
const int WriteRequestPB::kPropagatedHybridTimeFieldNumber;
1192
const int WriteRequestPB::kIncludeTraceFieldNumber;
1193
const int WriteRequestPB::kReadTimeFieldNumber;
1194
const int WriteRequestPB::kClientId1FieldNumber;
1195
const int WriteRequestPB::kClientId2FieldNumber;
1196
const int WriteRequestPB::kRequestIdFieldNumber;
1197
const int WriteRequestPB::kMinRunningRequestIdFieldNumber;
1198
const int WriteRequestPB::kRejectionScoreFieldNumber;
1199
const int WriteRequestPB::kExternalHybridTimeFieldNumber;
1200
const int WriteRequestPB::kBatchIdxFieldNumber;
1201
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1202
1203
WriteRequestPB::WriteRequestPB()
1204
2.13M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1205
2.11M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1206
2.11M
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteRequestPB();
1207
2.11M
  }
1208
2.13M
  SharedCtor();
1209
  // @@protoc_insertion_point(constructor:yb.tserver.WriteRequestPB)
1210
2.13M
}
1211
WriteRequestPB::WriteRequestPB(const WriteRequestPB& from)
1212
  : ::google::protobuf::Message(),
1213
      _internal_metadata_(NULL),
1214
      _has_bits_(from._has_bits_),
1215
      _cached_size_(0),
1216
      redis_write_batch_(from.redis_write_batch_),
1217
      ql_write_batch_(from.ql_write_batch_),
1218
0
      pgsql_write_batch_(from.pgsql_write_batch_) {
1219
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1220
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1221
0
  if (from.has_tablet_id()) {
1222
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
1223
0
  }
1224
0
  if (from.has_write_batch()) {
1225
0
    write_batch_ = new ::yb::docdb::KeyValueWriteBatchPB(*from.write_batch_);
1226
0
  } else {
1227
0
    write_batch_ = NULL;
1228
0
  }
1229
0
  if (from.has_read_time()) {
1230
0
    read_time_ = new ::yb::ReadHybridTimePB(*from.read_time_);
1231
0
  } else {
1232
0
    read_time_ = NULL;
1233
0
  }
1234
0
  ::memcpy(&propagated_hybrid_time_, &from.propagated_hybrid_time_,
1235
0
    static_cast<size_t>(reinterpret_cast<char*>(&batch_idx_) -
1236
0
    reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(batch_idx_));
1237
  // @@protoc_insertion_point(copy_constructor:yb.tserver.WriteRequestPB)
1238
0
}
1239
1240
2.13M
void WriteRequestPB::SharedCtor() {
1241
2.13M
  _cached_size_ = 0;
1242
2.13M
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1243
2.13M
  ::memset(&write_batch_, 0, static_cast<size_t>(
1244
2.13M
      reinterpret_cast<char*>(&batch_idx_) -
1245
2.13M
      reinterpret_cast<char*>(&write_batch_)) + sizeof(batch_idx_));
1246
2.13M
}
1247
1248
2.12M
WriteRequestPB::~WriteRequestPB() {
1249
  // @@protoc_insertion_point(destructor:yb.tserver.WriteRequestPB)
1250
2.12M
  SharedDtor();
1251
2.12M
}
1252
1253
2.12M
void WriteRequestPB::SharedDtor() {
1254
2.12M
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1255
2.12M
  if (this != internal_default_instance()) delete write_batch_;
1256
2.12M
  if (this != internal_default_instance()) delete read_time_;
1257
2.12M
}
1258
1259
0
void WriteRequestPB::SetCachedSize(int size) const {
1260
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1261
0
  _cached_size_ = size;
1262
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1263
0
}
1264
0
const ::google::protobuf::Descriptor* WriteRequestPB::descriptor() {
1265
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
1266
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1267
0
}
1268
1269
0
const WriteRequestPB& WriteRequestPB::default_instance() {
1270
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteRequestPB();
1271
0
  return *internal_default_instance();
1272
0
}
1273
1274
0
WriteRequestPB* WriteRequestPB::New(::google::protobuf::Arena* arena) const {
1275
0
  WriteRequestPB* n = new WriteRequestPB;
1276
0
  if (arena != NULL) {
1277
0
    arena->Own(n);
1278
0
  }
1279
0
  return n;
1280
0
}
1281
1282
606k
void WriteRequestPB::Clear() {
1283
// @@protoc_insertion_point(message_clear_start:yb.tserver.WriteRequestPB)
1284
606k
  ::google::protobuf::uint32 cached_has_bits = 0;
1285
  // Prevent compiler warnings about cached_has_bits being unused
1286
606k
  (void) cached_has_bits;
1287
1288
606k
  redis_write_batch_.Clear();
1289
606k
  ql_write_batch_.Clear();
1290
606k
  pgsql_write_batch_.Clear();
1291
606k
  cached_has_bits = _has_bits_[0];
1292
606k
  if (cached_has_bits & 7u) {
1293
4.02k
    if (cached_has_bits & 0x00000001u) {
1294
4.02k
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1295
4.02k
      (*tablet_id_.UnsafeRawStringPointer())->clear();
1296
4.02k
    }
1297
4.02k
    if (cached_has_bits & 0x00000002u) {
1298
0
      GOOGLE_DCHECK(write_batch_ != NULL);
1299
0
      write_batch_->Clear();
1300
0
    }
1301
4.02k
    if (cached_has_bits & 0x00000004u) {
1302
0
      GOOGLE_DCHECK(read_time_ != NULL);
1303
0
      read_time_->Clear();
1304
0
    }
1305
4.02k
  }
1306
606k
  if (cached_has_bits & 248u) {
1307
0
    ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
1308
0
        reinterpret_cast<char*>(&include_trace_) -
1309
0
        reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(include_trace_));
1310
0
  }
1311
606k
  if (cached_has_bits & 3840u) {
1312
0
    ::memset(&min_running_request_id_, 0, static_cast<size_t>(
1313
0
        reinterpret_cast<char*>(&batch_idx_) -
1314
0
        reinterpret_cast<char*>(&min_running_request_id_)) + sizeof(batch_idx_));
1315
0
  }
1316
606k
  _has_bits_.Clear();
1317
606k
  _internal_metadata_.Clear();
1318
606k
}
1319
1320
bool WriteRequestPB::MergePartialFromCodedStream(
1321
505k
    ::google::protobuf::io::CodedInputStream* input) {
1322
7.57M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1323
505k
  ::google::protobuf::uint32 tag;
1324
  // @@protoc_insertion_point(parse_start:yb.tserver.WriteRequestPB)
1325
8.07M
  for (;;) {
1326
8.07M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u);
1327
8.07M
    tag = p.first;
1328
8.07M
    if (!p.second) goto handle_unusual;
1329
7.56M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1330
      // required bytes tablet_id = 1;
1331
505k
      case 1: {
1332
505k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1333
505k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1334
505k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1335
505k
                input, this->mutable_tablet_id()));
1336
18.4E
        } else {
1337
18.4E
          goto handle_unusual;
1338
18.4E
        }
1339
505k
        break;
1340
505k
      }
1341
1342
      // optional fixed64 propagated_hybrid_time = 5;
1343
390k
      case 5: {
1344
390k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1345
390k
            static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) {
1346
390k
          set_has_propagated_hybrid_time();
1347
390k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1348
390k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
1349
390k
                 input, &propagated_hybrid_time_)));
1350
18.4E
        } else {
1351
18.4E
          goto handle_unusual;
1352
18.4E
        }
1353
390k
        break;
1354
390k
      }
1355
1356
      // optional bool include_trace = 6 [default = false];
1357
443k
      case 6: {
1358
443k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1359
443k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
1360
443k
          set_has_include_trace();
1361
443k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1362
443k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
1363
443k
                 input, &include_trace_)));
1364
18.4E
        } else {
1365
18.4E
          goto handle_unusual;
1366
18.4E
        }
1367
443k
        break;
1368
443k
      }
1369
1370
      // optional .yb.docdb.KeyValueWriteBatchPB write_batch = 7;
1371
288k
      case 7: {
1372
288k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1373
288k
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
1374
288k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1375
288k
               input, mutable_write_batch()));
1376
18.4E
        } else {
1377
18.4E
          goto handle_unusual;
1378
18.4E
        }
1379
288k
        break;
1380
288k
      }
1381
1382
      // repeated .yb.RedisWriteRequestPB redis_write_batch = 8;
1383
21.4k
      case 8: {
1384
21.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1385
21.4k
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
1386
21.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_redis_write_batch()));
1387
0
        } else {
1388
0
          goto handle_unusual;
1389
0
        }
1390
21.4k
        break;
1391
21.4k
      }
1392
1393
      // repeated .yb.QLWriteRequestPB ql_write_batch = 10;
1394
2.06M
      case 10: {
1395
2.06M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1396
2.06M
            static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
1397
2.06M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_ql_write_batch()));
1398
18.4E
        } else {
1399
18.4E
          goto handle_unusual;
1400
18.4E
        }
1401
2.06M
        break;
1402
2.06M
      }
1403
1404
      // optional .yb.ReadHybridTimePB read_time = 12;
1405
237k
      case 12: {
1406
237k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1407
237k
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
1408
237k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1409
237k
               input, mutable_read_time()));
1410
18.4E
        } else {
1411
18.4E
          goto handle_unusual;
1412
18.4E
        }
1413
237k
        break;
1414
237k
      }
1415
1416
      // repeated .yb.PgsqlWriteRequestPB pgsql_write_batch = 13;
1417
965k
      case 13: {
1418
965k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1419
965k
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
1420
965k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_pgsql_write_batch()));
1421
18.4E
        } else {
1422
18.4E
          goto handle_unusual;
1423
18.4E
        }
1424
965k
        break;
1425
965k
      }
1426
1427
      // optional fixed64 client_id1 = 14;
1428
443k
      case 14: {
1429
443k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1430
443k
            static_cast< ::google::protobuf::uint8>(113u /* 113 & 0xFF */)) {
1431
443k
          set_has_client_id1();
1432
443k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1433
443k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
1434
443k
                 input, &client_id1_)));
1435
18.4E
        } else {
1436
18.4E
          goto handle_unusual;
1437
18.4E
        }
1438
443k
        break;
1439
443k
      }
1440
1441
      // optional fixed64 client_id2 = 15;
1442
443k
      case 15: {
1443
443k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1444
443k
            static_cast< ::google::protobuf::uint8>(121u /* 121 & 0xFF */)) {
1445
443k
          set_has_client_id2();
1446
443k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1447
443k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
1448
443k
                 input, &client_id2_)));
1449
18.4E
        } else {
1450
18.4E
          goto handle_unusual;
1451
18.4E
        }
1452
443k
        break;
1453
443k
      }
1454
1455
      // optional int64 request_id = 16;
1456
443k
      case 16: {
1457
443k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1458
443k
            static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) {
1459
443k
          set_has_request_id();
1460
443k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1461
443k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
1462
443k
                 input, &request_id_)));
1463
18.4E
        } else {
1464
18.4E
          goto handle_unusual;
1465
18.4E
        }
1466
443k
        break;
1467
443k
      }
1468
1469
      // optional int64 min_running_request_id = 17;
1470
443k
      case 17: {
1471
443k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1472
443k
            static_cast< ::google::protobuf::uint8>(136u /* 136 & 0xFF */)) {
1473
443k
          set_has_min_running_request_id();
1474
443k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1475
443k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
1476
443k
                 input, &min_running_request_id_)));
1477
11
        } else {
1478
11
          goto handle_unusual;
1479
11
        }
1480
443k
        break;
1481
443k
      }
1482
1483
      // optional double rejection_score = 18;
1484
443k
      case 18: {
1485
443k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1486
443k
            static_cast< ::google::protobuf::uint8>(145u /* 145 & 0xFF */)) {
1487
443k
          set_has_rejection_score();
1488
443k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1489
443k
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
1490
443k
                 input, &rejection_score_)));
1491
18.4E
        } else {
1492
18.4E
          goto handle_unusual;
1493
18.4E
        }
1494
443k
        break;
1495
443k
      }
1496
1497
      // optional fixed64 external_hybrid_time = 19;
1498
797
      case 19: {
1499
797
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1500
797
            static_cast< ::google::protobuf::uint8>(153u /* 153 & 0xFF */)) {
1501
797
          set_has_external_hybrid_time();
1502
797
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1503
797
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
1504
797
                 input, &external_hybrid_time_)));
1505
0
        } else {
1506
0
          goto handle_unusual;
1507
0
        }
1508
797
        break;
1509
797
      }
1510
1511
      // optional uint64 batch_idx = 20;
1512
442k
      case 20: {
1513
442k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1514
442k
            static_cast< ::google::protobuf::uint8>(160u /* 160 & 0xFF */)) {
1515
442k
          set_has_batch_idx();
1516
442k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1517
442k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
1518
442k
                 input, &batch_idx_)));
1519
18.4E
        } else {
1520
18.4E
          goto handle_unusual;
1521
18.4E
        }
1522
442k
        break;
1523
505k
      }
1524
1525
0
      default: {
1526
505k
      handle_unusual:
1527
505k
        if (tag == 0) {
1528
505k
          goto success;
1529
505k
        }
1530
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1531
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1532
18.4E
        break;
1533
18.4E
      }
1534
7.56M
    }
1535
7.56M
  }
1536
505k
success:
1537
  // @@protoc_insertion_point(parse_success:yb.tserver.WriteRequestPB)
1538
505k
  return true;
1539
0
failure:
1540
  // @@protoc_insertion_point(parse_failure:yb.tserver.WriteRequestPB)
1541
0
  return false;
1542
505k
#undef DO_
1543
505k
}
1544
1545
void WriteRequestPB::SerializeWithCachedSizes(
1546
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1547
  // @@protoc_insertion_point(serialize_start:yb.tserver.WriteRequestPB)
1548
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1549
0
  (void) cached_has_bits;
1550
1551
0
  cached_has_bits = _has_bits_[0];
1552
  // required bytes tablet_id = 1;
1553
0
  if (cached_has_bits & 0x00000001u) {
1554
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1555
0
      1, this->tablet_id(), output);
1556
0
  }
1557
1558
  // optional fixed64 propagated_hybrid_time = 5;
1559
0
  if (cached_has_bits & 0x00000008u) {
1560
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(5, this->propagated_hybrid_time(), output);
1561
0
  }
1562
1563
  // optional bool include_trace = 6 [default = false];
1564
0
  if (cached_has_bits & 0x00000080u) {
1565
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(6, this->include_trace(), output);
1566
0
  }
1567
1568
  // optional .yb.docdb.KeyValueWriteBatchPB write_batch = 7;
1569
0
  if (cached_has_bits & 0x00000002u) {
1570
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1571
0
      7, *this->write_batch_, output);
1572
0
  }
1573
1574
  // repeated .yb.RedisWriteRequestPB redis_write_batch = 8;
1575
0
  for (unsigned int i = 0,
1576
0
      n = static_cast<unsigned int>(this->redis_write_batch_size()); i < n; i++) {
1577
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1578
0
      8, this->redis_write_batch(static_cast<int>(i)), output);
1579
0
  }
1580
1581
  // repeated .yb.QLWriteRequestPB ql_write_batch = 10;
1582
0
  for (unsigned int i = 0,
1583
0
      n = static_cast<unsigned int>(this->ql_write_batch_size()); i < n; i++) {
1584
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1585
0
      10, this->ql_write_batch(static_cast<int>(i)), output);
1586
0
  }
1587
1588
  // optional .yb.ReadHybridTimePB read_time = 12;
1589
0
  if (cached_has_bits & 0x00000004u) {
1590
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1591
0
      12, *this->read_time_, output);
1592
0
  }
1593
1594
  // repeated .yb.PgsqlWriteRequestPB pgsql_write_batch = 13;
1595
0
  for (unsigned int i = 0,
1596
0
      n = static_cast<unsigned int>(this->pgsql_write_batch_size()); i < n; i++) {
1597
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1598
0
      13, this->pgsql_write_batch(static_cast<int>(i)), output);
1599
0
  }
1600
1601
  // optional fixed64 client_id1 = 14;
1602
0
  if (cached_has_bits & 0x00000010u) {
1603
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(14, this->client_id1(), output);
1604
0
  }
1605
1606
  // optional fixed64 client_id2 = 15;
1607
0
  if (cached_has_bits & 0x00000020u) {
1608
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(15, this->client_id2(), output);
1609
0
  }
1610
1611
  // optional int64 request_id = 16;
1612
0
  if (cached_has_bits & 0x00000040u) {
1613
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(16, this->request_id(), output);
1614
0
  }
1615
1616
  // optional int64 min_running_request_id = 17;
1617
0
  if (cached_has_bits & 0x00000100u) {
1618
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(17, this->min_running_request_id(), output);
1619
0
  }
1620
1621
  // optional double rejection_score = 18;
1622
0
  if (cached_has_bits & 0x00000200u) {
1623
0
    ::google::protobuf::internal::WireFormatLite::WriteDouble(18, this->rejection_score(), output);
1624
0
  }
1625
1626
  // optional fixed64 external_hybrid_time = 19;
1627
0
  if (cached_has_bits & 0x00000400u) {
1628
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(19, this->external_hybrid_time(), output);
1629
0
  }
1630
1631
  // optional uint64 batch_idx = 20;
1632
0
  if (cached_has_bits & 0x00000800u) {
1633
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(20, this->batch_idx(), output);
1634
0
  }
1635
1636
0
  if (_internal_metadata_.have_unknown_fields()) {
1637
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1638
0
        _internal_metadata_.unknown_fields(), output);
1639
0
  }
1640
  // @@protoc_insertion_point(serialize_end:yb.tserver.WriteRequestPB)
1641
0
}
1642
1643
::google::protobuf::uint8* WriteRequestPB::InternalSerializeWithCachedSizesToArray(
1644
521k
    bool deterministic, ::google::protobuf::uint8* target) const {
1645
521k
  (void)deterministic; // Unused
1646
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.WriteRequestPB)
1647
521k
  ::google::protobuf::uint32 cached_has_bits = 0;
1648
521k
  (void) cached_has_bits;
1649
1650
521k
  cached_has_bits = _has_bits_[0];
1651
  // required bytes tablet_id = 1;
1652
521k
  if (cached_has_bits & 0x00000001u) {
1653
521k
    target =
1654
521k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1655
521k
        1, this->tablet_id(), target);
1656
521k
  }
1657
1658
  // optional fixed64 propagated_hybrid_time = 5;
1659
521k
  if (cached_has_bits & 0x00000008u) {
1660
390k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(5, this->propagated_hybrid_time(), target);
1661
390k
  }
1662
1663
  // optional bool include_trace = 6 [default = false];
1664
521k
  if (cached_has_bits & 0x00000080u) {
1665
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(6, this->include_trace(), target);
1666
443k
  }
1667
1668
  // optional .yb.docdb.KeyValueWriteBatchPB write_batch = 7;
1669
521k
  if (cached_has_bits & 0x00000002u) {
1670
288k
    target = ::google::protobuf::internal::WireFormatLite::
1671
288k
      InternalWriteMessageToArray(
1672
288k
        7, *this->write_batch_, deterministic, target);
1673
288k
  }
1674
1675
  // repeated .yb.RedisWriteRequestPB redis_write_batch = 8;
1676
521k
  for (unsigned int i = 0,
1677
543k
      n = static_cast<unsigned int>(this->redis_write_batch_size()); i < n; i++) {
1678
21.5k
    target = ::google::protobuf::internal::WireFormatLite::
1679
21.5k
      InternalWriteMessageToArray(
1680
21.5k
        8, this->redis_write_batch(static_cast<int>(i)), deterministic, target);
1681
21.5k
  }
1682
1683
  // repeated .yb.QLWriteRequestPB ql_write_batch = 10;
1684
521k
  for (unsigned int i = 0,
1685
2.60M
      n = static_cast<unsigned int>(this->ql_write_batch_size()); i < n; i++) {
1686
2.08M
    target = ::google::protobuf::internal::WireFormatLite::
1687
2.08M
      InternalWriteMessageToArray(
1688
2.08M
        10, this->ql_write_batch(static_cast<int>(i)), deterministic, target);
1689
2.08M
  }
1690
1691
  // optional .yb.ReadHybridTimePB read_time = 12;
1692
521k
  if (cached_has_bits & 0x00000004u) {
1693
237k
    target = ::google::protobuf::internal::WireFormatLite::
1694
237k
      InternalWriteMessageToArray(
1695
237k
        12, *this->read_time_, deterministic, target);
1696
237k
  }
1697
1698
  // repeated .yb.PgsqlWriteRequestPB pgsql_write_batch = 13;
1699
521k
  for (unsigned int i = 0,
1700
1.48M
      n = static_cast<unsigned int>(this->pgsql_write_batch_size()); i < n; i++) {
1701
966k
    target = ::google::protobuf::internal::WireFormatLite::
1702
966k
      InternalWriteMessageToArray(
1703
966k
        13, this->pgsql_write_batch(static_cast<int>(i)), deterministic, target);
1704
966k
  }
1705
1706
  // optional fixed64 client_id1 = 14;
1707
521k
  if (cached_has_bits & 0x00000010u) {
1708
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(14, this->client_id1(), target);
1709
443k
  }
1710
1711
  // optional fixed64 client_id2 = 15;
1712
521k
  if (cached_has_bits & 0x00000020u) {
1713
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(15, this->client_id2(), target);
1714
443k
  }
1715
1716
  // optional int64 request_id = 16;
1717
521k
  if (cached_has_bits & 0x00000040u) {
1718
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(16, this->request_id(), target);
1719
443k
  }
1720
1721
  // optional int64 min_running_request_id = 17;
1722
521k
  if (cached_has_bits & 0x00000100u) {
1723
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(17, this->min_running_request_id(), target);
1724
443k
  }
1725
1726
  // optional double rejection_score = 18;
1727
521k
  if (cached_has_bits & 0x00000200u) {
1728
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(18, this->rejection_score(), target);
1729
443k
  }
1730
1731
  // optional fixed64 external_hybrid_time = 19;
1732
521k
  if (cached_has_bits & 0x00000400u) {
1733
808
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(19, this->external_hybrid_time(), target);
1734
808
  }
1735
1736
  // optional uint64 batch_idx = 20;
1737
521k
  if (cached_has_bits & 0x00000800u) {
1738
443k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(20, this->batch_idx(), target);
1739
443k
  }
1740
1741
521k
  if (_internal_metadata_.have_unknown_fields()) {
1742
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1743
0
        _internal_metadata_.unknown_fields(), target);
1744
0
  }
1745
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.WriteRequestPB)
1746
521k
  return target;
1747
521k
}
1748
1749
1.05M
size_t WriteRequestPB::ByteSizeLong() const {
1750
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.WriteRequestPB)
1751
1.05M
  size_t total_size = 0;
1752
1753
1.05M
  if (_internal_metadata_.have_unknown_fields()) {
1754
0
    total_size +=
1755
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1756
0
        _internal_metadata_.unknown_fields());
1757
0
  }
1758
  // required bytes tablet_id = 1;
1759
1.05M
  if (has_tablet_id()) {
1760
1.04M
    total_size += 1 +
1761
1.04M
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1762
1.04M
        this->tablet_id());
1763
1.04M
  }
1764
  // repeated .yb.RedisWriteRequestPB redis_write_batch = 8;
1765
1.05M
  {
1766
1.05M
    unsigned int count = static_cast<unsigned int>(this->redis_write_batch_size());
1767
1.05M
    total_size += 1UL * count;
1768
1.09M
    for (unsigned int i = 0; i < count; i++) {
1769
43.0k
      total_size +=
1770
43.0k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1771
43.0k
          this->redis_write_batch(static_cast<int>(i)));
1772
43.0k
    }
1773
1.05M
  }
1774
1775
  // repeated .yb.QLWriteRequestPB ql_write_batch = 10;
1776
1.05M
  {
1777
1.05M
    unsigned int count = static_cast<unsigned int>(this->ql_write_batch_size());
1778
1.05M
    total_size += 1UL * count;
1779
5.21M
    for (unsigned int i = 0; i < count; i++) {
1780
4.16M
      total_size +=
1781
4.16M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1782
4.16M
          this->ql_write_batch(static_cast<int>(i)));
1783
4.16M
    }
1784
1.05M
  }
1785
1786
  // repeated .yb.PgsqlWriteRequestPB pgsql_write_batch = 13;
1787
1.05M
  {
1788
1.05M
    unsigned int count = static_cast<unsigned int>(this->pgsql_write_batch_size());
1789
1.05M
    total_size += 1UL * count;
1790
19.3M
    for (unsigned int i = 0; i < count; i++) {
1791
18.3M
      total_size +=
1792
18.3M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1793
18.3M
          this->pgsql_write_batch(static_cast<int>(i)));
1794
18.3M
    }
1795
1.05M
  }
1796
1797
1.05M
  if (_has_bits_[0 / 32] & 254u) {
1798
    // optional .yb.docdb.KeyValueWriteBatchPB write_batch = 7;
1799
887k
    if (has_write_batch()) {
1800
576k
      total_size += 1 +
1801
576k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1802
576k
          *this->write_batch_);
1803
576k
    }
1804
1805
    // optional .yb.ReadHybridTimePB read_time = 12;
1806
887k
    if (has_read_time()) {
1807
475k
      total_size += 1 +
1808
475k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
1809
475k
          *this->read_time_);
1810
475k
    }
1811
1812
    // optional fixed64 propagated_hybrid_time = 5;
1813
887k
    if (has_propagated_hybrid_time()) {
1814
779k
      total_size += 1 + 8;
1815
779k
    }
1816
1817
    // optional fixed64 client_id1 = 14;
1818
887k
    if (has_client_id1()) {
1819
887k
      total_size += 1 + 8;
1820
887k
    }
1821
1822
    // optional fixed64 client_id2 = 15;
1823
887k
    if (has_client_id2()) {
1824
887k
      total_size += 1 + 8;
1825
887k
    }
1826
1827
    // optional int64 request_id = 16;
1828
887k
    if (has_request_id()) {
1829
886k
      total_size += 2 +
1830
886k
        ::google::protobuf::internal::WireFormatLite::Int64Size(
1831
886k
          this->request_id());
1832
886k
    }
1833
1834
    // optional bool include_trace = 6 [default = false];
1835
887k
    if (has_include_trace()) {
1836
886k
      total_size += 1 + 1;
1837
886k
    }
1838
1839
887k
  }
1840
1.05M
  if (_has_bits_[8 / 32] & 3840u) {
1841
    // optional int64 min_running_request_id = 17;
1842
886k
    if (has_min_running_request_id()) {
1843
886k
      total_size += 2 +
1844
886k
        ::google::protobuf::internal::WireFormatLite::Int64Size(
1845
886k
          this->min_running_request_id());
1846
886k
    }
1847
1848
    // optional double rejection_score = 18;
1849
886k
    if (has_rejection_score()) {
1850
886k
      total_size += 2 + 8;
1851
886k
    }
1852
1853
    // optional fixed64 external_hybrid_time = 19;
1854
886k
    if (has_external_hybrid_time()) {
1855
1.61k
      total_size += 2 + 8;
1856
1.61k
    }
1857
1858
    // optional uint64 batch_idx = 20;
1859
887k
    if (has_batch_idx()) {
1860
887k
      total_size += 2 +
1861
887k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
1862
887k
          this->batch_idx());
1863
887k
    }
1864
1865
886k
  }
1866
1.05M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1867
1.05M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1868
1.05M
  _cached_size_ = cached_size;
1869
1.05M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1870
1.05M
  return total_size;
1871
1.05M
}
1872
1873
0
void WriteRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
1874
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.WriteRequestPB)
1875
0
  GOOGLE_DCHECK_NE(&from, this);
1876
0
  const WriteRequestPB* source =
1877
0
      ::google::protobuf::internal::DynamicCastToGenerated<const WriteRequestPB>(
1878
0
          &from);
1879
0
  if (source == NULL) {
1880
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.WriteRequestPB)
1881
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1882
0
  } else {
1883
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.WriteRequestPB)
1884
0
    MergeFrom(*source);
1885
0
  }
1886
0
}
1887
1888
0
void WriteRequestPB::MergeFrom(const WriteRequestPB& from) {
1889
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.WriteRequestPB)
1890
0
  GOOGLE_DCHECK_NE(&from, this);
1891
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1892
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1893
0
  (void) cached_has_bits;
1894
1895
0
  redis_write_batch_.MergeFrom(from.redis_write_batch_);
1896
0
  ql_write_batch_.MergeFrom(from.ql_write_batch_);
1897
0
  pgsql_write_batch_.MergeFrom(from.pgsql_write_batch_);
1898
0
  cached_has_bits = from._has_bits_[0];
1899
0
  if (cached_has_bits & 255u) {
1900
0
    if (cached_has_bits & 0x00000001u) {
1901
0
      set_has_tablet_id();
1902
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
1903
0
    }
1904
0
    if (cached_has_bits & 0x00000002u) {
1905
0
      mutable_write_batch()->::yb::docdb::KeyValueWriteBatchPB::MergeFrom(from.write_batch());
1906
0
    }
1907
0
    if (cached_has_bits & 0x00000004u) {
1908
0
      mutable_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.read_time());
1909
0
    }
1910
0
    if (cached_has_bits & 0x00000008u) {
1911
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
1912
0
    }
1913
0
    if (cached_has_bits & 0x00000010u) {
1914
0
      client_id1_ = from.client_id1_;
1915
0
    }
1916
0
    if (cached_has_bits & 0x00000020u) {
1917
0
      client_id2_ = from.client_id2_;
1918
0
    }
1919
0
    if (cached_has_bits & 0x00000040u) {
1920
0
      request_id_ = from.request_id_;
1921
0
    }
1922
0
    if (cached_has_bits & 0x00000080u) {
1923
0
      include_trace_ = from.include_trace_;
1924
0
    }
1925
0
    _has_bits_[0] |= cached_has_bits;
1926
0
  }
1927
0
  if (cached_has_bits & 3840u) {
1928
0
    if (cached_has_bits & 0x00000100u) {
1929
0
      min_running_request_id_ = from.min_running_request_id_;
1930
0
    }
1931
0
    if (cached_has_bits & 0x00000200u) {
1932
0
      rejection_score_ = from.rejection_score_;
1933
0
    }
1934
0
    if (cached_has_bits & 0x00000400u) {
1935
0
      external_hybrid_time_ = from.external_hybrid_time_;
1936
0
    }
1937
0
    if (cached_has_bits & 0x00000800u) {
1938
0
      batch_idx_ = from.batch_idx_;
1939
0
    }
1940
0
    _has_bits_[0] |= cached_has_bits;
1941
0
  }
1942
0
}
1943
1944
0
void WriteRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
1945
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.WriteRequestPB)
1946
0
  if (&from == this) return;
1947
0
  Clear();
1948
0
  MergeFrom(from);
1949
0
}
1950
1951
0
void WriteRequestPB::CopyFrom(const WriteRequestPB& from) {
1952
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.WriteRequestPB)
1953
0
  if (&from == this) return;
1954
0
  Clear();
1955
0
  MergeFrom(from);
1956
0
}
1957
1958
1.02M
bool WriteRequestPB::IsInitialized() const {
1959
1.02M
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
1960
1.02M
  if (!::google::protobuf::internal::AllAreInitialized(this->ql_write_batch())) return false;
1961
1.02M
  return true;
1962
1.02M
}
1963
1964
0
void WriteRequestPB::Swap(WriteRequestPB* other) {
1965
0
  if (other == this) return;
1966
0
  InternalSwap(other);
1967
0
}
1968
0
void WriteRequestPB::InternalSwap(WriteRequestPB* other) {
1969
0
  using std::swap;
1970
0
  redis_write_batch_.InternalSwap(&other->redis_write_batch_);
1971
0
  ql_write_batch_.InternalSwap(&other->ql_write_batch_);
1972
0
  pgsql_write_batch_.InternalSwap(&other->pgsql_write_batch_);
1973
0
  tablet_id_.Swap(&other->tablet_id_);
1974
0
  swap(write_batch_, other->write_batch_);
1975
0
  swap(read_time_, other->read_time_);
1976
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
1977
0
  swap(client_id1_, other->client_id1_);
1978
0
  swap(client_id2_, other->client_id2_);
1979
0
  swap(request_id_, other->request_id_);
1980
0
  swap(include_trace_, other->include_trace_);
1981
0
  swap(min_running_request_id_, other->min_running_request_id_);
1982
0
  swap(rejection_score_, other->rejection_score_);
1983
0
  swap(external_hybrid_time_, other->external_hybrid_time_);
1984
0
  swap(batch_idx_, other->batch_idx_);
1985
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1986
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1987
0
  swap(_cached_size_, other->_cached_size_);
1988
0
}
1989
1990
506k
::google::protobuf::Metadata WriteRequestPB::GetMetadata() const {
1991
506k
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
1992
506k
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
1993
506k
}
1994
1995
1996
// ===================================================================
1997
1998
15.8k
void WriteResponsePB_PerRowErrorPB::InitAsDefaultInstance() {
1999
15.8k
  ::yb::tserver::_WriteResponsePB_PerRowErrorPB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::AppStatusPB*>(
2000
15.8k
      ::yb::AppStatusPB::internal_default_instance());
2001
15.8k
}
2002
0
void WriteResponsePB_PerRowErrorPB::clear_error() {
2003
0
  if (error_ != NULL) error_->Clear();
2004
0
  clear_has_error();
2005
0
}
2006
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2007
const int WriteResponsePB_PerRowErrorPB::kRowIndexFieldNumber;
2008
const int WriteResponsePB_PerRowErrorPB::kErrorFieldNumber;
2009
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2010
2011
WriteResponsePB_PerRowErrorPB::WriteResponsePB_PerRowErrorPB()
2012
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2013
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2014
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteResponsePB_PerRowErrorPB();
2015
0
  }
2016
15.8k
  SharedCtor();
2017
  // @@protoc_insertion_point(constructor:yb.tserver.WriteResponsePB.PerRowErrorPB)
2018
15.8k
}
2019
WriteResponsePB_PerRowErrorPB::WriteResponsePB_PerRowErrorPB(const WriteResponsePB_PerRowErrorPB& from)
2020
  : ::google::protobuf::Message(),
2021
      _internal_metadata_(NULL),
2022
      _has_bits_(from._has_bits_),
2023
0
      _cached_size_(0) {
2024
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2025
0
  if (from.has_error()) {
2026
0
    error_ = new ::yb::AppStatusPB(*from.error_);
2027
0
  } else {
2028
0
    error_ = NULL;
2029
0
  }
2030
0
  row_index_ = from.row_index_;
2031
  // @@protoc_insertion_point(copy_constructor:yb.tserver.WriteResponsePB.PerRowErrorPB)
2032
0
}
2033
2034
15.8k
void WriteResponsePB_PerRowErrorPB::SharedCtor() {
2035
15.8k
  _cached_size_ = 0;
2036
15.8k
  ::memset(&error_, 0, static_cast<size_t>(
2037
15.8k
      reinterpret_cast<char*>(&row_index_) -
2038
15.8k
      reinterpret_cast<char*>(&error_)) + sizeof(row_index_));
2039
15.8k
}
2040
2041
0
WriteResponsePB_PerRowErrorPB::~WriteResponsePB_PerRowErrorPB() {
2042
  // @@protoc_insertion_point(destructor:yb.tserver.WriteResponsePB.PerRowErrorPB)
2043
0
  SharedDtor();
2044
0
}
2045
2046
0
void WriteResponsePB_PerRowErrorPB::SharedDtor() {
2047
0
  if (this != internal_default_instance()) delete error_;
2048
0
}
2049
2050
0
void WriteResponsePB_PerRowErrorPB::SetCachedSize(int size) const {
2051
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2052
0
  _cached_size_ = size;
2053
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2054
0
}
2055
0
const ::google::protobuf::Descriptor* WriteResponsePB_PerRowErrorPB::descriptor() {
2056
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
2057
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2058
0
}
2059
2060
0
const WriteResponsePB_PerRowErrorPB& WriteResponsePB_PerRowErrorPB::default_instance() {
2061
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteResponsePB_PerRowErrorPB();
2062
0
  return *internal_default_instance();
2063
0
}
2064
2065
0
WriteResponsePB_PerRowErrorPB* WriteResponsePB_PerRowErrorPB::New(::google::protobuf::Arena* arena) const {
2066
0
  WriteResponsePB_PerRowErrorPB* n = new WriteResponsePB_PerRowErrorPB;
2067
0
  if (arena != NULL) {
2068
0
    arena->Own(n);
2069
0
  }
2070
0
  return n;
2071
0
}
2072
2073
0
void WriteResponsePB_PerRowErrorPB::Clear() {
2074
// @@protoc_insertion_point(message_clear_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2075
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2076
  // Prevent compiler warnings about cached_has_bits being unused
2077
0
  (void) cached_has_bits;
2078
2079
0
  cached_has_bits = _has_bits_[0];
2080
0
  if (cached_has_bits & 0x00000001u) {
2081
0
    GOOGLE_DCHECK(error_ != NULL);
2082
0
    error_->Clear();
2083
0
  }
2084
0
  row_index_ = 0;
2085
0
  _has_bits_.Clear();
2086
0
  _internal_metadata_.Clear();
2087
0
}
2088
2089
bool WriteResponsePB_PerRowErrorPB::MergePartialFromCodedStream(
2090
0
    ::google::protobuf::io::CodedInputStream* input) {
2091
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2092
0
  ::google::protobuf::uint32 tag;
2093
  // @@protoc_insertion_point(parse_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2094
0
  for (;;) {
2095
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2096
0
    tag = p.first;
2097
0
    if (!p.second) goto handle_unusual;
2098
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2099
      // required int32 row_index = 1;
2100
0
      case 1: {
2101
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2102
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
2103
0
          set_has_row_index();
2104
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2105
0
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
2106
0
                 input, &row_index_)));
2107
0
        } else {
2108
0
          goto handle_unusual;
2109
0
        }
2110
0
        break;
2111
0
      }
2112
2113
      // required .yb.AppStatusPB error = 2;
2114
0
      case 2: {
2115
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2116
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2117
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2118
0
               input, mutable_error()));
2119
0
        } else {
2120
0
          goto handle_unusual;
2121
0
        }
2122
0
        break;
2123
0
      }
2124
2125
0
      default: {
2126
0
      handle_unusual:
2127
0
        if (tag == 0) {
2128
0
          goto success;
2129
0
        }
2130
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2131
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2132
0
        break;
2133
0
      }
2134
0
    }
2135
0
  }
2136
0
success:
2137
  // @@protoc_insertion_point(parse_success:yb.tserver.WriteResponsePB.PerRowErrorPB)
2138
0
  return true;
2139
0
failure:
2140
  // @@protoc_insertion_point(parse_failure:yb.tserver.WriteResponsePB.PerRowErrorPB)
2141
0
  return false;
2142
0
#undef DO_
2143
0
}
2144
2145
void WriteResponsePB_PerRowErrorPB::SerializeWithCachedSizes(
2146
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2147
  // @@protoc_insertion_point(serialize_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2148
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2149
0
  (void) cached_has_bits;
2150
2151
0
  cached_has_bits = _has_bits_[0];
2152
  // required int32 row_index = 1;
2153
0
  if (cached_has_bits & 0x00000002u) {
2154
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->row_index(), output);
2155
0
  }
2156
2157
  // required .yb.AppStatusPB error = 2;
2158
0
  if (cached_has_bits & 0x00000001u) {
2159
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2160
0
      2, *this->error_, output);
2161
0
  }
2162
2163
0
  if (_internal_metadata_.have_unknown_fields()) {
2164
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2165
0
        _internal_metadata_.unknown_fields(), output);
2166
0
  }
2167
  // @@protoc_insertion_point(serialize_end:yb.tserver.WriteResponsePB.PerRowErrorPB)
2168
0
}
2169
2170
::google::protobuf::uint8* WriteResponsePB_PerRowErrorPB::InternalSerializeWithCachedSizesToArray(
2171
0
    bool deterministic, ::google::protobuf::uint8* target) const {
2172
0
  (void)deterministic; // Unused
2173
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2174
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2175
0
  (void) cached_has_bits;
2176
2177
0
  cached_has_bits = _has_bits_[0];
2178
  // required int32 row_index = 1;
2179
0
  if (cached_has_bits & 0x00000002u) {
2180
0
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->row_index(), target);
2181
0
  }
2182
2183
  // required .yb.AppStatusPB error = 2;
2184
0
  if (cached_has_bits & 0x00000001u) {
2185
0
    target = ::google::protobuf::internal::WireFormatLite::
2186
0
      InternalWriteMessageToArray(
2187
0
        2, *this->error_, deterministic, target);
2188
0
  }
2189
2190
0
  if (_internal_metadata_.have_unknown_fields()) {
2191
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2192
0
        _internal_metadata_.unknown_fields(), target);
2193
0
  }
2194
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.WriteResponsePB.PerRowErrorPB)
2195
0
  return target;
2196
0
}
2197
2198
0
size_t WriteResponsePB_PerRowErrorPB::RequiredFieldsByteSizeFallback() const {
2199
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2200
0
  size_t total_size = 0;
2201
2202
0
  if (has_error()) {
2203
    // required .yb.AppStatusPB error = 2;
2204
0
    total_size += 1 +
2205
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
2206
0
        *this->error_);
2207
0
  }
2208
2209
0
  if (has_row_index()) {
2210
    // required int32 row_index = 1;
2211
0
    total_size += 1 +
2212
0
      ::google::protobuf::internal::WireFormatLite::Int32Size(
2213
0
        this->row_index());
2214
0
  }
2215
2216
0
  return total_size;
2217
0
}
2218
0
size_t WriteResponsePB_PerRowErrorPB::ByteSizeLong() const {
2219
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2220
0
  size_t total_size = 0;
2221
2222
0
  if (_internal_metadata_.have_unknown_fields()) {
2223
0
    total_size +=
2224
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2225
0
        _internal_metadata_.unknown_fields());
2226
0
  }
2227
0
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
2228
    // required .yb.AppStatusPB error = 2;
2229
0
    total_size += 1 +
2230
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
2231
0
        *this->error_);
2232
2233
    // required int32 row_index = 1;
2234
0
    total_size += 1 +
2235
0
      ::google::protobuf::internal::WireFormatLite::Int32Size(
2236
0
        this->row_index());
2237
2238
0
  } else {
2239
0
    total_size += RequiredFieldsByteSizeFallback();
2240
0
  }
2241
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2242
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2243
0
  _cached_size_ = cached_size;
2244
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2245
0
  return total_size;
2246
0
}
2247
2248
0
void WriteResponsePB_PerRowErrorPB::MergeFrom(const ::google::protobuf::Message& from) {
2249
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2250
0
  GOOGLE_DCHECK_NE(&from, this);
2251
0
  const WriteResponsePB_PerRowErrorPB* source =
2252
0
      ::google::protobuf::internal::DynamicCastToGenerated<const WriteResponsePB_PerRowErrorPB>(
2253
0
          &from);
2254
0
  if (source == NULL) {
2255
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.WriteResponsePB.PerRowErrorPB)
2256
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2257
0
  } else {
2258
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.WriteResponsePB.PerRowErrorPB)
2259
0
    MergeFrom(*source);
2260
0
  }
2261
0
}
2262
2263
0
void WriteResponsePB_PerRowErrorPB::MergeFrom(const WriteResponsePB_PerRowErrorPB& from) {
2264
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2265
0
  GOOGLE_DCHECK_NE(&from, this);
2266
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2267
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2268
0
  (void) cached_has_bits;
2269
2270
0
  cached_has_bits = from._has_bits_[0];
2271
0
  if (cached_has_bits & 3u) {
2272
0
    if (cached_has_bits & 0x00000001u) {
2273
0
      mutable_error()->::yb::AppStatusPB::MergeFrom(from.error());
2274
0
    }
2275
0
    if (cached_has_bits & 0x00000002u) {
2276
0
      row_index_ = from.row_index_;
2277
0
    }
2278
0
    _has_bits_[0] |= cached_has_bits;
2279
0
  }
2280
0
}
2281
2282
0
void WriteResponsePB_PerRowErrorPB::CopyFrom(const ::google::protobuf::Message& from) {
2283
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2284
0
  if (&from == this) return;
2285
0
  Clear();
2286
0
  MergeFrom(from);
2287
0
}
2288
2289
0
void WriteResponsePB_PerRowErrorPB::CopyFrom(const WriteResponsePB_PerRowErrorPB& from) {
2290
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.WriteResponsePB.PerRowErrorPB)
2291
0
  if (&from == this) return;
2292
0
  Clear();
2293
0
  MergeFrom(from);
2294
0
}
2295
2296
0
bool WriteResponsePB_PerRowErrorPB::IsInitialized() const {
2297
0
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
2298
0
  if (has_error()) {
2299
0
    if (!this->error_->IsInitialized()) return false;
2300
0
  }
2301
0
  return true;
2302
0
}
2303
2304
0
void WriteResponsePB_PerRowErrorPB::Swap(WriteResponsePB_PerRowErrorPB* other) {
2305
0
  if (other == this) return;
2306
0
  InternalSwap(other);
2307
0
}
2308
0
void WriteResponsePB_PerRowErrorPB::InternalSwap(WriteResponsePB_PerRowErrorPB* other) {
2309
0
  using std::swap;
2310
0
  swap(error_, other->error_);
2311
0
  swap(row_index_, other->row_index_);
2312
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2313
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2314
0
  swap(_cached_size_, other->_cached_size_);
2315
0
}
2316
2317
0
::google::protobuf::Metadata WriteResponsePB_PerRowErrorPB::GetMetadata() const {
2318
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
2319
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
2320
0
}
2321
2322
2323
// ===================================================================
2324
2325
15.8k
void WriteResponsePB::InitAsDefaultInstance() {
2326
15.8k
  ::yb::tserver::_WriteResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
2327
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
2328
15.8k
  ::yb::tserver::_WriteResponsePB_default_instance_._instance.get_mutable()->restart_read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
2329
15.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
2330
15.8k
  ::yb::tserver::_WriteResponsePB_default_instance_._instance.get_mutable()->used_read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
2331
15.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
2332
15.8k
}
2333
1.34M
void WriteResponsePB::clear_error() {
2334
1.34M
  if (error_ != NULL) error_->Clear();
2335
1.34M
  clear_has_error();
2336
1.34M
}
2337
0
void WriteResponsePB::clear_redis_response_batch() {
2338
0
  redis_response_batch_.Clear();
2339
0
}
2340
0
void WriteResponsePB::clear_ql_response_batch() {
2341
0
  ql_response_batch_.Clear();
2342
0
}
2343
0
void WriteResponsePB::clear_pgsql_response_batch() {
2344
0
  pgsql_response_batch_.Clear();
2345
0
}
2346
0
void WriteResponsePB::clear_restart_read_time() {
2347
0
  if (restart_read_time_ != NULL) restart_read_time_->Clear();
2348
0
  clear_has_restart_read_time();
2349
0
}
2350
0
void WriteResponsePB::clear_used_read_time() {
2351
0
  if (used_read_time_ != NULL) used_read_time_->Clear();
2352
0
  clear_has_used_read_time();
2353
0
}
2354
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2355
const int WriteResponsePB::kErrorFieldNumber;
2356
const int WriteResponsePB::kPerRowErrorsFieldNumber;
2357
const int WriteResponsePB::kRedisResponseBatchFieldNumber;
2358
const int WriteResponsePB::kQlResponseBatchFieldNumber;
2359
const int WriteResponsePB::kPgsqlResponseBatchFieldNumber;
2360
const int WriteResponsePB::kPropagatedHybridTimeFieldNumber;
2361
const int WriteResponsePB::kTraceBufferFieldNumber;
2362
const int WriteResponsePB::kRestartReadTimeFieldNumber;
2363
const int WriteResponsePB::kUsedReadTimeFieldNumber;
2364
const int WriteResponsePB::kLocalLimitHtFieldNumber;
2365
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2366
2367
WriteResponsePB::WriteResponsePB()
2368
2.12M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2369
2.10M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2370
2.10M
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteResponsePB();
2371
2.10M
  }
2372
2.12M
  SharedCtor();
2373
  // @@protoc_insertion_point(constructor:yb.tserver.WriteResponsePB)
2374
2.12M
}
2375
WriteResponsePB::WriteResponsePB(const WriteResponsePB& from)
2376
  : ::google::protobuf::Message(),
2377
      _internal_metadata_(NULL),
2378
      _has_bits_(from._has_bits_),
2379
      _cached_size_(0),
2380
      per_row_errors_(from.per_row_errors_),
2381
      redis_response_batch_(from.redis_response_batch_),
2382
      ql_response_batch_(from.ql_response_batch_),
2383
0
      pgsql_response_batch_(from.pgsql_response_batch_) {
2384
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2385
0
  trace_buffer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2386
0
  if (from.has_trace_buffer()) {
2387
0
    trace_buffer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trace_buffer_);
2388
0
  }
2389
0
  if (from.has_error()) {
2390
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
2391
0
  } else {
2392
0
    error_ = NULL;
2393
0
  }
2394
0
  if (from.has_restart_read_time()) {
2395
0
    restart_read_time_ = new ::yb::ReadHybridTimePB(*from.restart_read_time_);
2396
0
  } else {
2397
0
    restart_read_time_ = NULL;
2398
0
  }
2399
0
  if (from.has_used_read_time()) {
2400
0
    used_read_time_ = new ::yb::ReadHybridTimePB(*from.used_read_time_);
2401
0
  } else {
2402
0
    used_read_time_ = NULL;
2403
0
  }
2404
0
  ::memcpy(&propagated_hybrid_time_, &from.propagated_hybrid_time_,
2405
0
    static_cast<size_t>(reinterpret_cast<char*>(&local_limit_ht_) -
2406
0
    reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(local_limit_ht_));
2407
  // @@protoc_insertion_point(copy_constructor:yb.tserver.WriteResponsePB)
2408
0
}
2409
2410
2.12M
void WriteResponsePB::SharedCtor() {
2411
2.12M
  _cached_size_ = 0;
2412
2.12M
  trace_buffer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2413
2.12M
  ::memset(&error_, 0, static_cast<size_t>(
2414
2.12M
      reinterpret_cast<char*>(&local_limit_ht_) -
2415
2.12M
      reinterpret_cast<char*>(&error_)) + sizeof(local_limit_ht_));
2416
2.12M
}
2417
2418
2.11M
WriteResponsePB::~WriteResponsePB() {
2419
  // @@protoc_insertion_point(destructor:yb.tserver.WriteResponsePB)
2420
2.11M
  SharedDtor();
2421
2.11M
}
2422
2423
2.11M
void WriteResponsePB::SharedDtor() {
2424
2.11M
  trace_buffer_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2425
2.11M
  if (this != internal_default_instance()) delete error_;
2426
2.11M
  if (this != internal_default_instance()) delete restart_read_time_;
2427
2.11M
  if (this != internal_default_instance()) delete used_read_time_;
2428
2.11M
}
2429
2430
0
void WriteResponsePB::SetCachedSize(int size) const {
2431
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2432
0
  _cached_size_ = size;
2433
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2434
0
}
2435
0
const ::google::protobuf::Descriptor* WriteResponsePB::descriptor() {
2436
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
2437
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2438
0
}
2439
2440
0
const WriteResponsePB& WriteResponsePB::default_instance() {
2441
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsWriteResponsePB();
2442
0
  return *internal_default_instance();
2443
0
}
2444
2445
0
WriteResponsePB* WriteResponsePB::New(::google::protobuf::Arena* arena) const {
2446
0
  WriteResponsePB* n = new WriteResponsePB;
2447
0
  if (arena != NULL) {
2448
0
    arena->Own(n);
2449
0
  }
2450
0
  return n;
2451
0
}
2452
2453
1.45M
void WriteResponsePB::Clear() {
2454
// @@protoc_insertion_point(message_clear_start:yb.tserver.WriteResponsePB)
2455
1.45M
  ::google::protobuf::uint32 cached_has_bits = 0;
2456
  // Prevent compiler warnings about cached_has_bits being unused
2457
1.45M
  (void) cached_has_bits;
2458
2459
1.45M
  per_row_errors_.Clear();
2460
1.45M
  redis_response_batch_.Clear();
2461
1.45M
  ql_response_batch_.Clear();
2462
1.45M
  pgsql_response_batch_.Clear();
2463
1.45M
  cached_has_bits = _has_bits_[0];
2464
1.45M
  if (cached_has_bits & 15u) {
2465
45.4k
    if (cached_has_bits & 0x00000001u) {
2466
0
      GOOGLE_DCHECK(!trace_buffer_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2467
0
      (*trace_buffer_.UnsafeRawStringPointer())->clear();
2468
0
    }
2469
45.4k
    if (cached_has_bits & 0x00000002u) {
2470
45.4k
      GOOGLE_DCHECK(error_ != NULL);
2471
45.4k
      error_->Clear();
2472
45.4k
    }
2473
45.4k
    if (cached_has_bits & 0x00000004u) {
2474
0
      GOOGLE_DCHECK(restart_read_time_ != NULL);
2475
0
      restart_read_time_->Clear();
2476
0
    }
2477
45.4k
    if (cached_has_bits & 0x00000008u) {
2478
0
      GOOGLE_DCHECK(used_read_time_ != NULL);
2479
0
      used_read_time_->Clear();
2480
0
    }
2481
45.4k
  }
2482
1.45M
  if (cached_has_bits & 48u) {
2483
7.38k
    ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
2484
7.38k
        reinterpret_cast<char*>(&local_limit_ht_) -
2485
7.38k
        reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(local_limit_ht_));
2486
7.38k
  }
2487
1.45M
  _has_bits_.Clear();
2488
1.45M
  _internal_metadata_.Clear();
2489
1.45M
}
2490
2491
bool WriteResponsePB::MergePartialFromCodedStream(
2492
505k
    ::google::protobuf::io::CodedInputStream* input) {
2493
3.59M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2494
505k
  ::google::protobuf::uint32 tag;
2495
  // @@protoc_insertion_point(parse_start:yb.tserver.WriteResponsePB)
2496
4.09M
  for (;;) {
2497
4.09M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2498
4.09M
    tag = p.first;
2499
4.09M
    if (!p.second) goto handle_unusual;
2500
3.58M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2501
      // optional .yb.tserver.TabletServerErrorPB error = 1;
2502
82.5k
      case 1: {
2503
82.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2504
82.5k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2505
82.5k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2506
82.5k
               input, mutable_error()));
2507
0
        } else {
2508
0
          goto handle_unusual;
2509
0
        }
2510
82.5k
        break;
2511
82.5k
      }
2512
2513
      // repeated .yb.tserver.WriteResponsePB.PerRowErrorPB per_row_errors = 2;
2514
0
      case 2: {
2515
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2516
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2517
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_per_row_errors()));
2518
0
        } else {
2519
0
          goto handle_unusual;
2520
0
        }
2521
0
        break;
2522
0
      }
2523
2524
      // optional fixed64 propagated_hybrid_time = 3;
2525
423k
      case 3: {
2526
423k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2527
423k
            static_cast< ::google::protobuf::uint8>(25u /* 25 & 0xFF */)) {
2528
423k
          set_has_propagated_hybrid_time();
2529
423k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2530
423k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
2531
423k
                 input, &propagated_hybrid_time_)));
2532
45
        } else {
2533
45
          goto handle_unusual;
2534
45
        }
2535
423k
        break;
2536
423k
      }
2537
2538
      // repeated .yb.RedisResponsePB redis_response_batch = 8;
2539
21.4k
      case 8: {
2540
21.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2541
21.4k
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
2542
21.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_redis_response_batch()));
2543
0
        } else {
2544
0
          goto handle_unusual;
2545
0
        }
2546
21.4k
        break;
2547
21.4k
      }
2548
2549
      // repeated .yb.QLResponsePB ql_response_batch = 9;
2550
2.00M
      case 9: {
2551
2.00M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2552
2.00M
            static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
2553
2.00M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_ql_response_batch()));
2554
18.4E
        } else {
2555
18.4E
          goto handle_unusual;
2556
18.4E
        }
2557
2.00M
        break;
2558
2.00M
      }
2559
2560
      // optional string trace_buffer = 10;
2561
0
      case 10: {
2562
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2563
0
            static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
2564
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2565
0
                input, this->mutable_trace_buffer()));
2566
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2567
0
            this->trace_buffer().data(), static_cast<int>(this->trace_buffer().length()),
2568
0
            ::google::protobuf::internal::WireFormat::PARSE,
2569
0
            "yb.tserver.WriteResponsePB.trace_buffer");
2570
0
        } else {
2571
0
          goto handle_unusual;
2572
0
        }
2573
0
        break;
2574
0
      }
2575
2576
      // optional .yb.ReadHybridTimePB restart_read_time = 11;
2577
0
      case 11: {
2578
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2579
0
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
2580
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2581
0
               input, mutable_restart_read_time()));
2582
0
        } else {
2583
0
          goto handle_unusual;
2584
0
        }
2585
0
        break;
2586
0
      }
2587
2588
      // repeated .yb.PgsqlResponsePB pgsql_response_batch = 12;
2589
964k
      case 12: {
2590
964k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2591
964k
            static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {
2592
964k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_pgsql_response_batch()));
2593
18
        } else {
2594
18
          goto handle_unusual;
2595
18
        }
2596
964k
        break;
2597
964k
      }
2598
2599
      // optional .yb.ReadHybridTimePB used_read_time = 13;
2600
88.7k
      case 13: {
2601
88.7k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2602
88.7k
            static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {
2603
88.7k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2604
88.7k
               input, mutable_used_read_time()));
2605
0
        } else {
2606
0
          goto handle_unusual;
2607
0
        }
2608
88.7k
        break;
2609
88.7k
      }
2610
2611
      // optional fixed64 local_limit_ht = 14;
2612
0
      case 14: {
2613
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2614
0
            static_cast< ::google::protobuf::uint8>(113u /* 113 & 0xFF */)) {
2615
0
          set_has_local_limit_ht();
2616
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2617
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
2618
0
                 input, &local_limit_ht_)));
2619
0
        } else {
2620
0
          goto handle_unusual;
2621
0
        }
2622
0
        break;
2623
506k
      }
2624
2625
0
      default: {
2626
506k
      handle_unusual:
2627
506k
        if (tag == 0) {
2628
506k
          goto success;
2629
506k
        }
2630
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2631
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2632
18.4E
        break;
2633
18.4E
      }
2634
3.58M
    }
2635
3.58M
  }
2636
506k
success:
2637
  // @@protoc_insertion_point(parse_success:yb.tserver.WriteResponsePB)
2638
506k
  return true;
2639
0
failure:
2640
  // @@protoc_insertion_point(parse_failure:yb.tserver.WriteResponsePB)
2641
0
  return false;
2642
505k
#undef DO_
2643
505k
}
2644
2645
void WriteResponsePB::SerializeWithCachedSizes(
2646
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2647
  // @@protoc_insertion_point(serialize_start:yb.tserver.WriteResponsePB)
2648
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2649
0
  (void) cached_has_bits;
2650
2651
0
  cached_has_bits = _has_bits_[0];
2652
  // optional .yb.tserver.TabletServerErrorPB error = 1;
2653
0
  if (cached_has_bits & 0x00000002u) {
2654
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2655
0
      1, *this->error_, output);
2656
0
  }
2657
2658
  // repeated .yb.tserver.WriteResponsePB.PerRowErrorPB per_row_errors = 2;
2659
0
  for (unsigned int i = 0,
2660
0
      n = static_cast<unsigned int>(this->per_row_errors_size()); i < n; i++) {
2661
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2662
0
      2, this->per_row_errors(static_cast<int>(i)), output);
2663
0
  }
2664
2665
  // optional fixed64 propagated_hybrid_time = 3;
2666
0
  if (cached_has_bits & 0x00000010u) {
2667
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(3, this->propagated_hybrid_time(), output);
2668
0
  }
2669
2670
  // repeated .yb.RedisResponsePB redis_response_batch = 8;
2671
0
  for (unsigned int i = 0,
2672
0
      n = static_cast<unsigned int>(this->redis_response_batch_size()); i < n; i++) {
2673
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2674
0
      8, this->redis_response_batch(static_cast<int>(i)), output);
2675
0
  }
2676
2677
  // repeated .yb.QLResponsePB ql_response_batch = 9;
2678
0
  for (unsigned int i = 0,
2679
0
      n = static_cast<unsigned int>(this->ql_response_batch_size()); i < n; i++) {
2680
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2681
0
      9, this->ql_response_batch(static_cast<int>(i)), output);
2682
0
  }
2683
2684
  // optional string trace_buffer = 10;
2685
0
  if (cached_has_bits & 0x00000001u) {
2686
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2687
0
      this->trace_buffer().data(), static_cast<int>(this->trace_buffer().length()),
2688
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
2689
0
      "yb.tserver.WriteResponsePB.trace_buffer");
2690
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2691
0
      10, this->trace_buffer(), output);
2692
0
  }
2693
2694
  // optional .yb.ReadHybridTimePB restart_read_time = 11;
2695
0
  if (cached_has_bits & 0x00000004u) {
2696
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2697
0
      11, *this->restart_read_time_, output);
2698
0
  }
2699
2700
  // repeated .yb.PgsqlResponsePB pgsql_response_batch = 12;
2701
0
  for (unsigned int i = 0,
2702
0
      n = static_cast<unsigned int>(this->pgsql_response_batch_size()); i < n; i++) {
2703
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2704
0
      12, this->pgsql_response_batch(static_cast<int>(i)), output);
2705
0
  }
2706
2707
  // optional .yb.ReadHybridTimePB used_read_time = 13;
2708
0
  if (cached_has_bits & 0x00000008u) {
2709
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
2710
0
      13, *this->used_read_time_, output);
2711
0
  }
2712
2713
  // optional fixed64 local_limit_ht = 14;
2714
0
  if (cached_has_bits & 0x00000020u) {
2715
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(14, this->local_limit_ht(), output);
2716
0
  }
2717
2718
0
  if (_internal_metadata_.have_unknown_fields()) {
2719
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2720
0
        _internal_metadata_.unknown_fields(), output);
2721
0
  }
2722
  // @@protoc_insertion_point(serialize_end:yb.tserver.WriteResponsePB)
2723
0
}
2724
2725
::google::protobuf::uint8* WriteResponsePB::InternalSerializeWithCachedSizesToArray(
2726
506k
    bool deterministic, ::google::protobuf::uint8* target) const {
2727
506k
  (void)deterministic; // Unused
2728
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.WriteResponsePB)
2729
506k
  ::google::protobuf::uint32 cached_has_bits = 0;
2730
506k
  (void) cached_has_bits;
2731
2732
506k
  cached_has_bits = _has_bits_[0];
2733
  // optional .yb.tserver.TabletServerErrorPB error = 1;
2734
506k
  if (cached_has_bits & 0x00000002u) {
2735
82.5k
    target = ::google::protobuf::internal::WireFormatLite::
2736
82.5k
      InternalWriteMessageToArray(
2737
82.5k
        1, *this->error_, deterministic, target);
2738
82.5k
  }
2739
2740
  // repeated .yb.tserver.WriteResponsePB.PerRowErrorPB per_row_errors = 2;
2741
506k
  for (unsigned int i = 0,
2742
506k
      n = static_cast<unsigned int>(this->per_row_errors_size()); i < n; i++) {
2743
0
    target = ::google::protobuf::internal::WireFormatLite::
2744
0
      InternalWriteMessageToArray(
2745
0
        2, this->per_row_errors(static_cast<int>(i)), deterministic, target);
2746
0
  }
2747
2748
  // optional fixed64 propagated_hybrid_time = 3;
2749
506k
  if (cached_has_bits & 0x00000010u) {
2750
423k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(3, this->propagated_hybrid_time(), target);
2751
423k
  }
2752
2753
  // repeated .yb.RedisResponsePB redis_response_batch = 8;
2754
506k
  for (unsigned int i = 0,
2755
527k
      n = static_cast<unsigned int>(this->redis_response_batch_size()); i < n; i++) {
2756
21.4k
    target = ::google::protobuf::internal::WireFormatLite::
2757
21.4k
      InternalWriteMessageToArray(
2758
21.4k
        8, this->redis_response_batch(static_cast<int>(i)), deterministic, target);
2759
21.4k
  }
2760
2761
  // repeated .yb.QLResponsePB ql_response_batch = 9;
2762
506k
  for (unsigned int i = 0,
2763
2.52M
      n = static_cast<unsigned int>(this->ql_response_batch_size()); i < n; i++) {
2764
2.01M
    target = ::google::protobuf::internal::WireFormatLite::
2765
2.01M
      InternalWriteMessageToArray(
2766
2.01M
        9, this->ql_response_batch(static_cast<int>(i)), deterministic, target);
2767
2.01M
  }
2768
2769
  // optional string trace_buffer = 10;
2770
506k
  if (cached_has_bits & 0x00000001u) {
2771
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2772
0
      this->trace_buffer().data(), static_cast<int>(this->trace_buffer().length()),
2773
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
2774
0
      "yb.tserver.WriteResponsePB.trace_buffer");
2775
0
    target =
2776
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2777
0
        10, this->trace_buffer(), target);
2778
0
  }
2779
2780
  // optional .yb.ReadHybridTimePB restart_read_time = 11;
2781
506k
  if (cached_has_bits & 0x00000004u) {
2782
0
    target = ::google::protobuf::internal::WireFormatLite::
2783
0
      InternalWriteMessageToArray(
2784
0
        11, *this->restart_read_time_, deterministic, target);
2785
0
  }
2786
2787
  // repeated .yb.PgsqlResponsePB pgsql_response_batch = 12;
2788
506k
  for (unsigned int i = 0,
2789
1.47M
      n = static_cast<unsigned int>(this->pgsql_response_batch_size()); i < n; i++) {
2790
964k
    target = ::google::protobuf::internal::WireFormatLite::
2791
964k
      InternalWriteMessageToArray(
2792
964k
        12, this->pgsql_response_batch(static_cast<int>(i)), deterministic, target);
2793
964k
  }
2794
2795
  // optional .yb.ReadHybridTimePB used_read_time = 13;
2796
506k
  if (cached_has_bits & 0x00000008u) {
2797
88.7k
    target = ::google::protobuf::internal::WireFormatLite::
2798
88.7k
      InternalWriteMessageToArray(
2799
88.7k
        13, *this->used_read_time_, deterministic, target);
2800
88.7k
  }
2801
2802
  // optional fixed64 local_limit_ht = 14;
2803
506k
  if (cached_has_bits & 0x00000020u) {
2804
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(14, this->local_limit_ht(), target);
2805
0
  }
2806
2807
506k
  if (_internal_metadata_.have_unknown_fields()) {
2808
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2809
0
        _internal_metadata_.unknown_fields(), target);
2810
0
  }
2811
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.WriteResponsePB)
2812
506k
  return target;
2813
506k
}
2814
2815
1.01M
size_t WriteResponsePB::ByteSizeLong() const {
2816
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.WriteResponsePB)
2817
1.01M
  size_t total_size = 0;
2818
2819
1.01M
  if (_internal_metadata_.have_unknown_fields()) {
2820
0
    total_size +=
2821
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2822
0
        _internal_metadata_.unknown_fields());
2823
0
  }
2824
  // repeated .yb.tserver.WriteResponsePB.PerRowErrorPB per_row_errors = 2;
2825
1.01M
  {
2826
1.01M
    unsigned int count = static_cast<unsigned int>(this->per_row_errors_size());
2827
1.01M
    total_size += 1UL * count;
2828
1.01M
    for (unsigned int i = 0; i < count; i++) {
2829
0
      total_size +=
2830
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2831
0
          this->per_row_errors(static_cast<int>(i)));
2832
0
    }
2833
1.01M
  }
2834
2835
  // repeated .yb.RedisResponsePB redis_response_batch = 8;
2836
1.01M
  {
2837
1.01M
    unsigned int count = static_cast<unsigned int>(this->redis_response_batch_size());
2838
1.01M
    total_size += 1UL * count;
2839
1.05M
    for (unsigned int i = 0; i < count; i++) {
2840
42.8k
      total_size +=
2841
42.8k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2842
42.8k
          this->redis_response_batch(static_cast<int>(i)));
2843
42.8k
    }
2844
1.01M
  }
2845
2846
  // repeated .yb.QLResponsePB ql_response_batch = 9;
2847
1.01M
  {
2848
1.01M
    unsigned int count = static_cast<unsigned int>(this->ql_response_batch_size());
2849
1.01M
    total_size += 1UL * count;
2850
5.04M
    for (unsigned int i = 0; i < count; i++) {
2851
4.02M
      total_size +=
2852
4.02M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2853
4.02M
          this->ql_response_batch(static_cast<int>(i)));
2854
4.02M
    }
2855
1.01M
  }
2856
2857
  // repeated .yb.PgsqlResponsePB pgsql_response_batch = 12;
2858
1.01M
  {
2859
1.01M
    unsigned int count = static_cast<unsigned int>(this->pgsql_response_batch_size());
2860
1.01M
    total_size += 1UL * count;
2861
2.94M
    for (unsigned int i = 0; i < count; i++) {
2862
1.92M
      total_size +=
2863
1.92M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2864
1.92M
          this->pgsql_response_batch(static_cast<int>(i)));
2865
1.92M
    }
2866
1.01M
  }
2867
2868
1.01M
  if (_has_bits_[0 / 32] & 63u) {
2869
    // optional string trace_buffer = 10;
2870
1.01M
    if (has_trace_buffer()) {
2871
0
      total_size += 1 +
2872
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
2873
0
          this->trace_buffer());
2874
0
    }
2875
2876
    // optional .yb.tserver.TabletServerErrorPB error = 1;
2877
1.01M
    if (has_error()) {
2878
165k
      total_size += 1 +
2879
165k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2880
165k
          *this->error_);
2881
165k
    }
2882
2883
    // optional .yb.ReadHybridTimePB restart_read_time = 11;
2884
1.01M
    if (has_restart_read_time()) {
2885
0
      total_size += 1 +
2886
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2887
0
          *this->restart_read_time_);
2888
0
    }
2889
2890
    // optional .yb.ReadHybridTimePB used_read_time = 13;
2891
1.01M
    if (has_used_read_time()) {
2892
177k
      total_size += 1 +
2893
177k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
2894
177k
          *this->used_read_time_);
2895
177k
    }
2896
2897
    // optional fixed64 propagated_hybrid_time = 3;
2898
1.01M
    if (has_propagated_hybrid_time()) {
2899
846k
      total_size += 1 + 8;
2900
846k
    }
2901
2902
    // optional fixed64 local_limit_ht = 14;
2903
1.01M
    if (has_local_limit_ht()) {
2904
0
      total_size += 1 + 8;
2905
0
    }
2906
2907
1.01M
  }
2908
1.01M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2909
1.01M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2910
1.01M
  _cached_size_ = cached_size;
2911
1.01M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2912
1.01M
  return total_size;
2913
1.01M
}
2914
2915
0
void WriteResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
2916
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.WriteResponsePB)
2917
0
  GOOGLE_DCHECK_NE(&from, this);
2918
0
  const WriteResponsePB* source =
2919
0
      ::google::protobuf::internal::DynamicCastToGenerated<const WriteResponsePB>(
2920
0
          &from);
2921
0
  if (source == NULL) {
2922
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.WriteResponsePB)
2923
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2924
0
  } else {
2925
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.WriteResponsePB)
2926
0
    MergeFrom(*source);
2927
0
  }
2928
0
}
2929
2930
0
void WriteResponsePB::MergeFrom(const WriteResponsePB& from) {
2931
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.WriteResponsePB)
2932
0
  GOOGLE_DCHECK_NE(&from, this);
2933
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2934
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2935
0
  (void) cached_has_bits;
2936
2937
0
  per_row_errors_.MergeFrom(from.per_row_errors_);
2938
0
  redis_response_batch_.MergeFrom(from.redis_response_batch_);
2939
0
  ql_response_batch_.MergeFrom(from.ql_response_batch_);
2940
0
  pgsql_response_batch_.MergeFrom(from.pgsql_response_batch_);
2941
0
  cached_has_bits = from._has_bits_[0];
2942
0
  if (cached_has_bits & 63u) {
2943
0
    if (cached_has_bits & 0x00000001u) {
2944
0
      set_has_trace_buffer();
2945
0
      trace_buffer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trace_buffer_);
2946
0
    }
2947
0
    if (cached_has_bits & 0x00000002u) {
2948
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
2949
0
    }
2950
0
    if (cached_has_bits & 0x00000004u) {
2951
0
      mutable_restart_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.restart_read_time());
2952
0
    }
2953
0
    if (cached_has_bits & 0x00000008u) {
2954
0
      mutable_used_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.used_read_time());
2955
0
    }
2956
0
    if (cached_has_bits & 0x00000010u) {
2957
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
2958
0
    }
2959
0
    if (cached_has_bits & 0x00000020u) {
2960
0
      local_limit_ht_ = from.local_limit_ht_;
2961
0
    }
2962
0
    _has_bits_[0] |= cached_has_bits;
2963
0
  }
2964
0
}
2965
2966
0
void WriteResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
2967
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.WriteResponsePB)
2968
0
  if (&from == this) return;
2969
0
  Clear();
2970
0
  MergeFrom(from);
2971
0
}
2972
2973
0
void WriteResponsePB::CopyFrom(const WriteResponsePB& from) {
2974
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.WriteResponsePB)
2975
0
  if (&from == this) return;
2976
0
  Clear();
2977
0
  MergeFrom(from);
2978
0
}
2979
2980
1.01M
bool WriteResponsePB::IsInitialized() const {
2981
1.01M
  if (!::google::protobuf::internal::AllAreInitialized(this->per_row_errors())) return false;
2982
1.01M
  if (!::google::protobuf::internal::AllAreInitialized(this->ql_response_batch())) return false;
2983
1.01M
  if (has_error()) {
2984
165k
    if (!this->error_->IsInitialized()) return false;
2985
1.01M
  }
2986
1.01M
  return true;
2987
1.01M
}
2988
2989
0
void WriteResponsePB::Swap(WriteResponsePB* other) {
2990
0
  if (other == this) return;
2991
0
  InternalSwap(other);
2992
0
}
2993
0
void WriteResponsePB::InternalSwap(WriteResponsePB* other) {
2994
0
  using std::swap;
2995
0
  per_row_errors_.InternalSwap(&other->per_row_errors_);
2996
0
  redis_response_batch_.InternalSwap(&other->redis_response_batch_);
2997
0
  ql_response_batch_.InternalSwap(&other->ql_response_batch_);
2998
0
  pgsql_response_batch_.InternalSwap(&other->pgsql_response_batch_);
2999
0
  trace_buffer_.Swap(&other->trace_buffer_);
3000
0
  swap(error_, other->error_);
3001
0
  swap(restart_read_time_, other->restart_read_time_);
3002
0
  swap(used_read_time_, other->used_read_time_);
3003
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
3004
0
  swap(local_limit_ht_, other->local_limit_ht_);
3005
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3006
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3007
0
  swap(_cached_size_, other->_cached_size_);
3008
0
}
3009
3010
36
::google::protobuf::Metadata WriteResponsePB::GetMetadata() const {
3011
36
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3012
36
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
3013
36
}
3014
3015
3016
// ===================================================================
3017
3018
15.8k
void ListTabletsRequestPB::InitAsDefaultInstance() {
3019
15.8k
}
3020
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3021
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3022
3023
ListTabletsRequestPB::ListTabletsRequestPB()
3024
16.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3025
426
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3026
426
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsRequestPB();
3027
426
  }
3028
16.2k
  SharedCtor();
3029
  // @@protoc_insertion_point(constructor:yb.tserver.ListTabletsRequestPB)
3030
16.2k
}
3031
ListTabletsRequestPB::ListTabletsRequestPB(const ListTabletsRequestPB& from)
3032
  : ::google::protobuf::Message(),
3033
      _internal_metadata_(NULL),
3034
      _has_bits_(from._has_bits_),
3035
0
      _cached_size_(0) {
3036
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3037
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ListTabletsRequestPB)
3038
0
}
3039
3040
16.2k
void ListTabletsRequestPB::SharedCtor() {
3041
16.2k
  _cached_size_ = 0;
3042
16.2k
}
3043
3044
426
ListTabletsRequestPB::~ListTabletsRequestPB() {
3045
  // @@protoc_insertion_point(destructor:yb.tserver.ListTabletsRequestPB)
3046
426
  SharedDtor();
3047
426
}
3048
3049
426
void ListTabletsRequestPB::SharedDtor() {
3050
426
}
3051
3052
0
void ListTabletsRequestPB::SetCachedSize(int size) const {
3053
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3054
0
  _cached_size_ = size;
3055
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3056
0
}
3057
0
const ::google::protobuf::Descriptor* ListTabletsRequestPB::descriptor() {
3058
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3059
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3060
0
}
3061
3062
0
const ListTabletsRequestPB& ListTabletsRequestPB::default_instance() {
3063
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsRequestPB();
3064
0
  return *internal_default_instance();
3065
0
}
3066
3067
0
ListTabletsRequestPB* ListTabletsRequestPB::New(::google::protobuf::Arena* arena) const {
3068
0
  ListTabletsRequestPB* n = new ListTabletsRequestPB;
3069
0
  if (arena != NULL) {
3070
0
    arena->Own(n);
3071
0
  }
3072
0
  return n;
3073
0
}
3074
3075
213
void ListTabletsRequestPB::Clear() {
3076
// @@protoc_insertion_point(message_clear_start:yb.tserver.ListTabletsRequestPB)
3077
213
  ::google::protobuf::uint32 cached_has_bits = 0;
3078
  // Prevent compiler warnings about cached_has_bits being unused
3079
213
  (void) cached_has_bits;
3080
3081
213
  _has_bits_.Clear();
3082
213
  _internal_metadata_.Clear();
3083
213
}
3084
3085
bool ListTabletsRequestPB::MergePartialFromCodedStream(
3086
213
    ::google::protobuf::io::CodedInputStream* input) {
3087
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3088
213
  ::google::protobuf::uint32 tag;
3089
  // @@protoc_insertion_point(parse_start:yb.tserver.ListTabletsRequestPB)
3090
213
  for (;;) {
3091
213
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3092
213
    tag = p.first;
3093
213
    if (!p.second) goto handle_unusual;
3094
213
  handle_unusual:
3095
213
    if (tag == 0) {
3096
213
      goto success;
3097
213
    }
3098
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
3099
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
3100
0
  }
3101
213
success:
3102
  // @@protoc_insertion_point(parse_success:yb.tserver.ListTabletsRequestPB)
3103
213
  return true;
3104
0
failure:
3105
  // @@protoc_insertion_point(parse_failure:yb.tserver.ListTabletsRequestPB)
3106
0
  return false;
3107
213
#undef DO_
3108
213
}
3109
3110
void ListTabletsRequestPB::SerializeWithCachedSizes(
3111
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3112
  // @@protoc_insertion_point(serialize_start:yb.tserver.ListTabletsRequestPB)
3113
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3114
0
  (void) cached_has_bits;
3115
3116
0
  if (_internal_metadata_.have_unknown_fields()) {
3117
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3118
0
        _internal_metadata_.unknown_fields(), output);
3119
0
  }
3120
  // @@protoc_insertion_point(serialize_end:yb.tserver.ListTabletsRequestPB)
3121
0
}
3122
3123
::google::protobuf::uint8* ListTabletsRequestPB::InternalSerializeWithCachedSizesToArray(
3124
213
    bool deterministic, ::google::protobuf::uint8* target) const {
3125
213
  (void)deterministic; // Unused
3126
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ListTabletsRequestPB)
3127
213
  ::google::protobuf::uint32 cached_has_bits = 0;
3128
213
  (void) cached_has_bits;
3129
3130
213
  if (_internal_metadata_.have_unknown_fields()) {
3131
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3132
0
        _internal_metadata_.unknown_fields(), target);
3133
0
  }
3134
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ListTabletsRequestPB)
3135
213
  return target;
3136
213
}
3137
3138
426
size_t ListTabletsRequestPB::ByteSizeLong() const {
3139
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ListTabletsRequestPB)
3140
426
  size_t total_size = 0;
3141
3142
426
  if (_internal_metadata_.have_unknown_fields()) {
3143
0
    total_size +=
3144
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3145
0
        _internal_metadata_.unknown_fields());
3146
0
  }
3147
426
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3148
426
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3149
426
  _cached_size_ = cached_size;
3150
426
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3151
426
  return total_size;
3152
426
}
3153
3154
0
void ListTabletsRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
3155
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ListTabletsRequestPB)
3156
0
  GOOGLE_DCHECK_NE(&from, this);
3157
0
  const ListTabletsRequestPB* source =
3158
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletsRequestPB>(
3159
0
          &from);
3160
0
  if (source == NULL) {
3161
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ListTabletsRequestPB)
3162
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3163
0
  } else {
3164
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ListTabletsRequestPB)
3165
0
    MergeFrom(*source);
3166
0
  }
3167
0
}
3168
3169
0
void ListTabletsRequestPB::MergeFrom(const ListTabletsRequestPB& from) {
3170
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ListTabletsRequestPB)
3171
0
  GOOGLE_DCHECK_NE(&from, this);
3172
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3173
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3174
0
  (void) cached_has_bits;
3175
3176
0
}
3177
3178
0
void ListTabletsRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
3179
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ListTabletsRequestPB)
3180
0
  if (&from == this) return;
3181
0
  Clear();
3182
0
  MergeFrom(from);
3183
0
}
3184
3185
0
void ListTabletsRequestPB::CopyFrom(const ListTabletsRequestPB& from) {
3186
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ListTabletsRequestPB)
3187
0
  if (&from == this) return;
3188
0
  Clear();
3189
0
  MergeFrom(from);
3190
0
}
3191
3192
426
bool ListTabletsRequestPB::IsInitialized() const {
3193
426
  return true;
3194
426
}
3195
3196
0
void ListTabletsRequestPB::Swap(ListTabletsRequestPB* other) {
3197
0
  if (other == this) return;
3198
0
  InternalSwap(other);
3199
0
}
3200
0
void ListTabletsRequestPB::InternalSwap(ListTabletsRequestPB* other) {
3201
0
  using std::swap;
3202
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3203
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3204
0
  swap(_cached_size_, other->_cached_size_);
3205
0
}
3206
3207
213
::google::protobuf::Metadata ListTabletsRequestPB::GetMetadata() const {
3208
213
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3209
213
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
3210
213
}
3211
3212
3213
// ===================================================================
3214
3215
15.8k
void ListTabletsResponsePB_StatusAndSchemaPB::InitAsDefaultInstance() {
3216
15.8k
  ::yb::tserver::_ListTabletsResponsePB_StatusAndSchemaPB_default_instance_._instance.get_mutable()->tablet_status_ = const_cast< ::yb::tablet::TabletStatusPB*>(
3217
15.8k
      ::yb::tablet::TabletStatusPB::internal_default_instance());
3218
15.8k
  ::yb::tserver::_ListTabletsResponsePB_StatusAndSchemaPB_default_instance_._instance.get_mutable()->schema_ = const_cast< ::yb::SchemaPB*>(
3219
15.8k
      ::yb::SchemaPB::internal_default_instance());
3220
15.8k
  ::yb::tserver::_ListTabletsResponsePB_StatusAndSchemaPB_default_instance_._instance.get_mutable()->partition_schema_ = const_cast< ::yb::PartitionSchemaPB*>(
3221
15.8k
      ::yb::PartitionSchemaPB::internal_default_instance());
3222
15.8k
}
3223
0
void ListTabletsResponsePB_StatusAndSchemaPB::clear_tablet_status() {
3224
0
  if (tablet_status_ != NULL) tablet_status_->Clear();
3225
0
  clear_has_tablet_status();
3226
0
}
3227
0
void ListTabletsResponsePB_StatusAndSchemaPB::clear_schema() {
3228
0
  if (schema_ != NULL) schema_->Clear();
3229
0
  clear_has_schema();
3230
0
}
3231
0
void ListTabletsResponsePB_StatusAndSchemaPB::clear_partition_schema() {
3232
0
  if (partition_schema_ != NULL) partition_schema_->Clear();
3233
0
  clear_has_partition_schema();
3234
0
}
3235
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3236
const int ListTabletsResponsePB_StatusAndSchemaPB::kTabletStatusFieldNumber;
3237
const int ListTabletsResponsePB_StatusAndSchemaPB::kSchemaFieldNumber;
3238
const int ListTabletsResponsePB_StatusAndSchemaPB::kPartitionSchemaFieldNumber;
3239
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3240
3241
ListTabletsResponsePB_StatusAndSchemaPB::ListTabletsResponsePB_StatusAndSchemaPB()
3242
22.1k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3243
6.28k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3244
6.28k
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsResponsePB_StatusAndSchemaPB();
3245
6.28k
  }
3246
22.1k
  SharedCtor();
3247
  // @@protoc_insertion_point(constructor:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3248
22.1k
}
3249
ListTabletsResponsePB_StatusAndSchemaPB::ListTabletsResponsePB_StatusAndSchemaPB(const ListTabletsResponsePB_StatusAndSchemaPB& from)
3250
  : ::google::protobuf::Message(),
3251
      _internal_metadata_(NULL),
3252
      _has_bits_(from._has_bits_),
3253
3.06k
      _cached_size_(0) {
3254
3.06k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3255
3.06k
  if (from.has_tablet_status()) {
3256
3.06k
    tablet_status_ = new ::yb::tablet::TabletStatusPB(*from.tablet_status_);
3257
0
  } else {
3258
0
    tablet_status_ = NULL;
3259
0
  }
3260
3.06k
  if (from.has_schema()) {
3261
3.06k
    schema_ = new ::yb::SchemaPB(*from.schema_);
3262
0
  } else {
3263
0
    schema_ = NULL;
3264
0
  }
3265
3.06k
  if (from.has_partition_schema()) {
3266
3.06k
    partition_schema_ = new ::yb::PartitionSchemaPB(*from.partition_schema_);
3267
0
  } else {
3268
0
    partition_schema_ = NULL;
3269
0
  }
3270
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3271
3.06k
}
3272
3273
22.1k
void ListTabletsResponsePB_StatusAndSchemaPB::SharedCtor() {
3274
22.1k
  _cached_size_ = 0;
3275
22.1k
  ::memset(&tablet_status_, 0, static_cast<size_t>(
3276
22.1k
      reinterpret_cast<char*>(&partition_schema_) -
3277
22.1k
      reinterpret_cast<char*>(&tablet_status_)) + sizeof(partition_schema_));
3278
22.1k
}
3279
3280
9.34k
ListTabletsResponsePB_StatusAndSchemaPB::~ListTabletsResponsePB_StatusAndSchemaPB() {
3281
  // @@protoc_insertion_point(destructor:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3282
9.34k
  SharedDtor();
3283
9.34k
}
3284
3285
9.34k
void ListTabletsResponsePB_StatusAndSchemaPB::SharedDtor() {
3286
9.34k
  if (this != internal_default_instance()) delete tablet_status_;
3287
9.34k
  if (this != internal_default_instance()) delete schema_;
3288
9.34k
  if (this != internal_default_instance()) delete partition_schema_;
3289
9.34k
}
3290
3291
0
void ListTabletsResponsePB_StatusAndSchemaPB::SetCachedSize(int size) const {
3292
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3293
0
  _cached_size_ = size;
3294
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3295
0
}
3296
0
const ::google::protobuf::Descriptor* ListTabletsResponsePB_StatusAndSchemaPB::descriptor() {
3297
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3298
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3299
0
}
3300
3301
0
const ListTabletsResponsePB_StatusAndSchemaPB& ListTabletsResponsePB_StatusAndSchemaPB::default_instance() {
3302
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsResponsePB_StatusAndSchemaPB();
3303
0
  return *internal_default_instance();
3304
0
}
3305
3306
0
ListTabletsResponsePB_StatusAndSchemaPB* ListTabletsResponsePB_StatusAndSchemaPB::New(::google::protobuf::Arena* arena) const {
3307
0
  ListTabletsResponsePB_StatusAndSchemaPB* n = new ListTabletsResponsePB_StatusAndSchemaPB;
3308
0
  if (arena != NULL) {
3309
0
    arena->Own(n);
3310
0
  }
3311
0
  return n;
3312
0
}
3313
3314
0
void ListTabletsResponsePB_StatusAndSchemaPB::Clear() {
3315
// @@protoc_insertion_point(message_clear_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3316
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3317
  // Prevent compiler warnings about cached_has_bits being unused
3318
0
  (void) cached_has_bits;
3319
3320
0
  cached_has_bits = _has_bits_[0];
3321
0
  if (cached_has_bits & 7u) {
3322
0
    if (cached_has_bits & 0x00000001u) {
3323
0
      GOOGLE_DCHECK(tablet_status_ != NULL);
3324
0
      tablet_status_->Clear();
3325
0
    }
3326
0
    if (cached_has_bits & 0x00000002u) {
3327
0
      GOOGLE_DCHECK(schema_ != NULL);
3328
0
      schema_->Clear();
3329
0
    }
3330
0
    if (cached_has_bits & 0x00000004u) {
3331
0
      GOOGLE_DCHECK(partition_schema_ != NULL);
3332
0
      partition_schema_->Clear();
3333
0
    }
3334
0
  }
3335
0
  _has_bits_.Clear();
3336
0
  _internal_metadata_.Clear();
3337
0
}
3338
3339
bool ListTabletsResponsePB_StatusAndSchemaPB::MergePartialFromCodedStream(
3340
3.14k
    ::google::protobuf::io::CodedInputStream* input) {
3341
9.42k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3342
3.14k
  ::google::protobuf::uint32 tag;
3343
  // @@protoc_insertion_point(parse_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3344
12.5k
  for (;;) {
3345
12.5k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3346
12.5k
    tag = p.first;
3347
12.5k
    if (!p.second) goto handle_unusual;
3348
9.42k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3349
      // required .yb.tablet.TabletStatusPB tablet_status = 1;
3350
3.14k
      case 1: {
3351
3.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3352
3.14k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3353
3.14k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3354
3.14k
               input, mutable_tablet_status()));
3355
0
        } else {
3356
0
          goto handle_unusual;
3357
0
        }
3358
3.14k
        break;
3359
3.14k
      }
3360
3361
      // required .yb.SchemaPB schema = 2;
3362
3.14k
      case 2: {
3363
3.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3364
3.14k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3365
3.14k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3366
3.14k
               input, mutable_schema()));
3367
0
        } else {
3368
0
          goto handle_unusual;
3369
0
        }
3370
3.14k
        break;
3371
3.14k
      }
3372
3373
      // optional .yb.PartitionSchemaPB partition_schema = 3;
3374
3.14k
      case 3: {
3375
3.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3376
3.14k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
3377
3.14k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3378
3.14k
               input, mutable_partition_schema()));
3379
0
        } else {
3380
0
          goto handle_unusual;
3381
0
        }
3382
3.14k
        break;
3383
3.14k
      }
3384
3385
0
      default: {
3386
3.14k
      handle_unusual:
3387
3.14k
        if (tag == 0) {
3388
3.14k
          goto success;
3389
3.14k
        }
3390
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3391
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3392
0
        break;
3393
0
      }
3394
9.42k
    }
3395
9.42k
  }
3396
3.14k
success:
3397
  // @@protoc_insertion_point(parse_success:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3398
3.14k
  return true;
3399
0
failure:
3400
  // @@protoc_insertion_point(parse_failure:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3401
0
  return false;
3402
3.14k
#undef DO_
3403
3.14k
}
3404
3405
void ListTabletsResponsePB_StatusAndSchemaPB::SerializeWithCachedSizes(
3406
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3407
  // @@protoc_insertion_point(serialize_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3408
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3409
0
  (void) cached_has_bits;
3410
3411
0
  cached_has_bits = _has_bits_[0];
3412
  // required .yb.tablet.TabletStatusPB tablet_status = 1;
3413
0
  if (cached_has_bits & 0x00000001u) {
3414
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3415
0
      1, *this->tablet_status_, output);
3416
0
  }
3417
3418
  // required .yb.SchemaPB schema = 2;
3419
0
  if (cached_has_bits & 0x00000002u) {
3420
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3421
0
      2, *this->schema_, output);
3422
0
  }
3423
3424
  // optional .yb.PartitionSchemaPB partition_schema = 3;
3425
0
  if (cached_has_bits & 0x00000004u) {
3426
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3427
0
      3, *this->partition_schema_, output);
3428
0
  }
3429
3430
0
  if (_internal_metadata_.have_unknown_fields()) {
3431
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3432
0
        _internal_metadata_.unknown_fields(), output);
3433
0
  }
3434
  // @@protoc_insertion_point(serialize_end:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3435
0
}
3436
3437
::google::protobuf::uint8* ListTabletsResponsePB_StatusAndSchemaPB::InternalSerializeWithCachedSizesToArray(
3438
3.14k
    bool deterministic, ::google::protobuf::uint8* target) const {
3439
3.14k
  (void)deterministic; // Unused
3440
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3441
3.14k
  ::google::protobuf::uint32 cached_has_bits = 0;
3442
3.14k
  (void) cached_has_bits;
3443
3444
3.14k
  cached_has_bits = _has_bits_[0];
3445
  // required .yb.tablet.TabletStatusPB tablet_status = 1;
3446
3.14k
  if (cached_has_bits & 0x00000001u) {
3447
3.14k
    target = ::google::protobuf::internal::WireFormatLite::
3448
3.14k
      InternalWriteMessageToArray(
3449
3.14k
        1, *this->tablet_status_, deterministic, target);
3450
3.14k
  }
3451
3452
  // required .yb.SchemaPB schema = 2;
3453
3.14k
  if (cached_has_bits & 0x00000002u) {
3454
3.14k
    target = ::google::protobuf::internal::WireFormatLite::
3455
3.14k
      InternalWriteMessageToArray(
3456
3.14k
        2, *this->schema_, deterministic, target);
3457
3.14k
  }
3458
3459
  // optional .yb.PartitionSchemaPB partition_schema = 3;
3460
3.14k
  if (cached_has_bits & 0x00000004u) {
3461
3.14k
    target = ::google::protobuf::internal::WireFormatLite::
3462
3.14k
      InternalWriteMessageToArray(
3463
3.14k
        3, *this->partition_schema_, deterministic, target);
3464
3.14k
  }
3465
3466
3.14k
  if (_internal_metadata_.have_unknown_fields()) {
3467
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3468
0
        _internal_metadata_.unknown_fields(), target);
3469
0
  }
3470
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3471
3.14k
  return target;
3472
3.14k
}
3473
3474
0
size_t ListTabletsResponsePB_StatusAndSchemaPB::RequiredFieldsByteSizeFallback() const {
3475
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3476
0
  size_t total_size = 0;
3477
3478
0
  if (has_tablet_status()) {
3479
    // required .yb.tablet.TabletStatusPB tablet_status = 1;
3480
0
    total_size += 1 +
3481
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3482
0
        *this->tablet_status_);
3483
0
  }
3484
3485
0
  if (has_schema()) {
3486
    // required .yb.SchemaPB schema = 2;
3487
0
    total_size += 1 +
3488
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3489
0
        *this->schema_);
3490
0
  }
3491
3492
0
  return total_size;
3493
0
}
3494
6.28k
size_t ListTabletsResponsePB_StatusAndSchemaPB::ByteSizeLong() const {
3495
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3496
6.28k
  size_t total_size = 0;
3497
3498
6.28k
  if (_internal_metadata_.have_unknown_fields()) {
3499
0
    total_size +=
3500
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3501
0
        _internal_metadata_.unknown_fields());
3502
0
  }
3503
6.28k
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
3504
    // required .yb.tablet.TabletStatusPB tablet_status = 1;
3505
6.28k
    total_size += 1 +
3506
6.28k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3507
6.28k
        *this->tablet_status_);
3508
3509
    // required .yb.SchemaPB schema = 2;
3510
6.28k
    total_size += 1 +
3511
6.28k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3512
6.28k
        *this->schema_);
3513
3514
0
  } else {
3515
0
    total_size += RequiredFieldsByteSizeFallback();
3516
0
  }
3517
  // optional .yb.PartitionSchemaPB partition_schema = 3;
3518
6.28k
  if (has_partition_schema()) {
3519
6.28k
    total_size += 1 +
3520
6.28k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3521
6.28k
        *this->partition_schema_);
3522
6.28k
  }
3523
3524
6.28k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3525
6.28k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3526
6.28k
  _cached_size_ = cached_size;
3527
6.28k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3528
6.28k
  return total_size;
3529
6.28k
}
3530
3531
0
void ListTabletsResponsePB_StatusAndSchemaPB::MergeFrom(const ::google::protobuf::Message& from) {
3532
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3533
0
  GOOGLE_DCHECK_NE(&from, this);
3534
0
  const ListTabletsResponsePB_StatusAndSchemaPB* source =
3535
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletsResponsePB_StatusAndSchemaPB>(
3536
0
          &from);
3537
0
  if (source == NULL) {
3538
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3539
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3540
0
  } else {
3541
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3542
0
    MergeFrom(*source);
3543
0
  }
3544
0
}
3545
3546
0
void ListTabletsResponsePB_StatusAndSchemaPB::MergeFrom(const ListTabletsResponsePB_StatusAndSchemaPB& from) {
3547
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3548
0
  GOOGLE_DCHECK_NE(&from, this);
3549
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3550
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3551
0
  (void) cached_has_bits;
3552
3553
0
  cached_has_bits = from._has_bits_[0];
3554
0
  if (cached_has_bits & 7u) {
3555
0
    if (cached_has_bits & 0x00000001u) {
3556
0
      mutable_tablet_status()->::yb::tablet::TabletStatusPB::MergeFrom(from.tablet_status());
3557
0
    }
3558
0
    if (cached_has_bits & 0x00000002u) {
3559
0
      mutable_schema()->::yb::SchemaPB::MergeFrom(from.schema());
3560
0
    }
3561
0
    if (cached_has_bits & 0x00000004u) {
3562
0
      mutable_partition_schema()->::yb::PartitionSchemaPB::MergeFrom(from.partition_schema());
3563
0
    }
3564
0
  }
3565
0
}
3566
3567
0
void ListTabletsResponsePB_StatusAndSchemaPB::CopyFrom(const ::google::protobuf::Message& from) {
3568
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3569
0
  if (&from == this) return;
3570
0
  Clear();
3571
0
  MergeFrom(from);
3572
0
}
3573
3574
0
void ListTabletsResponsePB_StatusAndSchemaPB::CopyFrom(const ListTabletsResponsePB_StatusAndSchemaPB& from) {
3575
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB)
3576
0
  if (&from == this) return;
3577
0
  Clear();
3578
0
  MergeFrom(from);
3579
0
}
3580
3581
6.28k
bool ListTabletsResponsePB_StatusAndSchemaPB::IsInitialized() const {
3582
6.28k
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
3583
6.28k
  if (has_tablet_status()) {
3584
6.28k
    if (!this->tablet_status_->IsInitialized()) return false;
3585
6.28k
  }
3586
6.28k
  if (has_schema()) {
3587
6.28k
    if (!this->schema_->IsInitialized()) return false;
3588
6.28k
  }
3589
6.28k
  if (has_partition_schema()) {
3590
6.28k
    if (!this->partition_schema_->IsInitialized()) return false;
3591
6.28k
  }
3592
6.28k
  return true;
3593
6.28k
}
3594
3595
0
void ListTabletsResponsePB_StatusAndSchemaPB::Swap(ListTabletsResponsePB_StatusAndSchemaPB* other) {
3596
0
  if (other == this) return;
3597
0
  InternalSwap(other);
3598
0
}
3599
4
void ListTabletsResponsePB_StatusAndSchemaPB::InternalSwap(ListTabletsResponsePB_StatusAndSchemaPB* other) {
3600
4
  using std::swap;
3601
4
  swap(tablet_status_, other->tablet_status_);
3602
4
  swap(schema_, other->schema_);
3603
4
  swap(partition_schema_, other->partition_schema_);
3604
4
  swap(_has_bits_[0], other->_has_bits_[0]);
3605
4
  _internal_metadata_.Swap(&other->_internal_metadata_);
3606
4
  swap(_cached_size_, other->_cached_size_);
3607
4
}
3608
3609
0
::google::protobuf::Metadata ListTabletsResponsePB_StatusAndSchemaPB::GetMetadata() const {
3610
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3611
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
3612
0
}
3613
3614
3615
// ===================================================================
3616
3617
15.8k
void ListTabletsResponsePB::InitAsDefaultInstance() {
3618
15.8k
  ::yb::tserver::_ListTabletsResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
3619
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
3620
15.8k
}
3621
0
void ListTabletsResponsePB::clear_error() {
3622
0
  if (error_ != NULL) error_->Clear();
3623
0
  clear_has_error();
3624
0
}
3625
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3626
const int ListTabletsResponsePB::kErrorFieldNumber;
3627
const int ListTabletsResponsePB::kStatusAndSchemaFieldNumber;
3628
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3629
3630
ListTabletsResponsePB::ListTabletsResponsePB()
3631
16.2k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3632
432
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3633
432
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsResponsePB();
3634
432
  }
3635
16.2k
  SharedCtor();
3636
  // @@protoc_insertion_point(constructor:yb.tserver.ListTabletsResponsePB)
3637
16.2k
}
3638
ListTabletsResponsePB::ListTabletsResponsePB(const ListTabletsResponsePB& from)
3639
  : ::google::protobuf::Message(),
3640
      _internal_metadata_(NULL),
3641
      _has_bits_(from._has_bits_),
3642
      _cached_size_(0),
3643
0
      status_and_schema_(from.status_and_schema_) {
3644
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3645
0
  if (from.has_error()) {
3646
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
3647
0
  } else {
3648
0
    error_ = NULL;
3649
0
  }
3650
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ListTabletsResponsePB)
3651
0
}
3652
3653
16.2k
void ListTabletsResponsePB::SharedCtor() {
3654
16.2k
  _cached_size_ = 0;
3655
16.2k
  error_ = NULL;
3656
16.2k
}
3657
3658
432
ListTabletsResponsePB::~ListTabletsResponsePB() {
3659
  // @@protoc_insertion_point(destructor:yb.tserver.ListTabletsResponsePB)
3660
432
  SharedDtor();
3661
432
}
3662
3663
432
void ListTabletsResponsePB::SharedDtor() {
3664
432
  if (this != internal_default_instance()) delete error_;
3665
432
}
3666
3667
0
void ListTabletsResponsePB::SetCachedSize(int size) const {
3668
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3669
0
  _cached_size_ = size;
3670
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3671
0
}
3672
0
const ::google::protobuf::Descriptor* ListTabletsResponsePB::descriptor() {
3673
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3674
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3675
0
}
3676
3677
0
const ListTabletsResponsePB& ListTabletsResponsePB::default_instance() {
3678
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsListTabletsResponsePB();
3679
0
  return *internal_default_instance();
3680
0
}
3681
3682
0
ListTabletsResponsePB* ListTabletsResponsePB::New(::google::protobuf::Arena* arena) const {
3683
0
  ListTabletsResponsePB* n = new ListTabletsResponsePB;
3684
0
  if (arena != NULL) {
3685
0
    arena->Own(n);
3686
0
  }
3687
0
  return n;
3688
0
}
3689
3690
213
void ListTabletsResponsePB::Clear() {
3691
// @@protoc_insertion_point(message_clear_start:yb.tserver.ListTabletsResponsePB)
3692
213
  ::google::protobuf::uint32 cached_has_bits = 0;
3693
  // Prevent compiler warnings about cached_has_bits being unused
3694
213
  (void) cached_has_bits;
3695
3696
213
  status_and_schema_.Clear();
3697
213
  cached_has_bits = _has_bits_[0];
3698
213
  if (cached_has_bits & 0x00000001u) {
3699
0
    GOOGLE_DCHECK(error_ != NULL);
3700
0
    error_->Clear();
3701
0
  }
3702
213
  _has_bits_.Clear();
3703
213
  _internal_metadata_.Clear();
3704
213
}
3705
3706
bool ListTabletsResponsePB::MergePartialFromCodedStream(
3707
213
    ::google::protobuf::io::CodedInputStream* input) {
3708
3.14k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3709
213
  ::google::protobuf::uint32 tag;
3710
  // @@protoc_insertion_point(parse_start:yb.tserver.ListTabletsResponsePB)
3711
3.35k
  for (;;) {
3712
3.35k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3713
3.35k
    tag = p.first;
3714
3.35k
    if (!p.second) goto handle_unusual;
3715
3.14k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3716
      // optional .yb.tserver.TabletServerErrorPB error = 1;
3717
0
      case 1: {
3718
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3719
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3720
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3721
0
               input, mutable_error()));
3722
0
        } else {
3723
0
          goto handle_unusual;
3724
0
        }
3725
0
        break;
3726
0
      }
3727
3728
      // repeated .yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB status_and_schema = 2;
3729
3.14k
      case 2: {
3730
3.14k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3731
3.14k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3732
3.14k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_status_and_schema()));
3733
0
        } else {
3734
0
          goto handle_unusual;
3735
0
        }
3736
3.14k
        break;
3737
213
      }
3738
3739
0
      default: {
3740
213
      handle_unusual:
3741
213
        if (tag == 0) {
3742
213
          goto success;
3743
213
        }
3744
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3745
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3746
0
        break;
3747
0
      }
3748
3.14k
    }
3749
3.14k
  }
3750
213
success:
3751
  // @@protoc_insertion_point(parse_success:yb.tserver.ListTabletsResponsePB)
3752
213
  return true;
3753
0
failure:
3754
  // @@protoc_insertion_point(parse_failure:yb.tserver.ListTabletsResponsePB)
3755
0
  return false;
3756
213
#undef DO_
3757
213
}
3758
3759
void ListTabletsResponsePB::SerializeWithCachedSizes(
3760
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3761
  // @@protoc_insertion_point(serialize_start:yb.tserver.ListTabletsResponsePB)
3762
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3763
0
  (void) cached_has_bits;
3764
3765
0
  cached_has_bits = _has_bits_[0];
3766
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3767
0
  if (cached_has_bits & 0x00000001u) {
3768
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3769
0
      1, *this->error_, output);
3770
0
  }
3771
3772
  // repeated .yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB status_and_schema = 2;
3773
0
  for (unsigned int i = 0,
3774
0
      n = static_cast<unsigned int>(this->status_and_schema_size()); i < n; i++) {
3775
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3776
0
      2, this->status_and_schema(static_cast<int>(i)), output);
3777
0
  }
3778
3779
0
  if (_internal_metadata_.have_unknown_fields()) {
3780
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3781
0
        _internal_metadata_.unknown_fields(), output);
3782
0
  }
3783
  // @@protoc_insertion_point(serialize_end:yb.tserver.ListTabletsResponsePB)
3784
0
}
3785
3786
::google::protobuf::uint8* ListTabletsResponsePB::InternalSerializeWithCachedSizesToArray(
3787
213
    bool deterministic, ::google::protobuf::uint8* target) const {
3788
213
  (void)deterministic; // Unused
3789
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ListTabletsResponsePB)
3790
213
  ::google::protobuf::uint32 cached_has_bits = 0;
3791
213
  (void) cached_has_bits;
3792
3793
213
  cached_has_bits = _has_bits_[0];
3794
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3795
213
  if (cached_has_bits & 0x00000001u) {
3796
0
    target = ::google::protobuf::internal::WireFormatLite::
3797
0
      InternalWriteMessageToArray(
3798
0
        1, *this->error_, deterministic, target);
3799
0
  }
3800
3801
  // repeated .yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB status_and_schema = 2;
3802
213
  for (unsigned int i = 0,
3803
3.35k
      n = static_cast<unsigned int>(this->status_and_schema_size()); i < n; i++) {
3804
3.14k
    target = ::google::protobuf::internal::WireFormatLite::
3805
3.14k
      InternalWriteMessageToArray(
3806
3.14k
        2, this->status_and_schema(static_cast<int>(i)), deterministic, target);
3807
3.14k
  }
3808
3809
213
  if (_internal_metadata_.have_unknown_fields()) {
3810
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3811
0
        _internal_metadata_.unknown_fields(), target);
3812
0
  }
3813
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ListTabletsResponsePB)
3814
213
  return target;
3815
213
}
3816
3817
426
size_t ListTabletsResponsePB::ByteSizeLong() const {
3818
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ListTabletsResponsePB)
3819
426
  size_t total_size = 0;
3820
3821
426
  if (_internal_metadata_.have_unknown_fields()) {
3822
0
    total_size +=
3823
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3824
0
        _internal_metadata_.unknown_fields());
3825
0
  }
3826
  // repeated .yb.tserver.ListTabletsResponsePB.StatusAndSchemaPB status_and_schema = 2;
3827
426
  {
3828
426
    unsigned int count = static_cast<unsigned int>(this->status_and_schema_size());
3829
426
    total_size += 1UL * count;
3830
6.71k
    for (unsigned int i = 0; i < count; i++) {
3831
6.28k
      total_size +=
3832
6.28k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
3833
6.28k
          this->status_and_schema(static_cast<int>(i)));
3834
6.28k
    }
3835
426
  }
3836
3837
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3838
426
  if (has_error()) {
3839
0
    total_size += 1 +
3840
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3841
0
        *this->error_);
3842
0
  }
3843
3844
426
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3845
426
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3846
426
  _cached_size_ = cached_size;
3847
426
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3848
426
  return total_size;
3849
426
}
3850
3851
0
void ListTabletsResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3852
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ListTabletsResponsePB)
3853
0
  GOOGLE_DCHECK_NE(&from, this);
3854
0
  const ListTabletsResponsePB* source =
3855
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ListTabletsResponsePB>(
3856
0
          &from);
3857
0
  if (source == NULL) {
3858
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ListTabletsResponsePB)
3859
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3860
0
  } else {
3861
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ListTabletsResponsePB)
3862
0
    MergeFrom(*source);
3863
0
  }
3864
0
}
3865
3866
0
void ListTabletsResponsePB::MergeFrom(const ListTabletsResponsePB& from) {
3867
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ListTabletsResponsePB)
3868
0
  GOOGLE_DCHECK_NE(&from, this);
3869
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3870
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3871
0
  (void) cached_has_bits;
3872
3873
0
  status_and_schema_.MergeFrom(from.status_and_schema_);
3874
0
  if (from.has_error()) {
3875
0
    mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
3876
0
  }
3877
0
}
3878
3879
0
void ListTabletsResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3880
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ListTabletsResponsePB)
3881
0
  if (&from == this) return;
3882
0
  Clear();
3883
0
  MergeFrom(from);
3884
0
}
3885
3886
0
void ListTabletsResponsePB::CopyFrom(const ListTabletsResponsePB& from) {
3887
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ListTabletsResponsePB)
3888
0
  if (&from == this) return;
3889
0
  Clear();
3890
0
  MergeFrom(from);
3891
0
}
3892
3893
426
bool ListTabletsResponsePB::IsInitialized() const {
3894
426
  if (!::google::protobuf::internal::AllAreInitialized(this->status_and_schema())) return false;
3895
426
  if (has_error()) {
3896
0
    if (!this->error_->IsInitialized()) return false;
3897
426
  }
3898
426
  return true;
3899
426
}
3900
3901
0
void ListTabletsResponsePB::Swap(ListTabletsResponsePB* other) {
3902
0
  if (other == this) return;
3903
0
  InternalSwap(other);
3904
0
}
3905
6
void ListTabletsResponsePB::InternalSwap(ListTabletsResponsePB* other) {
3906
6
  using std::swap;
3907
6
  status_and_schema_.InternalSwap(&other->status_and_schema_);
3908
6
  swap(error_, other->error_);
3909
6
  swap(_has_bits_[0], other->_has_bits_[0]);
3910
6
  _internal_metadata_.Swap(&other->_internal_metadata_);
3911
6
  swap(_cached_size_, other->_cached_size_);
3912
6
}
3913
3914
0
::google::protobuf::Metadata ListTabletsResponsePB::GetMetadata() const {
3915
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3916
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
3917
0
}
3918
3919
3920
// ===================================================================
3921
3922
15.8k
void NoOpRequestPB::InitAsDefaultInstance() {
3923
15.8k
}
3924
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3925
const int NoOpRequestPB::kTabletIdFieldNumber;
3926
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3927
3928
NoOpRequestPB::NoOpRequestPB()
3929
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3930
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3931
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsNoOpRequestPB();
3932
0
  }
3933
15.8k
  SharedCtor();
3934
  // @@protoc_insertion_point(constructor:yb.tserver.NoOpRequestPB)
3935
15.8k
}
3936
NoOpRequestPB::NoOpRequestPB(const NoOpRequestPB& from)
3937
  : ::google::protobuf::Message(),
3938
      _internal_metadata_(NULL),
3939
      _has_bits_(from._has_bits_),
3940
0
      _cached_size_(0) {
3941
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3942
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3943
0
  if (from.has_tablet_id()) {
3944
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
3945
0
  }
3946
  // @@protoc_insertion_point(copy_constructor:yb.tserver.NoOpRequestPB)
3947
0
}
3948
3949
15.8k
void NoOpRequestPB::SharedCtor() {
3950
15.8k
  _cached_size_ = 0;
3951
15.8k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3952
15.8k
}
3953
3954
0
NoOpRequestPB::~NoOpRequestPB() {
3955
  // @@protoc_insertion_point(destructor:yb.tserver.NoOpRequestPB)
3956
0
  SharedDtor();
3957
0
}
3958
3959
0
void NoOpRequestPB::SharedDtor() {
3960
0
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3961
0
}
3962
3963
0
void NoOpRequestPB::SetCachedSize(int size) const {
3964
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3965
0
  _cached_size_ = size;
3966
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3967
0
}
3968
0
const ::google::protobuf::Descriptor* NoOpRequestPB::descriptor() {
3969
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
3970
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3971
0
}
3972
3973
0
const NoOpRequestPB& NoOpRequestPB::default_instance() {
3974
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsNoOpRequestPB();
3975
0
  return *internal_default_instance();
3976
0
}
3977
3978
0
NoOpRequestPB* NoOpRequestPB::New(::google::protobuf::Arena* arena) const {
3979
0
  NoOpRequestPB* n = new NoOpRequestPB;
3980
0
  if (arena != NULL) {
3981
0
    arena->Own(n);
3982
0
  }
3983
0
  return n;
3984
0
}
3985
3986
0
void NoOpRequestPB::Clear() {
3987
// @@protoc_insertion_point(message_clear_start:yb.tserver.NoOpRequestPB)
3988
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3989
  // Prevent compiler warnings about cached_has_bits being unused
3990
0
  (void) cached_has_bits;
3991
3992
0
  cached_has_bits = _has_bits_[0];
3993
0
  if (cached_has_bits & 0x00000001u) {
3994
0
    GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3995
0
    (*tablet_id_.UnsafeRawStringPointer())->clear();
3996
0
  }
3997
0
  _has_bits_.Clear();
3998
0
  _internal_metadata_.Clear();
3999
0
}
4000
4001
bool NoOpRequestPB::MergePartialFromCodedStream(
4002
0
    ::google::protobuf::io::CodedInputStream* input) {
4003
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4004
0
  ::google::protobuf::uint32 tag;
4005
  // @@protoc_insertion_point(parse_start:yb.tserver.NoOpRequestPB)
4006
0
  for (;;) {
4007
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4008
0
    tag = p.first;
4009
0
    if (!p.second) goto handle_unusual;
4010
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4011
      // optional bytes tablet_id = 1;
4012
0
      case 1: {
4013
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4014
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4015
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4016
0
                input, this->mutable_tablet_id()));
4017
0
        } else {
4018
0
          goto handle_unusual;
4019
0
        }
4020
0
        break;
4021
0
      }
4022
4023
0
      default: {
4024
0
      handle_unusual:
4025
0
        if (tag == 0) {
4026
0
          goto success;
4027
0
        }
4028
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4029
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4030
0
        break;
4031
0
      }
4032
0
    }
4033
0
  }
4034
0
success:
4035
  // @@protoc_insertion_point(parse_success:yb.tserver.NoOpRequestPB)
4036
0
  return true;
4037
0
failure:
4038
  // @@protoc_insertion_point(parse_failure:yb.tserver.NoOpRequestPB)
4039
0
  return false;
4040
0
#undef DO_
4041
0
}
4042
4043
void NoOpRequestPB::SerializeWithCachedSizes(
4044
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4045
  // @@protoc_insertion_point(serialize_start:yb.tserver.NoOpRequestPB)
4046
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4047
0
  (void) cached_has_bits;
4048
4049
0
  cached_has_bits = _has_bits_[0];
4050
  // optional bytes tablet_id = 1;
4051
0
  if (cached_has_bits & 0x00000001u) {
4052
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4053
0
      1, this->tablet_id(), output);
4054
0
  }
4055
4056
0
  if (_internal_metadata_.have_unknown_fields()) {
4057
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4058
0
        _internal_metadata_.unknown_fields(), output);
4059
0
  }
4060
  // @@protoc_insertion_point(serialize_end:yb.tserver.NoOpRequestPB)
4061
0
}
4062
4063
::google::protobuf::uint8* NoOpRequestPB::InternalSerializeWithCachedSizesToArray(
4064
0
    bool deterministic, ::google::protobuf::uint8* target) const {
4065
0
  (void)deterministic; // Unused
4066
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.NoOpRequestPB)
4067
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4068
0
  (void) cached_has_bits;
4069
4070
0
  cached_has_bits = _has_bits_[0];
4071
  // optional bytes tablet_id = 1;
4072
0
  if (cached_has_bits & 0x00000001u) {
4073
0
    target =
4074
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4075
0
        1, this->tablet_id(), target);
4076
0
  }
4077
4078
0
  if (_internal_metadata_.have_unknown_fields()) {
4079
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4080
0
        _internal_metadata_.unknown_fields(), target);
4081
0
  }
4082
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.NoOpRequestPB)
4083
0
  return target;
4084
0
}
4085
4086
0
size_t NoOpRequestPB::ByteSizeLong() const {
4087
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.NoOpRequestPB)
4088
0
  size_t total_size = 0;
4089
4090
0
  if (_internal_metadata_.have_unknown_fields()) {
4091
0
    total_size +=
4092
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4093
0
        _internal_metadata_.unknown_fields());
4094
0
  }
4095
  // optional bytes tablet_id = 1;
4096
0
  if (has_tablet_id()) {
4097
0
    total_size += 1 +
4098
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4099
0
        this->tablet_id());
4100
0
  }
4101
4102
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4103
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4104
0
  _cached_size_ = cached_size;
4105
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4106
0
  return total_size;
4107
0
}
4108
4109
0
void NoOpRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4110
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.NoOpRequestPB)
4111
0
  GOOGLE_DCHECK_NE(&from, this);
4112
0
  const NoOpRequestPB* source =
4113
0
      ::google::protobuf::internal::DynamicCastToGenerated<const NoOpRequestPB>(
4114
0
          &from);
4115
0
  if (source == NULL) {
4116
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.NoOpRequestPB)
4117
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4118
0
  } else {
4119
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.NoOpRequestPB)
4120
0
    MergeFrom(*source);
4121
0
  }
4122
0
}
4123
4124
0
void NoOpRequestPB::MergeFrom(const NoOpRequestPB& from) {
4125
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.NoOpRequestPB)
4126
0
  GOOGLE_DCHECK_NE(&from, this);
4127
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4128
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4129
0
  (void) cached_has_bits;
4130
4131
0
  if (from.has_tablet_id()) {
4132
0
    set_has_tablet_id();
4133
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
4134
0
  }
4135
0
}
4136
4137
0
void NoOpRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4138
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.NoOpRequestPB)
4139
0
  if (&from == this) return;
4140
0
  Clear();
4141
0
  MergeFrom(from);
4142
0
}
4143
4144
0
void NoOpRequestPB::CopyFrom(const NoOpRequestPB& from) {
4145
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.NoOpRequestPB)
4146
0
  if (&from == this) return;
4147
0
  Clear();
4148
0
  MergeFrom(from);
4149
0
}
4150
4151
0
bool NoOpRequestPB::IsInitialized() const {
4152
0
  return true;
4153
0
}
4154
4155
0
void NoOpRequestPB::Swap(NoOpRequestPB* other) {
4156
0
  if (other == this) return;
4157
0
  InternalSwap(other);
4158
0
}
4159
0
void NoOpRequestPB::InternalSwap(NoOpRequestPB* other) {
4160
0
  using std::swap;
4161
0
  tablet_id_.Swap(&other->tablet_id_);
4162
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4163
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4164
0
  swap(_cached_size_, other->_cached_size_);
4165
0
}
4166
4167
0
::google::protobuf::Metadata NoOpRequestPB::GetMetadata() const {
4168
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4169
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
4170
0
}
4171
4172
4173
// ===================================================================
4174
4175
15.8k
void NoOpResponsePB::InitAsDefaultInstance() {
4176
15.8k
  ::yb::tserver::_NoOpResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
4177
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
4178
15.8k
}
4179
0
void NoOpResponsePB::clear_error() {
4180
0
  if (error_ != NULL) error_->Clear();
4181
0
  clear_has_error();
4182
0
}
4183
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4184
const int NoOpResponsePB::kErrorFieldNumber;
4185
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4186
4187
NoOpResponsePB::NoOpResponsePB()
4188
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4189
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4190
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsNoOpResponsePB();
4191
0
  }
4192
15.8k
  SharedCtor();
4193
  // @@protoc_insertion_point(constructor:yb.tserver.NoOpResponsePB)
4194
15.8k
}
4195
NoOpResponsePB::NoOpResponsePB(const NoOpResponsePB& from)
4196
  : ::google::protobuf::Message(),
4197
      _internal_metadata_(NULL),
4198
      _has_bits_(from._has_bits_),
4199
0
      _cached_size_(0) {
4200
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4201
0
  if (from.has_error()) {
4202
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
4203
0
  } else {
4204
0
    error_ = NULL;
4205
0
  }
4206
  // @@protoc_insertion_point(copy_constructor:yb.tserver.NoOpResponsePB)
4207
0
}
4208
4209
15.8k
void NoOpResponsePB::SharedCtor() {
4210
15.8k
  _cached_size_ = 0;
4211
15.8k
  error_ = NULL;
4212
15.8k
}
4213
4214
0
NoOpResponsePB::~NoOpResponsePB() {
4215
  // @@protoc_insertion_point(destructor:yb.tserver.NoOpResponsePB)
4216
0
  SharedDtor();
4217
0
}
4218
4219
0
void NoOpResponsePB::SharedDtor() {
4220
0
  if (this != internal_default_instance()) delete error_;
4221
0
}
4222
4223
0
void NoOpResponsePB::SetCachedSize(int size) const {
4224
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4225
0
  _cached_size_ = size;
4226
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4227
0
}
4228
0
const ::google::protobuf::Descriptor* NoOpResponsePB::descriptor() {
4229
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4230
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4231
0
}
4232
4233
0
const NoOpResponsePB& NoOpResponsePB::default_instance() {
4234
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsNoOpResponsePB();
4235
0
  return *internal_default_instance();
4236
0
}
4237
4238
0
NoOpResponsePB* NoOpResponsePB::New(::google::protobuf::Arena* arena) const {
4239
0
  NoOpResponsePB* n = new NoOpResponsePB;
4240
0
  if (arena != NULL) {
4241
0
    arena->Own(n);
4242
0
  }
4243
0
  return n;
4244
0
}
4245
4246
0
void NoOpResponsePB::Clear() {
4247
// @@protoc_insertion_point(message_clear_start:yb.tserver.NoOpResponsePB)
4248
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4249
  // Prevent compiler warnings about cached_has_bits being unused
4250
0
  (void) cached_has_bits;
4251
4252
0
  cached_has_bits = _has_bits_[0];
4253
0
  if (cached_has_bits & 0x00000001u) {
4254
0
    GOOGLE_DCHECK(error_ != NULL);
4255
0
    error_->Clear();
4256
0
  }
4257
0
  _has_bits_.Clear();
4258
0
  _internal_metadata_.Clear();
4259
0
}
4260
4261
bool NoOpResponsePB::MergePartialFromCodedStream(
4262
0
    ::google::protobuf::io::CodedInputStream* input) {
4263
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4264
0
  ::google::protobuf::uint32 tag;
4265
  // @@protoc_insertion_point(parse_start:yb.tserver.NoOpResponsePB)
4266
0
  for (;;) {
4267
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4268
0
    tag = p.first;
4269
0
    if (!p.second) goto handle_unusual;
4270
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4271
      // optional .yb.tserver.TabletServerErrorPB error = 1;
4272
0
      case 1: {
4273
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4274
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4275
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4276
0
               input, mutable_error()));
4277
0
        } else {
4278
0
          goto handle_unusual;
4279
0
        }
4280
0
        break;
4281
0
      }
4282
4283
0
      default: {
4284
0
      handle_unusual:
4285
0
        if (tag == 0) {
4286
0
          goto success;
4287
0
        }
4288
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4289
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4290
0
        break;
4291
0
      }
4292
0
    }
4293
0
  }
4294
0
success:
4295
  // @@protoc_insertion_point(parse_success:yb.tserver.NoOpResponsePB)
4296
0
  return true;
4297
0
failure:
4298
  // @@protoc_insertion_point(parse_failure:yb.tserver.NoOpResponsePB)
4299
0
  return false;
4300
0
#undef DO_
4301
0
}
4302
4303
void NoOpResponsePB::SerializeWithCachedSizes(
4304
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4305
  // @@protoc_insertion_point(serialize_start:yb.tserver.NoOpResponsePB)
4306
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4307
0
  (void) cached_has_bits;
4308
4309
0
  cached_has_bits = _has_bits_[0];
4310
  // optional .yb.tserver.TabletServerErrorPB error = 1;
4311
0
  if (cached_has_bits & 0x00000001u) {
4312
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4313
0
      1, *this->error_, output);
4314
0
  }
4315
4316
0
  if (_internal_metadata_.have_unknown_fields()) {
4317
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4318
0
        _internal_metadata_.unknown_fields(), output);
4319
0
  }
4320
  // @@protoc_insertion_point(serialize_end:yb.tserver.NoOpResponsePB)
4321
0
}
4322
4323
::google::protobuf::uint8* NoOpResponsePB::InternalSerializeWithCachedSizesToArray(
4324
0
    bool deterministic, ::google::protobuf::uint8* target) const {
4325
0
  (void)deterministic; // Unused
4326
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.NoOpResponsePB)
4327
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4328
0
  (void) cached_has_bits;
4329
4330
0
  cached_has_bits = _has_bits_[0];
4331
  // optional .yb.tserver.TabletServerErrorPB error = 1;
4332
0
  if (cached_has_bits & 0x00000001u) {
4333
0
    target = ::google::protobuf::internal::WireFormatLite::
4334
0
      InternalWriteMessageToArray(
4335
0
        1, *this->error_, deterministic, target);
4336
0
  }
4337
4338
0
  if (_internal_metadata_.have_unknown_fields()) {
4339
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4340
0
        _internal_metadata_.unknown_fields(), target);
4341
0
  }
4342
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.NoOpResponsePB)
4343
0
  return target;
4344
0
}
4345
4346
0
size_t NoOpResponsePB::ByteSizeLong() const {
4347
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.NoOpResponsePB)
4348
0
  size_t total_size = 0;
4349
4350
0
  if (_internal_metadata_.have_unknown_fields()) {
4351
0
    total_size +=
4352
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4353
0
        _internal_metadata_.unknown_fields());
4354
0
  }
4355
  // optional .yb.tserver.TabletServerErrorPB error = 1;
4356
0
  if (has_error()) {
4357
0
    total_size += 1 +
4358
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4359
0
        *this->error_);
4360
0
  }
4361
4362
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4363
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4364
0
  _cached_size_ = cached_size;
4365
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4366
0
  return total_size;
4367
0
}
4368
4369
0
void NoOpResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4370
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.NoOpResponsePB)
4371
0
  GOOGLE_DCHECK_NE(&from, this);
4372
0
  const NoOpResponsePB* source =
4373
0
      ::google::protobuf::internal::DynamicCastToGenerated<const NoOpResponsePB>(
4374
0
          &from);
4375
0
  if (source == NULL) {
4376
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.NoOpResponsePB)
4377
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4378
0
  } else {
4379
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.NoOpResponsePB)
4380
0
    MergeFrom(*source);
4381
0
  }
4382
0
}
4383
4384
0
void NoOpResponsePB::MergeFrom(const NoOpResponsePB& from) {
4385
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.NoOpResponsePB)
4386
0
  GOOGLE_DCHECK_NE(&from, this);
4387
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4388
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4389
0
  (void) cached_has_bits;
4390
4391
0
  if (from.has_error()) {
4392
0
    mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
4393
0
  }
4394
0
}
4395
4396
0
void NoOpResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4397
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.NoOpResponsePB)
4398
0
  if (&from == this) return;
4399
0
  Clear();
4400
0
  MergeFrom(from);
4401
0
}
4402
4403
0
void NoOpResponsePB::CopyFrom(const NoOpResponsePB& from) {
4404
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.NoOpResponsePB)
4405
0
  if (&from == this) return;
4406
0
  Clear();
4407
0
  MergeFrom(from);
4408
0
}
4409
4410
0
bool NoOpResponsePB::IsInitialized() const {
4411
0
  if (has_error()) {
4412
0
    if (!this->error_->IsInitialized()) return false;
4413
0
  }
4414
0
  return true;
4415
0
}
4416
4417
0
void NoOpResponsePB::Swap(NoOpResponsePB* other) {
4418
0
  if (other == this) return;
4419
0
  InternalSwap(other);
4420
0
}
4421
0
void NoOpResponsePB::InternalSwap(NoOpResponsePB* other) {
4422
0
  using std::swap;
4423
0
  swap(error_, other->error_);
4424
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4425
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4426
0
  swap(_cached_size_, other->_cached_size_);
4427
0
}
4428
4429
0
::google::protobuf::Metadata NoOpResponsePB::GetMetadata() const {
4430
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4431
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
4432
0
}
4433
4434
4435
// ===================================================================
4436
4437
15.8k
void VerifyTableRowRangeRequestPB::InitAsDefaultInstance() {
4438
15.8k
}
4439
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4440
const int VerifyTableRowRangeRequestPB::kTabletIdFieldNumber;
4441
const int VerifyTableRowRangeRequestPB::kIndexIdsFieldNumber;
4442
const int VerifyTableRowRangeRequestPB::kStartKeyFieldNumber;
4443
const int VerifyTableRowRangeRequestPB::kNumRowsFieldNumber;
4444
const int VerifyTableRowRangeRequestPB::kReadTimeFieldNumber;
4445
const int VerifyTableRowRangeRequestPB::kPropagatedHybridTimeFieldNumber;
4446
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4447
4448
VerifyTableRowRangeRequestPB::VerifyTableRowRangeRequestPB()
4449
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4450
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4451
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsVerifyTableRowRangeRequestPB();
4452
0
  }
4453
15.8k
  SharedCtor();
4454
  // @@protoc_insertion_point(constructor:yb.tserver.VerifyTableRowRangeRequestPB)
4455
15.8k
}
4456
VerifyTableRowRangeRequestPB::VerifyTableRowRangeRequestPB(const VerifyTableRowRangeRequestPB& from)
4457
  : ::google::protobuf::Message(),
4458
      _internal_metadata_(NULL),
4459
      _has_bits_(from._has_bits_),
4460
      _cached_size_(0),
4461
0
      index_ids_(from.index_ids_) {
4462
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4463
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4464
0
  if (from.has_tablet_id()) {
4465
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
4466
0
  }
4467
0
  start_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4468
0
  if (from.has_start_key()) {
4469
0
    start_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.start_key_);
4470
0
  }
4471
0
  ::memcpy(&read_time_, &from.read_time_,
4472
0
    static_cast<size_t>(reinterpret_cast<char*>(&num_rows_) -
4473
0
    reinterpret_cast<char*>(&read_time_)) + sizeof(num_rows_));
4474
  // @@protoc_insertion_point(copy_constructor:yb.tserver.VerifyTableRowRangeRequestPB)
4475
0
}
4476
4477
15.8k
void VerifyTableRowRangeRequestPB::SharedCtor() {
4478
15.8k
  _cached_size_ = 0;
4479
15.8k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4480
15.8k
  start_key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4481
15.8k
  ::memset(&read_time_, 0, static_cast<size_t>(
4482
15.8k
      reinterpret_cast<char*>(&num_rows_) -
4483
15.8k
      reinterpret_cast<char*>(&read_time_)) + sizeof(num_rows_));
4484
15.8k
}
4485
4486
0
VerifyTableRowRangeRequestPB::~VerifyTableRowRangeRequestPB() {
4487
  // @@protoc_insertion_point(destructor:yb.tserver.VerifyTableRowRangeRequestPB)
4488
0
  SharedDtor();
4489
0
}
4490
4491
0
void VerifyTableRowRangeRequestPB::SharedDtor() {
4492
0
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4493
0
  start_key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4494
0
}
4495
4496
0
void VerifyTableRowRangeRequestPB::SetCachedSize(int size) const {
4497
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4498
0
  _cached_size_ = size;
4499
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4500
0
}
4501
0
const ::google::protobuf::Descriptor* VerifyTableRowRangeRequestPB::descriptor() {
4502
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4503
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4504
0
}
4505
4506
0
const VerifyTableRowRangeRequestPB& VerifyTableRowRangeRequestPB::default_instance() {
4507
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsVerifyTableRowRangeRequestPB();
4508
0
  return *internal_default_instance();
4509
0
}
4510
4511
0
VerifyTableRowRangeRequestPB* VerifyTableRowRangeRequestPB::New(::google::protobuf::Arena* arena) const {
4512
0
  VerifyTableRowRangeRequestPB* n = new VerifyTableRowRangeRequestPB;
4513
0
  if (arena != NULL) {
4514
0
    arena->Own(n);
4515
0
  }
4516
0
  return n;
4517
0
}
4518
4519
0
void VerifyTableRowRangeRequestPB::Clear() {
4520
// @@protoc_insertion_point(message_clear_start:yb.tserver.VerifyTableRowRangeRequestPB)
4521
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4522
  // Prevent compiler warnings about cached_has_bits being unused
4523
0
  (void) cached_has_bits;
4524
4525
0
  index_ids_.Clear();
4526
0
  cached_has_bits = _has_bits_[0];
4527
0
  if (cached_has_bits & 3u) {
4528
0
    if (cached_has_bits & 0x00000001u) {
4529
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4530
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
4531
0
    }
4532
0
    if (cached_has_bits & 0x00000002u) {
4533
0
      GOOGLE_DCHECK(!start_key_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4534
0
      (*start_key_.UnsafeRawStringPointer())->clear();
4535
0
    }
4536
0
  }
4537
0
  if (cached_has_bits & 28u) {
4538
0
    ::memset(&read_time_, 0, static_cast<size_t>(
4539
0
        reinterpret_cast<char*>(&num_rows_) -
4540
0
        reinterpret_cast<char*>(&read_time_)) + sizeof(num_rows_));
4541
0
  }
4542
0
  _has_bits_.Clear();
4543
0
  _internal_metadata_.Clear();
4544
0
}
4545
4546
bool VerifyTableRowRangeRequestPB::MergePartialFromCodedStream(
4547
0
    ::google::protobuf::io::CodedInputStream* input) {
4548
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4549
0
  ::google::protobuf::uint32 tag;
4550
  // @@protoc_insertion_point(parse_start:yb.tserver.VerifyTableRowRangeRequestPB)
4551
0
  for (;;) {
4552
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4553
0
    tag = p.first;
4554
0
    if (!p.second) goto handle_unusual;
4555
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4556
      // required bytes tablet_id = 1;
4557
0
      case 1: {
4558
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4559
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4560
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4561
0
                input, this->mutable_tablet_id()));
4562
0
        } else {
4563
0
          goto handle_unusual;
4564
0
        }
4565
0
        break;
4566
0
      }
4567
4568
      // repeated bytes index_ids = 2;
4569
0
      case 2: {
4570
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4571
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
4572
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4573
0
                input, this->add_index_ids()));
4574
0
        } else {
4575
0
          goto handle_unusual;
4576
0
        }
4577
0
        break;
4578
0
      }
4579
4580
      // optional bytes start_key = 3;
4581
0
      case 3: {
4582
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4583
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
4584
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4585
0
                input, this->mutable_start_key()));
4586
0
        } else {
4587
0
          goto handle_unusual;
4588
0
        }
4589
0
        break;
4590
0
      }
4591
4592
      // optional uint32 num_rows = 4;
4593
0
      case 4: {
4594
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4595
0
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
4596
0
          set_has_num_rows();
4597
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4598
0
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
4599
0
                 input, &num_rows_)));
4600
0
        } else {
4601
0
          goto handle_unusual;
4602
0
        }
4603
0
        break;
4604
0
      }
4605
4606
      // optional fixed64 read_time = 5;
4607
0
      case 5: {
4608
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4609
0
            static_cast< ::google::protobuf::uint8>(41u /* 41 & 0xFF */)) {
4610
0
          set_has_read_time();
4611
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4612
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4613
0
                 input, &read_time_)));
4614
0
        } else {
4615
0
          goto handle_unusual;
4616
0
        }
4617
0
        break;
4618
0
      }
4619
4620
      // optional fixed64 propagated_hybrid_time = 6;
4621
0
      case 6: {
4622
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4623
0
            static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) {
4624
0
          set_has_propagated_hybrid_time();
4625
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4626
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
4627
0
                 input, &propagated_hybrid_time_)));
4628
0
        } else {
4629
0
          goto handle_unusual;
4630
0
        }
4631
0
        break;
4632
0
      }
4633
4634
0
      default: {
4635
0
      handle_unusual:
4636
0
        if (tag == 0) {
4637
0
          goto success;
4638
0
        }
4639
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4640
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4641
0
        break;
4642
0
      }
4643
0
    }
4644
0
  }
4645
0
success:
4646
  // @@protoc_insertion_point(parse_success:yb.tserver.VerifyTableRowRangeRequestPB)
4647
0
  return true;
4648
0
failure:
4649
  // @@protoc_insertion_point(parse_failure:yb.tserver.VerifyTableRowRangeRequestPB)
4650
0
  return false;
4651
0
#undef DO_
4652
0
}
4653
4654
void VerifyTableRowRangeRequestPB::SerializeWithCachedSizes(
4655
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4656
  // @@protoc_insertion_point(serialize_start:yb.tserver.VerifyTableRowRangeRequestPB)
4657
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4658
0
  (void) cached_has_bits;
4659
4660
0
  cached_has_bits = _has_bits_[0];
4661
  // required bytes tablet_id = 1;
4662
0
  if (cached_has_bits & 0x00000001u) {
4663
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4664
0
      1, this->tablet_id(), output);
4665
0
  }
4666
4667
  // repeated bytes index_ids = 2;
4668
0
  for (int i = 0, n = this->index_ids_size(); i < n; i++) {
4669
0
    ::google::protobuf::internal::WireFormatLite::WriteBytes(
4670
0
      2, this->index_ids(i), output);
4671
0
  }
4672
4673
  // optional bytes start_key = 3;
4674
0
  if (cached_has_bits & 0x00000002u) {
4675
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4676
0
      3, this->start_key(), output);
4677
0
  }
4678
4679
  // optional uint32 num_rows = 4;
4680
0
  if (cached_has_bits & 0x00000010u) {
4681
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->num_rows(), output);
4682
0
  }
4683
4684
  // optional fixed64 read_time = 5;
4685
0
  if (cached_has_bits & 0x00000004u) {
4686
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(5, this->read_time(), output);
4687
0
  }
4688
4689
  // optional fixed64 propagated_hybrid_time = 6;
4690
0
  if (cached_has_bits & 0x00000008u) {
4691
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(6, this->propagated_hybrid_time(), output);
4692
0
  }
4693
4694
0
  if (_internal_metadata_.have_unknown_fields()) {
4695
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4696
0
        _internal_metadata_.unknown_fields(), output);
4697
0
  }
4698
  // @@protoc_insertion_point(serialize_end:yb.tserver.VerifyTableRowRangeRequestPB)
4699
0
}
4700
4701
::google::protobuf::uint8* VerifyTableRowRangeRequestPB::InternalSerializeWithCachedSizesToArray(
4702
0
    bool deterministic, ::google::protobuf::uint8* target) const {
4703
0
  (void)deterministic; // Unused
4704
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.VerifyTableRowRangeRequestPB)
4705
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4706
0
  (void) cached_has_bits;
4707
4708
0
  cached_has_bits = _has_bits_[0];
4709
  // required bytes tablet_id = 1;
4710
0
  if (cached_has_bits & 0x00000001u) {
4711
0
    target =
4712
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4713
0
        1, this->tablet_id(), target);
4714
0
  }
4715
4716
  // repeated bytes index_ids = 2;
4717
0
  for (int i = 0, n = this->index_ids_size(); i < n; i++) {
4718
0
    target = ::google::protobuf::internal::WireFormatLite::
4719
0
      WriteBytesToArray(2, this->index_ids(i), target);
4720
0
  }
4721
4722
  // optional bytes start_key = 3;
4723
0
  if (cached_has_bits & 0x00000002u) {
4724
0
    target =
4725
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4726
0
        3, this->start_key(), target);
4727
0
  }
4728
4729
  // optional uint32 num_rows = 4;
4730
0
  if (cached_has_bits & 0x00000010u) {
4731
0
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->num_rows(), target);
4732
0
  }
4733
4734
  // optional fixed64 read_time = 5;
4735
0
  if (cached_has_bits & 0x00000004u) {
4736
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(5, this->read_time(), target);
4737
0
  }
4738
4739
  // optional fixed64 propagated_hybrid_time = 6;
4740
0
  if (cached_has_bits & 0x00000008u) {
4741
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(6, this->propagated_hybrid_time(), target);
4742
0
  }
4743
4744
0
  if (_internal_metadata_.have_unknown_fields()) {
4745
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4746
0
        _internal_metadata_.unknown_fields(), target);
4747
0
  }
4748
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.VerifyTableRowRangeRequestPB)
4749
0
  return target;
4750
0
}
4751
4752
0
size_t VerifyTableRowRangeRequestPB::ByteSizeLong() const {
4753
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.VerifyTableRowRangeRequestPB)
4754
0
  size_t total_size = 0;
4755
4756
0
  if (_internal_metadata_.have_unknown_fields()) {
4757
0
    total_size +=
4758
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4759
0
        _internal_metadata_.unknown_fields());
4760
0
  }
4761
  // required bytes tablet_id = 1;
4762
0
  if (has_tablet_id()) {
4763
0
    total_size += 1 +
4764
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4765
0
        this->tablet_id());
4766
0
  }
4767
  // repeated bytes index_ids = 2;
4768
0
  total_size += 1 *
4769
0
      ::google::protobuf::internal::FromIntSize(this->index_ids_size());
4770
0
  for (int i = 0, n = this->index_ids_size(); i < n; i++) {
4771
0
    total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(
4772
0
      this->index_ids(i));
4773
0
  }
4774
4775
0
  if (_has_bits_[0 / 32] & 30u) {
4776
    // optional bytes start_key = 3;
4777
0
    if (has_start_key()) {
4778
0
      total_size += 1 +
4779
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
4780
0
          this->start_key());
4781
0
    }
4782
4783
    // optional fixed64 read_time = 5;
4784
0
    if (has_read_time()) {
4785
0
      total_size += 1 + 8;
4786
0
    }
4787
4788
    // optional fixed64 propagated_hybrid_time = 6;
4789
0
    if (has_propagated_hybrid_time()) {
4790
0
      total_size += 1 + 8;
4791
0
    }
4792
4793
    // optional uint32 num_rows = 4;
4794
0
    if (has_num_rows()) {
4795
0
      total_size += 1 +
4796
0
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
4797
0
          this->num_rows());
4798
0
    }
4799
4800
0
  }
4801
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4802
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4803
0
  _cached_size_ = cached_size;
4804
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4805
0
  return total_size;
4806
0
}
4807
4808
0
void VerifyTableRowRangeRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4809
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.VerifyTableRowRangeRequestPB)
4810
0
  GOOGLE_DCHECK_NE(&from, this);
4811
0
  const VerifyTableRowRangeRequestPB* source =
4812
0
      ::google::protobuf::internal::DynamicCastToGenerated<const VerifyTableRowRangeRequestPB>(
4813
0
          &from);
4814
0
  if (source == NULL) {
4815
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.VerifyTableRowRangeRequestPB)
4816
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4817
0
  } else {
4818
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.VerifyTableRowRangeRequestPB)
4819
0
    MergeFrom(*source);
4820
0
  }
4821
0
}
4822
4823
0
void VerifyTableRowRangeRequestPB::MergeFrom(const VerifyTableRowRangeRequestPB& from) {
4824
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.VerifyTableRowRangeRequestPB)
4825
0
  GOOGLE_DCHECK_NE(&from, this);
4826
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4827
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4828
0
  (void) cached_has_bits;
4829
4830
0
  index_ids_.MergeFrom(from.index_ids_);
4831
0
  cached_has_bits = from._has_bits_[0];
4832
0
  if (cached_has_bits & 31u) {
4833
0
    if (cached_has_bits & 0x00000001u) {
4834
0
      set_has_tablet_id();
4835
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
4836
0
    }
4837
0
    if (cached_has_bits & 0x00000002u) {
4838
0
      set_has_start_key();
4839
0
      start_key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.start_key_);
4840
0
    }
4841
0
    if (cached_has_bits & 0x00000004u) {
4842
0
      read_time_ = from.read_time_;
4843
0
    }
4844
0
    if (cached_has_bits & 0x00000008u) {
4845
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
4846
0
    }
4847
0
    if (cached_has_bits & 0x00000010u) {
4848
0
      num_rows_ = from.num_rows_;
4849
0
    }
4850
0
    _has_bits_[0] |= cached_has_bits;
4851
0
  }
4852
0
}
4853
4854
0
void VerifyTableRowRangeRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4855
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.VerifyTableRowRangeRequestPB)
4856
0
  if (&from == this) return;
4857
0
  Clear();
4858
0
  MergeFrom(from);
4859
0
}
4860
4861
0
void VerifyTableRowRangeRequestPB::CopyFrom(const VerifyTableRowRangeRequestPB& from) {
4862
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.VerifyTableRowRangeRequestPB)
4863
0
  if (&from == this) return;
4864
0
  Clear();
4865
0
  MergeFrom(from);
4866
0
}
4867
4868
0
bool VerifyTableRowRangeRequestPB::IsInitialized() const {
4869
0
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
4870
0
  return true;
4871
0
}
4872
4873
0
void VerifyTableRowRangeRequestPB::Swap(VerifyTableRowRangeRequestPB* other) {
4874
0
  if (other == this) return;
4875
0
  InternalSwap(other);
4876
0
}
4877
0
void VerifyTableRowRangeRequestPB::InternalSwap(VerifyTableRowRangeRequestPB* other) {
4878
0
  using std::swap;
4879
0
  index_ids_.InternalSwap(&other->index_ids_);
4880
0
  tablet_id_.Swap(&other->tablet_id_);
4881
0
  start_key_.Swap(&other->start_key_);
4882
0
  swap(read_time_, other->read_time_);
4883
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
4884
0
  swap(num_rows_, other->num_rows_);
4885
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4886
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4887
0
  swap(_cached_size_, other->_cached_size_);
4888
0
}
4889
4890
0
::google::protobuf::Metadata VerifyTableRowRangeRequestPB::GetMetadata() const {
4891
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4892
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
4893
0
}
4894
4895
4896
// ===================================================================
4897
4898
15.8k
VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse() {}
4899
0
VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
4900
0
void VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::MergeFrom(const VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse& other) {
4901
0
  MergeFromInternal(other);
4902
0
}
4903
0
::google::protobuf::Metadata VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::GetMetadata() const {
4904
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4905
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[9];
4906
0
}
4907
void VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::MergeFrom(
4908
0
    const ::google::protobuf::Message& other) {
4909
0
  ::google::protobuf::Message::MergeFrom(other);
4910
0
}
4911
4912
4913
// ===================================================================
4914
4915
15.8k
void VerifyTableRowRangeResponsePB::InitAsDefaultInstance() {
4916
15.8k
  ::yb::tserver::_VerifyTableRowRangeResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
4917
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
4918
15.8k
}
4919
0
void VerifyTableRowRangeResponsePB::clear_error() {
4920
0
  if (error_ != NULL) error_->Clear();
4921
0
  clear_has_error();
4922
0
}
4923
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4924
const int VerifyTableRowRangeResponsePB::kErrorFieldNumber;
4925
const int VerifyTableRowRangeResponsePB::kConsistencyStatsFieldNumber;
4926
const int VerifyTableRowRangeResponsePB::kVerifiedUntilFieldNumber;
4927
const int VerifyTableRowRangeResponsePB::kPropagatedHybridTimeFieldNumber;
4928
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4929
4930
VerifyTableRowRangeResponsePB::VerifyTableRowRangeResponsePB()
4931
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4932
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4933
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsVerifyTableRowRangeResponsePB();
4934
0
  }
4935
15.8k
  SharedCtor();
4936
  // @@protoc_insertion_point(constructor:yb.tserver.VerifyTableRowRangeResponsePB)
4937
15.8k
}
4938
VerifyTableRowRangeResponsePB::VerifyTableRowRangeResponsePB(const VerifyTableRowRangeResponsePB& from)
4939
  : ::google::protobuf::Message(),
4940
      _internal_metadata_(NULL),
4941
      _has_bits_(from._has_bits_),
4942
0
      _cached_size_(0) {
4943
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4944
0
  consistency_stats_.MergeFrom(from.consistency_stats_);
4945
0
  verified_until_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4946
0
  if (from.has_verified_until()) {
4947
0
    verified_until_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.verified_until_);
4948
0
  }
4949
0
  if (from.has_error()) {
4950
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
4951
0
  } else {
4952
0
    error_ = NULL;
4953
0
  }
4954
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
4955
  // @@protoc_insertion_point(copy_constructor:yb.tserver.VerifyTableRowRangeResponsePB)
4956
0
}
4957
4958
15.8k
void VerifyTableRowRangeResponsePB::SharedCtor() {
4959
15.8k
  _cached_size_ = 0;
4960
15.8k
  verified_until_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4961
15.8k
  ::memset(&error_, 0, static_cast<size_t>(
4962
15.8k
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
4963
15.8k
      reinterpret_cast<char*>(&error_)) + sizeof(propagated_hybrid_time_));
4964
15.8k
}
4965
4966
0
VerifyTableRowRangeResponsePB::~VerifyTableRowRangeResponsePB() {
4967
  // @@protoc_insertion_point(destructor:yb.tserver.VerifyTableRowRangeResponsePB)
4968
0
  SharedDtor();
4969
0
}
4970
4971
0
void VerifyTableRowRangeResponsePB::SharedDtor() {
4972
0
  verified_until_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4973
0
  if (this != internal_default_instance()) delete error_;
4974
0
}
4975
4976
0
void VerifyTableRowRangeResponsePB::SetCachedSize(int size) const {
4977
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4978
0
  _cached_size_ = size;
4979
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4980
0
}
4981
0
const ::google::protobuf::Descriptor* VerifyTableRowRangeResponsePB::descriptor() {
4982
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
4983
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4984
0
}
4985
4986
0
const VerifyTableRowRangeResponsePB& VerifyTableRowRangeResponsePB::default_instance() {
4987
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsVerifyTableRowRangeResponsePB();
4988
0
  return *internal_default_instance();
4989
0
}
4990
4991
0
VerifyTableRowRangeResponsePB* VerifyTableRowRangeResponsePB::New(::google::protobuf::Arena* arena) const {
4992
0
  VerifyTableRowRangeResponsePB* n = new VerifyTableRowRangeResponsePB;
4993
0
  if (arena != NULL) {
4994
0
    arena->Own(n);
4995
0
  }
4996
0
  return n;
4997
0
}
4998
4999
0
void VerifyTableRowRangeResponsePB::Clear() {
5000
// @@protoc_insertion_point(message_clear_start:yb.tserver.VerifyTableRowRangeResponsePB)
5001
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5002
  // Prevent compiler warnings about cached_has_bits being unused
5003
0
  (void) cached_has_bits;
5004
5005
0
  consistency_stats_.Clear();
5006
0
  cached_has_bits = _has_bits_[0];
5007
0
  if (cached_has_bits & 3u) {
5008
0
    if (cached_has_bits & 0x00000001u) {
5009
0
      GOOGLE_DCHECK(!verified_until_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5010
0
      (*verified_until_.UnsafeRawStringPointer())->clear();
5011
0
    }
5012
0
    if (cached_has_bits & 0x00000002u) {
5013
0
      GOOGLE_DCHECK(error_ != NULL);
5014
0
      error_->Clear();
5015
0
    }
5016
0
  }
5017
0
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
5018
0
  _has_bits_.Clear();
5019
0
  _internal_metadata_.Clear();
5020
0
}
5021
5022
bool VerifyTableRowRangeResponsePB::MergePartialFromCodedStream(
5023
0
    ::google::protobuf::io::CodedInputStream* input) {
5024
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5025
0
  ::google::protobuf::uint32 tag;
5026
  // @@protoc_insertion_point(parse_start:yb.tserver.VerifyTableRowRangeResponsePB)
5027
0
  for (;;) {
5028
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5029
0
    tag = p.first;
5030
0
    if (!p.second) goto handle_unusual;
5031
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5032
      // optional .yb.tserver.TabletServerErrorPB error = 1;
5033
0
      case 1: {
5034
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5035
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5036
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5037
0
               input, mutable_error()));
5038
0
        } else {
5039
0
          goto handle_unusual;
5040
0
        }
5041
0
        break;
5042
0
      }
5043
5044
      // map<string, uint64> consistency_stats = 2;
5045
0
      case 2: {
5046
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5047
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5048
0
          VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField<
5049
0
              VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse,
5050
0
              ::std::string, ::google::protobuf::uint64,
5051
0
              ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
5052
0
              ::google::protobuf::internal::WireFormatLite::TYPE_UINT64,
5053
0
              0 >,
5054
0
            ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 > > parser(&consistency_stats_);
5055
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
5056
0
              input, &parser));
5057
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5058
0
            parser.key().data(), static_cast<int>(parser.key().length()),
5059
0
            ::google::protobuf::internal::WireFormat::PARSE,
5060
0
            "yb.tserver.VerifyTableRowRangeResponsePB.ConsistencyStatsEntry.key");
5061
0
        } else {
5062
0
          goto handle_unusual;
5063
0
        }
5064
0
        break;
5065
0
      }
5066
5067
      // optional bytes verified_until = 3;
5068
0
      case 3: {
5069
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5070
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
5071
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5072
0
                input, this->mutable_verified_until()));
5073
0
        } else {
5074
0
          goto handle_unusual;
5075
0
        }
5076
0
        break;
5077
0
      }
5078
5079
      // optional fixed64 propagated_hybrid_time = 4;
5080
0
      case 4: {
5081
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5082
0
            static_cast< ::google::protobuf::uint8>(33u /* 33 & 0xFF */)) {
5083
0
          set_has_propagated_hybrid_time();
5084
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5085
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
5086
0
                 input, &propagated_hybrid_time_)));
5087
0
        } else {
5088
0
          goto handle_unusual;
5089
0
        }
5090
0
        break;
5091
0
      }
5092
5093
0
      default: {
5094
0
      handle_unusual:
5095
0
        if (tag == 0) {
5096
0
          goto success;
5097
0
        }
5098
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5099
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5100
0
        break;
5101
0
      }
5102
0
    }
5103
0
  }
5104
0
success:
5105
  // @@protoc_insertion_point(parse_success:yb.tserver.VerifyTableRowRangeResponsePB)
5106
0
  return true;
5107
0
failure:
5108
  // @@protoc_insertion_point(parse_failure:yb.tserver.VerifyTableRowRangeResponsePB)
5109
0
  return false;
5110
0
#undef DO_
5111
0
}
5112
5113
void VerifyTableRowRangeResponsePB::SerializeWithCachedSizes(
5114
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5115
  // @@protoc_insertion_point(serialize_start:yb.tserver.VerifyTableRowRangeResponsePB)
5116
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5117
0
  (void) cached_has_bits;
5118
5119
0
  cached_has_bits = _has_bits_[0];
5120
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5121
0
  if (cached_has_bits & 0x00000002u) {
5122
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5123
0
      1, *this->error_, output);
5124
0
  }
5125
5126
  // map<string, uint64> consistency_stats = 2;
5127
0
  if (!this->consistency_stats().empty()) {
5128
0
    typedef ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_pointer
5129
0
        ConstPtr;
5130
0
    typedef ConstPtr SortItem;
5131
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
5132
0
    struct Utf8Check {
5133
0
      static void Check(ConstPtr p) {
5134
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5135
0
          p->first.data(), static_cast<int>(p->first.length()),
5136
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
5137
0
          "yb.tserver.VerifyTableRowRangeResponsePB.ConsistencyStatsEntry.key");
5138
0
      }
5139
0
    };
5140
5141
0
    if (output->IsSerializationDeterministic() &&
5142
0
        this->consistency_stats().size() > 1) {
5143
0
      ::google::protobuf::scoped_array<SortItem> items(
5144
0
          new SortItem[this->consistency_stats().size()]);
5145
0
      typedef ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::size_type size_type;
5146
0
      size_type n = 0;
5147
0
      for (::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_iterator
5148
0
          it = this->consistency_stats().begin();
5149
0
          it != this->consistency_stats().end(); ++it, ++n) {
5150
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
5151
0
      }
5152
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
5153
0
      ::google::protobuf::scoped_ptr<VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse> entry;
5154
0
      for (size_type i = 0; i < n; i++) {
5155
0
        entry.reset(consistency_stats_.NewEntryWrapper(
5156
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
5157
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5158
0
            2, *entry, output);
5159
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
5160
0
      }
5161
0
    } else {
5162
0
      ::google::protobuf::scoped_ptr<VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse> entry;
5163
0
      for (::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_iterator
5164
0
          it = this->consistency_stats().begin();
5165
0
          it != this->consistency_stats().end(); ++it) {
5166
0
        entry.reset(consistency_stats_.NewEntryWrapper(
5167
0
            it->first, it->second));
5168
0
        ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5169
0
            2, *entry, output);
5170
0
        Utf8Check::Check(&*it);
5171
0
      }
5172
0
    }
5173
0
  }
5174
5175
  // optional bytes verified_until = 3;
5176
0
  if (cached_has_bits & 0x00000001u) {
5177
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5178
0
      3, this->verified_until(), output);
5179
0
  }
5180
5181
  // optional fixed64 propagated_hybrid_time = 4;
5182
0
  if (cached_has_bits & 0x00000004u) {
5183
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(4, this->propagated_hybrid_time(), output);
5184
0
  }
5185
5186
0
  if (_internal_metadata_.have_unknown_fields()) {
5187
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5188
0
        _internal_metadata_.unknown_fields(), output);
5189
0
  }
5190
  // @@protoc_insertion_point(serialize_end:yb.tserver.VerifyTableRowRangeResponsePB)
5191
0
}
5192
5193
::google::protobuf::uint8* VerifyTableRowRangeResponsePB::InternalSerializeWithCachedSizesToArray(
5194
0
    bool deterministic, ::google::protobuf::uint8* target) const {
5195
0
  (void)deterministic; // Unused
5196
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.VerifyTableRowRangeResponsePB)
5197
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5198
0
  (void) cached_has_bits;
5199
5200
0
  cached_has_bits = _has_bits_[0];
5201
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5202
0
  if (cached_has_bits & 0x00000002u) {
5203
0
    target = ::google::protobuf::internal::WireFormatLite::
5204
0
      InternalWriteMessageToArray(
5205
0
        1, *this->error_, deterministic, target);
5206
0
  }
5207
5208
  // map<string, uint64> consistency_stats = 2;
5209
0
  if (!this->consistency_stats().empty()) {
5210
0
    typedef ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_pointer
5211
0
        ConstPtr;
5212
0
    typedef ConstPtr SortItem;
5213
0
    typedef ::google::protobuf::internal::CompareByDerefFirst<SortItem> Less;
5214
0
    struct Utf8Check {
5215
0
      static void Check(ConstPtr p) {
5216
0
        ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5217
0
          p->first.data(), static_cast<int>(p->first.length()),
5218
0
          ::google::protobuf::internal::WireFormat::SERIALIZE,
5219
0
          "yb.tserver.VerifyTableRowRangeResponsePB.ConsistencyStatsEntry.key");
5220
0
      }
5221
0
    };
5222
5223
0
    if (deterministic &&
5224
0
        this->consistency_stats().size() > 1) {
5225
0
      ::google::protobuf::scoped_array<SortItem> items(
5226
0
          new SortItem[this->consistency_stats().size()]);
5227
0
      typedef ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::size_type size_type;
5228
0
      size_type n = 0;
5229
0
      for (::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_iterator
5230
0
          it = this->consistency_stats().begin();
5231
0
          it != this->consistency_stats().end(); ++it, ++n) {
5232
0
        items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
5233
0
      }
5234
0
      ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
5235
0
      ::google::protobuf::scoped_ptr<VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse> entry;
5236
0
      for (size_type i = 0; i < n; i++) {
5237
0
        entry.reset(consistency_stats_.NewEntryWrapper(
5238
0
            items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second));
5239
0
        target = ::google::protobuf::internal::WireFormatLite::
5240
0
                   InternalWriteMessageNoVirtualToArray(
5241
0
                       2, *entry, deterministic, target);
5242
0
;
5243
0
        Utf8Check::Check(items[static_cast<ptrdiff_t>(i)]);
5244
0
      }
5245
0
    } else {
5246
0
      ::google::protobuf::scoped_ptr<VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse> entry;
5247
0
      for (::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_iterator
5248
0
          it = this->consistency_stats().begin();
5249
0
          it != this->consistency_stats().end(); ++it) {
5250
0
        entry.reset(consistency_stats_.NewEntryWrapper(
5251
0
            it->first, it->second));
5252
0
        target = ::google::protobuf::internal::WireFormatLite::
5253
0
                   InternalWriteMessageNoVirtualToArray(
5254
0
                       2, *entry, deterministic, target);
5255
0
;
5256
0
        Utf8Check::Check(&*it);
5257
0
      }
5258
0
    }
5259
0
  }
5260
5261
  // optional bytes verified_until = 3;
5262
0
  if (cached_has_bits & 0x00000001u) {
5263
0
    target =
5264
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5265
0
        3, this->verified_until(), target);
5266
0
  }
5267
5268
  // optional fixed64 propagated_hybrid_time = 4;
5269
0
  if (cached_has_bits & 0x00000004u) {
5270
0
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(4, this->propagated_hybrid_time(), target);
5271
0
  }
5272
5273
0
  if (_internal_metadata_.have_unknown_fields()) {
5274
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
5275
0
        _internal_metadata_.unknown_fields(), target);
5276
0
  }
5277
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.VerifyTableRowRangeResponsePB)
5278
0
  return target;
5279
0
}
5280
5281
0
size_t VerifyTableRowRangeResponsePB::ByteSizeLong() const {
5282
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.VerifyTableRowRangeResponsePB)
5283
0
  size_t total_size = 0;
5284
5285
0
  if (_internal_metadata_.have_unknown_fields()) {
5286
0
    total_size +=
5287
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
5288
0
        _internal_metadata_.unknown_fields());
5289
0
  }
5290
  // map<string, uint64> consistency_stats = 2;
5291
0
  total_size += 1 *
5292
0
      ::google::protobuf::internal::FromIntSize(this->consistency_stats_size());
5293
0
  {
5294
0
    ::google::protobuf::scoped_ptr<VerifyTableRowRangeResponsePB_ConsistencyStatsEntry_DoNotUse> entry;
5295
0
    for (::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >::const_iterator
5296
0
        it = this->consistency_stats().begin();
5297
0
        it != this->consistency_stats().end(); ++it) {
5298
0
      entry.reset(consistency_stats_.NewEntryWrapper(it->first, it->second));
5299
0
      total_size += ::google::protobuf::internal::WireFormatLite::
5300
0
          MessageSizeNoVirtual(*entry);
5301
0
    }
5302
0
  }
5303
5304
0
  if (_has_bits_[0 / 32] & 7u) {
5305
    // optional bytes verified_until = 3;
5306
0
    if (has_verified_until()) {
5307
0
      total_size += 1 +
5308
0
        ::google::protobuf::internal::WireFormatLite::BytesSize(
5309
0
          this->verified_until());
5310
0
    }
5311
5312
    // optional .yb.tserver.TabletServerErrorPB error = 1;
5313
0
    if (has_error()) {
5314
0
      total_size += 1 +
5315
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
5316
0
          *this->error_);
5317
0
    }
5318
5319
    // optional fixed64 propagated_hybrid_time = 4;
5320
0
    if (has_propagated_hybrid_time()) {
5321
0
      total_size += 1 + 8;
5322
0
    }
5323
5324
0
  }
5325
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
5326
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5327
0
  _cached_size_ = cached_size;
5328
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5329
0
  return total_size;
5330
0
}
5331
5332
0
void VerifyTableRowRangeResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
5333
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.VerifyTableRowRangeResponsePB)
5334
0
  GOOGLE_DCHECK_NE(&from, this);
5335
0
  const VerifyTableRowRangeResponsePB* source =
5336
0
      ::google::protobuf::internal::DynamicCastToGenerated<const VerifyTableRowRangeResponsePB>(
5337
0
          &from);
5338
0
  if (source == NULL) {
5339
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.VerifyTableRowRangeResponsePB)
5340
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
5341
0
  } else {
5342
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.VerifyTableRowRangeResponsePB)
5343
0
    MergeFrom(*source);
5344
0
  }
5345
0
}
5346
5347
0
void VerifyTableRowRangeResponsePB::MergeFrom(const VerifyTableRowRangeResponsePB& from) {
5348
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.VerifyTableRowRangeResponsePB)
5349
0
  GOOGLE_DCHECK_NE(&from, this);
5350
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5351
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5352
0
  (void) cached_has_bits;
5353
5354
0
  consistency_stats_.MergeFrom(from.consistency_stats_);
5355
0
  cached_has_bits = from._has_bits_[0];
5356
0
  if (cached_has_bits & 7u) {
5357
0
    if (cached_has_bits & 0x00000001u) {
5358
0
      set_has_verified_until();
5359
0
      verified_until_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.verified_until_);
5360
0
    }
5361
0
    if (cached_has_bits & 0x00000002u) {
5362
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
5363
0
    }
5364
0
    if (cached_has_bits & 0x00000004u) {
5365
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
5366
0
    }
5367
0
    _has_bits_[0] |= cached_has_bits;
5368
0
  }
5369
0
}
5370
5371
0
void VerifyTableRowRangeResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
5372
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.VerifyTableRowRangeResponsePB)
5373
0
  if (&from == this) return;
5374
0
  Clear();
5375
0
  MergeFrom(from);
5376
0
}
5377
5378
0
void VerifyTableRowRangeResponsePB::CopyFrom(const VerifyTableRowRangeResponsePB& from) {
5379
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.VerifyTableRowRangeResponsePB)
5380
0
  if (&from == this) return;
5381
0
  Clear();
5382
0
  MergeFrom(from);
5383
0
}
5384
5385
0
bool VerifyTableRowRangeResponsePB::IsInitialized() const {
5386
0
  if (has_error()) {
5387
0
    if (!this->error_->IsInitialized()) return false;
5388
0
  }
5389
0
  return true;
5390
0
}
5391
5392
0
void VerifyTableRowRangeResponsePB::Swap(VerifyTableRowRangeResponsePB* other) {
5393
0
  if (other == this) return;
5394
0
  InternalSwap(other);
5395
0
}
5396
0
void VerifyTableRowRangeResponsePB::InternalSwap(VerifyTableRowRangeResponsePB* other) {
5397
0
  using std::swap;
5398
0
  consistency_stats_.Swap(&other->consistency_stats_);
5399
0
  verified_until_.Swap(&other->verified_until_);
5400
0
  swap(error_, other->error_);
5401
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
5402
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5403
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5404
0
  swap(_cached_size_, other->_cached_size_);
5405
0
}
5406
5407
0
::google::protobuf::Metadata VerifyTableRowRangeResponsePB::GetMetadata() const {
5408
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
5409
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
5410
0
}
5411
5412
5413
// ===================================================================
5414
5415
15.8k
void ReadRequestPB::InitAsDefaultInstance() {
5416
15.8k
  ::yb::tserver::_ReadRequestPB_default_instance_._instance.get_mutable()->transaction_ = const_cast< ::yb::TransactionMetadataPB*>(
5417
15.8k
      ::yb::TransactionMetadataPB::internal_default_instance());
5418
15.8k
  ::yb::tserver::_ReadRequestPB_default_instance_._instance.get_mutable()->subtransaction_ = const_cast< ::yb::SubTransactionMetadataPB*>(
5419
15.8k
      ::yb::SubTransactionMetadataPB::internal_default_instance());
5420
15.8k
  ::yb::tserver::_ReadRequestPB_default_instance_._instance.get_mutable()->read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
5421
15.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
5422
15.8k
}
5423
0
void ReadRequestPB::clear_redis_batch() {
5424
0
  redis_batch_.Clear();
5425
0
}
5426
0
void ReadRequestPB::clear_ql_batch() {
5427
0
  ql_batch_.Clear();
5428
0
}
5429
0
void ReadRequestPB::clear_pgsql_batch() {
5430
0
  pgsql_batch_.Clear();
5431
0
}
5432
0
void ReadRequestPB::clear_transaction() {
5433
0
  if (transaction_ != NULL) transaction_->Clear();
5434
0
  clear_has_transaction();
5435
0
}
5436
0
void ReadRequestPB::clear_subtransaction() {
5437
0
  if (subtransaction_ != NULL) subtransaction_->Clear();
5438
0
  clear_has_subtransaction();
5439
0
}
5440
0
void ReadRequestPB::clear_read_time() {
5441
0
  if (read_time_ != NULL) read_time_->Clear();
5442
0
  clear_has_read_time();
5443
0
}
5444
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5445
const int ReadRequestPB::kTabletIdFieldNumber;
5446
const int ReadRequestPB::kRedisBatchFieldNumber;
5447
const int ReadRequestPB::kQlBatchFieldNumber;
5448
const int ReadRequestPB::kPgsqlBatchFieldNumber;
5449
const int ReadRequestPB::kCacheBlocksFieldNumber;
5450
const int ReadRequestPB::kIncludeTraceFieldNumber;
5451
const int ReadRequestPB::kConsistencyLevelFieldNumber;
5452
const int ReadRequestPB::kTransactionFieldNumber;
5453
const int ReadRequestPB::kSubtransactionFieldNumber;
5454
const int ReadRequestPB::kPropagatedHybridTimeFieldNumber;
5455
const int ReadRequestPB::kReadTimeFieldNumber;
5456
const int ReadRequestPB::kProxyUuidFieldNumber;
5457
const int ReadRequestPB::kDEPRECATEDMayHaveMetadataFieldNumber;
5458
const int ReadRequestPB::kRejectionScoreFieldNumber;
5459
const int ReadRequestPB::kBatchIdxFieldNumber;
5460
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
5461
5462
ReadRequestPB::ReadRequestPB()
5463
5.64M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
5464
5.62M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
5465
5.62M
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsReadRequestPB();
5466
5.62M
  }
5467
5.64M
  SharedCtor();
5468
  // @@protoc_insertion_point(constructor:yb.tserver.ReadRequestPB)
5469
5.64M
}
5470
ReadRequestPB::ReadRequestPB(const ReadRequestPB& from)
5471
  : ::google::protobuf::Message(),
5472
      _internal_metadata_(NULL),
5473
      _has_bits_(from._has_bits_),
5474
      _cached_size_(0),
5475
      redis_batch_(from.redis_batch_),
5476
      ql_batch_(from.ql_batch_),
5477
0
      pgsql_batch_(from.pgsql_batch_) {
5478
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
5479
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5480
0
  if (from.has_tablet_id()) {
5481
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
5482
0
  }
5483
0
  proxy_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5484
0
  if (from.has_proxy_uuid()) {
5485
0
    proxy_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.proxy_uuid_);
5486
0
  }
5487
0
  if (from.has_transaction()) {
5488
0
    transaction_ = new ::yb::TransactionMetadataPB(*from.transaction_);
5489
0
  } else {
5490
0
    transaction_ = NULL;
5491
0
  }
5492
0
  if (from.has_read_time()) {
5493
0
    read_time_ = new ::yb::ReadHybridTimePB(*from.read_time_);
5494
0
  } else {
5495
0
    read_time_ = NULL;
5496
0
  }
5497
0
  if (from.has_subtransaction()) {
5498
0
    subtransaction_ = new ::yb::SubTransactionMetadataPB(*from.subtransaction_);
5499
0
  } else {
5500
0
    subtransaction_ = NULL;
5501
0
  }
5502
0
  ::memcpy(&propagated_hybrid_time_, &from.propagated_hybrid_time_,
5503
0
    static_cast<size_t>(reinterpret_cast<char*>(&consistency_level_) -
5504
0
    reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(consistency_level_));
5505
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ReadRequestPB)
5506
0
}
5507
5508
5.63M
void ReadRequestPB::SharedCtor() {
5509
5.63M
  _cached_size_ = 0;
5510
5.63M
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5511
5.63M
  proxy_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5512
5.63M
  ::memset(&transaction_, 0, static_cast<size_t>(
5513
5.63M
      reinterpret_cast<char*>(&deprecated_may_have_metadata_) -
5514
5.63M
      reinterpret_cast<char*>(&transaction_)) + sizeof(deprecated_may_have_metadata_));
5515
5.63M
  cache_blocks_ = true;
5516
5.63M
  consistency_level_ = 1;
5517
5.63M
}
5518
5519
5.62M
ReadRequestPB::~ReadRequestPB() {
5520
  // @@protoc_insertion_point(destructor:yb.tserver.ReadRequestPB)
5521
5.62M
  SharedDtor();
5522
5.62M
}
5523
5524
5.62M
void ReadRequestPB::SharedDtor() {
5525
5.62M
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5526
5.62M
  proxy_uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5527
5.62M
  if (this != internal_default_instance()) delete transaction_;
5528
5.62M
  if (this != internal_default_instance()) delete read_time_;
5529
5.62M
  if (this != internal_default_instance()) delete subtransaction_;
5530
5.62M
}
5531
5532
0
void ReadRequestPB::SetCachedSize(int size) const {
5533
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5534
0
  _cached_size_ = size;
5535
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
5536
0
}
5537
0
const ::google::protobuf::Descriptor* ReadRequestPB::descriptor() {
5538
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
5539
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
5540
0
}
5541
5542
0
const ReadRequestPB& ReadRequestPB::default_instance() {
5543
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsReadRequestPB();
5544
0
  return *internal_default_instance();
5545
0
}
5546
5547
0
ReadRequestPB* ReadRequestPB::New(::google::protobuf::Arena* arena) const {
5548
0
  ReadRequestPB* n = new ReadRequestPB;
5549
0
  if (arena != NULL) {
5550
0
    arena->Own(n);
5551
0
  }
5552
0
  return n;
5553
0
}
5554
5555
938k
void ReadRequestPB::Clear() {
5556
// @@protoc_insertion_point(message_clear_start:yb.tserver.ReadRequestPB)
5557
938k
  ::google::protobuf::uint32 cached_has_bits = 0;
5558
  // Prevent compiler warnings about cached_has_bits being unused
5559
938k
  (void) cached_has_bits;
5560
5561
938k
  redis_batch_.Clear();
5562
938k
  ql_batch_.Clear();
5563
938k
  pgsql_batch_.Clear();
5564
938k
  cached_has_bits = _has_bits_[0];
5565
938k
  if (cached_has_bits & 31u) {
5566
0
    if (cached_has_bits & 0x00000001u) {
5567
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5568
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
5569
0
    }
5570
0
    if (cached_has_bits & 0x00000002u) {
5571
0
      GOOGLE_DCHECK(!proxy_uuid_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
5572
0
      (*proxy_uuid_.UnsafeRawStringPointer())->clear();
5573
0
    }
5574
0
    if (cached_has_bits & 0x00000004u) {
5575
0
      GOOGLE_DCHECK(transaction_ != NULL);
5576
0
      transaction_->Clear();
5577
0
    }
5578
0
    if (cached_has_bits & 0x00000008u) {
5579
0
      GOOGLE_DCHECK(read_time_ != NULL);
5580
0
      read_time_->Clear();
5581
0
    }
5582
0
    if (cached_has_bits & 0x00000010u) {
5583
0
      GOOGLE_DCHECK(subtransaction_ != NULL);
5584
0
      subtransaction_->Clear();
5585
0
    }
5586
0
  }
5587
938k
  if (cached_has_bits & 224u) {
5588
0
    ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
5589
0
        reinterpret_cast<char*>(&batch_idx_) -
5590
0
        reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(batch_idx_));
5591
0
  }
5592
938k
  if (cached_has_bits & 3840u) {
5593
0
    ::memset(&include_trace_, 0, static_cast<size_t>(
5594
0
        reinterpret_cast<char*>(&deprecated_may_have_metadata_) -
5595
0
        reinterpret_cast<char*>(&include_trace_)) + sizeof(deprecated_may_have_metadata_));
5596
0
    cache_blocks_ = true;
5597
0
    consistency_level_ = 1;
5598
0
  }
5599
938k
  _has_bits_.Clear();
5600
938k
  _internal_metadata_.Clear();
5601
938k
}
5602
5603
bool ReadRequestPB::MergePartialFromCodedStream(
5604
934k
    ::google::protobuf::io::CodedInputStream* input) {
5605
9.41M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
5606
934k
  ::google::protobuf::uint32 tag;
5607
  // @@protoc_insertion_point(parse_start:yb.tserver.ReadRequestPB)
5608
10.3M
  for (;;) {
5609
10.3M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
5610
10.3M
    tag = p.first;
5611
10.3M
    if (!p.second) goto handle_unusual;
5612
9.40M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5613
      // optional bytes tablet_id = 1;
5614
936k
      case 1: {
5615
936k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5616
936k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
5617
936k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
5618
936k
                input, this->mutable_tablet_id()));
5619
18.4E
        } else {
5620
18.4E
          goto handle_unusual;
5621
18.4E
        }
5622
936k
        break;
5623
936k
      }
5624
5625
      // repeated .yb.RedisReadRequestPB redis_batch = 2;
5626
10.2k
      case 2: {
5627
10.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5628
10.2k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
5629
10.2k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_redis_batch()));
5630
0
        } else {
5631
0
          goto handle_unusual;
5632
0
        }
5633
10.2k
        break;
5634
10.2k
      }
5635
5636
      // optional bool cache_blocks = 3 [default = true];
5637
0
      case 3: {
5638
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5639
0
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
5640
0
          set_has_cache_blocks();
5641
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5642
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5643
0
                 input, &cache_blocks_)));
5644
0
        } else {
5645
0
          goto handle_unusual;
5646
0
        }
5647
0
        break;
5648
0
      }
5649
5650
      // repeated .yb.QLReadRequestPB ql_batch = 4;
5651
336k
      case 4: {
5652
336k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5653
336k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
5654
336k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_ql_batch()));
5655
18.4E
        } else {
5656
18.4E
          goto handle_unusual;
5657
18.4E
        }
5658
336k
        break;
5659
336k
      }
5660
5661
      // optional bool include_trace = 5 [default = false];
5662
938k
      case 5: {
5663
938k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5664
938k
            static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) {
5665
938k
          set_has_include_trace();
5666
938k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5667
938k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5668
938k
                 input, &include_trace_)));
5669
3
        } else {
5670
3
          goto handle_unusual;
5671
3
        }
5672
938k
        break;
5673
938k
      }
5674
5675
      // optional .yb.YBConsistencyLevel consistency_level = 6 [default = STRONG];
5676
938k
      case 6: {
5677
938k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5678
938k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
5679
938k
          int value;
5680
938k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5681
938k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
5682
938k
                 input, &value)));
5683
938k
          if (::yb::YBConsistencyLevel_IsValid(value)) {
5684
937k
            set_consistency_level(static_cast< ::yb::YBConsistencyLevel >(value));
5685
828
          } else {
5686
828
            mutable_unknown_fields()->AddVarint(
5687
828
                6, static_cast< ::google::protobuf::uint64>(value));
5688
828
          }
5689
18.4E
        } else {
5690
18.4E
          goto handle_unusual;
5691
18.4E
        }
5692
938k
        break;
5693
938k
      }
5694
5695
      // optional .yb.TransactionMetadataPB transaction = 7;
5696
304k
      case 7: {
5697
304k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5698
304k
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
5699
304k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5700
304k
               input, mutable_transaction()));
5701
18.4E
        } else {
5702
18.4E
          goto handle_unusual;
5703
18.4E
        }
5704
304k
        break;
5705
304k
      }
5706
5707
      // optional fixed64 propagated_hybrid_time = 8;
5708
925k
      case 8: {
5709
925k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5710
925k
            static_cast< ::google::protobuf::uint8>(65u /* 65 & 0xFF */)) {
5711
925k
          set_has_propagated_hybrid_time();
5712
925k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5713
925k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
5714
925k
                 input, &propagated_hybrid_time_)));
5715
18.4E
        } else {
5716
18.4E
          goto handle_unusual;
5717
18.4E
        }
5718
925k
        break;
5719
925k
      }
5720
5721
      // optional .yb.ReadHybridTimePB read_time = 9;
5722
501k
      case 9: {
5723
501k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5724
501k
            static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
5725
501k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5726
501k
               input, mutable_read_time()));
5727
18.4E
        } else {
5728
18.4E
          goto handle_unusual;
5729
18.4E
        }
5730
501k
        break;
5731
501k
      }
5732
5733
      // repeated .yb.PgsqlReadRequestPB pgsql_batch = 10;
5734
1.38M
      case 10: {
5735
1.38M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5736
1.38M
            static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {
5737
1.38M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_pgsql_batch()));
5738
0
        } else {
5739
0
          goto handle_unusual;
5740
0
        }
5741
1.38M
        break;
5742
1.38M
      }
5743
5744
      // optional string proxy_uuid = 11;
5745
937k
      case 11: {
5746
937k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5747
938k
            static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {
5748
938k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
5749
938k
                input, this->mutable_proxy_uuid()));
5750
938k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5751
938k
            this->proxy_uuid().data(), static_cast<int>(this->proxy_uuid().length()),
5752
938k
            ::google::protobuf::internal::WireFormat::PARSE,
5753
938k
            "yb.tserver.ReadRequestPB.proxy_uuid");
5754
18.4E
        } else {
5755
18.4E
          goto handle_unusual;
5756
18.4E
        }
5757
938k
        break;
5758
938k
      }
5759
5760
      // optional bool DEPRECATED_may_have_metadata = 12;
5761
304k
      case 12: {
5762
304k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5763
304k
            static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) {
5764
304k
          set_has_deprecated_may_have_metadata();
5765
304k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5766
304k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5767
304k
                 input, &deprecated_may_have_metadata_)));
5768
0
        } else {
5769
0
          goto handle_unusual;
5770
0
        }
5771
304k
        break;
5772
304k
      }
5773
5774
      // optional double rejection_score = 13;
5775
936k
      case 13: {
5776
936k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5777
936k
            static_cast< ::google::protobuf::uint8>(105u /* 105 & 0xFF */)) {
5778
936k
          set_has_rejection_score();
5779
936k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5780
936k
                   double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(
5781
936k
                 input, &rejection_score_)));
5782
18.4E
        } else {
5783
18.4E
          goto handle_unusual;
5784
18.4E
        }
5785
936k
        break;
5786
936k
      }
5787
5788
      // optional uint64 batch_idx = 14;
5789
935k
      case 14: {
5790
935k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5791
935k
            static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) {
5792
935k
          set_has_batch_idx();
5793
935k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5794
935k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
5795
935k
                 input, &batch_idx_)));
5796
18.4E
        } else {
5797
18.4E
          goto handle_unusual;
5798
18.4E
        }
5799
935k
        break;
5800
935k
      }
5801
5802
      // optional .yb.SubTransactionMetadataPB subtransaction = 15;
5803
26.7k
      case 15: {
5804
26.7k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
5805
26.7k
            static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) {
5806
26.7k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
5807
26.7k
               input, mutable_subtransaction()));
5808
0
        } else {
5809
0
          goto handle_unusual;
5810
0
        }
5811
26.7k
        break;
5812
937k
      }
5813
5814
0
      default: {
5815
937k
      handle_unusual:
5816
937k
        if (tag == 0) {
5817
937k
          goto success;
5818
937k
        }
5819
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
5820
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
5821
18.4E
        break;
5822
18.4E
      }
5823
9.40M
    }
5824
9.40M
  }
5825
937k
success:
5826
  // @@protoc_insertion_point(parse_success:yb.tserver.ReadRequestPB)
5827
937k
  return true;
5828
0
failure:
5829
  // @@protoc_insertion_point(parse_failure:yb.tserver.ReadRequestPB)
5830
0
  return false;
5831
934k
#undef DO_
5832
934k
}
5833
5834
void ReadRequestPB::SerializeWithCachedSizes(
5835
0
    ::google::protobuf::io::CodedOutputStream* output) const {
5836
  // @@protoc_insertion_point(serialize_start:yb.tserver.ReadRequestPB)
5837
0
  ::google::protobuf::uint32 cached_has_bits = 0;
5838
0
  (void) cached_has_bits;
5839
5840
0
  cached_has_bits = _has_bits_[0];
5841
  // optional bytes tablet_id = 1;
5842
0
  if (cached_has_bits & 0x00000001u) {
5843
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
5844
0
      1, this->tablet_id(), output);
5845
0
  }
5846
5847
  // repeated .yb.RedisReadRequestPB redis_batch = 2;
5848
0
  for (unsigned int i = 0,
5849
0
      n = static_cast<unsigned int>(this->redis_batch_size()); i < n; i++) {
5850
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5851
0
      2, this->redis_batch(static_cast<int>(i)), output);
5852
0
  }
5853
5854
  // optional bool cache_blocks = 3 [default = true];
5855
0
  if (cached_has_bits & 0x00000400u) {
5856
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->cache_blocks(), output);
5857
0
  }
5858
5859
  // repeated .yb.QLReadRequestPB ql_batch = 4;
5860
0
  for (unsigned int i = 0,
5861
0
      n = static_cast<unsigned int>(this->ql_batch_size()); i < n; i++) {
5862
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5863
0
      4, this->ql_batch(static_cast<int>(i)), output);
5864
0
  }
5865
5866
  // optional bool include_trace = 5 [default = false];
5867
0
  if (cached_has_bits & 0x00000100u) {
5868
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->include_trace(), output);
5869
0
  }
5870
5871
  // optional .yb.YBConsistencyLevel consistency_level = 6 [default = STRONG];
5872
0
  if (cached_has_bits & 0x00000800u) {
5873
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
5874
0
      6, this->consistency_level(), output);
5875
0
  }
5876
5877
  // optional .yb.TransactionMetadataPB transaction = 7;
5878
0
  if (cached_has_bits & 0x00000004u) {
5879
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5880
0
      7, *this->transaction_, output);
5881
0
  }
5882
5883
  // optional fixed64 propagated_hybrid_time = 8;
5884
0
  if (cached_has_bits & 0x00000020u) {
5885
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(8, this->propagated_hybrid_time(), output);
5886
0
  }
5887
5888
  // optional .yb.ReadHybridTimePB read_time = 9;
5889
0
  if (cached_has_bits & 0x00000008u) {
5890
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5891
0
      9, *this->read_time_, output);
5892
0
  }
5893
5894
  // repeated .yb.PgsqlReadRequestPB pgsql_batch = 10;
5895
0
  for (unsigned int i = 0,
5896
0
      n = static_cast<unsigned int>(this->pgsql_batch_size()); i < n; i++) {
5897
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5898
0
      10, this->pgsql_batch(static_cast<int>(i)), output);
5899
0
  }
5900
5901
  // optional string proxy_uuid = 11;
5902
0
  if (cached_has_bits & 0x00000002u) {
5903
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
5904
0
      this->proxy_uuid().data(), static_cast<int>(this->proxy_uuid().length()),
5905
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
5906
0
      "yb.tserver.ReadRequestPB.proxy_uuid");
5907
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
5908
0
      11, this->proxy_uuid(), output);
5909
0
  }
5910
5911
  // optional bool DEPRECATED_may_have_metadata = 12;
5912
0
  if (cached_has_bits & 0x00000200u) {
5913
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(12, this->deprecated_may_have_metadata(), output);
5914
0
  }
5915
5916
  // optional double rejection_score = 13;
5917
0
  if (cached_has_bits & 0x00000040u) {
5918
0
    ::google::protobuf::internal::WireFormatLite::WriteDouble(13, this->rejection_score(), output);
5919
0
  }
5920
5921
  // optional uint64 batch_idx = 14;
5922
0
  if (cached_has_bits & 0x00000080u) {
5923
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(14, this->batch_idx(), output);
5924
0
  }
5925
5926
  // optional .yb.SubTransactionMetadataPB subtransaction = 15;
5927
0
  if (cached_has_bits & 0x00000010u) {
5928
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
5929
0
      15, *this->subtransaction_, output);
5930
0
  }
5931
5932
0
  if (_internal_metadata_.have_unknown_fields()) {
5933
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
5934
0
        _internal_metadata_.unknown_fields(), output);
5935
0
  }
5936
  // @@protoc_insertion_point(serialize_end:yb.tserver.ReadRequestPB)
5937
0
}
5938
5939
::google::protobuf::uint8* ReadRequestPB::InternalSerializeWithCachedSizesToArray(
5940
938k
    bool deterministic, ::google::protobuf::uint8* target) const {
5941
938k
  (void)deterministic; // Unused
5942
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ReadRequestPB)
5943
938k
  ::google::protobuf::uint32 cached_has_bits = 0;
5944
938k
  (void) cached_has_bits;
5945
5946
938k
  cached_has_bits = _has_bits_[0];
5947
  // optional bytes tablet_id = 1;
5948
938k
  if (cached_has_bits & 0x00000001u) {
5949
938k
    target =
5950
938k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
5951
938k
        1, this->tablet_id(), target);
5952
938k
  }
5953
5954
  // repeated .yb.RedisReadRequestPB redis_batch = 2;
5955
938k
  for (unsigned int i = 0,
5956
949k
      n = static_cast<unsigned int>(this->redis_batch_size()); i < n; i++) {
5957
10.3k
    target = ::google::protobuf::internal::WireFormatLite::
5958
10.3k
      InternalWriteMessageToArray(
5959
10.3k
        2, this->redis_batch(static_cast<int>(i)), deterministic, target);
5960
10.3k
  }
5961
5962
  // optional bool cache_blocks = 3 [default = true];
5963
938k
  if (cached_has_bits & 0x00000400u) {
5964
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->cache_blocks(), target);
5965
0
  }
5966
5967
  // repeated .yb.QLReadRequestPB ql_batch = 4;
5968
938k
  for (unsigned int i = 0,
5969
1.27M
      n = static_cast<unsigned int>(this->ql_batch_size()); i < n; i++) {
5970
335k
    target = ::google::protobuf::internal::WireFormatLite::
5971
335k
      InternalWriteMessageToArray(
5972
335k
        4, this->ql_batch(static_cast<int>(i)), deterministic, target);
5973
335k
  }
5974
5975
  // optional bool include_trace = 5 [default = false];
5976
938k
  if (cached_has_bits & 0x00000100u) {
5977
938k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->include_trace(), target);
5978
938k
  }
5979
5980
  // optional .yb.YBConsistencyLevel consistency_level = 6 [default = STRONG];
5981
938k
  if (cached_has_bits & 0x00000800u) {
5982
937k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
5983
937k
      6, this->consistency_level(), target);
5984
937k
  }
5985
5986
  // optional .yb.TransactionMetadataPB transaction = 7;
5987
938k
  if (cached_has_bits & 0x00000004u) {
5988
304k
    target = ::google::protobuf::internal::WireFormatLite::
5989
304k
      InternalWriteMessageToArray(
5990
304k
        7, *this->transaction_, deterministic, target);
5991
304k
  }
5992
5993
  // optional fixed64 propagated_hybrid_time = 8;
5994
938k
  if (cached_has_bits & 0x00000020u) {
5995
926k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(8, this->propagated_hybrid_time(), target);
5996
926k
  }
5997
5998
  // optional .yb.ReadHybridTimePB read_time = 9;
5999
938k
  if (cached_has_bits & 0x00000008u) {
6000
501k
    target = ::google::protobuf::internal::WireFormatLite::
6001
501k
      InternalWriteMessageToArray(
6002
501k
        9, *this->read_time_, deterministic, target);
6003
501k
  }
6004
6005
  // repeated .yb.PgsqlReadRequestPB pgsql_batch = 10;
6006
938k
  for (unsigned int i = 0,
6007
2.32M
      n = static_cast<unsigned int>(this->pgsql_batch_size()); i < n; i++) {
6008
1.38M
    target = ::google::protobuf::internal::WireFormatLite::
6009
1.38M
      InternalWriteMessageToArray(
6010
1.38M
        10, this->pgsql_batch(static_cast<int>(i)), deterministic, target);
6011
1.38M
  }
6012
6013
  // optional string proxy_uuid = 11;
6014
938k
  if (cached_has_bits & 0x00000002u) {
6015
937k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6016
937k
      this->proxy_uuid().data(), static_cast<int>(this->proxy_uuid().length()),
6017
937k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6018
937k
      "yb.tserver.ReadRequestPB.proxy_uuid");
6019
937k
    target =
6020
937k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6021
937k
        11, this->proxy_uuid(), target);
6022
937k
  }
6023
6024
  // optional bool DEPRECATED_may_have_metadata = 12;
6025
938k
  if (cached_has_bits & 0x00000200u) {
6026
304k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(12, this->deprecated_may_have_metadata(), target);
6027
304k
  }
6028
6029
  // optional double rejection_score = 13;
6030
938k
  if (cached_has_bits & 0x00000040u) {
6031
938k
    target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(13, this->rejection_score(), target);
6032
938k
  }
6033
6034
  // optional uint64 batch_idx = 14;
6035
938k
  if (cached_has_bits & 0x00000080u) {
6036
935k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(14, this->batch_idx(), target);
6037
935k
  }
6038
6039
  // optional .yb.SubTransactionMetadataPB subtransaction = 15;
6040
938k
  if (cached_has_bits & 0x00000010u) {
6041
26.7k
    target = ::google::protobuf::internal::WireFormatLite::
6042
26.7k
      InternalWriteMessageToArray(
6043
26.7k
        15, *this->subtransaction_, deterministic, target);
6044
26.7k
  }
6045
6046
938k
  if (_internal_metadata_.have_unknown_fields()) {
6047
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6048
0
        _internal_metadata_.unknown_fields(), target);
6049
0
  }
6050
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ReadRequestPB)
6051
938k
  return target;
6052
938k
}
6053
6054
1.87M
size_t ReadRequestPB::ByteSizeLong() const {
6055
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ReadRequestPB)
6056
1.87M
  size_t total_size = 0;
6057
6058
1.87M
  if (_internal_metadata_.have_unknown_fields()) {
6059
0
    total_size +=
6060
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6061
0
        _internal_metadata_.unknown_fields());
6062
0
  }
6063
  // repeated .yb.RedisReadRequestPB redis_batch = 2;
6064
1.87M
  {
6065
1.87M
    unsigned int count = static_cast<unsigned int>(this->redis_batch_size());
6066
1.87M
    total_size += 1UL * count;
6067
1.89M
    for (unsigned int i = 0; i < count; i++) {
6068
20.6k
      total_size +=
6069
20.6k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6070
20.6k
          this->redis_batch(static_cast<int>(i)));
6071
20.6k
    }
6072
1.87M
  }
6073
6074
  // repeated .yb.QLReadRequestPB ql_batch = 4;
6075
1.87M
  {
6076
1.87M
    unsigned int count = static_cast<unsigned int>(this->ql_batch_size());
6077
1.87M
    total_size += 1UL * count;
6078
2.54M
    for (unsigned int i = 0; i < count; i++) {
6079
672k
      total_size +=
6080
672k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6081
672k
          this->ql_batch(static_cast<int>(i)));
6082
672k
    }
6083
1.87M
  }
6084
6085
  // repeated .yb.PgsqlReadRequestPB pgsql_batch = 10;
6086
1.87M
  {
6087
1.87M
    unsigned int count = static_cast<unsigned int>(this->pgsql_batch_size());
6088
1.87M
    total_size += 1UL * count;
6089
4.64M
    for (unsigned int i = 0; i < count; i++) {
6090
2.77M
      total_size +=
6091
2.77M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6092
2.77M
          this->pgsql_batch(static_cast<int>(i)));
6093
2.77M
    }
6094
1.87M
  }
6095
6096
1.87M
  if (_has_bits_[0 / 32] & 255u) {
6097
    // optional bytes tablet_id = 1;
6098
1.87M
    if (has_tablet_id()) {
6099
1.87M
      total_size += 1 +
6100
1.87M
        ::google::protobuf::internal::WireFormatLite::BytesSize(
6101
1.87M
          this->tablet_id());
6102
1.87M
    }
6103
6104
    // optional string proxy_uuid = 11;
6105
1.87M
    if (has_proxy_uuid()) {
6106
1.87M
      total_size += 1 +
6107
1.87M
        ::google::protobuf::internal::WireFormatLite::StringSize(
6108
1.87M
          this->proxy_uuid());
6109
1.87M
    }
6110
6111
    // optional .yb.TransactionMetadataPB transaction = 7;
6112
1.87M
    if (has_transaction()) {
6113
608k
      total_size += 1 +
6114
608k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6115
608k
          *this->transaction_);
6116
608k
    }
6117
6118
    // optional .yb.ReadHybridTimePB read_time = 9;
6119
1.87M
    if (has_read_time()) {
6120
1.00M
      total_size += 1 +
6121
1.00M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6122
1.00M
          *this->read_time_);
6123
1.00M
    }
6124
6125
    // optional .yb.SubTransactionMetadataPB subtransaction = 15;
6126
1.87M
    if (has_subtransaction()) {
6127
53.4k
      total_size += 1 +
6128
53.4k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6129
53.4k
          *this->subtransaction_);
6130
53.4k
    }
6131
6132
    // optional fixed64 propagated_hybrid_time = 8;
6133
1.87M
    if (has_propagated_hybrid_time()) {
6134
1.85M
      total_size += 1 + 8;
6135
1.85M
    }
6136
6137
    // optional double rejection_score = 13;
6138
1.87M
    if (has_rejection_score()) {
6139
1.87M
      total_size += 1 + 8;
6140
1.87M
    }
6141
6142
    // optional uint64 batch_idx = 14;
6143
1.87M
    if (has_batch_idx()) {
6144
1.87M
      total_size += 1 +
6145
1.87M
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
6146
1.87M
          this->batch_idx());
6147
1.87M
    }
6148
6149
1.87M
  }
6150
1.87M
  if (_has_bits_[8 / 32] & 3840u) {
6151
    // optional bool include_trace = 5 [default = false];
6152
1.87M
    if (has_include_trace()) {
6153
1.87M
      total_size += 1 + 1;
6154
1.87M
    }
6155
6156
    // optional bool DEPRECATED_may_have_metadata = 12;
6157
1.87M
    if (has_deprecated_may_have_metadata()) {
6158
608k
      total_size += 1 + 1;
6159
608k
    }
6160
6161
    // optional bool cache_blocks = 3 [default = true];
6162
1.87M
    if (has_cache_blocks()) {
6163
0
      total_size += 1 + 1;
6164
0
    }
6165
6166
    // optional .yb.YBConsistencyLevel consistency_level = 6 [default = STRONG];
6167
1.87M
    if (has_consistency_level()) {
6168
1.87M
      total_size += 1 +
6169
1.87M
        ::google::protobuf::internal::WireFormatLite::EnumSize(this->consistency_level());
6170
1.87M
    }
6171
6172
1.87M
  }
6173
1.87M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6174
1.87M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6175
1.87M
  _cached_size_ = cached_size;
6176
1.87M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6177
1.87M
  return total_size;
6178
1.87M
}
6179
6180
0
void ReadRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
6181
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ReadRequestPB)
6182
0
  GOOGLE_DCHECK_NE(&from, this);
6183
0
  const ReadRequestPB* source =
6184
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ReadRequestPB>(
6185
0
          &from);
6186
0
  if (source == NULL) {
6187
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ReadRequestPB)
6188
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6189
0
  } else {
6190
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ReadRequestPB)
6191
0
    MergeFrom(*source);
6192
0
  }
6193
0
}
6194
6195
0
void ReadRequestPB::MergeFrom(const ReadRequestPB& from) {
6196
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ReadRequestPB)
6197
0
  GOOGLE_DCHECK_NE(&from, this);
6198
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6199
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6200
0
  (void) cached_has_bits;
6201
6202
0
  redis_batch_.MergeFrom(from.redis_batch_);
6203
0
  ql_batch_.MergeFrom(from.ql_batch_);
6204
0
  pgsql_batch_.MergeFrom(from.pgsql_batch_);
6205
0
  cached_has_bits = from._has_bits_[0];
6206
0
  if (cached_has_bits & 255u) {
6207
0
    if (cached_has_bits & 0x00000001u) {
6208
0
      set_has_tablet_id();
6209
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
6210
0
    }
6211
0
    if (cached_has_bits & 0x00000002u) {
6212
0
      set_has_proxy_uuid();
6213
0
      proxy_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.proxy_uuid_);
6214
0
    }
6215
0
    if (cached_has_bits & 0x00000004u) {
6216
0
      mutable_transaction()->::yb::TransactionMetadataPB::MergeFrom(from.transaction());
6217
0
    }
6218
0
    if (cached_has_bits & 0x00000008u) {
6219
0
      mutable_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.read_time());
6220
0
    }
6221
0
    if (cached_has_bits & 0x00000010u) {
6222
0
      mutable_subtransaction()->::yb::SubTransactionMetadataPB::MergeFrom(from.subtransaction());
6223
0
    }
6224
0
    if (cached_has_bits & 0x00000020u) {
6225
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
6226
0
    }
6227
0
    if (cached_has_bits & 0x00000040u) {
6228
0
      rejection_score_ = from.rejection_score_;
6229
0
    }
6230
0
    if (cached_has_bits & 0x00000080u) {
6231
0
      batch_idx_ = from.batch_idx_;
6232
0
    }
6233
0
    _has_bits_[0] |= cached_has_bits;
6234
0
  }
6235
0
  if (cached_has_bits & 3840u) {
6236
0
    if (cached_has_bits & 0x00000100u) {
6237
0
      include_trace_ = from.include_trace_;
6238
0
    }
6239
0
    if (cached_has_bits & 0x00000200u) {
6240
0
      deprecated_may_have_metadata_ = from.deprecated_may_have_metadata_;
6241
0
    }
6242
0
    if (cached_has_bits & 0x00000400u) {
6243
0
      cache_blocks_ = from.cache_blocks_;
6244
0
    }
6245
0
    if (cached_has_bits & 0x00000800u) {
6246
0
      consistency_level_ = from.consistency_level_;
6247
0
    }
6248
0
    _has_bits_[0] |= cached_has_bits;
6249
0
  }
6250
0
}
6251
6252
0
void ReadRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
6253
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ReadRequestPB)
6254
0
  if (&from == this) return;
6255
0
  Clear();
6256
0
  MergeFrom(from);
6257
0
}
6258
6259
0
void ReadRequestPB::CopyFrom(const ReadRequestPB& from) {
6260
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ReadRequestPB)
6261
0
  if (&from == this) return;
6262
0
  Clear();
6263
0
  MergeFrom(from);
6264
0
}
6265
6266
1.87M
bool ReadRequestPB::IsInitialized() const {
6267
1.87M
  if (!::google::protobuf::internal::AllAreInitialized(this->redis_batch())) return false;
6268
1.87M
  if (!::google::protobuf::internal::AllAreInitialized(this->ql_batch())) return false;
6269
1.87M
  return true;
6270
1.87M
}
6271
6272
0
void ReadRequestPB::Swap(ReadRequestPB* other) {
6273
0
  if (other == this) return;
6274
0
  InternalSwap(other);
6275
0
}
6276
0
void ReadRequestPB::InternalSwap(ReadRequestPB* other) {
6277
0
  using std::swap;
6278
0
  redis_batch_.InternalSwap(&other->redis_batch_);
6279
0
  ql_batch_.InternalSwap(&other->ql_batch_);
6280
0
  pgsql_batch_.InternalSwap(&other->pgsql_batch_);
6281
0
  tablet_id_.Swap(&other->tablet_id_);
6282
0
  proxy_uuid_.Swap(&other->proxy_uuid_);
6283
0
  swap(transaction_, other->transaction_);
6284
0
  swap(read_time_, other->read_time_);
6285
0
  swap(subtransaction_, other->subtransaction_);
6286
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
6287
0
  swap(rejection_score_, other->rejection_score_);
6288
0
  swap(batch_idx_, other->batch_idx_);
6289
0
  swap(include_trace_, other->include_trace_);
6290
0
  swap(deprecated_may_have_metadata_, other->deprecated_may_have_metadata_);
6291
0
  swap(cache_blocks_, other->cache_blocks_);
6292
0
  swap(consistency_level_, other->consistency_level_);
6293
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6294
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6295
0
  swap(_cached_size_, other->_cached_size_);
6296
0
}
6297
6298
937k
::google::protobuf::Metadata ReadRequestPB::GetMetadata() const {
6299
937k
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
6300
937k
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
6301
937k
}
6302
6303
6304
// ===================================================================
6305
6306
15.8k
void ReadResponsePB::InitAsDefaultInstance() {
6307
15.8k
  ::yb::tserver::_ReadResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
6308
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
6309
15.8k
  ::yb::tserver::_ReadResponsePB_default_instance_._instance.get_mutable()->restart_read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
6310
15.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
6311
15.8k
  ::yb::tserver::_ReadResponsePB_default_instance_._instance.get_mutable()->used_read_time_ = const_cast< ::yb::ReadHybridTimePB*>(
6312
15.8k
      ::yb::ReadHybridTimePB::internal_default_instance());
6313
15.8k
}
6314
0
void ReadResponsePB::clear_redis_batch() {
6315
0
  redis_batch_.Clear();
6316
0
}
6317
0
void ReadResponsePB::clear_ql_batch() {
6318
0
  ql_batch_.Clear();
6319
0
}
6320
0
void ReadResponsePB::clear_pgsql_batch() {
6321
0
  pgsql_batch_.Clear();
6322
0
}
6323
0
void ReadResponsePB::clear_error() {
6324
0
  if (error_ != NULL) error_->Clear();
6325
0
  clear_has_error();
6326
0
}
6327
0
void ReadResponsePB::clear_restart_read_time() {
6328
0
  if (restart_read_time_ != NULL) restart_read_time_->Clear();
6329
0
  clear_has_restart_read_time();
6330
0
}
6331
0
void ReadResponsePB::clear_used_read_time() {
6332
0
  if (used_read_time_ != NULL) used_read_time_->Clear();
6333
0
  clear_has_used_read_time();
6334
0
}
6335
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6336
const int ReadResponsePB::kRedisBatchFieldNumber;
6337
const int ReadResponsePB::kQlBatchFieldNumber;
6338
const int ReadResponsePB::kPgsqlBatchFieldNumber;
6339
const int ReadResponsePB::kErrorFieldNumber;
6340
const int ReadResponsePB::kTraceBufferFieldNumber;
6341
const int ReadResponsePB::kPropagatedHybridTimeFieldNumber;
6342
const int ReadResponsePB::kRestartReadTimeFieldNumber;
6343
const int ReadResponsePB::kUsedReadTimeFieldNumber;
6344
const int ReadResponsePB::kLocalLimitHtFieldNumber;
6345
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6346
6347
ReadResponsePB::ReadResponsePB()
6348
5.63M
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6349
5.61M
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6350
5.61M
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsReadResponsePB();
6351
5.61M
  }
6352
5.63M
  SharedCtor();
6353
  // @@protoc_insertion_point(constructor:yb.tserver.ReadResponsePB)
6354
5.63M
}
6355
ReadResponsePB::ReadResponsePB(const ReadResponsePB& from)
6356
  : ::google::protobuf::Message(),
6357
      _internal_metadata_(NULL),
6358
      _has_bits_(from._has_bits_),
6359
      _cached_size_(0),
6360
      redis_batch_(from.redis_batch_),
6361
      ql_batch_(from.ql_batch_),
6362
0
      pgsql_batch_(from.pgsql_batch_) {
6363
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6364
0
  trace_buffer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6365
0
  if (from.has_trace_buffer()) {
6366
0
    trace_buffer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trace_buffer_);
6367
0
  }
6368
0
  if (from.has_error()) {
6369
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
6370
0
  } else {
6371
0
    error_ = NULL;
6372
0
  }
6373
0
  if (from.has_restart_read_time()) {
6374
0
    restart_read_time_ = new ::yb::ReadHybridTimePB(*from.restart_read_time_);
6375
0
  } else {
6376
0
    restart_read_time_ = NULL;
6377
0
  }
6378
0
  if (from.has_used_read_time()) {
6379
0
    used_read_time_ = new ::yb::ReadHybridTimePB(*from.used_read_time_);
6380
0
  } else {
6381
0
    used_read_time_ = NULL;
6382
0
  }
6383
0
  ::memcpy(&propagated_hybrid_time_, &from.propagated_hybrid_time_,
6384
0
    static_cast<size_t>(reinterpret_cast<char*>(&local_limit_ht_) -
6385
0
    reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(local_limit_ht_));
6386
  // @@protoc_insertion_point(copy_constructor:yb.tserver.ReadResponsePB)
6387
0
}
6388
6389
5.62M
void ReadResponsePB::SharedCtor() {
6390
5.62M
  _cached_size_ = 0;
6391
5.62M
  trace_buffer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6392
5.62M
  ::memset(&error_, 0, static_cast<size_t>(
6393
5.62M
      reinterpret_cast<char*>(&local_limit_ht_) -
6394
5.62M
      reinterpret_cast<char*>(&error_)) + sizeof(local_limit_ht_));
6395
5.62M
}
6396
6397
5.61M
ReadResponsePB::~ReadResponsePB() {
6398
  // @@protoc_insertion_point(destructor:yb.tserver.ReadResponsePB)
6399
5.61M
  SharedDtor();
6400
5.61M
}
6401
6402
5.61M
void ReadResponsePB::SharedDtor() {
6403
5.61M
  trace_buffer_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6404
5.61M
  if (this != internal_default_instance()) delete error_;
6405
5.61M
  if (this != internal_default_instance()) delete restart_read_time_;
6406
5.61M
  if (this != internal_default_instance()) delete used_read_time_;
6407
5.61M
}
6408
6409
0
void ReadResponsePB::SetCachedSize(int size) const {
6410
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6411
0
  _cached_size_ = size;
6412
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6413
0
}
6414
0
const ::google::protobuf::Descriptor* ReadResponsePB::descriptor() {
6415
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
6416
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
6417
0
}
6418
6419
0
const ReadResponsePB& ReadResponsePB::default_instance() {
6420
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsReadResponsePB();
6421
0
  return *internal_default_instance();
6422
0
}
6423
6424
0
ReadResponsePB* ReadResponsePB::New(::google::protobuf::Arena* arena) const {
6425
0
  ReadResponsePB* n = new ReadResponsePB;
6426
0
  if (arena != NULL) {
6427
0
    arena->Own(n);
6428
0
  }
6429
0
  return n;
6430
0
}
6431
6432
9.33M
void ReadResponsePB::Clear() {
6433
// @@protoc_insertion_point(message_clear_start:yb.tserver.ReadResponsePB)
6434
9.33M
  ::google::protobuf::uint32 cached_has_bits = 0;
6435
  // Prevent compiler warnings about cached_has_bits being unused
6436
9.33M
  (void) cached_has_bits;
6437
6438
9.33M
  redis_batch_.Clear();
6439
9.33M
  ql_batch_.Clear();
6440
9.33M
  pgsql_batch_.Clear();
6441
9.33M
  cached_has_bits = _has_bits_[0];
6442
9.33M
  if (cached_has_bits & 15u) {
6443
11.2k
    if (cached_has_bits & 0x00000001u) {
6444
0
      GOOGLE_DCHECK(!trace_buffer_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
6445
0
      (*trace_buffer_.UnsafeRawStringPointer())->clear();
6446
0
    }
6447
11.2k
    if (cached_has_bits & 0x00000002u) {
6448
11.2k
      GOOGLE_DCHECK(error_ != NULL);
6449
11.2k
      error_->Clear();
6450
11.2k
    }
6451
11.2k
    if (cached_has_bits & 0x00000004u) {
6452
0
      GOOGLE_DCHECK(restart_read_time_ != NULL);
6453
0
      restart_read_time_->Clear();
6454
0
    }
6455
11.2k
    if (cached_has_bits & 0x00000008u) {
6456
0
      GOOGLE_DCHECK(used_read_time_ != NULL);
6457
0
      used_read_time_->Clear();
6458
0
    }
6459
11.2k
  }
6460
9.33M
  if (cached_has_bits & 48u) {
6461
0
    ::memset(&propagated_hybrid_time_, 0, static_cast<size_t>(
6462
0
        reinterpret_cast<char*>(&local_limit_ht_) -
6463
0
        reinterpret_cast<char*>(&propagated_hybrid_time_)) + sizeof(local_limit_ht_));
6464
0
  }
6465
9.33M
  _has_bits_.Clear();
6466
9.33M
  _internal_metadata_.Clear();
6467
9.33M
}
6468
6469
bool ReadResponsePB::MergePartialFromCodedStream(
6470
937k
    ::google::protobuf::io::CodedInputStream* input) {
6471
3.29M
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
6472
937k
  ::google::protobuf::uint32 tag;
6473
  // @@protoc_insertion_point(parse_start:yb.tserver.ReadResponsePB)
6474
4.23M
  for (;;) {
6475
4.23M
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
6476
4.23M
    tag = p.first;
6477
4.23M
    if (!p.second) goto handle_unusual;
6478
3.29M
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6479
      // repeated .yb.RedisResponsePB redis_batch = 1;
6480
10.2k
      case 1: {
6481
10.2k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6482
10.2k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
6483
10.2k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_redis_batch()));
6484
0
        } else {
6485
0
          goto handle_unusual;
6486
0
        }
6487
10.2k
        break;
6488
10.2k
      }
6489
6490
      // optional .yb.tserver.TabletServerErrorPB error = 3;
6491
35.3k
      case 3: {
6492
35.3k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6493
35.3k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
6494
35.3k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6495
35.3k
               input, mutable_error()));
6496
0
        } else {
6497
0
          goto handle_unusual;
6498
0
        }
6499
35.3k
        break;
6500
35.3k
      }
6501
6502
      // repeated .yb.QLResponsePB ql_batch = 4;
6503
329k
      case 4: {
6504
329k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6505
330k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
6506
330k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_ql_batch()));
6507
18.4E
        } else {
6508
18.4E
          goto handle_unusual;
6509
18.4E
        }
6510
330k
        break;
6511
330k
      }
6512
6513
      // optional string trace_buffer = 5;
6514
0
      case 5: {
6515
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6516
0
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
6517
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
6518
0
                input, this->mutable_trace_buffer()));
6519
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6520
0
            this->trace_buffer().data(), static_cast<int>(this->trace_buffer().length()),
6521
0
            ::google::protobuf::internal::WireFormat::PARSE,
6522
0
            "yb.tserver.ReadResponsePB.trace_buffer");
6523
0
        } else {
6524
0
          goto handle_unusual;
6525
0
        }
6526
0
        break;
6527
0
      }
6528
6529
      // optional fixed64 propagated_hybrid_time = 6;
6530
902k
      case 6: {
6531
902k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6532
902k
            static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) {
6533
902k
          set_has_propagated_hybrid_time();
6534
902k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6535
902k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
6536
902k
                 input, &propagated_hybrid_time_)));
6537
18.4E
        } else {
6538
18.4E
          goto handle_unusual;
6539
18.4E
        }
6540
902k
        break;
6541
902k
      }
6542
6543
      // optional .yb.ReadHybridTimePB restart_read_time = 7;
6544
30
      case 7: {
6545
30
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6546
30
            static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {
6547
30
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6548
30
               input, mutable_restart_read_time()));
6549
0
        } else {
6550
0
          goto handle_unusual;
6551
0
        }
6552
30
        break;
6553
30
      }
6554
6555
      // repeated .yb.PgsqlResponsePB pgsql_batch = 8;
6556
1.11M
      case 8: {
6557
1.11M
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6558
1.11M
            static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {
6559
1.11M
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input, add_pgsql_batch()));
6560
0
        } else {
6561
0
          goto handle_unusual;
6562
0
        }
6563
1.11M
        break;
6564
1.11M
      }
6565
6566
      // optional .yb.ReadHybridTimePB used_read_time = 9;
6567
403k
      case 9: {
6568
403k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6569
403k
            static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {
6570
403k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
6571
403k
               input, mutable_used_read_time()));
6572
18.4E
        } else {
6573
18.4E
          goto handle_unusual;
6574
18.4E
        }
6575
403k
        break;
6576
403k
      }
6577
6578
      // optional fixed64 local_limit_ht = 10;
6579
499k
      case 10: {
6580
499k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
6581
499k
            static_cast< ::google::protobuf::uint8>(81u /* 81 & 0xFF */)) {
6582
499k
          set_has_local_limit_ht();
6583
499k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6584
499k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
6585
499k
                 input, &local_limit_ht_)));
6586
18.4E
        } else {
6587
18.4E
          goto handle_unusual;
6588
18.4E
        }
6589
499k
        break;
6590
938k
      }
6591
6592
0
      default: {
6593
938k
      handle_unusual:
6594
938k
        if (tag == 0) {
6595
938k
          goto success;
6596
938k
        }
6597
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
6598
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
6599
18.4E
        break;
6600
18.4E
      }
6601
3.29M
    }
6602
3.29M
  }
6603
938k
success:
6604
  // @@protoc_insertion_point(parse_success:yb.tserver.ReadResponsePB)
6605
938k
  return true;
6606
0
failure:
6607
  // @@protoc_insertion_point(parse_failure:yb.tserver.ReadResponsePB)
6608
0
  return false;
6609
937k
#undef DO_
6610
937k
}
6611
6612
void ReadResponsePB::SerializeWithCachedSizes(
6613
0
    ::google::protobuf::io::CodedOutputStream* output) const {
6614
  // @@protoc_insertion_point(serialize_start:yb.tserver.ReadResponsePB)
6615
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6616
0
  (void) cached_has_bits;
6617
6618
  // repeated .yb.RedisResponsePB redis_batch = 1;
6619
0
  for (unsigned int i = 0,
6620
0
      n = static_cast<unsigned int>(this->redis_batch_size()); i < n; i++) {
6621
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6622
0
      1, this->redis_batch(static_cast<int>(i)), output);
6623
0
  }
6624
6625
0
  cached_has_bits = _has_bits_[0];
6626
  // optional .yb.tserver.TabletServerErrorPB error = 3;
6627
0
  if (cached_has_bits & 0x00000002u) {
6628
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6629
0
      3, *this->error_, output);
6630
0
  }
6631
6632
  // repeated .yb.QLResponsePB ql_batch = 4;
6633
0
  for (unsigned int i = 0,
6634
0
      n = static_cast<unsigned int>(this->ql_batch_size()); i < n; i++) {
6635
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6636
0
      4, this->ql_batch(static_cast<int>(i)), output);
6637
0
  }
6638
6639
  // optional string trace_buffer = 5;
6640
0
  if (cached_has_bits & 0x00000001u) {
6641
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6642
0
      this->trace_buffer().data(), static_cast<int>(this->trace_buffer().length()),
6643
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6644
0
      "yb.tserver.ReadResponsePB.trace_buffer");
6645
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
6646
0
      5, this->trace_buffer(), output);
6647
0
  }
6648
6649
  // optional fixed64 propagated_hybrid_time = 6;
6650
0
  if (cached_has_bits & 0x00000010u) {
6651
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(6, this->propagated_hybrid_time(), output);
6652
0
  }
6653
6654
  // optional .yb.ReadHybridTimePB restart_read_time = 7;
6655
0
  if (cached_has_bits & 0x00000004u) {
6656
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6657
0
      7, *this->restart_read_time_, output);
6658
0
  }
6659
6660
  // repeated .yb.PgsqlResponsePB pgsql_batch = 8;
6661
0
  for (unsigned int i = 0,
6662
0
      n = static_cast<unsigned int>(this->pgsql_batch_size()); i < n; i++) {
6663
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6664
0
      8, this->pgsql_batch(static_cast<int>(i)), output);
6665
0
  }
6666
6667
  // optional .yb.ReadHybridTimePB used_read_time = 9;
6668
0
  if (cached_has_bits & 0x00000008u) {
6669
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
6670
0
      9, *this->used_read_time_, output);
6671
0
  }
6672
6673
  // optional fixed64 local_limit_ht = 10;
6674
0
  if (cached_has_bits & 0x00000020u) {
6675
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(10, this->local_limit_ht(), output);
6676
0
  }
6677
6678
0
  if (_internal_metadata_.have_unknown_fields()) {
6679
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
6680
0
        _internal_metadata_.unknown_fields(), output);
6681
0
  }
6682
  // @@protoc_insertion_point(serialize_end:yb.tserver.ReadResponsePB)
6683
0
}
6684
6685
::google::protobuf::uint8* ReadResponsePB::InternalSerializeWithCachedSizesToArray(
6686
937k
    bool deterministic, ::google::protobuf::uint8* target) const {
6687
937k
  (void)deterministic; // Unused
6688
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.ReadResponsePB)
6689
937k
  ::google::protobuf::uint32 cached_has_bits = 0;
6690
937k
  (void) cached_has_bits;
6691
6692
  // repeated .yb.RedisResponsePB redis_batch = 1;
6693
937k
  for (unsigned int i = 0,
6694
947k
      n = static_cast<unsigned int>(this->redis_batch_size()); i < n; i++) {
6695
10.2k
    target = ::google::protobuf::internal::WireFormatLite::
6696
10.2k
      InternalWriteMessageToArray(
6697
10.2k
        1, this->redis_batch(static_cast<int>(i)), deterministic, target);
6698
10.2k
  }
6699
6700
937k
  cached_has_bits = _has_bits_[0];
6701
  // optional .yb.tserver.TabletServerErrorPB error = 3;
6702
937k
  if (cached_has_bits & 0x00000002u) {
6703
35.3k
    target = ::google::protobuf::internal::WireFormatLite::
6704
35.3k
      InternalWriteMessageToArray(
6705
35.3k
        3, *this->error_, deterministic, target);
6706
35.3k
  }
6707
6708
  // repeated .yb.QLResponsePB ql_batch = 4;
6709
937k
  for (unsigned int i = 0,
6710
1.26M
      n = static_cast<unsigned int>(this->ql_batch_size()); i < n; i++) {
6711
326k
    target = ::google::protobuf::internal::WireFormatLite::
6712
326k
      InternalWriteMessageToArray(
6713
326k
        4, this->ql_batch(static_cast<int>(i)), deterministic, target);
6714
326k
  }
6715
6716
  // optional string trace_buffer = 5;
6717
937k
  if (cached_has_bits & 0x00000001u) {
6718
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
6719
0
      this->trace_buffer().data(), static_cast<int>(this->trace_buffer().length()),
6720
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
6721
0
      "yb.tserver.ReadResponsePB.trace_buffer");
6722
0
    target =
6723
0
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6724
0
        5, this->trace_buffer(), target);
6725
0
  }
6726
6727
  // optional fixed64 propagated_hybrid_time = 6;
6728
937k
  if (cached_has_bits & 0x00000010u) {
6729
901k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(6, this->propagated_hybrid_time(), target);
6730
901k
  }
6731
6732
  // optional .yb.ReadHybridTimePB restart_read_time = 7;
6733
937k
  if (cached_has_bits & 0x00000004u) {
6734
30
    target = ::google::protobuf::internal::WireFormatLite::
6735
30
      InternalWriteMessageToArray(
6736
30
        7, *this->restart_read_time_, deterministic, target);
6737
30
  }
6738
6739
  // repeated .yb.PgsqlResponsePB pgsql_batch = 8;
6740
937k
  for (unsigned int i = 0,
6741
2.05M
      n = static_cast<unsigned int>(this->pgsql_batch_size()); i < n; i++) {
6742
1.11M
    target = ::google::protobuf::internal::WireFormatLite::
6743
1.11M
      InternalWriteMessageToArray(
6744
1.11M
        8, this->pgsql_batch(static_cast<int>(i)), deterministic, target);
6745
1.11M
  }
6746
6747
  // optional .yb.ReadHybridTimePB used_read_time = 9;
6748
937k
  if (cached_has_bits & 0x00000008u) {
6749
400k
    target = ::google::protobuf::internal::WireFormatLite::
6750
400k
      InternalWriteMessageToArray(
6751
400k
        9, *this->used_read_time_, deterministic, target);
6752
400k
  }
6753
6754
  // optional fixed64 local_limit_ht = 10;
6755
937k
  if (cached_has_bits & 0x00000020u) {
6756
499k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(10, this->local_limit_ht(), target);
6757
499k
  }
6758
6759
937k
  if (_internal_metadata_.have_unknown_fields()) {
6760
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
6761
0
        _internal_metadata_.unknown_fields(), target);
6762
0
  }
6763
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.ReadResponsePB)
6764
937k
  return target;
6765
937k
}
6766
6767
1.87M
size_t ReadResponsePB::ByteSizeLong() const {
6768
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.ReadResponsePB)
6769
1.87M
  size_t total_size = 0;
6770
6771
1.87M
  if (_internal_metadata_.have_unknown_fields()) {
6772
0
    total_size +=
6773
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
6774
0
        _internal_metadata_.unknown_fields());
6775
0
  }
6776
  // repeated .yb.RedisResponsePB redis_batch = 1;
6777
1.87M
  {
6778
1.87M
    unsigned int count = static_cast<unsigned int>(this->redis_batch_size());
6779
1.87M
    total_size += 1UL * count;
6780
1.89M
    for (unsigned int i = 0; i < count; i++) {
6781
20.5k
      total_size +=
6782
20.5k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6783
20.5k
          this->redis_batch(static_cast<int>(i)));
6784
20.5k
    }
6785
1.87M
  }
6786
6787
  // repeated .yb.QLResponsePB ql_batch = 4;
6788
1.87M
  {
6789
1.87M
    unsigned int count = static_cast<unsigned int>(this->ql_batch_size());
6790
1.87M
    total_size += 1UL * count;
6791
2.52M
    for (unsigned int i = 0; i < count; i++) {
6792
653k
      total_size +=
6793
653k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6794
653k
          this->ql_batch(static_cast<int>(i)));
6795
653k
    }
6796
1.87M
  }
6797
6798
  // repeated .yb.PgsqlResponsePB pgsql_batch = 8;
6799
1.87M
  {
6800
1.87M
    unsigned int count = static_cast<unsigned int>(this->pgsql_batch_size());
6801
1.87M
    total_size += 1UL * count;
6802
4.10M
    for (unsigned int i = 0; i < count; i++) {
6803
2.23M
      total_size +=
6804
2.23M
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6805
2.23M
          this->pgsql_batch(static_cast<int>(i)));
6806
2.23M
    }
6807
1.87M
  }
6808
6809
1.87M
  if (_has_bits_[0 / 32] & 63u) {
6810
    // optional string trace_buffer = 5;
6811
1.87M
    if (has_trace_buffer()) {
6812
0
      total_size += 1 +
6813
0
        ::google::protobuf::internal::WireFormatLite::StringSize(
6814
0
          this->trace_buffer());
6815
0
    }
6816
6817
    // optional .yb.tserver.TabletServerErrorPB error = 3;
6818
1.87M
    if (has_error()) {
6819
70.6k
      total_size += 1 +
6820
70.6k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6821
70.6k
          *this->error_);
6822
70.6k
    }
6823
6824
    // optional .yb.ReadHybridTimePB restart_read_time = 7;
6825
1.87M
    if (has_restart_read_time()) {
6826
60
      total_size += 1 +
6827
60
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6828
60
          *this->restart_read_time_);
6829
60
    }
6830
6831
    // optional .yb.ReadHybridTimePB used_read_time = 9;
6832
1.87M
    if (has_used_read_time()) {
6833
801k
      total_size += 1 +
6834
801k
        ::google::protobuf::internal::WireFormatLite::MessageSize(
6835
801k
          *this->used_read_time_);
6836
801k
    }
6837
6838
    // optional fixed64 propagated_hybrid_time = 6;
6839
1.87M
    if (has_propagated_hybrid_time()) {
6840
1.79M
      total_size += 1 + 8;
6841
1.79M
    }
6842
6843
    // optional fixed64 local_limit_ht = 10;
6844
1.87M
    if (has_local_limit_ht()) {
6845
998k
      total_size += 1 + 8;
6846
998k
    }
6847
6848
1.87M
  }
6849
1.87M
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
6850
1.87M
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6851
1.87M
  _cached_size_ = cached_size;
6852
1.87M
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
6853
1.87M
  return total_size;
6854
1.87M
}
6855
6856
0
void ReadResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
6857
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.ReadResponsePB)
6858
0
  GOOGLE_DCHECK_NE(&from, this);
6859
0
  const ReadResponsePB* source =
6860
0
      ::google::protobuf::internal::DynamicCastToGenerated<const ReadResponsePB>(
6861
0
          &from);
6862
0
  if (source == NULL) {
6863
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.ReadResponsePB)
6864
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
6865
0
  } else {
6866
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.ReadResponsePB)
6867
0
    MergeFrom(*source);
6868
0
  }
6869
0
}
6870
6871
0
void ReadResponsePB::MergeFrom(const ReadResponsePB& from) {
6872
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.ReadResponsePB)
6873
0
  GOOGLE_DCHECK_NE(&from, this);
6874
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6875
0
  ::google::protobuf::uint32 cached_has_bits = 0;
6876
0
  (void) cached_has_bits;
6877
6878
0
  redis_batch_.MergeFrom(from.redis_batch_);
6879
0
  ql_batch_.MergeFrom(from.ql_batch_);
6880
0
  pgsql_batch_.MergeFrom(from.pgsql_batch_);
6881
0
  cached_has_bits = from._has_bits_[0];
6882
0
  if (cached_has_bits & 63u) {
6883
0
    if (cached_has_bits & 0x00000001u) {
6884
0
      set_has_trace_buffer();
6885
0
      trace_buffer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.trace_buffer_);
6886
0
    }
6887
0
    if (cached_has_bits & 0x00000002u) {
6888
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
6889
0
    }
6890
0
    if (cached_has_bits & 0x00000004u) {
6891
0
      mutable_restart_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.restart_read_time());
6892
0
    }
6893
0
    if (cached_has_bits & 0x00000008u) {
6894
0
      mutable_used_read_time()->::yb::ReadHybridTimePB::MergeFrom(from.used_read_time());
6895
0
    }
6896
0
    if (cached_has_bits & 0x00000010u) {
6897
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
6898
0
    }
6899
0
    if (cached_has_bits & 0x00000020u) {
6900
0
      local_limit_ht_ = from.local_limit_ht_;
6901
0
    }
6902
0
    _has_bits_[0] |= cached_has_bits;
6903
0
  }
6904
0
}
6905
6906
0
void ReadResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
6907
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.ReadResponsePB)
6908
0
  if (&from == this) return;
6909
0
  Clear();
6910
0
  MergeFrom(from);
6911
0
}
6912
6913
0
void ReadResponsePB::CopyFrom(const ReadResponsePB& from) {
6914
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.ReadResponsePB)
6915
0
  if (&from == this) return;
6916
0
  Clear();
6917
0
  MergeFrom(from);
6918
0
}
6919
6920
1.87M
bool ReadResponsePB::IsInitialized() const {
6921
1.87M
  if (!::google::protobuf::internal::AllAreInitialized(this->ql_batch())) return false;
6922
1.87M
  if (has_error()) {
6923
70.6k
    if (!this->error_->IsInitialized()) return false;
6924
1.87M
  }
6925
1.87M
  return true;
6926
1.87M
}
6927
6928
0
void ReadResponsePB::Swap(ReadResponsePB* other) {
6929
0
  if (other == this) return;
6930
0
  InternalSwap(other);
6931
0
}
6932
0
void ReadResponsePB::InternalSwap(ReadResponsePB* other) {
6933
0
  using std::swap;
6934
0
  redis_batch_.InternalSwap(&other->redis_batch_);
6935
0
  ql_batch_.InternalSwap(&other->ql_batch_);
6936
0
  pgsql_batch_.InternalSwap(&other->pgsql_batch_);
6937
0
  trace_buffer_.Swap(&other->trace_buffer_);
6938
0
  swap(error_, other->error_);
6939
0
  swap(restart_read_time_, other->restart_read_time_);
6940
0
  swap(used_read_time_, other->used_read_time_);
6941
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
6942
0
  swap(local_limit_ht_, other->local_limit_ht_);
6943
0
  swap(_has_bits_[0], other->_has_bits_[0]);
6944
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
6945
0
  swap(_cached_size_, other->_cached_size_);
6946
0
}
6947
6948
8
::google::protobuf::Metadata ReadResponsePB::GetMetadata() const {
6949
8
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
6950
8
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
6951
8
}
6952
6953
6954
// ===================================================================
6955
6956
15.8k
void TruncateRequestPB::InitAsDefaultInstance() {
6957
15.8k
  ::yb::tserver::_TruncateRequestPB_default_instance_._instance.get_mutable()->truncate_ = const_cast< ::yb::tablet::TruncatePB*>(
6958
15.8k
      ::yb::tablet::TruncatePB::internal_default_instance());
6959
15.8k
}
6960
0
void TruncateRequestPB::clear_truncate() {
6961
0
  if (truncate_ != NULL) truncate_->Clear();
6962
0
  clear_has_truncate();
6963
0
}
6964
#if !defined(_MSC_VER) || _MSC_VER >= 1900
6965
const int TruncateRequestPB::kTabletIdFieldNumber;
6966
const int TruncateRequestPB::kPropagatedHybridTimeFieldNumber;
6967
const int TruncateRequestPB::kTruncateFieldNumber;
6968
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
6969
6970
TruncateRequestPB::TruncateRequestPB()
6971
123k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
6972
106k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
6973
106k
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsTruncateRequestPB();
6974
106k
  }
6975
123k
  SharedCtor();
6976
  // @@protoc_insertion_point(constructor:yb.tserver.TruncateRequestPB)
6977
123k
}
6978
TruncateRequestPB::TruncateRequestPB(const TruncateRequestPB& from)
6979
  : ::google::protobuf::Message(),
6980
      _internal_metadata_(NULL),
6981
      _has_bits_(from._has_bits_),
6982
0
      _cached_size_(0) {
6983
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
6984
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6985
0
  if (from.has_tablet_id()) {
6986
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
6987
0
  }
6988
0
  if (from.has_truncate()) {
6989
0
    truncate_ = new ::yb::tablet::TruncatePB(*from.truncate_);
6990
0
  } else {
6991
0
    truncate_ = NULL;
6992
0
  }
6993
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
6994
  // @@protoc_insertion_point(copy_constructor:yb.tserver.TruncateRequestPB)
6995
0
}
6996
6997
122k
void TruncateRequestPB::SharedCtor() {
6998
122k
  _cached_size_ = 0;
6999
122k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7000
122k
  ::memset(&truncate_, 0, static_cast<size_t>(
7001
122k
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
7002
122k
      reinterpret_cast<char*>(&truncate_)) + sizeof(propagated_hybrid_time_));
7003
122k
}
7004
7005
106k
TruncateRequestPB::~TruncateRequestPB() {
7006
  // @@protoc_insertion_point(destructor:yb.tserver.TruncateRequestPB)
7007
106k
  SharedDtor();
7008
106k
}
7009
7010
106k
void TruncateRequestPB::SharedDtor() {
7011
106k
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7012
106k
  if (this != internal_default_instance()) delete truncate_;
7013
106k
}
7014
7015
0
void TruncateRequestPB::SetCachedSize(int size) const {
7016
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7017
0
  _cached_size_ = size;
7018
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7019
0
}
7020
0
const ::google::protobuf::Descriptor* TruncateRequestPB::descriptor() {
7021
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7022
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7023
0
}
7024
7025
0
const TruncateRequestPB& TruncateRequestPB::default_instance() {
7026
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsTruncateRequestPB();
7027
0
  return *internal_default_instance();
7028
0
}
7029
7030
0
TruncateRequestPB* TruncateRequestPB::New(::google::protobuf::Arena* arena) const {
7031
0
  TruncateRequestPB* n = new TruncateRequestPB;
7032
0
  if (arena != NULL) {
7033
0
    arena->Own(n);
7034
0
  }
7035
0
  return n;
7036
0
}
7037
7038
53.5k
void TruncateRequestPB::Clear() {
7039
// @@protoc_insertion_point(message_clear_start:yb.tserver.TruncateRequestPB)
7040
53.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
7041
  // Prevent compiler warnings about cached_has_bits being unused
7042
53.5k
  (void) cached_has_bits;
7043
7044
53.5k
  cached_has_bits = _has_bits_[0];
7045
53.5k
  if (cached_has_bits & 3u) {
7046
0
    if (cached_has_bits & 0x00000001u) {
7047
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7048
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
7049
0
    }
7050
0
    if (cached_has_bits & 0x00000002u) {
7051
0
      GOOGLE_DCHECK(truncate_ != NULL);
7052
0
      truncate_->Clear();
7053
0
    }
7054
0
  }
7055
53.5k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
7056
53.5k
  _has_bits_.Clear();
7057
53.5k
  _internal_metadata_.Clear();
7058
53.5k
}
7059
7060
bool TruncateRequestPB::MergePartialFromCodedStream(
7061
53.5k
    ::google::protobuf::io::CodedInputStream* input) {
7062
106k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7063
53.5k
  ::google::protobuf::uint32 tag;
7064
  // @@protoc_insertion_point(parse_start:yb.tserver.TruncateRequestPB)
7065
160k
  for (;;) {
7066
160k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7067
160k
    tag = p.first;
7068
160k
    if (!p.second) goto handle_unusual;
7069
106k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7070
      // optional bytes tablet_id = 1;
7071
53.4k
      case 1: {
7072
53.4k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7073
53.4k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7074
53.4k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7075
53.4k
                input, this->mutable_tablet_id()));
7076
18.4E
        } else {
7077
18.4E
          goto handle_unusual;
7078
18.4E
        }
7079
53.4k
        break;
7080
53.4k
      }
7081
7082
      // optional fixed64 propagated_hybrid_time = 2;
7083
53.5k
      case 2: {
7084
53.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7085
53.5k
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
7086
53.5k
          set_has_propagated_hybrid_time();
7087
53.5k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7088
53.5k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
7089
53.5k
                 input, &propagated_hybrid_time_)));
7090
3
        } else {
7091
3
          goto handle_unusual;
7092
3
        }
7093
53.5k
        break;
7094
53.5k
      }
7095
7096
      // optional .yb.tablet.TruncatePB truncate = 3;
7097
0
      case 3: {
7098
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7099
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
7100
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7101
0
               input, mutable_truncate()));
7102
0
        } else {
7103
0
          goto handle_unusual;
7104
0
        }
7105
0
        break;
7106
53.5k
      }
7107
7108
0
      default: {
7109
53.5k
      handle_unusual:
7110
53.5k
        if (tag == 0) {
7111
53.5k
          goto success;
7112
53.5k
        }
7113
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7114
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7115
18.4E
        break;
7116
18.4E
      }
7117
106k
    }
7118
106k
  }
7119
53.5k
success:
7120
  // @@protoc_insertion_point(parse_success:yb.tserver.TruncateRequestPB)
7121
53.5k
  return true;
7122
0
failure:
7123
  // @@protoc_insertion_point(parse_failure:yb.tserver.TruncateRequestPB)
7124
0
  return false;
7125
53.5k
#undef DO_
7126
53.5k
}
7127
7128
void TruncateRequestPB::SerializeWithCachedSizes(
7129
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7130
  // @@protoc_insertion_point(serialize_start:yb.tserver.TruncateRequestPB)
7131
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7132
0
  (void) cached_has_bits;
7133
7134
0
  cached_has_bits = _has_bits_[0];
7135
  // optional bytes tablet_id = 1;
7136
0
  if (cached_has_bits & 0x00000001u) {
7137
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7138
0
      1, this->tablet_id(), output);
7139
0
  }
7140
7141
  // optional fixed64 propagated_hybrid_time = 2;
7142
0
  if (cached_has_bits & 0x00000004u) {
7143
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->propagated_hybrid_time(), output);
7144
0
  }
7145
7146
  // optional .yb.tablet.TruncatePB truncate = 3;
7147
0
  if (cached_has_bits & 0x00000002u) {
7148
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7149
0
      3, *this->truncate_, output);
7150
0
  }
7151
7152
0
  if (_internal_metadata_.have_unknown_fields()) {
7153
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7154
0
        _internal_metadata_.unknown_fields(), output);
7155
0
  }
7156
  // @@protoc_insertion_point(serialize_end:yb.tserver.TruncateRequestPB)
7157
0
}
7158
7159
::google::protobuf::uint8* TruncateRequestPB::InternalSerializeWithCachedSizesToArray(
7160
52.6k
    bool deterministic, ::google::protobuf::uint8* target) const {
7161
52.6k
  (void)deterministic; // Unused
7162
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.TruncateRequestPB)
7163
52.6k
  ::google::protobuf::uint32 cached_has_bits = 0;
7164
52.6k
  (void) cached_has_bits;
7165
7166
52.6k
  cached_has_bits = _has_bits_[0];
7167
  // optional bytes tablet_id = 1;
7168
52.8k
  if (cached_has_bits & 0x00000001u) {
7169
52.8k
    target =
7170
52.8k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7171
52.8k
        1, this->tablet_id(), target);
7172
52.8k
  }
7173
7174
  // optional fixed64 propagated_hybrid_time = 2;
7175
52.6k
  if (cached_has_bits & 0x00000004u) {
7176
52.6k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->propagated_hybrid_time(), target);
7177
52.6k
  }
7178
7179
  // optional .yb.tablet.TruncatePB truncate = 3;
7180
52.6k
  if (cached_has_bits & 0x00000002u) {
7181
0
    target = ::google::protobuf::internal::WireFormatLite::
7182
0
      InternalWriteMessageToArray(
7183
0
        3, *this->truncate_, deterministic, target);
7184
0
  }
7185
7186
52.6k
  if (_internal_metadata_.have_unknown_fields()) {
7187
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7188
0
        _internal_metadata_.unknown_fields(), target);
7189
0
  }
7190
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.TruncateRequestPB)
7191
52.6k
  return target;
7192
52.6k
}
7193
7194
104k
size_t TruncateRequestPB::ByteSizeLong() const {
7195
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.TruncateRequestPB)
7196
104k
  size_t total_size = 0;
7197
7198
104k
  if (_internal_metadata_.have_unknown_fields()) {
7199
0
    total_size +=
7200
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7201
0
        _internal_metadata_.unknown_fields());
7202
0
  }
7203
104k
  if (_has_bits_[0 / 32] & 7u) {
7204
    // optional bytes tablet_id = 1;
7205
104k
    if (has_tablet_id()) {
7206
104k
      total_size += 1 +
7207
104k
        ::google::protobuf::internal::WireFormatLite::BytesSize(
7208
104k
          this->tablet_id());
7209
104k
    }
7210
7211
    // optional .yb.tablet.TruncatePB truncate = 3;
7212
104k
    if (has_truncate()) {
7213
0
      total_size += 1 +
7214
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7215
0
          *this->truncate_);
7216
0
    }
7217
7218
    // optional fixed64 propagated_hybrid_time = 2;
7219
104k
    if (has_propagated_hybrid_time()) {
7220
104k
      total_size += 1 + 8;
7221
104k
    }
7222
7223
104k
  }
7224
104k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7225
104k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7226
104k
  _cached_size_ = cached_size;
7227
104k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7228
104k
  return total_size;
7229
104k
}
7230
7231
0
void TruncateRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7232
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.TruncateRequestPB)
7233
0
  GOOGLE_DCHECK_NE(&from, this);
7234
0
  const TruncateRequestPB* source =
7235
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TruncateRequestPB>(
7236
0
          &from);
7237
0
  if (source == NULL) {
7238
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.TruncateRequestPB)
7239
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7240
0
  } else {
7241
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.TruncateRequestPB)
7242
0
    MergeFrom(*source);
7243
0
  }
7244
0
}
7245
7246
0
void TruncateRequestPB::MergeFrom(const TruncateRequestPB& from) {
7247
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.TruncateRequestPB)
7248
0
  GOOGLE_DCHECK_NE(&from, this);
7249
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7250
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7251
0
  (void) cached_has_bits;
7252
7253
0
  cached_has_bits = from._has_bits_[0];
7254
0
  if (cached_has_bits & 7u) {
7255
0
    if (cached_has_bits & 0x00000001u) {
7256
0
      set_has_tablet_id();
7257
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
7258
0
    }
7259
0
    if (cached_has_bits & 0x00000002u) {
7260
0
      mutable_truncate()->::yb::tablet::TruncatePB::MergeFrom(from.truncate());
7261
0
    }
7262
0
    if (cached_has_bits & 0x00000004u) {
7263
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
7264
0
    }
7265
0
    _has_bits_[0] |= cached_has_bits;
7266
0
  }
7267
0
}
7268
7269
0
void TruncateRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7270
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.TruncateRequestPB)
7271
0
  if (&from == this) return;
7272
0
  Clear();
7273
0
  MergeFrom(from);
7274
0
}
7275
7276
0
void TruncateRequestPB::CopyFrom(const TruncateRequestPB& from) {
7277
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.TruncateRequestPB)
7278
0
  if (&from == this) return;
7279
0
  Clear();
7280
0
  MergeFrom(from);
7281
0
}
7282
7283
106k
bool TruncateRequestPB::IsInitialized() const {
7284
106k
  return true;
7285
106k
}
7286
7287
0
void TruncateRequestPB::Swap(TruncateRequestPB* other) {
7288
0
  if (other == this) return;
7289
0
  InternalSwap(other);
7290
0
}
7291
0
void TruncateRequestPB::InternalSwap(TruncateRequestPB* other) {
7292
0
  using std::swap;
7293
0
  tablet_id_.Swap(&other->tablet_id_);
7294
0
  swap(truncate_, other->truncate_);
7295
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
7296
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7297
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7298
0
  swap(_cached_size_, other->_cached_size_);
7299
0
}
7300
7301
53.6k
::google::protobuf::Metadata TruncateRequestPB::GetMetadata() const {
7302
53.6k
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7303
53.6k
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
7304
53.6k
}
7305
7306
7307
// ===================================================================
7308
7309
15.8k
void TruncateResponsePB::InitAsDefaultInstance() {
7310
15.8k
  ::yb::tserver::_TruncateResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
7311
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
7312
15.8k
}
7313
53.4k
void TruncateResponsePB::clear_error() {
7314
53.4k
  if (error_ != NULL) error_->Clear();
7315
53.4k
  clear_has_error();
7316
53.4k
}
7317
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7318
const int TruncateResponsePB::kErrorFieldNumber;
7319
const int TruncateResponsePB::kPropagatedHybridTimeFieldNumber;
7320
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7321
7322
TruncateResponsePB::TruncateResponsePB()
7323
123k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7324
107k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7325
107k
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsTruncateResponsePB();
7326
107k
  }
7327
123k
  SharedCtor();
7328
  // @@protoc_insertion_point(constructor:yb.tserver.TruncateResponsePB)
7329
123k
}
7330
TruncateResponsePB::TruncateResponsePB(const TruncateResponsePB& from)
7331
  : ::google::protobuf::Message(),
7332
      _internal_metadata_(NULL),
7333
      _has_bits_(from._has_bits_),
7334
0
      _cached_size_(0) {
7335
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7336
0
  if (from.has_error()) {
7337
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
7338
0
  } else {
7339
0
    error_ = NULL;
7340
0
  }
7341
0
  propagated_hybrid_time_ = from.propagated_hybrid_time_;
7342
  // @@protoc_insertion_point(copy_constructor:yb.tserver.TruncateResponsePB)
7343
0
}
7344
7345
123k
void TruncateResponsePB::SharedCtor() {
7346
123k
  _cached_size_ = 0;
7347
123k
  ::memset(&error_, 0, static_cast<size_t>(
7348
123k
      reinterpret_cast<char*>(&propagated_hybrid_time_) -
7349
123k
      reinterpret_cast<char*>(&error_)) + sizeof(propagated_hybrid_time_));
7350
123k
}
7351
7352
106k
TruncateResponsePB::~TruncateResponsePB() {
7353
  // @@protoc_insertion_point(destructor:yb.tserver.TruncateResponsePB)
7354
106k
  SharedDtor();
7355
106k
}
7356
7357
106k
void TruncateResponsePB::SharedDtor() {
7358
106k
  if (this != internal_default_instance()) delete error_;
7359
106k
}
7360
7361
0
void TruncateResponsePB::SetCachedSize(int size) const {
7362
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7363
0
  _cached_size_ = size;
7364
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7365
0
}
7366
0
const ::google::protobuf::Descriptor* TruncateResponsePB::descriptor() {
7367
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7368
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7369
0
}
7370
7371
0
const TruncateResponsePB& TruncateResponsePB::default_instance() {
7372
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsTruncateResponsePB();
7373
0
  return *internal_default_instance();
7374
0
}
7375
7376
0
TruncateResponsePB* TruncateResponsePB::New(::google::protobuf::Arena* arena) const {
7377
0
  TruncateResponsePB* n = new TruncateResponsePB;
7378
0
  if (arena != NULL) {
7379
0
    arena->Own(n);
7380
0
  }
7381
0
  return n;
7382
0
}
7383
7384
53.5k
void TruncateResponsePB::Clear() {
7385
// @@protoc_insertion_point(message_clear_start:yb.tserver.TruncateResponsePB)
7386
53.5k
  ::google::protobuf::uint32 cached_has_bits = 0;
7387
  // Prevent compiler warnings about cached_has_bits being unused
7388
53.5k
  (void) cached_has_bits;
7389
7390
53.5k
  cached_has_bits = _has_bits_[0];
7391
53.5k
  if (cached_has_bits & 0x00000001u) {
7392
13
    GOOGLE_DCHECK(error_ != NULL);
7393
13
    error_->Clear();
7394
13
  }
7395
53.5k
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
7396
53.5k
  _has_bits_.Clear();
7397
53.5k
  _internal_metadata_.Clear();
7398
53.5k
}
7399
7400
bool TruncateResponsePB::MergePartialFromCodedStream(
7401
53.4k
    ::google::protobuf::io::CodedInputStream* input) {
7402
53.5k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7403
53.4k
  ::google::protobuf::uint32 tag;
7404
  // @@protoc_insertion_point(parse_start:yb.tserver.TruncateResponsePB)
7405
106k
  for (;;) {
7406
106k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7407
106k
    tag = p.first;
7408
106k
    if (!p.second) goto handle_unusual;
7409
53.4k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7410
      // optional .yb.tserver.TabletServerErrorPB error = 1;
7411
13
      case 1: {
7412
13
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7413
13
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7414
13
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7415
13
               input, mutable_error()));
7416
0
        } else {
7417
0
          goto handle_unusual;
7418
0
        }
7419
13
        break;
7420
13
      }
7421
7422
      // optional fixed64 propagated_hybrid_time = 2;
7423
53.5k
      case 2: {
7424
53.5k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7425
53.5k
            static_cast< ::google::protobuf::uint8>(17u /* 17 & 0xFF */)) {
7426
53.5k
          set_has_propagated_hybrid_time();
7427
53.5k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7428
53.5k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64>(
7429
53.5k
                 input, &propagated_hybrid_time_)));
7430
1
        } else {
7431
1
          goto handle_unusual;
7432
1
        }
7433
53.5k
        break;
7434
53.5k
      }
7435
7436
0
      default: {
7437
53.5k
      handle_unusual:
7438
53.5k
        if (tag == 0) {
7439
53.5k
          goto success;
7440
53.5k
        }
7441
18.4E
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7442
18.4E
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7443
18.4E
        break;
7444
18.4E
      }
7445
53.4k
    }
7446
53.4k
  }
7447
53.5k
success:
7448
  // @@protoc_insertion_point(parse_success:yb.tserver.TruncateResponsePB)
7449
53.5k
  return true;
7450
0
failure:
7451
  // @@protoc_insertion_point(parse_failure:yb.tserver.TruncateResponsePB)
7452
0
  return false;
7453
53.4k
#undef DO_
7454
53.4k
}
7455
7456
void TruncateResponsePB::SerializeWithCachedSizes(
7457
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7458
  // @@protoc_insertion_point(serialize_start:yb.tserver.TruncateResponsePB)
7459
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7460
0
  (void) cached_has_bits;
7461
7462
0
  cached_has_bits = _has_bits_[0];
7463
  // optional .yb.tserver.TabletServerErrorPB error = 1;
7464
0
  if (cached_has_bits & 0x00000001u) {
7465
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
7466
0
      1, *this->error_, output);
7467
0
  }
7468
7469
  // optional fixed64 propagated_hybrid_time = 2;
7470
0
  if (cached_has_bits & 0x00000002u) {
7471
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed64(2, this->propagated_hybrid_time(), output);
7472
0
  }
7473
7474
0
  if (_internal_metadata_.have_unknown_fields()) {
7475
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7476
0
        _internal_metadata_.unknown_fields(), output);
7477
0
  }
7478
  // @@protoc_insertion_point(serialize_end:yb.tserver.TruncateResponsePB)
7479
0
}
7480
7481
::google::protobuf::uint8* TruncateResponsePB::InternalSerializeWithCachedSizesToArray(
7482
53.6k
    bool deterministic, ::google::protobuf::uint8* target) const {
7483
53.6k
  (void)deterministic; // Unused
7484
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.TruncateResponsePB)
7485
53.6k
  ::google::protobuf::uint32 cached_has_bits = 0;
7486
53.6k
  (void) cached_has_bits;
7487
7488
53.6k
  cached_has_bits = _has_bits_[0];
7489
  // optional .yb.tserver.TabletServerErrorPB error = 1;
7490
53.6k
  if (cached_has_bits & 0x00000001u) {
7491
13
    target = ::google::protobuf::internal::WireFormatLite::
7492
13
      InternalWriteMessageToArray(
7493
13
        1, *this->error_, deterministic, target);
7494
13
  }
7495
7496
  // optional fixed64 propagated_hybrid_time = 2;
7497
53.6k
  if (cached_has_bits & 0x00000002u) {
7498
53.6k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed64ToArray(2, this->propagated_hybrid_time(), target);
7499
53.6k
  }
7500
7501
53.6k
  if (_internal_metadata_.have_unknown_fields()) {
7502
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7503
0
        _internal_metadata_.unknown_fields(), target);
7504
0
  }
7505
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.TruncateResponsePB)
7506
53.6k
  return target;
7507
53.6k
}
7508
7509
107k
size_t TruncateResponsePB::ByteSizeLong() const {
7510
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.TruncateResponsePB)
7511
107k
  size_t total_size = 0;
7512
7513
107k
  if (_internal_metadata_.have_unknown_fields()) {
7514
0
    total_size +=
7515
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7516
0
        _internal_metadata_.unknown_fields());
7517
0
  }
7518
107k
  if (_has_bits_[0 / 32] & 3u) {
7519
    // optional .yb.tserver.TabletServerErrorPB error = 1;
7520
107k
    if (has_error()) {
7521
26
      total_size += 1 +
7522
26
        ::google::protobuf::internal::WireFormatLite::MessageSize(
7523
26
          *this->error_);
7524
26
    }
7525
7526
    // optional fixed64 propagated_hybrid_time = 2;
7527
107k
    if (has_propagated_hybrid_time()) {
7528
107k
      total_size += 1 + 8;
7529
107k
    }
7530
7531
107k
  }
7532
107k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7533
107k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7534
107k
  _cached_size_ = cached_size;
7535
107k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7536
107k
  return total_size;
7537
107k
}
7538
7539
0
void TruncateResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
7540
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.TruncateResponsePB)
7541
0
  GOOGLE_DCHECK_NE(&from, this);
7542
0
  const TruncateResponsePB* source =
7543
0
      ::google::protobuf::internal::DynamicCastToGenerated<const TruncateResponsePB>(
7544
0
          &from);
7545
0
  if (source == NULL) {
7546
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.TruncateResponsePB)
7547
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7548
0
  } else {
7549
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.TruncateResponsePB)
7550
0
    MergeFrom(*source);
7551
0
  }
7552
0
}
7553
7554
0
void TruncateResponsePB::MergeFrom(const TruncateResponsePB& from) {
7555
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.TruncateResponsePB)
7556
0
  GOOGLE_DCHECK_NE(&from, this);
7557
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7558
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7559
0
  (void) cached_has_bits;
7560
7561
0
  cached_has_bits = from._has_bits_[0];
7562
0
  if (cached_has_bits & 3u) {
7563
0
    if (cached_has_bits & 0x00000001u) {
7564
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
7565
0
    }
7566
0
    if (cached_has_bits & 0x00000002u) {
7567
0
      propagated_hybrid_time_ = from.propagated_hybrid_time_;
7568
0
    }
7569
0
    _has_bits_[0] |= cached_has_bits;
7570
0
  }
7571
0
}
7572
7573
0
void TruncateResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
7574
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.TruncateResponsePB)
7575
0
  if (&from == this) return;
7576
0
  Clear();
7577
0
  MergeFrom(from);
7578
0
}
7579
7580
0
void TruncateResponsePB::CopyFrom(const TruncateResponsePB& from) {
7581
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.TruncateResponsePB)
7582
0
  if (&from == this) return;
7583
0
  Clear();
7584
0
  MergeFrom(from);
7585
0
}
7586
7587
107k
bool TruncateResponsePB::IsInitialized() const {
7588
107k
  if (has_error()) {
7589
25
    if (!this->error_->IsInitialized()) return false;
7590
107k
  }
7591
107k
  return true;
7592
107k
}
7593
7594
0
void TruncateResponsePB::Swap(TruncateResponsePB* other) {
7595
0
  if (other == this) return;
7596
0
  InternalSwap(other);
7597
0
}
7598
0
void TruncateResponsePB::InternalSwap(TruncateResponsePB* other) {
7599
0
  using std::swap;
7600
0
  swap(error_, other->error_);
7601
0
  swap(propagated_hybrid_time_, other->propagated_hybrid_time_);
7602
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7603
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7604
0
  swap(_cached_size_, other->_cached_size_);
7605
0
}
7606
7607
0
::google::protobuf::Metadata TruncateResponsePB::GetMetadata() const {
7608
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7609
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
7610
0
}
7611
7612
7613
// ===================================================================
7614
7615
15.8k
void GetTabletStatusRequestPB::InitAsDefaultInstance() {
7616
15.8k
}
7617
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7618
const int GetTabletStatusRequestPB::kTabletIdFieldNumber;
7619
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7620
7621
GetTabletStatusRequestPB::GetTabletStatusRequestPB()
7622
16.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7623
956
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7624
956
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetTabletStatusRequestPB();
7625
956
  }
7626
16.7k
  SharedCtor();
7627
  // @@protoc_insertion_point(constructor:yb.tserver.GetTabletStatusRequestPB)
7628
16.7k
}
7629
GetTabletStatusRequestPB::GetTabletStatusRequestPB(const GetTabletStatusRequestPB& from)
7630
  : ::google::protobuf::Message(),
7631
      _internal_metadata_(NULL),
7632
      _has_bits_(from._has_bits_),
7633
0
      _cached_size_(0) {
7634
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7635
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7636
0
  if (from.has_tablet_id()) {
7637
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
7638
0
  }
7639
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetTabletStatusRequestPB)
7640
0
}
7641
7642
16.7k
void GetTabletStatusRequestPB::SharedCtor() {
7643
16.7k
  _cached_size_ = 0;
7644
16.7k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7645
16.7k
}
7646
7647
956
GetTabletStatusRequestPB::~GetTabletStatusRequestPB() {
7648
  // @@protoc_insertion_point(destructor:yb.tserver.GetTabletStatusRequestPB)
7649
956
  SharedDtor();
7650
956
}
7651
7652
956
void GetTabletStatusRequestPB::SharedDtor() {
7653
956
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7654
956
}
7655
7656
0
void GetTabletStatusRequestPB::SetCachedSize(int size) const {
7657
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7658
0
  _cached_size_ = size;
7659
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7660
0
}
7661
0
const ::google::protobuf::Descriptor* GetTabletStatusRequestPB::descriptor() {
7662
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7663
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7664
0
}
7665
7666
0
const GetTabletStatusRequestPB& GetTabletStatusRequestPB::default_instance() {
7667
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetTabletStatusRequestPB();
7668
0
  return *internal_default_instance();
7669
0
}
7670
7671
0
GetTabletStatusRequestPB* GetTabletStatusRequestPB::New(::google::protobuf::Arena* arena) const {
7672
0
  GetTabletStatusRequestPB* n = new GetTabletStatusRequestPB;
7673
0
  if (arena != NULL) {
7674
0
    arena->Own(n);
7675
0
  }
7676
0
  return n;
7677
0
}
7678
7679
1
void GetTabletStatusRequestPB::Clear() {
7680
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetTabletStatusRequestPB)
7681
1
  ::google::protobuf::uint32 cached_has_bits = 0;
7682
  // Prevent compiler warnings about cached_has_bits being unused
7683
1
  (void) cached_has_bits;
7684
7685
1
  cached_has_bits = _has_bits_[0];
7686
1
  if (cached_has_bits & 0x00000001u) {
7687
0
    GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
7688
0
    (*tablet_id_.UnsafeRawStringPointer())->clear();
7689
0
  }
7690
1
  _has_bits_.Clear();
7691
1
  _internal_metadata_.Clear();
7692
1
}
7693
7694
bool GetTabletStatusRequestPB::MergePartialFromCodedStream(
7695
1
    ::google::protobuf::io::CodedInputStream* input) {
7696
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7697
1
  ::google::protobuf::uint32 tag;
7698
  // @@protoc_insertion_point(parse_start:yb.tserver.GetTabletStatusRequestPB)
7699
2
  for (;;) {
7700
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7701
2
    tag = p.first;
7702
2
    if (!p.second) goto handle_unusual;
7703
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7704
      // optional bytes tablet_id = 1;
7705
1
      case 1: {
7706
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7707
1
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7708
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7709
1
                input, this->mutable_tablet_id()));
7710
0
        } else {
7711
0
          goto handle_unusual;
7712
0
        }
7713
1
        break;
7714
1
      }
7715
7716
0
      default: {
7717
1
      handle_unusual:
7718
1
        if (tag == 0) {
7719
1
          goto success;
7720
1
        }
7721
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
7722
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
7723
0
        break;
7724
0
      }
7725
1
    }
7726
1
  }
7727
1
success:
7728
  // @@protoc_insertion_point(parse_success:yb.tserver.GetTabletStatusRequestPB)
7729
1
  return true;
7730
0
failure:
7731
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetTabletStatusRequestPB)
7732
0
  return false;
7733
1
#undef DO_
7734
1
}
7735
7736
void GetTabletStatusRequestPB::SerializeWithCachedSizes(
7737
0
    ::google::protobuf::io::CodedOutputStream* output) const {
7738
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetTabletStatusRequestPB)
7739
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7740
0
  (void) cached_has_bits;
7741
7742
0
  cached_has_bits = _has_bits_[0];
7743
  // optional bytes tablet_id = 1;
7744
0
  if (cached_has_bits & 0x00000001u) {
7745
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7746
0
      1, this->tablet_id(), output);
7747
0
  }
7748
7749
0
  if (_internal_metadata_.have_unknown_fields()) {
7750
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
7751
0
        _internal_metadata_.unknown_fields(), output);
7752
0
  }
7753
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetTabletStatusRequestPB)
7754
0
}
7755
7756
::google::protobuf::uint8* GetTabletStatusRequestPB::InternalSerializeWithCachedSizesToArray(
7757
1
    bool deterministic, ::google::protobuf::uint8* target) const {
7758
1
  (void)deterministic; // Unused
7759
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetTabletStatusRequestPB)
7760
1
  ::google::protobuf::uint32 cached_has_bits = 0;
7761
1
  (void) cached_has_bits;
7762
7763
1
  cached_has_bits = _has_bits_[0];
7764
  // optional bytes tablet_id = 1;
7765
1
  if (cached_has_bits & 0x00000001u) {
7766
1
    target =
7767
1
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
7768
1
        1, this->tablet_id(), target);
7769
1
  }
7770
7771
1
  if (_internal_metadata_.have_unknown_fields()) {
7772
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
7773
0
        _internal_metadata_.unknown_fields(), target);
7774
0
  }
7775
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetTabletStatusRequestPB)
7776
1
  return target;
7777
1
}
7778
7779
2
size_t GetTabletStatusRequestPB::ByteSizeLong() const {
7780
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetTabletStatusRequestPB)
7781
2
  size_t total_size = 0;
7782
7783
2
  if (_internal_metadata_.have_unknown_fields()) {
7784
0
    total_size +=
7785
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
7786
0
        _internal_metadata_.unknown_fields());
7787
0
  }
7788
  // optional bytes tablet_id = 1;
7789
2
  if (has_tablet_id()) {
7790
2
    total_size += 1 +
7791
2
      ::google::protobuf::internal::WireFormatLite::BytesSize(
7792
2
        this->tablet_id());
7793
2
  }
7794
7795
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
7796
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7797
2
  _cached_size_ = cached_size;
7798
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7799
2
  return total_size;
7800
2
}
7801
7802
0
void GetTabletStatusRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
7803
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetTabletStatusRequestPB)
7804
0
  GOOGLE_DCHECK_NE(&from, this);
7805
0
  const GetTabletStatusRequestPB* source =
7806
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTabletStatusRequestPB>(
7807
0
          &from);
7808
0
  if (source == NULL) {
7809
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetTabletStatusRequestPB)
7810
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
7811
0
  } else {
7812
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetTabletStatusRequestPB)
7813
0
    MergeFrom(*source);
7814
0
  }
7815
0
}
7816
7817
0
void GetTabletStatusRequestPB::MergeFrom(const GetTabletStatusRequestPB& from) {
7818
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetTabletStatusRequestPB)
7819
0
  GOOGLE_DCHECK_NE(&from, this);
7820
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7821
0
  ::google::protobuf::uint32 cached_has_bits = 0;
7822
0
  (void) cached_has_bits;
7823
7824
0
  if (from.has_tablet_id()) {
7825
0
    set_has_tablet_id();
7826
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
7827
0
  }
7828
0
}
7829
7830
0
void GetTabletStatusRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
7831
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetTabletStatusRequestPB)
7832
0
  if (&from == this) return;
7833
0
  Clear();
7834
0
  MergeFrom(from);
7835
0
}
7836
7837
0
void GetTabletStatusRequestPB::CopyFrom(const GetTabletStatusRequestPB& from) {
7838
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetTabletStatusRequestPB)
7839
0
  if (&from == this) return;
7840
0
  Clear();
7841
0
  MergeFrom(from);
7842
0
}
7843
7844
2
bool GetTabletStatusRequestPB::IsInitialized() const {
7845
2
  return true;
7846
2
}
7847
7848
0
void GetTabletStatusRequestPB::Swap(GetTabletStatusRequestPB* other) {
7849
0
  if (other == this) return;
7850
0
  InternalSwap(other);
7851
0
}
7852
0
void GetTabletStatusRequestPB::InternalSwap(GetTabletStatusRequestPB* other) {
7853
0
  using std::swap;
7854
0
  tablet_id_.Swap(&other->tablet_id_);
7855
0
  swap(_has_bits_[0], other->_has_bits_[0]);
7856
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
7857
0
  swap(_cached_size_, other->_cached_size_);
7858
0
}
7859
7860
1
::google::protobuf::Metadata GetTabletStatusRequestPB::GetMetadata() const {
7861
1
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7862
1
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
7863
1
}
7864
7865
7866
// ===================================================================
7867
7868
15.8k
void GetTabletStatusResponsePB::InitAsDefaultInstance() {
7869
15.8k
  ::yb::tserver::_GetTabletStatusResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
7870
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
7871
15.8k
  ::yb::tserver::_GetTabletStatusResponsePB_default_instance_._instance.get_mutable()->tablet_status_ = const_cast< ::yb::tablet::TabletStatusPB*>(
7872
15.8k
      ::yb::tablet::TabletStatusPB::internal_default_instance());
7873
15.8k
}
7874
0
void GetTabletStatusResponsePB::clear_error() {
7875
0
  if (error_ != NULL) error_->Clear();
7876
0
  clear_has_error();
7877
0
}
7878
0
void GetTabletStatusResponsePB::clear_tablet_status() {
7879
0
  if (tablet_status_ != NULL) tablet_status_->Clear();
7880
0
  clear_has_tablet_status();
7881
0
}
7882
#if !defined(_MSC_VER) || _MSC_VER >= 1900
7883
const int GetTabletStatusResponsePB::kErrorFieldNumber;
7884
const int GetTabletStatusResponsePB::kTabletStatusFieldNumber;
7885
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
7886
7887
GetTabletStatusResponsePB::GetTabletStatusResponsePB()
7888
16.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
7889
956
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
7890
956
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetTabletStatusResponsePB();
7891
956
  }
7892
16.7k
  SharedCtor();
7893
  // @@protoc_insertion_point(constructor:yb.tserver.GetTabletStatusResponsePB)
7894
16.7k
}
7895
GetTabletStatusResponsePB::GetTabletStatusResponsePB(const GetTabletStatusResponsePB& from)
7896
  : ::google::protobuf::Message(),
7897
      _internal_metadata_(NULL),
7898
      _has_bits_(from._has_bits_),
7899
0
      _cached_size_(0) {
7900
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
7901
0
  if (from.has_error()) {
7902
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
7903
0
  } else {
7904
0
    error_ = NULL;
7905
0
  }
7906
0
  if (from.has_tablet_status()) {
7907
0
    tablet_status_ = new ::yb::tablet::TabletStatusPB(*from.tablet_status_);
7908
0
  } else {
7909
0
    tablet_status_ = NULL;
7910
0
  }
7911
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetTabletStatusResponsePB)
7912
0
}
7913
7914
16.7k
void GetTabletStatusResponsePB::SharedCtor() {
7915
16.7k
  _cached_size_ = 0;
7916
16.7k
  ::memset(&error_, 0, static_cast<size_t>(
7917
16.7k
      reinterpret_cast<char*>(&tablet_status_) -
7918
16.7k
      reinterpret_cast<char*>(&error_)) + sizeof(tablet_status_));
7919
16.7k
}
7920
7921
956
GetTabletStatusResponsePB::~GetTabletStatusResponsePB() {
7922
  // @@protoc_insertion_point(destructor:yb.tserver.GetTabletStatusResponsePB)
7923
956
  SharedDtor();
7924
956
}
7925
7926
956
void GetTabletStatusResponsePB::SharedDtor() {
7927
956
  if (this != internal_default_instance()) delete error_;
7928
956
  if (this != internal_default_instance()) delete tablet_status_;
7929
956
}
7930
7931
0
void GetTabletStatusResponsePB::SetCachedSize(int size) const {
7932
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7933
0
  _cached_size_ = size;
7934
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
7935
0
}
7936
0
const ::google::protobuf::Descriptor* GetTabletStatusResponsePB::descriptor() {
7937
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
7938
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
7939
0
}
7940
7941
0
const GetTabletStatusResponsePB& GetTabletStatusResponsePB::default_instance() {
7942
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetTabletStatusResponsePB();
7943
0
  return *internal_default_instance();
7944
0
}
7945
7946
0
GetTabletStatusResponsePB* GetTabletStatusResponsePB::New(::google::protobuf::Arena* arena) const {
7947
0
  GetTabletStatusResponsePB* n = new GetTabletStatusResponsePB;
7948
0
  if (arena != NULL) {
7949
0
    arena->Own(n);
7950
0
  }
7951
0
  return n;
7952
0
}
7953
7954
1
void GetTabletStatusResponsePB::Clear() {
7955
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetTabletStatusResponsePB)
7956
1
  ::google::protobuf::uint32 cached_has_bits = 0;
7957
  // Prevent compiler warnings about cached_has_bits being unused
7958
1
  (void) cached_has_bits;
7959
7960
1
  cached_has_bits = _has_bits_[0];
7961
1
  if (cached_has_bits & 3u) {
7962
0
    if (cached_has_bits & 0x00000001u) {
7963
0
      GOOGLE_DCHECK(error_ != NULL);
7964
0
      error_->Clear();
7965
0
    }
7966
0
    if (cached_has_bits & 0x00000002u) {
7967
0
      GOOGLE_DCHECK(tablet_status_ != NULL);
7968
0
      tablet_status_->Clear();
7969
0
    }
7970
0
  }
7971
1
  _has_bits_.Clear();
7972
1
  _internal_metadata_.Clear();
7973
1
}
7974
7975
bool GetTabletStatusResponsePB::MergePartialFromCodedStream(
7976
1
    ::google::protobuf::io::CodedInputStream* input) {
7977
1
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
7978
1
  ::google::protobuf::uint32 tag;
7979
  // @@protoc_insertion_point(parse_start:yb.tserver.GetTabletStatusResponsePB)
7980
2
  for (;;) {
7981
2
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
7982
2
    tag = p.first;
7983
2
    if (!p.second) goto handle_unusual;
7984
1
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7985
      // optional .yb.tserver.TabletServerErrorPB error = 1;
7986
0
      case 1: {
7987
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
7988
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
7989
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
7990
0
               input, mutable_error()));
7991
0
        } else {
7992
0
          goto handle_unusual;
7993
0
        }
7994
0
        break;
7995
0
      }
7996
7997
      // optional .yb.tablet.TabletStatusPB tablet_status = 2;
7998
1
      case 2: {
7999
1
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8000
1
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8001
1
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8002
1
               input, mutable_tablet_status()));
8003
0
        } else {
8004
0
          goto handle_unusual;
8005
0
        }
8006
1
        break;
8007
1
      }
8008
8009
0
      default: {
8010
1
      handle_unusual:
8011
1
        if (tag == 0) {
8012
1
          goto success;
8013
1
        }
8014
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8015
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8016
0
        break;
8017
0
      }
8018
1
    }
8019
1
  }
8020
1
success:
8021
  // @@protoc_insertion_point(parse_success:yb.tserver.GetTabletStatusResponsePB)
8022
1
  return true;
8023
0
failure:
8024
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetTabletStatusResponsePB)
8025
0
  return false;
8026
1
#undef DO_
8027
1
}
8028
8029
void GetTabletStatusResponsePB::SerializeWithCachedSizes(
8030
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8031
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetTabletStatusResponsePB)
8032
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8033
0
  (void) cached_has_bits;
8034
8035
0
  cached_has_bits = _has_bits_[0];
8036
  // optional .yb.tserver.TabletServerErrorPB error = 1;
8037
0
  if (cached_has_bits & 0x00000001u) {
8038
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8039
0
      1, *this->error_, output);
8040
0
  }
8041
8042
  // optional .yb.tablet.TabletStatusPB tablet_status = 2;
8043
0
  if (cached_has_bits & 0x00000002u) {
8044
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8045
0
      2, *this->tablet_status_, output);
8046
0
  }
8047
8048
0
  if (_internal_metadata_.have_unknown_fields()) {
8049
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8050
0
        _internal_metadata_.unknown_fields(), output);
8051
0
  }
8052
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetTabletStatusResponsePB)
8053
0
}
8054
8055
::google::protobuf::uint8* GetTabletStatusResponsePB::InternalSerializeWithCachedSizesToArray(
8056
1
    bool deterministic, ::google::protobuf::uint8* target) const {
8057
1
  (void)deterministic; // Unused
8058
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetTabletStatusResponsePB)
8059
1
  ::google::protobuf::uint32 cached_has_bits = 0;
8060
1
  (void) cached_has_bits;
8061
8062
1
  cached_has_bits = _has_bits_[0];
8063
  // optional .yb.tserver.TabletServerErrorPB error = 1;
8064
1
  if (cached_has_bits & 0x00000001u) {
8065
0
    target = ::google::protobuf::internal::WireFormatLite::
8066
0
      InternalWriteMessageToArray(
8067
0
        1, *this->error_, deterministic, target);
8068
0
  }
8069
8070
  // optional .yb.tablet.TabletStatusPB tablet_status = 2;
8071
1
  if (cached_has_bits & 0x00000002u) {
8072
1
    target = ::google::protobuf::internal::WireFormatLite::
8073
1
      InternalWriteMessageToArray(
8074
1
        2, *this->tablet_status_, deterministic, target);
8075
1
  }
8076
8077
1
  if (_internal_metadata_.have_unknown_fields()) {
8078
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8079
0
        _internal_metadata_.unknown_fields(), target);
8080
0
  }
8081
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetTabletStatusResponsePB)
8082
1
  return target;
8083
1
}
8084
8085
2
size_t GetTabletStatusResponsePB::ByteSizeLong() const {
8086
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetTabletStatusResponsePB)
8087
2
  size_t total_size = 0;
8088
8089
2
  if (_internal_metadata_.have_unknown_fields()) {
8090
0
    total_size +=
8091
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8092
0
        _internal_metadata_.unknown_fields());
8093
0
  }
8094
2
  if (_has_bits_[0 / 32] & 3u) {
8095
    // optional .yb.tserver.TabletServerErrorPB error = 1;
8096
2
    if (has_error()) {
8097
0
      total_size += 1 +
8098
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8099
0
          *this->error_);
8100
0
    }
8101
8102
    // optional .yb.tablet.TabletStatusPB tablet_status = 2;
8103
2
    if (has_tablet_status()) {
8104
2
      total_size += 1 +
8105
2
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8106
2
          *this->tablet_status_);
8107
2
    }
8108
8109
2
  }
8110
2
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8111
2
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8112
2
  _cached_size_ = cached_size;
8113
2
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8114
2
  return total_size;
8115
2
}
8116
8117
0
void GetTabletStatusResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8118
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetTabletStatusResponsePB)
8119
0
  GOOGLE_DCHECK_NE(&from, this);
8120
0
  const GetTabletStatusResponsePB* source =
8121
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetTabletStatusResponsePB>(
8122
0
          &from);
8123
0
  if (source == NULL) {
8124
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetTabletStatusResponsePB)
8125
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8126
0
  } else {
8127
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetTabletStatusResponsePB)
8128
0
    MergeFrom(*source);
8129
0
  }
8130
0
}
8131
8132
0
void GetTabletStatusResponsePB::MergeFrom(const GetTabletStatusResponsePB& from) {
8133
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetTabletStatusResponsePB)
8134
0
  GOOGLE_DCHECK_NE(&from, this);
8135
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8136
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8137
0
  (void) cached_has_bits;
8138
8139
0
  cached_has_bits = from._has_bits_[0];
8140
0
  if (cached_has_bits & 3u) {
8141
0
    if (cached_has_bits & 0x00000001u) {
8142
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
8143
0
    }
8144
0
    if (cached_has_bits & 0x00000002u) {
8145
0
      mutable_tablet_status()->::yb::tablet::TabletStatusPB::MergeFrom(from.tablet_status());
8146
0
    }
8147
0
  }
8148
0
}
8149
8150
0
void GetTabletStatusResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8151
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetTabletStatusResponsePB)
8152
0
  if (&from == this) return;
8153
0
  Clear();
8154
0
  MergeFrom(from);
8155
0
}
8156
8157
0
void GetTabletStatusResponsePB::CopyFrom(const GetTabletStatusResponsePB& from) {
8158
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetTabletStatusResponsePB)
8159
0
  if (&from == this) return;
8160
0
  Clear();
8161
0
  MergeFrom(from);
8162
0
}
8163
8164
2
bool GetTabletStatusResponsePB::IsInitialized() const {
8165
2
  if (has_error()) {
8166
0
    if (!this->error_->IsInitialized()) return false;
8167
2
  }
8168
2
  if (has_tablet_status()) {
8169
2
    if (!this->tablet_status_->IsInitialized()) return false;
8170
2
  }
8171
2
  return true;
8172
2
}
8173
8174
0
void GetTabletStatusResponsePB::Swap(GetTabletStatusResponsePB* other) {
8175
0
  if (other == this) return;
8176
0
  InternalSwap(other);
8177
0
}
8178
0
void GetTabletStatusResponsePB::InternalSwap(GetTabletStatusResponsePB* other) {
8179
0
  using std::swap;
8180
0
  swap(error_, other->error_);
8181
0
  swap(tablet_status_, other->tablet_status_);
8182
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8183
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8184
0
  swap(_cached_size_, other->_cached_size_);
8185
0
}
8186
8187
0
::google::protobuf::Metadata GetTabletStatusResponsePB::GetMetadata() const {
8188
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
8189
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
8190
0
}
8191
8192
8193
// ===================================================================
8194
8195
15.8k
void GetMasterAddressesRequestPB::InitAsDefaultInstance() {
8196
15.8k
}
8197
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8198
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8199
8200
GetMasterAddressesRequestPB::GetMasterAddressesRequestPB()
8201
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8202
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8203
6
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetMasterAddressesRequestPB();
8204
6
  }
8205
15.8k
  SharedCtor();
8206
  // @@protoc_insertion_point(constructor:yb.tserver.GetMasterAddressesRequestPB)
8207
15.8k
}
8208
GetMasterAddressesRequestPB::GetMasterAddressesRequestPB(const GetMasterAddressesRequestPB& from)
8209
  : ::google::protobuf::Message(),
8210
      _internal_metadata_(NULL),
8211
      _has_bits_(from._has_bits_),
8212
0
      _cached_size_(0) {
8213
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8214
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetMasterAddressesRequestPB)
8215
0
}
8216
8217
15.8k
void GetMasterAddressesRequestPB::SharedCtor() {
8218
15.8k
  _cached_size_ = 0;
8219
15.8k
}
8220
8221
6
GetMasterAddressesRequestPB::~GetMasterAddressesRequestPB() {
8222
  // @@protoc_insertion_point(destructor:yb.tserver.GetMasterAddressesRequestPB)
8223
6
  SharedDtor();
8224
6
}
8225
8226
6
void GetMasterAddressesRequestPB::SharedDtor() {
8227
6
}
8228
8229
0
void GetMasterAddressesRequestPB::SetCachedSize(int size) const {
8230
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8231
0
  _cached_size_ = size;
8232
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8233
0
}
8234
0
const ::google::protobuf::Descriptor* GetMasterAddressesRequestPB::descriptor() {
8235
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
8236
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8237
0
}
8238
8239
0
const GetMasterAddressesRequestPB& GetMasterAddressesRequestPB::default_instance() {
8240
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetMasterAddressesRequestPB();
8241
0
  return *internal_default_instance();
8242
0
}
8243
8244
0
GetMasterAddressesRequestPB* GetMasterAddressesRequestPB::New(::google::protobuf::Arena* arena) const {
8245
0
  GetMasterAddressesRequestPB* n = new GetMasterAddressesRequestPB;
8246
0
  if (arena != NULL) {
8247
0
    arena->Own(n);
8248
0
  }
8249
0
  return n;
8250
0
}
8251
8252
6
void GetMasterAddressesRequestPB::Clear() {
8253
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetMasterAddressesRequestPB)
8254
6
  ::google::protobuf::uint32 cached_has_bits = 0;
8255
  // Prevent compiler warnings about cached_has_bits being unused
8256
6
  (void) cached_has_bits;
8257
8258
6
  _has_bits_.Clear();
8259
6
  _internal_metadata_.Clear();
8260
6
}
8261
8262
bool GetMasterAddressesRequestPB::MergePartialFromCodedStream(
8263
6
    ::google::protobuf::io::CodedInputStream* input) {
8264
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8265
6
  ::google::protobuf::uint32 tag;
8266
  // @@protoc_insertion_point(parse_start:yb.tserver.GetMasterAddressesRequestPB)
8267
6
  for (;;) {
8268
6
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8269
6
    tag = p.first;
8270
6
    if (!p.second) goto handle_unusual;
8271
6
  handle_unusual:
8272
6
    if (tag == 0) {
8273
6
      goto success;
8274
6
    }
8275
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
8276
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
8277
0
  }
8278
6
success:
8279
  // @@protoc_insertion_point(parse_success:yb.tserver.GetMasterAddressesRequestPB)
8280
6
  return true;
8281
0
failure:
8282
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetMasterAddressesRequestPB)
8283
0
  return false;
8284
6
#undef DO_
8285
6
}
8286
8287
void GetMasterAddressesRequestPB::SerializeWithCachedSizes(
8288
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8289
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetMasterAddressesRequestPB)
8290
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8291
0
  (void) cached_has_bits;
8292
8293
0
  if (_internal_metadata_.have_unknown_fields()) {
8294
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8295
0
        _internal_metadata_.unknown_fields(), output);
8296
0
  }
8297
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetMasterAddressesRequestPB)
8298
0
}
8299
8300
::google::protobuf::uint8* GetMasterAddressesRequestPB::InternalSerializeWithCachedSizesToArray(
8301
0
    bool deterministic, ::google::protobuf::uint8* target) const {
8302
0
  (void)deterministic; // Unused
8303
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetMasterAddressesRequestPB)
8304
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8305
0
  (void) cached_has_bits;
8306
8307
0
  if (_internal_metadata_.have_unknown_fields()) {
8308
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8309
0
        _internal_metadata_.unknown_fields(), target);
8310
0
  }
8311
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetMasterAddressesRequestPB)
8312
0
  return target;
8313
0
}
8314
8315
0
size_t GetMasterAddressesRequestPB::ByteSizeLong() const {
8316
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetMasterAddressesRequestPB)
8317
0
  size_t total_size = 0;
8318
8319
0
  if (_internal_metadata_.have_unknown_fields()) {
8320
0
    total_size +=
8321
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8322
0
        _internal_metadata_.unknown_fields());
8323
0
  }
8324
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8325
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8326
0
  _cached_size_ = cached_size;
8327
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8328
0
  return total_size;
8329
0
}
8330
8331
0
void GetMasterAddressesRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
8332
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetMasterAddressesRequestPB)
8333
0
  GOOGLE_DCHECK_NE(&from, this);
8334
0
  const GetMasterAddressesRequestPB* source =
8335
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetMasterAddressesRequestPB>(
8336
0
          &from);
8337
0
  if (source == NULL) {
8338
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetMasterAddressesRequestPB)
8339
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8340
0
  } else {
8341
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetMasterAddressesRequestPB)
8342
0
    MergeFrom(*source);
8343
0
  }
8344
0
}
8345
8346
0
void GetMasterAddressesRequestPB::MergeFrom(const GetMasterAddressesRequestPB& from) {
8347
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetMasterAddressesRequestPB)
8348
0
  GOOGLE_DCHECK_NE(&from, this);
8349
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8350
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8351
0
  (void) cached_has_bits;
8352
8353
0
}
8354
8355
0
void GetMasterAddressesRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
8356
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetMasterAddressesRequestPB)
8357
0
  if (&from == this) return;
8358
0
  Clear();
8359
0
  MergeFrom(from);
8360
0
}
8361
8362
0
void GetMasterAddressesRequestPB::CopyFrom(const GetMasterAddressesRequestPB& from) {
8363
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetMasterAddressesRequestPB)
8364
0
  if (&from == this) return;
8365
0
  Clear();
8366
0
  MergeFrom(from);
8367
0
}
8368
8369
6
bool GetMasterAddressesRequestPB::IsInitialized() const {
8370
6
  return true;
8371
6
}
8372
8373
0
void GetMasterAddressesRequestPB::Swap(GetMasterAddressesRequestPB* other) {
8374
0
  if (other == this) return;
8375
0
  InternalSwap(other);
8376
0
}
8377
0
void GetMasterAddressesRequestPB::InternalSwap(GetMasterAddressesRequestPB* other) {
8378
0
  using std::swap;
8379
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8380
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8381
0
  swap(_cached_size_, other->_cached_size_);
8382
0
}
8383
8384
6
::google::protobuf::Metadata GetMasterAddressesRequestPB::GetMetadata() const {
8385
6
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
8386
6
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
8387
6
}
8388
8389
8390
// ===================================================================
8391
8392
15.8k
void GetMasterAddressesResponsePB::InitAsDefaultInstance() {
8393
15.8k
  ::yb::tserver::_GetMasterAddressesResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
8394
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
8395
15.8k
}
8396
0
void GetMasterAddressesResponsePB::clear_error() {
8397
0
  if (error_ != NULL) error_->Clear();
8398
0
  clear_has_error();
8399
0
}
8400
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8401
const int GetMasterAddressesResponsePB::kErrorFieldNumber;
8402
const int GetMasterAddressesResponsePB::kMasterAddressesFieldNumber;
8403
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8404
8405
GetMasterAddressesResponsePB::GetMasterAddressesResponsePB()
8406
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8407
6
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8408
6
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetMasterAddressesResponsePB();
8409
6
  }
8410
15.8k
  SharedCtor();
8411
  // @@protoc_insertion_point(constructor:yb.tserver.GetMasterAddressesResponsePB)
8412
15.8k
}
8413
GetMasterAddressesResponsePB::GetMasterAddressesResponsePB(const GetMasterAddressesResponsePB& from)
8414
  : ::google::protobuf::Message(),
8415
      _internal_metadata_(NULL),
8416
      _has_bits_(from._has_bits_),
8417
0
      _cached_size_(0) {
8418
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8419
0
  master_addresses_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8420
0
  if (from.has_master_addresses()) {
8421
0
    master_addresses_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.master_addresses_);
8422
0
  }
8423
0
  if (from.has_error()) {
8424
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
8425
0
  } else {
8426
0
    error_ = NULL;
8427
0
  }
8428
  // @@protoc_insertion_point(copy_constructor:yb.tserver.GetMasterAddressesResponsePB)
8429
0
}
8430
8431
15.8k
void GetMasterAddressesResponsePB::SharedCtor() {
8432
15.8k
  _cached_size_ = 0;
8433
15.8k
  master_addresses_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8434
15.8k
  error_ = NULL;
8435
15.8k
}
8436
8437
6
GetMasterAddressesResponsePB::~GetMasterAddressesResponsePB() {
8438
  // @@protoc_insertion_point(destructor:yb.tserver.GetMasterAddressesResponsePB)
8439
6
  SharedDtor();
8440
6
}
8441
8442
6
void GetMasterAddressesResponsePB::SharedDtor() {
8443
6
  master_addresses_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8444
6
  if (this != internal_default_instance()) delete error_;
8445
6
}
8446
8447
0
void GetMasterAddressesResponsePB::SetCachedSize(int size) const {
8448
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8449
0
  _cached_size_ = size;
8450
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8451
0
}
8452
0
const ::google::protobuf::Descriptor* GetMasterAddressesResponsePB::descriptor() {
8453
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
8454
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8455
0
}
8456
8457
0
const GetMasterAddressesResponsePB& GetMasterAddressesResponsePB::default_instance() {
8458
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsGetMasterAddressesResponsePB();
8459
0
  return *internal_default_instance();
8460
0
}
8461
8462
0
GetMasterAddressesResponsePB* GetMasterAddressesResponsePB::New(::google::protobuf::Arena* arena) const {
8463
0
  GetMasterAddressesResponsePB* n = new GetMasterAddressesResponsePB;
8464
0
  if (arena != NULL) {
8465
0
    arena->Own(n);
8466
0
  }
8467
0
  return n;
8468
0
}
8469
8470
0
void GetMasterAddressesResponsePB::Clear() {
8471
// @@protoc_insertion_point(message_clear_start:yb.tserver.GetMasterAddressesResponsePB)
8472
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8473
  // Prevent compiler warnings about cached_has_bits being unused
8474
0
  (void) cached_has_bits;
8475
8476
0
  cached_has_bits = _has_bits_[0];
8477
0
  if (cached_has_bits & 3u) {
8478
0
    if (cached_has_bits & 0x00000001u) {
8479
0
      GOOGLE_DCHECK(!master_addresses_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8480
0
      (*master_addresses_.UnsafeRawStringPointer())->clear();
8481
0
    }
8482
0
    if (cached_has_bits & 0x00000002u) {
8483
0
      GOOGLE_DCHECK(error_ != NULL);
8484
0
      error_->Clear();
8485
0
    }
8486
0
  }
8487
0
  _has_bits_.Clear();
8488
0
  _internal_metadata_.Clear();
8489
0
}
8490
8491
bool GetMasterAddressesResponsePB::MergePartialFromCodedStream(
8492
0
    ::google::protobuf::io::CodedInputStream* input) {
8493
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8494
0
  ::google::protobuf::uint32 tag;
8495
  // @@protoc_insertion_point(parse_start:yb.tserver.GetMasterAddressesResponsePB)
8496
0
  for (;;) {
8497
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8498
0
    tag = p.first;
8499
0
    if (!p.second) goto handle_unusual;
8500
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8501
      // optional .yb.tserver.TabletServerErrorPB error = 1;
8502
0
      case 1: {
8503
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8504
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8505
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
8506
0
               input, mutable_error()));
8507
0
        } else {
8508
0
          goto handle_unusual;
8509
0
        }
8510
0
        break;
8511
0
      }
8512
8513
      // optional string master_addresses = 2;
8514
0
      case 2: {
8515
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8516
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8517
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8518
0
                input, this->mutable_master_addresses()));
8519
0
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8520
0
            this->master_addresses().data(), static_cast<int>(this->master_addresses().length()),
8521
0
            ::google::protobuf::internal::WireFormat::PARSE,
8522
0
            "yb.tserver.GetMasterAddressesResponsePB.master_addresses");
8523
0
        } else {
8524
0
          goto handle_unusual;
8525
0
        }
8526
0
        break;
8527
0
      }
8528
8529
0
      default: {
8530
0
      handle_unusual:
8531
0
        if (tag == 0) {
8532
0
          goto success;
8533
0
        }
8534
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8535
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8536
0
        break;
8537
0
      }
8538
0
    }
8539
0
  }
8540
0
success:
8541
  // @@protoc_insertion_point(parse_success:yb.tserver.GetMasterAddressesResponsePB)
8542
0
  return true;
8543
0
failure:
8544
  // @@protoc_insertion_point(parse_failure:yb.tserver.GetMasterAddressesResponsePB)
8545
0
  return false;
8546
0
#undef DO_
8547
0
}
8548
8549
void GetMasterAddressesResponsePB::SerializeWithCachedSizes(
8550
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8551
  // @@protoc_insertion_point(serialize_start:yb.tserver.GetMasterAddressesResponsePB)
8552
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8553
0
  (void) cached_has_bits;
8554
8555
0
  cached_has_bits = _has_bits_[0];
8556
  // optional .yb.tserver.TabletServerErrorPB error = 1;
8557
0
  if (cached_has_bits & 0x00000002u) {
8558
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
8559
0
      1, *this->error_, output);
8560
0
  }
8561
8562
  // optional string master_addresses = 2;
8563
0
  if (cached_has_bits & 0x00000001u) {
8564
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8565
0
      this->master_addresses().data(), static_cast<int>(this->master_addresses().length()),
8566
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8567
0
      "yb.tserver.GetMasterAddressesResponsePB.master_addresses");
8568
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8569
0
      2, this->master_addresses(), output);
8570
0
  }
8571
8572
0
  if (_internal_metadata_.have_unknown_fields()) {
8573
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8574
0
        _internal_metadata_.unknown_fields(), output);
8575
0
  }
8576
  // @@protoc_insertion_point(serialize_end:yb.tserver.GetMasterAddressesResponsePB)
8577
0
}
8578
8579
::google::protobuf::uint8* GetMasterAddressesResponsePB::InternalSerializeWithCachedSizesToArray(
8580
6
    bool deterministic, ::google::protobuf::uint8* target) const {
8581
6
  (void)deterministic; // Unused
8582
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.GetMasterAddressesResponsePB)
8583
6
  ::google::protobuf::uint32 cached_has_bits = 0;
8584
6
  (void) cached_has_bits;
8585
8586
6
  cached_has_bits = _has_bits_[0];
8587
  // optional .yb.tserver.TabletServerErrorPB error = 1;
8588
6
  if (cached_has_bits & 0x00000002u) {
8589
0
    target = ::google::protobuf::internal::WireFormatLite::
8590
0
      InternalWriteMessageToArray(
8591
0
        1, *this->error_, deterministic, target);
8592
0
  }
8593
8594
  // optional string master_addresses = 2;
8595
6
  if (cached_has_bits & 0x00000001u) {
8596
6
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
8597
6
      this->master_addresses().data(), static_cast<int>(this->master_addresses().length()),
8598
6
      ::google::protobuf::internal::WireFormat::SERIALIZE,
8599
6
      "yb.tserver.GetMasterAddressesResponsePB.master_addresses");
8600
6
    target =
8601
6
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
8602
6
        2, this->master_addresses(), target);
8603
6
  }
8604
8605
6
  if (_internal_metadata_.have_unknown_fields()) {
8606
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8607
0
        _internal_metadata_.unknown_fields(), target);
8608
0
  }
8609
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.GetMasterAddressesResponsePB)
8610
6
  return target;
8611
6
}
8612
8613
12
size_t GetMasterAddressesResponsePB::ByteSizeLong() const {
8614
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.GetMasterAddressesResponsePB)
8615
12
  size_t total_size = 0;
8616
8617
12
  if (_internal_metadata_.have_unknown_fields()) {
8618
0
    total_size +=
8619
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8620
0
        _internal_metadata_.unknown_fields());
8621
0
  }
8622
12
  if (_has_bits_[0 / 32] & 3u) {
8623
    // optional string master_addresses = 2;
8624
12
    if (has_master_addresses()) {
8625
12
      total_size += 1 +
8626
12
        ::google::protobuf::internal::WireFormatLite::StringSize(
8627
12
          this->master_addresses());
8628
12
    }
8629
8630
    // optional .yb.tserver.TabletServerErrorPB error = 1;
8631
12
    if (has_error()) {
8632
0
      total_size += 1 +
8633
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
8634
0
          *this->error_);
8635
0
    }
8636
8637
12
  }
8638
12
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8639
12
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8640
12
  _cached_size_ = cached_size;
8641
12
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8642
12
  return total_size;
8643
12
}
8644
8645
0
void GetMasterAddressesResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
8646
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.GetMasterAddressesResponsePB)
8647
0
  GOOGLE_DCHECK_NE(&from, this);
8648
0
  const GetMasterAddressesResponsePB* source =
8649
0
      ::google::protobuf::internal::DynamicCastToGenerated<const GetMasterAddressesResponsePB>(
8650
0
          &from);
8651
0
  if (source == NULL) {
8652
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.GetMasterAddressesResponsePB)
8653
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8654
0
  } else {
8655
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.GetMasterAddressesResponsePB)
8656
0
    MergeFrom(*source);
8657
0
  }
8658
0
}
8659
8660
0
void GetMasterAddressesResponsePB::MergeFrom(const GetMasterAddressesResponsePB& from) {
8661
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.GetMasterAddressesResponsePB)
8662
0
  GOOGLE_DCHECK_NE(&from, this);
8663
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8664
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8665
0
  (void) cached_has_bits;
8666
8667
0
  cached_has_bits = from._has_bits_[0];
8668
0
  if (cached_has_bits & 3u) {
8669
0
    if (cached_has_bits & 0x00000001u) {
8670
0
      set_has_master_addresses();
8671
0
      master_addresses_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.master_addresses_);
8672
0
    }
8673
0
    if (cached_has_bits & 0x00000002u) {
8674
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
8675
0
    }
8676
0
  }
8677
0
}
8678
8679
0
void GetMasterAddressesResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
8680
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.GetMasterAddressesResponsePB)
8681
0
  if (&from == this) return;
8682
0
  Clear();
8683
0
  MergeFrom(from);
8684
0
}
8685
8686
0
void GetMasterAddressesResponsePB::CopyFrom(const GetMasterAddressesResponsePB& from) {
8687
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.GetMasterAddressesResponsePB)
8688
0
  if (&from == this) return;
8689
0
  Clear();
8690
0
  MergeFrom(from);
8691
0
}
8692
8693
6
bool GetMasterAddressesResponsePB::IsInitialized() const {
8694
6
  if (has_error()) {
8695
0
    if (!this->error_->IsInitialized()) return false;
8696
6
  }
8697
6
  return true;
8698
6
}
8699
8700
0
void GetMasterAddressesResponsePB::Swap(GetMasterAddressesResponsePB* other) {
8701
0
  if (other == this) return;
8702
0
  InternalSwap(other);
8703
0
}
8704
0
void GetMasterAddressesResponsePB::InternalSwap(GetMasterAddressesResponsePB* other) {
8705
0
  using std::swap;
8706
0
  master_addresses_.Swap(&other->master_addresses_);
8707
0
  swap(error_, other->error_);
8708
0
  swap(_has_bits_[0], other->_has_bits_[0]);
8709
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
8710
0
  swap(_cached_size_, other->_cached_size_);
8711
0
}
8712
8713
0
::google::protobuf::Metadata GetMasterAddressesResponsePB::GetMetadata() const {
8714
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
8715
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
8716
0
}
8717
8718
8719
// ===================================================================
8720
8721
15.8k
void PublishRequestPB::InitAsDefaultInstance() {
8722
15.8k
}
8723
#if !defined(_MSC_VER) || _MSC_VER >= 1900
8724
const int PublishRequestPB::kChannelFieldNumber;
8725
const int PublishRequestPB::kMessageFieldNumber;
8726
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
8727
8728
PublishRequestPB::PublishRequestPB()
8729
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
8730
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
8731
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsPublishRequestPB();
8732
0
  }
8733
15.8k
  SharedCtor();
8734
  // @@protoc_insertion_point(constructor:yb.tserver.PublishRequestPB)
8735
15.8k
}
8736
PublishRequestPB::PublishRequestPB(const PublishRequestPB& from)
8737
  : ::google::protobuf::Message(),
8738
      _internal_metadata_(NULL),
8739
      _has_bits_(from._has_bits_),
8740
0
      _cached_size_(0) {
8741
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8742
0
  channel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8743
0
  if (from.has_channel()) {
8744
0
    channel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.channel_);
8745
0
  }
8746
0
  message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8747
0
  if (from.has_message()) {
8748
0
    message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
8749
0
  }
8750
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PublishRequestPB)
8751
0
}
8752
8753
15.8k
void PublishRequestPB::SharedCtor() {
8754
15.8k
  _cached_size_ = 0;
8755
15.8k
  channel_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8756
15.8k
  message_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8757
15.8k
}
8758
8759
0
PublishRequestPB::~PublishRequestPB() {
8760
  // @@protoc_insertion_point(destructor:yb.tserver.PublishRequestPB)
8761
0
  SharedDtor();
8762
0
}
8763
8764
0
void PublishRequestPB::SharedDtor() {
8765
0
  channel_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8766
0
  message_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8767
0
}
8768
8769
0
void PublishRequestPB::SetCachedSize(int size) const {
8770
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8771
0
  _cached_size_ = size;
8772
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8773
0
}
8774
0
const ::google::protobuf::Descriptor* PublishRequestPB::descriptor() {
8775
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
8776
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
8777
0
}
8778
8779
0
const PublishRequestPB& PublishRequestPB::default_instance() {
8780
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsPublishRequestPB();
8781
0
  return *internal_default_instance();
8782
0
}
8783
8784
0
PublishRequestPB* PublishRequestPB::New(::google::protobuf::Arena* arena) const {
8785
0
  PublishRequestPB* n = new PublishRequestPB;
8786
0
  if (arena != NULL) {
8787
0
    arena->Own(n);
8788
0
  }
8789
0
  return n;
8790
0
}
8791
8792
0
void PublishRequestPB::Clear() {
8793
// @@protoc_insertion_point(message_clear_start:yb.tserver.PublishRequestPB)
8794
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8795
  // Prevent compiler warnings about cached_has_bits being unused
8796
0
  (void) cached_has_bits;
8797
8798
0
  cached_has_bits = _has_bits_[0];
8799
0
  if (cached_has_bits & 3u) {
8800
0
    if (cached_has_bits & 0x00000001u) {
8801
0
      GOOGLE_DCHECK(!channel_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8802
0
      (*channel_.UnsafeRawStringPointer())->clear();
8803
0
    }
8804
0
    if (cached_has_bits & 0x00000002u) {
8805
0
      GOOGLE_DCHECK(!message_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
8806
0
      (*message_.UnsafeRawStringPointer())->clear();
8807
0
    }
8808
0
  }
8809
0
  _has_bits_.Clear();
8810
0
  _internal_metadata_.Clear();
8811
0
}
8812
8813
bool PublishRequestPB::MergePartialFromCodedStream(
8814
0
    ::google::protobuf::io::CodedInputStream* input) {
8815
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
8816
0
  ::google::protobuf::uint32 tag;
8817
  // @@protoc_insertion_point(parse_start:yb.tserver.PublishRequestPB)
8818
0
  for (;;) {
8819
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
8820
0
    tag = p.first;
8821
0
    if (!p.second) goto handle_unusual;
8822
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8823
      // required bytes channel = 1;
8824
0
      case 1: {
8825
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8826
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
8827
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
8828
0
                input, this->mutable_channel()));
8829
0
        } else {
8830
0
          goto handle_unusual;
8831
0
        }
8832
0
        break;
8833
0
      }
8834
8835
      // required bytes message = 2;
8836
0
      case 2: {
8837
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
8838
0
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
8839
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
8840
0
                input, this->mutable_message()));
8841
0
        } else {
8842
0
          goto handle_unusual;
8843
0
        }
8844
0
        break;
8845
0
      }
8846
8847
0
      default: {
8848
0
      handle_unusual:
8849
0
        if (tag == 0) {
8850
0
          goto success;
8851
0
        }
8852
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
8853
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
8854
0
        break;
8855
0
      }
8856
0
    }
8857
0
  }
8858
0
success:
8859
  // @@protoc_insertion_point(parse_success:yb.tserver.PublishRequestPB)
8860
0
  return true;
8861
0
failure:
8862
  // @@protoc_insertion_point(parse_failure:yb.tserver.PublishRequestPB)
8863
0
  return false;
8864
0
#undef DO_
8865
0
}
8866
8867
void PublishRequestPB::SerializeWithCachedSizes(
8868
0
    ::google::protobuf::io::CodedOutputStream* output) const {
8869
  // @@protoc_insertion_point(serialize_start:yb.tserver.PublishRequestPB)
8870
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8871
0
  (void) cached_has_bits;
8872
8873
0
  cached_has_bits = _has_bits_[0];
8874
  // required bytes channel = 1;
8875
0
  if (cached_has_bits & 0x00000001u) {
8876
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
8877
0
      1, this->channel(), output);
8878
0
  }
8879
8880
  // required bytes message = 2;
8881
0
  if (cached_has_bits & 0x00000002u) {
8882
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
8883
0
      2, this->message(), output);
8884
0
  }
8885
8886
0
  if (_internal_metadata_.have_unknown_fields()) {
8887
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
8888
0
        _internal_metadata_.unknown_fields(), output);
8889
0
  }
8890
  // @@protoc_insertion_point(serialize_end:yb.tserver.PublishRequestPB)
8891
0
}
8892
8893
::google::protobuf::uint8* PublishRequestPB::InternalSerializeWithCachedSizesToArray(
8894
0
    bool deterministic, ::google::protobuf::uint8* target) const {
8895
0
  (void)deterministic; // Unused
8896
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PublishRequestPB)
8897
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8898
0
  (void) cached_has_bits;
8899
8900
0
  cached_has_bits = _has_bits_[0];
8901
  // required bytes channel = 1;
8902
0
  if (cached_has_bits & 0x00000001u) {
8903
0
    target =
8904
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
8905
0
        1, this->channel(), target);
8906
0
  }
8907
8908
  // required bytes message = 2;
8909
0
  if (cached_has_bits & 0x00000002u) {
8910
0
    target =
8911
0
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
8912
0
        2, this->message(), target);
8913
0
  }
8914
8915
0
  if (_internal_metadata_.have_unknown_fields()) {
8916
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
8917
0
        _internal_metadata_.unknown_fields(), target);
8918
0
  }
8919
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PublishRequestPB)
8920
0
  return target;
8921
0
}
8922
8923
0
size_t PublishRequestPB::RequiredFieldsByteSizeFallback() const {
8924
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.PublishRequestPB)
8925
0
  size_t total_size = 0;
8926
8927
0
  if (has_channel()) {
8928
    // required bytes channel = 1;
8929
0
    total_size += 1 +
8930
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
8931
0
        this->channel());
8932
0
  }
8933
8934
0
  if (has_message()) {
8935
    // required bytes message = 2;
8936
0
    total_size += 1 +
8937
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
8938
0
        this->message());
8939
0
  }
8940
8941
0
  return total_size;
8942
0
}
8943
0
size_t PublishRequestPB::ByteSizeLong() const {
8944
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PublishRequestPB)
8945
0
  size_t total_size = 0;
8946
8947
0
  if (_internal_metadata_.have_unknown_fields()) {
8948
0
    total_size +=
8949
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
8950
0
        _internal_metadata_.unknown_fields());
8951
0
  }
8952
0
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
8953
    // required bytes channel = 1;
8954
0
    total_size += 1 +
8955
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
8956
0
        this->channel());
8957
8958
    // required bytes message = 2;
8959
0
    total_size += 1 +
8960
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
8961
0
        this->message());
8962
8963
0
  } else {
8964
0
    total_size += RequiredFieldsByteSizeFallback();
8965
0
  }
8966
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
8967
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8968
0
  _cached_size_ = cached_size;
8969
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
8970
0
  return total_size;
8971
0
}
8972
8973
0
void PublishRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
8974
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PublishRequestPB)
8975
0
  GOOGLE_DCHECK_NE(&from, this);
8976
0
  const PublishRequestPB* source =
8977
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PublishRequestPB>(
8978
0
          &from);
8979
0
  if (source == NULL) {
8980
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PublishRequestPB)
8981
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
8982
0
  } else {
8983
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PublishRequestPB)
8984
0
    MergeFrom(*source);
8985
0
  }
8986
0
}
8987
8988
0
void PublishRequestPB::MergeFrom(const PublishRequestPB& from) {
8989
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PublishRequestPB)
8990
0
  GOOGLE_DCHECK_NE(&from, this);
8991
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
8992
0
  ::google::protobuf::uint32 cached_has_bits = 0;
8993
0
  (void) cached_has_bits;
8994
8995
0
  cached_has_bits = from._has_bits_[0];
8996
0
  if (cached_has_bits & 3u) {
8997
0
    if (cached_has_bits & 0x00000001u) {
8998
0
      set_has_channel();
8999
0
      channel_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.channel_);
9000
0
    }
9001
0
    if (cached_has_bits & 0x00000002u) {
9002
0
      set_has_message();
9003
0
      message_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.message_);
9004
0
    }
9005
0
  }
9006
0
}
9007
9008
0
void PublishRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9009
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PublishRequestPB)
9010
0
  if (&from == this) return;
9011
0
  Clear();
9012
0
  MergeFrom(from);
9013
0
}
9014
9015
0
void PublishRequestPB::CopyFrom(const PublishRequestPB& from) {
9016
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PublishRequestPB)
9017
0
  if (&from == this) return;
9018
0
  Clear();
9019
0
  MergeFrom(from);
9020
0
}
9021
9022
0
bool PublishRequestPB::IsInitialized() const {
9023
0
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
9024
0
  return true;
9025
0
}
9026
9027
0
void PublishRequestPB::Swap(PublishRequestPB* other) {
9028
0
  if (other == this) return;
9029
0
  InternalSwap(other);
9030
0
}
9031
0
void PublishRequestPB::InternalSwap(PublishRequestPB* other) {
9032
0
  using std::swap;
9033
0
  channel_.Swap(&other->channel_);
9034
0
  message_.Swap(&other->message_);
9035
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9036
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9037
0
  swap(_cached_size_, other->_cached_size_);
9038
0
}
9039
9040
0
::google::protobuf::Metadata PublishRequestPB::GetMetadata() const {
9041
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9042
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
9043
0
}
9044
9045
9046
// ===================================================================
9047
9048
15.8k
void PublishResponsePB::InitAsDefaultInstance() {
9049
15.8k
}
9050
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9051
const int PublishResponsePB::kNumClientsForwardedToFieldNumber;
9052
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9053
9054
PublishResponsePB::PublishResponsePB()
9055
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9056
0
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9057
0
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsPublishResponsePB();
9058
0
  }
9059
15.8k
  SharedCtor();
9060
  // @@protoc_insertion_point(constructor:yb.tserver.PublishResponsePB)
9061
15.8k
}
9062
PublishResponsePB::PublishResponsePB(const PublishResponsePB& from)
9063
  : ::google::protobuf::Message(),
9064
      _internal_metadata_(NULL),
9065
      _has_bits_(from._has_bits_),
9066
0
      _cached_size_(0) {
9067
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9068
0
  num_clients_forwarded_to_ = from.num_clients_forwarded_to_;
9069
  // @@protoc_insertion_point(copy_constructor:yb.tserver.PublishResponsePB)
9070
0
}
9071
9072
15.8k
void PublishResponsePB::SharedCtor() {
9073
15.8k
  _cached_size_ = 0;
9074
15.8k
  num_clients_forwarded_to_ = 0;
9075
15.8k
}
9076
9077
0
PublishResponsePB::~PublishResponsePB() {
9078
  // @@protoc_insertion_point(destructor:yb.tserver.PublishResponsePB)
9079
0
  SharedDtor();
9080
0
}
9081
9082
0
void PublishResponsePB::SharedDtor() {
9083
0
}
9084
9085
0
void PublishResponsePB::SetCachedSize(int size) const {
9086
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9087
0
  _cached_size_ = size;
9088
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9089
0
}
9090
0
const ::google::protobuf::Descriptor* PublishResponsePB::descriptor() {
9091
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9092
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9093
0
}
9094
9095
0
const PublishResponsePB& PublishResponsePB::default_instance() {
9096
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsPublishResponsePB();
9097
0
  return *internal_default_instance();
9098
0
}
9099
9100
0
PublishResponsePB* PublishResponsePB::New(::google::protobuf::Arena* arena) const {
9101
0
  PublishResponsePB* n = new PublishResponsePB;
9102
0
  if (arena != NULL) {
9103
0
    arena->Own(n);
9104
0
  }
9105
0
  return n;
9106
0
}
9107
9108
0
void PublishResponsePB::Clear() {
9109
// @@protoc_insertion_point(message_clear_start:yb.tserver.PublishResponsePB)
9110
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9111
  // Prevent compiler warnings about cached_has_bits being unused
9112
0
  (void) cached_has_bits;
9113
9114
0
  num_clients_forwarded_to_ = 0;
9115
0
  _has_bits_.Clear();
9116
0
  _internal_metadata_.Clear();
9117
0
}
9118
9119
bool PublishResponsePB::MergePartialFromCodedStream(
9120
0
    ::google::protobuf::io::CodedInputStream* input) {
9121
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9122
0
  ::google::protobuf::uint32 tag;
9123
  // @@protoc_insertion_point(parse_start:yb.tserver.PublishResponsePB)
9124
0
  for (;;) {
9125
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9126
0
    tag = p.first;
9127
0
    if (!p.second) goto handle_unusual;
9128
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9129
      // required int32 num_clients_forwarded_to = 1;
9130
0
      case 1: {
9131
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9132
0
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
9133
0
          set_has_num_clients_forwarded_to();
9134
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9135
0
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
9136
0
                 input, &num_clients_forwarded_to_)));
9137
0
        } else {
9138
0
          goto handle_unusual;
9139
0
        }
9140
0
        break;
9141
0
      }
9142
9143
0
      default: {
9144
0
      handle_unusual:
9145
0
        if (tag == 0) {
9146
0
          goto success;
9147
0
        }
9148
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9149
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9150
0
        break;
9151
0
      }
9152
0
    }
9153
0
  }
9154
0
success:
9155
  // @@protoc_insertion_point(parse_success:yb.tserver.PublishResponsePB)
9156
0
  return true;
9157
0
failure:
9158
  // @@protoc_insertion_point(parse_failure:yb.tserver.PublishResponsePB)
9159
0
  return false;
9160
0
#undef DO_
9161
0
}
9162
9163
void PublishResponsePB::SerializeWithCachedSizes(
9164
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9165
  // @@protoc_insertion_point(serialize_start:yb.tserver.PublishResponsePB)
9166
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9167
0
  (void) cached_has_bits;
9168
9169
0
  cached_has_bits = _has_bits_[0];
9170
  // required int32 num_clients_forwarded_to = 1;
9171
0
  if (cached_has_bits & 0x00000001u) {
9172
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->num_clients_forwarded_to(), output);
9173
0
  }
9174
9175
0
  if (_internal_metadata_.have_unknown_fields()) {
9176
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9177
0
        _internal_metadata_.unknown_fields(), output);
9178
0
  }
9179
  // @@protoc_insertion_point(serialize_end:yb.tserver.PublishResponsePB)
9180
0
}
9181
9182
::google::protobuf::uint8* PublishResponsePB::InternalSerializeWithCachedSizesToArray(
9183
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9184
0
  (void)deterministic; // Unused
9185
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.PublishResponsePB)
9186
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9187
0
  (void) cached_has_bits;
9188
9189
0
  cached_has_bits = _has_bits_[0];
9190
  // required int32 num_clients_forwarded_to = 1;
9191
0
  if (cached_has_bits & 0x00000001u) {
9192
0
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->num_clients_forwarded_to(), target);
9193
0
  }
9194
9195
0
  if (_internal_metadata_.have_unknown_fields()) {
9196
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9197
0
        _internal_metadata_.unknown_fields(), target);
9198
0
  }
9199
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.PublishResponsePB)
9200
0
  return target;
9201
0
}
9202
9203
0
size_t PublishResponsePB::ByteSizeLong() const {
9204
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.PublishResponsePB)
9205
0
  size_t total_size = 0;
9206
9207
0
  if (_internal_metadata_.have_unknown_fields()) {
9208
0
    total_size +=
9209
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9210
0
        _internal_metadata_.unknown_fields());
9211
0
  }
9212
  // required int32 num_clients_forwarded_to = 1;
9213
0
  if (has_num_clients_forwarded_to()) {
9214
0
    total_size += 1 +
9215
0
      ::google::protobuf::internal::WireFormatLite::Int32Size(
9216
0
        this->num_clients_forwarded_to());
9217
0
  }
9218
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9219
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9220
0
  _cached_size_ = cached_size;
9221
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9222
0
  return total_size;
9223
0
}
9224
9225
0
void PublishResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9226
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.PublishResponsePB)
9227
0
  GOOGLE_DCHECK_NE(&from, this);
9228
0
  const PublishResponsePB* source =
9229
0
      ::google::protobuf::internal::DynamicCastToGenerated<const PublishResponsePB>(
9230
0
          &from);
9231
0
  if (source == NULL) {
9232
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.PublishResponsePB)
9233
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9234
0
  } else {
9235
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.PublishResponsePB)
9236
0
    MergeFrom(*source);
9237
0
  }
9238
0
}
9239
9240
0
void PublishResponsePB::MergeFrom(const PublishResponsePB& from) {
9241
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.PublishResponsePB)
9242
0
  GOOGLE_DCHECK_NE(&from, this);
9243
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9244
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9245
0
  (void) cached_has_bits;
9246
9247
0
  if (from.has_num_clients_forwarded_to()) {
9248
0
    set_num_clients_forwarded_to(from.num_clients_forwarded_to());
9249
0
  }
9250
0
}
9251
9252
0
void PublishResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9253
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.PublishResponsePB)
9254
0
  if (&from == this) return;
9255
0
  Clear();
9256
0
  MergeFrom(from);
9257
0
}
9258
9259
0
void PublishResponsePB::CopyFrom(const PublishResponsePB& from) {
9260
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.PublishResponsePB)
9261
0
  if (&from == this) return;
9262
0
  Clear();
9263
0
  MergeFrom(from);
9264
0
}
9265
9266
0
bool PublishResponsePB::IsInitialized() const {
9267
0
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
9268
0
  return true;
9269
0
}
9270
9271
0
void PublishResponsePB::Swap(PublishResponsePB* other) {
9272
0
  if (other == this) return;
9273
0
  InternalSwap(other);
9274
0
}
9275
0
void PublishResponsePB::InternalSwap(PublishResponsePB* other) {
9276
0
  using std::swap;
9277
0
  swap(num_clients_forwarded_to_, other->num_clients_forwarded_to_);
9278
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9279
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9280
0
  swap(_cached_size_, other->_cached_size_);
9281
0
}
9282
9283
0
::google::protobuf::Metadata PublishResponsePB::GetMetadata() const {
9284
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9285
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
9286
0
}
9287
9288
9289
// ===================================================================
9290
9291
15.8k
void IsTabletServerReadyRequestPB::InitAsDefaultInstance() {
9292
15.8k
}
9293
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9294
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9295
9296
IsTabletServerReadyRequestPB::IsTabletServerReadyRequestPB()
9297
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9298
18
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9299
18
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsIsTabletServerReadyRequestPB();
9300
18
  }
9301
15.8k
  SharedCtor();
9302
  // @@protoc_insertion_point(constructor:yb.tserver.IsTabletServerReadyRequestPB)
9303
15.8k
}
9304
IsTabletServerReadyRequestPB::IsTabletServerReadyRequestPB(const IsTabletServerReadyRequestPB& from)
9305
  : ::google::protobuf::Message(),
9306
      _internal_metadata_(NULL),
9307
      _has_bits_(from._has_bits_),
9308
0
      _cached_size_(0) {
9309
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9310
  // @@protoc_insertion_point(copy_constructor:yb.tserver.IsTabletServerReadyRequestPB)
9311
0
}
9312
9313
15.8k
void IsTabletServerReadyRequestPB::SharedCtor() {
9314
15.8k
  _cached_size_ = 0;
9315
15.8k
}
9316
9317
18
IsTabletServerReadyRequestPB::~IsTabletServerReadyRequestPB() {
9318
  // @@protoc_insertion_point(destructor:yb.tserver.IsTabletServerReadyRequestPB)
9319
18
  SharedDtor();
9320
18
}
9321
9322
18
void IsTabletServerReadyRequestPB::SharedDtor() {
9323
18
}
9324
9325
0
void IsTabletServerReadyRequestPB::SetCachedSize(int size) const {
9326
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9327
0
  _cached_size_ = size;
9328
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9329
0
}
9330
0
const ::google::protobuf::Descriptor* IsTabletServerReadyRequestPB::descriptor() {
9331
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9332
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9333
0
}
9334
9335
0
const IsTabletServerReadyRequestPB& IsTabletServerReadyRequestPB::default_instance() {
9336
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsIsTabletServerReadyRequestPB();
9337
0
  return *internal_default_instance();
9338
0
}
9339
9340
0
IsTabletServerReadyRequestPB* IsTabletServerReadyRequestPB::New(::google::protobuf::Arena* arena) const {
9341
0
  IsTabletServerReadyRequestPB* n = new IsTabletServerReadyRequestPB;
9342
0
  if (arena != NULL) {
9343
0
    arena->Own(n);
9344
0
  }
9345
0
  return n;
9346
0
}
9347
9348
18
void IsTabletServerReadyRequestPB::Clear() {
9349
// @@protoc_insertion_point(message_clear_start:yb.tserver.IsTabletServerReadyRequestPB)
9350
18
  ::google::protobuf::uint32 cached_has_bits = 0;
9351
  // Prevent compiler warnings about cached_has_bits being unused
9352
18
  (void) cached_has_bits;
9353
9354
18
  _has_bits_.Clear();
9355
18
  _internal_metadata_.Clear();
9356
18
}
9357
9358
bool IsTabletServerReadyRequestPB::MergePartialFromCodedStream(
9359
18
    ::google::protobuf::io::CodedInputStream* input) {
9360
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9361
18
  ::google::protobuf::uint32 tag;
9362
  // @@protoc_insertion_point(parse_start:yb.tserver.IsTabletServerReadyRequestPB)
9363
18
  for (;;) {
9364
18
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9365
18
    tag = p.first;
9366
18
    if (!p.second) goto handle_unusual;
9367
18
  handle_unusual:
9368
18
    if (tag == 0) {
9369
18
      goto success;
9370
18
    }
9371
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
9372
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
9373
0
  }
9374
18
success:
9375
  // @@protoc_insertion_point(parse_success:yb.tserver.IsTabletServerReadyRequestPB)
9376
18
  return true;
9377
0
failure:
9378
  // @@protoc_insertion_point(parse_failure:yb.tserver.IsTabletServerReadyRequestPB)
9379
0
  return false;
9380
18
#undef DO_
9381
18
}
9382
9383
void IsTabletServerReadyRequestPB::SerializeWithCachedSizes(
9384
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9385
  // @@protoc_insertion_point(serialize_start:yb.tserver.IsTabletServerReadyRequestPB)
9386
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9387
0
  (void) cached_has_bits;
9388
9389
0
  if (_internal_metadata_.have_unknown_fields()) {
9390
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9391
0
        _internal_metadata_.unknown_fields(), output);
9392
0
  }
9393
  // @@protoc_insertion_point(serialize_end:yb.tserver.IsTabletServerReadyRequestPB)
9394
0
}
9395
9396
::google::protobuf::uint8* IsTabletServerReadyRequestPB::InternalSerializeWithCachedSizesToArray(
9397
0
    bool deterministic, ::google::protobuf::uint8* target) const {
9398
0
  (void)deterministic; // Unused
9399
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.IsTabletServerReadyRequestPB)
9400
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9401
0
  (void) cached_has_bits;
9402
9403
0
  if (_internal_metadata_.have_unknown_fields()) {
9404
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9405
0
        _internal_metadata_.unknown_fields(), target);
9406
0
  }
9407
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.IsTabletServerReadyRequestPB)
9408
0
  return target;
9409
0
}
9410
9411
0
size_t IsTabletServerReadyRequestPB::ByteSizeLong() const {
9412
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.IsTabletServerReadyRequestPB)
9413
0
  size_t total_size = 0;
9414
9415
0
  if (_internal_metadata_.have_unknown_fields()) {
9416
0
    total_size +=
9417
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9418
0
        _internal_metadata_.unknown_fields());
9419
0
  }
9420
0
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9421
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9422
0
  _cached_size_ = cached_size;
9423
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9424
0
  return total_size;
9425
0
}
9426
9427
0
void IsTabletServerReadyRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
9428
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.IsTabletServerReadyRequestPB)
9429
0
  GOOGLE_DCHECK_NE(&from, this);
9430
0
  const IsTabletServerReadyRequestPB* source =
9431
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsTabletServerReadyRequestPB>(
9432
0
          &from);
9433
0
  if (source == NULL) {
9434
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.IsTabletServerReadyRequestPB)
9435
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9436
0
  } else {
9437
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.IsTabletServerReadyRequestPB)
9438
0
    MergeFrom(*source);
9439
0
  }
9440
0
}
9441
9442
0
void IsTabletServerReadyRequestPB::MergeFrom(const IsTabletServerReadyRequestPB& from) {
9443
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.IsTabletServerReadyRequestPB)
9444
0
  GOOGLE_DCHECK_NE(&from, this);
9445
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9446
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9447
0
  (void) cached_has_bits;
9448
9449
0
}
9450
9451
0
void IsTabletServerReadyRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
9452
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.IsTabletServerReadyRequestPB)
9453
0
  if (&from == this) return;
9454
0
  Clear();
9455
0
  MergeFrom(from);
9456
0
}
9457
9458
0
void IsTabletServerReadyRequestPB::CopyFrom(const IsTabletServerReadyRequestPB& from) {
9459
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.IsTabletServerReadyRequestPB)
9460
0
  if (&from == this) return;
9461
0
  Clear();
9462
0
  MergeFrom(from);
9463
0
}
9464
9465
18
bool IsTabletServerReadyRequestPB::IsInitialized() const {
9466
18
  return true;
9467
18
}
9468
9469
0
void IsTabletServerReadyRequestPB::Swap(IsTabletServerReadyRequestPB* other) {
9470
0
  if (other == this) return;
9471
0
  InternalSwap(other);
9472
0
}
9473
0
void IsTabletServerReadyRequestPB::InternalSwap(IsTabletServerReadyRequestPB* other) {
9474
0
  using std::swap;
9475
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9476
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9477
0
  swap(_cached_size_, other->_cached_size_);
9478
0
}
9479
9480
18
::google::protobuf::Metadata IsTabletServerReadyRequestPB::GetMetadata() const {
9481
18
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9482
18
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
9483
18
}
9484
9485
9486
// ===================================================================
9487
9488
15.8k
void IsTabletServerReadyResponsePB::InitAsDefaultInstance() {
9489
15.8k
  ::yb::tserver::_IsTabletServerReadyResponsePB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::tserver::TabletServerErrorPB*>(
9490
15.8k
      ::yb::tserver::TabletServerErrorPB::internal_default_instance());
9491
15.8k
}
9492
0
void IsTabletServerReadyResponsePB::clear_error() {
9493
0
  if (error_ != NULL) error_->Clear();
9494
0
  clear_has_error();
9495
0
}
9496
#if !defined(_MSC_VER) || _MSC_VER >= 1900
9497
const int IsTabletServerReadyResponsePB::kErrorFieldNumber;
9498
const int IsTabletServerReadyResponsePB::kNumTabletsNotRunningFieldNumber;
9499
const int IsTabletServerReadyResponsePB::kTotalTabletsFieldNumber;
9500
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
9501
9502
IsTabletServerReadyResponsePB::IsTabletServerReadyResponsePB()
9503
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
9504
18
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
9505
18
    ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsIsTabletServerReadyResponsePB();
9506
18
  }
9507
15.8k
  SharedCtor();
9508
  // @@protoc_insertion_point(constructor:yb.tserver.IsTabletServerReadyResponsePB)
9509
15.8k
}
9510
IsTabletServerReadyResponsePB::IsTabletServerReadyResponsePB(const IsTabletServerReadyResponsePB& from)
9511
  : ::google::protobuf::Message(),
9512
      _internal_metadata_(NULL),
9513
      _has_bits_(from._has_bits_),
9514
0
      _cached_size_(0) {
9515
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9516
0
  if (from.has_error()) {
9517
0
    error_ = new ::yb::tserver::TabletServerErrorPB(*from.error_);
9518
0
  } else {
9519
0
    error_ = NULL;
9520
0
  }
9521
0
  ::memcpy(&num_tablets_not_running_, &from.num_tablets_not_running_,
9522
0
    static_cast<size_t>(reinterpret_cast<char*>(&total_tablets_) -
9523
0
    reinterpret_cast<char*>(&num_tablets_not_running_)) + sizeof(total_tablets_));
9524
  // @@protoc_insertion_point(copy_constructor:yb.tserver.IsTabletServerReadyResponsePB)
9525
0
}
9526
9527
15.8k
void IsTabletServerReadyResponsePB::SharedCtor() {
9528
15.8k
  _cached_size_ = 0;
9529
15.8k
  ::memset(&error_, 0, static_cast<size_t>(
9530
15.8k
      reinterpret_cast<char*>(&total_tablets_) -
9531
15.8k
      reinterpret_cast<char*>(&error_)) + sizeof(total_tablets_));
9532
15.8k
}
9533
9534
18
IsTabletServerReadyResponsePB::~IsTabletServerReadyResponsePB() {
9535
  // @@protoc_insertion_point(destructor:yb.tserver.IsTabletServerReadyResponsePB)
9536
18
  SharedDtor();
9537
18
}
9538
9539
18
void IsTabletServerReadyResponsePB::SharedDtor() {
9540
18
  if (this != internal_default_instance()) delete error_;
9541
18
}
9542
9543
0
void IsTabletServerReadyResponsePB::SetCachedSize(int size) const {
9544
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9545
0
  _cached_size_ = size;
9546
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9547
0
}
9548
0
const ::google::protobuf::Descriptor* IsTabletServerReadyResponsePB::descriptor() {
9549
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9550
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
9551
0
}
9552
9553
0
const IsTabletServerReadyResponsePB& IsTabletServerReadyResponsePB::default_instance() {
9554
0
  ::protobuf_yb_2ftserver_2ftserver_2eproto::InitDefaultsIsTabletServerReadyResponsePB();
9555
0
  return *internal_default_instance();
9556
0
}
9557
9558
0
IsTabletServerReadyResponsePB* IsTabletServerReadyResponsePB::New(::google::protobuf::Arena* arena) const {
9559
0
  IsTabletServerReadyResponsePB* n = new IsTabletServerReadyResponsePB;
9560
0
  if (arena != NULL) {
9561
0
    arena->Own(n);
9562
0
  }
9563
0
  return n;
9564
0
}
9565
9566
0
void IsTabletServerReadyResponsePB::Clear() {
9567
// @@protoc_insertion_point(message_clear_start:yb.tserver.IsTabletServerReadyResponsePB)
9568
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9569
  // Prevent compiler warnings about cached_has_bits being unused
9570
0
  (void) cached_has_bits;
9571
9572
0
  cached_has_bits = _has_bits_[0];
9573
0
  if (cached_has_bits & 0x00000001u) {
9574
0
    GOOGLE_DCHECK(error_ != NULL);
9575
0
    error_->Clear();
9576
0
  }
9577
0
  if (cached_has_bits & 6u) {
9578
0
    ::memset(&num_tablets_not_running_, 0, static_cast<size_t>(
9579
0
        reinterpret_cast<char*>(&total_tablets_) -
9580
0
        reinterpret_cast<char*>(&num_tablets_not_running_)) + sizeof(total_tablets_));
9581
0
  }
9582
0
  _has_bits_.Clear();
9583
0
  _internal_metadata_.Clear();
9584
0
}
9585
9586
bool IsTabletServerReadyResponsePB::MergePartialFromCodedStream(
9587
0
    ::google::protobuf::io::CodedInputStream* input) {
9588
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
9589
0
  ::google::protobuf::uint32 tag;
9590
  // @@protoc_insertion_point(parse_start:yb.tserver.IsTabletServerReadyResponsePB)
9591
0
  for (;;) {
9592
0
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
9593
0
    tag = p.first;
9594
0
    if (!p.second) goto handle_unusual;
9595
0
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9596
      // optional .yb.tserver.TabletServerErrorPB error = 1;
9597
0
      case 1: {
9598
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9599
0
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
9600
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
9601
0
               input, mutable_error()));
9602
0
        } else {
9603
0
          goto handle_unusual;
9604
0
        }
9605
0
        break;
9606
0
      }
9607
9608
      // optional int32 num_tablets_not_running = 2;
9609
0
      case 2: {
9610
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9611
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
9612
0
          set_has_num_tablets_not_running();
9613
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9614
0
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
9615
0
                 input, &num_tablets_not_running_)));
9616
0
        } else {
9617
0
          goto handle_unusual;
9618
0
        }
9619
0
        break;
9620
0
      }
9621
9622
      // optional int32 total_tablets = 3 [default = 0];
9623
0
      case 3: {
9624
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
9625
0
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
9626
0
          set_has_total_tablets();
9627
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9628
0
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
9629
0
                 input, &total_tablets_)));
9630
0
        } else {
9631
0
          goto handle_unusual;
9632
0
        }
9633
0
        break;
9634
0
      }
9635
9636
0
      default: {
9637
0
      handle_unusual:
9638
0
        if (tag == 0) {
9639
0
          goto success;
9640
0
        }
9641
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
9642
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
9643
0
        break;
9644
0
      }
9645
0
    }
9646
0
  }
9647
0
success:
9648
  // @@protoc_insertion_point(parse_success:yb.tserver.IsTabletServerReadyResponsePB)
9649
0
  return true;
9650
0
failure:
9651
  // @@protoc_insertion_point(parse_failure:yb.tserver.IsTabletServerReadyResponsePB)
9652
0
  return false;
9653
0
#undef DO_
9654
0
}
9655
9656
void IsTabletServerReadyResponsePB::SerializeWithCachedSizes(
9657
0
    ::google::protobuf::io::CodedOutputStream* output) const {
9658
  // @@protoc_insertion_point(serialize_start:yb.tserver.IsTabletServerReadyResponsePB)
9659
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9660
0
  (void) cached_has_bits;
9661
9662
0
  cached_has_bits = _has_bits_[0];
9663
  // optional .yb.tserver.TabletServerErrorPB error = 1;
9664
0
  if (cached_has_bits & 0x00000001u) {
9665
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
9666
0
      1, *this->error_, output);
9667
0
  }
9668
9669
  // optional int32 num_tablets_not_running = 2;
9670
0
  if (cached_has_bits & 0x00000002u) {
9671
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->num_tablets_not_running(), output);
9672
0
  }
9673
9674
  // optional int32 total_tablets = 3 [default = 0];
9675
0
  if (cached_has_bits & 0x00000004u) {
9676
0
    ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->total_tablets(), output);
9677
0
  }
9678
9679
0
  if (_internal_metadata_.have_unknown_fields()) {
9680
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
9681
0
        _internal_metadata_.unknown_fields(), output);
9682
0
  }
9683
  // @@protoc_insertion_point(serialize_end:yb.tserver.IsTabletServerReadyResponsePB)
9684
0
}
9685
9686
::google::protobuf::uint8* IsTabletServerReadyResponsePB::InternalSerializeWithCachedSizesToArray(
9687
18
    bool deterministic, ::google::protobuf::uint8* target) const {
9688
18
  (void)deterministic; // Unused
9689
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.IsTabletServerReadyResponsePB)
9690
18
  ::google::protobuf::uint32 cached_has_bits = 0;
9691
18
  (void) cached_has_bits;
9692
9693
18
  cached_has_bits = _has_bits_[0];
9694
  // optional .yb.tserver.TabletServerErrorPB error = 1;
9695
18
  if (cached_has_bits & 0x00000001u) {
9696
0
    target = ::google::protobuf::internal::WireFormatLite::
9697
0
      InternalWriteMessageToArray(
9698
0
        1, *this->error_, deterministic, target);
9699
0
  }
9700
9701
  // optional int32 num_tablets_not_running = 2;
9702
18
  if (cached_has_bits & 0x00000002u) {
9703
18
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->num_tablets_not_running(), target);
9704
18
  }
9705
9706
  // optional int32 total_tablets = 3 [default = 0];
9707
18
  if (cached_has_bits & 0x00000004u) {
9708
18
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->total_tablets(), target);
9709
18
  }
9710
9711
18
  if (_internal_metadata_.have_unknown_fields()) {
9712
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
9713
0
        _internal_metadata_.unknown_fields(), target);
9714
0
  }
9715
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.IsTabletServerReadyResponsePB)
9716
18
  return target;
9717
18
}
9718
9719
36
size_t IsTabletServerReadyResponsePB::ByteSizeLong() const {
9720
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.IsTabletServerReadyResponsePB)
9721
36
  size_t total_size = 0;
9722
9723
36
  if (_internal_metadata_.have_unknown_fields()) {
9724
0
    total_size +=
9725
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
9726
0
        _internal_metadata_.unknown_fields());
9727
0
  }
9728
36
  if (_has_bits_[0 / 32] & 7u) {
9729
    // optional .yb.tserver.TabletServerErrorPB error = 1;
9730
36
    if (has_error()) {
9731
0
      total_size += 1 +
9732
0
        ::google::protobuf::internal::WireFormatLite::MessageSize(
9733
0
          *this->error_);
9734
0
    }
9735
9736
    // optional int32 num_tablets_not_running = 2;
9737
36
    if (has_num_tablets_not_running()) {
9738
36
      total_size += 1 +
9739
36
        ::google::protobuf::internal::WireFormatLite::Int32Size(
9740
36
          this->num_tablets_not_running());
9741
36
    }
9742
9743
    // optional int32 total_tablets = 3 [default = 0];
9744
36
    if (has_total_tablets()) {
9745
36
      total_size += 1 +
9746
36
        ::google::protobuf::internal::WireFormatLite::Int32Size(
9747
36
          this->total_tablets());
9748
36
    }
9749
9750
36
  }
9751
36
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
9752
36
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9753
36
  _cached_size_ = cached_size;
9754
36
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
9755
36
  return total_size;
9756
36
}
9757
9758
0
void IsTabletServerReadyResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
9759
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.IsTabletServerReadyResponsePB)
9760
0
  GOOGLE_DCHECK_NE(&from, this);
9761
0
  const IsTabletServerReadyResponsePB* source =
9762
0
      ::google::protobuf::internal::DynamicCastToGenerated<const IsTabletServerReadyResponsePB>(
9763
0
          &from);
9764
0
  if (source == NULL) {
9765
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.IsTabletServerReadyResponsePB)
9766
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
9767
0
  } else {
9768
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.IsTabletServerReadyResponsePB)
9769
0
    MergeFrom(*source);
9770
0
  }
9771
0
}
9772
9773
0
void IsTabletServerReadyResponsePB::MergeFrom(const IsTabletServerReadyResponsePB& from) {
9774
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.IsTabletServerReadyResponsePB)
9775
0
  GOOGLE_DCHECK_NE(&from, this);
9776
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
9777
0
  ::google::protobuf::uint32 cached_has_bits = 0;
9778
0
  (void) cached_has_bits;
9779
9780
0
  cached_has_bits = from._has_bits_[0];
9781
0
  if (cached_has_bits & 7u) {
9782
0
    if (cached_has_bits & 0x00000001u) {
9783
0
      mutable_error()->::yb::tserver::TabletServerErrorPB::MergeFrom(from.error());
9784
0
    }
9785
0
    if (cached_has_bits & 0x00000002u) {
9786
0
      num_tablets_not_running_ = from.num_tablets_not_running_;
9787
0
    }
9788
0
    if (cached_has_bits & 0x00000004u) {
9789
0
      total_tablets_ = from.total_tablets_;
9790
0
    }
9791
0
    _has_bits_[0] |= cached_has_bits;
9792
0
  }
9793
0
}
9794
9795
0
void IsTabletServerReadyResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
9796
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.IsTabletServerReadyResponsePB)
9797
0
  if (&from == this) return;
9798
0
  Clear();
9799
0
  MergeFrom(from);
9800
0
}
9801
9802
0
void IsTabletServerReadyResponsePB::CopyFrom(const IsTabletServerReadyResponsePB& from) {
9803
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.IsTabletServerReadyResponsePB)
9804
0
  if (&from == this) return;
9805
0
  Clear();
9806
0
  MergeFrom(from);
9807
0
}
9808
9809
18
bool IsTabletServerReadyResponsePB::IsInitialized() const {
9810
18
  if (has_error()) {
9811
0
    if (!this->error_->IsInitialized()) return false;
9812
18
  }
9813
18
  return true;
9814
18
}
9815
9816
0
void IsTabletServerReadyResponsePB::Swap(IsTabletServerReadyResponsePB* other) {
9817
0
  if (other == this) return;
9818
0
  InternalSwap(other);
9819
0
}
9820
0
void IsTabletServerReadyResponsePB::InternalSwap(IsTabletServerReadyResponsePB* other) {
9821
0
  using std::swap;
9822
0
  swap(error_, other->error_);
9823
0
  swap(num_tablets_not_running_, other->num_tablets_not_running_);
9824
0
  swap(total_tablets_, other->total_tablets_);
9825
0
  swap(_has_bits_[0], other->_has_bits_[0]);
9826
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
9827
0
  swap(_cached_size_, other->_cached_size_);
9828
0
}
9829
9830
0
::google::protobuf::Metadata IsTabletServerReadyResponsePB::GetMetadata() const {
9831
0
  protobuf_yb_2ftserver_2ftserver_2eproto::protobuf_AssignDescriptorsOnce();
9832
0
  return ::protobuf_yb_2ftserver_2ftserver_2eproto::file_level_metadata[kIndexInFileMessages];
9833
0
}
9834
9835
9836
// @@protoc_insertion_point(namespace_scope)
9837
}  // namespace tserver
9838
}  // namespace yb
9839
9840
// @@protoc_insertion_point(global_scope)