YugabyteDB (2.13.0.0-b42, bfc6a6643e7399ac8a0e81d06a3ee6d6571b33ab)

Coverage Report

Created: 2022-03-09 17:30

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/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
15.8k
inline void InitDefaults() {
60
15.8k
  InitDefaultsTransactionStatePB();
61
15.8k
  InitDefaultsTruncatePB();
62
15.8k
  InitDefaultsWritePB();
63
15.8k
  InitDefaultsChangeMetadataRequestPB();
64
15.8k
  InitDefaultsSplitTabletRequestPB();
65
15.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
633k
  inline TransactionStatePB& operator=(const TransactionStatePB& from) {
99
633k
    CopyFrom(from);
100
633k
    return *this;
101
633k
  }
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
10.4M
  static inline const TransactionStatePB* internal_default_instance() {
129
10.4M
    return reinterpret_cast<const TransactionStatePB*>(
130
10.4M
               &_TransactionStatePB_default_instance_);
131
10.4M
  }
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
5.14M
  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
53.2k
  inline TruncatePB& operator=(const TruncatePB& from) {
295
53.2k
    CopyFrom(from);
296
53.2k
    return *this;
297
53.2k
  }
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
207k
  static inline const TruncatePB* internal_default_instance() {
325
207k
    return reinterpret_cast<const TruncatePB*>(
326
207k
               &_TruncatePB_default_instance_);
327
207k
  }
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
265k
  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
13.4M
  static inline const WritePB* internal_default_instance() {
425
13.4M
    return reinterpret_cast<const WritePB*>(
426
13.4M
               &_WritePB_default_instance_);
427
13.4M
  }
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
8.03M
  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
224k
  inline ChangeMetadataRequestPB& operator=(const ChangeMetadataRequestPB& from) {
585
224k
    CopyFrom(from);
586
224k
    return *this;
587
224k
  }
588
  #if LANG_CXX11
589
  ChangeMetadataRequestPB(ChangeMetadataRequestPB&& from) noexcept
590
0
    : ChangeMetadataRequestPB() {
591
0
    *this = ::std::move(from);
592
0
  }
Unexecuted instantiation: _ZN2yb6tablet23ChangeMetadataRequestPBC2EOS1_
Unexecuted instantiation: _ZN2yb6tablet23ChangeMetadataRequestPBC1EOS1_
593
594
0
  inline ChangeMetadataRequestPB& operator=(ChangeMetadataRequestPB&& from) noexcept {
595
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
596
0
      if (this != &from) InternalSwap(&from);
597
0
    } else {
598
0
      CopyFrom(from);
599
0
    }
600
0
    return *this;
601
0
  }
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
2.41M
  static inline const ChangeMetadataRequestPB* internal_default_instance() {
615
2.41M
    return reinterpret_cast<const ChangeMetadataRequestPB*>(
616
2.41M
               &_ChangeMetadataRequestPB_default_instance_);
617
2.41M
  }
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
866k
  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
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
653
0
    return NULL;
654
0
  }
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
19
  inline SplitTabletRequestPB& operator=(const SplitTabletRequestPB& from) {
898
19
    CopyFrom(from);
899
19
    return *this;
900
19
  }
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
43.2k
  static inline const SplitTabletRequestPB* internal_default_instance() {
928
43.2k
    return reinterpret_cast<const SplitTabletRequestPB*>(
929
43.2k
               &_SplitTabletRequestPB_default_instance_);
930
43.2k
  }
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
70
  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
12.0M
inline bool TransactionStatePB::has_transaction_id() const {
1122
12.0M
  return (_has_bits_[0] & 0x00000001u) != 0;
1123
12.0M
}
1124
5.05M
inline void TransactionStatePB::set_has_transaction_id() {
1125
5.05M
  _has_bits_[0] |= 0x00000001u;
1126
5.05M
}
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
21.0M
inline const ::std::string& TransactionStatePB::transaction_id() const {
1135
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.transaction_id)
1136
21.0M
  return transaction_id_.GetNoArena();
1137
21.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
1.96M
inline void TransactionStatePB::set_transaction_id(const void* value, size_t size) {
1158
1.96M
  set_has_transaction_id();
1159
1.96M
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1160
1.96M
      ::std::string(reinterpret_cast<const char*>(value), size));
1161
  // @@protoc_insertion_point(field_set_pointer:yb.tablet.TransactionStatePB.transaction_id)
1162
1.96M
}
1163
2.45M
inline ::std::string* TransactionStatePB::mutable_transaction_id() {
1164
2.45M
  set_has_transaction_id();
1165
  // @@protoc_insertion_point(field_mutable:yb.tablet.TransactionStatePB.transaction_id)
1166
2.45M
  return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1167
2.45M
}
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
12.0M
inline bool TransactionStatePB::has_status() const {
1185
12.0M
  return (_has_bits_[0] & 0x00000010u) != 0;
1186
12.0M
}
1187
4.31M
inline void TransactionStatePB::set_has_status() {
1188
4.31M
  _has_bits_[0] |= 0x00000010u;
1189
4.31M
}
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
29.3M
inline ::yb::TransactionStatus TransactionStatePB::status() const {
1198
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.status)
1199
29.3M
  return static_cast< ::yb::TransactionStatus >(status_);
1200
29.3M
}
1201
4.31M
inline void TransactionStatePB::set_status(::yb::TransactionStatus value) {
1202
4.31M
  assert(::yb::TransactionStatus_IsValid(value));
1203
4.31M
  set_has_status();
1204
4.31M
  status_ = value;
1205
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.status)
1206
4.31M
}
1207
1208
// repeated bytes tablets = 3;
1209
30.1M
inline int TransactionStatePB::tablets_size() const {
1210
30.1M
  return tablets_.size();
1211
30.1M
}
1212
0
inline void TransactionStatePB::clear_tablets() {
1213
0
  tablets_.Clear();
1214
0
}
1215
10.3M
inline const ::std::string& TransactionStatePB::tablets(int index) const {
1216
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.tablets)
1217
10.3M
  return tablets_.Get(index);
1218
10.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
1.31M
inline ::std::string* TransactionStatePB::add_tablets() {
1244
  // @@protoc_insertion_point(field_add_mutable:yb.tablet.TransactionStatePB.tablets)
1245
1.31M
  return tablets_.Add();
1246
1.31M
}
1247
800k
inline void TransactionStatePB::add_tablets(const ::std::string& value) {
1248
800k
  tablets_.Add()->assign(value);
1249
  // @@protoc_insertion_point(field_add:yb.tablet.TransactionStatePB.tablets)
1250
800k
}
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
781k
TransactionStatePB::tablets() const {
1268
  // @@protoc_insertion_point(field_list:yb.tablet.TransactionStatePB.tablets)
1269
781k
  return tablets_;
1270
781k
}
1271
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1272
157k
TransactionStatePB::mutable_tablets() {
1273
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.TransactionStatePB.tablets)
1274
157k
  return &tablets_;
1275
157k
}
1276
1277
// repeated int64 tablet_batches = 5;
1278
12.0M
inline int TransactionStatePB::tablet_batches_size() const {
1279
12.0M
  return tablet_batches_.size();
1280
12.0M
}
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
12.0M
inline bool TransactionStatePB::has_commit_hybrid_time() const {
1309
12.0M
  return (_has_bits_[0] & 0x00000004u) != 0;
1310
12.0M
}
1311
897k
inline void TransactionStatePB::set_has_commit_hybrid_time() {
1312
897k
  _has_bits_[0] |= 0x00000004u;
1313
897k
}
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
2.12M
inline ::google::protobuf::uint64 TransactionStatePB::commit_hybrid_time() const {
1322
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.commit_hybrid_time)
1323
2.12M
  return commit_hybrid_time_;
1324
2.12M
}
1325
246k
inline void TransactionStatePB::set_commit_hybrid_time(::google::protobuf::uint64 value) {
1326
246k
  set_has_commit_hybrid_time();
1327
246k
  commit_hybrid_time_ = value;
1328
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.commit_hybrid_time)
1329
246k
}
1330
1331
// optional bool sealed = 6;
1332
12.0M
inline bool TransactionStatePB::has_sealed() const {
1333
12.0M
  return (_has_bits_[0] & 0x00000008u) != 0;
1334
12.0M
}
1335
1.81M
inline void TransactionStatePB::set_has_sealed() {
1336
1.81M
  _has_bits_[0] |= 0x00000008u;
1337
1.81M
}
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
3.03M
inline bool TransactionStatePB::sealed() const {
1346
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.sealed)
1347
3.03M
  return sealed_;
1348
3.03M
}
1349
795k
inline void TransactionStatePB::set_sealed(bool value) {
1350
795k
  set_has_sealed();
1351
795k
  sealed_ = value;
1352
  // @@protoc_insertion_point(field_set:yb.tablet.TransactionStatePB.sealed)
1353
795k
}
1354
1355
// optional .yb.AbortedSubTransactionSetPB aborted = 7;
1356
12.0M
inline bool TransactionStatePB::has_aborted() const {
1357
12.0M
  return (_has_bits_[0] & 0x00000002u) != 0;
1358
12.0M
}
1359
1.14M
inline void TransactionStatePB::set_has_aborted() {
1360
1.14M
  _has_bits_[0] |= 0x00000002u;
1361
1.14M
}
1362
0
inline void TransactionStatePB::clear_has_aborted() {
1363
0
  _has_bits_[0] &= ~0x00000002u;
1364
0
}
1365
1.29M
inline const ::yb::AbortedSubTransactionSetPB& TransactionStatePB::aborted() const {
1366
1.29M
  const ::yb::AbortedSubTransactionSetPB* p = aborted_;
1367
  // @@protoc_insertion_point(field_get:yb.tablet.TransactionStatePB.aborted)
1368
984k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AbortedSubTransactionSetPB*>(
1369
311k
      &::yb::_AbortedSubTransactionSetPB_default_instance_);
1370
1.29M
}
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
1.14M
inline ::yb::AbortedSubTransactionSetPB* TransactionStatePB::mutable_aborted() {
1379
1.14M
  set_has_aborted();
1380
1.14M
  if (aborted_ == NULL) {
1381
1.14M
    aborted_ = new ::yb::AbortedSubTransactionSetPB;
1382
1.14M
  }
1383
  // @@protoc_insertion_point(field_mutable:yb.tablet.TransactionStatePB.aborted)
1384
1.14M
  return aborted_;
1385
1.14M
}
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
18.8M
inline bool WritePB::has_unused_tablet_id() const {
1415
18.8M
  return (_has_bits_[0] & 0x00000001u) != 0;
1416
18.8M
}
1417
5.71M
inline void WritePB::set_has_unused_tablet_id() {
1418
5.71M
  _has_bits_[0] |= 0x00000001u;
1419
5.71M
}
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
25.2M
inline const ::std::string& WritePB::unused_tablet_id() const {
1428
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.unused_tablet_id)
1429
25.2M
  return unused_tablet_id_.GetNoArena();
1430
25.2M
}
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
1.74M
inline void WritePB::set_unused_tablet_id(const char* value) {
1445
1.74M
  GOOGLE_DCHECK(value != NULL);
1446
1.74M
  set_has_unused_tablet_id();
1447
1.74M
  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
1.74M
}
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
3.96M
inline ::std::string* WritePB::mutable_unused_tablet_id() {
1457
3.96M
  set_has_unused_tablet_id();
1458
  // @@protoc_insertion_point(field_mutable:yb.tablet.WritePB.unused_tablet_id)
1459
3.96M
  return unused_tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1460
3.96M
}
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
20.3M
inline bool WritePB::has_write_batch() const {
1478
20.3M
  return (_has_bits_[0] & 0x00000002u) != 0;
1479
20.3M
}
1480
9.96M
inline void WritePB::set_has_write_batch() {
1481
9.96M
  _has_bits_[0] |= 0x00000002u;
1482
9.96M
}
1483
0
inline void WritePB::clear_has_write_batch() {
1484
0
  _has_bits_[0] &= ~0x00000002u;
1485
0
}
1486
9.05M
inline const ::yb::docdb::KeyValueWriteBatchPB& WritePB::write_batch() const {
1487
9.05M
  const ::yb::docdb::KeyValueWriteBatchPB* p = write_batch_;
1488
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.write_batch)
1489
9.05M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::docdb::KeyValueWriteBatchPB*>(
1490
613
      &::yb::docdb::_KeyValueWriteBatchPB_default_instance_);
1491
9.05M
}
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
9.95M
inline ::yb::docdb::KeyValueWriteBatchPB* WritePB::mutable_write_batch() {
1500
9.95M
  set_has_write_batch();
1501
9.95M
  if (write_batch_ == NULL) {
1502
6.57M
    write_batch_ = new ::yb::docdb::KeyValueWriteBatchPB;
1503
6.57M
  }
1504
  // @@protoc_insertion_point(field_mutable:yb.tablet.WritePB.write_batch)
1505
9.95M
  return write_batch_;
1506
9.95M
}
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
18.8M
inline bool WritePB::has_client_id1() const {
1528
18.8M
  return (_has_bits_[0] & 0x00000004u) != 0;
1529
18.8M
}
1530
4.73M
inline void WritePB::set_has_client_id1() {
1531
4.73M
  _has_bits_[0] |= 0x00000004u;
1532
4.73M
}
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
15.6M
inline ::google::protobuf::uint64 WritePB::client_id1() const {
1541
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.client_id1)
1542
15.6M
  return client_id1_;
1543
15.6M
}
1544
1.31M
inline void WritePB::set_client_id1(::google::protobuf::uint64 value) {
1545
1.31M
  set_has_client_id1();
1546
1.31M
  client_id1_ = value;
1547
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.client_id1)
1548
1.31M
}
1549
1550
// optional fixed64 client_id2 = 15;
1551
18.8M
inline bool WritePB::has_client_id2() const {
1552
18.8M
  return (_has_bits_[0] & 0x00000008u) != 0;
1553
18.8M
}
1554
4.73M
inline void WritePB::set_has_client_id2() {
1555
4.73M
  _has_bits_[0] |= 0x00000008u;
1556
4.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
15.6M
inline ::google::protobuf::uint64 WritePB::client_id2() const {
1565
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.client_id2)
1566
15.6M
  return client_id2_;
1567
15.6M
}
1568
1.30M
inline void WritePB::set_client_id2(::google::protobuf::uint64 value) {
1569
1.30M
  set_has_client_id2();
1570
1.30M
  client_id2_ = value;
1571
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.client_id2)
1572
1.30M
}
1573
1574
// optional int64 request_id = 16;
1575
18.8M
inline bool WritePB::has_request_id() const {
1576
18.8M
  return (_has_bits_[0] & 0x00000010u) != 0;
1577
18.8M
}
1578
4.73M
inline void WritePB::set_has_request_id() {
1579
4.73M
  _has_bits_[0] |= 0x00000010u;
1580
4.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
40.2M
inline ::google::protobuf::int64 WritePB::request_id() const {
1589
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.request_id)
1590
40.2M
  return request_id_;
1591
40.2M
}
1592
1.31M
inline void WritePB::set_request_id(::google::protobuf::int64 value) {
1593
1.31M
  set_has_request_id();
1594
1.31M
  request_id_ = value;
1595
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.request_id)
1596
1.31M
}
1597
1598
// optional int64 min_running_request_id = 17;
1599
18.8M
inline bool WritePB::has_min_running_request_id() const {
1600
18.8M
  return (_has_bits_[0] & 0x00000020u) != 0;
1601
18.8M
}
1602
4.73M
inline void WritePB::set_has_min_running_request_id() {
1603
4.73M
  _has_bits_[0] |= 0x00000020u;
1604
4.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
25.0M
inline ::google::protobuf::int64 WritePB::min_running_request_id() const {
1613
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.min_running_request_id)
1614
25.0M
  return min_running_request_id_;
1615
25.0M
}
1616
1.31M
inline void WritePB::set_min_running_request_id(::google::protobuf::int64 value) {
1617
1.31M
  set_has_min_running_request_id();
1618
1.31M
  min_running_request_id_ = value;
1619
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.min_running_request_id)
1620
1.31M
}
1621
1622
// optional fixed64 external_hybrid_time = 19;
1623
23.6M
inline bool WritePB::has_external_hybrid_time() const {
1624
23.6M
  return (_has_bits_[0] & 0x00000040u) != 0;
1625
23.6M
}
1626
3.41k
inline void WritePB::set_has_external_hybrid_time() {
1627
3.41k
  _has_bits_[0] |= 0x00000040u;
1628
3.41k
}
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
9.03k
inline ::google::protobuf::uint64 WritePB::external_hybrid_time() const {
1637
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.external_hybrid_time)
1638
9.03k
  return external_hybrid_time_;
1639
9.03k
}
1640
1.19k
inline void WritePB::set_external_hybrid_time(::google::protobuf::uint64 value) {
1641
1.19k
  set_has_external_hybrid_time();
1642
1.19k
  external_hybrid_time_ = value;
1643
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.external_hybrid_time)
1644
1.19k
}
1645
1646
// optional uint64 batch_idx = 20;
1647
18.8M
inline bool WritePB::has_batch_idx() const {
1648
18.8M
  return (_has_bits_[0] & 0x00000080u) != 0;
1649
18.8M
}
1650
5.70M
inline void WritePB::set_has_batch_idx() {
1651
5.70M
  _has_bits_[0] |= 0x00000080u;
1652
5.70M
}
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
29.9M
inline ::google::protobuf::uint64 WritePB::batch_idx() const {
1661
  // @@protoc_insertion_point(field_get:yb.tablet.WritePB.batch_idx)
1662
29.9M
  return batch_idx_;
1663
29.9M
}
1664
1.73M
inline void WritePB::set_batch_idx(::google::protobuf::uint64 value) {
1665
1.73M
  set_has_batch_idx();
1666
1.73M
  batch_idx_ = value;
1667
  // @@protoc_insertion_point(field_set:yb.tablet.WritePB.batch_idx)
1668
1.73M
}
1669
1670
// -------------------------------------------------------------------
1671
1672
// ChangeMetadataRequestPB
1673
1674
// optional bytes dest_uuid = 5;
1675
265k
inline bool ChangeMetadataRequestPB::has_dest_uuid() const {
1676
265k
  return (_has_bits_[0] & 0x00000004u) != 0;
1677
265k
}
1678
101k
inline void ChangeMetadataRequestPB::set_has_dest_uuid() {
1679
101k
  _has_bits_[0] |= 0x00000004u;
1680
101k
}
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
419k
inline const ::std::string& ChangeMetadataRequestPB::dest_uuid() const {
1689
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1690
419k
  return dest_uuid_.GetNoArena();
1691
419k
}
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
20.7k
inline void ChangeMetadataRequestPB::set_dest_uuid(::std::string&& value) {
1699
20.7k
  set_has_dest_uuid();
1700
20.7k
  dest_uuid_.SetNoArena(
1701
20.7k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1702
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1703
20.7k
}
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
60.3k
inline ::std::string* ChangeMetadataRequestPB::mutable_dest_uuid() {
1718
60.3k
  set_has_dest_uuid();
1719
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.dest_uuid)
1720
60.3k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1721
60.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
2.09M
inline bool ChangeMetadataRequestPB::has_tablet_id() const {
1739
2.09M
  return (_has_bits_[0] & 0x00000001u) != 0;
1740
2.09M
}
1741
795k
inline void ChangeMetadataRequestPB::set_has_tablet_id() {
1742
795k
  _has_bits_[0] |= 0x00000001u;
1743
795k
}
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
3.00M
inline const ::std::string& ChangeMetadataRequestPB::tablet_id() const {
1752
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1753
3.00M
  return tablet_id_.GetNoArena();
1754
3.00M
}
1755
20.7k
inline void ChangeMetadataRequestPB::set_tablet_id(const ::std::string& value) {
1756
20.7k
  set_has_tablet_id();
1757
20.7k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1758
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1759
20.7k
}
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
2.26k
inline void ChangeMetadataRequestPB::set_tablet_id(const char* value) {
1769
2.26k
  GOOGLE_DCHECK(value != NULL);
1770
2.26k
  set_has_tablet_id();
1771
2.26k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1772
  // @@protoc_insertion_point(field_set_char:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1773
2.26k
}
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
547k
inline ::std::string* ChangeMetadataRequestPB::mutable_tablet_id() {
1781
547k
  set_has_tablet_id();
1782
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.tablet_id)
1783
547k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1784
547k
}
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
3.88M
inline bool ChangeMetadataRequestPB::has_schema() const {
1802
3.88M
  return (_has_bits_[0] & 0x00000080u) != 0;
1803
3.88M
}
1804
89.5k
inline void ChangeMetadataRequestPB::set_has_schema() {
1805
89.5k
  _has_bits_[0] |= 0x00000080u;
1806
89.5k
}
1807
0
inline void ChangeMetadataRequestPB::clear_has_schema() {
1808
0
  _has_bits_[0] &= ~0x00000080u;
1809
0
}
1810
412k
inline const ::yb::SchemaPB& ChangeMetadataRequestPB::schema() const {
1811
412k
  const ::yb::SchemaPB* p = schema_;
1812
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.schema)
1813
288k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::SchemaPB*>(
1814
288k
      &::yb::_SchemaPB_default_instance_);
1815
412k
}
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
89.6k
inline ::yb::SchemaPB* ChangeMetadataRequestPB::mutable_schema() {
1824
89.6k
  set_has_schema();
1825
89.6k
  if (schema_ == NULL) {
1826
89.5k
    schema_ = new ::yb::SchemaPB;
1827
89.5k
  }
1828
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.schema)
1829
89.6k
  return schema_;
1830
89.6k
}
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
2.98M
inline int ChangeMetadataRequestPB::indexes_size() const {
1852
2.98M
  return indexes_.size();
1853
2.98M
}
1854
393k
inline const ::yb::IndexInfoPB& ChangeMetadataRequestPB::indexes(int index) const {
1855
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.indexes)
1856
393k
  return indexes_.Get(index);
1857
393k
}
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
59.5k
inline ::yb::IndexInfoPB* ChangeMetadataRequestPB::add_indexes() {
1863
  // @@protoc_insertion_point(field_add:yb.tablet.ChangeMetadataRequestPB.indexes)
1864
59.5k
  return indexes_.Add();
1865
59.5k
}
1866
inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >*
1867
18.3k
ChangeMetadataRequestPB::mutable_indexes() {
1868
  // @@protoc_insertion_point(field_mutable_list:yb.tablet.ChangeMetadataRequestPB.indexes)
1869
18.3k
  return &indexes_;
1870
18.3k
}
1871
inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB >&
1872
3.06M
ChangeMetadataRequestPB::indexes() const {
1873
  // @@protoc_insertion_point(field_list:yb.tablet.ChangeMetadataRequestPB.indexes)
1874
3.06M
  return indexes_;
1875
3.06M
}
1876
1877
// optional uint32 schema_version = 3;
1878
2.09M
inline bool ChangeMetadataRequestPB::has_schema_version() const {
1879
2.09M
  return (_has_bits_[0] & 0x00000400u) != 0;
1880
2.09M
}
1881
71.5k
inline void ChangeMetadataRequestPB::set_has_schema_version() {
1882
71.5k
  _has_bits_[0] |= 0x00000400u;
1883
71.5k
}
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
932k
inline ::google::protobuf::uint32 ChangeMetadataRequestPB::schema_version() const {
1892
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.schema_version)
1893
932k
  return schema_version_;
1894
932k
}
1895
18.3k
inline void ChangeMetadataRequestPB::set_schema_version(::google::protobuf::uint32 value) {
1896
18.3k
  set_has_schema_version();
1897
18.3k
  schema_version_ = value;
1898
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.schema_version)
1899
18.3k
}
1900
1901
// optional string new_table_name = 4;
1902
312k
inline bool ChangeMetadataRequestPB::has_new_table_name() const {
1903
312k
  return (_has_bits_[0] & 0x00000002u) != 0;
1904
312k
}
1905
89.5k
inline void ChangeMetadataRequestPB::set_has_new_table_name() {
1906
89.5k
  _has_bits_[0] |= 0x00000002u;
1907
89.5k
}
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
771k
inline const ::std::string& ChangeMetadataRequestPB::new_table_name() const {
1916
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1917
771k
  return new_table_name_.GetNoArena();
1918
771k
}
1919
18.3k
inline void ChangeMetadataRequestPB::set_new_table_name(const ::std::string& value) {
1920
18.3k
  set_has_new_table_name();
1921
18.3k
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1922
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1923
18.3k
}
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
53.2k
inline ::std::string* ChangeMetadataRequestPB::mutable_new_table_name() {
1945
53.2k
  set_has_new_table_name();
1946
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.new_table_name)
1947
53.2k
  return new_table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1948
53.2k
}
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
2.09M
inline bool ChangeMetadataRequestPB::has_propagated_hybrid_time() const {
1966
2.09M
  return (_has_bits_[0] & 0x00000200u) != 0;
1967
2.09M
}
1968
81.3k
inline void ChangeMetadataRequestPB::set_has_propagated_hybrid_time() {
1969
81.3k
  _has_bits_[0] |= 0x00000200u;
1970
81.3k
}
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
133k
inline ::google::protobuf::uint64 ChangeMetadataRequestPB::propagated_hybrid_time() const {
1979
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.propagated_hybrid_time)
1980
133k
  return propagated_hybrid_time_;
1981
133k
}
1982
20.7k
inline void ChangeMetadataRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) {
1983
20.7k
  set_has_propagated_hybrid_time();
1984
20.7k
  propagated_hybrid_time_ = value;
1985
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.propagated_hybrid_time)
1986
20.7k
}
1987
1988
// optional .yb.tablet.TableInfoPB add_table = 8;
1989
5.16M
inline bool ChangeMetadataRequestPB::has_add_table() const {
1990
5.16M
  return (_has_bits_[0] & 0x00000100u) != 0;
1991
5.16M
}
1992
693k
inline void ChangeMetadataRequestPB::set_has_add_table() {
1993
693k
  _has_bits_[0] |= 0x00000100u;
1994
693k
}
1995
0
inline void ChangeMetadataRequestPB::clear_has_add_table() {
1996
0
  _has_bits_[0] &= ~0x00000100u;
1997
0
}
1998
693k
inline const ::yb::tablet::TableInfoPB& ChangeMetadataRequestPB::add_table() const {
1999
693k
  const ::yb::tablet::TableInfoPB* p = add_table_;
2000
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.add_table)
2001
693k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TableInfoPB*>(
2002
0
      &::yb::tablet::_TableInfoPB_default_instance_);
2003
693k
}
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
693k
inline ::yb::tablet::TableInfoPB* ChangeMetadataRequestPB::mutable_add_table() {
2012
693k
  set_has_add_table();
2013
693k
  if (add_table_ == NULL) {
2014
693k
    add_table_ = new ::yb::tablet::TableInfoPB;
2015
693k
  }
2016
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.add_table)
2017
693k
  return add_table_;
2018
693k
}
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
2.66M
inline bool ChangeMetadataRequestPB::has_wal_retention_secs() const {
2040
2.66M
  return (_has_bits_[0] & 0x00000800u) != 0;
2041
2.66M
}
2042
5.40k
inline void ChangeMetadataRequestPB::set_has_wal_retention_secs() {
2043
5.40k
  _has_bits_[0] |= 0x00000800u;
2044
5.40k
}
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
26.8k
inline ::google::protobuf::uint32 ChangeMetadataRequestPB::wal_retention_secs() const {
2053
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.wal_retention_secs)
2054
26.8k
  return wal_retention_secs_;
2055
26.8k
}
2056
2.55k
inline void ChangeMetadataRequestPB::set_wal_retention_secs(::google::protobuf::uint32 value) {
2057
2.55k
  set_has_wal_retention_secs();
2058
2.55k
  wal_retention_secs_ = value;
2059
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.wal_retention_secs)
2060
2.55k
}
2061
2062
// optional bytes remove_table_id = 10;
2063
811k
inline bool ChangeMetadataRequestPB::has_remove_table_id() const {
2064
811k
  return (_has_bits_[0] & 0x00000008u) != 0;
2065
811k
}
2066
60
inline void ChangeMetadataRequestPB::set_has_remove_table_id() {
2067
60
  _has_bits_[0] |= 0x00000008u;
2068
60
}
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
300
inline const ::std::string& ChangeMetadataRequestPB::remove_table_id() const {
2077
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2078
300
  return remove_table_id_.GetNoArena();
2079
300
}
2080
15
inline void ChangeMetadataRequestPB::set_remove_table_id(const ::std::string& value) {
2081
15
  set_has_remove_table_id();
2082
15
  remove_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2083
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2084
15
}
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
30
inline ::std::string* ChangeMetadataRequestPB::mutable_remove_table_id() {
2106
30
  set_has_remove_table_id();
2107
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.remove_table_id)
2108
30
  return remove_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2109
30
}
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
2.64M
inline bool ChangeMetadataRequestPB::has_mark_backfill_done() const {
2127
2.64M
  return (_has_bits_[0] & 0x00001000u) != 0;
2128
2.64M
}
2129
9.78k
inline void ChangeMetadataRequestPB::set_has_mark_backfill_done() {
2130
9.78k
  _has_bits_[0] |= 0x00001000u;
2131
9.78k
}
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
14.5k
inline bool ChangeMetadataRequestPB::mark_backfill_done() const {
2140
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.mark_backfill_done)
2141
14.5k
  return mark_backfill_done_;
2142
14.5k
}
2143
2.46k
inline void ChangeMetadataRequestPB::set_mark_backfill_done(bool value) {
2144
2.46k
  set_has_mark_backfill_done();
2145
2.46k
  mark_backfill_done_ = value;
2146
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.mark_backfill_done)
2147
2.46k
}
2148
2149
// optional bytes alter_table_id = 12;
2150
383k
inline bool ChangeMetadataRequestPB::has_alter_table_id() const {
2151
383k
  return (_has_bits_[0] & 0x00000010u) != 0;
2152
383k
}
2153
89.3k
inline void ChangeMetadataRequestPB::set_has_alter_table_id() {
2154
89.3k
  _has_bits_[0] |= 0x00000010u;
2155
89.3k
}
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
448k
inline const ::std::string& ChangeMetadataRequestPB::alter_table_id() const {
2164
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2165
448k
  return alter_table_id_.GetNoArena();
2166
448k
}
2167
18.2k
inline void ChangeMetadataRequestPB::set_alter_table_id(const ::std::string& value) {
2168
18.2k
  set_has_alter_table_id();
2169
18.2k
  alter_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2170
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2171
18.2k
}
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
53.1k
inline ::std::string* ChangeMetadataRequestPB::mutable_alter_table_id() {
2193
53.1k
  set_has_alter_table_id();
2194
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.alter_table_id)
2195
53.1k
  return alter_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2196
53.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
265k
inline bool ChangeMetadataRequestPB::has_backfill_done_table_id() const {
2214
265k
  return (_has_bits_[0] & 0x00000020u) != 0;
2215
265k
}
2216
12.2k
inline void ChangeMetadataRequestPB::set_has_backfill_done_table_id() {
2217
12.2k
  _has_bits_[0] |= 0x00000020u;
2218
12.2k
}
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
55.7k
inline const ::std::string& ChangeMetadataRequestPB::backfill_done_table_id() const {
2227
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2228
55.7k
  return backfill_done_table_id_.GetNoArena();
2229
55.7k
}
2230
2.47k
inline void ChangeMetadataRequestPB::set_backfill_done_table_id(const ::std::string& value) {
2231
2.47k
  set_has_backfill_done_table_id();
2232
2.47k
  backfill_done_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2233
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2234
2.47k
}
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
7.32k
inline ::std::string* ChangeMetadataRequestPB::mutable_backfill_done_table_id() {
2256
7.32k
  set_has_backfill_done_table_id();
2257
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.backfill_done_table_id)
2258
7.32k
  return backfill_done_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2259
7.32k
}
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
266k
inline bool ChangeMetadataRequestPB::has_transaction_id() const {
2277
266k
  return (_has_bits_[0] & 0x00000040u) != 0;
2278
266k
}
2279
1.58k
inline void ChangeMetadataRequestPB::set_has_transaction_id() {
2280
1.58k
  _has_bits_[0] |= 0x00000040u;
2281
1.58k
}
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
6.59k
inline const ::std::string& ChangeMetadataRequestPB::transaction_id() const {
2290
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2291
6.59k
  return transaction_id_.GetNoArena();
2292
6.59k
}
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
324
inline void ChangeMetadataRequestPB::set_transaction_id(::std::string&& value) {
2300
324
  set_has_transaction_id();
2301
324
  transaction_id_.SetNoArena(
2302
324
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2303
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2304
324
}
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
948
inline ::std::string* ChangeMetadataRequestPB::mutable_transaction_id() {
2319
948
  set_has_transaction_id();
2320
  // @@protoc_insertion_point(field_mutable:yb.tablet.ChangeMetadataRequestPB.transaction_id)
2321
948
  return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2322
948
}
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
2.09M
inline bool ChangeMetadataRequestPB::has_should_abort_active_txns() const {
2340
2.09M
  return (_has_bits_[0] & 0x00002000u) != 0;
2341
2.09M
}
2342
1.27k
inline void ChangeMetadataRequestPB::set_has_should_abort_active_txns() {
2343
1.27k
  _has_bits_[0] |= 0x00002000u;
2344
1.27k
}
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
5.89k
inline bool ChangeMetadataRequestPB::should_abort_active_txns() const {
2353
  // @@protoc_insertion_point(field_get:yb.tablet.ChangeMetadataRequestPB.should_abort_active_txns)
2354
5.89k
  return should_abort_active_txns_;
2355
5.89k
}
2356
325
inline void ChangeMetadataRequestPB::set_should_abort_active_txns(bool value) {
2357
325
  set_has_should_abort_active_txns();
2358
325
  should_abort_active_txns_ = value;
2359
  // @@protoc_insertion_point(field_set:yb.tablet.ChangeMetadataRequestPB.should_abort_active_txns)
2360
325
}
2361
2362
// -------------------------------------------------------------------
2363
2364
// SplitTabletRequestPB
2365
2366
// optional bytes dest_uuid = 1;
2367
261
inline bool SplitTabletRequestPB::has_dest_uuid() const {
2368
261
  return (_has_bits_[0] & 0x00000001u) != 0;
2369
261
}
2370
335
inline void SplitTabletRequestPB::set_has_dest_uuid() {
2371
335
  _has_bits_[0] |= 0x00000001u;
2372
335
}
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
455
inline const ::std::string& SplitTabletRequestPB::dest_uuid() const {
2381
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.dest_uuid)
2382
455
  return dest_uuid_.GetNoArena();
2383
455
}
2384
1
inline void SplitTabletRequestPB::set_dest_uuid(const ::std::string& value) {
2385
1
  set_has_dest_uuid();
2386
1
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2387
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.dest_uuid)
2388
1
}
2389
#if LANG_CXX11
2390
43
inline void SplitTabletRequestPB::set_dest_uuid(::std::string&& value) {
2391
43
  set_has_dest_uuid();
2392
43
  dest_uuid_.SetNoArena(
2393
43
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2394
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.dest_uuid)
2395
43
}
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
272
inline ::std::string* SplitTabletRequestPB::mutable_dest_uuid() {
2410
272
  set_has_dest_uuid();
2411
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.dest_uuid)
2412
272
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2413
272
}
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
254
inline bool SplitTabletRequestPB::has_propagated_hybrid_time() const {
2431
254
  return (_has_bits_[0] & 0x00000040u) != 0;
2432
254
}
2433
312
inline void SplitTabletRequestPB::set_has_propagated_hybrid_time() {
2434
312
  _has_bits_[0] |= 0x00000040u;
2435
312
}
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
154
inline ::google::protobuf::uint64 SplitTabletRequestPB::propagated_hybrid_time() const {
2444
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.propagated_hybrid_time)
2445
154
  return propagated_hybrid_time_;
2446
154
}
2447
43
inline void SplitTabletRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) {
2448
43
  set_has_propagated_hybrid_time();
2449
43
  propagated_hybrid_time_ = value;
2450
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.propagated_hybrid_time)
2451
43
}
2452
2453
// required bytes tablet_id = 3;
2454
7
inline bool SplitTabletRequestPB::has_tablet_id() const {
2455
7
  return (_has_bits_[0] & 0x00000002u) != 0;
2456
7
}
2457
335
inline void SplitTabletRequestPB::set_has_tablet_id() {
2458
335
  _has_bits_[0] |= 0x00000002u;
2459
335
}
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
577
inline const ::std::string& SplitTabletRequestPB::tablet_id() const {
2468
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.tablet_id)
2469
577
  return tablet_id_.GetNoArena();
2470
577
}
2471
1
inline void SplitTabletRequestPB::set_tablet_id(const ::std::string& value) {
2472
1
  set_has_tablet_id();
2473
1
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2474
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.tablet_id)
2475
1
}
2476
#if LANG_CXX11
2477
43
inline void SplitTabletRequestPB::set_tablet_id(::std::string&& value) {
2478
43
  set_has_tablet_id();
2479
43
  tablet_id_.SetNoArena(
2480
43
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2481
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.tablet_id)
2482
43
}
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
272
inline ::std::string* SplitTabletRequestPB::mutable_tablet_id() {
2497
272
  set_has_tablet_id();
2498
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.tablet_id)
2499
272
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2500
272
}
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
7
inline bool SplitTabletRequestPB::has_new_tablet1_id() const {
2518
7
  return (_has_bits_[0] & 0x00000004u) != 0;
2519
7
}
2520
335
inline void SplitTabletRequestPB::set_has_new_tablet1_id() {
2521
335
  _has_bits_[0] |= 0x00000004u;
2522
335
}
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
544
inline const ::std::string& SplitTabletRequestPB::new_tablet1_id() const {
2531
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2532
544
  return new_tablet1_id_.GetNoArena();
2533
544
}
2534
43
inline void SplitTabletRequestPB::set_new_tablet1_id(const ::std::string& value) {
2535
43
  set_has_new_tablet1_id();
2536
43
  new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2537
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2538
43
}
2539
#if LANG_CXX11
2540
1
inline void SplitTabletRequestPB::set_new_tablet1_id(::std::string&& value) {
2541
1
  set_has_new_tablet1_id();
2542
1
  new_tablet1_id_.SetNoArena(
2543
1
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2544
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2545
1
}
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
272
inline ::std::string* SplitTabletRequestPB::mutable_new_tablet1_id() {
2560
272
  set_has_new_tablet1_id();
2561
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.new_tablet1_id)
2562
272
  return new_tablet1_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2563
272
}
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
7
inline bool SplitTabletRequestPB::has_new_tablet2_id() const {
2581
7
  return (_has_bits_[0] & 0x00000008u) != 0;
2582
7
}
2583
335
inline void SplitTabletRequestPB::set_has_new_tablet2_id() {
2584
335
  _has_bits_[0] |= 0x00000008u;
2585
335
}
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
544
inline const ::std::string& SplitTabletRequestPB::new_tablet2_id() const {
2594
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2595
544
  return new_tablet2_id_.GetNoArena();
2596
544
}
2597
43
inline void SplitTabletRequestPB::set_new_tablet2_id(const ::std::string& value) {
2598
43
  set_has_new_tablet2_id();
2599
43
  new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2600
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2601
43
}
2602
#if LANG_CXX11
2603
1
inline void SplitTabletRequestPB::set_new_tablet2_id(::std::string&& value) {
2604
1
  set_has_new_tablet2_id();
2605
1
  new_tablet2_id_.SetNoArena(
2606
1
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2607
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2608
1
}
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
272
inline ::std::string* SplitTabletRequestPB::mutable_new_tablet2_id() {
2623
272
  set_has_new_tablet2_id();
2624
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.new_tablet2_id)
2625
272
  return new_tablet2_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2626
272
}
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
7
inline bool SplitTabletRequestPB::has_split_partition_key() const {
2644
7
  return (_has_bits_[0] & 0x00000010u) != 0;
2645
7
}
2646
335
inline void SplitTabletRequestPB::set_has_split_partition_key() {
2647
335
  _has_bits_[0] |= 0x00000010u;
2648
335
}
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
412
inline const ::std::string& SplitTabletRequestPB::split_partition_key() const {
2657
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.split_partition_key)
2658
412
  return split_partition_key_.GetNoArena();
2659
412
}
2660
44
inline void SplitTabletRequestPB::set_split_partition_key(const ::std::string& value) {
2661
44
  set_has_split_partition_key();
2662
44
  split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2663
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.split_partition_key)
2664
44
}
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
272
inline ::std::string* SplitTabletRequestPB::mutable_split_partition_key() {
2686
272
  set_has_split_partition_key();
2687
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.split_partition_key)
2688
272
  return split_partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2689
272
}
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
7
inline bool SplitTabletRequestPB::has_split_encoded_key() const {
2707
7
  return (_has_bits_[0] & 0x00000020u) != 0;
2708
7
}
2709
335
inline void SplitTabletRequestPB::set_has_split_encoded_key() {
2710
335
  _has_bits_[0] |= 0x00000020u;
2711
335
}
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
412
inline const ::std::string& SplitTabletRequestPB::split_encoded_key() const {
2720
  // @@protoc_insertion_point(field_get:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2721
412
  return split_encoded_key_.GetNoArena();
2722
412
}
2723
43
inline void SplitTabletRequestPB::set_split_encoded_key(const ::std::string& value) {
2724
43
  set_has_split_encoded_key();
2725
43
  split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2726
  // @@protoc_insertion_point(field_set:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2727
43
}
2728
#if LANG_CXX11
2729
1
inline void SplitTabletRequestPB::set_split_encoded_key(::std::string&& value) {
2730
1
  set_has_split_encoded_key();
2731
1
  split_encoded_key_.SetNoArena(
2732
1
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2733
  // @@protoc_insertion_point(field_set_rvalue:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2734
1
}
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
272
inline ::std::string* SplitTabletRequestPB::mutable_split_encoded_key() {
2749
272
  set_has_split_encoded_key();
2750
  // @@protoc_insertion_point(field_mutable:yb.tablet.SplitTabletRequestPB.split_encoded_key)
2751
272
  return split_encoded_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2752
272
}
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