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/remote_bootstrap.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/tserver/remote_bootstrap.proto
3
4
#include "yb/tserver/remote_bootstrap.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 RemoteBootstrapErrorPBDefaultTypeInternal {
26
 public:
27
  ::google::protobuf::internal::ExplicitlyConstructed<RemoteBootstrapErrorPB>
28
      _instance;
29
} _RemoteBootstrapErrorPB_default_instance_;
30
class BeginRemoteBootstrapSessionRequestPBDefaultTypeInternal {
31
 public:
32
  ::google::protobuf::internal::ExplicitlyConstructed<BeginRemoteBootstrapSessionRequestPB>
33
      _instance;
34
} _BeginRemoteBootstrapSessionRequestPB_default_instance_;
35
class BeginRemoteBootstrapSessionResponsePBDefaultTypeInternal {
36
 public:
37
  ::google::protobuf::internal::ExplicitlyConstructed<BeginRemoteBootstrapSessionResponsePB>
38
      _instance;
39
} _BeginRemoteBootstrapSessionResponsePB_default_instance_;
40
class CheckRemoteBootstrapSessionActiveRequestPBDefaultTypeInternal {
41
 public:
42
  ::google::protobuf::internal::ExplicitlyConstructed<CheckRemoteBootstrapSessionActiveRequestPB>
43
      _instance;
44
} _CheckRemoteBootstrapSessionActiveRequestPB_default_instance_;
45
class CheckRemoteBootstrapSessionActiveResponsePBDefaultTypeInternal {
46
 public:
47
  ::google::protobuf::internal::ExplicitlyConstructed<CheckRemoteBootstrapSessionActiveResponsePB>
48
      _instance;
49
} _CheckRemoteBootstrapSessionActiveResponsePB_default_instance_;
50
class DataIdPBDefaultTypeInternal {
51
 public:
52
  ::google::protobuf::internal::ExplicitlyConstructed<DataIdPB>
53
      _instance;
54
} _DataIdPB_default_instance_;
55
class FetchDataRequestPBDefaultTypeInternal {
56
 public:
57
  ::google::protobuf::internal::ExplicitlyConstructed<FetchDataRequestPB>
58
      _instance;
59
} _FetchDataRequestPB_default_instance_;
60
class DataChunkPBDefaultTypeInternal {
61
 public:
62
  ::google::protobuf::internal::ExplicitlyConstructed<DataChunkPB>
63
      _instance;
64
} _DataChunkPB_default_instance_;
65
class FetchDataResponsePBDefaultTypeInternal {
66
 public:
67
  ::google::protobuf::internal::ExplicitlyConstructed<FetchDataResponsePB>
68
      _instance;
69
} _FetchDataResponsePB_default_instance_;
70
class EndRemoteBootstrapSessionRequestPBDefaultTypeInternal {
71
 public:
72
  ::google::protobuf::internal::ExplicitlyConstructed<EndRemoteBootstrapSessionRequestPB>
73
      _instance;
74
} _EndRemoteBootstrapSessionRequestPB_default_instance_;
75
class EndRemoteBootstrapSessionResponsePBDefaultTypeInternal {
76
 public:
77
  ::google::protobuf::internal::ExplicitlyConstructed<EndRemoteBootstrapSessionResponsePB>
78
      _instance;
79
} _EndRemoteBootstrapSessionResponsePB_default_instance_;
80
class RemoveSessionRequestPBDefaultTypeInternal {
81
 public:
82
  ::google::protobuf::internal::ExplicitlyConstructed<RemoveSessionRequestPB>
83
      _instance;
84
} _RemoveSessionRequestPB_default_instance_;
85
class RemoveSessionResponsePBDefaultTypeInternal {
86
 public:
87
  ::google::protobuf::internal::ExplicitlyConstructed<RemoveSessionResponsePB>
88
      _instance;
89
} _RemoveSessionResponsePB_default_instance_;
90
}  // namespace tserver
91
}  // namespace yb
92
namespace protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto {
93
15.8k
void InitDefaultsRemoteBootstrapErrorPBImpl() {
94
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
95
96
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
97
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
98
#else
99
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
100
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
101
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
102
15.8k
  {
103
15.8k
    void* ptr = &::yb::tserver::_RemoteBootstrapErrorPB_default_instance_;
104
15.8k
    new (ptr) ::yb::tserver::RemoteBootstrapErrorPB();
105
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
106
15.8k
  }
107
15.8k
  ::yb::tserver::RemoteBootstrapErrorPB::InitAsDefaultInstance();
108
15.8k
}
109
110
34.7k
void InitDefaultsRemoteBootstrapErrorPB() {
111
34.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
112
34.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoteBootstrapErrorPBImpl);
113
34.7k
}
114
115
15.8k
void InitDefaultsBeginRemoteBootstrapSessionRequestPBImpl() {
116
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
117
118
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
119
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
120
#else
121
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
122
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
123
15.8k
  {
124
15.8k
    void* ptr = &::yb::tserver::_BeginRemoteBootstrapSessionRequestPB_default_instance_;
125
15.8k
    new (ptr) ::yb::tserver::BeginRemoteBootstrapSessionRequestPB();
126
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
127
15.8k
  }
128
15.8k
  ::yb::tserver::BeginRemoteBootstrapSessionRequestPB::InitAsDefaultInstance();
129
15.8k
}
130
131
18.7k
void InitDefaultsBeginRemoteBootstrapSessionRequestPB() {
132
18.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
133
18.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBeginRemoteBootstrapSessionRequestPBImpl);
134
18.7k
}
135
136
15.8k
void InitDefaultsBeginRemoteBootstrapSessionResponsePBImpl() {
137
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
138
139
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
140
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
141
#else
142
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
143
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
144
15.8k
  protobuf_yb_2ftablet_2fmetadata_2eproto::InitDefaultsRaftGroupReplicaSuperBlockPB();
145
15.8k
  protobuf_yb_2fconsensus_2fmetadata_2eproto::InitDefaultsConsensusStatePB();
146
15.8k
  {
147
15.8k
    void* ptr = &::yb::tserver::_BeginRemoteBootstrapSessionResponsePB_default_instance_;
148
15.8k
    new (ptr) ::yb::tserver::BeginRemoteBootstrapSessionResponsePB();
149
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
150
15.8k
  }
151
15.8k
  ::yb::tserver::BeginRemoteBootstrapSessionResponsePB::InitAsDefaultInstance();
152
15.8k
}
153
154
18.7k
void InitDefaultsBeginRemoteBootstrapSessionResponsePB() {
155
18.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
156
18.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsBeginRemoteBootstrapSessionResponsePBImpl);
157
18.7k
}
158
159
15.8k
void InitDefaultsCheckRemoteBootstrapSessionActiveRequestPBImpl() {
160
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
161
162
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
163
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
164
#else
165
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
166
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
167
15.8k
  {
168
15.8k
    void* ptr = &::yb::tserver::_CheckRemoteBootstrapSessionActiveRequestPB_default_instance_;
169
15.8k
    new (ptr) ::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB();
170
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
171
15.8k
  }
172
15.8k
  ::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB::InitAsDefaultInstance();
173
15.8k
}
174
175
15.8k
void InitDefaultsCheckRemoteBootstrapSessionActiveRequestPB() {
176
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
177
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCheckRemoteBootstrapSessionActiveRequestPBImpl);
178
15.8k
}
179
180
15.8k
void InitDefaultsCheckRemoteBootstrapSessionActiveResponsePBImpl() {
181
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
182
183
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
184
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
185
#else
186
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
187
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
188
15.8k
  {
189
15.8k
    void* ptr = &::yb::tserver::_CheckRemoteBootstrapSessionActiveResponsePB_default_instance_;
190
15.8k
    new (ptr) ::yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB();
191
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
192
15.8k
  }
193
15.8k
  ::yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB::InitAsDefaultInstance();
194
15.8k
}
195
196
15.8k
void InitDefaultsCheckRemoteBootstrapSessionActiveResponsePB() {
197
15.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
198
15.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsCheckRemoteBootstrapSessionActiveResponsePBImpl);
199
15.8k
}
200
201
15.8k
void InitDefaultsDataIdPBImpl() {
202
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
203
204
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
205
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
206
#else
207
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
208
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
209
15.8k
  {
210
15.8k
    void* ptr = &::yb::tserver::_DataIdPB_default_instance_;
211
15.8k
    new (ptr) ::yb::tserver::DataIdPB();
212
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
213
15.8k
  }
214
15.8k
  ::yb::tserver::DataIdPB::InitAsDefaultInstance();
215
15.8k
}
216
217
47.5k
void InitDefaultsDataIdPB() {
218
47.5k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
219
47.5k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDataIdPBImpl);
220
47.5k
}
221
222
15.8k
void InitDefaultsFetchDataRequestPBImpl() {
223
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
224
225
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
226
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
227
#else
228
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
229
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
230
15.8k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsDataIdPB();
231
15.8k
  {
232
15.8k
    void* ptr = &::yb::tserver::_FetchDataRequestPB_default_instance_;
233
15.8k
    new (ptr) ::yb::tserver::FetchDataRequestPB();
234
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
235
15.8k
  }
236
15.8k
  ::yb::tserver::FetchDataRequestPB::InitAsDefaultInstance();
237
15.8k
}
238
239
27.4k
void InitDefaultsFetchDataRequestPB() {
240
27.4k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
241
27.4k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsFetchDataRequestPBImpl);
242
27.4k
}
243
244
15.8k
void InitDefaultsDataChunkPBImpl() {
245
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
246
247
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
248
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
249
#else
250
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
251
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
252
15.8k
  {
253
15.8k
    void* ptr = &::yb::tserver::_DataChunkPB_default_instance_;
254
15.8k
    new (ptr) ::yb::tserver::DataChunkPB();
255
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
256
15.8k
  }
257
15.8k
  ::yb::tserver::DataChunkPB::InitAsDefaultInstance();
258
15.8k
}
259
260
41.3k
void InitDefaultsDataChunkPB() {
261
41.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
262
41.3k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsDataChunkPBImpl);
263
41.3k
}
264
265
15.8k
void InitDefaultsFetchDataResponsePBImpl() {
266
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
267
268
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
269
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
270
#else
271
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
272
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
273
15.8k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsDataChunkPB();
274
15.8k
  {
275
15.8k
    void* ptr = &::yb::tserver::_FetchDataResponsePB_default_instance_;
276
15.8k
    new (ptr) ::yb::tserver::FetchDataResponsePB();
277
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
278
15.8k
  }
279
15.8k
  ::yb::tserver::FetchDataResponsePB::InitAsDefaultInstance();
280
15.8k
}
281
282
27.5k
void InitDefaultsFetchDataResponsePB() {
283
27.5k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
284
27.5k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsFetchDataResponsePBImpl);
285
27.5k
}
286
287
15.8k
void InitDefaultsEndRemoteBootstrapSessionRequestPBImpl() {
288
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
289
290
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
291
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
292
#else
293
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
294
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
295
15.8k
  protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::InitDefaultsAppStatusPB();
296
15.8k
  {
297
15.8k
    void* ptr = &::yb::tserver::_EndRemoteBootstrapSessionRequestPB_default_instance_;
298
15.8k
    new (ptr) ::yb::tserver::EndRemoteBootstrapSessionRequestPB();
299
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
300
15.8k
  }
301
15.8k
  ::yb::tserver::EndRemoteBootstrapSessionRequestPB::InitAsDefaultInstance();
302
15.8k
}
303
304
17.8k
void InitDefaultsEndRemoteBootstrapSessionRequestPB() {
305
17.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
306
17.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEndRemoteBootstrapSessionRequestPBImpl);
307
17.8k
}
308
309
15.8k
void InitDefaultsEndRemoteBootstrapSessionResponsePBImpl() {
310
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
311
312
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
313
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
314
#else
315
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
316
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
317
15.8k
  {
318
15.8k
    void* ptr = &::yb::tserver::_EndRemoteBootstrapSessionResponsePB_default_instance_;
319
15.8k
    new (ptr) ::yb::tserver::EndRemoteBootstrapSessionResponsePB();
320
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
321
15.8k
  }
322
15.8k
  ::yb::tserver::EndRemoteBootstrapSessionResponsePB::InitAsDefaultInstance();
323
15.8k
}
324
325
17.8k
void InitDefaultsEndRemoteBootstrapSessionResponsePB() {
326
17.8k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
327
17.8k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsEndRemoteBootstrapSessionResponsePBImpl);
328
17.8k
}
329
330
15.8k
void InitDefaultsRemoveSessionRequestPBImpl() {
331
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
332
333
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
334
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
335
#else
336
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
337
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
338
15.8k
  {
339
15.8k
    void* ptr = &::yb::tserver::_RemoveSessionRequestPB_default_instance_;
340
15.8k
    new (ptr) ::yb::tserver::RemoveSessionRequestPB();
341
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
342
15.8k
  }
343
15.8k
  ::yb::tserver::RemoveSessionRequestPB::InitAsDefaultInstance();
344
15.8k
}
345
346
17.7k
void InitDefaultsRemoveSessionRequestPB() {
347
17.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
348
17.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoveSessionRequestPBImpl);
349
17.7k
}
350
351
15.8k
void InitDefaultsRemoveSessionResponsePBImpl() {
352
15.8k
  GOOGLE_PROTOBUF_VERIFY_VERSION;
353
354
#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
355
  ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
356
#else
357
15.8k
  ::google::protobuf::internal::InitProtobufDefaults();
358
15.8k
#endif  // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
359
15.8k
  {
360
15.8k
    void* ptr = &::yb::tserver::_RemoveSessionResponsePB_default_instance_;
361
15.8k
    new (ptr) ::yb::tserver::RemoveSessionResponsePB();
362
15.8k
    ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
363
15.8k
  }
364
15.8k
  ::yb::tserver::RemoveSessionResponsePB::InitAsDefaultInstance();
365
15.8k
}
366
367
17.7k
void InitDefaultsRemoveSessionResponsePB() {
368
17.7k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
369
17.7k
  ::google::protobuf::GoogleOnceInit(&once, &InitDefaultsRemoveSessionResponsePBImpl);
370
17.7k
}
371
372
::google::protobuf::Metadata file_level_metadata[13];
373
const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2];
374
375
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
376
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoteBootstrapErrorPB, _has_bits_),
377
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoteBootstrapErrorPB, _internal_metadata_),
378
  ~0u,  // no _extensions_
379
  ~0u,  // no _oneof_case_
380
  ~0u,  // no _weak_field_map_
381
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoteBootstrapErrorPB, code_),
382
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoteBootstrapErrorPB, status_),
383
  1,
384
  0,
385
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionRequestPB, _has_bits_),
386
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionRequestPB, _internal_metadata_),
387
  ~0u,  // no _extensions_
388
  ~0u,  // no _oneof_case_
389
  ~0u,  // no _weak_field_map_
390
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionRequestPB, requestor_uuid_),
391
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionRequestPB, tablet_id_),
392
  0,
393
  1,
394
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, _has_bits_),
395
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, _internal_metadata_),
396
  ~0u,  // no _extensions_
397
  ~0u,  // no _oneof_case_
398
  ~0u,  // no _weak_field_map_
399
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, session_id_),
400
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, session_idle_timeout_millis_),
401
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, superblock_),
402
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, deprecated_wal_segment_seqnos_),
403
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, first_wal_segment_seqno_),
404
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::BeginRemoteBootstrapSessionResponsePB, initial_committed_cstate_),
405
  0,
406
  3,
407
  1,
408
  ~0u,
409
  4,
410
  2,
411
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB, _has_bits_),
412
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB, _internal_metadata_),
413
  ~0u,  // no _extensions_
414
  ~0u,  // no _oneof_case_
415
  ~0u,  // no _weak_field_map_
416
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB, session_id_),
417
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB, keepalive_),
418
  0,
419
  1,
420
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB, _has_bits_),
421
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB, _internal_metadata_),
422
  ~0u,  // no _extensions_
423
  ~0u,  // no _oneof_case_
424
  ~0u,  // no _weak_field_map_
425
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB, session_is_active_),
426
  0,
427
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataIdPB, _has_bits_),
428
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataIdPB, _internal_metadata_),
429
  ~0u,  // no _extensions_
430
  ~0u,  // no _oneof_case_
431
  ~0u,  // no _weak_field_map_
432
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataIdPB, type_),
433
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataIdPB, wal_segment_seqno_),
434
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataIdPB, file_name_),
435
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataIdPB, snapshot_id_),
436
  3,
437
  2,
438
  0,
439
  1,
440
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataRequestPB, _has_bits_),
441
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataRequestPB, _internal_metadata_),
442
  ~0u,  // no _extensions_
443
  ~0u,  // no _oneof_case_
444
  ~0u,  // no _weak_field_map_
445
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataRequestPB, session_id_),
446
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataRequestPB, data_id_),
447
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataRequestPB, offset_),
448
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataRequestPB, max_length_),
449
  0,
450
  1,
451
  2,
452
  3,
453
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataChunkPB, _has_bits_),
454
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataChunkPB, _internal_metadata_),
455
  ~0u,  // no _extensions_
456
  ~0u,  // no _oneof_case_
457
  ~0u,  // no _weak_field_map_
458
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataChunkPB, offset_),
459
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataChunkPB, data_),
460
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataChunkPB, crc32_),
461
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::DataChunkPB, total_data_length_),
462
  1,
463
  0,
464
  3,
465
  2,
466
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataResponsePB, _has_bits_),
467
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataResponsePB, _internal_metadata_),
468
  ~0u,  // no _extensions_
469
  ~0u,  // no _oneof_case_
470
  ~0u,  // no _weak_field_map_
471
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::FetchDataResponsePB, chunk_),
472
  0,
473
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionRequestPB, _has_bits_),
474
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionRequestPB, _internal_metadata_),
475
  ~0u,  // no _extensions_
476
  ~0u,  // no _oneof_case_
477
  ~0u,  // no _weak_field_map_
478
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionRequestPB, session_id_),
479
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionRequestPB, is_success_),
480
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionRequestPB, error_),
481
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionRequestPB, keep_session_),
482
  0,
483
  2,
484
  1,
485
  3,
486
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionResponsePB, _has_bits_),
487
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionResponsePB, _internal_metadata_),
488
  ~0u,  // no _extensions_
489
  ~0u,  // no _oneof_case_
490
  ~0u,  // no _weak_field_map_
491
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::EndRemoteBootstrapSessionResponsePB, session_kept_),
492
  0,
493
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoveSessionRequestPB, _has_bits_),
494
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoveSessionRequestPB, _internal_metadata_),
495
  ~0u,  // no _extensions_
496
  ~0u,  // no _oneof_case_
497
  ~0u,  // no _weak_field_map_
498
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoveSessionRequestPB, session_id_),
499
  0,
500
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoveSessionResponsePB, _has_bits_),
501
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::yb::tserver::RemoveSessionResponsePB, _internal_metadata_),
502
  ~0u,  // no _extensions_
503
  ~0u,  // no _oneof_case_
504
  ~0u,  // no _weak_field_map_
505
};
506
static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
507
  { 0, 7, sizeof(::yb::tserver::RemoteBootstrapErrorPB)},
508
  { 9, 16, sizeof(::yb::tserver::BeginRemoteBootstrapSessionRequestPB)},
509
  { 18, 29, sizeof(::yb::tserver::BeginRemoteBootstrapSessionResponsePB)},
510
  { 35, 42, sizeof(::yb::tserver::CheckRemoteBootstrapSessionActiveRequestPB)},
511
  { 44, 50, sizeof(::yb::tserver::CheckRemoteBootstrapSessionActiveResponsePB)},
512
  { 51, 60, sizeof(::yb::tserver::DataIdPB)},
513
  { 64, 73, sizeof(::yb::tserver::FetchDataRequestPB)},
514
  { 77, 86, sizeof(::yb::tserver::DataChunkPB)},
515
  { 90, 96, sizeof(::yb::tserver::FetchDataResponsePB)},
516
  { 97, 106, sizeof(::yb::tserver::EndRemoteBootstrapSessionRequestPB)},
517
  { 110, 116, sizeof(::yb::tserver::EndRemoteBootstrapSessionResponsePB)},
518
  { 117, 123, sizeof(::yb::tserver::RemoveSessionRequestPB)},
519
  { 124, 129, sizeof(::yb::tserver::RemoveSessionResponsePB)},
520
};
521
522
static ::google::protobuf::Message const * const file_default_instances[] = {
523
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_RemoteBootstrapErrorPB_default_instance_),
524
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_BeginRemoteBootstrapSessionRequestPB_default_instance_),
525
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_BeginRemoteBootstrapSessionResponsePB_default_instance_),
526
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_CheckRemoteBootstrapSessionActiveRequestPB_default_instance_),
527
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_CheckRemoteBootstrapSessionActiveResponsePB_default_instance_),
528
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_DataIdPB_default_instance_),
529
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_FetchDataRequestPB_default_instance_),
530
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_DataChunkPB_default_instance_),
531
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_FetchDataResponsePB_default_instance_),
532
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_EndRemoteBootstrapSessionRequestPB_default_instance_),
533
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_EndRemoteBootstrapSessionResponsePB_default_instance_),
534
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_RemoveSessionRequestPB_default_instance_),
535
  reinterpret_cast<const ::google::protobuf::Message*>(&::yb::tserver::_RemoveSessionResponsePB_default_instance_),
536
};
537
538
336
void protobuf_AssignDescriptors() {
539
336
  AddDescriptors();
540
336
  ::google::protobuf::MessageFactory* factory = NULL;
541
336
  AssignDescriptors(
542
336
      "yb/tserver/remote_bootstrap.proto", schemas, file_default_instances, TableStruct::offsets, factory,
543
336
      file_level_metadata, file_level_enum_descriptors, NULL);
544
336
}
545
546
18.3k
void protobuf_AssignDescriptorsOnce() {
547
18.3k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
548
18.3k
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
549
18.3k
}
550
551
void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
552
215
void protobuf_RegisterTypes(const ::std::string&) {
553
215
  protobuf_AssignDescriptorsOnce();
554
215
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 13);
555
215
}
556
557
15.8k
void AddDescriptorsImpl() {
558
15.8k
  InitDefaults();
559
15.8k
  static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
560
15.8k
      "\n!yb/tserver/remote_bootstrap.proto\022\nyb."
561
15.8k
      "tserver\032\035yb/common/wire_protocol.proto\032\033"
562
15.8k
      "yb/consensus/metadata.proto\032\027yb/rpc/rpc_"
563
15.8k
      "header.proto\032\030yb/tablet/metadata.proto\"\240"
564
15.8k
      "\003\n\026RemoteBootstrapErrorPB\022D\n\004code\030\001 \002(\0162"
565
15.8k
      "\'.yb.tserver.RemoteBootstrapErrorPB.Code"
566
15.8k
      ":\rUNKNOWN_ERROR\022\037\n\006status\030\002 \002(\0132\017.yb.App"
567
15.8k
      "StatusPB\"\277\001\n\004Code\022\021\n\rUNKNOWN_ERROR\020\001\022\016\n\n"
568
15.8k
      "NO_SESSION\020\002\022\024\n\020TABLET_NOT_FOUND\020\003\022\023\n\017BL"
569
15.8k
      "OCK_NOT_FOUND\020\004\022\031\n\025WAL_SEGMENT_NOT_FOUND"
570
15.8k
      "\020\005\022$\n INVALID_REMOTE_BOOTSTRAP_REQUEST\020\006"
571
15.8k
      "\022\014\n\010IO_ERROR\020\007\022\032\n\026ROCKSDB_FILE_NOT_FOUND"
572
15.8k
      "\020\0102]\n\032remote_bootstrap_error_ext\022\025.yb.rp"
573
15.8k
      "c.ErrorStatusPB\030f \001(\0132\".yb.tserver.Remot"
574
15.8k
      "eBootstrapErrorPB\"Q\n$BeginRemoteBootstra"
575
15.8k
      "pSessionRequestPB\022\026\n\016requestor_uuid\030\001 \002("
576
15.8k
      "\014\022\021\n\ttablet_id\030\002 \002(\014\"\247\002\n%BeginRemoteBoot"
577
15.8k
      "strapSessionResponsePB\022\022\n\nsession_id\030\001 \002"
578
15.8k
      "(\014\022#\n\033session_idle_timeout_millis\030\002 \002(\004\022"
579
15.8k
      ";\n\nsuperblock\030\003 \002(\0132\'.yb.tablet.RaftGrou"
580
15.8k
      "pReplicaSuperBlockPB\022%\n\035DEPRECATED_wal_s"
581
15.8k
      "egment_seqnos\030\004 \003(\004\022\037\n\027first_wal_segment"
582
15.8k
      "_seqno\030\006 \001(\004\022@\n\030initial_committed_cstate"
583
15.8k
      "\030\005 \002(\0132\036.yb.consensus.ConsensusStatePB\"Z"
584
15.8k
      "\n*CheckRemoteBootstrapSessionActiveReque"
585
15.8k
      "stPB\022\022\n\nsession_id\030\001 \002(\014\022\030\n\tkeepalive\030\002 "
586
15.8k
      "\001(\010:\005false\"H\n+CheckRemoteBootstrapSessio"
587
15.8k
      "nActiveResponsePB\022\031\n\021session_is_active\030\001"
588
15.8k
      " \002(\010\"\313\001\n\010DataIdPB\022)\n\004type\030\001 \002(\0162\033.yb.tse"
589
15.8k
      "rver.DataIdPB.IdType\022\031\n\021wal_segment_seqn"
590
15.8k
      "o\030\003 \001(\004\022\021\n\tfile_name\030\004 \001(\t\022\023\n\013snapshot_i"
591
15.8k
      "d\030\005 \001(\014\"K\n\006IdType\022\013\n\007UNKNOWN\020\000\022\017\n\013LOG_SE"
592
15.8k
      "GMENT\020\002\022\020\n\014ROCKSDB_FILE\020\003\022\021\n\rSNAPSHOT_FI"
593
15.8k
      "LE\020\004J\004\010\002\020\003\"y\n\022FetchDataRequestPB\022\022\n\nsess"
594
15.8k
      "ion_id\030\001 \002(\014\022%\n\007data_id\030\002 \002(\0132\024.yb.tserv"
595
15.8k
      "er.DataIdPB\022\021\n\006offset\030\003 \001(\004:\0010\022\025\n\nmax_le"
596
15.8k
      "ngth\030\004 \001(\003:\0010\"U\n\013DataChunkPB\022\016\n\006offset\030\001"
597
15.8k
      " \002(\004\022\014\n\004data\030\002 \002(\014\022\r\n\005crc32\030\003 \002(\007\022\031\n\021tot"
598
15.8k
      "al_data_length\030\004 \002(\003\"=\n\023FetchDataRespons"
599
15.8k
      "ePB\022&\n\005chunk\030\001 \002(\0132\027.yb.tserver.DataChun"
600
15.8k
      "kPB\"\211\001\n\"EndRemoteBootstrapSessionRequest"
601
15.8k
      "PB\022\022\n\nsession_id\030\001 \002(\014\022\022\n\nis_success\030\002 \002"
602
15.8k
      "(\010\022\036\n\005error\030\003 \001(\0132\017.yb.AppStatusPB\022\033\n\014ke"
603
15.8k
      "ep_session\030\004 \001(\010:\005false\"B\n#EndRemoteBoot"
604
15.8k
      "strapSessionResponsePB\022\033\n\014session_kept\030\001"
605
15.8k
      " \001(\010:\005false\",\n\026RemoveSessionRequestPB\022\022\n"
606
15.8k
      "\nsession_id\030\001 \001(\014\"\031\n\027RemoveSessionRespon"
607
15.8k
      "sePB2\313\004\n\026RemoteBootstrapService\022\202\001\n\033Begi"
608
15.8k
      "nRemoteBootstrapSession\0220.yb.tserver.Beg"
609
15.8k
      "inRemoteBootstrapSessionRequestPB\0321.yb.t"
610
15.8k
      "server.BeginRemoteBootstrapSessionRespon"
611
15.8k
      "sePB\022\205\001\n\022CheckSessionActive\0226.yb.tserver"
612
15.8k
      ".CheckRemoteBootstrapSessionActiveReques"
613
15.8k
      "tPB\0327.yb.tserver.CheckRemoteBootstrapSes"
614
15.8k
      "sionActiveResponsePB\022L\n\tFetchData\022\036.yb.t"
615
15.8k
      "server.FetchDataRequestPB\032\037.yb.tserver.F"
616
15.8k
      "etchDataResponsePB\022|\n\031EndRemoteBootstrap"
617
15.8k
      "Session\022..yb.tserver.EndRemoteBootstrapS"
618
15.8k
      "essionRequestPB\032/.yb.tserver.EndRemoteBo"
619
15.8k
      "otstrapSessionResponsePB\022X\n\rRemoveSessio"
620
15.8k
      "n\022\".yb.tserver.RemoveSessionRequestPB\032#."
621
15.8k
      "yb.tserver.RemoveSessionResponsePBB\020\n\016or"
622
15.8k
      "g.yb.tserver"
623
15.8k
  };
624
15.8k
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
625
15.8k
      descriptor, 2492);
626
15.8k
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
627
15.8k
    "yb/tserver/remote_bootstrap.proto", &protobuf_RegisterTypes);
628
15.8k
  ::protobuf_yb_2fcommon_2fwire_5fprotocol_2eproto::AddDescriptors();
629
15.8k
  ::protobuf_yb_2fconsensus_2fmetadata_2eproto::AddDescriptors();
630
15.8k
  ::protobuf_yb_2frpc_2frpc_5fheader_2eproto::AddDescriptors();
631
15.8k
  ::protobuf_yb_2ftablet_2fmetadata_2eproto::AddDescriptors();
632
15.8k
}
633
634
16.1k
void AddDescriptors() {
635
16.1k
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
636
16.1k
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
637
16.1k
}
638
// Force AddDescriptors() to be called at dynamic initialization time.
639
struct StaticDescriptorInitializer {
640
15.8k
  StaticDescriptorInitializer() {
641
15.8k
    AddDescriptors();
642
15.8k
  }
643
} static_descriptor_initializer;
644
}  // namespace protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto
645
namespace yb {
646
namespace tserver {
647
1.01k
const ::google::protobuf::EnumDescriptor* RemoteBootstrapErrorPB_Code_descriptor() {
648
1.01k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
649
1.01k
  return protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_enum_descriptors[0];
650
1.01k
}
651
3.06k
bool RemoteBootstrapErrorPB_Code_IsValid(int value) {
652
3.06k
  switch (value) {
653
0
    case 1:
654
12
    case 2:
655
48
    case 3:
656
48
    case 4:
657
3.04k
    case 5:
658
3.05k
    case 6:
659
3.05k
    case 7:
660
3.06k
    case 8:
661
3.06k
      return true;
662
0
    default:
663
0
      return false;
664
3.06k
  }
665
3.06k
}
666
667
#if !defined(_MSC_VER) || _MSC_VER >= 1900
668
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::UNKNOWN_ERROR;
669
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::NO_SESSION;
670
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::TABLET_NOT_FOUND;
671
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::BLOCK_NOT_FOUND;
672
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::WAL_SEGMENT_NOT_FOUND;
673
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::INVALID_REMOTE_BOOTSTRAP_REQUEST;
674
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::IO_ERROR;
675
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::ROCKSDB_FILE_NOT_FOUND;
676
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::Code_MIN;
677
const RemoteBootstrapErrorPB_Code RemoteBootstrapErrorPB::Code_MAX;
678
const int RemoteBootstrapErrorPB::Code_ARRAYSIZE;
679
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
680
5
const ::google::protobuf::EnumDescriptor* DataIdPB_IdType_descriptor() {
681
5
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
682
5
  return protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_enum_descriptors[1];
683
5
}
684
15.9k
bool DataIdPB_IdType_IsValid(int value) {
685
15.9k
  switch (value) {
686
0
    case 0:
687
6.86k
    case 2:
688
14.8k
    case 3:
689
15.9k
    case 4:
690
15.9k
      return true;
691
0
    default:
692
0
      return false;
693
15.9k
  }
694
15.9k
}
695
696
#if !defined(_MSC_VER) || _MSC_VER >= 1900
697
const DataIdPB_IdType DataIdPB::UNKNOWN;
698
const DataIdPB_IdType DataIdPB::LOG_SEGMENT;
699
const DataIdPB_IdType DataIdPB::ROCKSDB_FILE;
700
const DataIdPB_IdType DataIdPB::SNAPSHOT_FILE;
701
const DataIdPB_IdType DataIdPB::IdType_MIN;
702
const DataIdPB_IdType DataIdPB::IdType_MAX;
703
const int DataIdPB::IdType_ARRAYSIZE;
704
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
705
706
// ===================================================================
707
708
15.8k
void RemoteBootstrapErrorPB::InitAsDefaultInstance() {
709
15.8k
  ::yb::tserver::_RemoteBootstrapErrorPB_default_instance_._instance.get_mutable()->status_ = const_cast< ::yb::AppStatusPB*>(
710
15.8k
      ::yb::AppStatusPB::internal_default_instance());
711
15.8k
}
712
0
void RemoteBootstrapErrorPB::clear_status() {
713
0
  if (status_ != NULL) status_->Clear();
714
0
  clear_has_status();
715
0
}
716
#if !defined(_MSC_VER) || _MSC_VER >= 1900
717
const int RemoteBootstrapErrorPB::kCodeFieldNumber;
718
const int RemoteBootstrapErrorPB::kStatusFieldNumber;
719
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
720
721
RemoteBootstrapErrorPB::RemoteBootstrapErrorPB()
722
18.9k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
723
3.06k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
724
3.06k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsRemoteBootstrapErrorPB();
725
3.06k
  }
726
18.9k
  SharedCtor();
727
  // @@protoc_insertion_point(constructor:yb.tserver.RemoteBootstrapErrorPB)
728
18.9k
}
729
RemoteBootstrapErrorPB::RemoteBootstrapErrorPB(const RemoteBootstrapErrorPB& from)
730
  : ::google::protobuf::Message(),
731
      _internal_metadata_(NULL),
732
      _has_bits_(from._has_bits_),
733
0
      _cached_size_(0) {
734
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
735
0
  if (from.has_status()) {
736
0
    status_ = new ::yb::AppStatusPB(*from.status_);
737
0
  } else {
738
0
    status_ = NULL;
739
0
  }
740
0
  code_ = from.code_;
741
  // @@protoc_insertion_point(copy_constructor:yb.tserver.RemoteBootstrapErrorPB)
742
0
}
743
744
18.9k
void RemoteBootstrapErrorPB::SharedCtor() {
745
18.9k
  _cached_size_ = 0;
746
18.9k
  status_ = NULL;
747
18.9k
  code_ = 1;
748
18.9k
}
749
750
3.06k
RemoteBootstrapErrorPB::~RemoteBootstrapErrorPB() {
751
  // @@protoc_insertion_point(destructor:yb.tserver.RemoteBootstrapErrorPB)
752
3.06k
  SharedDtor();
753
3.06k
}
754
755
3.06k
void RemoteBootstrapErrorPB::SharedDtor() {
756
3.06k
  if (this != internal_default_instance()) delete status_;
757
3.06k
}
758
759
0
void RemoteBootstrapErrorPB::SetCachedSize(int size) const {
760
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
761
0
  _cached_size_ = size;
762
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
763
0
}
764
0
const ::google::protobuf::Descriptor* RemoteBootstrapErrorPB::descriptor() {
765
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
766
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
767
0
}
768
769
15.8k
const RemoteBootstrapErrorPB& RemoteBootstrapErrorPB::default_instance() {
770
15.8k
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsRemoteBootstrapErrorPB();
771
15.8k
  return *internal_default_instance();
772
15.8k
}
773
774
2.04k
RemoteBootstrapErrorPB* RemoteBootstrapErrorPB::New(::google::protobuf::Arena* arena) const {
775
2.04k
  RemoteBootstrapErrorPB* n = new RemoteBootstrapErrorPB;
776
2.04k
  if (arena != NULL) {
777
0
    arena->Own(n);
778
0
  }
779
2.04k
  return n;
780
2.04k
}
781
782
0
void RemoteBootstrapErrorPB::Clear() {
783
// @@protoc_insertion_point(message_clear_start:yb.tserver.RemoteBootstrapErrorPB)
784
0
  ::google::protobuf::uint32 cached_has_bits = 0;
785
  // Prevent compiler warnings about cached_has_bits being unused
786
0
  (void) cached_has_bits;
787
788
0
  cached_has_bits = _has_bits_[0];
789
0
  if (cached_has_bits & 3u) {
790
0
    if (cached_has_bits & 0x00000001u) {
791
0
      GOOGLE_DCHECK(status_ != NULL);
792
0
      status_->Clear();
793
0
    }
794
0
    code_ = 1;
795
0
  }
796
0
  _has_bits_.Clear();
797
0
  _internal_metadata_.Clear();
798
0
}
799
800
bool RemoteBootstrapErrorPB::MergePartialFromCodedStream(
801
1.02k
    ::google::protobuf::io::CodedInputStream* input) {
802
2.04k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
803
1.02k
  ::google::protobuf::uint32 tag;
804
  // @@protoc_insertion_point(parse_start:yb.tserver.RemoteBootstrapErrorPB)
805
3.06k
  for (;;) {
806
3.06k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
807
3.06k
    tag = p.first;
808
3.06k
    if (!p.second) goto handle_unusual;
809
2.04k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
810
      // required .yb.tserver.RemoteBootstrapErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
811
1.02k
      case 1: {
812
1.02k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
813
1.02k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
814
1.02k
          int value;
815
1.02k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
816
1.02k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
817
1.02k
                 input, &value)));
818
1.02k
          if (::yb::tserver::RemoteBootstrapErrorPB_Code_IsValid(value)) {
819
1.02k
            set_code(static_cast< ::yb::tserver::RemoteBootstrapErrorPB_Code >(value));
820
0
          } else {
821
0
            mutable_unknown_fields()->AddVarint(
822
0
                1, static_cast< ::google::protobuf::uint64>(value));
823
0
          }
824
0
        } else {
825
0
          goto handle_unusual;
826
0
        }
827
1.02k
        break;
828
1.02k
      }
829
830
      // required .yb.AppStatusPB status = 2;
831
1.02k
      case 2: {
832
1.02k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
833
1.02k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
834
1.02k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
835
1.02k
               input, mutable_status()));
836
0
        } else {
837
0
          goto handle_unusual;
838
0
        }
839
1.02k
        break;
840
1.02k
      }
841
842
0
      default: {
843
1.02k
      handle_unusual:
844
1.02k
        if (tag == 0) {
845
1.02k
          goto success;
846
1.02k
        }
847
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
848
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
849
0
        break;
850
0
      }
851
2.04k
    }
852
2.04k
  }
853
1.02k
success:
854
  // @@protoc_insertion_point(parse_success:yb.tserver.RemoteBootstrapErrorPB)
855
1.02k
  return true;
856
0
failure:
857
  // @@protoc_insertion_point(parse_failure:yb.tserver.RemoteBootstrapErrorPB)
858
0
  return false;
859
1.02k
#undef DO_
860
1.02k
}
861
862
void RemoteBootstrapErrorPB::SerializeWithCachedSizes(
863
0
    ::google::protobuf::io::CodedOutputStream* output) const {
864
  // @@protoc_insertion_point(serialize_start:yb.tserver.RemoteBootstrapErrorPB)
865
0
  ::google::protobuf::uint32 cached_has_bits = 0;
866
0
  (void) cached_has_bits;
867
868
0
  cached_has_bits = _has_bits_[0];
869
  // required .yb.tserver.RemoteBootstrapErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
870
0
  if (cached_has_bits & 0x00000002u) {
871
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
872
0
      1, this->code(), output);
873
0
  }
874
875
  // required .yb.AppStatusPB status = 2;
876
0
  if (cached_has_bits & 0x00000001u) {
877
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
878
0
      2, *this->status_, output);
879
0
  }
880
881
0
  if (_internal_metadata_.have_unknown_fields()) {
882
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
883
0
        _internal_metadata_.unknown_fields(), output);
884
0
  }
885
  // @@protoc_insertion_point(serialize_end:yb.tserver.RemoteBootstrapErrorPB)
886
0
}
887
888
::google::protobuf::uint8* RemoteBootstrapErrorPB::InternalSerializeWithCachedSizesToArray(
889
1.02k
    bool deterministic, ::google::protobuf::uint8* target) const {
890
1.02k
  (void)deterministic; // Unused
891
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.RemoteBootstrapErrorPB)
892
1.02k
  ::google::protobuf::uint32 cached_has_bits = 0;
893
1.02k
  (void) cached_has_bits;
894
895
1.02k
  cached_has_bits = _has_bits_[0];
896
  // required .yb.tserver.RemoteBootstrapErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
897
1.02k
  if (cached_has_bits & 0x00000002u) {
898
1.02k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
899
1.02k
      1, this->code(), target);
900
1.02k
  }
901
902
  // required .yb.AppStatusPB status = 2;
903
1.02k
  if (cached_has_bits & 0x00000001u) {
904
1.02k
    target = ::google::protobuf::internal::WireFormatLite::
905
1.02k
      InternalWriteMessageToArray(
906
1.02k
        2, *this->status_, deterministic, target);
907
1.02k
  }
908
909
1.02k
  if (_internal_metadata_.have_unknown_fields()) {
910
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
911
0
        _internal_metadata_.unknown_fields(), target);
912
0
  }
913
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.RemoteBootstrapErrorPB)
914
1.02k
  return target;
915
1.02k
}
916
917
0
size_t RemoteBootstrapErrorPB::RequiredFieldsByteSizeFallback() const {
918
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.RemoteBootstrapErrorPB)
919
0
  size_t total_size = 0;
920
921
0
  if (has_status()) {
922
    // required .yb.AppStatusPB status = 2;
923
0
    total_size += 1 +
924
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
925
0
        *this->status_);
926
0
  }
927
928
0
  if (has_code()) {
929
    // required .yb.tserver.RemoteBootstrapErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
930
0
    total_size += 1 +
931
0
      ::google::protobuf::internal::WireFormatLite::EnumSize(this->code());
932
0
  }
933
934
0
  return total_size;
935
0
}
936
2.04k
size_t RemoteBootstrapErrorPB::ByteSizeLong() const {
937
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.RemoteBootstrapErrorPB)
938
2.04k
  size_t total_size = 0;
939
940
2.04k
  if (_internal_metadata_.have_unknown_fields()) {
941
0
    total_size +=
942
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
943
0
        _internal_metadata_.unknown_fields());
944
0
  }
945
2.04k
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
946
    // required .yb.AppStatusPB status = 2;
947
2.04k
    total_size += 1 +
948
2.04k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
949
2.04k
        *this->status_);
950
951
    // required .yb.tserver.RemoteBootstrapErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
952
2.04k
    total_size += 1 +
953
2.04k
      ::google::protobuf::internal::WireFormatLite::EnumSize(this->code());
954
955
0
  } else {
956
0
    total_size += RequiredFieldsByteSizeFallback();
957
0
  }
958
2.04k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
959
2.04k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
960
2.04k
  _cached_size_ = cached_size;
961
2.04k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
962
2.04k
  return total_size;
963
2.04k
}
964
965
1.02k
void RemoteBootstrapErrorPB::MergeFrom(const ::google::protobuf::Message& from) {
966
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.RemoteBootstrapErrorPB)
967
1.02k
  GOOGLE_DCHECK_NE(&from, this);
968
1.02k
  const RemoteBootstrapErrorPB* source =
969
1.02k
      ::google::protobuf::internal::DynamicCastToGenerated<const RemoteBootstrapErrorPB>(
970
1.02k
          &from);
971
1.02k
  if (source == NULL) {
972
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.RemoteBootstrapErrorPB)
973
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
974
1.02k
  } else {
975
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.RemoteBootstrapErrorPB)
976
1.02k
    MergeFrom(*source);
977
1.02k
  }
978
1.02k
}
979
980
1.02k
void RemoteBootstrapErrorPB::MergeFrom(const RemoteBootstrapErrorPB& from) {
981
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.RemoteBootstrapErrorPB)
982
1.02k
  GOOGLE_DCHECK_NE(&from, this);
983
1.02k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
984
1.02k
  ::google::protobuf::uint32 cached_has_bits = 0;
985
1.02k
  (void) cached_has_bits;
986
987
1.02k
  cached_has_bits = from._has_bits_[0];
988
1.02k
  if (cached_has_bits & 3u) {
989
1.02k
    if (cached_has_bits & 0x00000001u) {
990
1.02k
      mutable_status()->::yb::AppStatusPB::MergeFrom(from.status());
991
1.02k
    }
992
1.02k
    if (cached_has_bits & 0x00000002u) {
993
1.02k
      code_ = from.code_;
994
1.02k
    }
995
1.02k
    _has_bits_[0] |= cached_has_bits;
996
1.02k
  }
997
1.02k
}
998
999
0
void RemoteBootstrapErrorPB::CopyFrom(const ::google::protobuf::Message& from) {
1000
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.RemoteBootstrapErrorPB)
1001
0
  if (&from == this) return;
1002
0
  Clear();
1003
0
  MergeFrom(from);
1004
0
}
1005
1006
0
void RemoteBootstrapErrorPB::CopyFrom(const RemoteBootstrapErrorPB& from) {
1007
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.RemoteBootstrapErrorPB)
1008
0
  if (&from == this) return;
1009
0
  Clear();
1010
0
  MergeFrom(from);
1011
0
}
1012
1013
2.04k
bool RemoteBootstrapErrorPB::IsInitialized() const {
1014
2.04k
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
1015
2.04k
  if (has_status()) {
1016
2.04k
    if (!this->status_->IsInitialized()) return false;
1017
2.04k
  }
1018
2.04k
  return true;
1019
2.04k
}
1020
1021
0
void RemoteBootstrapErrorPB::Swap(RemoteBootstrapErrorPB* other) {
1022
0
  if (other == this) return;
1023
0
  InternalSwap(other);
1024
0
}
1025
0
void RemoteBootstrapErrorPB::InternalSwap(RemoteBootstrapErrorPB* other) {
1026
0
  using std::swap;
1027
0
  swap(status_, other->status_);
1028
0
  swap(code_, other->code_);
1029
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1030
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1031
0
  swap(_cached_size_, other->_cached_size_);
1032
0
}
1033
1034
2.02k
::google::protobuf::Metadata RemoteBootstrapErrorPB::GetMetadata() const {
1035
2.02k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
1036
2.02k
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
1037
2.02k
}
1038
1039
1040
// ===================================================================
1041
1042
15.8k
void BeginRemoteBootstrapSessionRequestPB::InitAsDefaultInstance() {
1043
15.8k
}
1044
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1045
const int BeginRemoteBootstrapSessionRequestPB::kRequestorUuidFieldNumber;
1046
const int BeginRemoteBootstrapSessionRequestPB::kTabletIdFieldNumber;
1047
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1048
1049
BeginRemoteBootstrapSessionRequestPB::BeginRemoteBootstrapSessionRequestPB()
1050
18.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1051
2.91k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1052
2.91k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsBeginRemoteBootstrapSessionRequestPB();
1053
2.91k
  }
1054
18.7k
  SharedCtor();
1055
  // @@protoc_insertion_point(constructor:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1056
18.7k
}
1057
BeginRemoteBootstrapSessionRequestPB::BeginRemoteBootstrapSessionRequestPB(const BeginRemoteBootstrapSessionRequestPB& from)
1058
  : ::google::protobuf::Message(),
1059
      _internal_metadata_(NULL),
1060
      _has_bits_(from._has_bits_),
1061
0
      _cached_size_(0) {
1062
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1063
0
  requestor_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1064
0
  if (from.has_requestor_uuid()) {
1065
0
    requestor_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.requestor_uuid_);
1066
0
  }
1067
0
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1068
0
  if (from.has_tablet_id()) {
1069
0
    tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
1070
0
  }
1071
  // @@protoc_insertion_point(copy_constructor:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1072
0
}
1073
1074
18.7k
void BeginRemoteBootstrapSessionRequestPB::SharedCtor() {
1075
18.7k
  _cached_size_ = 0;
1076
18.7k
  requestor_uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1077
18.7k
  tablet_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1078
18.7k
}
1079
1080
2.90k
BeginRemoteBootstrapSessionRequestPB::~BeginRemoteBootstrapSessionRequestPB() {
1081
  // @@protoc_insertion_point(destructor:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1082
2.90k
  SharedDtor();
1083
2.90k
}
1084
1085
2.90k
void BeginRemoteBootstrapSessionRequestPB::SharedDtor() {
1086
2.90k
  requestor_uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1087
2.90k
  tablet_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1088
2.90k
}
1089
1090
0
void BeginRemoteBootstrapSessionRequestPB::SetCachedSize(int size) const {
1091
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1092
0
  _cached_size_ = size;
1093
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1094
0
}
1095
0
const ::google::protobuf::Descriptor* BeginRemoteBootstrapSessionRequestPB::descriptor() {
1096
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
1097
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1098
0
}
1099
1100
0
const BeginRemoteBootstrapSessionRequestPB& BeginRemoteBootstrapSessionRequestPB::default_instance() {
1101
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsBeginRemoteBootstrapSessionRequestPB();
1102
0
  return *internal_default_instance();
1103
0
}
1104
1105
0
BeginRemoteBootstrapSessionRequestPB* BeginRemoteBootstrapSessionRequestPB::New(::google::protobuf::Arena* arena) const {
1106
0
  BeginRemoteBootstrapSessionRequestPB* n = new BeginRemoteBootstrapSessionRequestPB;
1107
0
  if (arena != NULL) {
1108
0
    arena->Own(n);
1109
0
  }
1110
0
  return n;
1111
0
}
1112
1113
1.45k
void BeginRemoteBootstrapSessionRequestPB::Clear() {
1114
// @@protoc_insertion_point(message_clear_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1115
1.45k
  ::google::protobuf::uint32 cached_has_bits = 0;
1116
  // Prevent compiler warnings about cached_has_bits being unused
1117
1.45k
  (void) cached_has_bits;
1118
1119
1.45k
  cached_has_bits = _has_bits_[0];
1120
1.45k
  if (cached_has_bits & 3u) {
1121
0
    if (cached_has_bits & 0x00000001u) {
1122
0
      GOOGLE_DCHECK(!requestor_uuid_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1123
0
      (*requestor_uuid_.UnsafeRawStringPointer())->clear();
1124
0
    }
1125
0
    if (cached_has_bits & 0x00000002u) {
1126
0
      GOOGLE_DCHECK(!tablet_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1127
0
      (*tablet_id_.UnsafeRawStringPointer())->clear();
1128
0
    }
1129
0
  }
1130
1.45k
  _has_bits_.Clear();
1131
1.45k
  _internal_metadata_.Clear();
1132
1.45k
}
1133
1134
bool BeginRemoteBootstrapSessionRequestPB::MergePartialFromCodedStream(
1135
1.45k
    ::google::protobuf::io::CodedInputStream* input) {
1136
2.91k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1137
1.45k
  ::google::protobuf::uint32 tag;
1138
  // @@protoc_insertion_point(parse_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1139
4.36k
  for (;;) {
1140
4.36k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1141
4.36k
    tag = p.first;
1142
4.36k
    if (!p.second) goto handle_unusual;
1143
2.91k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1144
      // required bytes requestor_uuid = 1;
1145
1.45k
      case 1: {
1146
1.45k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1147
1.45k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1148
1.45k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1149
1.45k
                input, this->mutable_requestor_uuid()));
1150
0
        } else {
1151
0
          goto handle_unusual;
1152
0
        }
1153
1.45k
        break;
1154
1.45k
      }
1155
1156
      // required bytes tablet_id = 2;
1157
1.45k
      case 2: {
1158
1.45k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1159
1.45k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
1160
1.45k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1161
1.45k
                input, this->mutable_tablet_id()));
1162
0
        } else {
1163
0
          goto handle_unusual;
1164
0
        }
1165
1.45k
        break;
1166
1.45k
      }
1167
1168
0
      default: {
1169
1.45k
      handle_unusual:
1170
1.45k
        if (tag == 0) {
1171
1.45k
          goto success;
1172
1.45k
        }
1173
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1174
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1175
0
        break;
1176
0
      }
1177
2.91k
    }
1178
2.91k
  }
1179
1.45k
success:
1180
  // @@protoc_insertion_point(parse_success:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1181
1.45k
  return true;
1182
0
failure:
1183
  // @@protoc_insertion_point(parse_failure:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1184
0
  return false;
1185
1.45k
#undef DO_
1186
1.45k
}
1187
1188
void BeginRemoteBootstrapSessionRequestPB::SerializeWithCachedSizes(
1189
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1190
  // @@protoc_insertion_point(serialize_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1191
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1192
0
  (void) cached_has_bits;
1193
1194
0
  cached_has_bits = _has_bits_[0];
1195
  // required bytes requestor_uuid = 1;
1196
0
  if (cached_has_bits & 0x00000001u) {
1197
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1198
0
      1, this->requestor_uuid(), output);
1199
0
  }
1200
1201
  // required bytes tablet_id = 2;
1202
0
  if (cached_has_bits & 0x00000002u) {
1203
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1204
0
      2, this->tablet_id(), output);
1205
0
  }
1206
1207
0
  if (_internal_metadata_.have_unknown_fields()) {
1208
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1209
0
        _internal_metadata_.unknown_fields(), output);
1210
0
  }
1211
  // @@protoc_insertion_point(serialize_end:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1212
0
}
1213
1214
::google::protobuf::uint8* BeginRemoteBootstrapSessionRequestPB::InternalSerializeWithCachedSizesToArray(
1215
1.45k
    bool deterministic, ::google::protobuf::uint8* target) const {
1216
1.45k
  (void)deterministic; // Unused
1217
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1218
1.45k
  ::google::protobuf::uint32 cached_has_bits = 0;
1219
1.45k
  (void) cached_has_bits;
1220
1221
1.45k
  cached_has_bits = _has_bits_[0];
1222
  // required bytes requestor_uuid = 1;
1223
1.45k
  if (cached_has_bits & 0x00000001u) {
1224
1.45k
    target =
1225
1.45k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1226
1.45k
        1, this->requestor_uuid(), target);
1227
1.45k
  }
1228
1229
  // required bytes tablet_id = 2;
1230
1.45k
  if (cached_has_bits & 0x00000002u) {
1231
1.45k
    target =
1232
1.45k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1233
1.45k
        2, this->tablet_id(), target);
1234
1.45k
  }
1235
1236
1.45k
  if (_internal_metadata_.have_unknown_fields()) {
1237
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1238
0
        _internal_metadata_.unknown_fields(), target);
1239
0
  }
1240
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1241
1.45k
  return target;
1242
1.45k
}
1243
1244
0
size_t BeginRemoteBootstrapSessionRequestPB::RequiredFieldsByteSizeFallback() const {
1245
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1246
0
  size_t total_size = 0;
1247
1248
0
  if (has_requestor_uuid()) {
1249
    // required bytes requestor_uuid = 1;
1250
0
    total_size += 1 +
1251
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1252
0
        this->requestor_uuid());
1253
0
  }
1254
1255
0
  if (has_tablet_id()) {
1256
    // required bytes tablet_id = 2;
1257
0
    total_size += 1 +
1258
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1259
0
        this->tablet_id());
1260
0
  }
1261
1262
0
  return total_size;
1263
0
}
1264
2.91k
size_t BeginRemoteBootstrapSessionRequestPB::ByteSizeLong() const {
1265
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1266
2.91k
  size_t total_size = 0;
1267
1268
2.91k
  if (_internal_metadata_.have_unknown_fields()) {
1269
0
    total_size +=
1270
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1271
0
        _internal_metadata_.unknown_fields());
1272
0
  }
1273
2.91k
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
1274
    // required bytes requestor_uuid = 1;
1275
2.91k
    total_size += 1 +
1276
2.91k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1277
2.91k
        this->requestor_uuid());
1278
1279
    // required bytes tablet_id = 2;
1280
2.91k
    total_size += 1 +
1281
2.91k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1282
2.91k
        this->tablet_id());
1283
1284
0
  } else {
1285
0
    total_size += RequiredFieldsByteSizeFallback();
1286
0
  }
1287
2.91k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1288
2.91k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1289
2.91k
  _cached_size_ = cached_size;
1290
2.91k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1291
2.91k
  return total_size;
1292
2.91k
}
1293
1294
0
void BeginRemoteBootstrapSessionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
1295
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1296
0
  GOOGLE_DCHECK_NE(&from, this);
1297
0
  const BeginRemoteBootstrapSessionRequestPB* source =
1298
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BeginRemoteBootstrapSessionRequestPB>(
1299
0
          &from);
1300
0
  if (source == NULL) {
1301
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1302
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1303
0
  } else {
1304
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1305
0
    MergeFrom(*source);
1306
0
  }
1307
0
}
1308
1309
0
void BeginRemoteBootstrapSessionRequestPB::MergeFrom(const BeginRemoteBootstrapSessionRequestPB& from) {
1310
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1311
0
  GOOGLE_DCHECK_NE(&from, this);
1312
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1313
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1314
0
  (void) cached_has_bits;
1315
1316
0
  cached_has_bits = from._has_bits_[0];
1317
0
  if (cached_has_bits & 3u) {
1318
0
    if (cached_has_bits & 0x00000001u) {
1319
0
      set_has_requestor_uuid();
1320
0
      requestor_uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.requestor_uuid_);
1321
0
    }
1322
0
    if (cached_has_bits & 0x00000002u) {
1323
0
      set_has_tablet_id();
1324
0
      tablet_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tablet_id_);
1325
0
    }
1326
0
  }
1327
0
}
1328
1329
0
void BeginRemoteBootstrapSessionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
1330
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1331
0
  if (&from == this) return;
1332
0
  Clear();
1333
0
  MergeFrom(from);
1334
0
}
1335
1336
0
void BeginRemoteBootstrapSessionRequestPB::CopyFrom(const BeginRemoteBootstrapSessionRequestPB& from) {
1337
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.BeginRemoteBootstrapSessionRequestPB)
1338
0
  if (&from == this) return;
1339
0
  Clear();
1340
0
  MergeFrom(from);
1341
0
}
1342
1343
2.91k
bool BeginRemoteBootstrapSessionRequestPB::IsInitialized() const {
1344
2.91k
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
1345
2.91k
  return true;
1346
2.91k
}
1347
1348
0
void BeginRemoteBootstrapSessionRequestPB::Swap(BeginRemoteBootstrapSessionRequestPB* other) {
1349
0
  if (other == this) return;
1350
0
  InternalSwap(other);
1351
0
}
1352
0
void BeginRemoteBootstrapSessionRequestPB::InternalSwap(BeginRemoteBootstrapSessionRequestPB* other) {
1353
0
  using std::swap;
1354
0
  requestor_uuid_.Swap(&other->requestor_uuid_);
1355
0
  tablet_id_.Swap(&other->tablet_id_);
1356
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1357
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1358
0
  swap(_cached_size_, other->_cached_size_);
1359
0
}
1360
1361
1.45k
::google::protobuf::Metadata BeginRemoteBootstrapSessionRequestPB::GetMetadata() const {
1362
1.45k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
1363
1.45k
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
1364
1.45k
}
1365
1366
1367
// ===================================================================
1368
1369
15.8k
void BeginRemoteBootstrapSessionResponsePB::InitAsDefaultInstance() {
1370
15.8k
  ::yb::tserver::_BeginRemoteBootstrapSessionResponsePB_default_instance_._instance.get_mutable()->superblock_ = const_cast< ::yb::tablet::RaftGroupReplicaSuperBlockPB*>(
1371
15.8k
      ::yb::tablet::RaftGroupReplicaSuperBlockPB::internal_default_instance());
1372
15.8k
  ::yb::tserver::_BeginRemoteBootstrapSessionResponsePB_default_instance_._instance.get_mutable()->initial_committed_cstate_ = const_cast< ::yb::consensus::ConsensusStatePB*>(
1373
15.8k
      ::yb::consensus::ConsensusStatePB::internal_default_instance());
1374
15.8k
}
1375
0
void BeginRemoteBootstrapSessionResponsePB::clear_superblock() {
1376
0
  if (superblock_ != NULL) superblock_->Clear();
1377
0
  clear_has_superblock();
1378
0
}
1379
0
void BeginRemoteBootstrapSessionResponsePB::clear_initial_committed_cstate() {
1380
0
  if (initial_committed_cstate_ != NULL) initial_committed_cstate_->Clear();
1381
0
  clear_has_initial_committed_cstate();
1382
0
}
1383
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1384
const int BeginRemoteBootstrapSessionResponsePB::kSessionIdFieldNumber;
1385
const int BeginRemoteBootstrapSessionResponsePB::kSessionIdleTimeoutMillisFieldNumber;
1386
const int BeginRemoteBootstrapSessionResponsePB::kSuperblockFieldNumber;
1387
const int BeginRemoteBootstrapSessionResponsePB::kDEPRECATEDWalSegmentSeqnosFieldNumber;
1388
const int BeginRemoteBootstrapSessionResponsePB::kFirstWalSegmentSeqnoFieldNumber;
1389
const int BeginRemoteBootstrapSessionResponsePB::kInitialCommittedCstateFieldNumber;
1390
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1391
1392
BeginRemoteBootstrapSessionResponsePB::BeginRemoteBootstrapSessionResponsePB()
1393
18.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1394
2.91k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1395
2.91k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsBeginRemoteBootstrapSessionResponsePB();
1396
2.91k
  }
1397
18.7k
  SharedCtor();
1398
  // @@protoc_insertion_point(constructor:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1399
18.7k
}
1400
BeginRemoteBootstrapSessionResponsePB::BeginRemoteBootstrapSessionResponsePB(const BeginRemoteBootstrapSessionResponsePB& from)
1401
  : ::google::protobuf::Message(),
1402
      _internal_metadata_(NULL),
1403
      _has_bits_(from._has_bits_),
1404
      _cached_size_(0),
1405
0
      deprecated_wal_segment_seqnos_(from.deprecated_wal_segment_seqnos_) {
1406
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1407
0
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1408
0
  if (from.has_session_id()) {
1409
0
    session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
1410
0
  }
1411
0
  if (from.has_superblock()) {
1412
0
    superblock_ = new ::yb::tablet::RaftGroupReplicaSuperBlockPB(*from.superblock_);
1413
0
  } else {
1414
0
    superblock_ = NULL;
1415
0
  }
1416
0
  if (from.has_initial_committed_cstate()) {
1417
0
    initial_committed_cstate_ = new ::yb::consensus::ConsensusStatePB(*from.initial_committed_cstate_);
1418
0
  } else {
1419
0
    initial_committed_cstate_ = NULL;
1420
0
  }
1421
0
  ::memcpy(&session_idle_timeout_millis_, &from.session_idle_timeout_millis_,
1422
0
    static_cast<size_t>(reinterpret_cast<char*>(&first_wal_segment_seqno_) -
1423
0
    reinterpret_cast<char*>(&session_idle_timeout_millis_)) + sizeof(first_wal_segment_seqno_));
1424
  // @@protoc_insertion_point(copy_constructor:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1425
0
}
1426
1427
18.7k
void BeginRemoteBootstrapSessionResponsePB::SharedCtor() {
1428
18.7k
  _cached_size_ = 0;
1429
18.7k
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1430
18.7k
  ::memset(&superblock_, 0, static_cast<size_t>(
1431
18.7k
      reinterpret_cast<char*>(&first_wal_segment_seqno_) -
1432
18.7k
      reinterpret_cast<char*>(&superblock_)) + sizeof(first_wal_segment_seqno_));
1433
18.7k
}
1434
1435
2.90k
BeginRemoteBootstrapSessionResponsePB::~BeginRemoteBootstrapSessionResponsePB() {
1436
  // @@protoc_insertion_point(destructor:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1437
2.90k
  SharedDtor();
1438
2.90k
}
1439
1440
2.90k
void BeginRemoteBootstrapSessionResponsePB::SharedDtor() {
1441
2.90k
  session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1442
2.90k
  if (this != internal_default_instance()) delete superblock_;
1443
2.90k
  if (this != internal_default_instance()) delete initial_committed_cstate_;
1444
2.90k
}
1445
1446
0
void BeginRemoteBootstrapSessionResponsePB::SetCachedSize(int size) const {
1447
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1448
0
  _cached_size_ = size;
1449
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1450
0
}
1451
0
const ::google::protobuf::Descriptor* BeginRemoteBootstrapSessionResponsePB::descriptor() {
1452
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
1453
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1454
0
}
1455
1456
0
const BeginRemoteBootstrapSessionResponsePB& BeginRemoteBootstrapSessionResponsePB::default_instance() {
1457
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsBeginRemoteBootstrapSessionResponsePB();
1458
0
  return *internal_default_instance();
1459
0
}
1460
1461
0
BeginRemoteBootstrapSessionResponsePB* BeginRemoteBootstrapSessionResponsePB::New(::google::protobuf::Arena* arena) const {
1462
0
  BeginRemoteBootstrapSessionResponsePB* n = new BeginRemoteBootstrapSessionResponsePB;
1463
0
  if (arena != NULL) {
1464
0
    arena->Own(n);
1465
0
  }
1466
0
  return n;
1467
0
}
1468
1469
1.44k
void BeginRemoteBootstrapSessionResponsePB::Clear() {
1470
// @@protoc_insertion_point(message_clear_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1471
1.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
1472
  // Prevent compiler warnings about cached_has_bits being unused
1473
1.44k
  (void) cached_has_bits;
1474
1475
1.44k
  deprecated_wal_segment_seqnos_.Clear();
1476
1.44k
  cached_has_bits = _has_bits_[0];
1477
1.44k
  if (cached_has_bits & 7u) {
1478
0
    if (cached_has_bits & 0x00000001u) {
1479
0
      GOOGLE_DCHECK(!session_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1480
0
      (*session_id_.UnsafeRawStringPointer())->clear();
1481
0
    }
1482
0
    if (cached_has_bits & 0x00000002u) {
1483
0
      GOOGLE_DCHECK(superblock_ != NULL);
1484
0
      superblock_->Clear();
1485
0
    }
1486
0
    if (cached_has_bits & 0x00000004u) {
1487
0
      GOOGLE_DCHECK(initial_committed_cstate_ != NULL);
1488
0
      initial_committed_cstate_->Clear();
1489
0
    }
1490
0
  }
1491
1.44k
  if (cached_has_bits & 24u) {
1492
0
    ::memset(&session_idle_timeout_millis_, 0, static_cast<size_t>(
1493
0
        reinterpret_cast<char*>(&first_wal_segment_seqno_) -
1494
0
        reinterpret_cast<char*>(&session_idle_timeout_millis_)) + sizeof(first_wal_segment_seqno_));
1495
0
  }
1496
1.44k
  _has_bits_.Clear();
1497
1.44k
  _internal_metadata_.Clear();
1498
1.44k
}
1499
1500
bool BeginRemoteBootstrapSessionResponsePB::MergePartialFromCodedStream(
1501
1.44k
    ::google::protobuf::io::CodedInputStream* input) {
1502
8.63k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1503
1.44k
  ::google::protobuf::uint32 tag;
1504
  // @@protoc_insertion_point(parse_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1505
10.0k
  for (;;) {
1506
10.0k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1507
10.0k
    tag = p.first;
1508
10.0k
    if (!p.second) goto handle_unusual;
1509
8.64k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1510
      // required bytes session_id = 1;
1511
1.43k
      case 1: {
1512
1.43k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1513
1.43k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1514
1.43k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1515
1.43k
                input, this->mutable_session_id()));
1516
0
        } else {
1517
0
          goto handle_unusual;
1518
0
        }
1519
1.43k
        break;
1520
1.43k
      }
1521
1522
      // required uint64 session_idle_timeout_millis = 2;
1523
1.44k
      case 2: {
1524
1.44k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1525
1.44k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
1526
1.44k
          set_has_session_idle_timeout_millis();
1527
1.44k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1528
1.44k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
1529
1.44k
                 input, &session_idle_timeout_millis_)));
1530
0
        } else {
1531
0
          goto handle_unusual;
1532
0
        }
1533
1.44k
        break;
1534
1.44k
      }
1535
1536
      // required .yb.tablet.RaftGroupReplicaSuperBlockPB superblock = 3;
1537
1.44k
      case 3: {
1538
1.44k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1539
1.44k
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
1540
1.44k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1541
1.44k
               input, mutable_superblock()));
1542
0
        } else {
1543
0
          goto handle_unusual;
1544
0
        }
1545
1.44k
        break;
1546
1.44k
      }
1547
1548
      // repeated uint64 DEPRECATED_wal_segment_seqnos = 4;
1549
1.43k
      case 4: {
1550
1.43k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1551
1.43k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
1552
1.43k
          DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive<
1553
1.43k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
1554
1.43k
                 1, 32u, input, this->mutable_deprecated_wal_segment_seqnos())));
1555
0
        } else if (
1556
0
            static_cast< ::google::protobuf::uint8>(tag) ==
1557
0
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
1558
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline<
1559
0
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
1560
0
                 input, this->mutable_deprecated_wal_segment_seqnos())));
1561
0
        } else {
1562
0
          goto handle_unusual;
1563
0
        }
1564
1.43k
        break;
1565
1.43k
      }
1566
1567
      // required .yb.consensus.ConsensusStatePB initial_committed_cstate = 5;
1568
1.43k
      case 5: {
1569
1.43k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1570
1.43k
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
1571
1.43k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
1572
1.43k
               input, mutable_initial_committed_cstate()));
1573
0
        } else {
1574
0
          goto handle_unusual;
1575
0
        }
1576
1.43k
        break;
1577
1.43k
      }
1578
1579
      // optional uint64 first_wal_segment_seqno = 6;
1580
1.44k
      case 6: {
1581
1.44k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1582
1.44k
            static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) {
1583
1.44k
          set_has_first_wal_segment_seqno();
1584
1.44k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1585
1.44k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
1586
1.44k
                 input, &first_wal_segment_seqno_)));
1587
0
        } else {
1588
0
          goto handle_unusual;
1589
0
        }
1590
1.44k
        break;
1591
1.44k
      }
1592
1593
0
      default: {
1594
1.44k
      handle_unusual:
1595
1.44k
        if (tag == 0) {
1596
1.44k
          goto success;
1597
1.44k
        }
1598
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
1599
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
1600
0
        break;
1601
0
      }
1602
8.64k
    }
1603
8.64k
  }
1604
1.44k
success:
1605
  // @@protoc_insertion_point(parse_success:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1606
1.44k
  return true;
1607
0
failure:
1608
  // @@protoc_insertion_point(parse_failure:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1609
0
  return false;
1610
1.44k
#undef DO_
1611
1.44k
}
1612
1613
void BeginRemoteBootstrapSessionResponsePB::SerializeWithCachedSizes(
1614
0
    ::google::protobuf::io::CodedOutputStream* output) const {
1615
  // @@protoc_insertion_point(serialize_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1616
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1617
0
  (void) cached_has_bits;
1618
1619
0
  cached_has_bits = _has_bits_[0];
1620
  // required bytes session_id = 1;
1621
0
  if (cached_has_bits & 0x00000001u) {
1622
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
1623
0
      1, this->session_id(), output);
1624
0
  }
1625
1626
  // required uint64 session_idle_timeout_millis = 2;
1627
0
  if (cached_has_bits & 0x00000008u) {
1628
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->session_idle_timeout_millis(), output);
1629
0
  }
1630
1631
  // required .yb.tablet.RaftGroupReplicaSuperBlockPB superblock = 3;
1632
0
  if (cached_has_bits & 0x00000002u) {
1633
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1634
0
      3, *this->superblock_, output);
1635
0
  }
1636
1637
  // repeated uint64 DEPRECATED_wal_segment_seqnos = 4;
1638
0
  for (int i = 0, n = this->deprecated_wal_segment_seqnos_size(); i < n; i++) {
1639
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(
1640
0
      4, this->deprecated_wal_segment_seqnos(i), output);
1641
0
  }
1642
1643
  // required .yb.consensus.ConsensusStatePB initial_committed_cstate = 5;
1644
0
  if (cached_has_bits & 0x00000004u) {
1645
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
1646
0
      5, *this->initial_committed_cstate_, output);
1647
0
  }
1648
1649
  // optional uint64 first_wal_segment_seqno = 6;
1650
0
  if (cached_has_bits & 0x00000010u) {
1651
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->first_wal_segment_seqno(), output);
1652
0
  }
1653
1654
0
  if (_internal_metadata_.have_unknown_fields()) {
1655
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
1656
0
        _internal_metadata_.unknown_fields(), output);
1657
0
  }
1658
  // @@protoc_insertion_point(serialize_end:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1659
0
}
1660
1661
::google::protobuf::uint8* BeginRemoteBootstrapSessionResponsePB::InternalSerializeWithCachedSizesToArray(
1662
1.44k
    bool deterministic, ::google::protobuf::uint8* target) const {
1663
1.44k
  (void)deterministic; // Unused
1664
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1665
1.44k
  ::google::protobuf::uint32 cached_has_bits = 0;
1666
1.44k
  (void) cached_has_bits;
1667
1668
1.44k
  cached_has_bits = _has_bits_[0];
1669
  // required bytes session_id = 1;
1670
1.44k
  if (cached_has_bits & 0x00000001u) {
1671
1.43k
    target =
1672
1.43k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1673
1.43k
        1, this->session_id(), target);
1674
1.43k
  }
1675
1676
  // required uint64 session_idle_timeout_millis = 2;
1677
1.44k
  if (cached_has_bits & 0x00000008u) {
1678
1.43k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->session_idle_timeout_millis(), target);
1679
1.43k
  }
1680
1681
  // required .yb.tablet.RaftGroupReplicaSuperBlockPB superblock = 3;
1682
1.44k
  if (cached_has_bits & 0x00000002u) {
1683
1.43k
    target = ::google::protobuf::internal::WireFormatLite::
1684
1.43k
      InternalWriteMessageToArray(
1685
1.43k
        3, *this->superblock_, deterministic, target);
1686
1.43k
  }
1687
1688
  // repeated uint64 DEPRECATED_wal_segment_seqnos = 4;
1689
1.44k
  target = ::google::protobuf::internal::WireFormatLite::
1690
1.44k
    WriteUInt64ToArray(4, this->deprecated_wal_segment_seqnos_, target);
1691
1692
  // required .yb.consensus.ConsensusStatePB initial_committed_cstate = 5;
1693
1.44k
  if (cached_has_bits & 0x00000004u) {
1694
1.44k
    target = ::google::protobuf::internal::WireFormatLite::
1695
1.44k
      InternalWriteMessageToArray(
1696
1.44k
        5, *this->initial_committed_cstate_, deterministic, target);
1697
1.44k
  }
1698
1699
  // optional uint64 first_wal_segment_seqno = 6;
1700
1.44k
  if (cached_has_bits & 0x00000010u) {
1701
1.44k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->first_wal_segment_seqno(), target);
1702
1.44k
  }
1703
1704
1.44k
  if (_internal_metadata_.have_unknown_fields()) {
1705
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1706
0
        _internal_metadata_.unknown_fields(), target);
1707
0
  }
1708
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1709
1.44k
  return target;
1710
1.44k
}
1711
1712
0
size_t BeginRemoteBootstrapSessionResponsePB::RequiredFieldsByteSizeFallback() const {
1713
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1714
0
  size_t total_size = 0;
1715
1716
0
  if (has_session_id()) {
1717
    // required bytes session_id = 1;
1718
0
    total_size += 1 +
1719
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1720
0
        this->session_id());
1721
0
  }
1722
1723
0
  if (has_superblock()) {
1724
    // required .yb.tablet.RaftGroupReplicaSuperBlockPB superblock = 3;
1725
0
    total_size += 1 +
1726
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
1727
0
        *this->superblock_);
1728
0
  }
1729
1730
0
  if (has_initial_committed_cstate()) {
1731
    // required .yb.consensus.ConsensusStatePB initial_committed_cstate = 5;
1732
0
    total_size += 1 +
1733
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
1734
0
        *this->initial_committed_cstate_);
1735
0
  }
1736
1737
0
  if (has_session_idle_timeout_millis()) {
1738
    // required uint64 session_idle_timeout_millis = 2;
1739
0
    total_size += 1 +
1740
0
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
1741
0
        this->session_idle_timeout_millis());
1742
0
  }
1743
1744
0
  return total_size;
1745
0
}
1746
2.88k
size_t BeginRemoteBootstrapSessionResponsePB::ByteSizeLong() const {
1747
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1748
2.88k
  size_t total_size = 0;
1749
1750
2.88k
  if (_internal_metadata_.have_unknown_fields()) {
1751
0
    total_size +=
1752
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1753
0
        _internal_metadata_.unknown_fields());
1754
0
  }
1755
2.88k
  if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) {  // All required fields are present.
1756
    // required bytes session_id = 1;
1757
2.87k
    total_size += 1 +
1758
2.87k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
1759
2.87k
        this->session_id());
1760
1761
    // required .yb.tablet.RaftGroupReplicaSuperBlockPB superblock = 3;
1762
2.87k
    total_size += 1 +
1763
2.87k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
1764
2.87k
        *this->superblock_);
1765
1766
    // required .yb.consensus.ConsensusStatePB initial_committed_cstate = 5;
1767
2.87k
    total_size += 1 +
1768
2.87k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
1769
2.87k
        *this->initial_committed_cstate_);
1770
1771
    // required uint64 session_idle_timeout_millis = 2;
1772
2.87k
    total_size += 1 +
1773
2.87k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
1774
2.87k
        this->session_idle_timeout_millis());
1775
1776
3
  } else {
1777
3
    total_size += RequiredFieldsByteSizeFallback();
1778
3
  }
1779
  // repeated uint64 DEPRECATED_wal_segment_seqnos = 4;
1780
2.88k
  {
1781
2.88k
    size_t data_size = ::google::protobuf::internal::WireFormatLite::
1782
2.88k
      UInt64Size(this->deprecated_wal_segment_seqnos_);
1783
2.88k
    total_size += 1 *
1784
2.88k
                  ::google::protobuf::internal::FromIntSize(this->deprecated_wal_segment_seqnos_size());
1785
2.88k
    total_size += data_size;
1786
2.88k
  }
1787
1788
  // optional uint64 first_wal_segment_seqno = 6;
1789
2.88k
  if (has_first_wal_segment_seqno()) {
1790
2.87k
    total_size += 1 +
1791
2.87k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
1792
2.87k
        this->first_wal_segment_seqno());
1793
2.87k
  }
1794
1795
2.88k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1796
2.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1797
2.88k
  _cached_size_ = cached_size;
1798
2.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1799
2.88k
  return total_size;
1800
2.88k
}
1801
1802
0
void BeginRemoteBootstrapSessionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
1803
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1804
0
  GOOGLE_DCHECK_NE(&from, this);
1805
0
  const BeginRemoteBootstrapSessionResponsePB* source =
1806
0
      ::google::protobuf::internal::DynamicCastToGenerated<const BeginRemoteBootstrapSessionResponsePB>(
1807
0
          &from);
1808
0
  if (source == NULL) {
1809
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1810
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
1811
0
  } else {
1812
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1813
0
    MergeFrom(*source);
1814
0
  }
1815
0
}
1816
1817
0
void BeginRemoteBootstrapSessionResponsePB::MergeFrom(const BeginRemoteBootstrapSessionResponsePB& from) {
1818
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1819
0
  GOOGLE_DCHECK_NE(&from, this);
1820
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1821
0
  ::google::protobuf::uint32 cached_has_bits = 0;
1822
0
  (void) cached_has_bits;
1823
1824
0
  deprecated_wal_segment_seqnos_.MergeFrom(from.deprecated_wal_segment_seqnos_);
1825
0
  cached_has_bits = from._has_bits_[0];
1826
0
  if (cached_has_bits & 31u) {
1827
0
    if (cached_has_bits & 0x00000001u) {
1828
0
      set_has_session_id();
1829
0
      session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
1830
0
    }
1831
0
    if (cached_has_bits & 0x00000002u) {
1832
0
      mutable_superblock()->::yb::tablet::RaftGroupReplicaSuperBlockPB::MergeFrom(from.superblock());
1833
0
    }
1834
0
    if (cached_has_bits & 0x00000004u) {
1835
0
      mutable_initial_committed_cstate()->::yb::consensus::ConsensusStatePB::MergeFrom(from.initial_committed_cstate());
1836
0
    }
1837
0
    if (cached_has_bits & 0x00000008u) {
1838
0
      session_idle_timeout_millis_ = from.session_idle_timeout_millis_;
1839
0
    }
1840
0
    if (cached_has_bits & 0x00000010u) {
1841
0
      first_wal_segment_seqno_ = from.first_wal_segment_seqno_;
1842
0
    }
1843
0
    _has_bits_[0] |= cached_has_bits;
1844
0
  }
1845
0
}
1846
1847
0
void BeginRemoteBootstrapSessionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
1848
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1849
0
  if (&from == this) return;
1850
0
  Clear();
1851
0
  MergeFrom(from);
1852
0
}
1853
1854
0
void BeginRemoteBootstrapSessionResponsePB::CopyFrom(const BeginRemoteBootstrapSessionResponsePB& from) {
1855
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.BeginRemoteBootstrapSessionResponsePB)
1856
0
  if (&from == this) return;
1857
0
  Clear();
1858
0
  MergeFrom(from);
1859
0
}
1860
1861
2.88k
bool BeginRemoteBootstrapSessionResponsePB::IsInitialized() const {
1862
2.88k
  if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
1863
2.88k
  if (has_superblock()) {
1864
2.87k
    if (!this->superblock_->IsInitialized()) return false;
1865
2.88k
  }
1866
2.88k
  if (has_initial_committed_cstate()) {
1867
2.88k
    if (!this->initial_committed_cstate_->IsInitialized()) return false;
1868
2.88k
  }
1869
2.88k
  return true;
1870
2.88k
}
1871
1872
0
void BeginRemoteBootstrapSessionResponsePB::Swap(BeginRemoteBootstrapSessionResponsePB* other) {
1873
0
  if (other == this) return;
1874
0
  InternalSwap(other);
1875
0
}
1876
0
void BeginRemoteBootstrapSessionResponsePB::InternalSwap(BeginRemoteBootstrapSessionResponsePB* other) {
1877
0
  using std::swap;
1878
0
  deprecated_wal_segment_seqnos_.InternalSwap(&other->deprecated_wal_segment_seqnos_);
1879
0
  session_id_.Swap(&other->session_id_);
1880
0
  swap(superblock_, other->superblock_);
1881
0
  swap(initial_committed_cstate_, other->initial_committed_cstate_);
1882
0
  swap(session_idle_timeout_millis_, other->session_idle_timeout_millis_);
1883
0
  swap(first_wal_segment_seqno_, other->first_wal_segment_seqno_);
1884
0
  swap(_has_bits_[0], other->_has_bits_[0]);
1885
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
1886
0
  swap(_cached_size_, other->_cached_size_);
1887
0
}
1888
1889
0
::google::protobuf::Metadata BeginRemoteBootstrapSessionResponsePB::GetMetadata() const {
1890
0
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
1891
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
1892
0
}
1893
1894
1895
// ===================================================================
1896
1897
15.8k
void CheckRemoteBootstrapSessionActiveRequestPB::InitAsDefaultInstance() {
1898
15.8k
}
1899
#if !defined(_MSC_VER) || _MSC_VER >= 1900
1900
const int CheckRemoteBootstrapSessionActiveRequestPB::kSessionIdFieldNumber;
1901
const int CheckRemoteBootstrapSessionActiveRequestPB::kKeepaliveFieldNumber;
1902
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
1903
1904
CheckRemoteBootstrapSessionActiveRequestPB::CheckRemoteBootstrapSessionActiveRequestPB()
1905
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
1906
4
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
1907
4
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsCheckRemoteBootstrapSessionActiveRequestPB();
1908
4
  }
1909
15.8k
  SharedCtor();
1910
  // @@protoc_insertion_point(constructor:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
1911
15.8k
}
1912
CheckRemoteBootstrapSessionActiveRequestPB::CheckRemoteBootstrapSessionActiveRequestPB(const CheckRemoteBootstrapSessionActiveRequestPB& from)
1913
  : ::google::protobuf::Message(),
1914
      _internal_metadata_(NULL),
1915
      _has_bits_(from._has_bits_),
1916
0
      _cached_size_(0) {
1917
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
1918
0
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1919
0
  if (from.has_session_id()) {
1920
0
    session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
1921
0
  }
1922
0
  keepalive_ = from.keepalive_;
1923
  // @@protoc_insertion_point(copy_constructor:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
1924
0
}
1925
1926
15.8k
void CheckRemoteBootstrapSessionActiveRequestPB::SharedCtor() {
1927
15.8k
  _cached_size_ = 0;
1928
15.8k
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1929
15.8k
  keepalive_ = false;
1930
15.8k
}
1931
1932
4
CheckRemoteBootstrapSessionActiveRequestPB::~CheckRemoteBootstrapSessionActiveRequestPB() {
1933
  // @@protoc_insertion_point(destructor:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
1934
4
  SharedDtor();
1935
4
}
1936
1937
4
void CheckRemoteBootstrapSessionActiveRequestPB::SharedDtor() {
1938
4
  session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1939
4
}
1940
1941
0
void CheckRemoteBootstrapSessionActiveRequestPB::SetCachedSize(int size) const {
1942
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1943
0
  _cached_size_ = size;
1944
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
1945
0
}
1946
0
const ::google::protobuf::Descriptor* CheckRemoteBootstrapSessionActiveRequestPB::descriptor() {
1947
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
1948
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
1949
0
}
1950
1951
0
const CheckRemoteBootstrapSessionActiveRequestPB& CheckRemoteBootstrapSessionActiveRequestPB::default_instance() {
1952
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsCheckRemoteBootstrapSessionActiveRequestPB();
1953
0
  return *internal_default_instance();
1954
0
}
1955
1956
0
CheckRemoteBootstrapSessionActiveRequestPB* CheckRemoteBootstrapSessionActiveRequestPB::New(::google::protobuf::Arena* arena) const {
1957
0
  CheckRemoteBootstrapSessionActiveRequestPB* n = new CheckRemoteBootstrapSessionActiveRequestPB;
1958
0
  if (arena != NULL) {
1959
0
    arena->Own(n);
1960
0
  }
1961
0
  return n;
1962
0
}
1963
1964
2
void CheckRemoteBootstrapSessionActiveRequestPB::Clear() {
1965
// @@protoc_insertion_point(message_clear_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
1966
2
  ::google::protobuf::uint32 cached_has_bits = 0;
1967
  // Prevent compiler warnings about cached_has_bits being unused
1968
2
  (void) cached_has_bits;
1969
1970
2
  cached_has_bits = _has_bits_[0];
1971
2
  if (cached_has_bits & 0x00000001u) {
1972
0
    GOOGLE_DCHECK(!session_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
1973
0
    (*session_id_.UnsafeRawStringPointer())->clear();
1974
0
  }
1975
2
  keepalive_ = false;
1976
2
  _has_bits_.Clear();
1977
2
  _internal_metadata_.Clear();
1978
2
}
1979
1980
bool CheckRemoteBootstrapSessionActiveRequestPB::MergePartialFromCodedStream(
1981
2
    ::google::protobuf::io::CodedInputStream* input) {
1982
2
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
1983
2
  ::google::protobuf::uint32 tag;
1984
  // @@protoc_insertion_point(parse_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
1985
4
  for (;;) {
1986
4
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
1987
4
    tag = p.first;
1988
4
    if (!p.second) goto handle_unusual;
1989
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1990
      // required bytes session_id = 1;
1991
2
      case 1: {
1992
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
1993
2
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
1994
2
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
1995
2
                input, this->mutable_session_id()));
1996
0
        } else {
1997
0
          goto handle_unusual;
1998
0
        }
1999
2
        break;
2000
2
      }
2001
2002
      // optional bool keepalive = 2 [default = false];
2003
0
      case 2: {
2004
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2005
0
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
2006
0
          set_has_keepalive();
2007
0
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2008
0
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
2009
0
                 input, &keepalive_)));
2010
0
        } else {
2011
0
          goto handle_unusual;
2012
0
        }
2013
0
        break;
2014
2
      }
2015
2016
0
      default: {
2017
2
      handle_unusual:
2018
2
        if (tag == 0) {
2019
2
          goto success;
2020
2
        }
2021
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2022
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2023
0
        break;
2024
0
      }
2025
2
    }
2026
2
  }
2027
2
success:
2028
  // @@protoc_insertion_point(parse_success:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2029
2
  return true;
2030
0
failure:
2031
  // @@protoc_insertion_point(parse_failure:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2032
0
  return false;
2033
2
#undef DO_
2034
2
}
2035
2036
void CheckRemoteBootstrapSessionActiveRequestPB::SerializeWithCachedSizes(
2037
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2038
  // @@protoc_insertion_point(serialize_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2039
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2040
0
  (void) cached_has_bits;
2041
2042
0
  cached_has_bits = _has_bits_[0];
2043
  // required bytes session_id = 1;
2044
0
  if (cached_has_bits & 0x00000001u) {
2045
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2046
0
      1, this->session_id(), output);
2047
0
  }
2048
2049
  // optional bool keepalive = 2 [default = false];
2050
0
  if (cached_has_bits & 0x00000002u) {
2051
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->keepalive(), output);
2052
0
  }
2053
2054
0
  if (_internal_metadata_.have_unknown_fields()) {
2055
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2056
0
        _internal_metadata_.unknown_fields(), output);
2057
0
  }
2058
  // @@protoc_insertion_point(serialize_end:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2059
0
}
2060
2061
::google::protobuf::uint8* CheckRemoteBootstrapSessionActiveRequestPB::InternalSerializeWithCachedSizesToArray(
2062
2
    bool deterministic, ::google::protobuf::uint8* target) const {
2063
2
  (void)deterministic; // Unused
2064
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2065
2
  ::google::protobuf::uint32 cached_has_bits = 0;
2066
2
  (void) cached_has_bits;
2067
2068
2
  cached_has_bits = _has_bits_[0];
2069
  // required bytes session_id = 1;
2070
2
  if (cached_has_bits & 0x00000001u) {
2071
2
    target =
2072
2
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2073
2
        1, this->session_id(), target);
2074
2
  }
2075
2076
  // optional bool keepalive = 2 [default = false];
2077
2
  if (cached_has_bits & 0x00000002u) {
2078
0
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->keepalive(), target);
2079
0
  }
2080
2081
2
  if (_internal_metadata_.have_unknown_fields()) {
2082
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2083
0
        _internal_metadata_.unknown_fields(), target);
2084
0
  }
2085
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2086
2
  return target;
2087
2
}
2088
2089
4
size_t CheckRemoteBootstrapSessionActiveRequestPB::ByteSizeLong() const {
2090
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2091
4
  size_t total_size = 0;
2092
2093
4
  if (_internal_metadata_.have_unknown_fields()) {
2094
0
    total_size +=
2095
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2096
0
        _internal_metadata_.unknown_fields());
2097
0
  }
2098
  // required bytes session_id = 1;
2099
4
  if (has_session_id()) {
2100
4
    total_size += 1 +
2101
4
      ::google::protobuf::internal::WireFormatLite::BytesSize(
2102
4
        this->session_id());
2103
4
  }
2104
  // optional bool keepalive = 2 [default = false];
2105
4
  if (has_keepalive()) {
2106
0
    total_size += 1 + 1;
2107
0
  }
2108
2109
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2110
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2111
4
  _cached_size_ = cached_size;
2112
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2113
4
  return total_size;
2114
4
}
2115
2116
0
void CheckRemoteBootstrapSessionActiveRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
2117
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2118
0
  GOOGLE_DCHECK_NE(&from, this);
2119
0
  const CheckRemoteBootstrapSessionActiveRequestPB* source =
2120
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CheckRemoteBootstrapSessionActiveRequestPB>(
2121
0
          &from);
2122
0
  if (source == NULL) {
2123
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2124
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2125
0
  } else {
2126
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2127
0
    MergeFrom(*source);
2128
0
  }
2129
0
}
2130
2131
0
void CheckRemoteBootstrapSessionActiveRequestPB::MergeFrom(const CheckRemoteBootstrapSessionActiveRequestPB& from) {
2132
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2133
0
  GOOGLE_DCHECK_NE(&from, this);
2134
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2135
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2136
0
  (void) cached_has_bits;
2137
2138
0
  cached_has_bits = from._has_bits_[0];
2139
0
  if (cached_has_bits & 3u) {
2140
0
    if (cached_has_bits & 0x00000001u) {
2141
0
      set_has_session_id();
2142
0
      session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
2143
0
    }
2144
0
    if (cached_has_bits & 0x00000002u) {
2145
0
      keepalive_ = from.keepalive_;
2146
0
    }
2147
0
    _has_bits_[0] |= cached_has_bits;
2148
0
  }
2149
0
}
2150
2151
0
void CheckRemoteBootstrapSessionActiveRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
2152
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2153
0
  if (&from == this) return;
2154
0
  Clear();
2155
0
  MergeFrom(from);
2156
0
}
2157
2158
0
void CheckRemoteBootstrapSessionActiveRequestPB::CopyFrom(const CheckRemoteBootstrapSessionActiveRequestPB& from) {
2159
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveRequestPB)
2160
0
  if (&from == this) return;
2161
0
  Clear();
2162
0
  MergeFrom(from);
2163
0
}
2164
2165
4
bool CheckRemoteBootstrapSessionActiveRequestPB::IsInitialized() const {
2166
4
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
2167
4
  return true;
2168
4
}
2169
2170
0
void CheckRemoteBootstrapSessionActiveRequestPB::Swap(CheckRemoteBootstrapSessionActiveRequestPB* other) {
2171
0
  if (other == this) return;
2172
0
  InternalSwap(other);
2173
0
}
2174
0
void CheckRemoteBootstrapSessionActiveRequestPB::InternalSwap(CheckRemoteBootstrapSessionActiveRequestPB* other) {
2175
0
  using std::swap;
2176
0
  session_id_.Swap(&other->session_id_);
2177
0
  swap(keepalive_, other->keepalive_);
2178
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2179
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2180
0
  swap(_cached_size_, other->_cached_size_);
2181
0
}
2182
2183
2
::google::protobuf::Metadata CheckRemoteBootstrapSessionActiveRequestPB::GetMetadata() const {
2184
2
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
2185
2
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
2186
2
}
2187
2188
2189
// ===================================================================
2190
2191
15.8k
void CheckRemoteBootstrapSessionActiveResponsePB::InitAsDefaultInstance() {
2192
15.8k
}
2193
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2194
const int CheckRemoteBootstrapSessionActiveResponsePB::kSessionIsActiveFieldNumber;
2195
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2196
2197
CheckRemoteBootstrapSessionActiveResponsePB::CheckRemoteBootstrapSessionActiveResponsePB()
2198
15.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2199
3
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2200
3
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsCheckRemoteBootstrapSessionActiveResponsePB();
2201
3
  }
2202
15.8k
  SharedCtor();
2203
  // @@protoc_insertion_point(constructor:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2204
15.8k
}
2205
CheckRemoteBootstrapSessionActiveResponsePB::CheckRemoteBootstrapSessionActiveResponsePB(const CheckRemoteBootstrapSessionActiveResponsePB& from)
2206
  : ::google::protobuf::Message(),
2207
      _internal_metadata_(NULL),
2208
      _has_bits_(from._has_bits_),
2209
0
      _cached_size_(0) {
2210
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2211
0
  session_is_active_ = from.session_is_active_;
2212
  // @@protoc_insertion_point(copy_constructor:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2213
0
}
2214
2215
15.8k
void CheckRemoteBootstrapSessionActiveResponsePB::SharedCtor() {
2216
15.8k
  _cached_size_ = 0;
2217
15.8k
  session_is_active_ = false;
2218
15.8k
}
2219
2220
3
CheckRemoteBootstrapSessionActiveResponsePB::~CheckRemoteBootstrapSessionActiveResponsePB() {
2221
  // @@protoc_insertion_point(destructor:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2222
3
  SharedDtor();
2223
3
}
2224
2225
3
void CheckRemoteBootstrapSessionActiveResponsePB::SharedDtor() {
2226
3
}
2227
2228
0
void CheckRemoteBootstrapSessionActiveResponsePB::SetCachedSize(int size) const {
2229
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2230
0
  _cached_size_ = size;
2231
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2232
0
}
2233
0
const ::google::protobuf::Descriptor* CheckRemoteBootstrapSessionActiveResponsePB::descriptor() {
2234
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
2235
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2236
0
}
2237
2238
0
const CheckRemoteBootstrapSessionActiveResponsePB& CheckRemoteBootstrapSessionActiveResponsePB::default_instance() {
2239
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsCheckRemoteBootstrapSessionActiveResponsePB();
2240
0
  return *internal_default_instance();
2241
0
}
2242
2243
0
CheckRemoteBootstrapSessionActiveResponsePB* CheckRemoteBootstrapSessionActiveResponsePB::New(::google::protobuf::Arena* arena) const {
2244
0
  CheckRemoteBootstrapSessionActiveResponsePB* n = new CheckRemoteBootstrapSessionActiveResponsePB;
2245
0
  if (arena != NULL) {
2246
0
    arena->Own(n);
2247
0
  }
2248
0
  return n;
2249
0
}
2250
2251
2
void CheckRemoteBootstrapSessionActiveResponsePB::Clear() {
2252
// @@protoc_insertion_point(message_clear_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2253
2
  ::google::protobuf::uint32 cached_has_bits = 0;
2254
  // Prevent compiler warnings about cached_has_bits being unused
2255
2
  (void) cached_has_bits;
2256
2257
2
  session_is_active_ = false;
2258
2
  _has_bits_.Clear();
2259
2
  _internal_metadata_.Clear();
2260
2
}
2261
2262
bool CheckRemoteBootstrapSessionActiveResponsePB::MergePartialFromCodedStream(
2263
2
    ::google::protobuf::io::CodedInputStream* input) {
2264
2
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2265
2
  ::google::protobuf::uint32 tag;
2266
  // @@protoc_insertion_point(parse_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2267
4
  for (;;) {
2268
4
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2269
4
    tag = p.first;
2270
4
    if (!p.second) goto handle_unusual;
2271
2
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2272
      // required bool session_is_active = 1;
2273
2
      case 1: {
2274
2
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2275
2
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
2276
2
          set_has_session_is_active();
2277
2
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2278
2
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
2279
2
                 input, &session_is_active_)));
2280
0
        } else {
2281
0
          goto handle_unusual;
2282
0
        }
2283
2
        break;
2284
2
      }
2285
2286
0
      default: {
2287
2
      handle_unusual:
2288
2
        if (tag == 0) {
2289
2
          goto success;
2290
2
        }
2291
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2292
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2293
0
        break;
2294
0
      }
2295
2
    }
2296
2
  }
2297
2
success:
2298
  // @@protoc_insertion_point(parse_success:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2299
2
  return true;
2300
0
failure:
2301
  // @@protoc_insertion_point(parse_failure:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2302
0
  return false;
2303
2
#undef DO_
2304
2
}
2305
2306
void CheckRemoteBootstrapSessionActiveResponsePB::SerializeWithCachedSizes(
2307
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2308
  // @@protoc_insertion_point(serialize_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2309
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2310
0
  (void) cached_has_bits;
2311
2312
0
  cached_has_bits = _has_bits_[0];
2313
  // required bool session_is_active = 1;
2314
0
  if (cached_has_bits & 0x00000001u) {
2315
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->session_is_active(), output);
2316
0
  }
2317
2318
0
  if (_internal_metadata_.have_unknown_fields()) {
2319
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2320
0
        _internal_metadata_.unknown_fields(), output);
2321
0
  }
2322
  // @@protoc_insertion_point(serialize_end:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2323
0
}
2324
2325
::google::protobuf::uint8* CheckRemoteBootstrapSessionActiveResponsePB::InternalSerializeWithCachedSizesToArray(
2326
2
    bool deterministic, ::google::protobuf::uint8* target) const {
2327
2
  (void)deterministic; // Unused
2328
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2329
2
  ::google::protobuf::uint32 cached_has_bits = 0;
2330
2
  (void) cached_has_bits;
2331
2332
2
  cached_has_bits = _has_bits_[0];
2333
  // required bool session_is_active = 1;
2334
2
  if (cached_has_bits & 0x00000001u) {
2335
2
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->session_is_active(), target);
2336
2
  }
2337
2338
2
  if (_internal_metadata_.have_unknown_fields()) {
2339
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2340
0
        _internal_metadata_.unknown_fields(), target);
2341
0
  }
2342
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2343
2
  return target;
2344
2
}
2345
2346
4
size_t CheckRemoteBootstrapSessionActiveResponsePB::ByteSizeLong() const {
2347
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2348
4
  size_t total_size = 0;
2349
2350
4
  if (_internal_metadata_.have_unknown_fields()) {
2351
0
    total_size +=
2352
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2353
0
        _internal_metadata_.unknown_fields());
2354
0
  }
2355
  // required bool session_is_active = 1;
2356
4
  if (has_session_is_active()) {
2357
4
    total_size += 1 + 1;
2358
4
  }
2359
4
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2360
4
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2361
4
  _cached_size_ = cached_size;
2362
4
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2363
4
  return total_size;
2364
4
}
2365
2366
0
void CheckRemoteBootstrapSessionActiveResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
2367
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2368
0
  GOOGLE_DCHECK_NE(&from, this);
2369
0
  const CheckRemoteBootstrapSessionActiveResponsePB* source =
2370
0
      ::google::protobuf::internal::DynamicCastToGenerated<const CheckRemoteBootstrapSessionActiveResponsePB>(
2371
0
          &from);
2372
0
  if (source == NULL) {
2373
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2374
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2375
0
  } else {
2376
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2377
0
    MergeFrom(*source);
2378
0
  }
2379
0
}
2380
2381
0
void CheckRemoteBootstrapSessionActiveResponsePB::MergeFrom(const CheckRemoteBootstrapSessionActiveResponsePB& from) {
2382
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2383
0
  GOOGLE_DCHECK_NE(&from, this);
2384
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2385
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2386
0
  (void) cached_has_bits;
2387
2388
0
  if (from.has_session_is_active()) {
2389
0
    set_session_is_active(from.session_is_active());
2390
0
  }
2391
0
}
2392
2393
0
void CheckRemoteBootstrapSessionActiveResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
2394
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2395
0
  if (&from == this) return;
2396
0
  Clear();
2397
0
  MergeFrom(from);
2398
0
}
2399
2400
0
void CheckRemoteBootstrapSessionActiveResponsePB::CopyFrom(const CheckRemoteBootstrapSessionActiveResponsePB& from) {
2401
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.CheckRemoteBootstrapSessionActiveResponsePB)
2402
0
  if (&from == this) return;
2403
0
  Clear();
2404
0
  MergeFrom(from);
2405
0
}
2406
2407
4
bool CheckRemoteBootstrapSessionActiveResponsePB::IsInitialized() const {
2408
4
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
2409
4
  return true;
2410
4
}
2411
2412
0
void CheckRemoteBootstrapSessionActiveResponsePB::Swap(CheckRemoteBootstrapSessionActiveResponsePB* other) {
2413
0
  if (other == this) return;
2414
0
  InternalSwap(other);
2415
0
}
2416
0
void CheckRemoteBootstrapSessionActiveResponsePB::InternalSwap(CheckRemoteBootstrapSessionActiveResponsePB* other) {
2417
0
  using std::swap;
2418
0
  swap(session_is_active_, other->session_is_active_);
2419
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2420
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2421
0
  swap(_cached_size_, other->_cached_size_);
2422
0
}
2423
2424
0
::google::protobuf::Metadata CheckRemoteBootstrapSessionActiveResponsePB::GetMetadata() const {
2425
0
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
2426
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
2427
0
}
2428
2429
2430
// ===================================================================
2431
2432
15.8k
void DataIdPB::InitAsDefaultInstance() {
2433
15.8k
}
2434
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2435
const int DataIdPB::kTypeFieldNumber;
2436
const int DataIdPB::kWalSegmentSeqnoFieldNumber;
2437
const int DataIdPB::kFileNameFieldNumber;
2438
const int DataIdPB::kSnapshotIdFieldNumber;
2439
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2440
2441
DataIdPB::DataIdPB()
2442
31.6k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2443
15.8k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2444
15.8k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsDataIdPB();
2445
15.8k
  }
2446
31.6k
  SharedCtor();
2447
  // @@protoc_insertion_point(constructor:yb.tserver.DataIdPB)
2448
31.6k
}
2449
DataIdPB::DataIdPB(const DataIdPB& from)
2450
  : ::google::protobuf::Message(),
2451
      _internal_metadata_(NULL),
2452
      _has_bits_(from._has_bits_),
2453
0
      _cached_size_(0) {
2454
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2455
0
  file_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2456
0
  if (from.has_file_name()) {
2457
0
    file_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_name_);
2458
0
  }
2459
0
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2460
0
  if (from.has_snapshot_id()) {
2461
0
    snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
2462
0
  }
2463
0
  ::memcpy(&wal_segment_seqno_, &from.wal_segment_seqno_,
2464
0
    static_cast<size_t>(reinterpret_cast<char*>(&type_) -
2465
0
    reinterpret_cast<char*>(&wal_segment_seqno_)) + sizeof(type_));
2466
  // @@protoc_insertion_point(copy_constructor:yb.tserver.DataIdPB)
2467
0
}
2468
2469
31.6k
void DataIdPB::SharedCtor() {
2470
31.6k
  _cached_size_ = 0;
2471
31.6k
  file_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2472
31.6k
  snapshot_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2473
31.6k
  ::memset(&wal_segment_seqno_, 0, static_cast<size_t>(
2474
31.6k
      reinterpret_cast<char*>(&type_) -
2475
31.6k
      reinterpret_cast<char*>(&wal_segment_seqno_)) + sizeof(type_));
2476
31.6k
}
2477
2478
15.8k
DataIdPB::~DataIdPB() {
2479
  // @@protoc_insertion_point(destructor:yb.tserver.DataIdPB)
2480
15.8k
  SharedDtor();
2481
15.8k
}
2482
2483
15.8k
void DataIdPB::SharedDtor() {
2484
15.8k
  file_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2485
15.8k
  snapshot_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2486
15.8k
}
2487
2488
0
void DataIdPB::SetCachedSize(int size) const {
2489
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2490
0
  _cached_size_ = size;
2491
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2492
0
}
2493
0
const ::google::protobuf::Descriptor* DataIdPB::descriptor() {
2494
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
2495
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2496
0
}
2497
2498
0
const DataIdPB& DataIdPB::default_instance() {
2499
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsDataIdPB();
2500
0
  return *internal_default_instance();
2501
0
}
2502
2503
0
DataIdPB* DataIdPB::New(::google::protobuf::Arena* arena) const {
2504
0
  DataIdPB* n = new DataIdPB;
2505
0
  if (arena != NULL) {
2506
0
    arena->Own(n);
2507
0
  }
2508
0
  return n;
2509
0
}
2510
2511
5.83k
void DataIdPB::Clear() {
2512
// @@protoc_insertion_point(message_clear_start:yb.tserver.DataIdPB)
2513
5.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
2514
  // Prevent compiler warnings about cached_has_bits being unused
2515
5.83k
  (void) cached_has_bits;
2516
2517
5.83k
  cached_has_bits = _has_bits_[0];
2518
5.83k
  if (cached_has_bits & 3u) {
2519
0
    if (cached_has_bits & 0x00000001u) {
2520
0
      GOOGLE_DCHECK(!file_name_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2521
0
      (*file_name_.UnsafeRawStringPointer())->clear();
2522
0
    }
2523
0
    if (cached_has_bits & 0x00000002u) {
2524
0
      GOOGLE_DCHECK(!snapshot_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2525
0
      (*snapshot_id_.UnsafeRawStringPointer())->clear();
2526
0
    }
2527
0
  }
2528
5.83k
  if (cached_has_bits & 12u) {
2529
61
    ::memset(&wal_segment_seqno_, 0, static_cast<size_t>(
2530
61
        reinterpret_cast<char*>(&type_) -
2531
61
        reinterpret_cast<char*>(&wal_segment_seqno_)) + sizeof(type_));
2532
61
  }
2533
5.83k
  _has_bits_.Clear();
2534
5.83k
  _internal_metadata_.Clear();
2535
5.83k
}
2536
2537
bool DataIdPB::MergePartialFromCodedStream(
2538
5.83k
    ::google::protobuf::io::CodedInputStream* input) {
2539
11.6k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2540
5.83k
  ::google::protobuf::uint32 tag;
2541
  // @@protoc_insertion_point(parse_start:yb.tserver.DataIdPB)
2542
17.5k
  for (;;) {
2543
17.5k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2544
17.5k
    tag = p.first;
2545
17.5k
    if (!p.second) goto handle_unusual;
2546
11.6k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2547
      // required .yb.tserver.DataIdPB.IdType type = 1;
2548
5.83k
      case 1: {
2549
5.83k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2550
5.83k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
2551
5.83k
          int value;
2552
5.83k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2553
5.83k
                   int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2554
5.83k
                 input, &value)));
2555
5.83k
          if (::yb::tserver::DataIdPB_IdType_IsValid(value)) {
2556
5.83k
            set_type(static_cast< ::yb::tserver::DataIdPB_IdType >(value));
2557
1
          } else {
2558
1
            mutable_unknown_fields()->AddVarint(
2559
1
                1, static_cast< ::google::protobuf::uint64>(value));
2560
1
          }
2561
18.4E
        } else {
2562
18.4E
          goto handle_unusual;
2563
18.4E
        }
2564
5.83k
        break;
2565
5.83k
      }
2566
2567
      // optional uint64 wal_segment_seqno = 3;
2568
2.30k
      case 3: {
2569
2.30k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2570
2.30k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
2571
2.30k
          set_has_wal_segment_seqno();
2572
2.30k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2573
2.30k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2574
2.30k
                 input, &wal_segment_seqno_)));
2575
0
        } else {
2576
0
          goto handle_unusual;
2577
0
        }
2578
2.30k
        break;
2579
2.30k
      }
2580
2581
      // optional string file_name = 4;
2582
3.52k
      case 4: {
2583
3.52k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2584
3.52k
            static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
2585
3.52k
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2586
3.52k
                input, this->mutable_file_name()));
2587
3.52k
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2588
3.52k
            this->file_name().data(), static_cast<int>(this->file_name().length()),
2589
3.52k
            ::google::protobuf::internal::WireFormat::PARSE,
2590
3.52k
            "yb.tserver.DataIdPB.file_name");
2591
0
        } else {
2592
0
          goto handle_unusual;
2593
0
        }
2594
3.52k
        break;
2595
3.52k
      }
2596
2597
      // optional bytes snapshot_id = 5;
2598
18
      case 5: {
2599
18
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2600
18
            static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
2601
18
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2602
18
                input, this->mutable_snapshot_id()));
2603
0
        } else {
2604
0
          goto handle_unusual;
2605
0
        }
2606
18
        break;
2607
5.83k
      }
2608
2609
0
      default: {
2610
5.83k
      handle_unusual:
2611
5.83k
        if (tag == 0) {
2612
5.83k
          goto success;
2613
5.83k
        }
2614
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
2615
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
2616
0
        break;
2617
0
      }
2618
11.6k
    }
2619
11.6k
  }
2620
5.83k
success:
2621
  // @@protoc_insertion_point(parse_success:yb.tserver.DataIdPB)
2622
5.83k
  return true;
2623
0
failure:
2624
  // @@protoc_insertion_point(parse_failure:yb.tserver.DataIdPB)
2625
0
  return false;
2626
5.83k
#undef DO_
2627
5.83k
}
2628
2629
void DataIdPB::SerializeWithCachedSizes(
2630
0
    ::google::protobuf::io::CodedOutputStream* output) const {
2631
  // @@protoc_insertion_point(serialize_start:yb.tserver.DataIdPB)
2632
0
  ::google::protobuf::uint32 cached_has_bits = 0;
2633
0
  (void) cached_has_bits;
2634
2635
0
  cached_has_bits = _has_bits_[0];
2636
  // required .yb.tserver.DataIdPB.IdType type = 1;
2637
0
  if (cached_has_bits & 0x00000008u) {
2638
0
    ::google::protobuf::internal::WireFormatLite::WriteEnum(
2639
0
      1, this->type(), output);
2640
0
  }
2641
2642
  // optional uint64 wal_segment_seqno = 3;
2643
0
  if (cached_has_bits & 0x00000004u) {
2644
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->wal_segment_seqno(), output);
2645
0
  }
2646
2647
  // optional string file_name = 4;
2648
0
  if (cached_has_bits & 0x00000001u) {
2649
0
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2650
0
      this->file_name().data(), static_cast<int>(this->file_name().length()),
2651
0
      ::google::protobuf::internal::WireFormat::SERIALIZE,
2652
0
      "yb.tserver.DataIdPB.file_name");
2653
0
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2654
0
      4, this->file_name(), output);
2655
0
  }
2656
2657
  // optional bytes snapshot_id = 5;
2658
0
  if (cached_has_bits & 0x00000002u) {
2659
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2660
0
      5, this->snapshot_id(), output);
2661
0
  }
2662
2663
0
  if (_internal_metadata_.have_unknown_fields()) {
2664
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
2665
0
        _internal_metadata_.unknown_fields(), output);
2666
0
  }
2667
  // @@protoc_insertion_point(serialize_end:yb.tserver.DataIdPB)
2668
0
}
2669
2670
::google::protobuf::uint8* DataIdPB::InternalSerializeWithCachedSizesToArray(
2671
5.83k
    bool deterministic, ::google::protobuf::uint8* target) const {
2672
5.83k
  (void)deterministic; // Unused
2673
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.DataIdPB)
2674
5.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
2675
5.83k
  (void) cached_has_bits;
2676
2677
5.83k
  cached_has_bits = _has_bits_[0];
2678
  // required .yb.tserver.DataIdPB.IdType type = 1;
2679
5.83k
  if (cached_has_bits & 0x00000008u) {
2680
5.83k
    target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
2681
5.83k
      1, this->type(), target);
2682
5.83k
  }
2683
2684
  // optional uint64 wal_segment_seqno = 3;
2685
5.83k
  if (cached_has_bits & 0x00000004u) {
2686
2.30k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->wal_segment_seqno(), target);
2687
2.30k
  }
2688
2689
  // optional string file_name = 4;
2690
5.83k
  if (cached_has_bits & 0x00000001u) {
2691
3.52k
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
2692
3.52k
      this->file_name().data(), static_cast<int>(this->file_name().length()),
2693
3.52k
      ::google::protobuf::internal::WireFormat::SERIALIZE,
2694
3.52k
      "yb.tserver.DataIdPB.file_name");
2695
3.52k
    target =
2696
3.52k
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2697
3.52k
        4, this->file_name(), target);
2698
3.52k
  }
2699
2700
  // optional bytes snapshot_id = 5;
2701
5.83k
  if (cached_has_bits & 0x00000002u) {
2702
18
    target =
2703
18
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
2704
18
        5, this->snapshot_id(), target);
2705
18
  }
2706
2707
5.83k
  if (_internal_metadata_.have_unknown_fields()) {
2708
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
2709
0
        _internal_metadata_.unknown_fields(), target);
2710
0
  }
2711
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.DataIdPB)
2712
5.83k
  return target;
2713
5.83k
}
2714
2715
11.6k
size_t DataIdPB::ByteSizeLong() const {
2716
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.DataIdPB)
2717
11.6k
  size_t total_size = 0;
2718
2719
11.6k
  if (_internal_metadata_.have_unknown_fields()) {
2720
0
    total_size +=
2721
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
2722
0
        _internal_metadata_.unknown_fields());
2723
0
  }
2724
  // required .yb.tserver.DataIdPB.IdType type = 1;
2725
11.6k
  if (has_type()) {
2726
11.6k
    total_size += 1 +
2727
11.6k
      ::google::protobuf::internal::WireFormatLite::EnumSize(this->type());
2728
11.6k
  }
2729
11.6k
  if (_has_bits_[0 / 32] & 7u) {
2730
    // optional string file_name = 4;
2731
11.6k
    if (has_file_name()) {
2732
7.05k
      total_size += 1 +
2733
7.05k
        ::google::protobuf::internal::WireFormatLite::StringSize(
2734
7.05k
          this->file_name());
2735
7.05k
    }
2736
2737
    // optional bytes snapshot_id = 5;
2738
11.6k
    if (has_snapshot_id()) {
2739
36
      total_size += 1 +
2740
36
        ::google::protobuf::internal::WireFormatLite::BytesSize(
2741
36
          this->snapshot_id());
2742
36
    }
2743
2744
    // optional uint64 wal_segment_seqno = 3;
2745
11.6k
    if (has_wal_segment_seqno()) {
2746
4.61k
      total_size += 1 +
2747
4.61k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
2748
4.61k
          this->wal_segment_seqno());
2749
4.61k
    }
2750
2751
11.6k
  }
2752
11.6k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
2753
11.6k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2754
11.6k
  _cached_size_ = cached_size;
2755
11.6k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2756
11.6k
  return total_size;
2757
11.6k
}
2758
2759
0
void DataIdPB::MergeFrom(const ::google::protobuf::Message& from) {
2760
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.DataIdPB)
2761
0
  GOOGLE_DCHECK_NE(&from, this);
2762
0
  const DataIdPB* source =
2763
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DataIdPB>(
2764
0
          &from);
2765
0
  if (source == NULL) {
2766
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.DataIdPB)
2767
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
2768
0
  } else {
2769
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.DataIdPB)
2770
0
    MergeFrom(*source);
2771
0
  }
2772
0
}
2773
2774
5.83k
void DataIdPB::MergeFrom(const DataIdPB& from) {
2775
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.DataIdPB)
2776
5.83k
  GOOGLE_DCHECK_NE(&from, this);
2777
5.83k
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2778
5.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
2779
5.83k
  (void) cached_has_bits;
2780
2781
5.83k
  cached_has_bits = from._has_bits_[0];
2782
5.83k
  if (cached_has_bits & 15u) {
2783
5.83k
    if (cached_has_bits & 0x00000001u) {
2784
3.52k
      set_has_file_name();
2785
3.52k
      file_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.file_name_);
2786
3.52k
    }
2787
5.83k
    if (cached_has_bits & 0x00000002u) {
2788
18
      set_has_snapshot_id();
2789
18
      snapshot_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.snapshot_id_);
2790
18
    }
2791
5.83k
    if (cached_has_bits & 0x00000004u) {
2792
2.30k
      wal_segment_seqno_ = from.wal_segment_seqno_;
2793
2.30k
    }
2794
5.83k
    if (cached_has_bits & 0x00000008u) {
2795
5.83k
      type_ = from.type_;
2796
5.83k
    }
2797
5.83k
    _has_bits_[0] |= cached_has_bits;
2798
5.83k
  }
2799
5.83k
}
2800
2801
0
void DataIdPB::CopyFrom(const ::google::protobuf::Message& from) {
2802
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.DataIdPB)
2803
0
  if (&from == this) return;
2804
0
  Clear();
2805
0
  MergeFrom(from);
2806
0
}
2807
2808
5.83k
void DataIdPB::CopyFrom(const DataIdPB& from) {
2809
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.DataIdPB)
2810
5.83k
  if (&from == this) return;
2811
5.83k
  Clear();
2812
5.83k
  MergeFrom(from);
2813
5.83k
}
2814
2815
11.6k
bool DataIdPB::IsInitialized() const {
2816
11.6k
  if ((_has_bits_[0] & 0x00000008) != 0x00000008) return false;
2817
11.6k
  return true;
2818
11.6k
}
2819
2820
0
void DataIdPB::Swap(DataIdPB* other) {
2821
0
  if (other == this) return;
2822
0
  InternalSwap(other);
2823
0
}
2824
0
void DataIdPB::InternalSwap(DataIdPB* other) {
2825
0
  using std::swap;
2826
0
  file_name_.Swap(&other->file_name_);
2827
0
  snapshot_id_.Swap(&other->snapshot_id_);
2828
0
  swap(wal_segment_seqno_, other->wal_segment_seqno_);
2829
0
  swap(type_, other->type_);
2830
0
  swap(_has_bits_[0], other->_has_bits_[0]);
2831
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
2832
0
  swap(_cached_size_, other->_cached_size_);
2833
0
}
2834
2835
5.83k
::google::protobuf::Metadata DataIdPB::GetMetadata() const {
2836
5.83k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
2837
5.83k
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
2838
5.83k
}
2839
2840
2841
// ===================================================================
2842
2843
15.8k
void FetchDataRequestPB::InitAsDefaultInstance() {
2844
15.8k
  ::yb::tserver::_FetchDataRequestPB_default_instance_._instance.get_mutable()->data_id_ = const_cast< ::yb::tserver::DataIdPB*>(
2845
15.8k
      ::yb::tserver::DataIdPB::internal_default_instance());
2846
15.8k
}
2847
#if !defined(_MSC_VER) || _MSC_VER >= 1900
2848
const int FetchDataRequestPB::kSessionIdFieldNumber;
2849
const int FetchDataRequestPB::kDataIdFieldNumber;
2850
const int FetchDataRequestPB::kOffsetFieldNumber;
2851
const int FetchDataRequestPB::kMaxLengthFieldNumber;
2852
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
2853
2854
FetchDataRequestPB::FetchDataRequestPB()
2855
27.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
2856
11.6k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
2857
11.6k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsFetchDataRequestPB();
2858
11.6k
  }
2859
27.4k
  SharedCtor();
2860
  // @@protoc_insertion_point(constructor:yb.tserver.FetchDataRequestPB)
2861
27.4k
}
2862
FetchDataRequestPB::FetchDataRequestPB(const FetchDataRequestPB& from)
2863
  : ::google::protobuf::Message(),
2864
      _internal_metadata_(NULL),
2865
      _has_bits_(from._has_bits_),
2866
0
      _cached_size_(0) {
2867
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
2868
0
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2869
0
  if (from.has_session_id()) {
2870
0
    session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
2871
0
  }
2872
0
  if (from.has_data_id()) {
2873
0
    data_id_ = new ::yb::tserver::DataIdPB(*from.data_id_);
2874
0
  } else {
2875
0
    data_id_ = NULL;
2876
0
  }
2877
0
  ::memcpy(&offset_, &from.offset_,
2878
0
    static_cast<size_t>(reinterpret_cast<char*>(&max_length_) -
2879
0
    reinterpret_cast<char*>(&offset_)) + sizeof(max_length_));
2880
  // @@protoc_insertion_point(copy_constructor:yb.tserver.FetchDataRequestPB)
2881
0
}
2882
2883
27.4k
void FetchDataRequestPB::SharedCtor() {
2884
27.4k
  _cached_size_ = 0;
2885
27.4k
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2886
27.4k
  ::memset(&data_id_, 0, static_cast<size_t>(
2887
27.4k
      reinterpret_cast<char*>(&max_length_) -
2888
27.4k
      reinterpret_cast<char*>(&data_id_)) + sizeof(max_length_));
2889
27.4k
}
2890
2891
11.6k
FetchDataRequestPB::~FetchDataRequestPB() {
2892
  // @@protoc_insertion_point(destructor:yb.tserver.FetchDataRequestPB)
2893
11.6k
  SharedDtor();
2894
11.6k
}
2895
2896
11.6k
void FetchDataRequestPB::SharedDtor() {
2897
11.6k
  session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2898
11.6k
  if (this != internal_default_instance()) delete data_id_;
2899
11.6k
}
2900
2901
0
void FetchDataRequestPB::SetCachedSize(int size) const {
2902
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2903
0
  _cached_size_ = size;
2904
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
2905
0
}
2906
0
const ::google::protobuf::Descriptor* FetchDataRequestPB::descriptor() {
2907
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
2908
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
2909
0
}
2910
2911
0
const FetchDataRequestPB& FetchDataRequestPB::default_instance() {
2912
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsFetchDataRequestPB();
2913
0
  return *internal_default_instance();
2914
0
}
2915
2916
0
FetchDataRequestPB* FetchDataRequestPB::New(::google::protobuf::Arena* arena) const {
2917
0
  FetchDataRequestPB* n = new FetchDataRequestPB;
2918
0
  if (arena != NULL) {
2919
0
    arena->Own(n);
2920
0
  }
2921
0
  return n;
2922
0
}
2923
2924
5.83k
void FetchDataRequestPB::Clear() {
2925
// @@protoc_insertion_point(message_clear_start:yb.tserver.FetchDataRequestPB)
2926
5.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
2927
  // Prevent compiler warnings about cached_has_bits being unused
2928
5.83k
  (void) cached_has_bits;
2929
2930
5.83k
  cached_has_bits = _has_bits_[0];
2931
5.83k
  if (cached_has_bits & 3u) {
2932
0
    if (cached_has_bits & 0x00000001u) {
2933
0
      GOOGLE_DCHECK(!session_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
2934
0
      (*session_id_.UnsafeRawStringPointer())->clear();
2935
0
    }
2936
0
    if (cached_has_bits & 0x00000002u) {
2937
0
      GOOGLE_DCHECK(data_id_ != NULL);
2938
0
      data_id_->Clear();
2939
0
    }
2940
0
  }
2941
5.83k
  if (cached_has_bits & 12u) {
2942
0
    ::memset(&offset_, 0, static_cast<size_t>(
2943
0
        reinterpret_cast<char*>(&max_length_) -
2944
0
        reinterpret_cast<char*>(&offset_)) + sizeof(max_length_));
2945
0
  }
2946
5.83k
  _has_bits_.Clear();
2947
5.83k
  _internal_metadata_.Clear();
2948
5.83k
}
2949
2950
bool FetchDataRequestPB::MergePartialFromCodedStream(
2951
5.83k
    ::google::protobuf::io::CodedInputStream* input) {
2952
23.3k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
2953
5.83k
  ::google::protobuf::uint32 tag;
2954
  // @@protoc_insertion_point(parse_start:yb.tserver.FetchDataRequestPB)
2955
29.1k
  for (;;) {
2956
29.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
2957
29.1k
    tag = p.first;
2958
29.1k
    if (!p.second) goto handle_unusual;
2959
23.3k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2960
      // required bytes session_id = 1;
2961
5.83k
      case 1: {
2962
5.83k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2963
5.83k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
2964
5.83k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2965
5.83k
                input, this->mutable_session_id()));
2966
0
        } else {
2967
0
          goto handle_unusual;
2968
0
        }
2969
5.83k
        break;
2970
5.83k
      }
2971
2972
      // required .yb.tserver.DataIdPB data_id = 2;
2973
5.83k
      case 2: {
2974
5.83k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2975
5.83k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
2976
5.83k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
2977
5.83k
               input, mutable_data_id()));
2978
0
        } else {
2979
0
          goto handle_unusual;
2980
0
        }
2981
5.83k
        break;
2982
5.83k
      }
2983
2984
      // optional uint64 offset = 3 [default = 0];
2985
5.82k
      case 3: {
2986
5.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
2987
5.82k
            static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
2988
5.82k
          set_has_offset();
2989
5.82k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2990
5.82k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
2991
5.82k
                 input, &offset_)));
2992
1
        } else {
2993
1
          goto handle_unusual;
2994
1
        }
2995
5.82k
        break;
2996
5.82k
      }
2997
2998
      // optional int64 max_length = 4 [default = 0];
2999
5.82k
      case 4: {
3000
5.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3001
5.82k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
3002
5.82k
          set_has_max_length();
3003
5.82k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3004
5.82k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
3005
5.82k
                 input, &max_length_)));
3006
18.4E
        } else {
3007
18.4E
          goto handle_unusual;
3008
18.4E
        }
3009
5.82k
        break;
3010
5.83k
      }
3011
3012
0
      default: {
3013
5.83k
      handle_unusual:
3014
5.83k
        if (tag == 0) {
3015
5.83k
          goto success;
3016
5.83k
        }
3017
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3018
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3019
0
        break;
3020
0
      }
3021
23.3k
    }
3022
23.3k
  }
3023
5.83k
success:
3024
  // @@protoc_insertion_point(parse_success:yb.tserver.FetchDataRequestPB)
3025
5.83k
  return true;
3026
0
failure:
3027
  // @@protoc_insertion_point(parse_failure:yb.tserver.FetchDataRequestPB)
3028
0
  return false;
3029
5.83k
#undef DO_
3030
5.83k
}
3031
3032
void FetchDataRequestPB::SerializeWithCachedSizes(
3033
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3034
  // @@protoc_insertion_point(serialize_start:yb.tserver.FetchDataRequestPB)
3035
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3036
0
  (void) cached_has_bits;
3037
3038
0
  cached_has_bits = _has_bits_[0];
3039
  // required bytes session_id = 1;
3040
0
  if (cached_has_bits & 0x00000001u) {
3041
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3042
0
      1, this->session_id(), output);
3043
0
  }
3044
3045
  // required .yb.tserver.DataIdPB data_id = 2;
3046
0
  if (cached_has_bits & 0x00000002u) {
3047
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3048
0
      2, *this->data_id_, output);
3049
0
  }
3050
3051
  // optional uint64 offset = 3 [default = 0];
3052
0
  if (cached_has_bits & 0x00000004u) {
3053
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->offset(), output);
3054
0
  }
3055
3056
  // optional int64 max_length = 4 [default = 0];
3057
0
  if (cached_has_bits & 0x00000008u) {
3058
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->max_length(), output);
3059
0
  }
3060
3061
0
  if (_internal_metadata_.have_unknown_fields()) {
3062
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3063
0
        _internal_metadata_.unknown_fields(), output);
3064
0
  }
3065
  // @@protoc_insertion_point(serialize_end:yb.tserver.FetchDataRequestPB)
3066
0
}
3067
3068
::google::protobuf::uint8* FetchDataRequestPB::InternalSerializeWithCachedSizesToArray(
3069
5.83k
    bool deterministic, ::google::protobuf::uint8* target) const {
3070
5.83k
  (void)deterministic; // Unused
3071
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.FetchDataRequestPB)
3072
5.83k
  ::google::protobuf::uint32 cached_has_bits = 0;
3073
5.83k
  (void) cached_has_bits;
3074
3075
5.83k
  cached_has_bits = _has_bits_[0];
3076
  // required bytes session_id = 1;
3077
5.83k
  if (cached_has_bits & 0x00000001u) {
3078
5.83k
    target =
3079
5.83k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3080
5.83k
        1, this->session_id(), target);
3081
5.83k
  }
3082
3083
  // required .yb.tserver.DataIdPB data_id = 2;
3084
5.83k
  if (cached_has_bits & 0x00000002u) {
3085
5.83k
    target = ::google::protobuf::internal::WireFormatLite::
3086
5.83k
      InternalWriteMessageToArray(
3087
5.83k
        2, *this->data_id_, deterministic, target);
3088
5.83k
  }
3089
3090
  // optional uint64 offset = 3 [default = 0];
3091
5.83k
  if (cached_has_bits & 0x00000004u) {
3092
5.82k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->offset(), target);
3093
5.82k
  }
3094
3095
  // optional int64 max_length = 4 [default = 0];
3096
5.83k
  if (cached_has_bits & 0x00000008u) {
3097
5.82k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->max_length(), target);
3098
5.82k
  }
3099
3100
5.83k
  if (_internal_metadata_.have_unknown_fields()) {
3101
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3102
0
        _internal_metadata_.unknown_fields(), target);
3103
0
  }
3104
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.FetchDataRequestPB)
3105
5.83k
  return target;
3106
5.83k
}
3107
3108
0
size_t FetchDataRequestPB::RequiredFieldsByteSizeFallback() const {
3109
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.FetchDataRequestPB)
3110
0
  size_t total_size = 0;
3111
3112
0
  if (has_session_id()) {
3113
    // required bytes session_id = 1;
3114
0
    total_size += 1 +
3115
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
3116
0
        this->session_id());
3117
0
  }
3118
3119
0
  if (has_data_id()) {
3120
    // required .yb.tserver.DataIdPB data_id = 2;
3121
0
    total_size += 1 +
3122
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3123
0
        *this->data_id_);
3124
0
  }
3125
3126
0
  return total_size;
3127
0
}
3128
11.6k
size_t FetchDataRequestPB::ByteSizeLong() const {
3129
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.FetchDataRequestPB)
3130
11.6k
  size_t total_size = 0;
3131
3132
11.6k
  if (_internal_metadata_.have_unknown_fields()) {
3133
0
    total_size +=
3134
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3135
0
        _internal_metadata_.unknown_fields());
3136
0
  }
3137
11.6k
  if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
3138
    // required bytes session_id = 1;
3139
11.6k
    total_size += 1 +
3140
11.6k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
3141
11.6k
        this->session_id());
3142
3143
    // required .yb.tserver.DataIdPB data_id = 2;
3144
11.6k
    total_size += 1 +
3145
11.6k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3146
11.6k
        *this->data_id_);
3147
3148
4
  } else {
3149
4
    total_size += RequiredFieldsByteSizeFallback();
3150
4
  }
3151
11.6k
  if (_has_bits_[0 / 32] & 12u) {
3152
    // optional uint64 offset = 3 [default = 0];
3153
11.6k
    if (has_offset()) {
3154
11.6k
      total_size += 1 +
3155
11.6k
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
3156
11.6k
          this->offset());
3157
11.6k
    }
3158
3159
    // optional int64 max_length = 4 [default = 0];
3160
11.6k
    if (has_max_length()) {
3161
11.6k
      total_size += 1 +
3162
11.6k
        ::google::protobuf::internal::WireFormatLite::Int64Size(
3163
11.6k
          this->max_length());
3164
11.6k
    }
3165
3166
11.6k
  }
3167
11.6k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3168
11.6k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3169
11.6k
  _cached_size_ = cached_size;
3170
11.6k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3171
11.6k
  return total_size;
3172
11.6k
}
3173
3174
0
void FetchDataRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
3175
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.FetchDataRequestPB)
3176
0
  GOOGLE_DCHECK_NE(&from, this);
3177
0
  const FetchDataRequestPB* source =
3178
0
      ::google::protobuf::internal::DynamicCastToGenerated<const FetchDataRequestPB>(
3179
0
          &from);
3180
0
  if (source == NULL) {
3181
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.FetchDataRequestPB)
3182
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3183
0
  } else {
3184
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.FetchDataRequestPB)
3185
0
    MergeFrom(*source);
3186
0
  }
3187
0
}
3188
3189
0
void FetchDataRequestPB::MergeFrom(const FetchDataRequestPB& from) {
3190
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.FetchDataRequestPB)
3191
0
  GOOGLE_DCHECK_NE(&from, this);
3192
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3193
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3194
0
  (void) cached_has_bits;
3195
3196
0
  cached_has_bits = from._has_bits_[0];
3197
0
  if (cached_has_bits & 15u) {
3198
0
    if (cached_has_bits & 0x00000001u) {
3199
0
      set_has_session_id();
3200
0
      session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
3201
0
    }
3202
0
    if (cached_has_bits & 0x00000002u) {
3203
0
      mutable_data_id()->::yb::tserver::DataIdPB::MergeFrom(from.data_id());
3204
0
    }
3205
0
    if (cached_has_bits & 0x00000004u) {
3206
0
      offset_ = from.offset_;
3207
0
    }
3208
0
    if (cached_has_bits & 0x00000008u) {
3209
0
      max_length_ = from.max_length_;
3210
0
    }
3211
0
    _has_bits_[0] |= cached_has_bits;
3212
0
  }
3213
0
}
3214
3215
0
void FetchDataRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
3216
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.FetchDataRequestPB)
3217
0
  if (&from == this) return;
3218
0
  Clear();
3219
0
  MergeFrom(from);
3220
0
}
3221
3222
0
void FetchDataRequestPB::CopyFrom(const FetchDataRequestPB& from) {
3223
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.FetchDataRequestPB)
3224
0
  if (&from == this) return;
3225
0
  Clear();
3226
0
  MergeFrom(from);
3227
0
}
3228
3229
11.6k
bool FetchDataRequestPB::IsInitialized() const {
3230
11.6k
  if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
3231
11.6k
  if (has_data_id()) {
3232
11.6k
    if (!this->data_id_->IsInitialized()) return false;
3233
11.6k
  }
3234
11.6k
  return true;
3235
11.6k
}
3236
3237
0
void FetchDataRequestPB::Swap(FetchDataRequestPB* other) {
3238
0
  if (other == this) return;
3239
0
  InternalSwap(other);
3240
0
}
3241
0
void FetchDataRequestPB::InternalSwap(FetchDataRequestPB* other) {
3242
0
  using std::swap;
3243
0
  session_id_.Swap(&other->session_id_);
3244
0
  swap(data_id_, other->data_id_);
3245
0
  swap(offset_, other->offset_);
3246
0
  swap(max_length_, other->max_length_);
3247
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3248
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3249
0
  swap(_cached_size_, other->_cached_size_);
3250
0
}
3251
3252
5.83k
::google::protobuf::Metadata FetchDataRequestPB::GetMetadata() const {
3253
5.83k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
3254
5.83k
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
3255
5.83k
}
3256
3257
3258
// ===================================================================
3259
3260
15.8k
void DataChunkPB::InitAsDefaultInstance() {
3261
15.8k
}
3262
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3263
const int DataChunkPB::kOffsetFieldNumber;
3264
const int DataChunkPB::kDataFieldNumber;
3265
const int DataChunkPB::kCrc32FieldNumber;
3266
const int DataChunkPB::kTotalDataLengthFieldNumber;
3267
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3268
3269
DataChunkPB::DataChunkPB()
3270
25.4k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3271
9.65k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3272
9.65k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsDataChunkPB();
3273
9.65k
  }
3274
25.4k
  SharedCtor();
3275
  // @@protoc_insertion_point(constructor:yb.tserver.DataChunkPB)
3276
25.4k
}
3277
DataChunkPB::DataChunkPB(const DataChunkPB& from)
3278
  : ::google::protobuf::Message(),
3279
      _internal_metadata_(NULL),
3280
      _has_bits_(from._has_bits_),
3281
0
      _cached_size_(0) {
3282
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3283
0
  data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3284
0
  if (from.has_data()) {
3285
0
    data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_);
3286
0
  }
3287
0
  ::memcpy(&offset_, &from.offset_,
3288
0
    static_cast<size_t>(reinterpret_cast<char*>(&crc32_) -
3289
0
    reinterpret_cast<char*>(&offset_)) + sizeof(crc32_));
3290
  // @@protoc_insertion_point(copy_constructor:yb.tserver.DataChunkPB)
3291
0
}
3292
3293
25.4k
void DataChunkPB::SharedCtor() {
3294
25.4k
  _cached_size_ = 0;
3295
25.4k
  data_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3296
25.4k
  ::memset(&offset_, 0, static_cast<size_t>(
3297
25.4k
      reinterpret_cast<char*>(&crc32_) -
3298
25.4k
      reinterpret_cast<char*>(&offset_)) + sizeof(crc32_));
3299
25.4k
}
3300
3301
9.65k
DataChunkPB::~DataChunkPB() {
3302
  // @@protoc_insertion_point(destructor:yb.tserver.DataChunkPB)
3303
9.65k
  SharedDtor();
3304
9.65k
}
3305
3306
9.65k
void DataChunkPB::SharedDtor() {
3307
9.65k
  data_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3308
9.65k
}
3309
3310
0
void DataChunkPB::SetCachedSize(int size) const {
3311
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3312
0
  _cached_size_ = size;
3313
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3314
0
}
3315
0
const ::google::protobuf::Descriptor* DataChunkPB::descriptor() {
3316
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
3317
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3318
0
}
3319
3320
0
const DataChunkPB& DataChunkPB::default_instance() {
3321
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsDataChunkPB();
3322
0
  return *internal_default_instance();
3323
0
}
3324
3325
0
DataChunkPB* DataChunkPB::New(::google::protobuf::Arena* arena) const {
3326
0
  DataChunkPB* n = new DataChunkPB;
3327
0
  if (arena != NULL) {
3328
0
    arena->Own(n);
3329
0
  }
3330
0
  return n;
3331
0
}
3332
3333
0
void DataChunkPB::Clear() {
3334
// @@protoc_insertion_point(message_clear_start:yb.tserver.DataChunkPB)
3335
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3336
  // Prevent compiler warnings about cached_has_bits being unused
3337
0
  (void) cached_has_bits;
3338
3339
0
  cached_has_bits = _has_bits_[0];
3340
0
  if (cached_has_bits & 0x00000001u) {
3341
0
    GOOGLE_DCHECK(!data_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
3342
0
    (*data_.UnsafeRawStringPointer())->clear();
3343
0
  }
3344
0
  if (cached_has_bits & 14u) {
3345
0
    ::memset(&offset_, 0, static_cast<size_t>(
3346
0
        reinterpret_cast<char*>(&crc32_) -
3347
0
        reinterpret_cast<char*>(&offset_)) + sizeof(crc32_));
3348
0
  }
3349
0
  _has_bits_.Clear();
3350
0
  _internal_metadata_.Clear();
3351
0
}
3352
3353
bool DataChunkPB::MergePartialFromCodedStream(
3354
4.82k
    ::google::protobuf::io::CodedInputStream* input) {
3355
19.3k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3356
4.82k
  ::google::protobuf::uint32 tag;
3357
  // @@protoc_insertion_point(parse_start:yb.tserver.DataChunkPB)
3358
24.1k
  for (;;) {
3359
24.1k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3360
24.1k
    tag = p.first;
3361
24.1k
    if (!p.second) goto handle_unusual;
3362
19.3k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3363
      // required uint64 offset = 1;
3364
4.82k
      case 1: {
3365
4.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3366
4.82k
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
3367
4.82k
          set_has_offset();
3368
4.82k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3369
4.82k
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
3370
4.82k
                 input, &offset_)));
3371
0
        } else {
3372
0
          goto handle_unusual;
3373
0
        }
3374
4.82k
        break;
3375
4.82k
      }
3376
3377
      // required bytes data = 2;
3378
4.82k
      case 2: {
3379
4.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3380
4.82k
            static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {
3381
4.82k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3382
4.82k
                input, this->mutable_data()));
3383
18.4E
        } else {
3384
18.4E
          goto handle_unusual;
3385
18.4E
        }
3386
4.82k
        break;
3387
4.82k
      }
3388
3389
      // required fixed32 crc32 = 3;
3390
4.82k
      case 3: {
3391
4.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3392
4.82k
            static_cast< ::google::protobuf::uint8>(29u /* 29 & 0xFF */)) {
3393
4.82k
          set_has_crc32();
3394
4.82k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3395
4.82k
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>(
3396
4.82k
                 input, &crc32_)));
3397
2
        } else {
3398
2
          goto handle_unusual;
3399
2
        }
3400
4.82k
        break;
3401
4.82k
      }
3402
3403
      // required int64 total_data_length = 4;
3404
4.82k
      case 4: {
3405
4.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3406
4.82k
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
3407
4.82k
          set_has_total_data_length();
3408
4.82k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3409
4.82k
                   ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
3410
4.82k
                 input, &total_data_length_)));
3411
0
        } else {
3412
0
          goto handle_unusual;
3413
0
        }
3414
4.82k
        break;
3415
4.82k
      }
3416
3417
0
      default: {
3418
4.82k
      handle_unusual:
3419
4.82k
        if (tag == 0) {
3420
4.82k
          goto success;
3421
4.82k
        }
3422
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3423
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3424
0
        break;
3425
0
      }
3426
19.3k
    }
3427
19.3k
  }
3428
4.82k
success:
3429
  // @@protoc_insertion_point(parse_success:yb.tserver.DataChunkPB)
3430
4.82k
  return true;
3431
0
failure:
3432
  // @@protoc_insertion_point(parse_failure:yb.tserver.DataChunkPB)
3433
0
  return false;
3434
4.82k
#undef DO_
3435
4.82k
}
3436
3437
void DataChunkPB::SerializeWithCachedSizes(
3438
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3439
  // @@protoc_insertion_point(serialize_start:yb.tserver.DataChunkPB)
3440
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3441
0
  (void) cached_has_bits;
3442
3443
0
  cached_has_bits = _has_bits_[0];
3444
  // required uint64 offset = 1;
3445
0
  if (cached_has_bits & 0x00000002u) {
3446
0
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->offset(), output);
3447
0
  }
3448
3449
  // required bytes data = 2;
3450
0
  if (cached_has_bits & 0x00000001u) {
3451
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3452
0
      2, this->data(), output);
3453
0
  }
3454
3455
  // required fixed32 crc32 = 3;
3456
0
  if (cached_has_bits & 0x00000008u) {
3457
0
    ::google::protobuf::internal::WireFormatLite::WriteFixed32(3, this->crc32(), output);
3458
0
  }
3459
3460
  // required int64 total_data_length = 4;
3461
0
  if (cached_has_bits & 0x00000004u) {
3462
0
    ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->total_data_length(), output);
3463
0
  }
3464
3465
0
  if (_internal_metadata_.have_unknown_fields()) {
3466
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3467
0
        _internal_metadata_.unknown_fields(), output);
3468
0
  }
3469
  // @@protoc_insertion_point(serialize_end:yb.tserver.DataChunkPB)
3470
0
}
3471
3472
::google::protobuf::uint8* DataChunkPB::InternalSerializeWithCachedSizesToArray(
3473
4.82k
    bool deterministic, ::google::protobuf::uint8* target) const {
3474
4.82k
  (void)deterministic; // Unused
3475
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.DataChunkPB)
3476
4.82k
  ::google::protobuf::uint32 cached_has_bits = 0;
3477
4.82k
  (void) cached_has_bits;
3478
3479
4.82k
  cached_has_bits = _has_bits_[0];
3480
  // required uint64 offset = 1;
3481
4.82k
  if (cached_has_bits & 0x00000002u) {
3482
4.82k
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->offset(), target);
3483
4.82k
  }
3484
3485
  // required bytes data = 2;
3486
4.82k
  if (cached_has_bits & 0x00000001u) {
3487
4.82k
    target =
3488
4.82k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
3489
4.82k
        2, this->data(), target);
3490
4.82k
  }
3491
3492
  // required fixed32 crc32 = 3;
3493
4.82k
  if (cached_has_bits & 0x00000008u) {
3494
4.82k
    target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(3, this->crc32(), target);
3495
4.82k
  }
3496
3497
  // required int64 total_data_length = 4;
3498
4.82k
  if (cached_has_bits & 0x00000004u) {
3499
4.82k
    target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->total_data_length(), target);
3500
4.82k
  }
3501
3502
4.82k
  if (_internal_metadata_.have_unknown_fields()) {
3503
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3504
0
        _internal_metadata_.unknown_fields(), target);
3505
0
  }
3506
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.DataChunkPB)
3507
4.82k
  return target;
3508
4.82k
}
3509
3510
0
size_t DataChunkPB::RequiredFieldsByteSizeFallback() const {
3511
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.DataChunkPB)
3512
0
  size_t total_size = 0;
3513
3514
0
  if (has_data()) {
3515
    // required bytes data = 2;
3516
0
    total_size += 1 +
3517
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
3518
0
        this->data());
3519
0
  }
3520
3521
0
  if (has_offset()) {
3522
    // required uint64 offset = 1;
3523
0
    total_size += 1 +
3524
0
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
3525
0
        this->offset());
3526
0
  }
3527
3528
0
  if (has_total_data_length()) {
3529
    // required int64 total_data_length = 4;
3530
0
    total_size += 1 +
3531
0
      ::google::protobuf::internal::WireFormatLite::Int64Size(
3532
0
        this->total_data_length());
3533
0
  }
3534
3535
0
  if (has_crc32()) {
3536
    // required fixed32 crc32 = 3;
3537
0
    total_size += 1 + 4;
3538
0
  }
3539
3540
0
  return total_size;
3541
0
}
3542
14.4k
size_t DataChunkPB::ByteSizeLong() const {
3543
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.DataChunkPB)
3544
14.4k
  size_t total_size = 0;
3545
3546
14.4k
  if (_internal_metadata_.have_unknown_fields()) {
3547
0
    total_size +=
3548
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3549
0
        _internal_metadata_.unknown_fields());
3550
0
  }
3551
14.4k
  if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) {  // All required fields are present.
3552
    // required bytes data = 2;
3553
14.4k
    total_size += 1 +
3554
14.4k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
3555
14.4k
        this->data());
3556
3557
    // required uint64 offset = 1;
3558
14.4k
    total_size += 1 +
3559
14.4k
      ::google::protobuf::internal::WireFormatLite::UInt64Size(
3560
14.4k
        this->offset());
3561
3562
    // required int64 total_data_length = 4;
3563
14.4k
    total_size += 1 +
3564
14.4k
      ::google::protobuf::internal::WireFormatLite::Int64Size(
3565
14.4k
        this->total_data_length());
3566
3567
    // required fixed32 crc32 = 3;
3568
14.4k
    total_size += 1 + 4;
3569
3570
0
  } else {
3571
0
    total_size += RequiredFieldsByteSizeFallback();
3572
0
  }
3573
14.4k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3574
14.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3575
14.4k
  _cached_size_ = cached_size;
3576
14.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3577
14.4k
  return total_size;
3578
14.4k
}
3579
3580
0
void DataChunkPB::MergeFrom(const ::google::protobuf::Message& from) {
3581
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.DataChunkPB)
3582
0
  GOOGLE_DCHECK_NE(&from, this);
3583
0
  const DataChunkPB* source =
3584
0
      ::google::protobuf::internal::DynamicCastToGenerated<const DataChunkPB>(
3585
0
          &from);
3586
0
  if (source == NULL) {
3587
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.DataChunkPB)
3588
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3589
0
  } else {
3590
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.DataChunkPB)
3591
0
    MergeFrom(*source);
3592
0
  }
3593
0
}
3594
3595
0
void DataChunkPB::MergeFrom(const DataChunkPB& from) {
3596
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.DataChunkPB)
3597
0
  GOOGLE_DCHECK_NE(&from, this);
3598
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3599
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3600
0
  (void) cached_has_bits;
3601
3602
0
  cached_has_bits = from._has_bits_[0];
3603
0
  if (cached_has_bits & 15u) {
3604
0
    if (cached_has_bits & 0x00000001u) {
3605
0
      set_has_data();
3606
0
      data_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.data_);
3607
0
    }
3608
0
    if (cached_has_bits & 0x00000002u) {
3609
0
      offset_ = from.offset_;
3610
0
    }
3611
0
    if (cached_has_bits & 0x00000004u) {
3612
0
      total_data_length_ = from.total_data_length_;
3613
0
    }
3614
0
    if (cached_has_bits & 0x00000008u) {
3615
0
      crc32_ = from.crc32_;
3616
0
    }
3617
0
    _has_bits_[0] |= cached_has_bits;
3618
0
  }
3619
0
}
3620
3621
0
void DataChunkPB::CopyFrom(const ::google::protobuf::Message& from) {
3622
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.DataChunkPB)
3623
0
  if (&from == this) return;
3624
0
  Clear();
3625
0
  MergeFrom(from);
3626
0
}
3627
3628
0
void DataChunkPB::CopyFrom(const DataChunkPB& from) {
3629
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.DataChunkPB)
3630
0
  if (&from == this) return;
3631
0
  Clear();
3632
0
  MergeFrom(from);
3633
0
}
3634
3635
9.65k
bool DataChunkPB::IsInitialized() const {
3636
9.65k
  if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
3637
9.65k
  return true;
3638
9.65k
}
3639
3640
0
void DataChunkPB::Swap(DataChunkPB* other) {
3641
0
  if (other == this) return;
3642
0
  InternalSwap(other);
3643
0
}
3644
0
void DataChunkPB::InternalSwap(DataChunkPB* other) {
3645
0
  using std::swap;
3646
0
  data_.Swap(&other->data_);
3647
0
  swap(offset_, other->offset_);
3648
0
  swap(total_data_length_, other->total_data_length_);
3649
0
  swap(crc32_, other->crc32_);
3650
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3651
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3652
0
  swap(_cached_size_, other->_cached_size_);
3653
0
}
3654
3655
0
::google::protobuf::Metadata DataChunkPB::GetMetadata() const {
3656
0
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
3657
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
3658
0
}
3659
3660
3661
// ===================================================================
3662
3663
15.8k
void FetchDataResponsePB::InitAsDefaultInstance() {
3664
15.8k
  ::yb::tserver::_FetchDataResponsePB_default_instance_._instance.get_mutable()->chunk_ = const_cast< ::yb::tserver::DataChunkPB*>(
3665
15.8k
      ::yb::tserver::DataChunkPB::internal_default_instance());
3666
15.8k
}
3667
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3668
const int FetchDataResponsePB::kChunkFieldNumber;
3669
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3670
3671
FetchDataResponsePB::FetchDataResponsePB()
3672
27.5k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3673
11.6k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3674
11.6k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsFetchDataResponsePB();
3675
11.6k
  }
3676
27.5k
  SharedCtor();
3677
  // @@protoc_insertion_point(constructor:yb.tserver.FetchDataResponsePB)
3678
27.5k
}
3679
FetchDataResponsePB::FetchDataResponsePB(const FetchDataResponsePB& from)
3680
  : ::google::protobuf::Message(),
3681
      _internal_metadata_(NULL),
3682
      _has_bits_(from._has_bits_),
3683
0
      _cached_size_(0) {
3684
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3685
0
  if (from.has_chunk()) {
3686
0
    chunk_ = new ::yb::tserver::DataChunkPB(*from.chunk_);
3687
0
  } else {
3688
0
    chunk_ = NULL;
3689
0
  }
3690
  // @@protoc_insertion_point(copy_constructor:yb.tserver.FetchDataResponsePB)
3691
0
}
3692
3693
27.5k
void FetchDataResponsePB::SharedCtor() {
3694
27.5k
  _cached_size_ = 0;
3695
27.5k
  chunk_ = NULL;
3696
27.5k
}
3697
3698
11.6k
FetchDataResponsePB::~FetchDataResponsePB() {
3699
  // @@protoc_insertion_point(destructor:yb.tserver.FetchDataResponsePB)
3700
11.6k
  SharedDtor();
3701
11.6k
}
3702
3703
11.6k
void FetchDataResponsePB::SharedDtor() {
3704
11.6k
  if (this != internal_default_instance()) delete chunk_;
3705
11.6k
}
3706
3707
0
void FetchDataResponsePB::SetCachedSize(int size) const {
3708
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3709
0
  _cached_size_ = size;
3710
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3711
0
}
3712
0
const ::google::protobuf::Descriptor* FetchDataResponsePB::descriptor() {
3713
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
3714
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3715
0
}
3716
3717
0
const FetchDataResponsePB& FetchDataResponsePB::default_instance() {
3718
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsFetchDataResponsePB();
3719
0
  return *internal_default_instance();
3720
0
}
3721
3722
0
FetchDataResponsePB* FetchDataResponsePB::New(::google::protobuf::Arena* arena) const {
3723
0
  FetchDataResponsePB* n = new FetchDataResponsePB;
3724
0
  if (arena != NULL) {
3725
0
    arena->Own(n);
3726
0
  }
3727
0
  return n;
3728
0
}
3729
3730
4.82k
void FetchDataResponsePB::Clear() {
3731
// @@protoc_insertion_point(message_clear_start:yb.tserver.FetchDataResponsePB)
3732
4.82k
  ::google::protobuf::uint32 cached_has_bits = 0;
3733
  // Prevent compiler warnings about cached_has_bits being unused
3734
4.82k
  (void) cached_has_bits;
3735
3736
4.82k
  cached_has_bits = _has_bits_[0];
3737
4.82k
  if (cached_has_bits & 0x00000001u) {
3738
0
    GOOGLE_DCHECK(chunk_ != NULL);
3739
0
    chunk_->Clear();
3740
0
  }
3741
4.82k
  _has_bits_.Clear();
3742
4.82k
  _internal_metadata_.Clear();
3743
4.82k
}
3744
3745
bool FetchDataResponsePB::MergePartialFromCodedStream(
3746
4.82k
    ::google::protobuf::io::CodedInputStream* input) {
3747
4.82k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
3748
4.82k
  ::google::protobuf::uint32 tag;
3749
  // @@protoc_insertion_point(parse_start:yb.tserver.FetchDataResponsePB)
3750
9.65k
  for (;;) {
3751
9.65k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
3752
9.65k
    tag = p.first;
3753
9.65k
    if (!p.second) goto handle_unusual;
3754
4.82k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3755
      // required .yb.tserver.DataChunkPB chunk = 1;
3756
4.82k
      case 1: {
3757
4.82k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
3758
4.82k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
3759
4.82k
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
3760
4.82k
               input, mutable_chunk()));
3761
18.4E
        } else {
3762
18.4E
          goto handle_unusual;
3763
18.4E
        }
3764
4.82k
        break;
3765
4.82k
      }
3766
3767
0
      default: {
3768
4.82k
      handle_unusual:
3769
4.82k
        if (tag == 0) {
3770
4.82k
          goto success;
3771
4.82k
        }
3772
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
3773
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
3774
0
        break;
3775
0
      }
3776
4.82k
    }
3777
4.82k
  }
3778
4.82k
success:
3779
  // @@protoc_insertion_point(parse_success:yb.tserver.FetchDataResponsePB)
3780
4.82k
  return true;
3781
0
failure:
3782
  // @@protoc_insertion_point(parse_failure:yb.tserver.FetchDataResponsePB)
3783
0
  return false;
3784
4.82k
#undef DO_
3785
4.82k
}
3786
3787
void FetchDataResponsePB::SerializeWithCachedSizes(
3788
0
    ::google::protobuf::io::CodedOutputStream* output) const {
3789
  // @@protoc_insertion_point(serialize_start:yb.tserver.FetchDataResponsePB)
3790
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3791
0
  (void) cached_has_bits;
3792
3793
0
  cached_has_bits = _has_bits_[0];
3794
  // required .yb.tserver.DataChunkPB chunk = 1;
3795
0
  if (cached_has_bits & 0x00000001u) {
3796
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
3797
0
      1, *this->chunk_, output);
3798
0
  }
3799
3800
0
  if (_internal_metadata_.have_unknown_fields()) {
3801
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
3802
0
        _internal_metadata_.unknown_fields(), output);
3803
0
  }
3804
  // @@protoc_insertion_point(serialize_end:yb.tserver.FetchDataResponsePB)
3805
0
}
3806
3807
::google::protobuf::uint8* FetchDataResponsePB::InternalSerializeWithCachedSizesToArray(
3808
4.82k
    bool deterministic, ::google::protobuf::uint8* target) const {
3809
4.82k
  (void)deterministic; // Unused
3810
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.FetchDataResponsePB)
3811
4.82k
  ::google::protobuf::uint32 cached_has_bits = 0;
3812
4.82k
  (void) cached_has_bits;
3813
3814
4.82k
  cached_has_bits = _has_bits_[0];
3815
  // required .yb.tserver.DataChunkPB chunk = 1;
3816
4.82k
  if (cached_has_bits & 0x00000001u) {
3817
4.82k
    target = ::google::protobuf::internal::WireFormatLite::
3818
4.82k
      InternalWriteMessageToArray(
3819
4.82k
        1, *this->chunk_, deterministic, target);
3820
4.82k
  }
3821
3822
4.82k
  if (_internal_metadata_.have_unknown_fields()) {
3823
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
3824
0
        _internal_metadata_.unknown_fields(), target);
3825
0
  }
3826
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.FetchDataResponsePB)
3827
4.82k
  return target;
3828
4.82k
}
3829
3830
14.4k
size_t FetchDataResponsePB::ByteSizeLong() const {
3831
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.FetchDataResponsePB)
3832
14.4k
  size_t total_size = 0;
3833
3834
14.4k
  if (_internal_metadata_.have_unknown_fields()) {
3835
0
    total_size +=
3836
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
3837
0
        _internal_metadata_.unknown_fields());
3838
0
  }
3839
  // required .yb.tserver.DataChunkPB chunk = 1;
3840
14.4k
  if (has_chunk()) {
3841
14.4k
    total_size += 1 +
3842
14.4k
      ::google::protobuf::internal::WireFormatLite::MessageSize(
3843
14.4k
        *this->chunk_);
3844
14.4k
  }
3845
14.4k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
3846
14.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3847
14.4k
  _cached_size_ = cached_size;
3848
14.4k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3849
14.4k
  return total_size;
3850
14.4k
}
3851
3852
0
void FetchDataResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
3853
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.FetchDataResponsePB)
3854
0
  GOOGLE_DCHECK_NE(&from, this);
3855
0
  const FetchDataResponsePB* source =
3856
0
      ::google::protobuf::internal::DynamicCastToGenerated<const FetchDataResponsePB>(
3857
0
          &from);
3858
0
  if (source == NULL) {
3859
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.FetchDataResponsePB)
3860
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
3861
0
  } else {
3862
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.FetchDataResponsePB)
3863
0
    MergeFrom(*source);
3864
0
  }
3865
0
}
3866
3867
0
void FetchDataResponsePB::MergeFrom(const FetchDataResponsePB& from) {
3868
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.FetchDataResponsePB)
3869
0
  GOOGLE_DCHECK_NE(&from, this);
3870
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3871
0
  ::google::protobuf::uint32 cached_has_bits = 0;
3872
0
  (void) cached_has_bits;
3873
3874
0
  if (from.has_chunk()) {
3875
0
    mutable_chunk()->::yb::tserver::DataChunkPB::MergeFrom(from.chunk());
3876
0
  }
3877
0
}
3878
3879
0
void FetchDataResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
3880
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.FetchDataResponsePB)
3881
0
  if (&from == this) return;
3882
0
  Clear();
3883
0
  MergeFrom(from);
3884
0
}
3885
3886
0
void FetchDataResponsePB::CopyFrom(const FetchDataResponsePB& from) {
3887
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.FetchDataResponsePB)
3888
0
  if (&from == this) return;
3889
0
  Clear();
3890
0
  MergeFrom(from);
3891
0
}
3892
3893
9.65k
bool FetchDataResponsePB::IsInitialized() const {
3894
9.65k
  if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
3895
9.65k
  if (has_chunk()) {
3896
9.64k
    if (!this->chunk_->IsInitialized()) return false;
3897
9.65k
  }
3898
9.65k
  return true;
3899
9.65k
}
3900
3901
0
void FetchDataResponsePB::Swap(FetchDataResponsePB* other) {
3902
0
  if (other == this) return;
3903
0
  InternalSwap(other);
3904
0
}
3905
0
void FetchDataResponsePB::InternalSwap(FetchDataResponsePB* other) {
3906
0
  using std::swap;
3907
0
  swap(chunk_, other->chunk_);
3908
0
  swap(_has_bits_[0], other->_has_bits_[0]);
3909
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
3910
0
  swap(_cached_size_, other->_cached_size_);
3911
0
}
3912
3913
0
::google::protobuf::Metadata FetchDataResponsePB::GetMetadata() const {
3914
0
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
3915
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
3916
0
}
3917
3918
3919
// ===================================================================
3920
3921
15.8k
void EndRemoteBootstrapSessionRequestPB::InitAsDefaultInstance() {
3922
15.8k
  ::yb::tserver::_EndRemoteBootstrapSessionRequestPB_default_instance_._instance.get_mutable()->error_ = const_cast< ::yb::AppStatusPB*>(
3923
15.8k
      ::yb::AppStatusPB::internal_default_instance());
3924
15.8k
}
3925
0
void EndRemoteBootstrapSessionRequestPB::clear_error() {
3926
0
  if (error_ != NULL) error_->Clear();
3927
0
  clear_has_error();
3928
0
}
3929
#if !defined(_MSC_VER) || _MSC_VER >= 1900
3930
const int EndRemoteBootstrapSessionRequestPB::kSessionIdFieldNumber;
3931
const int EndRemoteBootstrapSessionRequestPB::kIsSuccessFieldNumber;
3932
const int EndRemoteBootstrapSessionRequestPB::kErrorFieldNumber;
3933
const int EndRemoteBootstrapSessionRequestPB::kKeepSessionFieldNumber;
3934
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
3935
3936
EndRemoteBootstrapSessionRequestPB::EndRemoteBootstrapSessionRequestPB()
3937
17.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
3938
2.00k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
3939
2.00k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsEndRemoteBootstrapSessionRequestPB();
3940
2.00k
  }
3941
17.8k
  SharedCtor();
3942
  // @@protoc_insertion_point(constructor:yb.tserver.EndRemoteBootstrapSessionRequestPB)
3943
17.8k
}
3944
EndRemoteBootstrapSessionRequestPB::EndRemoteBootstrapSessionRequestPB(const EndRemoteBootstrapSessionRequestPB& from)
3945
  : ::google::protobuf::Message(),
3946
      _internal_metadata_(NULL),
3947
      _has_bits_(from._has_bits_),
3948
0
      _cached_size_(0) {
3949
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
3950
0
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3951
0
  if (from.has_session_id()) {
3952
0
    session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
3953
0
  }
3954
0
  if (from.has_error()) {
3955
0
    error_ = new ::yb::AppStatusPB(*from.error_);
3956
0
  } else {
3957
0
    error_ = NULL;
3958
0
  }
3959
0
  ::memcpy(&is_success_, &from.is_success_,
3960
0
    static_cast<size_t>(reinterpret_cast<char*>(&keep_session_) -
3961
0
    reinterpret_cast<char*>(&is_success_)) + sizeof(keep_session_));
3962
  // @@protoc_insertion_point(copy_constructor:yb.tserver.EndRemoteBootstrapSessionRequestPB)
3963
0
}
3964
3965
17.8k
void EndRemoteBootstrapSessionRequestPB::SharedCtor() {
3966
17.8k
  _cached_size_ = 0;
3967
17.8k
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3968
17.8k
  ::memset(&error_, 0, static_cast<size_t>(
3969
17.8k
      reinterpret_cast<char*>(&keep_session_) -
3970
17.8k
      reinterpret_cast<char*>(&error_)) + sizeof(keep_session_));
3971
17.8k
}
3972
3973
2.00k
EndRemoteBootstrapSessionRequestPB::~EndRemoteBootstrapSessionRequestPB() {
3974
  // @@protoc_insertion_point(destructor:yb.tserver.EndRemoteBootstrapSessionRequestPB)
3975
2.00k
  SharedDtor();
3976
2.00k
}
3977
3978
2.00k
void EndRemoteBootstrapSessionRequestPB::SharedDtor() {
3979
2.00k
  session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3980
2.00k
  if (this != internal_default_instance()) delete error_;
3981
2.00k
}
3982
3983
0
void EndRemoteBootstrapSessionRequestPB::SetCachedSize(int size) const {
3984
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3985
0
  _cached_size_ = size;
3986
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
3987
0
}
3988
0
const ::google::protobuf::Descriptor* EndRemoteBootstrapSessionRequestPB::descriptor() {
3989
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
3990
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
3991
0
}
3992
3993
0
const EndRemoteBootstrapSessionRequestPB& EndRemoteBootstrapSessionRequestPB::default_instance() {
3994
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsEndRemoteBootstrapSessionRequestPB();
3995
0
  return *internal_default_instance();
3996
0
}
3997
3998
0
EndRemoteBootstrapSessionRequestPB* EndRemoteBootstrapSessionRequestPB::New(::google::protobuf::Arena* arena) const {
3999
0
  EndRemoteBootstrapSessionRequestPB* n = new EndRemoteBootstrapSessionRequestPB;
4000
0
  if (arena != NULL) {
4001
0
    arena->Own(n);
4002
0
  }
4003
0
  return n;
4004
0
}
4005
4006
1.00k
void EndRemoteBootstrapSessionRequestPB::Clear() {
4007
// @@protoc_insertion_point(message_clear_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4008
1.00k
  ::google::protobuf::uint32 cached_has_bits = 0;
4009
  // Prevent compiler warnings about cached_has_bits being unused
4010
1.00k
  (void) cached_has_bits;
4011
4012
1.00k
  cached_has_bits = _has_bits_[0];
4013
1.00k
  if (cached_has_bits & 3u) {
4014
0
    if (cached_has_bits & 0x00000001u) {
4015
0
      GOOGLE_DCHECK(!session_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4016
0
      (*session_id_.UnsafeRawStringPointer())->clear();
4017
0
    }
4018
0
    if (cached_has_bits & 0x00000002u) {
4019
0
      GOOGLE_DCHECK(error_ != NULL);
4020
0
      error_->Clear();
4021
0
    }
4022
0
  }
4023
1.00k
  ::memset(&is_success_, 0, static_cast<size_t>(
4024
1.00k
      reinterpret_cast<char*>(&keep_session_) -
4025
1.00k
      reinterpret_cast<char*>(&is_success_)) + sizeof(keep_session_));
4026
1.00k
  _has_bits_.Clear();
4027
1.00k
  _internal_metadata_.Clear();
4028
1.00k
}
4029
4030
bool EndRemoteBootstrapSessionRequestPB::MergePartialFromCodedStream(
4031
1.00k
    ::google::protobuf::io::CodedInputStream* input) {
4032
3.00k
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4033
1.00k
  ::google::protobuf::uint32 tag;
4034
  // @@protoc_insertion_point(parse_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4035
3.99k
  for (;;) {
4036
3.99k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4037
3.99k
    tag = p.first;
4038
3.99k
    if (!p.second) goto handle_unusual;
4039
2.99k
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4040
      // required bytes session_id = 1;
4041
1.00k
      case 1: {
4042
1.00k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4043
1.00k
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4044
1.00k
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4045
1.00k
                input, this->mutable_session_id()));
4046
0
        } else {
4047
0
          goto handle_unusual;
4048
0
        }
4049
1.00k
        break;
4050
1.00k
      }
4051
4052
      // required bool is_success = 2;
4053
1.00k
      case 2: {
4054
1.00k
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4055
1.00k
            static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
4056
1.00k
          set_has_is_success();
4057
1.00k
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4058
1.00k
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4059
1.00k
                 input, &is_success_)));
4060
0
        } else {
4061
0
          goto handle_unusual;
4062
0
        }
4063
1.00k
        break;
4064
1.00k
      }
4065
4066
      // optional .yb.AppStatusPB error = 3;
4067
0
      case 3: {
4068
0
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4069
0
            static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) {
4070
0
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
4071
0
               input, mutable_error()));
4072
0
        } else {
4073
0
          goto handle_unusual;
4074
0
        }
4075
0
        break;
4076
0
      }
4077
4078
      // optional bool keep_session = 4 [default = false];
4079
998
      case 4: {
4080
998
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4081
998
            static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) {
4082
998
          set_has_keep_session();
4083
998
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4084
998
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4085
998
                 input, &keep_session_)));
4086
0
        } else {
4087
0
          goto handle_unusual;
4088
0
        }
4089
998
        break;
4090
1.00k
      }
4091
4092
0
      default: {
4093
1.00k
      handle_unusual:
4094
1.00k
        if (tag == 0) {
4095
1.00k
          goto success;
4096
1.00k
        }
4097
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4098
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4099
0
        break;
4100
0
      }
4101
2.99k
    }
4102
2.99k
  }
4103
1.00k
success:
4104
  // @@protoc_insertion_point(parse_success:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4105
1.00k
  return true;
4106
0
failure:
4107
  // @@protoc_insertion_point(parse_failure:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4108
0
  return false;
4109
1.00k
#undef DO_
4110
1.00k
}
4111
4112
void EndRemoteBootstrapSessionRequestPB::SerializeWithCachedSizes(
4113
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4114
  // @@protoc_insertion_point(serialize_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4115
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4116
0
  (void) cached_has_bits;
4117
4118
0
  cached_has_bits = _has_bits_[0];
4119
  // required bytes session_id = 1;
4120
0
  if (cached_has_bits & 0x00000001u) {
4121
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4122
0
      1, this->session_id(), output);
4123
0
  }
4124
4125
  // required bool is_success = 2;
4126
0
  if (cached_has_bits & 0x00000004u) {
4127
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->is_success(), output);
4128
0
  }
4129
4130
  // optional .yb.AppStatusPB error = 3;
4131
0
  if (cached_has_bits & 0x00000002u) {
4132
0
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
4133
0
      3, *this->error_, output);
4134
0
  }
4135
4136
  // optional bool keep_session = 4 [default = false];
4137
0
  if (cached_has_bits & 0x00000008u) {
4138
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->keep_session(), output);
4139
0
  }
4140
4141
0
  if (_internal_metadata_.have_unknown_fields()) {
4142
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4143
0
        _internal_metadata_.unknown_fields(), output);
4144
0
  }
4145
  // @@protoc_insertion_point(serialize_end:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4146
0
}
4147
4148
::google::protobuf::uint8* EndRemoteBootstrapSessionRequestPB::InternalSerializeWithCachedSizesToArray(
4149
1.00k
    bool deterministic, ::google::protobuf::uint8* target) const {
4150
1.00k
  (void)deterministic; // Unused
4151
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4152
1.00k
  ::google::protobuf::uint32 cached_has_bits = 0;
4153
1.00k
  (void) cached_has_bits;
4154
4155
1.00k
  cached_has_bits = _has_bits_[0];
4156
  // required bytes session_id = 1;
4157
1.00k
  if (cached_has_bits & 0x00000001u) {
4158
1.00k
    target =
4159
1.00k
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4160
1.00k
        1, this->session_id(), target);
4161
1.00k
  }
4162
4163
  // required bool is_success = 2;
4164
1.00k
  if (cached_has_bits & 0x00000004u) {
4165
1.00k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->is_success(), target);
4166
1.00k
  }
4167
4168
  // optional .yb.AppStatusPB error = 3;
4169
1.00k
  if (cached_has_bits & 0x00000002u) {
4170
0
    target = ::google::protobuf::internal::WireFormatLite::
4171
0
      InternalWriteMessageToArray(
4172
0
        3, *this->error_, deterministic, target);
4173
0
  }
4174
4175
  // optional bool keep_session = 4 [default = false];
4176
1.00k
  if (cached_has_bits & 0x00000008u) {
4177
1.00k
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->keep_session(), target);
4178
1.00k
  }
4179
4180
1.00k
  if (_internal_metadata_.have_unknown_fields()) {
4181
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4182
0
        _internal_metadata_.unknown_fields(), target);
4183
0
  }
4184
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4185
1.00k
  return target;
4186
1.00k
}
4187
4188
0
size_t EndRemoteBootstrapSessionRequestPB::RequiredFieldsByteSizeFallback() const {
4189
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4190
0
  size_t total_size = 0;
4191
4192
0
  if (has_session_id()) {
4193
    // required bytes session_id = 1;
4194
0
    total_size += 1 +
4195
0
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4196
0
        this->session_id());
4197
0
  }
4198
4199
0
  if (has_is_success()) {
4200
    // required bool is_success = 2;
4201
0
    total_size += 1 + 1;
4202
0
  }
4203
4204
0
  return total_size;
4205
0
}
4206
2.01k
size_t EndRemoteBootstrapSessionRequestPB::ByteSizeLong() const {
4207
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4208
2.01k
  size_t total_size = 0;
4209
4210
2.01k
  if (_internal_metadata_.have_unknown_fields()) {
4211
0
    total_size +=
4212
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4213
0
        _internal_metadata_.unknown_fields());
4214
0
  }
4215
2.01k
  if (((_has_bits_[0] & 0x00000005) ^ 0x00000005) == 0) {  // All required fields are present.
4216
    // required bytes session_id = 1;
4217
2.01k
    total_size += 1 +
4218
2.01k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4219
2.01k
        this->session_id());
4220
4221
    // required bool is_success = 2;
4222
2.01k
    total_size += 1 + 1;
4223
4224
0
  } else {
4225
0
    total_size += RequiredFieldsByteSizeFallback();
4226
0
  }
4227
  // optional .yb.AppStatusPB error = 3;
4228
2.01k
  if (has_error()) {
4229
0
    total_size += 1 +
4230
0
      ::google::protobuf::internal::WireFormatLite::MessageSize(
4231
0
        *this->error_);
4232
0
  }
4233
4234
  // optional bool keep_session = 4 [default = false];
4235
2.01k
  if (has_keep_session()) {
4236
2.00k
    total_size += 1 + 1;
4237
2.00k
  }
4238
4239
2.01k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4240
2.01k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4241
2.01k
  _cached_size_ = cached_size;
4242
2.01k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4243
2.01k
  return total_size;
4244
2.01k
}
4245
4246
0
void EndRemoteBootstrapSessionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4247
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4248
0
  GOOGLE_DCHECK_NE(&from, this);
4249
0
  const EndRemoteBootstrapSessionRequestPB* source =
4250
0
      ::google::protobuf::internal::DynamicCastToGenerated<const EndRemoteBootstrapSessionRequestPB>(
4251
0
          &from);
4252
0
  if (source == NULL) {
4253
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4254
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4255
0
  } else {
4256
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4257
0
    MergeFrom(*source);
4258
0
  }
4259
0
}
4260
4261
0
void EndRemoteBootstrapSessionRequestPB::MergeFrom(const EndRemoteBootstrapSessionRequestPB& from) {
4262
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4263
0
  GOOGLE_DCHECK_NE(&from, this);
4264
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4265
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4266
0
  (void) cached_has_bits;
4267
4268
0
  cached_has_bits = from._has_bits_[0];
4269
0
  if (cached_has_bits & 15u) {
4270
0
    if (cached_has_bits & 0x00000001u) {
4271
0
      set_has_session_id();
4272
0
      session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
4273
0
    }
4274
0
    if (cached_has_bits & 0x00000002u) {
4275
0
      mutable_error()->::yb::AppStatusPB::MergeFrom(from.error());
4276
0
    }
4277
0
    if (cached_has_bits & 0x00000004u) {
4278
0
      is_success_ = from.is_success_;
4279
0
    }
4280
0
    if (cached_has_bits & 0x00000008u) {
4281
0
      keep_session_ = from.keep_session_;
4282
0
    }
4283
0
    _has_bits_[0] |= cached_has_bits;
4284
0
  }
4285
0
}
4286
4287
0
void EndRemoteBootstrapSessionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4288
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4289
0
  if (&from == this) return;
4290
0
  Clear();
4291
0
  MergeFrom(from);
4292
0
}
4293
4294
0
void EndRemoteBootstrapSessionRequestPB::CopyFrom(const EndRemoteBootstrapSessionRequestPB& from) {
4295
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.EndRemoteBootstrapSessionRequestPB)
4296
0
  if (&from == this) return;
4297
0
  Clear();
4298
0
  MergeFrom(from);
4299
0
}
4300
4301
2.00k
bool EndRemoteBootstrapSessionRequestPB::IsInitialized() const {
4302
2.00k
  if ((_has_bits_[0] & 0x00000005) != 0x00000005) return false;
4303
2.00k
  if (has_error()) {
4304
0
    if (!this->error_->IsInitialized()) return false;
4305
2.00k
  }
4306
2.00k
  return true;
4307
2.00k
}
4308
4309
0
void EndRemoteBootstrapSessionRequestPB::Swap(EndRemoteBootstrapSessionRequestPB* other) {
4310
0
  if (other == this) return;
4311
0
  InternalSwap(other);
4312
0
}
4313
0
void EndRemoteBootstrapSessionRequestPB::InternalSwap(EndRemoteBootstrapSessionRequestPB* other) {
4314
0
  using std::swap;
4315
0
  session_id_.Swap(&other->session_id_);
4316
0
  swap(error_, other->error_);
4317
0
  swap(is_success_, other->is_success_);
4318
0
  swap(keep_session_, other->keep_session_);
4319
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4320
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4321
0
  swap(_cached_size_, other->_cached_size_);
4322
0
}
4323
4324
1.00k
::google::protobuf::Metadata EndRemoteBootstrapSessionRequestPB::GetMetadata() const {
4325
1.00k
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
4326
1.00k
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
4327
1.00k
}
4328
4329
4330
// ===================================================================
4331
4332
15.8k
void EndRemoteBootstrapSessionResponsePB::InitAsDefaultInstance() {
4333
15.8k
}
4334
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4335
const int EndRemoteBootstrapSessionResponsePB::kSessionKeptFieldNumber;
4336
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4337
4338
EndRemoteBootstrapSessionResponsePB::EndRemoteBootstrapSessionResponsePB()
4339
17.8k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4340
2.00k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4341
2.00k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsEndRemoteBootstrapSessionResponsePB();
4342
2.00k
  }
4343
17.8k
  SharedCtor();
4344
  // @@protoc_insertion_point(constructor:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4345
17.8k
}
4346
EndRemoteBootstrapSessionResponsePB::EndRemoteBootstrapSessionResponsePB(const EndRemoteBootstrapSessionResponsePB& from)
4347
  : ::google::protobuf::Message(),
4348
      _internal_metadata_(NULL),
4349
      _has_bits_(from._has_bits_),
4350
0
      _cached_size_(0) {
4351
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4352
0
  session_kept_ = from.session_kept_;
4353
  // @@protoc_insertion_point(copy_constructor:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4354
0
}
4355
4356
17.8k
void EndRemoteBootstrapSessionResponsePB::SharedCtor() {
4357
17.8k
  _cached_size_ = 0;
4358
17.8k
  session_kept_ = false;
4359
17.8k
}
4360
4361
2.00k
EndRemoteBootstrapSessionResponsePB::~EndRemoteBootstrapSessionResponsePB() {
4362
  // @@protoc_insertion_point(destructor:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4363
2.00k
  SharedDtor();
4364
2.00k
}
4365
4366
2.00k
void EndRemoteBootstrapSessionResponsePB::SharedDtor() {
4367
2.00k
}
4368
4369
0
void EndRemoteBootstrapSessionResponsePB::SetCachedSize(int size) const {
4370
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4371
0
  _cached_size_ = size;
4372
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4373
0
}
4374
0
const ::google::protobuf::Descriptor* EndRemoteBootstrapSessionResponsePB::descriptor() {
4375
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
4376
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4377
0
}
4378
4379
0
const EndRemoteBootstrapSessionResponsePB& EndRemoteBootstrapSessionResponsePB::default_instance() {
4380
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsEndRemoteBootstrapSessionResponsePB();
4381
0
  return *internal_default_instance();
4382
0
}
4383
4384
0
EndRemoteBootstrapSessionResponsePB* EndRemoteBootstrapSessionResponsePB::New(::google::protobuf::Arena* arena) const {
4385
0
  EndRemoteBootstrapSessionResponsePB* n = new EndRemoteBootstrapSessionResponsePB;
4386
0
  if (arena != NULL) {
4387
0
    arena->Own(n);
4388
0
  }
4389
0
  return n;
4390
0
}
4391
4392
999
void EndRemoteBootstrapSessionResponsePB::Clear() {
4393
// @@protoc_insertion_point(message_clear_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4394
999
  ::google::protobuf::uint32 cached_has_bits = 0;
4395
  // Prevent compiler warnings about cached_has_bits being unused
4396
999
  (void) cached_has_bits;
4397
4398
999
  session_kept_ = false;
4399
999
  _has_bits_.Clear();
4400
999
  _internal_metadata_.Clear();
4401
999
}
4402
4403
bool EndRemoteBootstrapSessionResponsePB::MergePartialFromCodedStream(
4404
999
    ::google::protobuf::io::CodedInputStream* input) {
4405
996
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4406
999
  ::google::protobuf::uint32 tag;
4407
  // @@protoc_insertion_point(parse_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4408
1.99k
  for (;;) {
4409
1.99k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4410
1.99k
    tag = p.first;
4411
1.99k
    if (!p.second) goto handle_unusual;
4412
996
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4413
      // optional bool session_kept = 1 [default = false];
4414
996
      case 1: {
4415
996
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4416
996
            static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {
4417
996
          set_has_session_kept();
4418
996
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4419
996
                   bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
4420
996
                 input, &session_kept_)));
4421
0
        } else {
4422
0
          goto handle_unusual;
4423
0
        }
4424
996
        break;
4425
997
      }
4426
4427
0
      default: {
4428
997
      handle_unusual:
4429
997
        if (tag == 0) {
4430
997
          goto success;
4431
997
        }
4432
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4433
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4434
0
        break;
4435
0
      }
4436
996
    }
4437
996
  }
4438
997
success:
4439
  // @@protoc_insertion_point(parse_success:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4440
997
  return true;
4441
0
failure:
4442
  // @@protoc_insertion_point(parse_failure:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4443
0
  return false;
4444
999
#undef DO_
4445
999
}
4446
4447
void EndRemoteBootstrapSessionResponsePB::SerializeWithCachedSizes(
4448
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4449
  // @@protoc_insertion_point(serialize_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4450
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4451
0
  (void) cached_has_bits;
4452
4453
0
  cached_has_bits = _has_bits_[0];
4454
  // optional bool session_kept = 1 [default = false];
4455
0
  if (cached_has_bits & 0x00000001u) {
4456
0
    ::google::protobuf::internal::WireFormatLite::WriteBool(1, this->session_kept(), output);
4457
0
  }
4458
4459
0
  if (_internal_metadata_.have_unknown_fields()) {
4460
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4461
0
        _internal_metadata_.unknown_fields(), output);
4462
0
  }
4463
  // @@protoc_insertion_point(serialize_end:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4464
0
}
4465
4466
::google::protobuf::uint8* EndRemoteBootstrapSessionResponsePB::InternalSerializeWithCachedSizesToArray(
4467
999
    bool deterministic, ::google::protobuf::uint8* target) const {
4468
999
  (void)deterministic; // Unused
4469
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4470
999
  ::google::protobuf::uint32 cached_has_bits = 0;
4471
999
  (void) cached_has_bits;
4472
4473
999
  cached_has_bits = _has_bits_[0];
4474
  // optional bool session_kept = 1 [default = false];
4475
999
  if (cached_has_bits & 0x00000001u) {
4476
996
    target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(1, this->session_kept(), target);
4477
996
  }
4478
4479
999
  if (_internal_metadata_.have_unknown_fields()) {
4480
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4481
0
        _internal_metadata_.unknown_fields(), target);
4482
0
  }
4483
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4484
999
  return target;
4485
999
}
4486
4487
1.99k
size_t EndRemoteBootstrapSessionResponsePB::ByteSizeLong() const {
4488
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4489
1.99k
  size_t total_size = 0;
4490
4491
1.99k
  if (_internal_metadata_.have_unknown_fields()) {
4492
0
    total_size +=
4493
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4494
0
        _internal_metadata_.unknown_fields());
4495
0
  }
4496
  // optional bool session_kept = 1 [default = false];
4497
1.99k
  if (has_session_kept()) {
4498
1.99k
    total_size += 1 + 1;
4499
1.99k
  }
4500
4501
1.99k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4502
1.99k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4503
1.99k
  _cached_size_ = cached_size;
4504
1.99k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4505
1.99k
  return total_size;
4506
1.99k
}
4507
4508
0
void EndRemoteBootstrapSessionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4509
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4510
0
  GOOGLE_DCHECK_NE(&from, this);
4511
0
  const EndRemoteBootstrapSessionResponsePB* source =
4512
0
      ::google::protobuf::internal::DynamicCastToGenerated<const EndRemoteBootstrapSessionResponsePB>(
4513
0
          &from);
4514
0
  if (source == NULL) {
4515
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4516
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4517
0
  } else {
4518
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4519
0
    MergeFrom(*source);
4520
0
  }
4521
0
}
4522
4523
0
void EndRemoteBootstrapSessionResponsePB::MergeFrom(const EndRemoteBootstrapSessionResponsePB& from) {
4524
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4525
0
  GOOGLE_DCHECK_NE(&from, this);
4526
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4527
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4528
0
  (void) cached_has_bits;
4529
4530
0
  if (from.has_session_kept()) {
4531
0
    set_session_kept(from.session_kept());
4532
0
  }
4533
0
}
4534
4535
0
void EndRemoteBootstrapSessionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4536
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4537
0
  if (&from == this) return;
4538
0
  Clear();
4539
0
  MergeFrom(from);
4540
0
}
4541
4542
0
void EndRemoteBootstrapSessionResponsePB::CopyFrom(const EndRemoteBootstrapSessionResponsePB& from) {
4543
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.EndRemoteBootstrapSessionResponsePB)
4544
0
  if (&from == this) return;
4545
0
  Clear();
4546
0
  MergeFrom(from);
4547
0
}
4548
4549
1.99k
bool EndRemoteBootstrapSessionResponsePB::IsInitialized() const {
4550
1.99k
  return true;
4551
1.99k
}
4552
4553
0
void EndRemoteBootstrapSessionResponsePB::Swap(EndRemoteBootstrapSessionResponsePB* other) {
4554
0
  if (other == this) return;
4555
0
  InternalSwap(other);
4556
0
}
4557
0
void EndRemoteBootstrapSessionResponsePB::InternalSwap(EndRemoteBootstrapSessionResponsePB* other) {
4558
0
  using std::swap;
4559
0
  swap(session_kept_, other->session_kept_);
4560
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4561
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4562
0
  swap(_cached_size_, other->_cached_size_);
4563
0
}
4564
4565
0
::google::protobuf::Metadata EndRemoteBootstrapSessionResponsePB::GetMetadata() const {
4566
0
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
4567
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
4568
0
}
4569
4570
4571
// ===================================================================
4572
4573
15.8k
void RemoveSessionRequestPB::InitAsDefaultInstance() {
4574
15.8k
}
4575
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4576
const int RemoveSessionRequestPB::kSessionIdFieldNumber;
4577
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4578
4579
RemoveSessionRequestPB::RemoveSessionRequestPB()
4580
17.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4581
1.88k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4582
1.88k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsRemoveSessionRequestPB();
4583
1.88k
  }
4584
17.7k
  SharedCtor();
4585
  // @@protoc_insertion_point(constructor:yb.tserver.RemoveSessionRequestPB)
4586
17.7k
}
4587
RemoveSessionRequestPB::RemoveSessionRequestPB(const RemoveSessionRequestPB& from)
4588
  : ::google::protobuf::Message(),
4589
      _internal_metadata_(NULL),
4590
      _has_bits_(from._has_bits_),
4591
0
      _cached_size_(0) {
4592
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4593
0
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4594
0
  if (from.has_session_id()) {
4595
0
    session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
4596
0
  }
4597
  // @@protoc_insertion_point(copy_constructor:yb.tserver.RemoveSessionRequestPB)
4598
0
}
4599
4600
17.7k
void RemoveSessionRequestPB::SharedCtor() {
4601
17.7k
  _cached_size_ = 0;
4602
17.7k
  session_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4603
17.7k
}
4604
4605
1.88k
RemoveSessionRequestPB::~RemoveSessionRequestPB() {
4606
  // @@protoc_insertion_point(destructor:yb.tserver.RemoveSessionRequestPB)
4607
1.88k
  SharedDtor();
4608
1.88k
}
4609
4610
1.88k
void RemoveSessionRequestPB::SharedDtor() {
4611
1.88k
  session_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4612
1.88k
}
4613
4614
0
void RemoveSessionRequestPB::SetCachedSize(int size) const {
4615
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4616
0
  _cached_size_ = size;
4617
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4618
0
}
4619
0
const ::google::protobuf::Descriptor* RemoveSessionRequestPB::descriptor() {
4620
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
4621
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4622
0
}
4623
4624
0
const RemoveSessionRequestPB& RemoveSessionRequestPB::default_instance() {
4625
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsRemoveSessionRequestPB();
4626
0
  return *internal_default_instance();
4627
0
}
4628
4629
0
RemoveSessionRequestPB* RemoveSessionRequestPB::New(::google::protobuf::Arena* arena) const {
4630
0
  RemoveSessionRequestPB* n = new RemoveSessionRequestPB;
4631
0
  if (arena != NULL) {
4632
0
    arena->Own(n);
4633
0
  }
4634
0
  return n;
4635
0
}
4636
4637
941
void RemoveSessionRequestPB::Clear() {
4638
// @@protoc_insertion_point(message_clear_start:yb.tserver.RemoveSessionRequestPB)
4639
941
  ::google::protobuf::uint32 cached_has_bits = 0;
4640
  // Prevent compiler warnings about cached_has_bits being unused
4641
941
  (void) cached_has_bits;
4642
4643
941
  cached_has_bits = _has_bits_[0];
4644
941
  if (cached_has_bits & 0x00000001u) {
4645
0
    GOOGLE_DCHECK(!session_id_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
4646
0
    (*session_id_.UnsafeRawStringPointer())->clear();
4647
0
  }
4648
941
  _has_bits_.Clear();
4649
941
  _internal_metadata_.Clear();
4650
941
}
4651
4652
bool RemoveSessionRequestPB::MergePartialFromCodedStream(
4653
941
    ::google::protobuf::io::CodedInputStream* input) {
4654
941
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4655
941
  ::google::protobuf::uint32 tag;
4656
  // @@protoc_insertion_point(parse_start:yb.tserver.RemoveSessionRequestPB)
4657
1.88k
  for (;;) {
4658
1.88k
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4659
1.88k
    tag = p.first;
4660
1.88k
    if (!p.second) goto handle_unusual;
4661
941
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4662
      // optional bytes session_id = 1;
4663
941
      case 1: {
4664
941
        if (static_cast< ::google::protobuf::uint8>(tag) ==
4665
941
            static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
4666
941
          DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4667
941
                input, this->mutable_session_id()));
4668
0
        } else {
4669
0
          goto handle_unusual;
4670
0
        }
4671
941
        break;
4672
941
      }
4673
4674
0
      default: {
4675
941
      handle_unusual:
4676
941
        if (tag == 0) {
4677
941
          goto success;
4678
941
        }
4679
0
        DO_(::google::protobuf::internal::WireFormat::SkipField(
4680
0
              input, tag, _internal_metadata_.mutable_unknown_fields()));
4681
0
        break;
4682
0
      }
4683
941
    }
4684
941
  }
4685
941
success:
4686
  // @@protoc_insertion_point(parse_success:yb.tserver.RemoveSessionRequestPB)
4687
941
  return true;
4688
0
failure:
4689
  // @@protoc_insertion_point(parse_failure:yb.tserver.RemoveSessionRequestPB)
4690
0
  return false;
4691
941
#undef DO_
4692
941
}
4693
4694
void RemoveSessionRequestPB::SerializeWithCachedSizes(
4695
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4696
  // @@protoc_insertion_point(serialize_start:yb.tserver.RemoveSessionRequestPB)
4697
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4698
0
  (void) cached_has_bits;
4699
4700
0
  cached_has_bits = _has_bits_[0];
4701
  // optional bytes session_id = 1;
4702
0
  if (cached_has_bits & 0x00000001u) {
4703
0
    ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4704
0
      1, this->session_id(), output);
4705
0
  }
4706
4707
0
  if (_internal_metadata_.have_unknown_fields()) {
4708
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4709
0
        _internal_metadata_.unknown_fields(), output);
4710
0
  }
4711
  // @@protoc_insertion_point(serialize_end:yb.tserver.RemoveSessionRequestPB)
4712
0
}
4713
4714
::google::protobuf::uint8* RemoveSessionRequestPB::InternalSerializeWithCachedSizesToArray(
4715
941
    bool deterministic, ::google::protobuf::uint8* target) const {
4716
941
  (void)deterministic; // Unused
4717
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.RemoveSessionRequestPB)
4718
941
  ::google::protobuf::uint32 cached_has_bits = 0;
4719
941
  (void) cached_has_bits;
4720
4721
941
  cached_has_bits = _has_bits_[0];
4722
  // optional bytes session_id = 1;
4723
941
  if (cached_has_bits & 0x00000001u) {
4724
941
    target =
4725
941
      ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
4726
941
        1, this->session_id(), target);
4727
941
  }
4728
4729
941
  if (_internal_metadata_.have_unknown_fields()) {
4730
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4731
0
        _internal_metadata_.unknown_fields(), target);
4732
0
  }
4733
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.RemoveSessionRequestPB)
4734
941
  return target;
4735
941
}
4736
4737
1.88k
size_t RemoveSessionRequestPB::ByteSizeLong() const {
4738
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.RemoveSessionRequestPB)
4739
1.88k
  size_t total_size = 0;
4740
4741
1.88k
  if (_internal_metadata_.have_unknown_fields()) {
4742
0
    total_size +=
4743
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4744
0
        _internal_metadata_.unknown_fields());
4745
0
  }
4746
  // optional bytes session_id = 1;
4747
1.88k
  if (has_session_id()) {
4748
1.88k
    total_size += 1 +
4749
1.88k
      ::google::protobuf::internal::WireFormatLite::BytesSize(
4750
1.88k
        this->session_id());
4751
1.88k
  }
4752
4753
1.88k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4754
1.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4755
1.88k
  _cached_size_ = cached_size;
4756
1.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4757
1.88k
  return total_size;
4758
1.88k
}
4759
4760
0
void RemoveSessionRequestPB::MergeFrom(const ::google::protobuf::Message& from) {
4761
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.RemoveSessionRequestPB)
4762
0
  GOOGLE_DCHECK_NE(&from, this);
4763
0
  const RemoveSessionRequestPB* source =
4764
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RemoveSessionRequestPB>(
4765
0
          &from);
4766
0
  if (source == NULL) {
4767
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.RemoveSessionRequestPB)
4768
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4769
0
  } else {
4770
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.RemoveSessionRequestPB)
4771
0
    MergeFrom(*source);
4772
0
  }
4773
0
}
4774
4775
0
void RemoveSessionRequestPB::MergeFrom(const RemoveSessionRequestPB& from) {
4776
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.RemoveSessionRequestPB)
4777
0
  GOOGLE_DCHECK_NE(&from, this);
4778
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4779
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4780
0
  (void) cached_has_bits;
4781
4782
0
  if (from.has_session_id()) {
4783
0
    set_has_session_id();
4784
0
    session_id_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.session_id_);
4785
0
  }
4786
0
}
4787
4788
0
void RemoveSessionRequestPB::CopyFrom(const ::google::protobuf::Message& from) {
4789
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.RemoveSessionRequestPB)
4790
0
  if (&from == this) return;
4791
0
  Clear();
4792
0
  MergeFrom(from);
4793
0
}
4794
4795
0
void RemoveSessionRequestPB::CopyFrom(const RemoveSessionRequestPB& from) {
4796
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.RemoveSessionRequestPB)
4797
0
  if (&from == this) return;
4798
0
  Clear();
4799
0
  MergeFrom(from);
4800
0
}
4801
4802
1.88k
bool RemoveSessionRequestPB::IsInitialized() const {
4803
1.88k
  return true;
4804
1.88k
}
4805
4806
0
void RemoveSessionRequestPB::Swap(RemoveSessionRequestPB* other) {
4807
0
  if (other == this) return;
4808
0
  InternalSwap(other);
4809
0
}
4810
0
void RemoveSessionRequestPB::InternalSwap(RemoveSessionRequestPB* other) {
4811
0
  using std::swap;
4812
0
  session_id_.Swap(&other->session_id_);
4813
0
  swap(_has_bits_[0], other->_has_bits_[0]);
4814
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
4815
0
  swap(_cached_size_, other->_cached_size_);
4816
0
}
4817
4818
941
::google::protobuf::Metadata RemoveSessionRequestPB::GetMetadata() const {
4819
941
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
4820
941
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
4821
941
}
4822
4823
4824
// ===================================================================
4825
4826
15.8k
void RemoveSessionResponsePB::InitAsDefaultInstance() {
4827
15.8k
}
4828
#if !defined(_MSC_VER) || _MSC_VER >= 1900
4829
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
4830
4831
RemoveSessionResponsePB::RemoveSessionResponsePB()
4832
17.7k
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
4833
1.88k
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
4834
1.88k
    ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsRemoveSessionResponsePB();
4835
1.88k
  }
4836
17.7k
  SharedCtor();
4837
  // @@protoc_insertion_point(constructor:yb.tserver.RemoveSessionResponsePB)
4838
17.7k
}
4839
RemoveSessionResponsePB::RemoveSessionResponsePB(const RemoveSessionResponsePB& from)
4840
  : ::google::protobuf::Message(),
4841
      _internal_metadata_(NULL),
4842
      _has_bits_(from._has_bits_),
4843
0
      _cached_size_(0) {
4844
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4845
  // @@protoc_insertion_point(copy_constructor:yb.tserver.RemoveSessionResponsePB)
4846
0
}
4847
4848
17.7k
void RemoveSessionResponsePB::SharedCtor() {
4849
17.7k
  _cached_size_ = 0;
4850
17.7k
}
4851
4852
1.88k
RemoveSessionResponsePB::~RemoveSessionResponsePB() {
4853
  // @@protoc_insertion_point(destructor:yb.tserver.RemoveSessionResponsePB)
4854
1.88k
  SharedDtor();
4855
1.88k
}
4856
4857
1.88k
void RemoveSessionResponsePB::SharedDtor() {
4858
1.88k
}
4859
4860
0
void RemoveSessionResponsePB::SetCachedSize(int size) const {
4861
0
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4862
0
  _cached_size_ = size;
4863
0
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4864
0
}
4865
0
const ::google::protobuf::Descriptor* RemoveSessionResponsePB::descriptor() {
4866
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
4867
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
4868
0
}
4869
4870
0
const RemoveSessionResponsePB& RemoveSessionResponsePB::default_instance() {
4871
0
  ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::InitDefaultsRemoveSessionResponsePB();
4872
0
  return *internal_default_instance();
4873
0
}
4874
4875
0
RemoveSessionResponsePB* RemoveSessionResponsePB::New(::google::protobuf::Arena* arena) const {
4876
0
  RemoveSessionResponsePB* n = new RemoveSessionResponsePB;
4877
0
  if (arena != NULL) {
4878
0
    arena->Own(n);
4879
0
  }
4880
0
  return n;
4881
0
}
4882
4883
941
void RemoveSessionResponsePB::Clear() {
4884
// @@protoc_insertion_point(message_clear_start:yb.tserver.RemoveSessionResponsePB)
4885
941
  ::google::protobuf::uint32 cached_has_bits = 0;
4886
  // Prevent compiler warnings about cached_has_bits being unused
4887
941
  (void) cached_has_bits;
4888
4889
941
  _has_bits_.Clear();
4890
941
  _internal_metadata_.Clear();
4891
941
}
4892
4893
bool RemoveSessionResponsePB::MergePartialFromCodedStream(
4894
941
    ::google::protobuf::io::CodedInputStream* input) {
4895
0
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
4896
941
  ::google::protobuf::uint32 tag;
4897
  // @@protoc_insertion_point(parse_start:yb.tserver.RemoveSessionResponsePB)
4898
941
  for (;;) {
4899
941
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
4900
941
    tag = p.first;
4901
941
    if (!p.second) goto handle_unusual;
4902
941
  handle_unusual:
4903
941
    if (tag == 0) {
4904
941
      goto success;
4905
941
    }
4906
0
    DO_(::google::protobuf::internal::WireFormat::SkipField(
4907
0
          input, tag, _internal_metadata_.mutable_unknown_fields()));
4908
0
  }
4909
941
success:
4910
  // @@protoc_insertion_point(parse_success:yb.tserver.RemoveSessionResponsePB)
4911
941
  return true;
4912
0
failure:
4913
  // @@protoc_insertion_point(parse_failure:yb.tserver.RemoveSessionResponsePB)
4914
0
  return false;
4915
941
#undef DO_
4916
941
}
4917
4918
void RemoveSessionResponsePB::SerializeWithCachedSizes(
4919
0
    ::google::protobuf::io::CodedOutputStream* output) const {
4920
  // @@protoc_insertion_point(serialize_start:yb.tserver.RemoveSessionResponsePB)
4921
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4922
0
  (void) cached_has_bits;
4923
4924
0
  if (_internal_metadata_.have_unknown_fields()) {
4925
0
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
4926
0
        _internal_metadata_.unknown_fields(), output);
4927
0
  }
4928
  // @@protoc_insertion_point(serialize_end:yb.tserver.RemoveSessionResponsePB)
4929
0
}
4930
4931
::google::protobuf::uint8* RemoveSessionResponsePB::InternalSerializeWithCachedSizesToArray(
4932
941
    bool deterministic, ::google::protobuf::uint8* target) const {
4933
941
  (void)deterministic; // Unused
4934
  // @@protoc_insertion_point(serialize_to_array_start:yb.tserver.RemoveSessionResponsePB)
4935
941
  ::google::protobuf::uint32 cached_has_bits = 0;
4936
941
  (void) cached_has_bits;
4937
4938
941
  if (_internal_metadata_.have_unknown_fields()) {
4939
0
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
4940
0
        _internal_metadata_.unknown_fields(), target);
4941
0
  }
4942
  // @@protoc_insertion_point(serialize_to_array_end:yb.tserver.RemoveSessionResponsePB)
4943
941
  return target;
4944
941
}
4945
4946
1.88k
size_t RemoveSessionResponsePB::ByteSizeLong() const {
4947
// @@protoc_insertion_point(message_byte_size_start:yb.tserver.RemoveSessionResponsePB)
4948
1.88k
  size_t total_size = 0;
4949
4950
1.88k
  if (_internal_metadata_.have_unknown_fields()) {
4951
0
    total_size +=
4952
0
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
4953
0
        _internal_metadata_.unknown_fields());
4954
0
  }
4955
1.88k
  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
4956
1.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4957
1.88k
  _cached_size_ = cached_size;
4958
1.88k
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
4959
1.88k
  return total_size;
4960
1.88k
}
4961
4962
0
void RemoveSessionResponsePB::MergeFrom(const ::google::protobuf::Message& from) {
4963
// @@protoc_insertion_point(generalized_merge_from_start:yb.tserver.RemoveSessionResponsePB)
4964
0
  GOOGLE_DCHECK_NE(&from, this);
4965
0
  const RemoveSessionResponsePB* source =
4966
0
      ::google::protobuf::internal::DynamicCastToGenerated<const RemoveSessionResponsePB>(
4967
0
          &from);
4968
0
  if (source == NULL) {
4969
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:yb.tserver.RemoveSessionResponsePB)
4970
0
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
4971
0
  } else {
4972
  // @@protoc_insertion_point(generalized_merge_from_cast_success:yb.tserver.RemoveSessionResponsePB)
4973
0
    MergeFrom(*source);
4974
0
  }
4975
0
}
4976
4977
0
void RemoveSessionResponsePB::MergeFrom(const RemoveSessionResponsePB& from) {
4978
// @@protoc_insertion_point(class_specific_merge_from_start:yb.tserver.RemoveSessionResponsePB)
4979
0
  GOOGLE_DCHECK_NE(&from, this);
4980
0
  _internal_metadata_.MergeFrom(from._internal_metadata_);
4981
0
  ::google::protobuf::uint32 cached_has_bits = 0;
4982
0
  (void) cached_has_bits;
4983
4984
0
}
4985
4986
0
void RemoveSessionResponsePB::CopyFrom(const ::google::protobuf::Message& from) {
4987
// @@protoc_insertion_point(generalized_copy_from_start:yb.tserver.RemoveSessionResponsePB)
4988
0
  if (&from == this) return;
4989
0
  Clear();
4990
0
  MergeFrom(from);
4991
0
}
4992
4993
0
void RemoveSessionResponsePB::CopyFrom(const RemoveSessionResponsePB& from) {
4994
// @@protoc_insertion_point(class_specific_copy_from_start:yb.tserver.RemoveSessionResponsePB)
4995
0
  if (&from == this) return;
4996
0
  Clear();
4997
0
  MergeFrom(from);
4998
0
}
4999
5000
1.88k
bool RemoveSessionResponsePB::IsInitialized() const {
5001
1.88k
  return true;
5002
1.88k
}
5003
5004
0
void RemoveSessionResponsePB::Swap(RemoveSessionResponsePB* other) {
5005
0
  if (other == this) return;
5006
0
  InternalSwap(other);
5007
0
}
5008
0
void RemoveSessionResponsePB::InternalSwap(RemoveSessionResponsePB* other) {
5009
0
  using std::swap;
5010
0
  swap(_has_bits_[0], other->_has_bits_[0]);
5011
0
  _internal_metadata_.Swap(&other->_internal_metadata_);
5012
0
  swap(_cached_size_, other->_cached_size_);
5013
0
}
5014
5015
0
::google::protobuf::Metadata RemoveSessionResponsePB::GetMetadata() const {
5016
0
  protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::protobuf_AssignDescriptorsOnce();
5017
0
  return ::protobuf_yb_2ftserver_2fremote_5fbootstrap_2eproto::file_level_metadata[kIndexInFileMessages];
5018
0
}
5019
5020
#if !defined(_MSC_VER) || _MSC_VER >= 1900
5021
const int RemoteBootstrapErrorPB::kRemoteBootstrapErrorExtFieldNumber;
5022
#endif
5023
::google::protobuf::internal::ExtensionIdentifier< ::yb::rpc::ErrorStatusPB,
5024
    ::google::protobuf::internal::MessageTypeTraits< ::yb::tserver::RemoteBootstrapErrorPB >, 11, false >
5025
  RemoteBootstrapErrorPB::remote_bootstrap_error_ext(kRemoteBootstrapErrorExtFieldNumber, *::yb::tserver::RemoteBootstrapErrorPB::internal_default_instance());
5026
5027
// @@protoc_insertion_point(namespace_scope)
5028
}  // namespace tserver
5029
}  // namespace yb
5030
5031
// @@protoc_insertion_point(global_scope)