YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/tablet/operations.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/tablet/operations.proto
3
4
#ifndef PROTOBUF_yb_2ftablet_2foperations_2eproto__INCLUDED
5
#define PROTOBUF_yb_2ftablet_2foperations_2eproto__INCLUDED
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3005000
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers.  Please update
14
#error your headers.
15
#endif
16
#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers.  Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata.h>
28
#include <google/protobuf/message.h>
29
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
30
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
31
#include <google/protobuf/unknown_field_set.h>
32
#include "yb/common/common.pb.h"
33
#include "yb/common/transaction.pb.h"
34
#include "yb/docdb/docdb.pb.h"
35
#include "yb/tablet/metadata.pb.h"
36
// @@protoc_insertion_point(includes)
37
38
namespace protobuf_yb_2ftablet_2foperations_2eproto {
39
// Internal implementation detail -- do not use these members.
40
struct TableStruct {
41
  static const ::google::protobuf::internal::ParseTableField entries[];
42
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43
  static const ::google::protobuf::internal::ParseTable schema[5];
44
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46
  static const ::google::protobuf::uint32 offsets[];
47
};
48
void AddDescriptors();
49
void InitDefaultsTransactionStatePBImpl();
50
void InitDefaultsTransactionStatePB();
51
void InitDefaultsTruncatePBImpl();
52
void InitDefaultsTruncatePB();
53
void InitDefaultsWritePBImpl();
54
void InitDefaultsWritePB();
55
void InitDefaultsChangeMetadataRequestPBImpl();
56
void InitDefaultsChangeMetadataRequestPB();
57
void InitDefaultsSplitTabletRequestPBImpl();
58
void InitDefaultsSplitTabletRequestPB();
59
26.8k
inline void InitDefaults() {
60
26.8k
  InitDefaultsTransactionStatePB();
61
26.8k
  InitDefaultsTruncatePB();
62
26.8k
  InitDefaultsWritePB();
63
26.8k
  InitDefaultsChangeMetadataRequestPB();
64
26.8k
  InitDefaultsSplitTabletRequestPB();
65
26.8k
}
66
}  // namespace protobuf_yb_2ftablet_2foperations_2eproto
67
namespace yb {
68
namespace tablet {
69
class ChangeMetadataRequestPB;
70
class ChangeMetadataRequestPBDefaultTypeInternal;
71
extern ChangeMetadataRequestPBDefaultTypeInternal _ChangeMetadataRequestPB_default_instance_;
72
class SplitTabletRequestPB;
73
class SplitTabletRequestPBDefaultTypeInternal;
74
extern SplitTabletRequestPBDefaultTypeInternal _SplitTabletRequestPB_default_instance_;
75
class TransactionStatePB;
76
class TransactionStatePBDefaultTypeInternal;
77
extern TransactionStatePBDefaultTypeInternal _TransactionStatePB_default_instance_;
78
class TruncatePB;
79
class TruncatePBDefaultTypeInternal;
80
extern TruncatePBDefaultTypeInternal _TruncatePB_default_instance_;
81
class WritePB;
82
class WritePBDefaultTypeInternal;
83
extern WritePBDefaultTypeInternal _WritePB_default_instance_;
84
}  // namespace tablet
85
}  // namespace yb
86
namespace yb {
87
namespace tablet {
88
89
// ===================================================================
90
91
class TransactionStatePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.TransactionStatePB) */ {
92
 public:
93
  TransactionStatePB();
94
  virtual ~TransactionStatePB();
95
96
  TransactionStatePB(const TransactionStatePB& from);
97
98
1.09M
  inline TransactionStatePB& operator=(const TransactionStatePB& from) {
99
1.09M
    CopyFrom(from);
100
1.09M
    return *this;
101
1.09M
  }
102
  #if LANG_CXX11
103
  TransactionStatePB(TransactionStatePB&& from) noexcept
104
0
    : TransactionStatePB() {
105
0
    *this = ::std::move(from);
106
0
  }
107
108
0
  inline TransactionStatePB& operator=(TransactionStatePB&& from) noexcept {
109
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
110
0
      if (this != &from) InternalSwap(&from);
111
0
    } else {
112
0
      CopyFrom(from);
113
0
    }
114
0
    return *this;
115
0
  }
116
  #endif
117
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
118
0
    return _internal_metadata_.unknown_fields();
119
0
  }
120
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
121
0
    return _internal_metadata_.mutable_unknown_fields();
122
0
  }
123
124
  static const ::google::protobuf::Descriptor* descriptor();
125
  static const TransactionStatePB& default_instance();
126
127
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
128
17.6M
  static inline const TransactionStatePB* internal_default_instance() {
129
17.6M
    return reinterpret_cast<const TransactionStatePB*>(
130
17.6M
               &_TransactionStatePB_default_instance_);
131
17.6M
  }
132
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
133
    0;
134
135
  void Swap(TransactionStatePB* other);
136
0
  friend void swap(TransactionStatePB& a, TransactionStatePB& b) {
137
0
    a.Swap(&b);
138
0
  }
139
140
  // implements Message ----------------------------------------------
141
142
0
  inline TransactionStatePB* New() const PROTOBUF_FINAL { return New(NULL); }
143
144
  TransactionStatePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
145
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
146
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
147
  void CopyFrom(const TransactionStatePB& from);
148
  void MergeFrom(const TransactionStatePB& from);
149
  void Clear() PROTOBUF_FINAL;
150
  bool IsInitialized() const PROTOBUF_FINAL;
151
152
  size_t ByteSizeLong() const PROTOBUF_FINAL;
153
  bool MergePartialFromCodedStream(
154
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
155
  void SerializeWithCachedSizes(
156
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
157
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
158
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
159
8.77M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
160
  private:
161
  void SharedCtor();
162
  void SharedDtor();
163
  void SetCachedSize(int size) const PROTOBUF_FINAL;
164
  void InternalSwap(TransactionStatePB* other);
165
  private:
166
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
167
0
    return NULL;
168
0
  }
169
0
  inline void* MaybeArenaPtr() const {
170
0
    return NULL;
171
0
  }
172
  public:
173
174
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
175
176
  // nested types ----------------------------------------------------
177
178
  // accessors -------------------------------------------------------
179
180
  // repeated bytes tablets = 3;
181
  int tablets_size() const;
182
  void clear_tablets();
183
  static const int kTabletsFieldNumber = 3;
184
  const ::std::string& tablets(int index) const;
185
  ::std::string* mutable_tablets(int index);
186
  void set_tablets(int index, const ::std::string& value);
187
  #if LANG_CXX11
188
  void set_tablets(int index, ::std::string&& value);
189
  #endif
190
  void set_tablets(int index, const char* value);
191
  void set_tablets(int index, const void* value, size_t size);
192
  ::std::string* add_tablets();
193
  void add_tablets(const ::std::string& value);
194
  #if LANG_CXX11
195
  void add_tablets(::std::string&& value);
196
  #endif
197
  void add_tablets(const char* value);
198
  void add_tablets(const void* value, size_t size);
199
  const ::google::protobuf::RepeatedPtrField< ::std::string>& tablets() const;
200
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tablets();
201
202
  // repeated int64 tablet_batches = 5;
203
  int tablet_batches_size() const;
204
  void clear_tablet_batches();
205
  static const int kTabletBatchesFieldNumber = 5;
206
  ::google::protobuf::int64 tablet_batches(int index) const;
207
  void set_tablet_batches(int index, ::google::protobuf::int64 value);
208
  void add_tablet_batches(::google::protobuf::int64 value);
209
  const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
210
      tablet_batches() const;
211
  ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
212
      mutable_tablet_batches();
213
214
  // optional bytes transaction_id = 1;
215
  bool has_transaction_id() const;
216
  void clear_transaction_id();
217
  static const int kTransactionIdFieldNumber = 1;
218
  const ::std::string& transaction_id() const;
219
  void set_transaction_id(const ::std::string& value);
220
  #if LANG_CXX11
221
  void set_transaction_id(::std::string&& value);
222
  #endif
223
  void set_transaction_id(const char* value);
224
  void set_transaction_id(const void* value, size_t size);
225
  ::std::string* mutable_transaction_id();
226
  ::std::string* release_transaction_id();
227
  void set_allocated_transaction_id(::std::string* transaction_id);
228
229
  // optional .yb.AbortedSubTransactionSetPB aborted = 7;
230
  bool has_aborted() const;
231
  void clear_aborted();
232
  static const int kAbortedFieldNumber = 7;
233
  const ::yb::AbortedSubTransactionSetPB& aborted() const;
234
  ::yb::AbortedSubTransactionSetPB* release_aborted();
235
  ::yb::AbortedSubTransactionSetPB* mutable_aborted();
236
  void set_allocated_aborted(::yb::AbortedSubTransactionSetPB* aborted);
237
238
  // optional fixed64 commit_hybrid_time = 4;
239
  bool has_commit_hybrid_time() const;
240
  void clear_commit_hybrid_time();
241
  static const int kCommitHybridTimeFieldNumber = 4;
242
  ::google::protobuf::uint64 commit_hybrid_time() const;
243
  void set_commit_hybrid_time(::google::protobuf::uint64 value);
244
245
  // optional bool sealed = 6;
246
  bool has_sealed() const;
247
  void clear_sealed();
248
  static const int kSealedFieldNumber = 6;
249
  bool sealed() const;
250
  void set_sealed(bool value);
251
252
  // optional .yb.TransactionStatus status = 2;
253
  bool has_status() const;
254
  void clear_status();
255
  static const int kStatusFieldNumber = 2;
256
  ::yb::TransactionStatus status() const;
257
  void set_status(::yb::TransactionStatus value);
258
259
  // @@protoc_insertion_point(class_scope:yb.tablet.TransactionStatePB)
260
 private:
261
  void set_has_transaction_id();
262
  void clear_has_transaction_id();
263
  void set_has_status();
264
  void clear_has_status();
265
  void set_has_commit_hybrid_time();
266
  void clear_has_commit_hybrid_time();
267
  void set_has_sealed();
268
  void clear_has_sealed();
269
  void set_has_aborted();
270
  void clear_has_aborted();
271
272
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
273
  ::google::protobuf::internal::HasBits<1> _has_bits_;
274
  mutable int _cached_size_;
275
  ::google::protobuf::RepeatedPtrField< ::std::string> tablets_;
276
  ::google::protobuf::RepeatedField< ::google::protobuf::int64 > tablet_batches_;
277
  ::google::protobuf::internal::ArenaStringPtr transaction_id_;
278
  ::yb::AbortedSubTransactionSetPB* aborted_;
279
  ::google::protobuf::uint64 commit_hybrid_time_;
280
  bool sealed_;
281
  int status_;
282
  friend struct ::protobuf_yb_2ftablet_2foperations_2eproto::TableStruct;
283
  friend void ::protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsTransactionStatePBImpl();
284
};
285
// -------------------------------------------------------------------
286
287
class TruncatePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.TruncatePB) */ {
288
 public:
289
  TruncatePB();
290
  virtual ~TruncatePB();
291
292
  TruncatePB(const TruncatePB& from);
293
294
56.9k
  inline TruncatePB& operator=(const TruncatePB& from) {
295
56.9k
    CopyFrom(from);
296
56.9k
    return *this;
297
56.9k
  }
298
  #if LANG_CXX11
299
  TruncatePB(TruncatePB&& from) noexcept
300
0
    : TruncatePB() {
301
0
    *this = ::std::move(from);
302
0
  }
303
304
0
  inline TruncatePB& operator=(TruncatePB&& from) noexcept {
305
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
306
0
      if (this != &from) InternalSwap(&from);
307
0
    } else {
308
0
      CopyFrom(from);
309
0
    }
310
0
    return *this;
311
0
  }
312
  #endif
313
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
314
0
    return _internal_metadata_.unknown_fields();
315
0
  }
316
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
317
0
    return _internal_metadata_.mutable_unknown_fields();
318
0
  }
319
320
  static const ::google::protobuf::Descriptor* descriptor();
321
  static const TruncatePB& default_instance();
322
323
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
324
252k
  static inline const TruncatePB* internal_default_instance() {
325
252k
    return reinterpret_cast<const TruncatePB*>(
326
252k
               &_TruncatePB_default_instance_);
327
252k
  }
328
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
329
    1;
330
331
  void Swap(TruncatePB* other);
332
0
  friend void swap(TruncatePB& a, TruncatePB& b) {
333
0
    a.Swap(&b);
334
0
  }
335
336
  // implements Message ----------------------------------------------
337
338
0
  inline TruncatePB* New() const PROTOBUF_FINAL { return New(NULL); }
339
340
  TruncatePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
341
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
342
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
343
  void CopyFrom(const TruncatePB& from);
344
  void MergeFrom(const TruncatePB& from);
345
  void Clear() PROTOBUF_FINAL;
346
  bool IsInitialized() const PROTOBUF_FINAL;
347
348
  size_t ByteSizeLong() const PROTOBUF_FINAL;
349
  bool MergePartialFromCodedStream(
350
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
351
  void SerializeWithCachedSizes(
352
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
353
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
354
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
355
285k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
356
  private:
357
  void SharedCtor();
358
  void SharedDtor();
359
  void SetCachedSize(int size) const PROTOBUF_FINAL;
360
  void InternalSwap(TruncatePB* other);
361
  private:
362
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
363
0
    return NULL;
364
0
  }
365
0
  inline void* MaybeArenaPtr() const {
366
0
    return NULL;
367
0
  }
368
  public:
369
370
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
371
372
  // nested types ----------------------------------------------------
373
374
  // accessors -------------------------------------------------------
375
376
  // @@protoc_insertion_point(class_scope:yb.tablet.TruncatePB)
377
 private:
378
379
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
380
  ::google::protobuf::internal::HasBits<1> _has_bits_;
381
  mutable int _cached_size_;
382
  friend struct ::protobuf_yb_2ftablet_2foperations_2eproto::TableStruct;
383
  friend void ::protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsTruncatePBImpl();
384
};
385
// -------------------------------------------------------------------
386
387
class WritePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.WritePB) */ {
388
 public:
389
  WritePB();
390
  virtual ~WritePB();
391
392
  WritePB(const WritePB& from);
393
394
0
  inline WritePB& operator=(const WritePB& from) {
395
0
    CopyFrom(from);
396
0
    return *this;
397
0
  }
398
  #if LANG_CXX11
399
  WritePB(WritePB&& from) noexcept
400
0
    : WritePB() {
401
0
    *this = ::std::move(from);
402
0
  }
403
404
0
  inline WritePB& operator=(WritePB&& from) noexcept {
405
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
406
0
      if (this != &from) InternalSwap(&from);
407
0
    } else {
408
0
      CopyFrom(from);
409
0
    }
410
0
    return *this;
411
0
  }
412
  #endif
413
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
414
0
    return _internal_metadata_.unknown_fields();
415
0
  }
416
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
417
0
    return _internal_metadata_.mutable_unknown_fields();
418
0
  }
419
420
  static const ::google::protobuf::Descriptor* descriptor();
421
  static const WritePB& default_instance();
422
423
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
424
22.9M
  static inline const WritePB* internal_default_instance() {
425
22.9M
    return reinterpret_cast<const WritePB*>(
426
22.9M
               &_WritePB_default_instance_);
427
22.9M
  }
428
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
429
    2;
430
431
  void Swap(WritePB* other);
432
0
  friend void swap(WritePB& a, WritePB& b) {
433
0
    a.Swap(&b);
434
0
  }
435
436
  // implements Message ----------------------------------------------
437
438
0
  inline WritePB* New() const PROTOBUF_FINAL { return New(NULL); }
439
440
  WritePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
441
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
442
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
443
  void CopyFrom(const WritePB& from);
444
  void MergeFrom(const WritePB& from);
445
  void Clear() PROTOBUF_FINAL;
446
  bool IsInitialized() const PROTOBUF_FINAL;
447
448
  size_t ByteSizeLong() const PROTOBUF_FINAL;
449
  bool MergePartialFromCodedStream(
450
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
451
  void SerializeWithCachedSizes(
452
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
453
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
454
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
455
14.7M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
456
  private:
457
  void SharedCtor();
458
  void SharedDtor();
459
  void SetCachedSize(int size) const PROTOBUF_FINAL;
460
  void InternalSwap(WritePB* other);
461
  private:
462
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
463
0
    return NULL;
464
0
  }
465
0
  inline void* MaybeArenaPtr() const {
466
0
    return NULL;
467
0
  }
468
  public:
469
470
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
471
472
  // nested types ----------------------------------------------------
473
474
  // accessors -------------------------------------------------------
475
476
  // optional bytes unused_tablet_id = 1;
477
  bool has_unused_tablet_id() const;
478
  void clear_unused_tablet_id();
479
  static const int kUnusedTabletIdFieldNumber = 1;
480
  const ::std::string& unused_tablet_id() const;
481
  void set_unused_tablet_id(const ::std::string& value);
482
  #if LANG_CXX11
483
  void set_unused_tablet_id(::std::string&& value);
484
  #endif
485
  void set_unused_tablet_id(const char* value);
486
  void set_unused_tablet_id(const void* value, size_t size);
487
  ::std::string* mutable_unused_tablet_id();
488
  ::std::string* release_unused_tablet_id();
489
  void set_allocated_unused_tablet_id(::std::string* unused_tablet_id);
490
491
  // optional .yb.docdb.KeyValueWriteBatchPB write_batch = 7;
492
  bool has_write_batch() const;
493
  void clear_write_batch();
494
  static const int kWriteBatchFieldNumber = 7;
495
  const ::yb::docdb::KeyValueWriteBatchPB& write_batch() const;
496
  ::yb::docdb::KeyValueWriteBatchPB* release_write_batch();
497
  ::yb::docdb::KeyValueWriteBatchPB* mutable_write_batch();
498
  void set_allocated_write_batch(::yb::docdb::KeyValueWriteBatchPB* write_batch);
499
500
  // optional fixed64 client_id1 = 14;
501
  bool has_client_id1() const;
502
  void clear_client_id1();
503
  static const int kClientId1FieldNumber = 14;
504
  ::google::protobuf::uint64 client_id1() const;
505
  void set_client_id1(::google::protobuf::uint64 value);
506
507
  // optional fixed64 client_id2 = 15;
508
  bool has_client_id2() const;
509
  void clear_client_id2();
510
  static const int kClientId2FieldNumber = 15;
511
  ::google::protobuf::uint64 client_id2() const;
512
  void set_client_id2(::google::protobuf::uint64 value);
513
514
  // optional int64 request_id = 16;
515
  bool has_request_id() const;
516
  void clear_request_id();
517
  static const int kRequestIdFieldNumber = 16;
518
  ::google::protobuf::int64 request_id() const;
519
  void set_request_id(::google::protobuf::int64 value);
520
521
  // optional int64 min_running_request_id = 17;
522
  bool has_min_running_request_id() const;
523
  void clear_min_running_request_id();
524
  static const int kMinRunningRequestIdFieldNumber = 17;
525
  ::google::protobuf::int64 min_running_request_id() const;
526
  void set_min_running_request_id(::google::protobuf::int64 value);
527
528
  // optional fixed64 external_hybrid_time = 19;
529
  bool has_external_hybrid_time() const;
530
  void clear_external_hybrid_time();
531
  static const int kExternalHybridTimeFieldNumber = 19;
532
  ::google::protobuf::uint64 external_hybrid_time() const;
533
  void set_external_hybrid_time(::google::protobuf::uint64 value);
534
535
  // optional uint64 batch_idx = 20;
536
  bool has_batch_idx() const;
537
  void clear_batch_idx();
538
  static const int kBatchIdxFieldNumber = 20;
539
  ::google::protobuf::uint64 batch_idx() const;
540
  void set_batch_idx(::google::protobuf::uint64 value);
541
542
  // @@protoc_insertion_point(class_scope:yb.tablet.WritePB)
543
 private:
544
  void set_has_unused_tablet_id();
545
  void clear_has_unused_tablet_id();
546
  void set_has_write_batch();
547
  void clear_has_write_batch();
548
  void set_has_client_id1();
549
  void clear_has_client_id1();
550
  void set_has_client_id2();
551
  void clear_has_client_id2();
552
  void set_has_request_id();
553
  void clear_has_request_id();
554
  void set_has_min_running_request_id();
555
  void clear_has_min_running_request_id();
556
  void set_has_external_hybrid_time();
557
  void clear_has_external_hybrid_time();
558
  void set_has_batch_idx();
559
  void clear_has_batch_idx();
560
561
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
562
  ::google::protobuf::internal::HasBits<1> _has_bits_;
563
  mutable int _cached_size_;
564
  ::google::protobuf::internal::ArenaStringPtr unused_tablet_id_;
565
  ::yb::docdb::KeyValueWriteBatchPB* write_batch_;
566
  ::google::protobuf::uint64 client_id1_;
567
  ::google::protobuf::uint64 client_id2_;
568
  ::google::protobuf::int64 request_id_;
569
  ::google::protobuf::int64 min_running_request_id_;
570
  ::google::protobuf::uint64 external_hybrid_time_;
571
  ::google::protobuf::uint64 batch_idx_;
572
  friend struct ::protobuf_yb_2ftablet_2foperations_2eproto::TableStruct;
573
  friend void ::protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsWritePBImpl();
574
};
575
// -------------------------------------------------------------------
576
577
class ChangeMetadataRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.ChangeMetadataRequestPB) */ {
578
 public:
579
  ChangeMetadataRequestPB();
580
  virtual ~ChangeMetadataRequestPB();
581
582
  ChangeMetadataRequestPB(const ChangeMetadataRequestPB& from);
583
584
461k
  inline ChangeMetadataRequestPB& operator=(const ChangeMetadataRequestPB& from) {
585
461k
    CopyFrom(from);
586
461k
    return *this;
587
461k
  }
588
  #if LANG_CXX11
589
  ChangeMetadataRequestPB(ChangeMetadataRequestPB&& from) noexcept
590
3.16k
    : ChangeMetadataRequestPB() {
591
3.16k
    *this = ::std::move(from);
592
3.16k
  }
Unexecuted instantiation: yb::tablet::ChangeMetadataRequestPB::ChangeMetadataRequestPB(yb::tablet::ChangeMetadataRequestPB&&)
yb::tablet::ChangeMetadataRequestPB::ChangeMetadataRequestPB(yb::tablet::ChangeMetadataRequestPB&&)
Line
Count
Source
590
3.16k
    : ChangeMetadataRequestPB() {
591
3.16k
    *this = ::std::move(from);
592
3.16k
  }
593
594
4.28k
  inline ChangeMetadataRequestPB& operator=(ChangeMetadataRequestPB&& from) noexcept {
595
4.28k
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
596
4.28k
      if (this != &from) InternalSwap(&from);
597
4.28k
    } else {
598
0
      CopyFrom(from);
599
0
    }
600
4.28k
    return *this;
601
4.28k
  }
602
  #endif
603
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
604
0
    return _internal_metadata_.unknown_fields();
605
0
  }
606
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
607
0
    return _internal_metadata_.mutable_unknown_fields();
608
0
  }
609
610
  static const ::google::protobuf::Descriptor* descriptor();
611
  static const ChangeMetadataRequestPB& default_instance();
612
613
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
614
4.88M
  static inline const ChangeMetadataRequestPB* internal_default_instance() {
615
4.88M
    return reinterpret_cast<const ChangeMetadataRequestPB*>(
616
4.88M
               &_ChangeMetadataRequestPB_default_instance_);
617
4.88M
  }
618
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
619
    3;
620
621
  void Swap(ChangeMetadataRequestPB* other);
622
0
  friend void swap(ChangeMetadataRequestPB& a, ChangeMetadataRequestPB& b) {
623
0
    a.Swap(&b);
624
0
  }
625
626
  // implements Message ----------------------------------------------
627
628
0
  inline ChangeMetadataRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
629
630
  ChangeMetadataRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
631
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
632
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
633
  void CopyFrom(const ChangeMetadataRequestPB& from);
634
  void MergeFrom(const ChangeMetadataRequestPB& from);
635
  void Clear() PROTOBUF_FINAL;
636
  bool IsInitialized() const PROTOBUF_FINAL;
637
638
  size_t ByteSizeLong() const PROTOBUF_FINAL;
639
  bool MergePartialFromCodedStream(
640
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
641
  void SerializeWithCachedSizes(
642
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
643
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
644
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
645
1.75M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
646
  private:
647
  void SharedCtor();
648
  void SharedDtor();
649
  void SetCachedSize(int size) const PROTOBUF_FINAL;
650
  void InternalSwap(ChangeMetadataRequestPB* other);
651
  private:
652
8.57k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
653
8.57k
    return NULL;
654
8.57k
  }
655
0
  inline void* MaybeArenaPtr() const {
656
0
    return NULL;
657
0
  }
658
  public:
659
660
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
661
662
  // nested types ----------------------------------------------------
663
664
  // accessors -------------------------------------------------------
665
666
  // repeated .yb.IndexInfoPB indexes = 7;
667
  int indexes_size() const;
668
  void clear_indexes();
669
  static const int kIndexesFieldNumber = 7;
670
  const ::yb::IndexInfoPB& indexes(int index) const;
671
  ::yb::IndexInfoPB* mutable_indexes(int index);
672
  ::yb::IndexInfoPB* add_indexes();
673
  ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
674
      mutable_indexes();
675
  const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
676
      indexes() const;
677
678
  // required bytes tablet_id = 1;
679
  bool has_tablet_id() const;
680
  void clear_tablet_id();
681
  static const int kTabletIdFieldNumber = 1;
682
  const ::std::string& tablet_id() const;
683
  void set_tablet_id(const ::std::string& value);
684
  #if LANG_CXX11
685
  void set_tablet_id(::std::string&& value);
686
  #endif
687
  void set_tablet_id(const char* value);
688
  void set_tablet_id(const void* value, size_t size);
689
  ::std::string* mutable_tablet_id();
690
  ::std::string* release_tablet_id();
691
  void set_allocated_tablet_id(::std::string* tablet_id);
692
693
  // optional string new_table_name = 4;
694
  bool has_new_table_name() const;
695
  void clear_new_table_name();
696
  static const int kNewTableNameFieldNumber = 4;
697
  const ::std::string& new_table_name() const;
698
  void set_new_table_name(const ::std::string& value);
699
  #if LANG_CXX11
700
  void set_new_table_name(::std::string&& value);
701
  #endif
702
  void set_new_table_name(const char* value);
703
  void set_new_table_name(const char* value, size_t size);
704
  ::std::string* mutable_new_table_name();
705
  ::std::string* release_new_table_name();
706
  void set_allocated_new_table_name(::std::string* new_table_name);
707
708
  // optional bytes dest_uuid = 5;
709
  bool has_dest_uuid() const;
710
  void clear_dest_uuid();
711
  static const int kDestUuidFieldNumber = 5;
712
  const ::std::string& dest_uuid() const;
713
  void set_dest_uuid(const ::std::string& value);
714
  #if LANG_CXX11
715
  void set_dest_uuid(::std::string&& value);
716
  #endif
717
  void set_dest_uuid(const char* value);
718
  void set_dest_uuid(const void* value, size_t size);
719
  ::std::string* mutable_dest_uuid();
720
  ::std::string* release_dest_uuid();
721
  void set_allocated_dest_uuid(::std::string* dest_uuid);
722
723
  // optional bytes remove_table_id = 10;
724
  bool has_remove_table_id() const;
725
  void clear_remove_table_id();
726
  static const int kRemoveTableIdFieldNumber = 10;
727
  const ::std::string& remove_table_id() const;
728
  void set_remove_table_id(const ::std::string& value);
729
  #if LANG_CXX11
730
  void set_remove_table_id(::std::string&& value);
731
  #endif
732
  void set_remove_table_id(const char* value);
733
  void set_remove_table_id(const void* value, size_t size);
734
  ::std::string* mutable_remove_table_id();
735
  ::std::string* release_remove_table_id();
736
  void set_allocated_remove_table_id(::std::string* remove_table_id);
737
738
  // optional bytes alter_table_id = 12;
739
  bool has_alter_table_id() const;
740
  void clear_alter_table_id();
741
  static const int kAlterTableIdFieldNumber = 12;
742
  const ::std::string& alter_table_id() const;
743
  void set_alter_table_id(const ::std::string& value);
744
  #if LANG_CXX11
745
  void set_alter_table_id(::std::string&& value);
746
  #endif
747
  void set_alter_table_id(const char* value);
748
  void set_alter_table_id(const void* value, size_t size);
749
  ::std::string* mutable_alter_table_id();
750
  ::std::string* release_alter_table_id();
751
  void set_allocated_alter_table_id(::std::string* alter_table_id);
752
753
  // optional bytes backfill_done_table_id = 13;
754
  bool has_backfill_done_table_id() const;
755
  void clear_backfill_done_table_id();
756
  static const int kBackfillDoneTableIdFieldNumber = 13;
757
  const ::std::string& backfill_done_table_id() const;
758
  void set_backfill_done_table_id(const ::std::string& value);
759
  #if LANG_CXX11
760
  void set_backfill_done_table_id(::std::string&& value);
761
  #endif
762
  void set_backfill_done_table_id(const char* value);
763
  void set_backfill_done_table_id(const void* value, size_t size);
764
  ::std::string* mutable_backfill_done_table_id();
765
  ::std::string* release_backfill_done_table_id();
766
  void set_allocated_backfill_done_table_id(::std::string* backfill_done_table_id);
767
768
  // optional bytes transaction_id = 14;
769
  bool has_transaction_id() const;
770
  void clear_transaction_id();
771
  static const int kTransactionIdFieldNumber = 14;
772
  const ::std::string& transaction_id() const;
773
  void set_transaction_id(const ::std::string& value);
774
  #if LANG_CXX11
775
  void set_transaction_id(::std::string&& value);
776
  #endif
777
  void set_transaction_id(const char* value);
778
  void set_transaction_id(const void* value, size_t size);
779
  ::std::string* mutable_transaction_id();
780
  ::std::string* release_transaction_id();
781
  void set_allocated_transaction_id(::std::string* transaction_id);
782
783
  // optional .yb.SchemaPB schema = 2;
784
  bool has_schema() const;
785
  void clear_schema();
786
  static const int kSchemaFieldNumber = 2;
787
  const ::yb::SchemaPB& schema() const;
788
  ::yb::SchemaPB* release_schema();
789
  ::yb::SchemaPB* mutable_schema();
790
  void set_allocated_schema(::yb::SchemaPB* schema);
791
792
  // optional .yb.tablet.TableInfoPB add_table = 8;
793
  bool has_add_table() const;
794
  void clear_add_table();
795
  static const int kAddTableFieldNumber = 8;
796
  const ::yb::tablet::TableInfoPB& add_table() const;
797
  ::yb::tablet::TableInfoPB* release_add_table();
798
  ::yb::tablet::TableInfoPB* mutable_add_table();
799
  void set_allocated_add_table(::yb::tablet::TableInfoPB* add_table);
800
801
  // optional fixed64 propagated_hybrid_time = 6;
802
  bool has_propagated_hybrid_time() const;
803
  void clear_propagated_hybrid_time();
804
  static const int kPropagatedHybridTimeFieldNumber = 6;
805
  ::google::protobuf::uint64 propagated_hybrid_time() const;
806
  void set_propagated_hybrid_time(::google::protobuf::uint64 value);
807
808
  // optional uint32 schema_version = 3;
809
  bool has_schema_version() const;
810
  void clear_schema_version();
811
  static const int kSchemaVersionFieldNumber = 3;
812
  ::google::protobuf::uint32 schema_version() const;
813
  void set_schema_version(::google::protobuf::uint32 value);
814
815
  // optional uint32 wal_retention_secs = 9;
816
  bool has_wal_retention_secs() const;
817
  void clear_wal_retention_secs();
818
  static const int kWalRetentionSecsFieldNumber = 9;
819
  ::google::protobuf::uint32 wal_retention_secs() const;
820
  void set_wal_retention_secs(::google::protobuf::uint32 value);
821
822
  // optional bool mark_backfill_done = 11;
823
  bool has_mark_backfill_done() const;
824
  void clear_mark_backfill_done();
825
  static const int kMarkBackfillDoneFieldNumber = 11;
826
  bool mark_backfill_done() const;
827
  void set_mark_backfill_done(bool value);
828
829
  // optional bool should_abort_active_txns = 16 [default = false];
830
  bool has_should_abort_active_txns() const;
831
  void clear_should_abort_active_txns();
832
  static const int kShouldAbortActiveTxnsFieldNumber = 16;
833
  bool should_abort_active_txns() const;
834
  void set_should_abort_active_txns(bool value);
835
836
  // @@protoc_insertion_point(class_scope:yb.tablet.ChangeMetadataRequestPB)
837
 private:
838
  void set_has_dest_uuid();
839
  void clear_has_dest_uuid();
840
  void set_has_tablet_id();
841
  void clear_has_tablet_id();
842
  void set_has_schema();
843
  void clear_has_schema();
844
  void set_has_schema_version();
845
  void clear_has_schema_version();
846
  void set_has_new_table_name();
847
  void clear_has_new_table_name();
848
  void set_has_propagated_hybrid_time();
849
  void clear_has_propagated_hybrid_time();
850
  void set_has_add_table();
851
  void clear_has_add_table();
852
  void set_has_wal_retention_secs();
853
  void clear_has_wal_retention_secs();
854
  void set_has_remove_table_id();
855
  void clear_has_remove_table_id();
856
  void set_has_mark_backfill_done();
857
  void clear_has_mark_backfill_done();
858
  void set_has_alter_table_id();
859
  void clear_has_alter_table_id();
860
  void set_has_backfill_done_table_id();
861
  void clear_has_backfill_done_table_id();
862
  void set_has_transaction_id();
863
  void clear_has_transaction_id();
864
  void set_has_should_abort_active_txns();
865
  void clear_has_should_abort_active_txns();
866
867
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
868
  ::google::protobuf::internal::HasBits<1> _has_bits_;
869
  mutable int _cached_size_;
870
  ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB > indexes_;
871
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
872
  ::google::protobuf::internal::ArenaStringPtr new_table_name_;
873
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
874
  ::google::protobuf::internal::ArenaStringPtr remove_table_id_;
875
  ::google::protobuf::internal::ArenaStringPtr alter_table_id_;
876
  ::google::protobuf::internal::ArenaStringPtr backfill_done_table_id_;
877
  ::google::protobuf::internal::ArenaStringPtr transaction_id_;
878
  ::yb::SchemaPB* schema_;
879
  ::yb::tablet::TableInfoPB* add_table_;
880
  ::google::protobuf::uint64 propagated_hybrid_time_;
881
  ::google::protobuf::uint32 schema_version_;
882
  ::google::protobuf::uint32 wal_retention_secs_;
883
  bool mark_backfill_done_;
884
  bool should_abort_active_txns_;
885
  friend struct ::protobuf_yb_2ftablet_2foperations_2eproto::TableStruct;
886
  friend void ::protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsChangeMetadataRequestPBImpl();
887
};
888
// -------------------------------------------------------------------
889
890
class SplitTabletRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.tablet.SplitTabletRequestPB) */ {
891
 public:
892
  SplitTabletRequestPB();
893
  virtual ~SplitTabletRequestPB();
894
895
  SplitTabletRequestPB(const SplitTabletRequestPB& from);
896
897
45
  inline SplitTabletRequestPB& operator=(const SplitTabletRequestPB& from) {
898
45
    CopyFrom(from);
899
45
    return *this;
900
45
  }
901
  #if LANG_CXX11
902
  SplitTabletRequestPB(SplitTabletRequestPB&& from) noexcept
903
0
    : SplitTabletRequestPB() {
904
0
    *this = ::std::move(from);
905
0
  }
906
907
0
  inline SplitTabletRequestPB& operator=(SplitTabletRequestPB&& from) noexcept {
908
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
909
0
      if (this != &from) InternalSwap(&from);
910
0
    } else {
911
0
      CopyFrom(from);
912
0
    }
913
0
    return *this;
914
0
  }
915
  #endif
916
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
917
0
    return _internal_metadata_.unknown_fields();
918
0
  }
919
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
920
0
    return _internal_metadata_.mutable_unknown_fields();
921
0
  }
922
923
  static const ::google::protobuf::Descriptor* descriptor();
924
  static const SplitTabletRequestPB& default_instance();
925
926
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
927
70.8k
  static inline const SplitTabletRequestPB* internal_default_instance() {
928
70.8k
    return reinterpret_cast<const SplitTabletRequestPB*>(
929
70.8k
               &_SplitTabletRequestPB_default_instance_);
930
70.8k
  }
931
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
932
    4;
933
934
  void Swap(SplitTabletRequestPB* other);
935
0
  friend void swap(SplitTabletRequestPB& a, SplitTabletRequestPB& b) {
936
0
    a.Swap(&b);
937
0
  }
938
939
  // implements Message ----------------------------------------------
940
941
0
  inline SplitTabletRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
942
943
  SplitTabletRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
944
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
945
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
946
  void CopyFrom(const SplitTabletRequestPB& from);
947
  void MergeFrom(const SplitTabletRequestPB& from);
948
  void Clear() PROTOBUF_FINAL;
949
  bool IsInitialized() const PROTOBUF_FINAL;
950
951
  size_t ByteSizeLong() const PROTOBUF_FINAL;
952
  bool MergePartialFromCodedStream(
953
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
954
  void SerializeWithCachedSizes(
955
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
956
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
957
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
958
94
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
959
  private:
960
  void SharedCtor();
961
  void SharedDtor();
962
  void SetCachedSize(int size) const PROTOBUF_FINAL;
963
  void InternalSwap(SplitTabletRequestPB* other);
964
  private:
965
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
966
0
    return NULL;
967
0
  }
968
0
  inline void* MaybeArenaPtr() const {
969
0
    return NULL;
970
0
  }
971
  public:
972
973
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
974
975
  // nested types ----------------------------------------------------
976
977
  // accessors -------------------------------------------------------
978
979
  // optional bytes dest_uuid = 1;
980
  bool has_dest_uuid() const;
981
  void clear_dest_uuid();
982
  static const int kDestUuidFieldNumber = 1;
983
  const ::std::string& dest_uuid() const;
984
  void set_dest_uuid(const ::std::string& value);
985
  #if LANG_CXX11
986
  void set_dest_uuid(::std::string&& value);
987
  #endif
988
  void set_dest_uuid(const char* value);
989
  void set_dest_uuid(const void* value, size_t size);
990
  ::std::string* mutable_dest_uuid();
991
  ::std::string* release_dest_uuid();
992
  void set_allocated_dest_uuid(::std::string* dest_uuid);
993
994
  // required bytes tablet_id = 3;
995
  bool has_tablet_id() const;
996
  void clear_tablet_id();
997
  static const int kTabletIdFieldNumber = 3;
998
  const ::std::string& tablet_id() const;
999
  void set_tablet_id(const ::std::string& value);
1000
  #if LANG_CXX11
1001
  void set_tablet_id(::std::string&& value);
1002
  #endif
1003
  void set_tablet_id(const char* value);
1004
  void set_tablet_id(const void* value, size_t size);
1005
  ::std::string* mutable_tablet_id();
1006
  ::std::string* release_tablet_id();
1007
  void set_allocated_tablet_id(::std::string* tablet_id);
1008
1009
  // required bytes new_tablet1_id = 4;
1010
  bool has_new_tablet1_id() const;
1011
  void clear_new_tablet1_id();
1012
  static const int kNewTablet1IdFieldNumber = 4;
1013
  const ::std::string& new_tablet1_id() const;
1014
  void set_new_tablet1_id(const ::std::string& value);
1015
  #if LANG_CXX11
1016
  void set_new_tablet1_id(::std::string&& value);
1017
  #endif
1018
  void set_new_tablet1_id(const char* value);
1019
  void set_new_tablet1_id(const void* value, size_t size);
1020
  ::std::string* mutable_new_tablet1_id();
1021
  ::std::string* release_new_tablet1_id();
1022
  void set_allocated_new_tablet1_id(::std::string* new_tablet1_id);
1023
1024
  // required bytes new_tablet2_id = 5;
1025
  bool has_new_tablet2_id() const;
1026
  void clear_new_tablet2_id();
1027
  static const int kNewTablet2IdFieldNumber = 5;
1028
  const ::std::string& new_tablet2_id() const;
1029
  void set_new_tablet2_id(const ::std::string& value);
1030
  #if LANG_CXX11
1031
  void set_new_tablet2_id(::std::string&& value);
1032
  #endif
1033
  void set_new_tablet2_id(const char* value);
1034
  void set_new_tablet2_id(const void* value, size_t size);
1035
  ::std::string* mutable_new_tablet2_id();
1036
  ::std::string* release_new_tablet2_id();
1037
  void set_allocated_new_tablet2_id(::std::string* new_tablet2_id);
1038
1039
  // required bytes split_partition_key = 6;
1040
  bool has_split_partition_key() const;
1041
  void clear_split_partition_key();
1042
  static const int kSplitPartitionKeyFieldNumber = 6;
1043
  const ::std::string& split_partition_key() const;
1044
  void set_split_partition_key(const ::std::string& value);
1045
  #if LANG_CXX11
1046
  void set_split_partition_key(::std::string&& value);
1047
  #endif
1048
  void set_split_partition_key(const char* value);
1049
  void set_split_partition_key(const void* value, size_t size);
1050
  ::std::string* mutable_split_partition_key();
1051
  ::std::string* release_split_partition_key();
1052
  void set_allocated_split_partition_key(::std::string* split_partition_key);
1053
1054
  // required bytes split_encoded_key = 7;
1055
  bool has_split_encoded_key() const;
1056
  void clear_split_encoded_key();
1057
  static const int kSplitEncodedKeyFieldNumber = 7;
1058
  const ::std::string& split_encoded_key() const;
1059
  void set_split_encoded_key(const ::std::string& value);
1060
  #if LANG_CXX11
1061
  void set_split_encoded_key(::std::string&& value);
1062
  #endif
1063
  void set_split_encoded_key(const char* value);
1064
  void set_split_encoded_key(const void* value, size_t size);
1065
  ::std::string* mutable_split_encoded_key();
1066
  ::std::string* release_split_encoded_key();
1067
  void set_allocated_split_encoded_key(::std::string* split_encoded_key);
1068
1069
  // optional fixed64 propagated_hybrid_time = 2;
1070
  bool has_propagated_hybrid_time() const;
1071
  void clear_propagated_hybrid_time();
1072
  static const int kPropagatedHybridTimeFieldNumber = 2;
1073
  ::google::protobuf::uint64 propagated_hybrid_time() const;
1074
  void set_propagated_hybrid_time(::google::protobuf::uint64 value);
1075
1076
  // @@protoc_insertion_point(class_scope:yb.tablet.SplitTabletRequestPB)
1077
 private:
1078
  void set_has_dest_uuid();
1079
  void clear_has_dest_uuid();
1080
  void set_has_propagated_hybrid_time();
1081
  void clear_has_propagated_hybrid_time();
1082
  void set_has_tablet_id();
1083
  void clear_has_tablet_id();
1084
  void set_has_new_tablet1_id();
1085
  void clear_has_new_tablet1_id();
1086
  void set_has_new_tablet2_id();
1087
  void clear_has_new_tablet2_id();
1088
  void set_has_split_partition_key();
1089
  void clear_has_split_partition_key();
1090
  void set_has_split_encoded_key();
1091
  void clear_has_split_encoded_key();
1092
1093
  // helper for ByteSizeLong()
1094
  size_t RequiredFieldsByteSizeFallback() const;
1095
1096
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1097
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1098
  mutable int _cached_size_;
1099
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
1100
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
1101
  ::google::protobuf::internal::ArenaStringPtr new_tablet1_id_;
1102
  ::google::protobuf::internal::ArenaStringPtr new_tablet2_id_;
1103
  ::google::protobuf::internal::ArenaStringPtr split_partition_key_;
1104
  ::google::protobuf::internal::ArenaStringPtr split_encoded_key_;
1105
  ::google::protobuf::uint64 propagated_hybrid_time_;
1106
  friend struct ::protobuf_yb_2ftablet_2foperations_2eproto::TableStruct;
1107
  friend void ::protobuf_yb_2ftablet_2foperations_2eproto::InitDefaultsSplitTabletRequestPBImpl();
1108
};
1109
// ===================================================================
1110
1111
1112
// ===================================================================
1113
1114
#ifdef __GNUC__
1115
  #pragma GCC diagnostic push
1116
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1117
#endif  // __GNUC__
1118
// TransactionStatePB
1119
1120
// optional bytes transaction_id = 1;
1121
20.5M
inline bool TransactionStatePB::has_transaction_id() const {
1122
20.5M
  return (_has_bits_[0] & 0x00000001u) != 0;
1123
20.5M
}
1124
8.66M
inline void TransactionStatePB::set_has_transaction_id() {
1125
8.66M
  _has_bits_[0] |= 0x00000001u;
1126
8.66M
}
1127
0
inline void TransactionStatePB::clear_has_transaction_id() {
1128
0
  _has_bits_[0] &= ~0x00000001u;
1129
0
}
1130
0
inline void TransactionStatePB::clear_transaction_id() {
1131
0
  transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1132
0
  clear_has_transaction_id();
1133
0
}
1134
36.0M
inline const ::std::string& TransactionStatePB::transaction_id() const {
1135
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.transaction_id)
1136
36.0M
  return transaction_id_.GetNoArena();
1137
36.0M
}
1138
0
inline void TransactionStatePB::set_transaction_id(const ::std::string& value) {
1139
0
  set_has_transaction_id();
1140
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1141
0
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.transaction_id)
1142
0
}
1143
#if LANG_CXX11
1144
0
inline void TransactionStatePB::set_transaction_id(::std::string&& value) {
1145
0
  set_has_transaction_id();
1146
0
  transaction_id_.SetNoArena(
1147
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1148
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.TransactionStatePB.transaction_id)
1149
0
}
1150
#endif
1151
0
inline void TransactionStatePB::set_transaction_id(const char* value) {
1152
0
  GOOGLE_DCHECK(value != NULL);
1153
0
  set_has_transaction_id();
1154
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1155
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.TransactionStatePB.transaction_id)
1156
0
}
1157
3.35M
inline void TransactionStatePB::set_transaction_id(const void* value, size_t size) {
1158
3.35M
  set_has_transaction_id();
1159
3.35M
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1160
3.35M
      ::std::string(reinterpret_cast<const char*>(value), size));
1161
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.TransactionStatePB.transaction_id)
1162
3.35M
}
1163
4.21M
inline ::std::string* TransactionStatePB::mutable_transaction_id() {
1164
4.21M
  set_has_transaction_id();
1165
  // @@protoc_insertion_point(field_mutable:yb.tablet.TransactionStatePB.transaction_id)
1166
4.21M
  return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1167
4.21M
}
1168
0
inline ::std::string* TransactionStatePB::release_transaction_id() {
1169
0
  // @@protoc_insertion_point(field_release:yb.tablet.TransactionStatePB.transaction_id)
1170
0
  clear_has_transaction_id();
1171
0
  return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1172
0
}
1173
0
inline void TransactionStatePB::set_allocated_transaction_id(::std::string* transaction_id) {
1174
0
  if (transaction_id != NULL) {
1175
0
    set_has_transaction_id();
1176
0
  } else {
1177
0
    clear_has_transaction_id();
1178
0
  }
1179
0
  transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id);
1180
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TransactionStatePB.transaction_id)
1181
0
}
1182
1183
// optional .yb.TransactionStatus status = 2;
1184
20.5M
inline bool TransactionStatePB::has_status() const {
1185
20.5M
  return (_has_bits_[0] & 0x00000010u) != 0;
1186
20.5M
}
1187
7.27M
inline void TransactionStatePB::set_has_status() {
1188
7.27M
  _has_bits_[0] |= 0x00000010u;
1189
7.27M
}
1190
0
inline void TransactionStatePB::clear_has_status() {
1191
0
  _has_bits_[0] &= ~0x00000010u;
1192
0
}
1193
0
inline void TransactionStatePB::clear_status() {
1194
0
  status_ = 1;
1195
0
  clear_has_status();
1196
0
}
1197
49.8M
inline ::yb::TransactionStatus TransactionStatePB::status() const {
1198
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.status)
1199
49.8M
  return static_cast< ::yb::TransactionStatus >(status_);
1200
49.8M
}
1201
7.27M
inline void TransactionStatePB::set_status(::yb::TransactionStatus value) {
1202
7.27M
  assert(::yb::TransactionStatus_IsValid(value));
1203
0
  set_has_status();
1204
7.27M
  status_ = value;
1205
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.status)
1206
7.27M
}
1207
1208
// repeated bytes tablets = 3;
1209
51.5M
inline int TransactionStatePB::tablets_size() const {
1210
51.5M
  return tablets_.size();
1211
51.5M
}
1212
0
inline void TransactionStatePB::clear_tablets() {
1213
0
  tablets_.Clear();
1214
0
}
1215
18.3M
inline const ::std::string& TransactionStatePB::tablets(int index) const {
1216
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.tablets)
1217
18.3M
  return tablets_.Get(index);
1218
18.3M
}
1219
0
inline ::std::string* TransactionStatePB::mutable_tablets(int index) {
1220
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.TransactionStatePB.tablets)
1221
0
  return tablets_.Mutable(index);
1222
0
}
1223
0
inline void TransactionStatePB::set_tablets(int index, const ::std::string& value) {
1224
0
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.tablets)
1225
0
  tablets_.Mutable(index)->assign(value);
1226
0
}
1227
#if LANG_CXX11
1228
0
inline void TransactionStatePB::set_tablets(int index, ::std::string&& value) {
1229
0
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.tablets)
1230
0
  tablets_.Mutable(index)->assign(std::move(value));
1231
0
}
1232
#endif
1233
0
inline void TransactionStatePB::set_tablets(int index, const char* value) {
1234
0
  GOOGLE_DCHECK(value != NULL);
1235
0
  tablets_.Mutable(index)->assign(value);
1236
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.TransactionStatePB.tablets)
1237
0
}
1238
0
inline void TransactionStatePB::set_tablets(int index, const void* value, size_t size) {
1239
0
  tablets_.Mutable(index)->assign(
1240
0
    reinterpret_cast<const char*>(value), size);
1241
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.TransactionStatePB.tablets)
1242
0
}
1243
2.33M
inline ::std::string* TransactionStatePB::add_tablets() {
1244
  // @@protoc_insertion_point(field_add_mutable:yb.tablet.TransactionStatePB.tablets)
1245
2.33M
  return tablets_.Add();
1246
2.33M
}
1247
1.39M
inline void TransactionStatePB::add_tablets(const ::std::string& value) {
1248
1.39M
  tablets_.Add()->assign(value);
1249
  // @@protoc_insertion_point(field_add:yb.tablet.TransactionStatePB.tablets)
1250
1.39M
}
1251
#if LANG_CXX11
1252
0
inline void TransactionStatePB::add_tablets(::std::string&& value) {
1253
0
  tablets_.Add(std::move(value));
1254
0
  // @@protoc_insertion_point(field_add:yb.tablet.TransactionStatePB.tablets)
1255
0
}
1256
#endif
1257
0
inline void TransactionStatePB::add_tablets(const char* value) {
1258
0
  GOOGLE_DCHECK(value != NULL);
1259
0
  tablets_.Add()->assign(value);
1260
0
  // @@protoc_insertion_point(field_add_char:yb.tablet.TransactionStatePB.tablets)
1261
0
}
1262
0
inline void TransactionStatePB::add_tablets(const void* value, size_t size) {
1263
0
  tablets_.Add()->assign(reinterpret_cast<const char*>(value), size);
1264
0
  // @@protoc_insertion_point(field_add_pointer:yb.tablet.TransactionStatePB.tablets)
1265
0
}
1266
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1267
1.45M
TransactionStatePB::tablets() const {
1268
  // @@protoc_insertion_point(field_list:yb.tablet.TransactionStatePB.tablets)
1269
1.45M
  return tablets_;
1270
1.45M
}
1271
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1272
268k
TransactionStatePB::mutable_tablets() {
1273
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.TransactionStatePB.tablets)
1274
268k
  return &tablets_;
1275
268k
}
1276
1277
// repeated int64 tablet_batches = 5;
1278
20.5M
inline int TransactionStatePB::tablet_batches_size() const {
1279
20.5M
  return tablet_batches_.size();
1280
20.5M
}
1281
0
inline void TransactionStatePB::clear_tablet_batches() {
1282
0
  tablet_batches_.Clear();
1283
0
}
1284
0
inline ::google::protobuf::int64 TransactionStatePB::tablet_batches(int index) const {
1285
0
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.tablet_batches)
1286
0
  return tablet_batches_.Get(index);
1287
0
}
1288
0
inline void TransactionStatePB::set_tablet_batches(int index, ::google::protobuf::int64 value) {
1289
0
  tablet_batches_.Set(index, value);
1290
0
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.tablet_batches)
1291
0
}
1292
0
inline void TransactionStatePB::add_tablet_batches(::google::protobuf::int64 value) {
1293
0
  tablet_batches_.Add(value);
1294
0
  // @@protoc_insertion_point(field_add:yb.tablet.TransactionStatePB.tablet_batches)
1295
0
}
1296
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1297
0
TransactionStatePB::tablet_batches() const {
1298
0
  // @@protoc_insertion_point(field_list:yb.tablet.TransactionStatePB.tablet_batches)
1299
0
  return tablet_batches_;
1300
0
}
1301
inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1302
0
TransactionStatePB::mutable_tablet_batches() {
1303
0
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.TransactionStatePB.tablet_batches)
1304
0
  return &tablet_batches_;
1305
0
}
1306
1307
// optional fixed64 commit_hybrid_time = 4;
1308
20.5M
inline bool TransactionStatePB::has_commit_hybrid_time() const {
1309
20.5M
  return (_has_bits_[0] & 0x00000004u) != 0;
1310
20.5M
}
1311
1.59M
inline void TransactionStatePB::set_has_commit_hybrid_time() {
1312
1.59M
  _has_bits_[0] |= 0x00000004u;
1313
1.59M
}
1314
0
inline void TransactionStatePB::clear_has_commit_hybrid_time() {
1315
0
  _has_bits_[0] &= ~0x00000004u;
1316
0
}
1317
0
inline void TransactionStatePB::clear_commit_hybrid_time() {
1318
0
  commit_hybrid_time_ = GOOGLE_ULONGLONG(0);
1319
0
  clear_has_commit_hybrid_time();
1320
0
}
1321
3.77M
inline ::google::protobuf::uint64 TransactionStatePB::commit_hybrid_time() const {
1322
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.commit_hybrid_time)
1323
3.77M
  return commit_hybrid_time_;
1324
3.77M
}
1325
436k
inline void TransactionStatePB::set_commit_hybrid_time(::google::protobuf::uint64 value) {
1326
436k
  set_has_commit_hybrid_time();
1327
436k
  commit_hybrid_time_ = value;
1328
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.commit_hybrid_time)
1329
436k
}
1330
1331
// optional bool sealed = 6;
1332
20.5M
inline bool TransactionStatePB::has_sealed() const {
1333
20.5M
  return (_has_bits_[0] & 0x00000008u) != 0;
1334
20.5M
}
1335
3.14M
inline void TransactionStatePB::set_has_sealed() {
1336
3.14M
  _has_bits_[0] |= 0x00000008u;
1337
3.14M
}
1338
0
inline void TransactionStatePB::clear_has_sealed() {
1339
0
  _has_bits_[0] &= ~0x00000008u;
1340
0
}
1341
0
inline void TransactionStatePB::clear_sealed() {
1342
0
  sealed_ = false;
1343
0
  clear_has_sealed();
1344
0
}
1345
5.31M
inline bool TransactionStatePB::sealed() const {
1346
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.sealed)
1347
5.31M
  return sealed_;
1348
5.31M
}
1349
1.36M
inline void TransactionStatePB::set_sealed(bool value) {
1350
1.36M
  set_has_sealed();
1351
1.36M
  sealed_ = value;
1352
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.sealed)
1353
1.36M
}
1354
1355
// optional .yb.AbortedSubTransactionSetPB aborted = 7;
1356
20.5M
inline bool TransactionStatePB::has_aborted() const {
1357
20.5M
  return (_has_bits_[0] & 0x00000002u) != 0;
1358
20.5M
}
1359
2.04M
inline void TransactionStatePB::set_has_aborted() {
1360
2.04M
  _has_bits_[0] |= 0x00000002u;
1361
2.04M
}
1362
0
inline void TransactionStatePB::clear_has_aborted() {
1363
0
  _has_bits_[0] &= ~0x00000002u;
1364
0
}
1365
2.33M
inline const ::yb::AbortedSubTransactionSetPB& TransactionStatePB::aborted() const {
1366
2.33M
  const ::yb::AbortedSubTransactionSetPB* p = aborted_;
1367
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.aborted)
1368
2.33M
  return p != NULL ? 
*p1.74M
: *reinterpret_cast<const ::yb::AbortedSubTransactionSetPB*>(
1369
588k
      &::yb::_AbortedSubTransactionSetPB_default_instance_);
1370
2.33M
}
1371
0
inline ::yb::AbortedSubTransactionSetPB* TransactionStatePB::release_aborted() {
1372
0
  // @@protoc_insertion_point(field_release:yb.tablet.TransactionStatePB.aborted)
1373
0
  clear_has_aborted();
1374
0
  ::yb::AbortedSubTransactionSetPB* temp = aborted_;
1375
0
  aborted_ = NULL;
1376
0
  return temp;
1377
0
}
1378
2.04M
inline ::yb::AbortedSubTransactionSetPB* TransactionStatePB::mutable_aborted() {
1379
2.04M
  set_has_aborted();
1380
2.04M
  if (
aborted_ == NULL2.04M
) {
1381
2.04M
    aborted_ = new ::yb::AbortedSubTransactionSetPB;
1382
2.04M
  }
1383
  // @@protoc_insertion_point(field_mutable:yb.tablet.TransactionStatePB.aborted)
1384
2.04M
  return aborted_;
1385
2.04M
}
1386
0
inline void TransactionStatePB::set_allocated_aborted(::yb::AbortedSubTransactionSetPB* aborted) {
1387
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1388
0
  if (message_arena == NULL) {
1389
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(aborted_);
1390
0
  }
1391
0
  if (aborted) {
1392
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1393
0
    if (message_arena != submessage_arena) {
1394
0
      aborted = ::google::protobuf::internal::GetOwnedMessage(
1395
0
          message_arena, aborted, submessage_arena);
1396
0
    }
1397
0
    set_has_aborted();
1398
0
  } else {
1399
0
    clear_has_aborted();
1400
0
  }
1401
0
  aborted_ = aborted;
1402
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.TransactionStatePB.aborted)
1403
0
}
1404
1405
// -------------------------------------------------------------------
1406
1407
// TruncatePB
1408
1409
// -------------------------------------------------------------------
1410
1411
// WritePB
1412
1413
// optional bytes unused_tablet_id = 1;
1414
34.8M
inline bool WritePB::has_unused_tablet_id() const {
1415
34.8M
  return (_has_bits_[0] & 0x00000001u) != 0;
1416
34.8M
}
1417
10.4M
inline void WritePB::set_has_unused_tablet_id() {
1418
10.4M
  _has_bits_[0] |= 0x00000001u;
1419
10.4M
}
1420
0
inline void WritePB::clear_has_unused_tablet_id() {
1421
0
  _has_bits_[0] &= ~0x00000001u;
1422
0
}
1423
0
inline void WritePB::clear_unused_tablet_id() {
1424
0
  unused_tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1425
0
  clear_has_unused_tablet_id();
1426
0
}
1427
47.8M
inline const ::std::string& WritePB::unused_tablet_id() const {
1428
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.unused_tablet_id)
1429
47.8M
  return unused_tablet_id_.GetNoArena();
1430
47.8M
}
1431
0
inline void WritePB::set_unused_tablet_id(const ::std::string& value) {
1432
0
  set_has_unused_tablet_id();
1433
0
  unused_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1434
0
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.unused_tablet_id)
1435
0
}
1436
#if LANG_CXX11
1437
0
inline void WritePB::set_unused_tablet_id(::std::string&& value) {
1438
0
  set_has_unused_tablet_id();
1439
0
  unused_tablet_id_.SetNoArena(
1440
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1441
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.WritePB.unused_tablet_id)
1442
0
}
1443
#endif
1444
3.24M
inline void WritePB::set_unused_tablet_id(const char* value) {
1445
3.24M
  GOOGLE_DCHECK(value != NULL);
1446
3.24M
  set_has_unused_tablet_id();
1447
3.24M
  unused_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1448
  // @@protoc_insertion_point(field_set_char:yb.tablet.WritePB.unused_tablet_id)
1449
3.24M
}
1450
0
inline void WritePB::set_unused_tablet_id(const void* value, size_t size) {
1451
0
  set_has_unused_tablet_id();
1452
0
  unused_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1453
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1454
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.WritePB.unused_tablet_id)
1455
0
}
1456
7.22M
inline ::std::string* WritePB::mutable_unused_tablet_id() {
1457
7.22M
  set_has_unused_tablet_id();
1458
  // @@protoc_insertion_point(field_mutable:yb.tablet.WritePB.unused_tablet_id)
1459
7.22M
  return unused_tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1460
7.22M
}
1461
0
inline ::std::string* WritePB::release_unused_tablet_id() {
1462
0
  // @@protoc_insertion_point(field_release:yb.tablet.WritePB.unused_tablet_id)
1463
0
  clear_has_unused_tablet_id();
1464
0
  return unused_tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1465
0
}
1466
0
inline void WritePB::set_allocated_unused_tablet_id(::std::string* unused_tablet_id) {
1467
0
  if (unused_tablet_id != NULL) {
1468
0
    set_has_unused_tablet_id();
1469
0
  } else {
1470
0
    clear_has_unused_tablet_id();
1471
0
  }
1472
0
  unused_tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), unused_tablet_id);
1473
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.WritePB.unused_tablet_id)
1474
0
}
1475
1476
// optional .yb.docdb.KeyValueWriteBatchPB write_batch = 7;
1477
36.8M
inline bool WritePB::has_write_batch() const {
1478
36.8M
  return (_has_bits_[0] & 0x00000002u) != 0;
1479
36.8M
}
1480
17.7M
inline void WritePB::set_has_write_batch() {
1481
17.7M
  _has_bits_[0] |= 0x00000002u;
1482
17.7M
}
1483
0
inline void WritePB::clear_has_write_batch() {
1484
0
  _has_bits_[0] &= ~0x00000002u;
1485
0
}
1486
16.2M
inline const ::yb::docdb::KeyValueWriteBatchPB& WritePB::write_batch() const {
1487
16.2M
  const ::yb::docdb::KeyValueWriteBatchPB* p = write_batch_;
1488
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.write_batch)
1489
16.2M
  return p != NULL ? 
*p16.2M
: *reinterpret_cast<const ::yb::docdb::KeyValueWriteBatchPB*>(
1490
1.12k
      &::yb::docdb::_KeyValueWriteBatchPB_default_instance_);
1491
16.2M
}
1492
0
inline ::yb::docdb::KeyValueWriteBatchPB* WritePB::release_write_batch() {
1493
0
  // @@protoc_insertion_point(field_release:yb.tablet.WritePB.write_batch)
1494
0
  clear_has_write_batch();
1495
0
  ::yb::docdb::KeyValueWriteBatchPB* temp = write_batch_;
1496
0
  write_batch_ = NULL;
1497
0
  return temp;
1498
0
}
1499
17.7M
inline ::yb::docdb::KeyValueWriteBatchPB* WritePB::mutable_write_batch() {
1500
17.7M
  set_has_write_batch();
1501
17.7M
  if (write_batch_ == NULL) {
1502
11.3M
    write_batch_ = new ::yb::docdb::KeyValueWriteBatchPB;
1503
11.3M
  }
1504
  // @@protoc_insertion_point(field_mutable:yb.tablet.WritePB.write_batch)
1505
17.7M
  return write_batch_;
1506
17.7M
}
1507
0
inline void WritePB::set_allocated_write_batch(::yb::docdb::KeyValueWriteBatchPB* write_batch) {
1508
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1509
0
  if (message_arena == NULL) {
1510
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(write_batch_);
1511
0
  }
1512
0
  if (write_batch) {
1513
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1514
0
    if (message_arena != submessage_arena) {
1515
0
      write_batch = ::google::protobuf::internal::GetOwnedMessage(
1516
0
          message_arena, write_batch, submessage_arena);
1517
0
    }
1518
0
    set_has_write_batch();
1519
0
  } else {
1520
0
    clear_has_write_batch();
1521
0
  }
1522
0
  write_batch_ = write_batch;
1523
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.WritePB.write_batch)
1524
0
}
1525
1526
// optional fixed64 client_id1 = 14;
1527
34.8M
inline bool WritePB::has_client_id1() const {
1528
34.8M
  return (_has_bits_[0] & 0x00000004u) != 0;
1529
34.8M
}
1530
8.74M
inline void WritePB::set_has_client_id1() {
1531
8.74M
  _has_bits_[0] |= 0x00000004u;
1532
8.74M
}
1533
0
inline void WritePB::clear_has_client_id1() {
1534
0
  _has_bits_[0] &= ~0x00000004u;
1535
0
}
1536
0
inline void WritePB::clear_client_id1() {
1537
0
  client_id1_ = GOOGLE_ULONGLONG(0);
1538
0
  clear_has_client_id1();
1539
0
}
1540
29.7M
inline ::google::protobuf::uint64 WritePB::client_id1() const {
1541
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.client_id1)
1542
29.7M
  return client_id1_;
1543
29.7M
}
1544
2.52M
inline void WritePB::set_client_id1(::google::protobuf::uint64 value) {
1545
2.52M
  set_has_client_id1();
1546
2.52M
  client_id1_ = value;
1547
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.client_id1)
1548
2.52M
}
1549
1550
// optional fixed64 client_id2 = 15;
1551
34.8M
inline bool WritePB::has_client_id2() const {
1552
34.8M
  return (_has_bits_[0] & 0x00000008u) != 0;
1553
34.8M
}
1554
8.73M
inline void WritePB::set_has_client_id2() {
1555
8.73M
  _has_bits_[0] |= 0x00000008u;
1556
8.73M
}
1557
0
inline void WritePB::clear_has_client_id2() {
1558
0
  _has_bits_[0] &= ~0x00000008u;
1559
0
}
1560
0
inline void WritePB::clear_client_id2() {
1561
0
  client_id2_ = GOOGLE_ULONGLONG(0);
1562
0
  clear_has_client_id2();
1563
0
}
1564
29.6M
inline ::google::protobuf::uint64 WritePB::client_id2() const {
1565
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.client_id2)
1566
29.6M
  return client_id2_;
1567
29.6M
}
1568
2.52M
inline void WritePB::set_client_id2(::google::protobuf::uint64 value) {
1569
2.52M
  set_has_client_id2();
1570
2.52M
  client_id2_ = value;
1571
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.client_id2)
1572
2.52M
}
1573
1574
// optional int64 request_id = 16;
1575
34.8M
inline bool WritePB::has_request_id() const {
1576
34.8M
  return (_has_bits_[0] & 0x00000010u) != 0;
1577
34.8M
}
1578
8.73M
inline void WritePB::set_has_request_id() {
1579
8.73M
  _has_bits_[0] |= 0x00000010u;
1580
8.73M
}
1581
0
inline void WritePB::clear_has_request_id() {
1582
0
  _has_bits_[0] &= ~0x00000010u;
1583
0
}
1584
0
inline void WritePB::clear_request_id() {
1585
0
  request_id_ = GOOGLE_LONGLONG(0);
1586
0
  clear_has_request_id();
1587
0
}
1588
76.4M
inline ::google::protobuf::int64 WritePB::request_id() const {
1589
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.request_id)
1590
76.4M
  return request_id_;
1591
76.4M
}
1592
2.52M
inline void WritePB::set_request_id(::google::protobuf::int64 value) {
1593
2.52M
  set_has_request_id();
1594
2.52M
  request_id_ = value;
1595
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.request_id)
1596
2.52M
}
1597
1598
// optional int64 min_running_request_id = 17;
1599
34.8M
inline bool WritePB::has_min_running_request_id() const {
1600
34.8M
  return (_has_bits_[0] & 0x00000020u) != 0;
1601
34.8M
}
1602
8.73M
inline void WritePB::set_has_min_running_request_id() {
1603
8.73M
  _has_bits_[0] |= 0x00000020u;
1604
8.73M
}
1605
0
inline void WritePB::clear_has_min_running_request_id() {
1606
0
  _has_bits_[0] &= ~0x00000020u;
1607
0
}
1608
0
inline void WritePB::clear_min_running_request_id() {
1609
0
  min_running_request_id_ = GOOGLE_LONGLONG(0);
1610
0
  clear_has_min_running_request_id();
1611
0
}
1612
47.3M
inline ::google::protobuf::int64 WritePB::min_running_request_id() const {
1613
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.min_running_request_id)
1614
47.3M
  return min_running_request_id_;
1615
47.3M
}
1616
2.52M
inline void WritePB::set_min_running_request_id(::google::protobuf::int64 value) {
1617
2.52M
  set_has_min_running_request_id();
1618
2.52M
  min_running_request_id_ = value;
1619
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.min_running_request_id)
1620
2.52M
}
1621
1622
// optional fixed64 external_hybrid_time = 19;
1623
43.6M
inline bool WritePB::has_external_hybrid_time() const {
1624
43.6M
  return (_has_bits_[0] & 0x00000040u) != 0;
1625
43.6M
}
1626
5.47k
inline void WritePB::set_has_external_hybrid_time() {
1627
5.47k
  _has_bits_[0] |= 0x00000040u;
1628
5.47k
}
1629
0
inline void WritePB::clear_has_external_hybrid_time() {
1630
0
  _has_bits_[0] &= ~0x00000040u;
1631
0
}
1632
0
inline void WritePB::clear_external_hybrid_time() {
1633
0
  external_hybrid_time_ = GOOGLE_ULONGLONG(0);
1634
0
  clear_has_external_hybrid_time();
1635
0
}
1636
14.5k
inline ::google::protobuf::uint64 WritePB::external_hybrid_time() const {
1637
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.external_hybrid_time)
1638
14.5k
  return external_hybrid_time_;
1639
14.5k
}
1640
1.87k
inline void WritePB::set_external_hybrid_time(::google::protobuf::uint64 value) {
1641
1.87k
  set_has_external_hybrid_time();
1642
1.87k
  external_hybrid_time_ = value;
1643
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.external_hybrid_time)
1644
1.87k
}
1645
1646
// optional uint64 batch_idx = 20;
1647
34.8M
inline bool WritePB::has_batch_idx() const {
1648
34.8M
  return (_has_bits_[0] & 0x00000080u) != 0;
1649
34.8M
}
1650
10.4M
inline void WritePB::set_has_batch_idx() {
1651
10.4M
  _has_bits_[0] |= 0x00000080u;
1652
10.4M
}
1653
0
inline void WritePB::clear_has_batch_idx() {
1654
0
  _has_bits_[0] &= ~0x00000080u;
1655
0
}
1656
0
inline void WritePB::clear_batch_idx() {
1657
0
  batch_idx_ = GOOGLE_ULONGLONG(0);
1658
0
  clear_has_batch_idx();
1659
0
}
1660
56.6M
inline ::google::protobuf::uint64 WritePB::batch_idx() const {
1661
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.batch_idx)
1662
56.6M
  return batch_idx_;
1663
56.6M
}
1664
3.24M
inline void WritePB::set_batch_idx(::google::protobuf::uint64 value) {
1665
3.24M
  set_has_batch_idx();
1666
3.24M
  batch_idx_ = value;
1667
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.batch_idx)
1668
3.24M
}
1669
1670
// -------------------------------------------------------------------
1671
1672
// ChangeMetadataRequestPB
1673
1674
// optional bytes dest_uuid = 5;
1675
395k
inline bool ChangeMetadataRequestPB::has_dest_uuid() const {
1676
395k
  return (_has_bits_[0] & 0x00000004u) != 0;
1677
395k
}
1678
152k
inline void ChangeMetadataRequestPB::set_has_dest_uuid() {
1679
152k
  _has_bits_[0] |= 0x00000004u;
1680
152k
}
1681
0
inline void ChangeMetadataRequestPB::clear_has_dest_uuid() {
1682
0
  _has_bits_[0] &= ~0x00000004u;
1683
0
}
1684
0
inline void ChangeMetadataRequestPB::clear_dest_uuid() {
1685
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1686
0
  clear_has_dest_uuid();
1687
0
}
1688
625k
inline const ::std::string& ChangeMetadataRequestPB::dest_uuid() const {
1689
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1690
625k
  return dest_uuid_.GetNoArena();
1691
625k
}
1692
0
inline void ChangeMetadataRequestPB::set_dest_uuid(const ::std::string& value) {
1693
0
  set_has_dest_uuid();
1694
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1695
0
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1696
0
}
1697
#if LANG_CXX11
1698
32.3k
inline void ChangeMetadataRequestPB::set_dest_uuid(::std::string&& value) {
1699
32.3k
  set_has_dest_uuid();
1700
32.3k
  dest_uuid_.SetNoArena(
1701
32.3k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1702
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1703
32.3k
}
1704
#endif
1705
0
inline void ChangeMetadataRequestPB::set_dest_uuid(const char* value) {
1706
0
  GOOGLE_DCHECK(value != NULL);
1707
0
  set_has_dest_uuid();
1708
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1709
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1710
0
}
1711
0
inline void ChangeMetadataRequestPB::set_dest_uuid(const void* value, size_t size) {
1712
0
  set_has_dest_uuid();
1713
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1714
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1715
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1716
0
}
1717
89.3k
inline ::std::string* ChangeMetadataRequestPB::mutable_dest_uuid() {
1718
89.3k
  set_has_dest_uuid();
1719
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1720
89.3k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1721
89.3k
}
1722
0
inline ::std::string* ChangeMetadataRequestPB::release_dest_uuid() {
1723
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1724
0
  clear_has_dest_uuid();
1725
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1726
0
}
1727
0
inline void ChangeMetadataRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
1728
0
  if (dest_uuid != NULL) {
1729
0
    set_has_dest_uuid();
1730
0
  } else {
1731
0
    clear_has_dest_uuid();
1732
0
  }
1733
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
1734
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1735
0
}
1736
1737
// required bytes tablet_id = 1;
1738
4.22M
inline bool ChangeMetadataRequestPB::has_tablet_id() const {
1739
4.22M
  return (_has_bits_[0] & 0x00000001u) != 0;
1740
4.22M
}
1741
1.61M
inline void ChangeMetadataRequestPB::set_has_tablet_id() {
1742
1.61M
  _has_bits_[0] |= 0x00000001u;
1743
1.61M
}
1744
0
inline void ChangeMetadataRequestPB::clear_has_tablet_id() {
1745
0
  _has_bits_[0] &= ~0x00000001u;
1746
0
}
1747
0
inline void ChangeMetadataRequestPB::clear_tablet_id() {
1748
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1749
0
  clear_has_tablet_id();
1750
0
}
1751
6.03M
inline const ::std::string& ChangeMetadataRequestPB::tablet_id() const {
1752
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1753
6.03M
  return tablet_id_.GetNoArena();
1754
6.03M
}
1755
32.5k
inline void ChangeMetadataRequestPB::set_tablet_id(const ::std::string& value) {
1756
32.5k
  set_has_tablet_id();
1757
32.5k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1758
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1759
32.5k
}
1760
#if LANG_CXX11
1761
0
inline void ChangeMetadataRequestPB::set_tablet_id(::std::string&& value) {
1762
0
  set_has_tablet_id();
1763
0
  tablet_id_.SetNoArena(
1764
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1765
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1766
0
}
1767
#endif
1768
13.3k
inline void ChangeMetadataRequestPB::set_tablet_id(const char* value) {
1769
13.3k
  GOOGLE_DCHECK(value != NULL);
1770
13.3k
  set_has_tablet_id();
1771
13.3k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1772
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1773
13.3k
}
1774
0
inline void ChangeMetadataRequestPB::set_tablet_id(const void* value, size_t size) {
1775
0
  set_has_tablet_id();
1776
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1777
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1778
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1779
0
}
1780
1.10M
inline ::std::string* ChangeMetadataRequestPB::mutable_tablet_id() {
1781
1.10M
  set_has_tablet_id();
1782
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1783
1.10M
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1784
1.10M
}
1785
0
inline ::std::string* ChangeMetadataRequestPB::release_tablet_id() {
1786
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1787
0
  clear_has_tablet_id();
1788
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1789
0
}
1790
0
inline void ChangeMetadataRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
1791
0
  if (tablet_id != NULL) {
1792
0
    set_has_tablet_id();
1793
0
  } else {
1794
0
    clear_has_tablet_id();
1795
0
  }
1796
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
1797
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1798
0
}
1799
1800
// optional .yb.SchemaPB schema = 2;
1801
7.71M
inline bool ChangeMetadataRequestPB::has_schema() const {
1802
7.71M
  return (_has_bits_[0] & 0x00000080u) != 0;
1803
7.71M
}
1804
134k
inline void ChangeMetadataRequestPB::set_has_schema() {
1805
134k
  _has_bits_[0] |= 0x00000080u;
1806
134k
}
1807
0
inline void ChangeMetadataRequestPB::clear_has_schema() {
1808
0
  _has_bits_[0] &= ~0x00000080u;
1809
0
}
1810
792k
inline const ::yb::SchemaPB& ChangeMetadataRequestPB::schema() const {
1811
792k
  const ::yb::SchemaPB* p = schema_;
1812
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.schema)
1813
792k
  return p != NULL ? 
*p191k
: *reinterpret_cast<const ::yb::SchemaPB*>(
1814
600k
      &::yb::_SchemaPB_default_instance_);
1815
792k
}
1816
0
inline ::yb::SchemaPB* ChangeMetadataRequestPB::release_schema() {
1817
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.schema)
1818
0
  clear_has_schema();
1819
0
  ::yb::SchemaPB* temp = schema_;
1820
0
  schema_ = NULL;
1821
0
  return temp;
1822
0
}
1823
134k
inline ::yb::SchemaPB* ChangeMetadataRequestPB::mutable_schema() {
1824
134k
  set_has_schema();
1825
134k
  if (schema_ == NULL) {
1826
133k
    schema_ = new ::yb::SchemaPB;
1827
133k
  }
1828
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.schema)
1829
134k
  return schema_;
1830
134k
}
1831
0
inline void ChangeMetadataRequestPB::set_allocated_schema(::yb::SchemaPB* schema) {
1832
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1833
0
  if (message_arena == NULL) {
1834
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(schema_);
1835
0
  }
1836
0
  if (schema) {
1837
0
    ::google::protobuf::Arena* submessage_arena = NULL;
1838
0
    if (message_arena != submessage_arena) {
1839
0
      schema = ::google::protobuf::internal::GetOwnedMessage(
1840
0
          message_arena, schema, submessage_arena);
1841
0
    }
1842
0
    set_has_schema();
1843
0
  } else {
1844
0
    clear_has_schema();
1845
0
  }
1846
0
  schema_ = schema;
1847
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.schema)
1848
0
}
1849
1850
// repeated .yb.IndexInfoPB indexes = 7;
1851
6.00M
inline int ChangeMetadataRequestPB::indexes_size() const {
1852
6.00M
  return indexes_.size();
1853
6.00M
}
1854
537k
inline const ::yb::IndexInfoPB& ChangeMetadataRequestPB::indexes(int index) const {
1855
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.indexes)
1856
537k
  return indexes_.Get(index);
1857
537k
}
1858
0
inline ::yb::IndexInfoPB* ChangeMetadataRequestPB::mutable_indexes(int index) {
1859
0
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.indexes)
1860
0
  return indexes_.Mutable(index);
1861
0
}
1862
81.2k
inline ::yb::IndexInfoPB* ChangeMetadataRequestPB::add_indexes() {
1863
  // @@protoc_insertion_point(field_add:yb.tablet.ChangeMetadataRequestPB.indexes)
1864
81.2k
  return indexes_.Add();
1865
81.2k
}
1866
inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
1867
28.6k
ChangeMetadataRequestPB::mutable_indexes() {
1868
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.ChangeMetadataRequestPB.indexes)
1869
28.6k
  return &indexes_;
1870
28.6k
}
1871
inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
1872
6.20M
ChangeMetadataRequestPB::indexes() const {
1873
  // @@protoc_insertion_point(field_list:yb.tablet.ChangeMetadataRequestPB.indexes)
1874
6.20M
  return indexes_;
1875
6.20M
}
1876
1877
// optional uint32 schema_version = 3;
1878
4.21M
inline bool ChangeMetadataRequestPB::has_schema_version() const {
1879
4.21M
  return (_has_bits_[0] & 0x00000400u) != 0;
1880
4.21M
}
1881
106k
inline void ChangeMetadataRequestPB::set_has_schema_version() {
1882
106k
  _has_bits_[0] |= 0x00000400u;
1883
106k
}
1884
0
inline void ChangeMetadataRequestPB::clear_has_schema_version() {
1885
0
  _has_bits_[0] &= ~0x00000400u;
1886
0
}
1887
0
inline void ChangeMetadataRequestPB::clear_schema_version() {
1888
0
  schema_version_ = 0u;
1889
0
  clear_has_schema_version();
1890
0
}
1891
1.54M
inline ::google::protobuf::uint32 ChangeMetadataRequestPB::schema_version() const {
1892
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.schema_version)
1893
1.54M
  return schema_version_;
1894
1.54M
}
1895
28.6k
inline void ChangeMetadataRequestPB::set_schema_version(::google::protobuf::uint32 value) {
1896
28.6k
  set_has_schema_version();
1897
28.6k
  schema_version_ = value;
1898
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.schema_version)
1899
28.6k
}
1900
1901
// optional string new_table_name = 4;
1902
463k
inline bool ChangeMetadataRequestPB::has_new_table_name() const {
1903
463k
  return (_has_bits_[0] & 0x00000002u) != 0;
1904
463k
}
1905
134k
inline void ChangeMetadataRequestPB::set_has_new_table_name() {
1906
134k
  _has_bits_[0] |= 0x00000002u;
1907
134k
}
1908
0
inline void ChangeMetadataRequestPB::clear_has_new_table_name() {
1909
0
  _has_bits_[0] &= ~0x00000002u;
1910
0
}
1911
0
inline void ChangeMetadataRequestPB::clear_new_table_name() {
1912
0
  new_table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1913
0
  clear_has_new_table_name();
1914
0
}
1915
1.13M
inline const ::std::string& ChangeMetadataRequestPB::new_table_name() const {
1916
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1917
1.13M
  return new_table_name_.GetNoArena();
1918
1.13M
}
1919
28.6k
inline void ChangeMetadataRequestPB::set_new_table_name(const ::std::string& value) {
1920
28.6k
  set_has_new_table_name();
1921
28.6k
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1922
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1923
28.6k
}
1924
#if LANG_CXX11
1925
0
inline void ChangeMetadataRequestPB::set_new_table_name(::std::string&& value) {
1926
0
  set_has_new_table_name();
1927
0
  new_table_name_.SetNoArena(
1928
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1929
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1930
0
}
1931
#endif
1932
0
inline void ChangeMetadataRequestPB::set_new_table_name(const char* value) {
1933
0
  GOOGLE_DCHECK(value != NULL);
1934
0
  set_has_new_table_name();
1935
0
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1936
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1937
0
}
1938
0
inline void ChangeMetadataRequestPB::set_new_table_name(const char* value, size_t size) {
1939
0
  set_has_new_table_name();
1940
0
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1941
0
      ::std::string(reinterpret_cast<const char*>(value), size));
1942
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1943
0
}
1944
77.9k
inline ::std::string* ChangeMetadataRequestPB::mutable_new_table_name() {
1945
77.9k
  set_has_new_table_name();
1946
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1947
77.9k
  return new_table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1948
77.9k
}
1949
0
inline ::std::string* ChangeMetadataRequestPB::release_new_table_name() {
1950
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1951
0
  clear_has_new_table_name();
1952
0
  return new_table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1953
0
}
1954
0
inline void ChangeMetadataRequestPB::set_allocated_new_table_name(::std::string* new_table_name) {
1955
0
  if (new_table_name != NULL) {
1956
0
    set_has_new_table_name();
1957
0
  } else {
1958
0
    clear_has_new_table_name();
1959
0
  }
1960
0
  new_table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_table_name);
1961
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1962
0
}
1963
1964
// optional fixed64 propagated_hybrid_time = 6;
1965
4.21M
inline bool ChangeMetadataRequestPB::has_propagated_hybrid_time() const {
1966
4.21M
  return (_has_bits_[0] & 0x00000200u) != 0;
1967
4.21M
}
1968
121k
inline void ChangeMetadataRequestPB::set_has_propagated_hybrid_time() {
1969
121k
  _has_bits_[0] |= 0x00000200u;
1970
121k
}
1971
0
inline void ChangeMetadataRequestPB::clear_has_propagated_hybrid_time() {
1972
0
  _has_bits_[0] &= ~0x00000200u;
1973
0
}
1974
0
inline void ChangeMetadataRequestPB::clear_propagated_hybrid_time() {
1975
0
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
1976
0
  clear_has_propagated_hybrid_time();
1977
0
}
1978
199k
inline ::google::protobuf::uint64 ChangeMetadataRequestPB::propagated_hybrid_time() const {
1979
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.propagated_hybrid_time)
1980
199k
  return propagated_hybrid_time_;
1981
199k
}
1982
32.4k
inline void ChangeMetadataRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) {
1983
32.4k
  set_has_propagated_hybrid_time();
1984
32.4k
  propagated_hybrid_time_ = value;
1985
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.propagated_hybrid_time)
1986
32.4k
}
1987
1988
// optional .yb.tablet.TableInfoPB add_table = 8;
1989
10.4M
inline bool ChangeMetadataRequestPB::has_add_table() const {
1990
10.4M
  return (_has_bits_[0] & 0x00000100u) != 0;
1991
10.4M
}
1992
1.45M
inline void ChangeMetadataRequestPB::set_has_add_table() {
1993
1.45M
  _has_bits_[0] |= 0x00000100u;
1994
1.45M
}
1995
0
inline void ChangeMetadataRequestPB::clear_has_add_table() {
1996
0
  _has_bits_[0] &= ~0x00000100u;
1997
0
}
1998
1.45M
inline const ::yb::tablet::TableInfoPB& ChangeMetadataRequestPB::add_table() const {
1999
1.45M
  const ::yb::tablet::TableInfoPB* p = add_table_;
2000
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.add_table)
2001
1.45M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TableInfoPB*>(
2002
0
      &::yb::tablet::_TableInfoPB_default_instance_);
2003
1.45M
}
2004
0
inline ::yb::tablet::TableInfoPB* ChangeMetadataRequestPB::release_add_table() {
2005
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.add_table)
2006
0
  clear_has_add_table();
2007
0
  ::yb::tablet::TableInfoPB* temp = add_table_;
2008
0
  add_table_ = NULL;
2009
0
  return temp;
2010
0
}
2011
1.45M
inline ::yb::tablet::TableInfoPB* ChangeMetadataRequestPB::mutable_add_table() {
2012
1.45M
  set_has_add_table();
2013
1.45M
  if (add_table_ == NULL) {
2014
1.45M
    add_table_ = new ::yb::tablet::TableInfoPB;
2015
1.45M
  }
2016
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.add_table)
2017
1.45M
  return add_table_;
2018
1.45M
}
2019
0
inline void ChangeMetadataRequestPB::set_allocated_add_table(::yb::tablet::TableInfoPB* add_table) {
2020
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2021
0
  if (message_arena == NULL) {
2022
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(add_table_);
2023
0
  }
2024
0
  if (add_table) {
2025
0
    ::google::protobuf::Arena* submessage_arena = NULL;
2026
0
    if (message_arena != submessage_arena) {
2027
0
      add_table = ::google::protobuf::internal::GetOwnedMessage(
2028
0
          message_arena, add_table, submessage_arena);
2029
0
    }
2030
0
    set_has_add_table();
2031
0
  } else {
2032
0
    clear_has_add_table();
2033
0
  }
2034
0
  add_table_ = add_table;
2035
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.add_table)
2036
0
}
2037
2038
// optional uint32 wal_retention_secs = 9;
2039
5.36M
inline bool ChangeMetadataRequestPB::has_wal_retention_secs() const {
2040
5.36M
  return (_has_bits_[0] & 0x00000800u) != 0;
2041
5.36M
}
2042
12.2k
inline void ChangeMetadataRequestPB::set_has_wal_retention_secs() {
2043
12.2k
  _has_bits_[0] |= 0x00000800u;
2044
12.2k
}
2045
0
inline void ChangeMetadataRequestPB::clear_has_wal_retention_secs() {
2046
0
  _has_bits_[0] &= ~0x00000800u;
2047
0
}
2048
0
inline void ChangeMetadataRequestPB::clear_wal_retention_secs() {
2049
0
  wal_retention_secs_ = 0u;
2050
0
  clear_has_wal_retention_secs();
2051
0
}
2052
54.7k
inline ::google::protobuf::uint32 ChangeMetadataRequestPB::wal_retention_secs() const {
2053
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.wal_retention_secs)
2054
54.7k
  return wal_retention_secs_;
2055
54.7k
}
2056
5.22k
inline void ChangeMetadataRequestPB::set_wal_retention_secs(::google::protobuf::uint32 value) {
2057
5.22k
  set_has_wal_retention_secs();
2058
5.22k
  wal_retention_secs_ = value;
2059
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.wal_retention_secs)
2060
5.22k
}
2061
2062
// optional bytes remove_table_id = 10;
2063
1.50M
inline bool ChangeMetadataRequestPB::has_remove_table_id() const {
2064
1.50M
  return (_has_bits_[0] & 0x00000008u) != 0;
2065
1.50M
}
2066
320
inline void ChangeMetadataRequestPB::set_has_remove_table_id() {
2067
320
  _has_bits_[0] |= 0x00000008u;
2068
320
}
2069
0
inline void ChangeMetadataRequestPB::clear_has_remove_table_id() {
2070
0
  _has_bits_[0] &= ~0x00000008u;
2071
0
}
2072
0
inline void ChangeMetadataRequestPB::clear_remove_table_id() {
2073
0
  remove_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2074
0
  clear_has_remove_table_id();
2075
0
}
2076
1.57k
inline const ::std::string& ChangeMetadataRequestPB::remove_table_id() const {
2077
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2078
1.57k
  return remove_table_id_.GetNoArena();
2079
1.57k
}
2080
81
inline void ChangeMetadataRequestPB::set_remove_table_id(const ::std::string& value) {
2081
81
  set_has_remove_table_id();
2082
81
  remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2083
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2084
81
}
2085
#if LANG_CXX11
2086
0
inline void ChangeMetadataRequestPB::set_remove_table_id(::std::string&& value) {
2087
0
  set_has_remove_table_id();
2088
0
  remove_table_id_.SetNoArena(
2089
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2090
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2091
0
}
2092
#endif
2093
0
inline void ChangeMetadataRequestPB::set_remove_table_id(const char* value) {
2094
0
  GOOGLE_DCHECK(value != NULL);
2095
0
  set_has_remove_table_id();
2096
0
  remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2097
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2098
0
}
2099
0
inline void ChangeMetadataRequestPB::set_remove_table_id(const void* value, size_t size) {
2100
0
  set_has_remove_table_id();
2101
0
  remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2102
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2103
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2104
0
}
2105
158
inline ::std::string* ChangeMetadataRequestPB::mutable_remove_table_id() {
2106
158
  set_has_remove_table_id();
2107
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2108
158
  return remove_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2109
158
}
2110
0
inline ::std::string* ChangeMetadataRequestPB::release_remove_table_id() {
2111
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2112
0
  clear_has_remove_table_id();
2113
0
  return remove_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2114
0
}
2115
0
inline void ChangeMetadataRequestPB::set_allocated_remove_table_id(::std::string* remove_table_id) {
2116
0
  if (remove_table_id != NULL) {
2117
0
    set_has_remove_table_id();
2118
0
  } else {
2119
0
    clear_has_remove_table_id();
2120
0
  }
2121
0
  remove_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), remove_table_id);
2122
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2123
0
}
2124
2125
// optional bool mark_backfill_done = 11;
2126
5.32M
inline bool ChangeMetadataRequestPB::has_mark_backfill_done() const {
2127
5.32M
  return (_has_bits_[0] & 0x00001000u) != 0;
2128
5.32M
}
2129
15.0k
inline void ChangeMetadataRequestPB::set_has_mark_backfill_done() {
2130
15.0k
  _has_bits_[0] |= 0x00001000u;
2131
15.0k
}
2132
0
inline void ChangeMetadataRequestPB::clear_has_mark_backfill_done() {
2133
0
  _has_bits_[0] &= ~0x00001000u;
2134
0
}
2135
0
inline void ChangeMetadataRequestPB::clear_mark_backfill_done() {
2136
0
  mark_backfill_done_ = false;
2137
0
  clear_has_mark_backfill_done();
2138
0
}
2139
22.3k
inline bool ChangeMetadataRequestPB::mark_backfill_done() const {
2140
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.mark_backfill_done)
2141
22.3k
  return mark_backfill_done_;
2142
22.3k
}
2143
3.79k
inline void ChangeMetadataRequestPB::set_mark_backfill_done(bool value) {
2144
3.79k
  set_has_mark_backfill_done();
2145
3.79k
  mark_backfill_done_ = value;
2146
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.mark_backfill_done)
2147
3.79k
}
2148
2149
// optional bytes alter_table_id = 12;
2150
565k
inline bool ChangeMetadataRequestPB::has_alter_table_id() const {
2151
565k
  return (_has_bits_[0] & 0x00000010u) != 0;
2152
565k
}
2153
133k
inline void ChangeMetadataRequestPB::set_has_alter_table_id() {
2154
133k
  _has_bits_[0] |= 0x00000010u;
2155
133k
}
2156
0
inline void ChangeMetadataRequestPB::clear_has_alter_table_id() {
2157
0
  _has_bits_[0] &= ~0x00000010u;
2158
0
}
2159
0
inline void ChangeMetadataRequestPB::clear_alter_table_id() {
2160
0
  alter_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2161
0
  clear_has_alter_table_id();
2162
0
}
2163
657k
inline const ::std::string& ChangeMetadataRequestPB::alter_table_id() const {
2164
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2165
657k
  return alter_table_id_.GetNoArena();
2166
657k
}
2167
28.5k
inline void ChangeMetadataRequestPB::set_alter_table_id(const ::std::string& value) {
2168
28.5k
  set_has_alter_table_id();
2169
28.5k
  alter_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2170
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2171
28.5k
}
2172
#if LANG_CXX11
2173
0
inline void ChangeMetadataRequestPB::set_alter_table_id(::std::string&& value) {
2174
0
  set_has_alter_table_id();
2175
0
  alter_table_id_.SetNoArena(
2176
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2177
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2178
0
}
2179
#endif
2180
0
inline void ChangeMetadataRequestPB::set_alter_table_id(const char* value) {
2181
0
  GOOGLE_DCHECK(value != NULL);
2182
0
  set_has_alter_table_id();
2183
0
  alter_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2184
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2185
0
}
2186
0
inline void ChangeMetadataRequestPB::set_alter_table_id(const void* value, size_t size) {
2187
0
  set_has_alter_table_id();
2188
0
  alter_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2189
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2190
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2191
0
}
2192
78.1k
inline ::std::string* ChangeMetadataRequestPB::mutable_alter_table_id() {
2193
78.1k
  set_has_alter_table_id();
2194
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2195
78.1k
  return alter_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2196
78.1k
}
2197
0
inline ::std::string* ChangeMetadataRequestPB::release_alter_table_id() {
2198
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2199
0
  clear_has_alter_table_id();
2200
0
  return alter_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2201
0
}
2202
0
inline void ChangeMetadataRequestPB::set_allocated_alter_table_id(::std::string* alter_table_id) {
2203
0
  if (alter_table_id != NULL) {
2204
0
    set_has_alter_table_id();
2205
0
  } else {
2206
0
    clear_has_alter_table_id();
2207
0
  }
2208
0
  alter_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), alter_table_id);
2209
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2210
0
}
2211
2212
// optional bytes backfill_done_table_id = 13;
2213
395k
inline bool ChangeMetadataRequestPB::has_backfill_done_table_id() const {
2214
395k
  return (_has_bits_[0] & 0x00000020u) != 0;
2215
395k
}
2216
18.7k
inline void ChangeMetadataRequestPB::set_has_backfill_done_table_id() {
2217
18.7k
  _has_bits_[0] |= 0x00000020u;
2218
18.7k
}
2219
0
inline void ChangeMetadataRequestPB::clear_has_backfill_done_table_id() {
2220
0
  _has_bits_[0] &= ~0x00000020u;
2221
0
}
2222
0
inline void ChangeMetadataRequestPB::clear_backfill_done_table_id() {
2223
0
  backfill_done_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2224
0
  clear_has_backfill_done_table_id();
2225
0
}
2226
85.5k
inline const ::std::string& ChangeMetadataRequestPB::backfill_done_table_id() const {
2227
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2228
85.5k
  return backfill_done_table_id_.GetNoArena();
2229
85.5k
}
2230
3.79k
inline void ChangeMetadataRequestPB::set_backfill_done_table_id(const ::std::string& value) {
2231
3.79k
  set_has_backfill_done_table_id();
2232
3.79k
  backfill_done_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2233
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2234
3.79k
}
2235
#if LANG_CXX11
2236
0
inline void ChangeMetadataRequestPB::set_backfill_done_table_id(::std::string&& value) {
2237
0
  set_has_backfill_done_table_id();
2238
0
  backfill_done_table_id_.SetNoArena(
2239
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2240
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2241
0
}
2242
#endif
2243
0
inline void ChangeMetadataRequestPB::set_backfill_done_table_id(const char* value) {
2244
0
  GOOGLE_DCHECK(value != NULL);
2245
0
  set_has_backfill_done_table_id();
2246
0
  backfill_done_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2247
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2248
0
}
2249
0
inline void ChangeMetadataRequestPB::set_backfill_done_table_id(const void* value, size_t size) {
2250
0
  set_has_backfill_done_table_id();
2251
0
  backfill_done_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2252
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2253
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2254
0
}
2255
11.2k
inline ::std::string* ChangeMetadataRequestPB::mutable_backfill_done_table_id() {
2256
11.2k
  set_has_backfill_done_table_id();
2257
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2258
11.2k
  return backfill_done_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2259
11.2k
}
2260
0
inline ::std::string* ChangeMetadataRequestPB::release_backfill_done_table_id() {
2261
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2262
0
  clear_has_backfill_done_table_id();
2263
0
  return backfill_done_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2264
0
}
2265
0
inline void ChangeMetadataRequestPB::set_allocated_backfill_done_table_id(::std::string* backfill_done_table_id) {
2266
0
  if (backfill_done_table_id != NULL) {
2267
0
    set_has_backfill_done_table_id();
2268
0
  } else {
2269
0
    clear_has_backfill_done_table_id();
2270
0
  }
2271
0
  backfill_done_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), backfill_done_table_id);
2272
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2273
0
}
2274
2275
// optional bytes transaction_id = 14;
2276
397k
inline bool ChangeMetadataRequestPB::has_transaction_id() const {
2277
397k
  return (_has_bits_[0] & 0x00000040u) != 0;
2278
397k
}
2279
5.74k
inline void ChangeMetadataRequestPB::set_has_transaction_id() {
2280
5.74k
  _has_bits_[0] |= 0x00000040u;
2281
5.74k
}
2282
0
inline void ChangeMetadataRequestPB::clear_has_transaction_id() {
2283
0
  _has_bits_[0] &= ~0x00000040u;
2284
0
}
2285
0
inline void ChangeMetadataRequestPB::clear_transaction_id() {
2286
0
  transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2287
0
  clear_has_transaction_id();
2288
0
}
2289
23.7k
inline const ::std::string& ChangeMetadataRequestPB::transaction_id() const {
2290
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2291
23.7k
  return transaction_id_.GetNoArena();
2292
23.7k
}
2293
0
inline void ChangeMetadataRequestPB::set_transaction_id(const ::std::string& value) {
2294
0
  set_has_transaction_id();
2295
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2296
0
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2297
0
}
2298
#if LANG_CXX11
2299
1.17k
inline void ChangeMetadataRequestPB::set_transaction_id(::std::string&& value) {
2300
1.17k
  set_has_transaction_id();
2301
1.17k
  transaction_id_.SetNoArena(
2302
1.17k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2303
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2304
1.17k
}
2305
#endif
2306
0
inline void ChangeMetadataRequestPB::set_transaction_id(const char* value) {
2307
0
  GOOGLE_DCHECK(value != NULL);
2308
0
  set_has_transaction_id();
2309
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2310
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2311
0
}
2312
0
inline void ChangeMetadataRequestPB::set_transaction_id(const void* value, size_t size) {
2313
0
  set_has_transaction_id();
2314
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2315
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2316
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2317
0
}
2318
3.43k
inline ::std::string* ChangeMetadataRequestPB::mutable_transaction_id() {
2319
3.43k
  set_has_transaction_id();
2320
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2321
3.43k
  return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2322
3.43k
}
2323
0
inline ::std::string* ChangeMetadataRequestPB::release_transaction_id() {
2324
0
  // @@protoc_insertion_point(field_release:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2325
0
  clear_has_transaction_id();
2326
0
  return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2327
0
}
2328
0
inline void ChangeMetadataRequestPB::set_allocated_transaction_id(::std::string* transaction_id) {
2329
0
  if (transaction_id != NULL) {
2330
0
    set_has_transaction_id();
2331
0
  } else {
2332
0
    clear_has_transaction_id();
2333
0
  }
2334
0
  transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id);
2335
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2336
0
}
2337
2338
// optional bool should_abort_active_txns = 16 [default = false];
2339
4.21M
inline bool ChangeMetadataRequestPB::has_should_abort_active_txns() const {
2340
4.21M
  return (_has_bits_[0] & 0x00002000u) != 0;
2341
4.21M
}
2342
4.61k
inline void ChangeMetadataRequestPB::set_has_should_abort_active_txns() {
2343
4.61k
  _has_bits_[0] |= 0x00002000u;
2344
4.61k
}
2345
0
inline void ChangeMetadataRequestPB::clear_has_should_abort_active_txns() {
2346
0
  _has_bits_[0] &= ~0x00002000u;
2347
0
}
2348
0
inline void ChangeMetadataRequestPB::clear_should_abort_active_txns() {
2349
0
  should_abort_active_txns_ = false;
2350
0
  clear_has_should_abort_active_txns();
2351
0
}
2352
20.0k
inline bool ChangeMetadataRequestPB::should_abort_active_txns() const {
2353
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.should_abort_active_txns)
2354
20.0k
  return should_abort_active_txns_;
2355
20.0k
}
2356
1.18k
inline void ChangeMetadataRequestPB::set_should_abort_active_txns(bool value) {
2357
1.18k
  set_has_should_abort_active_txns();
2358
1.18k
  should_abort_active_txns_ = value;
2359
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.should_abort_active_txns)
2360
1.18k
}
2361
2362
// -------------------------------------------------------------------
2363
2364
// SplitTabletRequestPB
2365
2366
// optional bytes dest_uuid = 1;
2367
500
inline bool SplitTabletRequestPB::has_dest_uuid() const {
2368
500
  return (_has_bits_[0] & 0x00000001u) != 0;
2369
500
}
2370
662
inline void SplitTabletRequestPB::set_has_dest_uuid() {
2371
662
  _has_bits_[0] |= 0x00000001u;
2372
662
}
2373
0
inline void SplitTabletRequestPB::clear_has_dest_uuid() {
2374
0
  _has_bits_[0] &= ~0x00000001u;
2375
0
}
2376
0
inline void SplitTabletRequestPB::clear_dest_uuid() {
2377
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2378
0
  clear_has_dest_uuid();
2379
0
}
2380
1.01k
inline const ::std::string& SplitTabletRequestPB::dest_uuid() const {
2381
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.dest_uuid)
2382
1.01k
  return dest_uuid_.GetNoArena();
2383
1.01k
}
2384
inline void SplitTabletRequestPB::set_dest_uuid(const ::std::string& value) {
2385
  set_has_dest_uuid();
2386
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2387
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.dest_uuid)
2388
}
2389
#if LANG_CXX11
2390
140
inline void SplitTabletRequestPB::set_dest_uuid(::std::string&& value) {
2391
140
  set_has_dest_uuid();
2392
140
  dest_uuid_.SetNoArena(
2393
140
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2394
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.dest_uuid)
2395
140
}
2396
#endif
2397
0
inline void SplitTabletRequestPB::set_dest_uuid(const char* value) {
2398
0
  GOOGLE_DCHECK(value != NULL);
2399
0
  set_has_dest_uuid();
2400
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2401
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SplitTabletRequestPB.dest_uuid)
2402
0
}
2403
0
inline void SplitTabletRequestPB::set_dest_uuid(const void* value, size_t size) {
2404
0
  set_has_dest_uuid();
2405
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2406
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2407
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SplitTabletRequestPB.dest_uuid)
2408
0
}
2409
477
inline ::std::string* SplitTabletRequestPB::mutable_dest_uuid() {
2410
477
  set_has_dest_uuid();
2411
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.dest_uuid)
2412
477
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2413
477
}
2414
0
inline ::std::string* SplitTabletRequestPB::release_dest_uuid() {
2415
0
  // @@protoc_insertion_point(field_release:yb.tablet.SplitTabletRequestPB.dest_uuid)
2416
0
  clear_has_dest_uuid();
2417
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2418
0
}
2419
0
inline void SplitTabletRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
2420
0
  if (dest_uuid != NULL) {
2421
0
    set_has_dest_uuid();
2422
0
  } else {
2423
0
    clear_has_dest_uuid();
2424
0
  }
2425
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
2426
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SplitTabletRequestPB.dest_uuid)
2427
0
}
2428
2429
// optional fixed64 propagated_hybrid_time = 2;
2430
497
inline bool SplitTabletRequestPB::has_propagated_hybrid_time() const {
2431
497
  return (_has_bits_[0] & 0x00000040u) != 0;
2432
497
}
2433
614
inline void SplitTabletRequestPB::set_has_propagated_hybrid_time() {
2434
614
  _has_bits_[0] |= 0x00000040u;
2435
614
}
2436
0
inline void SplitTabletRequestPB::clear_has_propagated_hybrid_time() {
2437
0
  _has_bits_[0] &= ~0x00000040u;
2438
0
}
2439
0
inline void SplitTabletRequestPB::clear_propagated_hybrid_time() {
2440
0
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
2441
0
  clear_has_propagated_hybrid_time();
2442
0
}
2443
372
inline ::google::protobuf::uint64 SplitTabletRequestPB::propagated_hybrid_time() const {
2444
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.propagated_hybrid_time)
2445
372
  return propagated_hybrid_time_;
2446
372
}
2447
140
inline void SplitTabletRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) {
2448
140
  set_has_propagated_hybrid_time();
2449
140
  propagated_hybrid_time_ = value;
2450
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.propagated_hybrid_time)
2451
140
}
2452
2453
// required bytes tablet_id = 3;
2454
3
inline bool SplitTabletRequestPB::has_tablet_id() const {
2455
3
  return (_has_bits_[0] & 0x00000002u) != 0;
2456
3
}
2457
663
inline void SplitTabletRequestPB::set_has_tablet_id() {
2458
663
  _has_bits_[0] |= 0x00000002u;
2459
663
}
2460
0
inline void SplitTabletRequestPB::clear_has_tablet_id() {
2461
0
  _has_bits_[0] &= ~0x00000002u;
2462
0
}
2463
0
inline void SplitTabletRequestPB::clear_tablet_id() {
2464
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2465
0
  clear_has_tablet_id();
2466
0
}
2467
1.24k
inline const ::std::string& SplitTabletRequestPB::tablet_id() const {
2468
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.tablet_id)
2469
1.24k
  return tablet_id_.GetNoArena();
2470
1.24k
}
2471
inline void SplitTabletRequestPB::set_tablet_id(const ::std::string& value) {
2472
  set_has_tablet_id();
2473
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2474
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.tablet_id)
2475
}
2476
#if LANG_CXX11
2477
140
inline void SplitTabletRequestPB::set_tablet_id(::std::string&& value) {
2478
140
  set_has_tablet_id();
2479
140
  tablet_id_.SetNoArena(
2480
140
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2481
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.tablet_id)
2482
140
}
2483
#endif
2484
0
inline void SplitTabletRequestPB::set_tablet_id(const char* value) {
2485
0
  GOOGLE_DCHECK(value != NULL);
2486
0
  set_has_tablet_id();
2487
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2488
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SplitTabletRequestPB.tablet_id)
2489
0
}
2490
0
inline void SplitTabletRequestPB::set_tablet_id(const void* value, size_t size) {
2491
0
  set_has_tablet_id();
2492
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2493
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2494
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SplitTabletRequestPB.tablet_id)
2495
0
}
2496
477
inline ::std::string* SplitTabletRequestPB::mutable_tablet_id() {
2497
477
  set_has_tablet_id();
2498
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.tablet_id)
2499
477
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2500
477
}
2501
0
inline ::std::string* SplitTabletRequestPB::release_tablet_id() {
2502
0
  // @@protoc_insertion_point(field_release:yb.tablet.SplitTabletRequestPB.tablet_id)
2503
0
  clear_has_tablet_id();
2504
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2505
0
}
2506
0
inline void SplitTabletRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
2507
0
  if (tablet_id != NULL) {
2508
0
    set_has_tablet_id();
2509
0
  } else {
2510
0
    clear_has_tablet_id();
2511
0
  }
2512
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
2513
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SplitTabletRequestPB.tablet_id)
2514
0
}
2515
2516
// required bytes new_tablet1_id = 4;
2517
3
inline bool SplitTabletRequestPB::has_new_tablet1_id() const {
2518
3
  return (_has_bits_[0] & 0x00000004u) != 0;
2519
3
}
2520
663
inline void SplitTabletRequestPB::set_has_new_tablet1_id() {
2521
663
  _has_bits_[0] |= 0x00000004u;
2522
663
}
2523
0
inline void SplitTabletRequestPB::clear_has_new_tablet1_id() {
2524
0
  _has_bits_[0] &= ~0x00000004u;
2525
0
}
2526
0
inline void SplitTabletRequestPB::clear_new_tablet1_id() {
2527
0
  new_tablet1_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2528
0
  clear_has_new_tablet1_id();
2529
0
}
2530
1.07k
inline const ::std::string& SplitTabletRequestPB::new_tablet1_id() const {
2531
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2532
1.07k
  return new_tablet1_id_.GetNoArena();
2533
1.07k
}
2534
140
inline void SplitTabletRequestPB::set_new_tablet1_id(const ::std::string& value) {
2535
140
  set_has_new_tablet1_id();
2536
140
  new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2537
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2538
140
}
2539
#if LANG_CXX11
2540
inline void SplitTabletRequestPB::set_new_tablet1_id(::std::string&& value) {
2541
  set_has_new_tablet1_id();
2542
  new_tablet1_id_.SetNoArena(
2543
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2544
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2545
}
2546
#endif
2547
0
inline void SplitTabletRequestPB::set_new_tablet1_id(const char* value) {
2548
0
  GOOGLE_DCHECK(value != NULL);
2549
0
  set_has_new_tablet1_id();
2550
0
  new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2551
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2552
0
}
2553
0
inline void SplitTabletRequestPB::set_new_tablet1_id(const void* value, size_t size) {
2554
0
  set_has_new_tablet1_id();
2555
0
  new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2556
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2557
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2558
0
}
2559
477
inline ::std::string* SplitTabletRequestPB::mutable_new_tablet1_id() {
2560
477
  set_has_new_tablet1_id();
2561
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2562
477
  return new_tablet1_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2563
477
}
2564
0
inline ::std::string* SplitTabletRequestPB::release_new_tablet1_id() {
2565
0
  // @@protoc_insertion_point(field_release:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2566
0
  clear_has_new_tablet1_id();
2567
0
  return new_tablet1_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2568
0
}
2569
0
inline void SplitTabletRequestPB::set_allocated_new_tablet1_id(::std::string* new_tablet1_id) {
2570
0
  if (new_tablet1_id != NULL) {
2571
0
    set_has_new_tablet1_id();
2572
0
  } else {
2573
0
    clear_has_new_tablet1_id();
2574
0
  }
2575
0
  new_tablet1_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_tablet1_id);
2576
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2577
0
}
2578
2579
// required bytes new_tablet2_id = 5;
2580
3
inline bool SplitTabletRequestPB::has_new_tablet2_id() const {
2581
3
  return (_has_bits_[0] & 0x00000008u) != 0;
2582
3
}
2583
663
inline void SplitTabletRequestPB::set_has_new_tablet2_id() {
2584
663
  _has_bits_[0] |= 0x00000008u;
2585
663
}
2586
0
inline void SplitTabletRequestPB::clear_has_new_tablet2_id() {
2587
0
  _has_bits_[0] &= ~0x00000008u;
2588
0
}
2589
0
inline void SplitTabletRequestPB::clear_new_tablet2_id() {
2590
0
  new_tablet2_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2591
0
  clear_has_new_tablet2_id();
2592
0
}
2593
1.07k
inline const ::std::string& SplitTabletRequestPB::new_tablet2_id() const {
2594
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2595
1.07k
  return new_tablet2_id_.GetNoArena();
2596
1.07k
}
2597
140
inline void SplitTabletRequestPB::set_new_tablet2_id(const ::std::string& value) {
2598
140
  set_has_new_tablet2_id();
2599
140
  new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2600
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2601
140
}
2602
#if LANG_CXX11
2603
inline void SplitTabletRequestPB::set_new_tablet2_id(::std::string&& value) {
2604
  set_has_new_tablet2_id();
2605
  new_tablet2_id_.SetNoArena(
2606
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2607
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2608
}
2609
#endif
2610
0
inline void SplitTabletRequestPB::set_new_tablet2_id(const char* value) {
2611
0
  GOOGLE_DCHECK(value != NULL);
2612
0
  set_has_new_tablet2_id();
2613
0
  new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2614
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2615
0
}
2616
0
inline void SplitTabletRequestPB::set_new_tablet2_id(const void* value, size_t size) {
2617
0
  set_has_new_tablet2_id();
2618
0
  new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2619
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2620
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2621
0
}
2622
477
inline ::std::string* SplitTabletRequestPB::mutable_new_tablet2_id() {
2623
477
  set_has_new_tablet2_id();
2624
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2625
477
  return new_tablet2_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2626
477
}
2627
0
inline ::std::string* SplitTabletRequestPB::release_new_tablet2_id() {
2628
0
  // @@protoc_insertion_point(field_release:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2629
0
  clear_has_new_tablet2_id();
2630
0
  return new_tablet2_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2631
0
}
2632
0
inline void SplitTabletRequestPB::set_allocated_new_tablet2_id(::std::string* new_tablet2_id) {
2633
0
  if (new_tablet2_id != NULL) {
2634
0
    set_has_new_tablet2_id();
2635
0
  } else {
2636
0
    clear_has_new_tablet2_id();
2637
0
  }
2638
0
  new_tablet2_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_tablet2_id);
2639
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2640
0
}
2641
2642
// required bytes split_partition_key = 6;
2643
3
inline bool SplitTabletRequestPB::has_split_partition_key() const {
2644
3
  return (_has_bits_[0] & 0x00000010u) != 0;
2645
3
}
2646
663
inline void SplitTabletRequestPB::set_has_split_partition_key() {
2647
663
  _has_bits_[0] |= 0x00000010u;
2648
663
}
2649
0
inline void SplitTabletRequestPB::clear_has_split_partition_key() {
2650
0
  _has_bits_[0] &= ~0x00000010u;
2651
0
}
2652
0
inline void SplitTabletRequestPB::clear_split_partition_key() {
2653
0
  split_partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2654
0
  clear_has_split_partition_key();
2655
0
}
2656
800
inline const ::std::string& SplitTabletRequestPB::split_partition_key() const {
2657
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.split_partition_key)
2658
800
  return split_partition_key_.GetNoArena();
2659
800
}
2660
141
inline void SplitTabletRequestPB::set_split_partition_key(const ::std::string& value) {
2661
141
  set_has_split_partition_key();
2662
141
  split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2663
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.split_partition_key)
2664
141
}
2665
#if LANG_CXX11
2666
0
inline void SplitTabletRequestPB::set_split_partition_key(::std::string&& value) {
2667
0
  set_has_split_partition_key();
2668
0
  split_partition_key_.SetNoArena(
2669
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2670
0
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.split_partition_key)
2671
0
}
2672
#endif
2673
0
inline void SplitTabletRequestPB::set_split_partition_key(const char* value) {
2674
0
  GOOGLE_DCHECK(value != NULL);
2675
0
  set_has_split_partition_key();
2676
0
  split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2677
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SplitTabletRequestPB.split_partition_key)
2678
0
}
2679
0
inline void SplitTabletRequestPB::set_split_partition_key(const void* value, size_t size) {
2680
0
  set_has_split_partition_key();
2681
0
  split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2682
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2683
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SplitTabletRequestPB.split_partition_key)
2684
0
}
2685
477
inline ::std::string* SplitTabletRequestPB::mutable_split_partition_key() {
2686
477
  set_has_split_partition_key();
2687
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.split_partition_key)
2688
477
  return split_partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2689
477
}
2690
0
inline ::std::string* SplitTabletRequestPB::release_split_partition_key() {
2691
0
  // @@protoc_insertion_point(field_release:yb.tablet.SplitTabletRequestPB.split_partition_key)
2692
0
  clear_has_split_partition_key();
2693
0
  return split_partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2694
0
}
2695
0
inline void SplitTabletRequestPB::set_allocated_split_partition_key(::std::string* split_partition_key) {
2696
0
  if (split_partition_key != NULL) {
2697
0
    set_has_split_partition_key();
2698
0
  } else {
2699
0
    clear_has_split_partition_key();
2700
0
  }
2701
0
  split_partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_partition_key);
2702
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SplitTabletRequestPB.split_partition_key)
2703
0
}
2704
2705
// required bytes split_encoded_key = 7;
2706
3
inline bool SplitTabletRequestPB::has_split_encoded_key() const {
2707
3
  return (_has_bits_[0] & 0x00000020u) != 0;
2708
3
}
2709
663
inline void SplitTabletRequestPB::set_has_split_encoded_key() {
2710
663
  _has_bits_[0] |= 0x00000020u;
2711
663
}
2712
0
inline void SplitTabletRequestPB::clear_has_split_encoded_key() {
2713
0
  _has_bits_[0] &= ~0x00000020u;
2714
0
}
2715
0
inline void SplitTabletRequestPB::clear_split_encoded_key() {
2716
0
  split_encoded_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2717
0
  clear_has_split_encoded_key();
2718
0
}
2719
800
inline const ::std::string& SplitTabletRequestPB::split_encoded_key() const {
2720
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2721
800
  return split_encoded_key_.GetNoArena();
2722
800
}
2723
140
inline void SplitTabletRequestPB::set_split_encoded_key(const ::std::string& value) {
2724
140
  set_has_split_encoded_key();
2725
140
  split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2726
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2727
140
}
2728
#if LANG_CXX11
2729
inline void SplitTabletRequestPB::set_split_encoded_key(::std::string&& value) {
2730
  set_has_split_encoded_key();
2731
  split_encoded_key_.SetNoArena(
2732
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2733
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2734
}
2735
#endif
2736
0
inline void SplitTabletRequestPB::set_split_encoded_key(const char* value) {
2737
0
  GOOGLE_DCHECK(value != NULL);
2738
0
  set_has_split_encoded_key();
2739
0
  split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2740
0
  // @@protoc_insertion_point(field_set_char:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2741
0
}
2742
0
inline void SplitTabletRequestPB::set_split_encoded_key(const void* value, size_t size) {
2743
0
  set_has_split_encoded_key();
2744
0
  split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2745
0
      ::std::string(reinterpret_cast<const char*>(value), size));
2746
0
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2747
0
}
2748
477
inline ::std::string* SplitTabletRequestPB::mutable_split_encoded_key() {
2749
477
  set_has_split_encoded_key();
2750
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2751
477
  return split_encoded_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2752
477
}
2753
0
inline ::std::string* SplitTabletRequestPB::release_split_encoded_key() {
2754
0
  // @@protoc_insertion_point(field_release:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2755
0
  clear_has_split_encoded_key();
2756
0
  return split_encoded_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2757
0
}
2758
0
inline void SplitTabletRequestPB::set_allocated_split_encoded_key(::std::string* split_encoded_key) {
2759
0
  if (split_encoded_key != NULL) {
2760
0
    set_has_split_encoded_key();
2761
0
  } else {
2762
0
    clear_has_split_encoded_key();
2763
0
  }
2764
0
  split_encoded_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_encoded_key);
2765
0
  // @@protoc_insertion_point(field_set_allocated:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2766
0
}
2767
2768
#ifdef __GNUC__
2769
  #pragma GCC diagnostic pop
2770
#endif  // __GNUC__
2771
// -------------------------------------------------------------------
2772
2773
// -------------------------------------------------------------------
2774
2775
// -------------------------------------------------------------------
2776
2777
// -------------------------------------------------------------------
2778
2779
2780
// @@protoc_insertion_point(namespace_scope)
2781
2782
}  // namespace tablet
2783
}  // namespace yb
2784
2785
// @@protoc_insertion_point(global_scope)
2786
2787
#endif  // PROTOBUF_yb_2ftablet_2foperations_2eproto__INCLUDED