YugabyteDB (2.13.1.0-b60, 21121d69985fbf76aa6958d8f04a9bfa936293b5)

Coverage Report

Created: 2022-03-22 16:43

/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/cdc/cdc_service.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: yb/cdc/cdc_service.proto
3
4
#ifndef PROTOBUF_yb_2fcdc_2fcdc_5fservice_2eproto__INCLUDED
5
#define PROTOBUF_yb_2fcdc_2fcdc_5fservice_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.pb.h"
34
#include "yb/common/common_net.pb.h"
35
#include "yb/common/value.pb.h"
36
#include "yb/common/wire_protocol.pb.h"
37
#include "yb/rpc/service.pb.h"
38
#include "yb/tablet/operations.pb.h"
39
#include "yb/tserver/tserver.pb.h"
40
#include "yb/util/opid.pb.h"
41
// @@protoc_insertion_point(includes)
42
43
namespace protobuf_yb_2fcdc_2fcdc_5fservice_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[35];
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 InitDefaultsCDCErrorPBImpl();
55
void InitDefaultsCDCErrorPB();
56
void InitDefaultsCreateCDCStreamRequestPBImpl();
57
void InitDefaultsCreateCDCStreamRequestPB();
58
void InitDefaultsCreateCDCStreamResponsePBImpl();
59
void InitDefaultsCreateCDCStreamResponsePB();
60
void InitDefaultsDeleteCDCStreamRequestPBImpl();
61
void InitDefaultsDeleteCDCStreamRequestPB();
62
void InitDefaultsDeleteCDCStreamResponsePBImpl();
63
void InitDefaultsDeleteCDCStreamResponsePB();
64
void InitDefaultsListTabletsRequestPBImpl();
65
void InitDefaultsListTabletsRequestPB();
66
void InitDefaultsListTabletsResponsePBImpl();
67
void InitDefaultsListTabletsResponsePB();
68
void InitDefaultsCDCTabletPB_ReplicaPBImpl();
69
void InitDefaultsCDCTabletPB_ReplicaPB();
70
void InitDefaultsCDCTabletPBImpl();
71
void InitDefaultsCDCTabletPB();
72
void InitDefaultsCDCSDKCheckpointPBImpl();
73
void InitDefaultsCDCSDKCheckpointPB();
74
void InitDefaultsCDCCheckpointPBImpl();
75
void InitDefaultsCDCCheckpointPB();
76
void InitDefaultsGetChangesRequestPBImpl();
77
void InitDefaultsGetChangesRequestPB();
78
void InitDefaultsKeyValuePairPBImpl();
79
void InitDefaultsKeyValuePairPB();
80
void InitDefaultsCDCRecordPBImpl();
81
void InitDefaultsCDCRecordPB();
82
void InitDefaultsCDCSDKColumnInfoPBImpl();
83
void InitDefaultsCDCSDKColumnInfoPB();
84
void InitDefaultsCDCSDKTablePropertiesPBImpl();
85
void InitDefaultsCDCSDKTablePropertiesPB();
86
void InitDefaultsCDCSDKSchemaPBImpl();
87
void InitDefaultsCDCSDKSchemaPB();
88
void InitDefaultsCDCSDKOpIdPBImpl();
89
void InitDefaultsCDCSDKOpIdPB();
90
void InitDefaultsTypeInfoImpl();
91
void InitDefaultsTypeInfo();
92
void InitDefaultsRowMessageImpl();
93
void InitDefaultsRowMessage();
94
void InitDefaultsCDCSDKProtoRecordPBImpl();
95
void InitDefaultsCDCSDKProtoRecordPB();
96
void InitDefaultsGetChangesResponsePBImpl();
97
void InitDefaultsGetChangesResponsePB();
98
void InitDefaultsGetCheckpointRequestPBImpl();
99
void InitDefaultsGetCheckpointRequestPB();
100
void InitDefaultsGetCheckpointResponsePBImpl();
101
void InitDefaultsGetCheckpointResponsePB();
102
void InitDefaultsUpdateCdcReplicatedIndexRequestPBImpl();
103
void InitDefaultsUpdateCdcReplicatedIndexRequestPB();
104
void InitDefaultsUpdateCdcReplicatedIndexResponsePBImpl();
105
void InitDefaultsUpdateCdcReplicatedIndexResponsePB();
106
void InitDefaultsBootstrapProducerRequestPBImpl();
107
void InitDefaultsBootstrapProducerRequestPB();
108
void InitDefaultsBootstrapProducerResponsePBImpl();
109
void InitDefaultsBootstrapProducerResponsePB();
110
void InitDefaultsGetLatestEntryOpIdRequestPBImpl();
111
void InitDefaultsGetLatestEntryOpIdRequestPB();
112
void InitDefaultsGetLatestEntryOpIdResponsePBImpl();
113
void InitDefaultsGetLatestEntryOpIdResponsePB();
114
void InitDefaultsTableInfoImpl();
115
void InitDefaultsTableInfo();
116
void InitDefaultsGetCDCDBStreamInfoRequestPBImpl();
117
void InitDefaultsGetCDCDBStreamInfoRequestPB();
118
void InitDefaultsGetCDCDBStreamInfoResponsePBImpl();
119
void InitDefaultsGetCDCDBStreamInfoResponsePB();
120
void InitDefaultsSetCDCCheckpointRequestPBImpl();
121
void InitDefaultsSetCDCCheckpointRequestPB();
122
void InitDefaultsSetCDCCheckpointResponsePBImpl();
123
void InitDefaultsSetCDCCheckpointResponsePB();
124
16.4k
inline void InitDefaults() {
125
16.4k
  InitDefaultsCDCErrorPB();
126
16.4k
  InitDefaultsCreateCDCStreamRequestPB();
127
16.4k
  InitDefaultsCreateCDCStreamResponsePB();
128
16.4k
  InitDefaultsDeleteCDCStreamRequestPB();
129
16.4k
  InitDefaultsDeleteCDCStreamResponsePB();
130
16.4k
  InitDefaultsListTabletsRequestPB();
131
16.4k
  InitDefaultsListTabletsResponsePB();
132
16.4k
  InitDefaultsCDCTabletPB_ReplicaPB();
133
16.4k
  InitDefaultsCDCTabletPB();
134
16.4k
  InitDefaultsCDCSDKCheckpointPB();
135
16.4k
  InitDefaultsCDCCheckpointPB();
136
16.4k
  InitDefaultsGetChangesRequestPB();
137
16.4k
  InitDefaultsKeyValuePairPB();
138
16.4k
  InitDefaultsCDCRecordPB();
139
16.4k
  InitDefaultsCDCSDKColumnInfoPB();
140
16.4k
  InitDefaultsCDCSDKTablePropertiesPB();
141
16.4k
  InitDefaultsCDCSDKSchemaPB();
142
16.4k
  InitDefaultsCDCSDKOpIdPB();
143
16.4k
  InitDefaultsTypeInfo();
144
16.4k
  InitDefaultsRowMessage();
145
16.4k
  InitDefaultsCDCSDKProtoRecordPB();
146
16.4k
  InitDefaultsGetChangesResponsePB();
147
16.4k
  InitDefaultsGetCheckpointRequestPB();
148
16.4k
  InitDefaultsGetCheckpointResponsePB();
149
16.4k
  InitDefaultsUpdateCdcReplicatedIndexRequestPB();
150
16.4k
  InitDefaultsUpdateCdcReplicatedIndexResponsePB();
151
16.4k
  InitDefaultsBootstrapProducerRequestPB();
152
16.4k
  InitDefaultsBootstrapProducerResponsePB();
153
16.4k
  InitDefaultsGetLatestEntryOpIdRequestPB();
154
16.4k
  InitDefaultsGetLatestEntryOpIdResponsePB();
155
16.4k
  InitDefaultsTableInfo();
156
16.4k
  InitDefaultsGetCDCDBStreamInfoRequestPB();
157
16.4k
  InitDefaultsGetCDCDBStreamInfoResponsePB();
158
16.4k
  InitDefaultsSetCDCCheckpointRequestPB();
159
16.4k
  InitDefaultsSetCDCCheckpointResponsePB();
160
16.4k
}
161
}  // namespace protobuf_yb_2fcdc_2fcdc_5fservice_2eproto
162
namespace yb {
163
namespace cdc {
164
class BootstrapProducerRequestPB;
165
class BootstrapProducerRequestPBDefaultTypeInternal;
166
extern BootstrapProducerRequestPBDefaultTypeInternal _BootstrapProducerRequestPB_default_instance_;
167
class BootstrapProducerResponsePB;
168
class BootstrapProducerResponsePBDefaultTypeInternal;
169
extern BootstrapProducerResponsePBDefaultTypeInternal _BootstrapProducerResponsePB_default_instance_;
170
class CDCCheckpointPB;
171
class CDCCheckpointPBDefaultTypeInternal;
172
extern CDCCheckpointPBDefaultTypeInternal _CDCCheckpointPB_default_instance_;
173
class CDCErrorPB;
174
class CDCErrorPBDefaultTypeInternal;
175
extern CDCErrorPBDefaultTypeInternal _CDCErrorPB_default_instance_;
176
class CDCRecordPB;
177
class CDCRecordPBDefaultTypeInternal;
178
extern CDCRecordPBDefaultTypeInternal _CDCRecordPB_default_instance_;
179
class CDCSDKCheckpointPB;
180
class CDCSDKCheckpointPBDefaultTypeInternal;
181
extern CDCSDKCheckpointPBDefaultTypeInternal _CDCSDKCheckpointPB_default_instance_;
182
class CDCSDKColumnInfoPB;
183
class CDCSDKColumnInfoPBDefaultTypeInternal;
184
extern CDCSDKColumnInfoPBDefaultTypeInternal _CDCSDKColumnInfoPB_default_instance_;
185
class CDCSDKOpIdPB;
186
class CDCSDKOpIdPBDefaultTypeInternal;
187
extern CDCSDKOpIdPBDefaultTypeInternal _CDCSDKOpIdPB_default_instance_;
188
class CDCSDKProtoRecordPB;
189
class CDCSDKProtoRecordPBDefaultTypeInternal;
190
extern CDCSDKProtoRecordPBDefaultTypeInternal _CDCSDKProtoRecordPB_default_instance_;
191
class CDCSDKSchemaPB;
192
class CDCSDKSchemaPBDefaultTypeInternal;
193
extern CDCSDKSchemaPBDefaultTypeInternal _CDCSDKSchemaPB_default_instance_;
194
class CDCSDKTablePropertiesPB;
195
class CDCSDKTablePropertiesPBDefaultTypeInternal;
196
extern CDCSDKTablePropertiesPBDefaultTypeInternal _CDCSDKTablePropertiesPB_default_instance_;
197
class CDCTabletPB;
198
class CDCTabletPBDefaultTypeInternal;
199
extern CDCTabletPBDefaultTypeInternal _CDCTabletPB_default_instance_;
200
class CDCTabletPB_ReplicaPB;
201
class CDCTabletPB_ReplicaPBDefaultTypeInternal;
202
extern CDCTabletPB_ReplicaPBDefaultTypeInternal _CDCTabletPB_ReplicaPB_default_instance_;
203
class CreateCDCStreamRequestPB;
204
class CreateCDCStreamRequestPBDefaultTypeInternal;
205
extern CreateCDCStreamRequestPBDefaultTypeInternal _CreateCDCStreamRequestPB_default_instance_;
206
class CreateCDCStreamResponsePB;
207
class CreateCDCStreamResponsePBDefaultTypeInternal;
208
extern CreateCDCStreamResponsePBDefaultTypeInternal _CreateCDCStreamResponsePB_default_instance_;
209
class DeleteCDCStreamRequestPB;
210
class DeleteCDCStreamRequestPBDefaultTypeInternal;
211
extern DeleteCDCStreamRequestPBDefaultTypeInternal _DeleteCDCStreamRequestPB_default_instance_;
212
class DeleteCDCStreamResponsePB;
213
class DeleteCDCStreamResponsePBDefaultTypeInternal;
214
extern DeleteCDCStreamResponsePBDefaultTypeInternal _DeleteCDCStreamResponsePB_default_instance_;
215
class GetCDCDBStreamInfoRequestPB;
216
class GetCDCDBStreamInfoRequestPBDefaultTypeInternal;
217
extern GetCDCDBStreamInfoRequestPBDefaultTypeInternal _GetCDCDBStreamInfoRequestPB_default_instance_;
218
class GetCDCDBStreamInfoResponsePB;
219
class GetCDCDBStreamInfoResponsePBDefaultTypeInternal;
220
extern GetCDCDBStreamInfoResponsePBDefaultTypeInternal _GetCDCDBStreamInfoResponsePB_default_instance_;
221
class GetChangesRequestPB;
222
class GetChangesRequestPBDefaultTypeInternal;
223
extern GetChangesRequestPBDefaultTypeInternal _GetChangesRequestPB_default_instance_;
224
class GetChangesResponsePB;
225
class GetChangesResponsePBDefaultTypeInternal;
226
extern GetChangesResponsePBDefaultTypeInternal _GetChangesResponsePB_default_instance_;
227
class GetCheckpointRequestPB;
228
class GetCheckpointRequestPBDefaultTypeInternal;
229
extern GetCheckpointRequestPBDefaultTypeInternal _GetCheckpointRequestPB_default_instance_;
230
class GetCheckpointResponsePB;
231
class GetCheckpointResponsePBDefaultTypeInternal;
232
extern GetCheckpointResponsePBDefaultTypeInternal _GetCheckpointResponsePB_default_instance_;
233
class GetLatestEntryOpIdRequestPB;
234
class GetLatestEntryOpIdRequestPBDefaultTypeInternal;
235
extern GetLatestEntryOpIdRequestPBDefaultTypeInternal _GetLatestEntryOpIdRequestPB_default_instance_;
236
class GetLatestEntryOpIdResponsePB;
237
class GetLatestEntryOpIdResponsePBDefaultTypeInternal;
238
extern GetLatestEntryOpIdResponsePBDefaultTypeInternal _GetLatestEntryOpIdResponsePB_default_instance_;
239
class KeyValuePairPB;
240
class KeyValuePairPBDefaultTypeInternal;
241
extern KeyValuePairPBDefaultTypeInternal _KeyValuePairPB_default_instance_;
242
class ListTabletsRequestPB;
243
class ListTabletsRequestPBDefaultTypeInternal;
244
extern ListTabletsRequestPBDefaultTypeInternal _ListTabletsRequestPB_default_instance_;
245
class ListTabletsResponsePB;
246
class ListTabletsResponsePBDefaultTypeInternal;
247
extern ListTabletsResponsePBDefaultTypeInternal _ListTabletsResponsePB_default_instance_;
248
class RowMessage;
249
class RowMessageDefaultTypeInternal;
250
extern RowMessageDefaultTypeInternal _RowMessage_default_instance_;
251
class SetCDCCheckpointRequestPB;
252
class SetCDCCheckpointRequestPBDefaultTypeInternal;
253
extern SetCDCCheckpointRequestPBDefaultTypeInternal _SetCDCCheckpointRequestPB_default_instance_;
254
class SetCDCCheckpointResponsePB;
255
class SetCDCCheckpointResponsePBDefaultTypeInternal;
256
extern SetCDCCheckpointResponsePBDefaultTypeInternal _SetCDCCheckpointResponsePB_default_instance_;
257
class TableInfo;
258
class TableInfoDefaultTypeInternal;
259
extern TableInfoDefaultTypeInternal _TableInfo_default_instance_;
260
class TypeInfo;
261
class TypeInfoDefaultTypeInternal;
262
extern TypeInfoDefaultTypeInternal _TypeInfo_default_instance_;
263
class UpdateCdcReplicatedIndexRequestPB;
264
class UpdateCdcReplicatedIndexRequestPBDefaultTypeInternal;
265
extern UpdateCdcReplicatedIndexRequestPBDefaultTypeInternal _UpdateCdcReplicatedIndexRequestPB_default_instance_;
266
class UpdateCdcReplicatedIndexResponsePB;
267
class UpdateCdcReplicatedIndexResponsePBDefaultTypeInternal;
268
extern UpdateCdcReplicatedIndexResponsePBDefaultTypeInternal _UpdateCdcReplicatedIndexResponsePB_default_instance_;
269
}  // namespace cdc
270
}  // namespace yb
271
namespace yb {
272
namespace cdc {
273
274
enum CDCErrorPB_Code {
275
  CDCErrorPB_Code_UNKNOWN_ERROR = 1,
276
  CDCErrorPB_Code_TABLET_NOT_FOUND = 2,
277
  CDCErrorPB_Code_TABLE_NOT_FOUND = 3,
278
  CDCErrorPB_Code_SUBSCRIBER_NOT_FOUND = 4,
279
  CDCErrorPB_Code_CHECKPOINT_TOO_OLD = 5,
280
  CDCErrorPB_Code_TABLET_NOT_RUNNING = 6,
281
  CDCErrorPB_Code_NOT_LEADER = 7,
282
  CDCErrorPB_Code_LEADER_NOT_READY = 11,
283
  CDCErrorPB_Code_NOT_RUNNING = 8,
284
  CDCErrorPB_Code_INTERNAL_ERROR = 9,
285
  CDCErrorPB_Code_INVALID_REQUEST = 10
286
};
287
bool CDCErrorPB_Code_IsValid(int value);
288
const CDCErrorPB_Code CDCErrorPB_Code_Code_MIN = CDCErrorPB_Code_UNKNOWN_ERROR;
289
const CDCErrorPB_Code CDCErrorPB_Code_Code_MAX = CDCErrorPB_Code_LEADER_NOT_READY;
290
const int CDCErrorPB_Code_Code_ARRAYSIZE = CDCErrorPB_Code_Code_MAX + 1;
291
292
const ::google::protobuf::EnumDescriptor* CDCErrorPB_Code_descriptor();
293
0
inline const ::std::string& CDCErrorPB_Code_Name(CDCErrorPB_Code value) {
294
0
  return ::google::protobuf::internal::NameOfEnum(
295
0
    CDCErrorPB_Code_descriptor(), value);
296
0
}
297
inline bool CDCErrorPB_Code_Parse(
298
0
    const ::std::string& name, CDCErrorPB_Code* value) {
299
0
  return ::google::protobuf::internal::ParseNamedEnum<CDCErrorPB_Code>(
300
0
    CDCErrorPB_Code_descriptor(), name, value);
301
0
}
302
enum CDCRecordPB_OperationType {
303
  CDCRecordPB_OperationType_WRITE = 1,
304
  CDCRecordPB_OperationType_DELETE = 2,
305
  CDCRecordPB_OperationType_APPLY = 3,
306
  CDCRecordPB_OperationType_SPLIT_OP = 4
307
};
308
bool CDCRecordPB_OperationType_IsValid(int value);
309
const CDCRecordPB_OperationType CDCRecordPB_OperationType_OperationType_MIN = CDCRecordPB_OperationType_WRITE;
310
const CDCRecordPB_OperationType CDCRecordPB_OperationType_OperationType_MAX = CDCRecordPB_OperationType_SPLIT_OP;
311
const int CDCRecordPB_OperationType_OperationType_ARRAYSIZE = CDCRecordPB_OperationType_OperationType_MAX + 1;
312
313
const ::google::protobuf::EnumDescriptor* CDCRecordPB_OperationType_descriptor();
314
0
inline const ::std::string& CDCRecordPB_OperationType_Name(CDCRecordPB_OperationType value) {
315
0
  return ::google::protobuf::internal::NameOfEnum(
316
0
    CDCRecordPB_OperationType_descriptor(), value);
317
0
}
318
inline bool CDCRecordPB_OperationType_Parse(
319
0
    const ::std::string& name, CDCRecordPB_OperationType* value) {
320
0
  return ::google::protobuf::internal::ParseNamedEnum<CDCRecordPB_OperationType>(
321
0
    CDCRecordPB_OperationType_descriptor(), name, value);
322
0
}
323
enum RowMessage_Op {
324
  RowMessage_Op_UNKNOWN = -1,
325
  RowMessage_Op_INSERT = 0,
326
  RowMessage_Op_UPDATE = 1,
327
  RowMessage_Op_DELETE = 2,
328
  RowMessage_Op_BEGIN = 3,
329
  RowMessage_Op_COMMIT = 4,
330
  RowMessage_Op_DDL = 5,
331
  RowMessage_Op_TRUNCATE = 6,
332
  RowMessage_Op_READ = 7
333
};
334
bool RowMessage_Op_IsValid(int value);
335
const RowMessage_Op RowMessage_Op_Op_MIN = RowMessage_Op_UNKNOWN;
336
const RowMessage_Op RowMessage_Op_Op_MAX = RowMessage_Op_READ;
337
const int RowMessage_Op_Op_ARRAYSIZE = RowMessage_Op_Op_MAX + 1;
338
339
const ::google::protobuf::EnumDescriptor* RowMessage_Op_descriptor();
340
0
inline const ::std::string& RowMessage_Op_Name(RowMessage_Op value) {
341
0
  return ::google::protobuf::internal::NameOfEnum(
342
0
    RowMessage_Op_descriptor(), value);
343
0
}
344
inline bool RowMessage_Op_Parse(
345
0
    const ::std::string& name, RowMessage_Op* value) {
346
0
  return ::google::protobuf::internal::ParseNamedEnum<RowMessage_Op>(
347
0
    RowMessage_Op_descriptor(), name, value);
348
0
}
349
enum CDCRecordType {
350
  CHANGE = 1,
351
  AFTER = 2,
352
  ALL = 3
353
};
354
bool CDCRecordType_IsValid(int value);
355
const CDCRecordType CDCRecordType_MIN = CHANGE;
356
const CDCRecordType CDCRecordType_MAX = ALL;
357
const int CDCRecordType_ARRAYSIZE = CDCRecordType_MAX + 1;
358
359
const ::google::protobuf::EnumDescriptor* CDCRecordType_descriptor();
360
306
inline const ::std::string& CDCRecordType_Name(CDCRecordType value) {
361
306
  return ::google::protobuf::internal::NameOfEnum(
362
306
    CDCRecordType_descriptor(), value);
363
306
}
364
inline bool CDCRecordType_Parse(
365
0
    const ::std::string& name, CDCRecordType* value) {
366
0
  return ::google::protobuf::internal::ParseNamedEnum<CDCRecordType>(
367
0
    CDCRecordType_descriptor(), name, value);
368
0
}
369
enum CDCRecordFormat {
370
  JSON = 1,
371
  WAL = 2,
372
  PROTO = 3
373
};
374
bool CDCRecordFormat_IsValid(int value);
375
const CDCRecordFormat CDCRecordFormat_MIN = JSON;
376
const CDCRecordFormat CDCRecordFormat_MAX = PROTO;
377
const int CDCRecordFormat_ARRAYSIZE = CDCRecordFormat_MAX + 1;
378
379
const ::google::protobuf::EnumDescriptor* CDCRecordFormat_descriptor();
380
306
inline const ::std::string& CDCRecordFormat_Name(CDCRecordFormat value) {
381
306
  return ::google::protobuf::internal::NameOfEnum(
382
306
    CDCRecordFormat_descriptor(), value);
383
306
}
384
inline bool CDCRecordFormat_Parse(
385
0
    const ::std::string& name, CDCRecordFormat* value) {
386
0
  return ::google::protobuf::internal::ParseNamedEnum<CDCRecordFormat>(
387
0
    CDCRecordFormat_descriptor(), name, value);
388
0
}
389
enum CDCRequestSource {
390
  XCLUSTER = 1,
391
  CDCSDK = 2
392
};
393
bool CDCRequestSource_IsValid(int value);
394
const CDCRequestSource CDCRequestSource_MIN = XCLUSTER;
395
const CDCRequestSource CDCRequestSource_MAX = CDCSDK;
396
const int CDCRequestSource_ARRAYSIZE = CDCRequestSource_MAX + 1;
397
398
const ::google::protobuf::EnumDescriptor* CDCRequestSource_descriptor();
399
306
inline const ::std::string& CDCRequestSource_Name(CDCRequestSource value) {
400
306
  return ::google::protobuf::internal::NameOfEnum(
401
306
    CDCRequestSource_descriptor(), value);
402
306
}
403
inline bool CDCRequestSource_Parse(
404
0
    const ::std::string& name, CDCRequestSource* value) {
405
0
  return ::google::protobuf::internal::ParseNamedEnum<CDCRequestSource>(
406
0
    CDCRequestSource_descriptor(), name, value);
407
0
}
408
enum CDCCheckpointType {
409
  IMPLICIT = 1,
410
  EXPLICIT = 2
411
};
412
bool CDCCheckpointType_IsValid(int value);
413
const CDCCheckpointType CDCCheckpointType_MIN = IMPLICIT;
414
const CDCCheckpointType CDCCheckpointType_MAX = EXPLICIT;
415
const int CDCCheckpointType_ARRAYSIZE = CDCCheckpointType_MAX + 1;
416
417
const ::google::protobuf::EnumDescriptor* CDCCheckpointType_descriptor();
418
306
inline const ::std::string& CDCCheckpointType_Name(CDCCheckpointType value) {
419
306
  return ::google::protobuf::internal::NameOfEnum(
420
306
    CDCCheckpointType_descriptor(), value);
421
306
}
422
inline bool CDCCheckpointType_Parse(
423
0
    const ::std::string& name, CDCCheckpointType* value) {
424
0
  return ::google::protobuf::internal::ParseNamedEnum<CDCCheckpointType>(
425
0
    CDCCheckpointType_descriptor(), name, value);
426
0
}
427
// ===================================================================
428
429
class CDCErrorPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCErrorPB) */ {
430
 public:
431
  CDCErrorPB();
432
  virtual ~CDCErrorPB();
433
434
  CDCErrorPB(const CDCErrorPB& from);
435
436
0
  inline CDCErrorPB& operator=(const CDCErrorPB& from) {
437
0
    CopyFrom(from);
438
0
    return *this;
439
0
  }
440
  #if LANG_CXX11
441
  CDCErrorPB(CDCErrorPB&& from) noexcept
442
0
    : CDCErrorPB() {
443
0
    *this = ::std::move(from);
444
0
  }
445
446
0
  inline CDCErrorPB& operator=(CDCErrorPB&& from) noexcept {
447
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
448
0
      if (this != &from) InternalSwap(&from);
449
0
    } else {
450
0
      CopyFrom(from);
451
0
    }
452
0
    return *this;
453
0
  }
454
  #endif
455
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
456
0
    return _internal_metadata_.unknown_fields();
457
0
  }
458
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
459
0
    return _internal_metadata_.mutable_unknown_fields();
460
0
  }
461
462
  static const ::google::protobuf::Descriptor* descriptor();
463
  static const CDCErrorPB& default_instance();
464
465
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
466
181k
  static inline const CDCErrorPB* internal_default_instance() {
467
181k
    return reinterpret_cast<const CDCErrorPB*>(
468
181k
               &_CDCErrorPB_default_instance_);
469
181k
  }
470
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
471
    0;
472
473
  void Swap(CDCErrorPB* other);
474
0
  friend void swap(CDCErrorPB& a, CDCErrorPB& b) {
475
0
    a.Swap(&b);
476
0
  }
477
478
  // implements Message ----------------------------------------------
479
480
0
  inline CDCErrorPB* New() const PROTOBUF_FINAL { return New(NULL); }
481
482
  CDCErrorPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
483
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
484
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
485
  void CopyFrom(const CDCErrorPB& from);
486
  void MergeFrom(const CDCErrorPB& from);
487
  void Clear() PROTOBUF_FINAL;
488
  bool IsInitialized() const PROTOBUF_FINAL;
489
490
  size_t ByteSizeLong() const PROTOBUF_FINAL;
491
  bool MergePartialFromCodedStream(
492
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
493
  void SerializeWithCachedSizes(
494
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
495
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
496
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
497
2
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
498
  private:
499
  void SharedCtor();
500
  void SharedDtor();
501
  void SetCachedSize(int size) const PROTOBUF_FINAL;
502
  void InternalSwap(CDCErrorPB* other);
503
  private:
504
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
505
0
    return NULL;
506
0
  }
507
0
  inline void* MaybeArenaPtr() const {
508
0
    return NULL;
509
0
  }
510
  public:
511
512
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
513
514
  // nested types ----------------------------------------------------
515
516
  typedef CDCErrorPB_Code Code;
517
  static const Code UNKNOWN_ERROR =
518
    CDCErrorPB_Code_UNKNOWN_ERROR;
519
  static const Code TABLET_NOT_FOUND =
520
    CDCErrorPB_Code_TABLET_NOT_FOUND;
521
  static const Code TABLE_NOT_FOUND =
522
    CDCErrorPB_Code_TABLE_NOT_FOUND;
523
  static const Code SUBSCRIBER_NOT_FOUND =
524
    CDCErrorPB_Code_SUBSCRIBER_NOT_FOUND;
525
  static const Code CHECKPOINT_TOO_OLD =
526
    CDCErrorPB_Code_CHECKPOINT_TOO_OLD;
527
  static const Code TABLET_NOT_RUNNING =
528
    CDCErrorPB_Code_TABLET_NOT_RUNNING;
529
  static const Code NOT_LEADER =
530
    CDCErrorPB_Code_NOT_LEADER;
531
  static const Code LEADER_NOT_READY =
532
    CDCErrorPB_Code_LEADER_NOT_READY;
533
  static const Code NOT_RUNNING =
534
    CDCErrorPB_Code_NOT_RUNNING;
535
  static const Code INTERNAL_ERROR =
536
    CDCErrorPB_Code_INTERNAL_ERROR;
537
  static const Code INVALID_REQUEST =
538
    CDCErrorPB_Code_INVALID_REQUEST;
539
0
  static inline bool Code_IsValid(int value) {
540
0
    return CDCErrorPB_Code_IsValid(value);
541
0
  }
542
  static const Code Code_MIN =
543
    CDCErrorPB_Code_Code_MIN;
544
  static const Code Code_MAX =
545
    CDCErrorPB_Code_Code_MAX;
546
  static const int Code_ARRAYSIZE =
547
    CDCErrorPB_Code_Code_ARRAYSIZE;
548
  static inline const ::google::protobuf::EnumDescriptor*
549
0
  Code_descriptor() {
550
0
    return CDCErrorPB_Code_descriptor();
551
0
  }
552
0
  static inline const ::std::string& Code_Name(Code value) {
553
0
    return CDCErrorPB_Code_Name(value);
554
0
  }
555
  static inline bool Code_Parse(const ::std::string& name,
556
0
      Code* value) {
557
0
    return CDCErrorPB_Code_Parse(name, value);
558
0
  }
559
560
  // accessors -------------------------------------------------------
561
562
  // optional .yb.AppStatusPB status = 2;
563
  bool has_status() const;
564
  void clear_status();
565
  static const int kStatusFieldNumber = 2;
566
  const ::yb::AppStatusPB& status() const;
567
  ::yb::AppStatusPB* release_status();
568
  ::yb::AppStatusPB* mutable_status();
569
  void set_allocated_status(::yb::AppStatusPB* status);
570
571
  // optional .yb.cdc.CDCErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
572
  bool has_code() const;
573
  void clear_code();
574
  static const int kCodeFieldNumber = 1;
575
  ::yb::cdc::CDCErrorPB_Code code() const;
576
  void set_code(::yb::cdc::CDCErrorPB_Code value);
577
578
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCErrorPB)
579
 private:
580
  void set_has_code();
581
  void clear_has_code();
582
  void set_has_status();
583
  void clear_has_status();
584
585
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
586
  ::google::protobuf::internal::HasBits<1> _has_bits_;
587
  mutable int _cached_size_;
588
  ::yb::AppStatusPB* status_;
589
  int code_;
590
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
591
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCErrorPBImpl();
592
};
593
// -------------------------------------------------------------------
594
595
class CreateCDCStreamRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CreateCDCStreamRequestPB) */ {
596
 public:
597
  CreateCDCStreamRequestPB();
598
  virtual ~CreateCDCStreamRequestPB();
599
600
  CreateCDCStreamRequestPB(const CreateCDCStreamRequestPB& from);
601
602
0
  inline CreateCDCStreamRequestPB& operator=(const CreateCDCStreamRequestPB& from) {
603
0
    CopyFrom(from);
604
0
    return *this;
605
0
  }
606
  #if LANG_CXX11
607
  CreateCDCStreamRequestPB(CreateCDCStreamRequestPB&& from) noexcept
608
0
    : CreateCDCStreamRequestPB() {
609
0
    *this = ::std::move(from);
610
0
  }
611
612
0
  inline CreateCDCStreamRequestPB& operator=(CreateCDCStreamRequestPB&& from) noexcept {
613
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
614
0
      if (this != &from) InternalSwap(&from);
615
0
    } else {
616
0
      CopyFrom(from);
617
0
    }
618
0
    return *this;
619
0
  }
620
  #endif
621
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
622
0
    return _internal_metadata_.unknown_fields();
623
0
  }
624
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
625
0
    return _internal_metadata_.mutable_unknown_fields();
626
0
  }
627
628
  static const ::google::protobuf::Descriptor* descriptor();
629
  static const CreateCDCStreamRequestPB& default_instance();
630
631
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
632
16.7k
  static inline const CreateCDCStreamRequestPB* internal_default_instance() {
633
16.7k
    return reinterpret_cast<const CreateCDCStreamRequestPB*>(
634
16.7k
               &_CreateCDCStreamRequestPB_default_instance_);
635
16.7k
  }
636
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
637
    1;
638
639
  void Swap(CreateCDCStreamRequestPB* other);
640
0
  friend void swap(CreateCDCStreamRequestPB& a, CreateCDCStreamRequestPB& b) {
641
0
    a.Swap(&b);
642
0
  }
643
644
  // implements Message ----------------------------------------------
645
646
0
  inline CreateCDCStreamRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
647
648
  CreateCDCStreamRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
649
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
650
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
651
  void CopyFrom(const CreateCDCStreamRequestPB& from);
652
  void MergeFrom(const CreateCDCStreamRequestPB& from);
653
  void Clear() PROTOBUF_FINAL;
654
  bool IsInitialized() const PROTOBUF_FINAL;
655
656
  size_t ByteSizeLong() const PROTOBUF_FINAL;
657
  bool MergePartialFromCodedStream(
658
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
659
  void SerializeWithCachedSizes(
660
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
661
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
662
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
663
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
664
  private:
665
  void SharedCtor();
666
  void SharedDtor();
667
  void SetCachedSize(int size) const PROTOBUF_FINAL;
668
  void InternalSwap(CreateCDCStreamRequestPB* other);
669
  private:
670
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
671
0
    return NULL;
672
0
  }
673
0
  inline void* MaybeArenaPtr() const {
674
0
    return NULL;
675
0
  }
676
  public:
677
678
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
679
680
  // nested types ----------------------------------------------------
681
682
  // accessors -------------------------------------------------------
683
684
  // optional string table_id = 1;
685
  bool has_table_id() const;
686
  void clear_table_id();
687
  static const int kTableIdFieldNumber = 1;
688
  const ::std::string& table_id() const;
689
  void set_table_id(const ::std::string& value);
690
  #if LANG_CXX11
691
  void set_table_id(::std::string&& value);
692
  #endif
693
  void set_table_id(const char* value);
694
  void set_table_id(const char* value, size_t size);
695
  ::std::string* mutable_table_id();
696
  ::std::string* release_table_id();
697
  void set_allocated_table_id(::std::string* table_id);
698
699
  // optional string namespace_name = 4;
700
  bool has_namespace_name() const;
701
  void clear_namespace_name();
702
  static const int kNamespaceNameFieldNumber = 4;
703
  const ::std::string& namespace_name() const;
704
  void set_namespace_name(const ::std::string& value);
705
  #if LANG_CXX11
706
  void set_namespace_name(::std::string&& value);
707
  #endif
708
  void set_namespace_name(const char* value);
709
  void set_namespace_name(const char* value, size_t size);
710
  ::std::string* mutable_namespace_name();
711
  ::std::string* release_namespace_name();
712
  void set_allocated_namespace_name(::std::string* namespace_name);
713
714
  // optional .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE];
715
  bool has_record_type() const;
716
  void clear_record_type();
717
  static const int kRecordTypeFieldNumber = 2;
718
  ::yb::cdc::CDCRecordType record_type() const;
719
  void set_record_type(::yb::cdc::CDCRecordType value);
720
721
  // optional .yb.cdc.CDCRecordFormat record_format = 3 [default = JSON];
722
  bool has_record_format() const;
723
  void clear_record_format();
724
  static const int kRecordFormatFieldNumber = 3;
725
  ::yb::cdc::CDCRecordFormat record_format() const;
726
  void set_record_format(::yb::cdc::CDCRecordFormat value);
727
728
  // optional .yb.cdc.CDCRequestSource source_type = 5 [default = XCLUSTER];
729
  bool has_source_type() const;
730
  void clear_source_type();
731
  static const int kSourceTypeFieldNumber = 5;
732
  ::yb::cdc::CDCRequestSource source_type() const;
733
  void set_source_type(::yb::cdc::CDCRequestSource value);
734
735
  // optional .yb.cdc.CDCCheckpointType checkpoint_type = 6 [default = IMPLICIT];
736
  bool has_checkpoint_type() const;
737
  void clear_checkpoint_type();
738
  static const int kCheckpointTypeFieldNumber = 6;
739
  ::yb::cdc::CDCCheckpointType checkpoint_type() const;
740
  void set_checkpoint_type(::yb::cdc::CDCCheckpointType value);
741
742
  // @@protoc_insertion_point(class_scope:yb.cdc.CreateCDCStreamRequestPB)
743
 private:
744
  void set_has_table_id();
745
  void clear_has_table_id();
746
  void set_has_record_type();
747
  void clear_has_record_type();
748
  void set_has_record_format();
749
  void clear_has_record_format();
750
  void set_has_namespace_name();
751
  void clear_has_namespace_name();
752
  void set_has_source_type();
753
  void clear_has_source_type();
754
  void set_has_checkpoint_type();
755
  void clear_has_checkpoint_type();
756
757
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
758
  ::google::protobuf::internal::HasBits<1> _has_bits_;
759
  mutable int _cached_size_;
760
  ::google::protobuf::internal::ArenaStringPtr table_id_;
761
  ::google::protobuf::internal::ArenaStringPtr namespace_name_;
762
  int record_type_;
763
  int record_format_;
764
  int source_type_;
765
  int checkpoint_type_;
766
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
767
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCreateCDCStreamRequestPBImpl();
768
};
769
// -------------------------------------------------------------------
770
771
class CreateCDCStreamResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CreateCDCStreamResponsePB) */ {
772
 public:
773
  CreateCDCStreamResponsePB();
774
  virtual ~CreateCDCStreamResponsePB();
775
776
  CreateCDCStreamResponsePB(const CreateCDCStreamResponsePB& from);
777
778
0
  inline CreateCDCStreamResponsePB& operator=(const CreateCDCStreamResponsePB& from) {
779
0
    CopyFrom(from);
780
0
    return *this;
781
0
  }
782
  #if LANG_CXX11
783
  CreateCDCStreamResponsePB(CreateCDCStreamResponsePB&& from) noexcept
784
0
    : CreateCDCStreamResponsePB() {
785
0
    *this = ::std::move(from);
786
0
  }
787
788
0
  inline CreateCDCStreamResponsePB& operator=(CreateCDCStreamResponsePB&& from) noexcept {
789
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
790
0
      if (this != &from) InternalSwap(&from);
791
0
    } else {
792
0
      CopyFrom(from);
793
0
    }
794
0
    return *this;
795
0
  }
796
  #endif
797
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
798
0
    return _internal_metadata_.unknown_fields();
799
0
  }
800
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
801
0
    return _internal_metadata_.mutable_unknown_fields();
802
0
  }
803
804
  static const ::google::protobuf::Descriptor* descriptor();
805
  static const CreateCDCStreamResponsePB& default_instance();
806
807
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
808
17.0k
  static inline const CreateCDCStreamResponsePB* internal_default_instance() {
809
17.0k
    return reinterpret_cast<const CreateCDCStreamResponsePB*>(
810
17.0k
               &_CreateCDCStreamResponsePB_default_instance_);
811
17.0k
  }
812
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
813
    2;
814
815
  void Swap(CreateCDCStreamResponsePB* other);
816
0
  friend void swap(CreateCDCStreamResponsePB& a, CreateCDCStreamResponsePB& b) {
817
0
    a.Swap(&b);
818
0
  }
819
820
  // implements Message ----------------------------------------------
821
822
0
  inline CreateCDCStreamResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
823
824
  CreateCDCStreamResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
825
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
826
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
827
  void CopyFrom(const CreateCDCStreamResponsePB& from);
828
  void MergeFrom(const CreateCDCStreamResponsePB& from);
829
  void Clear() PROTOBUF_FINAL;
830
  bool IsInitialized() const PROTOBUF_FINAL;
831
832
  size_t ByteSizeLong() const PROTOBUF_FINAL;
833
  bool MergePartialFromCodedStream(
834
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
835
  void SerializeWithCachedSizes(
836
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
837
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
838
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
839
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
840
  private:
841
  void SharedCtor();
842
  void SharedDtor();
843
  void SetCachedSize(int size) const PROTOBUF_FINAL;
844
  void InternalSwap(CreateCDCStreamResponsePB* other);
845
  private:
846
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
847
0
    return NULL;
848
0
  }
849
0
  inline void* MaybeArenaPtr() const {
850
0
    return NULL;
851
0
  }
852
  public:
853
854
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
855
856
  // nested types ----------------------------------------------------
857
858
  // accessors -------------------------------------------------------
859
860
  // optional bytes stream_id = 2;
861
  bool has_stream_id() const;
862
  void clear_stream_id();
863
  static const int kStreamIdFieldNumber = 2;
864
  const ::std::string& stream_id() const;
865
  void set_stream_id(const ::std::string& value);
866
  #if LANG_CXX11
867
  void set_stream_id(::std::string&& value);
868
  #endif
869
  void set_stream_id(const char* value);
870
  void set_stream_id(const void* value, size_t size);
871
  ::std::string* mutable_stream_id();
872
  ::std::string* release_stream_id();
873
  void set_allocated_stream_id(::std::string* stream_id);
874
875
  // optional bytes db_stream_id = 3;
876
  bool has_db_stream_id() const;
877
  void clear_db_stream_id();
878
  static const int kDbStreamIdFieldNumber = 3;
879
  const ::std::string& db_stream_id() const;
880
  void set_db_stream_id(const ::std::string& value);
881
  #if LANG_CXX11
882
  void set_db_stream_id(::std::string&& value);
883
  #endif
884
  void set_db_stream_id(const char* value);
885
  void set_db_stream_id(const void* value, size_t size);
886
  ::std::string* mutable_db_stream_id();
887
  ::std::string* release_db_stream_id();
888
  void set_allocated_db_stream_id(::std::string* db_stream_id);
889
890
  // optional .yb.cdc.CDCErrorPB error = 1;
891
  bool has_error() const;
892
  void clear_error();
893
  static const int kErrorFieldNumber = 1;
894
  const ::yb::cdc::CDCErrorPB& error() const;
895
  ::yb::cdc::CDCErrorPB* release_error();
896
  ::yb::cdc::CDCErrorPB* mutable_error();
897
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
898
899
  // @@protoc_insertion_point(class_scope:yb.cdc.CreateCDCStreamResponsePB)
900
 private:
901
  void set_has_error();
902
  void clear_has_error();
903
  void set_has_stream_id();
904
  void clear_has_stream_id();
905
  void set_has_db_stream_id();
906
  void clear_has_db_stream_id();
907
908
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
909
  ::google::protobuf::internal::HasBits<1> _has_bits_;
910
  mutable int _cached_size_;
911
  ::google::protobuf::internal::ArenaStringPtr stream_id_;
912
  ::google::protobuf::internal::ArenaStringPtr db_stream_id_;
913
  ::yb::cdc::CDCErrorPB* error_;
914
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
915
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCreateCDCStreamResponsePBImpl();
916
};
917
// -------------------------------------------------------------------
918
919
class DeleteCDCStreamRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.DeleteCDCStreamRequestPB) */ {
920
 public:
921
  DeleteCDCStreamRequestPB();
922
  virtual ~DeleteCDCStreamRequestPB();
923
924
  DeleteCDCStreamRequestPB(const DeleteCDCStreamRequestPB& from);
925
926
0
  inline DeleteCDCStreamRequestPB& operator=(const DeleteCDCStreamRequestPB& from) {
927
0
    CopyFrom(from);
928
0
    return *this;
929
0
  }
930
  #if LANG_CXX11
931
  DeleteCDCStreamRequestPB(DeleteCDCStreamRequestPB&& from) noexcept
932
0
    : DeleteCDCStreamRequestPB() {
933
0
    *this = ::std::move(from);
934
0
  }
935
936
0
  inline DeleteCDCStreamRequestPB& operator=(DeleteCDCStreamRequestPB&& from) noexcept {
937
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
938
0
      if (this != &from) InternalSwap(&from);
939
0
    } else {
940
0
      CopyFrom(from);
941
0
    }
942
0
    return *this;
943
0
  }
944
  #endif
945
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
946
0
    return _internal_metadata_.unknown_fields();
947
0
  }
948
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
949
0
    return _internal_metadata_.mutable_unknown_fields();
950
0
  }
951
952
  static const ::google::protobuf::Descriptor* descriptor();
953
  static const DeleteCDCStreamRequestPB& default_instance();
954
955
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
956
16.4k
  static inline const DeleteCDCStreamRequestPB* internal_default_instance() {
957
16.4k
    return reinterpret_cast<const DeleteCDCStreamRequestPB*>(
958
16.4k
               &_DeleteCDCStreamRequestPB_default_instance_);
959
16.4k
  }
960
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
961
    3;
962
963
  void Swap(DeleteCDCStreamRequestPB* other);
964
0
  friend void swap(DeleteCDCStreamRequestPB& a, DeleteCDCStreamRequestPB& b) {
965
0
    a.Swap(&b);
966
0
  }
967
968
  // implements Message ----------------------------------------------
969
970
0
  inline DeleteCDCStreamRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
971
972
  DeleteCDCStreamRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
973
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
974
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
975
  void CopyFrom(const DeleteCDCStreamRequestPB& from);
976
  void MergeFrom(const DeleteCDCStreamRequestPB& from);
977
  void Clear() PROTOBUF_FINAL;
978
  bool IsInitialized() const PROTOBUF_FINAL;
979
980
  size_t ByteSizeLong() const PROTOBUF_FINAL;
981
  bool MergePartialFromCodedStream(
982
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
983
  void SerializeWithCachedSizes(
984
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
985
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
986
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
987
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
988
  private:
989
  void SharedCtor();
990
  void SharedDtor();
991
  void SetCachedSize(int size) const PROTOBUF_FINAL;
992
  void InternalSwap(DeleteCDCStreamRequestPB* other);
993
  private:
994
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
995
0
    return NULL;
996
0
  }
997
0
  inline void* MaybeArenaPtr() const {
998
0
    return NULL;
999
0
  }
1000
  public:
1001
1002
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1003
1004
  // nested types ----------------------------------------------------
1005
1006
  // accessors -------------------------------------------------------
1007
1008
  // repeated bytes stream_id = 1;
1009
  int stream_id_size() const;
1010
  void clear_stream_id();
1011
  static const int kStreamIdFieldNumber = 1;
1012
  const ::std::string& stream_id(int index) const;
1013
  ::std::string* mutable_stream_id(int index);
1014
  void set_stream_id(int index, const ::std::string& value);
1015
  #if LANG_CXX11
1016
  void set_stream_id(int index, ::std::string&& value);
1017
  #endif
1018
  void set_stream_id(int index, const char* value);
1019
  void set_stream_id(int index, const void* value, size_t size);
1020
  ::std::string* add_stream_id();
1021
  void add_stream_id(const ::std::string& value);
1022
  #if LANG_CXX11
1023
  void add_stream_id(::std::string&& value);
1024
  #endif
1025
  void add_stream_id(const char* value);
1026
  void add_stream_id(const void* value, size_t size);
1027
  const ::google::protobuf::RepeatedPtrField< ::std::string>& stream_id() const;
1028
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_stream_id();
1029
1030
  // optional bool ignore_errors = 2 [default = false];
1031
  bool has_ignore_errors() const;
1032
  void clear_ignore_errors();
1033
  static const int kIgnoreErrorsFieldNumber = 2;
1034
  bool ignore_errors() const;
1035
  void set_ignore_errors(bool value);
1036
1037
  // optional bool force_delete = 3 [default = false];
1038
  bool has_force_delete() const;
1039
  void clear_force_delete();
1040
  static const int kForceDeleteFieldNumber = 3;
1041
  bool force_delete() const;
1042
  void set_force_delete(bool value);
1043
1044
  // @@protoc_insertion_point(class_scope:yb.cdc.DeleteCDCStreamRequestPB)
1045
 private:
1046
  void set_has_ignore_errors();
1047
  void clear_has_ignore_errors();
1048
  void set_has_force_delete();
1049
  void clear_has_force_delete();
1050
1051
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1052
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1053
  mutable int _cached_size_;
1054
  ::google::protobuf::RepeatedPtrField< ::std::string> stream_id_;
1055
  bool ignore_errors_;
1056
  bool force_delete_;
1057
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1058
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsDeleteCDCStreamRequestPBImpl();
1059
};
1060
// -------------------------------------------------------------------
1061
1062
class DeleteCDCStreamResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.DeleteCDCStreamResponsePB) */ {
1063
 public:
1064
  DeleteCDCStreamResponsePB();
1065
  virtual ~DeleteCDCStreamResponsePB();
1066
1067
  DeleteCDCStreamResponsePB(const DeleteCDCStreamResponsePB& from);
1068
1069
0
  inline DeleteCDCStreamResponsePB& operator=(const DeleteCDCStreamResponsePB& from) {
1070
0
    CopyFrom(from);
1071
0
    return *this;
1072
0
  }
1073
  #if LANG_CXX11
1074
  DeleteCDCStreamResponsePB(DeleteCDCStreamResponsePB&& from) noexcept
1075
0
    : DeleteCDCStreamResponsePB() {
1076
0
    *this = ::std::move(from);
1077
0
  }
1078
1079
0
  inline DeleteCDCStreamResponsePB& operator=(DeleteCDCStreamResponsePB&& from) noexcept {
1080
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1081
0
      if (this != &from) InternalSwap(&from);
1082
0
    } else {
1083
0
      CopyFrom(from);
1084
0
    }
1085
0
    return *this;
1086
0
  }
1087
  #endif
1088
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1089
0
    return _internal_metadata_.unknown_fields();
1090
0
  }
1091
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1092
0
    return _internal_metadata_.mutable_unknown_fields();
1093
0
  }
1094
1095
  static const ::google::protobuf::Descriptor* descriptor();
1096
  static const DeleteCDCStreamResponsePB& default_instance();
1097
1098
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1099
16.4k
  static inline const DeleteCDCStreamResponsePB* internal_default_instance() {
1100
16.4k
    return reinterpret_cast<const DeleteCDCStreamResponsePB*>(
1101
16.4k
               &_DeleteCDCStreamResponsePB_default_instance_);
1102
16.4k
  }
1103
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1104
    4;
1105
1106
  void Swap(DeleteCDCStreamResponsePB* other);
1107
0
  friend void swap(DeleteCDCStreamResponsePB& a, DeleteCDCStreamResponsePB& b) {
1108
0
    a.Swap(&b);
1109
0
  }
1110
1111
  // implements Message ----------------------------------------------
1112
1113
0
  inline DeleteCDCStreamResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1114
1115
  DeleteCDCStreamResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1116
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1117
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1118
  void CopyFrom(const DeleteCDCStreamResponsePB& from);
1119
  void MergeFrom(const DeleteCDCStreamResponsePB& from);
1120
  void Clear() PROTOBUF_FINAL;
1121
  bool IsInitialized() const PROTOBUF_FINAL;
1122
1123
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1124
  bool MergePartialFromCodedStream(
1125
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1126
  void SerializeWithCachedSizes(
1127
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1128
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1129
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1130
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1131
  private:
1132
  void SharedCtor();
1133
  void SharedDtor();
1134
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1135
  void InternalSwap(DeleteCDCStreamResponsePB* other);
1136
  private:
1137
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1138
0
    return NULL;
1139
0
  }
1140
0
  inline void* MaybeArenaPtr() const {
1141
0
    return NULL;
1142
0
  }
1143
  public:
1144
1145
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1146
1147
  // nested types ----------------------------------------------------
1148
1149
  // accessors -------------------------------------------------------
1150
1151
  // optional .yb.cdc.CDCErrorPB error = 1;
1152
  bool has_error() const;
1153
  void clear_error();
1154
  static const int kErrorFieldNumber = 1;
1155
  const ::yb::cdc::CDCErrorPB& error() const;
1156
  ::yb::cdc::CDCErrorPB* release_error();
1157
  ::yb::cdc::CDCErrorPB* mutable_error();
1158
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
1159
1160
  // @@protoc_insertion_point(class_scope:yb.cdc.DeleteCDCStreamResponsePB)
1161
 private:
1162
  void set_has_error();
1163
  void clear_has_error();
1164
1165
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1166
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1167
  mutable int _cached_size_;
1168
  ::yb::cdc::CDCErrorPB* error_;
1169
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1170
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsDeleteCDCStreamResponsePBImpl();
1171
};
1172
// -------------------------------------------------------------------
1173
1174
class ListTabletsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.ListTabletsRequestPB) */ {
1175
 public:
1176
  ListTabletsRequestPB();
1177
  virtual ~ListTabletsRequestPB();
1178
1179
  ListTabletsRequestPB(const ListTabletsRequestPB& from);
1180
1181
0
  inline ListTabletsRequestPB& operator=(const ListTabletsRequestPB& from) {
1182
0
    CopyFrom(from);
1183
0
    return *this;
1184
0
  }
1185
  #if LANG_CXX11
1186
  ListTabletsRequestPB(ListTabletsRequestPB&& from) noexcept
1187
0
    : ListTabletsRequestPB() {
1188
0
    *this = ::std::move(from);
1189
0
  }
1190
1191
0
  inline ListTabletsRequestPB& operator=(ListTabletsRequestPB&& from) noexcept {
1192
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1193
0
      if (this != &from) InternalSwap(&from);
1194
0
    } else {
1195
0
      CopyFrom(from);
1196
0
    }
1197
0
    return *this;
1198
0
  }
1199
  #endif
1200
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1201
0
    return _internal_metadata_.unknown_fields();
1202
0
  }
1203
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1204
0
    return _internal_metadata_.mutable_unknown_fields();
1205
0
  }
1206
1207
  static const ::google::protobuf::Descriptor* descriptor();
1208
  static const ListTabletsRequestPB& default_instance();
1209
1210
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1211
16.4k
  static inline const ListTabletsRequestPB* internal_default_instance() {
1212
16.4k
    return reinterpret_cast<const ListTabletsRequestPB*>(
1213
16.4k
               &_ListTabletsRequestPB_default_instance_);
1214
16.4k
  }
1215
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1216
    5;
1217
1218
  void Swap(ListTabletsRequestPB* other);
1219
0
  friend void swap(ListTabletsRequestPB& a, ListTabletsRequestPB& b) {
1220
0
    a.Swap(&b);
1221
0
  }
1222
1223
  // implements Message ----------------------------------------------
1224
1225
0
  inline ListTabletsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1226
1227
  ListTabletsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1228
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1229
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1230
  void CopyFrom(const ListTabletsRequestPB& from);
1231
  void MergeFrom(const ListTabletsRequestPB& from);
1232
  void Clear() PROTOBUF_FINAL;
1233
  bool IsInitialized() const PROTOBUF_FINAL;
1234
1235
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1236
  bool MergePartialFromCodedStream(
1237
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1238
  void SerializeWithCachedSizes(
1239
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1240
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1241
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1242
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1243
  private:
1244
  void SharedCtor();
1245
  void SharedDtor();
1246
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1247
  void InternalSwap(ListTabletsRequestPB* other);
1248
  private:
1249
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1250
0
    return NULL;
1251
0
  }
1252
0
  inline void* MaybeArenaPtr() const {
1253
0
    return NULL;
1254
0
  }
1255
  public:
1256
1257
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1258
1259
  // nested types ----------------------------------------------------
1260
1261
  // accessors -------------------------------------------------------
1262
1263
  // optional string stream_id = 1;
1264
  bool has_stream_id() const;
1265
  void clear_stream_id();
1266
  static const int kStreamIdFieldNumber = 1;
1267
  const ::std::string& stream_id() const;
1268
  void set_stream_id(const ::std::string& value);
1269
  #if LANG_CXX11
1270
  void set_stream_id(::std::string&& value);
1271
  #endif
1272
  void set_stream_id(const char* value);
1273
  void set_stream_id(const char* value, size_t size);
1274
  ::std::string* mutable_stream_id();
1275
  ::std::string* release_stream_id();
1276
  void set_allocated_stream_id(::std::string* stream_id);
1277
1278
  // optional bool local_only = 2 [default = false];
1279
  bool has_local_only() const;
1280
  void clear_local_only();
1281
  static const int kLocalOnlyFieldNumber = 2;
1282
  bool local_only() const;
1283
  void set_local_only(bool value);
1284
1285
  // @@protoc_insertion_point(class_scope:yb.cdc.ListTabletsRequestPB)
1286
 private:
1287
  void set_has_stream_id();
1288
  void clear_has_stream_id();
1289
  void set_has_local_only();
1290
  void clear_has_local_only();
1291
1292
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1293
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1294
  mutable int _cached_size_;
1295
  ::google::protobuf::internal::ArenaStringPtr stream_id_;
1296
  bool local_only_;
1297
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1298
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsListTabletsRequestPBImpl();
1299
};
1300
// -------------------------------------------------------------------
1301
1302
class ListTabletsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.ListTabletsResponsePB) */ {
1303
 public:
1304
  ListTabletsResponsePB();
1305
  virtual ~ListTabletsResponsePB();
1306
1307
  ListTabletsResponsePB(const ListTabletsResponsePB& from);
1308
1309
0
  inline ListTabletsResponsePB& operator=(const ListTabletsResponsePB& from) {
1310
0
    CopyFrom(from);
1311
0
    return *this;
1312
0
  }
1313
  #if LANG_CXX11
1314
  ListTabletsResponsePB(ListTabletsResponsePB&& from) noexcept
1315
0
    : ListTabletsResponsePB() {
1316
0
    *this = ::std::move(from);
1317
0
  }
1318
1319
0
  inline ListTabletsResponsePB& operator=(ListTabletsResponsePB&& from) noexcept {
1320
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1321
0
      if (this != &from) InternalSwap(&from);
1322
0
    } else {
1323
0
      CopyFrom(from);
1324
0
    }
1325
0
    return *this;
1326
0
  }
1327
  #endif
1328
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1329
0
    return _internal_metadata_.unknown_fields();
1330
0
  }
1331
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1332
0
    return _internal_metadata_.mutable_unknown_fields();
1333
0
  }
1334
1335
  static const ::google::protobuf::Descriptor* descriptor();
1336
  static const ListTabletsResponsePB& default_instance();
1337
1338
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1339
16.4k
  static inline const ListTabletsResponsePB* internal_default_instance() {
1340
16.4k
    return reinterpret_cast<const ListTabletsResponsePB*>(
1341
16.4k
               &_ListTabletsResponsePB_default_instance_);
1342
16.4k
  }
1343
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1344
    6;
1345
1346
  void Swap(ListTabletsResponsePB* other);
1347
0
  friend void swap(ListTabletsResponsePB& a, ListTabletsResponsePB& b) {
1348
0
    a.Swap(&b);
1349
0
  }
1350
1351
  // implements Message ----------------------------------------------
1352
1353
0
  inline ListTabletsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
1354
1355
  ListTabletsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1356
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1357
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1358
  void CopyFrom(const ListTabletsResponsePB& from);
1359
  void MergeFrom(const ListTabletsResponsePB& from);
1360
  void Clear() PROTOBUF_FINAL;
1361
  bool IsInitialized() const PROTOBUF_FINAL;
1362
1363
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1364
  bool MergePartialFromCodedStream(
1365
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1366
  void SerializeWithCachedSizes(
1367
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1368
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1369
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1370
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1371
  private:
1372
  void SharedCtor();
1373
  void SharedDtor();
1374
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1375
  void InternalSwap(ListTabletsResponsePB* other);
1376
  private:
1377
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1378
0
    return NULL;
1379
0
  }
1380
0
  inline void* MaybeArenaPtr() const {
1381
0
    return NULL;
1382
0
  }
1383
  public:
1384
1385
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1386
1387
  // nested types ----------------------------------------------------
1388
1389
  // accessors -------------------------------------------------------
1390
1391
  // repeated .yb.cdc.CDCTabletPB tablets = 2;
1392
  int tablets_size() const;
1393
  void clear_tablets();
1394
  static const int kTabletsFieldNumber = 2;
1395
  const ::yb::cdc::CDCTabletPB& tablets(int index) const;
1396
  ::yb::cdc::CDCTabletPB* mutable_tablets(int index);
1397
  ::yb::cdc::CDCTabletPB* add_tablets();
1398
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB >*
1399
      mutable_tablets();
1400
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB >&
1401
      tablets() const;
1402
1403
  // optional .yb.cdc.CDCErrorPB error = 1;
1404
  bool has_error() const;
1405
  void clear_error();
1406
  static const int kErrorFieldNumber = 1;
1407
  const ::yb::cdc::CDCErrorPB& error() const;
1408
  ::yb::cdc::CDCErrorPB* release_error();
1409
  ::yb::cdc::CDCErrorPB* mutable_error();
1410
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
1411
1412
  // @@protoc_insertion_point(class_scope:yb.cdc.ListTabletsResponsePB)
1413
 private:
1414
  void set_has_error();
1415
  void clear_has_error();
1416
1417
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1418
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1419
  mutable int _cached_size_;
1420
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB > tablets_;
1421
  ::yb::cdc::CDCErrorPB* error_;
1422
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1423
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsListTabletsResponsePBImpl();
1424
};
1425
// -------------------------------------------------------------------
1426
1427
class CDCTabletPB_ReplicaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCTabletPB.ReplicaPB) */ {
1428
 public:
1429
  CDCTabletPB_ReplicaPB();
1430
  virtual ~CDCTabletPB_ReplicaPB();
1431
1432
  CDCTabletPB_ReplicaPB(const CDCTabletPB_ReplicaPB& from);
1433
1434
0
  inline CDCTabletPB_ReplicaPB& operator=(const CDCTabletPB_ReplicaPB& from) {
1435
0
    CopyFrom(from);
1436
0
    return *this;
1437
0
  }
1438
  #if LANG_CXX11
1439
  CDCTabletPB_ReplicaPB(CDCTabletPB_ReplicaPB&& from) noexcept
1440
0
    : CDCTabletPB_ReplicaPB() {
1441
0
    *this = ::std::move(from);
1442
0
  }
1443
1444
0
  inline CDCTabletPB_ReplicaPB& operator=(CDCTabletPB_ReplicaPB&& from) noexcept {
1445
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1446
0
      if (this != &from) InternalSwap(&from);
1447
0
    } else {
1448
0
      CopyFrom(from);
1449
0
    }
1450
0
    return *this;
1451
0
  }
1452
  #endif
1453
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1454
0
    return _internal_metadata_.unknown_fields();
1455
0
  }
1456
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1457
0
    return _internal_metadata_.mutable_unknown_fields();
1458
0
  }
1459
1460
  static const ::google::protobuf::Descriptor* descriptor();
1461
  static const CDCTabletPB_ReplicaPB& default_instance();
1462
1463
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1464
16.4k
  static inline const CDCTabletPB_ReplicaPB* internal_default_instance() {
1465
16.4k
    return reinterpret_cast<const CDCTabletPB_ReplicaPB*>(
1466
16.4k
               &_CDCTabletPB_ReplicaPB_default_instance_);
1467
16.4k
  }
1468
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1469
    7;
1470
1471
  void Swap(CDCTabletPB_ReplicaPB* other);
1472
0
  friend void swap(CDCTabletPB_ReplicaPB& a, CDCTabletPB_ReplicaPB& b) {
1473
0
    a.Swap(&b);
1474
0
  }
1475
1476
  // implements Message ----------------------------------------------
1477
1478
0
  inline CDCTabletPB_ReplicaPB* New() const PROTOBUF_FINAL { return New(NULL); }
1479
1480
  CDCTabletPB_ReplicaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1481
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1482
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1483
  void CopyFrom(const CDCTabletPB_ReplicaPB& from);
1484
  void MergeFrom(const CDCTabletPB_ReplicaPB& from);
1485
  void Clear() PROTOBUF_FINAL;
1486
  bool IsInitialized() const PROTOBUF_FINAL;
1487
1488
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1489
  bool MergePartialFromCodedStream(
1490
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1491
  void SerializeWithCachedSizes(
1492
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1493
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1494
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1495
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1496
  private:
1497
  void SharedCtor();
1498
  void SharedDtor();
1499
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1500
  void InternalSwap(CDCTabletPB_ReplicaPB* other);
1501
  private:
1502
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1503
0
    return NULL;
1504
0
  }
1505
0
  inline void* MaybeArenaPtr() const {
1506
0
    return NULL;
1507
0
  }
1508
  public:
1509
1510
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1511
1512
  // nested types ----------------------------------------------------
1513
1514
  // accessors -------------------------------------------------------
1515
1516
  // repeated .yb.HostPortPB broadcast_addresses = 1;
1517
  int broadcast_addresses_size() const;
1518
  void clear_broadcast_addresses();
1519
  static const int kBroadcastAddressesFieldNumber = 1;
1520
  const ::yb::HostPortPB& broadcast_addresses(int index) const;
1521
  ::yb::HostPortPB* mutable_broadcast_addresses(int index);
1522
  ::yb::HostPortPB* add_broadcast_addresses();
1523
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
1524
      mutable_broadcast_addresses();
1525
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
1526
      broadcast_addresses() const;
1527
1528
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCTabletPB.ReplicaPB)
1529
 private:
1530
1531
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1532
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1533
  mutable int _cached_size_;
1534
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > broadcast_addresses_;
1535
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1536
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCTabletPB_ReplicaPBImpl();
1537
};
1538
// -------------------------------------------------------------------
1539
1540
class CDCTabletPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCTabletPB) */ {
1541
 public:
1542
  CDCTabletPB();
1543
  virtual ~CDCTabletPB();
1544
1545
  CDCTabletPB(const CDCTabletPB& from);
1546
1547
0
  inline CDCTabletPB& operator=(const CDCTabletPB& from) {
1548
0
    CopyFrom(from);
1549
0
    return *this;
1550
0
  }
1551
  #if LANG_CXX11
1552
  CDCTabletPB(CDCTabletPB&& from) noexcept
1553
0
    : CDCTabletPB() {
1554
0
    *this = ::std::move(from);
1555
0
  }
1556
1557
0
  inline CDCTabletPB& operator=(CDCTabletPB&& from) noexcept {
1558
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1559
0
      if (this != &from) InternalSwap(&from);
1560
0
    } else {
1561
0
      CopyFrom(from);
1562
0
    }
1563
0
    return *this;
1564
0
  }
1565
  #endif
1566
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1567
0
    return _internal_metadata_.unknown_fields();
1568
0
  }
1569
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1570
0
    return _internal_metadata_.mutable_unknown_fields();
1571
0
  }
1572
1573
  static const ::google::protobuf::Descriptor* descriptor();
1574
  static const CDCTabletPB& default_instance();
1575
1576
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1577
16.4k
  static inline const CDCTabletPB* internal_default_instance() {
1578
16.4k
    return reinterpret_cast<const CDCTabletPB*>(
1579
16.4k
               &_CDCTabletPB_default_instance_);
1580
16.4k
  }
1581
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1582
    8;
1583
1584
  void Swap(CDCTabletPB* other);
1585
0
  friend void swap(CDCTabletPB& a, CDCTabletPB& b) {
1586
0
    a.Swap(&b);
1587
0
  }
1588
1589
  // implements Message ----------------------------------------------
1590
1591
0
  inline CDCTabletPB* New() const PROTOBUF_FINAL { return New(NULL); }
1592
1593
  CDCTabletPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1594
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1595
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1596
  void CopyFrom(const CDCTabletPB& from);
1597
  void MergeFrom(const CDCTabletPB& from);
1598
  void Clear() PROTOBUF_FINAL;
1599
  bool IsInitialized() const PROTOBUF_FINAL;
1600
1601
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1602
  bool MergePartialFromCodedStream(
1603
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1604
  void SerializeWithCachedSizes(
1605
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1606
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1607
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1608
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1609
  private:
1610
  void SharedCtor();
1611
  void SharedDtor();
1612
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1613
  void InternalSwap(CDCTabletPB* other);
1614
  private:
1615
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1616
0
    return NULL;
1617
0
  }
1618
0
  inline void* MaybeArenaPtr() const {
1619
0
    return NULL;
1620
0
  }
1621
  public:
1622
1623
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1624
1625
  // nested types ----------------------------------------------------
1626
1627
  typedef CDCTabletPB_ReplicaPB ReplicaPB;
1628
1629
  // accessors -------------------------------------------------------
1630
1631
  // repeated .yb.cdc.CDCTabletPB.ReplicaPB tservers = 2;
1632
  int tservers_size() const;
1633
  void clear_tservers();
1634
  static const int kTserversFieldNumber = 2;
1635
  const ::yb::cdc::CDCTabletPB_ReplicaPB& tservers(int index) const;
1636
  ::yb::cdc::CDCTabletPB_ReplicaPB* mutable_tservers(int index);
1637
  ::yb::cdc::CDCTabletPB_ReplicaPB* add_tservers();
1638
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB >*
1639
      mutable_tservers();
1640
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB >&
1641
      tservers() const;
1642
1643
  // optional bytes tablet_id = 1;
1644
  bool has_tablet_id() const;
1645
  void clear_tablet_id();
1646
  static const int kTabletIdFieldNumber = 1;
1647
  const ::std::string& tablet_id() const;
1648
  void set_tablet_id(const ::std::string& value);
1649
  #if LANG_CXX11
1650
  void set_tablet_id(::std::string&& value);
1651
  #endif
1652
  void set_tablet_id(const char* value);
1653
  void set_tablet_id(const void* value, size_t size);
1654
  ::std::string* mutable_tablet_id();
1655
  ::std::string* release_tablet_id();
1656
  void set_allocated_tablet_id(::std::string* tablet_id);
1657
1658
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCTabletPB)
1659
 private:
1660
  void set_has_tablet_id();
1661
  void clear_has_tablet_id();
1662
1663
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1664
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1665
  mutable int _cached_size_;
1666
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB > tservers_;
1667
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
1668
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1669
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCTabletPBImpl();
1670
};
1671
// -------------------------------------------------------------------
1672
1673
class CDCSDKCheckpointPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCSDKCheckpointPB) */ {
1674
 public:
1675
  CDCSDKCheckpointPB();
1676
  virtual ~CDCSDKCheckpointPB();
1677
1678
  CDCSDKCheckpointPB(const CDCSDKCheckpointPB& from);
1679
1680
36
  inline CDCSDKCheckpointPB& operator=(const CDCSDKCheckpointPB& from) {
1681
36
    CopyFrom(from);
1682
36
    return *this;
1683
36
  }
1684
  #if LANG_CXX11
1685
  CDCSDKCheckpointPB(CDCSDKCheckpointPB&& from) noexcept
1686
0
    : CDCSDKCheckpointPB() {
1687
0
    *this = ::std::move(from);
1688
0
  }
1689
1690
0
  inline CDCSDKCheckpointPB& operator=(CDCSDKCheckpointPB&& from) noexcept {
1691
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1692
0
      if (this != &from) InternalSwap(&from);
1693
0
    } else {
1694
0
      CopyFrom(from);
1695
0
    }
1696
0
    return *this;
1697
0
  }
1698
  #endif
1699
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1700
0
    return _internal_metadata_.unknown_fields();
1701
0
  }
1702
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1703
0
    return _internal_metadata_.mutable_unknown_fields();
1704
0
  }
1705
1706
  static const ::google::protobuf::Descriptor* descriptor();
1707
  static const CDCSDKCheckpointPB& default_instance();
1708
1709
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1710
67.8k
  static inline const CDCSDKCheckpointPB* internal_default_instance() {
1711
67.8k
    return reinterpret_cast<const CDCSDKCheckpointPB*>(
1712
67.8k
               &_CDCSDKCheckpointPB_default_instance_);
1713
67.8k
  }
1714
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1715
    9;
1716
1717
  void Swap(CDCSDKCheckpointPB* other);
1718
0
  friend void swap(CDCSDKCheckpointPB& a, CDCSDKCheckpointPB& b) {
1719
0
    a.Swap(&b);
1720
0
  }
1721
1722
  // implements Message ----------------------------------------------
1723
1724
0
  inline CDCSDKCheckpointPB* New() const PROTOBUF_FINAL { return New(NULL); }
1725
1726
  CDCSDKCheckpointPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1727
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1728
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1729
  void CopyFrom(const CDCSDKCheckpointPB& from);
1730
  void MergeFrom(const CDCSDKCheckpointPB& from);
1731
  void Clear() PROTOBUF_FINAL;
1732
  bool IsInitialized() const PROTOBUF_FINAL;
1733
1734
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1735
  bool MergePartialFromCodedStream(
1736
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1737
  void SerializeWithCachedSizes(
1738
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1739
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1740
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1741
641
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1742
  private:
1743
  void SharedCtor();
1744
  void SharedDtor();
1745
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1746
  void InternalSwap(CDCSDKCheckpointPB* other);
1747
  private:
1748
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1749
0
    return NULL;
1750
0
  }
1751
0
  inline void* MaybeArenaPtr() const {
1752
0
    return NULL;
1753
0
  }
1754
  public:
1755
1756
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1757
1758
  // nested types ----------------------------------------------------
1759
1760
  // accessors -------------------------------------------------------
1761
1762
  // optional bytes key = 3;
1763
  bool has_key() const;
1764
  void clear_key();
1765
  static const int kKeyFieldNumber = 3;
1766
  const ::std::string& key() const;
1767
  void set_key(const ::std::string& value);
1768
  #if LANG_CXX11
1769
  void set_key(::std::string&& value);
1770
  #endif
1771
  void set_key(const char* value);
1772
  void set_key(const void* value, size_t size);
1773
  ::std::string* mutable_key();
1774
  ::std::string* release_key();
1775
  void set_allocated_key(::std::string* key);
1776
1777
  // optional int64 term = 1;
1778
  bool has_term() const;
1779
  void clear_term();
1780
  static const int kTermFieldNumber = 1;
1781
  ::google::protobuf::int64 term() const;
1782
  void set_term(::google::protobuf::int64 value);
1783
1784
  // optional int64 index = 2;
1785
  bool has_index() const;
1786
  void clear_index();
1787
  static const int kIndexFieldNumber = 2;
1788
  ::google::protobuf::int64 index() const;
1789
  void set_index(::google::protobuf::int64 value);
1790
1791
  // optional uint64 snapshot_time = 5;
1792
  bool has_snapshot_time() const;
1793
  void clear_snapshot_time();
1794
  static const int kSnapshotTimeFieldNumber = 5;
1795
  ::google::protobuf::uint64 snapshot_time() const;
1796
  void set_snapshot_time(::google::protobuf::uint64 value);
1797
1798
  // optional int32 write_id = 4 [default = 0];
1799
  bool has_write_id() const;
1800
  void clear_write_id();
1801
  static const int kWriteIdFieldNumber = 4;
1802
  ::google::protobuf::int32 write_id() const;
1803
  void set_write_id(::google::protobuf::int32 value);
1804
1805
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCSDKCheckpointPB)
1806
 private:
1807
  void set_has_term();
1808
  void clear_has_term();
1809
  void set_has_index();
1810
  void clear_has_index();
1811
  void set_has_key();
1812
  void clear_has_key();
1813
  void set_has_write_id();
1814
  void clear_has_write_id();
1815
  void set_has_snapshot_time();
1816
  void clear_has_snapshot_time();
1817
1818
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1819
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1820
  mutable int _cached_size_;
1821
  ::google::protobuf::internal::ArenaStringPtr key_;
1822
  ::google::protobuf::int64 term_;
1823
  ::google::protobuf::int64 index_;
1824
  ::google::protobuf::uint64 snapshot_time_;
1825
  ::google::protobuf::int32 write_id_;
1826
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1827
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCSDKCheckpointPBImpl();
1828
};
1829
// -------------------------------------------------------------------
1830
1831
class CDCCheckpointPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCCheckpointPB) */ {
1832
 public:
1833
  CDCCheckpointPB();
1834
  virtual ~CDCCheckpointPB();
1835
1836
  CDCCheckpointPB(const CDCCheckpointPB& from);
1837
1838
0
  inline CDCCheckpointPB& operator=(const CDCCheckpointPB& from) {
1839
0
    CopyFrom(from);
1840
0
    return *this;
1841
0
  }
1842
  #if LANG_CXX11
1843
  CDCCheckpointPB(CDCCheckpointPB&& from) noexcept
1844
0
    : CDCCheckpointPB() {
1845
0
    *this = ::std::move(from);
1846
0
  }
1847
1848
0
  inline CDCCheckpointPB& operator=(CDCCheckpointPB&& from) noexcept {
1849
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1850
0
      if (this != &from) InternalSwap(&from);
1851
0
    } else {
1852
0
      CopyFrom(from);
1853
0
    }
1854
0
    return *this;
1855
0
  }
1856
  #endif
1857
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1858
0
    return _internal_metadata_.unknown_fields();
1859
0
  }
1860
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1861
0
    return _internal_metadata_.mutable_unknown_fields();
1862
0
  }
1863
1864
  static const ::google::protobuf::Descriptor* descriptor();
1865
  static const CDCCheckpointPB& default_instance();
1866
1867
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1868
83.6k
  static inline const CDCCheckpointPB* internal_default_instance() {
1869
83.6k
    return reinterpret_cast<const CDCCheckpointPB*>(
1870
83.6k
               &_CDCCheckpointPB_default_instance_);
1871
83.6k
  }
1872
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1873
    10;
1874
1875
  void Swap(CDCCheckpointPB* other);
1876
0
  friend void swap(CDCCheckpointPB& a, CDCCheckpointPB& b) {
1877
0
    a.Swap(&b);
1878
0
  }
1879
1880
  // implements Message ----------------------------------------------
1881
1882
0
  inline CDCCheckpointPB* New() const PROTOBUF_FINAL { return New(NULL); }
1883
1884
  CDCCheckpointPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1885
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1886
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1887
  void CopyFrom(const CDCCheckpointPB& from);
1888
  void MergeFrom(const CDCCheckpointPB& from);
1889
  void Clear() PROTOBUF_FINAL;
1890
  bool IsInitialized() const PROTOBUF_FINAL;
1891
1892
  size_t ByteSizeLong() const PROTOBUF_FINAL;
1893
  bool MergePartialFromCodedStream(
1894
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1895
  void SerializeWithCachedSizes(
1896
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1897
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1898
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
1899
631
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1900
  private:
1901
  void SharedCtor();
1902
  void SharedDtor();
1903
  void SetCachedSize(int size) const PROTOBUF_FINAL;
1904
  void InternalSwap(CDCCheckpointPB* other);
1905
  private:
1906
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1907
0
    return NULL;
1908
0
  }
1909
0
  inline void* MaybeArenaPtr() const {
1910
0
    return NULL;
1911
0
  }
1912
  public:
1913
1914
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1915
1916
  // nested types ----------------------------------------------------
1917
1918
  // accessors -------------------------------------------------------
1919
1920
  // optional .yb.OpIdPB op_id = 1;
1921
  bool has_op_id() const;
1922
  void clear_op_id();
1923
  static const int kOpIdFieldNumber = 1;
1924
  const ::yb::OpIdPB& op_id() const;
1925
  ::yb::OpIdPB* release_op_id();
1926
  ::yb::OpIdPB* mutable_op_id();
1927
  void set_allocated_op_id(::yb::OpIdPB* op_id);
1928
1929
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCCheckpointPB)
1930
 private:
1931
  void set_has_op_id();
1932
  void clear_has_op_id();
1933
1934
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1935
  ::google::protobuf::internal::HasBits<1> _has_bits_;
1936
  mutable int _cached_size_;
1937
  ::yb::OpIdPB* op_id_;
1938
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
1939
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCCheckpointPBImpl();
1940
};
1941
// -------------------------------------------------------------------
1942
1943
class GetChangesRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetChangesRequestPB) */ {
1944
 public:
1945
  GetChangesRequestPB();
1946
  virtual ~GetChangesRequestPB();
1947
1948
  GetChangesRequestPB(const GetChangesRequestPB& from);
1949
1950
0
  inline GetChangesRequestPB& operator=(const GetChangesRequestPB& from) {
1951
0
    CopyFrom(from);
1952
0
    return *this;
1953
0
  }
1954
  #if LANG_CXX11
1955
  GetChangesRequestPB(GetChangesRequestPB&& from) noexcept
1956
0
    : GetChangesRequestPB() {
1957
0
    *this = ::std::move(from);
1958
0
  }
1959
1960
0
  inline GetChangesRequestPB& operator=(GetChangesRequestPB&& from) noexcept {
1961
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1962
0
      if (this != &from) InternalSwap(&from);
1963
0
    } else {
1964
0
      CopyFrom(from);
1965
0
    }
1966
0
    return *this;
1967
0
  }
1968
  #endif
1969
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1970
0
    return _internal_metadata_.unknown_fields();
1971
0
  }
1972
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1973
0
    return _internal_metadata_.mutable_unknown_fields();
1974
0
  }
1975
1976
  static const ::google::protobuf::Descriptor* descriptor();
1977
  static const GetChangesRequestPB& default_instance();
1978
1979
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
1980
18.4k
  static inline const GetChangesRequestPB* internal_default_instance() {
1981
18.4k
    return reinterpret_cast<const GetChangesRequestPB*>(
1982
18.4k
               &_GetChangesRequestPB_default_instance_);
1983
18.4k
  }
1984
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1985
    11;
1986
1987
  void Swap(GetChangesRequestPB* other);
1988
0
  friend void swap(GetChangesRequestPB& a, GetChangesRequestPB& b) {
1989
0
    a.Swap(&b);
1990
0
  }
1991
1992
  // implements Message ----------------------------------------------
1993
1994
0
  inline GetChangesRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
1995
1996
  GetChangesRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1997
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1998
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1999
  void CopyFrom(const GetChangesRequestPB& from);
2000
  void MergeFrom(const GetChangesRequestPB& from);
2001
  void Clear() PROTOBUF_FINAL;
2002
  bool IsInitialized() const PROTOBUF_FINAL;
2003
2004
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2005
  bool MergePartialFromCodedStream(
2006
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2007
  void SerializeWithCachedSizes(
2008
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2009
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2010
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2011
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2012
  private:
2013
  void SharedCtor();
2014
  void SharedDtor();
2015
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2016
  void InternalSwap(GetChangesRequestPB* other);
2017
  private:
2018
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2019
0
    return NULL;
2020
0
  }
2021
0
  inline void* MaybeArenaPtr() const {
2022
0
    return NULL;
2023
0
  }
2024
  public:
2025
2026
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2027
2028
  // nested types ----------------------------------------------------
2029
2030
  // accessors -------------------------------------------------------
2031
2032
  // optional bytes stream_id = 1;
2033
  bool has_stream_id() const;
2034
  void clear_stream_id();
2035
  static const int kStreamIdFieldNumber = 1;
2036
  const ::std::string& stream_id() const;
2037
  void set_stream_id(const ::std::string& value);
2038
  #if LANG_CXX11
2039
  void set_stream_id(::std::string&& value);
2040
  #endif
2041
  void set_stream_id(const char* value);
2042
  void set_stream_id(const void* value, size_t size);
2043
  ::std::string* mutable_stream_id();
2044
  ::std::string* release_stream_id();
2045
  void set_allocated_stream_id(::std::string* stream_id);
2046
2047
  // optional bytes tablet_id = 2;
2048
  bool has_tablet_id() const;
2049
  void clear_tablet_id();
2050
  static const int kTabletIdFieldNumber = 2;
2051
  const ::std::string& tablet_id() const;
2052
  void set_tablet_id(const ::std::string& value);
2053
  #if LANG_CXX11
2054
  void set_tablet_id(::std::string&& value);
2055
  #endif
2056
  void set_tablet_id(const char* value);
2057
  void set_tablet_id(const void* value, size_t size);
2058
  ::std::string* mutable_tablet_id();
2059
  ::std::string* release_tablet_id();
2060
  void set_allocated_tablet_id(::std::string* tablet_id);
2061
2062
  // optional bytes db_stream_id = 6;
2063
  bool has_db_stream_id() const;
2064
  void clear_db_stream_id();
2065
  static const int kDbStreamIdFieldNumber = 6;
2066
  const ::std::string& db_stream_id() const;
2067
  void set_db_stream_id(const ::std::string& value);
2068
  #if LANG_CXX11
2069
  void set_db_stream_id(::std::string&& value);
2070
  #endif
2071
  void set_db_stream_id(const char* value);
2072
  void set_db_stream_id(const void* value, size_t size);
2073
  ::std::string* mutable_db_stream_id();
2074
  ::std::string* release_db_stream_id();
2075
  void set_allocated_db_stream_id(::std::string* db_stream_id);
2076
2077
  // optional bytes table_id = 7;
2078
  bool has_table_id() const;
2079
  void clear_table_id();
2080
  static const int kTableIdFieldNumber = 7;
2081
  const ::std::string& table_id() const;
2082
  void set_table_id(const ::std::string& value);
2083
  #if LANG_CXX11
2084
  void set_table_id(::std::string&& value);
2085
  #endif
2086
  void set_table_id(const char* value);
2087
  void set_table_id(const void* value, size_t size);
2088
  ::std::string* mutable_table_id();
2089
  ::std::string* release_table_id();
2090
  void set_allocated_table_id(::std::string* table_id);
2091
2092
  // optional .yb.cdc.CDCCheckpointPB from_checkpoint = 3;
2093
  bool has_from_checkpoint() const;
2094
  void clear_from_checkpoint();
2095
  static const int kFromCheckpointFieldNumber = 3;
2096
  const ::yb::cdc::CDCCheckpointPB& from_checkpoint() const;
2097
  ::yb::cdc::CDCCheckpointPB* release_from_checkpoint();
2098
  ::yb::cdc::CDCCheckpointPB* mutable_from_checkpoint();
2099
  void set_allocated_from_checkpoint(::yb::cdc::CDCCheckpointPB* from_checkpoint);
2100
2101
  // optional .yb.cdc.CDCSDKCheckpointPB from_cdc_sdk_checkpoint = 8;
2102
  bool has_from_cdc_sdk_checkpoint() const;
2103
  void clear_from_cdc_sdk_checkpoint();
2104
  static const int kFromCdcSdkCheckpointFieldNumber = 8;
2105
  const ::yb::cdc::CDCSDKCheckpointPB& from_cdc_sdk_checkpoint() const;
2106
  ::yb::cdc::CDCSDKCheckpointPB* release_from_cdc_sdk_checkpoint();
2107
  ::yb::cdc::CDCSDKCheckpointPB* mutable_from_cdc_sdk_checkpoint();
2108
  void set_allocated_from_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* from_cdc_sdk_checkpoint);
2109
2110
  // optional uint32 max_records = 4;
2111
  bool has_max_records() const;
2112
  void clear_max_records();
2113
  static const int kMaxRecordsFieldNumber = 4;
2114
  ::google::protobuf::uint32 max_records() const;
2115
  void set_max_records(::google::protobuf::uint32 value);
2116
2117
  // optional bool serve_as_proxy = 5 [default = true];
2118
  bool has_serve_as_proxy() const;
2119
  void clear_serve_as_proxy();
2120
  static const int kServeAsProxyFieldNumber = 5;
2121
  bool serve_as_proxy() const;
2122
  void set_serve_as_proxy(bool value);
2123
2124
  // @@protoc_insertion_point(class_scope:yb.cdc.GetChangesRequestPB)
2125
 private:
2126
  void set_has_stream_id();
2127
  void clear_has_stream_id();
2128
  void set_has_tablet_id();
2129
  void clear_has_tablet_id();
2130
  void set_has_from_checkpoint();
2131
  void clear_has_from_checkpoint();
2132
  void set_has_max_records();
2133
  void clear_has_max_records();
2134
  void set_has_serve_as_proxy();
2135
  void clear_has_serve_as_proxy();
2136
  void set_has_db_stream_id();
2137
  void clear_has_db_stream_id();
2138
  void set_has_table_id();
2139
  void clear_has_table_id();
2140
  void set_has_from_cdc_sdk_checkpoint();
2141
  void clear_has_from_cdc_sdk_checkpoint();
2142
2143
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2144
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2145
  mutable int _cached_size_;
2146
  ::google::protobuf::internal::ArenaStringPtr stream_id_;
2147
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
2148
  ::google::protobuf::internal::ArenaStringPtr db_stream_id_;
2149
  ::google::protobuf::internal::ArenaStringPtr table_id_;
2150
  ::yb::cdc::CDCCheckpointPB* from_checkpoint_;
2151
  ::yb::cdc::CDCSDKCheckpointPB* from_cdc_sdk_checkpoint_;
2152
  ::google::protobuf::uint32 max_records_;
2153
  bool serve_as_proxy_;
2154
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
2155
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetChangesRequestPBImpl();
2156
};
2157
// -------------------------------------------------------------------
2158
2159
class KeyValuePairPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.KeyValuePairPB) */ {
2160
 public:
2161
  KeyValuePairPB();
2162
  virtual ~KeyValuePairPB();
2163
2164
  KeyValuePairPB(const KeyValuePairPB& from);
2165
2166
0
  inline KeyValuePairPB& operator=(const KeyValuePairPB& from) {
2167
0
    CopyFrom(from);
2168
0
    return *this;
2169
0
  }
2170
  #if LANG_CXX11
2171
  KeyValuePairPB(KeyValuePairPB&& from) noexcept
2172
0
    : KeyValuePairPB() {
2173
0
    *this = ::std::move(from);
2174
0
  }
2175
2176
0
  inline KeyValuePairPB& operator=(KeyValuePairPB&& from) noexcept {
2177
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2178
0
      if (this != &from) InternalSwap(&from);
2179
0
    } else {
2180
0
      CopyFrom(from);
2181
0
    }
2182
0
    return *this;
2183
0
  }
2184
  #endif
2185
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2186
0
    return _internal_metadata_.unknown_fields();
2187
0
  }
2188
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2189
0
    return _internal_metadata_.mutable_unknown_fields();
2190
0
  }
2191
2192
  static const ::google::protobuf::Descriptor* descriptor();
2193
  static const KeyValuePairPB& default_instance();
2194
2195
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2196
16.4k
  static inline const KeyValuePairPB* internal_default_instance() {
2197
16.4k
    return reinterpret_cast<const KeyValuePairPB*>(
2198
16.4k
               &_KeyValuePairPB_default_instance_);
2199
16.4k
  }
2200
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2201
    12;
2202
2203
  void Swap(KeyValuePairPB* other);
2204
0
  friend void swap(KeyValuePairPB& a, KeyValuePairPB& b) {
2205
0
    a.Swap(&b);
2206
0
  }
2207
2208
  // implements Message ----------------------------------------------
2209
2210
0
  inline KeyValuePairPB* New() const PROTOBUF_FINAL { return New(NULL); }
2211
2212
  KeyValuePairPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2213
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2214
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2215
  void CopyFrom(const KeyValuePairPB& from);
2216
  void MergeFrom(const KeyValuePairPB& from);
2217
  void Clear() PROTOBUF_FINAL;
2218
  bool IsInitialized() const PROTOBUF_FINAL;
2219
2220
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2221
  bool MergePartialFromCodedStream(
2222
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2223
  void SerializeWithCachedSizes(
2224
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2225
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2226
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2227
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2228
  private:
2229
  void SharedCtor();
2230
  void SharedDtor();
2231
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2232
  void InternalSwap(KeyValuePairPB* other);
2233
  private:
2234
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2235
0
    return NULL;
2236
0
  }
2237
0
  inline void* MaybeArenaPtr() const {
2238
0
    return NULL;
2239
0
  }
2240
  public:
2241
2242
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2243
2244
  // nested types ----------------------------------------------------
2245
2246
  // accessors -------------------------------------------------------
2247
2248
  // optional bytes key = 1;
2249
  bool has_key() const;
2250
  void clear_key();
2251
  static const int kKeyFieldNumber = 1;
2252
  const ::std::string& key() const;
2253
  void set_key(const ::std::string& value);
2254
  #if LANG_CXX11
2255
  void set_key(::std::string&& value);
2256
  #endif
2257
  void set_key(const char* value);
2258
  void set_key(const void* value, size_t size);
2259
  ::std::string* mutable_key();
2260
  ::std::string* release_key();
2261
  void set_allocated_key(::std::string* key);
2262
2263
  // optional .yb.QLValuePB value = 2;
2264
  bool has_value() const;
2265
  void clear_value();
2266
  static const int kValueFieldNumber = 2;
2267
  const ::yb::QLValuePB& value() const;
2268
  ::yb::QLValuePB* release_value();
2269
  ::yb::QLValuePB* mutable_value();
2270
  void set_allocated_value(::yb::QLValuePB* value);
2271
2272
  // @@protoc_insertion_point(class_scope:yb.cdc.KeyValuePairPB)
2273
 private:
2274
  void set_has_key();
2275
  void clear_has_key();
2276
  void set_has_value();
2277
  void clear_has_value();
2278
2279
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2280
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2281
  mutable int _cached_size_;
2282
  ::google::protobuf::internal::ArenaStringPtr key_;
2283
  ::yb::QLValuePB* value_;
2284
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
2285
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsKeyValuePairPBImpl();
2286
};
2287
// -------------------------------------------------------------------
2288
2289
class CDCRecordPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCRecordPB) */ {
2290
 public:
2291
  CDCRecordPB();
2292
  virtual ~CDCRecordPB();
2293
2294
  CDCRecordPB(const CDCRecordPB& from);
2295
2296
0
  inline CDCRecordPB& operator=(const CDCRecordPB& from) {
2297
0
    CopyFrom(from);
2298
0
    return *this;
2299
0
  }
2300
  #if LANG_CXX11
2301
  CDCRecordPB(CDCRecordPB&& from) noexcept
2302
0
    : CDCRecordPB() {
2303
0
    *this = ::std::move(from);
2304
0
  }
2305
2306
0
  inline CDCRecordPB& operator=(CDCRecordPB&& from) noexcept {
2307
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2308
0
      if (this != &from) InternalSwap(&from);
2309
0
    } else {
2310
0
      CopyFrom(from);
2311
0
    }
2312
0
    return *this;
2313
0
  }
2314
  #endif
2315
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2316
0
    return _internal_metadata_.unknown_fields();
2317
0
  }
2318
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2319
0
    return _internal_metadata_.mutable_unknown_fields();
2320
0
  }
2321
2322
  static const ::google::protobuf::Descriptor* descriptor();
2323
  static const CDCRecordPB& default_instance();
2324
2325
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2326
16.4k
  static inline const CDCRecordPB* internal_default_instance() {
2327
16.4k
    return reinterpret_cast<const CDCRecordPB*>(
2328
16.4k
               &_CDCRecordPB_default_instance_);
2329
16.4k
  }
2330
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2331
    13;
2332
2333
  void Swap(CDCRecordPB* other);
2334
0
  friend void swap(CDCRecordPB& a, CDCRecordPB& b) {
2335
0
    a.Swap(&b);
2336
0
  }
2337
2338
  // implements Message ----------------------------------------------
2339
2340
0
  inline CDCRecordPB* New() const PROTOBUF_FINAL { return New(NULL); }
2341
2342
  CDCRecordPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2343
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2344
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2345
  void CopyFrom(const CDCRecordPB& from);
2346
  void MergeFrom(const CDCRecordPB& from);
2347
  void Clear() PROTOBUF_FINAL;
2348
  bool IsInitialized() const PROTOBUF_FINAL;
2349
2350
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2351
  bool MergePartialFromCodedStream(
2352
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2353
  void SerializeWithCachedSizes(
2354
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2355
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2356
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2357
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2358
  private:
2359
  void SharedCtor();
2360
  void SharedDtor();
2361
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2362
  void InternalSwap(CDCRecordPB* other);
2363
  private:
2364
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2365
0
    return NULL;
2366
0
  }
2367
0
  inline void* MaybeArenaPtr() const {
2368
0
    return NULL;
2369
0
  }
2370
  public:
2371
2372
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2373
2374
  // nested types ----------------------------------------------------
2375
2376
  typedef CDCRecordPB_OperationType OperationType;
2377
  static const OperationType WRITE =
2378
    CDCRecordPB_OperationType_WRITE;
2379
  static const OperationType DELETE =
2380
    CDCRecordPB_OperationType_DELETE;
2381
  static const OperationType APPLY =
2382
    CDCRecordPB_OperationType_APPLY;
2383
  static const OperationType SPLIT_OP =
2384
    CDCRecordPB_OperationType_SPLIT_OP;
2385
0
  static inline bool OperationType_IsValid(int value) {
2386
0
    return CDCRecordPB_OperationType_IsValid(value);
2387
0
  }
2388
  static const OperationType OperationType_MIN =
2389
    CDCRecordPB_OperationType_OperationType_MIN;
2390
  static const OperationType OperationType_MAX =
2391
    CDCRecordPB_OperationType_OperationType_MAX;
2392
  static const int OperationType_ARRAYSIZE =
2393
    CDCRecordPB_OperationType_OperationType_ARRAYSIZE;
2394
  static inline const ::google::protobuf::EnumDescriptor*
2395
0
  OperationType_descriptor() {
2396
0
    return CDCRecordPB_OperationType_descriptor();
2397
0
  }
2398
0
  static inline const ::std::string& OperationType_Name(OperationType value) {
2399
0
    return CDCRecordPB_OperationType_Name(value);
2400
0
  }
2401
  static inline bool OperationType_Parse(const ::std::string& name,
2402
0
      OperationType* value) {
2403
0
    return CDCRecordPB_OperationType_Parse(name, value);
2404
0
  }
2405
2406
  // accessors -------------------------------------------------------
2407
2408
  // repeated .yb.cdc.KeyValuePairPB key = 3;
2409
  int key_size() const;
2410
  void clear_key();
2411
  static const int kKeyFieldNumber = 3;
2412
  const ::yb::cdc::KeyValuePairPB& key(int index) const;
2413
  ::yb::cdc::KeyValuePairPB* mutable_key(int index);
2414
  ::yb::cdc::KeyValuePairPB* add_key();
2415
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
2416
      mutable_key();
2417
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
2418
      key() const;
2419
2420
  // repeated .yb.cdc.KeyValuePairPB changes = 4;
2421
  int changes_size() const;
2422
  void clear_changes();
2423
  static const int kChangesFieldNumber = 4;
2424
  const ::yb::cdc::KeyValuePairPB& changes(int index) const;
2425
  ::yb::cdc::KeyValuePairPB* mutable_changes(int index);
2426
  ::yb::cdc::KeyValuePairPB* add_changes();
2427
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
2428
      mutable_changes();
2429
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
2430
      changes() const;
2431
2432
  // repeated .yb.cdc.KeyValuePairPB before = 5;
2433
  int before_size() const;
2434
  void clear_before();
2435
  static const int kBeforeFieldNumber = 5;
2436
  const ::yb::cdc::KeyValuePairPB& before(int index) const;
2437
  ::yb::cdc::KeyValuePairPB* mutable_before(int index);
2438
  ::yb::cdc::KeyValuePairPB* add_before();
2439
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
2440
      mutable_before();
2441
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
2442
      before() const;
2443
2444
  // repeated .yb.cdc.KeyValuePairPB after = 6;
2445
  int after_size() const;
2446
  void clear_after();
2447
  static const int kAfterFieldNumber = 6;
2448
  const ::yb::cdc::KeyValuePairPB& after(int index) const;
2449
  ::yb::cdc::KeyValuePairPB* mutable_after(int index);
2450
  ::yb::cdc::KeyValuePairPB* add_after();
2451
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
2452
      mutable_after();
2453
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
2454
      after() const;
2455
2456
  // optional .yb.tablet.TransactionStatePB transaction_state = 7;
2457
  bool has_transaction_state() const;
2458
  void clear_transaction_state();
2459
  static const int kTransactionStateFieldNumber = 7;
2460
  const ::yb::tablet::TransactionStatePB& transaction_state() const;
2461
  ::yb::tablet::TransactionStatePB* release_transaction_state();
2462
  ::yb::tablet::TransactionStatePB* mutable_transaction_state();
2463
  void set_allocated_transaction_state(::yb::tablet::TransactionStatePB* transaction_state);
2464
2465
  // optional .yb.PartitionPB partition = 9;
2466
  bool has_partition() const;
2467
  void clear_partition();
2468
  static const int kPartitionFieldNumber = 9;
2469
  const ::yb::PartitionPB& partition() const;
2470
  ::yb::PartitionPB* release_partition();
2471
  ::yb::PartitionPB* mutable_partition();
2472
  void set_allocated_partition(::yb::PartitionPB* partition);
2473
2474
  // optional .yb.tablet.SplitTabletRequestPB split_tablet_request = 10;
2475
  bool has_split_tablet_request() const;
2476
  void clear_split_tablet_request();
2477
  static const int kSplitTabletRequestFieldNumber = 10;
2478
  const ::yb::tablet::SplitTabletRequestPB& split_tablet_request() const;
2479
  ::yb::tablet::SplitTabletRequestPB* release_split_tablet_request();
2480
  ::yb::tablet::SplitTabletRequestPB* mutable_split_tablet_request();
2481
  void set_allocated_split_tablet_request(::yb::tablet::SplitTabletRequestPB* split_tablet_request);
2482
2483
  // optional uint64 time = 1;
2484
  bool has_time() const;
2485
  void clear_time();
2486
  static const int kTimeFieldNumber = 1;
2487
  ::google::protobuf::uint64 time() const;
2488
  void set_time(::google::protobuf::uint64 value);
2489
2490
  // optional .yb.cdc.CDCRecordPB.OperationType operation = 2;
2491
  bool has_operation() const;
2492
  void clear_operation();
2493
  static const int kOperationFieldNumber = 2;
2494
  ::yb::cdc::CDCRecordPB_OperationType operation() const;
2495
  void set_operation(::yb::cdc::CDCRecordPB_OperationType value);
2496
2497
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCRecordPB)
2498
 private:
2499
  void set_has_time();
2500
  void clear_has_time();
2501
  void set_has_operation();
2502
  void clear_has_operation();
2503
  void set_has_transaction_state();
2504
  void clear_has_transaction_state();
2505
  void set_has_partition();
2506
  void clear_has_partition();
2507
  void set_has_split_tablet_request();
2508
  void clear_has_split_tablet_request();
2509
2510
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2511
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2512
  mutable int _cached_size_;
2513
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB > key_;
2514
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB > changes_;
2515
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB > before_;
2516
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB > after_;
2517
  ::yb::tablet::TransactionStatePB* transaction_state_;
2518
  ::yb::PartitionPB* partition_;
2519
  ::yb::tablet::SplitTabletRequestPB* split_tablet_request_;
2520
  ::google::protobuf::uint64 time_;
2521
  int operation_;
2522
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
2523
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCRecordPBImpl();
2524
};
2525
// -------------------------------------------------------------------
2526
2527
class CDCSDKColumnInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCSDKColumnInfoPB) */ {
2528
 public:
2529
  CDCSDKColumnInfoPB();
2530
  virtual ~CDCSDKColumnInfoPB();
2531
2532
  CDCSDKColumnInfoPB(const CDCSDKColumnInfoPB& from);
2533
2534
0
  inline CDCSDKColumnInfoPB& operator=(const CDCSDKColumnInfoPB& from) {
2535
0
    CopyFrom(from);
2536
0
    return *this;
2537
0
  }
2538
  #if LANG_CXX11
2539
  CDCSDKColumnInfoPB(CDCSDKColumnInfoPB&& from) noexcept
2540
0
    : CDCSDKColumnInfoPB() {
2541
0
    *this = ::std::move(from);
2542
0
  }
2543
2544
0
  inline CDCSDKColumnInfoPB& operator=(CDCSDKColumnInfoPB&& from) noexcept {
2545
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2546
0
      if (this != &from) InternalSwap(&from);
2547
0
    } else {
2548
0
      CopyFrom(from);
2549
0
    }
2550
0
    return *this;
2551
0
  }
2552
  #endif
2553
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2554
0
    return _internal_metadata_.unknown_fields();
2555
0
  }
2556
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2557
0
    return _internal_metadata_.mutable_unknown_fields();
2558
0
  }
2559
2560
  static const ::google::protobuf::Descriptor* descriptor();
2561
  static const CDCSDKColumnInfoPB& default_instance();
2562
2563
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2564
20.0k
  static inline const CDCSDKColumnInfoPB* internal_default_instance() {
2565
20.0k
    return reinterpret_cast<const CDCSDKColumnInfoPB*>(
2566
20.0k
               &_CDCSDKColumnInfoPB_default_instance_);
2567
20.0k
  }
2568
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2569
    14;
2570
2571
  void Swap(CDCSDKColumnInfoPB* other);
2572
0
  friend void swap(CDCSDKColumnInfoPB& a, CDCSDKColumnInfoPB& b) {
2573
0
    a.Swap(&b);
2574
0
  }
2575
2576
  // implements Message ----------------------------------------------
2577
2578
0
  inline CDCSDKColumnInfoPB* New() const PROTOBUF_FINAL { return New(NULL); }
2579
2580
  CDCSDKColumnInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2581
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2582
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2583
  void CopyFrom(const CDCSDKColumnInfoPB& from);
2584
  void MergeFrom(const CDCSDKColumnInfoPB& from);
2585
  void Clear() PROTOBUF_FINAL;
2586
  bool IsInitialized() const PROTOBUF_FINAL;
2587
2588
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2589
  bool MergePartialFromCodedStream(
2590
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2591
  void SerializeWithCachedSizes(
2592
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2593
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2594
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2595
1.77k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2596
  private:
2597
  void SharedCtor();
2598
  void SharedDtor();
2599
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2600
  void InternalSwap(CDCSDKColumnInfoPB* other);
2601
  private:
2602
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2603
0
    return NULL;
2604
0
  }
2605
0
  inline void* MaybeArenaPtr() const {
2606
0
    return NULL;
2607
0
  }
2608
  public:
2609
2610
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2611
2612
  // nested types ----------------------------------------------------
2613
2614
  // accessors -------------------------------------------------------
2615
2616
  // optional string name = 1;
2617
  bool has_name() const;
2618
  void clear_name();
2619
  static const int kNameFieldNumber = 1;
2620
  const ::std::string& name() const;
2621
  void set_name(const ::std::string& value);
2622
  #if LANG_CXX11
2623
  void set_name(::std::string&& value);
2624
  #endif
2625
  void set_name(const char* value);
2626
  void set_name(const char* value, size_t size);
2627
  ::std::string* mutable_name();
2628
  ::std::string* release_name();
2629
  void set_allocated_name(::std::string* name);
2630
2631
  // optional .yb.QLTypePB type = 2;
2632
  bool has_type() const;
2633
  void clear_type();
2634
  static const int kTypeFieldNumber = 2;
2635
  const ::yb::QLTypePB& type() const;
2636
  ::yb::QLTypePB* release_type();
2637
  ::yb::QLTypePB* mutable_type();
2638
  void set_allocated_type(::yb::QLTypePB* type);
2639
2640
  // optional bool is_key = 3 [default = false];
2641
  bool has_is_key() const;
2642
  void clear_is_key();
2643
  static const int kIsKeyFieldNumber = 3;
2644
  bool is_key() const;
2645
  void set_is_key(bool value);
2646
2647
  // optional bool is_hash_key = 4 [default = false];
2648
  bool has_is_hash_key() const;
2649
  void clear_is_hash_key();
2650
  static const int kIsHashKeyFieldNumber = 4;
2651
  bool is_hash_key() const;
2652
  void set_is_hash_key(bool value);
2653
2654
  // optional bool is_nullable = 5 [default = false];
2655
  bool has_is_nullable() const;
2656
  void clear_is_nullable();
2657
  static const int kIsNullableFieldNumber = 5;
2658
  bool is_nullable() const;
2659
  void set_is_nullable(bool value);
2660
2661
  // optional int32 oid = 6 [default = 0];
2662
  bool has_oid() const;
2663
  void clear_oid();
2664
  static const int kOidFieldNumber = 6;
2665
  ::google::protobuf::int32 oid() const;
2666
  void set_oid(::google::protobuf::int32 value);
2667
2668
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCSDKColumnInfoPB)
2669
 private:
2670
  void set_has_name();
2671
  void clear_has_name();
2672
  void set_has_type();
2673
  void clear_has_type();
2674
  void set_has_is_key();
2675
  void clear_has_is_key();
2676
  void set_has_is_hash_key();
2677
  void clear_has_is_hash_key();
2678
  void set_has_is_nullable();
2679
  void clear_has_is_nullable();
2680
  void set_has_oid();
2681
  void clear_has_oid();
2682
2683
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2684
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2685
  mutable int _cached_size_;
2686
  ::google::protobuf::internal::ArenaStringPtr name_;
2687
  ::yb::QLTypePB* type_;
2688
  bool is_key_;
2689
  bool is_hash_key_;
2690
  bool is_nullable_;
2691
  ::google::protobuf::int32 oid_;
2692
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
2693
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCSDKColumnInfoPBImpl();
2694
};
2695
// -------------------------------------------------------------------
2696
2697
class CDCSDKTablePropertiesPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCSDKTablePropertiesPB) */ {
2698
 public:
2699
  CDCSDKTablePropertiesPB();
2700
  virtual ~CDCSDKTablePropertiesPB();
2701
2702
  CDCSDKTablePropertiesPB(const CDCSDKTablePropertiesPB& from);
2703
2704
0
  inline CDCSDKTablePropertiesPB& operator=(const CDCSDKTablePropertiesPB& from) {
2705
0
    CopyFrom(from);
2706
0
    return *this;
2707
0
  }
2708
  #if LANG_CXX11
2709
  CDCSDKTablePropertiesPB(CDCSDKTablePropertiesPB&& from) noexcept
2710
0
    : CDCSDKTablePropertiesPB() {
2711
0
    *this = ::std::move(from);
2712
0
  }
2713
2714
0
  inline CDCSDKTablePropertiesPB& operator=(CDCSDKTablePropertiesPB&& from) noexcept {
2715
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2716
0
      if (this != &from) InternalSwap(&from);
2717
0
    } else {
2718
0
      CopyFrom(from);
2719
0
    }
2720
0
    return *this;
2721
0
  }
2722
  #endif
2723
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2724
0
    return _internal_metadata_.unknown_fields();
2725
0
  }
2726
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2727
0
    return _internal_metadata_.mutable_unknown_fields();
2728
0
  }
2729
2730
  static const ::google::protobuf::Descriptor* descriptor();
2731
  static const CDCSDKTablePropertiesPB& default_instance();
2732
2733
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2734
33.5k
  static inline const CDCSDKTablePropertiesPB* internal_default_instance() {
2735
33.5k
    return reinterpret_cast<const CDCSDKTablePropertiesPB*>(
2736
33.5k
               &_CDCSDKTablePropertiesPB_default_instance_);
2737
33.5k
  }
2738
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2739
    15;
2740
2741
  void Swap(CDCSDKTablePropertiesPB* other);
2742
0
  friend void swap(CDCSDKTablePropertiesPB& a, CDCSDKTablePropertiesPB& b) {
2743
0
    a.Swap(&b);
2744
0
  }
2745
2746
  // implements Message ----------------------------------------------
2747
2748
0
  inline CDCSDKTablePropertiesPB* New() const PROTOBUF_FINAL { return New(NULL); }
2749
2750
  CDCSDKTablePropertiesPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2751
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2752
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2753
  void CopyFrom(const CDCSDKTablePropertiesPB& from);
2754
  void MergeFrom(const CDCSDKTablePropertiesPB& from);
2755
  void Clear() PROTOBUF_FINAL;
2756
  bool IsInitialized() const PROTOBUF_FINAL;
2757
2758
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2759
  bool MergePartialFromCodedStream(
2760
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2761
  void SerializeWithCachedSizes(
2762
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2763
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2764
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2765
631
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2766
  private:
2767
  void SharedCtor();
2768
  void SharedDtor();
2769
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2770
  void InternalSwap(CDCSDKTablePropertiesPB* other);
2771
  private:
2772
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2773
0
    return NULL;
2774
0
  }
2775
0
  inline void* MaybeArenaPtr() const {
2776
0
    return NULL;
2777
0
  }
2778
  public:
2779
2780
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2781
2782
  // nested types ----------------------------------------------------
2783
2784
  // accessors -------------------------------------------------------
2785
2786
  // optional uint64 default_time_to_live = 1;
2787
  bool has_default_time_to_live() const;
2788
  void clear_default_time_to_live();
2789
  static const int kDefaultTimeToLiveFieldNumber = 1;
2790
  ::google::protobuf::uint64 default_time_to_live() const;
2791
  void set_default_time_to_live(::google::protobuf::uint64 value);
2792
2793
  // optional int32 num_tablets = 2 [default = 0];
2794
  bool has_num_tablets() const;
2795
  void clear_num_tablets();
2796
  static const int kNumTabletsFieldNumber = 2;
2797
  ::google::protobuf::int32 num_tablets() const;
2798
  void set_num_tablets(::google::protobuf::int32 value);
2799
2800
  // optional bool is_ysql_catalog_table = 3 [default = false];
2801
  bool has_is_ysql_catalog_table() const;
2802
  void clear_is_ysql_catalog_table();
2803
  static const int kIsYsqlCatalogTableFieldNumber = 3;
2804
  bool is_ysql_catalog_table() const;
2805
  void set_is_ysql_catalog_table(bool value);
2806
2807
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCSDKTablePropertiesPB)
2808
 private:
2809
  void set_has_default_time_to_live();
2810
  void clear_has_default_time_to_live();
2811
  void set_has_num_tablets();
2812
  void clear_has_num_tablets();
2813
  void set_has_is_ysql_catalog_table();
2814
  void clear_has_is_ysql_catalog_table();
2815
2816
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2817
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2818
  mutable int _cached_size_;
2819
  ::google::protobuf::uint64 default_time_to_live_;
2820
  ::google::protobuf::int32 num_tablets_;
2821
  bool is_ysql_catalog_table_;
2822
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
2823
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCSDKTablePropertiesPBImpl();
2824
};
2825
// -------------------------------------------------------------------
2826
2827
class CDCSDKSchemaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCSDKSchemaPB) */ {
2828
 public:
2829
  CDCSDKSchemaPB();
2830
  virtual ~CDCSDKSchemaPB();
2831
2832
  CDCSDKSchemaPB(const CDCSDKSchemaPB& from);
2833
2834
0
  inline CDCSDKSchemaPB& operator=(const CDCSDKSchemaPB& from) {
2835
0
    CopyFrom(from);
2836
0
    return *this;
2837
0
  }
2838
  #if LANG_CXX11
2839
  CDCSDKSchemaPB(CDCSDKSchemaPB&& from) noexcept
2840
0
    : CDCSDKSchemaPB() {
2841
0
    *this = ::std::move(from);
2842
0
  }
2843
2844
0
  inline CDCSDKSchemaPB& operator=(CDCSDKSchemaPB&& from) noexcept {
2845
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2846
0
      if (this != &from) InternalSwap(&from);
2847
0
    } else {
2848
0
      CopyFrom(from);
2849
0
    }
2850
0
    return *this;
2851
0
  }
2852
  #endif
2853
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2854
0
    return _internal_metadata_.unknown_fields();
2855
0
  }
2856
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2857
0
    return _internal_metadata_.mutable_unknown_fields();
2858
0
  }
2859
2860
  static const ::google::protobuf::Descriptor* descriptor();
2861
  static const CDCSDKSchemaPB& default_instance();
2862
2863
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2864
34.2k
  static inline const CDCSDKSchemaPB* internal_default_instance() {
2865
34.2k
    return reinterpret_cast<const CDCSDKSchemaPB*>(
2866
34.2k
               &_CDCSDKSchemaPB_default_instance_);
2867
34.2k
  }
2868
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2869
    16;
2870
2871
  void Swap(CDCSDKSchemaPB* other);
2872
0
  friend void swap(CDCSDKSchemaPB& a, CDCSDKSchemaPB& b) {
2873
0
    a.Swap(&b);
2874
0
  }
2875
2876
  // implements Message ----------------------------------------------
2877
2878
0
  inline CDCSDKSchemaPB* New() const PROTOBUF_FINAL { return New(NULL); }
2879
2880
  CDCSDKSchemaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2881
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2882
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2883
  void CopyFrom(const CDCSDKSchemaPB& from);
2884
  void MergeFrom(const CDCSDKSchemaPB& from);
2885
  void Clear() PROTOBUF_FINAL;
2886
  bool IsInitialized() const PROTOBUF_FINAL;
2887
2888
  size_t ByteSizeLong() const PROTOBUF_FINAL;
2889
  bool MergePartialFromCodedStream(
2890
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2891
  void SerializeWithCachedSizes(
2892
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2893
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2894
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
2895
631
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2896
  private:
2897
  void SharedCtor();
2898
  void SharedDtor();
2899
  void SetCachedSize(int size) const PROTOBUF_FINAL;
2900
  void InternalSwap(CDCSDKSchemaPB* other);
2901
  private:
2902
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2903
0
    return NULL;
2904
0
  }
2905
0
  inline void* MaybeArenaPtr() const {
2906
0
    return NULL;
2907
0
  }
2908
  public:
2909
2910
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2911
2912
  // nested types ----------------------------------------------------
2913
2914
  // accessors -------------------------------------------------------
2915
2916
  // repeated .yb.cdc.CDCSDKColumnInfoPB column_info = 1;
2917
  int column_info_size() const;
2918
  void clear_column_info();
2919
  static const int kColumnInfoFieldNumber = 1;
2920
  const ::yb::cdc::CDCSDKColumnInfoPB& column_info(int index) const;
2921
  ::yb::cdc::CDCSDKColumnInfoPB* mutable_column_info(int index);
2922
  ::yb::cdc::CDCSDKColumnInfoPB* add_column_info();
2923
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB >*
2924
      mutable_column_info();
2925
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB >&
2926
      column_info() const;
2927
2928
  // optional .yb.cdc.CDCSDKTablePropertiesPB tab_info = 2;
2929
  bool has_tab_info() const;
2930
  void clear_tab_info();
2931
  static const int kTabInfoFieldNumber = 2;
2932
  const ::yb::cdc::CDCSDKTablePropertiesPB& tab_info() const;
2933
  ::yb::cdc::CDCSDKTablePropertiesPB* release_tab_info();
2934
  ::yb::cdc::CDCSDKTablePropertiesPB* mutable_tab_info();
2935
  void set_allocated_tab_info(::yb::cdc::CDCSDKTablePropertiesPB* tab_info);
2936
2937
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCSDKSchemaPB)
2938
 private:
2939
  void set_has_tab_info();
2940
  void clear_has_tab_info();
2941
2942
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2943
  ::google::protobuf::internal::HasBits<1> _has_bits_;
2944
  mutable int _cached_size_;
2945
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB > column_info_;
2946
  ::yb::cdc::CDCSDKTablePropertiesPB* tab_info_;
2947
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
2948
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCSDKSchemaPBImpl();
2949
};
2950
// -------------------------------------------------------------------
2951
2952
class CDCSDKOpIdPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCSDKOpIdPB) */ {
2953
 public:
2954
  CDCSDKOpIdPB();
2955
  virtual ~CDCSDKOpIdPB();
2956
2957
  CDCSDKOpIdPB(const CDCSDKOpIdPB& from);
2958
2959
0
  inline CDCSDKOpIdPB& operator=(const CDCSDKOpIdPB& from) {
2960
0
    CopyFrom(from);
2961
0
    return *this;
2962
0
  }
2963
  #if LANG_CXX11
2964
  CDCSDKOpIdPB(CDCSDKOpIdPB&& from) noexcept
2965
0
    : CDCSDKOpIdPB() {
2966
0
    *this = ::std::move(from);
2967
0
  }
2968
2969
0
  inline CDCSDKOpIdPB& operator=(CDCSDKOpIdPB&& from) noexcept {
2970
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2971
0
      if (this != &from) InternalSwap(&from);
2972
0
    } else {
2973
0
      CopyFrom(from);
2974
0
    }
2975
0
    return *this;
2976
0
  }
2977
  #endif
2978
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2979
0
    return _internal_metadata_.unknown_fields();
2980
0
  }
2981
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2982
0
    return _internal_metadata_.mutable_unknown_fields();
2983
0
  }
2984
2985
  static const ::google::protobuf::Descriptor* descriptor();
2986
  static const CDCSDKOpIdPB& default_instance();
2987
2988
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
2989
34.3k
  static inline const CDCSDKOpIdPB* internal_default_instance() {
2990
34.3k
    return reinterpret_cast<const CDCSDKOpIdPB*>(
2991
34.3k
               &_CDCSDKOpIdPB_default_instance_);
2992
34.3k
  }
2993
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2994
    17;
2995
2996
  void Swap(CDCSDKOpIdPB* other);
2997
0
  friend void swap(CDCSDKOpIdPB& a, CDCSDKOpIdPB& b) {
2998
0
    a.Swap(&b);
2999
0
  }
3000
3001
  // implements Message ----------------------------------------------
3002
3003
0
  inline CDCSDKOpIdPB* New() const PROTOBUF_FINAL { return New(NULL); }
3004
3005
  CDCSDKOpIdPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3006
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3007
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3008
  void CopyFrom(const CDCSDKOpIdPB& from);
3009
  void MergeFrom(const CDCSDKOpIdPB& from);
3010
  void Clear() PROTOBUF_FINAL;
3011
  bool IsInitialized() const PROTOBUF_FINAL;
3012
3013
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3014
  bool MergePartialFromCodedStream(
3015
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3016
  void SerializeWithCachedSizes(
3017
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3018
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3019
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3020
1.21k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3021
  private:
3022
  void SharedCtor();
3023
  void SharedDtor();
3024
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3025
  void InternalSwap(CDCSDKOpIdPB* other);
3026
  private:
3027
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3028
0
    return NULL;
3029
0
  }
3030
0
  inline void* MaybeArenaPtr() const {
3031
0
    return NULL;
3032
0
  }
3033
  public:
3034
3035
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3036
3037
  // nested types ----------------------------------------------------
3038
3039
  // accessors -------------------------------------------------------
3040
3041
  // optional bytes write_id_key = 4 [default = ""];
3042
  bool has_write_id_key() const;
3043
  void clear_write_id_key();
3044
  static const int kWriteIdKeyFieldNumber = 4;
3045
  const ::std::string& write_id_key() const;
3046
  void set_write_id_key(const ::std::string& value);
3047
  #if LANG_CXX11
3048
  void set_write_id_key(::std::string&& value);
3049
  #endif
3050
  void set_write_id_key(const char* value);
3051
  void set_write_id_key(const void* value, size_t size);
3052
  ::std::string* mutable_write_id_key();
3053
  ::std::string* release_write_id_key();
3054
  void set_allocated_write_id_key(::std::string* write_id_key);
3055
3056
  // optional int64 term = 1;
3057
  bool has_term() const;
3058
  void clear_term();
3059
  static const int kTermFieldNumber = 1;
3060
  ::google::protobuf::int64 term() const;
3061
  void set_term(::google::protobuf::int64 value);
3062
3063
  // optional int64 index = 2;
3064
  bool has_index() const;
3065
  void clear_index();
3066
  static const int kIndexFieldNumber = 2;
3067
  ::google::protobuf::int64 index() const;
3068
  void set_index(::google::protobuf::int64 value);
3069
3070
  // optional uint32 write_id = 3 [default = 0];
3071
  bool has_write_id() const;
3072
  void clear_write_id();
3073
  static const int kWriteIdFieldNumber = 3;
3074
  ::google::protobuf::uint32 write_id() const;
3075
  void set_write_id(::google::protobuf::uint32 value);
3076
3077
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCSDKOpIdPB)
3078
 private:
3079
  void set_has_term();
3080
  void clear_has_term();
3081
  void set_has_index();
3082
  void clear_has_index();
3083
  void set_has_write_id();
3084
  void clear_has_write_id();
3085
  void set_has_write_id_key();
3086
  void clear_has_write_id_key();
3087
3088
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3089
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3090
  mutable int _cached_size_;
3091
  ::google::protobuf::internal::ArenaStringPtr write_id_key_;
3092
  ::google::protobuf::int64 term_;
3093
  ::google::protobuf::int64 index_;
3094
  ::google::protobuf::uint32 write_id_;
3095
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
3096
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCSDKOpIdPBImpl();
3097
};
3098
// -------------------------------------------------------------------
3099
3100
class TypeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.TypeInfo) */ {
3101
 public:
3102
  TypeInfo();
3103
  virtual ~TypeInfo();
3104
3105
  TypeInfo(const TypeInfo& from);
3106
3107
0
  inline TypeInfo& operator=(const TypeInfo& from) {
3108
0
    CopyFrom(from);
3109
0
    return *this;
3110
0
  }
3111
  #if LANG_CXX11
3112
  TypeInfo(TypeInfo&& from) noexcept
3113
0
    : TypeInfo() {
3114
0
    *this = ::std::move(from);
3115
0
  }
3116
3117
0
  inline TypeInfo& operator=(TypeInfo&& from) noexcept {
3118
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3119
0
      if (this != &from) InternalSwap(&from);
3120
0
    } else {
3121
0
      CopyFrom(from);
3122
0
    }
3123
0
    return *this;
3124
0
  }
3125
  #endif
3126
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3127
0
    return _internal_metadata_.unknown_fields();
3128
0
  }
3129
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3130
0
    return _internal_metadata_.mutable_unknown_fields();
3131
0
  }
3132
3133
  static const ::google::protobuf::Descriptor* descriptor();
3134
  static const TypeInfo& default_instance();
3135
3136
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3137
16.4k
  static inline const TypeInfo* internal_default_instance() {
3138
16.4k
    return reinterpret_cast<const TypeInfo*>(
3139
16.4k
               &_TypeInfo_default_instance_);
3140
16.4k
  }
3141
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3142
    18;
3143
3144
  void Swap(TypeInfo* other);
3145
0
  friend void swap(TypeInfo& a, TypeInfo& b) {
3146
0
    a.Swap(&b);
3147
0
  }
3148
3149
  // implements Message ----------------------------------------------
3150
3151
0
  inline TypeInfo* New() const PROTOBUF_FINAL { return New(NULL); }
3152
3153
  TypeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3154
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3155
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3156
  void CopyFrom(const TypeInfo& from);
3157
  void MergeFrom(const TypeInfo& from);
3158
  void Clear() PROTOBUF_FINAL;
3159
  bool IsInitialized() const PROTOBUF_FINAL;
3160
3161
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3162
  bool MergePartialFromCodedStream(
3163
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3164
  void SerializeWithCachedSizes(
3165
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3166
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3167
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3168
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3169
  private:
3170
  void SharedCtor();
3171
  void SharedDtor();
3172
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3173
  void InternalSwap(TypeInfo* other);
3174
  private:
3175
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3176
0
    return NULL;
3177
0
  }
3178
0
  inline void* MaybeArenaPtr() const {
3179
0
    return NULL;
3180
0
  }
3181
  public:
3182
3183
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3184
3185
  // nested types ----------------------------------------------------
3186
3187
  // accessors -------------------------------------------------------
3188
3189
  // optional string modifier = 1;
3190
  bool has_modifier() const;
3191
  void clear_modifier();
3192
  static const int kModifierFieldNumber = 1;
3193
  const ::std::string& modifier() const;
3194
  void set_modifier(const ::std::string& value);
3195
  #if LANG_CXX11
3196
  void set_modifier(::std::string&& value);
3197
  #endif
3198
  void set_modifier(const char* value);
3199
  void set_modifier(const char* value, size_t size);
3200
  ::std::string* mutable_modifier();
3201
  ::std::string* release_modifier();
3202
  void set_allocated_modifier(::std::string* modifier);
3203
3204
  // optional bool value_optional = 2;
3205
  bool has_value_optional() const;
3206
  void clear_value_optional();
3207
  static const int kValueOptionalFieldNumber = 2;
3208
  bool value_optional() const;
3209
  void set_value_optional(bool value);
3210
3211
  // @@protoc_insertion_point(class_scope:yb.cdc.TypeInfo)
3212
 private:
3213
  void set_has_modifier();
3214
  void clear_has_modifier();
3215
  void set_has_value_optional();
3216
  void clear_has_value_optional();
3217
3218
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3219
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3220
  mutable int _cached_size_;
3221
  ::google::protobuf::internal::ArenaStringPtr modifier_;
3222
  bool value_optional_;
3223
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
3224
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsTypeInfoImpl();
3225
};
3226
// -------------------------------------------------------------------
3227
3228
class RowMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.RowMessage) */ {
3229
 public:
3230
  RowMessage();
3231
  virtual ~RowMessage();
3232
3233
  RowMessage(const RowMessage& from);
3234
3235
0
  inline RowMessage& operator=(const RowMessage& from) {
3236
0
    CopyFrom(from);
3237
0
    return *this;
3238
0
  }
3239
  #if LANG_CXX11
3240
  RowMessage(RowMessage&& from) noexcept
3241
0
    : RowMessage() {
3242
0
    *this = ::std::move(from);
3243
0
  }
3244
3245
0
  inline RowMessage& operator=(RowMessage&& from) noexcept {
3246
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3247
0
      if (this != &from) InternalSwap(&from);
3248
0
    } else {
3249
0
      CopyFrom(from);
3250
0
    }
3251
0
    return *this;
3252
0
  }
3253
  #endif
3254
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3255
0
    return _internal_metadata_.unknown_fields();
3256
0
  }
3257
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3258
0
    return _internal_metadata_.mutable_unknown_fields();
3259
0
  }
3260
3261
  static const ::google::protobuf::Descriptor* descriptor();
3262
  static const RowMessage& default_instance();
3263
3264
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3265
114k
  static inline const RowMessage* internal_default_instance() {
3266
114k
    return reinterpret_cast<const RowMessage*>(
3267
114k
               &_RowMessage_default_instance_);
3268
114k
  }
3269
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3270
    19;
3271
3272
  void Swap(RowMessage* other);
3273
0
  friend void swap(RowMessage& a, RowMessage& b) {
3274
0
    a.Swap(&b);
3275
0
  }
3276
3277
  // implements Message ----------------------------------------------
3278
3279
0
  inline RowMessage* New() const PROTOBUF_FINAL { return New(NULL); }
3280
3281
  RowMessage* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3282
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3283
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3284
  void CopyFrom(const RowMessage& from);
3285
  void MergeFrom(const RowMessage& from);
3286
  void Clear() PROTOBUF_FINAL;
3287
  bool IsInitialized() const PROTOBUF_FINAL;
3288
3289
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3290
  bool MergePartialFromCodedStream(
3291
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3292
  void SerializeWithCachedSizes(
3293
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3294
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3295
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3296
27.1k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3297
  private:
3298
  void SharedCtor();
3299
  void SharedDtor();
3300
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3301
  void InternalSwap(RowMessage* other);
3302
  private:
3303
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3304
0
    return NULL;
3305
0
  }
3306
0
  inline void* MaybeArenaPtr() const {
3307
0
    return NULL;
3308
0
  }
3309
  public:
3310
3311
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3312
3313
  // nested types ----------------------------------------------------
3314
3315
  typedef RowMessage_Op Op;
3316
  static const Op UNKNOWN =
3317
    RowMessage_Op_UNKNOWN;
3318
  static const Op INSERT =
3319
    RowMessage_Op_INSERT;
3320
  static const Op UPDATE =
3321
    RowMessage_Op_UPDATE;
3322
  static const Op DELETE =
3323
    RowMessage_Op_DELETE;
3324
  static const Op BEGIN =
3325
    RowMessage_Op_BEGIN;
3326
  static const Op COMMIT =
3327
    RowMessage_Op_COMMIT;
3328
  static const Op DDL =
3329
    RowMessage_Op_DDL;
3330
  static const Op TRUNCATE =
3331
    RowMessage_Op_TRUNCATE;
3332
  static const Op READ =
3333
    RowMessage_Op_READ;
3334
0
  static inline bool Op_IsValid(int value) {
3335
0
    return RowMessage_Op_IsValid(value);
3336
0
  }
3337
  static const Op Op_MIN =
3338
    RowMessage_Op_Op_MIN;
3339
  static const Op Op_MAX =
3340
    RowMessage_Op_Op_MAX;
3341
  static const int Op_ARRAYSIZE =
3342
    RowMessage_Op_Op_ARRAYSIZE;
3343
  static inline const ::google::protobuf::EnumDescriptor*
3344
0
  Op_descriptor() {
3345
0
    return RowMessage_Op_descriptor();
3346
0
  }
3347
0
  static inline const ::std::string& Op_Name(Op value) {
3348
0
    return RowMessage_Op_Name(value);
3349
0
  }
3350
  static inline bool Op_Parse(const ::std::string& name,
3351
0
      Op* value) {
3352
0
    return RowMessage_Op_Parse(name, value);
3353
0
  }
3354
3355
  // accessors -------------------------------------------------------
3356
3357
  // repeated .yb.DatumMessagePB new_tuple = 5;
3358
  int new_tuple_size() const;
3359
  void clear_new_tuple();
3360
  static const int kNewTupleFieldNumber = 5;
3361
  const ::yb::DatumMessagePB& new_tuple(int index) const;
3362
  ::yb::DatumMessagePB* mutable_new_tuple(int index);
3363
  ::yb::DatumMessagePB* add_new_tuple();
3364
  ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >*
3365
      mutable_new_tuple();
3366
  const ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >&
3367
      new_tuple() const;
3368
3369
  // repeated .yb.DatumMessagePB old_tuple = 6;
3370
  int old_tuple_size() const;
3371
  void clear_old_tuple();
3372
  static const int kOldTupleFieldNumber = 6;
3373
  const ::yb::DatumMessagePB& old_tuple(int index) const;
3374
  ::yb::DatumMessagePB* mutable_old_tuple(int index);
3375
  ::yb::DatumMessagePB* add_old_tuple();
3376
  ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >*
3377
      mutable_old_tuple();
3378
  const ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >&
3379
      old_tuple() const;
3380
3381
  // repeated .yb.cdc.TypeInfo new_typeinfo = 7;
3382
  int new_typeinfo_size() const;
3383
  void clear_new_typeinfo();
3384
  static const int kNewTypeinfoFieldNumber = 7;
3385
  const ::yb::cdc::TypeInfo& new_typeinfo(int index) const;
3386
  ::yb::cdc::TypeInfo* mutable_new_typeinfo(int index);
3387
  ::yb::cdc::TypeInfo* add_new_typeinfo();
3388
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo >*
3389
      mutable_new_typeinfo();
3390
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo >&
3391
      new_typeinfo() const;
3392
3393
  // optional bytes transaction_id = 1;
3394
  bool has_transaction_id() const;
3395
  void clear_transaction_id();
3396
  static const int kTransactionIdFieldNumber = 1;
3397
  const ::std::string& transaction_id() const;
3398
  void set_transaction_id(const ::std::string& value);
3399
  #if LANG_CXX11
3400
  void set_transaction_id(::std::string&& value);
3401
  #endif
3402
  void set_transaction_id(const char* value);
3403
  void set_transaction_id(const void* value, size_t size);
3404
  ::std::string* mutable_transaction_id();
3405
  ::std::string* release_transaction_id();
3406
  void set_allocated_transaction_id(::std::string* transaction_id);
3407
3408
  // optional string table = 3;
3409
  bool has_table() const;
3410
  void clear_table();
3411
  static const int kTableFieldNumber = 3;
3412
  const ::std::string& table() const;
3413
  void set_table(const ::std::string& value);
3414
  #if LANG_CXX11
3415
  void set_table(::std::string&& value);
3416
  #endif
3417
  void set_table(const char* value);
3418
  void set_table(const char* value, size_t size);
3419
  ::std::string* mutable_table();
3420
  ::std::string* release_table();
3421
  void set_allocated_table(::std::string* table);
3422
3423
  // optional string new_table_name = 10;
3424
  bool has_new_table_name() const;
3425
  void clear_new_table_name();
3426
  static const int kNewTableNameFieldNumber = 10;
3427
  const ::std::string& new_table_name() const;
3428
  void set_new_table_name(const ::std::string& value);
3429
  #if LANG_CXX11
3430
  void set_new_table_name(::std::string&& value);
3431
  #endif
3432
  void set_new_table_name(const char* value);
3433
  void set_new_table_name(const char* value, size_t size);
3434
  ::std::string* mutable_new_table_name();
3435
  ::std::string* release_new_table_name();
3436
  void set_allocated_new_table_name(::std::string* new_table_name);
3437
3438
  // optional string pgschema_name = 11;
3439
  bool has_pgschema_name() const;
3440
  void clear_pgschema_name();
3441
  static const int kPgschemaNameFieldNumber = 11;
3442
  const ::std::string& pgschema_name() const;
3443
  void set_pgschema_name(const ::std::string& value);
3444
  #if LANG_CXX11
3445
  void set_pgschema_name(::std::string&& value);
3446
  #endif
3447
  void set_pgschema_name(const char* value);
3448
  void set_pgschema_name(const char* value, size_t size);
3449
  ::std::string* mutable_pgschema_name();
3450
  ::std::string* release_pgschema_name();
3451
  void set_allocated_pgschema_name(::std::string* pgschema_name);
3452
3453
  // optional .yb.cdc.CDCSDKSchemaPB schema = 8;
3454
  bool has_schema() const;
3455
  void clear_schema();
3456
  static const int kSchemaFieldNumber = 8;
3457
  const ::yb::cdc::CDCSDKSchemaPB& schema() const;
3458
  ::yb::cdc::CDCSDKSchemaPB* release_schema();
3459
  ::yb::cdc::CDCSDKSchemaPB* mutable_schema();
3460
  void set_allocated_schema(::yb::cdc::CDCSDKSchemaPB* schema);
3461
3462
  // optional .yb.tserver.TruncateRequestPB truncate_request_info = 13;
3463
  bool has_truncate_request_info() const;
3464
  void clear_truncate_request_info();
3465
  static const int kTruncateRequestInfoFieldNumber = 13;
3466
  const ::yb::tserver::TruncateRequestPB& truncate_request_info() const;
3467
  ::yb::tserver::TruncateRequestPB* release_truncate_request_info();
3468
  ::yb::tserver::TruncateRequestPB* mutable_truncate_request_info();
3469
  void set_allocated_truncate_request_info(::yb::tserver::TruncateRequestPB* truncate_request_info);
3470
3471
  // optional uint64 commit_time = 2;
3472
  bool has_commit_time() const;
3473
  void clear_commit_time();
3474
  static const int kCommitTimeFieldNumber = 2;
3475
  ::google::protobuf::uint64 commit_time() const;
3476
  void set_commit_time(::google::protobuf::uint64 value);
3477
3478
  // optional uint32 schema_version = 9;
3479
  bool has_schema_version() const;
3480
  void clear_schema_version();
3481
  static const int kSchemaVersionFieldNumber = 9;
3482
  ::google::protobuf::uint32 schema_version() const;
3483
  void set_schema_version(::google::protobuf::uint32 value);
3484
3485
  // optional .yb.cdc.RowMessage.Op op = 4;
3486
  bool has_op() const;
3487
  void clear_op();
3488
  static const int kOpFieldNumber = 4;
3489
  ::yb::cdc::RowMessage_Op op() const;
3490
  void set_op(::yb::cdc::RowMessage_Op value);
3491
3492
  // @@protoc_insertion_point(class_scope:yb.cdc.RowMessage)
3493
 private:
3494
  void set_has_transaction_id();
3495
  void clear_has_transaction_id();
3496
  void set_has_commit_time();
3497
  void clear_has_commit_time();
3498
  void set_has_table();
3499
  void clear_has_table();
3500
  void set_has_op();
3501
  void clear_has_op();
3502
  void set_has_schema();
3503
  void clear_has_schema();
3504
  void set_has_schema_version();
3505
  void clear_has_schema_version();
3506
  void set_has_new_table_name();
3507
  void clear_has_new_table_name();
3508
  void set_has_pgschema_name();
3509
  void clear_has_pgschema_name();
3510
  void set_has_truncate_request_info();
3511
  void clear_has_truncate_request_info();
3512
3513
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3514
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3515
  mutable int _cached_size_;
3516
  ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB > new_tuple_;
3517
  ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB > old_tuple_;
3518
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo > new_typeinfo_;
3519
  ::google::protobuf::internal::ArenaStringPtr transaction_id_;
3520
  ::google::protobuf::internal::ArenaStringPtr table_;
3521
  ::google::protobuf::internal::ArenaStringPtr new_table_name_;
3522
  ::google::protobuf::internal::ArenaStringPtr pgschema_name_;
3523
  ::yb::cdc::CDCSDKSchemaPB* schema_;
3524
  ::yb::tserver::TruncateRequestPB* truncate_request_info_;
3525
  ::google::protobuf::uint64 commit_time_;
3526
  ::google::protobuf::uint32 schema_version_;
3527
  int op_;
3528
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
3529
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsRowMessageImpl();
3530
};
3531
// -------------------------------------------------------------------
3532
3533
class CDCSDKProtoRecordPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.CDCSDKProtoRecordPB) */ {
3534
 public:
3535
  CDCSDKProtoRecordPB();
3536
  virtual ~CDCSDKProtoRecordPB();
3537
3538
  CDCSDKProtoRecordPB(const CDCSDKProtoRecordPB& from);
3539
3540
0
  inline CDCSDKProtoRecordPB& operator=(const CDCSDKProtoRecordPB& from) {
3541
0
    CopyFrom(from);
3542
0
    return *this;
3543
0
  }
3544
  #if LANG_CXX11
3545
  CDCSDKProtoRecordPB(CDCSDKProtoRecordPB&& from) noexcept
3546
0
    : CDCSDKProtoRecordPB() {
3547
0
    *this = ::std::move(from);
3548
0
  }
3549
3550
0
  inline CDCSDKProtoRecordPB& operator=(CDCSDKProtoRecordPB&& from) noexcept {
3551
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3552
0
      if (this != &from) InternalSwap(&from);
3553
0
    } else {
3554
0
      CopyFrom(from);
3555
0
    }
3556
0
    return *this;
3557
0
  }
3558
  #endif
3559
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3560
0
    return _internal_metadata_.unknown_fields();
3561
0
  }
3562
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3563
0
    return _internal_metadata_.mutable_unknown_fields();
3564
0
  }
3565
3566
  static const ::google::protobuf::Descriptor* descriptor();
3567
  static const CDCSDKProtoRecordPB& default_instance();
3568
3569
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3570
98.5k
  static inline const CDCSDKProtoRecordPB* internal_default_instance() {
3571
98.5k
    return reinterpret_cast<const CDCSDKProtoRecordPB*>(
3572
98.5k
               &_CDCSDKProtoRecordPB_default_instance_);
3573
98.5k
  }
3574
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3575
    20;
3576
3577
  void Swap(CDCSDKProtoRecordPB* other);
3578
0
  friend void swap(CDCSDKProtoRecordPB& a, CDCSDKProtoRecordPB& b) {
3579
0
    a.Swap(&b);
3580
0
  }
3581
3582
  // implements Message ----------------------------------------------
3583
3584
0
  inline CDCSDKProtoRecordPB* New() const PROTOBUF_FINAL { return New(NULL); }
3585
3586
  CDCSDKProtoRecordPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3587
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3588
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3589
  void CopyFrom(const CDCSDKProtoRecordPB& from);
3590
  void MergeFrom(const CDCSDKProtoRecordPB& from);
3591
  void Clear() PROTOBUF_FINAL;
3592
  bool IsInitialized() const PROTOBUF_FINAL;
3593
3594
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3595
  bool MergePartialFromCodedStream(
3596
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3597
  void SerializeWithCachedSizes(
3598
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3599
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3600
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3601
27.1k
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3602
  private:
3603
  void SharedCtor();
3604
  void SharedDtor();
3605
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3606
  void InternalSwap(CDCSDKProtoRecordPB* other);
3607
  private:
3608
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3609
0
    return NULL;
3610
0
  }
3611
0
  inline void* MaybeArenaPtr() const {
3612
0
    return NULL;
3613
0
  }
3614
  public:
3615
3616
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3617
3618
  // nested types ----------------------------------------------------
3619
3620
  // accessors -------------------------------------------------------
3621
3622
  // optional .yb.cdc.RowMessage row_message = 1;
3623
  bool has_row_message() const;
3624
  void clear_row_message();
3625
  static const int kRowMessageFieldNumber = 1;
3626
  const ::yb::cdc::RowMessage& row_message() const;
3627
  ::yb::cdc::RowMessage* release_row_message();
3628
  ::yb::cdc::RowMessage* mutable_row_message();
3629
  void set_allocated_row_message(::yb::cdc::RowMessage* row_message);
3630
3631
  // optional .yb.cdc.CDCSDKOpIdPB cdc_sdk_op_id = 2;
3632
  bool has_cdc_sdk_op_id() const;
3633
  void clear_cdc_sdk_op_id();
3634
  static const int kCdcSdkOpIdFieldNumber = 2;
3635
  const ::yb::cdc::CDCSDKOpIdPB& cdc_sdk_op_id() const;
3636
  ::yb::cdc::CDCSDKOpIdPB* release_cdc_sdk_op_id();
3637
  ::yb::cdc::CDCSDKOpIdPB* mutable_cdc_sdk_op_id();
3638
  void set_allocated_cdc_sdk_op_id(::yb::cdc::CDCSDKOpIdPB* cdc_sdk_op_id);
3639
3640
  // @@protoc_insertion_point(class_scope:yb.cdc.CDCSDKProtoRecordPB)
3641
 private:
3642
  void set_has_row_message();
3643
  void clear_has_row_message();
3644
  void set_has_cdc_sdk_op_id();
3645
  void clear_has_cdc_sdk_op_id();
3646
3647
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3648
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3649
  mutable int _cached_size_;
3650
  ::yb::cdc::RowMessage* row_message_;
3651
  ::yb::cdc::CDCSDKOpIdPB* cdc_sdk_op_id_;
3652
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
3653
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsCDCSDKProtoRecordPBImpl();
3654
};
3655
// -------------------------------------------------------------------
3656
3657
class GetChangesResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetChangesResponsePB) */ {
3658
 public:
3659
  GetChangesResponsePB();
3660
  virtual ~GetChangesResponsePB();
3661
3662
  GetChangesResponsePB(const GetChangesResponsePB& from);
3663
3664
0
  inline GetChangesResponsePB& operator=(const GetChangesResponsePB& from) {
3665
0
    CopyFrom(from);
3666
0
    return *this;
3667
0
  }
3668
  #if LANG_CXX11
3669
  GetChangesResponsePB(GetChangesResponsePB&& from) noexcept
3670
0
    : GetChangesResponsePB() {
3671
0
    *this = ::std::move(from);
3672
0
  }
Unexecuted instantiation: yb::cdc::GetChangesResponsePB::GetChangesResponsePB(yb::cdc::GetChangesResponsePB&&)
Unexecuted instantiation: yb::cdc::GetChangesResponsePB::GetChangesResponsePB(yb::cdc::GetChangesResponsePB&&)
3673
3674
0
  inline GetChangesResponsePB& operator=(GetChangesResponsePB&& from) noexcept {
3675
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3676
0
      if (this != &from) InternalSwap(&from);
3677
0
    } else {
3678
0
      CopyFrom(from);
3679
0
    }
3680
0
    return *this;
3681
0
  }
3682
  #endif
3683
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3684
0
    return _internal_metadata_.unknown_fields();
3685
0
  }
3686
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3687
0
    return _internal_metadata_.mutable_unknown_fields();
3688
0
  }
3689
3690
  static const ::google::protobuf::Descriptor* descriptor();
3691
  static const GetChangesResponsePB& default_instance();
3692
3693
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3694
19.0k
  static inline const GetChangesResponsePB* internal_default_instance() {
3695
19.0k
    return reinterpret_cast<const GetChangesResponsePB*>(
3696
19.0k
               &_GetChangesResponsePB_default_instance_);
3697
19.0k
  }
3698
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3699
    21;
3700
3701
  void Swap(GetChangesResponsePB* other);
3702
0
  friend void swap(GetChangesResponsePB& a, GetChangesResponsePB& b) {
3703
0
    a.Swap(&b);
3704
0
  }
3705
3706
  // implements Message ----------------------------------------------
3707
3708
0
  inline GetChangesResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
3709
3710
  GetChangesResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3711
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3712
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3713
  void CopyFrom(const GetChangesResponsePB& from);
3714
  void MergeFrom(const GetChangesResponsePB& from);
3715
  void Clear() PROTOBUF_FINAL;
3716
  bool IsInitialized() const PROTOBUF_FINAL;
3717
3718
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3719
  bool MergePartialFromCodedStream(
3720
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3721
  void SerializeWithCachedSizes(
3722
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3723
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3724
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3725
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3726
  private:
3727
  void SharedCtor();
3728
  void SharedDtor();
3729
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3730
  void InternalSwap(GetChangesResponsePB* other);
3731
  private:
3732
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3733
0
    return NULL;
3734
0
  }
3735
0
  inline void* MaybeArenaPtr() const {
3736
0
    return NULL;
3737
0
  }
3738
  public:
3739
3740
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3741
3742
  // nested types ----------------------------------------------------
3743
3744
  // accessors -------------------------------------------------------
3745
3746
  // repeated .yb.cdc.CDCRecordPB records = 4;
3747
  int records_size() const;
3748
  void clear_records();
3749
  static const int kRecordsFieldNumber = 4;
3750
  const ::yb::cdc::CDCRecordPB& records(int index) const;
3751
  ::yb::cdc::CDCRecordPB* mutable_records(int index);
3752
  ::yb::cdc::CDCRecordPB* add_records();
3753
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB >*
3754
      mutable_records();
3755
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB >&
3756
      records() const;
3757
3758
  // repeated .yb.HostPortPB tserver = 6;
3759
  int tserver_size() const;
3760
  void clear_tserver();
3761
  static const int kTserverFieldNumber = 6;
3762
  const ::yb::HostPortPB& tserver(int index) const;
3763
  ::yb::HostPortPB* mutable_tserver(int index);
3764
  ::yb::HostPortPB* add_tserver();
3765
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
3766
      mutable_tserver();
3767
  const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
3768
      tserver() const;
3769
3770
  // repeated .yb.cdc.CDCSDKProtoRecordPB cdc_sdk_proto_records = 8;
3771
  int cdc_sdk_proto_records_size() const;
3772
  void clear_cdc_sdk_proto_records();
3773
  static const int kCdcSdkProtoRecordsFieldNumber = 8;
3774
  const ::yb::cdc::CDCSDKProtoRecordPB& cdc_sdk_proto_records(int index) const;
3775
  ::yb::cdc::CDCSDKProtoRecordPB* mutable_cdc_sdk_proto_records(int index);
3776
  ::yb::cdc::CDCSDKProtoRecordPB* add_cdc_sdk_proto_records();
3777
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB >*
3778
      mutable_cdc_sdk_proto_records();
3779
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB >&
3780
      cdc_sdk_proto_records() const;
3781
3782
  // optional .yb.cdc.CDCErrorPB error = 1;
3783
  bool has_error() const;
3784
  void clear_error();
3785
  static const int kErrorFieldNumber = 1;
3786
  const ::yb::cdc::CDCErrorPB& error() const;
3787
  ::yb::cdc::CDCErrorPB* release_error();
3788
  ::yb::cdc::CDCErrorPB* mutable_error();
3789
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
3790
3791
  // optional .yb.cdc.CDCCheckpointPB checkpoint = 5;
3792
  bool has_checkpoint() const;
3793
  void clear_checkpoint();
3794
  static const int kCheckpointFieldNumber = 5;
3795
  const ::yb::cdc::CDCCheckpointPB& checkpoint() const;
3796
  ::yb::cdc::CDCCheckpointPB* release_checkpoint();
3797
  ::yb::cdc::CDCCheckpointPB* mutable_checkpoint();
3798
  void set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint);
3799
3800
  // optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 9;
3801
  bool has_cdc_sdk_checkpoint() const;
3802
  void clear_cdc_sdk_checkpoint();
3803
  static const int kCdcSdkCheckpointFieldNumber = 9;
3804
  const ::yb::cdc::CDCSDKCheckpointPB& cdc_sdk_checkpoint() const;
3805
  ::yb::cdc::CDCSDKCheckpointPB* release_cdc_sdk_checkpoint();
3806
  ::yb::cdc::CDCSDKCheckpointPB* mutable_cdc_sdk_checkpoint();
3807
  void set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint);
3808
3809
  // optional int64 safe_hybrid_time = 10;
3810
  bool has_safe_hybrid_time() const;
3811
  void clear_safe_hybrid_time();
3812
  static const int kSafeHybridTimeFieldNumber = 10;
3813
  ::google::protobuf::int64 safe_hybrid_time() const;
3814
  void set_safe_hybrid_time(::google::protobuf::int64 value);
3815
3816
  // optional .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE];
3817
  bool has_record_type() const;
3818
  void clear_record_type();
3819
  static const int kRecordTypeFieldNumber = 2;
3820
  ::yb::cdc::CDCRecordType record_type() const;
3821
  void set_record_type(::yb::cdc::CDCRecordType value);
3822
3823
  // optional .yb.cdc.CDCRecordFormat record_format = 3;
3824
  bool has_record_format() const;
3825
  void clear_record_format();
3826
  static const int kRecordFormatFieldNumber = 3;
3827
  ::yb::cdc::CDCRecordFormat record_format() const;
3828
  void set_record_format(::yb::cdc::CDCRecordFormat value);
3829
3830
  // @@protoc_insertion_point(class_scope:yb.cdc.GetChangesResponsePB)
3831
 private:
3832
  void set_has_error();
3833
  void clear_has_error();
3834
  void set_has_record_type();
3835
  void clear_has_record_type();
3836
  void set_has_record_format();
3837
  void clear_has_record_format();
3838
  void set_has_checkpoint();
3839
  void clear_has_checkpoint();
3840
  void set_has_cdc_sdk_checkpoint();
3841
  void clear_has_cdc_sdk_checkpoint();
3842
  void set_has_safe_hybrid_time();
3843
  void clear_has_safe_hybrid_time();
3844
3845
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3846
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3847
  mutable int _cached_size_;
3848
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB > records_;
3849
  ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > tserver_;
3850
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB > cdc_sdk_proto_records_;
3851
  ::yb::cdc::CDCErrorPB* error_;
3852
  ::yb::cdc::CDCCheckpointPB* checkpoint_;
3853
  ::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint_;
3854
  ::google::protobuf::int64 safe_hybrid_time_;
3855
  int record_type_;
3856
  int record_format_;
3857
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
3858
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetChangesResponsePBImpl();
3859
};
3860
// -------------------------------------------------------------------
3861
3862
class GetCheckpointRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCheckpointRequestPB) */ {
3863
 public:
3864
  GetCheckpointRequestPB();
3865
  virtual ~GetCheckpointRequestPB();
3866
3867
  GetCheckpointRequestPB(const GetCheckpointRequestPB& from);
3868
3869
0
  inline GetCheckpointRequestPB& operator=(const GetCheckpointRequestPB& from) {
3870
0
    CopyFrom(from);
3871
0
    return *this;
3872
0
  }
3873
  #if LANG_CXX11
3874
  GetCheckpointRequestPB(GetCheckpointRequestPB&& from) noexcept
3875
0
    : GetCheckpointRequestPB() {
3876
0
    *this = ::std::move(from);
3877
0
  }
3878
3879
0
  inline GetCheckpointRequestPB& operator=(GetCheckpointRequestPB&& from) noexcept {
3880
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3881
0
      if (this != &from) InternalSwap(&from);
3882
0
    } else {
3883
0
      CopyFrom(from);
3884
0
    }
3885
0
    return *this;
3886
0
  }
3887
  #endif
3888
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3889
0
    return _internal_metadata_.unknown_fields();
3890
0
  }
3891
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3892
0
    return _internal_metadata_.mutable_unknown_fields();
3893
0
  }
3894
3895
  static const ::google::protobuf::Descriptor* descriptor();
3896
  static const GetCheckpointRequestPB& default_instance();
3897
3898
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
3899
16.4k
  static inline const GetCheckpointRequestPB* internal_default_instance() {
3900
16.4k
    return reinterpret_cast<const GetCheckpointRequestPB*>(
3901
16.4k
               &_GetCheckpointRequestPB_default_instance_);
3902
16.4k
  }
3903
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3904
    22;
3905
3906
  void Swap(GetCheckpointRequestPB* other);
3907
0
  friend void swap(GetCheckpointRequestPB& a, GetCheckpointRequestPB& b) {
3908
0
    a.Swap(&b);
3909
0
  }
3910
3911
  // implements Message ----------------------------------------------
3912
3913
0
  inline GetCheckpointRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
3914
3915
  GetCheckpointRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3916
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3917
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3918
  void CopyFrom(const GetCheckpointRequestPB& from);
3919
  void MergeFrom(const GetCheckpointRequestPB& from);
3920
  void Clear() PROTOBUF_FINAL;
3921
  bool IsInitialized() const PROTOBUF_FINAL;
3922
3923
  size_t ByteSizeLong() const PROTOBUF_FINAL;
3924
  bool MergePartialFromCodedStream(
3925
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3926
  void SerializeWithCachedSizes(
3927
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3928
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3929
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
3930
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3931
  private:
3932
  void SharedCtor();
3933
  void SharedDtor();
3934
  void SetCachedSize(int size) const PROTOBUF_FINAL;
3935
  void InternalSwap(GetCheckpointRequestPB* other);
3936
  private:
3937
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3938
0
    return NULL;
3939
0
  }
3940
0
  inline void* MaybeArenaPtr() const {
3941
0
    return NULL;
3942
0
  }
3943
  public:
3944
3945
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3946
3947
  // nested types ----------------------------------------------------
3948
3949
  // accessors -------------------------------------------------------
3950
3951
  // optional bytes stream_id = 1;
3952
  bool has_stream_id() const;
3953
  void clear_stream_id();
3954
  static const int kStreamIdFieldNumber = 1;
3955
  const ::std::string& stream_id() const;
3956
  void set_stream_id(const ::std::string& value);
3957
  #if LANG_CXX11
3958
  void set_stream_id(::std::string&& value);
3959
  #endif
3960
  void set_stream_id(const char* value);
3961
  void set_stream_id(const void* value, size_t size);
3962
  ::std::string* mutable_stream_id();
3963
  ::std::string* release_stream_id();
3964
  void set_allocated_stream_id(::std::string* stream_id);
3965
3966
  // optional bytes tablet_id = 2;
3967
  bool has_tablet_id() const;
3968
  void clear_tablet_id();
3969
  static const int kTabletIdFieldNumber = 2;
3970
  const ::std::string& tablet_id() const;
3971
  void set_tablet_id(const ::std::string& value);
3972
  #if LANG_CXX11
3973
  void set_tablet_id(::std::string&& value);
3974
  #endif
3975
  void set_tablet_id(const char* value);
3976
  void set_tablet_id(const void* value, size_t size);
3977
  ::std::string* mutable_tablet_id();
3978
  ::std::string* release_tablet_id();
3979
  void set_allocated_tablet_id(::std::string* tablet_id);
3980
3981
  // @@protoc_insertion_point(class_scope:yb.cdc.GetCheckpointRequestPB)
3982
 private:
3983
  void set_has_stream_id();
3984
  void clear_has_stream_id();
3985
  void set_has_tablet_id();
3986
  void clear_has_tablet_id();
3987
3988
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3989
  ::google::protobuf::internal::HasBits<1> _has_bits_;
3990
  mutable int _cached_size_;
3991
  ::google::protobuf::internal::ArenaStringPtr stream_id_;
3992
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
3993
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
3994
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCheckpointRequestPBImpl();
3995
};
3996
// -------------------------------------------------------------------
3997
3998
class GetCheckpointResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCheckpointResponsePB) */ {
3999
 public:
4000
  GetCheckpointResponsePB();
4001
  virtual ~GetCheckpointResponsePB();
4002
4003
  GetCheckpointResponsePB(const GetCheckpointResponsePB& from);
4004
4005
0
  inline GetCheckpointResponsePB& operator=(const GetCheckpointResponsePB& from) {
4006
0
    CopyFrom(from);
4007
0
    return *this;
4008
0
  }
4009
  #if LANG_CXX11
4010
  GetCheckpointResponsePB(GetCheckpointResponsePB&& from) noexcept
4011
0
    : GetCheckpointResponsePB() {
4012
0
    *this = ::std::move(from);
4013
0
  }
4014
4015
0
  inline GetCheckpointResponsePB& operator=(GetCheckpointResponsePB&& from) noexcept {
4016
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4017
0
      if (this != &from) InternalSwap(&from);
4018
0
    } else {
4019
0
      CopyFrom(from);
4020
0
    }
4021
0
    return *this;
4022
0
  }
4023
  #endif
4024
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4025
0
    return _internal_metadata_.unknown_fields();
4026
0
  }
4027
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4028
0
    return _internal_metadata_.mutable_unknown_fields();
4029
0
  }
4030
4031
  static const ::google::protobuf::Descriptor* descriptor();
4032
  static const GetCheckpointResponsePB& default_instance();
4033
4034
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4035
16.5k
  static inline const GetCheckpointResponsePB* internal_default_instance() {
4036
16.5k
    return reinterpret_cast<const GetCheckpointResponsePB*>(
4037
16.5k
               &_GetCheckpointResponsePB_default_instance_);
4038
16.5k
  }
4039
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4040
    23;
4041
4042
  void Swap(GetCheckpointResponsePB* other);
4043
0
  friend void swap(GetCheckpointResponsePB& a, GetCheckpointResponsePB& b) {
4044
0
    a.Swap(&b);
4045
0
  }
4046
4047
  // implements Message ----------------------------------------------
4048
4049
0
  inline GetCheckpointResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4050
4051
  GetCheckpointResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4052
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4053
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4054
  void CopyFrom(const GetCheckpointResponsePB& from);
4055
  void MergeFrom(const GetCheckpointResponsePB& from);
4056
  void Clear() PROTOBUF_FINAL;
4057
  bool IsInitialized() const PROTOBUF_FINAL;
4058
4059
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4060
  bool MergePartialFromCodedStream(
4061
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4062
  void SerializeWithCachedSizes(
4063
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4064
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4065
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4066
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4067
  private:
4068
  void SharedCtor();
4069
  void SharedDtor();
4070
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4071
  void InternalSwap(GetCheckpointResponsePB* other);
4072
  private:
4073
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4074
0
    return NULL;
4075
0
  }
4076
0
  inline void* MaybeArenaPtr() const {
4077
0
    return NULL;
4078
0
  }
4079
  public:
4080
4081
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4082
4083
  // nested types ----------------------------------------------------
4084
4085
  // accessors -------------------------------------------------------
4086
4087
  // optional .yb.cdc.CDCErrorPB error = 1;
4088
  bool has_error() const;
4089
  void clear_error();
4090
  static const int kErrorFieldNumber = 1;
4091
  const ::yb::cdc::CDCErrorPB& error() const;
4092
  ::yb::cdc::CDCErrorPB* release_error();
4093
  ::yb::cdc::CDCErrorPB* mutable_error();
4094
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
4095
4096
  // optional .yb.cdc.CDCCheckpointPB checkpoint = 2;
4097
  bool has_checkpoint() const;
4098
  void clear_checkpoint();
4099
  static const int kCheckpointFieldNumber = 2;
4100
  const ::yb::cdc::CDCCheckpointPB& checkpoint() const;
4101
  ::yb::cdc::CDCCheckpointPB* release_checkpoint();
4102
  ::yb::cdc::CDCCheckpointPB* mutable_checkpoint();
4103
  void set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint);
4104
4105
  // @@protoc_insertion_point(class_scope:yb.cdc.GetCheckpointResponsePB)
4106
 private:
4107
  void set_has_error();
4108
  void clear_has_error();
4109
  void set_has_checkpoint();
4110
  void clear_has_checkpoint();
4111
4112
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4113
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4114
  mutable int _cached_size_;
4115
  ::yb::cdc::CDCErrorPB* error_;
4116
  ::yb::cdc::CDCCheckpointPB* checkpoint_;
4117
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4118
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCheckpointResponsePBImpl();
4119
};
4120
// -------------------------------------------------------------------
4121
4122
class UpdateCdcReplicatedIndexRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.UpdateCdcReplicatedIndexRequestPB) */ {
4123
 public:
4124
  UpdateCdcReplicatedIndexRequestPB();
4125
  virtual ~UpdateCdcReplicatedIndexRequestPB();
4126
4127
  UpdateCdcReplicatedIndexRequestPB(const UpdateCdcReplicatedIndexRequestPB& from);
4128
4129
0
  inline UpdateCdcReplicatedIndexRequestPB& operator=(const UpdateCdcReplicatedIndexRequestPB& from) {
4130
0
    CopyFrom(from);
4131
0
    return *this;
4132
0
  }
4133
  #if LANG_CXX11
4134
  UpdateCdcReplicatedIndexRequestPB(UpdateCdcReplicatedIndexRequestPB&& from) noexcept
4135
0
    : UpdateCdcReplicatedIndexRequestPB() {
4136
0
    *this = ::std::move(from);
4137
0
  }
4138
4139
0
  inline UpdateCdcReplicatedIndexRequestPB& operator=(UpdateCdcReplicatedIndexRequestPB&& from) noexcept {
4140
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4141
0
      if (this != &from) InternalSwap(&from);
4142
0
    } else {
4143
0
      CopyFrom(from);
4144
0
    }
4145
0
    return *this;
4146
0
  }
4147
  #endif
4148
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4149
0
    return _internal_metadata_.unknown_fields();
4150
0
  }
4151
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4152
0
    return _internal_metadata_.mutable_unknown_fields();
4153
0
  }
4154
4155
  static const ::google::protobuf::Descriptor* descriptor();
4156
  static const UpdateCdcReplicatedIndexRequestPB& default_instance();
4157
4158
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4159
16.9k
  static inline const UpdateCdcReplicatedIndexRequestPB* internal_default_instance() {
4160
16.9k
    return reinterpret_cast<const UpdateCdcReplicatedIndexRequestPB*>(
4161
16.9k
               &_UpdateCdcReplicatedIndexRequestPB_default_instance_);
4162
16.9k
  }
4163
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4164
    24;
4165
4166
  void Swap(UpdateCdcReplicatedIndexRequestPB* other);
4167
0
  friend void swap(UpdateCdcReplicatedIndexRequestPB& a, UpdateCdcReplicatedIndexRequestPB& b) {
4168
0
    a.Swap(&b);
4169
0
  }
4170
4171
  // implements Message ----------------------------------------------
4172
4173
0
  inline UpdateCdcReplicatedIndexRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4174
4175
  UpdateCdcReplicatedIndexRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4176
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4177
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4178
  void CopyFrom(const UpdateCdcReplicatedIndexRequestPB& from);
4179
  void MergeFrom(const UpdateCdcReplicatedIndexRequestPB& from);
4180
  void Clear() PROTOBUF_FINAL;
4181
  bool IsInitialized() const PROTOBUF_FINAL;
4182
4183
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4184
  bool MergePartialFromCodedStream(
4185
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4186
  void SerializeWithCachedSizes(
4187
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4188
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4189
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4190
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4191
  private:
4192
  void SharedCtor();
4193
  void SharedDtor();
4194
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4195
  void InternalSwap(UpdateCdcReplicatedIndexRequestPB* other);
4196
  private:
4197
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4198
0
    return NULL;
4199
0
  }
4200
0
  inline void* MaybeArenaPtr() const {
4201
0
    return NULL;
4202
0
  }
4203
  public:
4204
4205
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4206
4207
  // nested types ----------------------------------------------------
4208
4209
  // accessors -------------------------------------------------------
4210
4211
  // optional bytes tablet_id = 1;
4212
  bool has_tablet_id() const;
4213
  void clear_tablet_id();
4214
  static const int kTabletIdFieldNumber = 1;
4215
  const ::std::string& tablet_id() const;
4216
  void set_tablet_id(const ::std::string& value);
4217
  #if LANG_CXX11
4218
  void set_tablet_id(::std::string&& value);
4219
  #endif
4220
  void set_tablet_id(const char* value);
4221
  void set_tablet_id(const void* value, size_t size);
4222
  ::std::string* mutable_tablet_id();
4223
  ::std::string* release_tablet_id();
4224
  void set_allocated_tablet_id(::std::string* tablet_id);
4225
4226
  // optional int64 replicated_index = 2;
4227
  bool has_replicated_index() const;
4228
  void clear_replicated_index();
4229
  static const int kReplicatedIndexFieldNumber = 2;
4230
  ::google::protobuf::int64 replicated_index() const;
4231
  void set_replicated_index(::google::protobuf::int64 value);
4232
4233
  // optional int64 replicated_term = 3;
4234
  bool has_replicated_term() const;
4235
  void clear_replicated_term();
4236
  static const int kReplicatedTermFieldNumber = 3;
4237
  ::google::protobuf::int64 replicated_term() const;
4238
  void set_replicated_term(::google::protobuf::int64 value);
4239
4240
  // @@protoc_insertion_point(class_scope:yb.cdc.UpdateCdcReplicatedIndexRequestPB)
4241
 private:
4242
  void set_has_tablet_id();
4243
  void clear_has_tablet_id();
4244
  void set_has_replicated_index();
4245
  void clear_has_replicated_index();
4246
  void set_has_replicated_term();
4247
  void clear_has_replicated_term();
4248
4249
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4250
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4251
  mutable int _cached_size_;
4252
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
4253
  ::google::protobuf::int64 replicated_index_;
4254
  ::google::protobuf::int64 replicated_term_;
4255
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4256
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsUpdateCdcReplicatedIndexRequestPBImpl();
4257
};
4258
// -------------------------------------------------------------------
4259
4260
class UpdateCdcReplicatedIndexResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.UpdateCdcReplicatedIndexResponsePB) */ {
4261
 public:
4262
  UpdateCdcReplicatedIndexResponsePB();
4263
  virtual ~UpdateCdcReplicatedIndexResponsePB();
4264
4265
  UpdateCdcReplicatedIndexResponsePB(const UpdateCdcReplicatedIndexResponsePB& from);
4266
4267
0
  inline UpdateCdcReplicatedIndexResponsePB& operator=(const UpdateCdcReplicatedIndexResponsePB& from) {
4268
0
    CopyFrom(from);
4269
0
    return *this;
4270
0
  }
4271
  #if LANG_CXX11
4272
  UpdateCdcReplicatedIndexResponsePB(UpdateCdcReplicatedIndexResponsePB&& from) noexcept
4273
0
    : UpdateCdcReplicatedIndexResponsePB() {
4274
0
    *this = ::std::move(from);
4275
0
  }
4276
4277
0
  inline UpdateCdcReplicatedIndexResponsePB& operator=(UpdateCdcReplicatedIndexResponsePB&& from) noexcept {
4278
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4279
0
      if (this != &from) InternalSwap(&from);
4280
0
    } else {
4281
0
      CopyFrom(from);
4282
0
    }
4283
0
    return *this;
4284
0
  }
4285
  #endif
4286
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4287
0
    return _internal_metadata_.unknown_fields();
4288
0
  }
4289
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4290
0
    return _internal_metadata_.mutable_unknown_fields();
4291
0
  }
4292
4293
  static const ::google::protobuf::Descriptor* descriptor();
4294
  static const UpdateCdcReplicatedIndexResponsePB& default_instance();
4295
4296
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4297
17.3k
  static inline const UpdateCdcReplicatedIndexResponsePB* internal_default_instance() {
4298
17.3k
    return reinterpret_cast<const UpdateCdcReplicatedIndexResponsePB*>(
4299
17.3k
               &_UpdateCdcReplicatedIndexResponsePB_default_instance_);
4300
17.3k
  }
4301
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4302
    25;
4303
4304
  void Swap(UpdateCdcReplicatedIndexResponsePB* other);
4305
0
  friend void swap(UpdateCdcReplicatedIndexResponsePB& a, UpdateCdcReplicatedIndexResponsePB& b) {
4306
0
    a.Swap(&b);
4307
0
  }
4308
4309
  // implements Message ----------------------------------------------
4310
4311
0
  inline UpdateCdcReplicatedIndexResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4312
4313
  UpdateCdcReplicatedIndexResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4314
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4315
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4316
  void CopyFrom(const UpdateCdcReplicatedIndexResponsePB& from);
4317
  void MergeFrom(const UpdateCdcReplicatedIndexResponsePB& from);
4318
  void Clear() PROTOBUF_FINAL;
4319
  bool IsInitialized() const PROTOBUF_FINAL;
4320
4321
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4322
  bool MergePartialFromCodedStream(
4323
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4324
  void SerializeWithCachedSizes(
4325
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4326
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4327
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4328
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4329
  private:
4330
  void SharedCtor();
4331
  void SharedDtor();
4332
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4333
  void InternalSwap(UpdateCdcReplicatedIndexResponsePB* other);
4334
  private:
4335
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4336
0
    return NULL;
4337
0
  }
4338
0
  inline void* MaybeArenaPtr() const {
4339
0
    return NULL;
4340
0
  }
4341
  public:
4342
4343
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4344
4345
  // nested types ----------------------------------------------------
4346
4347
  // accessors -------------------------------------------------------
4348
4349
  // optional .yb.cdc.CDCErrorPB error = 1;
4350
  bool has_error() const;
4351
  void clear_error();
4352
  static const int kErrorFieldNumber = 1;
4353
  const ::yb::cdc::CDCErrorPB& error() const;
4354
  ::yb::cdc::CDCErrorPB* release_error();
4355
  ::yb::cdc::CDCErrorPB* mutable_error();
4356
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
4357
4358
  // @@protoc_insertion_point(class_scope:yb.cdc.UpdateCdcReplicatedIndexResponsePB)
4359
 private:
4360
  void set_has_error();
4361
  void clear_has_error();
4362
4363
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4364
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4365
  mutable int _cached_size_;
4366
  ::yb::cdc::CDCErrorPB* error_;
4367
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4368
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsUpdateCdcReplicatedIndexResponsePBImpl();
4369
};
4370
// -------------------------------------------------------------------
4371
4372
class BootstrapProducerRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.BootstrapProducerRequestPB) */ {
4373
 public:
4374
  BootstrapProducerRequestPB();
4375
  virtual ~BootstrapProducerRequestPB();
4376
4377
  BootstrapProducerRequestPB(const BootstrapProducerRequestPB& from);
4378
4379
0
  inline BootstrapProducerRequestPB& operator=(const BootstrapProducerRequestPB& from) {
4380
0
    CopyFrom(from);
4381
0
    return *this;
4382
0
  }
4383
  #if LANG_CXX11
4384
  BootstrapProducerRequestPB(BootstrapProducerRequestPB&& from) noexcept
4385
0
    : BootstrapProducerRequestPB() {
4386
0
    *this = ::std::move(from);
4387
0
  }
4388
4389
0
  inline BootstrapProducerRequestPB& operator=(BootstrapProducerRequestPB&& from) noexcept {
4390
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4391
0
      if (this != &from) InternalSwap(&from);
4392
0
    } else {
4393
0
      CopyFrom(from);
4394
0
    }
4395
0
    return *this;
4396
0
  }
4397
  #endif
4398
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4399
0
    return _internal_metadata_.unknown_fields();
4400
0
  }
4401
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4402
0
    return _internal_metadata_.mutable_unknown_fields();
4403
0
  }
4404
4405
  static const ::google::protobuf::Descriptor* descriptor();
4406
  static const BootstrapProducerRequestPB& default_instance();
4407
4408
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4409
16.4k
  static inline const BootstrapProducerRequestPB* internal_default_instance() {
4410
16.4k
    return reinterpret_cast<const BootstrapProducerRequestPB*>(
4411
16.4k
               &_BootstrapProducerRequestPB_default_instance_);
4412
16.4k
  }
4413
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4414
    26;
4415
4416
  void Swap(BootstrapProducerRequestPB* other);
4417
0
  friend void swap(BootstrapProducerRequestPB& a, BootstrapProducerRequestPB& b) {
4418
0
    a.Swap(&b);
4419
0
  }
4420
4421
  // implements Message ----------------------------------------------
4422
4423
0
  inline BootstrapProducerRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4424
4425
  BootstrapProducerRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4426
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4427
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4428
  void CopyFrom(const BootstrapProducerRequestPB& from);
4429
  void MergeFrom(const BootstrapProducerRequestPB& from);
4430
  void Clear() PROTOBUF_FINAL;
4431
  bool IsInitialized() const PROTOBUF_FINAL;
4432
4433
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4434
  bool MergePartialFromCodedStream(
4435
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4436
  void SerializeWithCachedSizes(
4437
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4438
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4439
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4440
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4441
  private:
4442
  void SharedCtor();
4443
  void SharedDtor();
4444
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4445
  void InternalSwap(BootstrapProducerRequestPB* other);
4446
  private:
4447
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4448
0
    return NULL;
4449
0
  }
4450
0
  inline void* MaybeArenaPtr() const {
4451
0
    return NULL;
4452
0
  }
4453
  public:
4454
4455
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4456
4457
  // nested types ----------------------------------------------------
4458
4459
  // accessors -------------------------------------------------------
4460
4461
  // repeated string table_ids = 1;
4462
  int table_ids_size() const;
4463
  void clear_table_ids();
4464
  static const int kTableIdsFieldNumber = 1;
4465
  const ::std::string& table_ids(int index) const;
4466
  ::std::string* mutable_table_ids(int index);
4467
  void set_table_ids(int index, const ::std::string& value);
4468
  #if LANG_CXX11
4469
  void set_table_ids(int index, ::std::string&& value);
4470
  #endif
4471
  void set_table_ids(int index, const char* value);
4472
  void set_table_ids(int index, const char* value, size_t size);
4473
  ::std::string* add_table_ids();
4474
  void add_table_ids(const ::std::string& value);
4475
  #if LANG_CXX11
4476
  void add_table_ids(::std::string&& value);
4477
  #endif
4478
  void add_table_ids(const char* value);
4479
  void add_table_ids(const char* value, size_t size);
4480
  const ::google::protobuf::RepeatedPtrField< ::std::string>& table_ids() const;
4481
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_table_ids();
4482
4483
  // @@protoc_insertion_point(class_scope:yb.cdc.BootstrapProducerRequestPB)
4484
 private:
4485
4486
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4487
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4488
  mutable int _cached_size_;
4489
  ::google::protobuf::RepeatedPtrField< ::std::string> table_ids_;
4490
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4491
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsBootstrapProducerRequestPBImpl();
4492
};
4493
// -------------------------------------------------------------------
4494
4495
class BootstrapProducerResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.BootstrapProducerResponsePB) */ {
4496
 public:
4497
  BootstrapProducerResponsePB();
4498
  virtual ~BootstrapProducerResponsePB();
4499
4500
  BootstrapProducerResponsePB(const BootstrapProducerResponsePB& from);
4501
4502
0
  inline BootstrapProducerResponsePB& operator=(const BootstrapProducerResponsePB& from) {
4503
0
    CopyFrom(from);
4504
0
    return *this;
4505
0
  }
4506
  #if LANG_CXX11
4507
  BootstrapProducerResponsePB(BootstrapProducerResponsePB&& from) noexcept
4508
0
    : BootstrapProducerResponsePB() {
4509
0
    *this = ::std::move(from);
4510
0
  }
4511
4512
0
  inline BootstrapProducerResponsePB& operator=(BootstrapProducerResponsePB&& from) noexcept {
4513
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4514
0
      if (this != &from) InternalSwap(&from);
4515
0
    } else {
4516
0
      CopyFrom(from);
4517
0
    }
4518
0
    return *this;
4519
0
  }
4520
  #endif
4521
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4522
0
    return _internal_metadata_.unknown_fields();
4523
0
  }
4524
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4525
0
    return _internal_metadata_.mutable_unknown_fields();
4526
0
  }
4527
4528
  static const ::google::protobuf::Descriptor* descriptor();
4529
  static const BootstrapProducerResponsePB& default_instance();
4530
4531
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4532
16.4k
  static inline const BootstrapProducerResponsePB* internal_default_instance() {
4533
16.4k
    return reinterpret_cast<const BootstrapProducerResponsePB*>(
4534
16.4k
               &_BootstrapProducerResponsePB_default_instance_);
4535
16.4k
  }
4536
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4537
    27;
4538
4539
  void Swap(BootstrapProducerResponsePB* other);
4540
0
  friend void swap(BootstrapProducerResponsePB& a, BootstrapProducerResponsePB& b) {
4541
0
    a.Swap(&b);
4542
0
  }
4543
4544
  // implements Message ----------------------------------------------
4545
4546
0
  inline BootstrapProducerResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4547
4548
  BootstrapProducerResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4549
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4550
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4551
  void CopyFrom(const BootstrapProducerResponsePB& from);
4552
  void MergeFrom(const BootstrapProducerResponsePB& from);
4553
  void Clear() PROTOBUF_FINAL;
4554
  bool IsInitialized() const PROTOBUF_FINAL;
4555
4556
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4557
  bool MergePartialFromCodedStream(
4558
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4559
  void SerializeWithCachedSizes(
4560
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4561
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4562
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4563
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4564
  private:
4565
  void SharedCtor();
4566
  void SharedDtor();
4567
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4568
  void InternalSwap(BootstrapProducerResponsePB* other);
4569
  private:
4570
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4571
0
    return NULL;
4572
0
  }
4573
0
  inline void* MaybeArenaPtr() const {
4574
0
    return NULL;
4575
0
  }
4576
  public:
4577
4578
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4579
4580
  // nested types ----------------------------------------------------
4581
4582
  // accessors -------------------------------------------------------
4583
4584
  // repeated bytes cdc_bootstrap_ids = 2;
4585
  int cdc_bootstrap_ids_size() const;
4586
  void clear_cdc_bootstrap_ids();
4587
  static const int kCdcBootstrapIdsFieldNumber = 2;
4588
  const ::std::string& cdc_bootstrap_ids(int index) const;
4589
  ::std::string* mutable_cdc_bootstrap_ids(int index);
4590
  void set_cdc_bootstrap_ids(int index, const ::std::string& value);
4591
  #if LANG_CXX11
4592
  void set_cdc_bootstrap_ids(int index, ::std::string&& value);
4593
  #endif
4594
  void set_cdc_bootstrap_ids(int index, const char* value);
4595
  void set_cdc_bootstrap_ids(int index, const void* value, size_t size);
4596
  ::std::string* add_cdc_bootstrap_ids();
4597
  void add_cdc_bootstrap_ids(const ::std::string& value);
4598
  #if LANG_CXX11
4599
  void add_cdc_bootstrap_ids(::std::string&& value);
4600
  #endif
4601
  void add_cdc_bootstrap_ids(const char* value);
4602
  void add_cdc_bootstrap_ids(const void* value, size_t size);
4603
  const ::google::protobuf::RepeatedPtrField< ::std::string>& cdc_bootstrap_ids() const;
4604
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_cdc_bootstrap_ids();
4605
4606
  // optional .yb.cdc.CDCErrorPB error = 1;
4607
  bool has_error() const;
4608
  void clear_error();
4609
  static const int kErrorFieldNumber = 1;
4610
  const ::yb::cdc::CDCErrorPB& error() const;
4611
  ::yb::cdc::CDCErrorPB* release_error();
4612
  ::yb::cdc::CDCErrorPB* mutable_error();
4613
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
4614
4615
  // @@protoc_insertion_point(class_scope:yb.cdc.BootstrapProducerResponsePB)
4616
 private:
4617
  void set_has_error();
4618
  void clear_has_error();
4619
4620
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4621
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4622
  mutable int _cached_size_;
4623
  ::google::protobuf::RepeatedPtrField< ::std::string> cdc_bootstrap_ids_;
4624
  ::yb::cdc::CDCErrorPB* error_;
4625
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4626
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsBootstrapProducerResponsePBImpl();
4627
};
4628
// -------------------------------------------------------------------
4629
4630
class GetLatestEntryOpIdRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetLatestEntryOpIdRequestPB) */ {
4631
 public:
4632
  GetLatestEntryOpIdRequestPB();
4633
  virtual ~GetLatestEntryOpIdRequestPB();
4634
4635
  GetLatestEntryOpIdRequestPB(const GetLatestEntryOpIdRequestPB& from);
4636
4637
0
  inline GetLatestEntryOpIdRequestPB& operator=(const GetLatestEntryOpIdRequestPB& from) {
4638
0
    CopyFrom(from);
4639
0
    return *this;
4640
0
  }
4641
  #if LANG_CXX11
4642
  GetLatestEntryOpIdRequestPB(GetLatestEntryOpIdRequestPB&& from) noexcept
4643
0
    : GetLatestEntryOpIdRequestPB() {
4644
0
    *this = ::std::move(from);
4645
0
  }
4646
4647
0
  inline GetLatestEntryOpIdRequestPB& operator=(GetLatestEntryOpIdRequestPB&& from) noexcept {
4648
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4649
0
      if (this != &from) InternalSwap(&from);
4650
0
    } else {
4651
0
      CopyFrom(from);
4652
0
    }
4653
0
    return *this;
4654
0
  }
4655
  #endif
4656
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4657
0
    return _internal_metadata_.unknown_fields();
4658
0
  }
4659
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4660
0
    return _internal_metadata_.mutable_unknown_fields();
4661
0
  }
4662
4663
  static const ::google::protobuf::Descriptor* descriptor();
4664
  static const GetLatestEntryOpIdRequestPB& default_instance();
4665
4666
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4667
16.4k
  static inline const GetLatestEntryOpIdRequestPB* internal_default_instance() {
4668
16.4k
    return reinterpret_cast<const GetLatestEntryOpIdRequestPB*>(
4669
16.4k
               &_GetLatestEntryOpIdRequestPB_default_instance_);
4670
16.4k
  }
4671
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4672
    28;
4673
4674
  void Swap(GetLatestEntryOpIdRequestPB* other);
4675
0
  friend void swap(GetLatestEntryOpIdRequestPB& a, GetLatestEntryOpIdRequestPB& b) {
4676
0
    a.Swap(&b);
4677
0
  }
4678
4679
  // implements Message ----------------------------------------------
4680
4681
0
  inline GetLatestEntryOpIdRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
4682
4683
  GetLatestEntryOpIdRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4684
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4685
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4686
  void CopyFrom(const GetLatestEntryOpIdRequestPB& from);
4687
  void MergeFrom(const GetLatestEntryOpIdRequestPB& from);
4688
  void Clear() PROTOBUF_FINAL;
4689
  bool IsInitialized() const PROTOBUF_FINAL;
4690
4691
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4692
  bool MergePartialFromCodedStream(
4693
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4694
  void SerializeWithCachedSizes(
4695
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4696
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4697
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4698
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4699
  private:
4700
  void SharedCtor();
4701
  void SharedDtor();
4702
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4703
  void InternalSwap(GetLatestEntryOpIdRequestPB* other);
4704
  private:
4705
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4706
0
    return NULL;
4707
0
  }
4708
0
  inline void* MaybeArenaPtr() const {
4709
0
    return NULL;
4710
0
  }
4711
  public:
4712
4713
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4714
4715
  // nested types ----------------------------------------------------
4716
4717
  // accessors -------------------------------------------------------
4718
4719
  // optional bytes tablet_id = 1;
4720
  bool has_tablet_id() const;
4721
  void clear_tablet_id();
4722
  static const int kTabletIdFieldNumber = 1;
4723
  const ::std::string& tablet_id() const;
4724
  void set_tablet_id(const ::std::string& value);
4725
  #if LANG_CXX11
4726
  void set_tablet_id(::std::string&& value);
4727
  #endif
4728
  void set_tablet_id(const char* value);
4729
  void set_tablet_id(const void* value, size_t size);
4730
  ::std::string* mutable_tablet_id();
4731
  ::std::string* release_tablet_id();
4732
  void set_allocated_tablet_id(::std::string* tablet_id);
4733
4734
  // @@protoc_insertion_point(class_scope:yb.cdc.GetLatestEntryOpIdRequestPB)
4735
 private:
4736
  void set_has_tablet_id();
4737
  void clear_has_tablet_id();
4738
4739
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4740
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4741
  mutable int _cached_size_;
4742
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
4743
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4744
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetLatestEntryOpIdRequestPBImpl();
4745
};
4746
// -------------------------------------------------------------------
4747
4748
class GetLatestEntryOpIdResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetLatestEntryOpIdResponsePB) */ {
4749
 public:
4750
  GetLatestEntryOpIdResponsePB();
4751
  virtual ~GetLatestEntryOpIdResponsePB();
4752
4753
  GetLatestEntryOpIdResponsePB(const GetLatestEntryOpIdResponsePB& from);
4754
4755
0
  inline GetLatestEntryOpIdResponsePB& operator=(const GetLatestEntryOpIdResponsePB& from) {
4756
0
    CopyFrom(from);
4757
0
    return *this;
4758
0
  }
4759
  #if LANG_CXX11
4760
  GetLatestEntryOpIdResponsePB(GetLatestEntryOpIdResponsePB&& from) noexcept
4761
0
    : GetLatestEntryOpIdResponsePB() {
4762
0
    *this = ::std::move(from);
4763
0
  }
4764
4765
0
  inline GetLatestEntryOpIdResponsePB& operator=(GetLatestEntryOpIdResponsePB&& from) noexcept {
4766
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4767
0
      if (this != &from) InternalSwap(&from);
4768
0
    } else {
4769
0
      CopyFrom(from);
4770
0
    }
4771
0
    return *this;
4772
0
  }
4773
  #endif
4774
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4775
0
    return _internal_metadata_.unknown_fields();
4776
0
  }
4777
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4778
0
    return _internal_metadata_.mutable_unknown_fields();
4779
0
  }
4780
4781
  static const ::google::protobuf::Descriptor* descriptor();
4782
  static const GetLatestEntryOpIdResponsePB& default_instance();
4783
4784
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4785
16.4k
  static inline const GetLatestEntryOpIdResponsePB* internal_default_instance() {
4786
16.4k
    return reinterpret_cast<const GetLatestEntryOpIdResponsePB*>(
4787
16.4k
               &_GetLatestEntryOpIdResponsePB_default_instance_);
4788
16.4k
  }
4789
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4790
    29;
4791
4792
  void Swap(GetLatestEntryOpIdResponsePB* other);
4793
0
  friend void swap(GetLatestEntryOpIdResponsePB& a, GetLatestEntryOpIdResponsePB& b) {
4794
0
    a.Swap(&b);
4795
0
  }
4796
4797
  // implements Message ----------------------------------------------
4798
4799
0
  inline GetLatestEntryOpIdResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
4800
4801
  GetLatestEntryOpIdResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4802
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4803
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4804
  void CopyFrom(const GetLatestEntryOpIdResponsePB& from);
4805
  void MergeFrom(const GetLatestEntryOpIdResponsePB& from);
4806
  void Clear() PROTOBUF_FINAL;
4807
  bool IsInitialized() const PROTOBUF_FINAL;
4808
4809
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4810
  bool MergePartialFromCodedStream(
4811
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4812
  void SerializeWithCachedSizes(
4813
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4814
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4815
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4816
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4817
  private:
4818
  void SharedCtor();
4819
  void SharedDtor();
4820
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4821
  void InternalSwap(GetLatestEntryOpIdResponsePB* other);
4822
  private:
4823
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4824
0
    return NULL;
4825
0
  }
4826
0
  inline void* MaybeArenaPtr() const {
4827
0
    return NULL;
4828
0
  }
4829
  public:
4830
4831
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4832
4833
  // nested types ----------------------------------------------------
4834
4835
  // accessors -------------------------------------------------------
4836
4837
  // optional .yb.cdc.CDCErrorPB error = 1;
4838
  bool has_error() const;
4839
  void clear_error();
4840
  static const int kErrorFieldNumber = 1;
4841
  const ::yb::cdc::CDCErrorPB& error() const;
4842
  ::yb::cdc::CDCErrorPB* release_error();
4843
  ::yb::cdc::CDCErrorPB* mutable_error();
4844
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
4845
4846
  // optional .yb.OpIdPB op_id = 2;
4847
  bool has_op_id() const;
4848
  void clear_op_id();
4849
  static const int kOpIdFieldNumber = 2;
4850
  const ::yb::OpIdPB& op_id() const;
4851
  ::yb::OpIdPB* release_op_id();
4852
  ::yb::OpIdPB* mutable_op_id();
4853
  void set_allocated_op_id(::yb::OpIdPB* op_id);
4854
4855
  // @@protoc_insertion_point(class_scope:yb.cdc.GetLatestEntryOpIdResponsePB)
4856
 private:
4857
  void set_has_error();
4858
  void clear_has_error();
4859
  void set_has_op_id();
4860
  void clear_has_op_id();
4861
4862
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4863
  ::google::protobuf::internal::HasBits<1> _has_bits_;
4864
  mutable int _cached_size_;
4865
  ::yb::cdc::CDCErrorPB* error_;
4866
  ::yb::OpIdPB* op_id_;
4867
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
4868
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetLatestEntryOpIdResponsePBImpl();
4869
};
4870
// -------------------------------------------------------------------
4871
4872
class TableInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.TableInfo) */ {
4873
 public:
4874
  TableInfo();
4875
  virtual ~TableInfo();
4876
4877
  TableInfo(const TableInfo& from);
4878
4879
0
  inline TableInfo& operator=(const TableInfo& from) {
4880
0
    CopyFrom(from);
4881
0
    return *this;
4882
0
  }
4883
  #if LANG_CXX11
4884
  TableInfo(TableInfo&& from) noexcept
4885
0
    : TableInfo() {
4886
0
    *this = ::std::move(from);
4887
0
  }
4888
4889
0
  inline TableInfo& operator=(TableInfo&& from) noexcept {
4890
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4891
0
      if (this != &from) InternalSwap(&from);
4892
0
    } else {
4893
0
      CopyFrom(from);
4894
0
    }
4895
0
    return *this;
4896
0
  }
4897
  #endif
4898
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4899
0
    return _internal_metadata_.unknown_fields();
4900
0
  }
4901
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4902
0
    return _internal_metadata_.mutable_unknown_fields();
4903
0
  }
4904
4905
  static const ::google::protobuf::Descriptor* descriptor();
4906
  static const TableInfo& default_instance();
4907
4908
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
4909
16.4k
  static inline const TableInfo* internal_default_instance() {
4910
16.4k
    return reinterpret_cast<const TableInfo*>(
4911
16.4k
               &_TableInfo_default_instance_);
4912
16.4k
  }
4913
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4914
    30;
4915
4916
  void Swap(TableInfo* other);
4917
0
  friend void swap(TableInfo& a, TableInfo& b) {
4918
0
    a.Swap(&b);
4919
0
  }
4920
4921
  // implements Message ----------------------------------------------
4922
4923
0
  inline TableInfo* New() const PROTOBUF_FINAL { return New(NULL); }
4924
4925
  TableInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4926
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4927
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4928
  void CopyFrom(const TableInfo& from);
4929
  void MergeFrom(const TableInfo& from);
4930
  void Clear() PROTOBUF_FINAL;
4931
  bool IsInitialized() const PROTOBUF_FINAL;
4932
4933
  size_t ByteSizeLong() const PROTOBUF_FINAL;
4934
  bool MergePartialFromCodedStream(
4935
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4936
  void SerializeWithCachedSizes(
4937
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4938
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4939
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
4940
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4941
  private:
4942
  void SharedCtor();
4943
  void SharedDtor();
4944
  void SetCachedSize(int size) const PROTOBUF_FINAL;
4945
  void InternalSwap(TableInfo* other);
4946
  private:
4947
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4948
0
    return NULL;
4949
0
  }
4950
0
  inline void* MaybeArenaPtr() const {
4951
0
    return NULL;
4952
0
  }
4953
  public:
4954
4955
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4956
4957
  // nested types ----------------------------------------------------
4958
4959
  // accessors -------------------------------------------------------
4960
4961
  // optional bytes stream_id = 1;
4962
  bool has_stream_id() const;
4963
  void clear_stream_id();
4964
  static const int kStreamIdFieldNumber = 1;
4965
  const ::std::string& stream_id() const;
4966
  void set_stream_id(const ::std::string& value);
4967
  #if LANG_CXX11
4968
  void set_stream_id(::std::string&& value);
4969
  #endif
4970
  void set_stream_id(const char* value);
4971
  void set_stream_id(const void* value, size_t size);
4972
  ::std::string* mutable_stream_id();
4973
  ::std::string* release_stream_id();
4974
  void set_allocated_stream_id(::std::string* stream_id);
4975
4976
  // optional bytes table_id = 2;
4977
  bool has_table_id() const;
4978
  void clear_table_id();
4979
  static const int kTableIdFieldNumber = 2;
4980
  const ::std::string& table_id() const;
4981
  void set_table_id(const ::std::string& value);
4982
  #if LANG_CXX11
4983
  void set_table_id(::std::string&& value);
4984
  #endif
4985
  void set_table_id(const char* value);
4986
  void set_table_id(const void* value, size_t size);
4987
  ::std::string* mutable_table_id();
4988
  ::std::string* release_table_id();
4989
  void set_allocated_table_id(::std::string* table_id);
4990
4991
  // @@protoc_insertion_point(class_scope:yb.cdc.TableInfo)
4992
 private:
4993
  void set_has_stream_id();
4994
  void clear_has_stream_id();
4995
  void set_has_table_id();
4996
  void clear_has_table_id();
4997
4998
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4999
  ::google::protobuf::internal::HasBits<1> _has_bits_;
5000
  mutable int _cached_size_;
5001
  ::google::protobuf::internal::ArenaStringPtr stream_id_;
5002
  ::google::protobuf::internal::ArenaStringPtr table_id_;
5003
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
5004
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsTableInfoImpl();
5005
};
5006
// -------------------------------------------------------------------
5007
5008
class GetCDCDBStreamInfoRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCDCDBStreamInfoRequestPB) */ {
5009
 public:
5010
  GetCDCDBStreamInfoRequestPB();
5011
  virtual ~GetCDCDBStreamInfoRequestPB();
5012
5013
  GetCDCDBStreamInfoRequestPB(const GetCDCDBStreamInfoRequestPB& from);
5014
5015
0
  inline GetCDCDBStreamInfoRequestPB& operator=(const GetCDCDBStreamInfoRequestPB& from) {
5016
0
    CopyFrom(from);
5017
0
    return *this;
5018
0
  }
5019
  #if LANG_CXX11
5020
  GetCDCDBStreamInfoRequestPB(GetCDCDBStreamInfoRequestPB&& from) noexcept
5021
0
    : GetCDCDBStreamInfoRequestPB() {
5022
0
    *this = ::std::move(from);
5023
0
  }
5024
5025
0
  inline GetCDCDBStreamInfoRequestPB& operator=(GetCDCDBStreamInfoRequestPB&& from) noexcept {
5026
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5027
0
      if (this != &from) InternalSwap(&from);
5028
0
    } else {
5029
0
      CopyFrom(from);
5030
0
    }
5031
0
    return *this;
5032
0
  }
5033
  #endif
5034
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5035
0
    return _internal_metadata_.unknown_fields();
5036
0
  }
5037
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5038
0
    return _internal_metadata_.mutable_unknown_fields();
5039
0
  }
5040
5041
  static const ::google::protobuf::Descriptor* descriptor();
5042
  static const GetCDCDBStreamInfoRequestPB& default_instance();
5043
5044
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
5045
16.4k
  static inline const GetCDCDBStreamInfoRequestPB* internal_default_instance() {
5046
16.4k
    return reinterpret_cast<const GetCDCDBStreamInfoRequestPB*>(
5047
16.4k
               &_GetCDCDBStreamInfoRequestPB_default_instance_);
5048
16.4k
  }
5049
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5050
    31;
5051
5052
  void Swap(GetCDCDBStreamInfoRequestPB* other);
5053
0
  friend void swap(GetCDCDBStreamInfoRequestPB& a, GetCDCDBStreamInfoRequestPB& b) {
5054
0
    a.Swap(&b);
5055
0
  }
5056
5057
  // implements Message ----------------------------------------------
5058
5059
0
  inline GetCDCDBStreamInfoRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
5060
5061
  GetCDCDBStreamInfoRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5062
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5063
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5064
  void CopyFrom(const GetCDCDBStreamInfoRequestPB& from);
5065
  void MergeFrom(const GetCDCDBStreamInfoRequestPB& from);
5066
  void Clear() PROTOBUF_FINAL;
5067
  bool IsInitialized() const PROTOBUF_FINAL;
5068
5069
  size_t ByteSizeLong() const PROTOBUF_FINAL;
5070
  bool MergePartialFromCodedStream(
5071
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5072
  void SerializeWithCachedSizes(
5073
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5074
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5075
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
5076
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5077
  private:
5078
  void SharedCtor();
5079
  void SharedDtor();
5080
  void SetCachedSize(int size) const PROTOBUF_FINAL;
5081
  void InternalSwap(GetCDCDBStreamInfoRequestPB* other);
5082
  private:
5083
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5084
0
    return NULL;
5085
0
  }
5086
0
  inline void* MaybeArenaPtr() const {
5087
0
    return NULL;
5088
0
  }
5089
  public:
5090
5091
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5092
5093
  // nested types ----------------------------------------------------
5094
5095
  // accessors -------------------------------------------------------
5096
5097
  // optional bytes db_stream_id = 1;
5098
  bool has_db_stream_id() const;
5099
  void clear_db_stream_id();
5100
  static const int kDbStreamIdFieldNumber = 1;
5101
  const ::std::string& db_stream_id() const;
5102
  void set_db_stream_id(const ::std::string& value);
5103
  #if LANG_CXX11
5104
  void set_db_stream_id(::std::string&& value);
5105
  #endif
5106
  void set_db_stream_id(const char* value);
5107
  void set_db_stream_id(const void* value, size_t size);
5108
  ::std::string* mutable_db_stream_id();
5109
  ::std::string* release_db_stream_id();
5110
  void set_allocated_db_stream_id(::std::string* db_stream_id);
5111
5112
  // @@protoc_insertion_point(class_scope:yb.cdc.GetCDCDBStreamInfoRequestPB)
5113
 private:
5114
  void set_has_db_stream_id();
5115
  void clear_has_db_stream_id();
5116
5117
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5118
  ::google::protobuf::internal::HasBits<1> _has_bits_;
5119
  mutable int _cached_size_;
5120
  ::google::protobuf::internal::ArenaStringPtr db_stream_id_;
5121
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
5122
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCDCDBStreamInfoRequestPBImpl();
5123
};
5124
// -------------------------------------------------------------------
5125
5126
class GetCDCDBStreamInfoResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCDCDBStreamInfoResponsePB) */ {
5127
 public:
5128
  GetCDCDBStreamInfoResponsePB();
5129
  virtual ~GetCDCDBStreamInfoResponsePB();
5130
5131
  GetCDCDBStreamInfoResponsePB(const GetCDCDBStreamInfoResponsePB& from);
5132
5133
0
  inline GetCDCDBStreamInfoResponsePB& operator=(const GetCDCDBStreamInfoResponsePB& from) {
5134
0
    CopyFrom(from);
5135
0
    return *this;
5136
0
  }
5137
  #if LANG_CXX11
5138
  GetCDCDBStreamInfoResponsePB(GetCDCDBStreamInfoResponsePB&& from) noexcept
5139
0
    : GetCDCDBStreamInfoResponsePB() {
5140
0
    *this = ::std::move(from);
5141
0
  }
5142
5143
0
  inline GetCDCDBStreamInfoResponsePB& operator=(GetCDCDBStreamInfoResponsePB&& from) noexcept {
5144
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5145
0
      if (this != &from) InternalSwap(&from);
5146
0
    } else {
5147
0
      CopyFrom(from);
5148
0
    }
5149
0
    return *this;
5150
0
  }
5151
  #endif
5152
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5153
0
    return _internal_metadata_.unknown_fields();
5154
0
  }
5155
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5156
0
    return _internal_metadata_.mutable_unknown_fields();
5157
0
  }
5158
5159
  static const ::google::protobuf::Descriptor* descriptor();
5160
  static const GetCDCDBStreamInfoResponsePB& default_instance();
5161
5162
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
5163
16.4k
  static inline const GetCDCDBStreamInfoResponsePB* internal_default_instance() {
5164
16.4k
    return reinterpret_cast<const GetCDCDBStreamInfoResponsePB*>(
5165
16.4k
               &_GetCDCDBStreamInfoResponsePB_default_instance_);
5166
16.4k
  }
5167
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5168
    32;
5169
5170
  void Swap(GetCDCDBStreamInfoResponsePB* other);
5171
0
  friend void swap(GetCDCDBStreamInfoResponsePB& a, GetCDCDBStreamInfoResponsePB& b) {
5172
0
    a.Swap(&b);
5173
0
  }
5174
5175
  // implements Message ----------------------------------------------
5176
5177
0
  inline GetCDCDBStreamInfoResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
5178
5179
  GetCDCDBStreamInfoResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5180
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5181
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5182
  void CopyFrom(const GetCDCDBStreamInfoResponsePB& from);
5183
  void MergeFrom(const GetCDCDBStreamInfoResponsePB& from);
5184
  void Clear() PROTOBUF_FINAL;
5185
  bool IsInitialized() const PROTOBUF_FINAL;
5186
5187
  size_t ByteSizeLong() const PROTOBUF_FINAL;
5188
  bool MergePartialFromCodedStream(
5189
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5190
  void SerializeWithCachedSizes(
5191
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5192
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5193
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
5194
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5195
  private:
5196
  void SharedCtor();
5197
  void SharedDtor();
5198
  void SetCachedSize(int size) const PROTOBUF_FINAL;
5199
  void InternalSwap(GetCDCDBStreamInfoResponsePB* other);
5200
  private:
5201
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5202
0
    return NULL;
5203
0
  }
5204
0
  inline void* MaybeArenaPtr() const {
5205
0
    return NULL;
5206
0
  }
5207
  public:
5208
5209
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5210
5211
  // nested types ----------------------------------------------------
5212
5213
  // accessors -------------------------------------------------------
5214
5215
  // repeated .yb.cdc.TableInfo table_info = 3;
5216
  int table_info_size() const;
5217
  void clear_table_info();
5218
  static const int kTableInfoFieldNumber = 3;
5219
  const ::yb::cdc::TableInfo& table_info(int index) const;
5220
  ::yb::cdc::TableInfo* mutable_table_info(int index);
5221
  ::yb::cdc::TableInfo* add_table_info();
5222
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >*
5223
      mutable_table_info();
5224
  const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >&
5225
      table_info() const;
5226
5227
  // optional bytes namespace_id = 2;
5228
  bool has_namespace_id() const;
5229
  void clear_namespace_id();
5230
  static const int kNamespaceIdFieldNumber = 2;
5231
  const ::std::string& namespace_id() const;
5232
  void set_namespace_id(const ::std::string& value);
5233
  #if LANG_CXX11
5234
  void set_namespace_id(::std::string&& value);
5235
  #endif
5236
  void set_namespace_id(const char* value);
5237
  void set_namespace_id(const void* value, size_t size);
5238
  ::std::string* mutable_namespace_id();
5239
  ::std::string* release_namespace_id();
5240
  void set_allocated_namespace_id(::std::string* namespace_id);
5241
5242
  // optional .yb.cdc.CDCErrorPB error = 1;
5243
  bool has_error() const;
5244
  void clear_error();
5245
  static const int kErrorFieldNumber = 1;
5246
  const ::yb::cdc::CDCErrorPB& error() const;
5247
  ::yb::cdc::CDCErrorPB* release_error();
5248
  ::yb::cdc::CDCErrorPB* mutable_error();
5249
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
5250
5251
  // @@protoc_insertion_point(class_scope:yb.cdc.GetCDCDBStreamInfoResponsePB)
5252
 private:
5253
  void set_has_error();
5254
  void clear_has_error();
5255
  void set_has_namespace_id();
5256
  void clear_has_namespace_id();
5257
5258
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5259
  ::google::protobuf::internal::HasBits<1> _has_bits_;
5260
  mutable int _cached_size_;
5261
  ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo > table_info_;
5262
  ::google::protobuf::internal::ArenaStringPtr namespace_id_;
5263
  ::yb::cdc::CDCErrorPB* error_;
5264
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
5265
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCDCDBStreamInfoResponsePBImpl();
5266
};
5267
// -------------------------------------------------------------------
5268
5269
class SetCDCCheckpointRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.SetCDCCheckpointRequestPB) */ {
5270
 public:
5271
  SetCDCCheckpointRequestPB();
5272
  virtual ~SetCDCCheckpointRequestPB();
5273
5274
  SetCDCCheckpointRequestPB(const SetCDCCheckpointRequestPB& from);
5275
5276
0
  inline SetCDCCheckpointRequestPB& operator=(const SetCDCCheckpointRequestPB& from) {
5277
0
    CopyFrom(from);
5278
0
    return *this;
5279
0
  }
5280
  #if LANG_CXX11
5281
  SetCDCCheckpointRequestPB(SetCDCCheckpointRequestPB&& from) noexcept
5282
0
    : SetCDCCheckpointRequestPB() {
5283
0
    *this = ::std::move(from);
5284
0
  }
5285
5286
0
  inline SetCDCCheckpointRequestPB& operator=(SetCDCCheckpointRequestPB&& from) noexcept {
5287
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5288
0
      if (this != &from) InternalSwap(&from);
5289
0
    } else {
5290
0
      CopyFrom(from);
5291
0
    }
5292
0
    return *this;
5293
0
  }
5294
  #endif
5295
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5296
0
    return _internal_metadata_.unknown_fields();
5297
0
  }
5298
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5299
0
    return _internal_metadata_.mutable_unknown_fields();
5300
0
  }
5301
5302
  static const ::google::protobuf::Descriptor* descriptor();
5303
  static const SetCDCCheckpointRequestPB& default_instance();
5304
5305
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
5306
16.4k
  static inline const SetCDCCheckpointRequestPB* internal_default_instance() {
5307
16.4k
    return reinterpret_cast<const SetCDCCheckpointRequestPB*>(
5308
16.4k
               &_SetCDCCheckpointRequestPB_default_instance_);
5309
16.4k
  }
5310
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5311
    33;
5312
5313
  void Swap(SetCDCCheckpointRequestPB* other);
5314
0
  friend void swap(SetCDCCheckpointRequestPB& a, SetCDCCheckpointRequestPB& b) {
5315
0
    a.Swap(&b);
5316
0
  }
5317
5318
  // implements Message ----------------------------------------------
5319
5320
0
  inline SetCDCCheckpointRequestPB* New() const PROTOBUF_FINAL { return New(NULL); }
5321
5322
  SetCDCCheckpointRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5323
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5324
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5325
  void CopyFrom(const SetCDCCheckpointRequestPB& from);
5326
  void MergeFrom(const SetCDCCheckpointRequestPB& from);
5327
  void Clear() PROTOBUF_FINAL;
5328
  bool IsInitialized() const PROTOBUF_FINAL;
5329
5330
  size_t ByteSizeLong() const PROTOBUF_FINAL;
5331
  bool MergePartialFromCodedStream(
5332
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5333
  void SerializeWithCachedSizes(
5334
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5335
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5336
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
5337
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5338
  private:
5339
  void SharedCtor();
5340
  void SharedDtor();
5341
  void SetCachedSize(int size) const PROTOBUF_FINAL;
5342
  void InternalSwap(SetCDCCheckpointRequestPB* other);
5343
  private:
5344
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5345
0
    return NULL;
5346
0
  }
5347
0
  inline void* MaybeArenaPtr() const {
5348
0
    return NULL;
5349
0
  }
5350
  public:
5351
5352
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5353
5354
  // nested types ----------------------------------------------------
5355
5356
  // accessors -------------------------------------------------------
5357
5358
  // optional bytes stream_id = 3;
5359
  bool has_stream_id() const;
5360
  void clear_stream_id();
5361
  static const int kStreamIdFieldNumber = 3;
5362
  const ::std::string& stream_id() const;
5363
  void set_stream_id(const ::std::string& value);
5364
  #if LANG_CXX11
5365
  void set_stream_id(::std::string&& value);
5366
  #endif
5367
  void set_stream_id(const char* value);
5368
  void set_stream_id(const void* value, size_t size);
5369
  ::std::string* mutable_stream_id();
5370
  ::std::string* release_stream_id();
5371
  void set_allocated_stream_id(::std::string* stream_id);
5372
5373
  // optional bytes tablet_id = 4;
5374
  bool has_tablet_id() const;
5375
  void clear_tablet_id();
5376
  static const int kTabletIdFieldNumber = 4;
5377
  const ::std::string& tablet_id() const;
5378
  void set_tablet_id(const ::std::string& value);
5379
  #if LANG_CXX11
5380
  void set_tablet_id(::std::string&& value);
5381
  #endif
5382
  void set_tablet_id(const char* value);
5383
  void set_tablet_id(const void* value, size_t size);
5384
  ::std::string* mutable_tablet_id();
5385
  ::std::string* release_tablet_id();
5386
  void set_allocated_tablet_id(::std::string* tablet_id);
5387
5388
  // optional .yb.cdc.CDCCheckpointPB checkpoint = 1;
5389
  bool has_checkpoint() const;
5390
  void clear_checkpoint();
5391
  static const int kCheckpointFieldNumber = 1;
5392
  const ::yb::cdc::CDCCheckpointPB& checkpoint() const;
5393
  ::yb::cdc::CDCCheckpointPB* release_checkpoint();
5394
  ::yb::cdc::CDCCheckpointPB* mutable_checkpoint();
5395
  void set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint);
5396
5397
  // optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 2;
5398
  bool has_cdc_sdk_checkpoint() const;
5399
  void clear_cdc_sdk_checkpoint();
5400
  static const int kCdcSdkCheckpointFieldNumber = 2;
5401
  const ::yb::cdc::CDCSDKCheckpointPB& cdc_sdk_checkpoint() const;
5402
  ::yb::cdc::CDCSDKCheckpointPB* release_cdc_sdk_checkpoint();
5403
  ::yb::cdc::CDCSDKCheckpointPB* mutable_cdc_sdk_checkpoint();
5404
  void set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint);
5405
5406
  // @@protoc_insertion_point(class_scope:yb.cdc.SetCDCCheckpointRequestPB)
5407
 private:
5408
  void set_has_checkpoint();
5409
  void clear_has_checkpoint();
5410
  void set_has_cdc_sdk_checkpoint();
5411
  void clear_has_cdc_sdk_checkpoint();
5412
  void set_has_stream_id();
5413
  void clear_has_stream_id();
5414
  void set_has_tablet_id();
5415
  void clear_has_tablet_id();
5416
5417
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5418
  ::google::protobuf::internal::HasBits<1> _has_bits_;
5419
  mutable int _cached_size_;
5420
  ::google::protobuf::internal::ArenaStringPtr stream_id_;
5421
  ::google::protobuf::internal::ArenaStringPtr tablet_id_;
5422
  ::yb::cdc::CDCCheckpointPB* checkpoint_;
5423
  ::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint_;
5424
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
5425
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsSetCDCCheckpointRequestPBImpl();
5426
};
5427
// -------------------------------------------------------------------
5428
5429
class SetCDCCheckpointResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.SetCDCCheckpointResponsePB) */ {
5430
 public:
5431
  SetCDCCheckpointResponsePB();
5432
  virtual ~SetCDCCheckpointResponsePB();
5433
5434
  SetCDCCheckpointResponsePB(const SetCDCCheckpointResponsePB& from);
5435
5436
0
  inline SetCDCCheckpointResponsePB& operator=(const SetCDCCheckpointResponsePB& from) {
5437
0
    CopyFrom(from);
5438
0
    return *this;
5439
0
  }
5440
  #if LANG_CXX11
5441
  SetCDCCheckpointResponsePB(SetCDCCheckpointResponsePB&& from) noexcept
5442
6
    : SetCDCCheckpointResponsePB() {
5443
6
    *this = ::std::move(from);
5444
6
  }
Unexecuted instantiation: yb::cdc::SetCDCCheckpointResponsePB::SetCDCCheckpointResponsePB(yb::cdc::SetCDCCheckpointResponsePB&&)
yb::cdc::SetCDCCheckpointResponsePB::SetCDCCheckpointResponsePB(yb::cdc::SetCDCCheckpointResponsePB&&)
Line
Count
Source
5442
6
    : SetCDCCheckpointResponsePB() {
5443
6
    *this = ::std::move(from);
5444
6
  }
5445
5446
6
  inline SetCDCCheckpointResponsePB& operator=(SetCDCCheckpointResponsePB&& from) noexcept {
5447
6
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5448
6
      if (this != &from) InternalSwap(&from);
5449
6
    } else {
5450
0
      CopyFrom(from);
5451
0
    }
5452
6
    return *this;
5453
6
  }
5454
  #endif
5455
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5456
0
    return _internal_metadata_.unknown_fields();
5457
0
  }
5458
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5459
0
    return _internal_metadata_.mutable_unknown_fields();
5460
0
  }
5461
5462
  static const ::google::protobuf::Descriptor* descriptor();
5463
  static const SetCDCCheckpointResponsePB& default_instance();
5464
5465
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
5466
16.5k
  static inline const SetCDCCheckpointResponsePB* internal_default_instance() {
5467
16.5k
    return reinterpret_cast<const SetCDCCheckpointResponsePB*>(
5468
16.5k
               &_SetCDCCheckpointResponsePB_default_instance_);
5469
16.5k
  }
5470
  static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5471
    34;
5472
5473
  void Swap(SetCDCCheckpointResponsePB* other);
5474
0
  friend void swap(SetCDCCheckpointResponsePB& a, SetCDCCheckpointResponsePB& b) {
5475
0
    a.Swap(&b);
5476
0
  }
5477
5478
  // implements Message ----------------------------------------------
5479
5480
0
  inline SetCDCCheckpointResponsePB* New() const PROTOBUF_FINAL { return New(NULL); }
5481
5482
  SetCDCCheckpointResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5483
  void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5484
  void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5485
  void CopyFrom(const SetCDCCheckpointResponsePB& from);
5486
  void MergeFrom(const SetCDCCheckpointResponsePB& from);
5487
  void Clear() PROTOBUF_FINAL;
5488
  bool IsInitialized() const PROTOBUF_FINAL;
5489
5490
  size_t ByteSizeLong() const PROTOBUF_FINAL;
5491
  bool MergePartialFromCodedStream(
5492
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5493
  void SerializeWithCachedSizes(
5494
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5495
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5496
      bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
5497
0
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5498
  private:
5499
  void SharedCtor();
5500
  void SharedDtor();
5501
  void SetCachedSize(int size) const PROTOBUF_FINAL;
5502
  void InternalSwap(SetCDCCheckpointResponsePB* other);
5503
  private:
5504
12
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5505
12
    return NULL;
5506
12
  }
5507
0
  inline void* MaybeArenaPtr() const {
5508
0
    return NULL;
5509
0
  }
5510
  public:
5511
5512
  ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5513
5514
  // nested types ----------------------------------------------------
5515
5516
  // accessors -------------------------------------------------------
5517
5518
  // optional .yb.cdc.CDCErrorPB error = 1;
5519
  bool has_error() const;
5520
  void clear_error();
5521
  static const int kErrorFieldNumber = 1;
5522
  const ::yb::cdc::CDCErrorPB& error() const;
5523
  ::yb::cdc::CDCErrorPB* release_error();
5524
  ::yb::cdc::CDCErrorPB* mutable_error();
5525
  void set_allocated_error(::yb::cdc::CDCErrorPB* error);
5526
5527
  // @@protoc_insertion_point(class_scope:yb.cdc.SetCDCCheckpointResponsePB)
5528
 private:
5529
  void set_has_error();
5530
  void clear_has_error();
5531
5532
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5533
  ::google::protobuf::internal::HasBits<1> _has_bits_;
5534
  mutable int _cached_size_;
5535
  ::yb::cdc::CDCErrorPB* error_;
5536
  friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct;
5537
  friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsSetCDCCheckpointResponsePBImpl();
5538
};
5539
// ===================================================================
5540
5541
5542
// ===================================================================
5543
5544
#ifdef __GNUC__
5545
  #pragma GCC diagnostic push
5546
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
5547
#endif  // __GNUC__
5548
// CDCErrorPB
5549
5550
// optional .yb.cdc.CDCErrorPB.Code code = 1 [default = UNKNOWN_ERROR];
5551
4
inline bool CDCErrorPB::has_code() const {
5552
4
  return (_has_bits_[0] & 0x00000002u) != 0;
5553
4
}
5554
2
inline void CDCErrorPB::set_has_code() {
5555
2
  _has_bits_[0] |= 0x00000002u;
5556
2
}
5557
0
inline void CDCErrorPB::clear_has_code() {
5558
0
  _has_bits_[0] &= ~0x00000002u;
5559
0
}
5560
0
inline void CDCErrorPB::clear_code() {
5561
0
  code_ = 1;
5562
0
  clear_has_code();
5563
0
}
5564
6
inline ::yb::cdc::CDCErrorPB_Code CDCErrorPB::code() const {
5565
  // @@protoc_insertion_point(field_get:yb.cdc.CDCErrorPB.code)
5566
6
  return static_cast< ::yb::cdc::CDCErrorPB_Code >(code_);
5567
6
}
5568
2
inline void CDCErrorPB::set_code(::yb::cdc::CDCErrorPB_Code value) {
5569
2
  assert(::yb::cdc::CDCErrorPB_Code_IsValid(value));
5570
0
  set_has_code();
5571
2
  code_ = value;
5572
  // @@protoc_insertion_point(field_set:yb.cdc.CDCErrorPB.code)
5573
2
}
5574
5575
// optional .yb.AppStatusPB status = 2;
5576
6
inline bool CDCErrorPB::has_status() const {
5577
6
  return (_has_bits_[0] & 0x00000001u) != 0;
5578
6
}
5579
2
inline void CDCErrorPB::set_has_status() {
5580
2
  _has_bits_[0] |= 0x00000001u;
5581
2
}
5582
0
inline void CDCErrorPB::clear_has_status() {
5583
0
  _has_bits_[0] &= ~0x00000001u;
5584
0
}
5585
0
inline const ::yb::AppStatusPB& CDCErrorPB::status() const {
5586
0
  const ::yb::AppStatusPB* p = status_;
5587
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCErrorPB.status)
5588
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>(
5589
0
      &::yb::_AppStatusPB_default_instance_);
5590
0
}
5591
0
inline ::yb::AppStatusPB* CDCErrorPB::release_status() {
5592
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCErrorPB.status)
5593
0
  clear_has_status();
5594
0
  ::yb::AppStatusPB* temp = status_;
5595
0
  status_ = NULL;
5596
0
  return temp;
5597
0
}
5598
2
inline ::yb::AppStatusPB* CDCErrorPB::mutable_status() {
5599
2
  set_has_status();
5600
2
  if (status_ == NULL) {
5601
2
    status_ = new ::yb::AppStatusPB;
5602
2
  }
5603
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCErrorPB.status)
5604
2
  return status_;
5605
2
}
5606
0
inline void CDCErrorPB::set_allocated_status(::yb::AppStatusPB* status) {
5607
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5608
0
  if (message_arena == NULL) {
5609
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(status_);
5610
0
  }
5611
0
  if (status) {
5612
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5613
0
    if (message_arena != submessage_arena) {
5614
0
      status = ::google::protobuf::internal::GetOwnedMessage(
5615
0
          message_arena, status, submessage_arena);
5616
0
    }
5617
0
    set_has_status();
5618
0
  } else {
5619
0
    clear_has_status();
5620
0
  }
5621
0
  status_ = status;
5622
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCErrorPB.status)
5623
0
}
5624
5625
// -------------------------------------------------------------------
5626
5627
// CreateCDCStreamRequestPB
5628
5629
// optional string table_id = 1;
5630
614
inline bool CreateCDCStreamRequestPB::has_table_id() const {
5631
614
  return (_has_bits_[0] & 0x00000001u) != 0;
5632
614
}
5633
0
inline void CreateCDCStreamRequestPB::set_has_table_id() {
5634
0
  _has_bits_[0] |= 0x00000001u;
5635
0
}
5636
0
inline void CreateCDCStreamRequestPB::clear_has_table_id() {
5637
0
  _has_bits_[0] &= ~0x00000001u;
5638
0
}
5639
0
inline void CreateCDCStreamRequestPB::clear_table_id() {
5640
0
  table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5641
0
  clear_has_table_id();
5642
0
}
5643
0
inline const ::std::string& CreateCDCStreamRequestPB::table_id() const {
5644
0
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.table_id)
5645
0
  return table_id_.GetNoArena();
5646
0
}
5647
0
inline void CreateCDCStreamRequestPB::set_table_id(const ::std::string& value) {
5648
0
  set_has_table_id();
5649
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5650
0
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.table_id)
5651
0
}
5652
#if LANG_CXX11
5653
0
inline void CreateCDCStreamRequestPB::set_table_id(::std::string&& value) {
5654
0
  set_has_table_id();
5655
0
  table_id_.SetNoArena(
5656
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5657
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamRequestPB.table_id)
5658
0
}
5659
#endif
5660
0
inline void CreateCDCStreamRequestPB::set_table_id(const char* value) {
5661
0
  GOOGLE_DCHECK(value != NULL);
5662
0
  set_has_table_id();
5663
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5664
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamRequestPB.table_id)
5665
0
}
5666
0
inline void CreateCDCStreamRequestPB::set_table_id(const char* value, size_t size) {
5667
0
  set_has_table_id();
5668
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5669
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5670
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamRequestPB.table_id)
5671
0
}
5672
0
inline ::std::string* CreateCDCStreamRequestPB::mutable_table_id() {
5673
0
  set_has_table_id();
5674
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamRequestPB.table_id)
5675
0
  return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5676
0
}
5677
0
inline ::std::string* CreateCDCStreamRequestPB::release_table_id() {
5678
0
  // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamRequestPB.table_id)
5679
0
  clear_has_table_id();
5680
0
  return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5681
0
}
5682
0
inline void CreateCDCStreamRequestPB::set_allocated_table_id(::std::string* table_id) {
5683
0
  if (table_id != NULL) {
5684
0
    set_has_table_id();
5685
0
  } else {
5686
0
    clear_has_table_id();
5687
0
  }
5688
0
  table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id);
5689
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamRequestPB.table_id)
5690
0
}
5691
5692
// optional .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE];
5693
0
inline bool CreateCDCStreamRequestPB::has_record_type() const {
5694
0
  return (_has_bits_[0] & 0x00000004u) != 0;
5695
0
}
5696
3
inline void CreateCDCStreamRequestPB::set_has_record_type() {
5697
3
  _has_bits_[0] |= 0x00000004u;
5698
3
}
5699
0
inline void CreateCDCStreamRequestPB::clear_has_record_type() {
5700
0
  _has_bits_[0] &= ~0x00000004u;
5701
0
}
5702
0
inline void CreateCDCStreamRequestPB::clear_record_type() {
5703
0
  record_type_ = 1;
5704
0
  clear_has_record_type();
5705
0
}
5706
612
inline ::yb::cdc::CDCRecordType CreateCDCStreamRequestPB::record_type() const {
5707
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.record_type)
5708
612
  return static_cast< ::yb::cdc::CDCRecordType >(record_type_);
5709
612
}
5710
3
inline void CreateCDCStreamRequestPB::set_record_type(::yb::cdc::CDCRecordType value) {
5711
3
  assert(::yb::cdc::CDCRecordType_IsValid(value));
5712
0
  set_has_record_type();
5713
3
  record_type_ = value;
5714
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.record_type)
5715
3
}
5716
5717
// optional .yb.cdc.CDCRecordFormat record_format = 3 [default = JSON];
5718
0
inline bool CreateCDCStreamRequestPB::has_record_format() const {
5719
0
  return (_has_bits_[0] & 0x00000008u) != 0;
5720
0
}
5721
307
inline void CreateCDCStreamRequestPB::set_has_record_format() {
5722
307
  _has_bits_[0] |= 0x00000008u;
5723
307
}
5724
0
inline void CreateCDCStreamRequestPB::clear_has_record_format() {
5725
0
  _has_bits_[0] &= ~0x00000008u;
5726
0
}
5727
0
inline void CreateCDCStreamRequestPB::clear_record_format() {
5728
0
  record_format_ = 1;
5729
0
  clear_has_record_format();
5730
0
}
5731
5.80k
inline ::yb::cdc::CDCRecordFormat CreateCDCStreamRequestPB::record_format() const {
5732
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.record_format)
5733
5.80k
  return static_cast< ::yb::cdc::CDCRecordFormat >(record_format_);
5734
5.80k
}
5735
307
inline void CreateCDCStreamRequestPB::set_record_format(::yb::cdc::CDCRecordFormat value) {
5736
307
  assert(::yb::cdc::CDCRecordFormat_IsValid(value));
5737
0
  set_has_record_format();
5738
307
  record_format_ = value;
5739
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.record_format)
5740
307
}
5741
5742
// optional string namespace_name = 4;
5743
1.22k
inline bool CreateCDCStreamRequestPB::has_namespace_name() const {
5744
1.22k
  return (_has_bits_[0] & 0x00000002u) != 0;
5745
1.22k
}
5746
307
inline void CreateCDCStreamRequestPB::set_has_namespace_name() {
5747
307
  _has_bits_[0] |= 0x00000002u;
5748
307
}
5749
0
inline void CreateCDCStreamRequestPB::clear_has_namespace_name() {
5750
0
  _has_bits_[0] &= ~0x00000002u;
5751
0
}
5752
0
inline void CreateCDCStreamRequestPB::clear_namespace_name() {
5753
0
  namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5754
0
  clear_has_namespace_name();
5755
0
}
5756
921
inline const ::std::string& CreateCDCStreamRequestPB::namespace_name() const {
5757
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5758
921
  return namespace_name_.GetNoArena();
5759
921
}
5760
0
inline void CreateCDCStreamRequestPB::set_namespace_name(const ::std::string& value) {
5761
0
  set_has_namespace_name();
5762
0
  namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5763
0
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5764
0
}
5765
#if LANG_CXX11
5766
0
inline void CreateCDCStreamRequestPB::set_namespace_name(::std::string&& value) {
5767
0
  set_has_namespace_name();
5768
0
  namespace_name_.SetNoArena(
5769
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5770
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5771
0
}
5772
#endif
5773
0
inline void CreateCDCStreamRequestPB::set_namespace_name(const char* value) {
5774
0
  GOOGLE_DCHECK(value != NULL);
5775
0
  set_has_namespace_name();
5776
0
  namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5777
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5778
0
}
5779
0
inline void CreateCDCStreamRequestPB::set_namespace_name(const char* value, size_t size) {
5780
0
  set_has_namespace_name();
5781
0
  namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5782
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5783
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5784
0
}
5785
307
inline ::std::string* CreateCDCStreamRequestPB::mutable_namespace_name() {
5786
307
  set_has_namespace_name();
5787
  // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5788
307
  return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5789
307
}
5790
0
inline ::std::string* CreateCDCStreamRequestPB::release_namespace_name() {
5791
0
  // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5792
0
  clear_has_namespace_name();
5793
0
  return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5794
0
}
5795
0
inline void CreateCDCStreamRequestPB::set_allocated_namespace_name(::std::string* namespace_name) {
5796
0
  if (namespace_name != NULL) {
5797
0
    set_has_namespace_name();
5798
0
  } else {
5799
0
    clear_has_namespace_name();
5800
0
  }
5801
0
  namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name);
5802
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamRequestPB.namespace_name)
5803
0
}
5804
5805
// optional .yb.cdc.CDCRequestSource source_type = 5 [default = XCLUSTER];
5806
0
inline bool CreateCDCStreamRequestPB::has_source_type() const {
5807
0
  return (_has_bits_[0] & 0x00000010u) != 0;
5808
0
}
5809
307
inline void CreateCDCStreamRequestPB::set_has_source_type() {
5810
307
  _has_bits_[0] |= 0x00000010u;
5811
307
}
5812
0
inline void CreateCDCStreamRequestPB::clear_has_source_type() {
5813
0
  _has_bits_[0] &= ~0x00000010u;
5814
0
}
5815
0
inline void CreateCDCStreamRequestPB::clear_source_type() {
5816
0
  source_type_ = 1;
5817
0
  clear_has_source_type();
5818
0
}
5819
919
inline ::yb::cdc::CDCRequestSource CreateCDCStreamRequestPB::source_type() const {
5820
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.source_type)
5821
919
  return static_cast< ::yb::cdc::CDCRequestSource >(source_type_);
5822
919
}
5823
307
inline void CreateCDCStreamRequestPB::set_source_type(::yb::cdc::CDCRequestSource value) {
5824
307
  assert(::yb::cdc::CDCRequestSource_IsValid(value));
5825
0
  set_has_source_type();
5826
307
  source_type_ = value;
5827
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.source_type)
5828
307
}
5829
5830
// optional .yb.cdc.CDCCheckpointType checkpoint_type = 6 [default = IMPLICIT];
5831
0
inline bool CreateCDCStreamRequestPB::has_checkpoint_type() const {
5832
0
  return (_has_bits_[0] & 0x00000020u) != 0;
5833
0
}
5834
307
inline void CreateCDCStreamRequestPB::set_has_checkpoint_type() {
5835
307
  _has_bits_[0] |= 0x00000020u;
5836
307
}
5837
0
inline void CreateCDCStreamRequestPB::clear_has_checkpoint_type() {
5838
0
  _has_bits_[0] &= ~0x00000020u;
5839
0
}
5840
0
inline void CreateCDCStreamRequestPB::clear_checkpoint_type() {
5841
0
  checkpoint_type_ = 1;
5842
0
  clear_has_checkpoint_type();
5843
0
}
5844
612
inline ::yb::cdc::CDCCheckpointType CreateCDCStreamRequestPB::checkpoint_type() const {
5845
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.checkpoint_type)
5846
612
  return static_cast< ::yb::cdc::CDCCheckpointType >(checkpoint_type_);
5847
612
}
5848
307
inline void CreateCDCStreamRequestPB::set_checkpoint_type(::yb::cdc::CDCCheckpointType value) {
5849
307
  assert(::yb::cdc::CDCCheckpointType_IsValid(value));
5850
0
  set_has_checkpoint_type();
5851
307
  checkpoint_type_ = value;
5852
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.checkpoint_type)
5853
307
}
5854
5855
// -------------------------------------------------------------------
5856
5857
// CreateCDCStreamResponsePB
5858
5859
// optional .yb.cdc.CDCErrorPB error = 1;
5860
921
inline bool CreateCDCStreamResponsePB::has_error() const {
5861
921
  return (_has_bits_[0] & 0x00000004u) != 0;
5862
921
}
5863
1
inline void CreateCDCStreamResponsePB::set_has_error() {
5864
1
  _has_bits_[0] |= 0x00000004u;
5865
1
}
5866
0
inline void CreateCDCStreamResponsePB::clear_has_error() {
5867
0
  _has_bits_[0] &= ~0x00000004u;
5868
0
}
5869
0
inline void CreateCDCStreamResponsePB::clear_error() {
5870
0
  if (error_ != NULL) error_->Clear();
5871
0
  clear_has_error();
5872
0
}
5873
0
inline const ::yb::cdc::CDCErrorPB& CreateCDCStreamResponsePB::error() const {
5874
0
  const ::yb::cdc::CDCErrorPB* p = error_;
5875
0
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamResponsePB.error)
5876
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
5877
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
5878
0
}
5879
0
inline ::yb::cdc::CDCErrorPB* CreateCDCStreamResponsePB::release_error() {
5880
0
  // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamResponsePB.error)
5881
0
  clear_has_error();
5882
0
  ::yb::cdc::CDCErrorPB* temp = error_;
5883
0
  error_ = NULL;
5884
0
  return temp;
5885
0
}
5886
1
inline ::yb::cdc::CDCErrorPB* CreateCDCStreamResponsePB::mutable_error() {
5887
1
  set_has_error();
5888
1
  if (error_ == NULL) {
5889
1
    error_ = new ::yb::cdc::CDCErrorPB;
5890
1
  }
5891
  // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamResponsePB.error)
5892
1
  return error_;
5893
1
}
5894
0
inline void CreateCDCStreamResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
5895
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5896
0
  if (message_arena == NULL) {
5897
0
    delete error_;
5898
0
  }
5899
0
  if (error) {
5900
0
    ::google::protobuf::Arena* submessage_arena = NULL;
5901
0
    if (message_arena != submessage_arena) {
5902
0
      error = ::google::protobuf::internal::GetOwnedMessage(
5903
0
          message_arena, error, submessage_arena);
5904
0
    }
5905
0
    set_has_error();
5906
0
  } else {
5907
0
    clear_has_error();
5908
0
  }
5909
0
  error_ = error;
5910
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamResponsePB.error)
5911
0
}
5912
5913
// optional bytes stream_id = 2;
5914
614
inline bool CreateCDCStreamResponsePB::has_stream_id() const {
5915
614
  return (_has_bits_[0] & 0x00000001u) != 0;
5916
614
}
5917
0
inline void CreateCDCStreamResponsePB::set_has_stream_id() {
5918
0
  _has_bits_[0] |= 0x00000001u;
5919
0
}
5920
0
inline void CreateCDCStreamResponsePB::clear_has_stream_id() {
5921
0
  _has_bits_[0] &= ~0x00000001u;
5922
0
}
5923
0
inline void CreateCDCStreamResponsePB::clear_stream_id() {
5924
0
  stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5925
0
  clear_has_stream_id();
5926
0
}
5927
0
inline const ::std::string& CreateCDCStreamResponsePB::stream_id() const {
5928
0
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5929
0
  return stream_id_.GetNoArena();
5930
0
}
5931
0
inline void CreateCDCStreamResponsePB::set_stream_id(const ::std::string& value) {
5932
0
  set_has_stream_id();
5933
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5934
0
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5935
0
}
5936
#if LANG_CXX11
5937
0
inline void CreateCDCStreamResponsePB::set_stream_id(::std::string&& value) {
5938
0
  set_has_stream_id();
5939
0
  stream_id_.SetNoArena(
5940
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
5941
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5942
0
}
5943
#endif
5944
0
inline void CreateCDCStreamResponsePB::set_stream_id(const char* value) {
5945
0
  GOOGLE_DCHECK(value != NULL);
5946
0
  set_has_stream_id();
5947
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
5948
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5949
0
}
5950
0
inline void CreateCDCStreamResponsePB::set_stream_id(const void* value, size_t size) {
5951
0
  set_has_stream_id();
5952
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
5953
0
      ::std::string(reinterpret_cast<const char*>(value), size));
5954
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5955
0
}
5956
0
inline ::std::string* CreateCDCStreamResponsePB::mutable_stream_id() {
5957
0
  set_has_stream_id();
5958
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5959
0
  return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5960
0
}
5961
0
inline ::std::string* CreateCDCStreamResponsePB::release_stream_id() {
5962
0
  // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5963
0
  clear_has_stream_id();
5964
0
  return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5965
0
}
5966
0
inline void CreateCDCStreamResponsePB::set_allocated_stream_id(::std::string* stream_id) {
5967
0
  if (stream_id != NULL) {
5968
0
    set_has_stream_id();
5969
0
  } else {
5970
0
    clear_has_stream_id();
5971
0
  }
5972
0
  stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id);
5973
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamResponsePB.stream_id)
5974
0
}
5975
5976
// optional bytes db_stream_id = 3;
5977
614
inline bool CreateCDCStreamResponsePB::has_db_stream_id() const {
5978
614
  return (_has_bits_[0] & 0x00000002u) != 0;
5979
614
}
5980
306
inline void CreateCDCStreamResponsePB::set_has_db_stream_id() {
5981
306
  _has_bits_[0] |= 0x00000002u;
5982
306
}
5983
0
inline void CreateCDCStreamResponsePB::clear_has_db_stream_id() {
5984
0
  _has_bits_[0] &= ~0x00000002u;
5985
0
}
5986
0
inline void CreateCDCStreamResponsePB::clear_db_stream_id() {
5987
0
  db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
5988
0
  clear_has_db_stream_id();
5989
0
}
5990
918
inline const ::std::string& CreateCDCStreamResponsePB::db_stream_id() const {
5991
  // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
5992
918
  return db_stream_id_.GetNoArena();
5993
918
}
5994
306
inline void CreateCDCStreamResponsePB::set_db_stream_id(const ::std::string& value) {
5995
306
  set_has_db_stream_id();
5996
306
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
5997
  // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
5998
306
}
5999
#if LANG_CXX11
6000
0
inline void CreateCDCStreamResponsePB::set_db_stream_id(::std::string&& value) {
6001
0
  set_has_db_stream_id();
6002
0
  db_stream_id_.SetNoArena(
6003
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6004
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
6005
0
}
6006
#endif
6007
0
inline void CreateCDCStreamResponsePB::set_db_stream_id(const char* value) {
6008
0
  GOOGLE_DCHECK(value != NULL);
6009
0
  set_has_db_stream_id();
6010
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6011
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
6012
0
}
6013
0
inline void CreateCDCStreamResponsePB::set_db_stream_id(const void* value, size_t size) {
6014
0
  set_has_db_stream_id();
6015
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6016
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6017
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
6018
0
}
6019
0
inline ::std::string* CreateCDCStreamResponsePB::mutable_db_stream_id() {
6020
0
  set_has_db_stream_id();
6021
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
6022
0
  return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6023
0
}
6024
0
inline ::std::string* CreateCDCStreamResponsePB::release_db_stream_id() {
6025
0
  // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
6026
0
  clear_has_db_stream_id();
6027
0
  return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6028
0
}
6029
0
inline void CreateCDCStreamResponsePB::set_allocated_db_stream_id(::std::string* db_stream_id) {
6030
0
  if (db_stream_id != NULL) {
6031
0
    set_has_db_stream_id();
6032
0
  } else {
6033
0
    clear_has_db_stream_id();
6034
0
  }
6035
0
  db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id);
6036
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamResponsePB.db_stream_id)
6037
0
}
6038
6039
// -------------------------------------------------------------------
6040
6041
// DeleteCDCStreamRequestPB
6042
6043
// repeated bytes stream_id = 1;
6044
0
inline int DeleteCDCStreamRequestPB::stream_id_size() const {
6045
0
  return stream_id_.size();
6046
0
}
6047
0
inline void DeleteCDCStreamRequestPB::clear_stream_id() {
6048
0
  stream_id_.Clear();
6049
0
}
6050
0
inline const ::std::string& DeleteCDCStreamRequestPB::stream_id(int index) const {
6051
0
  // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6052
0
  return stream_id_.Get(index);
6053
0
}
6054
0
inline ::std::string* DeleteCDCStreamRequestPB::mutable_stream_id(int index) {
6055
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6056
0
  return stream_id_.Mutable(index);
6057
0
}
6058
0
inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const ::std::string& value) {
6059
0
  // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6060
0
  stream_id_.Mutable(index)->assign(value);
6061
0
}
6062
#if LANG_CXX11
6063
0
inline void DeleteCDCStreamRequestPB::set_stream_id(int index, ::std::string&& value) {
6064
0
  // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6065
0
  stream_id_.Mutable(index)->assign(std::move(value));
6066
0
}
6067
#endif
6068
0
inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const char* value) {
6069
0
  GOOGLE_DCHECK(value != NULL);
6070
0
  stream_id_.Mutable(index)->assign(value);
6071
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6072
0
}
6073
0
inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const void* value, size_t size) {
6074
0
  stream_id_.Mutable(index)->assign(
6075
0
    reinterpret_cast<const char*>(value), size);
6076
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6077
0
}
6078
0
inline ::std::string* DeleteCDCStreamRequestPB::add_stream_id() {
6079
0
  // @@protoc_insertion_point(field_add_mutable:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6080
0
  return stream_id_.Add();
6081
0
}
6082
0
inline void DeleteCDCStreamRequestPB::add_stream_id(const ::std::string& value) {
6083
0
  stream_id_.Add()->assign(value);
6084
0
  // @@protoc_insertion_point(field_add:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6085
0
}
6086
#if LANG_CXX11
6087
0
inline void DeleteCDCStreamRequestPB::add_stream_id(::std::string&& value) {
6088
0
  stream_id_.Add(std::move(value));
6089
0
  // @@protoc_insertion_point(field_add:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6090
0
}
6091
#endif
6092
0
inline void DeleteCDCStreamRequestPB::add_stream_id(const char* value) {
6093
0
  GOOGLE_DCHECK(value != NULL);
6094
0
  stream_id_.Add()->assign(value);
6095
0
  // @@protoc_insertion_point(field_add_char:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6096
0
}
6097
0
inline void DeleteCDCStreamRequestPB::add_stream_id(const void* value, size_t size) {
6098
0
  stream_id_.Add()->assign(reinterpret_cast<const char*>(value), size);
6099
0
  // @@protoc_insertion_point(field_add_pointer:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6100
0
}
6101
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
6102
0
DeleteCDCStreamRequestPB::stream_id() const {
6103
0
  // @@protoc_insertion_point(field_list:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6104
0
  return stream_id_;
6105
0
}
6106
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
6107
0
DeleteCDCStreamRequestPB::mutable_stream_id() {
6108
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.DeleteCDCStreamRequestPB.stream_id)
6109
0
  return &stream_id_;
6110
0
}
6111
6112
// optional bool ignore_errors = 2 [default = false];
6113
0
inline bool DeleteCDCStreamRequestPB::has_ignore_errors() const {
6114
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6115
0
}
6116
0
inline void DeleteCDCStreamRequestPB::set_has_ignore_errors() {
6117
0
  _has_bits_[0] |= 0x00000001u;
6118
0
}
6119
0
inline void DeleteCDCStreamRequestPB::clear_has_ignore_errors() {
6120
0
  _has_bits_[0] &= ~0x00000001u;
6121
0
}
6122
0
inline void DeleteCDCStreamRequestPB::clear_ignore_errors() {
6123
0
  ignore_errors_ = false;
6124
0
  clear_has_ignore_errors();
6125
0
}
6126
0
inline bool DeleteCDCStreamRequestPB::ignore_errors() const {
6127
0
  // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamRequestPB.ignore_errors)
6128
0
  return ignore_errors_;
6129
0
}
6130
0
inline void DeleteCDCStreamRequestPB::set_ignore_errors(bool value) {
6131
0
  set_has_ignore_errors();
6132
0
  ignore_errors_ = value;
6133
0
  // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.ignore_errors)
6134
0
}
6135
6136
// optional bool force_delete = 3 [default = false];
6137
0
inline bool DeleteCDCStreamRequestPB::has_force_delete() const {
6138
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6139
0
}
6140
0
inline void DeleteCDCStreamRequestPB::set_has_force_delete() {
6141
0
  _has_bits_[0] |= 0x00000002u;
6142
0
}
6143
0
inline void DeleteCDCStreamRequestPB::clear_has_force_delete() {
6144
0
  _has_bits_[0] &= ~0x00000002u;
6145
0
}
6146
0
inline void DeleteCDCStreamRequestPB::clear_force_delete() {
6147
0
  force_delete_ = false;
6148
0
  clear_has_force_delete();
6149
0
}
6150
0
inline bool DeleteCDCStreamRequestPB::force_delete() const {
6151
0
  // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamRequestPB.force_delete)
6152
0
  return force_delete_;
6153
0
}
6154
0
inline void DeleteCDCStreamRequestPB::set_force_delete(bool value) {
6155
0
  set_has_force_delete();
6156
0
  force_delete_ = value;
6157
0
  // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.force_delete)
6158
0
}
6159
6160
// -------------------------------------------------------------------
6161
6162
// DeleteCDCStreamResponsePB
6163
6164
// optional .yb.cdc.CDCErrorPB error = 1;
6165
0
inline bool DeleteCDCStreamResponsePB::has_error() const {
6166
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6167
0
}
6168
0
inline void DeleteCDCStreamResponsePB::set_has_error() {
6169
0
  _has_bits_[0] |= 0x00000001u;
6170
0
}
6171
0
inline void DeleteCDCStreamResponsePB::clear_has_error() {
6172
0
  _has_bits_[0] &= ~0x00000001u;
6173
0
}
6174
0
inline void DeleteCDCStreamResponsePB::clear_error() {
6175
0
  if (error_ != NULL) error_->Clear();
6176
0
  clear_has_error();
6177
0
}
6178
0
inline const ::yb::cdc::CDCErrorPB& DeleteCDCStreamResponsePB::error() const {
6179
0
  const ::yb::cdc::CDCErrorPB* p = error_;
6180
0
  // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamResponsePB.error)
6181
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
6182
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
6183
0
}
6184
0
inline ::yb::cdc::CDCErrorPB* DeleteCDCStreamResponsePB::release_error() {
6185
0
  // @@protoc_insertion_point(field_release:yb.cdc.DeleteCDCStreamResponsePB.error)
6186
0
  clear_has_error();
6187
0
  ::yb::cdc::CDCErrorPB* temp = error_;
6188
0
  error_ = NULL;
6189
0
  return temp;
6190
0
}
6191
0
inline ::yb::cdc::CDCErrorPB* DeleteCDCStreamResponsePB::mutable_error() {
6192
0
  set_has_error();
6193
0
  if (error_ == NULL) {
6194
0
    error_ = new ::yb::cdc::CDCErrorPB;
6195
0
  }
6196
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.DeleteCDCStreamResponsePB.error)
6197
0
  return error_;
6198
0
}
6199
0
inline void DeleteCDCStreamResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
6200
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6201
0
  if (message_arena == NULL) {
6202
0
    delete error_;
6203
0
  }
6204
0
  if (error) {
6205
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6206
0
    if (message_arena != submessage_arena) {
6207
0
      error = ::google::protobuf::internal::GetOwnedMessage(
6208
0
          message_arena, error, submessage_arena);
6209
0
    }
6210
0
    set_has_error();
6211
0
  } else {
6212
0
    clear_has_error();
6213
0
  }
6214
0
  error_ = error;
6215
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.DeleteCDCStreamResponsePB.error)
6216
0
}
6217
6218
// -------------------------------------------------------------------
6219
6220
// ListTabletsRequestPB
6221
6222
// optional string stream_id = 1;
6223
0
inline bool ListTabletsRequestPB::has_stream_id() const {
6224
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6225
0
}
6226
0
inline void ListTabletsRequestPB::set_has_stream_id() {
6227
0
  _has_bits_[0] |= 0x00000001u;
6228
0
}
6229
0
inline void ListTabletsRequestPB::clear_has_stream_id() {
6230
0
  _has_bits_[0] &= ~0x00000001u;
6231
0
}
6232
0
inline void ListTabletsRequestPB::clear_stream_id() {
6233
0
  stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6234
0
  clear_has_stream_id();
6235
0
}
6236
0
inline const ::std::string& ListTabletsRequestPB::stream_id() const {
6237
0
  // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsRequestPB.stream_id)
6238
0
  return stream_id_.GetNoArena();
6239
0
}
6240
0
inline void ListTabletsRequestPB::set_stream_id(const ::std::string& value) {
6241
0
  set_has_stream_id();
6242
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6243
0
  // @@protoc_insertion_point(field_set:yb.cdc.ListTabletsRequestPB.stream_id)
6244
0
}
6245
#if LANG_CXX11
6246
0
inline void ListTabletsRequestPB::set_stream_id(::std::string&& value) {
6247
0
  set_has_stream_id();
6248
0
  stream_id_.SetNoArena(
6249
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6250
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.ListTabletsRequestPB.stream_id)
6251
0
}
6252
#endif
6253
0
inline void ListTabletsRequestPB::set_stream_id(const char* value) {
6254
0
  GOOGLE_DCHECK(value != NULL);
6255
0
  set_has_stream_id();
6256
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6257
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.ListTabletsRequestPB.stream_id)
6258
0
}
6259
0
inline void ListTabletsRequestPB::set_stream_id(const char* value, size_t size) {
6260
0
  set_has_stream_id();
6261
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6262
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6263
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.ListTabletsRequestPB.stream_id)
6264
0
}
6265
0
inline ::std::string* ListTabletsRequestPB::mutable_stream_id() {
6266
0
  set_has_stream_id();
6267
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.ListTabletsRequestPB.stream_id)
6268
0
  return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6269
0
}
6270
0
inline ::std::string* ListTabletsRequestPB::release_stream_id() {
6271
0
  // @@protoc_insertion_point(field_release:yb.cdc.ListTabletsRequestPB.stream_id)
6272
0
  clear_has_stream_id();
6273
0
  return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6274
0
}
6275
0
inline void ListTabletsRequestPB::set_allocated_stream_id(::std::string* stream_id) {
6276
0
  if (stream_id != NULL) {
6277
0
    set_has_stream_id();
6278
0
  } else {
6279
0
    clear_has_stream_id();
6280
0
  }
6281
0
  stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id);
6282
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.ListTabletsRequestPB.stream_id)
6283
0
}
6284
6285
// optional bool local_only = 2 [default = false];
6286
0
inline bool ListTabletsRequestPB::has_local_only() const {
6287
0
  return (_has_bits_[0] & 0x00000002u) != 0;
6288
0
}
6289
0
inline void ListTabletsRequestPB::set_has_local_only() {
6290
0
  _has_bits_[0] |= 0x00000002u;
6291
0
}
6292
0
inline void ListTabletsRequestPB::clear_has_local_only() {
6293
0
  _has_bits_[0] &= ~0x00000002u;
6294
0
}
6295
0
inline void ListTabletsRequestPB::clear_local_only() {
6296
0
  local_only_ = false;
6297
0
  clear_has_local_only();
6298
0
}
6299
0
inline bool ListTabletsRequestPB::local_only() const {
6300
0
  // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsRequestPB.local_only)
6301
0
  return local_only_;
6302
0
}
6303
0
inline void ListTabletsRequestPB::set_local_only(bool value) {
6304
0
  set_has_local_only();
6305
0
  local_only_ = value;
6306
0
  // @@protoc_insertion_point(field_set:yb.cdc.ListTabletsRequestPB.local_only)
6307
0
}
6308
6309
// -------------------------------------------------------------------
6310
6311
// ListTabletsResponsePB
6312
6313
// optional .yb.cdc.CDCErrorPB error = 1;
6314
0
inline bool ListTabletsResponsePB::has_error() const {
6315
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6316
0
}
6317
0
inline void ListTabletsResponsePB::set_has_error() {
6318
0
  _has_bits_[0] |= 0x00000001u;
6319
0
}
6320
0
inline void ListTabletsResponsePB::clear_has_error() {
6321
0
  _has_bits_[0] &= ~0x00000001u;
6322
0
}
6323
0
inline void ListTabletsResponsePB::clear_error() {
6324
0
  if (error_ != NULL) error_->Clear();
6325
0
  clear_has_error();
6326
0
}
6327
0
inline const ::yb::cdc::CDCErrorPB& ListTabletsResponsePB::error() const {
6328
0
  const ::yb::cdc::CDCErrorPB* p = error_;
6329
0
  // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsResponsePB.error)
6330
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
6331
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
6332
0
}
6333
0
inline ::yb::cdc::CDCErrorPB* ListTabletsResponsePB::release_error() {
6334
0
  // @@protoc_insertion_point(field_release:yb.cdc.ListTabletsResponsePB.error)
6335
0
  clear_has_error();
6336
0
  ::yb::cdc::CDCErrorPB* temp = error_;
6337
0
  error_ = NULL;
6338
0
  return temp;
6339
0
}
6340
0
inline ::yb::cdc::CDCErrorPB* ListTabletsResponsePB::mutable_error() {
6341
0
  set_has_error();
6342
0
  if (error_ == NULL) {
6343
0
    error_ = new ::yb::cdc::CDCErrorPB;
6344
0
  }
6345
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.ListTabletsResponsePB.error)
6346
0
  return error_;
6347
0
}
6348
0
inline void ListTabletsResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
6349
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6350
0
  if (message_arena == NULL) {
6351
0
    delete error_;
6352
0
  }
6353
0
  if (error) {
6354
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6355
0
    if (message_arena != submessage_arena) {
6356
0
      error = ::google::protobuf::internal::GetOwnedMessage(
6357
0
          message_arena, error, submessage_arena);
6358
0
    }
6359
0
    set_has_error();
6360
0
  } else {
6361
0
    clear_has_error();
6362
0
  }
6363
0
  error_ = error;
6364
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.ListTabletsResponsePB.error)
6365
0
}
6366
6367
// repeated .yb.cdc.CDCTabletPB tablets = 2;
6368
0
inline int ListTabletsResponsePB::tablets_size() const {
6369
0
  return tablets_.size();
6370
0
}
6371
0
inline void ListTabletsResponsePB::clear_tablets() {
6372
0
  tablets_.Clear();
6373
0
}
6374
0
inline const ::yb::cdc::CDCTabletPB& ListTabletsResponsePB::tablets(int index) const {
6375
0
  // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsResponsePB.tablets)
6376
0
  return tablets_.Get(index);
6377
0
}
6378
0
inline ::yb::cdc::CDCTabletPB* ListTabletsResponsePB::mutable_tablets(int index) {
6379
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.ListTabletsResponsePB.tablets)
6380
0
  return tablets_.Mutable(index);
6381
0
}
6382
0
inline ::yb::cdc::CDCTabletPB* ListTabletsResponsePB::add_tablets() {
6383
0
  // @@protoc_insertion_point(field_add:yb.cdc.ListTabletsResponsePB.tablets)
6384
0
  return tablets_.Add();
6385
0
}
6386
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB >*
6387
0
ListTabletsResponsePB::mutable_tablets() {
6388
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.ListTabletsResponsePB.tablets)
6389
0
  return &tablets_;
6390
0
}
6391
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB >&
6392
0
ListTabletsResponsePB::tablets() const {
6393
0
  // @@protoc_insertion_point(field_list:yb.cdc.ListTabletsResponsePB.tablets)
6394
0
  return tablets_;
6395
0
}
6396
6397
// -------------------------------------------------------------------
6398
6399
// CDCTabletPB_ReplicaPB
6400
6401
// repeated .yb.HostPortPB broadcast_addresses = 1;
6402
0
inline int CDCTabletPB_ReplicaPB::broadcast_addresses_size() const {
6403
0
  return broadcast_addresses_.size();
6404
0
}
6405
0
inline const ::yb::HostPortPB& CDCTabletPB_ReplicaPB::broadcast_addresses(int index) const {
6406
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses)
6407
0
  return broadcast_addresses_.Get(index);
6408
0
}
6409
0
inline ::yb::HostPortPB* CDCTabletPB_ReplicaPB::mutable_broadcast_addresses(int index) {
6410
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses)
6411
0
  return broadcast_addresses_.Mutable(index);
6412
0
}
6413
0
inline ::yb::HostPortPB* CDCTabletPB_ReplicaPB::add_broadcast_addresses() {
6414
0
  // @@protoc_insertion_point(field_add:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses)
6415
0
  return broadcast_addresses_.Add();
6416
0
}
6417
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
6418
0
CDCTabletPB_ReplicaPB::mutable_broadcast_addresses() {
6419
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses)
6420
0
  return &broadcast_addresses_;
6421
0
}
6422
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
6423
0
CDCTabletPB_ReplicaPB::broadcast_addresses() const {
6424
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses)
6425
0
  return broadcast_addresses_;
6426
0
}
6427
6428
// -------------------------------------------------------------------
6429
6430
// CDCTabletPB
6431
6432
// optional bytes tablet_id = 1;
6433
0
inline bool CDCTabletPB::has_tablet_id() const {
6434
0
  return (_has_bits_[0] & 0x00000001u) != 0;
6435
0
}
6436
0
inline void CDCTabletPB::set_has_tablet_id() {
6437
0
  _has_bits_[0] |= 0x00000001u;
6438
0
}
6439
0
inline void CDCTabletPB::clear_has_tablet_id() {
6440
0
  _has_bits_[0] &= ~0x00000001u;
6441
0
}
6442
0
inline void CDCTabletPB::clear_tablet_id() {
6443
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6444
0
  clear_has_tablet_id();
6445
0
}
6446
0
inline const ::std::string& CDCTabletPB::tablet_id() const {
6447
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCTabletPB.tablet_id)
6448
0
  return tablet_id_.GetNoArena();
6449
0
}
6450
0
inline void CDCTabletPB::set_tablet_id(const ::std::string& value) {
6451
0
  set_has_tablet_id();
6452
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6453
0
  // @@protoc_insertion_point(field_set:yb.cdc.CDCTabletPB.tablet_id)
6454
0
}
6455
#if LANG_CXX11
6456
0
inline void CDCTabletPB::set_tablet_id(::std::string&& value) {
6457
0
  set_has_tablet_id();
6458
0
  tablet_id_.SetNoArena(
6459
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6460
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCTabletPB.tablet_id)
6461
0
}
6462
#endif
6463
0
inline void CDCTabletPB::set_tablet_id(const char* value) {
6464
0
  GOOGLE_DCHECK(value != NULL);
6465
0
  set_has_tablet_id();
6466
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6467
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CDCTabletPB.tablet_id)
6468
0
}
6469
0
inline void CDCTabletPB::set_tablet_id(const void* value, size_t size) {
6470
0
  set_has_tablet_id();
6471
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6472
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6473
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCTabletPB.tablet_id)
6474
0
}
6475
0
inline ::std::string* CDCTabletPB::mutable_tablet_id() {
6476
0
  set_has_tablet_id();
6477
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCTabletPB.tablet_id)
6478
0
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6479
0
}
6480
0
inline ::std::string* CDCTabletPB::release_tablet_id() {
6481
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCTabletPB.tablet_id)
6482
0
  clear_has_tablet_id();
6483
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6484
0
}
6485
0
inline void CDCTabletPB::set_allocated_tablet_id(::std::string* tablet_id) {
6486
0
  if (tablet_id != NULL) {
6487
0
    set_has_tablet_id();
6488
0
  } else {
6489
0
    clear_has_tablet_id();
6490
0
  }
6491
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
6492
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCTabletPB.tablet_id)
6493
0
}
6494
6495
// repeated .yb.cdc.CDCTabletPB.ReplicaPB tservers = 2;
6496
0
inline int CDCTabletPB::tservers_size() const {
6497
0
  return tservers_.size();
6498
0
}
6499
0
inline void CDCTabletPB::clear_tservers() {
6500
0
  tservers_.Clear();
6501
0
}
6502
0
inline const ::yb::cdc::CDCTabletPB_ReplicaPB& CDCTabletPB::tservers(int index) const {
6503
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCTabletPB.tservers)
6504
0
  return tservers_.Get(index);
6505
0
}
6506
0
inline ::yb::cdc::CDCTabletPB_ReplicaPB* CDCTabletPB::mutable_tservers(int index) {
6507
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCTabletPB.tservers)
6508
0
  return tservers_.Mutable(index);
6509
0
}
6510
0
inline ::yb::cdc::CDCTabletPB_ReplicaPB* CDCTabletPB::add_tservers() {
6511
0
  // @@protoc_insertion_point(field_add:yb.cdc.CDCTabletPB.tservers)
6512
0
  return tservers_.Add();
6513
0
}
6514
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB >*
6515
0
CDCTabletPB::mutable_tservers() {
6516
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCTabletPB.tservers)
6517
0
  return &tservers_;
6518
0
}
6519
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB >&
6520
0
CDCTabletPB::tservers() const {
6521
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCTabletPB.tservers)
6522
0
  return tservers_;
6523
0
}
6524
6525
// -------------------------------------------------------------------
6526
6527
// CDCSDKCheckpointPB
6528
6529
// optional int64 term = 1;
6530
1.28k
inline bool CDCSDKCheckpointPB::has_term() const {
6531
1.28k
  return (_has_bits_[0] & 0x00000002u) != 0;
6532
1.28k
}
6533
9.00k
inline void CDCSDKCheckpointPB::set_has_term() {
6534
9.00k
  _has_bits_[0] |= 0x00000002u;
6535
9.00k
}
6536
0
inline void CDCSDKCheckpointPB::clear_has_term() {
6537
0
  _has_bits_[0] &= ~0x00000002u;
6538
0
}
6539
0
inline void CDCSDKCheckpointPB::clear_term() {
6540
0
  term_ = GOOGLE_LONGLONG(0);
6541
0
  clear_has_term();
6542
0
}
6543
3.21k
inline ::google::protobuf::int64 CDCSDKCheckpointPB::term() const {
6544
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.term)
6545
3.21k
  return term_;
6546
3.21k
}
6547
8.96k
inline void CDCSDKCheckpointPB::set_term(::google::protobuf::int64 value) {
6548
8.96k
  set_has_term();
6549
8.96k
  term_ = value;
6550
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.term)
6551
8.96k
}
6552
6553
// optional int64 index = 2;
6554
1.28k
inline bool CDCSDKCheckpointPB::has_index() const {
6555
1.28k
  return (_has_bits_[0] & 0x00000004u) != 0;
6556
1.28k
}
6557
9.00k
inline void CDCSDKCheckpointPB::set_has_index() {
6558
9.00k
  _has_bits_[0] |= 0x00000004u;
6559
9.00k
}
6560
0
inline void CDCSDKCheckpointPB::clear_has_index() {
6561
0
  _has_bits_[0] &= ~0x00000004u;
6562
0
}
6563
0
inline void CDCSDKCheckpointPB::clear_index() {
6564
0
  index_ = GOOGLE_LONGLONG(0);
6565
0
  clear_has_index();
6566
0
}
6567
3.21k
inline ::google::protobuf::int64 CDCSDKCheckpointPB::index() const {
6568
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.index)
6569
3.21k
  return index_;
6570
3.21k
}
6571
8.96k
inline void CDCSDKCheckpointPB::set_index(::google::protobuf::int64 value) {
6572
8.96k
  set_has_index();
6573
8.96k
  index_ = value;
6574
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.index)
6575
8.96k
}
6576
6577
// optional bytes key = 3;
6578
1.28k
inline bool CDCSDKCheckpointPB::has_key() const {
6579
1.28k
  return (_has_bits_[0] & 0x00000001u) != 0;
6580
1.28k
}
6581
9.07k
inline void CDCSDKCheckpointPB::set_has_key() {
6582
9.07k
  _has_bits_[0] |= 0x00000001u;
6583
9.07k
}
6584
0
inline void CDCSDKCheckpointPB::clear_has_key() {
6585
0
  _has_bits_[0] &= ~0x00000001u;
6586
0
}
6587
0
inline void CDCSDKCheckpointPB::clear_key() {
6588
0
  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6589
0
  clear_has_key();
6590
0
}
6591
2.60k
inline const ::std::string& CDCSDKCheckpointPB::key() const {
6592
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.key)
6593
2.60k
  return key_.GetNoArena();
6594
2.60k
}
6595
8.36k
inline void CDCSDKCheckpointPB::set_key(const ::std::string& value) {
6596
8.36k
  set_has_key();
6597
8.36k
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6598
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.key)
6599
8.36k
}
6600
#if LANG_CXX11
6601
0
inline void CDCSDKCheckpointPB::set_key(::std::string&& value) {
6602
0
  set_has_key();
6603
0
  key_.SetNoArena(
6604
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6605
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCSDKCheckpointPB.key)
6606
0
}
6607
#endif
6608
0
inline void CDCSDKCheckpointPB::set_key(const char* value) {
6609
0
  GOOGLE_DCHECK(value != NULL);
6610
0
  set_has_key();
6611
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6612
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CDCSDKCheckpointPB.key)
6613
0
}
6614
0
inline void CDCSDKCheckpointPB::set_key(const void* value, size_t size) {
6615
0
  set_has_key();
6616
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6617
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6618
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCSDKCheckpointPB.key)
6619
0
}
6620
36
inline ::std::string* CDCSDKCheckpointPB::mutable_key() {
6621
36
  set_has_key();
6622
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKCheckpointPB.key)
6623
36
  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6624
36
}
6625
0
inline ::std::string* CDCSDKCheckpointPB::release_key() {
6626
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKCheckpointPB.key)
6627
0
  clear_has_key();
6628
0
  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6629
0
}
6630
0
inline void CDCSDKCheckpointPB::set_allocated_key(::std::string* key) {
6631
0
  if (key != NULL) {
6632
0
    set_has_key();
6633
0
  } else {
6634
0
    clear_has_key();
6635
0
  }
6636
0
  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
6637
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKCheckpointPB.key)
6638
0
}
6639
6640
// optional int32 write_id = 4 [default = 0];
6641
1.28k
inline bool CDCSDKCheckpointPB::has_write_id() const {
6642
1.28k
  return (_has_bits_[0] & 0x00000010u) != 0;
6643
1.28k
}
6644
8.40k
inline void CDCSDKCheckpointPB::set_has_write_id() {
6645
8.40k
  _has_bits_[0] |= 0x00000010u;
6646
8.40k
}
6647
0
inline void CDCSDKCheckpointPB::clear_has_write_id() {
6648
0
  _has_bits_[0] &= ~0x00000010u;
6649
0
}
6650
0
inline void CDCSDKCheckpointPB::clear_write_id() {
6651
0
  write_id_ = 0;
6652
0
  clear_has_write_id();
6653
0
}
6654
3.22k
inline ::google::protobuf::int32 CDCSDKCheckpointPB::write_id() const {
6655
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.write_id)
6656
3.22k
  return write_id_;
6657
3.22k
}
6658
8.36k
inline void CDCSDKCheckpointPB::set_write_id(::google::protobuf::int32 value) {
6659
8.36k
  set_has_write_id();
6660
8.36k
  write_id_ = value;
6661
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.write_id)
6662
8.36k
}
6663
6664
// optional uint64 snapshot_time = 5;
6665
1.28k
inline bool CDCSDKCheckpointPB::has_snapshot_time() const {
6666
1.28k
  return (_has_bits_[0] & 0x00000008u) != 0;
6667
1.28k
}
6668
8.25k
inline void CDCSDKCheckpointPB::set_has_snapshot_time() {
6669
8.25k
  _has_bits_[0] |= 0x00000008u;
6670
8.25k
}
6671
0
inline void CDCSDKCheckpointPB::clear_has_snapshot_time() {
6672
0
  _has_bits_[0] &= ~0x00000008u;
6673
0
}
6674
0
inline void CDCSDKCheckpointPB::clear_snapshot_time() {
6675
0
  snapshot_time_ = GOOGLE_ULONGLONG(0);
6676
0
  clear_has_snapshot_time();
6677
0
}
6678
1.98k
inline ::google::protobuf::uint64 CDCSDKCheckpointPB::snapshot_time() const {
6679
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.snapshot_time)
6680
1.98k
  return snapshot_time_;
6681
1.98k
}
6682
8.21k
inline void CDCSDKCheckpointPB::set_snapshot_time(::google::protobuf::uint64 value) {
6683
8.21k
  set_has_snapshot_time();
6684
8.21k
  snapshot_time_ = value;
6685
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.snapshot_time)
6686
8.21k
}
6687
6688
// -------------------------------------------------------------------
6689
6690
// CDCCheckpointPB
6691
6692
// optional .yb.OpIdPB op_id = 1;
6693
1.89k
inline bool CDCCheckpointPB::has_op_id() const {
6694
1.89k
  return (_has_bits_[0] & 0x00000001u) != 0;
6695
1.89k
}
6696
1.25k
inline void CDCCheckpointPB::set_has_op_id() {
6697
1.25k
  _has_bits_[0] |= 0x00000001u;
6698
1.25k
}
6699
0
inline void CDCCheckpointPB::clear_has_op_id() {
6700
0
  _has_bits_[0] &= ~0x00000001u;
6701
0
}
6702
1.27k
inline const ::yb::OpIdPB& CDCCheckpointPB::op_id() const {
6703
1.27k
  const ::yb::OpIdPB* p = op_id_;
6704
  // @@protoc_insertion_point(field_get:yb.cdc.CDCCheckpointPB.op_id)
6705
1.27k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
6706
0
      &::yb::_OpIdPB_default_instance_);
6707
1.27k
}
6708
0
inline ::yb::OpIdPB* CDCCheckpointPB::release_op_id() {
6709
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCCheckpointPB.op_id)
6710
0
  clear_has_op_id();
6711
0
  ::yb::OpIdPB* temp = op_id_;
6712
0
  op_id_ = NULL;
6713
0
  return temp;
6714
0
}
6715
1.25k
inline ::yb::OpIdPB* CDCCheckpointPB::mutable_op_id() {
6716
1.25k
  set_has_op_id();
6717
1.25k
  if (op_id_ == NULL) {
6718
637
    op_id_ = new ::yb::OpIdPB;
6719
637
  }
6720
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCCheckpointPB.op_id)
6721
1.25k
  return op_id_;
6722
1.25k
}
6723
0
inline void CDCCheckpointPB::set_allocated_op_id(::yb::OpIdPB* op_id) {
6724
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6725
0
  if (message_arena == NULL) {
6726
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(op_id_);
6727
0
  }
6728
0
  if (op_id) {
6729
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6730
0
    if (message_arena != submessage_arena) {
6731
0
      op_id = ::google::protobuf::internal::GetOwnedMessage(
6732
0
          message_arena, op_id, submessage_arena);
6733
0
    }
6734
0
    set_has_op_id();
6735
0
  } else {
6736
0
    clear_has_op_id();
6737
0
  }
6738
0
  op_id_ = op_id;
6739
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCCheckpointPB.op_id)
6740
0
}
6741
6742
// -------------------------------------------------------------------
6743
6744
// GetChangesRequestPB
6745
6746
// optional bytes stream_id = 1;
6747
642
inline bool GetChangesRequestPB::has_stream_id() const {
6748
642
  return (_has_bits_[0] & 0x00000001u) != 0;
6749
642
}
6750
0
inline void GetChangesRequestPB::set_has_stream_id() {
6751
0
  _has_bits_[0] |= 0x00000001u;
6752
0
}
6753
0
inline void GetChangesRequestPB::clear_has_stream_id() {
6754
0
  _has_bits_[0] &= ~0x00000001u;
6755
0
}
6756
0
inline void GetChangesRequestPB::clear_stream_id() {
6757
0
  stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6758
0
  clear_has_stream_id();
6759
0
}
6760
641
inline const ::std::string& GetChangesRequestPB::stream_id() const {
6761
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.stream_id)
6762
641
  return stream_id_.GetNoArena();
6763
641
}
6764
0
inline void GetChangesRequestPB::set_stream_id(const ::std::string& value) {
6765
0
  set_has_stream_id();
6766
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6767
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.stream_id)
6768
0
}
6769
#if LANG_CXX11
6770
0
inline void GetChangesRequestPB::set_stream_id(::std::string&& value) {
6771
0
  set_has_stream_id();
6772
0
  stream_id_.SetNoArena(
6773
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6774
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.stream_id)
6775
0
}
6776
#endif
6777
0
inline void GetChangesRequestPB::set_stream_id(const char* value) {
6778
0
  GOOGLE_DCHECK(value != NULL);
6779
0
  set_has_stream_id();
6780
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6781
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.stream_id)
6782
0
}
6783
0
inline void GetChangesRequestPB::set_stream_id(const void* value, size_t size) {
6784
0
  set_has_stream_id();
6785
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6786
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6787
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.stream_id)
6788
0
}
6789
0
inline ::std::string* GetChangesRequestPB::mutable_stream_id() {
6790
0
  set_has_stream_id();
6791
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.stream_id)
6792
0
  return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6793
0
}
6794
0
inline ::std::string* GetChangesRequestPB::release_stream_id() {
6795
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.stream_id)
6796
0
  clear_has_stream_id();
6797
0
  return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6798
0
}
6799
0
inline void GetChangesRequestPB::set_allocated_stream_id(::std::string* stream_id) {
6800
0
  if (stream_id != NULL) {
6801
0
    set_has_stream_id();
6802
0
  } else {
6803
0
    clear_has_stream_id();
6804
0
  }
6805
0
  stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id);
6806
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.stream_id)
6807
0
}
6808
6809
// optional bytes tablet_id = 2;
6810
642
inline bool GetChangesRequestPB::has_tablet_id() const {
6811
642
  return (_has_bits_[0] & 0x00000002u) != 0;
6812
642
}
6813
642
inline void GetChangesRequestPB::set_has_tablet_id() {
6814
642
  _has_bits_[0] |= 0x00000002u;
6815
642
}
6816
0
inline void GetChangesRequestPB::clear_has_tablet_id() {
6817
0
  _has_bits_[0] &= ~0x00000002u;
6818
0
}
6819
0
inline void GetChangesRequestPB::clear_tablet_id() {
6820
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6821
0
  clear_has_tablet_id();
6822
0
}
6823
3.83k
inline const ::std::string& GetChangesRequestPB::tablet_id() const {
6824
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.tablet_id)
6825
3.83k
  return tablet_id_.GetNoArena();
6826
3.83k
}
6827
0
inline void GetChangesRequestPB::set_tablet_id(const ::std::string& value) {
6828
0
  set_has_tablet_id();
6829
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6830
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.tablet_id)
6831
0
}
6832
#if LANG_CXX11
6833
0
inline void GetChangesRequestPB::set_tablet_id(::std::string&& value) {
6834
0
  set_has_tablet_id();
6835
0
  tablet_id_.SetNoArena(
6836
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
6837
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.tablet_id)
6838
0
}
6839
#endif
6840
0
inline void GetChangesRequestPB::set_tablet_id(const char* value) {
6841
0
  GOOGLE_DCHECK(value != NULL);
6842
0
  set_has_tablet_id();
6843
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
6844
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.tablet_id)
6845
0
}
6846
0
inline void GetChangesRequestPB::set_tablet_id(const void* value, size_t size) {
6847
0
  set_has_tablet_id();
6848
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
6849
0
      ::std::string(reinterpret_cast<const char*>(value), size));
6850
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.tablet_id)
6851
0
}
6852
642
inline ::std::string* GetChangesRequestPB::mutable_tablet_id() {
6853
642
  set_has_tablet_id();
6854
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.tablet_id)
6855
642
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6856
642
}
6857
0
inline ::std::string* GetChangesRequestPB::release_tablet_id() {
6858
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.tablet_id)
6859
0
  clear_has_tablet_id();
6860
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6861
0
}
6862
0
inline void GetChangesRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
6863
0
  if (tablet_id != NULL) {
6864
0
    set_has_tablet_id();
6865
0
  } else {
6866
0
    clear_has_tablet_id();
6867
0
  }
6868
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
6869
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.tablet_id)
6870
0
}
6871
6872
// optional .yb.cdc.CDCCheckpointPB from_checkpoint = 3;
6873
1.28k
inline bool GetChangesRequestPB::has_from_checkpoint() const {
6874
1.28k
  return (_has_bits_[0] & 0x00000010u) != 0;
6875
1.28k
}
6876
0
inline void GetChangesRequestPB::set_has_from_checkpoint() {
6877
0
  _has_bits_[0] |= 0x00000010u;
6878
0
}
6879
0
inline void GetChangesRequestPB::clear_has_from_checkpoint() {
6880
0
  _has_bits_[0] &= ~0x00000010u;
6881
0
}
6882
0
inline void GetChangesRequestPB::clear_from_checkpoint() {
6883
0
  if (from_checkpoint_ != NULL) from_checkpoint_->Clear();
6884
0
  clear_has_from_checkpoint();
6885
0
}
6886
0
inline const ::yb::cdc::CDCCheckpointPB& GetChangesRequestPB::from_checkpoint() const {
6887
0
  const ::yb::cdc::CDCCheckpointPB* p = from_checkpoint_;
6888
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.from_checkpoint)
6889
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>(
6890
0
      &::yb::cdc::_CDCCheckpointPB_default_instance_);
6891
0
}
6892
0
inline ::yb::cdc::CDCCheckpointPB* GetChangesRequestPB::release_from_checkpoint() {
6893
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.from_checkpoint)
6894
0
  clear_has_from_checkpoint();
6895
0
  ::yb::cdc::CDCCheckpointPB* temp = from_checkpoint_;
6896
0
  from_checkpoint_ = NULL;
6897
0
  return temp;
6898
0
}
6899
0
inline ::yb::cdc::CDCCheckpointPB* GetChangesRequestPB::mutable_from_checkpoint() {
6900
0
  set_has_from_checkpoint();
6901
0
  if (from_checkpoint_ == NULL) {
6902
0
    from_checkpoint_ = new ::yb::cdc::CDCCheckpointPB;
6903
0
  }
6904
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.from_checkpoint)
6905
0
  return from_checkpoint_;
6906
0
}
6907
0
inline void GetChangesRequestPB::set_allocated_from_checkpoint(::yb::cdc::CDCCheckpointPB* from_checkpoint) {
6908
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
6909
0
  if (message_arena == NULL) {
6910
0
    delete from_checkpoint_;
6911
0
  }
6912
0
  if (from_checkpoint) {
6913
0
    ::google::protobuf::Arena* submessage_arena = NULL;
6914
0
    if (message_arena != submessage_arena) {
6915
0
      from_checkpoint = ::google::protobuf::internal::GetOwnedMessage(
6916
0
          message_arena, from_checkpoint, submessage_arena);
6917
0
    }
6918
0
    set_has_from_checkpoint();
6919
0
  } else {
6920
0
    clear_has_from_checkpoint();
6921
0
  }
6922
0
  from_checkpoint_ = from_checkpoint;
6923
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.from_checkpoint)
6924
0
}
6925
6926
// optional uint32 max_records = 4;
6927
0
inline bool GetChangesRequestPB::has_max_records() const {
6928
0
  return (_has_bits_[0] & 0x00000040u) != 0;
6929
0
}
6930
0
inline void GetChangesRequestPB::set_has_max_records() {
6931
0
  _has_bits_[0] |= 0x00000040u;
6932
0
}
6933
0
inline void GetChangesRequestPB::clear_has_max_records() {
6934
0
  _has_bits_[0] &= ~0x00000040u;
6935
0
}
6936
0
inline void GetChangesRequestPB::clear_max_records() {
6937
0
  max_records_ = 0u;
6938
0
  clear_has_max_records();
6939
0
}
6940
0
inline ::google::protobuf::uint32 GetChangesRequestPB::max_records() const {
6941
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.max_records)
6942
0
  return max_records_;
6943
0
}
6944
0
inline void GetChangesRequestPB::set_max_records(::google::protobuf::uint32 value) {
6945
0
  set_has_max_records();
6946
0
  max_records_ = value;
6947
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.max_records)
6948
0
}
6949
6950
// optional bool serve_as_proxy = 5 [default = true];
6951
0
inline bool GetChangesRequestPB::has_serve_as_proxy() const {
6952
0
  return (_has_bits_[0] & 0x00000080u) != 0;
6953
0
}
6954
0
inline void GetChangesRequestPB::set_has_serve_as_proxy() {
6955
0
  _has_bits_[0] |= 0x00000080u;
6956
0
}
6957
0
inline void GetChangesRequestPB::clear_has_serve_as_proxy() {
6958
0
  _has_bits_[0] &= ~0x00000080u;
6959
0
}
6960
0
inline void GetChangesRequestPB::clear_serve_as_proxy() {
6961
0
  serve_as_proxy_ = true;
6962
0
  clear_has_serve_as_proxy();
6963
0
}
6964
0
inline bool GetChangesRequestPB::serve_as_proxy() const {
6965
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.serve_as_proxy)
6966
0
  return serve_as_proxy_;
6967
0
}
6968
0
inline void GetChangesRequestPB::set_serve_as_proxy(bool value) {
6969
0
  set_has_serve_as_proxy();
6970
0
  serve_as_proxy_ = value;
6971
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.serve_as_proxy)
6972
0
}
6973
6974
// optional bytes db_stream_id = 6;
6975
1.28k
inline bool GetChangesRequestPB::has_db_stream_id() const {
6976
1.28k
  return (_has_bits_[0] & 0x00000004u) != 0;
6977
1.28k
}
6978
642
inline void GetChangesRequestPB::set_has_db_stream_id() {
6979
642
  _has_bits_[0] |= 0x00000004u;
6980
642
}
6981
0
inline void GetChangesRequestPB::clear_has_db_stream_id() {
6982
0
  _has_bits_[0] &= ~0x00000004u;
6983
0
}
6984
0
inline void GetChangesRequestPB::clear_db_stream_id() {
6985
0
  db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
6986
0
  clear_has_db_stream_id();
6987
0
}
6988
642
inline const ::std::string& GetChangesRequestPB::db_stream_id() const {
6989
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.db_stream_id)
6990
642
  return db_stream_id_.GetNoArena();
6991
642
}
6992
0
inline void GetChangesRequestPB::set_db_stream_id(const ::std::string& value) {
6993
0
  set_has_db_stream_id();
6994
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
6995
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.db_stream_id)
6996
0
}
6997
#if LANG_CXX11
6998
0
inline void GetChangesRequestPB::set_db_stream_id(::std::string&& value) {
6999
0
  set_has_db_stream_id();
7000
0
  db_stream_id_.SetNoArena(
7001
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7002
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.db_stream_id)
7003
0
}
7004
#endif
7005
0
inline void GetChangesRequestPB::set_db_stream_id(const char* value) {
7006
0
  GOOGLE_DCHECK(value != NULL);
7007
0
  set_has_db_stream_id();
7008
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7009
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.db_stream_id)
7010
0
}
7011
0
inline void GetChangesRequestPB::set_db_stream_id(const void* value, size_t size) {
7012
0
  set_has_db_stream_id();
7013
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7014
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7015
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.db_stream_id)
7016
0
}
7017
642
inline ::std::string* GetChangesRequestPB::mutable_db_stream_id() {
7018
642
  set_has_db_stream_id();
7019
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.db_stream_id)
7020
642
  return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7021
642
}
7022
0
inline ::std::string* GetChangesRequestPB::release_db_stream_id() {
7023
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.db_stream_id)
7024
0
  clear_has_db_stream_id();
7025
0
  return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7026
0
}
7027
0
inline void GetChangesRequestPB::set_allocated_db_stream_id(::std::string* db_stream_id) {
7028
0
  if (db_stream_id != NULL) {
7029
0
    set_has_db_stream_id();
7030
0
  } else {
7031
0
    clear_has_db_stream_id();
7032
0
  }
7033
0
  db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id);
7034
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.db_stream_id)
7035
0
}
7036
7037
// optional bytes table_id = 7;
7038
0
inline bool GetChangesRequestPB::has_table_id() const {
7039
0
  return (_has_bits_[0] & 0x00000008u) != 0;
7040
0
}
7041
0
inline void GetChangesRequestPB::set_has_table_id() {
7042
0
  _has_bits_[0] |= 0x00000008u;
7043
0
}
7044
0
inline void GetChangesRequestPB::clear_has_table_id() {
7045
0
  _has_bits_[0] &= ~0x00000008u;
7046
0
}
7047
0
inline void GetChangesRequestPB::clear_table_id() {
7048
0
  table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7049
0
  clear_has_table_id();
7050
0
}
7051
0
inline const ::std::string& GetChangesRequestPB::table_id() const {
7052
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.table_id)
7053
0
  return table_id_.GetNoArena();
7054
0
}
7055
0
inline void GetChangesRequestPB::set_table_id(const ::std::string& value) {
7056
0
  set_has_table_id();
7057
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7058
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.table_id)
7059
0
}
7060
#if LANG_CXX11
7061
0
inline void GetChangesRequestPB::set_table_id(::std::string&& value) {
7062
0
  set_has_table_id();
7063
0
  table_id_.SetNoArena(
7064
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7065
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.table_id)
7066
0
}
7067
#endif
7068
0
inline void GetChangesRequestPB::set_table_id(const char* value) {
7069
0
  GOOGLE_DCHECK(value != NULL);
7070
0
  set_has_table_id();
7071
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7072
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.table_id)
7073
0
}
7074
0
inline void GetChangesRequestPB::set_table_id(const void* value, size_t size) {
7075
0
  set_has_table_id();
7076
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7077
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7078
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.table_id)
7079
0
}
7080
0
inline ::std::string* GetChangesRequestPB::mutable_table_id() {
7081
0
  set_has_table_id();
7082
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.table_id)
7083
0
  return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7084
0
}
7085
0
inline ::std::string* GetChangesRequestPB::release_table_id() {
7086
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.table_id)
7087
0
  clear_has_table_id();
7088
0
  return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7089
0
}
7090
0
inline void GetChangesRequestPB::set_allocated_table_id(::std::string* table_id) {
7091
0
  if (table_id != NULL) {
7092
0
    set_has_table_id();
7093
0
  } else {
7094
0
    clear_has_table_id();
7095
0
  }
7096
0
  table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id);
7097
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.table_id)
7098
0
}
7099
7100
// optional .yb.cdc.CDCSDKCheckpointPB from_cdc_sdk_checkpoint = 8;
7101
641
inline bool GetChangesRequestPB::has_from_cdc_sdk_checkpoint() const {
7102
641
  return (_has_bits_[0] & 0x00000020u) != 0;
7103
641
}
7104
36
inline void GetChangesRequestPB::set_has_from_cdc_sdk_checkpoint() {
7105
36
  _has_bits_[0] |= 0x00000020u;
7106
36
}
7107
0
inline void GetChangesRequestPB::clear_has_from_cdc_sdk_checkpoint() {
7108
0
  _has_bits_[0] &= ~0x00000020u;
7109
0
}
7110
0
inline void GetChangesRequestPB::clear_from_cdc_sdk_checkpoint() {
7111
0
  if (from_cdc_sdk_checkpoint_ != NULL) from_cdc_sdk_checkpoint_->Clear();
7112
0
  clear_has_from_cdc_sdk_checkpoint();
7113
0
}
7114
36
inline const ::yb::cdc::CDCSDKCheckpointPB& GetChangesRequestPB::from_cdc_sdk_checkpoint() const {
7115
36
  const ::yb::cdc::CDCSDKCheckpointPB* p = from_cdc_sdk_checkpoint_;
7116
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint)
7117
36
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKCheckpointPB*>(
7118
0
      &::yb::cdc::_CDCSDKCheckpointPB_default_instance_);
7119
36
}
7120
0
inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesRequestPB::release_from_cdc_sdk_checkpoint() {
7121
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint)
7122
0
  clear_has_from_cdc_sdk_checkpoint();
7123
0
  ::yb::cdc::CDCSDKCheckpointPB* temp = from_cdc_sdk_checkpoint_;
7124
0
  from_cdc_sdk_checkpoint_ = NULL;
7125
0
  return temp;
7126
0
}
7127
36
inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesRequestPB::mutable_from_cdc_sdk_checkpoint() {
7128
36
  set_has_from_cdc_sdk_checkpoint();
7129
36
  if (from_cdc_sdk_checkpoint_ == NULL) {
7130
36
    from_cdc_sdk_checkpoint_ = new ::yb::cdc::CDCSDKCheckpointPB;
7131
36
  }
7132
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint)
7133
36
  return from_cdc_sdk_checkpoint_;
7134
36
}
7135
0
inline void GetChangesRequestPB::set_allocated_from_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* from_cdc_sdk_checkpoint) {
7136
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7137
0
  if (message_arena == NULL) {
7138
0
    delete from_cdc_sdk_checkpoint_;
7139
0
  }
7140
0
  if (from_cdc_sdk_checkpoint) {
7141
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7142
0
    if (message_arena != submessage_arena) {
7143
0
      from_cdc_sdk_checkpoint = ::google::protobuf::internal::GetOwnedMessage(
7144
0
          message_arena, from_cdc_sdk_checkpoint, submessage_arena);
7145
0
    }
7146
0
    set_has_from_cdc_sdk_checkpoint();
7147
0
  } else {
7148
0
    clear_has_from_cdc_sdk_checkpoint();
7149
0
  }
7150
0
  from_cdc_sdk_checkpoint_ = from_cdc_sdk_checkpoint;
7151
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint)
7152
0
}
7153
7154
// -------------------------------------------------------------------
7155
7156
// KeyValuePairPB
7157
7158
// optional bytes key = 1;
7159
0
inline bool KeyValuePairPB::has_key() const {
7160
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7161
0
}
7162
0
inline void KeyValuePairPB::set_has_key() {
7163
0
  _has_bits_[0] |= 0x00000001u;
7164
0
}
7165
0
inline void KeyValuePairPB::clear_has_key() {
7166
0
  _has_bits_[0] &= ~0x00000001u;
7167
0
}
7168
0
inline void KeyValuePairPB::clear_key() {
7169
0
  key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7170
0
  clear_has_key();
7171
0
}
7172
0
inline const ::std::string& KeyValuePairPB::key() const {
7173
0
  // @@protoc_insertion_point(field_get:yb.cdc.KeyValuePairPB.key)
7174
0
  return key_.GetNoArena();
7175
0
}
7176
0
inline void KeyValuePairPB::set_key(const ::std::string& value) {
7177
0
  set_has_key();
7178
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7179
0
  // @@protoc_insertion_point(field_set:yb.cdc.KeyValuePairPB.key)
7180
0
}
7181
#if LANG_CXX11
7182
0
inline void KeyValuePairPB::set_key(::std::string&& value) {
7183
0
  set_has_key();
7184
0
  key_.SetNoArena(
7185
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7186
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.KeyValuePairPB.key)
7187
0
}
7188
#endif
7189
0
inline void KeyValuePairPB::set_key(const char* value) {
7190
0
  GOOGLE_DCHECK(value != NULL);
7191
0
  set_has_key();
7192
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7193
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.KeyValuePairPB.key)
7194
0
}
7195
0
inline void KeyValuePairPB::set_key(const void* value, size_t size) {
7196
0
  set_has_key();
7197
0
  key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7198
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7199
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.KeyValuePairPB.key)
7200
0
}
7201
0
inline ::std::string* KeyValuePairPB::mutable_key() {
7202
0
  set_has_key();
7203
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.KeyValuePairPB.key)
7204
0
  return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7205
0
}
7206
0
inline ::std::string* KeyValuePairPB::release_key() {
7207
0
  // @@protoc_insertion_point(field_release:yb.cdc.KeyValuePairPB.key)
7208
0
  clear_has_key();
7209
0
  return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7210
0
}
7211
0
inline void KeyValuePairPB::set_allocated_key(::std::string* key) {
7212
0
  if (key != NULL) {
7213
0
    set_has_key();
7214
0
  } else {
7215
0
    clear_has_key();
7216
0
  }
7217
0
  key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key);
7218
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.KeyValuePairPB.key)
7219
0
}
7220
7221
// optional .yb.QLValuePB value = 2;
7222
0
inline bool KeyValuePairPB::has_value() const {
7223
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7224
0
}
7225
0
inline void KeyValuePairPB::set_has_value() {
7226
0
  _has_bits_[0] |= 0x00000002u;
7227
0
}
7228
0
inline void KeyValuePairPB::clear_has_value() {
7229
0
  _has_bits_[0] &= ~0x00000002u;
7230
0
}
7231
0
inline const ::yb::QLValuePB& KeyValuePairPB::value() const {
7232
0
  const ::yb::QLValuePB* p = value_;
7233
0
  // @@protoc_insertion_point(field_get:yb.cdc.KeyValuePairPB.value)
7234
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::QLValuePB*>(
7235
0
      &::yb::_QLValuePB_default_instance_);
7236
0
}
7237
0
inline ::yb::QLValuePB* KeyValuePairPB::release_value() {
7238
0
  // @@protoc_insertion_point(field_release:yb.cdc.KeyValuePairPB.value)
7239
0
  clear_has_value();
7240
0
  ::yb::QLValuePB* temp = value_;
7241
0
  value_ = NULL;
7242
0
  return temp;
7243
0
}
7244
0
inline ::yb::QLValuePB* KeyValuePairPB::mutable_value() {
7245
0
  set_has_value();
7246
0
  if (value_ == NULL) {
7247
0
    value_ = new ::yb::QLValuePB;
7248
0
  }
7249
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.KeyValuePairPB.value)
7250
0
  return value_;
7251
0
}
7252
0
inline void KeyValuePairPB::set_allocated_value(::yb::QLValuePB* value) {
7253
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7254
0
  if (message_arena == NULL) {
7255
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_);
7256
0
  }
7257
0
  if (value) {
7258
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7259
0
    if (message_arena != submessage_arena) {
7260
0
      value = ::google::protobuf::internal::GetOwnedMessage(
7261
0
          message_arena, value, submessage_arena);
7262
0
    }
7263
0
    set_has_value();
7264
0
  } else {
7265
0
    clear_has_value();
7266
0
  }
7267
0
  value_ = value;
7268
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.KeyValuePairPB.value)
7269
0
}
7270
7271
// -------------------------------------------------------------------
7272
7273
// CDCRecordPB
7274
7275
// optional uint64 time = 1;
7276
0
inline bool CDCRecordPB::has_time() const {
7277
0
  return (_has_bits_[0] & 0x00000008u) != 0;
7278
0
}
7279
0
inline void CDCRecordPB::set_has_time() {
7280
0
  _has_bits_[0] |= 0x00000008u;
7281
0
}
7282
0
inline void CDCRecordPB::clear_has_time() {
7283
0
  _has_bits_[0] &= ~0x00000008u;
7284
0
}
7285
0
inline void CDCRecordPB::clear_time() {
7286
0
  time_ = GOOGLE_ULONGLONG(0);
7287
0
  clear_has_time();
7288
0
}
7289
0
inline ::google::protobuf::uint64 CDCRecordPB::time() const {
7290
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.time)
7291
0
  return time_;
7292
0
}
7293
0
inline void CDCRecordPB::set_time(::google::protobuf::uint64 value) {
7294
0
  set_has_time();
7295
0
  time_ = value;
7296
0
  // @@protoc_insertion_point(field_set:yb.cdc.CDCRecordPB.time)
7297
0
}
7298
7299
// optional .yb.cdc.CDCRecordPB.OperationType operation = 2;
7300
0
inline bool CDCRecordPB::has_operation() const {
7301
0
  return (_has_bits_[0] & 0x00000010u) != 0;
7302
0
}
7303
0
inline void CDCRecordPB::set_has_operation() {
7304
0
  _has_bits_[0] |= 0x00000010u;
7305
0
}
7306
0
inline void CDCRecordPB::clear_has_operation() {
7307
0
  _has_bits_[0] &= ~0x00000010u;
7308
0
}
7309
0
inline void CDCRecordPB::clear_operation() {
7310
0
  operation_ = 1;
7311
0
  clear_has_operation();
7312
0
}
7313
0
inline ::yb::cdc::CDCRecordPB_OperationType CDCRecordPB::operation() const {
7314
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.operation)
7315
0
  return static_cast< ::yb::cdc::CDCRecordPB_OperationType >(operation_);
7316
0
}
7317
0
inline void CDCRecordPB::set_operation(::yb::cdc::CDCRecordPB_OperationType value) {
7318
0
  assert(::yb::cdc::CDCRecordPB_OperationType_IsValid(value));
7319
0
  set_has_operation();
7320
0
  operation_ = value;
7321
0
  // @@protoc_insertion_point(field_set:yb.cdc.CDCRecordPB.operation)
7322
0
}
7323
7324
// repeated .yb.cdc.KeyValuePairPB key = 3;
7325
0
inline int CDCRecordPB::key_size() const {
7326
0
  return key_.size();
7327
0
}
7328
0
inline void CDCRecordPB::clear_key() {
7329
0
  key_.Clear();
7330
0
}
7331
0
inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::key(int index) const {
7332
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.key)
7333
0
  return key_.Get(index);
7334
0
}
7335
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_key(int index) {
7336
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.key)
7337
0
  return key_.Mutable(index);
7338
0
}
7339
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_key() {
7340
0
  // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.key)
7341
0
  return key_.Add();
7342
0
}
7343
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
7344
0
CDCRecordPB::mutable_key() {
7345
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.key)
7346
0
  return &key_;
7347
0
}
7348
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
7349
0
CDCRecordPB::key() const {
7350
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.key)
7351
0
  return key_;
7352
0
}
7353
7354
// repeated .yb.cdc.KeyValuePairPB changes = 4;
7355
0
inline int CDCRecordPB::changes_size() const {
7356
0
  return changes_.size();
7357
0
}
7358
0
inline void CDCRecordPB::clear_changes() {
7359
0
  changes_.Clear();
7360
0
}
7361
0
inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::changes(int index) const {
7362
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.changes)
7363
0
  return changes_.Get(index);
7364
0
}
7365
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_changes(int index) {
7366
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.changes)
7367
0
  return changes_.Mutable(index);
7368
0
}
7369
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_changes() {
7370
0
  // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.changes)
7371
0
  return changes_.Add();
7372
0
}
7373
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
7374
0
CDCRecordPB::mutable_changes() {
7375
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.changes)
7376
0
  return &changes_;
7377
0
}
7378
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
7379
0
CDCRecordPB::changes() const {
7380
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.changes)
7381
0
  return changes_;
7382
0
}
7383
7384
// repeated .yb.cdc.KeyValuePairPB before = 5;
7385
0
inline int CDCRecordPB::before_size() const {
7386
0
  return before_.size();
7387
0
}
7388
0
inline void CDCRecordPB::clear_before() {
7389
0
  before_.Clear();
7390
0
}
7391
0
inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::before(int index) const {
7392
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.before)
7393
0
  return before_.Get(index);
7394
0
}
7395
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_before(int index) {
7396
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.before)
7397
0
  return before_.Mutable(index);
7398
0
}
7399
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_before() {
7400
0
  // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.before)
7401
0
  return before_.Add();
7402
0
}
7403
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
7404
0
CDCRecordPB::mutable_before() {
7405
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.before)
7406
0
  return &before_;
7407
0
}
7408
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
7409
0
CDCRecordPB::before() const {
7410
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.before)
7411
0
  return before_;
7412
0
}
7413
7414
// repeated .yb.cdc.KeyValuePairPB after = 6;
7415
0
inline int CDCRecordPB::after_size() const {
7416
0
  return after_.size();
7417
0
}
7418
0
inline void CDCRecordPB::clear_after() {
7419
0
  after_.Clear();
7420
0
}
7421
0
inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::after(int index) const {
7422
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.after)
7423
0
  return after_.Get(index);
7424
0
}
7425
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_after(int index) {
7426
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.after)
7427
0
  return after_.Mutable(index);
7428
0
}
7429
0
inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_after() {
7430
0
  // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.after)
7431
0
  return after_.Add();
7432
0
}
7433
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >*
7434
0
CDCRecordPB::mutable_after() {
7435
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.after)
7436
0
  return &after_;
7437
0
}
7438
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >&
7439
0
CDCRecordPB::after() const {
7440
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.after)
7441
0
  return after_;
7442
0
}
7443
7444
// optional .yb.tablet.TransactionStatePB transaction_state = 7;
7445
0
inline bool CDCRecordPB::has_transaction_state() const {
7446
0
  return (_has_bits_[0] & 0x00000001u) != 0;
7447
0
}
7448
0
inline void CDCRecordPB::set_has_transaction_state() {
7449
0
  _has_bits_[0] |= 0x00000001u;
7450
0
}
7451
0
inline void CDCRecordPB::clear_has_transaction_state() {
7452
0
  _has_bits_[0] &= ~0x00000001u;
7453
0
}
7454
0
inline const ::yb::tablet::TransactionStatePB& CDCRecordPB::transaction_state() const {
7455
0
  const ::yb::tablet::TransactionStatePB* p = transaction_state_;
7456
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.transaction_state)
7457
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TransactionStatePB*>(
7458
0
      &::yb::tablet::_TransactionStatePB_default_instance_);
7459
0
}
7460
0
inline ::yb::tablet::TransactionStatePB* CDCRecordPB::release_transaction_state() {
7461
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCRecordPB.transaction_state)
7462
0
  clear_has_transaction_state();
7463
0
  ::yb::tablet::TransactionStatePB* temp = transaction_state_;
7464
0
  transaction_state_ = NULL;
7465
0
  return temp;
7466
0
}
7467
0
inline ::yb::tablet::TransactionStatePB* CDCRecordPB::mutable_transaction_state() {
7468
0
  set_has_transaction_state();
7469
0
  if (transaction_state_ == NULL) {
7470
0
    transaction_state_ = new ::yb::tablet::TransactionStatePB;
7471
0
  }
7472
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.transaction_state)
7473
0
  return transaction_state_;
7474
0
}
7475
0
inline void CDCRecordPB::set_allocated_transaction_state(::yb::tablet::TransactionStatePB* transaction_state) {
7476
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7477
0
  if (message_arena == NULL) {
7478
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(transaction_state_);
7479
0
  }
7480
0
  if (transaction_state) {
7481
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7482
0
    if (message_arena != submessage_arena) {
7483
0
      transaction_state = ::google::protobuf::internal::GetOwnedMessage(
7484
0
          message_arena, transaction_state, submessage_arena);
7485
0
    }
7486
0
    set_has_transaction_state();
7487
0
  } else {
7488
0
    clear_has_transaction_state();
7489
0
  }
7490
0
  transaction_state_ = transaction_state;
7491
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCRecordPB.transaction_state)
7492
0
}
7493
7494
// optional .yb.PartitionPB partition = 9;
7495
0
inline bool CDCRecordPB::has_partition() const {
7496
0
  return (_has_bits_[0] & 0x00000002u) != 0;
7497
0
}
7498
0
inline void CDCRecordPB::set_has_partition() {
7499
0
  _has_bits_[0] |= 0x00000002u;
7500
0
}
7501
0
inline void CDCRecordPB::clear_has_partition() {
7502
0
  _has_bits_[0] &= ~0x00000002u;
7503
0
}
7504
0
inline const ::yb::PartitionPB& CDCRecordPB::partition() const {
7505
0
  const ::yb::PartitionPB* p = partition_;
7506
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.partition)
7507
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionPB*>(
7508
0
      &::yb::_PartitionPB_default_instance_);
7509
0
}
7510
0
inline ::yb::PartitionPB* CDCRecordPB::release_partition() {
7511
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCRecordPB.partition)
7512
0
  clear_has_partition();
7513
0
  ::yb::PartitionPB* temp = partition_;
7514
0
  partition_ = NULL;
7515
0
  return temp;
7516
0
}
7517
0
inline ::yb::PartitionPB* CDCRecordPB::mutable_partition() {
7518
0
  set_has_partition();
7519
0
  if (partition_ == NULL) {
7520
0
    partition_ = new ::yb::PartitionPB;
7521
0
  }
7522
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.partition)
7523
0
  return partition_;
7524
0
}
7525
0
inline void CDCRecordPB::set_allocated_partition(::yb::PartitionPB* partition) {
7526
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7527
0
  if (message_arena == NULL) {
7528
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_);
7529
0
  }
7530
0
  if (partition) {
7531
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7532
0
    if (message_arena != submessage_arena) {
7533
0
      partition = ::google::protobuf::internal::GetOwnedMessage(
7534
0
          message_arena, partition, submessage_arena);
7535
0
    }
7536
0
    set_has_partition();
7537
0
  } else {
7538
0
    clear_has_partition();
7539
0
  }
7540
0
  partition_ = partition;
7541
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCRecordPB.partition)
7542
0
}
7543
7544
// optional .yb.tablet.SplitTabletRequestPB split_tablet_request = 10;
7545
0
inline bool CDCRecordPB::has_split_tablet_request() const {
7546
0
  return (_has_bits_[0] & 0x00000004u) != 0;
7547
0
}
7548
0
inline void CDCRecordPB::set_has_split_tablet_request() {
7549
0
  _has_bits_[0] |= 0x00000004u;
7550
0
}
7551
0
inline void CDCRecordPB::clear_has_split_tablet_request() {
7552
0
  _has_bits_[0] &= ~0x00000004u;
7553
0
}
7554
0
inline const ::yb::tablet::SplitTabletRequestPB& CDCRecordPB::split_tablet_request() const {
7555
0
  const ::yb::tablet::SplitTabletRequestPB* p = split_tablet_request_;
7556
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.split_tablet_request)
7557
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::SplitTabletRequestPB*>(
7558
0
      &::yb::tablet::_SplitTabletRequestPB_default_instance_);
7559
0
}
7560
0
inline ::yb::tablet::SplitTabletRequestPB* CDCRecordPB::release_split_tablet_request() {
7561
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCRecordPB.split_tablet_request)
7562
0
  clear_has_split_tablet_request();
7563
0
  ::yb::tablet::SplitTabletRequestPB* temp = split_tablet_request_;
7564
0
  split_tablet_request_ = NULL;
7565
0
  return temp;
7566
0
}
7567
0
inline ::yb::tablet::SplitTabletRequestPB* CDCRecordPB::mutable_split_tablet_request() {
7568
0
  set_has_split_tablet_request();
7569
0
  if (split_tablet_request_ == NULL) {
7570
0
    split_tablet_request_ = new ::yb::tablet::SplitTabletRequestPB;
7571
0
  }
7572
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.split_tablet_request)
7573
0
  return split_tablet_request_;
7574
0
}
7575
0
inline void CDCRecordPB::set_allocated_split_tablet_request(::yb::tablet::SplitTabletRequestPB* split_tablet_request) {
7576
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7577
0
  if (message_arena == NULL) {
7578
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(split_tablet_request_);
7579
0
  }
7580
0
  if (split_tablet_request) {
7581
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7582
0
    if (message_arena != submessage_arena) {
7583
0
      split_tablet_request = ::google::protobuf::internal::GetOwnedMessage(
7584
0
          message_arena, split_tablet_request, submessage_arena);
7585
0
    }
7586
0
    set_has_split_tablet_request();
7587
0
  } else {
7588
0
    clear_has_split_tablet_request();
7589
0
  }
7590
0
  split_tablet_request_ = split_tablet_request;
7591
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCRecordPB.split_tablet_request)
7592
0
}
7593
7594
// -------------------------------------------------------------------
7595
7596
// CDCSDKColumnInfoPB
7597
7598
// optional string name = 1;
7599
3.54k
inline bool CDCSDKColumnInfoPB::has_name() const {
7600
3.54k
  return (_has_bits_[0] & 0x00000001u) != 0;
7601
3.54k
}
7602
1.77k
inline void CDCSDKColumnInfoPB::set_has_name() {
7603
1.77k
  _has_bits_[0] |= 0x00000001u;
7604
1.77k
}
7605
0
inline void CDCSDKColumnInfoPB::clear_has_name() {
7606
0
  _has_bits_[0] &= ~0x00000001u;
7607
0
}
7608
0
inline void CDCSDKColumnInfoPB::clear_name() {
7609
0
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7610
0
  clear_has_name();
7611
0
}
7612
8.86k
inline const ::std::string& CDCSDKColumnInfoPB::name() const {
7613
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.name)
7614
8.86k
  return name_.GetNoArena();
7615
8.86k
}
7616
1.77k
inline void CDCSDKColumnInfoPB::set_name(const ::std::string& value) {
7617
1.77k
  set_has_name();
7618
1.77k
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
7619
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.name)
7620
1.77k
}
7621
#if LANG_CXX11
7622
0
inline void CDCSDKColumnInfoPB::set_name(::std::string&& value) {
7623
0
  set_has_name();
7624
0
  name_.SetNoArena(
7625
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
7626
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCSDKColumnInfoPB.name)
7627
0
}
7628
#endif
7629
0
inline void CDCSDKColumnInfoPB::set_name(const char* value) {
7630
0
  GOOGLE_DCHECK(value != NULL);
7631
0
  set_has_name();
7632
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
7633
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CDCSDKColumnInfoPB.name)
7634
0
}
7635
0
inline void CDCSDKColumnInfoPB::set_name(const char* value, size_t size) {
7636
0
  set_has_name();
7637
0
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
7638
0
      ::std::string(reinterpret_cast<const char*>(value), size));
7639
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCSDKColumnInfoPB.name)
7640
0
}
7641
0
inline ::std::string* CDCSDKColumnInfoPB::mutable_name() {
7642
0
  set_has_name();
7643
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKColumnInfoPB.name)
7644
0
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7645
0
}
7646
0
inline ::std::string* CDCSDKColumnInfoPB::release_name() {
7647
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKColumnInfoPB.name)
7648
0
  clear_has_name();
7649
0
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7650
0
}
7651
0
inline void CDCSDKColumnInfoPB::set_allocated_name(::std::string* name) {
7652
0
  if (name != NULL) {
7653
0
    set_has_name();
7654
0
  } else {
7655
0
    clear_has_name();
7656
0
  }
7657
0
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
7658
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKColumnInfoPB.name)
7659
0
}
7660
7661
// optional .yb.QLTypePB type = 2;
7662
3.54k
inline bool CDCSDKColumnInfoPB::has_type() const {
7663
3.54k
  return (_has_bits_[0] & 0x00000002u) != 0;
7664
3.54k
}
7665
1.77k
inline void CDCSDKColumnInfoPB::set_has_type() {
7666
1.77k
  _has_bits_[0] |= 0x00000002u;
7667
1.77k
}
7668
0
inline void CDCSDKColumnInfoPB::clear_has_type() {
7669
0
  _has_bits_[0] &= ~0x00000002u;
7670
0
}
7671
0
inline const ::yb::QLTypePB& CDCSDKColumnInfoPB::type() const {
7672
0
  const ::yb::QLTypePB* p = type_;
7673
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.type)
7674
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::QLTypePB*>(
7675
0
      &::yb::_QLTypePB_default_instance_);
7676
0
}
7677
0
inline ::yb::QLTypePB* CDCSDKColumnInfoPB::release_type() {
7678
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKColumnInfoPB.type)
7679
0
  clear_has_type();
7680
0
  ::yb::QLTypePB* temp = type_;
7681
0
  type_ = NULL;
7682
0
  return temp;
7683
0
}
7684
1.77k
inline ::yb::QLTypePB* CDCSDKColumnInfoPB::mutable_type() {
7685
1.77k
  set_has_type();
7686
1.77k
  if (type_ == NULL) {
7687
1.77k
    type_ = new ::yb::QLTypePB;
7688
1.77k
  }
7689
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKColumnInfoPB.type)
7690
1.77k
  return type_;
7691
1.77k
}
7692
0
inline void CDCSDKColumnInfoPB::set_allocated_type(::yb::QLTypePB* type) {
7693
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7694
0
  if (message_arena == NULL) {
7695
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_);
7696
0
  }
7697
0
  if (type) {
7698
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7699
0
    if (message_arena != submessage_arena) {
7700
0
      type = ::google::protobuf::internal::GetOwnedMessage(
7701
0
          message_arena, type, submessage_arena);
7702
0
    }
7703
0
    set_has_type();
7704
0
  } else {
7705
0
    clear_has_type();
7706
0
  }
7707
0
  type_ = type;
7708
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKColumnInfoPB.type)
7709
0
}
7710
7711
// optional bool is_key = 3 [default = false];
7712
3.54k
inline bool CDCSDKColumnInfoPB::has_is_key() const {
7713
3.54k
  return (_has_bits_[0] & 0x00000004u) != 0;
7714
3.54k
}
7715
1.77k
inline void CDCSDKColumnInfoPB::set_has_is_key() {
7716
1.77k
  _has_bits_[0] |= 0x00000004u;
7717
1.77k
}
7718
0
inline void CDCSDKColumnInfoPB::clear_has_is_key() {
7719
0
  _has_bits_[0] &= ~0x00000004u;
7720
0
}
7721
0
inline void CDCSDKColumnInfoPB::clear_is_key() {
7722
0
  is_key_ = false;
7723
0
  clear_has_is_key();
7724
0
}
7725
1.77k
inline bool CDCSDKColumnInfoPB::is_key() const {
7726
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.is_key)
7727
1.77k
  return is_key_;
7728
1.77k
}
7729
1.77k
inline void CDCSDKColumnInfoPB::set_is_key(bool value) {
7730
1.77k
  set_has_is_key();
7731
1.77k
  is_key_ = value;
7732
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.is_key)
7733
1.77k
}
7734
7735
// optional bool is_hash_key = 4 [default = false];
7736
3.54k
inline bool CDCSDKColumnInfoPB::has_is_hash_key() const {
7737
3.54k
  return (_has_bits_[0] & 0x00000008u) != 0;
7738
3.54k
}
7739
1.77k
inline void CDCSDKColumnInfoPB::set_has_is_hash_key() {
7740
1.77k
  _has_bits_[0] |= 0x00000008u;
7741
1.77k
}
7742
0
inline void CDCSDKColumnInfoPB::clear_has_is_hash_key() {
7743
0
  _has_bits_[0] &= ~0x00000008u;
7744
0
}
7745
0
inline void CDCSDKColumnInfoPB::clear_is_hash_key() {
7746
0
  is_hash_key_ = false;
7747
0
  clear_has_is_hash_key();
7748
0
}
7749
1.77k
inline bool CDCSDKColumnInfoPB::is_hash_key() const {
7750
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.is_hash_key)
7751
1.77k
  return is_hash_key_;
7752
1.77k
}
7753
1.77k
inline void CDCSDKColumnInfoPB::set_is_hash_key(bool value) {
7754
1.77k
  set_has_is_hash_key();
7755
1.77k
  is_hash_key_ = value;
7756
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.is_hash_key)
7757
1.77k
}
7758
7759
// optional bool is_nullable = 5 [default = false];
7760
3.54k
inline bool CDCSDKColumnInfoPB::has_is_nullable() const {
7761
3.54k
  return (_has_bits_[0] & 0x00000010u) != 0;
7762
3.54k
}
7763
1.77k
inline void CDCSDKColumnInfoPB::set_has_is_nullable() {
7764
1.77k
  _has_bits_[0] |= 0x00000010u;
7765
1.77k
}
7766
0
inline void CDCSDKColumnInfoPB::clear_has_is_nullable() {
7767
0
  _has_bits_[0] &= ~0x00000010u;
7768
0
}
7769
0
inline void CDCSDKColumnInfoPB::clear_is_nullable() {
7770
0
  is_nullable_ = false;
7771
0
  clear_has_is_nullable();
7772
0
}
7773
1.77k
inline bool CDCSDKColumnInfoPB::is_nullable() const {
7774
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.is_nullable)
7775
1.77k
  return is_nullable_;
7776
1.77k
}
7777
1.77k
inline void CDCSDKColumnInfoPB::set_is_nullable(bool value) {
7778
1.77k
  set_has_is_nullable();
7779
1.77k
  is_nullable_ = value;
7780
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.is_nullable)
7781
1.77k
}
7782
7783
// optional int32 oid = 6 [default = 0];
7784
3.54k
inline bool CDCSDKColumnInfoPB::has_oid() const {
7785
3.54k
  return (_has_bits_[0] & 0x00000020u) != 0;
7786
3.54k
}
7787
1.77k
inline void CDCSDKColumnInfoPB::set_has_oid() {
7788
1.77k
  _has_bits_[0] |= 0x00000020u;
7789
1.77k
}
7790
0
inline void CDCSDKColumnInfoPB::clear_has_oid() {
7791
0
  _has_bits_[0] &= ~0x00000020u;
7792
0
}
7793
0
inline void CDCSDKColumnInfoPB::clear_oid() {
7794
0
  oid_ = 0;
7795
0
  clear_has_oid();
7796
0
}
7797
5.31k
inline ::google::protobuf::int32 CDCSDKColumnInfoPB::oid() const {
7798
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.oid)
7799
5.31k
  return oid_;
7800
5.31k
}
7801
1.77k
inline void CDCSDKColumnInfoPB::set_oid(::google::protobuf::int32 value) {
7802
1.77k
  set_has_oid();
7803
1.77k
  oid_ = value;
7804
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.oid)
7805
1.77k
}
7806
7807
// -------------------------------------------------------------------
7808
7809
// CDCSDKTablePropertiesPB
7810
7811
// optional uint64 default_time_to_live = 1;
7812
1.26k
inline bool CDCSDKTablePropertiesPB::has_default_time_to_live() const {
7813
1.26k
  return (_has_bits_[0] & 0x00000001u) != 0;
7814
1.26k
}
7815
631
inline void CDCSDKTablePropertiesPB::set_has_default_time_to_live() {
7816
631
  _has_bits_[0] |= 0x00000001u;
7817
631
}
7818
0
inline void CDCSDKTablePropertiesPB::clear_has_default_time_to_live() {
7819
0
  _has_bits_[0] &= ~0x00000001u;
7820
0
}
7821
0
inline void CDCSDKTablePropertiesPB::clear_default_time_to_live() {
7822
0
  default_time_to_live_ = GOOGLE_ULONGLONG(0);
7823
0
  clear_has_default_time_to_live();
7824
0
}
7825
1.89k
inline ::google::protobuf::uint64 CDCSDKTablePropertiesPB::default_time_to_live() const {
7826
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKTablePropertiesPB.default_time_to_live)
7827
1.89k
  return default_time_to_live_;
7828
1.89k
}
7829
631
inline void CDCSDKTablePropertiesPB::set_default_time_to_live(::google::protobuf::uint64 value) {
7830
631
  set_has_default_time_to_live();
7831
631
  default_time_to_live_ = value;
7832
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKTablePropertiesPB.default_time_to_live)
7833
631
}
7834
7835
// optional int32 num_tablets = 2 [default = 0];
7836
1.26k
inline bool CDCSDKTablePropertiesPB::has_num_tablets() const {
7837
1.26k
  return (_has_bits_[0] & 0x00000002u) != 0;
7838
1.26k
}
7839
631
inline void CDCSDKTablePropertiesPB::set_has_num_tablets() {
7840
631
  _has_bits_[0] |= 0x00000002u;
7841
631
}
7842
0
inline void CDCSDKTablePropertiesPB::clear_has_num_tablets() {
7843
0
  _has_bits_[0] &= ~0x00000002u;
7844
0
}
7845
0
inline void CDCSDKTablePropertiesPB::clear_num_tablets() {
7846
0
  num_tablets_ = 0;
7847
0
  clear_has_num_tablets();
7848
0
}
7849
1.89k
inline ::google::protobuf::int32 CDCSDKTablePropertiesPB::num_tablets() const {
7850
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKTablePropertiesPB.num_tablets)
7851
1.89k
  return num_tablets_;
7852
1.89k
}
7853
631
inline void CDCSDKTablePropertiesPB::set_num_tablets(::google::protobuf::int32 value) {
7854
631
  set_has_num_tablets();
7855
631
  num_tablets_ = value;
7856
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKTablePropertiesPB.num_tablets)
7857
631
}
7858
7859
// optional bool is_ysql_catalog_table = 3 [default = false];
7860
1.26k
inline bool CDCSDKTablePropertiesPB::has_is_ysql_catalog_table() const {
7861
1.26k
  return (_has_bits_[0] & 0x00000004u) != 0;
7862
1.26k
}
7863
631
inline void CDCSDKTablePropertiesPB::set_has_is_ysql_catalog_table() {
7864
631
  _has_bits_[0] |= 0x00000004u;
7865
631
}
7866
0
inline void CDCSDKTablePropertiesPB::clear_has_is_ysql_catalog_table() {
7867
0
  _has_bits_[0] &= ~0x00000004u;
7868
0
}
7869
0
inline void CDCSDKTablePropertiesPB::clear_is_ysql_catalog_table() {
7870
0
  is_ysql_catalog_table_ = false;
7871
0
  clear_has_is_ysql_catalog_table();
7872
0
}
7873
631
inline bool CDCSDKTablePropertiesPB::is_ysql_catalog_table() const {
7874
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKTablePropertiesPB.is_ysql_catalog_table)
7875
631
  return is_ysql_catalog_table_;
7876
631
}
7877
631
inline void CDCSDKTablePropertiesPB::set_is_ysql_catalog_table(bool value) {
7878
631
  set_has_is_ysql_catalog_table();
7879
631
  is_ysql_catalog_table_ = value;
7880
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKTablePropertiesPB.is_ysql_catalog_table)
7881
631
}
7882
7883
// -------------------------------------------------------------------
7884
7885
// CDCSDKSchemaPB
7886
7887
// repeated .yb.cdc.CDCSDKColumnInfoPB column_info = 1;
7888
1.89k
inline int CDCSDKSchemaPB::column_info_size() const {
7889
1.89k
  return column_info_.size();
7890
1.89k
}
7891
0
inline void CDCSDKSchemaPB::clear_column_info() {
7892
0
  column_info_.Clear();
7893
0
}
7894
5.31k
inline const ::yb::cdc::CDCSDKColumnInfoPB& CDCSDKSchemaPB::column_info(int index) const {
7895
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKSchemaPB.column_info)
7896
5.31k
  return column_info_.Get(index);
7897
5.31k
}
7898
0
inline ::yb::cdc::CDCSDKColumnInfoPB* CDCSDKSchemaPB::mutable_column_info(int index) {
7899
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKSchemaPB.column_info)
7900
0
  return column_info_.Mutable(index);
7901
0
}
7902
1.77k
inline ::yb::cdc::CDCSDKColumnInfoPB* CDCSDKSchemaPB::add_column_info() {
7903
  // @@protoc_insertion_point(field_add:yb.cdc.CDCSDKSchemaPB.column_info)
7904
1.77k
  return column_info_.Add();
7905
1.77k
}
7906
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB >*
7907
0
CDCSDKSchemaPB::mutable_column_info() {
7908
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCSDKSchemaPB.column_info)
7909
0
  return &column_info_;
7910
0
}
7911
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB >&
7912
0
CDCSDKSchemaPB::column_info() const {
7913
0
  // @@protoc_insertion_point(field_list:yb.cdc.CDCSDKSchemaPB.column_info)
7914
0
  return column_info_;
7915
0
}
7916
7917
// optional .yb.cdc.CDCSDKTablePropertiesPB tab_info = 2;
7918
1.26k
inline bool CDCSDKSchemaPB::has_tab_info() const {
7919
1.26k
  return (_has_bits_[0] & 0x00000001u) != 0;
7920
1.26k
}
7921
631
inline void CDCSDKSchemaPB::set_has_tab_info() {
7922
631
  _has_bits_[0] |= 0x00000001u;
7923
631
}
7924
0
inline void CDCSDKSchemaPB::clear_has_tab_info() {
7925
0
  _has_bits_[0] &= ~0x00000001u;
7926
0
}
7927
0
inline void CDCSDKSchemaPB::clear_tab_info() {
7928
0
  if (tab_info_ != NULL) tab_info_->Clear();
7929
0
  clear_has_tab_info();
7930
0
}
7931
0
inline const ::yb::cdc::CDCSDKTablePropertiesPB& CDCSDKSchemaPB::tab_info() const {
7932
0
  const ::yb::cdc::CDCSDKTablePropertiesPB* p = tab_info_;
7933
0
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKSchemaPB.tab_info)
7934
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKTablePropertiesPB*>(
7935
0
      &::yb::cdc::_CDCSDKTablePropertiesPB_default_instance_);
7936
0
}
7937
0
inline ::yb::cdc::CDCSDKTablePropertiesPB* CDCSDKSchemaPB::release_tab_info() {
7938
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKSchemaPB.tab_info)
7939
0
  clear_has_tab_info();
7940
0
  ::yb::cdc::CDCSDKTablePropertiesPB* temp = tab_info_;
7941
0
  tab_info_ = NULL;
7942
0
  return temp;
7943
0
}
7944
631
inline ::yb::cdc::CDCSDKTablePropertiesPB* CDCSDKSchemaPB::mutable_tab_info() {
7945
631
  set_has_tab_info();
7946
631
  if (tab_info_ == NULL) {
7947
631
    tab_info_ = new ::yb::cdc::CDCSDKTablePropertiesPB;
7948
631
  }
7949
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKSchemaPB.tab_info)
7950
631
  return tab_info_;
7951
631
}
7952
0
inline void CDCSDKSchemaPB::set_allocated_tab_info(::yb::cdc::CDCSDKTablePropertiesPB* tab_info) {
7953
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
7954
0
  if (message_arena == NULL) {
7955
0
    delete tab_info_;
7956
0
  }
7957
0
  if (tab_info) {
7958
0
    ::google::protobuf::Arena* submessage_arena = NULL;
7959
0
    if (message_arena != submessage_arena) {
7960
0
      tab_info = ::google::protobuf::internal::GetOwnedMessage(
7961
0
          message_arena, tab_info, submessage_arena);
7962
0
    }
7963
0
    set_has_tab_info();
7964
0
  } else {
7965
0
    clear_has_tab_info();
7966
0
  }
7967
0
  tab_info_ = tab_info;
7968
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKSchemaPB.tab_info)
7969
0
}
7970
7971
// -------------------------------------------------------------------
7972
7973
// CDCSDKOpIdPB
7974
7975
// optional int64 term = 1;
7976
2.42k
inline bool CDCSDKOpIdPB::has_term() const {
7977
2.42k
  return (_has_bits_[0] & 0x00000002u) != 0;
7978
2.42k
}
7979
1.21k
inline void CDCSDKOpIdPB::set_has_term() {
7980
1.21k
  _has_bits_[0] |= 0x00000002u;
7981
1.21k
}
7982
0
inline void CDCSDKOpIdPB::clear_has_term() {
7983
0
  _has_bits_[0] &= ~0x00000002u;
7984
0
}
7985
0
inline void CDCSDKOpIdPB::clear_term() {
7986
0
  term_ = GOOGLE_LONGLONG(0);
7987
0
  clear_has_term();
7988
0
}
7989
3.63k
inline ::google::protobuf::int64 CDCSDKOpIdPB::term() const {
7990
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.term)
7991
3.63k
  return term_;
7992
3.63k
}
7993
1.21k
inline void CDCSDKOpIdPB::set_term(::google::protobuf::int64 value) {
7994
1.21k
  set_has_term();
7995
1.21k
  term_ = value;
7996
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.term)
7997
1.21k
}
7998
7999
// optional int64 index = 2;
8000
2.42k
inline bool CDCSDKOpIdPB::has_index() const {
8001
2.42k
  return (_has_bits_[0] & 0x00000004u) != 0;
8002
2.42k
}
8003
1.21k
inline void CDCSDKOpIdPB::set_has_index() {
8004
1.21k
  _has_bits_[0] |= 0x00000004u;
8005
1.21k
}
8006
0
inline void CDCSDKOpIdPB::clear_has_index() {
8007
0
  _has_bits_[0] &= ~0x00000004u;
8008
0
}
8009
0
inline void CDCSDKOpIdPB::clear_index() {
8010
0
  index_ = GOOGLE_LONGLONG(0);
8011
0
  clear_has_index();
8012
0
}
8013
3.63k
inline ::google::protobuf::int64 CDCSDKOpIdPB::index() const {
8014
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.index)
8015
3.63k
  return index_;
8016
3.63k
}
8017
1.21k
inline void CDCSDKOpIdPB::set_index(::google::protobuf::int64 value) {
8018
1.21k
  set_has_index();
8019
1.21k
  index_ = value;
8020
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.index)
8021
1.21k
}
8022
8023
// optional uint32 write_id = 3 [default = 0];
8024
2.42k
inline bool CDCSDKOpIdPB::has_write_id() const {
8025
2.42k
  return (_has_bits_[0] & 0x00000008u) != 0;
8026
2.42k
}
8027
1.21k
inline void CDCSDKOpIdPB::set_has_write_id() {
8028
1.21k
  _has_bits_[0] |= 0x00000008u;
8029
1.21k
}
8030
0
inline void CDCSDKOpIdPB::clear_has_write_id() {
8031
0
  _has_bits_[0] &= ~0x00000008u;
8032
0
}
8033
0
inline void CDCSDKOpIdPB::clear_write_id() {
8034
0
  write_id_ = 0u;
8035
0
  clear_has_write_id();
8036
0
}
8037
3.63k
inline ::google::protobuf::uint32 CDCSDKOpIdPB::write_id() const {
8038
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.write_id)
8039
3.63k
  return write_id_;
8040
3.63k
}
8041
1.21k
inline void CDCSDKOpIdPB::set_write_id(::google::protobuf::uint32 value) {
8042
1.21k
  set_has_write_id();
8043
1.21k
  write_id_ = value;
8044
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.write_id)
8045
1.21k
}
8046
8047
// optional bytes write_id_key = 4 [default = ""];
8048
2.42k
inline bool CDCSDKOpIdPB::has_write_id_key() const {
8049
2.42k
  return (_has_bits_[0] & 0x00000001u) != 0;
8050
2.42k
}
8051
1.55k
inline void CDCSDKOpIdPB::set_has_write_id_key() {
8052
1.55k
  _has_bits_[0] |= 0x00000001u;
8053
1.55k
}
8054
0
inline void CDCSDKOpIdPB::clear_has_write_id_key() {
8055
0
  _has_bits_[0] &= ~0x00000001u;
8056
0
}
8057
0
inline void CDCSDKOpIdPB::clear_write_id_key() {
8058
0
  write_id_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8059
0
  clear_has_write_id_key();
8060
0
}
8061
3.63k
inline const ::std::string& CDCSDKOpIdPB::write_id_key() const {
8062
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.write_id_key)
8063
3.63k
  return write_id_key_.GetNoArena();
8064
3.63k
}
8065
1.21k
inline void CDCSDKOpIdPB::set_write_id_key(const ::std::string& value) {
8066
1.21k
  set_has_write_id_key();
8067
1.21k
  write_id_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8068
  // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.write_id_key)
8069
1.21k
}
8070
#if LANG_CXX11
8071
0
inline void CDCSDKOpIdPB::set_write_id_key(::std::string&& value) {
8072
0
  set_has_write_id_key();
8073
0
  write_id_key_.SetNoArena(
8074
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8075
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCSDKOpIdPB.write_id_key)
8076
0
}
8077
#endif
8078
0
inline void CDCSDKOpIdPB::set_write_id_key(const char* value) {
8079
0
  GOOGLE_DCHECK(value != NULL);
8080
0
  set_has_write_id_key();
8081
0
  write_id_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8082
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.CDCSDKOpIdPB.write_id_key)
8083
0
}
8084
0
inline void CDCSDKOpIdPB::set_write_id_key(const void* value, size_t size) {
8085
0
  set_has_write_id_key();
8086
0
  write_id_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8087
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8088
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCSDKOpIdPB.write_id_key)
8089
0
}
8090
0
inline ::std::string* CDCSDKOpIdPB::mutable_write_id_key() {
8091
0
  set_has_write_id_key();
8092
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKOpIdPB.write_id_key)
8093
0
  return write_id_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8094
0
}
8095
0
inline ::std::string* CDCSDKOpIdPB::release_write_id_key() {
8096
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKOpIdPB.write_id_key)
8097
0
  clear_has_write_id_key();
8098
0
  return write_id_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8099
0
}
8100
0
inline void CDCSDKOpIdPB::set_allocated_write_id_key(::std::string* write_id_key) {
8101
0
  if (write_id_key != NULL) {
8102
0
    set_has_write_id_key();
8103
0
  } else {
8104
0
    clear_has_write_id_key();
8105
0
  }
8106
0
  write_id_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), write_id_key);
8107
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKOpIdPB.write_id_key)
8108
0
}
8109
8110
// -------------------------------------------------------------------
8111
8112
// TypeInfo
8113
8114
// optional string modifier = 1;
8115
0
inline bool TypeInfo::has_modifier() const {
8116
0
  return (_has_bits_[0] & 0x00000001u) != 0;
8117
0
}
8118
0
inline void TypeInfo::set_has_modifier() {
8119
0
  _has_bits_[0] |= 0x00000001u;
8120
0
}
8121
0
inline void TypeInfo::clear_has_modifier() {
8122
0
  _has_bits_[0] &= ~0x00000001u;
8123
0
}
8124
0
inline void TypeInfo::clear_modifier() {
8125
0
  modifier_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8126
0
  clear_has_modifier();
8127
0
}
8128
0
inline const ::std::string& TypeInfo::modifier() const {
8129
0
  // @@protoc_insertion_point(field_get:yb.cdc.TypeInfo.modifier)
8130
0
  return modifier_.GetNoArena();
8131
0
}
8132
0
inline void TypeInfo::set_modifier(const ::std::string& value) {
8133
0
  set_has_modifier();
8134
0
  modifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8135
0
  // @@protoc_insertion_point(field_set:yb.cdc.TypeInfo.modifier)
8136
0
}
8137
#if LANG_CXX11
8138
0
inline void TypeInfo::set_modifier(::std::string&& value) {
8139
0
  set_has_modifier();
8140
0
  modifier_.SetNoArena(
8141
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8142
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.TypeInfo.modifier)
8143
0
}
8144
#endif
8145
0
inline void TypeInfo::set_modifier(const char* value) {
8146
0
  GOOGLE_DCHECK(value != NULL);
8147
0
  set_has_modifier();
8148
0
  modifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8149
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.TypeInfo.modifier)
8150
0
}
8151
0
inline void TypeInfo::set_modifier(const char* value, size_t size) {
8152
0
  set_has_modifier();
8153
0
  modifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8154
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8155
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.TypeInfo.modifier)
8156
0
}
8157
0
inline ::std::string* TypeInfo::mutable_modifier() {
8158
0
  set_has_modifier();
8159
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.TypeInfo.modifier)
8160
0
  return modifier_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8161
0
}
8162
0
inline ::std::string* TypeInfo::release_modifier() {
8163
0
  // @@protoc_insertion_point(field_release:yb.cdc.TypeInfo.modifier)
8164
0
  clear_has_modifier();
8165
0
  return modifier_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8166
0
}
8167
0
inline void TypeInfo::set_allocated_modifier(::std::string* modifier) {
8168
0
  if (modifier != NULL) {
8169
0
    set_has_modifier();
8170
0
  } else {
8171
0
    clear_has_modifier();
8172
0
  }
8173
0
  modifier_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), modifier);
8174
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.TypeInfo.modifier)
8175
0
}
8176
8177
// optional bool value_optional = 2;
8178
0
inline bool TypeInfo::has_value_optional() const {
8179
0
  return (_has_bits_[0] & 0x00000002u) != 0;
8180
0
}
8181
0
inline void TypeInfo::set_has_value_optional() {
8182
0
  _has_bits_[0] |= 0x00000002u;
8183
0
}
8184
0
inline void TypeInfo::clear_has_value_optional() {
8185
0
  _has_bits_[0] &= ~0x00000002u;
8186
0
}
8187
0
inline void TypeInfo::clear_value_optional() {
8188
0
  value_optional_ = false;
8189
0
  clear_has_value_optional();
8190
0
}
8191
0
inline bool TypeInfo::value_optional() const {
8192
0
  // @@protoc_insertion_point(field_get:yb.cdc.TypeInfo.value_optional)
8193
0
  return value_optional_;
8194
0
}
8195
0
inline void TypeInfo::set_value_optional(bool value) {
8196
0
  set_has_value_optional();
8197
0
  value_optional_ = value;
8198
0
  // @@protoc_insertion_point(field_set:yb.cdc.TypeInfo.value_optional)
8199
0
}
8200
8201
// -------------------------------------------------------------------
8202
8203
// RowMessage
8204
8205
// optional bytes transaction_id = 1;
8206
54.3k
inline bool RowMessage::has_transaction_id() const {
8207
54.3k
  return (_has_bits_[0] & 0x00000001u) != 0;
8208
54.3k
}
8209
984
inline void RowMessage::set_has_transaction_id() {
8210
984
  _has_bits_[0] |= 0x00000001u;
8211
984
}
8212
0
inline void RowMessage::clear_has_transaction_id() {
8213
0
  _has_bits_[0] &= ~0x00000001u;
8214
0
}
8215
0
inline void RowMessage::clear_transaction_id() {
8216
0
  transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8217
0
  clear_has_transaction_id();
8218
0
}
8219
1.91k
inline const ::std::string& RowMessage::transaction_id() const {
8220
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.transaction_id)
8221
1.91k
  return transaction_id_.GetNoArena();
8222
1.91k
}
8223
0
inline void RowMessage::set_transaction_id(const ::std::string& value) {
8224
0
  set_has_transaction_id();
8225
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8226
0
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.transaction_id)
8227
0
}
8228
#if LANG_CXX11
8229
639
inline void RowMessage::set_transaction_id(::std::string&& value) {
8230
639
  set_has_transaction_id();
8231
639
  transaction_id_.SetNoArena(
8232
639
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8233
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.transaction_id)
8234
639
}
8235
#endif
8236
0
inline void RowMessage::set_transaction_id(const char* value) {
8237
0
  GOOGLE_DCHECK(value != NULL);
8238
0
  set_has_transaction_id();
8239
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8240
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.transaction_id)
8241
0
}
8242
0
inline void RowMessage::set_transaction_id(const void* value, size_t size) {
8243
0
  set_has_transaction_id();
8244
0
  transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8245
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8246
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.transaction_id)
8247
0
}
8248
0
inline ::std::string* RowMessage::mutable_transaction_id() {
8249
0
  set_has_transaction_id();
8250
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.transaction_id)
8251
0
  return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8252
0
}
8253
0
inline ::std::string* RowMessage::release_transaction_id() {
8254
0
  // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.transaction_id)
8255
0
  clear_has_transaction_id();
8256
0
  return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8257
0
}
8258
0
inline void RowMessage::set_allocated_transaction_id(::std::string* transaction_id) {
8259
0
  if (transaction_id != NULL) {
8260
0
    set_has_transaction_id();
8261
0
  } else {
8262
0
    clear_has_transaction_id();
8263
0
  }
8264
0
  transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id);
8265
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.transaction_id)
8266
0
}
8267
8268
// optional uint64 commit_time = 2;
8269
54.3k
inline bool RowMessage::has_commit_time() const {
8270
54.3k
  return (_has_bits_[0] & 0x00000040u) != 0;
8271
54.3k
}
8272
25.9k
inline void RowMessage::set_has_commit_time() {
8273
25.9k
  _has_bits_[0] |= 0x00000040u;
8274
25.9k
}
8275
0
inline void RowMessage::clear_has_commit_time() {
8276
0
  _has_bits_[0] &= ~0x00000040u;
8277
0
}
8278
0
inline void RowMessage::clear_commit_time() {
8279
0
  commit_time_ = GOOGLE_ULONGLONG(0);
8280
0
  clear_has_commit_time();
8281
0
}
8282
77.7k
inline ::google::protobuf::uint64 RowMessage::commit_time() const {
8283
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.commit_time)
8284
77.7k
  return commit_time_;
8285
77.7k
}
8286
25.9k
inline void RowMessage::set_commit_time(::google::protobuf::uint64 value) {
8287
25.9k
  set_has_commit_time();
8288
25.9k
  commit_time_ = value;
8289
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.commit_time)
8290
25.9k
}
8291
8292
// optional string table = 3;
8293
54.3k
inline bool RowMessage::has_table() const {
8294
54.3k
  return (_has_bits_[0] & 0x00000002u) != 0;
8295
54.3k
}
8296
27.8k
inline void RowMessage::set_has_table() {
8297
27.8k
  _has_bits_[0] |= 0x00000002u;
8298
27.8k
}
8299
0
inline void RowMessage::clear_has_table() {
8300
0
  _has_bits_[0] &= ~0x00000002u;
8301
0
}
8302
0
inline void RowMessage::clear_table() {
8303
0
  table_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8304
0
  clear_has_table();
8305
0
}
8306
135k
inline const ::std::string& RowMessage::table() const {
8307
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.table)
8308
135k
  return table_.GetNoArena();
8309
135k
}
8310
26.1k
inline void RowMessage::set_table(const ::std::string& value) {
8311
26.1k
  set_has_table();
8312
26.1k
  table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8313
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.table)
8314
26.1k
}
8315
#if LANG_CXX11
8316
1.33k
inline void RowMessage::set_table(::std::string&& value) {
8317
1.33k
  set_has_table();
8318
1.33k
  table_.SetNoArena(
8319
1.33k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8320
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.table)
8321
1.33k
}
8322
#endif
8323
0
inline void RowMessage::set_table(const char* value) {
8324
0
  GOOGLE_DCHECK(value != NULL);
8325
0
  set_has_table();
8326
0
  table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8327
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.table)
8328
0
}
8329
0
inline void RowMessage::set_table(const char* value, size_t size) {
8330
0
  set_has_table();
8331
0
  table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8332
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8333
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.table)
8334
0
}
8335
0
inline ::std::string* RowMessage::mutable_table() {
8336
0
  set_has_table();
8337
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.table)
8338
0
  return table_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8339
0
}
8340
0
inline ::std::string* RowMessage::release_table() {
8341
0
  // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.table)
8342
0
  clear_has_table();
8343
0
  return table_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8344
0
}
8345
0
inline void RowMessage::set_allocated_table(::std::string* table) {
8346
0
  if (table != NULL) {
8347
0
    set_has_table();
8348
0
  } else {
8349
0
    clear_has_table();
8350
0
  }
8351
0
  table_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table);
8352
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.table)
8353
0
}
8354
8355
// optional .yb.cdc.RowMessage.Op op = 4;
8356
54.3k
inline bool RowMessage::has_op() const {
8357
54.3k
  return (_has_bits_[0] & 0x00000100u) != 0;
8358
54.3k
}
8359
27.5k
inline void RowMessage::set_has_op() {
8360
27.5k
  _has_bits_[0] |= 0x00000100u;
8361
27.5k
}
8362
0
inline void RowMessage::clear_has_op() {
8363
0
  _has_bits_[0] &= ~0x00000100u;
8364
0
}
8365
0
inline void RowMessage::clear_op() {
8366
0
  op_ = -1;
8367
0
  clear_has_op();
8368
0
}
8369
94.2k
inline ::yb::cdc::RowMessage_Op RowMessage::op() const {
8370
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.op)
8371
94.2k
  return static_cast< ::yb::cdc::RowMessage_Op >(op_);
8372
94.2k
}
8373
27.5k
inline void RowMessage::set_op(::yb::cdc::RowMessage_Op value) {
8374
27.5k
  assert(::yb::cdc::RowMessage_Op_IsValid(value));
8375
0
  set_has_op();
8376
27.5k
  op_ = value;
8377
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.op)
8378
27.5k
}
8379
8380
// repeated .yb.DatumMessagePB new_tuple = 5;
8381
81.5k
inline int RowMessage::new_tuple_size() const {
8382
81.5k
  return new_tuple_.size();
8383
81.5k
}
8384
235k
inline const ::yb::DatumMessagePB& RowMessage::new_tuple(int index) const {
8385
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.new_tuple)
8386
235k
  return new_tuple_.Get(index);
8387
235k
}
8388
0
inline ::yb::DatumMessagePB* RowMessage::mutable_new_tuple(int index) {
8389
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.new_tuple)
8390
0
  return new_tuple_.Mutable(index);
8391
0
}
8392
78.3k
inline ::yb::DatumMessagePB* RowMessage::add_new_tuple() {
8393
  // @@protoc_insertion_point(field_add:yb.cdc.RowMessage.new_tuple)
8394
78.3k
  return new_tuple_.Add();
8395
78.3k
}
8396
inline ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >*
8397
0
RowMessage::mutable_new_tuple() {
8398
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.RowMessage.new_tuple)
8399
0
  return &new_tuple_;
8400
0
}
8401
inline const ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >&
8402
0
RowMessage::new_tuple() const {
8403
0
  // @@protoc_insertion_point(field_list:yb.cdc.RowMessage.new_tuple)
8404
0
  return new_tuple_;
8405
0
}
8406
8407
// repeated .yb.DatumMessagePB old_tuple = 6;
8408
81.5k
inline int RowMessage::old_tuple_size() const {
8409
81.5k
  return old_tuple_.size();
8410
81.5k
}
8411
235k
inline const ::yb::DatumMessagePB& RowMessage::old_tuple(int index) const {
8412
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.old_tuple)
8413
235k
  return old_tuple_.Get(index);
8414
235k
}
8415
0
inline ::yb::DatumMessagePB* RowMessage::mutable_old_tuple(int index) {
8416
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.old_tuple)
8417
0
  return old_tuple_.Mutable(index);
8418
0
}
8419
78.3k
inline ::yb::DatumMessagePB* RowMessage::add_old_tuple() {
8420
  // @@protoc_insertion_point(field_add:yb.cdc.RowMessage.old_tuple)
8421
78.3k
  return old_tuple_.Add();
8422
78.3k
}
8423
inline ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >*
8424
0
RowMessage::mutable_old_tuple() {
8425
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.RowMessage.old_tuple)
8426
0
  return &old_tuple_;
8427
0
}
8428
inline const ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >&
8429
0
RowMessage::old_tuple() const {
8430
0
  // @@protoc_insertion_point(field_list:yb.cdc.RowMessage.old_tuple)
8431
0
  return old_tuple_;
8432
0
}
8433
8434
// repeated .yb.cdc.TypeInfo new_typeinfo = 7;
8435
81.5k
inline int RowMessage::new_typeinfo_size() const {
8436
81.5k
  return new_typeinfo_.size();
8437
81.5k
}
8438
0
inline void RowMessage::clear_new_typeinfo() {
8439
0
  new_typeinfo_.Clear();
8440
0
}
8441
0
inline const ::yb::cdc::TypeInfo& RowMessage::new_typeinfo(int index) const {
8442
0
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.new_typeinfo)
8443
0
  return new_typeinfo_.Get(index);
8444
0
}
8445
0
inline ::yb::cdc::TypeInfo* RowMessage::mutable_new_typeinfo(int index) {
8446
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.new_typeinfo)
8447
0
  return new_typeinfo_.Mutable(index);
8448
0
}
8449
0
inline ::yb::cdc::TypeInfo* RowMessage::add_new_typeinfo() {
8450
0
  // @@protoc_insertion_point(field_add:yb.cdc.RowMessage.new_typeinfo)
8451
0
  return new_typeinfo_.Add();
8452
0
}
8453
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo >*
8454
0
RowMessage::mutable_new_typeinfo() {
8455
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.RowMessage.new_typeinfo)
8456
0
  return &new_typeinfo_;
8457
0
}
8458
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo >&
8459
0
RowMessage::new_typeinfo() const {
8460
0
  // @@protoc_insertion_point(field_list:yb.cdc.RowMessage.new_typeinfo)
8461
0
  return new_typeinfo_;
8462
0
}
8463
8464
// optional .yb.cdc.CDCSDKSchemaPB schema = 8;
8465
54.3k
inline bool RowMessage::has_schema() const {
8466
54.3k
  return (_has_bits_[0] & 0x00000010u) != 0;
8467
54.3k
}
8468
2.40k
inline void RowMessage::set_has_schema() {
8469
2.40k
  _has_bits_[0] |= 0x00000010u;
8470
2.40k
}
8471
0
inline void RowMessage::clear_has_schema() {
8472
0
  _has_bits_[0] &= ~0x00000010u;
8473
0
}
8474
0
inline void RowMessage::clear_schema() {
8475
0
  if (schema_ != NULL) schema_->Clear();
8476
0
  clear_has_schema();
8477
0
}
8478
0
inline const ::yb::cdc::CDCSDKSchemaPB& RowMessage::schema() const {
8479
0
  const ::yb::cdc::CDCSDKSchemaPB* p = schema_;
8480
0
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.schema)
8481
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKSchemaPB*>(
8482
0
      &::yb::cdc::_CDCSDKSchemaPB_default_instance_);
8483
0
}
8484
0
inline ::yb::cdc::CDCSDKSchemaPB* RowMessage::release_schema() {
8485
0
  // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.schema)
8486
0
  clear_has_schema();
8487
0
  ::yb::cdc::CDCSDKSchemaPB* temp = schema_;
8488
0
  schema_ = NULL;
8489
0
  return temp;
8490
0
}
8491
2.40k
inline ::yb::cdc::CDCSDKSchemaPB* RowMessage::mutable_schema() {
8492
2.40k
  set_has_schema();
8493
2.40k
  if (schema_ == NULL) {
8494
631
    schema_ = new ::yb::cdc::CDCSDKSchemaPB;
8495
631
  }
8496
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.schema)
8497
2.40k
  return schema_;
8498
2.40k
}
8499
0
inline void RowMessage::set_allocated_schema(::yb::cdc::CDCSDKSchemaPB* schema) {
8500
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8501
0
  if (message_arena == NULL) {
8502
0
    delete schema_;
8503
0
  }
8504
0
  if (schema) {
8505
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8506
0
    if (message_arena != submessage_arena) {
8507
0
      schema = ::google::protobuf::internal::GetOwnedMessage(
8508
0
          message_arena, schema, submessage_arena);
8509
0
    }
8510
0
    set_has_schema();
8511
0
  } else {
8512
0
    clear_has_schema();
8513
0
  }
8514
0
  schema_ = schema;
8515
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.schema)
8516
0
}
8517
8518
// optional uint32 schema_version = 9;
8519
54.3k
inline bool RowMessage::has_schema_version() const {
8520
54.3k
  return (_has_bits_[0] & 0x00000080u) != 0;
8521
54.3k
}
8522
631
inline void RowMessage::set_has_schema_version() {
8523
631
  _has_bits_[0] |= 0x00000080u;
8524
631
}
8525
0
inline void RowMessage::clear_has_schema_version() {
8526
0
  _has_bits_[0] &= ~0x00000080u;
8527
0
}
8528
0
inline void RowMessage::clear_schema_version() {
8529
0
  schema_version_ = 0u;
8530
0
  clear_has_schema_version();
8531
0
}
8532
9.36k
inline ::google::protobuf::uint32 RowMessage::schema_version() const {
8533
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.schema_version)
8534
9.36k
  return schema_version_;
8535
9.36k
}
8536
631
inline void RowMessage::set_schema_version(::google::protobuf::uint32 value) {
8537
631
  set_has_schema_version();
8538
631
  schema_version_ = value;
8539
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.schema_version)
8540
631
}
8541
8542
// optional string new_table_name = 10;
8543
54.3k
inline bool RowMessage::has_new_table_name() const {
8544
54.3k
  return (_has_bits_[0] & 0x00000004u) != 0;
8545
54.3k
}
8546
306
inline void RowMessage::set_has_new_table_name() {
8547
306
  _has_bits_[0] |= 0x00000004u;
8548
306
}
8549
0
inline void RowMessage::clear_has_new_table_name() {
8550
0
  _has_bits_[0] &= ~0x00000004u;
8551
0
}
8552
0
inline void RowMessage::clear_new_table_name() {
8553
0
  new_table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8554
0
  clear_has_new_table_name();
8555
0
}
8556
1.53k
inline const ::std::string& RowMessage::new_table_name() const {
8557
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.new_table_name)
8558
1.53k
  return new_table_name_.GetNoArena();
8559
1.53k
}
8560
306
inline void RowMessage::set_new_table_name(const ::std::string& value) {
8561
306
  set_has_new_table_name();
8562
306
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8563
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.new_table_name)
8564
306
}
8565
#if LANG_CXX11
8566
0
inline void RowMessage::set_new_table_name(::std::string&& value) {
8567
0
  set_has_new_table_name();
8568
0
  new_table_name_.SetNoArena(
8569
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8570
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.new_table_name)
8571
0
}
8572
#endif
8573
0
inline void RowMessage::set_new_table_name(const char* value) {
8574
0
  GOOGLE_DCHECK(value != NULL);
8575
0
  set_has_new_table_name();
8576
0
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8577
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.new_table_name)
8578
0
}
8579
0
inline void RowMessage::set_new_table_name(const char* value, size_t size) {
8580
0
  set_has_new_table_name();
8581
0
  new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8582
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8583
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.new_table_name)
8584
0
}
8585
0
inline ::std::string* RowMessage::mutable_new_table_name() {
8586
0
  set_has_new_table_name();
8587
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.new_table_name)
8588
0
  return new_table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8589
0
}
8590
0
inline ::std::string* RowMessage::release_new_table_name() {
8591
0
  // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.new_table_name)
8592
0
  clear_has_new_table_name();
8593
0
  return new_table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8594
0
}
8595
0
inline void RowMessage::set_allocated_new_table_name(::std::string* new_table_name) {
8596
0
  if (new_table_name != NULL) {
8597
0
    set_has_new_table_name();
8598
0
  } else {
8599
0
    clear_has_new_table_name();
8600
0
  }
8601
0
  new_table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_table_name);
8602
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.new_table_name)
8603
0
}
8604
8605
// optional string pgschema_name = 11;
8606
54.3k
inline bool RowMessage::has_pgschema_name() const {
8607
54.3k
  return (_has_bits_[0] & 0x00000008u) != 0;
8608
54.3k
}
8609
27.6k
inline void RowMessage::set_has_pgschema_name() {
8610
27.6k
  _has_bits_[0] |= 0x00000008u;
8611
27.6k
}
8612
0
inline void RowMessage::clear_has_pgschema_name() {
8613
0
  _has_bits_[0] &= ~0x00000008u;
8614
0
}
8615
0
inline void RowMessage::clear_pgschema_name() {
8616
0
  pgschema_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8617
0
  clear_has_pgschema_name();
8618
0
}
8619
134k
inline const ::std::string& RowMessage::pgschema_name() const {
8620
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.pgschema_name)
8621
134k
  return pgschema_name_.GetNoArena();
8622
134k
}
8623
325
inline void RowMessage::set_pgschema_name(const ::std::string& value) {
8624
325
  set_has_pgschema_name();
8625
325
  pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
8626
  // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.pgschema_name)
8627
325
}
8628
#if LANG_CXX11
8629
26.9k
inline void RowMessage::set_pgschema_name(::std::string&& value) {
8630
26.9k
  set_has_pgschema_name();
8631
26.9k
  pgschema_name_.SetNoArena(
8632
26.9k
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
8633
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.pgschema_name)
8634
26.9k
}
8635
#endif
8636
0
inline void RowMessage::set_pgschema_name(const char* value) {
8637
0
  GOOGLE_DCHECK(value != NULL);
8638
0
  set_has_pgschema_name();
8639
0
  pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
8640
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.pgschema_name)
8641
0
}
8642
0
inline void RowMessage::set_pgschema_name(const char* value, size_t size) {
8643
0
  set_has_pgschema_name();
8644
0
  pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
8645
0
      ::std::string(reinterpret_cast<const char*>(value), size));
8646
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.pgschema_name)
8647
0
}
8648
0
inline ::std::string* RowMessage::mutable_pgschema_name() {
8649
0
  set_has_pgschema_name();
8650
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.pgschema_name)
8651
0
  return pgschema_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8652
0
}
8653
0
inline ::std::string* RowMessage::release_pgschema_name() {
8654
0
  // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.pgschema_name)
8655
0
  clear_has_pgschema_name();
8656
0
  return pgschema_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8657
0
}
8658
0
inline void RowMessage::set_allocated_pgschema_name(::std::string* pgschema_name) {
8659
0
  if (pgschema_name != NULL) {
8660
0
    set_has_pgschema_name();
8661
0
  } else {
8662
0
    clear_has_pgschema_name();
8663
0
  }
8664
0
  pgschema_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pgschema_name);
8665
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.pgschema_name)
8666
0
}
8667
8668
// optional .yb.tserver.TruncateRequestPB truncate_request_info = 13;
8669
54.3k
inline bool RowMessage::has_truncate_request_info() const {
8670
54.3k
  return (_has_bits_[0] & 0x00000020u) != 0;
8671
54.3k
}
8672
0
inline void RowMessage::set_has_truncate_request_info() {
8673
0
  _has_bits_[0] |= 0x00000020u;
8674
0
}
8675
0
inline void RowMessage::clear_has_truncate_request_info() {
8676
0
  _has_bits_[0] &= ~0x00000020u;
8677
0
}
8678
0
inline const ::yb::tserver::TruncateRequestPB& RowMessage::truncate_request_info() const {
8679
0
  const ::yb::tserver::TruncateRequestPB* p = truncate_request_info_;
8680
0
  // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.truncate_request_info)
8681
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TruncateRequestPB*>(
8682
0
      &::yb::tserver::_TruncateRequestPB_default_instance_);
8683
0
}
8684
0
inline ::yb::tserver::TruncateRequestPB* RowMessage::release_truncate_request_info() {
8685
0
  // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.truncate_request_info)
8686
0
  clear_has_truncate_request_info();
8687
0
  ::yb::tserver::TruncateRequestPB* temp = truncate_request_info_;
8688
0
  truncate_request_info_ = NULL;
8689
0
  return temp;
8690
0
}
8691
0
inline ::yb::tserver::TruncateRequestPB* RowMessage::mutable_truncate_request_info() {
8692
0
  set_has_truncate_request_info();
8693
0
  if (truncate_request_info_ == NULL) {
8694
0
    truncate_request_info_ = new ::yb::tserver::TruncateRequestPB;
8695
0
  }
8696
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.truncate_request_info)
8697
0
  return truncate_request_info_;
8698
0
}
8699
0
inline void RowMessage::set_allocated_truncate_request_info(::yb::tserver::TruncateRequestPB* truncate_request_info) {
8700
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8701
0
  if (message_arena == NULL) {
8702
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(truncate_request_info_);
8703
0
  }
8704
0
  if (truncate_request_info) {
8705
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8706
0
    if (message_arena != submessage_arena) {
8707
0
      truncate_request_info = ::google::protobuf::internal::GetOwnedMessage(
8708
0
          message_arena, truncate_request_info, submessage_arena);
8709
0
    }
8710
0
    set_has_truncate_request_info();
8711
0
  } else {
8712
0
    clear_has_truncate_request_info();
8713
0
  }
8714
0
  truncate_request_info_ = truncate_request_info;
8715
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.truncate_request_info)
8716
0
}
8717
8718
// -------------------------------------------------------------------
8719
8720
// CDCSDKProtoRecordPB
8721
8722
// optional .yb.cdc.RowMessage row_message = 1;
8723
54.3k
inline bool CDCSDKProtoRecordPB::has_row_message() const {
8724
54.3k
  return (_has_bits_[0] & 0x00000001u) != 0;
8725
54.3k
}
8726
27.3k
inline void CDCSDKProtoRecordPB::set_has_row_message() {
8727
27.3k
  _has_bits_[0] |= 0x00000001u;
8728
27.3k
}
8729
0
inline void CDCSDKProtoRecordPB::clear_has_row_message() {
8730
0
  _has_bits_[0] &= ~0x00000001u;
8731
0
}
8732
0
inline void CDCSDKProtoRecordPB::clear_row_message() {
8733
0
  if (row_message_ != NULL) row_message_->Clear();
8734
0
  clear_has_row_message();
8735
0
}
8736
14.9k
inline const ::yb::cdc::RowMessage& CDCSDKProtoRecordPB::row_message() const {
8737
14.9k
  const ::yb::cdc::RowMessage* p = row_message_;
8738
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKProtoRecordPB.row_message)
8739
14.9k
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::RowMessage*>(
8740
0
      &::yb::cdc::_RowMessage_default_instance_);
8741
14.9k
}
8742
0
inline ::yb::cdc::RowMessage* CDCSDKProtoRecordPB::release_row_message() {
8743
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKProtoRecordPB.row_message)
8744
0
  clear_has_row_message();
8745
0
  ::yb::cdc::RowMessage* temp = row_message_;
8746
0
  row_message_ = NULL;
8747
0
  return temp;
8748
0
}
8749
27.3k
inline ::yb::cdc::RowMessage* CDCSDKProtoRecordPB::mutable_row_message() {
8750
27.3k
  set_has_row_message();
8751
27.3k
  if (row_message_ == NULL) {
8752
27.3k
    row_message_ = new ::yb::cdc::RowMessage;
8753
27.3k
  }
8754
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKProtoRecordPB.row_message)
8755
27.3k
  return row_message_;
8756
27.3k
}
8757
0
inline void CDCSDKProtoRecordPB::set_allocated_row_message(::yb::cdc::RowMessage* row_message) {
8758
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8759
0
  if (message_arena == NULL) {
8760
0
    delete row_message_;
8761
0
  }
8762
0
  if (row_message) {
8763
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8764
0
    if (message_arena != submessage_arena) {
8765
0
      row_message = ::google::protobuf::internal::GetOwnedMessage(
8766
0
          message_arena, row_message, submessage_arena);
8767
0
    }
8768
0
    set_has_row_message();
8769
0
  } else {
8770
0
    clear_has_row_message();
8771
0
  }
8772
0
  row_message_ = row_message;
8773
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKProtoRecordPB.row_message)
8774
0
}
8775
8776
// optional .yb.cdc.CDCSDKOpIdPB cdc_sdk_op_id = 2;
8777
54.3k
inline bool CDCSDKProtoRecordPB::has_cdc_sdk_op_id() const {
8778
54.3k
  return (_has_bits_[0] & 0x00000002u) != 0;
8779
54.3k
}
8780
1.55k
inline void CDCSDKProtoRecordPB::set_has_cdc_sdk_op_id() {
8781
1.55k
  _has_bits_[0] |= 0x00000002u;
8782
1.55k
}
8783
0
inline void CDCSDKProtoRecordPB::clear_has_cdc_sdk_op_id() {
8784
0
  _has_bits_[0] &= ~0x00000002u;
8785
0
}
8786
0
inline void CDCSDKProtoRecordPB::clear_cdc_sdk_op_id() {
8787
0
  if (cdc_sdk_op_id_ != NULL) cdc_sdk_op_id_->Clear();
8788
0
  clear_has_cdc_sdk_op_id();
8789
0
}
8790
345
inline const ::yb::cdc::CDCSDKOpIdPB& CDCSDKProtoRecordPB::cdc_sdk_op_id() const {
8791
345
  const ::yb::cdc::CDCSDKOpIdPB* p = cdc_sdk_op_id_;
8792
  // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id)
8793
345
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKOpIdPB*>(
8794
0
      &::yb::cdc::_CDCSDKOpIdPB_default_instance_);
8795
345
}
8796
0
inline ::yb::cdc::CDCSDKOpIdPB* CDCSDKProtoRecordPB::release_cdc_sdk_op_id() {
8797
0
  // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id)
8798
0
  clear_has_cdc_sdk_op_id();
8799
0
  ::yb::cdc::CDCSDKOpIdPB* temp = cdc_sdk_op_id_;
8800
0
  cdc_sdk_op_id_ = NULL;
8801
0
  return temp;
8802
0
}
8803
1.55k
inline ::yb::cdc::CDCSDKOpIdPB* CDCSDKProtoRecordPB::mutable_cdc_sdk_op_id() {
8804
1.55k
  set_has_cdc_sdk_op_id();
8805
1.55k
  if (cdc_sdk_op_id_ == NULL) {
8806
1.35k
    cdc_sdk_op_id_ = new ::yb::cdc::CDCSDKOpIdPB;
8807
1.35k
  }
8808
  // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id)
8809
1.55k
  return cdc_sdk_op_id_;
8810
1.55k
}
8811
0
inline void CDCSDKProtoRecordPB::set_allocated_cdc_sdk_op_id(::yb::cdc::CDCSDKOpIdPB* cdc_sdk_op_id) {
8812
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8813
0
  if (message_arena == NULL) {
8814
0
    delete cdc_sdk_op_id_;
8815
0
  }
8816
0
  if (cdc_sdk_op_id) {
8817
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8818
0
    if (message_arena != submessage_arena) {
8819
0
      cdc_sdk_op_id = ::google::protobuf::internal::GetOwnedMessage(
8820
0
          message_arena, cdc_sdk_op_id, submessage_arena);
8821
0
    }
8822
0
    set_has_cdc_sdk_op_id();
8823
0
  } else {
8824
0
    clear_has_cdc_sdk_op_id();
8825
0
  }
8826
0
  cdc_sdk_op_id_ = cdc_sdk_op_id;
8827
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id)
8828
0
}
8829
8830
// -------------------------------------------------------------------
8831
8832
// GetChangesResponsePB
8833
8834
// optional .yb.cdc.CDCErrorPB error = 1;
8835
1.92k
inline bool GetChangesResponsePB::has_error() const {
8836
1.92k
  return (_has_bits_[0] & 0x00000001u) != 0;
8837
1.92k
}
8838
1
inline void GetChangesResponsePB::set_has_error() {
8839
1
  _has_bits_[0] |= 0x00000001u;
8840
1
}
8841
0
inline void GetChangesResponsePB::clear_has_error() {
8842
0
  _has_bits_[0] &= ~0x00000001u;
8843
0
}
8844
0
inline void GetChangesResponsePB::clear_error() {
8845
0
  if (error_ != NULL) error_->Clear();
8846
0
  clear_has_error();
8847
0
}
8848
0
inline const ::yb::cdc::CDCErrorPB& GetChangesResponsePB::error() const {
8849
0
  const ::yb::cdc::CDCErrorPB* p = error_;
8850
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.error)
8851
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
8852
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
8853
0
}
8854
0
inline ::yb::cdc::CDCErrorPB* GetChangesResponsePB::release_error() {
8855
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesResponsePB.error)
8856
0
  clear_has_error();
8857
0
  ::yb::cdc::CDCErrorPB* temp = error_;
8858
0
  error_ = NULL;
8859
0
  return temp;
8860
0
}
8861
1
inline ::yb::cdc::CDCErrorPB* GetChangesResponsePB::mutable_error() {
8862
1
  set_has_error();
8863
1
  if (error_ == NULL) {
8864
1
    error_ = new ::yb::cdc::CDCErrorPB;
8865
1
  }
8866
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.error)
8867
1
  return error_;
8868
1
}
8869
0
inline void GetChangesResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
8870
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
8871
0
  if (message_arena == NULL) {
8872
0
    delete error_;
8873
0
  }
8874
0
  if (error) {
8875
0
    ::google::protobuf::Arena* submessage_arena = NULL;
8876
0
    if (message_arena != submessage_arena) {
8877
0
      error = ::google::protobuf::internal::GetOwnedMessage(
8878
0
          message_arena, error, submessage_arena);
8879
0
    }
8880
0
    set_has_error();
8881
0
  } else {
8882
0
    clear_has_error();
8883
0
  }
8884
0
  error_ = error;
8885
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesResponsePB.error)
8886
0
}
8887
8888
// optional .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE];
8889
1.28k
inline bool GetChangesResponsePB::has_record_type() const {
8890
1.28k
  return (_has_bits_[0] & 0x00000010u) != 0;
8891
1.28k
}
8892
0
inline void GetChangesResponsePB::set_has_record_type() {
8893
0
  _has_bits_[0] |= 0x00000010u;
8894
0
}
8895
0
inline void GetChangesResponsePB::clear_has_record_type() {
8896
0
  _has_bits_[0] &= ~0x00000010u;
8897
0
}
8898
0
inline void GetChangesResponsePB::clear_record_type() {
8899
0
  record_type_ = 1;
8900
0
  clear_has_record_type();
8901
0
}
8902
0
inline ::yb::cdc::CDCRecordType GetChangesResponsePB::record_type() const {
8903
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.record_type)
8904
0
  return static_cast< ::yb::cdc::CDCRecordType >(record_type_);
8905
0
}
8906
0
inline void GetChangesResponsePB::set_record_type(::yb::cdc::CDCRecordType value) {
8907
0
  assert(::yb::cdc::CDCRecordType_IsValid(value));
8908
0
  set_has_record_type();
8909
0
  record_type_ = value;
8910
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesResponsePB.record_type)
8911
0
}
8912
8913
// optional .yb.cdc.CDCRecordFormat record_format = 3;
8914
1.28k
inline bool GetChangesResponsePB::has_record_format() const {
8915
1.28k
  return (_has_bits_[0] & 0x00000020u) != 0;
8916
1.28k
}
8917
0
inline void GetChangesResponsePB::set_has_record_format() {
8918
0
  _has_bits_[0] |= 0x00000020u;
8919
0
}
8920
0
inline void GetChangesResponsePB::clear_has_record_format() {
8921
0
  _has_bits_[0] &= ~0x00000020u;
8922
0
}
8923
0
inline void GetChangesResponsePB::clear_record_format() {
8924
0
  record_format_ = 1;
8925
0
  clear_has_record_format();
8926
0
}
8927
0
inline ::yb::cdc::CDCRecordFormat GetChangesResponsePB::record_format() const {
8928
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.record_format)
8929
0
  return static_cast< ::yb::cdc::CDCRecordFormat >(record_format_);
8930
0
}
8931
0
inline void GetChangesResponsePB::set_record_format(::yb::cdc::CDCRecordFormat value) {
8932
0
  assert(::yb::cdc::CDCRecordFormat_IsValid(value));
8933
0
  set_has_record_format();
8934
0
  record_format_ = value;
8935
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesResponsePB.record_format)
8936
0
}
8937
8938
// repeated .yb.cdc.CDCRecordPB records = 4;
8939
3.20k
inline int GetChangesResponsePB::records_size() const {
8940
3.20k
  return records_.size();
8941
3.20k
}
8942
0
inline void GetChangesResponsePB::clear_records() {
8943
0
  records_.Clear();
8944
0
}
8945
0
inline const ::yb::cdc::CDCRecordPB& GetChangesResponsePB::records(int index) const {
8946
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.records)
8947
0
  return records_.Get(index);
8948
0
}
8949
0
inline ::yb::cdc::CDCRecordPB* GetChangesResponsePB::mutable_records(int index) {
8950
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.records)
8951
0
  return records_.Mutable(index);
8952
0
}
8953
0
inline ::yb::cdc::CDCRecordPB* GetChangesResponsePB::add_records() {
8954
0
  // @@protoc_insertion_point(field_add:yb.cdc.GetChangesResponsePB.records)
8955
0
  return records_.Add();
8956
0
}
8957
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB >*
8958
0
GetChangesResponsePB::mutable_records() {
8959
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetChangesResponsePB.records)
8960
0
  return &records_;
8961
0
}
8962
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB >&
8963
642
GetChangesResponsePB::records() const {
8964
  // @@protoc_insertion_point(field_list:yb.cdc.GetChangesResponsePB.records)
8965
642
  return records_;
8966
642
}
8967
8968
// optional .yb.cdc.CDCCheckpointPB checkpoint = 5;
8969
1.92k
inline bool GetChangesResponsePB::has_checkpoint() const {
8970
1.92k
  return (_has_bits_[0] & 0x00000002u) != 0;
8971
1.92k
}
8972
1.23k
inline void GetChangesResponsePB::set_has_checkpoint() {
8973
1.23k
  _has_bits_[0] |= 0x00000002u;
8974
1.23k
}
8975
0
inline void GetChangesResponsePB::clear_has_checkpoint() {
8976
0
  _has_bits_[0] &= ~0x00000002u;
8977
0
}
8978
0
inline void GetChangesResponsePB::clear_checkpoint() {
8979
0
  if (checkpoint_ != NULL) checkpoint_->Clear();
8980
0
  clear_has_checkpoint();
8981
0
}
8982
1.26k
inline const ::yb::cdc::CDCCheckpointPB& GetChangesResponsePB::checkpoint() const {
8983
1.26k
  const ::yb::cdc::CDCCheckpointPB* p = checkpoint_;
8984
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.checkpoint)
8985
1.26k
  return p != NULL ? 
*p1.23k
: *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>(
8986
36
      &::yb::cdc::_CDCCheckpointPB_default_instance_);
8987
1.26k
}
8988
0
inline ::yb::cdc::CDCCheckpointPB* GetChangesResponsePB::release_checkpoint() {
8989
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesResponsePB.checkpoint)
8990
0
  clear_has_checkpoint();
8991
0
  ::yb::cdc::CDCCheckpointPB* temp = checkpoint_;
8992
0
  checkpoint_ = NULL;
8993
0
  return temp;
8994
0
}
8995
1.23k
inline ::yb::cdc::CDCCheckpointPB* GetChangesResponsePB::mutable_checkpoint() {
8996
1.23k
  set_has_checkpoint();
8997
1.23k
  if (checkpoint_ == NULL) {
8998
617
    checkpoint_ = new ::yb::cdc::CDCCheckpointPB;
8999
617
  }
9000
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.checkpoint)
9001
1.23k
  return checkpoint_;
9002
1.23k
}
9003
0
inline void GetChangesResponsePB::set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint) {
9004
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9005
0
  if (message_arena == NULL) {
9006
0
    delete checkpoint_;
9007
0
  }
9008
0
  if (checkpoint) {
9009
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9010
0
    if (message_arena != submessage_arena) {
9011
0
      checkpoint = ::google::protobuf::internal::GetOwnedMessage(
9012
0
          message_arena, checkpoint, submessage_arena);
9013
0
    }
9014
0
    set_has_checkpoint();
9015
0
  } else {
9016
0
    clear_has_checkpoint();
9017
0
  }
9018
0
  checkpoint_ = checkpoint;
9019
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesResponsePB.checkpoint)
9020
0
}
9021
9022
// repeated .yb.HostPortPB tserver = 6;
9023
1.92k
inline int GetChangesResponsePB::tserver_size() const {
9024
1.92k
  return tserver_.size();
9025
1.92k
}
9026
0
inline const ::yb::HostPortPB& GetChangesResponsePB::tserver(int index) const {
9027
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.tserver)
9028
0
  return tserver_.Get(index);
9029
0
}
9030
0
inline ::yb::HostPortPB* GetChangesResponsePB::mutable_tserver(int index) {
9031
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.tserver)
9032
0
  return tserver_.Mutable(index);
9033
0
}
9034
0
inline ::yb::HostPortPB* GetChangesResponsePB::add_tserver() {
9035
0
  // @@protoc_insertion_point(field_add:yb.cdc.GetChangesResponsePB.tserver)
9036
0
  return tserver_.Add();
9037
0
}
9038
inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >*
9039
0
GetChangesResponsePB::mutable_tserver() {
9040
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetChangesResponsePB.tserver)
9041
0
  return &tserver_;
9042
0
}
9043
inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >&
9044
642
GetChangesResponsePB::tserver() const {
9045
  // @@protoc_insertion_point(field_list:yb.cdc.GetChangesResponsePB.tserver)
9046
642
  return tserver_;
9047
642
}
9048
9049
// repeated .yb.cdc.CDCSDKProtoRecordPB cdc_sdk_proto_records = 8;
9050
24.6k
inline int GetChangesResponsePB::cdc_sdk_proto_records_size() const {
9051
24.6k
  return cdc_sdk_proto_records_.size();
9052
24.6k
}
9053
0
inline void GetChangesResponsePB::clear_cdc_sdk_proto_records() {
9054
0
  cdc_sdk_proto_records_.Clear();
9055
0
}
9056
96.5k
inline const ::yb::cdc::CDCSDKProtoRecordPB& GetChangesResponsePB::cdc_sdk_proto_records(int index) const {
9057
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records)
9058
96.5k
  return cdc_sdk_proto_records_.Get(index);
9059
96.5k
}
9060
0
inline ::yb::cdc::CDCSDKProtoRecordPB* GetChangesResponsePB::mutable_cdc_sdk_proto_records(int index) {
9061
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records)
9062
0
  return cdc_sdk_proto_records_.Mutable(index);
9063
0
}
9064
27.1k
inline ::yb::cdc::CDCSDKProtoRecordPB* GetChangesResponsePB::add_cdc_sdk_proto_records() {
9065
  // @@protoc_insertion_point(field_add:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records)
9066
27.1k
  return cdc_sdk_proto_records_.Add();
9067
27.1k
}
9068
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB >*
9069
0
GetChangesResponsePB::mutable_cdc_sdk_proto_records() {
9070
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records)
9071
0
  return &cdc_sdk_proto_records_;
9072
0
}
9073
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB >&
9074
0
GetChangesResponsePB::cdc_sdk_proto_records() const {
9075
0
  // @@protoc_insertion_point(field_list:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records)
9076
0
  return cdc_sdk_proto_records_;
9077
0
}
9078
9079
// optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 9;
9080
1.28k
inline bool GetChangesResponsePB::has_cdc_sdk_checkpoint() const {
9081
1.28k
  return (_has_bits_[0] & 0x00000004u) != 0;
9082
1.28k
}
9083
641
inline void GetChangesResponsePB::set_has_cdc_sdk_checkpoint() {
9084
641
  _has_bits_[0] |= 0x00000004u;
9085
641
}
9086
0
inline void GetChangesResponsePB::clear_has_cdc_sdk_checkpoint() {
9087
0
  _has_bits_[0] &= ~0x00000004u;
9088
0
}
9089
0
inline void GetChangesResponsePB::clear_cdc_sdk_checkpoint() {
9090
0
  if (cdc_sdk_checkpoint_ != NULL) cdc_sdk_checkpoint_->Clear();
9091
0
  clear_has_cdc_sdk_checkpoint();
9092
0
}
9093
0
inline const ::yb::cdc::CDCSDKCheckpointPB& GetChangesResponsePB::cdc_sdk_checkpoint() const {
9094
0
  const ::yb::cdc::CDCSDKCheckpointPB* p = cdc_sdk_checkpoint_;
9095
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint)
9096
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKCheckpointPB*>(
9097
0
      &::yb::cdc::_CDCSDKCheckpointPB_default_instance_);
9098
0
}
9099
0
inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesResponsePB::release_cdc_sdk_checkpoint() {
9100
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint)
9101
0
  clear_has_cdc_sdk_checkpoint();
9102
0
  ::yb::cdc::CDCSDKCheckpointPB* temp = cdc_sdk_checkpoint_;
9103
0
  cdc_sdk_checkpoint_ = NULL;
9104
0
  return temp;
9105
0
}
9106
641
inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesResponsePB::mutable_cdc_sdk_checkpoint() {
9107
641
  set_has_cdc_sdk_checkpoint();
9108
641
  if (cdc_sdk_checkpoint_ == NULL) {
9109
641
    cdc_sdk_checkpoint_ = new ::yb::cdc::CDCSDKCheckpointPB;
9110
641
  }
9111
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint)
9112
641
  return cdc_sdk_checkpoint_;
9113
641
}
9114
0
inline void GetChangesResponsePB::set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint) {
9115
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9116
0
  if (message_arena == NULL) {
9117
0
    delete cdc_sdk_checkpoint_;
9118
0
  }
9119
0
  if (cdc_sdk_checkpoint) {
9120
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9121
0
    if (message_arena != submessage_arena) {
9122
0
      cdc_sdk_checkpoint = ::google::protobuf::internal::GetOwnedMessage(
9123
0
          message_arena, cdc_sdk_checkpoint, submessage_arena);
9124
0
    }
9125
0
    set_has_cdc_sdk_checkpoint();
9126
0
  } else {
9127
0
    clear_has_cdc_sdk_checkpoint();
9128
0
  }
9129
0
  cdc_sdk_checkpoint_ = cdc_sdk_checkpoint;
9130
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint)
9131
0
}
9132
9133
// optional int64 safe_hybrid_time = 10;
9134
1.28k
inline bool GetChangesResponsePB::has_safe_hybrid_time() const {
9135
1.28k
  return (_has_bits_[0] & 0x00000008u) != 0;
9136
1.28k
}
9137
0
inline void GetChangesResponsePB::set_has_safe_hybrid_time() {
9138
0
  _has_bits_[0] |= 0x00000008u;
9139
0
}
9140
0
inline void GetChangesResponsePB::clear_has_safe_hybrid_time() {
9141
0
  _has_bits_[0] &= ~0x00000008u;
9142
0
}
9143
0
inline void GetChangesResponsePB::clear_safe_hybrid_time() {
9144
0
  safe_hybrid_time_ = GOOGLE_LONGLONG(0);
9145
0
  clear_has_safe_hybrid_time();
9146
0
}
9147
0
inline ::google::protobuf::int64 GetChangesResponsePB::safe_hybrid_time() const {
9148
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.safe_hybrid_time)
9149
0
  return safe_hybrid_time_;
9150
0
}
9151
0
inline void GetChangesResponsePB::set_safe_hybrid_time(::google::protobuf::int64 value) {
9152
0
  set_has_safe_hybrid_time();
9153
0
  safe_hybrid_time_ = value;
9154
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetChangesResponsePB.safe_hybrid_time)
9155
0
}
9156
9157
// -------------------------------------------------------------------
9158
9159
// GetCheckpointRequestPB
9160
9161
// optional bytes stream_id = 1;
9162
14
inline bool GetCheckpointRequestPB::has_stream_id() const {
9163
14
  return (_has_bits_[0] & 0x00000001u) != 0;
9164
14
}
9165
14
inline void GetCheckpointRequestPB::set_has_stream_id() {
9166
14
  _has_bits_[0] |= 0x00000001u;
9167
14
}
9168
0
inline void GetCheckpointRequestPB::clear_has_stream_id() {
9169
0
  _has_bits_[0] &= ~0x00000001u;
9170
0
}
9171
0
inline void GetCheckpointRequestPB::clear_stream_id() {
9172
0
  stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9173
0
  clear_has_stream_id();
9174
0
}
9175
14
inline const ::std::string& GetCheckpointRequestPB::stream_id() const {
9176
  // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointRequestPB.stream_id)
9177
14
  return stream_id_.GetNoArena();
9178
14
}
9179
0
inline void GetCheckpointRequestPB::set_stream_id(const ::std::string& value) {
9180
0
  set_has_stream_id();
9181
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9182
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetCheckpointRequestPB.stream_id)
9183
0
}
9184
#if LANG_CXX11
9185
0
inline void GetCheckpointRequestPB::set_stream_id(::std::string&& value) {
9186
0
  set_has_stream_id();
9187
0
  stream_id_.SetNoArena(
9188
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9189
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCheckpointRequestPB.stream_id)
9190
0
}
9191
#endif
9192
0
inline void GetCheckpointRequestPB::set_stream_id(const char* value) {
9193
0
  GOOGLE_DCHECK(value != NULL);
9194
0
  set_has_stream_id();
9195
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9196
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetCheckpointRequestPB.stream_id)
9197
0
}
9198
0
inline void GetCheckpointRequestPB::set_stream_id(const void* value, size_t size) {
9199
0
  set_has_stream_id();
9200
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9201
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9202
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCheckpointRequestPB.stream_id)
9203
0
}
9204
14
inline ::std::string* GetCheckpointRequestPB::mutable_stream_id() {
9205
14
  set_has_stream_id();
9206
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointRequestPB.stream_id)
9207
14
  return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9208
14
}
9209
0
inline ::std::string* GetCheckpointRequestPB::release_stream_id() {
9210
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointRequestPB.stream_id)
9211
0
  clear_has_stream_id();
9212
0
  return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9213
0
}
9214
0
inline void GetCheckpointRequestPB::set_allocated_stream_id(::std::string* stream_id) {
9215
0
  if (stream_id != NULL) {
9216
0
    set_has_stream_id();
9217
0
  } else {
9218
0
    clear_has_stream_id();
9219
0
  }
9220
0
  stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id);
9221
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointRequestPB.stream_id)
9222
0
}
9223
9224
// optional bytes tablet_id = 2;
9225
14
inline bool GetCheckpointRequestPB::has_tablet_id() const {
9226
14
  return (_has_bits_[0] & 0x00000002u) != 0;
9227
14
}
9228
14
inline void GetCheckpointRequestPB::set_has_tablet_id() {
9229
14
  _has_bits_[0] |= 0x00000002u;
9230
14
}
9231
0
inline void GetCheckpointRequestPB::clear_has_tablet_id() {
9232
0
  _has_bits_[0] &= ~0x00000002u;
9233
0
}
9234
0
inline void GetCheckpointRequestPB::clear_tablet_id() {
9235
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9236
0
  clear_has_tablet_id();
9237
0
}
9238
28
inline const ::std::string& GetCheckpointRequestPB::tablet_id() const {
9239
  // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointRequestPB.tablet_id)
9240
28
  return tablet_id_.GetNoArena();
9241
28
}
9242
0
inline void GetCheckpointRequestPB::set_tablet_id(const ::std::string& value) {
9243
0
  set_has_tablet_id();
9244
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9245
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetCheckpointRequestPB.tablet_id)
9246
0
}
9247
#if LANG_CXX11
9248
0
inline void GetCheckpointRequestPB::set_tablet_id(::std::string&& value) {
9249
0
  set_has_tablet_id();
9250
0
  tablet_id_.SetNoArena(
9251
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9252
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCheckpointRequestPB.tablet_id)
9253
0
}
9254
#endif
9255
0
inline void GetCheckpointRequestPB::set_tablet_id(const char* value) {
9256
0
  GOOGLE_DCHECK(value != NULL);
9257
0
  set_has_tablet_id();
9258
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9259
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetCheckpointRequestPB.tablet_id)
9260
0
}
9261
0
inline void GetCheckpointRequestPB::set_tablet_id(const void* value, size_t size) {
9262
0
  set_has_tablet_id();
9263
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9264
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9265
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCheckpointRequestPB.tablet_id)
9266
0
}
9267
14
inline ::std::string* GetCheckpointRequestPB::mutable_tablet_id() {
9268
14
  set_has_tablet_id();
9269
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointRequestPB.tablet_id)
9270
14
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9271
14
}
9272
0
inline ::std::string* GetCheckpointRequestPB::release_tablet_id() {
9273
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointRequestPB.tablet_id)
9274
0
  clear_has_tablet_id();
9275
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9276
0
}
9277
0
inline void GetCheckpointRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9278
0
  if (tablet_id != NULL) {
9279
0
    set_has_tablet_id();
9280
0
  } else {
9281
0
    clear_has_tablet_id();
9282
0
  }
9283
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9284
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointRequestPB.tablet_id)
9285
0
}
9286
9287
// -------------------------------------------------------------------
9288
9289
// GetCheckpointResponsePB
9290
9291
// optional .yb.cdc.CDCErrorPB error = 1;
9292
42
inline bool GetCheckpointResponsePB::has_error() const {
9293
42
  return (_has_bits_[0] & 0x00000001u) != 0;
9294
42
}
9295
0
inline void GetCheckpointResponsePB::set_has_error() {
9296
0
  _has_bits_[0] |= 0x00000001u;
9297
0
}
9298
0
inline void GetCheckpointResponsePB::clear_has_error() {
9299
0
  _has_bits_[0] &= ~0x00000001u;
9300
0
}
9301
0
inline void GetCheckpointResponsePB::clear_error() {
9302
0
  if (error_ != NULL) error_->Clear();
9303
0
  clear_has_error();
9304
0
}
9305
0
inline const ::yb::cdc::CDCErrorPB& GetCheckpointResponsePB::error() const {
9306
0
  const ::yb::cdc::CDCErrorPB* p = error_;
9307
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointResponsePB.error)
9308
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
9309
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
9310
0
}
9311
0
inline ::yb::cdc::CDCErrorPB* GetCheckpointResponsePB::release_error() {
9312
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointResponsePB.error)
9313
0
  clear_has_error();
9314
0
  ::yb::cdc::CDCErrorPB* temp = error_;
9315
0
  error_ = NULL;
9316
0
  return temp;
9317
0
}
9318
0
inline ::yb::cdc::CDCErrorPB* GetCheckpointResponsePB::mutable_error() {
9319
0
  set_has_error();
9320
0
  if (error_ == NULL) {
9321
0
    error_ = new ::yb::cdc::CDCErrorPB;
9322
0
  }
9323
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointResponsePB.error)
9324
0
  return error_;
9325
0
}
9326
0
inline void GetCheckpointResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
9327
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9328
0
  if (message_arena == NULL) {
9329
0
    delete error_;
9330
0
  }
9331
0
  if (error) {
9332
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9333
0
    if (message_arena != submessage_arena) {
9334
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9335
0
          message_arena, error, submessage_arena);
9336
0
    }
9337
0
    set_has_error();
9338
0
  } else {
9339
0
    clear_has_error();
9340
0
  }
9341
0
  error_ = error;
9342
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointResponsePB.error)
9343
0
}
9344
9345
// optional .yb.cdc.CDCCheckpointPB checkpoint = 2;
9346
42
inline bool GetCheckpointResponsePB::has_checkpoint() const {
9347
42
  return (_has_bits_[0] & 0x00000002u) != 0;
9348
42
}
9349
14
inline void GetCheckpointResponsePB::set_has_checkpoint() {
9350
14
  _has_bits_[0] |= 0x00000002u;
9351
14
}
9352
0
inline void GetCheckpointResponsePB::clear_has_checkpoint() {
9353
0
  _has_bits_[0] &= ~0x00000002u;
9354
0
}
9355
0
inline void GetCheckpointResponsePB::clear_checkpoint() {
9356
0
  if (checkpoint_ != NULL) checkpoint_->Clear();
9357
0
  clear_has_checkpoint();
9358
0
}
9359
0
inline const ::yb::cdc::CDCCheckpointPB& GetCheckpointResponsePB::checkpoint() const {
9360
0
  const ::yb::cdc::CDCCheckpointPB* p = checkpoint_;
9361
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointResponsePB.checkpoint)
9362
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>(
9363
0
      &::yb::cdc::_CDCCheckpointPB_default_instance_);
9364
0
}
9365
0
inline ::yb::cdc::CDCCheckpointPB* GetCheckpointResponsePB::release_checkpoint() {
9366
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointResponsePB.checkpoint)
9367
0
  clear_has_checkpoint();
9368
0
  ::yb::cdc::CDCCheckpointPB* temp = checkpoint_;
9369
0
  checkpoint_ = NULL;
9370
0
  return temp;
9371
0
}
9372
14
inline ::yb::cdc::CDCCheckpointPB* GetCheckpointResponsePB::mutable_checkpoint() {
9373
14
  set_has_checkpoint();
9374
14
  if (checkpoint_ == NULL) {
9375
14
    checkpoint_ = new ::yb::cdc::CDCCheckpointPB;
9376
14
  }
9377
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointResponsePB.checkpoint)
9378
14
  return checkpoint_;
9379
14
}
9380
0
inline void GetCheckpointResponsePB::set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint) {
9381
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9382
0
  if (message_arena == NULL) {
9383
0
    delete checkpoint_;
9384
0
  }
9385
0
  if (checkpoint) {
9386
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9387
0
    if (message_arena != submessage_arena) {
9388
0
      checkpoint = ::google::protobuf::internal::GetOwnedMessage(
9389
0
          message_arena, checkpoint, submessage_arena);
9390
0
    }
9391
0
    set_has_checkpoint();
9392
0
  } else {
9393
0
    clear_has_checkpoint();
9394
0
  }
9395
0
  checkpoint_ = checkpoint;
9396
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointResponsePB.checkpoint)
9397
0
}
9398
9399
// -------------------------------------------------------------------
9400
9401
// UpdateCdcReplicatedIndexRequestPB
9402
9403
// optional bytes tablet_id = 1;
9404
657
inline bool UpdateCdcReplicatedIndexRequestPB::has_tablet_id() const {
9405
657
  return (_has_bits_[0] & 0x00000001u) != 0;
9406
657
}
9407
438
inline void UpdateCdcReplicatedIndexRequestPB::set_has_tablet_id() {
9408
438
  _has_bits_[0] |= 0x00000001u;
9409
438
}
9410
0
inline void UpdateCdcReplicatedIndexRequestPB::clear_has_tablet_id() {
9411
0
  _has_bits_[0] &= ~0x00000001u;
9412
0
}
9413
0
inline void UpdateCdcReplicatedIndexRequestPB::clear_tablet_id() {
9414
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9415
0
  clear_has_tablet_id();
9416
0
}
9417
1.09k
inline const ::std::string& UpdateCdcReplicatedIndexRequestPB::tablet_id() const {
9418
  // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9419
1.09k
  return tablet_id_.GetNoArena();
9420
1.09k
}
9421
219
inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(const ::std::string& value) {
9422
219
  set_has_tablet_id();
9423
219
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9424
  // @@protoc_insertion_point(field_set:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9425
219
}
9426
#if LANG_CXX11
9427
0
inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(::std::string&& value) {
9428
0
  set_has_tablet_id();
9429
0
  tablet_id_.SetNoArena(
9430
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9431
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9432
0
}
9433
#endif
9434
0
inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(const char* value) {
9435
0
  GOOGLE_DCHECK(value != NULL);
9436
0
  set_has_tablet_id();
9437
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9438
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9439
0
}
9440
0
inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(const void* value, size_t size) {
9441
0
  set_has_tablet_id();
9442
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9443
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9444
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9445
0
}
9446
219
inline ::std::string* UpdateCdcReplicatedIndexRequestPB::mutable_tablet_id() {
9447
219
  set_has_tablet_id();
9448
  // @@protoc_insertion_point(field_mutable:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9449
219
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9450
219
}
9451
0
inline ::std::string* UpdateCdcReplicatedIndexRequestPB::release_tablet_id() {
9452
0
  // @@protoc_insertion_point(field_release:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9453
0
  clear_has_tablet_id();
9454
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9455
0
}
9456
0
inline void UpdateCdcReplicatedIndexRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9457
0
  if (tablet_id != NULL) {
9458
0
    set_has_tablet_id();
9459
0
  } else {
9460
0
    clear_has_tablet_id();
9461
0
  }
9462
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9463
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id)
9464
0
}
9465
9466
// optional int64 replicated_index = 2;
9467
657
inline bool UpdateCdcReplicatedIndexRequestPB::has_replicated_index() const {
9468
657
  return (_has_bits_[0] & 0x00000002u) != 0;
9469
657
}
9470
438
inline void UpdateCdcReplicatedIndexRequestPB::set_has_replicated_index() {
9471
438
  _has_bits_[0] |= 0x00000002u;
9472
438
}
9473
0
inline void UpdateCdcReplicatedIndexRequestPB::clear_has_replicated_index() {
9474
0
  _has_bits_[0] &= ~0x00000002u;
9475
0
}
9476
0
inline void UpdateCdcReplicatedIndexRequestPB::clear_replicated_index() {
9477
0
  replicated_index_ = GOOGLE_LONGLONG(0);
9478
0
  clear_has_replicated_index();
9479
0
}
9480
1.09k
inline ::google::protobuf::int64 UpdateCdcReplicatedIndexRequestPB::replicated_index() const {
9481
  // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_index)
9482
1.09k
  return replicated_index_;
9483
1.09k
}
9484
219
inline void UpdateCdcReplicatedIndexRequestPB::set_replicated_index(::google::protobuf::int64 value) {
9485
219
  set_has_replicated_index();
9486
219
  replicated_index_ = value;
9487
  // @@protoc_insertion_point(field_set:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_index)
9488
219
}
9489
9490
// optional int64 replicated_term = 3;
9491
438
inline bool UpdateCdcReplicatedIndexRequestPB::has_replicated_term() const {
9492
438
  return (_has_bits_[0] & 0x00000004u) != 0;
9493
438
}
9494
438
inline void UpdateCdcReplicatedIndexRequestPB::set_has_replicated_term() {
9495
438
  _has_bits_[0] |= 0x00000004u;
9496
438
}
9497
0
inline void UpdateCdcReplicatedIndexRequestPB::clear_has_replicated_term() {
9498
0
  _has_bits_[0] &= ~0x00000004u;
9499
0
}
9500
0
inline void UpdateCdcReplicatedIndexRequestPB::clear_replicated_term() {
9501
0
  replicated_term_ = GOOGLE_LONGLONG(0);
9502
0
  clear_has_replicated_term();
9503
0
}
9504
876
inline ::google::protobuf::int64 UpdateCdcReplicatedIndexRequestPB::replicated_term() const {
9505
  // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_term)
9506
876
  return replicated_term_;
9507
876
}
9508
219
inline void UpdateCdcReplicatedIndexRequestPB::set_replicated_term(::google::protobuf::int64 value) {
9509
219
  set_has_replicated_term();
9510
219
  replicated_term_ = value;
9511
  // @@protoc_insertion_point(field_set:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_term)
9512
219
}
9513
9514
// -------------------------------------------------------------------
9515
9516
// UpdateCdcReplicatedIndexResponsePB
9517
9518
// optional .yb.cdc.CDCErrorPB error = 1;
9519
1.09k
inline bool UpdateCdcReplicatedIndexResponsePB::has_error() const {
9520
1.09k
  return (_has_bits_[0] & 0x00000001u) != 0;
9521
1.09k
}
9522
0
inline void UpdateCdcReplicatedIndexResponsePB::set_has_error() {
9523
0
  _has_bits_[0] |= 0x00000001u;
9524
0
}
9525
0
inline void UpdateCdcReplicatedIndexResponsePB::clear_has_error() {
9526
0
  _has_bits_[0] &= ~0x00000001u;
9527
0
}
9528
0
inline void UpdateCdcReplicatedIndexResponsePB::clear_error() {
9529
0
  if (error_ != NULL) error_->Clear();
9530
0
  clear_has_error();
9531
0
}
9532
0
inline const ::yb::cdc::CDCErrorPB& UpdateCdcReplicatedIndexResponsePB::error() const {
9533
0
  const ::yb::cdc::CDCErrorPB* p = error_;
9534
0
  // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error)
9535
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
9536
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
9537
0
}
9538
0
inline ::yb::cdc::CDCErrorPB* UpdateCdcReplicatedIndexResponsePB::release_error() {
9539
0
  // @@protoc_insertion_point(field_release:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error)
9540
0
  clear_has_error();
9541
0
  ::yb::cdc::CDCErrorPB* temp = error_;
9542
0
  error_ = NULL;
9543
0
  return temp;
9544
0
}
9545
0
inline ::yb::cdc::CDCErrorPB* UpdateCdcReplicatedIndexResponsePB::mutable_error() {
9546
0
  set_has_error();
9547
0
  if (error_ == NULL) {
9548
0
    error_ = new ::yb::cdc::CDCErrorPB;
9549
0
  }
9550
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error)
9551
0
  return error_;
9552
0
}
9553
0
inline void UpdateCdcReplicatedIndexResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
9554
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9555
0
  if (message_arena == NULL) {
9556
0
    delete error_;
9557
0
  }
9558
0
  if (error) {
9559
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9560
0
    if (message_arena != submessage_arena) {
9561
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9562
0
          message_arena, error, submessage_arena);
9563
0
    }
9564
0
    set_has_error();
9565
0
  } else {
9566
0
    clear_has_error();
9567
0
  }
9568
0
  error_ = error;
9569
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error)
9570
0
}
9571
9572
// -------------------------------------------------------------------
9573
9574
// BootstrapProducerRequestPB
9575
9576
// repeated string table_ids = 1;
9577
0
inline int BootstrapProducerRequestPB::table_ids_size() const {
9578
0
  return table_ids_.size();
9579
0
}
9580
0
inline void BootstrapProducerRequestPB::clear_table_ids() {
9581
0
  table_ids_.Clear();
9582
0
}
9583
0
inline const ::std::string& BootstrapProducerRequestPB::table_ids(int index) const {
9584
0
  // @@protoc_insertion_point(field_get:yb.cdc.BootstrapProducerRequestPB.table_ids)
9585
0
  return table_ids_.Get(index);
9586
0
}
9587
0
inline ::std::string* BootstrapProducerRequestPB::mutable_table_ids(int index) {
9588
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.BootstrapProducerRequestPB.table_ids)
9589
0
  return table_ids_.Mutable(index);
9590
0
}
9591
0
inline void BootstrapProducerRequestPB::set_table_ids(int index, const ::std::string& value) {
9592
0
  // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerRequestPB.table_ids)
9593
0
  table_ids_.Mutable(index)->assign(value);
9594
0
}
9595
#if LANG_CXX11
9596
0
inline void BootstrapProducerRequestPB::set_table_ids(int index, ::std::string&& value) {
9597
0
  // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerRequestPB.table_ids)
9598
0
  table_ids_.Mutable(index)->assign(std::move(value));
9599
0
}
9600
#endif
9601
0
inline void BootstrapProducerRequestPB::set_table_ids(int index, const char* value) {
9602
0
  GOOGLE_DCHECK(value != NULL);
9603
0
  table_ids_.Mutable(index)->assign(value);
9604
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.BootstrapProducerRequestPB.table_ids)
9605
0
}
9606
0
inline void BootstrapProducerRequestPB::set_table_ids(int index, const char* value, size_t size) {
9607
0
  table_ids_.Mutable(index)->assign(
9608
0
    reinterpret_cast<const char*>(value), size);
9609
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.BootstrapProducerRequestPB.table_ids)
9610
0
}
9611
0
inline ::std::string* BootstrapProducerRequestPB::add_table_ids() {
9612
0
  // @@protoc_insertion_point(field_add_mutable:yb.cdc.BootstrapProducerRequestPB.table_ids)
9613
0
  return table_ids_.Add();
9614
0
}
9615
0
inline void BootstrapProducerRequestPB::add_table_ids(const ::std::string& value) {
9616
0
  table_ids_.Add()->assign(value);
9617
0
  // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerRequestPB.table_ids)
9618
0
}
9619
#if LANG_CXX11
9620
0
inline void BootstrapProducerRequestPB::add_table_ids(::std::string&& value) {
9621
0
  table_ids_.Add(std::move(value));
9622
0
  // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerRequestPB.table_ids)
9623
0
}
9624
#endif
9625
0
inline void BootstrapProducerRequestPB::add_table_ids(const char* value) {
9626
0
  GOOGLE_DCHECK(value != NULL);
9627
0
  table_ids_.Add()->assign(value);
9628
0
  // @@protoc_insertion_point(field_add_char:yb.cdc.BootstrapProducerRequestPB.table_ids)
9629
0
}
9630
0
inline void BootstrapProducerRequestPB::add_table_ids(const char* value, size_t size) {
9631
0
  table_ids_.Add()->assign(reinterpret_cast<const char*>(value), size);
9632
0
  // @@protoc_insertion_point(field_add_pointer:yb.cdc.BootstrapProducerRequestPB.table_ids)
9633
0
}
9634
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9635
0
BootstrapProducerRequestPB::table_ids() const {
9636
0
  // @@protoc_insertion_point(field_list:yb.cdc.BootstrapProducerRequestPB.table_ids)
9637
0
  return table_ids_;
9638
0
}
9639
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9640
0
BootstrapProducerRequestPB::mutable_table_ids() {
9641
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.BootstrapProducerRequestPB.table_ids)
9642
0
  return &table_ids_;
9643
0
}
9644
9645
// -------------------------------------------------------------------
9646
9647
// BootstrapProducerResponsePB
9648
9649
// optional .yb.cdc.CDCErrorPB error = 1;
9650
0
inline bool BootstrapProducerResponsePB::has_error() const {
9651
0
  return (_has_bits_[0] & 0x00000001u) != 0;
9652
0
}
9653
0
inline void BootstrapProducerResponsePB::set_has_error() {
9654
0
  _has_bits_[0] |= 0x00000001u;
9655
0
}
9656
0
inline void BootstrapProducerResponsePB::clear_has_error() {
9657
0
  _has_bits_[0] &= ~0x00000001u;
9658
0
}
9659
0
inline void BootstrapProducerResponsePB::clear_error() {
9660
0
  if (error_ != NULL) error_->Clear();
9661
0
  clear_has_error();
9662
0
}
9663
0
inline const ::yb::cdc::CDCErrorPB& BootstrapProducerResponsePB::error() const {
9664
0
  const ::yb::cdc::CDCErrorPB* p = error_;
9665
0
  // @@protoc_insertion_point(field_get:yb.cdc.BootstrapProducerResponsePB.error)
9666
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
9667
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
9668
0
}
9669
0
inline ::yb::cdc::CDCErrorPB* BootstrapProducerResponsePB::release_error() {
9670
0
  // @@protoc_insertion_point(field_release:yb.cdc.BootstrapProducerResponsePB.error)
9671
0
  clear_has_error();
9672
0
  ::yb::cdc::CDCErrorPB* temp = error_;
9673
0
  error_ = NULL;
9674
0
  return temp;
9675
0
}
9676
0
inline ::yb::cdc::CDCErrorPB* BootstrapProducerResponsePB::mutable_error() {
9677
0
  set_has_error();
9678
0
  if (error_ == NULL) {
9679
0
    error_ = new ::yb::cdc::CDCErrorPB;
9680
0
  }
9681
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.BootstrapProducerResponsePB.error)
9682
0
  return error_;
9683
0
}
9684
0
inline void BootstrapProducerResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
9685
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9686
0
  if (message_arena == NULL) {
9687
0
    delete error_;
9688
0
  }
9689
0
  if (error) {
9690
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9691
0
    if (message_arena != submessage_arena) {
9692
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9693
0
          message_arena, error, submessage_arena);
9694
0
    }
9695
0
    set_has_error();
9696
0
  } else {
9697
0
    clear_has_error();
9698
0
  }
9699
0
  error_ = error;
9700
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.BootstrapProducerResponsePB.error)
9701
0
}
9702
9703
// repeated bytes cdc_bootstrap_ids = 2;
9704
0
inline int BootstrapProducerResponsePB::cdc_bootstrap_ids_size() const {
9705
0
  return cdc_bootstrap_ids_.size();
9706
0
}
9707
0
inline void BootstrapProducerResponsePB::clear_cdc_bootstrap_ids() {
9708
0
  cdc_bootstrap_ids_.Clear();
9709
0
}
9710
0
inline const ::std::string& BootstrapProducerResponsePB::cdc_bootstrap_ids(int index) const {
9711
0
  // @@protoc_insertion_point(field_get:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9712
0
  return cdc_bootstrap_ids_.Get(index);
9713
0
}
9714
0
inline ::std::string* BootstrapProducerResponsePB::mutable_cdc_bootstrap_ids(int index) {
9715
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9716
0
  return cdc_bootstrap_ids_.Mutable(index);
9717
0
}
9718
0
inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, const ::std::string& value) {
9719
0
  // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9720
0
  cdc_bootstrap_ids_.Mutable(index)->assign(value);
9721
0
}
9722
#if LANG_CXX11
9723
0
inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, ::std::string&& value) {
9724
0
  // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9725
0
  cdc_bootstrap_ids_.Mutable(index)->assign(std::move(value));
9726
0
}
9727
#endif
9728
0
inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, const char* value) {
9729
0
  GOOGLE_DCHECK(value != NULL);
9730
0
  cdc_bootstrap_ids_.Mutable(index)->assign(value);
9731
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9732
0
}
9733
0
inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, const void* value, size_t size) {
9734
0
  cdc_bootstrap_ids_.Mutable(index)->assign(
9735
0
    reinterpret_cast<const char*>(value), size);
9736
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9737
0
}
9738
0
inline ::std::string* BootstrapProducerResponsePB::add_cdc_bootstrap_ids() {
9739
0
  // @@protoc_insertion_point(field_add_mutable:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9740
0
  return cdc_bootstrap_ids_.Add();
9741
0
}
9742
0
inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(const ::std::string& value) {
9743
0
  cdc_bootstrap_ids_.Add()->assign(value);
9744
0
  // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9745
0
}
9746
#if LANG_CXX11
9747
0
inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(::std::string&& value) {
9748
0
  cdc_bootstrap_ids_.Add(std::move(value));
9749
0
  // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9750
0
}
9751
#endif
9752
0
inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(const char* value) {
9753
0
  GOOGLE_DCHECK(value != NULL);
9754
0
  cdc_bootstrap_ids_.Add()->assign(value);
9755
0
  // @@protoc_insertion_point(field_add_char:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9756
0
}
9757
0
inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(const void* value, size_t size) {
9758
0
  cdc_bootstrap_ids_.Add()->assign(reinterpret_cast<const char*>(value), size);
9759
0
  // @@protoc_insertion_point(field_add_pointer:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9760
0
}
9761
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
9762
0
BootstrapProducerResponsePB::cdc_bootstrap_ids() const {
9763
0
  // @@protoc_insertion_point(field_list:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9764
0
  return cdc_bootstrap_ids_;
9765
0
}
9766
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
9767
0
BootstrapProducerResponsePB::mutable_cdc_bootstrap_ids() {
9768
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids)
9769
0
  return &cdc_bootstrap_ids_;
9770
0
}
9771
9772
// -------------------------------------------------------------------
9773
9774
// GetLatestEntryOpIdRequestPB
9775
9776
// optional bytes tablet_id = 1;
9777
0
inline bool GetLatestEntryOpIdRequestPB::has_tablet_id() const {
9778
0
  return (_has_bits_[0] & 0x00000001u) != 0;
9779
0
}
9780
0
inline void GetLatestEntryOpIdRequestPB::set_has_tablet_id() {
9781
0
  _has_bits_[0] |= 0x00000001u;
9782
0
}
9783
0
inline void GetLatestEntryOpIdRequestPB::clear_has_tablet_id() {
9784
0
  _has_bits_[0] &= ~0x00000001u;
9785
0
}
9786
0
inline void GetLatestEntryOpIdRequestPB::clear_tablet_id() {
9787
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9788
0
  clear_has_tablet_id();
9789
0
}
9790
0
inline const ::std::string& GetLatestEntryOpIdRequestPB::tablet_id() const {
9791
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9792
0
  return tablet_id_.GetNoArena();
9793
0
}
9794
0
inline void GetLatestEntryOpIdRequestPB::set_tablet_id(const ::std::string& value) {
9795
0
  set_has_tablet_id();
9796
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9797
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9798
0
}
9799
#if LANG_CXX11
9800
0
inline void GetLatestEntryOpIdRequestPB::set_tablet_id(::std::string&& value) {
9801
0
  set_has_tablet_id();
9802
0
  tablet_id_.SetNoArena(
9803
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9804
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9805
0
}
9806
#endif
9807
0
inline void GetLatestEntryOpIdRequestPB::set_tablet_id(const char* value) {
9808
0
  GOOGLE_DCHECK(value != NULL);
9809
0
  set_has_tablet_id();
9810
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9811
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9812
0
}
9813
0
inline void GetLatestEntryOpIdRequestPB::set_tablet_id(const void* value, size_t size) {
9814
0
  set_has_tablet_id();
9815
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9816
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9817
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9818
0
}
9819
0
inline ::std::string* GetLatestEntryOpIdRequestPB::mutable_tablet_id() {
9820
0
  set_has_tablet_id();
9821
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9822
0
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9823
0
}
9824
0
inline ::std::string* GetLatestEntryOpIdRequestPB::release_tablet_id() {
9825
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9826
0
  clear_has_tablet_id();
9827
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9828
0
}
9829
0
inline void GetLatestEntryOpIdRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
9830
0
  if (tablet_id != NULL) {
9831
0
    set_has_tablet_id();
9832
0
  } else {
9833
0
    clear_has_tablet_id();
9834
0
  }
9835
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
9836
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id)
9837
0
}
9838
9839
// -------------------------------------------------------------------
9840
9841
// GetLatestEntryOpIdResponsePB
9842
9843
// optional .yb.cdc.CDCErrorPB error = 1;
9844
0
inline bool GetLatestEntryOpIdResponsePB::has_error() const {
9845
0
  return (_has_bits_[0] & 0x00000001u) != 0;
9846
0
}
9847
0
inline void GetLatestEntryOpIdResponsePB::set_has_error() {
9848
0
  _has_bits_[0] |= 0x00000001u;
9849
0
}
9850
0
inline void GetLatestEntryOpIdResponsePB::clear_has_error() {
9851
0
  _has_bits_[0] &= ~0x00000001u;
9852
0
}
9853
0
inline void GetLatestEntryOpIdResponsePB::clear_error() {
9854
0
  if (error_ != NULL) error_->Clear();
9855
0
  clear_has_error();
9856
0
}
9857
0
inline const ::yb::cdc::CDCErrorPB& GetLatestEntryOpIdResponsePB::error() const {
9858
0
  const ::yb::cdc::CDCErrorPB* p = error_;
9859
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetLatestEntryOpIdResponsePB.error)
9860
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
9861
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
9862
0
}
9863
0
inline ::yb::cdc::CDCErrorPB* GetLatestEntryOpIdResponsePB::release_error() {
9864
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetLatestEntryOpIdResponsePB.error)
9865
0
  clear_has_error();
9866
0
  ::yb::cdc::CDCErrorPB* temp = error_;
9867
0
  error_ = NULL;
9868
0
  return temp;
9869
0
}
9870
0
inline ::yb::cdc::CDCErrorPB* GetLatestEntryOpIdResponsePB::mutable_error() {
9871
0
  set_has_error();
9872
0
  if (error_ == NULL) {
9873
0
    error_ = new ::yb::cdc::CDCErrorPB;
9874
0
  }
9875
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetLatestEntryOpIdResponsePB.error)
9876
0
  return error_;
9877
0
}
9878
0
inline void GetLatestEntryOpIdResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
9879
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9880
0
  if (message_arena == NULL) {
9881
0
    delete error_;
9882
0
  }
9883
0
  if (error) {
9884
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9885
0
    if (message_arena != submessage_arena) {
9886
0
      error = ::google::protobuf::internal::GetOwnedMessage(
9887
0
          message_arena, error, submessage_arena);
9888
0
    }
9889
0
    set_has_error();
9890
0
  } else {
9891
0
    clear_has_error();
9892
0
  }
9893
0
  error_ = error;
9894
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetLatestEntryOpIdResponsePB.error)
9895
0
}
9896
9897
// optional .yb.OpIdPB op_id = 2;
9898
0
inline bool GetLatestEntryOpIdResponsePB::has_op_id() const {
9899
0
  return (_has_bits_[0] & 0x00000002u) != 0;
9900
0
}
9901
0
inline void GetLatestEntryOpIdResponsePB::set_has_op_id() {
9902
0
  _has_bits_[0] |= 0x00000002u;
9903
0
}
9904
0
inline void GetLatestEntryOpIdResponsePB::clear_has_op_id() {
9905
0
  _has_bits_[0] &= ~0x00000002u;
9906
0
}
9907
0
inline const ::yb::OpIdPB& GetLatestEntryOpIdResponsePB::op_id() const {
9908
0
  const ::yb::OpIdPB* p = op_id_;
9909
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetLatestEntryOpIdResponsePB.op_id)
9910
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>(
9911
0
      &::yb::_OpIdPB_default_instance_);
9912
0
}
9913
0
inline ::yb::OpIdPB* GetLatestEntryOpIdResponsePB::release_op_id() {
9914
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetLatestEntryOpIdResponsePB.op_id)
9915
0
  clear_has_op_id();
9916
0
  ::yb::OpIdPB* temp = op_id_;
9917
0
  op_id_ = NULL;
9918
0
  return temp;
9919
0
}
9920
0
inline ::yb::OpIdPB* GetLatestEntryOpIdResponsePB::mutable_op_id() {
9921
0
  set_has_op_id();
9922
0
  if (op_id_ == NULL) {
9923
0
    op_id_ = new ::yb::OpIdPB;
9924
0
  }
9925
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetLatestEntryOpIdResponsePB.op_id)
9926
0
  return op_id_;
9927
0
}
9928
0
inline void GetLatestEntryOpIdResponsePB::set_allocated_op_id(::yb::OpIdPB* op_id) {
9929
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
9930
0
  if (message_arena == NULL) {
9931
0
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(op_id_);
9932
0
  }
9933
0
  if (op_id) {
9934
0
    ::google::protobuf::Arena* submessage_arena = NULL;
9935
0
    if (message_arena != submessage_arena) {
9936
0
      op_id = ::google::protobuf::internal::GetOwnedMessage(
9937
0
          message_arena, op_id, submessage_arena);
9938
0
    }
9939
0
    set_has_op_id();
9940
0
  } else {
9941
0
    clear_has_op_id();
9942
0
  }
9943
0
  op_id_ = op_id;
9944
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetLatestEntryOpIdResponsePB.op_id)
9945
0
}
9946
9947
// -------------------------------------------------------------------
9948
9949
// TableInfo
9950
9951
// optional bytes stream_id = 1;
9952
0
inline bool TableInfo::has_stream_id() const {
9953
0
  return (_has_bits_[0] & 0x00000001u) != 0;
9954
0
}
9955
0
inline void TableInfo::set_has_stream_id() {
9956
0
  _has_bits_[0] |= 0x00000001u;
9957
0
}
9958
0
inline void TableInfo::clear_has_stream_id() {
9959
0
  _has_bits_[0] &= ~0x00000001u;
9960
0
}
9961
0
inline void TableInfo::clear_stream_id() {
9962
0
  stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9963
0
  clear_has_stream_id();
9964
0
}
9965
0
inline const ::std::string& TableInfo::stream_id() const {
9966
0
  // @@protoc_insertion_point(field_get:yb.cdc.TableInfo.stream_id)
9967
0
  return stream_id_.GetNoArena();
9968
0
}
9969
0
inline void TableInfo::set_stream_id(const ::std::string& value) {
9970
0
  set_has_stream_id();
9971
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
9972
0
  // @@protoc_insertion_point(field_set:yb.cdc.TableInfo.stream_id)
9973
0
}
9974
#if LANG_CXX11
9975
0
inline void TableInfo::set_stream_id(::std::string&& value) {
9976
0
  set_has_stream_id();
9977
0
  stream_id_.SetNoArena(
9978
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
9979
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.TableInfo.stream_id)
9980
0
}
9981
#endif
9982
0
inline void TableInfo::set_stream_id(const char* value) {
9983
0
  GOOGLE_DCHECK(value != NULL);
9984
0
  set_has_stream_id();
9985
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
9986
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.TableInfo.stream_id)
9987
0
}
9988
0
inline void TableInfo::set_stream_id(const void* value, size_t size) {
9989
0
  set_has_stream_id();
9990
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
9991
0
      ::std::string(reinterpret_cast<const char*>(value), size));
9992
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.TableInfo.stream_id)
9993
0
}
9994
0
inline ::std::string* TableInfo::mutable_stream_id() {
9995
0
  set_has_stream_id();
9996
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.TableInfo.stream_id)
9997
0
  return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
9998
0
}
9999
0
inline ::std::string* TableInfo::release_stream_id() {
10000
0
  // @@protoc_insertion_point(field_release:yb.cdc.TableInfo.stream_id)
10001
0
  clear_has_stream_id();
10002
0
  return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10003
0
}
10004
0
inline void TableInfo::set_allocated_stream_id(::std::string* stream_id) {
10005
0
  if (stream_id != NULL) {
10006
0
    set_has_stream_id();
10007
0
  } else {
10008
0
    clear_has_stream_id();
10009
0
  }
10010
0
  stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id);
10011
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.TableInfo.stream_id)
10012
0
}
10013
10014
// optional bytes table_id = 2;
10015
0
inline bool TableInfo::has_table_id() const {
10016
0
  return (_has_bits_[0] & 0x00000002u) != 0;
10017
0
}
10018
0
inline void TableInfo::set_has_table_id() {
10019
0
  _has_bits_[0] |= 0x00000002u;
10020
0
}
10021
0
inline void TableInfo::clear_has_table_id() {
10022
0
  _has_bits_[0] &= ~0x00000002u;
10023
0
}
10024
0
inline void TableInfo::clear_table_id() {
10025
0
  table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10026
0
  clear_has_table_id();
10027
0
}
10028
0
inline const ::std::string& TableInfo::table_id() const {
10029
0
  // @@protoc_insertion_point(field_get:yb.cdc.TableInfo.table_id)
10030
0
  return table_id_.GetNoArena();
10031
0
}
10032
0
inline void TableInfo::set_table_id(const ::std::string& value) {
10033
0
  set_has_table_id();
10034
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10035
0
  // @@protoc_insertion_point(field_set:yb.cdc.TableInfo.table_id)
10036
0
}
10037
#if LANG_CXX11
10038
0
inline void TableInfo::set_table_id(::std::string&& value) {
10039
0
  set_has_table_id();
10040
0
  table_id_.SetNoArena(
10041
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10042
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.TableInfo.table_id)
10043
0
}
10044
#endif
10045
0
inline void TableInfo::set_table_id(const char* value) {
10046
0
  GOOGLE_DCHECK(value != NULL);
10047
0
  set_has_table_id();
10048
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10049
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.TableInfo.table_id)
10050
0
}
10051
0
inline void TableInfo::set_table_id(const void* value, size_t size) {
10052
0
  set_has_table_id();
10053
0
  table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10054
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10055
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.TableInfo.table_id)
10056
0
}
10057
0
inline ::std::string* TableInfo::mutable_table_id() {
10058
0
  set_has_table_id();
10059
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.TableInfo.table_id)
10060
0
  return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10061
0
}
10062
0
inline ::std::string* TableInfo::release_table_id() {
10063
0
  // @@protoc_insertion_point(field_release:yb.cdc.TableInfo.table_id)
10064
0
  clear_has_table_id();
10065
0
  return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10066
0
}
10067
0
inline void TableInfo::set_allocated_table_id(::std::string* table_id) {
10068
0
  if (table_id != NULL) {
10069
0
    set_has_table_id();
10070
0
  } else {
10071
0
    clear_has_table_id();
10072
0
  }
10073
0
  table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id);
10074
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.TableInfo.table_id)
10075
0
}
10076
10077
// -------------------------------------------------------------------
10078
10079
// GetCDCDBStreamInfoRequestPB
10080
10081
// optional bytes db_stream_id = 1;
10082
0
inline bool GetCDCDBStreamInfoRequestPB::has_db_stream_id() const {
10083
0
  return (_has_bits_[0] & 0x00000001u) != 0;
10084
0
}
10085
0
inline void GetCDCDBStreamInfoRequestPB::set_has_db_stream_id() {
10086
0
  _has_bits_[0] |= 0x00000001u;
10087
0
}
10088
0
inline void GetCDCDBStreamInfoRequestPB::clear_has_db_stream_id() {
10089
0
  _has_bits_[0] &= ~0x00000001u;
10090
0
}
10091
0
inline void GetCDCDBStreamInfoRequestPB::clear_db_stream_id() {
10092
0
  db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10093
0
  clear_has_db_stream_id();
10094
0
}
10095
0
inline const ::std::string& GetCDCDBStreamInfoRequestPB::db_stream_id() const {
10096
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10097
0
  return db_stream_id_.GetNoArena();
10098
0
}
10099
0
inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const ::std::string& value) {
10100
0
  set_has_db_stream_id();
10101
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10102
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10103
0
}
10104
#if LANG_CXX11
10105
0
inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(::std::string&& value) {
10106
0
  set_has_db_stream_id();
10107
0
  db_stream_id_.SetNoArena(
10108
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10109
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10110
0
}
10111
#endif
10112
0
inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const char* value) {
10113
0
  GOOGLE_DCHECK(value != NULL);
10114
0
  set_has_db_stream_id();
10115
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10116
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10117
0
}
10118
0
inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const void* value, size_t size) {
10119
0
  set_has_db_stream_id();
10120
0
  db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10121
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10122
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10123
0
}
10124
0
inline ::std::string* GetCDCDBStreamInfoRequestPB::mutable_db_stream_id() {
10125
0
  set_has_db_stream_id();
10126
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10127
0
  return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10128
0
}
10129
0
inline ::std::string* GetCDCDBStreamInfoRequestPB::release_db_stream_id() {
10130
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10131
0
  clear_has_db_stream_id();
10132
0
  return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10133
0
}
10134
0
inline void GetCDCDBStreamInfoRequestPB::set_allocated_db_stream_id(::std::string* db_stream_id) {
10135
0
  if (db_stream_id != NULL) {
10136
0
    set_has_db_stream_id();
10137
0
  } else {
10138
0
    clear_has_db_stream_id();
10139
0
  }
10140
0
  db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id);
10141
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id)
10142
0
}
10143
10144
// -------------------------------------------------------------------
10145
10146
// GetCDCDBStreamInfoResponsePB
10147
10148
// optional .yb.cdc.CDCErrorPB error = 1;
10149
0
inline bool GetCDCDBStreamInfoResponsePB::has_error() const {
10150
0
  return (_has_bits_[0] & 0x00000002u) != 0;
10151
0
}
10152
0
inline void GetCDCDBStreamInfoResponsePB::set_has_error() {
10153
0
  _has_bits_[0] |= 0x00000002u;
10154
0
}
10155
0
inline void GetCDCDBStreamInfoResponsePB::clear_has_error() {
10156
0
  _has_bits_[0] &= ~0x00000002u;
10157
0
}
10158
0
inline void GetCDCDBStreamInfoResponsePB::clear_error() {
10159
0
  if (error_ != NULL) error_->Clear();
10160
0
  clear_has_error();
10161
0
}
10162
0
inline const ::yb::cdc::CDCErrorPB& GetCDCDBStreamInfoResponsePB::error() const {
10163
0
  const ::yb::cdc::CDCErrorPB* p = error_;
10164
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoResponsePB.error)
10165
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
10166
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
10167
0
}
10168
0
inline ::yb::cdc::CDCErrorPB* GetCDCDBStreamInfoResponsePB::release_error() {
10169
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCDCDBStreamInfoResponsePB.error)
10170
0
  clear_has_error();
10171
0
  ::yb::cdc::CDCErrorPB* temp = error_;
10172
0
  error_ = NULL;
10173
0
  return temp;
10174
0
}
10175
0
inline ::yb::cdc::CDCErrorPB* GetCDCDBStreamInfoResponsePB::mutable_error() {
10176
0
  set_has_error();
10177
0
  if (error_ == NULL) {
10178
0
    error_ = new ::yb::cdc::CDCErrorPB;
10179
0
  }
10180
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoResponsePB.error)
10181
0
  return error_;
10182
0
}
10183
0
inline void GetCDCDBStreamInfoResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
10184
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10185
0
  if (message_arena == NULL) {
10186
0
    delete error_;
10187
0
  }
10188
0
  if (error) {
10189
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10190
0
    if (message_arena != submessage_arena) {
10191
0
      error = ::google::protobuf::internal::GetOwnedMessage(
10192
0
          message_arena, error, submessage_arena);
10193
0
    }
10194
0
    set_has_error();
10195
0
  } else {
10196
0
    clear_has_error();
10197
0
  }
10198
0
  error_ = error;
10199
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCDCDBStreamInfoResponsePB.error)
10200
0
}
10201
10202
// optional bytes namespace_id = 2;
10203
0
inline bool GetCDCDBStreamInfoResponsePB::has_namespace_id() const {
10204
0
  return (_has_bits_[0] & 0x00000001u) != 0;
10205
0
}
10206
0
inline void GetCDCDBStreamInfoResponsePB::set_has_namespace_id() {
10207
0
  _has_bits_[0] |= 0x00000001u;
10208
0
}
10209
0
inline void GetCDCDBStreamInfoResponsePB::clear_has_namespace_id() {
10210
0
  _has_bits_[0] &= ~0x00000001u;
10211
0
}
10212
0
inline void GetCDCDBStreamInfoResponsePB::clear_namespace_id() {
10213
0
  namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10214
0
  clear_has_namespace_id();
10215
0
}
10216
0
inline const ::std::string& GetCDCDBStreamInfoResponsePB::namespace_id() const {
10217
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10218
0
  return namespace_id_.GetNoArena();
10219
0
}
10220
0
inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const ::std::string& value) {
10221
0
  set_has_namespace_id();
10222
0
  namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10223
0
  // @@protoc_insertion_point(field_set:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10224
0
}
10225
#if LANG_CXX11
10226
0
inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(::std::string&& value) {
10227
0
  set_has_namespace_id();
10228
0
  namespace_id_.SetNoArena(
10229
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10230
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10231
0
}
10232
#endif
10233
0
inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const char* value) {
10234
0
  GOOGLE_DCHECK(value != NULL);
10235
0
  set_has_namespace_id();
10236
0
  namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10237
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10238
0
}
10239
0
inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const void* value, size_t size) {
10240
0
  set_has_namespace_id();
10241
0
  namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10242
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10243
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10244
0
}
10245
0
inline ::std::string* GetCDCDBStreamInfoResponsePB::mutable_namespace_id() {
10246
0
  set_has_namespace_id();
10247
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10248
0
  return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10249
0
}
10250
0
inline ::std::string* GetCDCDBStreamInfoResponsePB::release_namespace_id() {
10251
0
  // @@protoc_insertion_point(field_release:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10252
0
  clear_has_namespace_id();
10253
0
  return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10254
0
}
10255
0
inline void GetCDCDBStreamInfoResponsePB::set_allocated_namespace_id(::std::string* namespace_id) {
10256
0
  if (namespace_id != NULL) {
10257
0
    set_has_namespace_id();
10258
0
  } else {
10259
0
    clear_has_namespace_id();
10260
0
  }
10261
0
  namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id);
10262
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id)
10263
0
}
10264
10265
// repeated .yb.cdc.TableInfo table_info = 3;
10266
0
inline int GetCDCDBStreamInfoResponsePB::table_info_size() const {
10267
0
  return table_info_.size();
10268
0
}
10269
0
inline void GetCDCDBStreamInfoResponsePB::clear_table_info() {
10270
0
  table_info_.Clear();
10271
0
}
10272
0
inline const ::yb::cdc::TableInfo& GetCDCDBStreamInfoResponsePB::table_info(int index) const {
10273
0
  // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info)
10274
0
  return table_info_.Get(index);
10275
0
}
10276
0
inline ::yb::cdc::TableInfo* GetCDCDBStreamInfoResponsePB::mutable_table_info(int index) {
10277
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info)
10278
0
  return table_info_.Mutable(index);
10279
0
}
10280
0
inline ::yb::cdc::TableInfo* GetCDCDBStreamInfoResponsePB::add_table_info() {
10281
0
  // @@protoc_insertion_point(field_add:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info)
10282
0
  return table_info_.Add();
10283
0
}
10284
inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >*
10285
0
GetCDCDBStreamInfoResponsePB::mutable_table_info() {
10286
0
  // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info)
10287
0
  return &table_info_;
10288
0
}
10289
inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >&
10290
0
GetCDCDBStreamInfoResponsePB::table_info() const {
10291
0
  // @@protoc_insertion_point(field_list:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info)
10292
0
  return table_info_;
10293
0
}
10294
10295
// -------------------------------------------------------------------
10296
10297
// SetCDCCheckpointRequestPB
10298
10299
// optional .yb.cdc.CDCCheckpointPB checkpoint = 1;
10300
12
inline bool SetCDCCheckpointRequestPB::has_checkpoint() const {
10301
12
  return (_has_bits_[0] & 0x00000004u) != 0;
10302
12
}
10303
6
inline void SetCDCCheckpointRequestPB::set_has_checkpoint() {
10304
6
  _has_bits_[0] |= 0x00000004u;
10305
6
}
10306
0
inline void SetCDCCheckpointRequestPB::clear_has_checkpoint() {
10307
0
  _has_bits_[0] &= ~0x00000004u;
10308
0
}
10309
0
inline void SetCDCCheckpointRequestPB::clear_checkpoint() {
10310
0
  if (checkpoint_ != NULL) checkpoint_->Clear();
10311
0
  clear_has_checkpoint();
10312
0
}
10313
6
inline const ::yb::cdc::CDCCheckpointPB& SetCDCCheckpointRequestPB::checkpoint() const {
10314
6
  const ::yb::cdc::CDCCheckpointPB* p = checkpoint_;
10315
  // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.checkpoint)
10316
6
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>(
10317
0
      &::yb::cdc::_CDCCheckpointPB_default_instance_);
10318
6
}
10319
0
inline ::yb::cdc::CDCCheckpointPB* SetCDCCheckpointRequestPB::release_checkpoint() {
10320
0
  // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.checkpoint)
10321
0
  clear_has_checkpoint();
10322
0
  ::yb::cdc::CDCCheckpointPB* temp = checkpoint_;
10323
0
  checkpoint_ = NULL;
10324
0
  return temp;
10325
0
}
10326
6
inline ::yb::cdc::CDCCheckpointPB* SetCDCCheckpointRequestPB::mutable_checkpoint() {
10327
6
  set_has_checkpoint();
10328
6
  if (checkpoint_ == NULL) {
10329
6
    checkpoint_ = new ::yb::cdc::CDCCheckpointPB;
10330
6
  }
10331
  // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.checkpoint)
10332
6
  return checkpoint_;
10333
6
}
10334
0
inline void SetCDCCheckpointRequestPB::set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint) {
10335
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10336
0
  if (message_arena == NULL) {
10337
0
    delete checkpoint_;
10338
0
  }
10339
0
  if (checkpoint) {
10340
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10341
0
    if (message_arena != submessage_arena) {
10342
0
      checkpoint = ::google::protobuf::internal::GetOwnedMessage(
10343
0
          message_arena, checkpoint, submessage_arena);
10344
0
    }
10345
0
    set_has_checkpoint();
10346
0
  } else {
10347
0
    clear_has_checkpoint();
10348
0
  }
10349
0
  checkpoint_ = checkpoint;
10350
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.checkpoint)
10351
0
}
10352
10353
// optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 2;
10354
0
inline bool SetCDCCheckpointRequestPB::has_cdc_sdk_checkpoint() const {
10355
0
  return (_has_bits_[0] & 0x00000008u) != 0;
10356
0
}
10357
0
inline void SetCDCCheckpointRequestPB::set_has_cdc_sdk_checkpoint() {
10358
0
  _has_bits_[0] |= 0x00000008u;
10359
0
}
10360
0
inline void SetCDCCheckpointRequestPB::clear_has_cdc_sdk_checkpoint() {
10361
0
  _has_bits_[0] &= ~0x00000008u;
10362
0
}
10363
0
inline void SetCDCCheckpointRequestPB::clear_cdc_sdk_checkpoint() {
10364
0
  if (cdc_sdk_checkpoint_ != NULL) cdc_sdk_checkpoint_->Clear();
10365
0
  clear_has_cdc_sdk_checkpoint();
10366
0
}
10367
0
inline const ::yb::cdc::CDCSDKCheckpointPB& SetCDCCheckpointRequestPB::cdc_sdk_checkpoint() const {
10368
0
  const ::yb::cdc::CDCSDKCheckpointPB* p = cdc_sdk_checkpoint_;
10369
0
  // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint)
10370
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKCheckpointPB*>(
10371
0
      &::yb::cdc::_CDCSDKCheckpointPB_default_instance_);
10372
0
}
10373
0
inline ::yb::cdc::CDCSDKCheckpointPB* SetCDCCheckpointRequestPB::release_cdc_sdk_checkpoint() {
10374
0
  // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint)
10375
0
  clear_has_cdc_sdk_checkpoint();
10376
0
  ::yb::cdc::CDCSDKCheckpointPB* temp = cdc_sdk_checkpoint_;
10377
0
  cdc_sdk_checkpoint_ = NULL;
10378
0
  return temp;
10379
0
}
10380
0
inline ::yb::cdc::CDCSDKCheckpointPB* SetCDCCheckpointRequestPB::mutable_cdc_sdk_checkpoint() {
10381
0
  set_has_cdc_sdk_checkpoint();
10382
0
  if (cdc_sdk_checkpoint_ == NULL) {
10383
0
    cdc_sdk_checkpoint_ = new ::yb::cdc::CDCSDKCheckpointPB;
10384
0
  }
10385
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint)
10386
0
  return cdc_sdk_checkpoint_;
10387
0
}
10388
0
inline void SetCDCCheckpointRequestPB::set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint) {
10389
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10390
0
  if (message_arena == NULL) {
10391
0
    delete cdc_sdk_checkpoint_;
10392
0
  }
10393
0
  if (cdc_sdk_checkpoint) {
10394
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10395
0
    if (message_arena != submessage_arena) {
10396
0
      cdc_sdk_checkpoint = ::google::protobuf::internal::GetOwnedMessage(
10397
0
          message_arena, cdc_sdk_checkpoint, submessage_arena);
10398
0
    }
10399
0
    set_has_cdc_sdk_checkpoint();
10400
0
  } else {
10401
0
    clear_has_cdc_sdk_checkpoint();
10402
0
  }
10403
0
  cdc_sdk_checkpoint_ = cdc_sdk_checkpoint;
10404
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint)
10405
0
}
10406
10407
// optional bytes stream_id = 3;
10408
6
inline bool SetCDCCheckpointRequestPB::has_stream_id() const {
10409
6
  return (_has_bits_[0] & 0x00000001u) != 0;
10410
6
}
10411
6
inline void SetCDCCheckpointRequestPB::set_has_stream_id() {
10412
6
  _has_bits_[0] |= 0x00000001u;
10413
6
}
10414
0
inline void SetCDCCheckpointRequestPB::clear_has_stream_id() {
10415
0
  _has_bits_[0] &= ~0x00000001u;
10416
0
}
10417
0
inline void SetCDCCheckpointRequestPB::clear_stream_id() {
10418
0
  stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10419
0
  clear_has_stream_id();
10420
0
}
10421
12
inline const ::std::string& SetCDCCheckpointRequestPB::stream_id() const {
10422
  // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10423
12
  return stream_id_.GetNoArena();
10424
12
}
10425
0
inline void SetCDCCheckpointRequestPB::set_stream_id(const ::std::string& value) {
10426
0
  set_has_stream_id();
10427
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10428
0
  // @@protoc_insertion_point(field_set:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10429
0
}
10430
#if LANG_CXX11
10431
0
inline void SetCDCCheckpointRequestPB::set_stream_id(::std::string&& value) {
10432
0
  set_has_stream_id();
10433
0
  stream_id_.SetNoArena(
10434
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10435
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10436
0
}
10437
#endif
10438
0
inline void SetCDCCheckpointRequestPB::set_stream_id(const char* value) {
10439
0
  GOOGLE_DCHECK(value != NULL);
10440
0
  set_has_stream_id();
10441
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10442
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10443
0
}
10444
0
inline void SetCDCCheckpointRequestPB::set_stream_id(const void* value, size_t size) {
10445
0
  set_has_stream_id();
10446
0
  stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10447
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10448
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10449
0
}
10450
6
inline ::std::string* SetCDCCheckpointRequestPB::mutable_stream_id() {
10451
6
  set_has_stream_id();
10452
  // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10453
6
  return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10454
6
}
10455
0
inline ::std::string* SetCDCCheckpointRequestPB::release_stream_id() {
10456
0
  // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10457
0
  clear_has_stream_id();
10458
0
  return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10459
0
}
10460
0
inline void SetCDCCheckpointRequestPB::set_allocated_stream_id(::std::string* stream_id) {
10461
0
  if (stream_id != NULL) {
10462
0
    set_has_stream_id();
10463
0
  } else {
10464
0
    clear_has_stream_id();
10465
0
  }
10466
0
  stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id);
10467
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.stream_id)
10468
0
}
10469
10470
// optional bytes tablet_id = 4;
10471
6
inline bool SetCDCCheckpointRequestPB::has_tablet_id() const {
10472
6
  return (_has_bits_[0] & 0x00000002u) != 0;
10473
6
}
10474
6
inline void SetCDCCheckpointRequestPB::set_has_tablet_id() {
10475
6
  _has_bits_[0] |= 0x00000002u;
10476
6
}
10477
0
inline void SetCDCCheckpointRequestPB::clear_has_tablet_id() {
10478
0
  _has_bits_[0] &= ~0x00000002u;
10479
0
}
10480
0
inline void SetCDCCheckpointRequestPB::clear_tablet_id() {
10481
0
  tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10482
0
  clear_has_tablet_id();
10483
0
}
10484
18
inline const ::std::string& SetCDCCheckpointRequestPB::tablet_id() const {
10485
  // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10486
18
  return tablet_id_.GetNoArena();
10487
18
}
10488
0
inline void SetCDCCheckpointRequestPB::set_tablet_id(const ::std::string& value) {
10489
0
  set_has_tablet_id();
10490
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
10491
0
  // @@protoc_insertion_point(field_set:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10492
0
}
10493
#if LANG_CXX11
10494
0
inline void SetCDCCheckpointRequestPB::set_tablet_id(::std::string&& value) {
10495
0
  set_has_tablet_id();
10496
0
  tablet_id_.SetNoArena(
10497
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
10498
0
  // @@protoc_insertion_point(field_set_rvalue:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10499
0
}
10500
#endif
10501
0
inline void SetCDCCheckpointRequestPB::set_tablet_id(const char* value) {
10502
0
  GOOGLE_DCHECK(value != NULL);
10503
0
  set_has_tablet_id();
10504
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
10505
0
  // @@protoc_insertion_point(field_set_char:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10506
0
}
10507
0
inline void SetCDCCheckpointRequestPB::set_tablet_id(const void* value, size_t size) {
10508
0
  set_has_tablet_id();
10509
0
  tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
10510
0
      ::std::string(reinterpret_cast<const char*>(value), size));
10511
0
  // @@protoc_insertion_point(field_set_pointer:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10512
0
}
10513
6
inline ::std::string* SetCDCCheckpointRequestPB::mutable_tablet_id() {
10514
6
  set_has_tablet_id();
10515
  // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10516
6
  return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10517
6
}
10518
0
inline ::std::string* SetCDCCheckpointRequestPB::release_tablet_id() {
10519
0
  // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10520
0
  clear_has_tablet_id();
10521
0
  return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
10522
0
}
10523
0
inline void SetCDCCheckpointRequestPB::set_allocated_tablet_id(::std::string* tablet_id) {
10524
0
  if (tablet_id != NULL) {
10525
0
    set_has_tablet_id();
10526
0
  } else {
10527
0
    clear_has_tablet_id();
10528
0
  }
10529
0
  tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id);
10530
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.tablet_id)
10531
0
}
10532
10533
// -------------------------------------------------------------------
10534
10535
// SetCDCCheckpointResponsePB
10536
10537
// optional .yb.cdc.CDCErrorPB error = 1;
10538
18
inline bool SetCDCCheckpointResponsePB::has_error() const {
10539
18
  return (_has_bits_[0] & 0x00000001u) != 0;
10540
18
}
10541
0
inline void SetCDCCheckpointResponsePB::set_has_error() {
10542
0
  _has_bits_[0] |= 0x00000001u;
10543
0
}
10544
0
inline void SetCDCCheckpointResponsePB::clear_has_error() {
10545
0
  _has_bits_[0] &= ~0x00000001u;
10546
0
}
10547
0
inline void SetCDCCheckpointResponsePB::clear_error() {
10548
0
  if (error_ != NULL) error_->Clear();
10549
0
  clear_has_error();
10550
0
}
10551
0
inline const ::yb::cdc::CDCErrorPB& SetCDCCheckpointResponsePB::error() const {
10552
0
  const ::yb::cdc::CDCErrorPB* p = error_;
10553
0
  // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointResponsePB.error)
10554
0
  return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>(
10555
0
      &::yb::cdc::_CDCErrorPB_default_instance_);
10556
0
}
10557
0
inline ::yb::cdc::CDCErrorPB* SetCDCCheckpointResponsePB::release_error() {
10558
0
  // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointResponsePB.error)
10559
0
  clear_has_error();
10560
0
  ::yb::cdc::CDCErrorPB* temp = error_;
10561
0
  error_ = NULL;
10562
0
  return temp;
10563
0
}
10564
0
inline ::yb::cdc::CDCErrorPB* SetCDCCheckpointResponsePB::mutable_error() {
10565
0
  set_has_error();
10566
0
  if (error_ == NULL) {
10567
0
    error_ = new ::yb::cdc::CDCErrorPB;
10568
0
  }
10569
0
  // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointResponsePB.error)
10570
0
  return error_;
10571
0
}
10572
0
inline void SetCDCCheckpointResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) {
10573
0
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
10574
0
  if (message_arena == NULL) {
10575
0
    delete error_;
10576
0
  }
10577
0
  if (error) {
10578
0
    ::google::protobuf::Arena* submessage_arena = NULL;
10579
0
    if (message_arena != submessage_arena) {
10580
0
      error = ::google::protobuf::internal::GetOwnedMessage(
10581
0
          message_arena, error, submessage_arena);
10582
0
    }
10583
0
    set_has_error();
10584
0
  } else {
10585
0
    clear_has_error();
10586
0
  }
10587
0
  error_ = error;
10588
0
  // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointResponsePB.error)
10589
0
}
10590
10591
#ifdef __GNUC__
10592
  #pragma GCC diagnostic pop
10593
#endif  // __GNUC__
10594
// -------------------------------------------------------------------
10595
10596
// -------------------------------------------------------------------
10597
10598
// -------------------------------------------------------------------
10599
10600
// -------------------------------------------------------------------
10601
10602
// -------------------------------------------------------------------
10603
10604
// -------------------------------------------------------------------
10605
10606
// -------------------------------------------------------------------
10607
10608
// -------------------------------------------------------------------
10609
10610
// -------------------------------------------------------------------
10611
10612
// -------------------------------------------------------------------
10613
10614
// -------------------------------------------------------------------
10615
10616
// -------------------------------------------------------------------
10617
10618
// -------------------------------------------------------------------
10619
10620
// -------------------------------------------------------------------
10621
10622
// -------------------------------------------------------------------
10623
10624
// -------------------------------------------------------------------
10625
10626
// -------------------------------------------------------------------
10627
10628
// -------------------------------------------------------------------
10629
10630
// -------------------------------------------------------------------
10631
10632
// -------------------------------------------------------------------
10633
10634
// -------------------------------------------------------------------
10635
10636
// -------------------------------------------------------------------
10637
10638
// -------------------------------------------------------------------
10639
10640
// -------------------------------------------------------------------
10641
10642
// -------------------------------------------------------------------
10643
10644
// -------------------------------------------------------------------
10645
10646
// -------------------------------------------------------------------
10647
10648
// -------------------------------------------------------------------
10649
10650
// -------------------------------------------------------------------
10651
10652
// -------------------------------------------------------------------
10653
10654
// -------------------------------------------------------------------
10655
10656
// -------------------------------------------------------------------
10657
10658
// -------------------------------------------------------------------
10659
10660
// -------------------------------------------------------------------
10661
10662
10663
// @@protoc_insertion_point(namespace_scope)
10664
10665
}  // namespace cdc
10666
}  // namespace yb
10667
10668
namespace google {
10669
namespace protobuf {
10670
10671
template <> struct is_proto_enum< ::yb::cdc::CDCErrorPB_Code> : ::google::protobuf::internal::true_type {};
10672
template <>
10673
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCErrorPB_Code>() {
10674
0
  return ::yb::cdc::CDCErrorPB_Code_descriptor();
10675
0
}
10676
template <> struct is_proto_enum< ::yb::cdc::CDCRecordPB_OperationType> : ::google::protobuf::internal::true_type {};
10677
template <>
10678
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRecordPB_OperationType>() {
10679
0
  return ::yb::cdc::CDCRecordPB_OperationType_descriptor();
10680
0
}
10681
template <> struct is_proto_enum< ::yb::cdc::RowMessage_Op> : ::google::protobuf::internal::true_type {};
10682
template <>
10683
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::RowMessage_Op>() {
10684
0
  return ::yb::cdc::RowMessage_Op_descriptor();
10685
0
}
10686
template <> struct is_proto_enum< ::yb::cdc::CDCRecordType> : ::google::protobuf::internal::true_type {};
10687
template <>
10688
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRecordType>() {
10689
0
  return ::yb::cdc::CDCRecordType_descriptor();
10690
0
}
10691
template <> struct is_proto_enum< ::yb::cdc::CDCRecordFormat> : ::google::protobuf::internal::true_type {};
10692
template <>
10693
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRecordFormat>() {
10694
0
  return ::yb::cdc::CDCRecordFormat_descriptor();
10695
0
}
10696
template <> struct is_proto_enum< ::yb::cdc::CDCRequestSource> : ::google::protobuf::internal::true_type {};
10697
template <>
10698
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRequestSource>() {
10699
0
  return ::yb::cdc::CDCRequestSource_descriptor();
10700
0
}
10701
template <> struct is_proto_enum< ::yb::cdc::CDCCheckpointType> : ::google::protobuf::internal::true_type {};
10702
template <>
10703
0
inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCCheckpointType>() {
10704
0
  return ::yb::cdc::CDCCheckpointType_descriptor();
10705
0
}
10706
10707
}  // namespace protobuf
10708
}  // namespace google
10709
10710
// @@protoc_insertion_point(global_scope)
10711
10712
#endif  // PROTOBUF_yb_2fcdc_2fcdc_5fservice_2eproto__INCLUDED