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/consensus/consensus.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/consensus/consensus.proto
3
4
#ifndef PROTOBUF_yb_2fconsensus_2fconsensus_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fconsensus_2fconsensus_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/generated_enum_reflection.h>
32
#include <google/protobuf/unknown_field_set.h>
33
#include "yb/common/common_net.pb.h"
34
#include "yb/common/wire_protocol.pb.h"
35
#include "yb/consensus/consensus_types.pb.h"
36
#include "yb/consensus/metadata.pb.h"
37
#include "yb/tablet/operations.pb.h"
38
#include "yb/tserver/backup.pb.h"
39
#include "yb/tserver/tserver_types.pb.h"
40
#include "yb/util/opid.pb.h"
41
// @@protoc_insertion_point(includes)
42
43
namespace protobuf_yb_2fconsensus_2fconsensus_2eproto {
44
// Internal implementation detail -- do not use these members.
45
struct TableStruct {
46
  static const ::google::protobuf::internal::ParseTableField entries[];
47
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
48
  static const ::google::protobuf::internal::ParseTable schema[32];
49
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
50
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
51
  static const ::google::protobuf::uint32 offsets[];
52
};
53
void AddDescriptors();
54
void InitDefaultsChangeConfigRecordPBImpl();
55
void InitDefaultsChangeConfigRecordPB();
56
void InitDefaultsChangeConfigRequestPBImpl();
57
void InitDefaultsChangeConfigRequestPB();
58
void InitDefaultsChangeConfigResponsePBImpl();
59
void InitDefaultsChangeConfigResponsePB();
60
void InitDefaultsHistoryCutoffPBImpl();
61
void InitDefaultsHistoryCutoffPB();
62
void InitDefaultsReplicateMsgImpl();
63
void InitDefaultsReplicateMsg();
64
void InitDefaultsNoOpRequestPBImpl();
65
void InitDefaultsNoOpRequestPB();
66
void InitDefaultsNoOpResponsePBImpl();
67
void InitDefaultsNoOpResponsePB();
68
void InitDefaultsPerOpErrorPBImpl();
69
void InitDefaultsPerOpErrorPB();
70
void InitDefaultsConsensusStatusPBImpl();
71
void InitDefaultsConsensusStatusPB();
72
void InitDefaultsVoteRequestPBImpl();
73
void InitDefaultsVoteRequestPB();
74
void InitDefaultsVoteResponsePBImpl();
75
void InitDefaultsVoteResponsePB();
76
void InitDefaultsConsensusRequestPBImpl();
77
void InitDefaultsConsensusRequestPB();
78
void InitDefaultsConsensusResponsePBImpl();
79
void InitDefaultsConsensusResponsePB();
80
void InitDefaultsMultiRaftConsensusRequestPBImpl();
81
void InitDefaultsMultiRaftConsensusRequestPB();
82
void InitDefaultsMultiRaftConsensusResponsePBImpl();
83
void InitDefaultsMultiRaftConsensusResponsePB();
84
void InitDefaultsOperationStatusPBImpl();
85
void InitDefaultsOperationStatusPB();
86
void InitDefaultsGetNodeInstanceRequestPBImpl();
87
void InitDefaultsGetNodeInstanceRequestPB();
88
void InitDefaultsGetNodeInstanceResponsePBImpl();
89
void InitDefaultsGetNodeInstanceResponsePB();
90
void InitDefaultsRunLeaderElectionRequestPBImpl();
91
void InitDefaultsRunLeaderElectionRequestPB();
92
void InitDefaultsRunLeaderElectionResponsePBImpl();
93
void InitDefaultsRunLeaderElectionResponsePB();
94
void InitDefaultsLeaderElectionLostRequestPBImpl();
95
void InitDefaultsLeaderElectionLostRequestPB();
96
void InitDefaultsLeaderElectionLostResponsePBImpl();
97
void InitDefaultsLeaderElectionLostResponsePB();
98
void InitDefaultsLeaderStepDownRequestPBImpl();
99
void InitDefaultsLeaderStepDownRequestPB();
100
void InitDefaultsLeaderStepDownResponsePBImpl();
101
void InitDefaultsLeaderStepDownResponsePB();
102
void InitDefaultsGetLastOpIdRequestPBImpl();
103
void InitDefaultsGetLastOpIdRequestPB();
104
void InitDefaultsGetLastOpIdResponsePBImpl();
105
void InitDefaultsGetLastOpIdResponsePB();
106
void InitDefaultsGetConsensusStateRequestPBImpl();
107
void InitDefaultsGetConsensusStateRequestPB();
108
void InitDefaultsGetConsensusStateResponsePBImpl();
109
void InitDefaultsGetConsensusStateResponsePB();
110
void InitDefaultsStartRemoteBootstrapRequestPBImpl();
111
void InitDefaultsStartRemoteBootstrapRequestPB();
112
void InitDefaultsStartRemoteBootstrapResponsePBImpl();
113
void InitDefaultsStartRemoteBootstrapResponsePB();
114
void InitDefaultsUnsafeChangeConfigRequestPBImpl();
115
void InitDefaultsUnsafeChangeConfigRequestPB();
116
void InitDefaultsUnsafeChangeConfigResponsePBImpl();
117
void InitDefaultsUnsafeChangeConfigResponsePB();
118
15.8k
inline void InitDefaults() {
119
15.8k
  InitDefaultsChangeConfigRecordPB();
120
15.8k
  InitDefaultsChangeConfigRequestPB();
121
15.8k
  InitDefaultsChangeConfigResponsePB();
122
15.8k
  InitDefaultsHistoryCutoffPB();
123
15.8k
  InitDefaultsReplicateMsg();
124
15.8k
  InitDefaultsNoOpRequestPB();
125
15.8k
  InitDefaultsNoOpResponsePB();
126
15.8k
  InitDefaultsPerOpErrorPB();
127
15.8k
  InitDefaultsConsensusStatusPB();
128
15.8k
  InitDefaultsVoteRequestPB();
129
15.8k
  InitDefaultsVoteResponsePB();
130
15.8k
  InitDefaultsConsensusRequestPB();
131
15.8k
  InitDefaultsConsensusResponsePB();
132
15.8k
  InitDefaultsMultiRaftConsensusRequestPB();
133
15.8k
  InitDefaultsMultiRaftConsensusResponsePB();
134
15.8k
  InitDefaultsOperationStatusPB();
135
15.8k
  InitDefaultsGetNodeInstanceRequestPB();
136
15.8k
  InitDefaultsGetNodeInstanceResponsePB();
137
15.8k
  InitDefaultsRunLeaderElectionRequestPB();
138
15.8k
  InitDefaultsRunLeaderElectionResponsePB();
139
15.8k
  InitDefaultsLeaderElectionLostRequestPB();
140
15.8k
  InitDefaultsLeaderElectionLostResponsePB();
141
15.8k
  InitDefaultsLeaderStepDownRequestPB();
142
15.8k
  InitDefaultsLeaderStepDownResponsePB();
143
15.8k
  InitDefaultsGetLastOpIdRequestPB();
144
15.8k
  InitDefaultsGetLastOpIdResponsePB();
145
15.8k
  InitDefaultsGetConsensusStateRequestPB();
146
15.8k
  InitDefaultsGetConsensusStateResponsePB();
147
15.8k
  InitDefaultsStartRemoteBootstrapRequestPB();
148
15.8k
  InitDefaultsStartRemoteBootstrapResponsePB();
149
15.8k
  InitDefaultsUnsafeChangeConfigRequestPB();
150
15.8k
  InitDefaultsUnsafeChangeConfigResponsePB();
151
15.8k
}
152
}  // namespace protobuf_yb_2fconsensus_2fconsensus_2eproto
153
namespace yb {
154
namespace consensus {
155
class ChangeConfigRecordPB;
156
class ChangeConfigRecordPBDefaultTypeInternal;
157
extern ChangeConfigRecordPBDefaultTypeInternal _ChangeConfigRecordPB_default_instance_;
158
class ChangeConfigRequestPB;
159
class ChangeConfigRequestPBDefaultTypeInternal;
160
extern ChangeConfigRequestPBDefaultTypeInternal _ChangeConfigRequestPB_default_instance_;
161
class ChangeConfigResponsePB;
162
class ChangeConfigResponsePBDefaultTypeInternal;
163
extern ChangeConfigResponsePBDefaultTypeInternal _ChangeConfigResponsePB_default_instance_;
164
class ConsensusRequestPB;
165
class ConsensusRequestPBDefaultTypeInternal;
166
extern ConsensusRequestPBDefaultTypeInternal _ConsensusRequestPB_default_instance_;
167
class ConsensusResponsePB;
168
class ConsensusResponsePBDefaultTypeInternal;
169
extern ConsensusResponsePBDefaultTypeInternal _ConsensusResponsePB_default_instance_;
170
class ConsensusStatusPB;
171
class ConsensusStatusPBDefaultTypeInternal;
172
extern ConsensusStatusPBDefaultTypeInternal _ConsensusStatusPB_default_instance_;
173
class GetConsensusStateRequestPB;
174
class GetConsensusStateRequestPBDefaultTypeInternal;
175
extern GetConsensusStateRequestPBDefaultTypeInternal _GetConsensusStateRequestPB_default_instance_;
176
class GetConsensusStateResponsePB;
177
class GetConsensusStateResponsePBDefaultTypeInternal;
178
extern GetConsensusStateResponsePBDefaultTypeInternal _GetConsensusStateResponsePB_default_instance_;
179
class GetLastOpIdRequestPB;
180
class GetLastOpIdRequestPBDefaultTypeInternal;
181
extern GetLastOpIdRequestPBDefaultTypeInternal _GetLastOpIdRequestPB_default_instance_;
182
class GetLastOpIdResponsePB;
183
class GetLastOpIdResponsePBDefaultTypeInternal;
184
extern GetLastOpIdResponsePBDefaultTypeInternal _GetLastOpIdResponsePB_default_instance_;
185
class GetNodeInstanceRequestPB;
186
class GetNodeInstanceRequestPBDefaultTypeInternal;
187
extern GetNodeInstanceRequestPBDefaultTypeInternal _GetNodeInstanceRequestPB_default_instance_;
188
class GetNodeInstanceResponsePB;
189
class GetNodeInstanceResponsePBDefaultTypeInternal;
190
extern GetNodeInstanceResponsePBDefaultTypeInternal _GetNodeInstanceResponsePB_default_instance_;
191
class HistoryCutoffPB;
192
class HistoryCutoffPBDefaultTypeInternal;
193
extern HistoryCutoffPBDefaultTypeInternal _HistoryCutoffPB_default_instance_;
194
class LeaderElectionLostRequestPB;
195
class LeaderElectionLostRequestPBDefaultTypeInternal;
196
extern LeaderElectionLostRequestPBDefaultTypeInternal _LeaderElectionLostRequestPB_default_instance_;
197
class LeaderElectionLostResponsePB;
198
class LeaderElectionLostResponsePBDefaultTypeInternal;
199
extern LeaderElectionLostResponsePBDefaultTypeInternal _LeaderElectionLostResponsePB_default_instance_;
200
class LeaderStepDownRequestPB;
201
class LeaderStepDownRequestPBDefaultTypeInternal;
202
extern LeaderStepDownRequestPBDefaultTypeInternal _LeaderStepDownRequestPB_default_instance_;
203
class LeaderStepDownResponsePB;
204
class LeaderStepDownResponsePBDefaultTypeInternal;
205
extern LeaderStepDownResponsePBDefaultTypeInternal _LeaderStepDownResponsePB_default_instance_;
206
class MultiRaftConsensusRequestPB;
207
class MultiRaftConsensusRequestPBDefaultTypeInternal;
208
extern MultiRaftConsensusRequestPBDefaultTypeInternal _MultiRaftConsensusRequestPB_default_instance_;
209
class MultiRaftConsensusResponsePB;
210
class MultiRaftConsensusResponsePBDefaultTypeInternal;
211
extern MultiRaftConsensusResponsePBDefaultTypeInternal _MultiRaftConsensusResponsePB_default_instance_;
212
class NoOpRequestPB;
213
class NoOpRequestPBDefaultTypeInternal;
214
extern NoOpRequestPBDefaultTypeInternal _NoOpRequestPB_default_instance_;
215
class NoOpResponsePB;
216
class NoOpResponsePBDefaultTypeInternal;
217
extern NoOpResponsePBDefaultTypeInternal _NoOpResponsePB_default_instance_;
218
class OperationStatusPB;
219
class OperationStatusPBDefaultTypeInternal;
220
extern OperationStatusPBDefaultTypeInternal _OperationStatusPB_default_instance_;
221
class PerOpErrorPB;
222
class PerOpErrorPBDefaultTypeInternal;
223
extern PerOpErrorPBDefaultTypeInternal _PerOpErrorPB_default_instance_;
224
class ReplicateMsg;
225
class ReplicateMsgDefaultTypeInternal;
226
extern ReplicateMsgDefaultTypeInternal _ReplicateMsg_default_instance_;
227
class RunLeaderElectionRequestPB;
228
class RunLeaderElectionRequestPBDefaultTypeInternal;
229
extern RunLeaderElectionRequestPBDefaultTypeInternal _RunLeaderElectionRequestPB_default_instance_;
230
class RunLeaderElectionResponsePB;
231
class RunLeaderElectionResponsePBDefaultTypeInternal;
232
extern RunLeaderElectionResponsePBDefaultTypeInternal _RunLeaderElectionResponsePB_default_instance_;
233
class StartRemoteBootstrapRequestPB;
234
class StartRemoteBootstrapRequestPBDefaultTypeInternal;
235
extern StartRemoteBootstrapRequestPBDefaultTypeInternal _StartRemoteBootstrapRequestPB_default_instance_;
236
class StartRemoteBootstrapResponsePB;
237
class StartRemoteBootstrapResponsePBDefaultTypeInternal;
238
extern StartRemoteBootstrapResponsePBDefaultTypeInternal _StartRemoteBootstrapResponsePB_default_instance_;
239
class UnsafeChangeConfigRequestPB;
240
class UnsafeChangeConfigRequestPBDefaultTypeInternal;
241
extern UnsafeChangeConfigRequestPBDefaultTypeInternal _UnsafeChangeConfigRequestPB_default_instance_;
242
class UnsafeChangeConfigResponsePB;
243
class UnsafeChangeConfigResponsePBDefaultTypeInternal;
244
extern UnsafeChangeConfigResponsePBDefaultTypeInternal _UnsafeChangeConfigResponsePB_default_instance_;
245
class VoteRequestPB;
246
class VoteRequestPBDefaultTypeInternal;
247
extern VoteRequestPBDefaultTypeInternal _VoteRequestPB_default_instance_;
248
class VoteResponsePB;
249
class VoteResponsePBDefaultTypeInternal;
250
extern VoteResponsePBDefaultTypeInternal _VoteResponsePB_default_instance_;
251
}  // namespace consensus
252
}  // namespace yb
253
namespace yb {
254
namespace consensus {
255
256
enum DriverType {
257
  UNKNOWN_DRIVER = 0,
258
  LEADER = 1,
259
  REPLICA = 2
260
};
261
bool DriverType_IsValid(int value);
262
const DriverType DriverType_MIN = UNKNOWN_DRIVER;
263
const DriverType DriverType_MAX = REPLICA;
264
const int DriverType_ARRAYSIZE = DriverType_MAX + 1;
265
266
const ::google::protobuf::EnumDescriptor* DriverType_descriptor();
267
0
inline const ::std::string& DriverType_Name(DriverType value) {
268
0
  return ::google::protobuf::internal::NameOfEnum(
269
0
    DriverType_descriptor(), value);
270
0
}
271
inline bool DriverType_Parse(
272
0
    const ::std::string& name, DriverType* value) {
273
0
  return ::google::protobuf::internal::ParseNamedEnum<DriverType>(
274
0
    DriverType_descriptor(), name, value);
275
0
}
276
// ===================================================================
277
278
class ChangeConfigRecordPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ChangeConfigRecordPB) */ {
279
 public:
280
  ChangeConfigRecordPB();
281
  virtual ~ChangeConfigRecordPB();
282
283
  ChangeConfigRecordPB(const ChangeConfigRecordPB& from);
284
285
0
  inline ChangeConfigRecordPB& operator=(const ChangeConfigRecordPB& from) {
286
0
    CopyFrom(from);
287
0
    return *this;
288
0
  }
289
  #if LANG_CXX11
290
  ChangeConfigRecordPB(ChangeConfigRecordPB&& from) noexcept
291
0
    : ChangeConfigRecordPB() {
292
0
    *this = ::std::move(from);
293
0
  }
294
295
0
  inline ChangeConfigRecordPB& operator=(ChangeConfigRecordPB&& from) noexcept {
296
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
297
0
      if (this != &from) InternalSwap(&from);
298
0
    } else {
299
0
      CopyFrom(from);
300
0
    }
301
0
    return *this;
302
0
  }
303
  #endif
304
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
305
0
    return _internal_metadata_.unknown_fields();
306
0
  }
307
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
308
0
    return _internal_metadata_.mutable_unknown_fields();
309
0
  }
310
311
  static const ::google::protobuf::Descriptor* descriptor();
312
  static const ChangeConfigRecordPB& default_instance();
313
314
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
315
1.16M
  static inline const ChangeConfigRecordPB* internal_default_instance() {
316
1.16M
    return reinterpret_cast<const ChangeConfigRecordPB*>(
317
1.16M
               &_ChangeConfigRecordPB_default_instance_);
318
1.16M
  }
319
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
320
    0;
321
322
  void Swap(ChangeConfigRecordPB* other);
323
0
  friend void swap(ChangeConfigRecordPB& a, ChangeConfigRecordPB& b) {
324
0
    a.Swap(&b);
325
0
  }
326
327
  // implements Message ----------------------------------------------
328
329
0
  inline ChangeConfigRecordPB* New() const PROTOBUF_FINAL { return New(NULL); }
330
331
  ChangeConfigRecordPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
332
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
333
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
334
  void CopyFrom(const ChangeConfigRecordPB& from);
335
  void MergeFrom(const ChangeConfigRecordPB& from);
336
  void Clear() PROTOBUF_FINAL;
337
  bool IsInitialized() const PROTOBUF_FINAL;
338
339
  size_t ByteSizeLong() const PROTOBUF_FINAL;
340
  bool MergePartialFromCodedStream(
341
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
342
  void SerializeWithCachedSizes(
343
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
344
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
345
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
346
17.4k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
347
  private:
348
  void SharedCtor();
349
  void SharedDtor();
350
  void SetCachedSize(int size) const PROTOBUF_FINAL;
351
  void InternalSwap(ChangeConfigRecordPB* other);
352
  private:
353
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
354
0
    return NULL;
355
0
  }
356
0
  inline void* MaybeArenaPtr() const {
357
0
    return NULL;
358
0
  }
359
  public:
360
361
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
362
363
  // nested types ----------------------------------------------------
364
365
  // accessors -------------------------------------------------------
366
367
  // required bytes tablet_id = 1;
368
  bool has_tablet_id() const;
369
  void clear_tablet_id();
370
  static const int kTabletIdFieldNumber = 1;
371
  const ::std::string& tablet_id() const;
372
  void set_tablet_id(const ::std::string& value);
373
  #if LANG_CXX11
374
  void set_tablet_id(::std::string&& value);
375
  #endif
376
  void set_tablet_id(const char* value);
377
  void set_tablet_id(const void* value, size_t size);
378
  ::std::string* mutable_tablet_id();
379
  ::std::string* release_tablet_id();
380
  void set_allocated_tablet_id(::std::string* tablet_id);
381
382
  // required .yb.consensus.RaftConfigPB old_config = 2;
383
  bool has_old_config() const;
384
  void clear_old_config();
385
  static const int kOldConfigFieldNumber = 2;
386
  const ::yb::consensus::RaftConfigPB& old_config() const;
387
  ::yb::consensus::RaftConfigPB* release_old_config();
388
  ::yb::consensus::RaftConfigPB* mutable_old_config();
389
  void set_allocated_old_config(::yb::consensus::RaftConfigPB* old_config);
390
391
  // required .yb.consensus.RaftConfigPB new_config = 3;
392
  bool has_new_config() const;
393
  void clear_new_config();
394
  static const int kNewConfigFieldNumber = 3;
395
  const ::yb::consensus::RaftConfigPB& new_config() const;
396
  ::yb::consensus::RaftConfigPB* release_new_config();
397
  ::yb::consensus::RaftConfigPB* mutable_new_config();
398
  void set_allocated_new_config(::yb::consensus::RaftConfigPB* new_config);
399
400
  // @@protoc_insertion_point(class_scope:yb.consensus.ChangeConfigRecordPB)
401
 private:
402
  void set_has_tablet_id();
403
  void clear_has_tablet_id();
404
  void set_has_old_config();
405
  void clear_has_old_config();
406
  void set_has_new_config();
407
  void clear_has_new_config();
408
409
  // helper for ByteSizeLong()
410
  size_t RequiredFieldsByteSizeFallback() const;
411
412
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
413
  ::google::protobuf::internal::HasBits<1> _has_bits_;
414
  mutable int _cached_size_;
415
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
416
  ::yb::consensus::RaftConfigPB* old_config_;
417
  ::yb::consensus::RaftConfigPB* new_config_;
418
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
419
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsChangeConfigRecordPBImpl();
420
};
421
// -------------------------------------------------------------------
422
423
class ChangeConfigRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ChangeConfigRequestPB) */ {
424
 public:
425
  ChangeConfigRequestPB();
426
  virtual ~ChangeConfigRequestPB();
427
428
  ChangeConfigRequestPB(const ChangeConfigRequestPB& from);
429
430
0
  inline ChangeConfigRequestPB& operator=(const ChangeConfigRequestPB& from) {
431
0
    CopyFrom(from);
432
0
    return *this;
433
0
  }
434
  #if LANG_CXX11
435
  ChangeConfigRequestPB(ChangeConfigRequestPB&& from) noexcept
436
0
    : ChangeConfigRequestPB() {
437
0
    *this = ::std::move(from);
438
0
  }
439
440
0
  inline ChangeConfigRequestPB& operator=(ChangeConfigRequestPB&& from) noexcept {
441
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
442
0
      if (this != &from) InternalSwap(&from);
443
0
    } else {
444
0
      CopyFrom(from);
445
0
    }
446
0
    return *this;
447
0
  }
448
  #endif
449
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
450
0
    return _internal_metadata_.unknown_fields();
451
0
  }
452
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
453
0
    return _internal_metadata_.mutable_unknown_fields();
454
0
  }
455
456
  static const ::google::protobuf::Descriptor* descriptor();
457
  static const ChangeConfigRequestPB& default_instance();
458
459
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
460
6.11M
  static inline const ChangeConfigRequestPB* internal_default_instance() {
461
6.11M
    return reinterpret_cast<const ChangeConfigRequestPB*>(
462
6.11M
               &_ChangeConfigRequestPB_default_instance_);
463
6.11M
  }
464
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
465
    1;
466
467
  void Swap(ChangeConfigRequestPB* other);
468
0
  friend void swap(ChangeConfigRequestPB& a, ChangeConfigRequestPB& b) {
469
0
    a.Swap(&b);
470
0
  }
471
472
  // implements Message ----------------------------------------------
473
474
0
  inline ChangeConfigRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
475
476
  ChangeConfigRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
477
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
478
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
479
  void CopyFrom(const ChangeConfigRequestPB& from);
480
  void MergeFrom(const ChangeConfigRequestPB& from);
481
  void Clear() PROTOBUF_FINAL;
482
  bool IsInitialized() const PROTOBUF_FINAL;
483
484
  size_t ByteSizeLong() const PROTOBUF_FINAL;
485
  bool MergePartialFromCodedStream(
486
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
487
  void SerializeWithCachedSizes(
488
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
489
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
490
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
491
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
492
  private:
493
  void SharedCtor();
494
  void SharedDtor();
495
  void SetCachedSize(int size) const PROTOBUF_FINAL;
496
  void InternalSwap(ChangeConfigRequestPB* other);
497
  private:
498
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
499
0
    return NULL;
500
0
  }
501
0
  inline void* MaybeArenaPtr() const {
502
0
    return NULL;
503
0
  }
504
  public:
505
506
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
507
508
  // nested types ----------------------------------------------------
509
510
  // accessors -------------------------------------------------------
511
512
  // required bytes tablet_id = 1;
513
  bool has_tablet_id() const;
514
  void clear_tablet_id();
515
  static const int kTabletIdFieldNumber = 1;
516
  const ::std::string& tablet_id() const;
517
  void set_tablet_id(const ::std::string& value);
518
  #if LANG_CXX11
519
  void set_tablet_id(::std::string&& value);
520
  #endif
521
  void set_tablet_id(const char* value);
522
  void set_tablet_id(const void* value, size_t size);
523
  ::std::string* mutable_tablet_id();
524
  ::std::string* release_tablet_id();
525
  void set_allocated_tablet_id(::std::string* tablet_id);
526
527
  // optional bytes dest_uuid = 4;
528
  bool has_dest_uuid() const;
529
  void clear_dest_uuid();
530
  static const int kDestUuidFieldNumber = 4;
531
  const ::std::string& dest_uuid() const;
532
  void set_dest_uuid(const ::std::string& value);
533
  #if LANG_CXX11
534
  void set_dest_uuid(::std::string&& value);
535
  #endif
536
  void set_dest_uuid(const char* value);
537
  void set_dest_uuid(const void* value, size_t size);
538
  ::std::string* mutable_dest_uuid();
539
  ::std::string* release_dest_uuid();
540
  void set_allocated_dest_uuid(::std::string* dest_uuid);
541
542
  // optional .yb.consensus.RaftPeerPB server = 3;
543
  bool has_server() const;
544
  void clear_server();
545
  static const int kServerFieldNumber = 3;
546
  const ::yb::consensus::RaftPeerPB& server() const;
547
  ::yb::consensus::RaftPeerPB* release_server();
548
  ::yb::consensus::RaftPeerPB* mutable_server();
549
  void set_allocated_server(::yb::consensus::RaftPeerPB* server);
550
551
  // optional .yb.consensus.ChangeConfigType type = 2;
552
  bool has_type() const;
553
  void clear_type();
554
  static const int kTypeFieldNumber = 2;
555
  ::yb::consensus::ChangeConfigType type() const;
556
  void set_type(::yb::consensus::ChangeConfigType value);
557
558
  // optional bool use_host = 6 [default = false];
559
  bool has_use_host() const;
560
  void clear_use_host();
561
  static const int kUseHostFieldNumber = 6;
562
  bool use_host() const;
563
  void set_use_host(bool value);
564
565
  // optional int64 cas_config_opid_index = 5;
566
  bool has_cas_config_opid_index() const;
567
  void clear_cas_config_opid_index();
568
  static const int kCasConfigOpidIndexFieldNumber = 5;
569
  ::google::protobuf::int64 cas_config_opid_index() const;
570
  void set_cas_config_opid_index(::google::protobuf::int64 value);
571
572
  // @@protoc_insertion_point(class_scope:yb.consensus.ChangeConfigRequestPB)
573
 private:
574
  void set_has_dest_uuid();
575
  void clear_has_dest_uuid();
576
  void set_has_tablet_id();
577
  void clear_has_tablet_id();
578
  void set_has_type();
579
  void clear_has_type();
580
  void set_has_server();
581
  void clear_has_server();
582
  void set_has_cas_config_opid_index();
583
  void clear_has_cas_config_opid_index();
584
  void set_has_use_host();
585
  void clear_has_use_host();
586
587
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
588
  ::google::protobuf::internal::HasBits<1> _has_bits_;
589
  mutable int _cached_size_;
590
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
591
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
592
  ::yb::consensus::RaftPeerPB* server_;
593
  int type_;
594
  bool use_host_;
595
  ::google::protobuf::int64 cas_config_opid_index_;
596
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
597
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsChangeConfigRequestPBImpl();
598
};
599
// -------------------------------------------------------------------
600
601
class ChangeConfigResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ChangeConfigResponsePB) */ {
602
 public:
603
  ChangeConfigResponsePB();
604
  virtual ~ChangeConfigResponsePB();
605
606
  ChangeConfigResponsePB(const ChangeConfigResponsePB& from);
607
608
0
  inline ChangeConfigResponsePB& operator=(const ChangeConfigResponsePB& from) {
609
0
    CopyFrom(from);
610
0
    return *this;
611
0
  }
612
  #if LANG_CXX11
613
  ChangeConfigResponsePB(ChangeConfigResponsePB&& from) noexcept
614
0
    : ChangeConfigResponsePB() {
615
0
    *this = ::std::move(from);
616
0
  }
Unexecuted instantiation: _ZN2yb9consensus22ChangeConfigResponsePBC2EOS1_
Unexecuted instantiation: _ZN2yb9consensus22ChangeConfigResponsePBC1EOS1_
617
618
0
  inline ChangeConfigResponsePB& operator=(ChangeConfigResponsePB&& from) noexcept {
619
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
620
0
      if (this != &from) InternalSwap(&from);
621
0
    } else {
622
0
      CopyFrom(from);
623
0
    }
624
0
    return *this;
625
0
  }
626
  #endif
627
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
628
0
    return _internal_metadata_.unknown_fields();
629
0
  }
630
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
631
0
    return _internal_metadata_.mutable_unknown_fields();
632
0
  }
633
634
  static const ::google::protobuf::Descriptor* descriptor();
635
  static const ChangeConfigResponsePB& default_instance();
636
637
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
638
6.11M
  static inline const ChangeConfigResponsePB* internal_default_instance() {
639
6.11M
    return reinterpret_cast<const ChangeConfigResponsePB*>(
640
6.11M
               &_ChangeConfigResponsePB_default_instance_);
641
6.11M
  }
642
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
643
    2;
644
645
  void Swap(ChangeConfigResponsePB* other);
646
0
  friend void swap(ChangeConfigResponsePB& a, ChangeConfigResponsePB& b) {
647
0
    a.Swap(&b);
648
0
  }
649
650
  // implements Message ----------------------------------------------
651
652
0
  inline ChangeConfigResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
653
654
  ChangeConfigResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
655
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
656
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
657
  void CopyFrom(const ChangeConfigResponsePB& from);
658
  void MergeFrom(const ChangeConfigResponsePB& from);
659
  void Clear() PROTOBUF_FINAL;
660
  bool IsInitialized() const PROTOBUF_FINAL;
661
662
  size_t ByteSizeLong() const PROTOBUF_FINAL;
663
  bool MergePartialFromCodedStream(
664
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
665
  void SerializeWithCachedSizes(
666
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
667
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
668
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
669
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
670
  private:
671
  void SharedCtor();
672
  void SharedDtor();
673
  void SetCachedSize(int size) const PROTOBUF_FINAL;
674
  void InternalSwap(ChangeConfigResponsePB* other);
675
  private:
676
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
677
0
    return NULL;
678
0
  }
679
0
  inline void* MaybeArenaPtr() const {
680
0
    return NULL;
681
0
  }
682
  public:
683
684
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
685
686
  // nested types ----------------------------------------------------
687
688
  // accessors -------------------------------------------------------
689
690
  // optional .yb.tserver.TabletServerErrorPB error = 1;
691
  bool has_error() const;
692
  void clear_error();
693
  static const int kErrorFieldNumber = 1;
694
  const ::yb::tserver::TabletServerErrorPB& error() const;
695
  ::yb::tserver::TabletServerErrorPB* release_error();
696
  ::yb::tserver::TabletServerErrorPB* mutable_error();
697
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
698
699
  // optional fixed64 hybrid_time = 2;
700
  bool has_hybrid_time() const;
701
  void clear_hybrid_time();
702
  static const int kHybridTimeFieldNumber = 2;
703
  ::google::protobuf::uint64 hybrid_time() const;
704
  void set_hybrid_time(::google::protobuf::uint64 value);
705
706
  // @@protoc_insertion_point(class_scope:yb.consensus.ChangeConfigResponsePB)
707
 private:
708
  void set_has_error();
709
  void clear_has_error();
710
  void set_has_hybrid_time();
711
  void clear_has_hybrid_time();
712
713
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
714
  ::google::protobuf::internal::HasBits<1> _has_bits_;
715
  mutable int _cached_size_;
716
  ::yb::tserver::TabletServerErrorPB* error_;
717
  ::google::protobuf::uint64 hybrid_time_;
718
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
719
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsChangeConfigResponsePBImpl();
720
};
721
// -------------------------------------------------------------------
722
723
class HistoryCutoffPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.HistoryCutoffPB) */ {
724
 public:
725
  HistoryCutoffPB();
726
  virtual ~HistoryCutoffPB();
727
728
  HistoryCutoffPB(const HistoryCutoffPB& from);
729
730
0
  inline HistoryCutoffPB& operator=(const HistoryCutoffPB& from) {
731
0
    CopyFrom(from);
732
0
    return *this;
733
0
  }
734
  #if LANG_CXX11
735
  HistoryCutoffPB(HistoryCutoffPB&& from) noexcept
736
0
    : HistoryCutoffPB() {
737
0
    *this = ::std::move(from);
738
0
  }
739
740
0
  inline HistoryCutoffPB& operator=(HistoryCutoffPB&& from) noexcept {
741
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
742
0
      if (this != &from) InternalSwap(&from);
743
0
    } else {
744
0
      CopyFrom(from);
745
0
    }
746
0
    return *this;
747
0
  }
748
  #endif
749
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
750
0
    return _internal_metadata_.unknown_fields();
751
0
  }
752
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
753
0
    return _internal_metadata_.mutable_unknown_fields();
754
0
  }
755
756
  static const ::google::protobuf::Descriptor* descriptor();
757
  static const HistoryCutoffPB& default_instance();
758
759
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
760
31.6k
  static inline const HistoryCutoffPB* internal_default_instance() {
761
31.6k
    return reinterpret_cast<const HistoryCutoffPB*>(
762
31.6k
               &_HistoryCutoffPB_default_instance_);
763
31.6k
  }
764
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
765
    3;
766
767
  void Swap(HistoryCutoffPB* other);
768
0
  friend void swap(HistoryCutoffPB& a, HistoryCutoffPB& b) {
769
0
    a.Swap(&b);
770
0
  }
771
772
  // implements Message ----------------------------------------------
773
774
0
  inline HistoryCutoffPB* New() const PROTOBUF_FINAL { return New(NULL); }
775
776
  HistoryCutoffPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
777
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
778
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
779
  void CopyFrom(const HistoryCutoffPB& from);
780
  void MergeFrom(const HistoryCutoffPB& from);
781
  void Clear() PROTOBUF_FINAL;
782
  bool IsInitialized() const PROTOBUF_FINAL;
783
784
  size_t ByteSizeLong() const PROTOBUF_FINAL;
785
  bool MergePartialFromCodedStream(
786
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
787
  void SerializeWithCachedSizes(
788
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
789
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
790
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
791
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
792
  private:
793
  void SharedCtor();
794
  void SharedDtor();
795
  void SetCachedSize(int size) const PROTOBUF_FINAL;
796
  void InternalSwap(HistoryCutoffPB* other);
797
  private:
798
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
799
0
    return NULL;
800
0
  }
801
0
  inline void* MaybeArenaPtr() const {
802
0
    return NULL;
803
0
  }
804
  public:
805
806
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
807
808
  // nested types ----------------------------------------------------
809
810
  // accessors -------------------------------------------------------
811
812
  // optional fixed64 history_cutoff = 1;
813
  bool has_history_cutoff() const;
814
  void clear_history_cutoff();
815
  static const int kHistoryCutoffFieldNumber = 1;
816
  ::google::protobuf::uint64 history_cutoff() const;
817
  void set_history_cutoff(::google::protobuf::uint64 value);
818
819
  // @@protoc_insertion_point(class_scope:yb.consensus.HistoryCutoffPB)
820
 private:
821
  void set_has_history_cutoff();
822
  void clear_has_history_cutoff();
823
824
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
825
  ::google::protobuf::internal::HasBits<1> _has_bits_;
826
  mutable int _cached_size_;
827
  ::google::protobuf::uint64 history_cutoff_;
828
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
829
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsHistoryCutoffPBImpl();
830
};
831
// -------------------------------------------------------------------
832
833
class ReplicateMsg : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ReplicateMsg) */ {
834
 public:
835
  ReplicateMsg();
836
  virtual ~ReplicateMsg();
837
838
  ReplicateMsg(const ReplicateMsg& from);
839
840
0
  inline ReplicateMsg& operator=(const ReplicateMsg& from) {
841
0
    CopyFrom(from);
842
0
    return *this;
843
0
  }
844
  #if LANG_CXX11
845
  ReplicateMsg(ReplicateMsg&& from) noexcept
846
0
    : ReplicateMsg() {
847
0
    *this = ::std::move(from);
848
0
  }
849
850
0
  inline ReplicateMsg& operator=(ReplicateMsg&& from) noexcept {
851
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
852
0
      if (this != &from) InternalSwap(&from);
853
0
    } else {
854
0
      CopyFrom(from);
855
0
    }
856
0
    return *this;
857
0
  }
858
  #endif
859
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
860
0
    return _internal_metadata_.unknown_fields();
861
0
  }
862
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
863
0
    return _internal_metadata_.mutable_unknown_fields();
864
0
  }
865
866
  static const ::google::protobuf::Descriptor* descriptor();
867
  static const ReplicateMsg& default_instance();
868
869
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
870
122M
  static inline const ReplicateMsg* internal_default_instance() {
871
122M
    return reinterpret_cast<const ReplicateMsg*>(
872
122M
               &_ReplicateMsg_default_instance_);
873
122M
  }
874
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
875
    4;
876
877
  void Swap(ReplicateMsg* other);
878
0
  friend void swap(ReplicateMsg& a, ReplicateMsg& b) {
879
0
    a.Swap(&b);
880
0
  }
881
882
  // implements Message ----------------------------------------------
883
884
0
  inline ReplicateMsg* New() const PROTOBUF_FINAL { return New(NULL); }
885
886
  ReplicateMsg* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
887
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
888
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
889
  void CopyFrom(const ReplicateMsg& from);
890
  void MergeFrom(const ReplicateMsg& from);
891
  void Clear() PROTOBUF_FINAL;
892
  bool IsInitialized() const PROTOBUF_FINAL;
893
894
  size_t ByteSizeLong() const PROTOBUF_FINAL;
895
  bool MergePartialFromCodedStream(
896
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
897
  void SerializeWithCachedSizes(
898
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
899
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
900
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
901
13.8M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
902
  private:
903
  void SharedCtor();
904
  void SharedDtor();
905
  void SetCachedSize(int size) const PROTOBUF_FINAL;
906
  void InternalSwap(ReplicateMsg* other);
907
  private:
908
1.78M
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
909
1.78M
    return NULL;
910
1.78M
  }
911
0
  inline void* MaybeArenaPtr() const {
912
0
    return NULL;
913
0
  }
914
  public:
915
916
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
917
918
  // nested types ----------------------------------------------------
919
920
  // accessors -------------------------------------------------------
921
922
  // required .yb.OpIdPB id = 1;
923
  bool has_id() const;
924
  void clear_id();
925
  static const int kIdFieldNumber = 1;
926
  const ::yb::OpIdPB& id() const;
927
  ::yb::OpIdPB* release_id();
928
  ::yb::OpIdPB* mutable_id();
929
  void set_allocated_id(::yb::OpIdPB* id);
930
931
  // optional .yb.tablet.WritePB write = 5;
932
  bool has_write() const;
933
  void clear_write();
934
  static const int kWriteFieldNumber = 5;
935
  const ::yb::tablet::WritePB& write() const;
936
  ::yb::tablet::WritePB* release_write();
937
  ::yb::tablet::WritePB* mutable_write();
938
  void set_allocated_write(::yb::tablet::WritePB* write);
939
940
  // optional .yb.tablet.ChangeMetadataRequestPB change_metadata_request = 6;
941
  bool has_change_metadata_request() const;
942
  void clear_change_metadata_request();
943
  static const int kChangeMetadataRequestFieldNumber = 6;
944
  const ::yb::tablet::ChangeMetadataRequestPB& change_metadata_request() const;
945
  ::yb::tablet::ChangeMetadataRequestPB* release_change_metadata_request();
946
  ::yb::tablet::ChangeMetadataRequestPB* mutable_change_metadata_request();
947
  void set_allocated_change_metadata_request(::yb::tablet::ChangeMetadataRequestPB* change_metadata_request);
948
949
  // optional .yb.consensus.ChangeConfigRecordPB change_config_record = 7;
950
  bool has_change_config_record() const;
951
  void clear_change_config_record();
952
  static const int kChangeConfigRecordFieldNumber = 7;
953
  const ::yb::consensus::ChangeConfigRecordPB& change_config_record() const;
954
  ::yb::consensus::ChangeConfigRecordPB* release_change_config_record();
955
  ::yb::consensus::ChangeConfigRecordPB* mutable_change_config_record();
956
  void set_allocated_change_config_record(::yb::consensus::ChangeConfigRecordPB* change_config_record);
957
958
  // optional .yb.OpIdPB committed_op_id = 8;
959
  bool has_committed_op_id() const;
960
  void clear_committed_op_id();
961
  static const int kCommittedOpIdFieldNumber = 8;
962
  const ::yb::OpIdPB& committed_op_id() const;
963
  ::yb::OpIdPB* release_committed_op_id();
964
  ::yb::OpIdPB* mutable_committed_op_id();
965
  void set_allocated_committed_op_id(::yb::OpIdPB* committed_op_id);
966
967
  // optional .yb.tablet.TransactionStatePB transaction_state = 10;
968
  bool has_transaction_state() const;
969
  void clear_transaction_state();
970
  static const int kTransactionStateFieldNumber = 10;
971
  const ::yb::tablet::TransactionStatePB& transaction_state() const;
972
  ::yb::tablet::TransactionStatePB* release_transaction_state();
973
  ::yb::tablet::TransactionStatePB* mutable_transaction_state();
974
  void set_allocated_transaction_state(::yb::tablet::TransactionStatePB* transaction_state);
975
976
  // optional .yb.tserver.TabletSnapshotOpRequestPB snapshot_request = 11;
977
  bool has_snapshot_request() const;
978
  void clear_snapshot_request();
979
  static const int kSnapshotRequestFieldNumber = 11;
980
  const ::yb::tserver::TabletSnapshotOpRequestPB& snapshot_request() const;
981
  ::yb::tserver::TabletSnapshotOpRequestPB* release_snapshot_request();
982
  ::yb::tserver::TabletSnapshotOpRequestPB* mutable_snapshot_request();
983
  void set_allocated_snapshot_request(::yb::tserver::TabletSnapshotOpRequestPB* snapshot_request);
984
985
  // optional .yb.tablet.TruncatePB truncate = 12;
986
  bool has_truncate() const;
987
  void clear_truncate();
988
  static const int kTruncateFieldNumber = 12;
989
  const ::yb::tablet::TruncatePB& truncate() const;
990
  ::yb::tablet::TruncatePB* release_truncate();
991
  ::yb::tablet::TruncatePB* mutable_truncate();
992
  void set_allocated_truncate(::yb::tablet::TruncatePB* truncate);
993
994
  // optional .yb.consensus.HistoryCutoffPB history_cutoff = 13;
995
  bool has_history_cutoff() const;
996
  void clear_history_cutoff();
997
  static const int kHistoryCutoffFieldNumber = 13;
998
  const ::yb::consensus::HistoryCutoffPB& history_cutoff() const;
999
  ::yb::consensus::HistoryCutoffPB* release_history_cutoff();
1000
  ::yb::consensus::HistoryCutoffPB* mutable_history_cutoff();
1001
  void set_allocated_history_cutoff(::yb::consensus::HistoryCutoffPB* history_cutoff);
1002
1003
  // optional .yb.tablet.SplitTabletRequestPB split_request = 14;
1004
  bool has_split_request() const;
1005
  void clear_split_request();
1006
  static const int kSplitRequestFieldNumber = 14;
1007
  const ::yb::tablet::SplitTabletRequestPB& split_request() const;
1008
  ::yb::tablet::SplitTabletRequestPB* release_split_request();
1009
  ::yb::tablet::SplitTabletRequestPB* mutable_split_request();
1010
  void set_allocated_split_request(::yb::tablet::SplitTabletRequestPB* split_request);
1011
1012
  // optional .yb.consensus.NoOpRequestPB noop_request = 999;
1013
  bool has_noop_request() const;
1014
  void clear_noop_request();
1015
  static const int kNoopRequestFieldNumber = 999;
1016
  const ::yb::consensus::NoOpRequestPB& noop_request() const;
1017
  ::yb::consensus::NoOpRequestPB* release_noop_request();
1018
  ::yb::consensus::NoOpRequestPB* mutable_noop_request();
1019
  void set_allocated_noop_request(::yb::consensus::NoOpRequestPB* noop_request);
1020
1021
  // required fixed64 hybrid_time = 2;
1022
  bool has_hybrid_time() const;
1023
  void clear_hybrid_time();
1024
  static const int kHybridTimeFieldNumber = 2;
1025
  ::google::protobuf::uint64 hybrid_time() const;
1026
  void set_hybrid_time(::google::protobuf::uint64 value);
1027
1028
  // optional int64 monotonic_counter = 9;
1029
  bool has_monotonic_counter() const;
1030
  void clear_monotonic_counter();
1031
  static const int kMonotonicCounterFieldNumber = 9;
1032
  ::google::protobuf::int64 monotonic_counter() const;
1033
  void set_monotonic_counter(::google::protobuf::int64 value);
1034
1035
  // required .yb.consensus.OperationType op_type = 4;
1036
  bool has_op_type() const;
1037
  void clear_op_type();
1038
  static const int kOpTypeFieldNumber = 4;
1039
  ::yb::consensus::OperationType op_type() const;
1040
  void set_op_type(::yb::consensus::OperationType value);
1041
1042
  // @@protoc_insertion_point(class_scope:yb.consensus.ReplicateMsg)
1043
 private:
1044
  void set_has_id();
1045
  void clear_has_id();
1046
  void set_has_hybrid_time();
1047
  void clear_has_hybrid_time();
1048
  void set_has_monotonic_counter();
1049
  void clear_has_monotonic_counter();
1050
  void set_has_op_type();
1051
  void clear_has_op_type();
1052
  void set_has_write();
1053
  void clear_has_write();
1054
  void set_has_change_metadata_request();
1055
  void clear_has_change_metadata_request();
1056
  void set_has_transaction_state();
1057
  void clear_has_transaction_state();
1058
  void set_has_snapshot_request();
1059
  void clear_has_snapshot_request();
1060
  void set_has_truncate();
1061
  void clear_has_truncate();
1062
  void set_has_split_request();
1063
  void clear_has_split_request();
1064
  void set_has_change_config_record();
1065
  void clear_has_change_config_record();
1066
  void set_has_history_cutoff();
1067
  void clear_has_history_cutoff();
1068
  void set_has_committed_op_id();
1069
  void clear_has_committed_op_id();
1070
  void set_has_noop_request();
1071
  void clear_has_noop_request();
1072
1073
  // helper for ByteSizeLong()
1074
  size_t RequiredFieldsByteSizeFallback() const;
1075
1076
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1077
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1078
  mutable int _cached_size_;
1079
  ::yb::OpIdPB* id_;
1080
  ::yb::tablet::WritePB* write_;
1081
  ::yb::tablet::ChangeMetadataRequestPB* change_metadata_request_;
1082
  ::yb::consensus::ChangeConfigRecordPB* change_config_record_;
1083
  ::yb::OpIdPB* committed_op_id_;
1084
  ::yb::tablet::TransactionStatePB* transaction_state_;
1085
  ::yb::tserver::TabletSnapshotOpRequestPB* snapshot_request_;
1086
  ::yb::tablet::TruncatePB* truncate_;
1087
  ::yb::consensus::HistoryCutoffPB* history_cutoff_;
1088
  ::yb::tablet::SplitTabletRequestPB* split_request_;
1089
  ::yb::consensus::NoOpRequestPB* noop_request_;
1090
  ::google::protobuf::uint64 hybrid_time_;
1091
  ::google::protobuf::int64 monotonic_counter_;
1092
  int op_type_;
1093
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
1094
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsReplicateMsgImpl();
1095
};
1096
// -------------------------------------------------------------------
1097
1098
class NoOpRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.NoOpRequestPB) */ {
1099
 public:
1100
  NoOpRequestPB();
1101
  virtual ~NoOpRequestPB();
1102
1103
  NoOpRequestPB(const NoOpRequestPB& from);
1104
1105
0
  inline NoOpRequestPB& operator=(const NoOpRequestPB& from) {
1106
0
    CopyFrom(from);
1107
0
    return *this;
1108
0
  }
1109
  #if LANG_CXX11
1110
  NoOpRequestPB(NoOpRequestPB&& from) noexcept
1111
0
    : NoOpRequestPB() {
1112
0
    *this = ::std::move(from);
1113
0
  }
1114
1115
0
  inline NoOpRequestPB& operator=(NoOpRequestPB&& from) noexcept {
1116
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1117
0
      if (this != &from) InternalSwap(&from);
1118
0
    } else {
1119
0
      CopyFrom(from);
1120
0
    }
1121
0
    return *this;
1122
0
  }
1123
  #endif
1124
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1125
0
    return _internal_metadata_.unknown_fields();
1126
0
  }
1127
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1128
0
    return _internal_metadata_.mutable_unknown_fields();
1129
0
  }
1130
1131
  static const ::google::protobuf::Descriptor* descriptor();
1132
  static const NoOpRequestPB& default_instance();
1133
1134
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1135
142k
  static inline const NoOpRequestPB* internal_default_instance() {
1136
142k
    return reinterpret_cast<const NoOpRequestPB*>(
1137
142k
               &_NoOpRequestPB_default_instance_);
1138
142k
  }
1139
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1140
    5;
1141
1142
  void Swap(NoOpRequestPB* other);
1143
0
  friend void swap(NoOpRequestPB& a, NoOpRequestPB& b) {
1144
0
    a.Swap(&b);
1145
0
  }
1146
1147
  // implements Message ----------------------------------------------
1148
1149
0
  inline NoOpRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1150
1151
  NoOpRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1152
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1153
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1154
  void CopyFrom(const NoOpRequestPB& from);
1155
  void MergeFrom(const NoOpRequestPB& from);
1156
  void Clear() PROTOBUF_FINAL;
1157
  bool IsInitialized() const PROTOBUF_FINAL;
1158
1159
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1160
  bool MergePartialFromCodedStream(
1161
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1162
  void SerializeWithCachedSizes(
1163
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1164
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1165
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1166
171k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1167
  private:
1168
  void SharedCtor();
1169
  void SharedDtor();
1170
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1171
  void InternalSwap(NoOpRequestPB* other);
1172
  private:
1173
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1174
0
    return NULL;
1175
0
  }
1176
0
  inline void* MaybeArenaPtr() const {
1177
0
    return NULL;
1178
0
  }
1179
  public:
1180
1181
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1182
1183
  // nested types ----------------------------------------------------
1184
1185
  // accessors -------------------------------------------------------
1186
1187
  // optional bytes payload_for_tests = 1;
1188
  bool has_payload_for_tests() const;
1189
  void clear_payload_for_tests();
1190
  static const int kPayloadForTestsFieldNumber = 1;
1191
  const ::std::string& payload_for_tests() const;
1192
  void set_payload_for_tests(const ::std::string& value);
1193
  #if LANG_CXX11
1194
  void set_payload_for_tests(::std::string&& value);
1195
  #endif
1196
  void set_payload_for_tests(const char* value);
1197
  void set_payload_for_tests(const void* value, size_t size);
1198
  ::std::string* mutable_payload_for_tests();
1199
  ::std::string* release_payload_for_tests();
1200
  void set_allocated_payload_for_tests(::std::string* payload_for_tests);
1201
1202
  // @@protoc_insertion_point(class_scope:yb.consensus.NoOpRequestPB)
1203
 private:
1204
  void set_has_payload_for_tests();
1205
  void clear_has_payload_for_tests();
1206
1207
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1208
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1209
  mutable int _cached_size_;
1210
  ::google::protobuf::internal::ArenaStringPtr payload_for_tests_;
1211
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
1212
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsNoOpRequestPBImpl();
1213
};
1214
// -------------------------------------------------------------------
1215
1216
class NoOpResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.NoOpResponsePB) */ {
1217
 public:
1218
  NoOpResponsePB();
1219
  virtual ~NoOpResponsePB();
1220
1221
  NoOpResponsePB(const NoOpResponsePB& from);
1222
1223
0
  inline NoOpResponsePB& operator=(const NoOpResponsePB& from) {
1224
0
    CopyFrom(from);
1225
0
    return *this;
1226
0
  }
1227
  #if LANG_CXX11
1228
  NoOpResponsePB(NoOpResponsePB&& from) noexcept
1229
0
    : NoOpResponsePB() {
1230
0
    *this = ::std::move(from);
1231
0
  }
1232
1233
0
  inline NoOpResponsePB& operator=(NoOpResponsePB&& from) noexcept {
1234
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1235
0
      if (this != &from) InternalSwap(&from);
1236
0
    } else {
1237
0
      CopyFrom(from);
1238
0
    }
1239
0
    return *this;
1240
0
  }
1241
  #endif
1242
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1243
0
    return _internal_metadata_.unknown_fields();
1244
0
  }
1245
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1246
0
    return _internal_metadata_.mutable_unknown_fields();
1247
0
  }
1248
1249
  static const ::google::protobuf::Descriptor* descriptor();
1250
  static const NoOpResponsePB& default_instance();
1251
1252
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1253
15.8k
  static inline const NoOpResponsePB* internal_default_instance() {
1254
15.8k
    return reinterpret_cast<const NoOpResponsePB*>(
1255
15.8k
               &_NoOpResponsePB_default_instance_);
1256
15.8k
  }
1257
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1258
    6;
1259
1260
  void Swap(NoOpResponsePB* other);
1261
0
  friend void swap(NoOpResponsePB& a, NoOpResponsePB& b) {
1262
0
    a.Swap(&b);
1263
0
  }
1264
1265
  // implements Message ----------------------------------------------
1266
1267
0
  inline NoOpResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1268
1269
  NoOpResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1270
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1271
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1272
  void CopyFrom(const NoOpResponsePB& from);
1273
  void MergeFrom(const NoOpResponsePB& from);
1274
  void Clear() PROTOBUF_FINAL;
1275
  bool IsInitialized() const PROTOBUF_FINAL;
1276
1277
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1278
  bool MergePartialFromCodedStream(
1279
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1280
  void SerializeWithCachedSizes(
1281
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1282
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1283
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1284
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1285
  private:
1286
  void SharedCtor();
1287
  void SharedDtor();
1288
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1289
  void InternalSwap(NoOpResponsePB* other);
1290
  private:
1291
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1292
0
    return NULL;
1293
0
  }
1294
0
  inline void* MaybeArenaPtr() const {
1295
0
    return NULL;
1296
0
  }
1297
  public:
1298
1299
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1300
1301
  // nested types ----------------------------------------------------
1302
1303
  // accessors -------------------------------------------------------
1304
1305
  // optional bytes payload_for_tests = 1;
1306
  bool has_payload_for_tests() const;
1307
  void clear_payload_for_tests();
1308
  static const int kPayloadForTestsFieldNumber = 1;
1309
  const ::std::string& payload_for_tests() const;
1310
  void set_payload_for_tests(const ::std::string& value);
1311
  #if LANG_CXX11
1312
  void set_payload_for_tests(::std::string&& value);
1313
  #endif
1314
  void set_payload_for_tests(const char* value);
1315
  void set_payload_for_tests(const void* value, size_t size);
1316
  ::std::string* mutable_payload_for_tests();
1317
  ::std::string* release_payload_for_tests();
1318
  void set_allocated_payload_for_tests(::std::string* payload_for_tests);
1319
1320
  // @@protoc_insertion_point(class_scope:yb.consensus.NoOpResponsePB)
1321
 private:
1322
  void set_has_payload_for_tests();
1323
  void clear_has_payload_for_tests();
1324
1325
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1326
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1327
  mutable int _cached_size_;
1328
  ::google::protobuf::internal::ArenaStringPtr payload_for_tests_;
1329
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
1330
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsNoOpResponsePBImpl();
1331
};
1332
// -------------------------------------------------------------------
1333
1334
class PerOpErrorPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.PerOpErrorPB) */ {
1335
 public:
1336
  PerOpErrorPB();
1337
  virtual ~PerOpErrorPB();
1338
1339
  PerOpErrorPB(const PerOpErrorPB& from);
1340
1341
0
  inline PerOpErrorPB& operator=(const PerOpErrorPB& from) {
1342
0
    CopyFrom(from);
1343
0
    return *this;
1344
0
  }
1345
  #if LANG_CXX11
1346
  PerOpErrorPB(PerOpErrorPB&& from) noexcept
1347
0
    : PerOpErrorPB() {
1348
0
    *this = ::std::move(from);
1349
0
  }
1350
1351
0
  inline PerOpErrorPB& operator=(PerOpErrorPB&& from) noexcept {
1352
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1353
0
      if (this != &from) InternalSwap(&from);
1354
0
    } else {
1355
0
      CopyFrom(from);
1356
0
    }
1357
0
    return *this;
1358
0
  }
1359
  #endif
1360
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1361
0
    return _internal_metadata_.unknown_fields();
1362
0
  }
1363
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1364
0
    return _internal_metadata_.mutable_unknown_fields();
1365
0
  }
1366
1367
  static const ::google::protobuf::Descriptor* descriptor();
1368
  static const PerOpErrorPB& default_instance();
1369
1370
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1371
15.8k
  static inline const PerOpErrorPB* internal_default_instance() {
1372
15.8k
    return reinterpret_cast<const PerOpErrorPB*>(
1373
15.8k
               &_PerOpErrorPB_default_instance_);
1374
15.8k
  }
1375
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1376
    7;
1377
1378
  void Swap(PerOpErrorPB* other);
1379
0
  friend void swap(PerOpErrorPB& a, PerOpErrorPB& b) {
1380
0
    a.Swap(&b);
1381
0
  }
1382
1383
  // implements Message ----------------------------------------------
1384
1385
0
  inline PerOpErrorPB* New() const PROTOBUF_FINAL { return New(NULL); }
1386
1387
  PerOpErrorPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1388
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1389
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1390
  void CopyFrom(const PerOpErrorPB& from);
1391
  void MergeFrom(const PerOpErrorPB& from);
1392
  void Clear() PROTOBUF_FINAL;
1393
  bool IsInitialized() const PROTOBUF_FINAL;
1394
1395
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1396
  bool MergePartialFromCodedStream(
1397
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1398
  void SerializeWithCachedSizes(
1399
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1400
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1401
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1402
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1403
  private:
1404
  void SharedCtor();
1405
  void SharedDtor();
1406
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1407
  void InternalSwap(PerOpErrorPB* other);
1408
  private:
1409
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1410
0
    return NULL;
1411
0
  }
1412
0
  inline void* MaybeArenaPtr() const {
1413
0
    return NULL;
1414
0
  }
1415
  public:
1416
1417
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1418
1419
  // nested types ----------------------------------------------------
1420
1421
  // accessors -------------------------------------------------------
1422
1423
  // required .yb.OpIdPB id = 1;
1424
  bool has_id() const;
1425
  void clear_id();
1426
  static const int kIdFieldNumber = 1;
1427
  const ::yb::OpIdPB& id() const;
1428
  ::yb::OpIdPB* release_id();
1429
  ::yb::OpIdPB* mutable_id();
1430
  void set_allocated_id(::yb::OpIdPB* id);
1431
1432
  // required .yb.AppStatusPB status = 2;
1433
  bool has_status() const;
1434
  void clear_status();
1435
  static const int kStatusFieldNumber = 2;
1436
  const ::yb::AppStatusPB& status() const;
1437
  ::yb::AppStatusPB* release_status();
1438
  ::yb::AppStatusPB* mutable_status();
1439
  void set_allocated_status(::yb::AppStatusPB* status);
1440
1441
  // @@protoc_insertion_point(class_scope:yb.consensus.PerOpErrorPB)
1442
 private:
1443
  void set_has_id();
1444
  void clear_has_id();
1445
  void set_has_status();
1446
  void clear_has_status();
1447
1448
  // helper for ByteSizeLong()
1449
  size_t RequiredFieldsByteSizeFallback() const;
1450
1451
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1452
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1453
  mutable int _cached_size_;
1454
  ::yb::OpIdPB* id_;
1455
  ::yb::AppStatusPB* status_;
1456
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
1457
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsPerOpErrorPBImpl();
1458
};
1459
// -------------------------------------------------------------------
1460
1461
class ConsensusStatusPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ConsensusStatusPB) */ {
1462
 public:
1463
  ConsensusStatusPB();
1464
  virtual ~ConsensusStatusPB();
1465
1466
  ConsensusStatusPB(const ConsensusStatusPB& from);
1467
1468
0
  inline ConsensusStatusPB& operator=(const ConsensusStatusPB& from) {
1469
0
    CopyFrom(from);
1470
0
    return *this;
1471
0
  }
1472
  #if LANG_CXX11
1473
  ConsensusStatusPB(ConsensusStatusPB&& from) noexcept
1474
0
    : ConsensusStatusPB() {
1475
0
    *this = ::std::move(from);
1476
0
  }
1477
1478
0
  inline ConsensusStatusPB& operator=(ConsensusStatusPB&& from) noexcept {
1479
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1480
0
      if (this != &from) InternalSwap(&from);
1481
0
    } else {
1482
0
      CopyFrom(from);
1483
0
    }
1484
0
    return *this;
1485
0
  }
1486
  #endif
1487
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1488
0
    return _internal_metadata_.unknown_fields();
1489
0
  }
1490
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1491
0
    return _internal_metadata_.mutable_unknown_fields();
1492
0
  }
1493
1494
  static const ::google::protobuf::Descriptor* descriptor();
1495
  static const ConsensusStatusPB& default_instance();
1496
1497
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1498
119M
  static inline const ConsensusStatusPB* internal_default_instance() {
1499
119M
    return reinterpret_cast<const ConsensusStatusPB*>(
1500
119M
               &_ConsensusStatusPB_default_instance_);
1501
119M
  }
1502
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1503
    8;
1504
1505
  void Swap(ConsensusStatusPB* other);
1506
0
  friend void swap(ConsensusStatusPB& a, ConsensusStatusPB& b) {
1507
0
    a.Swap(&b);
1508
0
  }
1509
1510
  // implements Message ----------------------------------------------
1511
1512
0
  inline ConsensusStatusPB* New() const PROTOBUF_FINAL { return New(NULL); }
1513
1514
  ConsensusStatusPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1515
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1516
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1517
  void CopyFrom(const ConsensusStatusPB& from);
1518
  void MergeFrom(const ConsensusStatusPB& from);
1519
  void Clear() PROTOBUF_FINAL;
1520
  bool IsInitialized() const PROTOBUF_FINAL;
1521
1522
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1523
  bool MergePartialFromCodedStream(
1524
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1525
  void SerializeWithCachedSizes(
1526
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1527
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1528
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1529
10.4M
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1530
  private:
1531
  void SharedCtor();
1532
  void SharedDtor();
1533
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1534
  void InternalSwap(ConsensusStatusPB* other);
1535
  private:
1536
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1537
0
    return NULL;
1538
0
  }
1539
0
  inline void* MaybeArenaPtr() const {
1540
0
    return NULL;
1541
0
  }
1542
  public:
1543
1544
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1545
1546
  // nested types ----------------------------------------------------
1547
1548
  // accessors -------------------------------------------------------
1549
1550
  // required .yb.OpIdPB last_received = 1;
1551
  bool has_last_received() const;
1552
  void clear_last_received();
1553
  static const int kLastReceivedFieldNumber = 1;
1554
  const ::yb::OpIdPB& last_received() const;
1555
  ::yb::OpIdPB* release_last_received();
1556
  ::yb::OpIdPB* mutable_last_received();
1557
  void set_allocated_last_received(::yb::OpIdPB* last_received);
1558
1559
  // optional .yb.consensus.ConsensusErrorPB error = 3;
1560
  bool has_error() const;
1561
  void clear_error();
1562
  static const int kErrorFieldNumber = 3;
1563
  const ::yb::consensus::ConsensusErrorPB& error() const;
1564
  ::yb::consensus::ConsensusErrorPB* release_error();
1565
  ::yb::consensus::ConsensusErrorPB* mutable_error();
1566
  void set_allocated_error(::yb::consensus::ConsensusErrorPB* error);
1567
1568
  // optional .yb.OpIdPB last_received_current_leader = 4;
1569
  bool has_last_received_current_leader() const;
1570
  void clear_last_received_current_leader();
1571
  static const int kLastReceivedCurrentLeaderFieldNumber = 4;
1572
  const ::yb::OpIdPB& last_received_current_leader() const;
1573
  ::yb::OpIdPB* release_last_received_current_leader();
1574
  ::yb::OpIdPB* mutable_last_received_current_leader();
1575
  void set_allocated_last_received_current_leader(::yb::OpIdPB* last_received_current_leader);
1576
1577
  // optional .yb.OpIdPB last_applied = 5;
1578
  bool has_last_applied() const;
1579
  void clear_last_applied();
1580
  static const int kLastAppliedFieldNumber = 5;
1581
  const ::yb::OpIdPB& last_applied() const;
1582
  ::yb::OpIdPB* release_last_applied();
1583
  ::yb::OpIdPB* mutable_last_applied();
1584
  void set_allocated_last_applied(::yb::OpIdPB* last_applied);
1585
1586
  // optional int64 last_committed_idx = 2;
1587
  bool has_last_committed_idx() const;
1588
  void clear_last_committed_idx();
1589
  static const int kLastCommittedIdxFieldNumber = 2;
1590
  ::google::protobuf::int64 last_committed_idx() const;
1591
  void set_last_committed_idx(::google::protobuf::int64 value);
1592
1593
  // @@protoc_insertion_point(class_scope:yb.consensus.ConsensusStatusPB)
1594
 private:
1595
  void set_has_last_received();
1596
  void clear_has_last_received();
1597
  void set_has_last_received_current_leader();
1598
  void clear_has_last_received_current_leader();
1599
  void set_has_last_committed_idx();
1600
  void clear_has_last_committed_idx();
1601
  void set_has_last_applied();
1602
  void clear_has_last_applied();
1603
  void set_has_error();
1604
  void clear_has_error();
1605
1606
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1607
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1608
  mutable int _cached_size_;
1609
  ::yb::OpIdPB* last_received_;
1610
  ::yb::consensus::ConsensusErrorPB* error_;
1611
  ::yb::OpIdPB* last_received_current_leader_;
1612
  ::yb::OpIdPB* last_applied_;
1613
  ::google::protobuf::int64 last_committed_idx_;
1614
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
1615
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsConsensusStatusPBImpl();
1616
};
1617
// -------------------------------------------------------------------
1618
1619
class VoteRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.VoteRequestPB) */ {
1620
 public:
1621
  VoteRequestPB();
1622
  virtual ~VoteRequestPB();
1623
1624
  VoteRequestPB(const VoteRequestPB& from);
1625
1626
146k
  inline VoteRequestPB& operator=(const VoteRequestPB& from) {
1627
146k
    CopyFrom(from);
1628
146k
    return *this;
1629
146k
  }
1630
  #if LANG_CXX11
1631
  VoteRequestPB(VoteRequestPB&& from) noexcept
1632
0
    : VoteRequestPB() {
1633
0
    *this = ::std::move(from);
1634
0
  }
1635
1636
0
  inline VoteRequestPB& operator=(VoteRequestPB&& from) noexcept {
1637
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1638
0
      if (this != &from) InternalSwap(&from);
1639
0
    } else {
1640
0
      CopyFrom(from);
1641
0
    }
1642
0
    return *this;
1643
0
  }
1644
  #endif
1645
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1646
0
    return _internal_metadata_.unknown_fields();
1647
0
  }
1648
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1649
0
    return _internal_metadata_.mutable_unknown_fields();
1650
0
  }
1651
1652
  static const ::google::protobuf::Descriptor* descriptor();
1653
  static const VoteRequestPB& default_instance();
1654
1655
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1656
824k
  static inline const VoteRequestPB* internal_default_instance() {
1657
824k
    return reinterpret_cast<const VoteRequestPB*>(
1658
824k
               &_VoteRequestPB_default_instance_);
1659
824k
  }
1660
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1661
    9;
1662
1663
  void Swap(VoteRequestPB* other);
1664
0
  friend void swap(VoteRequestPB& a, VoteRequestPB& b) {
1665
0
    a.Swap(&b);
1666
0
  }
1667
1668
  // implements Message ----------------------------------------------
1669
1670
0
  inline VoteRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1671
1672
  VoteRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1673
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1674
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1675
  void CopyFrom(const VoteRequestPB& from);
1676
  void MergeFrom(const VoteRequestPB& from);
1677
  void Clear() PROTOBUF_FINAL;
1678
  bool IsInitialized() const PROTOBUF_FINAL;
1679
1680
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1681
  bool MergePartialFromCodedStream(
1682
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1683
  void SerializeWithCachedSizes(
1684
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1685
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1686
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1687
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1688
  private:
1689
  void SharedCtor();
1690
  void SharedDtor();
1691
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1692
  void InternalSwap(VoteRequestPB* other);
1693
  private:
1694
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1695
0
    return NULL;
1696
0
  }
1697
0
  inline void* MaybeArenaPtr() const {
1698
0
    return NULL;
1699
0
  }
1700
  public:
1701
1702
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1703
1704
  // nested types ----------------------------------------------------
1705
1706
  // accessors -------------------------------------------------------
1707
1708
  // required string tablet_id = 1;
1709
  bool has_tablet_id() const;
1710
  void clear_tablet_id();
1711
  static const int kTabletIdFieldNumber = 1;
1712
  const ::std::string& tablet_id() const;
1713
  void set_tablet_id(const ::std::string& value);
1714
  #if LANG_CXX11
1715
  void set_tablet_id(::std::string&& value);
1716
  #endif
1717
  void set_tablet_id(const char* value);
1718
  void set_tablet_id(const char* value, size_t size);
1719
  ::std::string* mutable_tablet_id();
1720
  ::std::string* release_tablet_id();
1721
  void set_allocated_tablet_id(::std::string* tablet_id);
1722
1723
  // required bytes candidate_uuid = 2;
1724
  bool has_candidate_uuid() const;
1725
  void clear_candidate_uuid();
1726
  static const int kCandidateUuidFieldNumber = 2;
1727
  const ::std::string& candidate_uuid() const;
1728
  void set_candidate_uuid(const ::std::string& value);
1729
  #if LANG_CXX11
1730
  void set_candidate_uuid(::std::string&& value);
1731
  #endif
1732
  void set_candidate_uuid(const char* value);
1733
  void set_candidate_uuid(const void* value, size_t size);
1734
  ::std::string* mutable_candidate_uuid();
1735
  ::std::string* release_candidate_uuid();
1736
  void set_allocated_candidate_uuid(::std::string* candidate_uuid);
1737
1738
  // optional bytes dest_uuid = 6;
1739
  bool has_dest_uuid() const;
1740
  void clear_dest_uuid();
1741
  static const int kDestUuidFieldNumber = 6;
1742
  const ::std::string& dest_uuid() const;
1743
  void set_dest_uuid(const ::std::string& value);
1744
  #if LANG_CXX11
1745
  void set_dest_uuid(::std::string&& value);
1746
  #endif
1747
  void set_dest_uuid(const char* value);
1748
  void set_dest_uuid(const void* value, size_t size);
1749
  ::std::string* mutable_dest_uuid();
1750
  ::std::string* release_dest_uuid();
1751
  void set_allocated_dest_uuid(::std::string* dest_uuid);
1752
1753
  // required .yb.consensus.ConsensusStatusPB candidate_status = 4;
1754
  bool has_candidate_status() const;
1755
  void clear_candidate_status();
1756
  static const int kCandidateStatusFieldNumber = 4;
1757
  const ::yb::consensus::ConsensusStatusPB& candidate_status() const;
1758
  ::yb::consensus::ConsensusStatusPB* release_candidate_status();
1759
  ::yb::consensus::ConsensusStatusPB* mutable_candidate_status();
1760
  void set_allocated_candidate_status(::yb::consensus::ConsensusStatusPB* candidate_status);
1761
1762
  // required int64 candidate_term = 3;
1763
  bool has_candidate_term() const;
1764
  void clear_candidate_term();
1765
  static const int kCandidateTermFieldNumber = 3;
1766
  ::google::protobuf::int64 candidate_term() const;
1767
  void set_candidate_term(::google::protobuf::int64 value);
1768
1769
  // optional bool ignore_live_leader = 5 [default = false];
1770
  bool has_ignore_live_leader() const;
1771
  void clear_ignore_live_leader();
1772
  static const int kIgnoreLiveLeaderFieldNumber = 5;
1773
  bool ignore_live_leader() const;
1774
  void set_ignore_live_leader(bool value);
1775
1776
  // optional bool preelection = 7;
1777
  bool has_preelection() const;
1778
  void clear_preelection();
1779
  static const int kPreelectionFieldNumber = 7;
1780
  bool preelection() const;
1781
  void set_preelection(bool value);
1782
1783
  // @@protoc_insertion_point(class_scope:yb.consensus.VoteRequestPB)
1784
 private:
1785
  void set_has_dest_uuid();
1786
  void clear_has_dest_uuid();
1787
  void set_has_tablet_id();
1788
  void clear_has_tablet_id();
1789
  void set_has_candidate_uuid();
1790
  void clear_has_candidate_uuid();
1791
  void set_has_candidate_term();
1792
  void clear_has_candidate_term();
1793
  void set_has_candidate_status();
1794
  void clear_has_candidate_status();
1795
  void set_has_ignore_live_leader();
1796
  void clear_has_ignore_live_leader();
1797
  void set_has_preelection();
1798
  void clear_has_preelection();
1799
1800
  // helper for ByteSizeLong()
1801
  size_t RequiredFieldsByteSizeFallback() const;
1802
1803
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1804
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1805
  mutable int _cached_size_;
1806
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
1807
  ::google::protobuf::internal::ArenaStringPtr candidate_uuid_;
1808
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
1809
  ::yb::consensus::ConsensusStatusPB* candidate_status_;
1810
  ::google::protobuf::int64 candidate_term_;
1811
  bool ignore_live_leader_;
1812
  bool preelection_;
1813
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
1814
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsVoteRequestPBImpl();
1815
};
1816
// -------------------------------------------------------------------
1817
1818
class VoteResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.VoteResponsePB) */ {
1819
 public:
1820
  VoteResponsePB();
1821
  virtual ~VoteResponsePB();
1822
1823
  VoteResponsePB(const VoteResponsePB& from);
1824
1825
24
  inline VoteResponsePB& operator=(const VoteResponsePB& from) {
1826
24
    CopyFrom(from);
1827
24
    return *this;
1828
24
  }
1829
  #if LANG_CXX11
1830
  VoteResponsePB(VoteResponsePB&& from) noexcept
1831
0
    : VoteResponsePB() {
1832
0
    *this = ::std::move(from);
1833
0
  }
1834
1835
0
  inline VoteResponsePB& operator=(VoteResponsePB&& from) noexcept {
1836
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1837
0
      if (this != &from) InternalSwap(&from);
1838
0
    } else {
1839
0
      CopyFrom(from);
1840
0
    }
1841
0
    return *this;
1842
0
  }
1843
  #endif
1844
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1845
0
    return _internal_metadata_.unknown_fields();
1846
0
  }
1847
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1848
0
    return _internal_metadata_.mutable_unknown_fields();
1849
0
  }
1850
1851
  static const ::google::protobuf::Descriptor* descriptor();
1852
  static const VoteResponsePB& default_instance();
1853
1854
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1855
886k
  static inline const VoteResponsePB* internal_default_instance() {
1856
886k
    return reinterpret_cast<const VoteResponsePB*>(
1857
886k
               &_VoteResponsePB_default_instance_);
1858
886k
  }
1859
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1860
    10;
1861
1862
  void Swap(VoteResponsePB* other);
1863
0
  friend void swap(VoteResponsePB& a, VoteResponsePB& b) {
1864
0
    a.Swap(&b);
1865
0
  }
1866
1867
  // implements Message ----------------------------------------------
1868
1869
0
  inline VoteResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1870
1871
  VoteResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1872
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1873
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1874
  void CopyFrom(const VoteResponsePB& from);
1875
  void MergeFrom(const VoteResponsePB& from);
1876
  void Clear() PROTOBUF_FINAL;
1877
  bool IsInitialized() const PROTOBUF_FINAL;
1878
1879
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1880
  bool MergePartialFromCodedStream(
1881
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1882
  void SerializeWithCachedSizes(
1883
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1884
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1885
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1886
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1887
  private:
1888
  void SharedCtor();
1889
  void SharedDtor();
1890
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1891
  void InternalSwap(VoteResponsePB* other);
1892
  private:
1893
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1894
0
    return NULL;
1895
0
  }
1896
0
  inline void* MaybeArenaPtr() const {
1897
0
    return NULL;
1898
0
  }
1899
  public:
1900
1901
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1902
1903
  // nested types ----------------------------------------------------
1904
1905
  // accessors -------------------------------------------------------
1906
1907
  // optional bytes responder_uuid = 1;
1908
  bool has_responder_uuid() const;
1909
  void clear_responder_uuid();
1910
  static const int kResponderUuidFieldNumber = 1;
1911
  const ::std::string& responder_uuid() const;
1912
  void set_responder_uuid(const ::std::string& value);
1913
  #if LANG_CXX11
1914
  void set_responder_uuid(::std::string&& value);
1915
  #endif
1916
  void set_responder_uuid(const char* value);
1917
  void set_responder_uuid(const void* value, size_t size);
1918
  ::std::string* mutable_responder_uuid();
1919
  ::std::string* release_responder_uuid();
1920
  void set_allocated_responder_uuid(::std::string* responder_uuid);
1921
1922
  // optional bytes leader_lease_uuid = 7;
1923
  bool has_leader_lease_uuid() const;
1924
  void clear_leader_lease_uuid();
1925
  static const int kLeaderLeaseUuidFieldNumber = 7;
1926
  const ::std::string& leader_lease_uuid() const;
1927
  void set_leader_lease_uuid(const ::std::string& value);
1928
  #if LANG_CXX11
1929
  void set_leader_lease_uuid(::std::string&& value);
1930
  #endif
1931
  void set_leader_lease_uuid(const char* value);
1932
  void set_leader_lease_uuid(const void* value, size_t size);
1933
  ::std::string* mutable_leader_lease_uuid();
1934
  ::std::string* release_leader_lease_uuid();
1935
  void set_allocated_leader_lease_uuid(::std::string* leader_lease_uuid);
1936
1937
  // optional bytes leader_ht_lease_uuid = 8;
1938
  bool has_leader_ht_lease_uuid() const;
1939
  void clear_leader_ht_lease_uuid();
1940
  static const int kLeaderHtLeaseUuidFieldNumber = 8;
1941
  const ::std::string& leader_ht_lease_uuid() const;
1942
  void set_leader_ht_lease_uuid(const ::std::string& value);
1943
  #if LANG_CXX11
1944
  void set_leader_ht_lease_uuid(::std::string&& value);
1945
  #endif
1946
  void set_leader_ht_lease_uuid(const char* value);
1947
  void set_leader_ht_lease_uuid(const void* value, size_t size);
1948
  ::std::string* mutable_leader_ht_lease_uuid();
1949
  ::std::string* release_leader_ht_lease_uuid();
1950
  void set_allocated_leader_ht_lease_uuid(::std::string* leader_ht_lease_uuid);
1951
1952
  // optional .yb.consensus.ConsensusErrorPB consensus_error = 998;
1953
  bool has_consensus_error() const;
1954
  void clear_consensus_error();
1955
  static const int kConsensusErrorFieldNumber = 998;
1956
  const ::yb::consensus::ConsensusErrorPB& consensus_error() const;
1957
  ::yb::consensus::ConsensusErrorPB* release_consensus_error();
1958
  ::yb::consensus::ConsensusErrorPB* mutable_consensus_error();
1959
  void set_allocated_consensus_error(::yb::consensus::ConsensusErrorPB* consensus_error);
1960
1961
  // optional .yb.tserver.TabletServerErrorPB error = 999;
1962
  bool has_error() const;
1963
  void clear_error();
1964
  static const int kErrorFieldNumber = 999;
1965
  const ::yb::tserver::TabletServerErrorPB& error() const;
1966
  ::yb::tserver::TabletServerErrorPB* release_error();
1967
  ::yb::tserver::TabletServerErrorPB* mutable_error();
1968
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
1969
1970
  // optional int64 responder_term = 2;
1971
  bool has_responder_term() const;
1972
  void clear_responder_term();
1973
  static const int kResponderTermFieldNumber = 2;
1974
  ::google::protobuf::int64 responder_term() const;
1975
  void set_responder_term(::google::protobuf::int64 value);
1976
1977
  // optional int32 remaining_leader_lease_duration_ms = 4;
1978
  bool has_remaining_leader_lease_duration_ms() const;
1979
  void clear_remaining_leader_lease_duration_ms();
1980
  static const int kRemainingLeaderLeaseDurationMsFieldNumber = 4;
1981
  ::google::protobuf::int32 remaining_leader_lease_duration_ms() const;
1982
  void set_remaining_leader_lease_duration_ms(::google::protobuf::int32 value);
1983
1984
  // optional bool vote_granted = 3;
1985
  bool has_vote_granted() const;
1986
  void clear_vote_granted();
1987
  static const int kVoteGrantedFieldNumber = 3;
1988
  bool vote_granted() const;
1989
  void set_vote_granted(bool value);
1990
1991
  // optional bool preelection = 6;
1992
  bool has_preelection() const;
1993
  void clear_preelection();
1994
  static const int kPreelectionFieldNumber = 6;
1995
  bool preelection() const;
1996
  void set_preelection(bool value);
1997
1998
  // optional fixed64 leader_ht_lease_expiration = 5;
1999
  bool has_leader_ht_lease_expiration() const;
2000
  void clear_leader_ht_lease_expiration();
2001
  static const int kLeaderHtLeaseExpirationFieldNumber = 5;
2002
  ::google::protobuf::uint64 leader_ht_lease_expiration() const;
2003
  void set_leader_ht_lease_expiration(::google::protobuf::uint64 value);
2004
2005
  // @@protoc_insertion_point(class_scope:yb.consensus.VoteResponsePB)
2006
 private:
2007
  void set_has_responder_uuid();
2008
  void clear_has_responder_uuid();
2009
  void set_has_responder_term();
2010
  void clear_has_responder_term();
2011
  void set_has_vote_granted();
2012
  void clear_has_vote_granted();
2013
  void set_has_remaining_leader_lease_duration_ms();
2014
  void clear_has_remaining_leader_lease_duration_ms();
2015
  void set_has_leader_lease_uuid();
2016
  void clear_has_leader_lease_uuid();
2017
  void set_has_leader_ht_lease_expiration();
2018
  void clear_has_leader_ht_lease_expiration();
2019
  void set_has_leader_ht_lease_uuid();
2020
  void clear_has_leader_ht_lease_uuid();
2021
  void set_has_preelection();
2022
  void clear_has_preelection();
2023
  void set_has_consensus_error();
2024
  void clear_has_consensus_error();
2025
  void set_has_error();
2026
  void clear_has_error();
2027
2028
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2029
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2030
  mutable int _cached_size_;
2031
  ::google::protobuf::internal::ArenaStringPtr responder_uuid_;
2032
  ::google::protobuf::internal::ArenaStringPtr leader_lease_uuid_;
2033
  ::google::protobuf::internal::ArenaStringPtr leader_ht_lease_uuid_;
2034
  ::yb::consensus::ConsensusErrorPB* consensus_error_;
2035
  ::yb::tserver::TabletServerErrorPB* error_;
2036
  ::google::protobuf::int64 responder_term_;
2037
  ::google::protobuf::int32 remaining_leader_lease_duration_ms_;
2038
  bool vote_granted_;
2039
  bool preelection_;
2040
  ::google::protobuf::uint64 leader_ht_lease_expiration_;
2041
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2042
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsVoteResponsePBImpl();
2043
};
2044
// -------------------------------------------------------------------
2045
2046
class ConsensusRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ConsensusRequestPB) */ {
2047
 public:
2048
  ConsensusRequestPB();
2049
  virtual ~ConsensusRequestPB();
2050
2051
  ConsensusRequestPB(const ConsensusRequestPB& from);
2052
2053
0
  inline ConsensusRequestPB& operator=(const ConsensusRequestPB& from) {
2054
0
    CopyFrom(from);
2055
0
    return *this;
2056
0
  }
2057
  #if LANG_CXX11
2058
  ConsensusRequestPB(ConsensusRequestPB&& from) noexcept
2059
634
    : ConsensusRequestPB() {
2060
634
    *this = ::std::move(from);
2061
634
  }
Unexecuted instantiation: _ZN2yb9consensus18ConsensusRequestPBC2EOS1_
_ZN2yb9consensus18ConsensusRequestPBC1EOS1_
Line
Count
Source
2059
634
    : ConsensusRequestPB() {
2060
634
    *this = ::std::move(from);
2061
634
  }
2062
2063
637
  inline ConsensusRequestPB& operator=(ConsensusRequestPB&& from) noexcept {
2064
639
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2065
639
      if (this != &from) InternalSwap(&from);
2066
18.4E
    } else {
2067
18.4E
      CopyFrom(from);
2068
18.4E
    }
2069
637
    return *this;
2070
637
  }
2071
  #endif
2072
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2073
0
    return _internal_metadata_.unknown_fields();
2074
0
  }
2075
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2076
0
    return _internal_metadata_.mutable_unknown_fields();
2077
0
  }
2078
2079
  static const ::google::protobuf::Descriptor* descriptor();
2080
  static const ConsensusRequestPB& default_instance();
2081
2082
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2083
31.2M
  static inline const ConsensusRequestPB* internal_default_instance() {
2084
31.2M
    return reinterpret_cast<const ConsensusRequestPB*>(
2085
31.2M
               &_ConsensusRequestPB_default_instance_);
2086
31.2M
  }
2087
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2088
    11;
2089
2090
  void Swap(ConsensusRequestPB* other);
2091
0
  friend void swap(ConsensusRequestPB& a, ConsensusRequestPB& b) {
2092
0
    a.Swap(&b);
2093
0
  }
2094
2095
  // implements Message ----------------------------------------------
2096
2097
0
  inline ConsensusRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2098
2099
  ConsensusRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2100
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2101
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2102
  void CopyFrom(const ConsensusRequestPB& from);
2103
  void MergeFrom(const ConsensusRequestPB& from);
2104
  void Clear() PROTOBUF_FINAL;
2105
  bool IsInitialized() const PROTOBUF_FINAL;
2106
2107
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2108
  bool MergePartialFromCodedStream(
2109
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2110
  void SerializeWithCachedSizes(
2111
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2112
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2113
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2114
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2115
  private:
2116
  void SharedCtor();
2117
  void SharedDtor();
2118
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2119
  void InternalSwap(ConsensusRequestPB* other);
2120
  private:
2121
1.27k
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2122
1.27k
    return NULL;
2123
1.27k
  }
2124
0
  inline void* MaybeArenaPtr() const {
2125
0
    return NULL;
2126
0
  }
2127
  public:
2128
2129
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2130
2131
  // nested types ----------------------------------------------------
2132
2133
  // accessors -------------------------------------------------------
2134
2135
  // repeated .yb.consensus.ReplicateMsg ops = 6;
2136
  int ops_size() const;
2137
  void clear_ops();
2138
  static const int kOpsFieldNumber = 6;
2139
  const ::yb::consensus::ReplicateMsg& ops(int index) const;
2140
  ::yb::consensus::ReplicateMsg* mutable_ops(int index);
2141
  ::yb::consensus::ReplicateMsg* add_ops();
2142
  ::google::protobuf::RepeatedPtrField< ::yb::consensus::ReplicateMsg >*
2143
      mutable_ops();
2144
  const ::google::protobuf::RepeatedPtrField< ::yb::consensus::ReplicateMsg >&
2145
      ops() const;
2146
2147
  // required string tablet_id = 1;
2148
  bool has_tablet_id() const;
2149
  void clear_tablet_id();
2150
  static const int kTabletIdFieldNumber = 1;
2151
  const ::std::string& tablet_id() const;
2152
  void set_tablet_id(const ::std::string& value);
2153
  #if LANG_CXX11
2154
  void set_tablet_id(::std::string&& value);
2155
  #endif
2156
  void set_tablet_id(const char* value);
2157
  void set_tablet_id(const char* value, size_t size);
2158
  ::std::string* mutable_tablet_id();
2159
  ::std::string* release_tablet_id();
2160
  void set_allocated_tablet_id(::std::string* tablet_id);
2161
2162
  // required bytes caller_uuid = 2;
2163
  bool has_caller_uuid() const;
2164
  void clear_caller_uuid();
2165
  static const int kCallerUuidFieldNumber = 2;
2166
  const ::std::string& caller_uuid() const;
2167
  void set_caller_uuid(const ::std::string& value);
2168
  #if LANG_CXX11
2169
  void set_caller_uuid(::std::string&& value);
2170
  #endif
2171
  void set_caller_uuid(const char* value);
2172
  void set_caller_uuid(const void* value, size_t size);
2173
  ::std::string* mutable_caller_uuid();
2174
  ::std::string* release_caller_uuid();
2175
  void set_allocated_caller_uuid(::std::string* caller_uuid);
2176
2177
  // optional bytes dest_uuid = 7;
2178
  bool has_dest_uuid() const;
2179
  void clear_dest_uuid();
2180
  static const int kDestUuidFieldNumber = 7;
2181
  const ::std::string& dest_uuid() const;
2182
  void set_dest_uuid(const ::std::string& value);
2183
  #if LANG_CXX11
2184
  void set_dest_uuid(::std::string&& value);
2185
  #endif
2186
  void set_dest_uuid(const char* value);
2187
  void set_dest_uuid(const void* value, size_t size);
2188
  ::std::string* mutable_dest_uuid();
2189
  ::std::string* release_dest_uuid();
2190
  void set_allocated_dest_uuid(::std::string* dest_uuid);
2191
2192
  // optional .yb.OpIdPB preceding_id = 4;
2193
  bool has_preceding_id() const;
2194
  void clear_preceding_id();
2195
  static const int kPrecedingIdFieldNumber = 4;
2196
  const ::yb::OpIdPB& preceding_id() const;
2197
  ::yb::OpIdPB* release_preceding_id();
2198
  ::yb::OpIdPB* mutable_preceding_id();
2199
  void set_allocated_preceding_id(::yb::OpIdPB* preceding_id);
2200
2201
  // required .yb.OpIdPB committed_op_id = 5;
2202
  bool has_committed_op_id() const;
2203
  void clear_committed_op_id();
2204
  static const int kCommittedOpIdFieldNumber = 5;
2205
  const ::yb::OpIdPB& committed_op_id() const;
2206
  ::yb::OpIdPB* release_committed_op_id();
2207
  ::yb::OpIdPB* mutable_committed_op_id();
2208
  void set_allocated_committed_op_id(::yb::OpIdPB* committed_op_id);
2209
2210
  // required int64 caller_term = 3;
2211
  bool has_caller_term() const;
2212
  void clear_caller_term();
2213
  static const int kCallerTermFieldNumber = 3;
2214
  ::google::protobuf::int64 caller_term() const;
2215
  void set_caller_term(::google::protobuf::int64 value);
2216
2217
  // optional fixed64 ht_lease_expiration = 9;
2218
  bool has_ht_lease_expiration() const;
2219
  void clear_ht_lease_expiration();
2220
  static const int kHtLeaseExpirationFieldNumber = 9;
2221
  ::google::protobuf::uint64 ht_lease_expiration() const;
2222
  void set_ht_lease_expiration(::google::protobuf::uint64 value);
2223
2224
  // optional fixed64 propagated_safe_time = 10;
2225
  bool has_propagated_safe_time() const;
2226
  void clear_propagated_safe_time();
2227
  static const int kPropagatedSafeTimeFieldNumber = 10;
2228
  ::google::protobuf::uint64 propagated_safe_time() const;
2229
  void set_propagated_safe_time(::google::protobuf::uint64 value);
2230
2231
  // optional fixed64 propagated_hybrid_time = 11;
2232
  bool has_propagated_hybrid_time() const;
2233
  void clear_propagated_hybrid_time();
2234
  static const int kPropagatedHybridTimeFieldNumber = 11;
2235
  ::google::protobuf::uint64 propagated_hybrid_time() const;
2236
  void set_propagated_hybrid_time(::google::protobuf::uint64 value);
2237
2238
  // optional int32 leader_lease_duration_ms = 8;
2239
  bool has_leader_lease_duration_ms() const;
2240
  void clear_leader_lease_duration_ms();
2241
  static const int kLeaderLeaseDurationMsFieldNumber = 8;
2242
  ::google::protobuf::int32 leader_lease_duration_ms() const;
2243
  void set_leader_lease_duration_ms(::google::protobuf::int32 value);
2244
2245
  // @@protoc_insertion_point(class_scope:yb.consensus.ConsensusRequestPB)
2246
 private:
2247
  void set_has_dest_uuid();
2248
  void clear_has_dest_uuid();
2249
  void set_has_tablet_id();
2250
  void clear_has_tablet_id();
2251
  void set_has_caller_uuid();
2252
  void clear_has_caller_uuid();
2253
  void set_has_caller_term();
2254
  void clear_has_caller_term();
2255
  void set_has_preceding_id();
2256
  void clear_has_preceding_id();
2257
  void set_has_committed_op_id();
2258
  void clear_has_committed_op_id();
2259
  void set_has_leader_lease_duration_ms();
2260
  void clear_has_leader_lease_duration_ms();
2261
  void set_has_ht_lease_expiration();
2262
  void clear_has_ht_lease_expiration();
2263
  void set_has_propagated_safe_time();
2264
  void clear_has_propagated_safe_time();
2265
  void set_has_propagated_hybrid_time();
2266
  void clear_has_propagated_hybrid_time();
2267
2268
  // helper for ByteSizeLong()
2269
  size_t RequiredFieldsByteSizeFallback() const;
2270
2271
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2272
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2273
  mutable int _cached_size_;
2274
  ::google::protobuf::RepeatedPtrField< ::yb::consensus::ReplicateMsg > ops_;
2275
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
2276
  ::google::protobuf::internal::ArenaStringPtr caller_uuid_;
2277
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
2278
  ::yb::OpIdPB* preceding_id_;
2279
  ::yb::OpIdPB* committed_op_id_;
2280
  ::google::protobuf::int64 caller_term_;
2281
  ::google::protobuf::uint64 ht_lease_expiration_;
2282
  ::google::protobuf::uint64 propagated_safe_time_;
2283
  ::google::protobuf::uint64 propagated_hybrid_time_;
2284
  ::google::protobuf::int32 leader_lease_duration_ms_;
2285
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2286
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsConsensusRequestPBImpl();
2287
};
2288
// -------------------------------------------------------------------
2289
2290
class ConsensusResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.ConsensusResponsePB) */ {
2291
 public:
2292
  ConsensusResponsePB();
2293
  virtual ~ConsensusResponsePB();
2294
2295
  ConsensusResponsePB(const ConsensusResponsePB& from);
2296
2297
5
  inline ConsensusResponsePB& operator=(const ConsensusResponsePB& from) {
2298
5
    CopyFrom(from);
2299
5
    return *this;
2300
5
  }
2301
  #if LANG_CXX11
2302
  ConsensusResponsePB(ConsensusResponsePB&& from) noexcept
2303
0
    : ConsensusResponsePB() {
2304
0
    *this = ::std::move(from);
2305
0
  }
2306
2307
0
  inline ConsensusResponsePB& operator=(ConsensusResponsePB&& from) noexcept {
2308
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2309
0
      if (this != &from) InternalSwap(&from);
2310
0
    } else {
2311
0
      CopyFrom(from);
2312
0
    }
2313
0
    return *this;
2314
0
  }
2315
  #endif
2316
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2317
0
    return _internal_metadata_.unknown_fields();
2318
0
  }
2319
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2320
0
    return _internal_metadata_.mutable_unknown_fields();
2321
0
  }
2322
2323
  static const ::google::protobuf::Descriptor* descriptor();
2324
  static const ConsensusResponsePB& default_instance();
2325
2326
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2327
70.6M
  static inline const ConsensusResponsePB* internal_default_instance() {
2328
70.6M
    return reinterpret_cast<const ConsensusResponsePB*>(
2329
70.6M
               &_ConsensusResponsePB_default_instance_);
2330
70.6M
  }
2331
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2332
    12;
2333
2334
  void Swap(ConsensusResponsePB* other);
2335
0
  friend void swap(ConsensusResponsePB& a, ConsensusResponsePB& b) {
2336
0
    a.Swap(&b);
2337
0
  }
2338
2339
  // implements Message ----------------------------------------------
2340
2341
0
  inline ConsensusResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2342
2343
  ConsensusResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2344
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2345
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2346
  void CopyFrom(const ConsensusResponsePB& from);
2347
  void MergeFrom(const ConsensusResponsePB& from);
2348
  void Clear() PROTOBUF_FINAL;
2349
  bool IsInitialized() const PROTOBUF_FINAL;
2350
2351
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2352
  bool MergePartialFromCodedStream(
2353
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2354
  void SerializeWithCachedSizes(
2355
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2356
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2357
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2358
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2359
  private:
2360
  void SharedCtor();
2361
  void SharedDtor();
2362
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2363
  void InternalSwap(ConsensusResponsePB* other);
2364
  private:
2365
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2366
0
    return NULL;
2367
0
  }
2368
0
  inline void* MaybeArenaPtr() const {
2369
0
    return NULL;
2370
0
  }
2371
  public:
2372
2373
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2374
2375
  // nested types ----------------------------------------------------
2376
2377
  // accessors -------------------------------------------------------
2378
2379
  // optional bytes responder_uuid = 1;
2380
  bool has_responder_uuid() const;
2381
  void clear_responder_uuid();
2382
  static const int kResponderUuidFieldNumber = 1;
2383
  const ::std::string& responder_uuid() const;
2384
  void set_responder_uuid(const ::std::string& value);
2385
  #if LANG_CXX11
2386
  void set_responder_uuid(::std::string&& value);
2387
  #endif
2388
  void set_responder_uuid(const char* value);
2389
  void set_responder_uuid(const void* value, size_t size);
2390
  ::std::string* mutable_responder_uuid();
2391
  ::std::string* release_responder_uuid();
2392
  void set_allocated_responder_uuid(::std::string* responder_uuid);
2393
2394
  // optional .yb.consensus.ConsensusStatusPB status = 3;
2395
  bool has_status() const;
2396
  void clear_status();
2397
  static const int kStatusFieldNumber = 3;
2398
  const ::yb::consensus::ConsensusStatusPB& status() const;
2399
  ::yb::consensus::ConsensusStatusPB* release_status();
2400
  ::yb::consensus::ConsensusStatusPB* mutable_status();
2401
  void set_allocated_status(::yb::consensus::ConsensusStatusPB* status);
2402
2403
  // optional .yb.tserver.TabletServerErrorPB error = 999;
2404
  bool has_error() const;
2405
  void clear_error();
2406
  static const int kErrorFieldNumber = 999;
2407
  const ::yb::tserver::TabletServerErrorPB& error() const;
2408
  ::yb::tserver::TabletServerErrorPB* release_error();
2409
  ::yb::tserver::TabletServerErrorPB* mutable_error();
2410
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
2411
2412
  // optional int64 responder_term = 2;
2413
  bool has_responder_term() const;
2414
  void clear_responder_term();
2415
  static const int kResponderTermFieldNumber = 2;
2416
  ::google::protobuf::int64 responder_term() const;
2417
  void set_responder_term(::google::protobuf::int64 value);
2418
2419
  // optional int64 num_sst_files = 5;
2420
  bool has_num_sst_files() const;
2421
  void clear_num_sst_files();
2422
  static const int kNumSstFilesFieldNumber = 5;
2423
  ::google::protobuf::int64 num_sst_files() const;
2424
  void set_num_sst_files(::google::protobuf::int64 value);
2425
2426
  // optional fixed64 propagated_hybrid_time = 6;
2427
  bool has_propagated_hybrid_time() const;
2428
  void clear_propagated_hybrid_time();
2429
  static const int kPropagatedHybridTimeFieldNumber = 6;
2430
  ::google::protobuf::uint64 propagated_hybrid_time() const;
2431
  void set_propagated_hybrid_time(::google::protobuf::uint64 value);
2432
2433
  // @@protoc_insertion_point(class_scope:yb.consensus.ConsensusResponsePB)
2434
 private:
2435
  void set_has_responder_uuid();
2436
  void clear_has_responder_uuid();
2437
  void set_has_responder_term();
2438
  void clear_has_responder_term();
2439
  void set_has_status();
2440
  void clear_has_status();
2441
  void set_has_error();
2442
  void clear_has_error();
2443
  void set_has_num_sst_files();
2444
  void clear_has_num_sst_files();
2445
  void set_has_propagated_hybrid_time();
2446
  void clear_has_propagated_hybrid_time();
2447
2448
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2449
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2450
  mutable int _cached_size_;
2451
  ::google::protobuf::internal::ArenaStringPtr responder_uuid_;
2452
  ::yb::consensus::ConsensusStatusPB* status_;
2453
  ::yb::tserver::TabletServerErrorPB* error_;
2454
  ::google::protobuf::int64 responder_term_;
2455
  ::google::protobuf::int64 num_sst_files_;
2456
  ::google::protobuf::uint64 propagated_hybrid_time_;
2457
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2458
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsConsensusResponsePBImpl();
2459
};
2460
// -------------------------------------------------------------------
2461
2462
class MultiRaftConsensusRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.MultiRaftConsensusRequestPB) */ {
2463
 public:
2464
  MultiRaftConsensusRequestPB();
2465
  virtual ~MultiRaftConsensusRequestPB();
2466
2467
  MultiRaftConsensusRequestPB(const MultiRaftConsensusRequestPB& from);
2468
2469
0
  inline MultiRaftConsensusRequestPB& operator=(const MultiRaftConsensusRequestPB& from) {
2470
0
    CopyFrom(from);
2471
0
    return *this;
2472
0
  }
2473
  #if LANG_CXX11
2474
  MultiRaftConsensusRequestPB(MultiRaftConsensusRequestPB&& from) noexcept
2475
0
    : MultiRaftConsensusRequestPB() {
2476
0
    *this = ::std::move(from);
2477
0
  }
2478
2479
0
  inline MultiRaftConsensusRequestPB& operator=(MultiRaftConsensusRequestPB&& from) noexcept {
2480
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2481
0
      if (this != &from) InternalSwap(&from);
2482
0
    } else {
2483
0
      CopyFrom(from);
2484
0
    }
2485
0
    return *this;
2486
0
  }
2487
  #endif
2488
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2489
0
    return _internal_metadata_.unknown_fields();
2490
0
  }
2491
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2492
0
    return _internal_metadata_.mutable_unknown_fields();
2493
0
  }
2494
2495
  static const ::google::protobuf::Descriptor* descriptor();
2496
  static const MultiRaftConsensusRequestPB& default_instance();
2497
2498
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2499
15.8k
  static inline const MultiRaftConsensusRequestPB* internal_default_instance() {
2500
15.8k
    return reinterpret_cast<const MultiRaftConsensusRequestPB*>(
2501
15.8k
               &_MultiRaftConsensusRequestPB_default_instance_);
2502
15.8k
  }
2503
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2504
    13;
2505
2506
  void Swap(MultiRaftConsensusRequestPB* other);
2507
0
  friend void swap(MultiRaftConsensusRequestPB& a, MultiRaftConsensusRequestPB& b) {
2508
0
    a.Swap(&b);
2509
0
  }
2510
2511
  // implements Message ----------------------------------------------
2512
2513
0
  inline MultiRaftConsensusRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2514
2515
  MultiRaftConsensusRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2516
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2517
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2518
  void CopyFrom(const MultiRaftConsensusRequestPB& from);
2519
  void MergeFrom(const MultiRaftConsensusRequestPB& from);
2520
  void Clear() PROTOBUF_FINAL;
2521
  bool IsInitialized() const PROTOBUF_FINAL;
2522
2523
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2524
  bool MergePartialFromCodedStream(
2525
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2526
  void SerializeWithCachedSizes(
2527
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2528
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2529
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2530
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2531
  private:
2532
  void SharedCtor();
2533
  void SharedDtor();
2534
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2535
  void InternalSwap(MultiRaftConsensusRequestPB* other);
2536
  private:
2537
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2538
0
    return NULL;
2539
0
  }
2540
0
  inline void* MaybeArenaPtr() const {
2541
0
    return NULL;
2542
0
  }
2543
  public:
2544
2545
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2546
2547
  // nested types ----------------------------------------------------
2548
2549
  // accessors -------------------------------------------------------
2550
2551
  // repeated .yb.consensus.ConsensusRequestPB consensus_request = 1;
2552
  int consensus_request_size() const;
2553
  void clear_consensus_request();
2554
  static const int kConsensusRequestFieldNumber = 1;
2555
  const ::yb::consensus::ConsensusRequestPB& consensus_request(int index) const;
2556
  ::yb::consensus::ConsensusRequestPB* mutable_consensus_request(int index);
2557
  ::yb::consensus::ConsensusRequestPB* add_consensus_request();
2558
  ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusRequestPB >*
2559
      mutable_consensus_request();
2560
  const ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusRequestPB >&
2561
      consensus_request() const;
2562
2563
  // @@protoc_insertion_point(class_scope:yb.consensus.MultiRaftConsensusRequestPB)
2564
 private:
2565
2566
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2567
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2568
  mutable int _cached_size_;
2569
  ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusRequestPB > consensus_request_;
2570
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2571
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsMultiRaftConsensusRequestPBImpl();
2572
};
2573
// -------------------------------------------------------------------
2574
2575
class MultiRaftConsensusResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.MultiRaftConsensusResponsePB) */ {
2576
 public:
2577
  MultiRaftConsensusResponsePB();
2578
  virtual ~MultiRaftConsensusResponsePB();
2579
2580
  MultiRaftConsensusResponsePB(const MultiRaftConsensusResponsePB& from);
2581
2582
0
  inline MultiRaftConsensusResponsePB& operator=(const MultiRaftConsensusResponsePB& from) {
2583
0
    CopyFrom(from);
2584
0
    return *this;
2585
0
  }
2586
  #if LANG_CXX11
2587
  MultiRaftConsensusResponsePB(MultiRaftConsensusResponsePB&& from) noexcept
2588
0
    : MultiRaftConsensusResponsePB() {
2589
0
    *this = ::std::move(from);
2590
0
  }
2591
2592
0
  inline MultiRaftConsensusResponsePB& operator=(MultiRaftConsensusResponsePB&& from) noexcept {
2593
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2594
0
      if (this != &from) InternalSwap(&from);
2595
0
    } else {
2596
0
      CopyFrom(from);
2597
0
    }
2598
0
    return *this;
2599
0
  }
2600
  #endif
2601
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2602
0
    return _internal_metadata_.unknown_fields();
2603
0
  }
2604
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2605
0
    return _internal_metadata_.mutable_unknown_fields();
2606
0
  }
2607
2608
  static const ::google::protobuf::Descriptor* descriptor();
2609
  static const MultiRaftConsensusResponsePB& default_instance();
2610
2611
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2612
15.8k
  static inline const MultiRaftConsensusResponsePB* internal_default_instance() {
2613
15.8k
    return reinterpret_cast<const MultiRaftConsensusResponsePB*>(
2614
15.8k
               &_MultiRaftConsensusResponsePB_default_instance_);
2615
15.8k
  }
2616
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2617
    14;
2618
2619
  void Swap(MultiRaftConsensusResponsePB* other);
2620
0
  friend void swap(MultiRaftConsensusResponsePB& a, MultiRaftConsensusResponsePB& b) {
2621
0
    a.Swap(&b);
2622
0
  }
2623
2624
  // implements Message ----------------------------------------------
2625
2626
0
  inline MultiRaftConsensusResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
2627
2628
  MultiRaftConsensusResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2629
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2630
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2631
  void CopyFrom(const MultiRaftConsensusResponsePB& from);
2632
  void MergeFrom(const MultiRaftConsensusResponsePB& from);
2633
  void Clear() PROTOBUF_FINAL;
2634
  bool IsInitialized() const PROTOBUF_FINAL;
2635
2636
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2637
  bool MergePartialFromCodedStream(
2638
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2639
  void SerializeWithCachedSizes(
2640
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2641
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2642
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2643
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2644
  private:
2645
  void SharedCtor();
2646
  void SharedDtor();
2647
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2648
  void InternalSwap(MultiRaftConsensusResponsePB* other);
2649
  private:
2650
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2651
0
    return NULL;
2652
0
  }
2653
0
  inline void* MaybeArenaPtr() const {
2654
0
    return NULL;
2655
0
  }
2656
  public:
2657
2658
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2659
2660
  // nested types ----------------------------------------------------
2661
2662
  // accessors -------------------------------------------------------
2663
2664
  // repeated .yb.consensus.ConsensusResponsePB consensus_response = 1;
2665
  int consensus_response_size() const;
2666
  void clear_consensus_response();
2667
  static const int kConsensusResponseFieldNumber = 1;
2668
  const ::yb::consensus::ConsensusResponsePB& consensus_response(int index) const;
2669
  ::yb::consensus::ConsensusResponsePB* mutable_consensus_response(int index);
2670
  ::yb::consensus::ConsensusResponsePB* add_consensus_response();
2671
  ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusResponsePB >*
2672
      mutable_consensus_response();
2673
  const ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusResponsePB >&
2674
      consensus_response() const;
2675
2676
  // @@protoc_insertion_point(class_scope:yb.consensus.MultiRaftConsensusResponsePB)
2677
 private:
2678
2679
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2680
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2681
  mutable int _cached_size_;
2682
  ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusResponsePB > consensus_response_;
2683
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2684
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsMultiRaftConsensusResponsePBImpl();
2685
};
2686
// -------------------------------------------------------------------
2687
2688
class OperationStatusPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.OperationStatusPB) */ {
2689
 public:
2690
  OperationStatusPB();
2691
  virtual ~OperationStatusPB();
2692
2693
  OperationStatusPB(const OperationStatusPB& from);
2694
2695
0
  inline OperationStatusPB& operator=(const OperationStatusPB& from) {
2696
0
    CopyFrom(from);
2697
0
    return *this;
2698
0
  }
2699
  #if LANG_CXX11
2700
  OperationStatusPB(OperationStatusPB&& from) noexcept
2701
0
    : OperationStatusPB() {
2702
0
    *this = ::std::move(from);
2703
0
  }
Unexecuted instantiation: _ZN2yb9consensus17OperationStatusPBC2EOS1_
Unexecuted instantiation: _ZN2yb9consensus17OperationStatusPBC1EOS1_
2704
2705
0
  inline OperationStatusPB& operator=(OperationStatusPB&& from) noexcept {
2706
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2707
0
      if (this != &from) InternalSwap(&from);
2708
0
    } else {
2709
0
      CopyFrom(from);
2710
0
    }
2711
0
    return *this;
2712
0
  }
2713
  #endif
2714
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2715
0
    return _internal_metadata_.unknown_fields();
2716
0
  }
2717
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2718
0
    return _internal_metadata_.mutable_unknown_fields();
2719
0
  }
2720
2721
  static const ::google::protobuf::Descriptor* descriptor();
2722
  static const OperationStatusPB& default_instance();
2723
2724
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2725
15.8k
  static inline const OperationStatusPB* internal_default_instance() {
2726
15.8k
    return reinterpret_cast<const OperationStatusPB*>(
2727
15.8k
               &_OperationStatusPB_default_instance_);
2728
15.8k
  }
2729
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2730
    15;
2731
2732
  void Swap(OperationStatusPB* other);
2733
0
  friend void swap(OperationStatusPB& a, OperationStatusPB& b) {
2734
0
    a.Swap(&b);
2735
0
  }
2736
2737
  // implements Message ----------------------------------------------
2738
2739
0
  inline OperationStatusPB* New() const PROTOBUF_FINAL { return New(NULL); }
2740
2741
  OperationStatusPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2742
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2743
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2744
  void CopyFrom(const OperationStatusPB& from);
2745
  void MergeFrom(const OperationStatusPB& from);
2746
  void Clear() PROTOBUF_FINAL;
2747
  bool IsInitialized() const PROTOBUF_FINAL;
2748
2749
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2750
  bool MergePartialFromCodedStream(
2751
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2752
  void SerializeWithCachedSizes(
2753
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2754
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2755
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2756
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2757
  private:
2758
  void SharedCtor();
2759
  void SharedDtor();
2760
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2761
  void InternalSwap(OperationStatusPB* other);
2762
  private:
2763
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2764
0
    return NULL;
2765
0
  }
2766
0
  inline void* MaybeArenaPtr() const {
2767
0
    return NULL;
2768
0
  }
2769
  public:
2770
2771
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2772
2773
  // nested types ----------------------------------------------------
2774
2775
  // accessors -------------------------------------------------------
2776
2777
  // required string description = 4;
2778
  bool has_description() const;
2779
  void clear_description();
2780
  static const int kDescriptionFieldNumber = 4;
2781
  const ::std::string& description() const;
2782
  void set_description(const ::std::string& value);
2783
  #if LANG_CXX11
2784
  void set_description(::std::string&& value);
2785
  #endif
2786
  void set_description(const char* value);
2787
  void set_description(const char* value, size_t size);
2788
  ::std::string* mutable_description();
2789
  ::std::string* release_description();
2790
  void set_allocated_description(::std::string* description);
2791
2792
  // optional string trace_buffer = 6;
2793
  bool has_trace_buffer() const;
2794
  void clear_trace_buffer();
2795
  static const int kTraceBufferFieldNumber = 6;
2796
  const ::std::string& trace_buffer() const;
2797
  void set_trace_buffer(const ::std::string& value);
2798
  #if LANG_CXX11
2799
  void set_trace_buffer(::std::string&& value);
2800
  #endif
2801
  void set_trace_buffer(const char* value);
2802
  void set_trace_buffer(const char* value, size_t size);
2803
  ::std::string* mutable_trace_buffer();
2804
  ::std::string* release_trace_buffer();
2805
  void set_allocated_trace_buffer(::std::string* trace_buffer);
2806
2807
  // required .yb.OpIdPB op_id = 1;
2808
  bool has_op_id() const;
2809
  void clear_op_id();
2810
  static const int kOpIdFieldNumber = 1;
2811
  const ::yb::OpIdPB& op_id() const;
2812
  ::yb::OpIdPB* release_op_id();
2813
  ::yb::OpIdPB* mutable_op_id();
2814
  void set_allocated_op_id(::yb::OpIdPB* op_id);
2815
2816
  // required int64 running_for_micros = 3;
2817
  bool has_running_for_micros() const;
2818
  void clear_running_for_micros();
2819
  static const int kRunningForMicrosFieldNumber = 3;
2820
  ::google::protobuf::int64 running_for_micros() const;
2821
  void set_running_for_micros(::google::protobuf::int64 value);
2822
2823
  // required .yb.consensus.OperationType operation_type = 2;
2824
  bool has_operation_type() const;
2825
  void clear_operation_type();
2826
  static const int kOperationTypeFieldNumber = 2;
2827
  ::yb::consensus::OperationType operation_type() const;
2828
  void set_operation_type(::yb::consensus::OperationType value);
2829
2830
  // @@protoc_insertion_point(class_scope:yb.consensus.OperationStatusPB)
2831
 private:
2832
  void set_has_op_id();
2833
  void clear_has_op_id();
2834
  void set_has_operation_type();
2835
  void clear_has_operation_type();
2836
  void set_has_running_for_micros();
2837
  void clear_has_running_for_micros();
2838
  void set_has_description();
2839
  void clear_has_description();
2840
  void set_has_trace_buffer();
2841
  void clear_has_trace_buffer();
2842
2843
  // helper for ByteSizeLong()
2844
  size_t RequiredFieldsByteSizeFallback() const;
2845
2846
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2847
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2848
  mutable int _cached_size_;
2849
  ::google::protobuf::internal::ArenaStringPtr description_;
2850
  ::google::protobuf::internal::ArenaStringPtr trace_buffer_;
2851
  ::yb::OpIdPB* op_id_;
2852
  ::google::protobuf::int64 running_for_micros_;
2853
  int operation_type_;
2854
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2855
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsOperationStatusPBImpl();
2856
};
2857
// -------------------------------------------------------------------
2858
2859
class GetNodeInstanceRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.GetNodeInstanceRequestPB) */ {
2860
 public:
2861
  GetNodeInstanceRequestPB();
2862
  virtual ~GetNodeInstanceRequestPB();
2863
2864
  GetNodeInstanceRequestPB(const GetNodeInstanceRequestPB& from);
2865
2866
0
  inline GetNodeInstanceRequestPB& operator=(const GetNodeInstanceRequestPB& from) {
2867
0
    CopyFrom(from);
2868
0
    return *this;
2869
0
  }
2870
  #if LANG_CXX11
2871
  GetNodeInstanceRequestPB(GetNodeInstanceRequestPB&& from) noexcept
2872
0
    : GetNodeInstanceRequestPB() {
2873
0
    *this = ::std::move(from);
2874
0
  }
Unexecuted instantiation: _ZN2yb9consensus24GetNodeInstanceRequestPBC2EOS1_
Unexecuted instantiation: _ZN2yb9consensus24GetNodeInstanceRequestPBC1EOS1_
2875
2876
0
  inline GetNodeInstanceRequestPB& operator=(GetNodeInstanceRequestPB&& from) noexcept {
2877
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2878
0
      if (this != &from) InternalSwap(&from);
2879
0
    } else {
2880
0
      CopyFrom(from);
2881
0
    }
2882
0
    return *this;
2883
0
  }
2884
  #endif
2885
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2886
0
    return _internal_metadata_.unknown_fields();
2887
0
  }
2888
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2889
0
    return _internal_metadata_.mutable_unknown_fields();
2890
0
  }
2891
2892
  static const ::google::protobuf::Descriptor* descriptor();
2893
  static const GetNodeInstanceRequestPB& default_instance();
2894
2895
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2896
45.6k
  static inline const GetNodeInstanceRequestPB* internal_default_instance() {
2897
45.6k
    return reinterpret_cast<const GetNodeInstanceRequestPB*>(
2898
45.6k
               &_GetNodeInstanceRequestPB_default_instance_);
2899
45.6k
  }
2900
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2901
    16;
2902
2903
  void Swap(GetNodeInstanceRequestPB* other);
2904
0
  friend void swap(GetNodeInstanceRequestPB& a, GetNodeInstanceRequestPB& b) {
2905
0
    a.Swap(&b);
2906
0
  }
2907
2908
  // implements Message ----------------------------------------------
2909
2910
0
  inline GetNodeInstanceRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
2911
2912
  GetNodeInstanceRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2913
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2914
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2915
  void CopyFrom(const GetNodeInstanceRequestPB& from);
2916
  void MergeFrom(const GetNodeInstanceRequestPB& from);
2917
  void Clear() PROTOBUF_FINAL;
2918
  bool IsInitialized() const PROTOBUF_FINAL;
2919
2920
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2921
  bool MergePartialFromCodedStream(
2922
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2923
  void SerializeWithCachedSizes(
2924
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2925
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2926
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2927
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2928
  private:
2929
  void SharedCtor();
2930
  void SharedDtor();
2931
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2932
  void InternalSwap(GetNodeInstanceRequestPB* other);
2933
  private:
2934
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2935
0
    return NULL;
2936
0
  }
2937
0
  inline void* MaybeArenaPtr() const {
2938
0
    return NULL;
2939
0
  }
2940
  public:
2941
2942
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2943
2944
  // nested types ----------------------------------------------------
2945
2946
  // accessors -------------------------------------------------------
2947
2948
  // @@protoc_insertion_point(class_scope:yb.consensus.GetNodeInstanceRequestPB)
2949
 private:
2950
2951
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2952
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2953
  mutable int _cached_size_;
2954
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
2955
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsGetNodeInstanceRequestPBImpl();
2956
};
2957
// -------------------------------------------------------------------
2958
2959
class GetNodeInstanceResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.GetNodeInstanceResponsePB) */ {
2960
 public:
2961
  GetNodeInstanceResponsePB();
2962
  virtual ~GetNodeInstanceResponsePB();
2963
2964
  GetNodeInstanceResponsePB(const GetNodeInstanceResponsePB& from);
2965
2966
0
  inline GetNodeInstanceResponsePB& operator=(const GetNodeInstanceResponsePB& from) {
2967
0
    CopyFrom(from);
2968
0
    return *this;
2969
0
  }
2970
  #if LANG_CXX11
2971
  GetNodeInstanceResponsePB(GetNodeInstanceResponsePB&& from) noexcept
2972
0
    : GetNodeInstanceResponsePB() {
2973
0
    *this = ::std::move(from);
2974
0
  }
Unexecuted instantiation: _ZN2yb9consensus25GetNodeInstanceResponsePBC2EOS1_
Unexecuted instantiation: _ZN2yb9consensus25GetNodeInstanceResponsePBC1EOS1_
2975
2976
0
  inline GetNodeInstanceResponsePB& operator=(GetNodeInstanceResponsePB&& from) noexcept {
2977
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2978
0
      if (this != &from) InternalSwap(&from);
2979
0
    } else {
2980
0
      CopyFrom(from);
2981
0
    }
2982
0
    return *this;
2983
0
  }
2984
  #endif
2985
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2986
0
    return _internal_metadata_.unknown_fields();
2987
0
  }
2988
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2989
0
    return _internal_metadata_.mutable_unknown_fields();
2990
0
  }
2991
2992
  static const ::google::protobuf::Descriptor* descriptor();
2993
  static const GetNodeInstanceResponsePB& default_instance();
2994
2995
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2996
104k
  static inline const GetNodeInstanceResponsePB* internal_default_instance() {
2997
104k
    return reinterpret_cast<const GetNodeInstanceResponsePB*>(
2998
104k
               &_GetNodeInstanceResponsePB_default_instance_);
2999
104k
  }
3000
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3001
    17;
3002
3003
  void Swap(GetNodeInstanceResponsePB* other);
3004
0
  friend void swap(GetNodeInstanceResponsePB& a, GetNodeInstanceResponsePB& b) {
3005
0
    a.Swap(&b);
3006
0
  }
3007
3008
  // implements Message ----------------------------------------------
3009
3010
0
  inline GetNodeInstanceResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3011
3012
  GetNodeInstanceResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3013
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3014
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3015
  void CopyFrom(const GetNodeInstanceResponsePB& from);
3016
  void MergeFrom(const GetNodeInstanceResponsePB& from);
3017
  void Clear() PROTOBUF_FINAL;
3018
  bool IsInitialized() const PROTOBUF_FINAL;
3019
3020
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3021
  bool MergePartialFromCodedStream(
3022
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3023
  void SerializeWithCachedSizes(
3024
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3025
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3026
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3027
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3028
  private:
3029
  void SharedCtor();
3030
  void SharedDtor();
3031
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3032
  void InternalSwap(GetNodeInstanceResponsePB* other);
3033
  private:
3034
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3035
0
    return NULL;
3036
0
  }
3037
0
  inline void* MaybeArenaPtr() const {
3038
0
    return NULL;
3039
0
  }
3040
  public:
3041
3042
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3043
3044
  // nested types ----------------------------------------------------
3045
3046
  // accessors -------------------------------------------------------
3047
3048
  // optional .yb.NodeInstancePB node_instance = 1;
3049
  bool has_node_instance() const;
3050
  void clear_node_instance();
3051
  static const int kNodeInstanceFieldNumber = 1;
3052
  const ::yb::NodeInstancePB& node_instance() const;
3053
  ::yb::NodeInstancePB* release_node_instance();
3054
  ::yb::NodeInstancePB* mutable_node_instance();
3055
  void set_allocated_node_instance(::yb::NodeInstancePB* node_instance);
3056
3057
  // optional .yb.ServerRegistrationPB registration = 2;
3058
  bool has_registration() const;
3059
  void clear_registration();
3060
  static const int kRegistrationFieldNumber = 2;
3061
  const ::yb::ServerRegistrationPB& registration() const;
3062
  ::yb::ServerRegistrationPB* release_registration();
3063
  ::yb::ServerRegistrationPB* mutable_registration();
3064
  void set_allocated_registration(::yb::ServerRegistrationPB* registration);
3065
3066
  // @@protoc_insertion_point(class_scope:yb.consensus.GetNodeInstanceResponsePB)
3067
 private:
3068
  void set_has_node_instance();
3069
  void clear_has_node_instance();
3070
  void set_has_registration();
3071
  void clear_has_registration();
3072
3073
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3074
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3075
  mutable int _cached_size_;
3076
  ::yb::NodeInstancePB* node_instance_;
3077
  ::yb::ServerRegistrationPB* registration_;
3078
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3079
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsGetNodeInstanceResponsePBImpl();
3080
};
3081
// -------------------------------------------------------------------
3082
3083
class RunLeaderElectionRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.RunLeaderElectionRequestPB) */ {
3084
 public:
3085
  RunLeaderElectionRequestPB();
3086
  virtual ~RunLeaderElectionRequestPB();
3087
3088
  RunLeaderElectionRequestPB(const RunLeaderElectionRequestPB& from);
3089
3090
0
  inline RunLeaderElectionRequestPB& operator=(const RunLeaderElectionRequestPB& from) {
3091
0
    CopyFrom(from);
3092
0
    return *this;
3093
0
  }
3094
  #if LANG_CXX11
3095
  RunLeaderElectionRequestPB(RunLeaderElectionRequestPB&& from) noexcept
3096
0
    : RunLeaderElectionRequestPB() {
3097
0
    *this = ::std::move(from);
3098
0
  }
3099
3100
0
  inline RunLeaderElectionRequestPB& operator=(RunLeaderElectionRequestPB&& from) noexcept {
3101
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3102
0
      if (this != &from) InternalSwap(&from);
3103
0
    } else {
3104
0
      CopyFrom(from);
3105
0
    }
3106
0
    return *this;
3107
0
  }
3108
  #endif
3109
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3110
0
    return _internal_metadata_.unknown_fields();
3111
0
  }
3112
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3113
0
    return _internal_metadata_.mutable_unknown_fields();
3114
0
  }
3115
3116
  static const ::google::protobuf::Descriptor* descriptor();
3117
  static const RunLeaderElectionRequestPB& default_instance();
3118
3119
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3120
178k
  static inline const RunLeaderElectionRequestPB* internal_default_instance() {
3121
178k
    return reinterpret_cast<const RunLeaderElectionRequestPB*>(
3122
178k
               &_RunLeaderElectionRequestPB_default_instance_);
3123
178k
  }
3124
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3125
    18;
3126
3127
  void Swap(RunLeaderElectionRequestPB* other);
3128
0
  friend void swap(RunLeaderElectionRequestPB& a, RunLeaderElectionRequestPB& b) {
3129
0
    a.Swap(&b);
3130
0
  }
3131
3132
  // implements Message ----------------------------------------------
3133
3134
0
  inline RunLeaderElectionRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3135
3136
  RunLeaderElectionRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3137
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3138
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3139
  void CopyFrom(const RunLeaderElectionRequestPB& from);
3140
  void MergeFrom(const RunLeaderElectionRequestPB& from);
3141
  void Clear() PROTOBUF_FINAL;
3142
  bool IsInitialized() const PROTOBUF_FINAL;
3143
3144
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3145
  bool MergePartialFromCodedStream(
3146
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3147
  void SerializeWithCachedSizes(
3148
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3149
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3150
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3151
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3152
  private:
3153
  void SharedCtor();
3154
  void SharedDtor();
3155
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3156
  void InternalSwap(RunLeaderElectionRequestPB* other);
3157
  private:
3158
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3159
0
    return NULL;
3160
0
  }
3161
0
  inline void* MaybeArenaPtr() const {
3162
0
    return NULL;
3163
0
  }
3164
  public:
3165
3166
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3167
3168
  // nested types ----------------------------------------------------
3169
3170
  // accessors -------------------------------------------------------
3171
3172
  // required bytes tablet_id = 1;
3173
  bool has_tablet_id() const;
3174
  void clear_tablet_id();
3175
  static const int kTabletIdFieldNumber = 1;
3176
  const ::std::string& tablet_id() const;
3177
  void set_tablet_id(const ::std::string& value);
3178
  #if LANG_CXX11
3179
  void set_tablet_id(::std::string&& value);
3180
  #endif
3181
  void set_tablet_id(const char* value);
3182
  void set_tablet_id(const void* value, size_t size);
3183
  ::std::string* mutable_tablet_id();
3184
  ::std::string* release_tablet_id();
3185
  void set_allocated_tablet_id(::std::string* tablet_id);
3186
3187
  // optional bytes dest_uuid = 2;
3188
  bool has_dest_uuid() const;
3189
  void clear_dest_uuid();
3190
  static const int kDestUuidFieldNumber = 2;
3191
  const ::std::string& dest_uuid() const;
3192
  void set_dest_uuid(const ::std::string& value);
3193
  #if LANG_CXX11
3194
  void set_dest_uuid(::std::string&& value);
3195
  #endif
3196
  void set_dest_uuid(const char* value);
3197
  void set_dest_uuid(const void* value, size_t size);
3198
  ::std::string* mutable_dest_uuid();
3199
  ::std::string* release_dest_uuid();
3200
  void set_allocated_dest_uuid(::std::string* dest_uuid);
3201
3202
  // optional bytes originator_uuid = 4;
3203
  bool has_originator_uuid() const;
3204
  void clear_originator_uuid();
3205
  static const int kOriginatorUuidFieldNumber = 4;
3206
  const ::std::string& originator_uuid() const;
3207
  void set_originator_uuid(const ::std::string& value);
3208
  #if LANG_CXX11
3209
  void set_originator_uuid(::std::string&& value);
3210
  #endif
3211
  void set_originator_uuid(const char* value);
3212
  void set_originator_uuid(const void* value, size_t size);
3213
  ::std::string* mutable_originator_uuid();
3214
  ::std::string* release_originator_uuid();
3215
  void set_allocated_originator_uuid(::std::string* originator_uuid);
3216
3217
  // optional .yb.OpIdPB committed_index = 3;
3218
  bool has_committed_index() const;
3219
  void clear_committed_index();
3220
  static const int kCommittedIndexFieldNumber = 3;
3221
  const ::yb::OpIdPB& committed_index() const;
3222
  ::yb::OpIdPB* release_committed_index();
3223
  ::yb::OpIdPB* mutable_committed_index();
3224
  void set_allocated_committed_index(::yb::OpIdPB* committed_index);
3225
3226
  // optional bool suppress_vote_request = 5;
3227
  bool has_suppress_vote_request() const;
3228
  void clear_suppress_vote_request();
3229
  static const int kSuppressVoteRequestFieldNumber = 5;
3230
  bool suppress_vote_request() const;
3231
  void set_suppress_vote_request(bool value);
3232
3233
  // optional bool initial_election = 6;
3234
  bool has_initial_election() const;
3235
  void clear_initial_election();
3236
  static const int kInitialElectionFieldNumber = 6;
3237
  bool initial_election() const;
3238
  void set_initial_election(bool value);
3239
3240
  // @@protoc_insertion_point(class_scope:yb.consensus.RunLeaderElectionRequestPB)
3241
 private:
3242
  void set_has_dest_uuid();
3243
  void clear_has_dest_uuid();
3244
  void set_has_tablet_id();
3245
  void clear_has_tablet_id();
3246
  void set_has_committed_index();
3247
  void clear_has_committed_index();
3248
  void set_has_originator_uuid();
3249
  void clear_has_originator_uuid();
3250
  void set_has_suppress_vote_request();
3251
  void clear_has_suppress_vote_request();
3252
  void set_has_initial_election();
3253
  void clear_has_initial_election();
3254
3255
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3256
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3257
  mutable int _cached_size_;
3258
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
3259
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
3260
  ::google::protobuf::internal::ArenaStringPtr originator_uuid_;
3261
  ::yb::OpIdPB* committed_index_;
3262
  bool suppress_vote_request_;
3263
  bool initial_election_;
3264
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3265
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsRunLeaderElectionRequestPBImpl();
3266
};
3267
// -------------------------------------------------------------------
3268
3269
class RunLeaderElectionResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.RunLeaderElectionResponsePB) */ {
3270
 public:
3271
  RunLeaderElectionResponsePB();
3272
  virtual ~RunLeaderElectionResponsePB();
3273
3274
  RunLeaderElectionResponsePB(const RunLeaderElectionResponsePB& from);
3275
3276
0
  inline RunLeaderElectionResponsePB& operator=(const RunLeaderElectionResponsePB& from) {
3277
0
    CopyFrom(from);
3278
0
    return *this;
3279
0
  }
3280
  #if LANG_CXX11
3281
  RunLeaderElectionResponsePB(RunLeaderElectionResponsePB&& from) noexcept
3282
0
    : RunLeaderElectionResponsePB() {
3283
0
    *this = ::std::move(from);
3284
0
  }
Unexecuted instantiation: _ZN2yb9consensus27RunLeaderElectionResponsePBC2EOS1_
Unexecuted instantiation: _ZN2yb9consensus27RunLeaderElectionResponsePBC1EOS1_
3285
3286
0
  inline RunLeaderElectionResponsePB& operator=(RunLeaderElectionResponsePB&& from) noexcept {
3287
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3288
0
      if (this != &from) InternalSwap(&from);
3289
0
    } else {
3290
0
      CopyFrom(from);
3291
0
    }
3292
0
    return *this;
3293
0
  }
3294
  #endif
3295
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3296
0
    return _internal_metadata_.unknown_fields();
3297
0
  }
3298
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3299
0
    return _internal_metadata_.mutable_unknown_fields();
3300
0
  }
3301
3302
  static const ::google::protobuf::Descriptor* descriptor();
3303
  static const RunLeaderElectionResponsePB& default_instance();
3304
3305
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3306
178k
  static inline const RunLeaderElectionResponsePB* internal_default_instance() {
3307
178k
    return reinterpret_cast<const RunLeaderElectionResponsePB*>(
3308
178k
               &_RunLeaderElectionResponsePB_default_instance_);
3309
178k
  }
3310
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3311
    19;
3312
3313
  void Swap(RunLeaderElectionResponsePB* other);
3314
0
  friend void swap(RunLeaderElectionResponsePB& a, RunLeaderElectionResponsePB& b) {
3315
0
    a.Swap(&b);
3316
0
  }
3317
3318
  // implements Message ----------------------------------------------
3319
3320
0
  inline RunLeaderElectionResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3321
3322
  RunLeaderElectionResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3323
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3324
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3325
  void CopyFrom(const RunLeaderElectionResponsePB& from);
3326
  void MergeFrom(const RunLeaderElectionResponsePB& from);
3327
  void Clear() PROTOBUF_FINAL;
3328
  bool IsInitialized() const PROTOBUF_FINAL;
3329
3330
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3331
  bool MergePartialFromCodedStream(
3332
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3333
  void SerializeWithCachedSizes(
3334
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3335
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3336
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3337
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3338
  private:
3339
  void SharedCtor();
3340
  void SharedDtor();
3341
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3342
  void InternalSwap(RunLeaderElectionResponsePB* other);
3343
  private:
3344
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3345
0
    return NULL;
3346
0
  }
3347
0
  inline void* MaybeArenaPtr() const {
3348
0
    return NULL;
3349
0
  }
3350
  public:
3351
3352
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3353
3354
  // nested types ----------------------------------------------------
3355
3356
  // accessors -------------------------------------------------------
3357
3358
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3359
  bool has_error() const;
3360
  void clear_error();
3361
  static const int kErrorFieldNumber = 1;
3362
  const ::yb::tserver::TabletServerErrorPB& error() const;
3363
  ::yb::tserver::TabletServerErrorPB* release_error();
3364
  ::yb::tserver::TabletServerErrorPB* mutable_error();
3365
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
3366
3367
  // @@protoc_insertion_point(class_scope:yb.consensus.RunLeaderElectionResponsePB)
3368
 private:
3369
  void set_has_error();
3370
  void clear_has_error();
3371
3372
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3373
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3374
  mutable int _cached_size_;
3375
  ::yb::tserver::TabletServerErrorPB* error_;
3376
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3377
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsRunLeaderElectionResponsePBImpl();
3378
};
3379
// -------------------------------------------------------------------
3380
3381
class LeaderElectionLostRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.LeaderElectionLostRequestPB) */ {
3382
 public:
3383
  LeaderElectionLostRequestPB();
3384
  virtual ~LeaderElectionLostRequestPB();
3385
3386
  LeaderElectionLostRequestPB(const LeaderElectionLostRequestPB& from);
3387
3388
0
  inline LeaderElectionLostRequestPB& operator=(const LeaderElectionLostRequestPB& from) {
3389
0
    CopyFrom(from);
3390
0
    return *this;
3391
0
  }
3392
  #if LANG_CXX11
3393
  LeaderElectionLostRequestPB(LeaderElectionLostRequestPB&& from) noexcept
3394
0
    : LeaderElectionLostRequestPB() {
3395
0
    *this = ::std::move(from);
3396
0
  }
3397
3398
0
  inline LeaderElectionLostRequestPB& operator=(LeaderElectionLostRequestPB&& from) noexcept {
3399
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3400
0
      if (this != &from) InternalSwap(&from);
3401
0
    } else {
3402
0
      CopyFrom(from);
3403
0
    }
3404
0
    return *this;
3405
0
  }
3406
  #endif
3407
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3408
0
    return _internal_metadata_.unknown_fields();
3409
0
  }
3410
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3411
0
    return _internal_metadata_.mutable_unknown_fields();
3412
0
  }
3413
3414
  static const ::google::protobuf::Descriptor* descriptor();
3415
  static const LeaderElectionLostRequestPB& default_instance();
3416
3417
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3418
15.9k
  static inline const LeaderElectionLostRequestPB* internal_default_instance() {
3419
15.9k
    return reinterpret_cast<const LeaderElectionLostRequestPB*>(
3420
15.9k
               &_LeaderElectionLostRequestPB_default_instance_);
3421
15.9k
  }
3422
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3423
    20;
3424
3425
  void Swap(LeaderElectionLostRequestPB* other);
3426
0
  friend void swap(LeaderElectionLostRequestPB& a, LeaderElectionLostRequestPB& b) {
3427
0
    a.Swap(&b);
3428
0
  }
3429
3430
  // implements Message ----------------------------------------------
3431
3432
0
  inline LeaderElectionLostRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3433
3434
  LeaderElectionLostRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3435
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3436
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3437
  void CopyFrom(const LeaderElectionLostRequestPB& from);
3438
  void MergeFrom(const LeaderElectionLostRequestPB& from);
3439
  void Clear() PROTOBUF_FINAL;
3440
  bool IsInitialized() const PROTOBUF_FINAL;
3441
3442
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3443
  bool MergePartialFromCodedStream(
3444
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3445
  void SerializeWithCachedSizes(
3446
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3447
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3448
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3449
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3450
  private:
3451
  void SharedCtor();
3452
  void SharedDtor();
3453
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3454
  void InternalSwap(LeaderElectionLostRequestPB* other);
3455
  private:
3456
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3457
0
    return NULL;
3458
0
  }
3459
0
  inline void* MaybeArenaPtr() const {
3460
0
    return NULL;
3461
0
  }
3462
  public:
3463
3464
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3465
3466
  // nested types ----------------------------------------------------
3467
3468
  // accessors -------------------------------------------------------
3469
3470
  // optional bytes dest_uuid = 1;
3471
  bool has_dest_uuid() const;
3472
  void clear_dest_uuid();
3473
  static const int kDestUuidFieldNumber = 1;
3474
  const ::std::string& dest_uuid() const;
3475
  void set_dest_uuid(const ::std::string& value);
3476
  #if LANG_CXX11
3477
  void set_dest_uuid(::std::string&& value);
3478
  #endif
3479
  void set_dest_uuid(const char* value);
3480
  void set_dest_uuid(const void* value, size_t size);
3481
  ::std::string* mutable_dest_uuid();
3482
  ::std::string* release_dest_uuid();
3483
  void set_allocated_dest_uuid(::std::string* dest_uuid);
3484
3485
  // optional bytes tablet_id = 2;
3486
  bool has_tablet_id() const;
3487
  void clear_tablet_id();
3488
  static const int kTabletIdFieldNumber = 2;
3489
  const ::std::string& tablet_id() const;
3490
  void set_tablet_id(const ::std::string& value);
3491
  #if LANG_CXX11
3492
  void set_tablet_id(::std::string&& value);
3493
  #endif
3494
  void set_tablet_id(const char* value);
3495
  void set_tablet_id(const void* value, size_t size);
3496
  ::std::string* mutable_tablet_id();
3497
  ::std::string* release_tablet_id();
3498
  void set_allocated_tablet_id(::std::string* tablet_id);
3499
3500
  // optional bytes election_lost_by_uuid = 3;
3501
  bool has_election_lost_by_uuid() const;
3502
  void clear_election_lost_by_uuid();
3503
  static const int kElectionLostByUuidFieldNumber = 3;
3504
  const ::std::string& election_lost_by_uuid() const;
3505
  void set_election_lost_by_uuid(const ::std::string& value);
3506
  #if LANG_CXX11
3507
  void set_election_lost_by_uuid(::std::string&& value);
3508
  #endif
3509
  void set_election_lost_by_uuid(const char* value);
3510
  void set_election_lost_by_uuid(const void* value, size_t size);
3511
  ::std::string* mutable_election_lost_by_uuid();
3512
  ::std::string* release_election_lost_by_uuid();
3513
  void set_allocated_election_lost_by_uuid(::std::string* election_lost_by_uuid);
3514
3515
  // @@protoc_insertion_point(class_scope:yb.consensus.LeaderElectionLostRequestPB)
3516
 private:
3517
  void set_has_dest_uuid();
3518
  void clear_has_dest_uuid();
3519
  void set_has_tablet_id();
3520
  void clear_has_tablet_id();
3521
  void set_has_election_lost_by_uuid();
3522
  void clear_has_election_lost_by_uuid();
3523
3524
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3525
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3526
  mutable int _cached_size_;
3527
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
3528
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
3529
  ::google::protobuf::internal::ArenaStringPtr election_lost_by_uuid_;
3530
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3531
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsLeaderElectionLostRequestPBImpl();
3532
};
3533
// -------------------------------------------------------------------
3534
3535
class LeaderElectionLostResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.LeaderElectionLostResponsePB) */ {
3536
 public:
3537
  LeaderElectionLostResponsePB();
3538
  virtual ~LeaderElectionLostResponsePB();
3539
3540
  LeaderElectionLostResponsePB(const LeaderElectionLostResponsePB& from);
3541
3542
0
  inline LeaderElectionLostResponsePB& operator=(const LeaderElectionLostResponsePB& from) {
3543
0
    CopyFrom(from);
3544
0
    return *this;
3545
0
  }
3546
  #if LANG_CXX11
3547
  LeaderElectionLostResponsePB(LeaderElectionLostResponsePB&& from) noexcept
3548
0
    : LeaderElectionLostResponsePB() {
3549
0
    *this = ::std::move(from);
3550
0
  }
3551
3552
0
  inline LeaderElectionLostResponsePB& operator=(LeaderElectionLostResponsePB&& from) noexcept {
3553
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3554
0
      if (this != &from) InternalSwap(&from);
3555
0
    } else {
3556
0
      CopyFrom(from);
3557
0
    }
3558
0
    return *this;
3559
0
  }
3560
  #endif
3561
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3562
0
    return _internal_metadata_.unknown_fields();
3563
0
  }
3564
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3565
0
    return _internal_metadata_.mutable_unknown_fields();
3566
0
  }
3567
3568
  static const ::google::protobuf::Descriptor* descriptor();
3569
  static const LeaderElectionLostResponsePB& default_instance();
3570
3571
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3572
16.0k
  static inline const LeaderElectionLostResponsePB* internal_default_instance() {
3573
16.0k
    return reinterpret_cast<const LeaderElectionLostResponsePB*>(
3574
16.0k
               &_LeaderElectionLostResponsePB_default_instance_);
3575
16.0k
  }
3576
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3577
    21;
3578
3579
  void Swap(LeaderElectionLostResponsePB* other);
3580
0
  friend void swap(LeaderElectionLostResponsePB& a, LeaderElectionLostResponsePB& b) {
3581
0
    a.Swap(&b);
3582
0
  }
3583
3584
  // implements Message ----------------------------------------------
3585
3586
0
  inline LeaderElectionLostResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3587
3588
  LeaderElectionLostResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3589
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3590
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3591
  void CopyFrom(const LeaderElectionLostResponsePB& from);
3592
  void MergeFrom(const LeaderElectionLostResponsePB& from);
3593
  void Clear() PROTOBUF_FINAL;
3594
  bool IsInitialized() const PROTOBUF_FINAL;
3595
3596
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3597
  bool MergePartialFromCodedStream(
3598
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3599
  void SerializeWithCachedSizes(
3600
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3601
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3602
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3603
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3604
  private:
3605
  void SharedCtor();
3606
  void SharedDtor();
3607
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3608
  void InternalSwap(LeaderElectionLostResponsePB* other);
3609
  private:
3610
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3611
0
    return NULL;
3612
0
  }
3613
0
  inline void* MaybeArenaPtr() const {
3614
0
    return NULL;
3615
0
  }
3616
  public:
3617
3618
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3619
3620
  // nested types ----------------------------------------------------
3621
3622
  // accessors -------------------------------------------------------
3623
3624
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3625
  bool has_error() const;
3626
  void clear_error();
3627
  static const int kErrorFieldNumber = 1;
3628
  const ::yb::tserver::TabletServerErrorPB& error() const;
3629
  ::yb::tserver::TabletServerErrorPB* release_error();
3630
  ::yb::tserver::TabletServerErrorPB* mutable_error();
3631
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
3632
3633
  // @@protoc_insertion_point(class_scope:yb.consensus.LeaderElectionLostResponsePB)
3634
 private:
3635
  void set_has_error();
3636
  void clear_has_error();
3637
3638
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3639
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3640
  mutable int _cached_size_;
3641
  ::yb::tserver::TabletServerErrorPB* error_;
3642
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3643
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsLeaderElectionLostResponsePBImpl();
3644
};
3645
// -------------------------------------------------------------------
3646
3647
class LeaderStepDownRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.LeaderStepDownRequestPB) */ {
3648
 public:
3649
  LeaderStepDownRequestPB();
3650
  virtual ~LeaderStepDownRequestPB();
3651
3652
  LeaderStepDownRequestPB(const LeaderStepDownRequestPB& from);
3653
3654
0
  inline LeaderStepDownRequestPB& operator=(const LeaderStepDownRequestPB& from) {
3655
0
    CopyFrom(from);
3656
0
    return *this;
3657
0
  }
3658
  #if LANG_CXX11
3659
  LeaderStepDownRequestPB(LeaderStepDownRequestPB&& from) noexcept
3660
0
    : LeaderStepDownRequestPB() {
3661
0
    *this = ::std::move(from);
3662
0
  }
3663
3664
0
  inline LeaderStepDownRequestPB& operator=(LeaderStepDownRequestPB&& from) noexcept {
3665
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3666
0
      if (this != &from) InternalSwap(&from);
3667
0
    } else {
3668
0
      CopyFrom(from);
3669
0
    }
3670
0
    return *this;
3671
0
  }
3672
  #endif
3673
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3674
0
    return _internal_metadata_.unknown_fields();
3675
0
  }
3676
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3677
0
    return _internal_metadata_.mutable_unknown_fields();
3678
0
  }
3679
3680
  static const ::google::protobuf::Descriptor* descriptor();
3681
  static const LeaderStepDownRequestPB& default_instance();
3682
3683
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3684
27.5k
  static inline const LeaderStepDownRequestPB* internal_default_instance() {
3685
27.5k
    return reinterpret_cast<const LeaderStepDownRequestPB*>(
3686
27.5k
               &_LeaderStepDownRequestPB_default_instance_);
3687
27.5k
  }
3688
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3689
    22;
3690
3691
  void Swap(LeaderStepDownRequestPB* other);
3692
0
  friend void swap(LeaderStepDownRequestPB& a, LeaderStepDownRequestPB& b) {
3693
0
    a.Swap(&b);
3694
0
  }
3695
3696
  // implements Message ----------------------------------------------
3697
3698
0
  inline LeaderStepDownRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3699
3700
  LeaderStepDownRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3701
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3702
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3703
  void CopyFrom(const LeaderStepDownRequestPB& from);
3704
  void MergeFrom(const LeaderStepDownRequestPB& from);
3705
  void Clear() PROTOBUF_FINAL;
3706
  bool IsInitialized() const PROTOBUF_FINAL;
3707
3708
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3709
  bool MergePartialFromCodedStream(
3710
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3711
  void SerializeWithCachedSizes(
3712
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3713
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3714
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3715
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3716
  private:
3717
  void SharedCtor();
3718
  void SharedDtor();
3719
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3720
  void InternalSwap(LeaderStepDownRequestPB* other);
3721
  private:
3722
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3723
0
    return NULL;
3724
0
  }
3725
0
  inline void* MaybeArenaPtr() const {
3726
0
    return NULL;
3727
0
  }
3728
  public:
3729
3730
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3731
3732
  // nested types ----------------------------------------------------
3733
3734
  // accessors -------------------------------------------------------
3735
3736
  // required bytes tablet_id = 1;
3737
  bool has_tablet_id() const;
3738
  void clear_tablet_id();
3739
  static const int kTabletIdFieldNumber = 1;
3740
  const ::std::string& tablet_id() const;
3741
  void set_tablet_id(const ::std::string& value);
3742
  #if LANG_CXX11
3743
  void set_tablet_id(::std::string&& value);
3744
  #endif
3745
  void set_tablet_id(const char* value);
3746
  void set_tablet_id(const void* value, size_t size);
3747
  ::std::string* mutable_tablet_id();
3748
  ::std::string* release_tablet_id();
3749
  void set_allocated_tablet_id(::std::string* tablet_id);
3750
3751
  // optional bytes dest_uuid = 2;
3752
  bool has_dest_uuid() const;
3753
  void clear_dest_uuid();
3754
  static const int kDestUuidFieldNumber = 2;
3755
  const ::std::string& dest_uuid() const;
3756
  void set_dest_uuid(const ::std::string& value);
3757
  #if LANG_CXX11
3758
  void set_dest_uuid(::std::string&& value);
3759
  #endif
3760
  void set_dest_uuid(const char* value);
3761
  void set_dest_uuid(const void* value, size_t size);
3762
  ::std::string* mutable_dest_uuid();
3763
  ::std::string* release_dest_uuid();
3764
  void set_allocated_dest_uuid(::std::string* dest_uuid);
3765
3766
  // optional bytes new_leader_uuid = 3;
3767
  bool has_new_leader_uuid() const;
3768
  void clear_new_leader_uuid();
3769
  static const int kNewLeaderUuidFieldNumber = 3;
3770
  const ::std::string& new_leader_uuid() const;
3771
  void set_new_leader_uuid(const ::std::string& value);
3772
  #if LANG_CXX11
3773
  void set_new_leader_uuid(::std::string&& value);
3774
  #endif
3775
  void set_new_leader_uuid(const char* value);
3776
  void set_new_leader_uuid(const void* value, size_t size);
3777
  ::std::string* mutable_new_leader_uuid();
3778
  ::std::string* release_new_leader_uuid();
3779
  void set_allocated_new_leader_uuid(::std::string* new_leader_uuid);
3780
3781
  // optional bool force_step_down = 4;
3782
  bool has_force_step_down() const;
3783
  void clear_force_step_down();
3784
  static const int kForceStepDownFieldNumber = 4;
3785
  bool force_step_down() const;
3786
  void set_force_step_down(bool value);
3787
3788
  // optional bool disable_graceful_transition = 5;
3789
  bool has_disable_graceful_transition() const;
3790
  void clear_disable_graceful_transition();
3791
  static const int kDisableGracefulTransitionFieldNumber = 5;
3792
  bool disable_graceful_transition() const;
3793
  void set_disable_graceful_transition(bool value);
3794
3795
  // @@protoc_insertion_point(class_scope:yb.consensus.LeaderStepDownRequestPB)
3796
 private:
3797
  void set_has_dest_uuid();
3798
  void clear_has_dest_uuid();
3799
  void set_has_tablet_id();
3800
  void clear_has_tablet_id();
3801
  void set_has_new_leader_uuid();
3802
  void clear_has_new_leader_uuid();
3803
  void set_has_force_step_down();
3804
  void clear_has_force_step_down();
3805
  void set_has_disable_graceful_transition();
3806
  void clear_has_disable_graceful_transition();
3807
3808
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3809
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3810
  mutable int _cached_size_;
3811
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
3812
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
3813
  ::google::protobuf::internal::ArenaStringPtr new_leader_uuid_;
3814
  bool force_step_down_;
3815
  bool disable_graceful_transition_;
3816
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3817
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsLeaderStepDownRequestPBImpl();
3818
};
3819
// -------------------------------------------------------------------
3820
3821
class LeaderStepDownResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.LeaderStepDownResponsePB) */ {
3822
 public:
3823
  LeaderStepDownResponsePB();
3824
  virtual ~LeaderStepDownResponsePB();
3825
3826
  LeaderStepDownResponsePB(const LeaderStepDownResponsePB& from);
3827
3828
0
  inline LeaderStepDownResponsePB& operator=(const LeaderStepDownResponsePB& from) {
3829
0
    CopyFrom(from);
3830
0
    return *this;
3831
0
  }
3832
  #if LANG_CXX11
3833
  LeaderStepDownResponsePB(LeaderStepDownResponsePB&& from) noexcept
3834
0
    : LeaderStepDownResponsePB() {
3835
0
    *this = ::std::move(from);
3836
0
  }
Unexecuted instantiation: _ZN2yb9consensus24LeaderStepDownResponsePBC2EOS1_
Unexecuted instantiation: _ZN2yb9consensus24LeaderStepDownResponsePBC1EOS1_
3837
3838
0
  inline LeaderStepDownResponsePB& operator=(LeaderStepDownResponsePB&& from) noexcept {
3839
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3840
0
      if (this != &from) InternalSwap(&from);
3841
0
    } else {
3842
0
      CopyFrom(from);
3843
0
    }
3844
0
    return *this;
3845
0
  }
3846
  #endif
3847
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3848
0
    return _internal_metadata_.unknown_fields();
3849
0
  }
3850
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3851
0
    return _internal_metadata_.mutable_unknown_fields();
3852
0
  }
3853
3854
  static const ::google::protobuf::Descriptor* descriptor();
3855
  static const LeaderStepDownResponsePB& default_instance();
3856
3857
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3858
36.0k
  static inline const LeaderStepDownResponsePB* internal_default_instance() {
3859
36.0k
    return reinterpret_cast<const LeaderStepDownResponsePB*>(
3860
36.0k
               &_LeaderStepDownResponsePB_default_instance_);
3861
36.0k
  }
3862
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3863
    23;
3864
3865
  void Swap(LeaderStepDownResponsePB* other);
3866
0
  friend void swap(LeaderStepDownResponsePB& a, LeaderStepDownResponsePB& b) {
3867
0
    a.Swap(&b);
3868
0
  }
3869
3870
  // implements Message ----------------------------------------------
3871
3872
0
  inline LeaderStepDownResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3873
3874
  LeaderStepDownResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3875
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3876
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3877
  void CopyFrom(const LeaderStepDownResponsePB& from);
3878
  void MergeFrom(const LeaderStepDownResponsePB& from);
3879
  void Clear() PROTOBUF_FINAL;
3880
  bool IsInitialized() const PROTOBUF_FINAL;
3881
3882
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3883
  bool MergePartialFromCodedStream(
3884
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3885
  void SerializeWithCachedSizes(
3886
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3887
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3888
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3889
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3890
  private:
3891
  void SharedCtor();
3892
  void SharedDtor();
3893
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3894
  void InternalSwap(LeaderStepDownResponsePB* other);
3895
  private:
3896
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3897
0
    return NULL;
3898
0
  }
3899
0
  inline void* MaybeArenaPtr() const {
3900
0
    return NULL;
3901
0
  }
3902
  public:
3903
3904
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3905
3906
  // nested types ----------------------------------------------------
3907
3908
  // accessors -------------------------------------------------------
3909
3910
  // optional .yb.tserver.TabletServerErrorPB error = 1;
3911
  bool has_error() const;
3912
  void clear_error();
3913
  static const int kErrorFieldNumber = 1;
3914
  const ::yb::tserver::TabletServerErrorPB& error() const;
3915
  ::yb::tserver::TabletServerErrorPB* release_error();
3916
  ::yb::tserver::TabletServerErrorPB* mutable_error();
3917
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
3918
3919
  // optional int64 time_since_election_failure_ms = 2;
3920
  bool has_time_since_election_failure_ms() const;
3921
  void clear_time_since_election_failure_ms();
3922
  static const int kTimeSinceElectionFailureMsFieldNumber = 2;
3923
  ::google::protobuf::int64 time_since_election_failure_ms() const;
3924
  void set_time_since_election_failure_ms(::google::protobuf::int64 value);
3925
3926
  // @@protoc_insertion_point(class_scope:yb.consensus.LeaderStepDownResponsePB)
3927
 private:
3928
  void set_has_error();
3929
  void clear_has_error();
3930
  void set_has_time_since_election_failure_ms();
3931
  void clear_has_time_since_election_failure_ms();
3932
3933
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3934
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3935
  mutable int _cached_size_;
3936
  ::yb::tserver::TabletServerErrorPB* error_;
3937
  ::google::protobuf::int64 time_since_election_failure_ms_;
3938
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
3939
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsLeaderStepDownResponsePBImpl();
3940
};
3941
// -------------------------------------------------------------------
3942
3943
class GetLastOpIdRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.GetLastOpIdRequestPB) */ {
3944
 public:
3945
  GetLastOpIdRequestPB();
3946
  virtual ~GetLastOpIdRequestPB();
3947
3948
  GetLastOpIdRequestPB(const GetLastOpIdRequestPB& from);
3949
3950
0
  inline GetLastOpIdRequestPB& operator=(const GetLastOpIdRequestPB& from) {
3951
0
    CopyFrom(from);
3952
0
    return *this;
3953
0
  }
3954
  #if LANG_CXX11
3955
  GetLastOpIdRequestPB(GetLastOpIdRequestPB&& from) noexcept
3956
0
    : GetLastOpIdRequestPB() {
3957
0
    *this = ::std::move(from);
3958
0
  }
3959
3960
0
  inline GetLastOpIdRequestPB& operator=(GetLastOpIdRequestPB&& from) noexcept {
3961
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3962
0
      if (this != &from) InternalSwap(&from);
3963
0
    } else {
3964
0
      CopyFrom(from);
3965
0
    }
3966
0
    return *this;
3967
0
  }
3968
  #endif
3969
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3970
0
    return _internal_metadata_.unknown_fields();
3971
0
  }
3972
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3973
0
    return _internal_metadata_.mutable_unknown_fields();
3974
0
  }
3975
3976
  static const ::google::protobuf::Descriptor* descriptor();
3977
  static const GetLastOpIdRequestPB& default_instance();
3978
3979
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3980
16.9k
  static inline const GetLastOpIdRequestPB* internal_default_instance() {
3981
16.9k
    return reinterpret_cast<const GetLastOpIdRequestPB*>(
3982
16.9k
               &_GetLastOpIdRequestPB_default_instance_);
3983
16.9k
  }
3984
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3985
    24;
3986
3987
  void Swap(GetLastOpIdRequestPB* other);
3988
0
  friend void swap(GetLastOpIdRequestPB& a, GetLastOpIdRequestPB& b) {
3989
0
    a.Swap(&b);
3990
0
  }
3991
3992
  // implements Message ----------------------------------------------
3993
3994
0
  inline GetLastOpIdRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3995
3996
  GetLastOpIdRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3997
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3998
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3999
  void CopyFrom(const GetLastOpIdRequestPB& from);
4000
  void MergeFrom(const GetLastOpIdRequestPB& from);
4001
  void Clear() PROTOBUF_FINAL;
4002
  bool IsInitialized() const PROTOBUF_FINAL;
4003
4004
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4005
  bool MergePartialFromCodedStream(
4006
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4007
  void SerializeWithCachedSizes(
4008
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4009
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4010
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4011
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4012
  private:
4013
  void SharedCtor();
4014
  void SharedDtor();
4015
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4016
  void InternalSwap(GetLastOpIdRequestPB* other);
4017
  private:
4018
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4019
0
    return NULL;
4020
0
  }
4021
0
  inline void* MaybeArenaPtr() const {
4022
0
    return NULL;
4023
0
  }
4024
  public:
4025
4026
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4027
4028
  // nested types ----------------------------------------------------
4029
4030
  // accessors -------------------------------------------------------
4031
4032
  // required bytes tablet_id = 1;
4033
  bool has_tablet_id() const;
4034
  void clear_tablet_id();
4035
  static const int kTabletIdFieldNumber = 1;
4036
  const ::std::string& tablet_id() const;
4037
  void set_tablet_id(const ::std::string& value);
4038
  #if LANG_CXX11
4039
  void set_tablet_id(::std::string&& value);
4040
  #endif
4041
  void set_tablet_id(const char* value);
4042
  void set_tablet_id(const void* value, size_t size);
4043
  ::std::string* mutable_tablet_id();
4044
  ::std::string* release_tablet_id();
4045
  void set_allocated_tablet_id(::std::string* tablet_id);
4046
4047
  // optional bytes dest_uuid = 2;
4048
  bool has_dest_uuid() const;
4049
  void clear_dest_uuid();
4050
  static const int kDestUuidFieldNumber = 2;
4051
  const ::std::string& dest_uuid() const;
4052
  void set_dest_uuid(const ::std::string& value);
4053
  #if LANG_CXX11
4054
  void set_dest_uuid(::std::string&& value);
4055
  #endif
4056
  void set_dest_uuid(const char* value);
4057
  void set_dest_uuid(const void* value, size_t size);
4058
  ::std::string* mutable_dest_uuid();
4059
  ::std::string* release_dest_uuid();
4060
  void set_allocated_dest_uuid(::std::string* dest_uuid);
4061
4062
  // optional .yb.consensus.OperationType op_type = 4;
4063
  bool has_op_type() const;
4064
  void clear_op_type();
4065
  static const int kOpTypeFieldNumber = 4;
4066
  ::yb::consensus::OperationType op_type() const;
4067
  void set_op_type(::yb::consensus::OperationType value);
4068
4069
  // optional .yb.consensus.OpIdType opid_type = 3 [default = RECEIVED_OPID];
4070
  bool has_opid_type() const;
4071
  void clear_opid_type();
4072
  static const int kOpidTypeFieldNumber = 3;
4073
  ::yb::consensus::OpIdType opid_type() const;
4074
  void set_opid_type(::yb::consensus::OpIdType value);
4075
4076
  // @@protoc_insertion_point(class_scope:yb.consensus.GetLastOpIdRequestPB)
4077
 private:
4078
  void set_has_dest_uuid();
4079
  void clear_has_dest_uuid();
4080
  void set_has_tablet_id();
4081
  void clear_has_tablet_id();
4082
  void set_has_opid_type();
4083
  void clear_has_opid_type();
4084
  void set_has_op_type();
4085
  void clear_has_op_type();
4086
4087
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4088
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4089
  mutable int _cached_size_;
4090
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
4091
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
4092
  int op_type_;
4093
  int opid_type_;
4094
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
4095
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsGetLastOpIdRequestPBImpl();
4096
};
4097
// -------------------------------------------------------------------
4098
4099
class GetLastOpIdResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.GetLastOpIdResponsePB) */ {
4100
 public:
4101
  GetLastOpIdResponsePB();
4102
  virtual ~GetLastOpIdResponsePB();
4103
4104
  GetLastOpIdResponsePB(const GetLastOpIdResponsePB& from);
4105
4106
0
  inline GetLastOpIdResponsePB& operator=(const GetLastOpIdResponsePB& from) {
4107
0
    CopyFrom(from);
4108
0
    return *this;
4109
0
  }
4110
  #if LANG_CXX11
4111
  GetLastOpIdResponsePB(GetLastOpIdResponsePB&& from) noexcept
4112
0
    : GetLastOpIdResponsePB() {
4113
0
    *this = ::std::move(from);
4114
0
  }
4115
4116
0
  inline GetLastOpIdResponsePB& operator=(GetLastOpIdResponsePB&& from) noexcept {
4117
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4118
0
      if (this != &from) InternalSwap(&from);
4119
0
    } else {
4120
0
      CopyFrom(from);
4121
0
    }
4122
0
    return *this;
4123
0
  }
4124
  #endif
4125
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4126
0
    return _internal_metadata_.unknown_fields();
4127
0
  }
4128
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4129
0
    return _internal_metadata_.mutable_unknown_fields();
4130
0
  }
4131
4132
  static const ::google::protobuf::Descriptor* descriptor();
4133
  static const GetLastOpIdResponsePB& default_instance();
4134
4135
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4136
19.1k
  static inline const GetLastOpIdResponsePB* internal_default_instance() {
4137
19.1k
    return reinterpret_cast<const GetLastOpIdResponsePB*>(
4138
19.1k
               &_GetLastOpIdResponsePB_default_instance_);
4139
19.1k
  }
4140
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4141
    25;
4142
4143
  void Swap(GetLastOpIdResponsePB* other);
4144
0
  friend void swap(GetLastOpIdResponsePB& a, GetLastOpIdResponsePB& b) {
4145
0
    a.Swap(&b);
4146
0
  }
4147
4148
  // implements Message ----------------------------------------------
4149
4150
0
  inline GetLastOpIdResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4151
4152
  GetLastOpIdResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4153
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4154
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4155
  void CopyFrom(const GetLastOpIdResponsePB& from);
4156
  void MergeFrom(const GetLastOpIdResponsePB& from);
4157
  void Clear() PROTOBUF_FINAL;
4158
  bool IsInitialized() const PROTOBUF_FINAL;
4159
4160
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4161
  bool MergePartialFromCodedStream(
4162
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4163
  void SerializeWithCachedSizes(
4164
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4165
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4166
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4167
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4168
  private:
4169
  void SharedCtor();
4170
  void SharedDtor();
4171
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4172
  void InternalSwap(GetLastOpIdResponsePB* other);
4173
  private:
4174
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4175
0
    return NULL;
4176
0
  }
4177
0
  inline void* MaybeArenaPtr() const {
4178
0
    return NULL;
4179
0
  }
4180
  public:
4181
4182
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4183
4184
  // nested types ----------------------------------------------------
4185
4186
  // accessors -------------------------------------------------------
4187
4188
  // optional .yb.OpIdPB opid = 1;
4189
  bool has_opid() const;
4190
  void clear_opid();
4191
  static const int kOpidFieldNumber = 1;
4192
  const ::yb::OpIdPB& opid() const;
4193
  ::yb::OpIdPB* release_opid();
4194
  ::yb::OpIdPB* mutable_opid();
4195
  void set_allocated_opid(::yb::OpIdPB* opid);
4196
4197
  // optional .yb.tserver.TabletServerErrorPB error = 2;
4198
  bool has_error() const;
4199
  void clear_error();
4200
  static const int kErrorFieldNumber = 2;
4201
  const ::yb::tserver::TabletServerErrorPB& error() const;
4202
  ::yb::tserver::TabletServerErrorPB* release_error();
4203
  ::yb::tserver::TabletServerErrorPB* mutable_error();
4204
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
4205
4206
  // @@protoc_insertion_point(class_scope:yb.consensus.GetLastOpIdResponsePB)
4207
 private:
4208
  void set_has_opid();
4209
  void clear_has_opid();
4210
  void set_has_error();
4211
  void clear_has_error();
4212
4213
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4214
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4215
  mutable int _cached_size_;
4216
  ::yb::OpIdPB* opid_;
4217
  ::yb::tserver::TabletServerErrorPB* error_;
4218
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
4219
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsGetLastOpIdResponsePBImpl();
4220
};
4221
// -------------------------------------------------------------------
4222
4223
class GetConsensusStateRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.GetConsensusStateRequestPB) */ {
4224
 public:
4225
  GetConsensusStateRequestPB();
4226
  virtual ~GetConsensusStateRequestPB();
4227
4228
  GetConsensusStateRequestPB(const GetConsensusStateRequestPB& from);
4229
4230
0
  inline GetConsensusStateRequestPB& operator=(const GetConsensusStateRequestPB& from) {
4231
0
    CopyFrom(from);
4232
0
    return *this;
4233
0
  }
4234
  #if LANG_CXX11
4235
  GetConsensusStateRequestPB(GetConsensusStateRequestPB&& from) noexcept
4236
0
    : GetConsensusStateRequestPB() {
4237
0
    *this = ::std::move(from);
4238
0
  }
4239
4240
0
  inline GetConsensusStateRequestPB& operator=(GetConsensusStateRequestPB&& from) noexcept {
4241
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4242
0
      if (this != &from) InternalSwap(&from);
4243
0
    } else {
4244
0
      CopyFrom(from);
4245
0
    }
4246
0
    return *this;
4247
0
  }
4248
  #endif
4249
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4250
0
    return _internal_metadata_.unknown_fields();
4251
0
  }
4252
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4253
0
    return _internal_metadata_.mutable_unknown_fields();
4254
0
  }
4255
4256
  static const ::google::protobuf::Descriptor* descriptor();
4257
  static const GetConsensusStateRequestPB& default_instance();
4258
4259
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4260
23.2k
  static inline const GetConsensusStateRequestPB* internal_default_instance() {
4261
23.2k
    return reinterpret_cast<const GetConsensusStateRequestPB*>(
4262
23.2k
               &_GetConsensusStateRequestPB_default_instance_);
4263
23.2k
  }
4264
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4265
    26;
4266
4267
  void Swap(GetConsensusStateRequestPB* other);
4268
0
  friend void swap(GetConsensusStateRequestPB& a, GetConsensusStateRequestPB& b) {
4269
0
    a.Swap(&b);
4270
0
  }
4271
4272
  // implements Message ----------------------------------------------
4273
4274
0
  inline GetConsensusStateRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4275
4276
  GetConsensusStateRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4277
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4278
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4279
  void CopyFrom(const GetConsensusStateRequestPB& from);
4280
  void MergeFrom(const GetConsensusStateRequestPB& from);
4281
  void Clear() PROTOBUF_FINAL;
4282
  bool IsInitialized() const PROTOBUF_FINAL;
4283
4284
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4285
  bool MergePartialFromCodedStream(
4286
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4287
  void SerializeWithCachedSizes(
4288
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4289
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4290
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4291
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4292
  private:
4293
  void SharedCtor();
4294
  void SharedDtor();
4295
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4296
  void InternalSwap(GetConsensusStateRequestPB* other);
4297
  private:
4298
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4299
0
    return NULL;
4300
0
  }
4301
0
  inline void* MaybeArenaPtr() const {
4302
0
    return NULL;
4303
0
  }
4304
  public:
4305
4306
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4307
4308
  // nested types ----------------------------------------------------
4309
4310
  // accessors -------------------------------------------------------
4311
4312
  // required bytes tablet_id = 1;
4313
  bool has_tablet_id() const;
4314
  void clear_tablet_id();
4315
  static const int kTabletIdFieldNumber = 1;
4316
  const ::std::string& tablet_id() const;
4317
  void set_tablet_id(const ::std::string& value);
4318
  #if LANG_CXX11
4319
  void set_tablet_id(::std::string&& value);
4320
  #endif
4321
  void set_tablet_id(const char* value);
4322
  void set_tablet_id(const void* value, size_t size);
4323
  ::std::string* mutable_tablet_id();
4324
  ::std::string* release_tablet_id();
4325
  void set_allocated_tablet_id(::std::string* tablet_id);
4326
4327
  // optional bytes dest_uuid = 2;
4328
  bool has_dest_uuid() const;
4329
  void clear_dest_uuid();
4330
  static const int kDestUuidFieldNumber = 2;
4331
  const ::std::string& dest_uuid() const;
4332
  void set_dest_uuid(const ::std::string& value);
4333
  #if LANG_CXX11
4334
  void set_dest_uuid(::std::string&& value);
4335
  #endif
4336
  void set_dest_uuid(const char* value);
4337
  void set_dest_uuid(const void* value, size_t size);
4338
  ::std::string* mutable_dest_uuid();
4339
  ::std::string* release_dest_uuid();
4340
  void set_allocated_dest_uuid(::std::string* dest_uuid);
4341
4342
  // optional .yb.consensus.ConsensusConfigType type = 3 [default = CONSENSUS_CONFIG_COMMITTED];
4343
  bool has_type() const;
4344
  void clear_type();
4345
  static const int kTypeFieldNumber = 3;
4346
  ::yb::consensus::ConsensusConfigType type() const;
4347
  void set_type(::yb::consensus::ConsensusConfigType value);
4348
4349
  // @@protoc_insertion_point(class_scope:yb.consensus.GetConsensusStateRequestPB)
4350
 private:
4351
  void set_has_dest_uuid();
4352
  void clear_has_dest_uuid();
4353
  void set_has_tablet_id();
4354
  void clear_has_tablet_id();
4355
  void set_has_type();
4356
  void clear_has_type();
4357
4358
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4359
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4360
  mutable int _cached_size_;
4361
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
4362
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
4363
  int type_;
4364
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
4365
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsGetConsensusStateRequestPBImpl();
4366
};
4367
// -------------------------------------------------------------------
4368
4369
class GetConsensusStateResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.GetConsensusStateResponsePB) */ {
4370
 public:
4371
  GetConsensusStateResponsePB();
4372
  virtual ~GetConsensusStateResponsePB();
4373
4374
  GetConsensusStateResponsePB(const GetConsensusStateResponsePB& from);
4375
4376
0
  inline GetConsensusStateResponsePB& operator=(const GetConsensusStateResponsePB& from) {
4377
0
    CopyFrom(from);
4378
0
    return *this;
4379
0
  }
4380
  #if LANG_CXX11
4381
  GetConsensusStateResponsePB(GetConsensusStateResponsePB&& from) noexcept
4382
0
    : GetConsensusStateResponsePB() {
4383
0
    *this = ::std::move(from);
4384
0
  }
4385
4386
0
  inline GetConsensusStateResponsePB& operator=(GetConsensusStateResponsePB&& from) noexcept {
4387
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4388
0
      if (this != &from) InternalSwap(&from);
4389
0
    } else {
4390
0
      CopyFrom(from);
4391
0
    }
4392
0
    return *this;
4393
0
  }
4394
  #endif
4395
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4396
0
    return _internal_metadata_.unknown_fields();
4397
0
  }
4398
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4399
0
    return _internal_metadata_.mutable_unknown_fields();
4400
0
  }
4401
4402
  static const ::google::protobuf::Descriptor* descriptor();
4403
  static const GetConsensusStateResponsePB& default_instance();
4404
4405
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4406
38.1k
  static inline const GetConsensusStateResponsePB* internal_default_instance() {
4407
38.1k
    return reinterpret_cast<const GetConsensusStateResponsePB*>(
4408
38.1k
               &_GetConsensusStateResponsePB_default_instance_);
4409
38.1k
  }
4410
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4411
    27;
4412
4413
  void Swap(GetConsensusStateResponsePB* other);
4414
0
  friend void swap(GetConsensusStateResponsePB& a, GetConsensusStateResponsePB& b) {
4415
0
    a.Swap(&b);
4416
0
  }
4417
4418
  // implements Message ----------------------------------------------
4419
4420
0
  inline GetConsensusStateResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4421
4422
  GetConsensusStateResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4423
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4424
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4425
  void CopyFrom(const GetConsensusStateResponsePB& from);
4426
  void MergeFrom(const GetConsensusStateResponsePB& from);
4427
  void Clear() PROTOBUF_FINAL;
4428
  bool IsInitialized() const PROTOBUF_FINAL;
4429
4430
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4431
  bool MergePartialFromCodedStream(
4432
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4433
  void SerializeWithCachedSizes(
4434
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4435
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4436
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4437
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4438
  private:
4439
  void SharedCtor();
4440
  void SharedDtor();
4441
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4442
  void InternalSwap(GetConsensusStateResponsePB* other);
4443
  private:
4444
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4445
0
    return NULL;
4446
0
  }
4447
0
  inline void* MaybeArenaPtr() const {
4448
0
    return NULL;
4449
0
  }
4450
  public:
4451
4452
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4453
4454
  // nested types ----------------------------------------------------
4455
4456
  // accessors -------------------------------------------------------
4457
4458
  // optional .yb.consensus.ConsensusStatePB cstate = 1;
4459
  bool has_cstate() const;
4460
  void clear_cstate();
4461
  static const int kCstateFieldNumber = 1;
4462
  const ::yb::consensus::ConsensusStatePB& cstate() const;
4463
  ::yb::consensus::ConsensusStatePB* release_cstate();
4464
  ::yb::consensus::ConsensusStatePB* mutable_cstate();
4465
  void set_allocated_cstate(::yb::consensus::ConsensusStatePB* cstate);
4466
4467
  // optional .yb.tserver.TabletServerErrorPB error = 2;
4468
  bool has_error() const;
4469
  void clear_error();
4470
  static const int kErrorFieldNumber = 2;
4471
  const ::yb::tserver::TabletServerErrorPB& error() const;
4472
  ::yb::tserver::TabletServerErrorPB* release_error();
4473
  ::yb::tserver::TabletServerErrorPB* mutable_error();
4474
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
4475
4476
  // optional .yb.consensus.LeaderLeaseStatus leader_lease_status = 3;
4477
  bool has_leader_lease_status() const;
4478
  void clear_leader_lease_status();
4479
  static const int kLeaderLeaseStatusFieldNumber = 3;
4480
  ::yb::consensus::LeaderLeaseStatus leader_lease_status() const;
4481
  void set_leader_lease_status(::yb::consensus::LeaderLeaseStatus value);
4482
4483
  // @@protoc_insertion_point(class_scope:yb.consensus.GetConsensusStateResponsePB)
4484
 private:
4485
  void set_has_cstate();
4486
  void clear_has_cstate();
4487
  void set_has_error();
4488
  void clear_has_error();
4489
  void set_has_leader_lease_status();
4490
  void clear_has_leader_lease_status();
4491
4492
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4493
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4494
  mutable int _cached_size_;
4495
  ::yb::consensus::ConsensusStatePB* cstate_;
4496
  ::yb::tserver::TabletServerErrorPB* error_;
4497
  int leader_lease_status_;
4498
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
4499
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsGetConsensusStateResponsePBImpl();
4500
};
4501
// -------------------------------------------------------------------
4502
4503
class StartRemoteBootstrapRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.StartRemoteBootstrapRequestPB) */ {
4504
 public:
4505
  StartRemoteBootstrapRequestPB();
4506
  virtual ~StartRemoteBootstrapRequestPB();
4507
4508
  StartRemoteBootstrapRequestPB(const StartRemoteBootstrapRequestPB& from);
4509
4510
0
  inline StartRemoteBootstrapRequestPB& operator=(const StartRemoteBootstrapRequestPB& from) {
4511
0
    CopyFrom(from);
4512
0
    return *this;
4513
0
  }
4514
  #if LANG_CXX11
4515
  StartRemoteBootstrapRequestPB(StartRemoteBootstrapRequestPB&& from) noexcept
4516
0
    : StartRemoteBootstrapRequestPB() {
4517
0
    *this = ::std::move(from);
4518
0
  }
4519
4520
0
  inline StartRemoteBootstrapRequestPB& operator=(StartRemoteBootstrapRequestPB&& from) noexcept {
4521
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4522
0
      if (this != &from) InternalSwap(&from);
4523
0
    } else {
4524
0
      CopyFrom(from);
4525
0
    }
4526
0
    return *this;
4527
0
  }
4528
  #endif
4529
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4530
0
    return _internal_metadata_.unknown_fields();
4531
0
  }
4532
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4533
0
    return _internal_metadata_.mutable_unknown_fields();
4534
0
  }
4535
4536
  static const ::google::protobuf::Descriptor* descriptor();
4537
  static const StartRemoteBootstrapRequestPB& default_instance();
4538
4539
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4540
138k
  static inline const StartRemoteBootstrapRequestPB* internal_default_instance() {
4541
138k
    return reinterpret_cast<const StartRemoteBootstrapRequestPB*>(
4542
138k
               &_StartRemoteBootstrapRequestPB_default_instance_);
4543
138k
  }
4544
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4545
    28;
4546
4547
  void Swap(StartRemoteBootstrapRequestPB* other);
4548
0
  friend void swap(StartRemoteBootstrapRequestPB& a, StartRemoteBootstrapRequestPB& b) {
4549
0
    a.Swap(&b);
4550
0
  }
4551
4552
  // implements Message ----------------------------------------------
4553
4554
0
  inline StartRemoteBootstrapRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4555
4556
  StartRemoteBootstrapRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4557
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4558
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4559
  void CopyFrom(const StartRemoteBootstrapRequestPB& from);
4560
  void MergeFrom(const StartRemoteBootstrapRequestPB& from);
4561
  void Clear() PROTOBUF_FINAL;
4562
  bool IsInitialized() const PROTOBUF_FINAL;
4563
4564
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4565
  bool MergePartialFromCodedStream(
4566
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4567
  void SerializeWithCachedSizes(
4568
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4569
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4570
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4571
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4572
  private:
4573
  void SharedCtor();
4574
  void SharedDtor();
4575
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4576
  void InternalSwap(StartRemoteBootstrapRequestPB* other);
4577
  private:
4578
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4579
0
    return NULL;
4580
0
  }
4581
0
  inline void* MaybeArenaPtr() const {
4582
0
    return NULL;
4583
0
  }
4584
  public:
4585
4586
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4587
4588
  // nested types ----------------------------------------------------
4589
4590
  // accessors -------------------------------------------------------
4591
4592
  // repeated .yb.HostPortPB source_private_addr = 3;
4593
  int source_private_addr_size() const;
4594
  void clear_source_private_addr();
4595
  static const int kSourcePrivateAddrFieldNumber = 3;
4596
  const ::yb::HostPortPB& source_private_addr(int index) const;
4597
  ::yb::HostPortPB* mutable_source_private_addr(int index);
4598
  ::yb::HostPortPB* add_source_private_addr();
4599
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
4600
      mutable_source_private_addr();
4601
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
4602
      source_private_addr() const;
4603
4604
  // repeated .yb.HostPortPB source_broadcast_addr = 6;
4605
  int source_broadcast_addr_size() const;
4606
  void clear_source_broadcast_addr();
4607
  static const int kSourceBroadcastAddrFieldNumber = 6;
4608
  const ::yb::HostPortPB& source_broadcast_addr(int index) const;
4609
  ::yb::HostPortPB* mutable_source_broadcast_addr(int index);
4610
  ::yb::HostPortPB* add_source_broadcast_addr();
4611
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
4612
      mutable_source_broadcast_addr();
4613
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
4614
      source_broadcast_addr() const;
4615
4616
  // required bytes tablet_id = 1;
4617
  bool has_tablet_id() const;
4618
  void clear_tablet_id();
4619
  static const int kTabletIdFieldNumber = 1;
4620
  const ::std::string& tablet_id() const;
4621
  void set_tablet_id(const ::std::string& value);
4622
  #if LANG_CXX11
4623
  void set_tablet_id(::std::string&& value);
4624
  #endif
4625
  void set_tablet_id(const char* value);
4626
  void set_tablet_id(const void* value, size_t size);
4627
  ::std::string* mutable_tablet_id();
4628
  ::std::string* release_tablet_id();
4629
  void set_allocated_tablet_id(::std::string* tablet_id);
4630
4631
  // required bytes bootstrap_peer_uuid = 2;
4632
  bool has_bootstrap_peer_uuid() const;
4633
  void clear_bootstrap_peer_uuid();
4634
  static const int kBootstrapPeerUuidFieldNumber = 2;
4635
  const ::std::string& bootstrap_peer_uuid() const;
4636
  void set_bootstrap_peer_uuid(const ::std::string& value);
4637
  #if LANG_CXX11
4638
  void set_bootstrap_peer_uuid(::std::string&& value);
4639
  #endif
4640
  void set_bootstrap_peer_uuid(const char* value);
4641
  void set_bootstrap_peer_uuid(const void* value, size_t size);
4642
  ::std::string* mutable_bootstrap_peer_uuid();
4643
  ::std::string* release_bootstrap_peer_uuid();
4644
  void set_allocated_bootstrap_peer_uuid(::std::string* bootstrap_peer_uuid);
4645
4646
  // optional bytes dest_uuid = 5;
4647
  bool has_dest_uuid() const;
4648
  void clear_dest_uuid();
4649
  static const int kDestUuidFieldNumber = 5;
4650
  const ::std::string& dest_uuid() const;
4651
  void set_dest_uuid(const ::std::string& value);
4652
  #if LANG_CXX11
4653
  void set_dest_uuid(::std::string&& value);
4654
  #endif
4655
  void set_dest_uuid(const char* value);
4656
  void set_dest_uuid(const void* value, size_t size);
4657
  ::std::string* mutable_dest_uuid();
4658
  ::std::string* release_dest_uuid();
4659
  void set_allocated_dest_uuid(::std::string* dest_uuid);
4660
4661
  // optional bytes split_parent_tablet_id = 8;
4662
  bool has_split_parent_tablet_id() const;
4663
  void clear_split_parent_tablet_id();
4664
  static const int kSplitParentTabletIdFieldNumber = 8;
4665
  const ::std::string& split_parent_tablet_id() const;
4666
  void set_split_parent_tablet_id(const ::std::string& value);
4667
  #if LANG_CXX11
4668
  void set_split_parent_tablet_id(::std::string&& value);
4669
  #endif
4670
  void set_split_parent_tablet_id(const char* value);
4671
  void set_split_parent_tablet_id(const void* value, size_t size);
4672
  ::std::string* mutable_split_parent_tablet_id();
4673
  ::std::string* release_split_parent_tablet_id();
4674
  void set_allocated_split_parent_tablet_id(::std::string* split_parent_tablet_id);
4675
4676
  // optional .yb.CloudInfoPB source_cloud_info = 7;
4677
  bool has_source_cloud_info() const;
4678
  void clear_source_cloud_info();
4679
  static const int kSourceCloudInfoFieldNumber = 7;
4680
  const ::yb::CloudInfoPB& source_cloud_info() const;
4681
  ::yb::CloudInfoPB* release_source_cloud_info();
4682
  ::yb::CloudInfoPB* mutable_source_cloud_info();
4683
  void set_allocated_source_cloud_info(::yb::CloudInfoPB* source_cloud_info);
4684
4685
  // optional int64 caller_term = 4 [default = -1];
4686
  bool has_caller_term() const;
4687
  void clear_caller_term();
4688
  static const int kCallerTermFieldNumber = 4;
4689
  ::google::protobuf::int64 caller_term() const;
4690
  void set_caller_term(::google::protobuf::int64 value);
4691
4692
  // @@protoc_insertion_point(class_scope:yb.consensus.StartRemoteBootstrapRequestPB)
4693
 private:
4694
  void set_has_dest_uuid();
4695
  void clear_has_dest_uuid();
4696
  void set_has_tablet_id();
4697
  void clear_has_tablet_id();
4698
  void set_has_split_parent_tablet_id();
4699
  void clear_has_split_parent_tablet_id();
4700
  void set_has_bootstrap_peer_uuid();
4701
  void clear_has_bootstrap_peer_uuid();
4702
  void set_has_source_cloud_info();
4703
  void clear_has_source_cloud_info();
4704
  void set_has_caller_term();
4705
  void clear_has_caller_term();
4706
4707
  // helper for ByteSizeLong()
4708
  size_t RequiredFieldsByteSizeFallback() const;
4709
4710
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4711
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4712
  mutable int _cached_size_;
4713
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > source_private_addr_;
4714
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > source_broadcast_addr_;
4715
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
4716
  ::google::protobuf::internal::ArenaStringPtr bootstrap_peer_uuid_;
4717
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
4718
  ::google::protobuf::internal::ArenaStringPtr split_parent_tablet_id_;
4719
  ::yb::CloudInfoPB* source_cloud_info_;
4720
  ::google::protobuf::int64 caller_term_;
4721
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
4722
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsStartRemoteBootstrapRequestPBImpl();
4723
};
4724
// -------------------------------------------------------------------
4725
4726
class StartRemoteBootstrapResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.StartRemoteBootstrapResponsePB) */ {
4727
 public:
4728
  StartRemoteBootstrapResponsePB();
4729
  virtual ~StartRemoteBootstrapResponsePB();
4730
4731
  StartRemoteBootstrapResponsePB(const StartRemoteBootstrapResponsePB& from);
4732
4733
0
  inline StartRemoteBootstrapResponsePB& operator=(const StartRemoteBootstrapResponsePB& from) {
4734
0
    CopyFrom(from);
4735
0
    return *this;
4736
0
  }
4737
  #if LANG_CXX11
4738
  StartRemoteBootstrapResponsePB(StartRemoteBootstrapResponsePB&& from) noexcept
4739
0
    : StartRemoteBootstrapResponsePB() {
4740
0
    *this = ::std::move(from);
4741
0
  }
4742
4743
0
  inline StartRemoteBootstrapResponsePB& operator=(StartRemoteBootstrapResponsePB&& from) noexcept {
4744
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4745
0
      if (this != &from) InternalSwap(&from);
4746
0
    } else {
4747
0
      CopyFrom(from);
4748
0
    }
4749
0
    return *this;
4750
0
  }
4751
  #endif
4752
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4753
0
    return _internal_metadata_.unknown_fields();
4754
0
  }
4755
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4756
0
    return _internal_metadata_.mutable_unknown_fields();
4757
0
  }
4758
4759
  static const ::google::protobuf::Descriptor* descriptor();
4760
  static const StartRemoteBootstrapResponsePB& default_instance();
4761
4762
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4763
138k
  static inline const StartRemoteBootstrapResponsePB* internal_default_instance() {
4764
138k
    return reinterpret_cast<const StartRemoteBootstrapResponsePB*>(
4765
138k
               &_StartRemoteBootstrapResponsePB_default_instance_);
4766
138k
  }
4767
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4768
    29;
4769
4770
  void Swap(StartRemoteBootstrapResponsePB* other);
4771
0
  friend void swap(StartRemoteBootstrapResponsePB& a, StartRemoteBootstrapResponsePB& b) {
4772
0
    a.Swap(&b);
4773
0
  }
4774
4775
  // implements Message ----------------------------------------------
4776
4777
0
  inline StartRemoteBootstrapResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4778
4779
  StartRemoteBootstrapResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4780
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4781
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4782
  void CopyFrom(const StartRemoteBootstrapResponsePB& from);
4783
  void MergeFrom(const StartRemoteBootstrapResponsePB& from);
4784
  void Clear() PROTOBUF_FINAL;
4785
  bool IsInitialized() const PROTOBUF_FINAL;
4786
4787
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4788
  bool MergePartialFromCodedStream(
4789
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4790
  void SerializeWithCachedSizes(
4791
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4792
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4793
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4794
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4795
  private:
4796
  void SharedCtor();
4797
  void SharedDtor();
4798
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4799
  void InternalSwap(StartRemoteBootstrapResponsePB* other);
4800
  private:
4801
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4802
0
    return NULL;
4803
0
  }
4804
0
  inline void* MaybeArenaPtr() const {
4805
0
    return NULL;
4806
0
  }
4807
  public:
4808
4809
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4810
4811
  // nested types ----------------------------------------------------
4812
4813
  // accessors -------------------------------------------------------
4814
4815
  // optional .yb.tserver.TabletServerErrorPB error = 1;
4816
  bool has_error() const;
4817
  void clear_error();
4818
  static const int kErrorFieldNumber = 1;
4819
  const ::yb::tserver::TabletServerErrorPB& error() const;
4820
  ::yb::tserver::TabletServerErrorPB* release_error();
4821
  ::yb::tserver::TabletServerErrorPB* mutable_error();
4822
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
4823
4824
  // @@protoc_insertion_point(class_scope:yb.consensus.StartRemoteBootstrapResponsePB)
4825
 private:
4826
  void set_has_error();
4827
  void clear_has_error();
4828
4829
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4830
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4831
  mutable int _cached_size_;
4832
  ::yb::tserver::TabletServerErrorPB* error_;
4833
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
4834
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsStartRemoteBootstrapResponsePBImpl();
4835
};
4836
// -------------------------------------------------------------------
4837
4838
class UnsafeChangeConfigRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.UnsafeChangeConfigRequestPB) */ {
4839
 public:
4840
  UnsafeChangeConfigRequestPB();
4841
  virtual ~UnsafeChangeConfigRequestPB();
4842
4843
  UnsafeChangeConfigRequestPB(const UnsafeChangeConfigRequestPB& from);
4844
4845
0
  inline UnsafeChangeConfigRequestPB& operator=(const UnsafeChangeConfigRequestPB& from) {
4846
0
    CopyFrom(from);
4847
0
    return *this;
4848
0
  }
4849
  #if LANG_CXX11
4850
  UnsafeChangeConfigRequestPB(UnsafeChangeConfigRequestPB&& from) noexcept
4851
0
    : UnsafeChangeConfigRequestPB() {
4852
0
    *this = ::std::move(from);
4853
0
  }
4854
4855
0
  inline UnsafeChangeConfigRequestPB& operator=(UnsafeChangeConfigRequestPB&& from) noexcept {
4856
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4857
0
      if (this != &from) InternalSwap(&from);
4858
0
    } else {
4859
0
      CopyFrom(from);
4860
0
    }
4861
0
    return *this;
4862
0
  }
4863
  #endif
4864
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4865
0
    return _internal_metadata_.unknown_fields();
4866
0
  }
4867
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4868
0
    return _internal_metadata_.mutable_unknown_fields();
4869
0
  }
4870
4871
  static const ::google::protobuf::Descriptor* descriptor();
4872
  static const UnsafeChangeConfigRequestPB& default_instance();
4873
4874
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4875
13.6k
  static inline const UnsafeChangeConfigRequestPB* internal_default_instance() {
4876
13.6k
    return reinterpret_cast<const UnsafeChangeConfigRequestPB*>(
4877
13.6k
               &_UnsafeChangeConfigRequestPB_default_instance_);
4878
13.6k
  }
4879
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4880
    30;
4881
4882
  void Swap(UnsafeChangeConfigRequestPB* other);
4883
0
  friend void swap(UnsafeChangeConfigRequestPB& a, UnsafeChangeConfigRequestPB& b) {
4884
0
    a.Swap(&b);
4885
0
  }
4886
4887
  // implements Message ----------------------------------------------
4888
4889
0
  inline UnsafeChangeConfigRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4890
4891
  UnsafeChangeConfigRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4892
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4893
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4894
  void CopyFrom(const UnsafeChangeConfigRequestPB& from);
4895
  void MergeFrom(const UnsafeChangeConfigRequestPB& from);
4896
  void Clear() PROTOBUF_FINAL;
4897
  bool IsInitialized() const PROTOBUF_FINAL;
4898
4899
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4900
  bool MergePartialFromCodedStream(
4901
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4902
  void SerializeWithCachedSizes(
4903
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4904
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4905
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4906
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4907
  private:
4908
  void SharedCtor();
4909
  void SharedDtor();
4910
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4911
  void InternalSwap(UnsafeChangeConfigRequestPB* other);
4912
  private:
4913
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4914
0
    return NULL;
4915
0
  }
4916
0
  inline void* MaybeArenaPtr() const {
4917
0
    return NULL;
4918
0
  }
4919
  public:
4920
4921
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4922
4923
  // nested types ----------------------------------------------------
4924
4925
  // accessors -------------------------------------------------------
4926
4927
  // optional bytes dest_uuid = 1;
4928
  bool has_dest_uuid() const;
4929
  void clear_dest_uuid();
4930
  static const int kDestUuidFieldNumber = 1;
4931
  const ::std::string& dest_uuid() const;
4932
  void set_dest_uuid(const ::std::string& value);
4933
  #if LANG_CXX11
4934
  void set_dest_uuid(::std::string&& value);
4935
  #endif
4936
  void set_dest_uuid(const char* value);
4937
  void set_dest_uuid(const void* value, size_t size);
4938
  ::std::string* mutable_dest_uuid();
4939
  ::std::string* release_dest_uuid();
4940
  void set_allocated_dest_uuid(::std::string* dest_uuid);
4941
4942
  // required bytes tablet_id = 2;
4943
  bool has_tablet_id() const;
4944
  void clear_tablet_id();
4945
  static const int kTabletIdFieldNumber = 2;
4946
  const ::std::string& tablet_id() const;
4947
  void set_tablet_id(const ::std::string& value);
4948
  #if LANG_CXX11
4949
  void set_tablet_id(::std::string&& value);
4950
  #endif
4951
  void set_tablet_id(const char* value);
4952
  void set_tablet_id(const void* value, size_t size);
4953
  ::std::string* mutable_tablet_id();
4954
  ::std::string* release_tablet_id();
4955
  void set_allocated_tablet_id(::std::string* tablet_id);
4956
4957
  // required bytes caller_id = 3;
4958
  bool has_caller_id() const;
4959
  void clear_caller_id();
4960
  static const int kCallerIdFieldNumber = 3;
4961
  const ::std::string& caller_id() const;
4962
  void set_caller_id(const ::std::string& value);
4963
  #if LANG_CXX11
4964
  void set_caller_id(::std::string&& value);
4965
  #endif
4966
  void set_caller_id(const char* value);
4967
  void set_caller_id(const void* value, size_t size);
4968
  ::std::string* mutable_caller_id();
4969
  ::std::string* release_caller_id();
4970
  void set_allocated_caller_id(::std::string* caller_id);
4971
4972
  // required .yb.consensus.RaftConfigPB new_config = 4;
4973
  bool has_new_config() const;
4974
  void clear_new_config();
4975
  static const int kNewConfigFieldNumber = 4;
4976
  const ::yb::consensus::RaftConfigPB& new_config() const;
4977
  ::yb::consensus::RaftConfigPB* release_new_config();
4978
  ::yb::consensus::RaftConfigPB* mutable_new_config();
4979
  void set_allocated_new_config(::yb::consensus::RaftConfigPB* new_config);
4980
4981
  // @@protoc_insertion_point(class_scope:yb.consensus.UnsafeChangeConfigRequestPB)
4982
 private:
4983
  void set_has_dest_uuid();
4984
  void clear_has_dest_uuid();
4985
  void set_has_tablet_id();
4986
  void clear_has_tablet_id();
4987
  void set_has_caller_id();
4988
  void clear_has_caller_id();
4989
  void set_has_new_config();
4990
  void clear_has_new_config();
4991
4992
  // helper for ByteSizeLong()
4993
  size_t RequiredFieldsByteSizeFallback() const;
4994
4995
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4996
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4997
  mutable int _cached_size_;
4998
  ::google::protobuf::internal::ArenaStringPtr dest_uuid_;
4999
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
5000
  ::google::protobuf::internal::ArenaStringPtr caller_id_;
5001
  ::yb::consensus::RaftConfigPB* new_config_;
5002
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
5003
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsUnsafeChangeConfigRequestPBImpl();
5004
};
5005
// -------------------------------------------------------------------
5006
5007
class UnsafeChangeConfigResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.consensus.UnsafeChangeConfigResponsePB) */ {
5008
 public:
5009
  UnsafeChangeConfigResponsePB();
5010
  virtual ~UnsafeChangeConfigResponsePB();
5011
5012
  UnsafeChangeConfigResponsePB(const UnsafeChangeConfigResponsePB& from);
5013
5014
0
  inline UnsafeChangeConfigResponsePB& operator=(const UnsafeChangeConfigResponsePB& from) {
5015
0
    CopyFrom(from);
5016
0
    return *this;
5017
0
  }
5018
  #if LANG_CXX11
5019
  UnsafeChangeConfigResponsePB(UnsafeChangeConfigResponsePB&& from) noexcept
5020
0
    : UnsafeChangeConfigResponsePB() {
5021
0
    *this = ::std::move(from);
5022
0
  }
5023
5024
0
  inline UnsafeChangeConfigResponsePB& operator=(UnsafeChangeConfigResponsePB&& from) noexcept {
5025
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5026
0
      if (this != &from) InternalSwap(&from);
5027
0
    } else {
5028
0
      CopyFrom(from);
5029
0
    }
5030
0
    return *this;
5031
0
  }
5032
  #endif
5033
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5034
0
    return _internal_metadata_.unknown_fields();
5035
0
  }
5036
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5037
0
    return _internal_metadata_.mutable_unknown_fields();
5038
0
  }
5039
5040
  static const ::google::protobuf::Descriptor* descriptor();
5041
  static const UnsafeChangeConfigResponsePB& default_instance();
5042
5043
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
5044
13.6k
  static inline const UnsafeChangeConfigResponsePB* internal_default_instance() {
5045
13.6k
    return reinterpret_cast<const UnsafeChangeConfigResponsePB*>(
5046
13.6k
               &_UnsafeChangeConfigResponsePB_default_instance_);
5047
13.6k
  }
5048
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5049
    31;
5050
5051
  void Swap(UnsafeChangeConfigResponsePB* other);
5052
0
  friend void swap(UnsafeChangeConfigResponsePB& a, UnsafeChangeConfigResponsePB& b) {
5053
0
    a.Swap(&b);
5054
0
  }
5055
5056
  // implements Message ----------------------------------------------
5057
5058
0
  inline UnsafeChangeConfigResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
5059
5060
  UnsafeChangeConfigResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5061
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5062
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5063
  void CopyFrom(const UnsafeChangeConfigResponsePB& from);
5064
  void MergeFrom(const UnsafeChangeConfigResponsePB& from);
5065
  void Clear() PROTOBUF_FINAL;
5066
  bool IsInitialized() const PROTOBUF_FINAL;
5067
5068
  size_t ByteSizeLong() const PROTOBUF_FINAL;
5069
  bool MergePartialFromCodedStream(
5070
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5071
  void SerializeWithCachedSizes(
5072
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5073
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5074
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
5075
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5076
  private:
5077
  void SharedCtor();
5078
  void SharedDtor();
5079
  void SetCachedSize(int size) const PROTOBUF_FINAL;
5080
  void InternalSwap(UnsafeChangeConfigResponsePB* other);
5081
  private:
5082
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5083
0
    return NULL;
5084
0
  }
5085
0
  inline void* MaybeArenaPtr() const {
5086
0
    return NULL;
5087
0
  }
5088
  public:
5089
5090
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5091
5092
  // nested types ----------------------------------------------------
5093
5094
  // accessors -------------------------------------------------------
5095
5096
  // optional .yb.tserver.TabletServerErrorPB error = 1;
5097
  bool has_error() const;
5098
  void clear_error();
5099
  static const int kErrorFieldNumber = 1;
5100
  const ::yb::tserver::TabletServerErrorPB& error() const;
5101
  ::yb::tserver::TabletServerErrorPB* release_error();
5102
  ::yb::tserver::TabletServerErrorPB* mutable_error();
5103
  void set_allocated_error(::yb::tserver::TabletServerErrorPB* error);
5104
5105
  // @@protoc_insertion_point(class_scope:yb.consensus.UnsafeChangeConfigResponsePB)
5106
 private:
5107
  void set_has_error();
5108
  void clear_has_error();
5109
5110
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5111
  ::google::protobuf::internal::HasBits<1> _has_bits_;
5112
  mutable int _cached_size_;
5113
  ::yb::tserver::TabletServerErrorPB* error_;
5114
  friend struct ::protobuf_yb_2fconsensus_2fconsensus_2eproto::TableStruct;
5115
  friend void ::protobuf_yb_2fconsensus_2fconsensus_2eproto::InitDefaultsUnsafeChangeConfigResponsePBImpl();
5116
};
5117
// ===================================================================
5118
5119
5120
// ===================================================================
5121
5122
#ifdef __GNUC__
5123
  #pragma GCC diagnostic push
5124
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
5125
#endif  // __GNUC__
5126
// ChangeConfigRecordPB
5127
5128
// required bytes tablet_id = 1;
5129
20.5k
inline bool ChangeConfigRecordPB::has_tablet_id() const {
5130
20.5k
  return (_has_bits_[0] & 0x00000001u) != 0;
5131
20.5k
}
5132
16.8k
inline void ChangeConfigRecordPB::set_has_tablet_id() {
5133
16.8k
  _has_bits_[0] |= 0x00000001u;
5134
16.8k
}
5135
0
inline void ChangeConfigRecordPB::clear_has_tablet_id() {
5136
0
  _has_bits_[0] &= ~0x00000001u;
5137
0
}
5138
0
inline void ChangeConfigRecordPB::clear_tablet_id() {
5139
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5140
0
  clear_has_tablet_id();
5141
0
}
5142
59.5k
inline const ::std::string& ChangeConfigRecordPB::tablet_id() const {
5143
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRecordPB.tablet_id)
5144
59.5k
  return tablet_id_.GetNoArena();
5145
59.5k
}
5146
0
inline void ChangeConfigRecordPB::set_tablet_id(const ::std::string& value) {
5147
0
  set_has_tablet_id();
5148
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5149
0
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigRecordPB.tablet_id)
5150
0
}
5151
#if LANG_CXX11
5152
2.93k
inline void ChangeConfigRecordPB::set_tablet_id(::std::string&& value) {
5153
2.93k
  set_has_tablet_id();
5154
2.93k
  tablet_id_.SetNoArena(
5155
2.93k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5156
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ChangeConfigRecordPB.tablet_id)
5157
2.93k
}
5158
#endif
5159
0
inline void ChangeConfigRecordPB::set_tablet_id(const char* value) {
5160
0
  GOOGLE_DCHECK(value != NULL);
5161
0
  set_has_tablet_id();
5162
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5163
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.ChangeConfigRecordPB.tablet_id)
5164
0
}
5165
0
inline void ChangeConfigRecordPB::set_tablet_id(const void* value, size_t size) {
5166
0
  set_has_tablet_id();
5167
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5168
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5169
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ChangeConfigRecordPB.tablet_id)
5170
0
}
5171
13.8k
inline ::std::string* ChangeConfigRecordPB::mutable_tablet_id() {
5172
13.8k
  set_has_tablet_id();
5173
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigRecordPB.tablet_id)
5174
13.8k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5175
13.8k
}
5176
0
inline ::std::string* ChangeConfigRecordPB::release_tablet_id() {
5177
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigRecordPB.tablet_id)
5178
0
  clear_has_tablet_id();
5179
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5180
0
}
5181
0
inline void ChangeConfigRecordPB::set_allocated_tablet_id(::std::string* tablet_id) {
5182
0
  if (tablet_id != NULL) {
5183
0
    set_has_tablet_id();
5184
0
  } else {
5185
0
    clear_has_tablet_id();
5186
0
  }
5187
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
5188
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigRecordPB.tablet_id)
5189
0
}
5190
5191
// required .yb.consensus.RaftConfigPB old_config = 2;
5192
94.7k
inline bool ChangeConfigRecordPB::has_old_config() const {
5193
94.7k
  return (_has_bits_[0] & 0x00000002u) != 0;
5194
94.7k
}
5195
16.8k
inline void ChangeConfigRecordPB::set_has_old_config() {
5196
16.8k
  _has_bits_[0] |= 0x00000002u;
5197
16.8k
}
5198
0
inline void ChangeConfigRecordPB::clear_has_old_config() {
5199
0
  _has_bits_[0] &= ~0x00000002u;
5200
0
}
5201
28.2k
inline const ::yb::consensus::RaftConfigPB& ChangeConfigRecordPB::old_config() const {
5202
28.2k
  const ::yb::consensus::RaftConfigPB* p = old_config_;
5203
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRecordPB.old_config)
5204
28.2k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::RaftConfigPB*>(
5205
0
      &::yb::consensus::_RaftConfigPB_default_instance_);
5206
28.2k
}
5207
0
inline ::yb::consensus::RaftConfigPB* ChangeConfigRecordPB::release_old_config() {
5208
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigRecordPB.old_config)
5209
0
  clear_has_old_config();
5210
0
  ::yb::consensus::RaftConfigPB* temp = old_config_;
5211
0
  old_config_ = NULL;
5212
0
  return temp;
5213
0
}
5214
16.8k
inline ::yb::consensus::RaftConfigPB* ChangeConfigRecordPB::mutable_old_config() {
5215
16.8k
  set_has_old_config();
5216
16.8k
  if (old_config_ == NULL) {
5217
16.8k
    old_config_ = new ::yb::consensus::RaftConfigPB;
5218
16.8k
  }
5219
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigRecordPB.old_config)
5220
16.8k
  return old_config_;
5221
16.8k
}
5222
0
inline void ChangeConfigRecordPB::set_allocated_old_config(::yb::consensus::RaftConfigPB* old_config) {
5223
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5224
0
  if (message_arena == NULL) {
5225
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(old_config_);
5226
0
  }
5227
0
  if (old_config) {
5228
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5229
0
    if (message_arena != submessage_arena) {
5230
0
      old_config = ::google::protobuf::internal::GetOwnedMessage(
5231
0
          message_arena, old_config, submessage_arena);
5232
0
    }
5233
0
    set_has_old_config();
5234
0
  } else {
5235
0
    clear_has_old_config();
5236
0
  }
5237
0
  old_config_ = old_config;
5238
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigRecordPB.old_config)
5239
0
}
5240
5241
// required .yb.consensus.RaftConfigPB new_config = 3;
5242
94.8k
inline bool ChangeConfigRecordPB::has_new_config() const {
5243
94.8k
  return (_has_bits_[0] & 0x00000004u) != 0;
5244
94.8k
}
5245
16.8k
inline void ChangeConfigRecordPB::set_has_new_config() {
5246
16.8k
  _has_bits_[0] |= 0x00000004u;
5247
16.8k
}
5248
0
inline void ChangeConfigRecordPB::clear_has_new_config() {
5249
0
  _has_bits_[0] &= ~0x00000004u;
5250
0
}
5251
30.4k
inline const ::yb::consensus::RaftConfigPB& ChangeConfigRecordPB::new_config() const {
5252
30.4k
  const ::yb::consensus::RaftConfigPB* p = new_config_;
5253
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRecordPB.new_config)
5254
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::RaftConfigPB*>(
5255
18.4E
      &::yb::consensus::_RaftConfigPB_default_instance_);
5256
30.4k
}
5257
0
inline ::yb::consensus::RaftConfigPB* ChangeConfigRecordPB::release_new_config() {
5258
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigRecordPB.new_config)
5259
0
  clear_has_new_config();
5260
0
  ::yb::consensus::RaftConfigPB* temp = new_config_;
5261
0
  new_config_ = NULL;
5262
0
  return temp;
5263
0
}
5264
16.8k
inline ::yb::consensus::RaftConfigPB* ChangeConfigRecordPB::mutable_new_config() {
5265
16.8k
  set_has_new_config();
5266
16.8k
  if (new_config_ == NULL) {
5267
16.8k
    new_config_ = new ::yb::consensus::RaftConfigPB;
5268
16.8k
  }
5269
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigRecordPB.new_config)
5270
16.8k
  return new_config_;
5271
16.8k
}
5272
0
inline void ChangeConfigRecordPB::set_allocated_new_config(::yb::consensus::RaftConfigPB* new_config) {
5273
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5274
0
  if (message_arena == NULL) {
5275
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(new_config_);
5276
0
  }
5277
0
  if (new_config) {
5278
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5279
0
    if (message_arena != submessage_arena) {
5280
0
      new_config = ::google::protobuf::internal::GetOwnedMessage(
5281
0
          message_arena, new_config, submessage_arena);
5282
0
    }
5283
0
    set_has_new_config();
5284
0
  } else {
5285
0
    clear_has_new_config();
5286
0
  }
5287
0
  new_config_ = new_config;
5288
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigRecordPB.new_config)
5289
0
}
5290
5291
// -------------------------------------------------------------------
5292
5293
// ChangeConfigRequestPB
5294
5295
// optional bytes dest_uuid = 4;
5296
4.77k
inline bool ChangeConfigRequestPB::has_dest_uuid() const {
5297
4.77k
  return (_has_bits_[0] & 0x00000002u) != 0;
5298
4.77k
}
5299
4.80k
inline void ChangeConfigRequestPB::set_has_dest_uuid() {
5300
4.80k
  _has_bits_[0] |= 0x00000002u;
5301
4.80k
}
5302
0
inline void ChangeConfigRequestPB::clear_has_dest_uuid() {
5303
0
  _has_bits_[0] &= ~0x00000002u;
5304
0
}
5305
0
inline void ChangeConfigRequestPB::clear_dest_uuid() {
5306
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5307
0
  clear_has_dest_uuid();
5308
0
}
5309
14.4k
inline const ::std::string& ChangeConfigRequestPB::dest_uuid() const {
5310
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5311
14.4k
  return dest_uuid_.GetNoArena();
5312
14.4k
}
5313
56
inline void ChangeConfigRequestPB::set_dest_uuid(const ::std::string& value) {
5314
56
  set_has_dest_uuid();
5315
56
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5316
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5317
56
}
5318
#if LANG_CXX11
5319
2.33k
inline void ChangeConfigRequestPB::set_dest_uuid(::std::string&& value) {
5320
2.33k
  set_has_dest_uuid();
5321
2.33k
  dest_uuid_.SetNoArena(
5322
2.33k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5323
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5324
2.33k
}
5325
#endif
5326
0
inline void ChangeConfigRequestPB::set_dest_uuid(const char* value) {
5327
0
  GOOGLE_DCHECK(value != NULL);
5328
0
  set_has_dest_uuid();
5329
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5330
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5331
0
}
5332
0
inline void ChangeConfigRequestPB::set_dest_uuid(const void* value, size_t size) {
5333
0
  set_has_dest_uuid();
5334
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5335
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5336
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5337
0
}
5338
2.41k
inline ::std::string* ChangeConfigRequestPB::mutable_dest_uuid() {
5339
2.41k
  set_has_dest_uuid();
5340
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5341
2.41k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5342
2.41k
}
5343
0
inline ::std::string* ChangeConfigRequestPB::release_dest_uuid() {
5344
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5345
0
  clear_has_dest_uuid();
5346
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5347
0
}
5348
0
inline void ChangeConfigRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
5349
0
  if (dest_uuid != NULL) {
5350
0
    set_has_dest_uuid();
5351
0
  } else {
5352
0
    clear_has_dest_uuid();
5353
0
  }
5354
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
5355
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigRequestPB.dest_uuid)
5356
0
}
5357
5358
// required bytes tablet_id = 1;
5359
4.78k
inline bool ChangeConfigRequestPB::has_tablet_id() const {
5360
4.78k
  return (_has_bits_[0] & 0x00000001u) != 0;
5361
4.78k
}
5362
3.05M
inline void ChangeConfigRequestPB::set_has_tablet_id() {
5363
3.05M
  _has_bits_[0] |= 0x00000001u;
5364
3.05M
}
5365
0
inline void ChangeConfigRequestPB::clear_has_tablet_id() {
5366
0
  _has_bits_[0] &= ~0x00000001u;
5367
0
}
5368
0
inline void ChangeConfigRequestPB::clear_tablet_id() {
5369
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5370
0
  clear_has_tablet_id();
5371
0
}
5372
9.67k
inline const ::std::string& ChangeConfigRequestPB::tablet_id() const {
5373
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRequestPB.tablet_id)
5374
9.67k
  return tablet_id_.GetNoArena();
5375
9.67k
}
5376
3.04M
inline void ChangeConfigRequestPB::set_tablet_id(const ::std::string& value) {
5377
3.04M
  set_has_tablet_id();
5378
3.04M
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5379
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigRequestPB.tablet_id)
5380
3.04M
}
5381
#if LANG_CXX11
5382
160
inline void ChangeConfigRequestPB::set_tablet_id(::std::string&& value) {
5383
160
  set_has_tablet_id();
5384
160
  tablet_id_.SetNoArena(
5385
160
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5386
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ChangeConfigRequestPB.tablet_id)
5387
160
}
5388
#endif
5389
17
inline void ChangeConfigRequestPB::set_tablet_id(const char* value) {
5390
17
  GOOGLE_DCHECK(value != NULL);
5391
17
  set_has_tablet_id();
5392
17
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5393
  // @@protoc_insertion_point(field_set_char:yb.consensus.ChangeConfigRequestPB.tablet_id)
5394
17
}
5395
0
inline void ChangeConfigRequestPB::set_tablet_id(const void* value, size_t size) {
5396
0
  set_has_tablet_id();
5397
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5398
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5399
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ChangeConfigRequestPB.tablet_id)
5400
0
}
5401
2.50k
inline ::std::string* ChangeConfigRequestPB::mutable_tablet_id() {
5402
2.50k
  set_has_tablet_id();
5403
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigRequestPB.tablet_id)
5404
2.50k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5405
2.50k
}
5406
0
inline ::std::string* ChangeConfigRequestPB::release_tablet_id() {
5407
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigRequestPB.tablet_id)
5408
0
  clear_has_tablet_id();
5409
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5410
0
}
5411
0
inline void ChangeConfigRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
5412
0
  if (tablet_id != NULL) {
5413
0
    set_has_tablet_id();
5414
0
  } else {
5415
0
    clear_has_tablet_id();
5416
0
  }
5417
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
5418
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigRequestPB.tablet_id)
5419
0
}
5420
5421
// optional .yb.consensus.ChangeConfigType type = 2;
5422
3.05M
inline bool ChangeConfigRequestPB::has_type() const {
5423
3.05M
  return (_has_bits_[0] & 0x00000008u) != 0;
5424
3.05M
}
5425
3.05M
inline void ChangeConfigRequestPB::set_has_type() {
5426
3.05M
  _has_bits_[0] |= 0x00000008u;
5427
3.05M
}
5428
0
inline void ChangeConfigRequestPB::clear_has_type() {
5429
0
  _has_bits_[0] &= ~0x00000008u;
5430
0
}
5431
0
inline void ChangeConfigRequestPB::clear_type() {
5432
0
  type_ = 0;
5433
0
  clear_has_type();
5434
0
}
5435
3.05M
inline ::yb::consensus::ChangeConfigType ChangeConfigRequestPB::type() const {
5436
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRequestPB.type)
5437
3.05M
  return static_cast< ::yb::consensus::ChangeConfigType >(type_);
5438
3.05M
}
5439
3.05M
inline void ChangeConfigRequestPB::set_type(::yb::consensus::ChangeConfigType value) {
5440
3.05M
  assert(::yb::consensus::ChangeConfigType_IsValid(value));
5441
3.05M
  set_has_type();
5442
3.05M
  type_ = value;
5443
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigRequestPB.type)
5444
3.05M
}
5445
5446
// optional .yb.consensus.RaftPeerPB server = 3;
5447
3.05M
inline bool ChangeConfigRequestPB::has_server() const {
5448
3.05M
  return (_has_bits_[0] & 0x00000004u) != 0;
5449
3.05M
}
5450
3.05M
inline void ChangeConfigRequestPB::set_has_server() {
5451
3.05M
  _has_bits_[0] |= 0x00000004u;
5452
3.05M
}
5453
0
inline void ChangeConfigRequestPB::clear_has_server() {
5454
0
  _has_bits_[0] &= ~0x00000004u;
5455
0
}
5456
3.04M
inline const ::yb::consensus::RaftPeerPB& ChangeConfigRequestPB::server() const {
5457
3.04M
  const ::yb::consensus::RaftPeerPB* p = server_;
5458
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRequestPB.server)
5459
3.04M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::RaftPeerPB*>(
5460
0
      &::yb::consensus::_RaftPeerPB_default_instance_);
5461
3.04M
}
5462
0
inline ::yb::consensus::RaftPeerPB* ChangeConfigRequestPB::release_server() {
5463
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigRequestPB.server)
5464
0
  clear_has_server();
5465
0
  ::yb::consensus::RaftPeerPB* temp = server_;
5466
0
  server_ = NULL;
5467
0
  return temp;
5468
0
}
5469
3.05M
inline ::yb::consensus::RaftPeerPB* ChangeConfigRequestPB::mutable_server() {
5470
3.05M
  set_has_server();
5471
3.05M
  if (server_ == NULL) {
5472
3.05M
    server_ = new ::yb::consensus::RaftPeerPB;
5473
3.05M
  }
5474
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigRequestPB.server)
5475
3.05M
  return server_;
5476
3.05M
}
5477
0
inline void ChangeConfigRequestPB::set_allocated_server(::yb::consensus::RaftPeerPB* server) {
5478
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5479
0
  if (message_arena == NULL) {
5480
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(server_);
5481
0
  }
5482
0
  if (server) {
5483
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5484
0
    if (message_arena != submessage_arena) {
5485
0
      server = ::google::protobuf::internal::GetOwnedMessage(
5486
0
          message_arena, server, submessage_arena);
5487
0
    }
5488
0
    set_has_server();
5489
0
  } else {
5490
0
    clear_has_server();
5491
0
  }
5492
0
  server_ = server;
5493
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigRequestPB.server)
5494
0
}
5495
5496
// optional int64 cas_config_opid_index = 5;
5497
7.74k
inline bool ChangeConfigRequestPB::has_cas_config_opid_index() const {
5498
7.74k
  return (_has_bits_[0] & 0x00000020u) != 0;
5499
7.74k
}
5500
4.86k
inline void ChangeConfigRequestPB::set_has_cas_config_opid_index() {
5501
4.86k
  _has_bits_[0] |= 0x00000020u;
5502
4.86k
}
5503
0
inline void ChangeConfigRequestPB::clear_has_cas_config_opid_index() {
5504
0
  _has_bits_[0] &= ~0x00000020u;
5505
0
}
5506
0
inline void ChangeConfigRequestPB::clear_cas_config_opid_index() {
5507
0
  cas_config_opid_index_ = GOOGLE_LONGLONG(0);
5508
0
  clear_has_cas_config_opid_index();
5509
0
}
5510
8.88k
inline ::google::protobuf::int64 ChangeConfigRequestPB::cas_config_opid_index() const {
5511
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRequestPB.cas_config_opid_index)
5512
8.88k
  return cas_config_opid_index_;
5513
8.88k
}
5514
2.50k
inline void ChangeConfigRequestPB::set_cas_config_opid_index(::google::protobuf::int64 value) {
5515
2.50k
  set_has_cas_config_opid_index();
5516
2.50k
  cas_config_opid_index_ = value;
5517
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigRequestPB.cas_config_opid_index)
5518
2.50k
}
5519
5520
// optional bool use_host = 6 [default = false];
5521
3.05M
inline bool ChangeConfigRequestPB::has_use_host() const {
5522
3.05M
  return (_has_bits_[0] & 0x00000010u) != 0;
5523
3.05M
}
5524
39
inline void ChangeConfigRequestPB::set_has_use_host() {
5525
39
  _has_bits_[0] |= 0x00000010u;
5526
39
}
5527
0
inline void ChangeConfigRequestPB::clear_has_use_host() {
5528
0
  _has_bits_[0] &= ~0x00000010u;
5529
0
}
5530
0
inline void ChangeConfigRequestPB::clear_use_host() {
5531
0
  use_host_ = false;
5532
0
  clear_has_use_host();
5533
0
}
5534
51
inline bool ChangeConfigRequestPB::use_host() const {
5535
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigRequestPB.use_host)
5536
51
  return use_host_;
5537
51
}
5538
17
inline void ChangeConfigRequestPB::set_use_host(bool value) {
5539
17
  set_has_use_host();
5540
17
  use_host_ = value;
5541
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigRequestPB.use_host)
5542
17
}
5543
5544
// -------------------------------------------------------------------
5545
5546
// ChangeConfigResponsePB
5547
5548
// optional .yb.tserver.TabletServerErrorPB error = 1;
5549
8.68k
inline bool ChangeConfigResponsePB::has_error() const {
5550
8.68k
  return (_has_bits_[0] & 0x00000001u) != 0;
5551
8.68k
}
5552
1.40k
inline void ChangeConfigResponsePB::set_has_error() {
5553
1.40k
  _has_bits_[0] |= 0x00000001u;
5554
1.40k
}
5555
0
inline void ChangeConfigResponsePB::clear_has_error() {
5556
0
  _has_bits_[0] &= ~0x00000001u;
5557
0
}
5558
1.72k
inline const ::yb::tserver::TabletServerErrorPB& ChangeConfigResponsePB::error() const {
5559
1.72k
  const ::yb::tserver::TabletServerErrorPB* p = error_;
5560
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigResponsePB.error)
5561
1.72k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
5562
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
5563
1.72k
}
5564
0
inline ::yb::tserver::TabletServerErrorPB* ChangeConfigResponsePB::release_error() {
5565
0
  // @@protoc_insertion_point(field_release:yb.consensus.ChangeConfigResponsePB.error)
5566
0
  clear_has_error();
5567
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
5568
0
  error_ = NULL;
5569
0
  return temp;
5570
0
}
5571
1.40k
inline ::yb::tserver::TabletServerErrorPB* ChangeConfigResponsePB::mutable_error() {
5572
1.40k
  set_has_error();
5573
1.40k
  if (error_ == NULL) {
5574
1.25k
    error_ = new ::yb::tserver::TabletServerErrorPB;
5575
1.25k
  }
5576
  // @@protoc_insertion_point(field_mutable:yb.consensus.ChangeConfigResponsePB.error)
5577
1.40k
  return error_;
5578
1.40k
}
5579
0
inline void ChangeConfigResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
5580
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5581
0
  if (message_arena == NULL) {
5582
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
5583
0
  }
5584
0
  if (error) {
5585
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5586
0
    if (message_arena != submessage_arena) {
5587
0
      error = ::google::protobuf::internal::GetOwnedMessage(
5588
0
          message_arena, error, submessage_arena);
5589
0
    }
5590
0
    set_has_error();
5591
0
  } else {
5592
0
    clear_has_error();
5593
0
  }
5594
0
  error_ = error;
5595
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ChangeConfigResponsePB.error)
5596
0
}
5597
5598
// optional fixed64 hybrid_time = 2;
5599
1.44k
inline bool ChangeConfigResponsePB::has_hybrid_time() const {
5600
1.44k
  return (_has_bits_[0] & 0x00000002u) != 0;
5601
1.44k
}
5602
0
inline void ChangeConfigResponsePB::set_has_hybrid_time() {
5603
0
  _has_bits_[0] |= 0x00000002u;
5604
0
}
5605
0
inline void ChangeConfigResponsePB::clear_has_hybrid_time() {
5606
0
  _has_bits_[0] &= ~0x00000002u;
5607
0
}
5608
0
inline void ChangeConfigResponsePB::clear_hybrid_time() {
5609
0
  hybrid_time_ = GOOGLE_ULONGLONG(0);
5610
0
  clear_has_hybrid_time();
5611
0
}
5612
0
inline ::google::protobuf::uint64 ChangeConfigResponsePB::hybrid_time() const {
5613
0
  // @@protoc_insertion_point(field_get:yb.consensus.ChangeConfigResponsePB.hybrid_time)
5614
0
  return hybrid_time_;
5615
0
}
5616
0
inline void ChangeConfigResponsePB::set_hybrid_time(::google::protobuf::uint64 value) {
5617
0
  set_has_hybrid_time();
5618
0
  hybrid_time_ = value;
5619
0
  // @@protoc_insertion_point(field_set:yb.consensus.ChangeConfigResponsePB.hybrid_time)
5620
0
}
5621
5622
// -------------------------------------------------------------------
5623
5624
// HistoryCutoffPB
5625
5626
// optional fixed64 history_cutoff = 1;
5627
0
inline bool HistoryCutoffPB::has_history_cutoff() const {
5628
0
  return (_has_bits_[0] & 0x00000001u) != 0;
5629
0
}
5630
0
inline void HistoryCutoffPB::set_has_history_cutoff() {
5631
0
  _has_bits_[0] |= 0x00000001u;
5632
0
}
5633
0
inline void HistoryCutoffPB::clear_has_history_cutoff() {
5634
0
  _has_bits_[0] &= ~0x00000001u;
5635
0
}
5636
0
inline void HistoryCutoffPB::clear_history_cutoff() {
5637
0
  history_cutoff_ = GOOGLE_ULONGLONG(0);
5638
0
  clear_has_history_cutoff();
5639
0
}
5640
0
inline ::google::protobuf::uint64 HistoryCutoffPB::history_cutoff() const {
5641
  // @@protoc_insertion_point(field_get:yb.consensus.HistoryCutoffPB.history_cutoff)
5642
0
  return history_cutoff_;
5643
0
}
5644
0
inline void HistoryCutoffPB::set_history_cutoff(::google::protobuf::uint64 value) {
5645
0
  set_has_history_cutoff();
5646
0
  history_cutoff_ = value;
5647
  // @@protoc_insertion_point(field_set:yb.consensus.HistoryCutoffPB.history_cutoff)
5648
0
}
5649
5650
// -------------------------------------------------------------------
5651
5652
// ReplicateMsg
5653
5654
// required .yb.OpIdPB id = 1;
5655
41.0M
inline bool ReplicateMsg::has_id() const {
5656
41.0M
  return (_has_bits_[0] & 0x00000001u) != 0;
5657
41.0M
}
5658
10.2M
inline void ReplicateMsg::set_has_id() {
5659
10.2M
  _has_bits_[0] |= 0x00000001u;
5660
10.2M
}
5661
0
inline void ReplicateMsg::clear_has_id() {
5662
0
  _has_bits_[0] &= ~0x00000001u;
5663
0
}
5664
237M
inline const ::yb::OpIdPB& ReplicateMsg::id() const {
5665
237M
  const ::yb::OpIdPB* p = id_;
5666
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.id)
5667
232M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
5668
4.30M
      &::yb::_OpIdPB_default_instance_);
5669
237M
}
5670
0
inline ::yb::OpIdPB* ReplicateMsg::release_id() {
5671
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.id)
5672
0
  clear_has_id();
5673
0
  ::yb::OpIdPB* temp = id_;
5674
0
  id_ = NULL;
5675
0
  return temp;
5676
0
}
5677
10.2M
inline ::yb::OpIdPB* ReplicateMsg::mutable_id() {
5678
10.2M
  set_has_id();
5679
10.2M
  if (id_ == NULL) {
5680
10.2M
    id_ = new ::yb::OpIdPB;
5681
10.2M
  }
5682
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.id)
5683
10.2M
  return id_;
5684
10.2M
}
5685
0
inline void ReplicateMsg::set_allocated_id(::yb::OpIdPB* id) {
5686
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5687
0
  if (message_arena == NULL) {
5688
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_);
5689
0
  }
5690
0
  if (id) {
5691
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5692
0
    if (message_arena != submessage_arena) {
5693
0
      id = ::google::protobuf::internal::GetOwnedMessage(
5694
0
          message_arena, id, submessage_arena);
5695
0
    }
5696
0
    set_has_id();
5697
0
  } else {
5698
0
    clear_has_id();
5699
0
  }
5700
0
  id_ = id;
5701
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.id)
5702
0
}
5703
5704
// required fixed64 hybrid_time = 2;
5705
6.35M
inline bool ReplicateMsg::has_hybrid_time() const {
5706
6.35M
  return (_has_bits_[0] & 0x00000800u) != 0;
5707
6.35M
}
5708
10.1M
inline void ReplicateMsg::set_has_hybrid_time() {
5709
10.1M
  _has_bits_[0] |= 0x00000800u;
5710
10.1M
}
5711
0
inline void ReplicateMsg::clear_has_hybrid_time() {
5712
0
  _has_bits_[0] &= ~0x00000800u;
5713
0
}
5714
0
inline void ReplicateMsg::clear_hybrid_time() {
5715
0
  hybrid_time_ = GOOGLE_ULONGLONG(0);
5716
0
  clear_has_hybrid_time();
5717
0
}
5718
28.0M
inline ::google::protobuf::uint64 ReplicateMsg::hybrid_time() const {
5719
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.hybrid_time)
5720
28.0M
  return hybrid_time_;
5721
28.0M
}
5722
3.50M
inline void ReplicateMsg::set_hybrid_time(::google::protobuf::uint64 value) {
5723
3.50M
  set_has_hybrid_time();
5724
3.50M
  hybrid_time_ = value;
5725
  // @@protoc_insertion_point(field_set:yb.consensus.ReplicateMsg.hybrid_time)
5726
3.50M
}
5727
5728
// optional int64 monotonic_counter = 9;
5729
33.0M
inline bool ReplicateMsg::has_monotonic_counter() const {
5730
33.0M
  return (_has_bits_[0] & 0x00001000u) != 0;
5731
33.0M
}
5732
8.83M
inline void ReplicateMsg::set_has_monotonic_counter() {
5733
8.83M
  _has_bits_[0] |= 0x00001000u;
5734
8.83M
}
5735
0
inline void ReplicateMsg::clear_has_monotonic_counter() {
5736
0
  _has_bits_[0] &= ~0x00001000u;
5737
0
}
5738
0
inline void ReplicateMsg::clear_monotonic_counter() {
5739
0
  monotonic_counter_ = GOOGLE_LONGLONG(0);
5740
0
  clear_has_monotonic_counter();
5741
0
}
5742
49.9M
inline ::google::protobuf::int64 ReplicateMsg::monotonic_counter() const {
5743
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.monotonic_counter)
5744
49.9M
  return monotonic_counter_;
5745
49.9M
}
5746
2.69M
inline void ReplicateMsg::set_monotonic_counter(::google::protobuf::int64 value) {
5747
2.69M
  set_has_monotonic_counter();
5748
2.69M
  monotonic_counter_ = value;
5749
  // @@protoc_insertion_point(field_set:yb.consensus.ReplicateMsg.monotonic_counter)
5750
2.69M
}
5751
5752
// required .yb.consensus.OperationType op_type = 4;
5753
47
inline bool ReplicateMsg::has_op_type() const {
5754
47
  return (_has_bits_[0] & 0x00002000u) != 0;
5755
47
}
5756
10.1M
inline void ReplicateMsg::set_has_op_type() {
5757
10.1M
  _has_bits_[0] |= 0x00002000u;
5758
10.1M
}
5759
0
inline void ReplicateMsg::clear_has_op_type() {
5760
0
  _has_bits_[0] &= ~0x00002000u;
5761
0
}
5762
0
inline void ReplicateMsg::clear_op_type() {
5763
0
  op_type_ = 0;
5764
0
  clear_has_op_type();
5765
0
}
5766
84.3M
inline ::yb::consensus::OperationType ReplicateMsg::op_type() const {
5767
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.op_type)
5768
84.3M
  return static_cast< ::yb::consensus::OperationType >(op_type_);
5769
84.3M
}
5770
10.1M
inline void ReplicateMsg::set_op_type(::yb::consensus::OperationType value) {
5771
10.1M
  assert(::yb::consensus::OperationType_IsValid(value));
5772
10.1M
  set_has_op_type();
5773
10.1M
  op_type_ = value;
5774
  // @@protoc_insertion_point(field_set:yb.consensus.ReplicateMsg.op_type)
5775
10.1M
}
5776
5777
// optional .yb.tablet.WritePB write = 5;
5778
50.5M
inline bool ReplicateMsg::has_write() const {
5779
50.5M
  return (_has_bits_[0] & 0x00000002u) != 0;
5780
50.5M
}
5781
11.2M
inline void ReplicateMsg::set_has_write() {
5782
11.2M
  _has_bits_[0] |= 0x00000002u;
5783
11.2M
}
5784
0
inline void ReplicateMsg::clear_has_write() {
5785
0
  _has_bits_[0] &= ~0x00000002u;
5786
0
}
5787
15.3M
inline const ::yb::tablet::WritePB& ReplicateMsg::write() const {
5788
15.3M
  const ::yb::tablet::WritePB* p = write_;
5789
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.write)
5790
15.3M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::WritePB*>(
5791
3.97k
      &::yb::tablet::_WritePB_default_instance_);
5792
15.3M
}
5793
0
inline ::yb::tablet::WritePB* ReplicateMsg::release_write() {
5794
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.write)
5795
0
  clear_has_write();
5796
0
  ::yb::tablet::WritePB* temp = write_;
5797
0
  write_ = NULL;
5798
0
  return temp;
5799
0
}
5800
9.69M
inline ::yb::tablet::WritePB* ReplicateMsg::mutable_write() {
5801
9.69M
  set_has_write();
5802
9.69M
  if (write_ == NULL) {
5803
4.97M
    write_ = new ::yb::tablet::WritePB;
5804
4.97M
  }
5805
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.write)
5806
9.69M
  return write_;
5807
9.69M
}
5808
1.54M
inline void ReplicateMsg::set_allocated_write(::yb::tablet::WritePB* write) {
5809
1.54M
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5810
1.54M
  if (message_arena == NULL) {
5811
1.54M
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(write_);
5812
1.54M
  }
5813
1.54M
  if (write) {
5814
1.54M
    ::google::protobuf::Arena* submessage_arena = NULL;
5815
1.54M
    if (message_arena != submessage_arena) {
5816
0
      write = ::google::protobuf::internal::GetOwnedMessage(
5817
0
          message_arena, write, submessage_arena);
5818
0
    }
5819
1.54M
    set_has_write();
5820
5.80k
  } else {
5821
5.80k
    clear_has_write();
5822
5.80k
  }
5823
1.54M
  write_ = write;
5824
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.write)
5825
1.54M
}
5826
5827
// optional .yb.tablet.ChangeMetadataRequestPB change_metadata_request = 6;
5828
70.1M
inline bool ReplicateMsg::has_change_metadata_request() const {
5829
70.1M
  return (_has_bits_[0] & 0x00000004u) != 0;
5830
70.1M
}
5831
1.09M
inline void ReplicateMsg::set_has_change_metadata_request() {
5832
1.09M
  _has_bits_[0] |= 0x00000004u;
5833
1.09M
}
5834
0
inline void ReplicateMsg::clear_has_change_metadata_request() {
5835
0
  _has_bits_[0] &= ~0x00000004u;
5836
0
}
5837
650k
inline const ::yb::tablet::ChangeMetadataRequestPB& ReplicateMsg::change_metadata_request() const {
5838
650k
  const ::yb::tablet::ChangeMetadataRequestPB* p = change_metadata_request_;
5839
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.change_metadata_request)
5840
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::ChangeMetadataRequestPB*>(
5841
18.4E
      &::yb::tablet::_ChangeMetadataRequestPB_default_instance_);
5842
650k
}
5843
0
inline ::yb::tablet::ChangeMetadataRequestPB* ReplicateMsg::release_change_metadata_request() {
5844
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.change_metadata_request)
5845
0
  clear_has_change_metadata_request();
5846
0
  ::yb::tablet::ChangeMetadataRequestPB* temp = change_metadata_request_;
5847
0
  change_metadata_request_ = NULL;
5848
0
  return temp;
5849
0
}
5850
1.09M
inline ::yb::tablet::ChangeMetadataRequestPB* ReplicateMsg::mutable_change_metadata_request() {
5851
1.09M
  set_has_change_metadata_request();
5852
1.09M
  if (change_metadata_request_ == NULL) {
5853
548k
    change_metadata_request_ = new ::yb::tablet::ChangeMetadataRequestPB;
5854
548k
  }
5855
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.change_metadata_request)
5856
1.09M
  return change_metadata_request_;
5857
1.09M
}
5858
0
inline void ReplicateMsg::set_allocated_change_metadata_request(::yb::tablet::ChangeMetadataRequestPB* change_metadata_request) {
5859
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5860
0
  if (message_arena == NULL) {
5861
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(change_metadata_request_);
5862
0
  }
5863
0
  if (change_metadata_request) {
5864
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5865
0
    if (message_arena != submessage_arena) {
5866
0
      change_metadata_request = ::google::protobuf::internal::GetOwnedMessage(
5867
0
          message_arena, change_metadata_request, submessage_arena);
5868
0
    }
5869
0
    set_has_change_metadata_request();
5870
0
  } else {
5871
0
    clear_has_change_metadata_request();
5872
0
  }
5873
0
  change_metadata_request_ = change_metadata_request;
5874
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.change_metadata_request)
5875
0
}
5876
5877
// optional .yb.tablet.TransactionStatePB transaction_state = 10;
5878
35.2M
inline bool ReplicateMsg::has_transaction_state() const {
5879
35.2M
  return (_has_bits_[0] & 0x00000020u) != 0;
5880
35.2M
}
5881
5.40M
inline void ReplicateMsg::set_has_transaction_state() {
5882
5.40M
  _has_bits_[0] |= 0x00000020u;
5883
5.40M
}
5884
0
inline void ReplicateMsg::clear_has_transaction_state() {
5885
0
  _has_bits_[0] &= ~0x00000020u;
5886
0
}
5887
43.7k
inline const ::yb::tablet::TransactionStatePB& ReplicateMsg::transaction_state() const {
5888
43.7k
  const ::yb::tablet::TransactionStatePB* p = transaction_state_;
5889
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.transaction_state)
5890
43.7k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TransactionStatePB*>(
5891
0
      &::yb::tablet::_TransactionStatePB_default_instance_);
5892
43.7k
}
5893
0
inline ::yb::tablet::TransactionStatePB* ReplicateMsg::release_transaction_state() {
5894
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.transaction_state)
5895
0
  clear_has_transaction_state();
5896
0
  ::yb::tablet::TransactionStatePB* temp = transaction_state_;
5897
0
  transaction_state_ = NULL;
5898
0
  return temp;
5899
0
}
5900
5.16M
inline ::yb::tablet::TransactionStatePB* ReplicateMsg::mutable_transaction_state() {
5901
5.16M
  set_has_transaction_state();
5902
5.16M
  if (transaction_state_ == NULL) {
5903
2.51M
    transaction_state_ = new ::yb::tablet::TransactionStatePB;
5904
2.51M
  }
5905
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.transaction_state)
5906
5.16M
  return transaction_state_;
5907
5.16M
}
5908
239k
inline void ReplicateMsg::set_allocated_transaction_state(::yb::tablet::TransactionStatePB* transaction_state) {
5909
239k
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5910
239k
  if (message_arena == NULL) {
5911
239k
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(transaction_state_);
5912
239k
  }
5913
239k
  if (transaction_state) {
5914
239k
    ::google::protobuf::Arena* submessage_arena = NULL;
5915
239k
    if (message_arena != submessage_arena) {
5916
0
      transaction_state = ::google::protobuf::internal::GetOwnedMessage(
5917
0
          message_arena, transaction_state, submessage_arena);
5918
0
    }
5919
239k
    set_has_transaction_state();
5920
88
  } else {
5921
88
    clear_has_transaction_state();
5922
88
  }
5923
239k
  transaction_state_ = transaction_state;
5924
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.transaction_state)
5925
239k
}
5926
5927
// optional .yb.tserver.TabletSnapshotOpRequestPB snapshot_request = 11;
5928
69.8M
inline bool ReplicateMsg::has_snapshot_request() const {
5929
69.8M
  return (_has_bits_[0] & 0x00000040u) != 0;
5930
69.8M
}
5931
1.72k
inline void ReplicateMsg::set_has_snapshot_request() {
5932
1.72k
  _has_bits_[0] |= 0x00000040u;
5933
1.72k
}
5934
0
inline void ReplicateMsg::clear_has_snapshot_request() {
5935
0
  _has_bits_[0] &= ~0x00000040u;
5936
0
}
5937
0
inline const ::yb::tserver::TabletSnapshotOpRequestPB& ReplicateMsg::snapshot_request() const {
5938
0
  const ::yb::tserver::TabletSnapshotOpRequestPB* p = snapshot_request_;
5939
0
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.snapshot_request)
5940
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletSnapshotOpRequestPB*>(
5941
0
      &::yb::tserver::_TabletSnapshotOpRequestPB_default_instance_);
5942
0
}
5943
0
inline ::yb::tserver::TabletSnapshotOpRequestPB* ReplicateMsg::release_snapshot_request() {
5944
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.snapshot_request)
5945
0
  clear_has_snapshot_request();
5946
0
  ::yb::tserver::TabletSnapshotOpRequestPB* temp = snapshot_request_;
5947
0
  snapshot_request_ = NULL;
5948
0
  return temp;
5949
0
}
5950
1.72k
inline ::yb::tserver::TabletSnapshotOpRequestPB* ReplicateMsg::mutable_snapshot_request() {
5951
1.72k
  set_has_snapshot_request();
5952
1.72k
  if (snapshot_request_ == NULL) {
5953
864
    snapshot_request_ = new ::yb::tserver::TabletSnapshotOpRequestPB;
5954
864
  }
5955
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.snapshot_request)
5956
1.72k
  return snapshot_request_;
5957
1.72k
}
5958
0
inline void ReplicateMsg::set_allocated_snapshot_request(::yb::tserver::TabletSnapshotOpRequestPB* snapshot_request) {
5959
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5960
0
  if (message_arena == NULL) {
5961
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(snapshot_request_);
5962
0
  }
5963
0
  if (snapshot_request) {
5964
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5965
0
    if (message_arena != submessage_arena) {
5966
0
      snapshot_request = ::google::protobuf::internal::GetOwnedMessage(
5967
0
          message_arena, snapshot_request, submessage_arena);
5968
0
    }
5969
0
    set_has_snapshot_request();
5970
0
  } else {
5971
0
    clear_has_snapshot_request();
5972
0
  }
5973
0
  snapshot_request_ = snapshot_request;
5974
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.snapshot_request)
5975
0
}
5976
5977
// optional .yb.tablet.TruncatePB truncate = 12;
5978
32.6M
inline bool ReplicateMsg::has_truncate() const {
5979
32.6M
  return (_has_bits_[0] & 0x00000080u) != 0;
5980
32.6M
}
5981
318k
inline void ReplicateMsg::set_has_truncate() {
5982
318k
  _has_bits_[0] |= 0x00000080u;
5983
318k
}
5984
0
inline void ReplicateMsg::clear_has_truncate() {
5985
0
  _has_bits_[0] &= ~0x00000080u;
5986
0
}
5987
0
inline const ::yb::tablet::TruncatePB& ReplicateMsg::truncate() const {
5988
0
  const ::yb::tablet::TruncatePB* p = truncate_;
5989
0
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.truncate)
5990
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TruncatePB*>(
5991
0
      &::yb::tablet::_TruncatePB_default_instance_);
5992
0
}
5993
0
inline ::yb::tablet::TruncatePB* ReplicateMsg::release_truncate() {
5994
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.truncate)
5995
0
  clear_has_truncate();
5996
0
  ::yb::tablet::TruncatePB* temp = truncate_;
5997
0
  truncate_ = NULL;
5998
0
  return temp;
5999
0
}
6000
318k
inline ::yb::tablet::TruncatePB* ReplicateMsg::mutable_truncate() {
6001
318k
  set_has_truncate();
6002
318k
  if (truncate_ == NULL) {
6003
159k
    truncate_ = new ::yb::tablet::TruncatePB;
6004
159k
  }
6005
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.truncate)
6006
318k
  return truncate_;
6007
318k
}
6008
0
inline void ReplicateMsg::set_allocated_truncate(::yb::tablet::TruncatePB* truncate) {
6009
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6010
0
  if (message_arena == NULL) {
6011
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(truncate_);
6012
0
  }
6013
0
  if (truncate) {
6014
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6015
0
    if (message_arena != submessage_arena) {
6016
0
      truncate = ::google::protobuf::internal::GetOwnedMessage(
6017
0
          message_arena, truncate, submessage_arena);
6018
0
    }
6019
0
    set_has_truncate();
6020
0
  } else {
6021
0
    clear_has_truncate();
6022
0
  }
6023
0
  truncate_ = truncate;
6024
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.truncate)
6025
0
}
6026
6027
// optional .yb.tablet.SplitTabletRequestPB split_request = 14;
6028
37.7M
inline bool ReplicateMsg::has_split_request() const {
6029
37.7M
  return (_has_bits_[0] & 0x00000200u) != 0;
6030
37.7M
}
6031
299
inline void ReplicateMsg::set_has_split_request() {
6032
299
  _has_bits_[0] |= 0x00000200u;
6033
299
}
6034
0
inline void ReplicateMsg::clear_has_split_request() {
6035
0
  _has_bits_[0] &= ~0x00000200u;
6036
0
}
6037
50
inline const ::yb::tablet::SplitTabletRequestPB& ReplicateMsg::split_request() const {
6038
50
  const ::yb::tablet::SplitTabletRequestPB* p = split_request_;
6039
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.split_request)
6040
50
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::SplitTabletRequestPB*>(
6041
0
      &::yb::tablet::_SplitTabletRequestPB_default_instance_);
6042
50
}
6043
0
inline ::yb::tablet::SplitTabletRequestPB* ReplicateMsg::release_split_request() {
6044
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.split_request)
6045
0
  clear_has_split_request();
6046
0
  ::yb::tablet::SplitTabletRequestPB* temp = split_request_;
6047
0
  split_request_ = NULL;
6048
0
  return temp;
6049
0
}
6050
299
inline ::yb::tablet::SplitTabletRequestPB* ReplicateMsg::mutable_split_request() {
6051
299
  set_has_split_request();
6052
299
  if (split_request_ == NULL) {
6053
247
    split_request_ = new ::yb::tablet::SplitTabletRequestPB;
6054
247
  }
6055
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.split_request)
6056
299
  return split_request_;
6057
299
}
6058
0
inline void ReplicateMsg::set_allocated_split_request(::yb::tablet::SplitTabletRequestPB* split_request) {
6059
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6060
0
  if (message_arena == NULL) {
6061
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(split_request_);
6062
0
  }
6063
0
  if (split_request) {
6064
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6065
0
    if (message_arena != submessage_arena) {
6066
0
      split_request = ::google::protobuf::internal::GetOwnedMessage(
6067
0
          message_arena, split_request, submessage_arena);
6068
0
    }
6069
0
    set_has_split_request();
6070
0
  } else {
6071
0
    clear_has_split_request();
6072
0
  }
6073
0
  split_request_ = split_request;
6074
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.split_request)
6075
0
}
6076
6077
// optional .yb.consensus.ChangeConfigRecordPB change_config_record = 7;
6078
69.8M
inline bool ReplicateMsg::has_change_config_record() const {
6079
69.8M
  return (_has_bits_[0] & 0x00000008u) != 0;
6080
69.8M
}
6081
18.7k
inline void ReplicateMsg::set_has_change_config_record() {
6082
18.7k
  _has_bits_[0] |= 0x00000008u;
6083
18.7k
}
6084
0
inline void ReplicateMsg::clear_has_change_config_record() {
6085
0
  _has_bits_[0] &= ~0x00000008u;
6086
0
}
6087
0
inline void ReplicateMsg::clear_change_config_record() {
6088
0
  if (change_config_record_ != NULL) change_config_record_->Clear();
6089
0
  clear_has_change_config_record();
6090
0
}
6091
103k
inline const ::yb::consensus::ChangeConfigRecordPB& ReplicateMsg::change_config_record() const {
6092
103k
  const ::yb::consensus::ChangeConfigRecordPB* p = change_config_record_;
6093
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.change_config_record)
6094
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ChangeConfigRecordPB*>(
6095
18.4E
      &::yb::consensus::_ChangeConfigRecordPB_default_instance_);
6096
103k
}
6097
0
inline ::yb::consensus::ChangeConfigRecordPB* ReplicateMsg::release_change_config_record() {
6098
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.change_config_record)
6099
0
  clear_has_change_config_record();
6100
0
  ::yb::consensus::ChangeConfigRecordPB* temp = change_config_record_;
6101
0
  change_config_record_ = NULL;
6102
0
  return temp;
6103
0
}
6104
18.7k
inline ::yb::consensus::ChangeConfigRecordPB* ReplicateMsg::mutable_change_config_record() {
6105
18.7k
  set_has_change_config_record();
6106
18.7k
  if (change_config_record_ == NULL) {
6107
16.8k
    change_config_record_ = new ::yb::consensus::ChangeConfigRecordPB;
6108
16.8k
  }
6109
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.change_config_record)
6110
18.7k
  return change_config_record_;
6111
18.7k
}
6112
0
inline void ReplicateMsg::set_allocated_change_config_record(::yb::consensus::ChangeConfigRecordPB* change_config_record) {
6113
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6114
0
  if (message_arena == NULL) {
6115
0
    delete change_config_record_;
6116
0
  }
6117
0
  if (change_config_record) {
6118
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6119
0
    if (message_arena != submessage_arena) {
6120
0
      change_config_record = ::google::protobuf::internal::GetOwnedMessage(
6121
0
          message_arena, change_config_record, submessage_arena);
6122
0
    }
6123
0
    set_has_change_config_record();
6124
0
  } else {
6125
0
    clear_has_change_config_record();
6126
0
  }
6127
0
  change_config_record_ = change_config_record;
6128
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.change_config_record)
6129
0
}
6130
6131
// optional .yb.consensus.HistoryCutoffPB history_cutoff = 13;
6132
410k
inline bool ReplicateMsg::has_history_cutoff() const {
6133
410k
  return (_has_bits_[0] & 0x00000100u) != 0;
6134
410k
}
6135
0
inline void ReplicateMsg::set_has_history_cutoff() {
6136
0
  _has_bits_[0] |= 0x00000100u;
6137
0
}
6138
0
inline void ReplicateMsg::clear_has_history_cutoff() {
6139
0
  _has_bits_[0] &= ~0x00000100u;
6140
0
}
6141
0
inline void ReplicateMsg::clear_history_cutoff() {
6142
0
  if (history_cutoff_ != NULL) history_cutoff_->Clear();
6143
0
  clear_has_history_cutoff();
6144
0
}
6145
0
inline const ::yb::consensus::HistoryCutoffPB& ReplicateMsg::history_cutoff() const {
6146
0
  const ::yb::consensus::HistoryCutoffPB* p = history_cutoff_;
6147
0
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.history_cutoff)
6148
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::HistoryCutoffPB*>(
6149
0
      &::yb::consensus::_HistoryCutoffPB_default_instance_);
6150
0
}
6151
0
inline ::yb::consensus::HistoryCutoffPB* ReplicateMsg::release_history_cutoff() {
6152
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.history_cutoff)
6153
0
  clear_has_history_cutoff();
6154
0
  ::yb::consensus::HistoryCutoffPB* temp = history_cutoff_;
6155
0
  history_cutoff_ = NULL;
6156
0
  return temp;
6157
0
}
6158
0
inline ::yb::consensus::HistoryCutoffPB* ReplicateMsg::mutable_history_cutoff() {
6159
0
  set_has_history_cutoff();
6160
0
  if (history_cutoff_ == NULL) {
6161
0
    history_cutoff_ = new ::yb::consensus::HistoryCutoffPB;
6162
0
  }
6163
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.history_cutoff)
6164
0
  return history_cutoff_;
6165
0
}
6166
0
inline void ReplicateMsg::set_allocated_history_cutoff(::yb::consensus::HistoryCutoffPB* history_cutoff) {
6167
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6168
0
  if (message_arena == NULL) {
6169
0
    delete history_cutoff_;
6170
0
  }
6171
0
  if (history_cutoff) {
6172
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6173
0
    if (message_arena != submessage_arena) {
6174
0
      history_cutoff = ::google::protobuf::internal::GetOwnedMessage(
6175
0
          message_arena, history_cutoff, submessage_arena);
6176
0
    }
6177
0
    set_has_history_cutoff();
6178
0
  } else {
6179
0
    clear_has_history_cutoff();
6180
0
  }
6181
0
  history_cutoff_ = history_cutoff;
6182
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.history_cutoff)
6183
0
}
6184
6185
// optional .yb.OpIdPB committed_op_id = 8;
6186
70.8M
inline bool ReplicateMsg::has_committed_op_id() const {
6187
70.8M
  return (_has_bits_[0] & 0x00000010u) != 0;
6188
70.8M
}
6189
10.0M
inline void ReplicateMsg::set_has_committed_op_id() {
6190
10.0M
  _has_bits_[0] |= 0x00000010u;
6191
10.0M
}
6192
0
inline void ReplicateMsg::clear_has_committed_op_id() {
6193
0
  _has_bits_[0] &= ~0x00000010u;
6194
0
}
6195
1.57M
inline const ::yb::OpIdPB& ReplicateMsg::committed_op_id() const {
6196
1.57M
  const ::yb::OpIdPB* p = committed_op_id_;
6197
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.committed_op_id)
6198
1.57M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
6199
770
      &::yb::_OpIdPB_default_instance_);
6200
1.57M
}
6201
0
inline ::yb::OpIdPB* ReplicateMsg::release_committed_op_id() {
6202
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.committed_op_id)
6203
0
  clear_has_committed_op_id();
6204
0
  ::yb::OpIdPB* temp = committed_op_id_;
6205
0
  committed_op_id_ = NULL;
6206
0
  return temp;
6207
0
}
6208
10.0M
inline ::yb::OpIdPB* ReplicateMsg::mutable_committed_op_id() {
6209
10.0M
  set_has_committed_op_id();
6210
10.0M
  if (committed_op_id_ == NULL) {
6211
9.96M
    committed_op_id_ = new ::yb::OpIdPB;
6212
9.96M
  }
6213
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.committed_op_id)
6214
10.0M
  return committed_op_id_;
6215
10.0M
}
6216
0
inline void ReplicateMsg::set_allocated_committed_op_id(::yb::OpIdPB* committed_op_id) {
6217
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6218
0
  if (message_arena == NULL) {
6219
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(committed_op_id_);
6220
0
  }
6221
0
  if (committed_op_id) {
6222
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6223
0
    if (message_arena != submessage_arena) {
6224
0
      committed_op_id = ::google::protobuf::internal::GetOwnedMessage(
6225
0
          message_arena, committed_op_id, submessage_arena);
6226
0
    }
6227
0
    set_has_committed_op_id();
6228
0
  } else {
6229
0
    clear_has_committed_op_id();
6230
0
  }
6231
0
  committed_op_id_ = committed_op_id;
6232
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.committed_op_id)
6233
0
}
6234
6235
// optional .yb.consensus.NoOpRequestPB noop_request = 999;
6236
410k
inline bool ReplicateMsg::has_noop_request() const {
6237
410k
  return (_has_bits_[0] & 0x00000400u) != 0;
6238
410k
}
6239
111k
inline void ReplicateMsg::set_has_noop_request() {
6240
111k
  _has_bits_[0] |= 0x00000400u;
6241
111k
}
6242
0
inline void ReplicateMsg::clear_has_noop_request() {
6243
0
  _has_bits_[0] &= ~0x00000400u;
6244
0
}
6245
0
inline void ReplicateMsg::clear_noop_request() {
6246
0
  if (noop_request_ != NULL) noop_request_->Clear();
6247
0
  clear_has_noop_request();
6248
0
}
6249
810
inline const ::yb::consensus::NoOpRequestPB& ReplicateMsg::noop_request() const {
6250
810
  const ::yb::consensus::NoOpRequestPB* p = noop_request_;
6251
  // @@protoc_insertion_point(field_get:yb.consensus.ReplicateMsg.noop_request)
6252
810
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::NoOpRequestPB*>(
6253
0
      &::yb::consensus::_NoOpRequestPB_default_instance_);
6254
810
}
6255
0
inline ::yb::consensus::NoOpRequestPB* ReplicateMsg::release_noop_request() {
6256
0
  // @@protoc_insertion_point(field_release:yb.consensus.ReplicateMsg.noop_request)
6257
0
  clear_has_noop_request();
6258
0
  ::yb::consensus::NoOpRequestPB* temp = noop_request_;
6259
0
  noop_request_ = NULL;
6260
0
  return temp;
6261
0
}
6262
111k
inline ::yb::consensus::NoOpRequestPB* ReplicateMsg::mutable_noop_request() {
6263
111k
  set_has_noop_request();
6264
111k
  if (noop_request_ == NULL) {
6265
110k
    noop_request_ = new ::yb::consensus::NoOpRequestPB;
6266
110k
  }
6267
  // @@protoc_insertion_point(field_mutable:yb.consensus.ReplicateMsg.noop_request)
6268
111k
  return noop_request_;
6269
111k
}
6270
0
inline void ReplicateMsg::set_allocated_noop_request(::yb::consensus::NoOpRequestPB* noop_request) {
6271
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6272
0
  if (message_arena == NULL) {
6273
0
    delete noop_request_;
6274
0
  }
6275
0
  if (noop_request) {
6276
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6277
0
    if (message_arena != submessage_arena) {
6278
0
      noop_request = ::google::protobuf::internal::GetOwnedMessage(
6279
0
          message_arena, noop_request, submessage_arena);
6280
0
    }
6281
0
    set_has_noop_request();
6282
0
  } else {
6283
0
    clear_has_noop_request();
6284
0
  }
6285
0
  noop_request_ = noop_request;
6286
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ReplicateMsg.noop_request)
6287
0
}
6288
6289
// -------------------------------------------------------------------
6290
6291
// NoOpRequestPB
6292
6293
// optional bytes payload_for_tests = 1;
6294
411k
inline bool NoOpRequestPB::has_payload_for_tests() const {
6295
411k
  return (_has_bits_[0] & 0x00000001u) != 0;
6296
411k
}
6297
1.23k
inline void NoOpRequestPB::set_has_payload_for_tests() {
6298
1.23k
  _has_bits_[0] |= 0x00000001u;
6299
1.23k
}
6300
0
inline void NoOpRequestPB::clear_has_payload_for_tests() {
6301
0
  _has_bits_[0] &= ~0x00000001u;
6302
0
}
6303
0
inline void NoOpRequestPB::clear_payload_for_tests() {
6304
0
  payload_for_tests_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6305
0
  clear_has_payload_for_tests();
6306
0
}
6307
3.74k
inline const ::std::string& NoOpRequestPB::payload_for_tests() const {
6308
  // @@protoc_insertion_point(field_get:yb.consensus.NoOpRequestPB.payload_for_tests)
6309
3.74k
  return payload_for_tests_.GetNoArena();
6310
3.74k
}
6311
0
inline void NoOpRequestPB::set_payload_for_tests(const ::std::string& value) {
6312
0
  set_has_payload_for_tests();
6313
0
  payload_for_tests_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6314
0
  // @@protoc_insertion_point(field_set:yb.consensus.NoOpRequestPB.payload_for_tests)
6315
0
}
6316
#if LANG_CXX11
6317
0
inline void NoOpRequestPB::set_payload_for_tests(::std::string&& value) {
6318
0
  set_has_payload_for_tests();
6319
0
  payload_for_tests_.SetNoArena(
6320
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6321
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.NoOpRequestPB.payload_for_tests)
6322
0
}
6323
#endif
6324
0
inline void NoOpRequestPB::set_payload_for_tests(const char* value) {
6325
0
  GOOGLE_DCHECK(value != NULL);
6326
0
  set_has_payload_for_tests();
6327
0
  payload_for_tests_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6328
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.NoOpRequestPB.payload_for_tests)
6329
0
}
6330
0
inline void NoOpRequestPB::set_payload_for_tests(const void* value, size_t size) {
6331
0
  set_has_payload_for_tests();
6332
0
  payload_for_tests_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6333
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6334
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.NoOpRequestPB.payload_for_tests)
6335
0
}
6336
1.23k
inline ::std::string* NoOpRequestPB::mutable_payload_for_tests() {
6337
1.23k
  set_has_payload_for_tests();
6338
  // @@protoc_insertion_point(field_mutable:yb.consensus.NoOpRequestPB.payload_for_tests)
6339
1.23k
  return payload_for_tests_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6340
1.23k
}
6341
0
inline ::std::string* NoOpRequestPB::release_payload_for_tests() {
6342
0
  // @@protoc_insertion_point(field_release:yb.consensus.NoOpRequestPB.payload_for_tests)
6343
0
  clear_has_payload_for_tests();
6344
0
  return payload_for_tests_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6345
0
}
6346
0
inline void NoOpRequestPB::set_allocated_payload_for_tests(::std::string* payload_for_tests) {
6347
0
  if (payload_for_tests != NULL) {
6348
0
    set_has_payload_for_tests();
6349
0
  } else {
6350
0
    clear_has_payload_for_tests();
6351
0
  }
6352
0
  payload_for_tests_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), payload_for_tests);
6353
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.NoOpRequestPB.payload_for_tests)
6354
0
}
6355
6356
// -------------------------------------------------------------------
6357
6358
// NoOpResponsePB
6359
6360
// optional bytes payload_for_tests = 1;
6361
0
inline bool NoOpResponsePB::has_payload_for_tests() const {
6362
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6363
0
}
6364
0
inline void NoOpResponsePB::set_has_payload_for_tests() {
6365
0
  _has_bits_[0] |= 0x00000001u;
6366
0
}
6367
0
inline void NoOpResponsePB::clear_has_payload_for_tests() {
6368
0
  _has_bits_[0] &= ~0x00000001u;
6369
0
}
6370
0
inline void NoOpResponsePB::clear_payload_for_tests() {
6371
0
  payload_for_tests_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6372
0
  clear_has_payload_for_tests();
6373
0
}
6374
0
inline const ::std::string& NoOpResponsePB::payload_for_tests() const {
6375
0
  // @@protoc_insertion_point(field_get:yb.consensus.NoOpResponsePB.payload_for_tests)
6376
0
  return payload_for_tests_.GetNoArena();
6377
0
}
6378
0
inline void NoOpResponsePB::set_payload_for_tests(const ::std::string& value) {
6379
0
  set_has_payload_for_tests();
6380
0
  payload_for_tests_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6381
0
  // @@protoc_insertion_point(field_set:yb.consensus.NoOpResponsePB.payload_for_tests)
6382
0
}
6383
#if LANG_CXX11
6384
0
inline void NoOpResponsePB::set_payload_for_tests(::std::string&& value) {
6385
0
  set_has_payload_for_tests();
6386
0
  payload_for_tests_.SetNoArena(
6387
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6388
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.NoOpResponsePB.payload_for_tests)
6389
0
}
6390
#endif
6391
0
inline void NoOpResponsePB::set_payload_for_tests(const char* value) {
6392
0
  GOOGLE_DCHECK(value != NULL);
6393
0
  set_has_payload_for_tests();
6394
0
  payload_for_tests_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6395
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.NoOpResponsePB.payload_for_tests)
6396
0
}
6397
0
inline void NoOpResponsePB::set_payload_for_tests(const void* value, size_t size) {
6398
0
  set_has_payload_for_tests();
6399
0
  payload_for_tests_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6400
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6401
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.NoOpResponsePB.payload_for_tests)
6402
0
}
6403
0
inline ::std::string* NoOpResponsePB::mutable_payload_for_tests() {
6404
0
  set_has_payload_for_tests();
6405
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.NoOpResponsePB.payload_for_tests)
6406
0
  return payload_for_tests_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6407
0
}
6408
0
inline ::std::string* NoOpResponsePB::release_payload_for_tests() {
6409
0
  // @@protoc_insertion_point(field_release:yb.consensus.NoOpResponsePB.payload_for_tests)
6410
0
  clear_has_payload_for_tests();
6411
0
  return payload_for_tests_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6412
0
}
6413
0
inline void NoOpResponsePB::set_allocated_payload_for_tests(::std::string* payload_for_tests) {
6414
0
  if (payload_for_tests != NULL) {
6415
0
    set_has_payload_for_tests();
6416
0
  } else {
6417
0
    clear_has_payload_for_tests();
6418
0
  }
6419
0
  payload_for_tests_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), payload_for_tests);
6420
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.NoOpResponsePB.payload_for_tests)
6421
0
}
6422
6423
// -------------------------------------------------------------------
6424
6425
// PerOpErrorPB
6426
6427
// required .yb.OpIdPB id = 1;
6428
0
inline bool PerOpErrorPB::has_id() const {
6429
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6430
0
}
6431
0
inline void PerOpErrorPB::set_has_id() {
6432
0
  _has_bits_[0] |= 0x00000001u;
6433
0
}
6434
0
inline void PerOpErrorPB::clear_has_id() {
6435
0
  _has_bits_[0] &= ~0x00000001u;
6436
0
}
6437
0
inline const ::yb::OpIdPB& PerOpErrorPB::id() const {
6438
0
  const ::yb::OpIdPB* p = id_;
6439
0
  // @@protoc_insertion_point(field_get:yb.consensus.PerOpErrorPB.id)
6440
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
6441
0
      &::yb::_OpIdPB_default_instance_);
6442
0
}
6443
0
inline ::yb::OpIdPB* PerOpErrorPB::release_id() {
6444
0
  // @@protoc_insertion_point(field_release:yb.consensus.PerOpErrorPB.id)
6445
0
  clear_has_id();
6446
0
  ::yb::OpIdPB* temp = id_;
6447
0
  id_ = NULL;
6448
0
  return temp;
6449
0
}
6450
0
inline ::yb::OpIdPB* PerOpErrorPB::mutable_id() {
6451
0
  set_has_id();
6452
0
  if (id_ == NULL) {
6453
0
    id_ = new ::yb::OpIdPB;
6454
0
  }
6455
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.PerOpErrorPB.id)
6456
0
  return id_;
6457
0
}
6458
0
inline void PerOpErrorPB::set_allocated_id(::yb::OpIdPB* id) {
6459
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6460
0
  if (message_arena == NULL) {
6461
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(id_);
6462
0
  }
6463
0
  if (id) {
6464
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6465
0
    if (message_arena != submessage_arena) {
6466
0
      id = ::google::protobuf::internal::GetOwnedMessage(
6467
0
          message_arena, id, submessage_arena);
6468
0
    }
6469
0
    set_has_id();
6470
0
  } else {
6471
0
    clear_has_id();
6472
0
  }
6473
0
  id_ = id;
6474
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.PerOpErrorPB.id)
6475
0
}
6476
6477
// required .yb.AppStatusPB status = 2;
6478
0
inline bool PerOpErrorPB::has_status() const {
6479
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6480
0
}
6481
0
inline void PerOpErrorPB::set_has_status() {
6482
0
  _has_bits_[0] |= 0x00000002u;
6483
0
}
6484
0
inline void PerOpErrorPB::clear_has_status() {
6485
0
  _has_bits_[0] &= ~0x00000002u;
6486
0
}
6487
0
inline const ::yb::AppStatusPB& PerOpErrorPB::status() const {
6488
0
  const ::yb::AppStatusPB* p = status_;
6489
0
  // @@protoc_insertion_point(field_get:yb.consensus.PerOpErrorPB.status)
6490
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>(
6491
0
      &::yb::_AppStatusPB_default_instance_);
6492
0
}
6493
0
inline ::yb::AppStatusPB* PerOpErrorPB::release_status() {
6494
0
  // @@protoc_insertion_point(field_release:yb.consensus.PerOpErrorPB.status)
6495
0
  clear_has_status();
6496
0
  ::yb::AppStatusPB* temp = status_;
6497
0
  status_ = NULL;
6498
0
  return temp;
6499
0
}
6500
0
inline ::yb::AppStatusPB* PerOpErrorPB::mutable_status() {
6501
0
  set_has_status();
6502
0
  if (status_ == NULL) {
6503
0
    status_ = new ::yb::AppStatusPB;
6504
0
  }
6505
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.PerOpErrorPB.status)
6506
0
  return status_;
6507
0
}
6508
0
inline void PerOpErrorPB::set_allocated_status(::yb::AppStatusPB* status) {
6509
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6510
0
  if (message_arena == NULL) {
6511
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(status_);
6512
0
  }
6513
0
  if (status) {
6514
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6515
0
    if (message_arena != submessage_arena) {
6516
0
      status = ::google::protobuf::internal::GetOwnedMessage(
6517
0
          message_arena, status, submessage_arena);
6518
0
    }
6519
0
    set_has_status();
6520
0
  } else {
6521
0
    clear_has_status();
6522
0
  }
6523
0
  status_ = status;
6524
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.PerOpErrorPB.status)
6525
0
}
6526
6527
// -------------------------------------------------------------------
6528
6529
// ConsensusStatusPB
6530
6531
// required .yb.OpIdPB last_received = 1;
6532
87.4M
inline bool ConsensusStatusPB::has_last_received() const {
6533
87.4M
  return (_has_bits_[0] & 0x00000001u) != 0;
6534
87.4M
}
6535
34.0M
inline void ConsensusStatusPB::set_has_last_received() {
6536
34.0M
  _has_bits_[0] |= 0x00000001u;
6537
34.0M
}
6538
0
inline void ConsensusStatusPB::clear_has_last_received() {
6539
0
  _has_bits_[0] &= ~0x00000001u;
6540
0
}
6541
30.6M
inline const ::yb::OpIdPB& ConsensusStatusPB::last_received() const {
6542
30.6M
  const ::yb::OpIdPB* p = last_received_;
6543
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusStatusPB.last_received)
6544
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
6545
18.4E
      &::yb::_OpIdPB_default_instance_);
6546
30.6M
}
6547
0
inline ::yb::OpIdPB* ConsensusStatusPB::release_last_received() {
6548
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusStatusPB.last_received)
6549
0
  clear_has_last_received();
6550
0
  ::yb::OpIdPB* temp = last_received_;
6551
0
  last_received_ = NULL;
6552
0
  return temp;
6553
0
}
6554
34.0M
inline ::yb::OpIdPB* ConsensusStatusPB::mutable_last_received() {
6555
34.0M
  set_has_last_received();
6556
34.0M
  if (last_received_ == NULL) {
6557
23.8M
    last_received_ = new ::yb::OpIdPB;
6558
23.8M
  }
6559
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusStatusPB.last_received)
6560
34.0M
  return last_received_;
6561
34.0M
}
6562
0
inline void ConsensusStatusPB::set_allocated_last_received(::yb::OpIdPB* last_received) {
6563
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6564
0
  if (message_arena == NULL) {
6565
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(last_received_);
6566
0
  }
6567
0
  if (last_received) {
6568
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6569
0
    if (message_arena != submessage_arena) {
6570
0
      last_received = ::google::protobuf::internal::GetOwnedMessage(
6571
0
          message_arena, last_received, submessage_arena);
6572
0
    }
6573
0
    set_has_last_received();
6574
0
  } else {
6575
0
    clear_has_last_received();
6576
0
  }
6577
0
  last_received_ = last_received;
6578
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusStatusPB.last_received)
6579
0
}
6580
6581
// optional .yb.OpIdPB last_received_current_leader = 4;
6582
87.0M
inline bool ConsensusStatusPB::has_last_received_current_leader() const {
6583
87.0M
  return (_has_bits_[0] & 0x00000004u) != 0;
6584
87.0M
}
6585
33.6M
inline void ConsensusStatusPB::set_has_last_received_current_leader() {
6586
33.6M
  _has_bits_[0] |= 0x00000004u;
6587
33.6M
}
6588
0
inline void ConsensusStatusPB::clear_has_last_received_current_leader() {
6589
0
  _has_bits_[0] &= ~0x00000004u;
6590
0
}
6591
1.15k
inline const ::yb::OpIdPB& ConsensusStatusPB::last_received_current_leader() const {
6592
1.15k
  const ::yb::OpIdPB* p = last_received_current_leader_;
6593
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusStatusPB.last_received_current_leader)
6594
1.15k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
6595
0
      &::yb::_OpIdPB_default_instance_);
6596
1.15k
}
6597
0
inline ::yb::OpIdPB* ConsensusStatusPB::release_last_received_current_leader() {
6598
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusStatusPB.last_received_current_leader)
6599
0
  clear_has_last_received_current_leader();
6600
0
  ::yb::OpIdPB* temp = last_received_current_leader_;
6601
0
  last_received_current_leader_ = NULL;
6602
0
  return temp;
6603
0
}
6604
33.6M
inline ::yb::OpIdPB* ConsensusStatusPB::mutable_last_received_current_leader() {
6605
33.6M
  set_has_last_received_current_leader();
6606
33.6M
  if (last_received_current_leader_ == NULL) {
6607
23.4M
    last_received_current_leader_ = new ::yb::OpIdPB;
6608
23.4M
  }
6609
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusStatusPB.last_received_current_leader)
6610
33.6M
  return last_received_current_leader_;
6611
33.6M
}
6612
0
inline void ConsensusStatusPB::set_allocated_last_received_current_leader(::yb::OpIdPB* last_received_current_leader) {
6613
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6614
0
  if (message_arena == NULL) {
6615
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(last_received_current_leader_);
6616
0
  }
6617
0
  if (last_received_current_leader) {
6618
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6619
0
    if (message_arena != submessage_arena) {
6620
0
      last_received_current_leader = ::google::protobuf::internal::GetOwnedMessage(
6621
0
          message_arena, last_received_current_leader, submessage_arena);
6622
0
    }
6623
0
    set_has_last_received_current_leader();
6624
0
  } else {
6625
0
    clear_has_last_received_current_leader();
6626
0
  }
6627
0
  last_received_current_leader_ = last_received_current_leader;
6628
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusStatusPB.last_received_current_leader)
6629
0
}
6630
6631
// optional int64 last_committed_idx = 2;
6632
35.7M
inline bool ConsensusStatusPB::has_last_committed_idx() const {
6633
35.7M
  return (_has_bits_[0] & 0x00000010u) != 0;
6634
35.7M
}
6635
33.7M
inline void ConsensusStatusPB::set_has_last_committed_idx() {
6636
33.7M
  _has_bits_[0] |= 0x00000010u;
6637
33.7M
}
6638
0
inline void ConsensusStatusPB::clear_has_last_committed_idx() {
6639
0
  _has_bits_[0] &= ~0x00000010u;
6640
0
}
6641
0
inline void ConsensusStatusPB::clear_last_committed_idx() {
6642
0
  last_committed_idx_ = GOOGLE_LONGLONG(0);
6643
0
  clear_has_last_committed_idx();
6644
0
}
6645
46.0M
inline ::google::protobuf::int64 ConsensusStatusPB::last_committed_idx() const {
6646
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusStatusPB.last_committed_idx)
6647
46.0M
  return last_committed_idx_;
6648
46.0M
}
6649
23.4M
inline void ConsensusStatusPB::set_last_committed_idx(::google::protobuf::int64 value) {
6650
23.4M
  set_has_last_committed_idx();
6651
23.4M
  last_committed_idx_ = value;
6652
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusStatusPB.last_committed_idx)
6653
23.4M
}
6654
6655
// optional .yb.OpIdPB last_applied = 5;
6656
71.8M
inline bool ConsensusStatusPB::has_last_applied() const {
6657
71.8M
  return (_has_bits_[0] & 0x00000008u) != 0;
6658
71.8M
}
6659
33.7M
inline void ConsensusStatusPB::set_has_last_applied() {
6660
33.7M
  _has_bits_[0] |= 0x00000008u;
6661
33.7M
}
6662
0
inline void ConsensusStatusPB::clear_has_last_applied() {
6663
0
  _has_bits_[0] &= ~0x00000008u;
6664
0
}
6665
15.2M
inline const ::yb::OpIdPB& ConsensusStatusPB::last_applied() const {
6666
15.2M
  const ::yb::OpIdPB* p = last_applied_;
6667
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusStatusPB.last_applied)
6668
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
6669
18.4E
      &::yb::_OpIdPB_default_instance_);
6670
15.2M
}
6671
0
inline ::yb::OpIdPB* ConsensusStatusPB::release_last_applied() {
6672
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusStatusPB.last_applied)
6673
0
  clear_has_last_applied();
6674
0
  ::yb::OpIdPB* temp = last_applied_;
6675
0
  last_applied_ = NULL;
6676
0
  return temp;
6677
0
}
6678
33.7M
inline ::yb::OpIdPB* ConsensusStatusPB::mutable_last_applied() {
6679
33.7M
  set_has_last_applied();
6680
33.7M
  if (last_applied_ == NULL) {
6681
23.4M
    last_applied_ = new ::yb::OpIdPB;
6682
23.4M
  }
6683
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusStatusPB.last_applied)
6684
33.7M
  return last_applied_;
6685
33.7M
}
6686
0
inline void ConsensusStatusPB::set_allocated_last_applied(::yb::OpIdPB* last_applied) {
6687
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6688
0
  if (message_arena == NULL) {
6689
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(last_applied_);
6690
0
  }
6691
0
  if (last_applied) {
6692
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6693
0
    if (message_arena != submessage_arena) {
6694
0
      last_applied = ::google::protobuf::internal::GetOwnedMessage(
6695
0
          message_arena, last_applied, submessage_arena);
6696
0
    }
6697
0
    set_has_last_applied();
6698
0
  } else {
6699
0
    clear_has_last_applied();
6700
0
  }
6701
0
  last_applied_ = last_applied;
6702
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusStatusPB.last_applied)
6703
0
}
6704
6705
// optional .yb.consensus.ConsensusErrorPB error = 3;
6706
128M
inline bool ConsensusStatusPB::has_error() const {
6707
128M
  return (_has_bits_[0] & 0x00000002u) != 0;
6708
128M
}
6709
136k
inline void ConsensusStatusPB::set_has_error() {
6710
136k
  _has_bits_[0] |= 0x00000002u;
6711
136k
}
6712
1
inline void ConsensusStatusPB::clear_has_error() {
6713
1
  _has_bits_[0] &= ~0x00000002u;
6714
1
}
6715
136k
inline const ::yb::consensus::ConsensusErrorPB& ConsensusStatusPB::error() const {
6716
136k
  const ::yb::consensus::ConsensusErrorPB* p = error_;
6717
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusStatusPB.error)
6718
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ConsensusErrorPB*>(
6719
18.4E
      &::yb::consensus::_ConsensusErrorPB_default_instance_);
6720
136k
}
6721
0
inline ::yb::consensus::ConsensusErrorPB* ConsensusStatusPB::release_error() {
6722
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusStatusPB.error)
6723
0
  clear_has_error();
6724
0
  ::yb::consensus::ConsensusErrorPB* temp = error_;
6725
0
  error_ = NULL;
6726
0
  return temp;
6727
0
}
6728
136k
inline ::yb::consensus::ConsensusErrorPB* ConsensusStatusPB::mutable_error() {
6729
136k
  set_has_error();
6730
136k
  if (error_ == NULL) {
6731
136k
    error_ = new ::yb::consensus::ConsensusErrorPB;
6732
136k
  }
6733
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusStatusPB.error)
6734
136k
  return error_;
6735
136k
}
6736
0
inline void ConsensusStatusPB::set_allocated_error(::yb::consensus::ConsensusErrorPB* error) {
6737
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6738
0
  if (message_arena == NULL) {
6739
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
6740
0
  }
6741
0
  if (error) {
6742
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6743
0
    if (message_arena != submessage_arena) {
6744
0
      error = ::google::protobuf::internal::GetOwnedMessage(
6745
0
          message_arena, error, submessage_arena);
6746
0
    }
6747
0
    set_has_error();
6748
0
  } else {
6749
0
    clear_has_error();
6750
0
  }
6751
0
  error_ = error;
6752
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusStatusPB.error)
6753
0
}
6754
6755
// -------------------------------------------------------------------
6756
6757
// VoteRequestPB
6758
6759
// optional bytes dest_uuid = 6;
6760
367k
inline bool VoteRequestPB::has_dest_uuid() const {
6761
367k
  return (_has_bits_[0] & 0x00000004u) != 0;
6762
367k
}
6763
290k
inline void VoteRequestPB::set_has_dest_uuid() {
6764
290k
  _has_bits_[0] |= 0x00000004u;
6765
290k
}
6766
0
inline void VoteRequestPB::clear_has_dest_uuid() {
6767
0
  _has_bits_[0] &= ~0x00000004u;
6768
0
}
6769
0
inline void VoteRequestPB::clear_dest_uuid() {
6770
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6771
0
  clear_has_dest_uuid();
6772
0
}
6773
725k
inline const ::std::string& VoteRequestPB::dest_uuid() const {
6774
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.dest_uuid)
6775
725k
  return dest_uuid_.GetNoArena();
6776
725k
}
6777
146k
inline void VoteRequestPB::set_dest_uuid(const ::std::string& value) {
6778
146k
  set_has_dest_uuid();
6779
146k
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6780
  // @@protoc_insertion_point(field_set:yb.consensus.VoteRequestPB.dest_uuid)
6781
146k
}
6782
#if LANG_CXX11
6783
0
inline void VoteRequestPB::set_dest_uuid(::std::string&& value) {
6784
0
  set_has_dest_uuid();
6785
0
  dest_uuid_.SetNoArena(
6786
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6787
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.VoteRequestPB.dest_uuid)
6788
0
}
6789
#endif
6790
0
inline void VoteRequestPB::set_dest_uuid(const char* value) {
6791
0
  GOOGLE_DCHECK(value != NULL);
6792
0
  set_has_dest_uuid();
6793
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6794
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.VoteRequestPB.dest_uuid)
6795
0
}
6796
0
inline void VoteRequestPB::set_dest_uuid(const void* value, size_t size) {
6797
0
  set_has_dest_uuid();
6798
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6799
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6800
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.VoteRequestPB.dest_uuid)
6801
0
}
6802
144k
inline ::std::string* VoteRequestPB::mutable_dest_uuid() {
6803
144k
  set_has_dest_uuid();
6804
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteRequestPB.dest_uuid)
6805
144k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6806
144k
}
6807
0
inline ::std::string* VoteRequestPB::release_dest_uuid() {
6808
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteRequestPB.dest_uuid)
6809
0
  clear_has_dest_uuid();
6810
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6811
0
}
6812
0
inline void VoteRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
6813
0
  if (dest_uuid != NULL) {
6814
0
    set_has_dest_uuid();
6815
0
  } else {
6816
0
    clear_has_dest_uuid();
6817
0
  }
6818
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
6819
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteRequestPB.dest_uuid)
6820
0
}
6821
6822
// required string tablet_id = 1;
6823
76.1k
inline bool VoteRequestPB::has_tablet_id() const {
6824
76.1k
  return (_has_bits_[0] & 0x00000001u) != 0;
6825
76.1k
}
6826
366k
inline void VoteRequestPB::set_has_tablet_id() {
6827
366k
  _has_bits_[0] |= 0x00000001u;
6828
366k
}
6829
0
inline void VoteRequestPB::clear_has_tablet_id() {
6830
0
  _has_bits_[0] &= ~0x00000001u;
6831
0
}
6832
0
inline void VoteRequestPB::clear_tablet_id() {
6833
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6834
0
  clear_has_tablet_id();
6835
0
}
6836
1.47M
inline const ::std::string& VoteRequestPB::tablet_id() const {
6837
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.tablet_id)
6838
1.47M
  return tablet_id_.GetNoArena();
6839
1.47M
}
6840
76.1k
inline void VoteRequestPB::set_tablet_id(const ::std::string& value) {
6841
76.1k
  set_has_tablet_id();
6842
76.1k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6843
  // @@protoc_insertion_point(field_set:yb.consensus.VoteRequestPB.tablet_id)
6844
76.1k
}
6845
#if LANG_CXX11
6846
0
inline void VoteRequestPB::set_tablet_id(::std::string&& value) {
6847
0
  set_has_tablet_id();
6848
0
  tablet_id_.SetNoArena(
6849
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6850
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.VoteRequestPB.tablet_id)
6851
0
}
6852
#endif
6853
1
inline void VoteRequestPB::set_tablet_id(const char* value) {
6854
1
  GOOGLE_DCHECK(value != NULL);
6855
1
  set_has_tablet_id();
6856
1
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6857
  // @@protoc_insertion_point(field_set_char:yb.consensus.VoteRequestPB.tablet_id)
6858
1
}
6859
0
inline void VoteRequestPB::set_tablet_id(const char* value, size_t size) {
6860
0
  set_has_tablet_id();
6861
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6862
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6863
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.VoteRequestPB.tablet_id)
6864
0
}
6865
144k
inline ::std::string* VoteRequestPB::mutable_tablet_id() {
6866
144k
  set_has_tablet_id();
6867
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteRequestPB.tablet_id)
6868
144k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6869
144k
}
6870
0
inline ::std::string* VoteRequestPB::release_tablet_id() {
6871
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteRequestPB.tablet_id)
6872
0
  clear_has_tablet_id();
6873
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6874
0
}
6875
0
inline void VoteRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
6876
0
  if (tablet_id != NULL) {
6877
0
    set_has_tablet_id();
6878
0
  } else {
6879
0
    clear_has_tablet_id();
6880
0
  }
6881
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
6882
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteRequestPB.tablet_id)
6883
0
}
6884
6885
// required bytes candidate_uuid = 2;
6886
76.0k
inline bool VoteRequestPB::has_candidate_uuid() const {
6887
76.0k
  return (_has_bits_[0] & 0x00000002u) != 0;
6888
76.0k
}
6889
366k
inline void VoteRequestPB::set_has_candidate_uuid() {
6890
366k
  _has_bits_[0] |= 0x00000002u;
6891
366k
}
6892
0
inline void VoteRequestPB::clear_has_candidate_uuid() {
6893
0
  _has_bits_[0] &= ~0x00000002u;
6894
0
}
6895
0
inline void VoteRequestPB::clear_candidate_uuid() {
6896
0
  candidate_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6897
0
  clear_has_candidate_uuid();
6898
0
}
6899
1.40M
inline const ::std::string& VoteRequestPB::candidate_uuid() const {
6900
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.candidate_uuid)
6901
1.40M
  return candidate_uuid_.GetNoArena();
6902
1.40M
}
6903
76.0k
inline void VoteRequestPB::set_candidate_uuid(const ::std::string& value) {
6904
76.0k
  set_has_candidate_uuid();
6905
76.0k
  candidate_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6906
  // @@protoc_insertion_point(field_set:yb.consensus.VoteRequestPB.candidate_uuid)
6907
76.0k
}
6908
#if LANG_CXX11
6909
0
inline void VoteRequestPB::set_candidate_uuid(::std::string&& value) {
6910
0
  set_has_candidate_uuid();
6911
0
  candidate_uuid_.SetNoArena(
6912
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6913
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.VoteRequestPB.candidate_uuid)
6914
0
}
6915
#endif
6916
4
inline void VoteRequestPB::set_candidate_uuid(const char* value) {
6917
4
  GOOGLE_DCHECK(value != NULL);
6918
4
  set_has_candidate_uuid();
6919
4
  candidate_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6920
  // @@protoc_insertion_point(field_set_char:yb.consensus.VoteRequestPB.candidate_uuid)
6921
4
}
6922
0
inline void VoteRequestPB::set_candidate_uuid(const void* value, size_t size) {
6923
0
  set_has_candidate_uuid();
6924
0
  candidate_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6925
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6926
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.VoteRequestPB.candidate_uuid)
6927
0
}
6928
144k
inline ::std::string* VoteRequestPB::mutable_candidate_uuid() {
6929
144k
  set_has_candidate_uuid();
6930
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteRequestPB.candidate_uuid)
6931
144k
  return candidate_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6932
144k
}
6933
0
inline ::std::string* VoteRequestPB::release_candidate_uuid() {
6934
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteRequestPB.candidate_uuid)
6935
0
  clear_has_candidate_uuid();
6936
0
  return candidate_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6937
0
}
6938
0
inline void VoteRequestPB::set_allocated_candidate_uuid(::std::string* candidate_uuid) {
6939
0
  if (candidate_uuid != NULL) {
6940
0
    set_has_candidate_uuid();
6941
0
  } else {
6942
0
    clear_has_candidate_uuid();
6943
0
  }
6944
0
  candidate_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), candidate_uuid);
6945
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteRequestPB.candidate_uuid)
6946
0
}
6947
6948
// required int64 candidate_term = 3;
6949
0
inline bool VoteRequestPB::has_candidate_term() const {
6950
0
  return (_has_bits_[0] & 0x00000010u) != 0;
6951
0
}
6952
220k
inline void VoteRequestPB::set_has_candidate_term() {
6953
220k
  _has_bits_[0] |= 0x00000010u;
6954
220k
}
6955
0
inline void VoteRequestPB::clear_has_candidate_term() {
6956
0
  _has_bits_[0] &= ~0x00000010u;
6957
0
}
6958
0
inline void VoteRequestPB::clear_candidate_term() {
6959
0
  candidate_term_ = GOOGLE_LONGLONG(0);
6960
0
  clear_has_candidate_term();
6961
0
}
6962
1.51M
inline ::google::protobuf::int64 VoteRequestPB::candidate_term() const {
6963
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.candidate_term)
6964
1.51M
  return candidate_term_;
6965
1.51M
}
6966
76.1k
inline void VoteRequestPB::set_candidate_term(::google::protobuf::int64 value) {
6967
76.1k
  set_has_candidate_term();
6968
76.1k
  candidate_term_ = value;
6969
  // @@protoc_insertion_point(field_set:yb.consensus.VoteRequestPB.candidate_term)
6970
76.1k
}
6971
6972
// required .yb.consensus.ConsensusStatusPB candidate_status = 4;
6973
366k
inline bool VoteRequestPB::has_candidate_status() const {
6974
366k
  return (_has_bits_[0] & 0x00000008u) != 0;
6975
366k
}
6976
365k
inline void VoteRequestPB::set_has_candidate_status() {
6977
365k
  _has_bits_[0] |= 0x00000008u;
6978
365k
}
6979
0
inline void VoteRequestPB::clear_has_candidate_status() {
6980
0
  _has_bits_[0] &= ~0x00000008u;
6981
0
}
6982
0
inline void VoteRequestPB::clear_candidate_status() {
6983
0
  if (candidate_status_ != NULL) candidate_status_->Clear();
6984
0
  clear_has_candidate_status();
6985
0
}
6986
268k
inline const ::yb::consensus::ConsensusStatusPB& VoteRequestPB::candidate_status() const {
6987
268k
  const ::yb::consensus::ConsensusStatusPB* p = candidate_status_;
6988
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.candidate_status)
6989
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ConsensusStatusPB*>(
6990
18.4E
      &::yb::consensus::_ConsensusStatusPB_default_instance_);
6991
268k
}
6992
0
inline ::yb::consensus::ConsensusStatusPB* VoteRequestPB::release_candidate_status() {
6993
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteRequestPB.candidate_status)
6994
0
  clear_has_candidate_status();
6995
0
  ::yb::consensus::ConsensusStatusPB* temp = candidate_status_;
6996
0
  candidate_status_ = NULL;
6997
0
  return temp;
6998
0
}
6999
366k
inline ::yb::consensus::ConsensusStatusPB* VoteRequestPB::mutable_candidate_status() {
7000
366k
  set_has_candidate_status();
7001
366k
  if (candidate_status_ == NULL) {
7002
365k
    candidate_status_ = new ::yb::consensus::ConsensusStatusPB;
7003
365k
  }
7004
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteRequestPB.candidate_status)
7005
366k
  return candidate_status_;
7006
366k
}
7007
0
inline void VoteRequestPB::set_allocated_candidate_status(::yb::consensus::ConsensusStatusPB* candidate_status) {
7008
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7009
0
  if (message_arena == NULL) {
7010
0
    delete candidate_status_;
7011
0
  }
7012
0
  if (candidate_status) {
7013
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7014
0
    if (message_arena != submessage_arena) {
7015
0
      candidate_status = ::google::protobuf::internal::GetOwnedMessage(
7016
0
          message_arena, candidate_status, submessage_arena);
7017
0
    }
7018
0
    set_has_candidate_status();
7019
0
  } else {
7020
0
    clear_has_candidate_status();
7021
0
  }
7022
0
  candidate_status_ = candidate_status;
7023
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteRequestPB.candidate_status)
7024
0
}
7025
7026
// optional bool ignore_live_leader = 5 [default = false];
7027
291k
inline bool VoteRequestPB::has_ignore_live_leader() const {
7028
291k
  return (_has_bits_[0] & 0x00000020u) != 0;
7029
291k
}
7030
220k
inline void VoteRequestPB::set_has_ignore_live_leader() {
7031
220k
  _has_bits_[0] |= 0x00000020u;
7032
220k
}
7033
0
inline void VoteRequestPB::clear_has_ignore_live_leader() {
7034
0
  _has_bits_[0] &= ~0x00000020u;
7035
0
}
7036
0
inline void VoteRequestPB::clear_ignore_live_leader() {
7037
0
  ignore_live_leader_ = false;
7038
0
  clear_has_ignore_live_leader();
7039
0
}
7040
268k
inline bool VoteRequestPB::ignore_live_leader() const {
7041
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.ignore_live_leader)
7042
268k
  return ignore_live_leader_;
7043
268k
}
7044
75.9k
inline void VoteRequestPB::set_ignore_live_leader(bool value) {
7045
75.9k
  set_has_ignore_live_leader();
7046
75.9k
  ignore_live_leader_ = value;
7047
  // @@protoc_insertion_point(field_set:yb.consensus.VoteRequestPB.ignore_live_leader)
7048
75.9k
}
7049
7050
// optional bool preelection = 7;
7051
291k
inline bool VoteRequestPB::has_preelection() const {
7052
291k
  return (_has_bits_[0] & 0x00000040u) != 0;
7053
291k
}
7054
220k
inline void VoteRequestPB::set_has_preelection() {
7055
220k
  _has_bits_[0] |= 0x00000040u;
7056
220k
}
7057
0
inline void VoteRequestPB::clear_has_preelection() {
7058
0
  _has_bits_[0] &= ~0x00000040u;
7059
0
}
7060
0
inline void VoteRequestPB::clear_preelection() {
7061
0
  preelection_ = false;
7062
0
  clear_has_preelection();
7063
0
}
7064
334k
inline bool VoteRequestPB::preelection() const {
7065
  // @@protoc_insertion_point(field_get:yb.consensus.VoteRequestPB.preelection)
7066
334k
  return preelection_;
7067
334k
}
7068
75.9k
inline void VoteRequestPB::set_preelection(bool value) {
7069
75.9k
  set_has_preelection();
7070
75.9k
  preelection_ = value;
7071
  // @@protoc_insertion_point(field_set:yb.consensus.VoteRequestPB.preelection)
7072
75.9k
}
7073
7074
// -------------------------------------------------------------------
7075
7076
// VoteResponsePB
7077
7078
// optional bytes responder_uuid = 1;
7079
288k
inline bool VoteResponsePB::has_responder_uuid() const {
7080
288k
  return (_has_bits_[0] & 0x00000001u) != 0;
7081
288k
}
7082
250k
inline void VoteResponsePB::set_has_responder_uuid() {
7083
250k
  _has_bits_[0] |= 0x00000001u;
7084
250k
}
7085
0
inline void VoteResponsePB::clear_has_responder_uuid() {
7086
0
  _has_bits_[0] &= ~0x00000001u;
7087
0
}
7088
0
inline void VoteResponsePB::clear_responder_uuid() {
7089
0
  responder_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7090
0
  clear_has_responder_uuid();
7091
0
}
7092
446k
inline const ::std::string& VoteResponsePB::responder_uuid() const {
7093
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.responder_uuid)
7094
446k
  return responder_uuid_.GetNoArena();
7095
446k
}
7096
125k
inline void VoteResponsePB::set_responder_uuid(const ::std::string& value) {
7097
125k
  set_has_responder_uuid();
7098
125k
  responder_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7099
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.responder_uuid)
7100
125k
}
7101
#if LANG_CXX11
7102
0
inline void VoteResponsePB::set_responder_uuid(::std::string&& value) {
7103
0
  set_has_responder_uuid();
7104
0
  responder_uuid_.SetNoArena(
7105
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7106
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.VoteResponsePB.responder_uuid)
7107
0
}
7108
#endif
7109
0
inline void VoteResponsePB::set_responder_uuid(const char* value) {
7110
0
  GOOGLE_DCHECK(value != NULL);
7111
0
  set_has_responder_uuid();
7112
0
  responder_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7113
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.VoteResponsePB.responder_uuid)
7114
0
}
7115
0
inline void VoteResponsePB::set_responder_uuid(const void* value, size_t size) {
7116
0
  set_has_responder_uuid();
7117
0
  responder_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7118
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7119
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.VoteResponsePB.responder_uuid)
7120
0
}
7121
124k
inline ::std::string* VoteResponsePB::mutable_responder_uuid() {
7122
124k
  set_has_responder_uuid();
7123
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteResponsePB.responder_uuid)
7124
124k
  return responder_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7125
124k
}
7126
0
inline ::std::string* VoteResponsePB::release_responder_uuid() {
7127
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteResponsePB.responder_uuid)
7128
0
  clear_has_responder_uuid();
7129
0
  return responder_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7130
0
}
7131
0
inline void VoteResponsePB::set_allocated_responder_uuid(::std::string* responder_uuid) {
7132
0
  if (responder_uuid != NULL) {
7133
0
    set_has_responder_uuid();
7134
0
  } else {
7135
0
    clear_has_responder_uuid();
7136
0
  }
7137
0
  responder_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), responder_uuid);
7138
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteResponsePB.responder_uuid)
7139
0
}
7140
7141
// optional int64 responder_term = 2;
7142
288k
inline bool VoteResponsePB::has_responder_term() const {
7143
288k
  return (_has_bits_[0] & 0x00000020u) != 0;
7144
288k
}
7145
250k
inline void VoteResponsePB::set_has_responder_term() {
7146
250k
  _has_bits_[0] |= 0x00000020u;
7147
250k
}
7148
0
inline void VoteResponsePB::clear_has_responder_term() {
7149
0
  _has_bits_[0] &= ~0x00000020u;
7150
0
}
7151
0
inline void VoteResponsePB::clear_responder_term() {
7152
0
  responder_term_ = GOOGLE_LONGLONG(0);
7153
0
  clear_has_responder_term();
7154
0
}
7155
446k
inline ::google::protobuf::int64 VoteResponsePB::responder_term() const {
7156
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.responder_term)
7157
446k
  return responder_term_;
7158
446k
}
7159
125k
inline void VoteResponsePB::set_responder_term(::google::protobuf::int64 value) {
7160
125k
  set_has_responder_term();
7161
125k
  responder_term_ = value;
7162
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.responder_term)
7163
125k
}
7164
7165
// optional bool vote_granted = 3;
7166
288k
inline bool VoteResponsePB::has_vote_granted() const {
7167
288k
  return (_has_bits_[0] & 0x00000080u) != 0;
7168
288k
}
7169
250k
inline void VoteResponsePB::set_has_vote_granted() {
7170
250k
  _has_bits_[0] |= 0x00000080u;
7171
250k
}
7172
0
inline void VoteResponsePB::clear_has_vote_granted() {
7173
0
  _has_bits_[0] &= ~0x00000080u;
7174
0
}
7175
0
inline void VoteResponsePB::clear_vote_granted() {
7176
0
  vote_granted_ = false;
7177
0
  clear_has_vote_granted();
7178
0
}
7179
266k
inline bool VoteResponsePB::vote_granted() const {
7180
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.vote_granted)
7181
266k
  return vote_granted_;
7182
266k
}
7183
125k
inline void VoteResponsePB::set_vote_granted(bool value) {
7184
125k
  set_has_vote_granted();
7185
125k
  vote_granted_ = value;
7186
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.vote_granted)
7187
125k
}
7188
7189
// optional int32 remaining_leader_lease_duration_ms = 4;
7190
358k
inline bool VoteResponsePB::has_remaining_leader_lease_duration_ms() const {
7191
358k
  return (_has_bits_[0] & 0x00000040u) != 0;
7192
358k
}
7193
20.0k
inline void VoteResponsePB::set_has_remaining_leader_lease_duration_ms() {
7194
20.0k
  _has_bits_[0] |= 0x00000040u;
7195
20.0k
}
7196
0
inline void VoteResponsePB::clear_has_remaining_leader_lease_duration_ms() {
7197
0
  _has_bits_[0] &= ~0x00000040u;
7198
0
}
7199
0
inline void VoteResponsePB::clear_remaining_leader_lease_duration_ms() {
7200
0
  remaining_leader_lease_duration_ms_ = 0;
7201
0
  clear_has_remaining_leader_lease_duration_ms();
7202
0
}
7203
34.4k
inline ::google::protobuf::int32 VoteResponsePB::remaining_leader_lease_duration_ms() const {
7204
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.remaining_leader_lease_duration_ms)
7205
34.4k
  return remaining_leader_lease_duration_ms_;
7206
34.4k
}
7207
10.0k
inline void VoteResponsePB::set_remaining_leader_lease_duration_ms(::google::protobuf::int32 value) {
7208
10.0k
  set_has_remaining_leader_lease_duration_ms();
7209
10.0k
  remaining_leader_lease_duration_ms_ = value;
7210
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.remaining_leader_lease_duration_ms)
7211
10.0k
}
7212
7213
// optional bytes leader_lease_uuid = 7;
7214
288k
inline bool VoteResponsePB::has_leader_lease_uuid() const {
7215
288k
  return (_has_bits_[0] & 0x00000002u) != 0;
7216
288k
}
7217
20.1k
inline void VoteResponsePB::set_has_leader_lease_uuid() {
7218
20.1k
  _has_bits_[0] |= 0x00000002u;
7219
20.1k
}
7220
0
inline void VoteResponsePB::clear_has_leader_lease_uuid() {
7221
0
  _has_bits_[0] &= ~0x00000002u;
7222
0
}
7223
0
inline void VoteResponsePB::clear_leader_lease_uuid() {
7224
0
  leader_lease_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7225
0
  clear_has_leader_lease_uuid();
7226
0
}
7227
34.4k
inline const ::std::string& VoteResponsePB::leader_lease_uuid() const {
7228
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.leader_lease_uuid)
7229
34.4k
  return leader_lease_uuid_.GetNoArena();
7230
34.4k
}
7231
10.0k
inline void VoteResponsePB::set_leader_lease_uuid(const ::std::string& value) {
7232
10.0k
  set_has_leader_lease_uuid();
7233
10.0k
  leader_lease_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7234
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.leader_lease_uuid)
7235
10.0k
}
7236
#if LANG_CXX11
7237
0
inline void VoteResponsePB::set_leader_lease_uuid(::std::string&& value) {
7238
0
  set_has_leader_lease_uuid();
7239
0
  leader_lease_uuid_.SetNoArena(
7240
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7241
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.VoteResponsePB.leader_lease_uuid)
7242
0
}
7243
#endif
7244
0
inline void VoteResponsePB::set_leader_lease_uuid(const char* value) {
7245
0
  GOOGLE_DCHECK(value != NULL);
7246
0
  set_has_leader_lease_uuid();
7247
0
  leader_lease_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7248
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.VoteResponsePB.leader_lease_uuid)
7249
0
}
7250
0
inline void VoteResponsePB::set_leader_lease_uuid(const void* value, size_t size) {
7251
0
  set_has_leader_lease_uuid();
7252
0
  leader_lease_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7253
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7254
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.VoteResponsePB.leader_lease_uuid)
7255
0
}
7256
10.0k
inline ::std::string* VoteResponsePB::mutable_leader_lease_uuid() {
7257
10.0k
  set_has_leader_lease_uuid();
7258
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteResponsePB.leader_lease_uuid)
7259
10.0k
  return leader_lease_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7260
10.0k
}
7261
0
inline ::std::string* VoteResponsePB::release_leader_lease_uuid() {
7262
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteResponsePB.leader_lease_uuid)
7263
0
  clear_has_leader_lease_uuid();
7264
0
  return leader_lease_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7265
0
}
7266
0
inline void VoteResponsePB::set_allocated_leader_lease_uuid(::std::string* leader_lease_uuid) {
7267
0
  if (leader_lease_uuid != NULL) {
7268
0
    set_has_leader_lease_uuid();
7269
0
  } else {
7270
0
    clear_has_leader_lease_uuid();
7271
0
  }
7272
0
  leader_lease_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leader_lease_uuid);
7273
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteResponsePB.leader_lease_uuid)
7274
0
}
7275
7276
// optional fixed64 leader_ht_lease_expiration = 5;
7277
319k
inline bool VoteResponsePB::has_leader_ht_lease_expiration() const {
7278
319k
  return (_has_bits_[0] & 0x00000200u) != 0;
7279
319k
}
7280
22.0k
inline void VoteResponsePB::set_has_leader_ht_lease_expiration() {
7281
22.0k
  _has_bits_[0] |= 0x00000200u;
7282
22.0k
}
7283
0
inline void VoteResponsePB::clear_has_leader_ht_lease_expiration() {
7284
0
  _has_bits_[0] &= ~0x00000200u;
7285
0
}
7286
0
inline void VoteResponsePB::clear_leader_ht_lease_expiration() {
7287
0
  leader_ht_lease_expiration_ = GOOGLE_ULONGLONG(0);
7288
0
  clear_has_leader_ht_lease_expiration();
7289
0
}
7290
16.2k
inline ::google::protobuf::uint64 VoteResponsePB::leader_ht_lease_expiration() const {
7291
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.leader_ht_lease_expiration)
7292
16.2k
  return leader_ht_lease_expiration_;
7293
16.2k
}
7294
11.0k
inline void VoteResponsePB::set_leader_ht_lease_expiration(::google::protobuf::uint64 value) {
7295
11.0k
  set_has_leader_ht_lease_expiration();
7296
11.0k
  leader_ht_lease_expiration_ = value;
7297
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.leader_ht_lease_expiration)
7298
11.0k
}
7299
7300
// optional bytes leader_ht_lease_uuid = 8;
7301
288k
inline bool VoteResponsePB::has_leader_ht_lease_uuid() const {
7302
288k
  return (_has_bits_[0] & 0x00000004u) != 0;
7303
288k
}
7304
22.1k
inline void VoteResponsePB::set_has_leader_ht_lease_uuid() {
7305
22.1k
  _has_bits_[0] |= 0x00000004u;
7306
22.1k
}
7307
0
inline void VoteResponsePB::clear_has_leader_ht_lease_uuid() {
7308
0
  _has_bits_[0] &= ~0x00000004u;
7309
0
}
7310
0
inline void VoteResponsePB::clear_leader_ht_lease_uuid() {
7311
0
  leader_ht_lease_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7312
0
  clear_has_leader_ht_lease_uuid();
7313
0
}
7314
38.3k
inline const ::std::string& VoteResponsePB::leader_ht_lease_uuid() const {
7315
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7316
38.3k
  return leader_ht_lease_uuid_.GetNoArena();
7317
38.3k
}
7318
11.0k
inline void VoteResponsePB::set_leader_ht_lease_uuid(const ::std::string& value) {
7319
11.0k
  set_has_leader_ht_lease_uuid();
7320
11.0k
  leader_ht_lease_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7321
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7322
11.0k
}
7323
#if LANG_CXX11
7324
0
inline void VoteResponsePB::set_leader_ht_lease_uuid(::std::string&& value) {
7325
0
  set_has_leader_ht_lease_uuid();
7326
0
  leader_ht_lease_uuid_.SetNoArena(
7327
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7328
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7329
0
}
7330
#endif
7331
0
inline void VoteResponsePB::set_leader_ht_lease_uuid(const char* value) {
7332
0
  GOOGLE_DCHECK(value != NULL);
7333
0
  set_has_leader_ht_lease_uuid();
7334
0
  leader_ht_lease_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7335
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7336
0
}
7337
0
inline void VoteResponsePB::set_leader_ht_lease_uuid(const void* value, size_t size) {
7338
0
  set_has_leader_ht_lease_uuid();
7339
0
  leader_ht_lease_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7340
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7341
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7342
0
}
7343
11.0k
inline ::std::string* VoteResponsePB::mutable_leader_ht_lease_uuid() {
7344
11.0k
  set_has_leader_ht_lease_uuid();
7345
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7346
11.0k
  return leader_ht_lease_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7347
11.0k
}
7348
0
inline ::std::string* VoteResponsePB::release_leader_ht_lease_uuid() {
7349
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7350
0
  clear_has_leader_ht_lease_uuid();
7351
0
  return leader_ht_lease_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7352
0
}
7353
0
inline void VoteResponsePB::set_allocated_leader_ht_lease_uuid(::std::string* leader_ht_lease_uuid) {
7354
0
  if (leader_ht_lease_uuid != NULL) {
7355
0
    set_has_leader_ht_lease_uuid();
7356
0
  } else {
7357
0
    clear_has_leader_ht_lease_uuid();
7358
0
  }
7359
0
  leader_ht_lease_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leader_ht_lease_uuid);
7360
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteResponsePB.leader_ht_lease_uuid)
7361
0
}
7362
7363
// optional bool preelection = 6;
7364
250k
inline bool VoteResponsePB::has_preelection() const {
7365
250k
  return (_has_bits_[0] & 0x00000100u) != 0;
7366
250k
}
7367
249k
inline void VoteResponsePB::set_has_preelection() {
7368
249k
  _has_bits_[0] |= 0x00000100u;
7369
249k
}
7370
0
inline void VoteResponsePB::clear_has_preelection() {
7371
0
  _has_bits_[0] &= ~0x00000100u;
7372
0
}
7373
0
inline void VoteResponsePB::clear_preelection() {
7374
0
  preelection_ = false;
7375
0
  clear_has_preelection();
7376
0
}
7377
160k
inline bool VoteResponsePB::preelection() const {
7378
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.preelection)
7379
160k
  return preelection_;
7380
160k
}
7381
124k
inline void VoteResponsePB::set_preelection(bool value) {
7382
124k
  set_has_preelection();
7383
124k
  preelection_ = value;
7384
  // @@protoc_insertion_point(field_set:yb.consensus.VoteResponsePB.preelection)
7385
124k
}
7386
7387
// optional .yb.consensus.ConsensusErrorPB consensus_error = 998;
7388
576k
inline bool VoteResponsePB::has_consensus_error() const {
7389
576k
  return (_has_bits_[0] & 0x00000008u) != 0;
7390
576k
}
7391
8.21k
inline void VoteResponsePB::set_has_consensus_error() {
7392
8.21k
  _has_bits_[0] |= 0x00000008u;
7393
8.21k
}
7394
0
inline void VoteResponsePB::clear_has_consensus_error() {
7395
0
  _has_bits_[0] &= ~0x00000008u;
7396
0
}
7397
1.00k
inline const ::yb::consensus::ConsensusErrorPB& VoteResponsePB::consensus_error() const {
7398
1.00k
  const ::yb::consensus::ConsensusErrorPB* p = consensus_error_;
7399
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.consensus_error)
7400
1.00k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ConsensusErrorPB*>(
7401
0
      &::yb::consensus::_ConsensusErrorPB_default_instance_);
7402
1.00k
}
7403
0
inline ::yb::consensus::ConsensusErrorPB* VoteResponsePB::release_consensus_error() {
7404
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteResponsePB.consensus_error)
7405
0
  clear_has_consensus_error();
7406
0
  ::yb::consensus::ConsensusErrorPB* temp = consensus_error_;
7407
0
  consensus_error_ = NULL;
7408
0
  return temp;
7409
0
}
7410
8.21k
inline ::yb::consensus::ConsensusErrorPB* VoteResponsePB::mutable_consensus_error() {
7411
8.21k
  set_has_consensus_error();
7412
8.21k
  if (consensus_error_ == NULL) {
7413
5.44k
    consensus_error_ = new ::yb::consensus::ConsensusErrorPB;
7414
5.44k
  }
7415
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteResponsePB.consensus_error)
7416
8.21k
  return consensus_error_;
7417
8.21k
}
7418
0
inline void VoteResponsePB::set_allocated_consensus_error(::yb::consensus::ConsensusErrorPB* consensus_error) {
7419
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7420
0
  if (message_arena == NULL) {
7421
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(consensus_error_);
7422
0
  }
7423
0
  if (consensus_error) {
7424
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7425
0
    if (message_arena != submessage_arena) {
7426
0
      consensus_error = ::google::protobuf::internal::GetOwnedMessage(
7427
0
          message_arena, consensus_error, submessage_arena);
7428
0
    }
7429
0
    set_has_consensus_error();
7430
0
  } else {
7431
0
    clear_has_consensus_error();
7432
0
  }
7433
0
  consensus_error_ = consensus_error;
7434
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteResponsePB.consensus_error)
7435
0
}
7436
7437
// optional .yb.tserver.TabletServerErrorPB error = 999;
7438
663k
inline bool VoteResponsePB::has_error() const {
7439
663k
  return (_has_bits_[0] & 0x00000010u) != 0;
7440
663k
}
7441
38.2k
inline void VoteResponsePB::set_has_error() {
7442
38.2k
  _has_bits_[0] |= 0x00000010u;
7443
38.2k
}
7444
0
inline void VoteResponsePB::clear_has_error() {
7445
0
  _has_bits_[0] &= ~0x00000010u;
7446
0
}
7447
16.6k
inline const ::yb::tserver::TabletServerErrorPB& VoteResponsePB::error() const {
7448
16.6k
  const ::yb::tserver::TabletServerErrorPB* p = error_;
7449
  // @@protoc_insertion_point(field_get:yb.consensus.VoteResponsePB.error)
7450
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
7451
18.4E
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
7452
16.6k
}
7453
0
inline ::yb::tserver::TabletServerErrorPB* VoteResponsePB::release_error() {
7454
0
  // @@protoc_insertion_point(field_release:yb.consensus.VoteResponsePB.error)
7455
0
  clear_has_error();
7456
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
7457
0
  error_ = NULL;
7458
0
  return temp;
7459
0
}
7460
38.2k
inline ::yb::tserver::TabletServerErrorPB* VoteResponsePB::mutable_error() {
7461
38.2k
  set_has_error();
7462
38.2k
  if (error_ == NULL) {
7463
38.2k
    error_ = new ::yb::tserver::TabletServerErrorPB;
7464
38.2k
  }
7465
  // @@protoc_insertion_point(field_mutable:yb.consensus.VoteResponsePB.error)
7466
38.2k
  return error_;
7467
38.2k
}
7468
0
inline void VoteResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
7469
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7470
0
  if (message_arena == NULL) {
7471
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
7472
0
  }
7473
0
  if (error) {
7474
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7475
0
    if (message_arena != submessage_arena) {
7476
0
      error = ::google::protobuf::internal::GetOwnedMessage(
7477
0
          message_arena, error, submessage_arena);
7478
0
    }
7479
0
    set_has_error();
7480
0
  } else {
7481
0
    clear_has_error();
7482
0
  }
7483
0
  error_ = error;
7484
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.VoteResponsePB.error)
7485
0
}
7486
7487
// -------------------------------------------------------------------
7488
7489
// ConsensusRequestPB
7490
7491
// optional bytes dest_uuid = 7;
7492
30.8M
inline bool ConsensusRequestPB::has_dest_uuid() const {
7493
30.8M
  return (_has_bits_[0] & 0x00000004u) != 0;
7494
30.8M
}
7495
10.3M
inline void ConsensusRequestPB::set_has_dest_uuid() {
7496
10.3M
  _has_bits_[0] |= 0x00000004u;
7497
10.3M
}
7498
0
inline void ConsensusRequestPB::clear_has_dest_uuid() {
7499
0
  _has_bits_[0] &= ~0x00000004u;
7500
0
}
7501
0
inline void ConsensusRequestPB::clear_dest_uuid() {
7502
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7503
0
  clear_has_dest_uuid();
7504
0
}
7505
61.6M
inline const ::std::string& ConsensusRequestPB::dest_uuid() const {
7506
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.dest_uuid)
7507
61.6M
  return dest_uuid_.GetNoArena();
7508
61.6M
}
7509
69.5k
inline void ConsensusRequestPB::set_dest_uuid(const ::std::string& value) {
7510
69.5k
  set_has_dest_uuid();
7511
69.5k
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7512
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.dest_uuid)
7513
69.5k
}
7514
#if LANG_CXX11
7515
0
inline void ConsensusRequestPB::set_dest_uuid(::std::string&& value) {
7516
0
  set_has_dest_uuid();
7517
0
  dest_uuid_.SetNoArena(
7518
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7519
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ConsensusRequestPB.dest_uuid)
7520
0
}
7521
#endif
7522
0
inline void ConsensusRequestPB::set_dest_uuid(const char* value) {
7523
0
  GOOGLE_DCHECK(value != NULL);
7524
0
  set_has_dest_uuid();
7525
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7526
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.ConsensusRequestPB.dest_uuid)
7527
0
}
7528
0
inline void ConsensusRequestPB::set_dest_uuid(const void* value, size_t size) {
7529
0
  set_has_dest_uuid();
7530
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7531
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7532
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ConsensusRequestPB.dest_uuid)
7533
0
}
7534
10.3M
inline ::std::string* ConsensusRequestPB::mutable_dest_uuid() {
7535
10.3M
  set_has_dest_uuid();
7536
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusRequestPB.dest_uuid)
7537
10.3M
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7538
10.3M
}
7539
0
inline ::std::string* ConsensusRequestPB::release_dest_uuid() {
7540
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusRequestPB.dest_uuid)
7541
0
  clear_has_dest_uuid();
7542
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7543
0
}
7544
0
inline void ConsensusRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
7545
0
  if (dest_uuid != NULL) {
7546
0
    set_has_dest_uuid();
7547
0
  } else {
7548
0
    clear_has_dest_uuid();
7549
0
  }
7550
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
7551
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusRequestPB.dest_uuid)
7552
0
}
7553
7554
// required string tablet_id = 1;
7555
1.29k
inline bool ConsensusRequestPB::has_tablet_id() const {
7556
1.29k
  return (_has_bits_[0] & 0x00000001u) != 0;
7557
1.29k
}
7558
10.3M
inline void ConsensusRequestPB::set_has_tablet_id() {
7559
10.3M
  _has_bits_[0] |= 0x00000001u;
7560
10.3M
}
7561
0
inline void ConsensusRequestPB::clear_has_tablet_id() {
7562
0
  _has_bits_[0] &= ~0x00000001u;
7563
0
}
7564
0
inline void ConsensusRequestPB::clear_tablet_id() {
7565
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7566
0
  clear_has_tablet_id();
7567
0
}
7568
102M
inline const ::std::string& ConsensusRequestPB::tablet_id() const {
7569
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.tablet_id)
7570
102M
  return tablet_id_.GetNoArena();
7571
102M
}
7572
69.5k
inline void ConsensusRequestPB::set_tablet_id(const ::std::string& value) {
7573
69.5k
  set_has_tablet_id();
7574
69.5k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7575
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.tablet_id)
7576
69.5k
}
7577
#if LANG_CXX11
7578
0
inline void ConsensusRequestPB::set_tablet_id(::std::string&& value) {
7579
0
  set_has_tablet_id();
7580
0
  tablet_id_.SetNoArena(
7581
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7582
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ConsensusRequestPB.tablet_id)
7583
0
}
7584
#endif
7585
6
inline void ConsensusRequestPB::set_tablet_id(const char* value) {
7586
6
  GOOGLE_DCHECK(value != NULL);
7587
6
  set_has_tablet_id();
7588
6
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7589
  // @@protoc_insertion_point(field_set_char:yb.consensus.ConsensusRequestPB.tablet_id)
7590
6
}
7591
0
inline void ConsensusRequestPB::set_tablet_id(const char* value, size_t size) {
7592
0
  set_has_tablet_id();
7593
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7594
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7595
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ConsensusRequestPB.tablet_id)
7596
0
}
7597
10.3M
inline ::std::string* ConsensusRequestPB::mutable_tablet_id() {
7598
10.3M
  set_has_tablet_id();
7599
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusRequestPB.tablet_id)
7600
10.3M
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7601
10.3M
}
7602
0
inline ::std::string* ConsensusRequestPB::release_tablet_id() {
7603
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusRequestPB.tablet_id)
7604
0
  clear_has_tablet_id();
7605
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7606
0
}
7607
0
inline void ConsensusRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
7608
0
  if (tablet_id != NULL) {
7609
0
    set_has_tablet_id();
7610
0
  } else {
7611
0
    clear_has_tablet_id();
7612
0
  }
7613
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
7614
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusRequestPB.tablet_id)
7615
0
}
7616
7617
// required bytes caller_uuid = 2;
7618
1.28k
inline bool ConsensusRequestPB::has_caller_uuid() const {
7619
1.28k
  return (_has_bits_[0] & 0x00000002u) != 0;
7620
1.28k
}
7621
10.3M
inline void ConsensusRequestPB::set_has_caller_uuid() {
7622
10.3M
  _has_bits_[0] |= 0x00000002u;
7623
10.3M
}
7624
0
inline void ConsensusRequestPB::clear_has_caller_uuid() {
7625
0
  _has_bits_[0] &= ~0x00000002u;
7626
0
}
7627
0
inline void ConsensusRequestPB::clear_caller_uuid() {
7628
0
  caller_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7629
0
  clear_has_caller_uuid();
7630
0
}
7631
61.6M
inline const ::std::string& ConsensusRequestPB::caller_uuid() const {
7632
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.caller_uuid)
7633
61.6M
  return caller_uuid_.GetNoArena();
7634
61.6M
}
7635
69.5k
inline void ConsensusRequestPB::set_caller_uuid(const ::std::string& value) {
7636
69.5k
  set_has_caller_uuid();
7637
69.5k
  caller_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7638
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.caller_uuid)
7639
69.5k
}
7640
#if LANG_CXX11
7641
1
inline void ConsensusRequestPB::set_caller_uuid(::std::string&& value) {
7642
1
  set_has_caller_uuid();
7643
1
  caller_uuid_.SetNoArena(
7644
1
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7645
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ConsensusRequestPB.caller_uuid)
7646
1
}
7647
#endif
7648
100
inline void ConsensusRequestPB::set_caller_uuid(const char* value) {
7649
100
  GOOGLE_DCHECK(value != NULL);
7650
100
  set_has_caller_uuid();
7651
100
  caller_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7652
  // @@protoc_insertion_point(field_set_char:yb.consensus.ConsensusRequestPB.caller_uuid)
7653
100
}
7654
0
inline void ConsensusRequestPB::set_caller_uuid(const void* value, size_t size) {
7655
0
  set_has_caller_uuid();
7656
0
  caller_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7657
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7658
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ConsensusRequestPB.caller_uuid)
7659
0
}
7660
10.3M
inline ::std::string* ConsensusRequestPB::mutable_caller_uuid() {
7661
10.3M
  set_has_caller_uuid();
7662
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusRequestPB.caller_uuid)
7663
10.3M
  return caller_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7664
10.3M
}
7665
0
inline ::std::string* ConsensusRequestPB::release_caller_uuid() {
7666
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusRequestPB.caller_uuid)
7667
0
  clear_has_caller_uuid();
7668
0
  return caller_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7669
0
}
7670
0
inline void ConsensusRequestPB::set_allocated_caller_uuid(::std::string* caller_uuid) {
7671
0
  if (caller_uuid != NULL) {
7672
0
    set_has_caller_uuid();
7673
0
  } else {
7674
0
    clear_has_caller_uuid();
7675
0
  }
7676
0
  caller_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), caller_uuid);
7677
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusRequestPB.caller_uuid)
7678
0
}
7679
7680
// required int64 caller_term = 3;
7681
22
inline bool ConsensusRequestPB::has_caller_term() const {
7682
22
  return (_has_bits_[0] & 0x00000020u) != 0;
7683
22
}
7684
23.6M
inline void ConsensusRequestPB::set_has_caller_term() {
7685
23.6M
  _has_bits_[0] |= 0x00000020u;
7686
23.6M
}
7687
0
inline void ConsensusRequestPB::clear_has_caller_term() {
7688
0
  _has_bits_[0] &= ~0x00000020u;
7689
0
}
7690
0
inline void ConsensusRequestPB::clear_caller_term() {
7691
0
  caller_term_ = GOOGLE_LONGLONG(0);
7692
0
  clear_has_caller_term();
7693
0
}
7694
51.3M
inline ::google::protobuf::int64 ConsensusRequestPB::caller_term() const {
7695
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.caller_term)
7696
51.3M
  return caller_term_;
7697
51.3M
}
7698
13.3M
inline void ConsensusRequestPB::set_caller_term(::google::protobuf::int64 value) {
7699
13.3M
  set_has_caller_term();
7700
13.3M
  caller_term_ = value;
7701
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.caller_term)
7702
13.3M
}
7703
7704
// optional .yb.OpIdPB preceding_id = 4;
7705
51.4M
inline bool ConsensusRequestPB::has_preceding_id() const {
7706
51.4M
  return (_has_bits_[0] & 0x00000008u) != 0;
7707
51.4M
}
7708
23.6M
inline void ConsensusRequestPB::set_has_preceding_id() {
7709
23.6M
  _has_bits_[0] |= 0x00000008u;
7710
23.6M
}
7711
0
inline void ConsensusRequestPB::clear_has_preceding_id() {
7712
0
  _has_bits_[0] &= ~0x00000008u;
7713
0
}
7714
10.2M
inline const ::yb::OpIdPB& ConsensusRequestPB::preceding_id() const {
7715
10.2M
  const ::yb::OpIdPB* p = preceding_id_;
7716
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.preceding_id)
7717
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
7718
18.4E
      &::yb::_OpIdPB_default_instance_);
7719
10.2M
}
7720
0
inline ::yb::OpIdPB* ConsensusRequestPB::release_preceding_id() {
7721
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusRequestPB.preceding_id)
7722
0
  clear_has_preceding_id();
7723
0
  ::yb::OpIdPB* temp = preceding_id_;
7724
0
  preceding_id_ = NULL;
7725
0
  return temp;
7726
0
}
7727
23.6M
inline ::yb::OpIdPB* ConsensusRequestPB::mutable_preceding_id() {
7728
23.6M
  set_has_preceding_id();
7729
23.6M
  if (preceding_id_ == NULL) {
7730
10.3M
    preceding_id_ = new ::yb::OpIdPB;
7731
10.3M
  }
7732
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusRequestPB.preceding_id)
7733
23.6M
  return preceding_id_;
7734
23.6M
}
7735
0
inline void ConsensusRequestPB::set_allocated_preceding_id(::yb::OpIdPB* preceding_id) {
7736
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7737
0
  if (message_arena == NULL) {
7738
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(preceding_id_);
7739
0
  }
7740
0
  if (preceding_id) {
7741
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7742
0
    if (message_arena != submessage_arena) {
7743
0
      preceding_id = ::google::protobuf::internal::GetOwnedMessage(
7744
0
          message_arena, preceding_id, submessage_arena);
7745
0
    }
7746
0
    set_has_preceding_id();
7747
0
  } else {
7748
0
    clear_has_preceding_id();
7749
0
  }
7750
0
  preceding_id_ = preceding_id;
7751
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusRequestPB.preceding_id)
7752
0
}
7753
7754
// required .yb.OpIdPB committed_op_id = 5;
7755
47.3M
inline bool ConsensusRequestPB::has_committed_op_id() const {
7756
47.3M
  return (_has_bits_[0] & 0x00000010u) != 0;
7757
47.3M
}
7758
23.6M
inline void ConsensusRequestPB::set_has_committed_op_id() {
7759
23.6M
  _has_bits_[0] |= 0x00000010u;
7760
23.6M
}
7761
0
inline void ConsensusRequestPB::clear_has_committed_op_id() {
7762
0
  _has_bits_[0] &= ~0x00000010u;
7763
0
}
7764
80.9M
inline const ::yb::OpIdPB& ConsensusRequestPB::committed_op_id() const {
7765
80.9M
  const ::yb::OpIdPB* p = committed_op_id_;
7766
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.committed_op_id)
7767
80.9M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
7768
938
      &::yb::_OpIdPB_default_instance_);
7769
80.9M
}
7770
0
inline ::yb::OpIdPB* ConsensusRequestPB::release_committed_op_id() {
7771
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusRequestPB.committed_op_id)
7772
0
  clear_has_committed_op_id();
7773
0
  ::yb::OpIdPB* temp = committed_op_id_;
7774
0
  committed_op_id_ = NULL;
7775
0
  return temp;
7776
0
}
7777
23.6M
inline ::yb::OpIdPB* ConsensusRequestPB::mutable_committed_op_id() {
7778
23.6M
  set_has_committed_op_id();
7779
23.6M
  if (committed_op_id_ == NULL) {
7780
10.3M
    committed_op_id_ = new ::yb::OpIdPB;
7781
10.3M
  }
7782
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusRequestPB.committed_op_id)
7783
23.6M
  return committed_op_id_;
7784
23.6M
}
7785
0
inline void ConsensusRequestPB::set_allocated_committed_op_id(::yb::OpIdPB* committed_op_id) {
7786
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7787
0
  if (message_arena == NULL) {
7788
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(committed_op_id_);
7789
0
  }
7790
0
  if (committed_op_id) {
7791
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7792
0
    if (message_arena != submessage_arena) {
7793
0
      committed_op_id = ::google::protobuf::internal::GetOwnedMessage(
7794
0
          message_arena, committed_op_id, submessage_arena);
7795
0
    }
7796
0
    set_has_committed_op_id();
7797
0
  } else {
7798
0
    clear_has_committed_op_id();
7799
0
  }
7800
0
  committed_op_id_ = committed_op_id;
7801
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusRequestPB.committed_op_id)
7802
0
}
7803
7804
// repeated .yb.consensus.ReplicateMsg ops = 6;
7805
77.9M
inline int ConsensusRequestPB::ops_size() const {
7806
77.9M
  return ops_.size();
7807
77.9M
}
7808
104
inline void ConsensusRequestPB::clear_ops() {
7809
104
  ops_.Clear();
7810
104
}
7811
15.5M
inline const ::yb::consensus::ReplicateMsg& ConsensusRequestPB::ops(int index) const {
7812
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.ops)
7813
15.5M
  return ops_.Get(index);
7814
15.5M
}
7815
5.17M
inline ::yb::consensus::ReplicateMsg* ConsensusRequestPB::mutable_ops(int index) {
7816
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusRequestPB.ops)
7817
5.17M
  return ops_.Mutable(index);
7818
5.17M
}
7819
5.17M
inline ::yb::consensus::ReplicateMsg* ConsensusRequestPB::add_ops() {
7820
  // @@protoc_insertion_point(field_add:yb.consensus.ConsensusRequestPB.ops)
7821
5.17M
  return ops_.Add();
7822
5.17M
}
7823
inline ::google::protobuf::RepeatedPtrField< ::yb::consensus::ReplicateMsg >*
7824
56.9M
ConsensusRequestPB::mutable_ops() {
7825
  // @@protoc_insertion_point(field_mutable_list:yb.consensus.ConsensusRequestPB.ops)
7826
56.9M
  return &ops_;
7827
56.9M
}
7828
inline const ::google::protobuf::RepeatedPtrField< ::yb::consensus::ReplicateMsg >&
7829
78.6M
ConsensusRequestPB::ops() const {
7830
  // @@protoc_insertion_point(field_list:yb.consensus.ConsensusRequestPB.ops)
7831
78.6M
  return ops_;
7832
78.6M
}
7833
7834
// optional int32 leader_lease_duration_ms = 8;
7835
41.0M
inline bool ConsensusRequestPB::has_leader_lease_duration_ms() const {
7836
41.0M
  return (_has_bits_[0] & 0x00000200u) != 0;
7837
41.0M
}
7838
23.5M
inline void ConsensusRequestPB::set_has_leader_lease_duration_ms() {
7839
23.5M
  _has_bits_[0] |= 0x00000200u;
7840
23.5M
}
7841
93.4k
inline void ConsensusRequestPB::clear_has_leader_lease_duration_ms() {
7842
93.4k
  _has_bits_[0] &= ~0x00000200u;
7843
93.4k
}
7844
93.4k
inline void ConsensusRequestPB::clear_leader_lease_duration_ms() {
7845
93.4k
  leader_lease_duration_ms_ = 0;
7846
93.4k
  clear_has_leader_lease_duration_ms();
7847
93.4k
}
7848
51.0M
inline ::google::protobuf::int32 ConsensusRequestPB::leader_lease_duration_ms() const {
7849
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.leader_lease_duration_ms)
7850
51.0M
  return leader_lease_duration_ms_;
7851
51.0M
}
7852
13.3M
inline void ConsensusRequestPB::set_leader_lease_duration_ms(::google::protobuf::int32 value) {
7853
13.3M
  set_has_leader_lease_duration_ms();
7854
13.3M
  leader_lease_duration_ms_ = value;
7855
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.leader_lease_duration_ms)
7856
13.3M
}
7857
7858
// optional fixed64 ht_lease_expiration = 9;
7859
30.6M
inline bool ConsensusRequestPB::has_ht_lease_expiration() const {
7860
30.6M
  return (_has_bits_[0] & 0x00000040u) != 0;
7861
30.6M
}
7862
23.5M
inline void ConsensusRequestPB::set_has_ht_lease_expiration() {
7863
23.5M
  _has_bits_[0] |= 0x00000040u;
7864
23.5M
}
7865
93.4k
inline void ConsensusRequestPB::clear_has_ht_lease_expiration() {
7866
93.4k
  _has_bits_[0] &= ~0x00000040u;
7867
93.4k
}
7868
93.4k
inline void ConsensusRequestPB::clear_ht_lease_expiration() {
7869
93.4k
  ht_lease_expiration_ = GOOGLE_ULONGLONG(0);
7870
93.4k
  clear_has_ht_lease_expiration();
7871
93.4k
}
7872
20.4M
inline ::google::protobuf::uint64 ConsensusRequestPB::ht_lease_expiration() const {
7873
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.ht_lease_expiration)
7874
20.4M
  return ht_lease_expiration_;
7875
20.4M
}
7876
13.2M
inline void ConsensusRequestPB::set_ht_lease_expiration(::google::protobuf::uint64 value) {
7877
13.2M
  set_has_ht_lease_expiration();
7878
13.2M
  ht_lease_expiration_ = value;
7879
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.ht_lease_expiration)
7880
13.2M
}
7881
7882
// optional fixed64 propagated_safe_time = 10;
7883
40.8M
inline bool ConsensusRequestPB::has_propagated_safe_time() const {
7884
40.8M
  return (_has_bits_[0] & 0x00000080u) != 0;
7885
40.8M
}
7886
20.4M
inline void ConsensusRequestPB::set_has_propagated_safe_time() {
7887
20.4M
  _has_bits_[0] |= 0x00000080u;
7888
20.4M
}
7889
13.3M
inline void ConsensusRequestPB::clear_has_propagated_safe_time() {
7890
13.3M
  _has_bits_[0] &= ~0x00000080u;
7891
13.3M
}
7892
13.3M
inline void ConsensusRequestPB::clear_propagated_safe_time() {
7893
13.3M
  propagated_safe_time_ = GOOGLE_ULONGLONG(0);
7894
13.3M
  clear_has_propagated_safe_time();
7895
13.3M
}
7896
20.4M
inline ::google::protobuf::uint64 ConsensusRequestPB::propagated_safe_time() const {
7897
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.propagated_safe_time)
7898
20.4M
  return propagated_safe_time_;
7899
20.4M
}
7900
10.2M
inline void ConsensusRequestPB::set_propagated_safe_time(::google::protobuf::uint64 value) {
7901
10.2M
  set_has_propagated_safe_time();
7902
10.2M
  propagated_safe_time_ = value;
7903
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.propagated_safe_time)
7904
10.2M
}
7905
7906
// optional fixed64 propagated_hybrid_time = 11;
7907
51.3M
inline bool ConsensusRequestPB::has_propagated_hybrid_time() const {
7908
51.3M
  return (_has_bits_[0] & 0x00000100u) != 0;
7909
51.3M
}
7910
23.6M
inline void ConsensusRequestPB::set_has_propagated_hybrid_time() {
7911
23.6M
  _has_bits_[0] |= 0x00000100u;
7912
23.6M
}
7913
0
inline void ConsensusRequestPB::clear_has_propagated_hybrid_time() {
7914
0
  _has_bits_[0] &= ~0x00000100u;
7915
0
}
7916
0
inline void ConsensusRequestPB::clear_propagated_hybrid_time() {
7917
0
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
7918
0
  clear_has_propagated_hybrid_time();
7919
0
}
7920
30.8M
inline ::google::protobuf::uint64 ConsensusRequestPB::propagated_hybrid_time() const {
7921
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusRequestPB.propagated_hybrid_time)
7922
30.8M
  return propagated_hybrid_time_;
7923
30.8M
}
7924
13.3M
inline void ConsensusRequestPB::set_propagated_hybrid_time(::google::protobuf::uint64 value) {
7925
13.3M
  set_has_propagated_hybrid_time();
7926
13.3M
  propagated_hybrid_time_ = value;
7927
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusRequestPB.propagated_hybrid_time)
7928
13.3M
}
7929
7930
// -------------------------------------------------------------------
7931
7932
// ConsensusResponsePB
7933
7934
// optional bytes responder_uuid = 1;
7935
20.5M
inline bool ConsensusResponsePB::has_responder_uuid() const {
7936
20.5M
  return (_has_bits_[0] & 0x00000001u) != 0;
7937
20.5M
}
7938
20.5M
inline void ConsensusResponsePB::set_has_responder_uuid() {
7939
20.5M
  _has_bits_[0] |= 0x00000001u;
7940
20.5M
}
7941
0
inline void ConsensusResponsePB::clear_has_responder_uuid() {
7942
0
  _has_bits_[0] &= ~0x00000001u;
7943
0
}
7944
0
inline void ConsensusResponsePB::clear_responder_uuid() {
7945
0
  responder_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7946
0
  clear_has_responder_uuid();
7947
0
}
7948
30.8M
inline const ::std::string& ConsensusResponsePB::responder_uuid() const {
7949
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusResponsePB.responder_uuid)
7950
30.8M
  return responder_uuid_.GetNoArena();
7951
30.8M
}
7952
10.2M
inline void ConsensusResponsePB::set_responder_uuid(const ::std::string& value) {
7953
10.2M
  set_has_responder_uuid();
7954
10.2M
  responder_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7955
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusResponsePB.responder_uuid)
7956
10.2M
}
7957
#if LANG_CXX11
7958
0
inline void ConsensusResponsePB::set_responder_uuid(::std::string&& value) {
7959
0
  set_has_responder_uuid();
7960
0
  responder_uuid_.SetNoArena(
7961
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7962
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.ConsensusResponsePB.responder_uuid)
7963
0
}
7964
#endif
7965
18
inline void ConsensusResponsePB::set_responder_uuid(const char* value) {
7966
18
  GOOGLE_DCHECK(value != NULL);
7967
18
  set_has_responder_uuid();
7968
18
  responder_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7969
  // @@protoc_insertion_point(field_set_char:yb.consensus.ConsensusResponsePB.responder_uuid)
7970
18
}
7971
0
inline void ConsensusResponsePB::set_responder_uuid(const void* value, size_t size) {
7972
0
  set_has_responder_uuid();
7973
0
  responder_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7974
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7975
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.ConsensusResponsePB.responder_uuid)
7976
0
}
7977
10.2M
inline ::std::string* ConsensusResponsePB::mutable_responder_uuid() {
7978
10.2M
  set_has_responder_uuid();
7979
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusResponsePB.responder_uuid)
7980
10.2M
  return responder_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7981
10.2M
}
7982
0
inline ::std::string* ConsensusResponsePB::release_responder_uuid() {
7983
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusResponsePB.responder_uuid)
7984
0
  clear_has_responder_uuid();
7985
0
  return responder_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7986
0
}
7987
0
inline void ConsensusResponsePB::set_allocated_responder_uuid(::std::string* responder_uuid) {
7988
0
  if (responder_uuid != NULL) {
7989
0
    set_has_responder_uuid();
7990
0
  } else {
7991
0
    clear_has_responder_uuid();
7992
0
  }
7993
0
  responder_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), responder_uuid);
7994
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusResponsePB.responder_uuid)
7995
0
}
7996
7997
// optional int64 responder_term = 2;
7998
35.7M
inline bool ConsensusResponsePB::has_responder_term() const {
7999
35.7M
  return (_has_bits_[0] & 0x00000008u) != 0;
8000
35.7M
}
8001
20.5M
inline void ConsensusResponsePB::set_has_responder_term() {
8002
20.5M
  _has_bits_[0] |= 0x00000008u;
8003
20.5M
}
8004
0
inline void ConsensusResponsePB::clear_has_responder_term() {
8005
0
  _has_bits_[0] &= ~0x00000008u;
8006
0
}
8007
0
inline void ConsensusResponsePB::clear_responder_term() {
8008
0
  responder_term_ = GOOGLE_LONGLONG(0);
8009
0
  clear_has_responder_term();
8010
0
}
8011
51.2M
inline ::google::protobuf::int64 ConsensusResponsePB::responder_term() const {
8012
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusResponsePB.responder_term)
8013
51.2M
  return responder_term_;
8014
51.2M
}
8015
10.2M
inline void ConsensusResponsePB::set_responder_term(::google::protobuf::int64 value) {
8016
10.2M
  set_has_responder_term();
8017
10.2M
  responder_term_ = value;
8018
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusResponsePB.responder_term)
8019
10.2M
}
8020
8021
// optional .yb.consensus.ConsensusStatusPB status = 3;
8022
81.9M
inline bool ConsensusResponsePB::has_status() const {
8023
81.9M
  return (_has_bits_[0] & 0x00000002u) != 0;
8024
81.9M
}
8025
104M
inline void ConsensusResponsePB::set_has_status() {
8026
104M
  _has_bits_[0] |= 0x00000002u;
8027
104M
}
8028
116
inline void ConsensusResponsePB::clear_has_status() {
8029
116
  _has_bits_[0] &= ~0x00000002u;
8030
116
}
8031
116
inline void ConsensusResponsePB::clear_status() {
8032
116
  if (status_ != NULL) status_->Clear();
8033
116
  clear_has_status();
8034
116
}
8035
56.5M
inline const ::yb::consensus::ConsensusStatusPB& ConsensusResponsePB::status() const {
8036
56.5M
  const ::yb::consensus::ConsensusStatusPB* p = status_;
8037
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusResponsePB.status)
8038
30.7M
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ConsensusStatusPB*>(
8039
30.7M
      &::yb::consensus::_ConsensusStatusPB_default_instance_);
8040
56.5M
}
8041
0
inline ::yb::consensus::ConsensusStatusPB* ConsensusResponsePB::release_status() {
8042
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusResponsePB.status)
8043
0
  clear_has_status();
8044
0
  ::yb::consensus::ConsensusStatusPB* temp = status_;
8045
0
  status_ = NULL;
8046
0
  return temp;
8047
0
}
8048
104M
inline ::yb::consensus::ConsensusStatusPB* ConsensusResponsePB::mutable_status() {
8049
104M
  set_has_status();
8050
104M
  if (status_ == NULL) {
8051
23.4M
    status_ = new ::yb::consensus::ConsensusStatusPB;
8052
23.4M
  }
8053
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusResponsePB.status)
8054
104M
  return status_;
8055
104M
}
8056
0
inline void ConsensusResponsePB::set_allocated_status(::yb::consensus::ConsensusStatusPB* status) {
8057
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8058
0
  if (message_arena == NULL) {
8059
0
    delete status_;
8060
0
  }
8061
0
  if (status) {
8062
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8063
0
    if (message_arena != submessage_arena) {
8064
0
      status = ::google::protobuf::internal::GetOwnedMessage(
8065
0
          message_arena, status, submessage_arena);
8066
0
    }
8067
0
    set_has_status();
8068
0
  } else {
8069
0
    clear_has_status();
8070
0
  }
8071
0
  status_ = status;
8072
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusResponsePB.status)
8073
0
}
8074
8075
// optional .yb.tserver.TabletServerErrorPB error = 999;
8076
127M
inline bool ConsensusResponsePB::has_error() const {
8077
127M
  return (_has_bits_[0] & 0x00000004u) != 0;
8078
127M
}
8079
24.3k
inline void ConsensusResponsePB::set_has_error() {
8080
24.3k
  _has_bits_[0] |= 0x00000004u;
8081
24.3k
}
8082
0
inline void ConsensusResponsePB::clear_has_error() {
8083
0
  _has_bits_[0] &= ~0x00000004u;
8084
0
}
8085
48.3k
inline const ::yb::tserver::TabletServerErrorPB& ConsensusResponsePB::error() const {
8086
48.3k
  const ::yb::tserver::TabletServerErrorPB* p = error_;
8087
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusResponsePB.error)
8088
18.4E
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
8089
18.4E
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
8090
48.3k
}
8091
0
inline ::yb::tserver::TabletServerErrorPB* ConsensusResponsePB::release_error() {
8092
0
  // @@protoc_insertion_point(field_release:yb.consensus.ConsensusResponsePB.error)
8093
0
  clear_has_error();
8094
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
8095
0
  error_ = NULL;
8096
0
  return temp;
8097
0
}
8098
24.3k
inline ::yb::tserver::TabletServerErrorPB* ConsensusResponsePB::mutable_error() {
8099
24.3k
  set_has_error();
8100
24.3k
  if (error_ == NULL) {
8101
17.1k
    error_ = new ::yb::tserver::TabletServerErrorPB;
8102
17.1k
  }
8103
  // @@protoc_insertion_point(field_mutable:yb.consensus.ConsensusResponsePB.error)
8104
24.3k
  return error_;
8105
24.3k
}
8106
0
inline void ConsensusResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
8107
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8108
0
  if (message_arena == NULL) {
8109
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
8110
0
  }
8111
0
  if (error) {
8112
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8113
0
    if (message_arena != submessage_arena) {
8114
0
      error = ::google::protobuf::internal::GetOwnedMessage(
8115
0
          message_arena, error, submessage_arena);
8116
0
    }
8117
0
    set_has_error();
8118
0
  } else {
8119
0
    clear_has_error();
8120
0
  }
8121
0
  error_ = error;
8122
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.ConsensusResponsePB.error)
8123
0
}
8124
8125
// optional int64 num_sst_files = 5;
8126
20.5M
inline bool ConsensusResponsePB::has_num_sst_files() const {
8127
20.5M
  return (_has_bits_[0] & 0x00000010u) != 0;
8128
20.5M
}
8129
33.7M
inline void ConsensusResponsePB::set_has_num_sst_files() {
8130
33.7M
  _has_bits_[0] |= 0x00000010u;
8131
33.7M
}
8132
0
inline void ConsensusResponsePB::clear_has_num_sst_files() {
8133
0
  _has_bits_[0] &= ~0x00000010u;
8134
0
}
8135
0
inline void ConsensusResponsePB::clear_num_sst_files() {
8136
0
  num_sst_files_ = GOOGLE_LONGLONG(0);
8137
0
  clear_has_num_sst_files();
8138
0
}
8139
46.0M
inline ::google::protobuf::int64 ConsensusResponsePB::num_sst_files() const {
8140
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusResponsePB.num_sst_files)
8141
46.0M
  return num_sst_files_;
8142
46.0M
}
8143
23.4M
inline void ConsensusResponsePB::set_num_sst_files(::google::protobuf::int64 value) {
8144
23.4M
  set_has_num_sst_files();
8145
23.4M
  num_sst_files_ = value;
8146
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusResponsePB.num_sst_files)
8147
23.4M
}
8148
8149
// optional fixed64 propagated_hybrid_time = 6;
8150
30.9M
inline bool ConsensusResponsePB::has_propagated_hybrid_time() const {
8151
30.9M
  return (_has_bits_[0] & 0x00000020u) != 0;
8152
30.9M
}
8153
20.5M
inline void ConsensusResponsePB::set_has_propagated_hybrid_time() {
8154
20.5M
  _has_bits_[0] |= 0x00000020u;
8155
20.5M
}
8156
0
inline void ConsensusResponsePB::clear_has_propagated_hybrid_time() {
8157
0
  _has_bits_[0] &= ~0x00000020u;
8158
0
}
8159
0
inline void ConsensusResponsePB::clear_propagated_hybrid_time() {
8160
0
  propagated_hybrid_time_ = GOOGLE_ULONGLONG(0);
8161
0
  clear_has_propagated_hybrid_time();
8162
0
}
8163
20.5M
inline ::google::protobuf::uint64 ConsensusResponsePB::propagated_hybrid_time() const {
8164
  // @@protoc_insertion_point(field_get:yb.consensus.ConsensusResponsePB.propagated_hybrid_time)
8165
20.5M
  return propagated_hybrid_time_;
8166
20.5M
}
8167
10.2M
inline void ConsensusResponsePB::set_propagated_hybrid_time(::google::protobuf::uint64 value) {
8168
10.2M
  set_has_propagated_hybrid_time();
8169
10.2M
  propagated_hybrid_time_ = value;
8170
  // @@protoc_insertion_point(field_set:yb.consensus.ConsensusResponsePB.propagated_hybrid_time)
8171
10.2M
}
8172
8173
// -------------------------------------------------------------------
8174
8175
// MultiRaftConsensusRequestPB
8176
8177
// repeated .yb.consensus.ConsensusRequestPB consensus_request = 1;
8178
0
inline int MultiRaftConsensusRequestPB::consensus_request_size() const {
8179
0
  return consensus_request_.size();
8180
0
}
8181
0
inline void MultiRaftConsensusRequestPB::clear_consensus_request() {
8182
0
  consensus_request_.Clear();
8183
0
}
8184
0
inline const ::yb::consensus::ConsensusRequestPB& MultiRaftConsensusRequestPB::consensus_request(int index) const {
8185
0
  // @@protoc_insertion_point(field_get:yb.consensus.MultiRaftConsensusRequestPB.consensus_request)
8186
0
  return consensus_request_.Get(index);
8187
0
}
8188
0
inline ::yb::consensus::ConsensusRequestPB* MultiRaftConsensusRequestPB::mutable_consensus_request(int index) {
8189
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.MultiRaftConsensusRequestPB.consensus_request)
8190
0
  return consensus_request_.Mutable(index);
8191
0
}
8192
0
inline ::yb::consensus::ConsensusRequestPB* MultiRaftConsensusRequestPB::add_consensus_request() {
8193
0
  // @@protoc_insertion_point(field_add:yb.consensus.MultiRaftConsensusRequestPB.consensus_request)
8194
0
  return consensus_request_.Add();
8195
0
}
8196
inline ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusRequestPB >*
8197
0
MultiRaftConsensusRequestPB::mutable_consensus_request() {
8198
0
  // @@protoc_insertion_point(field_mutable_list:yb.consensus.MultiRaftConsensusRequestPB.consensus_request)
8199
0
  return &consensus_request_;
8200
0
}
8201
inline const ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusRequestPB >&
8202
0
MultiRaftConsensusRequestPB::consensus_request() const {
8203
0
  // @@protoc_insertion_point(field_list:yb.consensus.MultiRaftConsensusRequestPB.consensus_request)
8204
0
  return consensus_request_;
8205
0
}
8206
8207
// -------------------------------------------------------------------
8208
8209
// MultiRaftConsensusResponsePB
8210
8211
// repeated .yb.consensus.ConsensusResponsePB consensus_response = 1;
8212
0
inline int MultiRaftConsensusResponsePB::consensus_response_size() const {
8213
0
  return consensus_response_.size();
8214
0
}
8215
0
inline void MultiRaftConsensusResponsePB::clear_consensus_response() {
8216
0
  consensus_response_.Clear();
8217
0
}
8218
0
inline const ::yb::consensus::ConsensusResponsePB& MultiRaftConsensusResponsePB::consensus_response(int index) const {
8219
0
  // @@protoc_insertion_point(field_get:yb.consensus.MultiRaftConsensusResponsePB.consensus_response)
8220
0
  return consensus_response_.Get(index);
8221
0
}
8222
0
inline ::yb::consensus::ConsensusResponsePB* MultiRaftConsensusResponsePB::mutable_consensus_response(int index) {
8223
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.MultiRaftConsensusResponsePB.consensus_response)
8224
0
  return consensus_response_.Mutable(index);
8225
0
}
8226
0
inline ::yb::consensus::ConsensusResponsePB* MultiRaftConsensusResponsePB::add_consensus_response() {
8227
0
  // @@protoc_insertion_point(field_add:yb.consensus.MultiRaftConsensusResponsePB.consensus_response)
8228
0
  return consensus_response_.Add();
8229
0
}
8230
inline ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusResponsePB >*
8231
0
MultiRaftConsensusResponsePB::mutable_consensus_response() {
8232
0
  // @@protoc_insertion_point(field_mutable_list:yb.consensus.MultiRaftConsensusResponsePB.consensus_response)
8233
0
  return &consensus_response_;
8234
0
}
8235
inline const ::google::protobuf::RepeatedPtrField< ::yb::consensus::ConsensusResponsePB >&
8236
0
MultiRaftConsensusResponsePB::consensus_response() const {
8237
0
  // @@protoc_insertion_point(field_list:yb.consensus.MultiRaftConsensusResponsePB.consensus_response)
8238
0
  return consensus_response_;
8239
0
}
8240
8241
// -------------------------------------------------------------------
8242
8243
// OperationStatusPB
8244
8245
// required .yb.OpIdPB op_id = 1;
8246
0
inline bool OperationStatusPB::has_op_id() const {
8247
0
  return (_has_bits_[0] & 0x00000004u) != 0;
8248
0
}
8249
0
inline void OperationStatusPB::set_has_op_id() {
8250
0
  _has_bits_[0] |= 0x00000004u;
8251
0
}
8252
0
inline void OperationStatusPB::clear_has_op_id() {
8253
0
  _has_bits_[0] &= ~0x00000004u;
8254
0
}
8255
0
inline const ::yb::OpIdPB& OperationStatusPB::op_id() const {
8256
0
  const ::yb::OpIdPB* p = op_id_;
8257
0
  // @@protoc_insertion_point(field_get:yb.consensus.OperationStatusPB.op_id)
8258
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
8259
0
      &::yb::_OpIdPB_default_instance_);
8260
0
}
8261
0
inline ::yb::OpIdPB* OperationStatusPB::release_op_id() {
8262
0
  // @@protoc_insertion_point(field_release:yb.consensus.OperationStatusPB.op_id)
8263
0
  clear_has_op_id();
8264
0
  ::yb::OpIdPB* temp = op_id_;
8265
0
  op_id_ = NULL;
8266
0
  return temp;
8267
0
}
8268
0
inline ::yb::OpIdPB* OperationStatusPB::mutable_op_id() {
8269
0
  set_has_op_id();
8270
0
  if (op_id_ == NULL) {
8271
0
    op_id_ = new ::yb::OpIdPB;
8272
0
  }
8273
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.OperationStatusPB.op_id)
8274
0
  return op_id_;
8275
0
}
8276
0
inline void OperationStatusPB::set_allocated_op_id(::yb::OpIdPB* op_id) {
8277
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8278
0
  if (message_arena == NULL) {
8279
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(op_id_);
8280
0
  }
8281
0
  if (op_id) {
8282
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8283
0
    if (message_arena != submessage_arena) {
8284
0
      op_id = ::google::protobuf::internal::GetOwnedMessage(
8285
0
          message_arena, op_id, submessage_arena);
8286
0
    }
8287
0
    set_has_op_id();
8288
0
  } else {
8289
0
    clear_has_op_id();
8290
0
  }
8291
0
  op_id_ = op_id;
8292
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.OperationStatusPB.op_id)
8293
0
}
8294
8295
// required .yb.consensus.OperationType operation_type = 2;
8296
0
inline bool OperationStatusPB::has_operation_type() const {
8297
0
  return (_has_bits_[0] & 0x00000010u) != 0;
8298
0
}
8299
0
inline void OperationStatusPB::set_has_operation_type() {
8300
0
  _has_bits_[0] |= 0x00000010u;
8301
0
}
8302
0
inline void OperationStatusPB::clear_has_operation_type() {
8303
0
  _has_bits_[0] &= ~0x00000010u;
8304
0
}
8305
0
inline void OperationStatusPB::clear_operation_type() {
8306
0
  operation_type_ = 0;
8307
0
  clear_has_operation_type();
8308
0
}
8309
0
inline ::yb::consensus::OperationType OperationStatusPB::operation_type() const {
8310
0
  // @@protoc_insertion_point(field_get:yb.consensus.OperationStatusPB.operation_type)
8311
0
  return static_cast< ::yb::consensus::OperationType >(operation_type_);
8312
0
}
8313
0
inline void OperationStatusPB::set_operation_type(::yb::consensus::OperationType value) {
8314
0
  assert(::yb::consensus::OperationType_IsValid(value));
8315
0
  set_has_operation_type();
8316
0
  operation_type_ = value;
8317
0
  // @@protoc_insertion_point(field_set:yb.consensus.OperationStatusPB.operation_type)
8318
0
}
8319
8320
// required int64 running_for_micros = 3;
8321
0
inline bool OperationStatusPB::has_running_for_micros() const {
8322
0
  return (_has_bits_[0] & 0x00000008u) != 0;
8323
0
}
8324
0
inline void OperationStatusPB::set_has_running_for_micros() {
8325
0
  _has_bits_[0] |= 0x00000008u;
8326
0
}
8327
0
inline void OperationStatusPB::clear_has_running_for_micros() {
8328
0
  _has_bits_[0] &= ~0x00000008u;
8329
0
}
8330
0
inline void OperationStatusPB::clear_running_for_micros() {
8331
0
  running_for_micros_ = GOOGLE_LONGLONG(0);
8332
0
  clear_has_running_for_micros();
8333
0
}
8334
0
inline ::google::protobuf::int64 OperationStatusPB::running_for_micros() const {
8335
0
  // @@protoc_insertion_point(field_get:yb.consensus.OperationStatusPB.running_for_micros)
8336
0
  return running_for_micros_;
8337
0
}
8338
0
inline void OperationStatusPB::set_running_for_micros(::google::protobuf::int64 value) {
8339
0
  set_has_running_for_micros();
8340
0
  running_for_micros_ = value;
8341
0
  // @@protoc_insertion_point(field_set:yb.consensus.OperationStatusPB.running_for_micros)
8342
0
}
8343
8344
// required string description = 4;
8345
0
inline bool OperationStatusPB::has_description() const {
8346
0
  return (_has_bits_[0] & 0x00000001u) != 0;
8347
0
}
8348
0
inline void OperationStatusPB::set_has_description() {
8349
0
  _has_bits_[0] |= 0x00000001u;
8350
0
}
8351
0
inline void OperationStatusPB::clear_has_description() {
8352
0
  _has_bits_[0] &= ~0x00000001u;
8353
0
}
8354
0
inline void OperationStatusPB::clear_description() {
8355
0
  description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8356
0
  clear_has_description();
8357
0
}
8358
0
inline const ::std::string& OperationStatusPB::description() const {
8359
0
  // @@protoc_insertion_point(field_get:yb.consensus.OperationStatusPB.description)
8360
0
  return description_.GetNoArena();
8361
0
}
8362
0
inline void OperationStatusPB::set_description(const ::std::string& value) {
8363
0
  set_has_description();
8364
0
  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8365
0
  // @@protoc_insertion_point(field_set:yb.consensus.OperationStatusPB.description)
8366
0
}
8367
#if LANG_CXX11
8368
0
inline void OperationStatusPB::set_description(::std::string&& value) {
8369
0
  set_has_description();
8370
0
  description_.SetNoArena(
8371
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8372
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.OperationStatusPB.description)
8373
0
}
8374
#endif
8375
0
inline void OperationStatusPB::set_description(const char* value) {
8376
0
  GOOGLE_DCHECK(value != NULL);
8377
0
  set_has_description();
8378
0
  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8379
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.OperationStatusPB.description)
8380
0
}
8381
0
inline void OperationStatusPB::set_description(const char* value, size_t size) {
8382
0
  set_has_description();
8383
0
  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8384
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8385
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.OperationStatusPB.description)
8386
0
}
8387
0
inline ::std::string* OperationStatusPB::mutable_description() {
8388
0
  set_has_description();
8389
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.OperationStatusPB.description)
8390
0
  return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8391
0
}
8392
0
inline ::std::string* OperationStatusPB::release_description() {
8393
0
  // @@protoc_insertion_point(field_release:yb.consensus.OperationStatusPB.description)
8394
0
  clear_has_description();
8395
0
  return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8396
0
}
8397
0
inline void OperationStatusPB::set_allocated_description(::std::string* description) {
8398
0
  if (description != NULL) {
8399
0
    set_has_description();
8400
0
  } else {
8401
0
    clear_has_description();
8402
0
  }
8403
0
  description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
8404
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.OperationStatusPB.description)
8405
0
}
8406
8407
// optional string trace_buffer = 6;
8408
0
inline bool OperationStatusPB::has_trace_buffer() const {
8409
0
  return (_has_bits_[0] & 0x00000002u) != 0;
8410
0
}
8411
0
inline void OperationStatusPB::set_has_trace_buffer() {
8412
0
  _has_bits_[0] |= 0x00000002u;
8413
0
}
8414
0
inline void OperationStatusPB::clear_has_trace_buffer() {
8415
0
  _has_bits_[0] &= ~0x00000002u;
8416
0
}
8417
0
inline void OperationStatusPB::clear_trace_buffer() {
8418
0
  trace_buffer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8419
0
  clear_has_trace_buffer();
8420
0
}
8421
0
inline const ::std::string& OperationStatusPB::trace_buffer() const {
8422
0
  // @@protoc_insertion_point(field_get:yb.consensus.OperationStatusPB.trace_buffer)
8423
0
  return trace_buffer_.GetNoArena();
8424
0
}
8425
0
inline void OperationStatusPB::set_trace_buffer(const ::std::string& value) {
8426
0
  set_has_trace_buffer();
8427
0
  trace_buffer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8428
0
  // @@protoc_insertion_point(field_set:yb.consensus.OperationStatusPB.trace_buffer)
8429
0
}
8430
#if LANG_CXX11
8431
0
inline void OperationStatusPB::set_trace_buffer(::std::string&& value) {
8432
0
  set_has_trace_buffer();
8433
0
  trace_buffer_.SetNoArena(
8434
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8435
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.OperationStatusPB.trace_buffer)
8436
0
}
8437
#endif
8438
0
inline void OperationStatusPB::set_trace_buffer(const char* value) {
8439
0
  GOOGLE_DCHECK(value != NULL);
8440
0
  set_has_trace_buffer();
8441
0
  trace_buffer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8442
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.OperationStatusPB.trace_buffer)
8443
0
}
8444
0
inline void OperationStatusPB::set_trace_buffer(const char* value, size_t size) {
8445
0
  set_has_trace_buffer();
8446
0
  trace_buffer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8447
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8448
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.OperationStatusPB.trace_buffer)
8449
0
}
8450
0
inline ::std::string* OperationStatusPB::mutable_trace_buffer() {
8451
0
  set_has_trace_buffer();
8452
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.OperationStatusPB.trace_buffer)
8453
0
  return trace_buffer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8454
0
}
8455
0
inline ::std::string* OperationStatusPB::release_trace_buffer() {
8456
0
  // @@protoc_insertion_point(field_release:yb.consensus.OperationStatusPB.trace_buffer)
8457
0
  clear_has_trace_buffer();
8458
0
  return trace_buffer_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8459
0
}
8460
0
inline void OperationStatusPB::set_allocated_trace_buffer(::std::string* trace_buffer) {
8461
0
  if (trace_buffer != NULL) {
8462
0
    set_has_trace_buffer();
8463
0
  } else {
8464
0
    clear_has_trace_buffer();
8465
0
  }
8466
0
  trace_buffer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trace_buffer);
8467
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.OperationStatusPB.trace_buffer)
8468
0
}
8469
8470
// -------------------------------------------------------------------
8471
8472
// GetNodeInstanceRequestPB
8473
8474
// -------------------------------------------------------------------
8475
8476
// GetNodeInstanceResponsePB
8477
8478
// optional .yb.NodeInstancePB node_instance = 1;
8479
58.3k
inline bool GetNodeInstanceResponsePB::has_node_instance() const {
8480
58.3k
  return (_has_bits_[0] & 0x00000001u) != 0;
8481
58.3k
}
8482
29.1k
inline void GetNodeInstanceResponsePB::set_has_node_instance() {
8483
29.1k
  _has_bits_[0] |= 0x00000001u;
8484
29.1k
}
8485
0
inline void GetNodeInstanceResponsePB::clear_has_node_instance() {
8486
0
  _has_bits_[0] &= ~0x00000001u;
8487
0
}
8488
14.5k
inline const ::yb::NodeInstancePB& GetNodeInstanceResponsePB::node_instance() const {
8489
14.5k
  const ::yb::NodeInstancePB* p = node_instance_;
8490
  // @@protoc_insertion_point(field_get:yb.consensus.GetNodeInstanceResponsePB.node_instance)
8491
14.5k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>(
8492
0
      &::yb::_NodeInstancePB_default_instance_);
8493
14.5k
}
8494
0
inline ::yb::NodeInstancePB* GetNodeInstanceResponsePB::release_node_instance() {
8495
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetNodeInstanceResponsePB.node_instance)
8496
0
  clear_has_node_instance();
8497
0
  ::yb::NodeInstancePB* temp = node_instance_;
8498
0
  node_instance_ = NULL;
8499
0
  return temp;
8500
0
}
8501
29.1k
inline ::yb::NodeInstancePB* GetNodeInstanceResponsePB::mutable_node_instance() {
8502
29.1k
  set_has_node_instance();
8503
29.1k
  if (node_instance_ == NULL) {
8504
29.1k
    node_instance_ = new ::yb::NodeInstancePB;
8505
29.1k
  }
8506
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetNodeInstanceResponsePB.node_instance)
8507
29.1k
  return node_instance_;
8508
29.1k
}
8509
0
inline void GetNodeInstanceResponsePB::set_allocated_node_instance(::yb::NodeInstancePB* node_instance) {
8510
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8511
0
  if (message_arena == NULL) {
8512
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(node_instance_);
8513
0
  }
8514
0
  if (node_instance) {
8515
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8516
0
    if (message_arena != submessage_arena) {
8517
0
      node_instance = ::google::protobuf::internal::GetOwnedMessage(
8518
0
          message_arena, node_instance, submessage_arena);
8519
0
    }
8520
0
    set_has_node_instance();
8521
0
  } else {
8522
0
    clear_has_node_instance();
8523
0
  }
8524
0
  node_instance_ = node_instance;
8525
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetNodeInstanceResponsePB.node_instance)
8526
0
}
8527
8528
// optional .yb.ServerRegistrationPB registration = 2;
8529
72.9k
inline bool GetNodeInstanceResponsePB::has_registration() const {
8530
72.9k
  return (_has_bits_[0] & 0x00000002u) != 0;
8531
72.9k
}
8532
29.1k
inline void GetNodeInstanceResponsePB::set_has_registration() {
8533
29.1k
  _has_bits_[0] |= 0x00000002u;
8534
29.1k
}
8535
0
inline void GetNodeInstanceResponsePB::clear_has_registration() {
8536
0
  _has_bits_[0] &= ~0x00000002u;
8537
0
}
8538
14.5k
inline const ::yb::ServerRegistrationPB& GetNodeInstanceResponsePB::registration() const {
8539
14.5k
  const ::yb::ServerRegistrationPB* p = registration_;
8540
  // @@protoc_insertion_point(field_get:yb.consensus.GetNodeInstanceResponsePB.registration)
8541
14.5k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::ServerRegistrationPB*>(
8542
0
      &::yb::_ServerRegistrationPB_default_instance_);
8543
14.5k
}
8544
0
inline ::yb::ServerRegistrationPB* GetNodeInstanceResponsePB::release_registration() {
8545
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetNodeInstanceResponsePB.registration)
8546
0
  clear_has_registration();
8547
0
  ::yb::ServerRegistrationPB* temp = registration_;
8548
0
  registration_ = NULL;
8549
0
  return temp;
8550
0
}
8551
29.1k
inline ::yb::ServerRegistrationPB* GetNodeInstanceResponsePB::mutable_registration() {
8552
29.1k
  set_has_registration();
8553
29.1k
  if (registration_ == NULL) {
8554
29.1k
    registration_ = new ::yb::ServerRegistrationPB;
8555
29.1k
  }
8556
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetNodeInstanceResponsePB.registration)
8557
29.1k
  return registration_;
8558
29.1k
}
8559
0
inline void GetNodeInstanceResponsePB::set_allocated_registration(::yb::ServerRegistrationPB* registration) {
8560
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8561
0
  if (message_arena == NULL) {
8562
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(registration_);
8563
0
  }
8564
0
  if (registration) {
8565
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8566
0
    if (message_arena != submessage_arena) {
8567
0
      registration = ::google::protobuf::internal::GetOwnedMessage(
8568
0
          message_arena, registration, submessage_arena);
8569
0
    }
8570
0
    set_has_registration();
8571
0
  } else {
8572
0
    clear_has_registration();
8573
0
  }
8574
0
  registration_ = registration;
8575
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetNodeInstanceResponsePB.registration)
8576
0
}
8577
8578
// -------------------------------------------------------------------
8579
8580
// RunLeaderElectionRequestPB
8581
8582
// optional bytes dest_uuid = 2;
8583
113k
inline bool RunLeaderElectionRequestPB::has_dest_uuid() const {
8584
113k
  return (_has_bits_[0] & 0x00000002u) != 0;
8585
113k
}
8586
89.4k
inline void RunLeaderElectionRequestPB::set_has_dest_uuid() {
8587
89.4k
  _has_bits_[0] |= 0x00000002u;
8588
89.4k
}
8589
0
inline void RunLeaderElectionRequestPB::clear_has_dest_uuid() {
8590
0
  _has_bits_[0] &= ~0x00000002u;
8591
0
}
8592
0
inline void RunLeaderElectionRequestPB::clear_dest_uuid() {
8593
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8594
0
  clear_has_dest_uuid();
8595
0
}
8596
282k
inline const ::std::string& RunLeaderElectionRequestPB::dest_uuid() const {
8597
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8598
282k
  return dest_uuid_.GetNoArena();
8599
282k
}
8600
32.9k
inline void RunLeaderElectionRequestPB::set_dest_uuid(const ::std::string& value) {
8601
32.9k
  set_has_dest_uuid();
8602
32.9k
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8603
  // @@protoc_insertion_point(field_set:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8604
32.9k
}
8605
#if LANG_CXX11
8606
0
inline void RunLeaderElectionRequestPB::set_dest_uuid(::std::string&& value) {
8607
0
  set_has_dest_uuid();
8608
0
  dest_uuid_.SetNoArena(
8609
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8610
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8611
0
}
8612
#endif
8613
0
inline void RunLeaderElectionRequestPB::set_dest_uuid(const char* value) {
8614
0
  GOOGLE_DCHECK(value != NULL);
8615
0
  set_has_dest_uuid();
8616
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8617
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8618
0
}
8619
0
inline void RunLeaderElectionRequestPB::set_dest_uuid(const void* value, size_t size) {
8620
0
  set_has_dest_uuid();
8621
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8622
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8623
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8624
0
}
8625
56.5k
inline ::std::string* RunLeaderElectionRequestPB::mutable_dest_uuid() {
8626
56.5k
  set_has_dest_uuid();
8627
  // @@protoc_insertion_point(field_mutable:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8628
56.5k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8629
56.5k
}
8630
0
inline ::std::string* RunLeaderElectionRequestPB::release_dest_uuid() {
8631
0
  // @@protoc_insertion_point(field_release:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8632
0
  clear_has_dest_uuid();
8633
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8634
0
}
8635
0
inline void RunLeaderElectionRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
8636
0
  if (dest_uuid != NULL) {
8637
0
    set_has_dest_uuid();
8638
0
  } else {
8639
0
    clear_has_dest_uuid();
8640
0
  }
8641
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
8642
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.RunLeaderElectionRequestPB.dest_uuid)
8643
0
}
8644
8645
// required bytes tablet_id = 1;
8646
113k
inline bool RunLeaderElectionRequestPB::has_tablet_id() const {
8647
113k
  return (_has_bits_[0] & 0x00000001u) != 0;
8648
113k
}
8649
89.4k
inline void RunLeaderElectionRequestPB::set_has_tablet_id() {
8650
89.4k
  _has_bits_[0] |= 0x00000001u;
8651
89.4k
}
8652
0
inline void RunLeaderElectionRequestPB::clear_has_tablet_id() {
8653
0
  _has_bits_[0] &= ~0x00000001u;
8654
0
}
8655
0
inline void RunLeaderElectionRequestPB::clear_tablet_id() {
8656
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8657
0
  clear_has_tablet_id();
8658
0
}
8659
226k
inline const ::std::string& RunLeaderElectionRequestPB::tablet_id() const {
8660
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8661
226k
  return tablet_id_.GetNoArena();
8662
226k
}
8663
32.9k
inline void RunLeaderElectionRequestPB::set_tablet_id(const ::std::string& value) {
8664
32.9k
  set_has_tablet_id();
8665
32.9k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8666
  // @@protoc_insertion_point(field_set:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8667
32.9k
}
8668
#if LANG_CXX11
8669
0
inline void RunLeaderElectionRequestPB::set_tablet_id(::std::string&& value) {
8670
0
  set_has_tablet_id();
8671
0
  tablet_id_.SetNoArena(
8672
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8673
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8674
0
}
8675
#endif
8676
0
inline void RunLeaderElectionRequestPB::set_tablet_id(const char* value) {
8677
0
  GOOGLE_DCHECK(value != NULL);
8678
0
  set_has_tablet_id();
8679
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8680
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8681
0
}
8682
0
inline void RunLeaderElectionRequestPB::set_tablet_id(const void* value, size_t size) {
8683
0
  set_has_tablet_id();
8684
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8685
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8686
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8687
0
}
8688
56.4k
inline ::std::string* RunLeaderElectionRequestPB::mutable_tablet_id() {
8689
56.4k
  set_has_tablet_id();
8690
  // @@protoc_insertion_point(field_mutable:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8691
56.4k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8692
56.4k
}
8693
0
inline ::std::string* RunLeaderElectionRequestPB::release_tablet_id() {
8694
0
  // @@protoc_insertion_point(field_release:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8695
0
  clear_has_tablet_id();
8696
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8697
0
}
8698
0
inline void RunLeaderElectionRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
8699
0
  if (tablet_id != NULL) {
8700
0
    set_has_tablet_id();
8701
0
  } else {
8702
0
    clear_has_tablet_id();
8703
0
  }
8704
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
8705
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.RunLeaderElectionRequestPB.tablet_id)
8706
0
}
8707
8708
// optional .yb.OpIdPB committed_index = 3;
8709
259k
inline bool RunLeaderElectionRequestPB::has_committed_index() const {
8710
259k
  return (_has_bits_[0] & 0x00000008u) != 0;
8711
259k
}
8712
0
inline void RunLeaderElectionRequestPB::set_has_committed_index() {
8713
0
  _has_bits_[0] |= 0x00000008u;
8714
0
}
8715
0
inline void RunLeaderElectionRequestPB::clear_has_committed_index() {
8716
0
  _has_bits_[0] &= ~0x00000008u;
8717
0
}
8718
32.9k
inline const ::yb::OpIdPB& RunLeaderElectionRequestPB::committed_index() const {
8719
32.9k
  const ::yb::OpIdPB* p = committed_index_;
8720
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionRequestPB.committed_index)
8721
32.9k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
8722
32.9k
      &::yb::_OpIdPB_default_instance_);
8723
32.9k
}
8724
0
inline ::yb::OpIdPB* RunLeaderElectionRequestPB::release_committed_index() {
8725
0
  // @@protoc_insertion_point(field_release:yb.consensus.RunLeaderElectionRequestPB.committed_index)
8726
0
  clear_has_committed_index();
8727
0
  ::yb::OpIdPB* temp = committed_index_;
8728
0
  committed_index_ = NULL;
8729
0
  return temp;
8730
0
}
8731
0
inline ::yb::OpIdPB* RunLeaderElectionRequestPB::mutable_committed_index() {
8732
0
  set_has_committed_index();
8733
0
  if (committed_index_ == NULL) {
8734
0
    committed_index_ = new ::yb::OpIdPB;
8735
0
  }
8736
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.RunLeaderElectionRequestPB.committed_index)
8737
0
  return committed_index_;
8738
0
}
8739
0
inline void RunLeaderElectionRequestPB::set_allocated_committed_index(::yb::OpIdPB* committed_index) {
8740
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8741
0
  if (message_arena == NULL) {
8742
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(committed_index_);
8743
0
  }
8744
0
  if (committed_index) {
8745
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8746
0
    if (message_arena != submessage_arena) {
8747
0
      committed_index = ::google::protobuf::internal::GetOwnedMessage(
8748
0
          message_arena, committed_index, submessage_arena);
8749
0
    }
8750
0
    set_has_committed_index();
8751
0
  } else {
8752
0
    clear_has_committed_index();
8753
0
  }
8754
0
  committed_index_ = committed_index;
8755
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.RunLeaderElectionRequestPB.committed_index)
8756
0
}
8757
8758
// optional bytes originator_uuid = 4;
8759
145k
inline bool RunLeaderElectionRequestPB::has_originator_uuid() const {
8760
145k
  return (_has_bits_[0] & 0x00000004u) != 0;
8761
145k
}
8762
9.69k
inline void RunLeaderElectionRequestPB::set_has_originator_uuid() {
8763
9.69k
  _has_bits_[0] |= 0x00000004u;
8764
9.69k
}
8765
0
inline void RunLeaderElectionRequestPB::clear_has_originator_uuid() {
8766
0
  _has_bits_[0] &= ~0x00000004u;
8767
0
}
8768
0
inline void RunLeaderElectionRequestPB::clear_originator_uuid() {
8769
0
  originator_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8770
0
  clear_has_originator_uuid();
8771
0
}
8772
19.3k
inline const ::std::string& RunLeaderElectionRequestPB::originator_uuid() const {
8773
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8774
19.3k
  return originator_uuid_.GetNoArena();
8775
19.3k
}
8776
4.85k
inline void RunLeaderElectionRequestPB::set_originator_uuid(const ::std::string& value) {
8777
4.85k
  set_has_originator_uuid();
8778
4.85k
  originator_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8779
  // @@protoc_insertion_point(field_set:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8780
4.85k
}
8781
#if LANG_CXX11
8782
0
inline void RunLeaderElectionRequestPB::set_originator_uuid(::std::string&& value) {
8783
0
  set_has_originator_uuid();
8784
0
  originator_uuid_.SetNoArena(
8785
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8786
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8787
0
}
8788
#endif
8789
0
inline void RunLeaderElectionRequestPB::set_originator_uuid(const char* value) {
8790
0
  GOOGLE_DCHECK(value != NULL);
8791
0
  set_has_originator_uuid();
8792
0
  originator_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8793
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8794
0
}
8795
0
inline void RunLeaderElectionRequestPB::set_originator_uuid(const void* value, size_t size) {
8796
0
  set_has_originator_uuid();
8797
0
  originator_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8798
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8799
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8800
0
}
8801
4.84k
inline ::std::string* RunLeaderElectionRequestPB::mutable_originator_uuid() {
8802
4.84k
  set_has_originator_uuid();
8803
  // @@protoc_insertion_point(field_mutable:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8804
4.84k
  return originator_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8805
4.84k
}
8806
0
inline ::std::string* RunLeaderElectionRequestPB::release_originator_uuid() {
8807
0
  // @@protoc_insertion_point(field_release:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8808
0
  clear_has_originator_uuid();
8809
0
  return originator_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8810
0
}
8811
0
inline void RunLeaderElectionRequestPB::set_allocated_originator_uuid(::std::string* originator_uuid) {
8812
0
  if (originator_uuid != NULL) {
8813
0
    set_has_originator_uuid();
8814
0
  } else {
8815
0
    clear_has_originator_uuid();
8816
0
  }
8817
0
  originator_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), originator_uuid);
8818
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.RunLeaderElectionRequestPB.originator_uuid)
8819
0
}
8820
8821
// optional bool suppress_vote_request = 5;
8822
113k
inline bool RunLeaderElectionRequestPB::has_suppress_vote_request() const {
8823
113k
  return (_has_bits_[0] & 0x00000010u) != 0;
8824
113k
}
8825
198
inline void RunLeaderElectionRequestPB::set_has_suppress_vote_request() {
8826
198
  _has_bits_[0] |= 0x00000010u;
8827
198
}
8828
0
inline void RunLeaderElectionRequestPB::clear_has_suppress_vote_request() {
8829
0
  _has_bits_[0] &= ~0x00000010u;
8830
0
}
8831
0
inline void RunLeaderElectionRequestPB::clear_suppress_vote_request() {
8832
0
  suppress_vote_request_ = false;
8833
0
  clear_has_suppress_vote_request();
8834
0
}
8835
32.9k
inline bool RunLeaderElectionRequestPB::suppress_vote_request() const {
8836
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionRequestPB.suppress_vote_request)
8837
32.9k
  return suppress_vote_request_;
8838
32.9k
}
8839
99
inline void RunLeaderElectionRequestPB::set_suppress_vote_request(bool value) {
8840
99
  set_has_suppress_vote_request();
8841
99
  suppress_vote_request_ = value;
8842
  // @@protoc_insertion_point(field_set:yb.consensus.RunLeaderElectionRequestPB.suppress_vote_request)
8843
99
}
8844
8845
// optional bool initial_election = 6;
8846
113k
inline bool RunLeaderElectionRequestPB::has_initial_election() const {
8847
113k
  return (_has_bits_[0] & 0x00000020u) != 0;
8848
113k
}
8849
79.5k
inline void RunLeaderElectionRequestPB::set_has_initial_election() {
8850
79.5k
  _has_bits_[0] |= 0x00000020u;
8851
79.5k
}
8852
0
inline void RunLeaderElectionRequestPB::clear_has_initial_election() {
8853
0
  _has_bits_[0] &= ~0x00000020u;
8854
0
}
8855
0
inline void RunLeaderElectionRequestPB::clear_initial_election() {
8856
0
  initial_election_ = false;
8857
0
  clear_has_initial_election();
8858
0
}
8859
84.3k
inline bool RunLeaderElectionRequestPB::initial_election() const {
8860
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionRequestPB.initial_election)
8861
84.3k
  return initial_election_;
8862
84.3k
}
8863
28.0k
inline void RunLeaderElectionRequestPB::set_initial_election(bool value) {
8864
28.0k
  set_has_initial_election();
8865
28.0k
  initial_election_ = value;
8866
  // @@protoc_insertion_point(field_set:yb.consensus.RunLeaderElectionRequestPB.initial_election)
8867
28.0k
}
8868
8869
// -------------------------------------------------------------------
8870
8871
// RunLeaderElectionResponsePB
8872
8873
// optional .yb.tserver.TabletServerErrorPB error = 1;
8874
282k
inline bool RunLeaderElectionResponsePB::has_error() const {
8875
282k
  return (_has_bits_[0] & 0x00000001u) != 0;
8876
282k
}
8877
47.1k
inline void RunLeaderElectionResponsePB::set_has_error() {
8878
47.1k
  _has_bits_[0] |= 0x00000001u;
8879
47.1k
}
8880
0
inline void RunLeaderElectionResponsePB::clear_has_error() {
8881
0
  _has_bits_[0] &= ~0x00000001u;
8882
0
}
8883
23.5k
inline const ::yb::tserver::TabletServerErrorPB& RunLeaderElectionResponsePB::error() const {
8884
23.5k
  const ::yb::tserver::TabletServerErrorPB* p = error_;
8885
  // @@protoc_insertion_point(field_get:yb.consensus.RunLeaderElectionResponsePB.error)
8886
23.5k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
8887
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
8888
23.5k
}
8889
0
inline ::yb::tserver::TabletServerErrorPB* RunLeaderElectionResponsePB::release_error() {
8890
0
  // @@protoc_insertion_point(field_release:yb.consensus.RunLeaderElectionResponsePB.error)
8891
0
  clear_has_error();
8892
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
8893
0
  error_ = NULL;
8894
0
  return temp;
8895
0
}
8896
47.1k
inline ::yb::tserver::TabletServerErrorPB* RunLeaderElectionResponsePB::mutable_error() {
8897
47.1k
  set_has_error();
8898
47.1k
  if (error_ == NULL) {
8899
36.7k
    error_ = new ::yb::tserver::TabletServerErrorPB;
8900
36.7k
  }
8901
  // @@protoc_insertion_point(field_mutable:yb.consensus.RunLeaderElectionResponsePB.error)
8902
47.1k
  return error_;
8903
47.1k
}
8904
0
inline void RunLeaderElectionResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
8905
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8906
0
  if (message_arena == NULL) {
8907
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
8908
0
  }
8909
0
  if (error) {
8910
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8911
0
    if (message_arena != submessage_arena) {
8912
0
      error = ::google::protobuf::internal::GetOwnedMessage(
8913
0
          message_arena, error, submessage_arena);
8914
0
    }
8915
0
    set_has_error();
8916
0
  } else {
8917
0
    clear_has_error();
8918
0
  }
8919
0
  error_ = error;
8920
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.RunLeaderElectionResponsePB.error)
8921
0
}
8922
8923
// -------------------------------------------------------------------
8924
8925
// LeaderElectionLostRequestPB
8926
8927
// optional bytes dest_uuid = 1;
8928
88
inline bool LeaderElectionLostRequestPB::has_dest_uuid() const {
8929
88
  return (_has_bits_[0] & 0x00000001u) != 0;
8930
88
}
8931
88
inline void LeaderElectionLostRequestPB::set_has_dest_uuid() {
8932
88
  _has_bits_[0] |= 0x00000001u;
8933
88
}
8934
0
inline void LeaderElectionLostRequestPB::clear_has_dest_uuid() {
8935
0
  _has_bits_[0] &= ~0x00000001u;
8936
0
}
8937
0
inline void LeaderElectionLostRequestPB::clear_dest_uuid() {
8938
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8939
0
  clear_has_dest_uuid();
8940
0
}
8941
220
inline const ::std::string& LeaderElectionLostRequestPB::dest_uuid() const {
8942
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8943
220
  return dest_uuid_.GetNoArena();
8944
220
}
8945
44
inline void LeaderElectionLostRequestPB::set_dest_uuid(const ::std::string& value) {
8946
44
  set_has_dest_uuid();
8947
44
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8948
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8949
44
}
8950
#if LANG_CXX11
8951
0
inline void LeaderElectionLostRequestPB::set_dest_uuid(::std::string&& value) {
8952
0
  set_has_dest_uuid();
8953
0
  dest_uuid_.SetNoArena(
8954
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8955
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8956
0
}
8957
#endif
8958
0
inline void LeaderElectionLostRequestPB::set_dest_uuid(const char* value) {
8959
0
  GOOGLE_DCHECK(value != NULL);
8960
0
  set_has_dest_uuid();
8961
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8962
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8963
0
}
8964
0
inline void LeaderElectionLostRequestPB::set_dest_uuid(const void* value, size_t size) {
8965
0
  set_has_dest_uuid();
8966
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8967
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8968
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8969
0
}
8970
44
inline ::std::string* LeaderElectionLostRequestPB::mutable_dest_uuid() {
8971
44
  set_has_dest_uuid();
8972
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8973
44
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8974
44
}
8975
0
inline ::std::string* LeaderElectionLostRequestPB::release_dest_uuid() {
8976
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8977
0
  clear_has_dest_uuid();
8978
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8979
0
}
8980
0
inline void LeaderElectionLostRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
8981
0
  if (dest_uuid != NULL) {
8982
0
    set_has_dest_uuid();
8983
0
  } else {
8984
0
    clear_has_dest_uuid();
8985
0
  }
8986
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
8987
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderElectionLostRequestPB.dest_uuid)
8988
0
}
8989
8990
// optional bytes tablet_id = 2;
8991
88
inline bool LeaderElectionLostRequestPB::has_tablet_id() const {
8992
88
  return (_has_bits_[0] & 0x00000002u) != 0;
8993
88
}
8994
88
inline void LeaderElectionLostRequestPB::set_has_tablet_id() {
8995
88
  _has_bits_[0] |= 0x00000002u;
8996
88
}
8997
0
inline void LeaderElectionLostRequestPB::clear_has_tablet_id() {
8998
0
  _has_bits_[0] &= ~0x00000002u;
8999
0
}
9000
0
inline void LeaderElectionLostRequestPB::clear_tablet_id() {
9001
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9002
0
  clear_has_tablet_id();
9003
0
}
9004
176
inline const ::std::string& LeaderElectionLostRequestPB::tablet_id() const {
9005
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9006
176
  return tablet_id_.GetNoArena();
9007
176
}
9008
44
inline void LeaderElectionLostRequestPB::set_tablet_id(const ::std::string& value) {
9009
44
  set_has_tablet_id();
9010
44
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9011
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9012
44
}
9013
#if LANG_CXX11
9014
0
inline void LeaderElectionLostRequestPB::set_tablet_id(::std::string&& value) {
9015
0
  set_has_tablet_id();
9016
0
  tablet_id_.SetNoArena(
9017
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9018
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9019
0
}
9020
#endif
9021
0
inline void LeaderElectionLostRequestPB::set_tablet_id(const char* value) {
9022
0
  GOOGLE_DCHECK(value != NULL);
9023
0
  set_has_tablet_id();
9024
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9025
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9026
0
}
9027
0
inline void LeaderElectionLostRequestPB::set_tablet_id(const void* value, size_t size) {
9028
0
  set_has_tablet_id();
9029
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9030
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9031
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9032
0
}
9033
44
inline ::std::string* LeaderElectionLostRequestPB::mutable_tablet_id() {
9034
44
  set_has_tablet_id();
9035
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9036
44
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9037
44
}
9038
0
inline ::std::string* LeaderElectionLostRequestPB::release_tablet_id() {
9039
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9040
0
  clear_has_tablet_id();
9041
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9042
0
}
9043
0
inline void LeaderElectionLostRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9044
0
  if (tablet_id != NULL) {
9045
0
    set_has_tablet_id();
9046
0
  } else {
9047
0
    clear_has_tablet_id();
9048
0
  }
9049
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9050
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderElectionLostRequestPB.tablet_id)
9051
0
}
9052
9053
// optional bytes election_lost_by_uuid = 3;
9054
88
inline bool LeaderElectionLostRequestPB::has_election_lost_by_uuid() const {
9055
88
  return (_has_bits_[0] & 0x00000004u) != 0;
9056
88
}
9057
88
inline void LeaderElectionLostRequestPB::set_has_election_lost_by_uuid() {
9058
88
  _has_bits_[0] |= 0x00000004u;
9059
88
}
9060
0
inline void LeaderElectionLostRequestPB::clear_has_election_lost_by_uuid() {
9061
0
  _has_bits_[0] &= ~0x00000004u;
9062
0
}
9063
0
inline void LeaderElectionLostRequestPB::clear_election_lost_by_uuid() {
9064
0
  election_lost_by_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9065
0
  clear_has_election_lost_by_uuid();
9066
0
}
9067
176
inline const ::std::string& LeaderElectionLostRequestPB::election_lost_by_uuid() const {
9068
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9069
176
  return election_lost_by_uuid_.GetNoArena();
9070
176
}
9071
44
inline void LeaderElectionLostRequestPB::set_election_lost_by_uuid(const ::std::string& value) {
9072
44
  set_has_election_lost_by_uuid();
9073
44
  election_lost_by_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9074
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9075
44
}
9076
#if LANG_CXX11
9077
0
inline void LeaderElectionLostRequestPB::set_election_lost_by_uuid(::std::string&& value) {
9078
0
  set_has_election_lost_by_uuid();
9079
0
  election_lost_by_uuid_.SetNoArena(
9080
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9081
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9082
0
}
9083
#endif
9084
0
inline void LeaderElectionLostRequestPB::set_election_lost_by_uuid(const char* value) {
9085
0
  GOOGLE_DCHECK(value != NULL);
9086
0
  set_has_election_lost_by_uuid();
9087
0
  election_lost_by_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9088
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9089
0
}
9090
0
inline void LeaderElectionLostRequestPB::set_election_lost_by_uuid(const void* value, size_t size) {
9091
0
  set_has_election_lost_by_uuid();
9092
0
  election_lost_by_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9093
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9094
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9095
0
}
9096
44
inline ::std::string* LeaderElectionLostRequestPB::mutable_election_lost_by_uuid() {
9097
44
  set_has_election_lost_by_uuid();
9098
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9099
44
  return election_lost_by_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9100
44
}
9101
0
inline ::std::string* LeaderElectionLostRequestPB::release_election_lost_by_uuid() {
9102
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9103
0
  clear_has_election_lost_by_uuid();
9104
0
  return election_lost_by_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9105
0
}
9106
0
inline void LeaderElectionLostRequestPB::set_allocated_election_lost_by_uuid(::std::string* election_lost_by_uuid) {
9107
0
  if (election_lost_by_uuid != NULL) {
9108
0
    set_has_election_lost_by_uuid();
9109
0
  } else {
9110
0
    clear_has_election_lost_by_uuid();
9111
0
  }
9112
0
  election_lost_by_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), election_lost_by_uuid);
9113
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderElectionLostRequestPB.election_lost_by_uuid)
9114
0
}
9115
9116
// -------------------------------------------------------------------
9117
9118
// LeaderElectionLostResponsePB
9119
9120
// optional .yb.tserver.TabletServerErrorPB error = 1;
9121
220
inline bool LeaderElectionLostResponsePB::has_error() const {
9122
220
  return (_has_bits_[0] & 0x00000001u) != 0;
9123
220
}
9124
0
inline void LeaderElectionLostResponsePB::set_has_error() {
9125
0
  _has_bits_[0] |= 0x00000001u;
9126
0
}
9127
0
inline void LeaderElectionLostResponsePB::clear_has_error() {
9128
0
  _has_bits_[0] &= ~0x00000001u;
9129
0
}
9130
0
inline const ::yb::tserver::TabletServerErrorPB& LeaderElectionLostResponsePB::error() const {
9131
0
  const ::yb::tserver::TabletServerErrorPB* p = error_;
9132
0
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderElectionLostResponsePB.error)
9133
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
9134
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
9135
0
}
9136
0
inline ::yb::tserver::TabletServerErrorPB* LeaderElectionLostResponsePB::release_error() {
9137
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderElectionLostResponsePB.error)
9138
0
  clear_has_error();
9139
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
9140
0
  error_ = NULL;
9141
0
  return temp;
9142
0
}
9143
0
inline ::yb::tserver::TabletServerErrorPB* LeaderElectionLostResponsePB::mutable_error() {
9144
0
  set_has_error();
9145
0
  if (error_ == NULL) {
9146
0
    error_ = new ::yb::tserver::TabletServerErrorPB;
9147
0
  }
9148
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderElectionLostResponsePB.error)
9149
0
  return error_;
9150
0
}
9151
0
inline void LeaderElectionLostResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
9152
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9153
0
  if (message_arena == NULL) {
9154
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
9155
0
  }
9156
0
  if (error) {
9157
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9158
0
    if (message_arena != submessage_arena) {
9159
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9160
0
          message_arena, error, submessage_arena);
9161
0
    }
9162
0
    set_has_error();
9163
0
  } else {
9164
0
    clear_has_error();
9165
0
  }
9166
0
  error_ = error;
9167
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderElectionLostResponsePB.error)
9168
0
}
9169
9170
// -------------------------------------------------------------------
9171
9172
// LeaderStepDownRequestPB
9173
9174
// optional bytes dest_uuid = 2;
9175
11.6k
inline bool LeaderStepDownRequestPB::has_dest_uuid() const {
9176
11.6k
  return (_has_bits_[0] & 0x00000002u) != 0;
9177
11.6k
}
9178
11.7k
inline void LeaderStepDownRequestPB::set_has_dest_uuid() {
9179
11.7k
  _has_bits_[0] |= 0x00000002u;
9180
11.7k
}
9181
0
inline void LeaderStepDownRequestPB::clear_has_dest_uuid() {
9182
0
  _has_bits_[0] &= ~0x00000002u;
9183
0
}
9184
0
inline void LeaderStepDownRequestPB::clear_dest_uuid() {
9185
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9186
0
  clear_has_dest_uuid();
9187
0
}
9188
29.2k
inline const ::std::string& LeaderStepDownRequestPB::dest_uuid() const {
9189
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9190
29.2k
  return dest_uuid_.GetNoArena();
9191
29.2k
}
9192
5.83k
inline void LeaderStepDownRequestPB::set_dest_uuid(const ::std::string& value) {
9193
5.83k
  set_has_dest_uuid();
9194
5.83k
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9195
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9196
5.83k
}
9197
#if LANG_CXX11
9198
0
inline void LeaderStepDownRequestPB::set_dest_uuid(::std::string&& value) {
9199
0
  set_has_dest_uuid();
9200
0
  dest_uuid_.SetNoArena(
9201
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9202
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9203
0
}
9204
#endif
9205
0
inline void LeaderStepDownRequestPB::set_dest_uuid(const char* value) {
9206
0
  GOOGLE_DCHECK(value != NULL);
9207
0
  set_has_dest_uuid();
9208
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9209
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9210
0
}
9211
0
inline void LeaderStepDownRequestPB::set_dest_uuid(const void* value, size_t size) {
9212
0
  set_has_dest_uuid();
9213
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9214
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9215
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9216
0
}
9217
5.88k
inline ::std::string* LeaderStepDownRequestPB::mutable_dest_uuid() {
9218
5.88k
  set_has_dest_uuid();
9219
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9220
5.88k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9221
5.88k
}
9222
0
inline ::std::string* LeaderStepDownRequestPB::release_dest_uuid() {
9223
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9224
0
  clear_has_dest_uuid();
9225
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9226
0
}
9227
0
inline void LeaderStepDownRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
9228
0
  if (dest_uuid != NULL) {
9229
0
    set_has_dest_uuid();
9230
0
  } else {
9231
0
    clear_has_dest_uuid();
9232
0
  }
9233
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
9234
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderStepDownRequestPB.dest_uuid)
9235
0
}
9236
9237
// required bytes tablet_id = 1;
9238
11.6k
inline bool LeaderStepDownRequestPB::has_tablet_id() const {
9239
11.6k
  return (_has_bits_[0] & 0x00000001u) != 0;
9240
11.6k
}
9241
11.7k
inline void LeaderStepDownRequestPB::set_has_tablet_id() {
9242
11.7k
  _has_bits_[0] |= 0x00000001u;
9243
11.7k
}
9244
0
inline void LeaderStepDownRequestPB::clear_has_tablet_id() {
9245
0
  _has_bits_[0] &= ~0x00000001u;
9246
0
}
9247
0
inline void LeaderStepDownRequestPB::clear_tablet_id() {
9248
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9249
0
  clear_has_tablet_id();
9250
0
}
9251
29.2k
inline const ::std::string& LeaderStepDownRequestPB::tablet_id() const {
9252
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9253
29.2k
  return tablet_id_.GetNoArena();
9254
29.2k
}
9255
5.82k
inline void LeaderStepDownRequestPB::set_tablet_id(const ::std::string& value) {
9256
5.82k
  set_has_tablet_id();
9257
5.82k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9258
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9259
5.82k
}
9260
#if LANG_CXX11
9261
0
inline void LeaderStepDownRequestPB::set_tablet_id(::std::string&& value) {
9262
0
  set_has_tablet_id();
9263
0
  tablet_id_.SetNoArena(
9264
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9265
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9266
0
}
9267
#endif
9268
7
inline void LeaderStepDownRequestPB::set_tablet_id(const char* value) {
9269
7
  GOOGLE_DCHECK(value != NULL);
9270
7
  set_has_tablet_id();
9271
7
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9272
  // @@protoc_insertion_point(field_set_char:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9273
7
}
9274
0
inline void LeaderStepDownRequestPB::set_tablet_id(const void* value, size_t size) {
9275
0
  set_has_tablet_id();
9276
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9277
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9278
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9279
0
}
9280
5.88k
inline ::std::string* LeaderStepDownRequestPB::mutable_tablet_id() {
9281
5.88k
  set_has_tablet_id();
9282
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9283
5.88k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9284
5.88k
}
9285
0
inline ::std::string* LeaderStepDownRequestPB::release_tablet_id() {
9286
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9287
0
  clear_has_tablet_id();
9288
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9289
0
}
9290
0
inline void LeaderStepDownRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9291
0
  if (tablet_id != NULL) {
9292
0
    set_has_tablet_id();
9293
0
  } else {
9294
0
    clear_has_tablet_id();
9295
0
  }
9296
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9297
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderStepDownRequestPB.tablet_id)
9298
0
}
9299
9300
// optional bytes new_leader_uuid = 3;
9301
17.3k
inline bool LeaderStepDownRequestPB::has_new_leader_uuid() const {
9302
17.3k
  return (_has_bits_[0] & 0x00000004u) != 0;
9303
17.3k
}
9304
11.0k
inline void LeaderStepDownRequestPB::set_has_new_leader_uuid() {
9305
11.0k
  _has_bits_[0] |= 0x00000004u;
9306
11.0k
}
9307
0
inline void LeaderStepDownRequestPB::clear_has_new_leader_uuid() {
9308
0
  _has_bits_[0] &= ~0x00000004u;
9309
0
}
9310
0
inline void LeaderStepDownRequestPB::clear_new_leader_uuid() {
9311
0
  new_leader_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9312
0
  clear_has_new_leader_uuid();
9313
0
}
9314
21.5k
inline const ::std::string& LeaderStepDownRequestPB::new_leader_uuid() const {
9315
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9316
21.5k
  return new_leader_uuid_.GetNoArena();
9317
21.5k
}
9318
5.49k
inline void LeaderStepDownRequestPB::set_new_leader_uuid(const ::std::string& value) {
9319
5.49k
  set_has_new_leader_uuid();
9320
5.49k
  new_leader_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9321
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9322
5.49k
}
9323
#if LANG_CXX11
9324
0
inline void LeaderStepDownRequestPB::set_new_leader_uuid(::std::string&& value) {
9325
0
  set_has_new_leader_uuid();
9326
0
  new_leader_uuid_.SetNoArena(
9327
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9328
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9329
0
}
9330
#endif
9331
0
inline void LeaderStepDownRequestPB::set_new_leader_uuid(const char* value) {
9332
0
  GOOGLE_DCHECK(value != NULL);
9333
0
  set_has_new_leader_uuid();
9334
0
  new_leader_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9335
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9336
0
}
9337
0
inline void LeaderStepDownRequestPB::set_new_leader_uuid(const void* value, size_t size) {
9338
0
  set_has_new_leader_uuid();
9339
0
  new_leader_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9340
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9341
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9342
0
}
9343
5.52k
inline ::std::string* LeaderStepDownRequestPB::mutable_new_leader_uuid() {
9344
5.52k
  set_has_new_leader_uuid();
9345
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9346
5.52k
  return new_leader_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9347
5.52k
}
9348
0
inline ::std::string* LeaderStepDownRequestPB::release_new_leader_uuid() {
9349
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9350
0
  clear_has_new_leader_uuid();
9351
0
  return new_leader_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9352
0
}
9353
0
inline void LeaderStepDownRequestPB::set_allocated_new_leader_uuid(::std::string* new_leader_uuid) {
9354
0
  if (new_leader_uuid != NULL) {
9355
0
    set_has_new_leader_uuid();
9356
0
  } else {
9357
0
    clear_has_new_leader_uuid();
9358
0
  }
9359
0
  new_leader_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_leader_uuid);
9360
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderStepDownRequestPB.new_leader_uuid)
9361
0
}
9362
9363
// optional bool force_step_down = 4;
9364
17.0k
inline bool LeaderStepDownRequestPB::has_force_step_down() const {
9365
17.0k
  return (_has_bits_[0] & 0x00000008u) != 0;
9366
17.0k
}
9367
0
inline void LeaderStepDownRequestPB::set_has_force_step_down() {
9368
0
  _has_bits_[0] |= 0x00000008u;
9369
0
}
9370
0
inline void LeaderStepDownRequestPB::clear_has_force_step_down() {
9371
0
  _has_bits_[0] &= ~0x00000008u;
9372
0
}
9373
0
inline void LeaderStepDownRequestPB::clear_force_step_down() {
9374
0
  force_step_down_ = false;
9375
0
  clear_has_force_step_down();
9376
0
}
9377
0
inline bool LeaderStepDownRequestPB::force_step_down() const {
9378
0
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownRequestPB.force_step_down)
9379
0
  return force_step_down_;
9380
0
}
9381
0
inline void LeaderStepDownRequestPB::set_force_step_down(bool value) {
9382
0
  set_has_force_step_down();
9383
0
  force_step_down_ = value;
9384
0
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderStepDownRequestPB.force_step_down)
9385
0
}
9386
9387
// optional bool disable_graceful_transition = 5;
9388
11.9k
inline bool LeaderStepDownRequestPB::has_disable_graceful_transition() const {
9389
11.9k
  return (_has_bits_[0] & 0x00000010u) != 0;
9390
11.9k
}
9391
2
inline void LeaderStepDownRequestPB::set_has_disable_graceful_transition() {
9392
2
  _has_bits_[0] |= 0x00000010u;
9393
2
}
9394
0
inline void LeaderStepDownRequestPB::clear_has_disable_graceful_transition() {
9395
0
  _has_bits_[0] &= ~0x00000010u;
9396
0
}
9397
0
inline void LeaderStepDownRequestPB::clear_disable_graceful_transition() {
9398
0
  disable_graceful_transition_ = false;
9399
0
  clear_has_disable_graceful_transition();
9400
0
}
9401
2
inline bool LeaderStepDownRequestPB::disable_graceful_transition() const {
9402
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownRequestPB.disable_graceful_transition)
9403
2
  return disable_graceful_transition_;
9404
2
}
9405
1
inline void LeaderStepDownRequestPB::set_disable_graceful_transition(bool value) {
9406
1
  set_has_disable_graceful_transition();
9407
1
  disable_graceful_transition_ = value;
9408
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderStepDownRequestPB.disable_graceful_transition)
9409
1
}
9410
9411
// -------------------------------------------------------------------
9412
9413
// LeaderStepDownResponsePB
9414
9415
// optional .yb.tserver.TabletServerErrorPB error = 1;
9416
13.7k
inline bool LeaderStepDownResponsePB::has_error() const {
9417
13.7k
  return (_has_bits_[0] & 0x00000001u) != 0;
9418
13.7k
}
9419
3.06k
inline void LeaderStepDownResponsePB::set_has_error() {
9420
3.06k
  _has_bits_[0] |= 0x00000001u;
9421
3.06k
}
9422
0
inline void LeaderStepDownResponsePB::clear_has_error() {
9423
0
  _has_bits_[0] &= ~0x00000001u;
9424
0
}
9425
17.4k
inline const ::yb::tserver::TabletServerErrorPB& LeaderStepDownResponsePB::error() const {
9426
17.4k
  const ::yb::tserver::TabletServerErrorPB* p = error_;
9427
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownResponsePB.error)
9428
14.4k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
9429
14.4k
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
9430
17.4k
}
9431
0
inline ::yb::tserver::TabletServerErrorPB* LeaderStepDownResponsePB::release_error() {
9432
0
  // @@protoc_insertion_point(field_release:yb.consensus.LeaderStepDownResponsePB.error)
9433
0
  clear_has_error();
9434
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
9435
0
  error_ = NULL;
9436
0
  return temp;
9437
0
}
9438
3.06k
inline ::yb::tserver::TabletServerErrorPB* LeaderStepDownResponsePB::mutable_error() {
9439
3.06k
  set_has_error();
9440
3.06k
  if (error_ == NULL) {
9441
2.03k
    error_ = new ::yb::tserver::TabletServerErrorPB;
9442
2.03k
  }
9443
  // @@protoc_insertion_point(field_mutable:yb.consensus.LeaderStepDownResponsePB.error)
9444
3.06k
  return error_;
9445
3.06k
}
9446
0
inline void LeaderStepDownResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
9447
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9448
0
  if (message_arena == NULL) {
9449
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
9450
0
  }
9451
0
  if (error) {
9452
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9453
0
    if (message_arena != submessage_arena) {
9454
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9455
0
          message_arena, error, submessage_arena);
9456
0
    }
9457
0
    set_has_error();
9458
0
  } else {
9459
0
    clear_has_error();
9460
0
  }
9461
0
  error_ = error;
9462
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.LeaderStepDownResponsePB.error)
9463
0
}
9464
9465
// optional int64 time_since_election_failure_ms = 2;
9466
7.86k
inline bool LeaderStepDownResponsePB::has_time_since_election_failure_ms() const {
9467
7.86k
  return (_has_bits_[0] & 0x00000002u) != 0;
9468
7.86k
}
9469
628
inline void LeaderStepDownResponsePB::set_has_time_since_election_failure_ms() {
9470
628
  _has_bits_[0] |= 0x00000002u;
9471
628
}
9472
0
inline void LeaderStepDownResponsePB::clear_has_time_since_election_failure_ms() {
9473
0
  _has_bits_[0] &= ~0x00000002u;
9474
0
}
9475
0
inline void LeaderStepDownResponsePB::clear_time_since_election_failure_ms() {
9476
0
  time_since_election_failure_ms_ = GOOGLE_LONGLONG(0);
9477
0
  clear_has_time_since_election_failure_ms();
9478
0
}
9479
1.28k
inline ::google::protobuf::int64 LeaderStepDownResponsePB::time_since_election_failure_ms() const {
9480
  // @@protoc_insertion_point(field_get:yb.consensus.LeaderStepDownResponsePB.time_since_election_failure_ms)
9481
1.28k
  return time_since_election_failure_ms_;
9482
1.28k
}
9483
327
inline void LeaderStepDownResponsePB::set_time_since_election_failure_ms(::google::protobuf::int64 value) {
9484
327
  set_has_time_since_election_failure_ms();
9485
327
  time_since_election_failure_ms_ = value;
9486
  // @@protoc_insertion_point(field_set:yb.consensus.LeaderStepDownResponsePB.time_since_election_failure_ms)
9487
327
}
9488
9489
// -------------------------------------------------------------------
9490
9491
// GetLastOpIdRequestPB
9492
9493
// optional bytes dest_uuid = 2;
9494
1.24k
inline bool GetLastOpIdRequestPB::has_dest_uuid() const {
9495
1.24k
  return (_has_bits_[0] & 0x00000002u) != 0;
9496
1.24k
}
9497
1.19k
inline void GetLastOpIdRequestPB::set_has_dest_uuid() {
9498
1.19k
  _has_bits_[0] |= 0x00000002u;
9499
1.19k
}
9500
0
inline void GetLastOpIdRequestPB::clear_has_dest_uuid() {
9501
0
  _has_bits_[0] &= ~0x00000002u;
9502
0
}
9503
0
inline void GetLastOpIdRequestPB::clear_dest_uuid() {
9504
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9505
0
  clear_has_dest_uuid();
9506
0
}
9507
3.01k
inline const ::std::string& GetLastOpIdRequestPB::dest_uuid() const {
9508
  // @@protoc_insertion_point(field_get:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9509
3.01k
  return dest_uuid_.GetNoArena();
9510
3.01k
}
9511
621
inline void GetLastOpIdRequestPB::set_dest_uuid(const ::std::string& value) {
9512
621
  set_has_dest_uuid();
9513
621
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9514
  // @@protoc_insertion_point(field_set:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9515
621
}
9516
#if LANG_CXX11
9517
0
inline void GetLastOpIdRequestPB::set_dest_uuid(::std::string&& value) {
9518
0
  set_has_dest_uuid();
9519
0
  dest_uuid_.SetNoArena(
9520
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9521
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9522
0
}
9523
#endif
9524
0
inline void GetLastOpIdRequestPB::set_dest_uuid(const char* value) {
9525
0
  GOOGLE_DCHECK(value != NULL);
9526
0
  set_has_dest_uuid();
9527
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9528
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9529
0
}
9530
0
inline void GetLastOpIdRequestPB::set_dest_uuid(const void* value, size_t size) {
9531
0
  set_has_dest_uuid();
9532
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9533
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9534
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9535
0
}
9536
576
inline ::std::string* GetLastOpIdRequestPB::mutable_dest_uuid() {
9537
576
  set_has_dest_uuid();
9538
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9539
576
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9540
576
}
9541
0
inline ::std::string* GetLastOpIdRequestPB::release_dest_uuid() {
9542
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9543
0
  clear_has_dest_uuid();
9544
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9545
0
}
9546
0
inline void GetLastOpIdRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
9547
0
  if (dest_uuid != NULL) {
9548
0
    set_has_dest_uuid();
9549
0
  } else {
9550
0
    clear_has_dest_uuid();
9551
0
  }
9552
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
9553
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetLastOpIdRequestPB.dest_uuid)
9554
0
}
9555
9556
// required bytes tablet_id = 1;
9557
1.24k
inline bool GetLastOpIdRequestPB::has_tablet_id() const {
9558
1.24k
  return (_has_bits_[0] & 0x00000001u) != 0;
9559
1.24k
}
9560
1.08k
inline void GetLastOpIdRequestPB::set_has_tablet_id() {
9561
1.08k
  _has_bits_[0] |= 0x00000001u;
9562
1.08k
}
9563
0
inline void GetLastOpIdRequestPB::clear_has_tablet_id() {
9564
0
  _has_bits_[0] &= ~0x00000001u;
9565
0
}
9566
0
inline void GetLastOpIdRequestPB::clear_tablet_id() {
9567
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9568
0
  clear_has_tablet_id();
9569
0
}
9570
2.43k
inline const ::std::string& GetLastOpIdRequestPB::tablet_id() const {
9571
  // @@protoc_insertion_point(field_get:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9572
2.43k
  return tablet_id_.GetNoArena();
9573
2.43k
}
9574
467
inline void GetLastOpIdRequestPB::set_tablet_id(const ::std::string& value) {
9575
467
  set_has_tablet_id();
9576
467
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9577
  // @@protoc_insertion_point(field_set:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9578
467
}
9579
#if LANG_CXX11
9580
0
inline void GetLastOpIdRequestPB::set_tablet_id(::std::string&& value) {
9581
0
  set_has_tablet_id();
9582
0
  tablet_id_.SetNoArena(
9583
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9584
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9585
0
}
9586
#endif
9587
44
inline void GetLastOpIdRequestPB::set_tablet_id(const char* value) {
9588
44
  GOOGLE_DCHECK(value != NULL);
9589
44
  set_has_tablet_id();
9590
44
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9591
  // @@protoc_insertion_point(field_set_char:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9592
44
}
9593
0
inline void GetLastOpIdRequestPB::set_tablet_id(const void* value, size_t size) {
9594
0
  set_has_tablet_id();
9595
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9596
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9597
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9598
0
}
9599
576
inline ::std::string* GetLastOpIdRequestPB::mutable_tablet_id() {
9600
576
  set_has_tablet_id();
9601
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9602
576
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9603
576
}
9604
0
inline ::std::string* GetLastOpIdRequestPB::release_tablet_id() {
9605
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9606
0
  clear_has_tablet_id();
9607
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9608
0
}
9609
0
inline void GetLastOpIdRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9610
0
  if (tablet_id != NULL) {
9611
0
    set_has_tablet_id();
9612
0
  } else {
9613
0
    clear_has_tablet_id();
9614
0
  }
9615
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9616
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetLastOpIdRequestPB.tablet_id)
9617
0
}
9618
9619
// optional .yb.consensus.OpIdType opid_type = 3 [default = RECEIVED_OPID];
9620
1.24k
inline bool GetLastOpIdRequestPB::has_opid_type() const {
9621
1.24k
  return (_has_bits_[0] & 0x00000008u) != 0;
9622
1.24k
}
9623
1.19k
inline void GetLastOpIdRequestPB::set_has_opid_type() {
9624
1.19k
  _has_bits_[0] |= 0x00000008u;
9625
1.19k
}
9626
0
inline void GetLastOpIdRequestPB::clear_has_opid_type() {
9627
0
  _has_bits_[0] &= ~0x00000008u;
9628
0
}
9629
0
inline void GetLastOpIdRequestPB::clear_opid_type() {
9630
0
  opid_type_ = 1;
9631
0
  clear_has_opid_type();
9632
0
}
9633
2.99k
inline ::yb::consensus::OpIdType GetLastOpIdRequestPB::opid_type() const {
9634
  // @@protoc_insertion_point(field_get:yb.consensus.GetLastOpIdRequestPB.opid_type)
9635
2.99k
  return static_cast< ::yb::consensus::OpIdType >(opid_type_);
9636
2.99k
}
9637
1.19k
inline void GetLastOpIdRequestPB::set_opid_type(::yb::consensus::OpIdType value) {
9638
1.19k
  assert(::yb::consensus::OpIdType_IsValid(value));
9639
1.19k
  set_has_opid_type();
9640
1.19k
  opid_type_ = value;
9641
  // @@protoc_insertion_point(field_set:yb.consensus.GetLastOpIdRequestPB.opid_type)
9642
1.19k
}
9643
9644
// optional .yb.consensus.OperationType op_type = 4;
9645
1.79k
inline bool GetLastOpIdRequestPB::has_op_type() const {
9646
1.79k
  return (_has_bits_[0] & 0x00000004u) != 0;
9647
1.79k
}
9648
7
inline void GetLastOpIdRequestPB::set_has_op_type() {
9649
7
  _has_bits_[0] |= 0x00000004u;
9650
7
}
9651
0
inline void GetLastOpIdRequestPB::clear_has_op_type() {
9652
0
  _has_bits_[0] &= ~0x00000004u;
9653
0
}
9654
0
inline void GetLastOpIdRequestPB::clear_op_type() {
9655
0
  op_type_ = 0;
9656
0
  clear_has_op_type();
9657
0
}
9658
15
inline ::yb::consensus::OperationType GetLastOpIdRequestPB::op_type() const {
9659
  // @@protoc_insertion_point(field_get:yb.consensus.GetLastOpIdRequestPB.op_type)
9660
15
  return static_cast< ::yb::consensus::OperationType >(op_type_);
9661
15
}
9662
7
inline void GetLastOpIdRequestPB::set_op_type(::yb::consensus::OperationType value) {
9663
7
  assert(::yb::consensus::OperationType_IsValid(value));
9664
7
  set_has_op_type();
9665
7
  op_type_ = value;
9666
  // @@protoc_insertion_point(field_set:yb.consensus.GetLastOpIdRequestPB.op_type)
9667
7
}
9668
9669
// -------------------------------------------------------------------
9670
9671
// GetLastOpIdResponsePB
9672
9673
// optional .yb.OpIdPB opid = 1;
9674
2.30k
inline bool GetLastOpIdResponsePB::has_opid() const {
9675
2.30k
  return (_has_bits_[0] & 0x00000001u) != 0;
9676
2.30k
}
9677
1.10k
inline void GetLastOpIdResponsePB::set_has_opid() {
9678
1.10k
  _has_bits_[0] |= 0x00000001u;
9679
1.10k
}
9680
0
inline void GetLastOpIdResponsePB::clear_has_opid() {
9681
0
  _has_bits_[0] &= ~0x00000001u;
9682
0
}
9683
576
inline const ::yb::OpIdPB& GetLastOpIdResponsePB::opid() const {
9684
576
  const ::yb::OpIdPB* p = opid_;
9685
  // @@protoc_insertion_point(field_get:yb.consensus.GetLastOpIdResponsePB.opid)
9686
570
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
9687
6
      &::yb::_OpIdPB_default_instance_);
9688
576
}
9689
0
inline ::yb::OpIdPB* GetLastOpIdResponsePB::release_opid() {
9690
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetLastOpIdResponsePB.opid)
9691
0
  clear_has_opid();
9692
0
  ::yb::OpIdPB* temp = opid_;
9693
0
  opid_ = NULL;
9694
0
  return temp;
9695
0
}
9696
1.10k
inline ::yb::OpIdPB* GetLastOpIdResponsePB::mutable_opid() {
9697
1.10k
  set_has_opid();
9698
1.10k
  if (opid_ == NULL) {
9699
1.01k
    opid_ = new ::yb::OpIdPB;
9700
1.01k
  }
9701
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetLastOpIdResponsePB.opid)
9702
1.10k
  return opid_;
9703
1.10k
}
9704
0
inline void GetLastOpIdResponsePB::set_allocated_opid(::yb::OpIdPB* opid) {
9705
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9706
0
  if (message_arena == NULL) {
9707
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(opid_);
9708
0
  }
9709
0
  if (opid) {
9710
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9711
0
    if (message_arena != submessage_arena) {
9712
0
      opid = ::google::protobuf::internal::GetOwnedMessage(
9713
0
          message_arena, opid, submessage_arena);
9714
0
    }
9715
0
    set_has_opid();
9716
0
  } else {
9717
0
    clear_has_opid();
9718
0
  }
9719
0
  opid_ = opid;
9720
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetLastOpIdResponsePB.opid)
9721
0
}
9722
9723
// optional .yb.tserver.TabletServerErrorPB error = 2;
9724
2.34k
inline bool GetLastOpIdResponsePB::has_error() const {
9725
2.34k
  return (_has_bits_[0] & 0x00000002u) != 0;
9726
2.34k
}
9727
44
inline void GetLastOpIdResponsePB::set_has_error() {
9728
44
  _has_bits_[0] |= 0x00000002u;
9729
44
}
9730
0
inline void GetLastOpIdResponsePB::clear_has_error() {
9731
0
  _has_bits_[0] &= ~0x00000002u;
9732
0
}
9733
0
inline const ::yb::tserver::TabletServerErrorPB& GetLastOpIdResponsePB::error() const {
9734
0
  const ::yb::tserver::TabletServerErrorPB* p = error_;
9735
0
  // @@protoc_insertion_point(field_get:yb.consensus.GetLastOpIdResponsePB.error)
9736
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
9737
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
9738
0
}
9739
0
inline ::yb::tserver::TabletServerErrorPB* GetLastOpIdResponsePB::release_error() {
9740
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetLastOpIdResponsePB.error)
9741
0
  clear_has_error();
9742
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
9743
0
  error_ = NULL;
9744
0
  return temp;
9745
0
}
9746
44
inline ::yb::tserver::TabletServerErrorPB* GetLastOpIdResponsePB::mutable_error() {
9747
44
  set_has_error();
9748
44
  if (error_ == NULL) {
9749
44
    error_ = new ::yb::tserver::TabletServerErrorPB;
9750
44
  }
9751
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetLastOpIdResponsePB.error)
9752
44
  return error_;
9753
44
}
9754
0
inline void GetLastOpIdResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
9755
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9756
0
  if (message_arena == NULL) {
9757
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
9758
0
  }
9759
0
  if (error) {
9760
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9761
0
    if (message_arena != submessage_arena) {
9762
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9763
0
          message_arena, error, submessage_arena);
9764
0
    }
9765
0
    set_has_error();
9766
0
  } else {
9767
0
    clear_has_error();
9768
0
  }
9769
0
  error_ = error;
9770
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetLastOpIdResponsePB.error)
9771
0
}
9772
9773
// -------------------------------------------------------------------
9774
9775
// GetConsensusStateRequestPB
9776
9777
// optional bytes dest_uuid = 2;
9778
7.49k
inline bool GetConsensusStateRequestPB::has_dest_uuid() const {
9779
7.49k
  return (_has_bits_[0] & 0x00000002u) != 0;
9780
7.49k
}
9781
7.43k
inline void GetConsensusStateRequestPB::set_has_dest_uuid() {
9782
7.43k
  _has_bits_[0] |= 0x00000002u;
9783
7.43k
}
9784
0
inline void GetConsensusStateRequestPB::clear_has_dest_uuid() {
9785
0
  _has_bits_[0] &= ~0x00000002u;
9786
0
}
9787
0
inline void GetConsensusStateRequestPB::clear_dest_uuid() {
9788
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9789
0
  clear_has_dest_uuid();
9790
0
}
9791
18.6k
inline const ::std::string& GetConsensusStateRequestPB::dest_uuid() const {
9792
  // @@protoc_insertion_point(field_get:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9793
18.6k
  return dest_uuid_.GetNoArena();
9794
18.6k
}
9795
3.75k
inline void GetConsensusStateRequestPB::set_dest_uuid(const ::std::string& value) {
9796
3.75k
  set_has_dest_uuid();
9797
3.75k
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9798
  // @@protoc_insertion_point(field_set:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9799
3.75k
}
9800
#if LANG_CXX11
9801
0
inline void GetConsensusStateRequestPB::set_dest_uuid(::std::string&& value) {
9802
0
  set_has_dest_uuid();
9803
0
  dest_uuid_.SetNoArena(
9804
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9805
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9806
0
}
9807
#endif
9808
0
inline void GetConsensusStateRequestPB::set_dest_uuid(const char* value) {
9809
0
  GOOGLE_DCHECK(value != NULL);
9810
0
  set_has_dest_uuid();
9811
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9812
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9813
0
}
9814
0
inline void GetConsensusStateRequestPB::set_dest_uuid(const void* value, size_t size) {
9815
0
  set_has_dest_uuid();
9816
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9817
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9818
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9819
0
}
9820
3.68k
inline ::std::string* GetConsensusStateRequestPB::mutable_dest_uuid() {
9821
3.68k
  set_has_dest_uuid();
9822
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9823
3.68k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9824
3.68k
}
9825
0
inline ::std::string* GetConsensusStateRequestPB::release_dest_uuid() {
9826
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9827
0
  clear_has_dest_uuid();
9828
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9829
0
}
9830
0
inline void GetConsensusStateRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
9831
0
  if (dest_uuid != NULL) {
9832
0
    set_has_dest_uuid();
9833
0
  } else {
9834
0
    clear_has_dest_uuid();
9835
0
  }
9836
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
9837
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetConsensusStateRequestPB.dest_uuid)
9838
0
}
9839
9840
// required bytes tablet_id = 1;
9841
7.49k
inline bool GetConsensusStateRequestPB::has_tablet_id() const {
9842
7.49k
  return (_has_bits_[0] & 0x00000001u) != 0;
9843
7.49k
}
9844
7.43k
inline void GetConsensusStateRequestPB::set_has_tablet_id() {
9845
7.43k
  _has_bits_[0] |= 0x00000001u;
9846
7.43k
}
9847
0
inline void GetConsensusStateRequestPB::clear_has_tablet_id() {
9848
0
  _has_bits_[0] &= ~0x00000001u;
9849
0
}
9850
0
inline void GetConsensusStateRequestPB::clear_tablet_id() {
9851
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9852
0
  clear_has_tablet_id();
9853
0
}
9854
14.9k
inline const ::std::string& GetConsensusStateRequestPB::tablet_id() const {
9855
  // @@protoc_insertion_point(field_get:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9856
14.9k
  return tablet_id_.GetNoArena();
9857
14.9k
}
9858
3.75k
inline void GetConsensusStateRequestPB::set_tablet_id(const ::std::string& value) {
9859
3.75k
  set_has_tablet_id();
9860
3.75k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9861
  // @@protoc_insertion_point(field_set:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9862
3.75k
}
9863
#if LANG_CXX11
9864
0
inline void GetConsensusStateRequestPB::set_tablet_id(::std::string&& value) {
9865
0
  set_has_tablet_id();
9866
0
  tablet_id_.SetNoArena(
9867
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9868
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9869
0
}
9870
#endif
9871
0
inline void GetConsensusStateRequestPB::set_tablet_id(const char* value) {
9872
0
  GOOGLE_DCHECK(value != NULL);
9873
0
  set_has_tablet_id();
9874
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9875
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9876
0
}
9877
0
inline void GetConsensusStateRequestPB::set_tablet_id(const void* value, size_t size) {
9878
0
  set_has_tablet_id();
9879
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9880
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9881
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9882
0
}
9883
3.68k
inline ::std::string* GetConsensusStateRequestPB::mutable_tablet_id() {
9884
3.68k
  set_has_tablet_id();
9885
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9886
3.68k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9887
3.68k
}
9888
0
inline ::std::string* GetConsensusStateRequestPB::release_tablet_id() {
9889
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9890
0
  clear_has_tablet_id();
9891
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9892
0
}
9893
0
inline void GetConsensusStateRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9894
0
  if (tablet_id != NULL) {
9895
0
    set_has_tablet_id();
9896
0
  } else {
9897
0
    clear_has_tablet_id();
9898
0
  }
9899
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9900
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetConsensusStateRequestPB.tablet_id)
9901
0
}
9902
9903
// optional .yb.consensus.ConsensusConfigType type = 3 [default = CONSENSUS_CONFIG_COMMITTED];
9904
7.49k
inline bool GetConsensusStateRequestPB::has_type() const {
9905
7.49k
  return (_has_bits_[0] & 0x00000004u) != 0;
9906
7.49k
}
9907
6.68k
inline void GetConsensusStateRequestPB::set_has_type() {
9908
6.68k
  _has_bits_[0] |= 0x00000004u;
9909
6.68k
}
9910
0
inline void GetConsensusStateRequestPB::clear_has_type() {
9911
0
  _has_bits_[0] &= ~0x00000004u;
9912
0
}
9913
0
inline void GetConsensusStateRequestPB::clear_type() {
9914
0
  type_ = 1;
9915
0
  clear_has_type();
9916
0
}
9917
17.4k
inline ::yb::consensus::ConsensusConfigType GetConsensusStateRequestPB::type() const {
9918
  // @@protoc_insertion_point(field_get:yb.consensus.GetConsensusStateRequestPB.type)
9919
17.4k
  return static_cast< ::yb::consensus::ConsensusConfigType >(type_);
9920
17.4k
}
9921
6.68k
inline void GetConsensusStateRequestPB::set_type(::yb::consensus::ConsensusConfigType value) {
9922
6.68k
  assert(::yb::consensus::ConsensusConfigType_IsValid(value));
9923
6.68k
  set_has_type();
9924
6.68k
  type_ = value;
9925
  // @@protoc_insertion_point(field_set:yb.consensus.GetConsensusStateRequestPB.type)
9926
6.68k
}
9927
9928
// -------------------------------------------------------------------
9929
9930
// GetConsensusStateResponsePB
9931
9932
// optional .yb.consensus.ConsensusStatePB cstate = 1;
9933
14.7k
inline bool GetConsensusStateResponsePB::has_cstate() const {
9934
14.7k
  return (_has_bits_[0] & 0x00000001u) != 0;
9935
14.7k
}
9936
7.31k
inline void GetConsensusStateResponsePB::set_has_cstate() {
9937
7.31k
  _has_bits_[0] |= 0x00000001u;
9938
7.31k
}
9939
0
inline void GetConsensusStateResponsePB::clear_has_cstate() {
9940
0
  _has_bits_[0] &= ~0x00000001u;
9941
0
}
9942
3.63k
inline const ::yb::consensus::ConsensusStatePB& GetConsensusStateResponsePB::cstate() const {
9943
3.63k
  const ::yb::consensus::ConsensusStatePB* p = cstate_;
9944
  // @@protoc_insertion_point(field_get:yb.consensus.GetConsensusStateResponsePB.cstate)
9945
3.63k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::ConsensusStatePB*>(
9946
0
      &::yb::consensus::_ConsensusStatePB_default_instance_);
9947
3.63k
}
9948
0
inline ::yb::consensus::ConsensusStatePB* GetConsensusStateResponsePB::release_cstate() {
9949
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetConsensusStateResponsePB.cstate)
9950
0
  clear_has_cstate();
9951
0
  ::yb::consensus::ConsensusStatePB* temp = cstate_;
9952
0
  cstate_ = NULL;
9953
0
  return temp;
9954
0
}
9955
7.31k
inline ::yb::consensus::ConsensusStatePB* GetConsensusStateResponsePB::mutable_cstate() {
9956
7.31k
  set_has_cstate();
9957
7.31k
  if (cstate_ == NULL) {
9958
7.31k
    cstate_ = new ::yb::consensus::ConsensusStatePB;
9959
7.31k
  }
9960
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetConsensusStateResponsePB.cstate)
9961
7.31k
  return cstate_;
9962
7.31k
}
9963
0
inline void GetConsensusStateResponsePB::set_allocated_cstate(::yb::consensus::ConsensusStatePB* cstate) {
9964
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9965
0
  if (message_arena == NULL) {
9966
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(cstate_);
9967
0
  }
9968
0
  if (cstate) {
9969
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9970
0
    if (message_arena != submessage_arena) {
9971
0
      cstate = ::google::protobuf::internal::GetOwnedMessage(
9972
0
          message_arena, cstate, submessage_arena);
9973
0
    }
9974
0
    set_has_cstate();
9975
0
  } else {
9976
0
    clear_has_cstate();
9977
0
  }
9978
0
  cstate_ = cstate;
9979
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetConsensusStateResponsePB.cstate)
9980
0
}
9981
9982
// optional .yb.tserver.TabletServerErrorPB error = 2;
9983
17.9k
inline bool GetConsensusStateResponsePB::has_error() const {
9984
17.9k
  return (_has_bits_[0] & 0x00000002u) != 0;
9985
17.9k
}
9986
4
inline void GetConsensusStateResponsePB::set_has_error() {
9987
4
  _has_bits_[0] |= 0x00000002u;
9988
4
}
9989
0
inline void GetConsensusStateResponsePB::clear_has_error() {
9990
0
  _has_bits_[0] &= ~0x00000002u;
9991
0
}
9992
2
inline const ::yb::tserver::TabletServerErrorPB& GetConsensusStateResponsePB::error() const {
9993
2
  const ::yb::tserver::TabletServerErrorPB* p = error_;
9994
  // @@protoc_insertion_point(field_get:yb.consensus.GetConsensusStateResponsePB.error)
9995
2
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
9996
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
9997
2
}
9998
0
inline ::yb::tserver::TabletServerErrorPB* GetConsensusStateResponsePB::release_error() {
9999
0
  // @@protoc_insertion_point(field_release:yb.consensus.GetConsensusStateResponsePB.error)
10000
0
  clear_has_error();
10001
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
10002
0
  error_ = NULL;
10003
0
  return temp;
10004
0
}
10005
4
inline ::yb::tserver::TabletServerErrorPB* GetConsensusStateResponsePB::mutable_error() {
10006
4
  set_has_error();
10007
4
  if (error_ == NULL) {
10008
4
    error_ = new ::yb::tserver::TabletServerErrorPB;
10009
4
  }
10010
  // @@protoc_insertion_point(field_mutable:yb.consensus.GetConsensusStateResponsePB.error)
10011
4
  return error_;
10012
4
}
10013
0
inline void GetConsensusStateResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
10014
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10015
0
  if (message_arena == NULL) {
10016
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
10017
0
  }
10018
0
  if (error) {
10019
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10020
0
    if (message_arena != submessage_arena) {
10021
0
      error = ::google::protobuf::internal::GetOwnedMessage(
10022
0
          message_arena, error, submessage_arena);
10023
0
    }
10024
0
    set_has_error();
10025
0
  } else {
10026
0
    clear_has_error();
10027
0
  }
10028
0
  error_ = error;
10029
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.GetConsensusStateResponsePB.error)
10030
0
}
10031
10032
// optional .yb.consensus.LeaderLeaseStatus leader_lease_status = 3;
10033
9.96k
inline bool GetConsensusStateResponsePB::has_leader_lease_status() const {
10034
9.96k
  return (_has_bits_[0] & 0x00000004u) != 0;
10035
9.96k
}
10036
7.31k
inline void GetConsensusStateResponsePB::set_has_leader_lease_status() {
10037
7.31k
  _has_bits_[0] |= 0x00000004u;
10038
7.31k
}
10039
0
inline void GetConsensusStateResponsePB::clear_has_leader_lease_status() {
10040
0
  _has_bits_[0] &= ~0x00000004u;
10041
0
}
10042
0
inline void GetConsensusStateResponsePB::clear_leader_lease_status() {
10043
0
  leader_lease_status_ = 0;
10044
0
  clear_has_leader_lease_status();
10045
0
}
10046
13.6k
inline ::yb::consensus::LeaderLeaseStatus GetConsensusStateResponsePB::leader_lease_status() const {
10047
  // @@protoc_insertion_point(field_get:yb.consensus.GetConsensusStateResponsePB.leader_lease_status)
10048
13.6k
  return static_cast< ::yb::consensus::LeaderLeaseStatus >(leader_lease_status_);
10049
13.6k
}
10050
7.31k
inline void GetConsensusStateResponsePB::set_leader_lease_status(::yb::consensus::LeaderLeaseStatus value) {
10051
7.31k
  assert(::yb::consensus::LeaderLeaseStatus_IsValid(value));
10052
7.31k
  set_has_leader_lease_status();
10053
7.31k
  leader_lease_status_ = value;
10054
  // @@protoc_insertion_point(field_set:yb.consensus.GetConsensusStateResponsePB.leader_lease_status)
10055
7.31k
}
10056
10057
// -------------------------------------------------------------------
10058
10059
// StartRemoteBootstrapRequestPB
10060
10061
// optional bytes dest_uuid = 5;
10062
9.82k
inline bool StartRemoteBootstrapRequestPB::has_dest_uuid() const {
10063
9.82k
  return (_has_bits_[0] & 0x00000004u) != 0;
10064
9.82k
}
10065
9.82k
inline void StartRemoteBootstrapRequestPB::set_has_dest_uuid() {
10066
9.82k
  _has_bits_[0] |= 0x00000004u;
10067
9.82k
}
10068
0
inline void StartRemoteBootstrapRequestPB::clear_has_dest_uuid() {
10069
0
  _has_bits_[0] &= ~0x00000004u;
10070
0
}
10071
0
inline void StartRemoteBootstrapRequestPB::clear_dest_uuid() {
10072
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10073
0
  clear_has_dest_uuid();
10074
0
}
10075
24.5k
inline const ::std::string& StartRemoteBootstrapRequestPB::dest_uuid() const {
10076
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10077
24.5k
  return dest_uuid_.GetNoArena();
10078
24.5k
}
10079
4.91k
inline void StartRemoteBootstrapRequestPB::set_dest_uuid(const ::std::string& value) {
10080
4.91k
  set_has_dest_uuid();
10081
4.91k
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10082
  // @@protoc_insertion_point(field_set:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10083
4.91k
}
10084
#if LANG_CXX11
10085
0
inline void StartRemoteBootstrapRequestPB::set_dest_uuid(::std::string&& value) {
10086
0
  set_has_dest_uuid();
10087
0
  dest_uuid_.SetNoArena(
10088
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10089
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10090
0
}
10091
#endif
10092
0
inline void StartRemoteBootstrapRequestPB::set_dest_uuid(const char* value) {
10093
0
  GOOGLE_DCHECK(value != NULL);
10094
0
  set_has_dest_uuid();
10095
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10096
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10097
0
}
10098
0
inline void StartRemoteBootstrapRequestPB::set_dest_uuid(const void* value, size_t size) {
10099
0
  set_has_dest_uuid();
10100
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10101
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10102
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10103
0
}
10104
4.91k
inline ::std::string* StartRemoteBootstrapRequestPB::mutable_dest_uuid() {
10105
4.91k
  set_has_dest_uuid();
10106
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10107
4.91k
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10108
4.91k
}
10109
0
inline ::std::string* StartRemoteBootstrapRequestPB::release_dest_uuid() {
10110
0
  // @@protoc_insertion_point(field_release:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10111
0
  clear_has_dest_uuid();
10112
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10113
0
}
10114
0
inline void StartRemoteBootstrapRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
10115
0
  if (dest_uuid != NULL) {
10116
0
    set_has_dest_uuid();
10117
0
  } else {
10118
0
    clear_has_dest_uuid();
10119
0
  }
10120
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
10121
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.StartRemoteBootstrapRequestPB.dest_uuid)
10122
0
}
10123
10124
// required bytes tablet_id = 1;
10125
0
inline bool StartRemoteBootstrapRequestPB::has_tablet_id() const {
10126
0
  return (_has_bits_[0] & 0x00000001u) != 0;
10127
0
}
10128
9.82k
inline void StartRemoteBootstrapRequestPB::set_has_tablet_id() {
10129
9.82k
  _has_bits_[0] |= 0x00000001u;
10130
9.82k
}
10131
0
inline void StartRemoteBootstrapRequestPB::clear_has_tablet_id() {
10132
0
  _has_bits_[0] &= ~0x00000001u;
10133
0
}
10134
0
inline void StartRemoteBootstrapRequestPB::clear_tablet_id() {
10135
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10136
0
  clear_has_tablet_id();
10137
0
}
10138
19.5k
inline const ::std::string& StartRemoteBootstrapRequestPB::tablet_id() const {
10139
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10140
19.5k
  return tablet_id_.GetNoArena();
10141
19.5k
}
10142
4.91k
inline void StartRemoteBootstrapRequestPB::set_tablet_id(const ::std::string& value) {
10143
4.91k
  set_has_tablet_id();
10144
4.91k
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10145
  // @@protoc_insertion_point(field_set:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10146
4.91k
}
10147
#if LANG_CXX11
10148
0
inline void StartRemoteBootstrapRequestPB::set_tablet_id(::std::string&& value) {
10149
0
  set_has_tablet_id();
10150
0
  tablet_id_.SetNoArena(
10151
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10152
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10153
0
}
10154
#endif
10155
1
inline void StartRemoteBootstrapRequestPB::set_tablet_id(const char* value) {
10156
1
  GOOGLE_DCHECK(value != NULL);
10157
1
  set_has_tablet_id();
10158
1
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10159
  // @@protoc_insertion_point(field_set_char:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10160
1
}
10161
0
inline void StartRemoteBootstrapRequestPB::set_tablet_id(const void* value, size_t size) {
10162
0
  set_has_tablet_id();
10163
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10164
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10165
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10166
0
}
10167
4.91k
inline ::std::string* StartRemoteBootstrapRequestPB::mutable_tablet_id() {
10168
4.91k
  set_has_tablet_id();
10169
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10170
4.91k
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10171
4.91k
}
10172
0
inline ::std::string* StartRemoteBootstrapRequestPB::release_tablet_id() {
10173
0
  // @@protoc_insertion_point(field_release:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10174
0
  clear_has_tablet_id();
10175
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10176
0
}
10177
0
inline void StartRemoteBootstrapRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
10178
0
  if (tablet_id != NULL) {
10179
0
    set_has_tablet_id();
10180
0
  } else {
10181
0
    clear_has_tablet_id();
10182
0
  }
10183
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
10184
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.StartRemoteBootstrapRequestPB.tablet_id)
10185
0
}
10186
10187
// optional bytes split_parent_tablet_id = 8;
10188
14.7k
inline bool StartRemoteBootstrapRequestPB::has_split_parent_tablet_id() const {
10189
14.7k
  return (_has_bits_[0] & 0x00000008u) != 0;
10190
14.7k
}
10191
168
inline void StartRemoteBootstrapRequestPB::set_has_split_parent_tablet_id() {
10192
168
  _has_bits_[0] |= 0x00000008u;
10193
168
}
10194
0
inline void StartRemoteBootstrapRequestPB::clear_has_split_parent_tablet_id() {
10195
0
  _has_bits_[0] &= ~0x00000008u;
10196
0
}
10197
0
inline void StartRemoteBootstrapRequestPB::clear_split_parent_tablet_id() {
10198
0
  split_parent_tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10199
0
  clear_has_split_parent_tablet_id();
10200
0
}
10201
334
inline const ::std::string& StartRemoteBootstrapRequestPB::split_parent_tablet_id() const {
10202
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10203
334
  return split_parent_tablet_id_.GetNoArena();
10204
334
}
10205
84
inline void StartRemoteBootstrapRequestPB::set_split_parent_tablet_id(const ::std::string& value) {
10206
84
  set_has_split_parent_tablet_id();
10207
84
  split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10208
  // @@protoc_insertion_point(field_set:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10209
84
}
10210
#if LANG_CXX11
10211
0
inline void StartRemoteBootstrapRequestPB::set_split_parent_tablet_id(::std::string&& value) {
10212
0
  set_has_split_parent_tablet_id();
10213
0
  split_parent_tablet_id_.SetNoArena(
10214
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10215
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10216
0
}
10217
#endif
10218
0
inline void StartRemoteBootstrapRequestPB::set_split_parent_tablet_id(const char* value) {
10219
0
  GOOGLE_DCHECK(value != NULL);
10220
0
  set_has_split_parent_tablet_id();
10221
0
  split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10222
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10223
0
}
10224
0
inline void StartRemoteBootstrapRequestPB::set_split_parent_tablet_id(const void* value, size_t size) {
10225
0
  set_has_split_parent_tablet_id();
10226
0
  split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10227
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10228
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10229
0
}
10230
84
inline ::std::string* StartRemoteBootstrapRequestPB::mutable_split_parent_tablet_id() {
10231
84
  set_has_split_parent_tablet_id();
10232
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10233
84
  return split_parent_tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10234
84
}
10235
0
inline ::std::string* StartRemoteBootstrapRequestPB::release_split_parent_tablet_id() {
10236
0
  // @@protoc_insertion_point(field_release:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10237
0
  clear_has_split_parent_tablet_id();
10238
0
  return split_parent_tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10239
0
}
10240
0
inline void StartRemoteBootstrapRequestPB::set_allocated_split_parent_tablet_id(::std::string* split_parent_tablet_id) {
10241
0
  if (split_parent_tablet_id != NULL) {
10242
0
    set_has_split_parent_tablet_id();
10243
0
  } else {
10244
0
    clear_has_split_parent_tablet_id();
10245
0
  }
10246
0
  split_parent_tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_parent_tablet_id);
10247
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.StartRemoteBootstrapRequestPB.split_parent_tablet_id)
10248
0
}
10249
10250
// required bytes bootstrap_peer_uuid = 2;
10251
0
inline bool StartRemoteBootstrapRequestPB::has_bootstrap_peer_uuid() const {
10252
0
  return (_has_bits_[0] & 0x00000002u) != 0;
10253
0
}
10254
9.82k
inline void StartRemoteBootstrapRequestPB::set_has_bootstrap_peer_uuid() {
10255
9.82k
  _has_bits_[0] |= 0x00000002u;
10256
9.82k
}
10257
0
inline void StartRemoteBootstrapRequestPB::clear_has_bootstrap_peer_uuid() {
10258
0
  _has_bits_[0] &= ~0x00000002u;
10259
0
}
10260
0
inline void StartRemoteBootstrapRequestPB::clear_bootstrap_peer_uuid() {
10261
0
  bootstrap_peer_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10262
0
  clear_has_bootstrap_peer_uuid();
10263
0
}
10264
19.4k
inline const ::std::string& StartRemoteBootstrapRequestPB::bootstrap_peer_uuid() const {
10265
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10266
19.4k
  return bootstrap_peer_uuid_.GetNoArena();
10267
19.4k
}
10268
4.91k
inline void StartRemoteBootstrapRequestPB::set_bootstrap_peer_uuid(const ::std::string& value) {
10269
4.91k
  set_has_bootstrap_peer_uuid();
10270
4.91k
  bootstrap_peer_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10271
  // @@protoc_insertion_point(field_set:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10272
4.91k
}
10273
#if LANG_CXX11
10274
0
inline void StartRemoteBootstrapRequestPB::set_bootstrap_peer_uuid(::std::string&& value) {
10275
0
  set_has_bootstrap_peer_uuid();
10276
0
  bootstrap_peer_uuid_.SetNoArena(
10277
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10278
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10279
0
}
10280
#endif
10281
1
inline void StartRemoteBootstrapRequestPB::set_bootstrap_peer_uuid(const char* value) {
10282
1
  GOOGLE_DCHECK(value != NULL);
10283
1
  set_has_bootstrap_peer_uuid();
10284
1
  bootstrap_peer_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10285
  // @@protoc_insertion_point(field_set_char:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10286
1
}
10287
0
inline void StartRemoteBootstrapRequestPB::set_bootstrap_peer_uuid(const void* value, size_t size) {
10288
0
  set_has_bootstrap_peer_uuid();
10289
0
  bootstrap_peer_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10290
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10291
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10292
0
}
10293
4.91k
inline ::std::string* StartRemoteBootstrapRequestPB::mutable_bootstrap_peer_uuid() {
10294
4.91k
  set_has_bootstrap_peer_uuid();
10295
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10296
4.91k
  return bootstrap_peer_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10297
4.91k
}
10298
0
inline ::std::string* StartRemoteBootstrapRequestPB::release_bootstrap_peer_uuid() {
10299
0
  // @@protoc_insertion_point(field_release:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10300
0
  clear_has_bootstrap_peer_uuid();
10301
0
  return bootstrap_peer_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10302
0
}
10303
0
inline void StartRemoteBootstrapRequestPB::set_allocated_bootstrap_peer_uuid(::std::string* bootstrap_peer_uuid) {
10304
0
  if (bootstrap_peer_uuid != NULL) {
10305
0
    set_has_bootstrap_peer_uuid();
10306
0
  } else {
10307
0
    clear_has_bootstrap_peer_uuid();
10308
0
  }
10309
0
  bootstrap_peer_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bootstrap_peer_uuid);
10310
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.StartRemoteBootstrapRequestPB.bootstrap_peer_uuid)
10311
0
}
10312
10313
// repeated .yb.HostPortPB source_private_addr = 3;
10314
14.7k
inline int StartRemoteBootstrapRequestPB::source_private_addr_size() const {
10315
14.7k
  return source_private_addr_.size();
10316
14.7k
}
10317
14.7k
inline const ::yb::HostPortPB& StartRemoteBootstrapRequestPB::source_private_addr(int index) const {
10318
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.source_private_addr)
10319
14.7k
  return source_private_addr_.Get(index);
10320
14.7k
}
10321
0
inline ::yb::HostPortPB* StartRemoteBootstrapRequestPB::mutable_source_private_addr(int index) {
10322
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.source_private_addr)
10323
0
  return source_private_addr_.Mutable(index);
10324
0
}
10325
4.91k
inline ::yb::HostPortPB* StartRemoteBootstrapRequestPB::add_source_private_addr() {
10326
  // @@protoc_insertion_point(field_add:yb.consensus.StartRemoteBootstrapRequestPB.source_private_addr)
10327
4.91k
  return source_private_addr_.Add();
10328
4.91k
}
10329
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
10330
4.91k
StartRemoteBootstrapRequestPB::mutable_source_private_addr() {
10331
  // @@protoc_insertion_point(field_mutable_list:yb.consensus.StartRemoteBootstrapRequestPB.source_private_addr)
10332
4.91k
  return &source_private_addr_;
10333
4.91k
}
10334
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
10335
19.2k
StartRemoteBootstrapRequestPB::source_private_addr() const {
10336
  // @@protoc_insertion_point(field_list:yb.consensus.StartRemoteBootstrapRequestPB.source_private_addr)
10337
19.2k
  return source_private_addr_;
10338
19.2k
}
10339
10340
// repeated .yb.HostPortPB source_broadcast_addr = 6;
10341
14.7k
inline int StartRemoteBootstrapRequestPB::source_broadcast_addr_size() const {
10342
14.7k
  return source_broadcast_addr_.size();
10343
14.7k
}
10344
0
inline const ::yb::HostPortPB& StartRemoteBootstrapRequestPB::source_broadcast_addr(int index) const {
10345
0
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.source_broadcast_addr)
10346
0
  return source_broadcast_addr_.Get(index);
10347
0
}
10348
0
inline ::yb::HostPortPB* StartRemoteBootstrapRequestPB::mutable_source_broadcast_addr(int index) {
10349
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.source_broadcast_addr)
10350
0
  return source_broadcast_addr_.Mutable(index);
10351
0
}
10352
0
inline ::yb::HostPortPB* StartRemoteBootstrapRequestPB::add_source_broadcast_addr() {
10353
0
  // @@protoc_insertion_point(field_add:yb.consensus.StartRemoteBootstrapRequestPB.source_broadcast_addr)
10354
0
  return source_broadcast_addr_.Add();
10355
0
}
10356
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
10357
4.91k
StartRemoteBootstrapRequestPB::mutable_source_broadcast_addr() {
10358
  // @@protoc_insertion_point(field_mutable_list:yb.consensus.StartRemoteBootstrapRequestPB.source_broadcast_addr)
10359
4.91k
  return &source_broadcast_addr_;
10360
4.91k
}
10361
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
10362
14.5k
StartRemoteBootstrapRequestPB::source_broadcast_addr() const {
10363
  // @@protoc_insertion_point(field_list:yb.consensus.StartRemoteBootstrapRequestPB.source_broadcast_addr)
10364
14.5k
  return source_broadcast_addr_;
10365
14.5k
}
10366
10367
// optional .yb.CloudInfoPB source_cloud_info = 7;
10368
9.81k
inline bool StartRemoteBootstrapRequestPB::has_source_cloud_info() const {
10369
9.81k
  return (_has_bits_[0] & 0x00000010u) != 0;
10370
9.81k
}
10371
9.82k
inline void StartRemoteBootstrapRequestPB::set_has_source_cloud_info() {
10372
9.82k
  _has_bits_[0] |= 0x00000010u;
10373
9.82k
}
10374
0
inline void StartRemoteBootstrapRequestPB::clear_has_source_cloud_info() {
10375
0
  _has_bits_[0] &= ~0x00000010u;
10376
0
}
10377
4.74k
inline const ::yb::CloudInfoPB& StartRemoteBootstrapRequestPB::source_cloud_info() const {
10378
4.74k
  const ::yb::CloudInfoPB* p = source_cloud_info_;
10379
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.source_cloud_info)
10380
4.74k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::CloudInfoPB*>(
10381
0
      &::yb::_CloudInfoPB_default_instance_);
10382
4.74k
}
10383
0
inline ::yb::CloudInfoPB* StartRemoteBootstrapRequestPB::release_source_cloud_info() {
10384
0
  // @@protoc_insertion_point(field_release:yb.consensus.StartRemoteBootstrapRequestPB.source_cloud_info)
10385
0
  clear_has_source_cloud_info();
10386
0
  ::yb::CloudInfoPB* temp = source_cloud_info_;
10387
0
  source_cloud_info_ = NULL;
10388
0
  return temp;
10389
0
}
10390
9.82k
inline ::yb::CloudInfoPB* StartRemoteBootstrapRequestPB::mutable_source_cloud_info() {
10391
9.82k
  set_has_source_cloud_info();
10392
9.82k
  if (source_cloud_info_ == NULL) {
10393
5.99k
    source_cloud_info_ = new ::yb::CloudInfoPB;
10394
5.99k
  }
10395
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapRequestPB.source_cloud_info)
10396
9.82k
  return source_cloud_info_;
10397
9.82k
}
10398
0
inline void StartRemoteBootstrapRequestPB::set_allocated_source_cloud_info(::yb::CloudInfoPB* source_cloud_info) {
10399
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10400
0
  if (message_arena == NULL) {
10401
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(source_cloud_info_);
10402
0
  }
10403
0
  if (source_cloud_info) {
10404
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10405
0
    if (message_arena != submessage_arena) {
10406
0
      source_cloud_info = ::google::protobuf::internal::GetOwnedMessage(
10407
0
          message_arena, source_cloud_info, submessage_arena);
10408
0
    }
10409
0
    set_has_source_cloud_info();
10410
0
  } else {
10411
0
    clear_has_source_cloud_info();
10412
0
  }
10413
0
  source_cloud_info_ = source_cloud_info;
10414
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.StartRemoteBootstrapRequestPB.source_cloud_info)
10415
0
}
10416
10417
// optional int64 caller_term = 4 [default = -1];
10418
9.82k
inline bool StartRemoteBootstrapRequestPB::has_caller_term() const {
10419
9.82k
  return (_has_bits_[0] & 0x00000020u) != 0;
10420
9.82k
}
10421
9.82k
inline void StartRemoteBootstrapRequestPB::set_has_caller_term() {
10422
9.82k
  _has_bits_[0] |= 0x00000020u;
10423
9.82k
}
10424
0
inline void StartRemoteBootstrapRequestPB::clear_has_caller_term() {
10425
0
  _has_bits_[0] &= ~0x00000020u;
10426
0
}
10427
0
inline void StartRemoteBootstrapRequestPB::clear_caller_term() {
10428
0
  caller_term_ = GOOGLE_LONGLONG(-1);
10429
0
  clear_has_caller_term();
10430
0
}
10431
19.4k
inline ::google::protobuf::int64 StartRemoteBootstrapRequestPB::caller_term() const {
10432
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapRequestPB.caller_term)
10433
19.4k
  return caller_term_;
10434
19.4k
}
10435
4.91k
inline void StartRemoteBootstrapRequestPB::set_caller_term(::google::protobuf::int64 value) {
10436
4.91k
  set_has_caller_term();
10437
4.91k
  caller_term_ = value;
10438
  // @@protoc_insertion_point(field_set:yb.consensus.StartRemoteBootstrapRequestPB.caller_term)
10439
4.91k
}
10440
10441
// -------------------------------------------------------------------
10442
10443
// StartRemoteBootstrapResponsePB
10444
10445
// optional .yb.tserver.TabletServerErrorPB error = 1;
10446
23.3k
inline bool StartRemoteBootstrapResponsePB::has_error() const {
10447
23.3k
  return (_has_bits_[0] & 0x00000001u) != 0;
10448
23.3k
}
10449
7.82k
inline void StartRemoteBootstrapResponsePB::set_has_error() {
10450
7.82k
  _has_bits_[0] |= 0x00000001u;
10451
7.82k
}
10452
0
inline void StartRemoteBootstrapResponsePB::clear_has_error() {
10453
0
  _has_bits_[0] &= ~0x00000001u;
10454
0
}
10455
3.90k
inline const ::yb::tserver::TabletServerErrorPB& StartRemoteBootstrapResponsePB::error() const {
10456
3.90k
  const ::yb::tserver::TabletServerErrorPB* p = error_;
10457
  // @@protoc_insertion_point(field_get:yb.consensus.StartRemoteBootstrapResponsePB.error)
10458
3.90k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
10459
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
10460
3.90k
}
10461
0
inline ::yb::tserver::TabletServerErrorPB* StartRemoteBootstrapResponsePB::release_error() {
10462
0
  // @@protoc_insertion_point(field_release:yb.consensus.StartRemoteBootstrapResponsePB.error)
10463
0
  clear_has_error();
10464
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
10465
0
  error_ = NULL;
10466
0
  return temp;
10467
0
}
10468
7.82k
inline ::yb::tserver::TabletServerErrorPB* StartRemoteBootstrapResponsePB::mutable_error() {
10469
7.82k
  set_has_error();
10470
7.82k
  if (error_ == NULL) {
10471
4.03k
    error_ = new ::yb::tserver::TabletServerErrorPB;
10472
4.03k
  }
10473
  // @@protoc_insertion_point(field_mutable:yb.consensus.StartRemoteBootstrapResponsePB.error)
10474
7.82k
  return error_;
10475
7.82k
}
10476
0
inline void StartRemoteBootstrapResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
10477
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10478
0
  if (message_arena == NULL) {
10479
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
10480
0
  }
10481
0
  if (error) {
10482
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10483
0
    if (message_arena != submessage_arena) {
10484
0
      error = ::google::protobuf::internal::GetOwnedMessage(
10485
0
          message_arena, error, submessage_arena);
10486
0
    }
10487
0
    set_has_error();
10488
0
  } else {
10489
0
    clear_has_error();
10490
0
  }
10491
0
  error_ = error;
10492
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.StartRemoteBootstrapResponsePB.error)
10493
0
}
10494
10495
// -------------------------------------------------------------------
10496
10497
// UnsafeChangeConfigRequestPB
10498
10499
// optional bytes dest_uuid = 1;
10500
0
inline bool UnsafeChangeConfigRequestPB::has_dest_uuid() const {
10501
0
  return (_has_bits_[0] & 0x00000001u) != 0;
10502
0
}
10503
0
inline void UnsafeChangeConfigRequestPB::set_has_dest_uuid() {
10504
0
  _has_bits_[0] |= 0x00000001u;
10505
0
}
10506
0
inline void UnsafeChangeConfigRequestPB::clear_has_dest_uuid() {
10507
0
  _has_bits_[0] &= ~0x00000001u;
10508
0
}
10509
0
inline void UnsafeChangeConfigRequestPB::clear_dest_uuid() {
10510
0
  dest_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10511
0
  clear_has_dest_uuid();
10512
0
}
10513
0
inline const ::std::string& UnsafeChangeConfigRequestPB::dest_uuid() const {
10514
0
  // @@protoc_insertion_point(field_get:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10515
0
  return dest_uuid_.GetNoArena();
10516
0
}
10517
0
inline void UnsafeChangeConfigRequestPB::set_dest_uuid(const ::std::string& value) {
10518
0
  set_has_dest_uuid();
10519
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10520
0
  // @@protoc_insertion_point(field_set:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10521
0
}
10522
#if LANG_CXX11
10523
0
inline void UnsafeChangeConfigRequestPB::set_dest_uuid(::std::string&& value) {
10524
0
  set_has_dest_uuid();
10525
0
  dest_uuid_.SetNoArena(
10526
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10527
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10528
0
}
10529
#endif
10530
0
inline void UnsafeChangeConfigRequestPB::set_dest_uuid(const char* value) {
10531
0
  GOOGLE_DCHECK(value != NULL);
10532
0
  set_has_dest_uuid();
10533
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10534
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10535
0
}
10536
0
inline void UnsafeChangeConfigRequestPB::set_dest_uuid(const void* value, size_t size) {
10537
0
  set_has_dest_uuid();
10538
0
  dest_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10539
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10540
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10541
0
}
10542
0
inline ::std::string* UnsafeChangeConfigRequestPB::mutable_dest_uuid() {
10543
0
  set_has_dest_uuid();
10544
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10545
0
  return dest_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10546
0
}
10547
0
inline ::std::string* UnsafeChangeConfigRequestPB::release_dest_uuid() {
10548
0
  // @@protoc_insertion_point(field_release:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10549
0
  clear_has_dest_uuid();
10550
0
  return dest_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10551
0
}
10552
0
inline void UnsafeChangeConfigRequestPB::set_allocated_dest_uuid(::std::string* dest_uuid) {
10553
0
  if (dest_uuid != NULL) {
10554
0
    set_has_dest_uuid();
10555
0
  } else {
10556
0
    clear_has_dest_uuid();
10557
0
  }
10558
0
  dest_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dest_uuid);
10559
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.UnsafeChangeConfigRequestPB.dest_uuid)
10560
0
}
10561
10562
// required bytes tablet_id = 2;
10563
0
inline bool UnsafeChangeConfigRequestPB::has_tablet_id() const {
10564
0
  return (_has_bits_[0] & 0x00000002u) != 0;
10565
0
}
10566
0
inline void UnsafeChangeConfigRequestPB::set_has_tablet_id() {
10567
0
  _has_bits_[0] |= 0x00000002u;
10568
0
}
10569
0
inline void UnsafeChangeConfigRequestPB::clear_has_tablet_id() {
10570
0
  _has_bits_[0] &= ~0x00000002u;
10571
0
}
10572
0
inline void UnsafeChangeConfigRequestPB::clear_tablet_id() {
10573
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10574
0
  clear_has_tablet_id();
10575
0
}
10576
0
inline const ::std::string& UnsafeChangeConfigRequestPB::tablet_id() const {
10577
0
  // @@protoc_insertion_point(field_get:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10578
0
  return tablet_id_.GetNoArena();
10579
0
}
10580
0
inline void UnsafeChangeConfigRequestPB::set_tablet_id(const ::std::string& value) {
10581
0
  set_has_tablet_id();
10582
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10583
0
  // @@protoc_insertion_point(field_set:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10584
0
}
10585
#if LANG_CXX11
10586
0
inline void UnsafeChangeConfigRequestPB::set_tablet_id(::std::string&& value) {
10587
0
  set_has_tablet_id();
10588
0
  tablet_id_.SetNoArena(
10589
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10590
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10591
0
}
10592
#endif
10593
0
inline void UnsafeChangeConfigRequestPB::set_tablet_id(const char* value) {
10594
0
  GOOGLE_DCHECK(value != NULL);
10595
0
  set_has_tablet_id();
10596
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10597
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10598
0
}
10599
0
inline void UnsafeChangeConfigRequestPB::set_tablet_id(const void* value, size_t size) {
10600
0
  set_has_tablet_id();
10601
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10602
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10603
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10604
0
}
10605
0
inline ::std::string* UnsafeChangeConfigRequestPB::mutable_tablet_id() {
10606
0
  set_has_tablet_id();
10607
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10608
0
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10609
0
}
10610
0
inline ::std::string* UnsafeChangeConfigRequestPB::release_tablet_id() {
10611
0
  // @@protoc_insertion_point(field_release:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10612
0
  clear_has_tablet_id();
10613
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10614
0
}
10615
0
inline void UnsafeChangeConfigRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
10616
0
  if (tablet_id != NULL) {
10617
0
    set_has_tablet_id();
10618
0
  } else {
10619
0
    clear_has_tablet_id();
10620
0
  }
10621
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
10622
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.UnsafeChangeConfigRequestPB.tablet_id)
10623
0
}
10624
10625
// required bytes caller_id = 3;
10626
0
inline bool UnsafeChangeConfigRequestPB::has_caller_id() const {
10627
0
  return (_has_bits_[0] & 0x00000004u) != 0;
10628
0
}
10629
0
inline void UnsafeChangeConfigRequestPB::set_has_caller_id() {
10630
0
  _has_bits_[0] |= 0x00000004u;
10631
0
}
10632
0
inline void UnsafeChangeConfigRequestPB::clear_has_caller_id() {
10633
0
  _has_bits_[0] &= ~0x00000004u;
10634
0
}
10635
0
inline void UnsafeChangeConfigRequestPB::clear_caller_id() {
10636
0
  caller_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10637
0
  clear_has_caller_id();
10638
0
}
10639
0
inline const ::std::string& UnsafeChangeConfigRequestPB::caller_id() const {
10640
0
  // @@protoc_insertion_point(field_get:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10641
0
  return caller_id_.GetNoArena();
10642
0
}
10643
0
inline void UnsafeChangeConfigRequestPB::set_caller_id(const ::std::string& value) {
10644
0
  set_has_caller_id();
10645
0
  caller_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10646
0
  // @@protoc_insertion_point(field_set:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10647
0
}
10648
#if LANG_CXX11
10649
0
inline void UnsafeChangeConfigRequestPB::set_caller_id(::std::string&& value) {
10650
0
  set_has_caller_id();
10651
0
  caller_id_.SetNoArena(
10652
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10653
0
  // @@protoc_insertion_point(field_set_rvalue:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10654
0
}
10655
#endif
10656
0
inline void UnsafeChangeConfigRequestPB::set_caller_id(const char* value) {
10657
0
  GOOGLE_DCHECK(value != NULL);
10658
0
  set_has_caller_id();
10659
0
  caller_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10660
0
  // @@protoc_insertion_point(field_set_char:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10661
0
}
10662
0
inline void UnsafeChangeConfigRequestPB::set_caller_id(const void* value, size_t size) {
10663
0
  set_has_caller_id();
10664
0
  caller_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10665
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10666
0
  // @@protoc_insertion_point(field_set_pointer:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10667
0
}
10668
0
inline ::std::string* UnsafeChangeConfigRequestPB::mutable_caller_id() {
10669
0
  set_has_caller_id();
10670
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10671
0
  return caller_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10672
0
}
10673
0
inline ::std::string* UnsafeChangeConfigRequestPB::release_caller_id() {
10674
0
  // @@protoc_insertion_point(field_release:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10675
0
  clear_has_caller_id();
10676
0
  return caller_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10677
0
}
10678
0
inline void UnsafeChangeConfigRequestPB::set_allocated_caller_id(::std::string* caller_id) {
10679
0
  if (caller_id != NULL) {
10680
0
    set_has_caller_id();
10681
0
  } else {
10682
0
    clear_has_caller_id();
10683
0
  }
10684
0
  caller_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), caller_id);
10685
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.UnsafeChangeConfigRequestPB.caller_id)
10686
0
}
10687
10688
// required .yb.consensus.RaftConfigPB new_config = 4;
10689
0
inline bool UnsafeChangeConfigRequestPB::has_new_config() const {
10690
0
  return (_has_bits_[0] & 0x00000008u) != 0;
10691
0
}
10692
0
inline void UnsafeChangeConfigRequestPB::set_has_new_config() {
10693
0
  _has_bits_[0] |= 0x00000008u;
10694
0
}
10695
0
inline void UnsafeChangeConfigRequestPB::clear_has_new_config() {
10696
0
  _has_bits_[0] &= ~0x00000008u;
10697
0
}
10698
0
inline const ::yb::consensus::RaftConfigPB& UnsafeChangeConfigRequestPB::new_config() const {
10699
0
  const ::yb::consensus::RaftConfigPB* p = new_config_;
10700
0
  // @@protoc_insertion_point(field_get:yb.consensus.UnsafeChangeConfigRequestPB.new_config)
10701
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::consensus::RaftConfigPB*>(
10702
0
      &::yb::consensus::_RaftConfigPB_default_instance_);
10703
0
}
10704
0
inline ::yb::consensus::RaftConfigPB* UnsafeChangeConfigRequestPB::release_new_config() {
10705
0
  // @@protoc_insertion_point(field_release:yb.consensus.UnsafeChangeConfigRequestPB.new_config)
10706
0
  clear_has_new_config();
10707
0
  ::yb::consensus::RaftConfigPB* temp = new_config_;
10708
0
  new_config_ = NULL;
10709
0
  return temp;
10710
0
}
10711
0
inline ::yb::consensus::RaftConfigPB* UnsafeChangeConfigRequestPB::mutable_new_config() {
10712
0
  set_has_new_config();
10713
0
  if (new_config_ == NULL) {
10714
0
    new_config_ = new ::yb::consensus::RaftConfigPB;
10715
0
  }
10716
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.UnsafeChangeConfigRequestPB.new_config)
10717
0
  return new_config_;
10718
0
}
10719
0
inline void UnsafeChangeConfigRequestPB::set_allocated_new_config(::yb::consensus::RaftConfigPB* new_config) {
10720
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10721
0
  if (message_arena == NULL) {
10722
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(new_config_);
10723
0
  }
10724
0
  if (new_config) {
10725
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10726
0
    if (message_arena != submessage_arena) {
10727
0
      new_config = ::google::protobuf::internal::GetOwnedMessage(
10728
0
          message_arena, new_config, submessage_arena);
10729
0
    }
10730
0
    set_has_new_config();
10731
0
  } else {
10732
0
    clear_has_new_config();
10733
0
  }
10734
0
  new_config_ = new_config;
10735
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.UnsafeChangeConfigRequestPB.new_config)
10736
0
}
10737
10738
// -------------------------------------------------------------------
10739
10740
// UnsafeChangeConfigResponsePB
10741
10742
// optional .yb.tserver.TabletServerErrorPB error = 1;
10743
0
inline bool UnsafeChangeConfigResponsePB::has_error() const {
10744
0
  return (_has_bits_[0] & 0x00000001u) != 0;
10745
0
}
10746
0
inline void UnsafeChangeConfigResponsePB::set_has_error() {
10747
0
  _has_bits_[0] |= 0x00000001u;
10748
0
}
10749
0
inline void UnsafeChangeConfigResponsePB::clear_has_error() {
10750
0
  _has_bits_[0] &= ~0x00000001u;
10751
0
}
10752
0
inline const ::yb::tserver::TabletServerErrorPB& UnsafeChangeConfigResponsePB::error() const {
10753
0
  const ::yb::tserver::TabletServerErrorPB* p = error_;
10754
0
  // @@protoc_insertion_point(field_get:yb.consensus.UnsafeChangeConfigResponsePB.error)
10755
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TabletServerErrorPB*>(
10756
0
      &::yb::tserver::_TabletServerErrorPB_default_instance_);
10757
0
}
10758
0
inline ::yb::tserver::TabletServerErrorPB* UnsafeChangeConfigResponsePB::release_error() {
10759
0
  // @@protoc_insertion_point(field_release:yb.consensus.UnsafeChangeConfigResponsePB.error)
10760
0
  clear_has_error();
10761
0
  ::yb::tserver::TabletServerErrorPB* temp = error_;
10762
0
  error_ = NULL;
10763
0
  return temp;
10764
0
}
10765
0
inline ::yb::tserver::TabletServerErrorPB* UnsafeChangeConfigResponsePB::mutable_error() {
10766
0
  set_has_error();
10767
0
  if (error_ == NULL) {
10768
0
    error_ = new ::yb::tserver::TabletServerErrorPB;
10769
0
  }
10770
0
  // @@protoc_insertion_point(field_mutable:yb.consensus.UnsafeChangeConfigResponsePB.error)
10771
0
  return error_;
10772
0
}
10773
0
inline void UnsafeChangeConfigResponsePB::set_allocated_error(::yb::tserver::TabletServerErrorPB* error) {
10774
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10775
0
  if (message_arena == NULL) {
10776
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_);
10777
0
  }
10778
0
  if (error) {
10779
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10780
0
    if (message_arena != submessage_arena) {
10781
0
      error = ::google::protobuf::internal::GetOwnedMessage(
10782
0
          message_arena, error, submessage_arena);
10783
0
    }
10784
0
    set_has_error();
10785
0
  } else {
10786
0
    clear_has_error();
10787
0
  }
10788
0
  error_ = error;
10789
0
  // @@protoc_insertion_point(field_set_allocated:yb.consensus.UnsafeChangeConfigResponsePB.error)
10790
0
}
10791
10792
#ifdef __GNUC__
10793
  #pragma GCC diagnostic pop
10794
#endif  // __GNUC__
10795
// -------------------------------------------------------------------
10796
10797
// -------------------------------------------------------------------
10798
10799
// -------------------------------------------------------------------
10800
10801
// -------------------------------------------------------------------
10802
10803
// -------------------------------------------------------------------
10804
10805
// -------------------------------------------------------------------
10806
10807
// -------------------------------------------------------------------
10808
10809
// -------------------------------------------------------------------
10810
10811
// -------------------------------------------------------------------
10812
10813
// -------------------------------------------------------------------
10814
10815
// -------------------------------------------------------------------
10816
10817
// -------------------------------------------------------------------
10818
10819
// -------------------------------------------------------------------
10820
10821
// -------------------------------------------------------------------
10822
10823
// -------------------------------------------------------------------
10824
10825
// -------------------------------------------------------------------
10826
10827
// -------------------------------------------------------------------
10828
10829
// -------------------------------------------------------------------
10830
10831
// -------------------------------------------------------------------
10832
10833
// -------------------------------------------------------------------
10834
10835
// -------------------------------------------------------------------
10836
10837
// -------------------------------------------------------------------
10838
10839
// -------------------------------------------------------------------
10840
10841
// -------------------------------------------------------------------
10842
10843
// -------------------------------------------------------------------
10844
10845
// -------------------------------------------------------------------
10846
10847
// -------------------------------------------------------------------
10848
10849
// -------------------------------------------------------------------
10850
10851
// -------------------------------------------------------------------
10852
10853
// -------------------------------------------------------------------
10854
10855
// -------------------------------------------------------------------
10856
10857
10858
// @@protoc_insertion_point(namespace_scope)
10859
10860
}  // namespace consensus
10861
}  // namespace yb
10862
10863
namespace google {
10864
namespace protobuf {
10865
10866
template <> struct is_proto_enum< ::yb::consensus::DriverType> : ::google::protobuf::internal::true_type {};
10867
template <>
10868
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::consensus::DriverType>() {
10869
0
  return ::yb::consensus::DriverType_descriptor();
10870
0
}
10871
10872
}  // namespace protobuf
10873
}  // namespace google
10874
10875
// @@protoc_insertion_point(global_scope)
10876
10877
#endif  // PROTOBUF_yb_2fconsensus_2fconsensus_2eproto__INCLUDED