/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 | 11.1k | inline void InitDefaults() { |
125 | 11.1k | InitDefaultsCDCErrorPB(); |
126 | 11.1k | InitDefaultsCreateCDCStreamRequestPB(); |
127 | 11.1k | InitDefaultsCreateCDCStreamResponsePB(); |
128 | 11.1k | InitDefaultsDeleteCDCStreamRequestPB(); |
129 | 11.1k | InitDefaultsDeleteCDCStreamResponsePB(); |
130 | 11.1k | InitDefaultsListTabletsRequestPB(); |
131 | 11.1k | InitDefaultsListTabletsResponsePB(); |
132 | 11.1k | InitDefaultsCDCTabletPB_ReplicaPB(); |
133 | 11.1k | InitDefaultsCDCTabletPB(); |
134 | 11.1k | InitDefaultsCDCSDKCheckpointPB(); |
135 | 11.1k | InitDefaultsCDCCheckpointPB(); |
136 | 11.1k | InitDefaultsGetChangesRequestPB(); |
137 | 11.1k | InitDefaultsKeyValuePairPB(); |
138 | 11.1k | InitDefaultsCDCRecordPB(); |
139 | 11.1k | InitDefaultsCDCSDKColumnInfoPB(); |
140 | 11.1k | InitDefaultsCDCSDKTablePropertiesPB(); |
141 | 11.1k | InitDefaultsCDCSDKSchemaPB(); |
142 | 11.1k | InitDefaultsCDCSDKOpIdPB(); |
143 | 11.1k | InitDefaultsTypeInfo(); |
144 | 11.1k | InitDefaultsRowMessage(); |
145 | 11.1k | InitDefaultsCDCSDKProtoRecordPB(); |
146 | 11.1k | InitDefaultsGetChangesResponsePB(); |
147 | 11.1k | InitDefaultsGetCheckpointRequestPB(); |
148 | 11.1k | InitDefaultsGetCheckpointResponsePB(); |
149 | 11.1k | InitDefaultsUpdateCdcReplicatedIndexRequestPB(); |
150 | 11.1k | InitDefaultsUpdateCdcReplicatedIndexResponsePB(); |
151 | 11.1k | InitDefaultsBootstrapProducerRequestPB(); |
152 | 11.1k | InitDefaultsBootstrapProducerResponsePB(); |
153 | 11.1k | InitDefaultsGetLatestEntryOpIdRequestPB(); |
154 | 11.1k | InitDefaultsGetLatestEntryOpIdResponsePB(); |
155 | 11.1k | InitDefaultsTableInfo(); |
156 | 11.1k | InitDefaultsGetCDCDBStreamInfoRequestPB(); |
157 | 11.1k | InitDefaultsGetCDCDBStreamInfoResponsePB(); |
158 | 11.1k | InitDefaultsSetCDCCheckpointRequestPB(); |
159 | 11.1k | InitDefaultsSetCDCCheckpointResponsePB(); |
160 | 11.1k | } |
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 | 153 | inline const ::std::string& CDCRecordType_Name(CDCRecordType value) { |
361 | 153 | return ::google::protobuf::internal::NameOfEnum( |
362 | 153 | CDCRecordType_descriptor(), value); |
363 | 153 | } |
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 | 153 | inline const ::std::string& CDCRecordFormat_Name(CDCRecordFormat value) { |
381 | 153 | return ::google::protobuf::internal::NameOfEnum( |
382 | 153 | CDCRecordFormat_descriptor(), value); |
383 | 153 | } |
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 | 153 | inline const ::std::string& CDCRequestSource_Name(CDCRequestSource value) { |
400 | 153 | return ::google::protobuf::internal::NameOfEnum( |
401 | 153 | CDCRequestSource_descriptor(), value); |
402 | 153 | } |
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 | 153 | inline const ::std::string& CDCCheckpointType_Name(CDCCheckpointType value) { |
419 | 153 | return ::google::protobuf::internal::NameOfEnum( |
420 | 153 | CDCCheckpointType_descriptor(), value); |
421 | 153 | } |
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 | 121k | static inline const CDCErrorPB* internal_default_instance() { |
467 | 121k | return reinterpret_cast<const CDCErrorPB*>( |
468 | 121k | &_CDCErrorPB_default_instance_); |
469 | 121k | } |
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 | 11.3k | static inline const CreateCDCStreamRequestPB* internal_default_instance() { |
633 | 11.3k | return reinterpret_cast<const CreateCDCStreamRequestPB*>( |
634 | 11.3k | &_CreateCDCStreamRequestPB_default_instance_); |
635 | 11.3k | } |
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 | 11.5k | static inline const CreateCDCStreamResponsePB* internal_default_instance() { |
809 | 11.5k | return reinterpret_cast<const CreateCDCStreamResponsePB*>( |
810 | 11.5k | &_CreateCDCStreamResponsePB_default_instance_); |
811 | 11.5k | } |
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 | 11.1k | static inline const DeleteCDCStreamRequestPB* internal_default_instance() { |
957 | 11.1k | return reinterpret_cast<const DeleteCDCStreamRequestPB*>( |
958 | 11.1k | &_DeleteCDCStreamRequestPB_default_instance_); |
959 | 11.1k | } |
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 | 11.1k | static inline const DeleteCDCStreamResponsePB* internal_default_instance() { |
1100 | 11.1k | return reinterpret_cast<const DeleteCDCStreamResponsePB*>( |
1101 | 11.1k | &_DeleteCDCStreamResponsePB_default_instance_); |
1102 | 11.1k | } |
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 | 11.1k | static inline const ListTabletsRequestPB* internal_default_instance() { |
1212 | 11.1k | return reinterpret_cast<const ListTabletsRequestPB*>( |
1213 | 11.1k | &_ListTabletsRequestPB_default_instance_); |
1214 | 11.1k | } |
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 | 11.1k | static inline const ListTabletsResponsePB* internal_default_instance() { |
1340 | 11.1k | return reinterpret_cast<const ListTabletsResponsePB*>( |
1341 | 11.1k | &_ListTabletsResponsePB_default_instance_); |
1342 | 11.1k | } |
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 | 11.1k | static inline const CDCTabletPB_ReplicaPB* internal_default_instance() { |
1465 | 11.1k | return reinterpret_cast<const CDCTabletPB_ReplicaPB*>( |
1466 | 11.1k | &_CDCTabletPB_ReplicaPB_default_instance_); |
1467 | 11.1k | } |
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 | 11.1k | static inline const CDCTabletPB* internal_default_instance() { |
1578 | 11.1k | return reinterpret_cast<const CDCTabletPB*>( |
1579 | 11.1k | &_CDCTabletPB_default_instance_); |
1580 | 11.1k | } |
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 | 18 | inline CDCSDKCheckpointPB& operator=(const CDCSDKCheckpointPB& from) { |
1681 | 18 | CopyFrom(from); |
1682 | 18 | return *this; |
1683 | 18 | } |
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 | 38.0k | static inline const CDCSDKCheckpointPB* internal_default_instance() { |
1711 | 38.0k | return reinterpret_cast<const CDCSDKCheckpointPB*>( |
1712 | 38.0k | &_CDCSDKCheckpointPB_default_instance_); |
1713 | 38.0k | } |
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 | 319 | 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 | 54.6k | static inline const CDCCheckpointPB* internal_default_instance() { |
1869 | 54.6k | return reinterpret_cast<const CDCCheckpointPB*>( |
1870 | 54.6k | &_CDCCheckpointPB_default_instance_); |
1871 | 54.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 | 314 | 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 | 12.1k | static inline const GetChangesRequestPB* internal_default_instance() { |
1981 | 12.1k | return reinterpret_cast<const GetChangesRequestPB*>( |
1982 | 12.1k | &_GetChangesRequestPB_default_instance_); |
1983 | 12.1k | } |
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 | 11.1k | static inline const KeyValuePairPB* internal_default_instance() { |
2197 | 11.1k | return reinterpret_cast<const KeyValuePairPB*>( |
2198 | 11.1k | &_KeyValuePairPB_default_instance_); |
2199 | 11.1k | } |
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 | 11.1k | static inline const CDCRecordPB* internal_default_instance() { |
2327 | 11.1k | return reinterpret_cast<const CDCRecordPB*>( |
2328 | 11.1k | &_CDCRecordPB_default_instance_); |
2329 | 11.1k | } |
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 | 11.0k | static inline const CDCSDKColumnInfoPB* internal_default_instance() { |
2565 | 11.0k | return reinterpret_cast<const CDCSDKColumnInfoPB*>( |
2566 | 11.0k | &_CDCSDKColumnInfoPB_default_instance_); |
2567 | 11.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 | 883 | 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 | 18.8k | static inline const CDCSDKTablePropertiesPB* internal_default_instance() { |
2735 | 18.8k | return reinterpret_cast<const CDCSDKTablePropertiesPB*>( |
2736 | 18.8k | &_CDCSDKTablePropertiesPB_default_instance_); |
2737 | 18.8k | } |
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 | 314 | 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 | 19.1k | static inline const CDCSDKSchemaPB* internal_default_instance() { |
2865 | 19.1k | return reinterpret_cast<const CDCSDKSchemaPB*>( |
2866 | 19.1k | &_CDCSDKSchemaPB_default_instance_); |
2867 | 19.1k | } |
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 | 314 | 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 | 19.1k | static inline const CDCSDKOpIdPB* internal_default_instance() { |
2990 | 19.1k | return reinterpret_cast<const CDCSDKOpIdPB*>( |
2991 | 19.1k | &_CDCSDKOpIdPB_default_instance_); |
2992 | 19.1k | } |
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 | 604 | 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 | 9.25k | static inline const TypeInfo* internal_default_instance() { |
3138 | 9.25k | return reinterpret_cast<const TypeInfo*>( |
3139 | 9.25k | &_TypeInfo_default_instance_); |
3140 | 9.25k | } |
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 | 59.5k | static inline const RowMessage* internal_default_instance() { |
3266 | 59.5k | return reinterpret_cast<const RowMessage*>( |
3267 | 59.5k | &_RowMessage_default_instance_); |
3268 | 59.5k | } |
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 | 13.5k | 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 | 50.2k | static inline const CDCSDKProtoRecordPB* internal_default_instance() { |
3571 | 50.2k | return reinterpret_cast<const CDCSDKProtoRecordPB*>( |
3572 | 50.2k | &_CDCSDKProtoRecordPB_default_instance_); |
3573 | 50.2k | } |
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 | 13.5k | 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: _ZN2yb3cdc20GetChangesResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb3cdc20GetChangesResponsePBC1EOS1_ |
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 | 12.4k | static inline const GetChangesResponsePB* internal_default_instance() { |
3695 | 12.4k | return reinterpret_cast<const GetChangesResponsePB*>( |
3696 | 12.4k | &_GetChangesResponsePB_default_instance_); |
3697 | 12.4k | } |
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 .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE]; |
3810 | | bool has_record_type() const; |
3811 | | void clear_record_type(); |
3812 | | static const int kRecordTypeFieldNumber = 2; |
3813 | | ::yb::cdc::CDCRecordType record_type() const; |
3814 | | void set_record_type(::yb::cdc::CDCRecordType value); |
3815 | | |
3816 | | // optional .yb.cdc.CDCRecordFormat record_format = 3; |
3817 | | bool has_record_format() const; |
3818 | | void clear_record_format(); |
3819 | | static const int kRecordFormatFieldNumber = 3; |
3820 | | ::yb::cdc::CDCRecordFormat record_format() const; |
3821 | | void set_record_format(::yb::cdc::CDCRecordFormat value); |
3822 | | |
3823 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetChangesResponsePB) |
3824 | | private: |
3825 | | void set_has_error(); |
3826 | | void clear_has_error(); |
3827 | | void set_has_record_type(); |
3828 | | void clear_has_record_type(); |
3829 | | void set_has_record_format(); |
3830 | | void clear_has_record_format(); |
3831 | | void set_has_checkpoint(); |
3832 | | void clear_has_checkpoint(); |
3833 | | void set_has_cdc_sdk_checkpoint(); |
3834 | | void clear_has_cdc_sdk_checkpoint(); |
3835 | | |
3836 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3837 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3838 | | mutable int _cached_size_; |
3839 | | ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB > records_; |
3840 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > tserver_; |
3841 | | ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB > cdc_sdk_proto_records_; |
3842 | | ::yb::cdc::CDCErrorPB* error_; |
3843 | | ::yb::cdc::CDCCheckpointPB* checkpoint_; |
3844 | | ::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint_; |
3845 | | int record_type_; |
3846 | | int record_format_; |
3847 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
3848 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetChangesResponsePBImpl(); |
3849 | | }; |
3850 | | // ------------------------------------------------------------------- |
3851 | | |
3852 | | class GetCheckpointRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCheckpointRequestPB) */ { |
3853 | | public: |
3854 | | GetCheckpointRequestPB(); |
3855 | | virtual ~GetCheckpointRequestPB(); |
3856 | | |
3857 | | GetCheckpointRequestPB(const GetCheckpointRequestPB& from); |
3858 | | |
3859 | 0 | inline GetCheckpointRequestPB& operator=(const GetCheckpointRequestPB& from) { |
3860 | 0 | CopyFrom(from); |
3861 | 0 | return *this; |
3862 | 0 | } |
3863 | | #if LANG_CXX11 |
3864 | | GetCheckpointRequestPB(GetCheckpointRequestPB&& from) noexcept |
3865 | 0 | : GetCheckpointRequestPB() { |
3866 | 0 | *this = ::std::move(from); |
3867 | 0 | } |
3868 | | |
3869 | 0 | inline GetCheckpointRequestPB& operator=(GetCheckpointRequestPB&& from) noexcept { |
3870 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3871 | 0 | if (this != &from) InternalSwap(&from); |
3872 | 0 | } else { |
3873 | 0 | CopyFrom(from); |
3874 | 0 | } |
3875 | 0 | return *this; |
3876 | 0 | } |
3877 | | #endif |
3878 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3879 | 0 | return _internal_metadata_.unknown_fields(); |
3880 | 0 | } |
3881 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3882 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3883 | 0 | } |
3884 | | |
3885 | | static const ::google::protobuf::Descriptor* descriptor(); |
3886 | | static const GetCheckpointRequestPB& default_instance(); |
3887 | | |
3888 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3889 | 11.2k | static inline const GetCheckpointRequestPB* internal_default_instance() { |
3890 | 11.2k | return reinterpret_cast<const GetCheckpointRequestPB*>( |
3891 | 11.2k | &_GetCheckpointRequestPB_default_instance_); |
3892 | 11.2k | } |
3893 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3894 | | 22; |
3895 | | |
3896 | | void Swap(GetCheckpointRequestPB* other); |
3897 | 0 | friend void swap(GetCheckpointRequestPB& a, GetCheckpointRequestPB& b) { |
3898 | 0 | a.Swap(&b); |
3899 | 0 | } |
3900 | | |
3901 | | // implements Message ---------------------------------------------- |
3902 | | |
3903 | 0 | inline GetCheckpointRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3904 | | |
3905 | | GetCheckpointRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3906 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3907 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3908 | | void CopyFrom(const GetCheckpointRequestPB& from); |
3909 | | void MergeFrom(const GetCheckpointRequestPB& from); |
3910 | | void Clear() PROTOBUF_FINAL; |
3911 | | bool IsInitialized() const PROTOBUF_FINAL; |
3912 | | |
3913 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3914 | | bool MergePartialFromCodedStream( |
3915 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3916 | | void SerializeWithCachedSizes( |
3917 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3918 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3919 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3920 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3921 | | private: |
3922 | | void SharedCtor(); |
3923 | | void SharedDtor(); |
3924 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3925 | | void InternalSwap(GetCheckpointRequestPB* other); |
3926 | | private: |
3927 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3928 | 0 | return NULL; |
3929 | 0 | } |
3930 | 0 | inline void* MaybeArenaPtr() const { |
3931 | 0 | return NULL; |
3932 | 0 | } |
3933 | | public: |
3934 | | |
3935 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3936 | | |
3937 | | // nested types ---------------------------------------------------- |
3938 | | |
3939 | | // accessors ------------------------------------------------------- |
3940 | | |
3941 | | // optional bytes stream_id = 1; |
3942 | | bool has_stream_id() const; |
3943 | | void clear_stream_id(); |
3944 | | static const int kStreamIdFieldNumber = 1; |
3945 | | const ::std::string& stream_id() const; |
3946 | | void set_stream_id(const ::std::string& value); |
3947 | | #if LANG_CXX11 |
3948 | | void set_stream_id(::std::string&& value); |
3949 | | #endif |
3950 | | void set_stream_id(const char* value); |
3951 | | void set_stream_id(const void* value, size_t size); |
3952 | | ::std::string* mutable_stream_id(); |
3953 | | ::std::string* release_stream_id(); |
3954 | | void set_allocated_stream_id(::std::string* stream_id); |
3955 | | |
3956 | | // optional bytes tablet_id = 2; |
3957 | | bool has_tablet_id() const; |
3958 | | void clear_tablet_id(); |
3959 | | static const int kTabletIdFieldNumber = 2; |
3960 | | const ::std::string& tablet_id() const; |
3961 | | void set_tablet_id(const ::std::string& value); |
3962 | | #if LANG_CXX11 |
3963 | | void set_tablet_id(::std::string&& value); |
3964 | | #endif |
3965 | | void set_tablet_id(const char* value); |
3966 | | void set_tablet_id(const void* value, size_t size); |
3967 | | ::std::string* mutable_tablet_id(); |
3968 | | ::std::string* release_tablet_id(); |
3969 | | void set_allocated_tablet_id(::std::string* tablet_id); |
3970 | | |
3971 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetCheckpointRequestPB) |
3972 | | private: |
3973 | | void set_has_stream_id(); |
3974 | | void clear_has_stream_id(); |
3975 | | void set_has_tablet_id(); |
3976 | | void clear_has_tablet_id(); |
3977 | | |
3978 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3979 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3980 | | mutable int _cached_size_; |
3981 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
3982 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
3983 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
3984 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCheckpointRequestPBImpl(); |
3985 | | }; |
3986 | | // ------------------------------------------------------------------- |
3987 | | |
3988 | | class GetCheckpointResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCheckpointResponsePB) */ { |
3989 | | public: |
3990 | | GetCheckpointResponsePB(); |
3991 | | virtual ~GetCheckpointResponsePB(); |
3992 | | |
3993 | | GetCheckpointResponsePB(const GetCheckpointResponsePB& from); |
3994 | | |
3995 | 0 | inline GetCheckpointResponsePB& operator=(const GetCheckpointResponsePB& from) { |
3996 | 0 | CopyFrom(from); |
3997 | 0 | return *this; |
3998 | 0 | } |
3999 | | #if LANG_CXX11 |
4000 | | GetCheckpointResponsePB(GetCheckpointResponsePB&& from) noexcept |
4001 | 0 | : GetCheckpointResponsePB() { |
4002 | 0 | *this = ::std::move(from); |
4003 | 0 | } |
4004 | | |
4005 | 0 | inline GetCheckpointResponsePB& operator=(GetCheckpointResponsePB&& from) noexcept { |
4006 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4007 | 0 | if (this != &from) InternalSwap(&from); |
4008 | 0 | } else { |
4009 | 0 | CopyFrom(from); |
4010 | 0 | } |
4011 | 0 | return *this; |
4012 | 0 | } |
4013 | | #endif |
4014 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4015 | 0 | return _internal_metadata_.unknown_fields(); |
4016 | 0 | } |
4017 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4018 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4019 | 0 | } |
4020 | | |
4021 | | static const ::google::protobuf::Descriptor* descriptor(); |
4022 | | static const GetCheckpointResponsePB& default_instance(); |
4023 | | |
4024 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4025 | 11.2k | static inline const GetCheckpointResponsePB* internal_default_instance() { |
4026 | 11.2k | return reinterpret_cast<const GetCheckpointResponsePB*>( |
4027 | 11.2k | &_GetCheckpointResponsePB_default_instance_); |
4028 | 11.2k | } |
4029 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4030 | | 23; |
4031 | | |
4032 | | void Swap(GetCheckpointResponsePB* other); |
4033 | 0 | friend void swap(GetCheckpointResponsePB& a, GetCheckpointResponsePB& b) { |
4034 | 0 | a.Swap(&b); |
4035 | 0 | } |
4036 | | |
4037 | | // implements Message ---------------------------------------------- |
4038 | | |
4039 | 0 | inline GetCheckpointResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4040 | | |
4041 | | GetCheckpointResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4042 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4043 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4044 | | void CopyFrom(const GetCheckpointResponsePB& from); |
4045 | | void MergeFrom(const GetCheckpointResponsePB& from); |
4046 | | void Clear() PROTOBUF_FINAL; |
4047 | | bool IsInitialized() const PROTOBUF_FINAL; |
4048 | | |
4049 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4050 | | bool MergePartialFromCodedStream( |
4051 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4052 | | void SerializeWithCachedSizes( |
4053 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4054 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4055 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4056 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4057 | | private: |
4058 | | void SharedCtor(); |
4059 | | void SharedDtor(); |
4060 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4061 | | void InternalSwap(GetCheckpointResponsePB* other); |
4062 | | private: |
4063 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4064 | 0 | return NULL; |
4065 | 0 | } |
4066 | 0 | inline void* MaybeArenaPtr() const { |
4067 | 0 | return NULL; |
4068 | 0 | } |
4069 | | public: |
4070 | | |
4071 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4072 | | |
4073 | | // nested types ---------------------------------------------------- |
4074 | | |
4075 | | // accessors ------------------------------------------------------- |
4076 | | |
4077 | | // optional .yb.cdc.CDCErrorPB error = 1; |
4078 | | bool has_error() const; |
4079 | | void clear_error(); |
4080 | | static const int kErrorFieldNumber = 1; |
4081 | | const ::yb::cdc::CDCErrorPB& error() const; |
4082 | | ::yb::cdc::CDCErrorPB* release_error(); |
4083 | | ::yb::cdc::CDCErrorPB* mutable_error(); |
4084 | | void set_allocated_error(::yb::cdc::CDCErrorPB* error); |
4085 | | |
4086 | | // optional .yb.cdc.CDCCheckpointPB checkpoint = 2; |
4087 | | bool has_checkpoint() const; |
4088 | | void clear_checkpoint(); |
4089 | | static const int kCheckpointFieldNumber = 2; |
4090 | | const ::yb::cdc::CDCCheckpointPB& checkpoint() const; |
4091 | | ::yb::cdc::CDCCheckpointPB* release_checkpoint(); |
4092 | | ::yb::cdc::CDCCheckpointPB* mutable_checkpoint(); |
4093 | | void set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint); |
4094 | | |
4095 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetCheckpointResponsePB) |
4096 | | private: |
4097 | | void set_has_error(); |
4098 | | void clear_has_error(); |
4099 | | void set_has_checkpoint(); |
4100 | | void clear_has_checkpoint(); |
4101 | | |
4102 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4103 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4104 | | mutable int _cached_size_; |
4105 | | ::yb::cdc::CDCErrorPB* error_; |
4106 | | ::yb::cdc::CDCCheckpointPB* checkpoint_; |
4107 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4108 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCheckpointResponsePBImpl(); |
4109 | | }; |
4110 | | // ------------------------------------------------------------------- |
4111 | | |
4112 | | class UpdateCdcReplicatedIndexRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.UpdateCdcReplicatedIndexRequestPB) */ { |
4113 | | public: |
4114 | | UpdateCdcReplicatedIndexRequestPB(); |
4115 | | virtual ~UpdateCdcReplicatedIndexRequestPB(); |
4116 | | |
4117 | | UpdateCdcReplicatedIndexRequestPB(const UpdateCdcReplicatedIndexRequestPB& from); |
4118 | | |
4119 | 0 | inline UpdateCdcReplicatedIndexRequestPB& operator=(const UpdateCdcReplicatedIndexRequestPB& from) { |
4120 | 0 | CopyFrom(from); |
4121 | 0 | return *this; |
4122 | 0 | } |
4123 | | #if LANG_CXX11 |
4124 | | UpdateCdcReplicatedIndexRequestPB(UpdateCdcReplicatedIndexRequestPB&& from) noexcept |
4125 | 0 | : UpdateCdcReplicatedIndexRequestPB() { |
4126 | 0 | *this = ::std::move(from); |
4127 | 0 | } |
4128 | | |
4129 | 0 | inline UpdateCdcReplicatedIndexRequestPB& operator=(UpdateCdcReplicatedIndexRequestPB&& from) noexcept { |
4130 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4131 | 0 | if (this != &from) InternalSwap(&from); |
4132 | 0 | } else { |
4133 | 0 | CopyFrom(from); |
4134 | 0 | } |
4135 | 0 | return *this; |
4136 | 0 | } |
4137 | | #endif |
4138 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4139 | 0 | return _internal_metadata_.unknown_fields(); |
4140 | 0 | } |
4141 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4142 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4143 | 0 | } |
4144 | | |
4145 | | static const ::google::protobuf::Descriptor* descriptor(); |
4146 | | static const UpdateCdcReplicatedIndexRequestPB& default_instance(); |
4147 | | |
4148 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4149 | 11.5k | static inline const UpdateCdcReplicatedIndexRequestPB* internal_default_instance() { |
4150 | 11.5k | return reinterpret_cast<const UpdateCdcReplicatedIndexRequestPB*>( |
4151 | 11.5k | &_UpdateCdcReplicatedIndexRequestPB_default_instance_); |
4152 | 11.5k | } |
4153 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4154 | | 24; |
4155 | | |
4156 | | void Swap(UpdateCdcReplicatedIndexRequestPB* other); |
4157 | 0 | friend void swap(UpdateCdcReplicatedIndexRequestPB& a, UpdateCdcReplicatedIndexRequestPB& b) { |
4158 | 0 | a.Swap(&b); |
4159 | 0 | } |
4160 | | |
4161 | | // implements Message ---------------------------------------------- |
4162 | | |
4163 | 0 | inline UpdateCdcReplicatedIndexRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4164 | | |
4165 | | UpdateCdcReplicatedIndexRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4166 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4167 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4168 | | void CopyFrom(const UpdateCdcReplicatedIndexRequestPB& from); |
4169 | | void MergeFrom(const UpdateCdcReplicatedIndexRequestPB& from); |
4170 | | void Clear() PROTOBUF_FINAL; |
4171 | | bool IsInitialized() const PROTOBUF_FINAL; |
4172 | | |
4173 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4174 | | bool MergePartialFromCodedStream( |
4175 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4176 | | void SerializeWithCachedSizes( |
4177 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4178 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4179 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4180 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4181 | | private: |
4182 | | void SharedCtor(); |
4183 | | void SharedDtor(); |
4184 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4185 | | void InternalSwap(UpdateCdcReplicatedIndexRequestPB* other); |
4186 | | private: |
4187 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4188 | 0 | return NULL; |
4189 | 0 | } |
4190 | 0 | inline void* MaybeArenaPtr() const { |
4191 | 0 | return NULL; |
4192 | 0 | } |
4193 | | public: |
4194 | | |
4195 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4196 | | |
4197 | | // nested types ---------------------------------------------------- |
4198 | | |
4199 | | // accessors ------------------------------------------------------- |
4200 | | |
4201 | | // optional bytes tablet_id = 1; |
4202 | | bool has_tablet_id() const; |
4203 | | void clear_tablet_id(); |
4204 | | static const int kTabletIdFieldNumber = 1; |
4205 | | const ::std::string& tablet_id() const; |
4206 | | void set_tablet_id(const ::std::string& value); |
4207 | | #if LANG_CXX11 |
4208 | | void set_tablet_id(::std::string&& value); |
4209 | | #endif |
4210 | | void set_tablet_id(const char* value); |
4211 | | void set_tablet_id(const void* value, size_t size); |
4212 | | ::std::string* mutable_tablet_id(); |
4213 | | ::std::string* release_tablet_id(); |
4214 | | void set_allocated_tablet_id(::std::string* tablet_id); |
4215 | | |
4216 | | // optional int64 replicated_index = 2; |
4217 | | bool has_replicated_index() const; |
4218 | | void clear_replicated_index(); |
4219 | | static const int kReplicatedIndexFieldNumber = 2; |
4220 | | ::google::protobuf::int64 replicated_index() const; |
4221 | | void set_replicated_index(::google::protobuf::int64 value); |
4222 | | |
4223 | | // optional int64 replicated_term = 3; |
4224 | | bool has_replicated_term() const; |
4225 | | void clear_replicated_term(); |
4226 | | static const int kReplicatedTermFieldNumber = 3; |
4227 | | ::google::protobuf::int64 replicated_term() const; |
4228 | | void set_replicated_term(::google::protobuf::int64 value); |
4229 | | |
4230 | | // @@protoc_insertion_point(class_scope:yb.cdc.UpdateCdcReplicatedIndexRequestPB) |
4231 | | private: |
4232 | | void set_has_tablet_id(); |
4233 | | void clear_has_tablet_id(); |
4234 | | void set_has_replicated_index(); |
4235 | | void clear_has_replicated_index(); |
4236 | | void set_has_replicated_term(); |
4237 | | void clear_has_replicated_term(); |
4238 | | |
4239 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4240 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4241 | | mutable int _cached_size_; |
4242 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
4243 | | ::google::protobuf::int64 replicated_index_; |
4244 | | ::google::protobuf::int64 replicated_term_; |
4245 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4246 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsUpdateCdcReplicatedIndexRequestPBImpl(); |
4247 | | }; |
4248 | | // ------------------------------------------------------------------- |
4249 | | |
4250 | | class UpdateCdcReplicatedIndexResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.UpdateCdcReplicatedIndexResponsePB) */ { |
4251 | | public: |
4252 | | UpdateCdcReplicatedIndexResponsePB(); |
4253 | | virtual ~UpdateCdcReplicatedIndexResponsePB(); |
4254 | | |
4255 | | UpdateCdcReplicatedIndexResponsePB(const UpdateCdcReplicatedIndexResponsePB& from); |
4256 | | |
4257 | 0 | inline UpdateCdcReplicatedIndexResponsePB& operator=(const UpdateCdcReplicatedIndexResponsePB& from) { |
4258 | 0 | CopyFrom(from); |
4259 | 0 | return *this; |
4260 | 0 | } |
4261 | | #if LANG_CXX11 |
4262 | | UpdateCdcReplicatedIndexResponsePB(UpdateCdcReplicatedIndexResponsePB&& from) noexcept |
4263 | 0 | : UpdateCdcReplicatedIndexResponsePB() { |
4264 | 0 | *this = ::std::move(from); |
4265 | 0 | } |
4266 | | |
4267 | 0 | inline UpdateCdcReplicatedIndexResponsePB& operator=(UpdateCdcReplicatedIndexResponsePB&& from) noexcept { |
4268 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4269 | 0 | if (this != &from) InternalSwap(&from); |
4270 | 0 | } else { |
4271 | 0 | CopyFrom(from); |
4272 | 0 | } |
4273 | 0 | return *this; |
4274 | 0 | } |
4275 | | #endif |
4276 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4277 | 0 | return _internal_metadata_.unknown_fields(); |
4278 | 0 | } |
4279 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4280 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4281 | 0 | } |
4282 | | |
4283 | | static const ::google::protobuf::Descriptor* descriptor(); |
4284 | | static const UpdateCdcReplicatedIndexResponsePB& default_instance(); |
4285 | | |
4286 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4287 | 11.8k | static inline const UpdateCdcReplicatedIndexResponsePB* internal_default_instance() { |
4288 | 11.8k | return reinterpret_cast<const UpdateCdcReplicatedIndexResponsePB*>( |
4289 | 11.8k | &_UpdateCdcReplicatedIndexResponsePB_default_instance_); |
4290 | 11.8k | } |
4291 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4292 | | 25; |
4293 | | |
4294 | | void Swap(UpdateCdcReplicatedIndexResponsePB* other); |
4295 | 0 | friend void swap(UpdateCdcReplicatedIndexResponsePB& a, UpdateCdcReplicatedIndexResponsePB& b) { |
4296 | 0 | a.Swap(&b); |
4297 | 0 | } |
4298 | | |
4299 | | // implements Message ---------------------------------------------- |
4300 | | |
4301 | 0 | inline UpdateCdcReplicatedIndexResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4302 | | |
4303 | | UpdateCdcReplicatedIndexResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4304 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4305 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4306 | | void CopyFrom(const UpdateCdcReplicatedIndexResponsePB& from); |
4307 | | void MergeFrom(const UpdateCdcReplicatedIndexResponsePB& from); |
4308 | | void Clear() PROTOBUF_FINAL; |
4309 | | bool IsInitialized() const PROTOBUF_FINAL; |
4310 | | |
4311 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4312 | | bool MergePartialFromCodedStream( |
4313 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4314 | | void SerializeWithCachedSizes( |
4315 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4316 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4317 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4318 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4319 | | private: |
4320 | | void SharedCtor(); |
4321 | | void SharedDtor(); |
4322 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4323 | | void InternalSwap(UpdateCdcReplicatedIndexResponsePB* other); |
4324 | | private: |
4325 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4326 | 0 | return NULL; |
4327 | 0 | } |
4328 | 0 | inline void* MaybeArenaPtr() const { |
4329 | 0 | return NULL; |
4330 | 0 | } |
4331 | | public: |
4332 | | |
4333 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4334 | | |
4335 | | // nested types ---------------------------------------------------- |
4336 | | |
4337 | | // accessors ------------------------------------------------------- |
4338 | | |
4339 | | // optional .yb.cdc.CDCErrorPB error = 1; |
4340 | | bool has_error() const; |
4341 | | void clear_error(); |
4342 | | static const int kErrorFieldNumber = 1; |
4343 | | const ::yb::cdc::CDCErrorPB& error() const; |
4344 | | ::yb::cdc::CDCErrorPB* release_error(); |
4345 | | ::yb::cdc::CDCErrorPB* mutable_error(); |
4346 | | void set_allocated_error(::yb::cdc::CDCErrorPB* error); |
4347 | | |
4348 | | // @@protoc_insertion_point(class_scope:yb.cdc.UpdateCdcReplicatedIndexResponsePB) |
4349 | | private: |
4350 | | void set_has_error(); |
4351 | | void clear_has_error(); |
4352 | | |
4353 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4354 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4355 | | mutable int _cached_size_; |
4356 | | ::yb::cdc::CDCErrorPB* error_; |
4357 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4358 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsUpdateCdcReplicatedIndexResponsePBImpl(); |
4359 | | }; |
4360 | | // ------------------------------------------------------------------- |
4361 | | |
4362 | | class BootstrapProducerRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.BootstrapProducerRequestPB) */ { |
4363 | | public: |
4364 | | BootstrapProducerRequestPB(); |
4365 | | virtual ~BootstrapProducerRequestPB(); |
4366 | | |
4367 | | BootstrapProducerRequestPB(const BootstrapProducerRequestPB& from); |
4368 | | |
4369 | 0 | inline BootstrapProducerRequestPB& operator=(const BootstrapProducerRequestPB& from) { |
4370 | 0 | CopyFrom(from); |
4371 | 0 | return *this; |
4372 | 0 | } |
4373 | | #if LANG_CXX11 |
4374 | | BootstrapProducerRequestPB(BootstrapProducerRequestPB&& from) noexcept |
4375 | 0 | : BootstrapProducerRequestPB() { |
4376 | 0 | *this = ::std::move(from); |
4377 | 0 | } |
4378 | | |
4379 | 0 | inline BootstrapProducerRequestPB& operator=(BootstrapProducerRequestPB&& from) noexcept { |
4380 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4381 | 0 | if (this != &from) InternalSwap(&from); |
4382 | 0 | } else { |
4383 | 0 | CopyFrom(from); |
4384 | 0 | } |
4385 | 0 | return *this; |
4386 | 0 | } |
4387 | | #endif |
4388 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4389 | 0 | return _internal_metadata_.unknown_fields(); |
4390 | 0 | } |
4391 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4392 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4393 | 0 | } |
4394 | | |
4395 | | static const ::google::protobuf::Descriptor* descriptor(); |
4396 | | static const BootstrapProducerRequestPB& default_instance(); |
4397 | | |
4398 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4399 | 11.1k | static inline const BootstrapProducerRequestPB* internal_default_instance() { |
4400 | 11.1k | return reinterpret_cast<const BootstrapProducerRequestPB*>( |
4401 | 11.1k | &_BootstrapProducerRequestPB_default_instance_); |
4402 | 11.1k | } |
4403 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4404 | | 26; |
4405 | | |
4406 | | void Swap(BootstrapProducerRequestPB* other); |
4407 | 0 | friend void swap(BootstrapProducerRequestPB& a, BootstrapProducerRequestPB& b) { |
4408 | 0 | a.Swap(&b); |
4409 | 0 | } |
4410 | | |
4411 | | // implements Message ---------------------------------------------- |
4412 | | |
4413 | 0 | inline BootstrapProducerRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4414 | | |
4415 | | BootstrapProducerRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4416 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4417 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4418 | | void CopyFrom(const BootstrapProducerRequestPB& from); |
4419 | | void MergeFrom(const BootstrapProducerRequestPB& from); |
4420 | | void Clear() PROTOBUF_FINAL; |
4421 | | bool IsInitialized() const PROTOBUF_FINAL; |
4422 | | |
4423 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4424 | | bool MergePartialFromCodedStream( |
4425 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4426 | | void SerializeWithCachedSizes( |
4427 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4428 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4429 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4430 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4431 | | private: |
4432 | | void SharedCtor(); |
4433 | | void SharedDtor(); |
4434 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4435 | | void InternalSwap(BootstrapProducerRequestPB* other); |
4436 | | private: |
4437 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4438 | 0 | return NULL; |
4439 | 0 | } |
4440 | 0 | inline void* MaybeArenaPtr() const { |
4441 | 0 | return NULL; |
4442 | 0 | } |
4443 | | public: |
4444 | | |
4445 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4446 | | |
4447 | | // nested types ---------------------------------------------------- |
4448 | | |
4449 | | // accessors ------------------------------------------------------- |
4450 | | |
4451 | | // repeated string table_ids = 1; |
4452 | | int table_ids_size() const; |
4453 | | void clear_table_ids(); |
4454 | | static const int kTableIdsFieldNumber = 1; |
4455 | | const ::std::string& table_ids(int index) const; |
4456 | | ::std::string* mutable_table_ids(int index); |
4457 | | void set_table_ids(int index, const ::std::string& value); |
4458 | | #if LANG_CXX11 |
4459 | | void set_table_ids(int index, ::std::string&& value); |
4460 | | #endif |
4461 | | void set_table_ids(int index, const char* value); |
4462 | | void set_table_ids(int index, const char* value, size_t size); |
4463 | | ::std::string* add_table_ids(); |
4464 | | void add_table_ids(const ::std::string& value); |
4465 | | #if LANG_CXX11 |
4466 | | void add_table_ids(::std::string&& value); |
4467 | | #endif |
4468 | | void add_table_ids(const char* value); |
4469 | | void add_table_ids(const char* value, size_t size); |
4470 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& table_ids() const; |
4471 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_table_ids(); |
4472 | | |
4473 | | // @@protoc_insertion_point(class_scope:yb.cdc.BootstrapProducerRequestPB) |
4474 | | private: |
4475 | | |
4476 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4477 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4478 | | mutable int _cached_size_; |
4479 | | ::google::protobuf::RepeatedPtrField< ::std::string> table_ids_; |
4480 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4481 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsBootstrapProducerRequestPBImpl(); |
4482 | | }; |
4483 | | // ------------------------------------------------------------------- |
4484 | | |
4485 | | class BootstrapProducerResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.BootstrapProducerResponsePB) */ { |
4486 | | public: |
4487 | | BootstrapProducerResponsePB(); |
4488 | | virtual ~BootstrapProducerResponsePB(); |
4489 | | |
4490 | | BootstrapProducerResponsePB(const BootstrapProducerResponsePB& from); |
4491 | | |
4492 | 0 | inline BootstrapProducerResponsePB& operator=(const BootstrapProducerResponsePB& from) { |
4493 | 0 | CopyFrom(from); |
4494 | 0 | return *this; |
4495 | 0 | } |
4496 | | #if LANG_CXX11 |
4497 | | BootstrapProducerResponsePB(BootstrapProducerResponsePB&& from) noexcept |
4498 | 0 | : BootstrapProducerResponsePB() { |
4499 | 0 | *this = ::std::move(from); |
4500 | 0 | } |
4501 | | |
4502 | 0 | inline BootstrapProducerResponsePB& operator=(BootstrapProducerResponsePB&& from) noexcept { |
4503 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4504 | 0 | if (this != &from) InternalSwap(&from); |
4505 | 0 | } else { |
4506 | 0 | CopyFrom(from); |
4507 | 0 | } |
4508 | 0 | return *this; |
4509 | 0 | } |
4510 | | #endif |
4511 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4512 | 0 | return _internal_metadata_.unknown_fields(); |
4513 | 0 | } |
4514 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4515 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4516 | 0 | } |
4517 | | |
4518 | | static const ::google::protobuf::Descriptor* descriptor(); |
4519 | | static const BootstrapProducerResponsePB& default_instance(); |
4520 | | |
4521 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4522 | 11.1k | static inline const BootstrapProducerResponsePB* internal_default_instance() { |
4523 | 11.1k | return reinterpret_cast<const BootstrapProducerResponsePB*>( |
4524 | 11.1k | &_BootstrapProducerResponsePB_default_instance_); |
4525 | 11.1k | } |
4526 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4527 | | 27; |
4528 | | |
4529 | | void Swap(BootstrapProducerResponsePB* other); |
4530 | 0 | friend void swap(BootstrapProducerResponsePB& a, BootstrapProducerResponsePB& b) { |
4531 | 0 | a.Swap(&b); |
4532 | 0 | } |
4533 | | |
4534 | | // implements Message ---------------------------------------------- |
4535 | | |
4536 | 0 | inline BootstrapProducerResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4537 | | |
4538 | | BootstrapProducerResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4539 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4540 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4541 | | void CopyFrom(const BootstrapProducerResponsePB& from); |
4542 | | void MergeFrom(const BootstrapProducerResponsePB& from); |
4543 | | void Clear() PROTOBUF_FINAL; |
4544 | | bool IsInitialized() const PROTOBUF_FINAL; |
4545 | | |
4546 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4547 | | bool MergePartialFromCodedStream( |
4548 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4549 | | void SerializeWithCachedSizes( |
4550 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4551 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4552 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4553 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4554 | | private: |
4555 | | void SharedCtor(); |
4556 | | void SharedDtor(); |
4557 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4558 | | void InternalSwap(BootstrapProducerResponsePB* other); |
4559 | | private: |
4560 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4561 | 0 | return NULL; |
4562 | 0 | } |
4563 | 0 | inline void* MaybeArenaPtr() const { |
4564 | 0 | return NULL; |
4565 | 0 | } |
4566 | | public: |
4567 | | |
4568 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4569 | | |
4570 | | // nested types ---------------------------------------------------- |
4571 | | |
4572 | | // accessors ------------------------------------------------------- |
4573 | | |
4574 | | // repeated bytes cdc_bootstrap_ids = 2; |
4575 | | int cdc_bootstrap_ids_size() const; |
4576 | | void clear_cdc_bootstrap_ids(); |
4577 | | static const int kCdcBootstrapIdsFieldNumber = 2; |
4578 | | const ::std::string& cdc_bootstrap_ids(int index) const; |
4579 | | ::std::string* mutable_cdc_bootstrap_ids(int index); |
4580 | | void set_cdc_bootstrap_ids(int index, const ::std::string& value); |
4581 | | #if LANG_CXX11 |
4582 | | void set_cdc_bootstrap_ids(int index, ::std::string&& value); |
4583 | | #endif |
4584 | | void set_cdc_bootstrap_ids(int index, const char* value); |
4585 | | void set_cdc_bootstrap_ids(int index, const void* value, size_t size); |
4586 | | ::std::string* add_cdc_bootstrap_ids(); |
4587 | | void add_cdc_bootstrap_ids(const ::std::string& value); |
4588 | | #if LANG_CXX11 |
4589 | | void add_cdc_bootstrap_ids(::std::string&& value); |
4590 | | #endif |
4591 | | void add_cdc_bootstrap_ids(const char* value); |
4592 | | void add_cdc_bootstrap_ids(const void* value, size_t size); |
4593 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& cdc_bootstrap_ids() const; |
4594 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_cdc_bootstrap_ids(); |
4595 | | |
4596 | | // optional .yb.cdc.CDCErrorPB error = 1; |
4597 | | bool has_error() const; |
4598 | | void clear_error(); |
4599 | | static const int kErrorFieldNumber = 1; |
4600 | | const ::yb::cdc::CDCErrorPB& error() const; |
4601 | | ::yb::cdc::CDCErrorPB* release_error(); |
4602 | | ::yb::cdc::CDCErrorPB* mutable_error(); |
4603 | | void set_allocated_error(::yb::cdc::CDCErrorPB* error); |
4604 | | |
4605 | | // @@protoc_insertion_point(class_scope:yb.cdc.BootstrapProducerResponsePB) |
4606 | | private: |
4607 | | void set_has_error(); |
4608 | | void clear_has_error(); |
4609 | | |
4610 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4611 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4612 | | mutable int _cached_size_; |
4613 | | ::google::protobuf::RepeatedPtrField< ::std::string> cdc_bootstrap_ids_; |
4614 | | ::yb::cdc::CDCErrorPB* error_; |
4615 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4616 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsBootstrapProducerResponsePBImpl(); |
4617 | | }; |
4618 | | // ------------------------------------------------------------------- |
4619 | | |
4620 | | class GetLatestEntryOpIdRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetLatestEntryOpIdRequestPB) */ { |
4621 | | public: |
4622 | | GetLatestEntryOpIdRequestPB(); |
4623 | | virtual ~GetLatestEntryOpIdRequestPB(); |
4624 | | |
4625 | | GetLatestEntryOpIdRequestPB(const GetLatestEntryOpIdRequestPB& from); |
4626 | | |
4627 | 0 | inline GetLatestEntryOpIdRequestPB& operator=(const GetLatestEntryOpIdRequestPB& from) { |
4628 | 0 | CopyFrom(from); |
4629 | 0 | return *this; |
4630 | 0 | } |
4631 | | #if LANG_CXX11 |
4632 | | GetLatestEntryOpIdRequestPB(GetLatestEntryOpIdRequestPB&& from) noexcept |
4633 | 0 | : GetLatestEntryOpIdRequestPB() { |
4634 | 0 | *this = ::std::move(from); |
4635 | 0 | } |
4636 | | |
4637 | 0 | inline GetLatestEntryOpIdRequestPB& operator=(GetLatestEntryOpIdRequestPB&& from) noexcept { |
4638 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4639 | 0 | if (this != &from) InternalSwap(&from); |
4640 | 0 | } else { |
4641 | 0 | CopyFrom(from); |
4642 | 0 | } |
4643 | 0 | return *this; |
4644 | 0 | } |
4645 | | #endif |
4646 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4647 | 0 | return _internal_metadata_.unknown_fields(); |
4648 | 0 | } |
4649 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4650 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4651 | 0 | } |
4652 | | |
4653 | | static const ::google::protobuf::Descriptor* descriptor(); |
4654 | | static const GetLatestEntryOpIdRequestPB& default_instance(); |
4655 | | |
4656 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4657 | 11.1k | static inline const GetLatestEntryOpIdRequestPB* internal_default_instance() { |
4658 | 11.1k | return reinterpret_cast<const GetLatestEntryOpIdRequestPB*>( |
4659 | 11.1k | &_GetLatestEntryOpIdRequestPB_default_instance_); |
4660 | 11.1k | } |
4661 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4662 | | 28; |
4663 | | |
4664 | | void Swap(GetLatestEntryOpIdRequestPB* other); |
4665 | 0 | friend void swap(GetLatestEntryOpIdRequestPB& a, GetLatestEntryOpIdRequestPB& b) { |
4666 | 0 | a.Swap(&b); |
4667 | 0 | } |
4668 | | |
4669 | | // implements Message ---------------------------------------------- |
4670 | | |
4671 | 0 | inline GetLatestEntryOpIdRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4672 | | |
4673 | | GetLatestEntryOpIdRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4674 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4675 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4676 | | void CopyFrom(const GetLatestEntryOpIdRequestPB& from); |
4677 | | void MergeFrom(const GetLatestEntryOpIdRequestPB& from); |
4678 | | void Clear() PROTOBUF_FINAL; |
4679 | | bool IsInitialized() const PROTOBUF_FINAL; |
4680 | | |
4681 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4682 | | bool MergePartialFromCodedStream( |
4683 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4684 | | void SerializeWithCachedSizes( |
4685 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4686 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4687 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4688 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4689 | | private: |
4690 | | void SharedCtor(); |
4691 | | void SharedDtor(); |
4692 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4693 | | void InternalSwap(GetLatestEntryOpIdRequestPB* other); |
4694 | | private: |
4695 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4696 | 0 | return NULL; |
4697 | 0 | } |
4698 | 0 | inline void* MaybeArenaPtr() const { |
4699 | 0 | return NULL; |
4700 | 0 | } |
4701 | | public: |
4702 | | |
4703 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4704 | | |
4705 | | // nested types ---------------------------------------------------- |
4706 | | |
4707 | | // accessors ------------------------------------------------------- |
4708 | | |
4709 | | // optional bytes tablet_id = 1; |
4710 | | bool has_tablet_id() const; |
4711 | | void clear_tablet_id(); |
4712 | | static const int kTabletIdFieldNumber = 1; |
4713 | | const ::std::string& tablet_id() const; |
4714 | | void set_tablet_id(const ::std::string& value); |
4715 | | #if LANG_CXX11 |
4716 | | void set_tablet_id(::std::string&& value); |
4717 | | #endif |
4718 | | void set_tablet_id(const char* value); |
4719 | | void set_tablet_id(const void* value, size_t size); |
4720 | | ::std::string* mutable_tablet_id(); |
4721 | | ::std::string* release_tablet_id(); |
4722 | | void set_allocated_tablet_id(::std::string* tablet_id); |
4723 | | |
4724 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetLatestEntryOpIdRequestPB) |
4725 | | private: |
4726 | | void set_has_tablet_id(); |
4727 | | void clear_has_tablet_id(); |
4728 | | |
4729 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4730 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4731 | | mutable int _cached_size_; |
4732 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
4733 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4734 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetLatestEntryOpIdRequestPBImpl(); |
4735 | | }; |
4736 | | // ------------------------------------------------------------------- |
4737 | | |
4738 | | class GetLatestEntryOpIdResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetLatestEntryOpIdResponsePB) */ { |
4739 | | public: |
4740 | | GetLatestEntryOpIdResponsePB(); |
4741 | | virtual ~GetLatestEntryOpIdResponsePB(); |
4742 | | |
4743 | | GetLatestEntryOpIdResponsePB(const GetLatestEntryOpIdResponsePB& from); |
4744 | | |
4745 | 0 | inline GetLatestEntryOpIdResponsePB& operator=(const GetLatestEntryOpIdResponsePB& from) { |
4746 | 0 | CopyFrom(from); |
4747 | 0 | return *this; |
4748 | 0 | } |
4749 | | #if LANG_CXX11 |
4750 | | GetLatestEntryOpIdResponsePB(GetLatestEntryOpIdResponsePB&& from) noexcept |
4751 | 0 | : GetLatestEntryOpIdResponsePB() { |
4752 | 0 | *this = ::std::move(from); |
4753 | 0 | } |
4754 | | |
4755 | 0 | inline GetLatestEntryOpIdResponsePB& operator=(GetLatestEntryOpIdResponsePB&& from) noexcept { |
4756 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4757 | 0 | if (this != &from) InternalSwap(&from); |
4758 | 0 | } else { |
4759 | 0 | CopyFrom(from); |
4760 | 0 | } |
4761 | 0 | return *this; |
4762 | 0 | } |
4763 | | #endif |
4764 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4765 | 0 | return _internal_metadata_.unknown_fields(); |
4766 | 0 | } |
4767 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4768 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4769 | 0 | } |
4770 | | |
4771 | | static const ::google::protobuf::Descriptor* descriptor(); |
4772 | | static const GetLatestEntryOpIdResponsePB& default_instance(); |
4773 | | |
4774 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4775 | 11.1k | static inline const GetLatestEntryOpIdResponsePB* internal_default_instance() { |
4776 | 11.1k | return reinterpret_cast<const GetLatestEntryOpIdResponsePB*>( |
4777 | 11.1k | &_GetLatestEntryOpIdResponsePB_default_instance_); |
4778 | 11.1k | } |
4779 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4780 | | 29; |
4781 | | |
4782 | | void Swap(GetLatestEntryOpIdResponsePB* other); |
4783 | 0 | friend void swap(GetLatestEntryOpIdResponsePB& a, GetLatestEntryOpIdResponsePB& b) { |
4784 | 0 | a.Swap(&b); |
4785 | 0 | } |
4786 | | |
4787 | | // implements Message ---------------------------------------------- |
4788 | | |
4789 | 0 | inline GetLatestEntryOpIdResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4790 | | |
4791 | | GetLatestEntryOpIdResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4792 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4793 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4794 | | void CopyFrom(const GetLatestEntryOpIdResponsePB& from); |
4795 | | void MergeFrom(const GetLatestEntryOpIdResponsePB& from); |
4796 | | void Clear() PROTOBUF_FINAL; |
4797 | | bool IsInitialized() const PROTOBUF_FINAL; |
4798 | | |
4799 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4800 | | bool MergePartialFromCodedStream( |
4801 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4802 | | void SerializeWithCachedSizes( |
4803 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4804 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4805 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4806 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4807 | | private: |
4808 | | void SharedCtor(); |
4809 | | void SharedDtor(); |
4810 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4811 | | void InternalSwap(GetLatestEntryOpIdResponsePB* other); |
4812 | | private: |
4813 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4814 | 0 | return NULL; |
4815 | 0 | } |
4816 | 0 | inline void* MaybeArenaPtr() const { |
4817 | 0 | return NULL; |
4818 | 0 | } |
4819 | | public: |
4820 | | |
4821 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4822 | | |
4823 | | // nested types ---------------------------------------------------- |
4824 | | |
4825 | | // accessors ------------------------------------------------------- |
4826 | | |
4827 | | // optional .yb.cdc.CDCErrorPB error = 1; |
4828 | | bool has_error() const; |
4829 | | void clear_error(); |
4830 | | static const int kErrorFieldNumber = 1; |
4831 | | const ::yb::cdc::CDCErrorPB& error() const; |
4832 | | ::yb::cdc::CDCErrorPB* release_error(); |
4833 | | ::yb::cdc::CDCErrorPB* mutable_error(); |
4834 | | void set_allocated_error(::yb::cdc::CDCErrorPB* error); |
4835 | | |
4836 | | // optional .yb.OpIdPB op_id = 2; |
4837 | | bool has_op_id() const; |
4838 | | void clear_op_id(); |
4839 | | static const int kOpIdFieldNumber = 2; |
4840 | | const ::yb::OpIdPB& op_id() const; |
4841 | | ::yb::OpIdPB* release_op_id(); |
4842 | | ::yb::OpIdPB* mutable_op_id(); |
4843 | | void set_allocated_op_id(::yb::OpIdPB* op_id); |
4844 | | |
4845 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetLatestEntryOpIdResponsePB) |
4846 | | private: |
4847 | | void set_has_error(); |
4848 | | void clear_has_error(); |
4849 | | void set_has_op_id(); |
4850 | | void clear_has_op_id(); |
4851 | | |
4852 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4853 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4854 | | mutable int _cached_size_; |
4855 | | ::yb::cdc::CDCErrorPB* error_; |
4856 | | ::yb::OpIdPB* op_id_; |
4857 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4858 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetLatestEntryOpIdResponsePBImpl(); |
4859 | | }; |
4860 | | // ------------------------------------------------------------------- |
4861 | | |
4862 | | class TableInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.TableInfo) */ { |
4863 | | public: |
4864 | | TableInfo(); |
4865 | | virtual ~TableInfo(); |
4866 | | |
4867 | | TableInfo(const TableInfo& from); |
4868 | | |
4869 | 0 | inline TableInfo& operator=(const TableInfo& from) { |
4870 | 0 | CopyFrom(from); |
4871 | 0 | return *this; |
4872 | 0 | } |
4873 | | #if LANG_CXX11 |
4874 | | TableInfo(TableInfo&& from) noexcept |
4875 | 0 | : TableInfo() { |
4876 | 0 | *this = ::std::move(from); |
4877 | 0 | } |
4878 | | |
4879 | 0 | inline TableInfo& operator=(TableInfo&& from) noexcept { |
4880 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4881 | 0 | if (this != &from) InternalSwap(&from); |
4882 | 0 | } else { |
4883 | 0 | CopyFrom(from); |
4884 | 0 | } |
4885 | 0 | return *this; |
4886 | 0 | } |
4887 | | #endif |
4888 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4889 | 0 | return _internal_metadata_.unknown_fields(); |
4890 | 0 | } |
4891 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4892 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4893 | 0 | } |
4894 | | |
4895 | | static const ::google::protobuf::Descriptor* descriptor(); |
4896 | | static const TableInfo& default_instance(); |
4897 | | |
4898 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4899 | 11.1k | static inline const TableInfo* internal_default_instance() { |
4900 | 11.1k | return reinterpret_cast<const TableInfo*>( |
4901 | 11.1k | &_TableInfo_default_instance_); |
4902 | 11.1k | } |
4903 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4904 | | 30; |
4905 | | |
4906 | | void Swap(TableInfo* other); |
4907 | 0 | friend void swap(TableInfo& a, TableInfo& b) { |
4908 | 0 | a.Swap(&b); |
4909 | 0 | } |
4910 | | |
4911 | | // implements Message ---------------------------------------------- |
4912 | | |
4913 | 0 | inline TableInfo* New() const PROTOBUF_FINAL { return New(NULL); } |
4914 | | |
4915 | | TableInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4916 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4917 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4918 | | void CopyFrom(const TableInfo& from); |
4919 | | void MergeFrom(const TableInfo& from); |
4920 | | void Clear() PROTOBUF_FINAL; |
4921 | | bool IsInitialized() const PROTOBUF_FINAL; |
4922 | | |
4923 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4924 | | bool MergePartialFromCodedStream( |
4925 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4926 | | void SerializeWithCachedSizes( |
4927 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4928 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4929 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4930 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4931 | | private: |
4932 | | void SharedCtor(); |
4933 | | void SharedDtor(); |
4934 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4935 | | void InternalSwap(TableInfo* other); |
4936 | | private: |
4937 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4938 | 0 | return NULL; |
4939 | 0 | } |
4940 | 0 | inline void* MaybeArenaPtr() const { |
4941 | 0 | return NULL; |
4942 | 0 | } |
4943 | | public: |
4944 | | |
4945 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4946 | | |
4947 | | // nested types ---------------------------------------------------- |
4948 | | |
4949 | | // accessors ------------------------------------------------------- |
4950 | | |
4951 | | // optional bytes stream_id = 1; |
4952 | | bool has_stream_id() const; |
4953 | | void clear_stream_id(); |
4954 | | static const int kStreamIdFieldNumber = 1; |
4955 | | const ::std::string& stream_id() const; |
4956 | | void set_stream_id(const ::std::string& value); |
4957 | | #if LANG_CXX11 |
4958 | | void set_stream_id(::std::string&& value); |
4959 | | #endif |
4960 | | void set_stream_id(const char* value); |
4961 | | void set_stream_id(const void* value, size_t size); |
4962 | | ::std::string* mutable_stream_id(); |
4963 | | ::std::string* release_stream_id(); |
4964 | | void set_allocated_stream_id(::std::string* stream_id); |
4965 | | |
4966 | | // optional bytes table_id = 2; |
4967 | | bool has_table_id() const; |
4968 | | void clear_table_id(); |
4969 | | static const int kTableIdFieldNumber = 2; |
4970 | | const ::std::string& table_id() const; |
4971 | | void set_table_id(const ::std::string& value); |
4972 | | #if LANG_CXX11 |
4973 | | void set_table_id(::std::string&& value); |
4974 | | #endif |
4975 | | void set_table_id(const char* value); |
4976 | | void set_table_id(const void* value, size_t size); |
4977 | | ::std::string* mutable_table_id(); |
4978 | | ::std::string* release_table_id(); |
4979 | | void set_allocated_table_id(::std::string* table_id); |
4980 | | |
4981 | | // @@protoc_insertion_point(class_scope:yb.cdc.TableInfo) |
4982 | | private: |
4983 | | void set_has_stream_id(); |
4984 | | void clear_has_stream_id(); |
4985 | | void set_has_table_id(); |
4986 | | void clear_has_table_id(); |
4987 | | |
4988 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4989 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4990 | | mutable int _cached_size_; |
4991 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
4992 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
4993 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
4994 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsTableInfoImpl(); |
4995 | | }; |
4996 | | // ------------------------------------------------------------------- |
4997 | | |
4998 | | class GetCDCDBStreamInfoRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCDCDBStreamInfoRequestPB) */ { |
4999 | | public: |
5000 | | GetCDCDBStreamInfoRequestPB(); |
5001 | | virtual ~GetCDCDBStreamInfoRequestPB(); |
5002 | | |
5003 | | GetCDCDBStreamInfoRequestPB(const GetCDCDBStreamInfoRequestPB& from); |
5004 | | |
5005 | 0 | inline GetCDCDBStreamInfoRequestPB& operator=(const GetCDCDBStreamInfoRequestPB& from) { |
5006 | 0 | CopyFrom(from); |
5007 | 0 | return *this; |
5008 | 0 | } |
5009 | | #if LANG_CXX11 |
5010 | | GetCDCDBStreamInfoRequestPB(GetCDCDBStreamInfoRequestPB&& from) noexcept |
5011 | 0 | : GetCDCDBStreamInfoRequestPB() { |
5012 | 0 | *this = ::std::move(from); |
5013 | 0 | } |
5014 | | |
5015 | 0 | inline GetCDCDBStreamInfoRequestPB& operator=(GetCDCDBStreamInfoRequestPB&& from) noexcept { |
5016 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5017 | 0 | if (this != &from) InternalSwap(&from); |
5018 | 0 | } else { |
5019 | 0 | CopyFrom(from); |
5020 | 0 | } |
5021 | 0 | return *this; |
5022 | 0 | } |
5023 | | #endif |
5024 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5025 | 0 | return _internal_metadata_.unknown_fields(); |
5026 | 0 | } |
5027 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5028 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5029 | 0 | } |
5030 | | |
5031 | | static const ::google::protobuf::Descriptor* descriptor(); |
5032 | | static const GetCDCDBStreamInfoRequestPB& default_instance(); |
5033 | | |
5034 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5035 | 11.1k | static inline const GetCDCDBStreamInfoRequestPB* internal_default_instance() { |
5036 | 11.1k | return reinterpret_cast<const GetCDCDBStreamInfoRequestPB*>( |
5037 | 11.1k | &_GetCDCDBStreamInfoRequestPB_default_instance_); |
5038 | 11.1k | } |
5039 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5040 | | 31; |
5041 | | |
5042 | | void Swap(GetCDCDBStreamInfoRequestPB* other); |
5043 | 0 | friend void swap(GetCDCDBStreamInfoRequestPB& a, GetCDCDBStreamInfoRequestPB& b) { |
5044 | 0 | a.Swap(&b); |
5045 | 0 | } |
5046 | | |
5047 | | // implements Message ---------------------------------------------- |
5048 | | |
5049 | 0 | inline GetCDCDBStreamInfoRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
5050 | | |
5051 | | GetCDCDBStreamInfoRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5052 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5053 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5054 | | void CopyFrom(const GetCDCDBStreamInfoRequestPB& from); |
5055 | | void MergeFrom(const GetCDCDBStreamInfoRequestPB& from); |
5056 | | void Clear() PROTOBUF_FINAL; |
5057 | | bool IsInitialized() const PROTOBUF_FINAL; |
5058 | | |
5059 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5060 | | bool MergePartialFromCodedStream( |
5061 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5062 | | void SerializeWithCachedSizes( |
5063 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5064 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5065 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5066 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5067 | | private: |
5068 | | void SharedCtor(); |
5069 | | void SharedDtor(); |
5070 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5071 | | void InternalSwap(GetCDCDBStreamInfoRequestPB* other); |
5072 | | private: |
5073 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5074 | 0 | return NULL; |
5075 | 0 | } |
5076 | 0 | inline void* MaybeArenaPtr() const { |
5077 | 0 | return NULL; |
5078 | 0 | } |
5079 | | public: |
5080 | | |
5081 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5082 | | |
5083 | | // nested types ---------------------------------------------------- |
5084 | | |
5085 | | // accessors ------------------------------------------------------- |
5086 | | |
5087 | | // optional bytes db_stream_id = 1; |
5088 | | bool has_db_stream_id() const; |
5089 | | void clear_db_stream_id(); |
5090 | | static const int kDbStreamIdFieldNumber = 1; |
5091 | | const ::std::string& db_stream_id() const; |
5092 | | void set_db_stream_id(const ::std::string& value); |
5093 | | #if LANG_CXX11 |
5094 | | void set_db_stream_id(::std::string&& value); |
5095 | | #endif |
5096 | | void set_db_stream_id(const char* value); |
5097 | | void set_db_stream_id(const void* value, size_t size); |
5098 | | ::std::string* mutable_db_stream_id(); |
5099 | | ::std::string* release_db_stream_id(); |
5100 | | void set_allocated_db_stream_id(::std::string* db_stream_id); |
5101 | | |
5102 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetCDCDBStreamInfoRequestPB) |
5103 | | private: |
5104 | | void set_has_db_stream_id(); |
5105 | | void clear_has_db_stream_id(); |
5106 | | |
5107 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5108 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5109 | | mutable int _cached_size_; |
5110 | | ::google::protobuf::internal::ArenaStringPtr db_stream_id_; |
5111 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
5112 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCDCDBStreamInfoRequestPBImpl(); |
5113 | | }; |
5114 | | // ------------------------------------------------------------------- |
5115 | | |
5116 | | class GetCDCDBStreamInfoResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.GetCDCDBStreamInfoResponsePB) */ { |
5117 | | public: |
5118 | | GetCDCDBStreamInfoResponsePB(); |
5119 | | virtual ~GetCDCDBStreamInfoResponsePB(); |
5120 | | |
5121 | | GetCDCDBStreamInfoResponsePB(const GetCDCDBStreamInfoResponsePB& from); |
5122 | | |
5123 | 0 | inline GetCDCDBStreamInfoResponsePB& operator=(const GetCDCDBStreamInfoResponsePB& from) { |
5124 | 0 | CopyFrom(from); |
5125 | 0 | return *this; |
5126 | 0 | } |
5127 | | #if LANG_CXX11 |
5128 | | GetCDCDBStreamInfoResponsePB(GetCDCDBStreamInfoResponsePB&& from) noexcept |
5129 | 0 | : GetCDCDBStreamInfoResponsePB() { |
5130 | 0 | *this = ::std::move(from); |
5131 | 0 | } |
5132 | | |
5133 | 0 | inline GetCDCDBStreamInfoResponsePB& operator=(GetCDCDBStreamInfoResponsePB&& from) noexcept { |
5134 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5135 | 0 | if (this != &from) InternalSwap(&from); |
5136 | 0 | } else { |
5137 | 0 | CopyFrom(from); |
5138 | 0 | } |
5139 | 0 | return *this; |
5140 | 0 | } |
5141 | | #endif |
5142 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5143 | 0 | return _internal_metadata_.unknown_fields(); |
5144 | 0 | } |
5145 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5146 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5147 | 0 | } |
5148 | | |
5149 | | static const ::google::protobuf::Descriptor* descriptor(); |
5150 | | static const GetCDCDBStreamInfoResponsePB& default_instance(); |
5151 | | |
5152 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5153 | 11.1k | static inline const GetCDCDBStreamInfoResponsePB* internal_default_instance() { |
5154 | 11.1k | return reinterpret_cast<const GetCDCDBStreamInfoResponsePB*>( |
5155 | 11.1k | &_GetCDCDBStreamInfoResponsePB_default_instance_); |
5156 | 11.1k | } |
5157 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5158 | | 32; |
5159 | | |
5160 | | void Swap(GetCDCDBStreamInfoResponsePB* other); |
5161 | 0 | friend void swap(GetCDCDBStreamInfoResponsePB& a, GetCDCDBStreamInfoResponsePB& b) { |
5162 | 0 | a.Swap(&b); |
5163 | 0 | } |
5164 | | |
5165 | | // implements Message ---------------------------------------------- |
5166 | | |
5167 | 0 | inline GetCDCDBStreamInfoResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
5168 | | |
5169 | | GetCDCDBStreamInfoResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5170 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5171 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5172 | | void CopyFrom(const GetCDCDBStreamInfoResponsePB& from); |
5173 | | void MergeFrom(const GetCDCDBStreamInfoResponsePB& from); |
5174 | | void Clear() PROTOBUF_FINAL; |
5175 | | bool IsInitialized() const PROTOBUF_FINAL; |
5176 | | |
5177 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5178 | | bool MergePartialFromCodedStream( |
5179 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5180 | | void SerializeWithCachedSizes( |
5181 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5182 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5183 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5184 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5185 | | private: |
5186 | | void SharedCtor(); |
5187 | | void SharedDtor(); |
5188 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5189 | | void InternalSwap(GetCDCDBStreamInfoResponsePB* other); |
5190 | | private: |
5191 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5192 | 0 | return NULL; |
5193 | 0 | } |
5194 | 0 | inline void* MaybeArenaPtr() const { |
5195 | 0 | return NULL; |
5196 | 0 | } |
5197 | | public: |
5198 | | |
5199 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5200 | | |
5201 | | // nested types ---------------------------------------------------- |
5202 | | |
5203 | | // accessors ------------------------------------------------------- |
5204 | | |
5205 | | // repeated .yb.cdc.TableInfo table_info = 3; |
5206 | | int table_info_size() const; |
5207 | | void clear_table_info(); |
5208 | | static const int kTableInfoFieldNumber = 3; |
5209 | | const ::yb::cdc::TableInfo& table_info(int index) const; |
5210 | | ::yb::cdc::TableInfo* mutable_table_info(int index); |
5211 | | ::yb::cdc::TableInfo* add_table_info(); |
5212 | | ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >* |
5213 | | mutable_table_info(); |
5214 | | const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >& |
5215 | | table_info() const; |
5216 | | |
5217 | | // optional bytes namespace_id = 2; |
5218 | | bool has_namespace_id() const; |
5219 | | void clear_namespace_id(); |
5220 | | static const int kNamespaceIdFieldNumber = 2; |
5221 | | const ::std::string& namespace_id() const; |
5222 | | void set_namespace_id(const ::std::string& value); |
5223 | | #if LANG_CXX11 |
5224 | | void set_namespace_id(::std::string&& value); |
5225 | | #endif |
5226 | | void set_namespace_id(const char* value); |
5227 | | void set_namespace_id(const void* value, size_t size); |
5228 | | ::std::string* mutable_namespace_id(); |
5229 | | ::std::string* release_namespace_id(); |
5230 | | void set_allocated_namespace_id(::std::string* namespace_id); |
5231 | | |
5232 | | // optional .yb.cdc.CDCErrorPB error = 1; |
5233 | | bool has_error() const; |
5234 | | void clear_error(); |
5235 | | static const int kErrorFieldNumber = 1; |
5236 | | const ::yb::cdc::CDCErrorPB& error() const; |
5237 | | ::yb::cdc::CDCErrorPB* release_error(); |
5238 | | ::yb::cdc::CDCErrorPB* mutable_error(); |
5239 | | void set_allocated_error(::yb::cdc::CDCErrorPB* error); |
5240 | | |
5241 | | // @@protoc_insertion_point(class_scope:yb.cdc.GetCDCDBStreamInfoResponsePB) |
5242 | | private: |
5243 | | void set_has_error(); |
5244 | | void clear_has_error(); |
5245 | | void set_has_namespace_id(); |
5246 | | void clear_has_namespace_id(); |
5247 | | |
5248 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5249 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5250 | | mutable int _cached_size_; |
5251 | | ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo > table_info_; |
5252 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
5253 | | ::yb::cdc::CDCErrorPB* error_; |
5254 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
5255 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsGetCDCDBStreamInfoResponsePBImpl(); |
5256 | | }; |
5257 | | // ------------------------------------------------------------------- |
5258 | | |
5259 | | class SetCDCCheckpointRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.SetCDCCheckpointRequestPB) */ { |
5260 | | public: |
5261 | | SetCDCCheckpointRequestPB(); |
5262 | | virtual ~SetCDCCheckpointRequestPB(); |
5263 | | |
5264 | | SetCDCCheckpointRequestPB(const SetCDCCheckpointRequestPB& from); |
5265 | | |
5266 | 0 | inline SetCDCCheckpointRequestPB& operator=(const SetCDCCheckpointRequestPB& from) { |
5267 | 0 | CopyFrom(from); |
5268 | 0 | return *this; |
5269 | 0 | } |
5270 | | #if LANG_CXX11 |
5271 | | SetCDCCheckpointRequestPB(SetCDCCheckpointRequestPB&& from) noexcept |
5272 | 0 | : SetCDCCheckpointRequestPB() { |
5273 | 0 | *this = ::std::move(from); |
5274 | 0 | } |
5275 | | |
5276 | 0 | inline SetCDCCheckpointRequestPB& operator=(SetCDCCheckpointRequestPB&& from) noexcept { |
5277 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5278 | 0 | if (this != &from) InternalSwap(&from); |
5279 | 0 | } else { |
5280 | 0 | CopyFrom(from); |
5281 | 0 | } |
5282 | 0 | return *this; |
5283 | 0 | } |
5284 | | #endif |
5285 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5286 | 0 | return _internal_metadata_.unknown_fields(); |
5287 | 0 | } |
5288 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5289 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5290 | 0 | } |
5291 | | |
5292 | | static const ::google::protobuf::Descriptor* descriptor(); |
5293 | | static const SetCDCCheckpointRequestPB& default_instance(); |
5294 | | |
5295 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5296 | 9.26k | static inline const SetCDCCheckpointRequestPB* internal_default_instance() { |
5297 | 9.26k | return reinterpret_cast<const SetCDCCheckpointRequestPB*>( |
5298 | 9.26k | &_SetCDCCheckpointRequestPB_default_instance_); |
5299 | 9.26k | } |
5300 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5301 | | 33; |
5302 | | |
5303 | | void Swap(SetCDCCheckpointRequestPB* other); |
5304 | 0 | friend void swap(SetCDCCheckpointRequestPB& a, SetCDCCheckpointRequestPB& b) { |
5305 | 0 | a.Swap(&b); |
5306 | 0 | } |
5307 | | |
5308 | | // implements Message ---------------------------------------------- |
5309 | | |
5310 | 0 | inline SetCDCCheckpointRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
5311 | | |
5312 | | SetCDCCheckpointRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5313 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5314 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5315 | | void CopyFrom(const SetCDCCheckpointRequestPB& from); |
5316 | | void MergeFrom(const SetCDCCheckpointRequestPB& from); |
5317 | | void Clear() PROTOBUF_FINAL; |
5318 | | bool IsInitialized() const PROTOBUF_FINAL; |
5319 | | |
5320 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5321 | | bool MergePartialFromCodedStream( |
5322 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5323 | | void SerializeWithCachedSizes( |
5324 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5325 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5326 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5327 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5328 | | private: |
5329 | | void SharedCtor(); |
5330 | | void SharedDtor(); |
5331 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5332 | | void InternalSwap(SetCDCCheckpointRequestPB* other); |
5333 | | private: |
5334 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5335 | 0 | return NULL; |
5336 | 0 | } |
5337 | 0 | inline void* MaybeArenaPtr() const { |
5338 | 0 | return NULL; |
5339 | 0 | } |
5340 | | public: |
5341 | | |
5342 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5343 | | |
5344 | | // nested types ---------------------------------------------------- |
5345 | | |
5346 | | // accessors ------------------------------------------------------- |
5347 | | |
5348 | | // optional bytes stream_id = 3; |
5349 | | bool has_stream_id() const; |
5350 | | void clear_stream_id(); |
5351 | | static const int kStreamIdFieldNumber = 3; |
5352 | | const ::std::string& stream_id() const; |
5353 | | void set_stream_id(const ::std::string& value); |
5354 | | #if LANG_CXX11 |
5355 | | void set_stream_id(::std::string&& value); |
5356 | | #endif |
5357 | | void set_stream_id(const char* value); |
5358 | | void set_stream_id(const void* value, size_t size); |
5359 | | ::std::string* mutable_stream_id(); |
5360 | | ::std::string* release_stream_id(); |
5361 | | void set_allocated_stream_id(::std::string* stream_id); |
5362 | | |
5363 | | // optional bytes tablet_id = 4; |
5364 | | bool has_tablet_id() const; |
5365 | | void clear_tablet_id(); |
5366 | | static const int kTabletIdFieldNumber = 4; |
5367 | | const ::std::string& tablet_id() const; |
5368 | | void set_tablet_id(const ::std::string& value); |
5369 | | #if LANG_CXX11 |
5370 | | void set_tablet_id(::std::string&& value); |
5371 | | #endif |
5372 | | void set_tablet_id(const char* value); |
5373 | | void set_tablet_id(const void* value, size_t size); |
5374 | | ::std::string* mutable_tablet_id(); |
5375 | | ::std::string* release_tablet_id(); |
5376 | | void set_allocated_tablet_id(::std::string* tablet_id); |
5377 | | |
5378 | | // optional .yb.cdc.CDCCheckpointPB checkpoint = 1; |
5379 | | bool has_checkpoint() const; |
5380 | | void clear_checkpoint(); |
5381 | | static const int kCheckpointFieldNumber = 1; |
5382 | | const ::yb::cdc::CDCCheckpointPB& checkpoint() const; |
5383 | | ::yb::cdc::CDCCheckpointPB* release_checkpoint(); |
5384 | | ::yb::cdc::CDCCheckpointPB* mutable_checkpoint(); |
5385 | | void set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint); |
5386 | | |
5387 | | // optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 2; |
5388 | | bool has_cdc_sdk_checkpoint() const; |
5389 | | void clear_cdc_sdk_checkpoint(); |
5390 | | static const int kCdcSdkCheckpointFieldNumber = 2; |
5391 | | const ::yb::cdc::CDCSDKCheckpointPB& cdc_sdk_checkpoint() const; |
5392 | | ::yb::cdc::CDCSDKCheckpointPB* release_cdc_sdk_checkpoint(); |
5393 | | ::yb::cdc::CDCSDKCheckpointPB* mutable_cdc_sdk_checkpoint(); |
5394 | | void set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint); |
5395 | | |
5396 | | // @@protoc_insertion_point(class_scope:yb.cdc.SetCDCCheckpointRequestPB) |
5397 | | private: |
5398 | | void set_has_checkpoint(); |
5399 | | void clear_has_checkpoint(); |
5400 | | void set_has_cdc_sdk_checkpoint(); |
5401 | | void clear_has_cdc_sdk_checkpoint(); |
5402 | | void set_has_stream_id(); |
5403 | | void clear_has_stream_id(); |
5404 | | void set_has_tablet_id(); |
5405 | | void clear_has_tablet_id(); |
5406 | | |
5407 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5408 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5409 | | mutable int _cached_size_; |
5410 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
5411 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
5412 | | ::yb::cdc::CDCCheckpointPB* checkpoint_; |
5413 | | ::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint_; |
5414 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
5415 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsSetCDCCheckpointRequestPBImpl(); |
5416 | | }; |
5417 | | // ------------------------------------------------------------------- |
5418 | | |
5419 | | class SetCDCCheckpointResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.cdc.SetCDCCheckpointResponsePB) */ { |
5420 | | public: |
5421 | | SetCDCCheckpointResponsePB(); |
5422 | | virtual ~SetCDCCheckpointResponsePB(); |
5423 | | |
5424 | | SetCDCCheckpointResponsePB(const SetCDCCheckpointResponsePB& from); |
5425 | | |
5426 | 0 | inline SetCDCCheckpointResponsePB& operator=(const SetCDCCheckpointResponsePB& from) { |
5427 | 0 | CopyFrom(from); |
5428 | 0 | return *this; |
5429 | 0 | } |
5430 | | #if LANG_CXX11 |
5431 | | SetCDCCheckpointResponsePB(SetCDCCheckpointResponsePB&& from) noexcept |
5432 | 3 | : SetCDCCheckpointResponsePB() { |
5433 | 3 | *this = ::std::move(from); |
5434 | 3 | } Unexecuted instantiation: _ZN2yb3cdc26SetCDCCheckpointResponsePBC2EOS1_ _ZN2yb3cdc26SetCDCCheckpointResponsePBC1EOS1_ Line | Count | Source | 5432 | 3 | : SetCDCCheckpointResponsePB() { | 5433 | 3 | *this = ::std::move(from); | 5434 | 3 | } |
|
5435 | | |
5436 | 3 | inline SetCDCCheckpointResponsePB& operator=(SetCDCCheckpointResponsePB&& from) noexcept { |
5437 | 3 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5438 | 3 | if (this != &from) InternalSwap(&from); |
5439 | 0 | } else { |
5440 | 0 | CopyFrom(from); |
5441 | 0 | } |
5442 | 3 | return *this; |
5443 | 3 | } |
5444 | | #endif |
5445 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5446 | 0 | return _internal_metadata_.unknown_fields(); |
5447 | 0 | } |
5448 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5449 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5450 | 0 | } |
5451 | | |
5452 | | static const ::google::protobuf::Descriptor* descriptor(); |
5453 | | static const SetCDCCheckpointResponsePB& default_instance(); |
5454 | | |
5455 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5456 | 9.27k | static inline const SetCDCCheckpointResponsePB* internal_default_instance() { |
5457 | 9.27k | return reinterpret_cast<const SetCDCCheckpointResponsePB*>( |
5458 | 9.27k | &_SetCDCCheckpointResponsePB_default_instance_); |
5459 | 9.27k | } |
5460 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5461 | | 34; |
5462 | | |
5463 | | void Swap(SetCDCCheckpointResponsePB* other); |
5464 | 0 | friend void swap(SetCDCCheckpointResponsePB& a, SetCDCCheckpointResponsePB& b) { |
5465 | 0 | a.Swap(&b); |
5466 | 0 | } |
5467 | | |
5468 | | // implements Message ---------------------------------------------- |
5469 | | |
5470 | 0 | inline SetCDCCheckpointResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
5471 | | |
5472 | | SetCDCCheckpointResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5473 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5474 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5475 | | void CopyFrom(const SetCDCCheckpointResponsePB& from); |
5476 | | void MergeFrom(const SetCDCCheckpointResponsePB& from); |
5477 | | void Clear() PROTOBUF_FINAL; |
5478 | | bool IsInitialized() const PROTOBUF_FINAL; |
5479 | | |
5480 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5481 | | bool MergePartialFromCodedStream( |
5482 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5483 | | void SerializeWithCachedSizes( |
5484 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5485 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5486 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5487 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5488 | | private: |
5489 | | void SharedCtor(); |
5490 | | void SharedDtor(); |
5491 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5492 | | void InternalSwap(SetCDCCheckpointResponsePB* other); |
5493 | | private: |
5494 | 6 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5495 | 6 | return NULL; |
5496 | 6 | } |
5497 | 0 | inline void* MaybeArenaPtr() const { |
5498 | 0 | return NULL; |
5499 | 0 | } |
5500 | | public: |
5501 | | |
5502 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5503 | | |
5504 | | // nested types ---------------------------------------------------- |
5505 | | |
5506 | | // accessors ------------------------------------------------------- |
5507 | | |
5508 | | // optional .yb.cdc.CDCErrorPB error = 1; |
5509 | | bool has_error() const; |
5510 | | void clear_error(); |
5511 | | static const int kErrorFieldNumber = 1; |
5512 | | const ::yb::cdc::CDCErrorPB& error() const; |
5513 | | ::yb::cdc::CDCErrorPB* release_error(); |
5514 | | ::yb::cdc::CDCErrorPB* mutable_error(); |
5515 | | void set_allocated_error(::yb::cdc::CDCErrorPB* error); |
5516 | | |
5517 | | // @@protoc_insertion_point(class_scope:yb.cdc.SetCDCCheckpointResponsePB) |
5518 | | private: |
5519 | | void set_has_error(); |
5520 | | void clear_has_error(); |
5521 | | |
5522 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5523 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5524 | | mutable int _cached_size_; |
5525 | | ::yb::cdc::CDCErrorPB* error_; |
5526 | | friend struct ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::TableStruct; |
5527 | | friend void ::protobuf_yb_2fcdc_2fcdc_5fservice_2eproto::InitDefaultsSetCDCCheckpointResponsePBImpl(); |
5528 | | }; |
5529 | | // =================================================================== |
5530 | | |
5531 | | |
5532 | | // =================================================================== |
5533 | | |
5534 | | #ifdef __GNUC__ |
5535 | | #pragma GCC diagnostic push |
5536 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
5537 | | #endif // __GNUC__ |
5538 | | // CDCErrorPB |
5539 | | |
5540 | | // optional .yb.cdc.CDCErrorPB.Code code = 1 [default = UNKNOWN_ERROR]; |
5541 | 4 | inline bool CDCErrorPB::has_code() const { |
5542 | 4 | return (_has_bits_[0] & 0x00000002u) != 0; |
5543 | 4 | } |
5544 | 2 | inline void CDCErrorPB::set_has_code() { |
5545 | 2 | _has_bits_[0] |= 0x00000002u; |
5546 | 2 | } |
5547 | 0 | inline void CDCErrorPB::clear_has_code() { |
5548 | 0 | _has_bits_[0] &= ~0x00000002u; |
5549 | 0 | } |
5550 | 0 | inline void CDCErrorPB::clear_code() { |
5551 | 0 | code_ = 1; |
5552 | 0 | clear_has_code(); |
5553 | 0 | } |
5554 | 6 | inline ::yb::cdc::CDCErrorPB_Code CDCErrorPB::code() const { |
5555 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCErrorPB.code) |
5556 | 6 | return static_cast< ::yb::cdc::CDCErrorPB_Code >(code_); |
5557 | 6 | } |
5558 | 2 | inline void CDCErrorPB::set_code(::yb::cdc::CDCErrorPB_Code value) { |
5559 | 2 | assert(::yb::cdc::CDCErrorPB_Code_IsValid(value)); |
5560 | 2 | set_has_code(); |
5561 | 2 | code_ = value; |
5562 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCErrorPB.code) |
5563 | 2 | } |
5564 | | |
5565 | | // optional .yb.AppStatusPB status = 2; |
5566 | 6 | inline bool CDCErrorPB::has_status() const { |
5567 | 6 | return (_has_bits_[0] & 0x00000001u) != 0; |
5568 | 6 | } |
5569 | 2 | inline void CDCErrorPB::set_has_status() { |
5570 | 2 | _has_bits_[0] |= 0x00000001u; |
5571 | 2 | } |
5572 | 0 | inline void CDCErrorPB::clear_has_status() { |
5573 | 0 | _has_bits_[0] &= ~0x00000001u; |
5574 | 0 | } |
5575 | 0 | inline const ::yb::AppStatusPB& CDCErrorPB::status() const { |
5576 | 0 | const ::yb::AppStatusPB* p = status_; |
5577 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCErrorPB.status) |
5578 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>( |
5579 | 0 | &::yb::_AppStatusPB_default_instance_); |
5580 | 0 | } |
5581 | 0 | inline ::yb::AppStatusPB* CDCErrorPB::release_status() { |
5582 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCErrorPB.status) |
5583 | 0 | clear_has_status(); |
5584 | 0 | ::yb::AppStatusPB* temp = status_; |
5585 | 0 | status_ = NULL; |
5586 | 0 | return temp; |
5587 | 0 | } |
5588 | 2 | inline ::yb::AppStatusPB* CDCErrorPB::mutable_status() { |
5589 | 2 | set_has_status(); |
5590 | 2 | if (status_ == NULL) { |
5591 | 2 | status_ = new ::yb::AppStatusPB; |
5592 | 2 | } |
5593 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCErrorPB.status) |
5594 | 2 | return status_; |
5595 | 2 | } |
5596 | 0 | inline void CDCErrorPB::set_allocated_status(::yb::AppStatusPB* status) { |
5597 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5598 | 0 | if (message_arena == NULL) { |
5599 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(status_); |
5600 | 0 | } |
5601 | 0 | if (status) { |
5602 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5603 | 0 | if (message_arena != submessage_arena) { |
5604 | 0 | status = ::google::protobuf::internal::GetOwnedMessage( |
5605 | 0 | message_arena, status, submessage_arena); |
5606 | 0 | } |
5607 | 0 | set_has_status(); |
5608 | 0 | } else { |
5609 | 0 | clear_has_status(); |
5610 | 0 | } |
5611 | 0 | status_ = status; |
5612 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCErrorPB.status) |
5613 | 0 | } |
5614 | | |
5615 | | // ------------------------------------------------------------------- |
5616 | | |
5617 | | // CreateCDCStreamRequestPB |
5618 | | |
5619 | | // optional string table_id = 1; |
5620 | 308 | inline bool CreateCDCStreamRequestPB::has_table_id() const { |
5621 | 308 | return (_has_bits_[0] & 0x00000001u) != 0; |
5622 | 308 | } |
5623 | 0 | inline void CreateCDCStreamRequestPB::set_has_table_id() { |
5624 | 0 | _has_bits_[0] |= 0x00000001u; |
5625 | 0 | } |
5626 | 0 | inline void CreateCDCStreamRequestPB::clear_has_table_id() { |
5627 | 0 | _has_bits_[0] &= ~0x00000001u; |
5628 | 0 | } |
5629 | 0 | inline void CreateCDCStreamRequestPB::clear_table_id() { |
5630 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5631 | 0 | clear_has_table_id(); |
5632 | 0 | } |
5633 | 0 | inline const ::std::string& CreateCDCStreamRequestPB::table_id() const { |
5634 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5635 | 0 | return table_id_.GetNoArena(); |
5636 | 0 | } |
5637 | 0 | inline void CreateCDCStreamRequestPB::set_table_id(const ::std::string& value) { |
5638 | 0 | set_has_table_id(); |
5639 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5640 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5641 | 0 | } |
5642 | | #if LANG_CXX11 |
5643 | 0 | inline void CreateCDCStreamRequestPB::set_table_id(::std::string&& value) { |
5644 | 0 | set_has_table_id(); |
5645 | 0 | table_id_.SetNoArena( |
5646 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5647 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5648 | 0 | } |
5649 | | #endif |
5650 | 0 | inline void CreateCDCStreamRequestPB::set_table_id(const char* value) { |
5651 | 0 | GOOGLE_DCHECK(value != NULL); |
5652 | 0 | set_has_table_id(); |
5653 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5654 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5655 | 0 | } |
5656 | 0 | inline void CreateCDCStreamRequestPB::set_table_id(const char* value, size_t size) { |
5657 | 0 | set_has_table_id(); |
5658 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5659 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5660 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5661 | 0 | } |
5662 | 0 | inline ::std::string* CreateCDCStreamRequestPB::mutable_table_id() { |
5663 | 0 | set_has_table_id(); |
5664 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5665 | 0 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5666 | 0 | } |
5667 | 0 | inline ::std::string* CreateCDCStreamRequestPB::release_table_id() { |
5668 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5669 | 0 | clear_has_table_id(); |
5670 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5671 | 0 | } |
5672 | 0 | inline void CreateCDCStreamRequestPB::set_allocated_table_id(::std::string* table_id) { |
5673 | 0 | if (table_id != NULL) { |
5674 | 0 | set_has_table_id(); |
5675 | 0 | } else { |
5676 | 0 | clear_has_table_id(); |
5677 | 0 | } |
5678 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
5679 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamRequestPB.table_id) |
5680 | 0 | } |
5681 | | |
5682 | | // optional .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE]; |
5683 | 0 | inline bool CreateCDCStreamRequestPB::has_record_type() const { |
5684 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5685 | 0 | } |
5686 | 2 | inline void CreateCDCStreamRequestPB::set_has_record_type() { |
5687 | 2 | _has_bits_[0] |= 0x00000004u; |
5688 | 2 | } |
5689 | 0 | inline void CreateCDCStreamRequestPB::clear_has_record_type() { |
5690 | 0 | _has_bits_[0] &= ~0x00000004u; |
5691 | 0 | } |
5692 | 0 | inline void CreateCDCStreamRequestPB::clear_record_type() { |
5693 | 0 | record_type_ = 1; |
5694 | 0 | clear_has_record_type(); |
5695 | 0 | } |
5696 | 306 | inline ::yb::cdc::CDCRecordType CreateCDCStreamRequestPB::record_type() const { |
5697 | | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.record_type) |
5698 | 306 | return static_cast< ::yb::cdc::CDCRecordType >(record_type_); |
5699 | 306 | } |
5700 | 2 | inline void CreateCDCStreamRequestPB::set_record_type(::yb::cdc::CDCRecordType value) { |
5701 | 2 | assert(::yb::cdc::CDCRecordType_IsValid(value)); |
5702 | 2 | set_has_record_type(); |
5703 | 2 | record_type_ = value; |
5704 | | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.record_type) |
5705 | 2 | } |
5706 | | |
5707 | | // optional .yb.cdc.CDCRecordFormat record_format = 3 [default = JSON]; |
5708 | 0 | inline bool CreateCDCStreamRequestPB::has_record_format() const { |
5709 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
5710 | 0 | } |
5711 | 154 | inline void CreateCDCStreamRequestPB::set_has_record_format() { |
5712 | 154 | _has_bits_[0] |= 0x00000008u; |
5713 | 154 | } |
5714 | 0 | inline void CreateCDCStreamRequestPB::clear_has_record_format() { |
5715 | 0 | _has_bits_[0] &= ~0x00000008u; |
5716 | 0 | } |
5717 | 0 | inline void CreateCDCStreamRequestPB::clear_record_format() { |
5718 | 0 | record_format_ = 1; |
5719 | 0 | clear_has_record_format(); |
5720 | 0 | } |
5721 | 2.84k | inline ::yb::cdc::CDCRecordFormat CreateCDCStreamRequestPB::record_format() const { |
5722 | | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.record_format) |
5723 | 2.84k | return static_cast< ::yb::cdc::CDCRecordFormat >(record_format_); |
5724 | 2.84k | } |
5725 | 154 | inline void CreateCDCStreamRequestPB::set_record_format(::yb::cdc::CDCRecordFormat value) { |
5726 | 154 | assert(::yb::cdc::CDCRecordFormat_IsValid(value)); |
5727 | 154 | set_has_record_format(); |
5728 | 154 | record_format_ = value; |
5729 | | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.record_format) |
5730 | 154 | } |
5731 | | |
5732 | | // optional string namespace_name = 4; |
5733 | 614 | inline bool CreateCDCStreamRequestPB::has_namespace_name() const { |
5734 | 614 | return (_has_bits_[0] & 0x00000002u) != 0; |
5735 | 614 | } |
5736 | 154 | inline void CreateCDCStreamRequestPB::set_has_namespace_name() { |
5737 | 154 | _has_bits_[0] |= 0x00000002u; |
5738 | 154 | } |
5739 | 0 | inline void CreateCDCStreamRequestPB::clear_has_namespace_name() { |
5740 | 0 | _has_bits_[0] &= ~0x00000002u; |
5741 | 0 | } |
5742 | 0 | inline void CreateCDCStreamRequestPB::clear_namespace_name() { |
5743 | 0 | namespace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5744 | 0 | clear_has_namespace_name(); |
5745 | 0 | } |
5746 | 462 | inline const ::std::string& CreateCDCStreamRequestPB::namespace_name() const { |
5747 | | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5748 | 462 | return namespace_name_.GetNoArena(); |
5749 | 462 | } |
5750 | 0 | inline void CreateCDCStreamRequestPB::set_namespace_name(const ::std::string& value) { |
5751 | 0 | set_has_namespace_name(); |
5752 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5753 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5754 | 0 | } |
5755 | | #if LANG_CXX11 |
5756 | 0 | inline void CreateCDCStreamRequestPB::set_namespace_name(::std::string&& value) { |
5757 | 0 | set_has_namespace_name(); |
5758 | 0 | namespace_name_.SetNoArena( |
5759 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5760 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5761 | 0 | } |
5762 | | #endif |
5763 | 0 | inline void CreateCDCStreamRequestPB::set_namespace_name(const char* value) { |
5764 | 0 | GOOGLE_DCHECK(value != NULL); |
5765 | 0 | set_has_namespace_name(); |
5766 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5767 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5768 | 0 | } |
5769 | 0 | inline void CreateCDCStreamRequestPB::set_namespace_name(const char* value, size_t size) { |
5770 | 0 | set_has_namespace_name(); |
5771 | 0 | namespace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5772 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5773 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5774 | 0 | } |
5775 | 154 | inline ::std::string* CreateCDCStreamRequestPB::mutable_namespace_name() { |
5776 | 154 | set_has_namespace_name(); |
5777 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5778 | 154 | return namespace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5779 | 154 | } |
5780 | 0 | inline ::std::string* CreateCDCStreamRequestPB::release_namespace_name() { |
5781 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5782 | 0 | clear_has_namespace_name(); |
5783 | 0 | return namespace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5784 | 0 | } |
5785 | 0 | inline void CreateCDCStreamRequestPB::set_allocated_namespace_name(::std::string* namespace_name) { |
5786 | 0 | if (namespace_name != NULL) { |
5787 | 0 | set_has_namespace_name(); |
5788 | 0 | } else { |
5789 | 0 | clear_has_namespace_name(); |
5790 | 0 | } |
5791 | 0 | namespace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_name); |
5792 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamRequestPB.namespace_name) |
5793 | 0 | } |
5794 | | |
5795 | | // optional .yb.cdc.CDCRequestSource source_type = 5 [default = XCLUSTER]; |
5796 | 0 | inline bool CreateCDCStreamRequestPB::has_source_type() const { |
5797 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
5798 | 0 | } |
5799 | 154 | inline void CreateCDCStreamRequestPB::set_has_source_type() { |
5800 | 154 | _has_bits_[0] |= 0x00000010u; |
5801 | 154 | } |
5802 | 0 | inline void CreateCDCStreamRequestPB::clear_has_source_type() { |
5803 | 0 | _has_bits_[0] &= ~0x00000010u; |
5804 | 0 | } |
5805 | 0 | inline void CreateCDCStreamRequestPB::clear_source_type() { |
5806 | 0 | source_type_ = 1; |
5807 | 0 | clear_has_source_type(); |
5808 | 0 | } |
5809 | 460 | inline ::yb::cdc::CDCRequestSource CreateCDCStreamRequestPB::source_type() const { |
5810 | | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.source_type) |
5811 | 460 | return static_cast< ::yb::cdc::CDCRequestSource >(source_type_); |
5812 | 460 | } |
5813 | 154 | inline void CreateCDCStreamRequestPB::set_source_type(::yb::cdc::CDCRequestSource value) { |
5814 | 154 | assert(::yb::cdc::CDCRequestSource_IsValid(value)); |
5815 | 154 | set_has_source_type(); |
5816 | 154 | source_type_ = value; |
5817 | | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.source_type) |
5818 | 154 | } |
5819 | | |
5820 | | // optional .yb.cdc.CDCCheckpointType checkpoint_type = 6 [default = IMPLICIT]; |
5821 | 0 | inline bool CreateCDCStreamRequestPB::has_checkpoint_type() const { |
5822 | 0 | return (_has_bits_[0] & 0x00000020u) != 0; |
5823 | 0 | } |
5824 | 154 | inline void CreateCDCStreamRequestPB::set_has_checkpoint_type() { |
5825 | 154 | _has_bits_[0] |= 0x00000020u; |
5826 | 154 | } |
5827 | 0 | inline void CreateCDCStreamRequestPB::clear_has_checkpoint_type() { |
5828 | 0 | _has_bits_[0] &= ~0x00000020u; |
5829 | 0 | } |
5830 | 0 | inline void CreateCDCStreamRequestPB::clear_checkpoint_type() { |
5831 | 0 | checkpoint_type_ = 1; |
5832 | 0 | clear_has_checkpoint_type(); |
5833 | 0 | } |
5834 | 306 | inline ::yb::cdc::CDCCheckpointType CreateCDCStreamRequestPB::checkpoint_type() const { |
5835 | | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamRequestPB.checkpoint_type) |
5836 | 306 | return static_cast< ::yb::cdc::CDCCheckpointType >(checkpoint_type_); |
5837 | 306 | } |
5838 | 154 | inline void CreateCDCStreamRequestPB::set_checkpoint_type(::yb::cdc::CDCCheckpointType value) { |
5839 | 154 | assert(::yb::cdc::CDCCheckpointType_IsValid(value)); |
5840 | 154 | set_has_checkpoint_type(); |
5841 | 154 | checkpoint_type_ = value; |
5842 | | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamRequestPB.checkpoint_type) |
5843 | 154 | } |
5844 | | |
5845 | | // ------------------------------------------------------------------- |
5846 | | |
5847 | | // CreateCDCStreamResponsePB |
5848 | | |
5849 | | // optional .yb.cdc.CDCErrorPB error = 1; |
5850 | 462 | inline bool CreateCDCStreamResponsePB::has_error() const { |
5851 | 462 | return (_has_bits_[0] & 0x00000004u) != 0; |
5852 | 462 | } |
5853 | 1 | inline void CreateCDCStreamResponsePB::set_has_error() { |
5854 | 1 | _has_bits_[0] |= 0x00000004u; |
5855 | 1 | } |
5856 | 0 | inline void CreateCDCStreamResponsePB::clear_has_error() { |
5857 | 0 | _has_bits_[0] &= ~0x00000004u; |
5858 | 0 | } |
5859 | 0 | inline void CreateCDCStreamResponsePB::clear_error() { |
5860 | 0 | if (error_ != NULL) error_->Clear(); |
5861 | 0 | clear_has_error(); |
5862 | 0 | } |
5863 | 0 | inline const ::yb::cdc::CDCErrorPB& CreateCDCStreamResponsePB::error() const { |
5864 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
5865 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamResponsePB.error) |
5866 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
5867 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
5868 | 0 | } |
5869 | 0 | inline ::yb::cdc::CDCErrorPB* CreateCDCStreamResponsePB::release_error() { |
5870 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamResponsePB.error) |
5871 | 0 | clear_has_error(); |
5872 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
5873 | 0 | error_ = NULL; |
5874 | 0 | return temp; |
5875 | 0 | } |
5876 | 1 | inline ::yb::cdc::CDCErrorPB* CreateCDCStreamResponsePB::mutable_error() { |
5877 | 1 | set_has_error(); |
5878 | 1 | if (error_ == NULL) { |
5879 | 1 | error_ = new ::yb::cdc::CDCErrorPB; |
5880 | 1 | } |
5881 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamResponsePB.error) |
5882 | 1 | return error_; |
5883 | 1 | } |
5884 | 0 | inline void CreateCDCStreamResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
5885 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5886 | 0 | if (message_arena == NULL) { |
5887 | 0 | delete error_; |
5888 | 0 | } |
5889 | 0 | if (error) { |
5890 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5891 | 0 | if (message_arena != submessage_arena) { |
5892 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5893 | 0 | message_arena, error, submessage_arena); |
5894 | 0 | } |
5895 | 0 | set_has_error(); |
5896 | 0 | } else { |
5897 | 0 | clear_has_error(); |
5898 | 0 | } |
5899 | 0 | error_ = error; |
5900 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamResponsePB.error) |
5901 | 0 | } |
5902 | | |
5903 | | // optional bytes stream_id = 2; |
5904 | 308 | inline bool CreateCDCStreamResponsePB::has_stream_id() const { |
5905 | 308 | return (_has_bits_[0] & 0x00000001u) != 0; |
5906 | 308 | } |
5907 | 0 | inline void CreateCDCStreamResponsePB::set_has_stream_id() { |
5908 | 0 | _has_bits_[0] |= 0x00000001u; |
5909 | 0 | } |
5910 | 0 | inline void CreateCDCStreamResponsePB::clear_has_stream_id() { |
5911 | 0 | _has_bits_[0] &= ~0x00000001u; |
5912 | 0 | } |
5913 | 0 | inline void CreateCDCStreamResponsePB::clear_stream_id() { |
5914 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5915 | 0 | clear_has_stream_id(); |
5916 | 0 | } |
5917 | 0 | inline const ::std::string& CreateCDCStreamResponsePB::stream_id() const { |
5918 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5919 | 0 | return stream_id_.GetNoArena(); |
5920 | 0 | } |
5921 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(const ::std::string& value) { |
5922 | 0 | set_has_stream_id(); |
5923 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5924 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5925 | 0 | } |
5926 | | #if LANG_CXX11 |
5927 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(::std::string&& value) { |
5928 | 0 | set_has_stream_id(); |
5929 | 0 | stream_id_.SetNoArena( |
5930 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5931 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5932 | 0 | } |
5933 | | #endif |
5934 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(const char* value) { |
5935 | 0 | GOOGLE_DCHECK(value != NULL); |
5936 | 0 | set_has_stream_id(); |
5937 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5938 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5939 | 0 | } |
5940 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(const void* value, size_t size) { |
5941 | 0 | set_has_stream_id(); |
5942 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5943 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5944 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5945 | 0 | } |
5946 | 0 | inline ::std::string* CreateCDCStreamResponsePB::mutable_stream_id() { |
5947 | 0 | set_has_stream_id(); |
5948 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5949 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5950 | 0 | } |
5951 | 0 | inline ::std::string* CreateCDCStreamResponsePB::release_stream_id() { |
5952 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5953 | 0 | clear_has_stream_id(); |
5954 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5955 | 0 | } |
5956 | 0 | inline void CreateCDCStreamResponsePB::set_allocated_stream_id(::std::string* stream_id) { |
5957 | 0 | if (stream_id != NULL) { |
5958 | 0 | set_has_stream_id(); |
5959 | 0 | } else { |
5960 | 0 | clear_has_stream_id(); |
5961 | 0 | } |
5962 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
5963 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamResponsePB.stream_id) |
5964 | 0 | } |
5965 | | |
5966 | | // optional bytes db_stream_id = 3; |
5967 | 308 | inline bool CreateCDCStreamResponsePB::has_db_stream_id() const { |
5968 | 308 | return (_has_bits_[0] & 0x00000002u) != 0; |
5969 | 308 | } |
5970 | 153 | inline void CreateCDCStreamResponsePB::set_has_db_stream_id() { |
5971 | 153 | _has_bits_[0] |= 0x00000002u; |
5972 | 153 | } |
5973 | 0 | inline void CreateCDCStreamResponsePB::clear_has_db_stream_id() { |
5974 | 0 | _has_bits_[0] &= ~0x00000002u; |
5975 | 0 | } |
5976 | 0 | inline void CreateCDCStreamResponsePB::clear_db_stream_id() { |
5977 | 0 | db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5978 | 0 | clear_has_db_stream_id(); |
5979 | 0 | } |
5980 | 459 | inline const ::std::string& CreateCDCStreamResponsePB::db_stream_id() const { |
5981 | | // @@protoc_insertion_point(field_get:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
5982 | 459 | return db_stream_id_.GetNoArena(); |
5983 | 459 | } |
5984 | 153 | inline void CreateCDCStreamResponsePB::set_db_stream_id(const ::std::string& value) { |
5985 | 153 | set_has_db_stream_id(); |
5986 | 153 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5987 | | // @@protoc_insertion_point(field_set:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
5988 | 153 | } |
5989 | | #if LANG_CXX11 |
5990 | 0 | inline void CreateCDCStreamResponsePB::set_db_stream_id(::std::string&& value) { |
5991 | 0 | set_has_db_stream_id(); |
5992 | 0 | db_stream_id_.SetNoArena( |
5993 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5994 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
5995 | 0 | } |
5996 | | #endif |
5997 | 0 | inline void CreateCDCStreamResponsePB::set_db_stream_id(const char* value) { |
5998 | 0 | GOOGLE_DCHECK(value != NULL); |
5999 | 0 | set_has_db_stream_id(); |
6000 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6001 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
6002 | 0 | } |
6003 | 0 | inline void CreateCDCStreamResponsePB::set_db_stream_id(const void* value, size_t size) { |
6004 | 0 | set_has_db_stream_id(); |
6005 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6006 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6007 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
6008 | 0 | } |
6009 | 0 | inline ::std::string* CreateCDCStreamResponsePB::mutable_db_stream_id() { |
6010 | 0 | set_has_db_stream_id(); |
6011 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
6012 | 0 | return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6013 | 0 | } |
6014 | 0 | inline ::std::string* CreateCDCStreamResponsePB::release_db_stream_id() { |
6015 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
6016 | 0 | clear_has_db_stream_id(); |
6017 | 0 | return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6018 | 0 | } |
6019 | 0 | inline void CreateCDCStreamResponsePB::set_allocated_db_stream_id(::std::string* db_stream_id) { |
6020 | 0 | if (db_stream_id != NULL) { |
6021 | 0 | set_has_db_stream_id(); |
6022 | 0 | } else { |
6023 | 0 | clear_has_db_stream_id(); |
6024 | 0 | } |
6025 | 0 | db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id); |
6026 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CreateCDCStreamResponsePB.db_stream_id) |
6027 | 0 | } |
6028 | | |
6029 | | // ------------------------------------------------------------------- |
6030 | | |
6031 | | // DeleteCDCStreamRequestPB |
6032 | | |
6033 | | // repeated bytes stream_id = 1; |
6034 | 0 | inline int DeleteCDCStreamRequestPB::stream_id_size() const { |
6035 | 0 | return stream_id_.size(); |
6036 | 0 | } |
6037 | 0 | inline void DeleteCDCStreamRequestPB::clear_stream_id() { |
6038 | 0 | stream_id_.Clear(); |
6039 | 0 | } |
6040 | 0 | inline const ::std::string& DeleteCDCStreamRequestPB::stream_id(int index) const { |
6041 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6042 | 0 | return stream_id_.Get(index); |
6043 | 0 | } |
6044 | 0 | inline ::std::string* DeleteCDCStreamRequestPB::mutable_stream_id(int index) { |
6045 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6046 | 0 | return stream_id_.Mutable(index); |
6047 | 0 | } |
6048 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const ::std::string& value) { |
6049 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6050 | 0 | stream_id_.Mutable(index)->assign(value); |
6051 | 0 | } |
6052 | | #if LANG_CXX11 |
6053 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, ::std::string&& value) { |
6054 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6055 | 0 | stream_id_.Mutable(index)->assign(std::move(value)); |
6056 | 0 | } |
6057 | | #endif |
6058 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const char* value) { |
6059 | 0 | GOOGLE_DCHECK(value != NULL); |
6060 | 0 | stream_id_.Mutable(index)->assign(value); |
6061 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6062 | 0 | } |
6063 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const void* value, size_t size) { |
6064 | 0 | stream_id_.Mutable(index)->assign( |
6065 | 0 | reinterpret_cast<const char*>(value), size); |
6066 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6067 | 0 | } |
6068 | 0 | inline ::std::string* DeleteCDCStreamRequestPB::add_stream_id() { |
6069 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6070 | 0 | return stream_id_.Add(); |
6071 | 0 | } |
6072 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(const ::std::string& value) { |
6073 | 0 | stream_id_.Add()->assign(value); |
6074 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6075 | 0 | } |
6076 | | #if LANG_CXX11 |
6077 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(::std::string&& value) { |
6078 | 0 | stream_id_.Add(std::move(value)); |
6079 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6080 | 0 | } |
6081 | | #endif |
6082 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(const char* value) { |
6083 | 0 | GOOGLE_DCHECK(value != NULL); |
6084 | 0 | stream_id_.Add()->assign(value); |
6085 | 0 | // @@protoc_insertion_point(field_add_char:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6086 | 0 | } |
6087 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(const void* value, size_t size) { |
6088 | 0 | stream_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
6089 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6090 | 0 | } |
6091 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
6092 | 0 | DeleteCDCStreamRequestPB::stream_id() const { |
6093 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6094 | 0 | return stream_id_; |
6095 | 0 | } |
6096 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
6097 | 0 | DeleteCDCStreamRequestPB::mutable_stream_id() { |
6098 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.DeleteCDCStreamRequestPB.stream_id) |
6099 | 0 | return &stream_id_; |
6100 | 0 | } |
6101 | | |
6102 | | // optional bool ignore_errors = 2 [default = false]; |
6103 | 0 | inline bool DeleteCDCStreamRequestPB::has_ignore_errors() const { |
6104 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6105 | 0 | } |
6106 | 0 | inline void DeleteCDCStreamRequestPB::set_has_ignore_errors() { |
6107 | 0 | _has_bits_[0] |= 0x00000001u; |
6108 | 0 | } |
6109 | 0 | inline void DeleteCDCStreamRequestPB::clear_has_ignore_errors() { |
6110 | 0 | _has_bits_[0] &= ~0x00000001u; |
6111 | 0 | } |
6112 | 0 | inline void DeleteCDCStreamRequestPB::clear_ignore_errors() { |
6113 | 0 | ignore_errors_ = false; |
6114 | 0 | clear_has_ignore_errors(); |
6115 | 0 | } |
6116 | 0 | inline bool DeleteCDCStreamRequestPB::ignore_errors() const { |
6117 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamRequestPB.ignore_errors) |
6118 | 0 | return ignore_errors_; |
6119 | 0 | } |
6120 | 0 | inline void DeleteCDCStreamRequestPB::set_ignore_errors(bool value) { |
6121 | 0 | set_has_ignore_errors(); |
6122 | 0 | ignore_errors_ = value; |
6123 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.ignore_errors) |
6124 | 0 | } |
6125 | | |
6126 | | // optional bool force_delete = 3 [default = false]; |
6127 | 0 | inline bool DeleteCDCStreamRequestPB::has_force_delete() const { |
6128 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6129 | 0 | } |
6130 | 0 | inline void DeleteCDCStreamRequestPB::set_has_force_delete() { |
6131 | 0 | _has_bits_[0] |= 0x00000002u; |
6132 | 0 | } |
6133 | 0 | inline void DeleteCDCStreamRequestPB::clear_has_force_delete() { |
6134 | 0 | _has_bits_[0] &= ~0x00000002u; |
6135 | 0 | } |
6136 | 0 | inline void DeleteCDCStreamRequestPB::clear_force_delete() { |
6137 | 0 | force_delete_ = false; |
6138 | 0 | clear_has_force_delete(); |
6139 | 0 | } |
6140 | 0 | inline bool DeleteCDCStreamRequestPB::force_delete() const { |
6141 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamRequestPB.force_delete) |
6142 | 0 | return force_delete_; |
6143 | 0 | } |
6144 | 0 | inline void DeleteCDCStreamRequestPB::set_force_delete(bool value) { |
6145 | 0 | set_has_force_delete(); |
6146 | 0 | force_delete_ = value; |
6147 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.DeleteCDCStreamRequestPB.force_delete) |
6148 | 0 | } |
6149 | | |
6150 | | // ------------------------------------------------------------------- |
6151 | | |
6152 | | // DeleteCDCStreamResponsePB |
6153 | | |
6154 | | // optional .yb.cdc.CDCErrorPB error = 1; |
6155 | 0 | inline bool DeleteCDCStreamResponsePB::has_error() const { |
6156 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6157 | 0 | } |
6158 | 0 | inline void DeleteCDCStreamResponsePB::set_has_error() { |
6159 | 0 | _has_bits_[0] |= 0x00000001u; |
6160 | 0 | } |
6161 | 0 | inline void DeleteCDCStreamResponsePB::clear_has_error() { |
6162 | 0 | _has_bits_[0] &= ~0x00000001u; |
6163 | 0 | } |
6164 | 0 | inline void DeleteCDCStreamResponsePB::clear_error() { |
6165 | 0 | if (error_ != NULL) error_->Clear(); |
6166 | 0 | clear_has_error(); |
6167 | 0 | } |
6168 | 0 | inline const ::yb::cdc::CDCErrorPB& DeleteCDCStreamResponsePB::error() const { |
6169 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
6170 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.DeleteCDCStreamResponsePB.error) |
6171 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
6172 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
6173 | 0 | } |
6174 | 0 | inline ::yb::cdc::CDCErrorPB* DeleteCDCStreamResponsePB::release_error() { |
6175 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.DeleteCDCStreamResponsePB.error) |
6176 | 0 | clear_has_error(); |
6177 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
6178 | 0 | error_ = NULL; |
6179 | 0 | return temp; |
6180 | 0 | } |
6181 | 0 | inline ::yb::cdc::CDCErrorPB* DeleteCDCStreamResponsePB::mutable_error() { |
6182 | 0 | set_has_error(); |
6183 | 0 | if (error_ == NULL) { |
6184 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
6185 | 0 | } |
6186 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.DeleteCDCStreamResponsePB.error) |
6187 | 0 | return error_; |
6188 | 0 | } |
6189 | 0 | inline void DeleteCDCStreamResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
6190 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6191 | 0 | if (message_arena == NULL) { |
6192 | 0 | delete error_; |
6193 | 0 | } |
6194 | 0 | if (error) { |
6195 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6196 | 0 | if (message_arena != submessage_arena) { |
6197 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6198 | 0 | message_arena, error, submessage_arena); |
6199 | 0 | } |
6200 | 0 | set_has_error(); |
6201 | 0 | } else { |
6202 | 0 | clear_has_error(); |
6203 | 0 | } |
6204 | 0 | error_ = error; |
6205 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.DeleteCDCStreamResponsePB.error) |
6206 | 0 | } |
6207 | | |
6208 | | // ------------------------------------------------------------------- |
6209 | | |
6210 | | // ListTabletsRequestPB |
6211 | | |
6212 | | // optional string stream_id = 1; |
6213 | 0 | inline bool ListTabletsRequestPB::has_stream_id() const { |
6214 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6215 | 0 | } |
6216 | 0 | inline void ListTabletsRequestPB::set_has_stream_id() { |
6217 | 0 | _has_bits_[0] |= 0x00000001u; |
6218 | 0 | } |
6219 | 0 | inline void ListTabletsRequestPB::clear_has_stream_id() { |
6220 | 0 | _has_bits_[0] &= ~0x00000001u; |
6221 | 0 | } |
6222 | 0 | inline void ListTabletsRequestPB::clear_stream_id() { |
6223 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6224 | 0 | clear_has_stream_id(); |
6225 | 0 | } |
6226 | 0 | inline const ::std::string& ListTabletsRequestPB::stream_id() const { |
6227 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsRequestPB.stream_id) |
6228 | 0 | return stream_id_.GetNoArena(); |
6229 | 0 | } |
6230 | 0 | inline void ListTabletsRequestPB::set_stream_id(const ::std::string& value) { |
6231 | 0 | set_has_stream_id(); |
6232 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6233 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.ListTabletsRequestPB.stream_id) |
6234 | 0 | } |
6235 | | #if LANG_CXX11 |
6236 | 0 | inline void ListTabletsRequestPB::set_stream_id(::std::string&& value) { |
6237 | 0 | set_has_stream_id(); |
6238 | 0 | stream_id_.SetNoArena( |
6239 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6240 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.ListTabletsRequestPB.stream_id) |
6241 | 0 | } |
6242 | | #endif |
6243 | 0 | inline void ListTabletsRequestPB::set_stream_id(const char* value) { |
6244 | 0 | GOOGLE_DCHECK(value != NULL); |
6245 | 0 | set_has_stream_id(); |
6246 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6247 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.ListTabletsRequestPB.stream_id) |
6248 | 0 | } |
6249 | 0 | inline void ListTabletsRequestPB::set_stream_id(const char* value, size_t size) { |
6250 | 0 | set_has_stream_id(); |
6251 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6252 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6253 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.ListTabletsRequestPB.stream_id) |
6254 | 0 | } |
6255 | 0 | inline ::std::string* ListTabletsRequestPB::mutable_stream_id() { |
6256 | 0 | set_has_stream_id(); |
6257 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.ListTabletsRequestPB.stream_id) |
6258 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6259 | 0 | } |
6260 | 0 | inline ::std::string* ListTabletsRequestPB::release_stream_id() { |
6261 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.ListTabletsRequestPB.stream_id) |
6262 | 0 | clear_has_stream_id(); |
6263 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6264 | 0 | } |
6265 | 0 | inline void ListTabletsRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
6266 | 0 | if (stream_id != NULL) { |
6267 | 0 | set_has_stream_id(); |
6268 | 0 | } else { |
6269 | 0 | clear_has_stream_id(); |
6270 | 0 | } |
6271 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
6272 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.ListTabletsRequestPB.stream_id) |
6273 | 0 | } |
6274 | | |
6275 | | // optional bool local_only = 2 [default = false]; |
6276 | 0 | inline bool ListTabletsRequestPB::has_local_only() const { |
6277 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6278 | 0 | } |
6279 | 0 | inline void ListTabletsRequestPB::set_has_local_only() { |
6280 | 0 | _has_bits_[0] |= 0x00000002u; |
6281 | 0 | } |
6282 | 0 | inline void ListTabletsRequestPB::clear_has_local_only() { |
6283 | 0 | _has_bits_[0] &= ~0x00000002u; |
6284 | 0 | } |
6285 | 0 | inline void ListTabletsRequestPB::clear_local_only() { |
6286 | 0 | local_only_ = false; |
6287 | 0 | clear_has_local_only(); |
6288 | 0 | } |
6289 | 0 | inline bool ListTabletsRequestPB::local_only() const { |
6290 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsRequestPB.local_only) |
6291 | 0 | return local_only_; |
6292 | 0 | } |
6293 | 0 | inline void ListTabletsRequestPB::set_local_only(bool value) { |
6294 | 0 | set_has_local_only(); |
6295 | 0 | local_only_ = value; |
6296 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.ListTabletsRequestPB.local_only) |
6297 | 0 | } |
6298 | | |
6299 | | // ------------------------------------------------------------------- |
6300 | | |
6301 | | // ListTabletsResponsePB |
6302 | | |
6303 | | // optional .yb.cdc.CDCErrorPB error = 1; |
6304 | 0 | inline bool ListTabletsResponsePB::has_error() const { |
6305 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6306 | 0 | } |
6307 | 0 | inline void ListTabletsResponsePB::set_has_error() { |
6308 | 0 | _has_bits_[0] |= 0x00000001u; |
6309 | 0 | } |
6310 | 0 | inline void ListTabletsResponsePB::clear_has_error() { |
6311 | 0 | _has_bits_[0] &= ~0x00000001u; |
6312 | 0 | } |
6313 | 0 | inline void ListTabletsResponsePB::clear_error() { |
6314 | 0 | if (error_ != NULL) error_->Clear(); |
6315 | 0 | clear_has_error(); |
6316 | 0 | } |
6317 | 0 | inline const ::yb::cdc::CDCErrorPB& ListTabletsResponsePB::error() const { |
6318 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
6319 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsResponsePB.error) |
6320 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
6321 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
6322 | 0 | } |
6323 | 0 | inline ::yb::cdc::CDCErrorPB* ListTabletsResponsePB::release_error() { |
6324 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.ListTabletsResponsePB.error) |
6325 | 0 | clear_has_error(); |
6326 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
6327 | 0 | error_ = NULL; |
6328 | 0 | return temp; |
6329 | 0 | } |
6330 | 0 | inline ::yb::cdc::CDCErrorPB* ListTabletsResponsePB::mutable_error() { |
6331 | 0 | set_has_error(); |
6332 | 0 | if (error_ == NULL) { |
6333 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
6334 | 0 | } |
6335 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.ListTabletsResponsePB.error) |
6336 | 0 | return error_; |
6337 | 0 | } |
6338 | 0 | inline void ListTabletsResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
6339 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6340 | 0 | if (message_arena == NULL) { |
6341 | 0 | delete error_; |
6342 | 0 | } |
6343 | 0 | if (error) { |
6344 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6345 | 0 | if (message_arena != submessage_arena) { |
6346 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6347 | 0 | message_arena, error, submessage_arena); |
6348 | 0 | } |
6349 | 0 | set_has_error(); |
6350 | 0 | } else { |
6351 | 0 | clear_has_error(); |
6352 | 0 | } |
6353 | 0 | error_ = error; |
6354 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.ListTabletsResponsePB.error) |
6355 | 0 | } |
6356 | | |
6357 | | // repeated .yb.cdc.CDCTabletPB tablets = 2; |
6358 | 0 | inline int ListTabletsResponsePB::tablets_size() const { |
6359 | 0 | return tablets_.size(); |
6360 | 0 | } |
6361 | 0 | inline void ListTabletsResponsePB::clear_tablets() { |
6362 | 0 | tablets_.Clear(); |
6363 | 0 | } |
6364 | 0 | inline const ::yb::cdc::CDCTabletPB& ListTabletsResponsePB::tablets(int index) const { |
6365 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.ListTabletsResponsePB.tablets) |
6366 | 0 | return tablets_.Get(index); |
6367 | 0 | } |
6368 | 0 | inline ::yb::cdc::CDCTabletPB* ListTabletsResponsePB::mutable_tablets(int index) { |
6369 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.ListTabletsResponsePB.tablets) |
6370 | 0 | return tablets_.Mutable(index); |
6371 | 0 | } |
6372 | 0 | inline ::yb::cdc::CDCTabletPB* ListTabletsResponsePB::add_tablets() { |
6373 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.ListTabletsResponsePB.tablets) |
6374 | 0 | return tablets_.Add(); |
6375 | 0 | } |
6376 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB >* |
6377 | 0 | ListTabletsResponsePB::mutable_tablets() { |
6378 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.ListTabletsResponsePB.tablets) |
6379 | 0 | return &tablets_; |
6380 | 0 | } |
6381 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB >& |
6382 | 0 | ListTabletsResponsePB::tablets() const { |
6383 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.ListTabletsResponsePB.tablets) |
6384 | 0 | return tablets_; |
6385 | 0 | } |
6386 | | |
6387 | | // ------------------------------------------------------------------- |
6388 | | |
6389 | | // CDCTabletPB_ReplicaPB |
6390 | | |
6391 | | // repeated .yb.HostPortPB broadcast_addresses = 1; |
6392 | 0 | inline int CDCTabletPB_ReplicaPB::broadcast_addresses_size() const { |
6393 | 0 | return broadcast_addresses_.size(); |
6394 | 0 | } |
6395 | 0 | inline const ::yb::HostPortPB& CDCTabletPB_ReplicaPB::broadcast_addresses(int index) const { |
6396 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses) |
6397 | 0 | return broadcast_addresses_.Get(index); |
6398 | 0 | } |
6399 | 0 | inline ::yb::HostPortPB* CDCTabletPB_ReplicaPB::mutable_broadcast_addresses(int index) { |
6400 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses) |
6401 | 0 | return broadcast_addresses_.Mutable(index); |
6402 | 0 | } |
6403 | 0 | inline ::yb::HostPortPB* CDCTabletPB_ReplicaPB::add_broadcast_addresses() { |
6404 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses) |
6405 | 0 | return broadcast_addresses_.Add(); |
6406 | 0 | } |
6407 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
6408 | 0 | CDCTabletPB_ReplicaPB::mutable_broadcast_addresses() { |
6409 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses) |
6410 | 0 | return &broadcast_addresses_; |
6411 | 0 | } |
6412 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
6413 | 0 | CDCTabletPB_ReplicaPB::broadcast_addresses() const { |
6414 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCTabletPB.ReplicaPB.broadcast_addresses) |
6415 | 0 | return broadcast_addresses_; |
6416 | 0 | } |
6417 | | |
6418 | | // ------------------------------------------------------------------- |
6419 | | |
6420 | | // CDCTabletPB |
6421 | | |
6422 | | // optional bytes tablet_id = 1; |
6423 | 0 | inline bool CDCTabletPB::has_tablet_id() const { |
6424 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6425 | 0 | } |
6426 | 0 | inline void CDCTabletPB::set_has_tablet_id() { |
6427 | 0 | _has_bits_[0] |= 0x00000001u; |
6428 | 0 | } |
6429 | 0 | inline void CDCTabletPB::clear_has_tablet_id() { |
6430 | 0 | _has_bits_[0] &= ~0x00000001u; |
6431 | 0 | } |
6432 | 0 | inline void CDCTabletPB::clear_tablet_id() { |
6433 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6434 | 0 | clear_has_tablet_id(); |
6435 | 0 | } |
6436 | 0 | inline const ::std::string& CDCTabletPB::tablet_id() const { |
6437 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCTabletPB.tablet_id) |
6438 | 0 | return tablet_id_.GetNoArena(); |
6439 | 0 | } |
6440 | 0 | inline void CDCTabletPB::set_tablet_id(const ::std::string& value) { |
6441 | 0 | set_has_tablet_id(); |
6442 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6443 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.CDCTabletPB.tablet_id) |
6444 | 0 | } |
6445 | | #if LANG_CXX11 |
6446 | 0 | inline void CDCTabletPB::set_tablet_id(::std::string&& value) { |
6447 | 0 | set_has_tablet_id(); |
6448 | 0 | tablet_id_.SetNoArena( |
6449 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6450 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCTabletPB.tablet_id) |
6451 | 0 | } |
6452 | | #endif |
6453 | 0 | inline void CDCTabletPB::set_tablet_id(const char* value) { |
6454 | 0 | GOOGLE_DCHECK(value != NULL); |
6455 | 0 | set_has_tablet_id(); |
6456 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6457 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CDCTabletPB.tablet_id) |
6458 | 0 | } |
6459 | 0 | inline void CDCTabletPB::set_tablet_id(const void* value, size_t size) { |
6460 | 0 | set_has_tablet_id(); |
6461 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6462 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6463 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCTabletPB.tablet_id) |
6464 | 0 | } |
6465 | 0 | inline ::std::string* CDCTabletPB::mutable_tablet_id() { |
6466 | 0 | set_has_tablet_id(); |
6467 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCTabletPB.tablet_id) |
6468 | 0 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6469 | 0 | } |
6470 | 0 | inline ::std::string* CDCTabletPB::release_tablet_id() { |
6471 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCTabletPB.tablet_id) |
6472 | 0 | clear_has_tablet_id(); |
6473 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6474 | 0 | } |
6475 | 0 | inline void CDCTabletPB::set_allocated_tablet_id(::std::string* tablet_id) { |
6476 | 0 | if (tablet_id != NULL) { |
6477 | 0 | set_has_tablet_id(); |
6478 | 0 | } else { |
6479 | 0 | clear_has_tablet_id(); |
6480 | 0 | } |
6481 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
6482 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCTabletPB.tablet_id) |
6483 | 0 | } |
6484 | | |
6485 | | // repeated .yb.cdc.CDCTabletPB.ReplicaPB tservers = 2; |
6486 | 0 | inline int CDCTabletPB::tservers_size() const { |
6487 | 0 | return tservers_.size(); |
6488 | 0 | } |
6489 | 0 | inline void CDCTabletPB::clear_tservers() { |
6490 | 0 | tservers_.Clear(); |
6491 | 0 | } |
6492 | 0 | inline const ::yb::cdc::CDCTabletPB_ReplicaPB& CDCTabletPB::tservers(int index) const { |
6493 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCTabletPB.tservers) |
6494 | 0 | return tservers_.Get(index); |
6495 | 0 | } |
6496 | 0 | inline ::yb::cdc::CDCTabletPB_ReplicaPB* CDCTabletPB::mutable_tservers(int index) { |
6497 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCTabletPB.tservers) |
6498 | 0 | return tservers_.Mutable(index); |
6499 | 0 | } |
6500 | 0 | inline ::yb::cdc::CDCTabletPB_ReplicaPB* CDCTabletPB::add_tservers() { |
6501 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.CDCTabletPB.tservers) |
6502 | 0 | return tservers_.Add(); |
6503 | 0 | } |
6504 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB >* |
6505 | 0 | CDCTabletPB::mutable_tservers() { |
6506 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCTabletPB.tservers) |
6507 | 0 | return &tservers_; |
6508 | 0 | } |
6509 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCTabletPB_ReplicaPB >& |
6510 | 0 | CDCTabletPB::tservers() const { |
6511 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCTabletPB.tservers) |
6512 | 0 | return tservers_; |
6513 | 0 | } |
6514 | | |
6515 | | // ------------------------------------------------------------------- |
6516 | | |
6517 | | // CDCSDKCheckpointPB |
6518 | | |
6519 | | // optional int64 term = 1; |
6520 | 638 | inline bool CDCSDKCheckpointPB::has_term() const { |
6521 | 638 | return (_has_bits_[0] & 0x00000002u) != 0; |
6522 | 638 | } |
6523 | 4.49k | inline void CDCSDKCheckpointPB::set_has_term() { |
6524 | 4.49k | _has_bits_[0] |= 0x00000002u; |
6525 | 4.49k | } |
6526 | 0 | inline void CDCSDKCheckpointPB::clear_has_term() { |
6527 | 0 | _has_bits_[0] &= ~0x00000002u; |
6528 | 0 | } |
6529 | 0 | inline void CDCSDKCheckpointPB::clear_term() { |
6530 | 0 | term_ = GOOGLE_LONGLONG(0); |
6531 | 0 | clear_has_term(); |
6532 | 0 | } |
6533 | 1.60k | inline ::google::protobuf::int64 CDCSDKCheckpointPB::term() const { |
6534 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.term) |
6535 | 1.60k | return term_; |
6536 | 1.60k | } |
6537 | 4.48k | inline void CDCSDKCheckpointPB::set_term(::google::protobuf::int64 value) { |
6538 | 4.48k | set_has_term(); |
6539 | 4.48k | term_ = value; |
6540 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.term) |
6541 | 4.48k | } |
6542 | | |
6543 | | // optional int64 index = 2; |
6544 | 638 | inline bool CDCSDKCheckpointPB::has_index() const { |
6545 | 638 | return (_has_bits_[0] & 0x00000004u) != 0; |
6546 | 638 | } |
6547 | 4.49k | inline void CDCSDKCheckpointPB::set_has_index() { |
6548 | 4.49k | _has_bits_[0] |= 0x00000004u; |
6549 | 4.49k | } |
6550 | 0 | inline void CDCSDKCheckpointPB::clear_has_index() { |
6551 | 0 | _has_bits_[0] &= ~0x00000004u; |
6552 | 0 | } |
6553 | 0 | inline void CDCSDKCheckpointPB::clear_index() { |
6554 | 0 | index_ = GOOGLE_LONGLONG(0); |
6555 | 0 | clear_has_index(); |
6556 | 0 | } |
6557 | 1.60k | inline ::google::protobuf::int64 CDCSDKCheckpointPB::index() const { |
6558 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.index) |
6559 | 1.60k | return index_; |
6560 | 1.60k | } |
6561 | 4.48k | inline void CDCSDKCheckpointPB::set_index(::google::protobuf::int64 value) { |
6562 | 4.48k | set_has_index(); |
6563 | 4.48k | index_ = value; |
6564 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.index) |
6565 | 4.48k | } |
6566 | | |
6567 | | // optional bytes key = 3; |
6568 | 638 | inline bool CDCSDKCheckpointPB::has_key() const { |
6569 | 638 | return (_has_bits_[0] & 0x00000001u) != 0; |
6570 | 638 | } |
6571 | 4.53k | inline void CDCSDKCheckpointPB::set_has_key() { |
6572 | 4.53k | _has_bits_[0] |= 0x00000001u; |
6573 | 4.53k | } |
6574 | 0 | inline void CDCSDKCheckpointPB::clear_has_key() { |
6575 | 0 | _has_bits_[0] &= ~0x00000001u; |
6576 | 0 | } |
6577 | 0 | inline void CDCSDKCheckpointPB::clear_key() { |
6578 | 0 | key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6579 | 0 | clear_has_key(); |
6580 | 0 | } |
6581 | 1.29k | inline const ::std::string& CDCSDKCheckpointPB::key() const { |
6582 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.key) |
6583 | 1.29k | return key_.GetNoArena(); |
6584 | 1.29k | } |
6585 | 4.18k | inline void CDCSDKCheckpointPB::set_key(const ::std::string& value) { |
6586 | 4.18k | set_has_key(); |
6587 | 4.18k | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6588 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.key) |
6589 | 4.18k | } |
6590 | | #if LANG_CXX11 |
6591 | 0 | inline void CDCSDKCheckpointPB::set_key(::std::string&& value) { |
6592 | 0 | set_has_key(); |
6593 | 0 | key_.SetNoArena( |
6594 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6595 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCSDKCheckpointPB.key) |
6596 | 0 | } |
6597 | | #endif |
6598 | 0 | inline void CDCSDKCheckpointPB::set_key(const char* value) { |
6599 | 0 | GOOGLE_DCHECK(value != NULL); |
6600 | 0 | set_has_key(); |
6601 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6602 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CDCSDKCheckpointPB.key) |
6603 | 0 | } |
6604 | 0 | inline void CDCSDKCheckpointPB::set_key(const void* value, size_t size) { |
6605 | 0 | set_has_key(); |
6606 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6607 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6608 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCSDKCheckpointPB.key) |
6609 | 0 | } |
6610 | 18 | inline ::std::string* CDCSDKCheckpointPB::mutable_key() { |
6611 | 18 | set_has_key(); |
6612 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKCheckpointPB.key) |
6613 | 18 | return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6614 | 18 | } |
6615 | 0 | inline ::std::string* CDCSDKCheckpointPB::release_key() { |
6616 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKCheckpointPB.key) |
6617 | 0 | clear_has_key(); |
6618 | 0 | return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6619 | 0 | } |
6620 | 0 | inline void CDCSDKCheckpointPB::set_allocated_key(::std::string* key) { |
6621 | 0 | if (key != NULL) { |
6622 | 0 | set_has_key(); |
6623 | 0 | } else { |
6624 | 0 | clear_has_key(); |
6625 | 0 | } |
6626 | 0 | key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); |
6627 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKCheckpointPB.key) |
6628 | 0 | } |
6629 | | |
6630 | | // optional int32 write_id = 4 [default = 0]; |
6631 | 638 | inline bool CDCSDKCheckpointPB::has_write_id() const { |
6632 | 638 | return (_has_bits_[0] & 0x00000010u) != 0; |
6633 | 638 | } |
6634 | 4.20k | inline void CDCSDKCheckpointPB::set_has_write_id() { |
6635 | 4.20k | _has_bits_[0] |= 0x00000010u; |
6636 | 4.20k | } |
6637 | 0 | inline void CDCSDKCheckpointPB::clear_has_write_id() { |
6638 | 0 | _has_bits_[0] &= ~0x00000010u; |
6639 | 0 | } |
6640 | 0 | inline void CDCSDKCheckpointPB::clear_write_id() { |
6641 | 0 | write_id_ = 0; |
6642 | 0 | clear_has_write_id(); |
6643 | 0 | } |
6644 | 1.60k | inline ::google::protobuf::int32 CDCSDKCheckpointPB::write_id() const { |
6645 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.write_id) |
6646 | 1.60k | return write_id_; |
6647 | 1.60k | } |
6648 | 4.18k | inline void CDCSDKCheckpointPB::set_write_id(::google::protobuf::int32 value) { |
6649 | 4.18k | set_has_write_id(); |
6650 | 4.18k | write_id_ = value; |
6651 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.write_id) |
6652 | 4.18k | } |
6653 | | |
6654 | | // optional uint64 snapshot_time = 5; |
6655 | 638 | inline bool CDCSDKCheckpointPB::has_snapshot_time() const { |
6656 | 638 | return (_has_bits_[0] & 0x00000008u) != 0; |
6657 | 638 | } |
6658 | 4.12k | inline void CDCSDKCheckpointPB::set_has_snapshot_time() { |
6659 | 4.12k | _has_bits_[0] |= 0x00000008u; |
6660 | 4.12k | } |
6661 | 0 | inline void CDCSDKCheckpointPB::clear_has_snapshot_time() { |
6662 | 0 | _has_bits_[0] &= ~0x00000008u; |
6663 | 0 | } |
6664 | 0 | inline void CDCSDKCheckpointPB::clear_snapshot_time() { |
6665 | 0 | snapshot_time_ = GOOGLE_ULONGLONG(0); |
6666 | 0 | clear_has_snapshot_time(); |
6667 | 0 | } |
6668 | 987 | inline ::google::protobuf::uint64 CDCSDKCheckpointPB::snapshot_time() const { |
6669 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKCheckpointPB.snapshot_time) |
6670 | 987 | return snapshot_time_; |
6671 | 987 | } |
6672 | 4.10k | inline void CDCSDKCheckpointPB::set_snapshot_time(::google::protobuf::uint64 value) { |
6673 | 4.10k | set_has_snapshot_time(); |
6674 | 4.10k | snapshot_time_ = value; |
6675 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKCheckpointPB.snapshot_time) |
6676 | 4.10k | } |
6677 | | |
6678 | | // ------------------------------------------------------------------- |
6679 | | |
6680 | | // CDCCheckpointPB |
6681 | | |
6682 | | // optional .yb.OpIdPB op_id = 1; |
6683 | 945 | inline bool CDCCheckpointPB::has_op_id() const { |
6684 | 945 | return (_has_bits_[0] & 0x00000001u) != 0; |
6685 | 945 | } |
6686 | 624 | inline void CDCCheckpointPB::set_has_op_id() { |
6687 | 624 | _has_bits_[0] |= 0x00000001u; |
6688 | 624 | } |
6689 | 0 | inline void CDCCheckpointPB::clear_has_op_id() { |
6690 | 0 | _has_bits_[0] &= ~0x00000001u; |
6691 | 0 | } |
6692 | 633 | inline const ::yb::OpIdPB& CDCCheckpointPB::op_id() const { |
6693 | 633 | const ::yb::OpIdPB* p = op_id_; |
6694 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCCheckpointPB.op_id) |
6695 | 633 | return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>( |
6696 | 0 | &::yb::_OpIdPB_default_instance_); |
6697 | 633 | } |
6698 | 0 | inline ::yb::OpIdPB* CDCCheckpointPB::release_op_id() { |
6699 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCCheckpointPB.op_id) |
6700 | 0 | clear_has_op_id(); |
6701 | 0 | ::yb::OpIdPB* temp = op_id_; |
6702 | 0 | op_id_ = NULL; |
6703 | 0 | return temp; |
6704 | 0 | } |
6705 | 624 | inline ::yb::OpIdPB* CDCCheckpointPB::mutable_op_id() { |
6706 | 624 | set_has_op_id(); |
6707 | 624 | if (op_id_ == NULL) { |
6708 | 317 | op_id_ = new ::yb::OpIdPB; |
6709 | 317 | } |
6710 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCCheckpointPB.op_id) |
6711 | 624 | return op_id_; |
6712 | 624 | } |
6713 | 0 | inline void CDCCheckpointPB::set_allocated_op_id(::yb::OpIdPB* op_id) { |
6714 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6715 | 0 | if (message_arena == NULL) { |
6716 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(op_id_); |
6717 | 0 | } |
6718 | 0 | if (op_id) { |
6719 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6720 | 0 | if (message_arena != submessage_arena) { |
6721 | 0 | op_id = ::google::protobuf::internal::GetOwnedMessage( |
6722 | 0 | message_arena, op_id, submessage_arena); |
6723 | 0 | } |
6724 | 0 | set_has_op_id(); |
6725 | 0 | } else { |
6726 | 0 | clear_has_op_id(); |
6727 | 0 | } |
6728 | 0 | op_id_ = op_id; |
6729 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCCheckpointPB.op_id) |
6730 | 0 | } |
6731 | | |
6732 | | // ------------------------------------------------------------------- |
6733 | | |
6734 | | // GetChangesRequestPB |
6735 | | |
6736 | | // optional bytes stream_id = 1; |
6737 | 320 | inline bool GetChangesRequestPB::has_stream_id() const { |
6738 | 320 | return (_has_bits_[0] & 0x00000001u) != 0; |
6739 | 320 | } |
6740 | 0 | inline void GetChangesRequestPB::set_has_stream_id() { |
6741 | 0 | _has_bits_[0] |= 0x00000001u; |
6742 | 0 | } |
6743 | 0 | inline void GetChangesRequestPB::clear_has_stream_id() { |
6744 | 0 | _has_bits_[0] &= ~0x00000001u; |
6745 | 0 | } |
6746 | 0 | inline void GetChangesRequestPB::clear_stream_id() { |
6747 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6748 | 0 | clear_has_stream_id(); |
6749 | 0 | } |
6750 | 319 | inline const ::std::string& GetChangesRequestPB::stream_id() const { |
6751 | | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.stream_id) |
6752 | 319 | return stream_id_.GetNoArena(); |
6753 | 319 | } |
6754 | 0 | inline void GetChangesRequestPB::set_stream_id(const ::std::string& value) { |
6755 | 0 | set_has_stream_id(); |
6756 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6757 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.stream_id) |
6758 | 0 | } |
6759 | | #if LANG_CXX11 |
6760 | 0 | inline void GetChangesRequestPB::set_stream_id(::std::string&& value) { |
6761 | 0 | set_has_stream_id(); |
6762 | 0 | stream_id_.SetNoArena( |
6763 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6764 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.stream_id) |
6765 | 0 | } |
6766 | | #endif |
6767 | 0 | inline void GetChangesRequestPB::set_stream_id(const char* value) { |
6768 | 0 | GOOGLE_DCHECK(value != NULL); |
6769 | 0 | set_has_stream_id(); |
6770 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6771 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.stream_id) |
6772 | 0 | } |
6773 | 0 | inline void GetChangesRequestPB::set_stream_id(const void* value, size_t size) { |
6774 | 0 | set_has_stream_id(); |
6775 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6776 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6777 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.stream_id) |
6778 | 0 | } |
6779 | 0 | inline ::std::string* GetChangesRequestPB::mutable_stream_id() { |
6780 | 0 | set_has_stream_id(); |
6781 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.stream_id) |
6782 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6783 | 0 | } |
6784 | 0 | inline ::std::string* GetChangesRequestPB::release_stream_id() { |
6785 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.stream_id) |
6786 | 0 | clear_has_stream_id(); |
6787 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6788 | 0 | } |
6789 | 0 | inline void GetChangesRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
6790 | 0 | if (stream_id != NULL) { |
6791 | 0 | set_has_stream_id(); |
6792 | 0 | } else { |
6793 | 0 | clear_has_stream_id(); |
6794 | 0 | } |
6795 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
6796 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.stream_id) |
6797 | 0 | } |
6798 | | |
6799 | | // optional bytes tablet_id = 2; |
6800 | 320 | inline bool GetChangesRequestPB::has_tablet_id() const { |
6801 | 320 | return (_has_bits_[0] & 0x00000002u) != 0; |
6802 | 320 | } |
6803 | 320 | inline void GetChangesRequestPB::set_has_tablet_id() { |
6804 | 320 | _has_bits_[0] |= 0x00000002u; |
6805 | 320 | } |
6806 | 0 | inline void GetChangesRequestPB::clear_has_tablet_id() { |
6807 | 0 | _has_bits_[0] &= ~0x00000002u; |
6808 | 0 | } |
6809 | 0 | inline void GetChangesRequestPB::clear_tablet_id() { |
6810 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6811 | 0 | clear_has_tablet_id(); |
6812 | 0 | } |
6813 | 1.91k | inline const ::std::string& GetChangesRequestPB::tablet_id() const { |
6814 | | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.tablet_id) |
6815 | 1.91k | return tablet_id_.GetNoArena(); |
6816 | 1.91k | } |
6817 | 0 | inline void GetChangesRequestPB::set_tablet_id(const ::std::string& value) { |
6818 | 0 | set_has_tablet_id(); |
6819 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6820 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.tablet_id) |
6821 | 0 | } |
6822 | | #if LANG_CXX11 |
6823 | 0 | inline void GetChangesRequestPB::set_tablet_id(::std::string&& value) { |
6824 | 0 | set_has_tablet_id(); |
6825 | 0 | tablet_id_.SetNoArena( |
6826 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6827 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.tablet_id) |
6828 | 0 | } |
6829 | | #endif |
6830 | 0 | inline void GetChangesRequestPB::set_tablet_id(const char* value) { |
6831 | 0 | GOOGLE_DCHECK(value != NULL); |
6832 | 0 | set_has_tablet_id(); |
6833 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6834 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.tablet_id) |
6835 | 0 | } |
6836 | 0 | inline void GetChangesRequestPB::set_tablet_id(const void* value, size_t size) { |
6837 | 0 | set_has_tablet_id(); |
6838 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6839 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6840 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.tablet_id) |
6841 | 0 | } |
6842 | 320 | inline ::std::string* GetChangesRequestPB::mutable_tablet_id() { |
6843 | 320 | set_has_tablet_id(); |
6844 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.tablet_id) |
6845 | 320 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6846 | 320 | } |
6847 | 0 | inline ::std::string* GetChangesRequestPB::release_tablet_id() { |
6848 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.tablet_id) |
6849 | 0 | clear_has_tablet_id(); |
6850 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6851 | 0 | } |
6852 | 0 | inline void GetChangesRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
6853 | 0 | if (tablet_id != NULL) { |
6854 | 0 | set_has_tablet_id(); |
6855 | 0 | } else { |
6856 | 0 | clear_has_tablet_id(); |
6857 | 0 | } |
6858 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
6859 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.tablet_id) |
6860 | 0 | } |
6861 | | |
6862 | | // optional .yb.cdc.CDCCheckpointPB from_checkpoint = 3; |
6863 | 639 | inline bool GetChangesRequestPB::has_from_checkpoint() const { |
6864 | 639 | return (_has_bits_[0] & 0x00000010u) != 0; |
6865 | 639 | } |
6866 | 0 | inline void GetChangesRequestPB::set_has_from_checkpoint() { |
6867 | 0 | _has_bits_[0] |= 0x00000010u; |
6868 | 0 | } |
6869 | 0 | inline void GetChangesRequestPB::clear_has_from_checkpoint() { |
6870 | 0 | _has_bits_[0] &= ~0x00000010u; |
6871 | 0 | } |
6872 | 0 | inline void GetChangesRequestPB::clear_from_checkpoint() { |
6873 | 0 | if (from_checkpoint_ != NULL) from_checkpoint_->Clear(); |
6874 | 0 | clear_has_from_checkpoint(); |
6875 | 0 | } |
6876 | 0 | inline const ::yb::cdc::CDCCheckpointPB& GetChangesRequestPB::from_checkpoint() const { |
6877 | 0 | const ::yb::cdc::CDCCheckpointPB* p = from_checkpoint_; |
6878 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.from_checkpoint) |
6879 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>( |
6880 | 0 | &::yb::cdc::_CDCCheckpointPB_default_instance_); |
6881 | 0 | } |
6882 | 0 | inline ::yb::cdc::CDCCheckpointPB* GetChangesRequestPB::release_from_checkpoint() { |
6883 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.from_checkpoint) |
6884 | 0 | clear_has_from_checkpoint(); |
6885 | 0 | ::yb::cdc::CDCCheckpointPB* temp = from_checkpoint_; |
6886 | 0 | from_checkpoint_ = NULL; |
6887 | 0 | return temp; |
6888 | 0 | } |
6889 | 0 | inline ::yb::cdc::CDCCheckpointPB* GetChangesRequestPB::mutable_from_checkpoint() { |
6890 | 0 | set_has_from_checkpoint(); |
6891 | 0 | if (from_checkpoint_ == NULL) { |
6892 | 0 | from_checkpoint_ = new ::yb::cdc::CDCCheckpointPB; |
6893 | 0 | } |
6894 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.from_checkpoint) |
6895 | 0 | return from_checkpoint_; |
6896 | 0 | } |
6897 | 0 | inline void GetChangesRequestPB::set_allocated_from_checkpoint(::yb::cdc::CDCCheckpointPB* from_checkpoint) { |
6898 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6899 | 0 | if (message_arena == NULL) { |
6900 | 0 | delete from_checkpoint_; |
6901 | 0 | } |
6902 | 0 | if (from_checkpoint) { |
6903 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6904 | 0 | if (message_arena != submessage_arena) { |
6905 | 0 | from_checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
6906 | 0 | message_arena, from_checkpoint, submessage_arena); |
6907 | 0 | } |
6908 | 0 | set_has_from_checkpoint(); |
6909 | 0 | } else { |
6910 | 0 | clear_has_from_checkpoint(); |
6911 | 0 | } |
6912 | 0 | from_checkpoint_ = from_checkpoint; |
6913 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.from_checkpoint) |
6914 | 0 | } |
6915 | | |
6916 | | // optional uint32 max_records = 4; |
6917 | 0 | inline bool GetChangesRequestPB::has_max_records() const { |
6918 | 0 | return (_has_bits_[0] & 0x00000040u) != 0; |
6919 | 0 | } |
6920 | 0 | inline void GetChangesRequestPB::set_has_max_records() { |
6921 | 0 | _has_bits_[0] |= 0x00000040u; |
6922 | 0 | } |
6923 | 0 | inline void GetChangesRequestPB::clear_has_max_records() { |
6924 | 0 | _has_bits_[0] &= ~0x00000040u; |
6925 | 0 | } |
6926 | 0 | inline void GetChangesRequestPB::clear_max_records() { |
6927 | 0 | max_records_ = 0u; |
6928 | 0 | clear_has_max_records(); |
6929 | 0 | } |
6930 | 0 | inline ::google::protobuf::uint32 GetChangesRequestPB::max_records() const { |
6931 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.max_records) |
6932 | 0 | return max_records_; |
6933 | 0 | } |
6934 | 0 | inline void GetChangesRequestPB::set_max_records(::google::protobuf::uint32 value) { |
6935 | 0 | set_has_max_records(); |
6936 | 0 | max_records_ = value; |
6937 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.max_records) |
6938 | 0 | } |
6939 | | |
6940 | | // optional bool serve_as_proxy = 5 [default = true]; |
6941 | 0 | inline bool GetChangesRequestPB::has_serve_as_proxy() const { |
6942 | 0 | return (_has_bits_[0] & 0x00000080u) != 0; |
6943 | 0 | } |
6944 | 0 | inline void GetChangesRequestPB::set_has_serve_as_proxy() { |
6945 | 0 | _has_bits_[0] |= 0x00000080u; |
6946 | 0 | } |
6947 | 0 | inline void GetChangesRequestPB::clear_has_serve_as_proxy() { |
6948 | 0 | _has_bits_[0] &= ~0x00000080u; |
6949 | 0 | } |
6950 | 0 | inline void GetChangesRequestPB::clear_serve_as_proxy() { |
6951 | 0 | serve_as_proxy_ = true; |
6952 | 0 | clear_has_serve_as_proxy(); |
6953 | 0 | } |
6954 | 0 | inline bool GetChangesRequestPB::serve_as_proxy() const { |
6955 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.serve_as_proxy) |
6956 | 0 | return serve_as_proxy_; |
6957 | 0 | } |
6958 | 0 | inline void GetChangesRequestPB::set_serve_as_proxy(bool value) { |
6959 | 0 | set_has_serve_as_proxy(); |
6960 | 0 | serve_as_proxy_ = value; |
6961 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.serve_as_proxy) |
6962 | 0 | } |
6963 | | |
6964 | | // optional bytes db_stream_id = 6; |
6965 | 640 | inline bool GetChangesRequestPB::has_db_stream_id() const { |
6966 | 640 | return (_has_bits_[0] & 0x00000004u) != 0; |
6967 | 640 | } |
6968 | 320 | inline void GetChangesRequestPB::set_has_db_stream_id() { |
6969 | 320 | _has_bits_[0] |= 0x00000004u; |
6970 | 320 | } |
6971 | 0 | inline void GetChangesRequestPB::clear_has_db_stream_id() { |
6972 | 0 | _has_bits_[0] &= ~0x00000004u; |
6973 | 0 | } |
6974 | 0 | inline void GetChangesRequestPB::clear_db_stream_id() { |
6975 | 0 | db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6976 | 0 | clear_has_db_stream_id(); |
6977 | 0 | } |
6978 | 320 | inline const ::std::string& GetChangesRequestPB::db_stream_id() const { |
6979 | | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.db_stream_id) |
6980 | 320 | return db_stream_id_.GetNoArena(); |
6981 | 320 | } |
6982 | 0 | inline void GetChangesRequestPB::set_db_stream_id(const ::std::string& value) { |
6983 | 0 | set_has_db_stream_id(); |
6984 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6985 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.db_stream_id) |
6986 | 0 | } |
6987 | | #if LANG_CXX11 |
6988 | 0 | inline void GetChangesRequestPB::set_db_stream_id(::std::string&& value) { |
6989 | 0 | set_has_db_stream_id(); |
6990 | 0 | db_stream_id_.SetNoArena( |
6991 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6992 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.db_stream_id) |
6993 | 0 | } |
6994 | | #endif |
6995 | 0 | inline void GetChangesRequestPB::set_db_stream_id(const char* value) { |
6996 | 0 | GOOGLE_DCHECK(value != NULL); |
6997 | 0 | set_has_db_stream_id(); |
6998 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6999 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.db_stream_id) |
7000 | 0 | } |
7001 | 0 | inline void GetChangesRequestPB::set_db_stream_id(const void* value, size_t size) { |
7002 | 0 | set_has_db_stream_id(); |
7003 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7004 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7005 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.db_stream_id) |
7006 | 0 | } |
7007 | 320 | inline ::std::string* GetChangesRequestPB::mutable_db_stream_id() { |
7008 | 320 | set_has_db_stream_id(); |
7009 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.db_stream_id) |
7010 | 320 | return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7011 | 320 | } |
7012 | 0 | inline ::std::string* GetChangesRequestPB::release_db_stream_id() { |
7013 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.db_stream_id) |
7014 | 0 | clear_has_db_stream_id(); |
7015 | 0 | return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7016 | 0 | } |
7017 | 0 | inline void GetChangesRequestPB::set_allocated_db_stream_id(::std::string* db_stream_id) { |
7018 | 0 | if (db_stream_id != NULL) { |
7019 | 0 | set_has_db_stream_id(); |
7020 | 0 | } else { |
7021 | 0 | clear_has_db_stream_id(); |
7022 | 0 | } |
7023 | 0 | db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id); |
7024 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.db_stream_id) |
7025 | 0 | } |
7026 | | |
7027 | | // optional bytes table_id = 7; |
7028 | 0 | inline bool GetChangesRequestPB::has_table_id() const { |
7029 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
7030 | 0 | } |
7031 | 0 | inline void GetChangesRequestPB::set_has_table_id() { |
7032 | 0 | _has_bits_[0] |= 0x00000008u; |
7033 | 0 | } |
7034 | 0 | inline void GetChangesRequestPB::clear_has_table_id() { |
7035 | 0 | _has_bits_[0] &= ~0x00000008u; |
7036 | 0 | } |
7037 | 0 | inline void GetChangesRequestPB::clear_table_id() { |
7038 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7039 | 0 | clear_has_table_id(); |
7040 | 0 | } |
7041 | 0 | inline const ::std::string& GetChangesRequestPB::table_id() const { |
7042 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.table_id) |
7043 | 0 | return table_id_.GetNoArena(); |
7044 | 0 | } |
7045 | 0 | inline void GetChangesRequestPB::set_table_id(const ::std::string& value) { |
7046 | 0 | set_has_table_id(); |
7047 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7048 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesRequestPB.table_id) |
7049 | 0 | } |
7050 | | #if LANG_CXX11 |
7051 | 0 | inline void GetChangesRequestPB::set_table_id(::std::string&& value) { |
7052 | 0 | set_has_table_id(); |
7053 | 0 | table_id_.SetNoArena( |
7054 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7055 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetChangesRequestPB.table_id) |
7056 | 0 | } |
7057 | | #endif |
7058 | 0 | inline void GetChangesRequestPB::set_table_id(const char* value) { |
7059 | 0 | GOOGLE_DCHECK(value != NULL); |
7060 | 0 | set_has_table_id(); |
7061 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7062 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetChangesRequestPB.table_id) |
7063 | 0 | } |
7064 | 0 | inline void GetChangesRequestPB::set_table_id(const void* value, size_t size) { |
7065 | 0 | set_has_table_id(); |
7066 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7067 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7068 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetChangesRequestPB.table_id) |
7069 | 0 | } |
7070 | 0 | inline ::std::string* GetChangesRequestPB::mutable_table_id() { |
7071 | 0 | set_has_table_id(); |
7072 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.table_id) |
7073 | 0 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7074 | 0 | } |
7075 | 0 | inline ::std::string* GetChangesRequestPB::release_table_id() { |
7076 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.table_id) |
7077 | 0 | clear_has_table_id(); |
7078 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7079 | 0 | } |
7080 | 0 | inline void GetChangesRequestPB::set_allocated_table_id(::std::string* table_id) { |
7081 | 0 | if (table_id != NULL) { |
7082 | 0 | set_has_table_id(); |
7083 | 0 | } else { |
7084 | 0 | clear_has_table_id(); |
7085 | 0 | } |
7086 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
7087 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.table_id) |
7088 | 0 | } |
7089 | | |
7090 | | // optional .yb.cdc.CDCSDKCheckpointPB from_cdc_sdk_checkpoint = 8; |
7091 | 319 | inline bool GetChangesRequestPB::has_from_cdc_sdk_checkpoint() const { |
7092 | 319 | return (_has_bits_[0] & 0x00000020u) != 0; |
7093 | 319 | } |
7094 | 18 | inline void GetChangesRequestPB::set_has_from_cdc_sdk_checkpoint() { |
7095 | 18 | _has_bits_[0] |= 0x00000020u; |
7096 | 18 | } |
7097 | 0 | inline void GetChangesRequestPB::clear_has_from_cdc_sdk_checkpoint() { |
7098 | 0 | _has_bits_[0] &= ~0x00000020u; |
7099 | 0 | } |
7100 | 0 | inline void GetChangesRequestPB::clear_from_cdc_sdk_checkpoint() { |
7101 | 0 | if (from_cdc_sdk_checkpoint_ != NULL) from_cdc_sdk_checkpoint_->Clear(); |
7102 | 0 | clear_has_from_cdc_sdk_checkpoint(); |
7103 | 0 | } |
7104 | 18 | inline const ::yb::cdc::CDCSDKCheckpointPB& GetChangesRequestPB::from_cdc_sdk_checkpoint() const { |
7105 | 18 | const ::yb::cdc::CDCSDKCheckpointPB* p = from_cdc_sdk_checkpoint_; |
7106 | | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint) |
7107 | 18 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKCheckpointPB*>( |
7108 | 0 | &::yb::cdc::_CDCSDKCheckpointPB_default_instance_); |
7109 | 18 | } |
7110 | 0 | inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesRequestPB::release_from_cdc_sdk_checkpoint() { |
7111 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint) |
7112 | 0 | clear_has_from_cdc_sdk_checkpoint(); |
7113 | 0 | ::yb::cdc::CDCSDKCheckpointPB* temp = from_cdc_sdk_checkpoint_; |
7114 | 0 | from_cdc_sdk_checkpoint_ = NULL; |
7115 | 0 | return temp; |
7116 | 0 | } |
7117 | 18 | inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesRequestPB::mutable_from_cdc_sdk_checkpoint() { |
7118 | 18 | set_has_from_cdc_sdk_checkpoint(); |
7119 | 18 | if (from_cdc_sdk_checkpoint_ == NULL) { |
7120 | 18 | from_cdc_sdk_checkpoint_ = new ::yb::cdc::CDCSDKCheckpointPB; |
7121 | 18 | } |
7122 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint) |
7123 | 18 | return from_cdc_sdk_checkpoint_; |
7124 | 18 | } |
7125 | 0 | inline void GetChangesRequestPB::set_allocated_from_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* from_cdc_sdk_checkpoint) { |
7126 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7127 | 0 | if (message_arena == NULL) { |
7128 | 0 | delete from_cdc_sdk_checkpoint_; |
7129 | 0 | } |
7130 | 0 | if (from_cdc_sdk_checkpoint) { |
7131 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7132 | 0 | if (message_arena != submessage_arena) { |
7133 | 0 | from_cdc_sdk_checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
7134 | 0 | message_arena, from_cdc_sdk_checkpoint, submessage_arena); |
7135 | 0 | } |
7136 | 0 | set_has_from_cdc_sdk_checkpoint(); |
7137 | 0 | } else { |
7138 | 0 | clear_has_from_cdc_sdk_checkpoint(); |
7139 | 0 | } |
7140 | 0 | from_cdc_sdk_checkpoint_ = from_cdc_sdk_checkpoint; |
7141 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesRequestPB.from_cdc_sdk_checkpoint) |
7142 | 0 | } |
7143 | | |
7144 | | // ------------------------------------------------------------------- |
7145 | | |
7146 | | // KeyValuePairPB |
7147 | | |
7148 | | // optional bytes key = 1; |
7149 | 0 | inline bool KeyValuePairPB::has_key() const { |
7150 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7151 | 0 | } |
7152 | 0 | inline void KeyValuePairPB::set_has_key() { |
7153 | 0 | _has_bits_[0] |= 0x00000001u; |
7154 | 0 | } |
7155 | 0 | inline void KeyValuePairPB::clear_has_key() { |
7156 | 0 | _has_bits_[0] &= ~0x00000001u; |
7157 | 0 | } |
7158 | 0 | inline void KeyValuePairPB::clear_key() { |
7159 | 0 | key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7160 | 0 | clear_has_key(); |
7161 | 0 | } |
7162 | 0 | inline const ::std::string& KeyValuePairPB::key() const { |
7163 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.KeyValuePairPB.key) |
7164 | 0 | return key_.GetNoArena(); |
7165 | 0 | } |
7166 | 0 | inline void KeyValuePairPB::set_key(const ::std::string& value) { |
7167 | 0 | set_has_key(); |
7168 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7169 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.KeyValuePairPB.key) |
7170 | 0 | } |
7171 | | #if LANG_CXX11 |
7172 | 0 | inline void KeyValuePairPB::set_key(::std::string&& value) { |
7173 | 0 | set_has_key(); |
7174 | 0 | key_.SetNoArena( |
7175 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7176 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.KeyValuePairPB.key) |
7177 | 0 | } |
7178 | | #endif |
7179 | 0 | inline void KeyValuePairPB::set_key(const char* value) { |
7180 | 0 | GOOGLE_DCHECK(value != NULL); |
7181 | 0 | set_has_key(); |
7182 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7183 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.KeyValuePairPB.key) |
7184 | 0 | } |
7185 | 0 | inline void KeyValuePairPB::set_key(const void* value, size_t size) { |
7186 | 0 | set_has_key(); |
7187 | 0 | key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7188 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7189 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.KeyValuePairPB.key) |
7190 | 0 | } |
7191 | 0 | inline ::std::string* KeyValuePairPB::mutable_key() { |
7192 | 0 | set_has_key(); |
7193 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.KeyValuePairPB.key) |
7194 | 0 | return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7195 | 0 | } |
7196 | 0 | inline ::std::string* KeyValuePairPB::release_key() { |
7197 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.KeyValuePairPB.key) |
7198 | 0 | clear_has_key(); |
7199 | 0 | return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7200 | 0 | } |
7201 | 0 | inline void KeyValuePairPB::set_allocated_key(::std::string* key) { |
7202 | 0 | if (key != NULL) { |
7203 | 0 | set_has_key(); |
7204 | 0 | } else { |
7205 | 0 | clear_has_key(); |
7206 | 0 | } |
7207 | 0 | key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); |
7208 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.KeyValuePairPB.key) |
7209 | 0 | } |
7210 | | |
7211 | | // optional .yb.QLValuePB value = 2; |
7212 | 0 | inline bool KeyValuePairPB::has_value() const { |
7213 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7214 | 0 | } |
7215 | 0 | inline void KeyValuePairPB::set_has_value() { |
7216 | 0 | _has_bits_[0] |= 0x00000002u; |
7217 | 0 | } |
7218 | 0 | inline void KeyValuePairPB::clear_has_value() { |
7219 | 0 | _has_bits_[0] &= ~0x00000002u; |
7220 | 0 | } |
7221 | 0 | inline const ::yb::QLValuePB& KeyValuePairPB::value() const { |
7222 | 0 | const ::yb::QLValuePB* p = value_; |
7223 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.KeyValuePairPB.value) |
7224 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLValuePB*>( |
7225 | 0 | &::yb::_QLValuePB_default_instance_); |
7226 | 0 | } |
7227 | 0 | inline ::yb::QLValuePB* KeyValuePairPB::release_value() { |
7228 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.KeyValuePairPB.value) |
7229 | 0 | clear_has_value(); |
7230 | 0 | ::yb::QLValuePB* temp = value_; |
7231 | 0 | value_ = NULL; |
7232 | 0 | return temp; |
7233 | 0 | } |
7234 | 0 | inline ::yb::QLValuePB* KeyValuePairPB::mutable_value() { |
7235 | 0 | set_has_value(); |
7236 | 0 | if (value_ == NULL) { |
7237 | 0 | value_ = new ::yb::QLValuePB; |
7238 | 0 | } |
7239 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.KeyValuePairPB.value) |
7240 | 0 | return value_; |
7241 | 0 | } |
7242 | 0 | inline void KeyValuePairPB::set_allocated_value(::yb::QLValuePB* value) { |
7243 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7244 | 0 | if (message_arena == NULL) { |
7245 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_); |
7246 | 0 | } |
7247 | 0 | if (value) { |
7248 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7249 | 0 | if (message_arena != submessage_arena) { |
7250 | 0 | value = ::google::protobuf::internal::GetOwnedMessage( |
7251 | 0 | message_arena, value, submessage_arena); |
7252 | 0 | } |
7253 | 0 | set_has_value(); |
7254 | 0 | } else { |
7255 | 0 | clear_has_value(); |
7256 | 0 | } |
7257 | 0 | value_ = value; |
7258 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.KeyValuePairPB.value) |
7259 | 0 | } |
7260 | | |
7261 | | // ------------------------------------------------------------------- |
7262 | | |
7263 | | // CDCRecordPB |
7264 | | |
7265 | | // optional uint64 time = 1; |
7266 | 0 | inline bool CDCRecordPB::has_time() const { |
7267 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
7268 | 0 | } |
7269 | 0 | inline void CDCRecordPB::set_has_time() { |
7270 | 0 | _has_bits_[0] |= 0x00000008u; |
7271 | 0 | } |
7272 | 0 | inline void CDCRecordPB::clear_has_time() { |
7273 | 0 | _has_bits_[0] &= ~0x00000008u; |
7274 | 0 | } |
7275 | 0 | inline void CDCRecordPB::clear_time() { |
7276 | 0 | time_ = GOOGLE_ULONGLONG(0); |
7277 | 0 | clear_has_time(); |
7278 | 0 | } |
7279 | 0 | inline ::google::protobuf::uint64 CDCRecordPB::time() const { |
7280 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.time) |
7281 | 0 | return time_; |
7282 | 0 | } |
7283 | 0 | inline void CDCRecordPB::set_time(::google::protobuf::uint64 value) { |
7284 | 0 | set_has_time(); |
7285 | 0 | time_ = value; |
7286 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.CDCRecordPB.time) |
7287 | 0 | } |
7288 | | |
7289 | | // optional .yb.cdc.CDCRecordPB.OperationType operation = 2; |
7290 | 0 | inline bool CDCRecordPB::has_operation() const { |
7291 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
7292 | 0 | } |
7293 | 0 | inline void CDCRecordPB::set_has_operation() { |
7294 | 0 | _has_bits_[0] |= 0x00000010u; |
7295 | 0 | } |
7296 | 0 | inline void CDCRecordPB::clear_has_operation() { |
7297 | 0 | _has_bits_[0] &= ~0x00000010u; |
7298 | 0 | } |
7299 | 0 | inline void CDCRecordPB::clear_operation() { |
7300 | 0 | operation_ = 1; |
7301 | 0 | clear_has_operation(); |
7302 | 0 | } |
7303 | 0 | inline ::yb::cdc::CDCRecordPB_OperationType CDCRecordPB::operation() const { |
7304 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.operation) |
7305 | 0 | return static_cast< ::yb::cdc::CDCRecordPB_OperationType >(operation_); |
7306 | 0 | } |
7307 | 0 | inline void CDCRecordPB::set_operation(::yb::cdc::CDCRecordPB_OperationType value) { |
7308 | 0 | assert(::yb::cdc::CDCRecordPB_OperationType_IsValid(value)); |
7309 | 0 | set_has_operation(); |
7310 | 0 | operation_ = value; |
7311 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.CDCRecordPB.operation) |
7312 | 0 | } |
7313 | | |
7314 | | // repeated .yb.cdc.KeyValuePairPB key = 3; |
7315 | 0 | inline int CDCRecordPB::key_size() const { |
7316 | 0 | return key_.size(); |
7317 | 0 | } |
7318 | 0 | inline void CDCRecordPB::clear_key() { |
7319 | 0 | key_.Clear(); |
7320 | 0 | } |
7321 | 0 | inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::key(int index) const { |
7322 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.key) |
7323 | 0 | return key_.Get(index); |
7324 | 0 | } |
7325 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_key(int index) { |
7326 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.key) |
7327 | 0 | return key_.Mutable(index); |
7328 | 0 | } |
7329 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_key() { |
7330 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.key) |
7331 | 0 | return key_.Add(); |
7332 | 0 | } |
7333 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >* |
7334 | 0 | CDCRecordPB::mutable_key() { |
7335 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.key) |
7336 | 0 | return &key_; |
7337 | 0 | } |
7338 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >& |
7339 | 0 | CDCRecordPB::key() const { |
7340 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.key) |
7341 | 0 | return key_; |
7342 | 0 | } |
7343 | | |
7344 | | // repeated .yb.cdc.KeyValuePairPB changes = 4; |
7345 | 0 | inline int CDCRecordPB::changes_size() const { |
7346 | 0 | return changes_.size(); |
7347 | 0 | } |
7348 | 0 | inline void CDCRecordPB::clear_changes() { |
7349 | 0 | changes_.Clear(); |
7350 | 0 | } |
7351 | 0 | inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::changes(int index) const { |
7352 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.changes) |
7353 | 0 | return changes_.Get(index); |
7354 | 0 | } |
7355 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_changes(int index) { |
7356 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.changes) |
7357 | 0 | return changes_.Mutable(index); |
7358 | 0 | } |
7359 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_changes() { |
7360 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.changes) |
7361 | 0 | return changes_.Add(); |
7362 | 0 | } |
7363 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >* |
7364 | 0 | CDCRecordPB::mutable_changes() { |
7365 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.changes) |
7366 | 0 | return &changes_; |
7367 | 0 | } |
7368 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >& |
7369 | 0 | CDCRecordPB::changes() const { |
7370 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.changes) |
7371 | 0 | return changes_; |
7372 | 0 | } |
7373 | | |
7374 | | // repeated .yb.cdc.KeyValuePairPB before = 5; |
7375 | 0 | inline int CDCRecordPB::before_size() const { |
7376 | 0 | return before_.size(); |
7377 | 0 | } |
7378 | 0 | inline void CDCRecordPB::clear_before() { |
7379 | 0 | before_.Clear(); |
7380 | 0 | } |
7381 | 0 | inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::before(int index) const { |
7382 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.before) |
7383 | 0 | return before_.Get(index); |
7384 | 0 | } |
7385 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_before(int index) { |
7386 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.before) |
7387 | 0 | return before_.Mutable(index); |
7388 | 0 | } |
7389 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_before() { |
7390 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.before) |
7391 | 0 | return before_.Add(); |
7392 | 0 | } |
7393 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >* |
7394 | 0 | CDCRecordPB::mutable_before() { |
7395 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.before) |
7396 | 0 | return &before_; |
7397 | 0 | } |
7398 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >& |
7399 | 0 | CDCRecordPB::before() const { |
7400 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.before) |
7401 | 0 | return before_; |
7402 | 0 | } |
7403 | | |
7404 | | // repeated .yb.cdc.KeyValuePairPB after = 6; |
7405 | 0 | inline int CDCRecordPB::after_size() const { |
7406 | 0 | return after_.size(); |
7407 | 0 | } |
7408 | 0 | inline void CDCRecordPB::clear_after() { |
7409 | 0 | after_.Clear(); |
7410 | 0 | } |
7411 | 0 | inline const ::yb::cdc::KeyValuePairPB& CDCRecordPB::after(int index) const { |
7412 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.after) |
7413 | 0 | return after_.Get(index); |
7414 | 0 | } |
7415 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::mutable_after(int index) { |
7416 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.after) |
7417 | 0 | return after_.Mutable(index); |
7418 | 0 | } |
7419 | 0 | inline ::yb::cdc::KeyValuePairPB* CDCRecordPB::add_after() { |
7420 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.CDCRecordPB.after) |
7421 | 0 | return after_.Add(); |
7422 | 0 | } |
7423 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >* |
7424 | 0 | CDCRecordPB::mutable_after() { |
7425 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCRecordPB.after) |
7426 | 0 | return &after_; |
7427 | 0 | } |
7428 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::KeyValuePairPB >& |
7429 | 0 | CDCRecordPB::after() const { |
7430 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCRecordPB.after) |
7431 | 0 | return after_; |
7432 | 0 | } |
7433 | | |
7434 | | // optional .yb.tablet.TransactionStatePB transaction_state = 7; |
7435 | 0 | inline bool CDCRecordPB::has_transaction_state() const { |
7436 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7437 | 0 | } |
7438 | 0 | inline void CDCRecordPB::set_has_transaction_state() { |
7439 | 0 | _has_bits_[0] |= 0x00000001u; |
7440 | 0 | } |
7441 | 0 | inline void CDCRecordPB::clear_has_transaction_state() { |
7442 | 0 | _has_bits_[0] &= ~0x00000001u; |
7443 | 0 | } |
7444 | 0 | inline const ::yb::tablet::TransactionStatePB& CDCRecordPB::transaction_state() const { |
7445 | 0 | const ::yb::tablet::TransactionStatePB* p = transaction_state_; |
7446 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.transaction_state) |
7447 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::TransactionStatePB*>( |
7448 | 0 | &::yb::tablet::_TransactionStatePB_default_instance_); |
7449 | 0 | } |
7450 | 0 | inline ::yb::tablet::TransactionStatePB* CDCRecordPB::release_transaction_state() { |
7451 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCRecordPB.transaction_state) |
7452 | 0 | clear_has_transaction_state(); |
7453 | 0 | ::yb::tablet::TransactionStatePB* temp = transaction_state_; |
7454 | 0 | transaction_state_ = NULL; |
7455 | 0 | return temp; |
7456 | 0 | } |
7457 | 0 | inline ::yb::tablet::TransactionStatePB* CDCRecordPB::mutable_transaction_state() { |
7458 | 0 | set_has_transaction_state(); |
7459 | 0 | if (transaction_state_ == NULL) { |
7460 | 0 | transaction_state_ = new ::yb::tablet::TransactionStatePB; |
7461 | 0 | } |
7462 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.transaction_state) |
7463 | 0 | return transaction_state_; |
7464 | 0 | } |
7465 | 0 | inline void CDCRecordPB::set_allocated_transaction_state(::yb::tablet::TransactionStatePB* transaction_state) { |
7466 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7467 | 0 | if (message_arena == NULL) { |
7468 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(transaction_state_); |
7469 | 0 | } |
7470 | 0 | if (transaction_state) { |
7471 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7472 | 0 | if (message_arena != submessage_arena) { |
7473 | 0 | transaction_state = ::google::protobuf::internal::GetOwnedMessage( |
7474 | 0 | message_arena, transaction_state, submessage_arena); |
7475 | 0 | } |
7476 | 0 | set_has_transaction_state(); |
7477 | 0 | } else { |
7478 | 0 | clear_has_transaction_state(); |
7479 | 0 | } |
7480 | 0 | transaction_state_ = transaction_state; |
7481 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCRecordPB.transaction_state) |
7482 | 0 | } |
7483 | | |
7484 | | // optional .yb.PartitionPB partition = 9; |
7485 | 0 | inline bool CDCRecordPB::has_partition() const { |
7486 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7487 | 0 | } |
7488 | 0 | inline void CDCRecordPB::set_has_partition() { |
7489 | 0 | _has_bits_[0] |= 0x00000002u; |
7490 | 0 | } |
7491 | 0 | inline void CDCRecordPB::clear_has_partition() { |
7492 | 0 | _has_bits_[0] &= ~0x00000002u; |
7493 | 0 | } |
7494 | 0 | inline const ::yb::PartitionPB& CDCRecordPB::partition() const { |
7495 | 0 | const ::yb::PartitionPB* p = partition_; |
7496 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.partition) |
7497 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionPB*>( |
7498 | 0 | &::yb::_PartitionPB_default_instance_); |
7499 | 0 | } |
7500 | 0 | inline ::yb::PartitionPB* CDCRecordPB::release_partition() { |
7501 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCRecordPB.partition) |
7502 | 0 | clear_has_partition(); |
7503 | 0 | ::yb::PartitionPB* temp = partition_; |
7504 | 0 | partition_ = NULL; |
7505 | 0 | return temp; |
7506 | 0 | } |
7507 | 0 | inline ::yb::PartitionPB* CDCRecordPB::mutable_partition() { |
7508 | 0 | set_has_partition(); |
7509 | 0 | if (partition_ == NULL) { |
7510 | 0 | partition_ = new ::yb::PartitionPB; |
7511 | 0 | } |
7512 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.partition) |
7513 | 0 | return partition_; |
7514 | 0 | } |
7515 | 0 | inline void CDCRecordPB::set_allocated_partition(::yb::PartitionPB* partition) { |
7516 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7517 | 0 | if (message_arena == NULL) { |
7518 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_); |
7519 | 0 | } |
7520 | 0 | if (partition) { |
7521 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7522 | 0 | if (message_arena != submessage_arena) { |
7523 | 0 | partition = ::google::protobuf::internal::GetOwnedMessage( |
7524 | 0 | message_arena, partition, submessage_arena); |
7525 | 0 | } |
7526 | 0 | set_has_partition(); |
7527 | 0 | } else { |
7528 | 0 | clear_has_partition(); |
7529 | 0 | } |
7530 | 0 | partition_ = partition; |
7531 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCRecordPB.partition) |
7532 | 0 | } |
7533 | | |
7534 | | // optional .yb.tablet.SplitTabletRequestPB split_tablet_request = 10; |
7535 | 0 | inline bool CDCRecordPB::has_split_tablet_request() const { |
7536 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
7537 | 0 | } |
7538 | 0 | inline void CDCRecordPB::set_has_split_tablet_request() { |
7539 | 0 | _has_bits_[0] |= 0x00000004u; |
7540 | 0 | } |
7541 | 0 | inline void CDCRecordPB::clear_has_split_tablet_request() { |
7542 | 0 | _has_bits_[0] &= ~0x00000004u; |
7543 | 0 | } |
7544 | 0 | inline const ::yb::tablet::SplitTabletRequestPB& CDCRecordPB::split_tablet_request() const { |
7545 | 0 | const ::yb::tablet::SplitTabletRequestPB* p = split_tablet_request_; |
7546 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCRecordPB.split_tablet_request) |
7547 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tablet::SplitTabletRequestPB*>( |
7548 | 0 | &::yb::tablet::_SplitTabletRequestPB_default_instance_); |
7549 | 0 | } |
7550 | 0 | inline ::yb::tablet::SplitTabletRequestPB* CDCRecordPB::release_split_tablet_request() { |
7551 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCRecordPB.split_tablet_request) |
7552 | 0 | clear_has_split_tablet_request(); |
7553 | 0 | ::yb::tablet::SplitTabletRequestPB* temp = split_tablet_request_; |
7554 | 0 | split_tablet_request_ = NULL; |
7555 | 0 | return temp; |
7556 | 0 | } |
7557 | 0 | inline ::yb::tablet::SplitTabletRequestPB* CDCRecordPB::mutable_split_tablet_request() { |
7558 | 0 | set_has_split_tablet_request(); |
7559 | 0 | if (split_tablet_request_ == NULL) { |
7560 | 0 | split_tablet_request_ = new ::yb::tablet::SplitTabletRequestPB; |
7561 | 0 | } |
7562 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCRecordPB.split_tablet_request) |
7563 | 0 | return split_tablet_request_; |
7564 | 0 | } |
7565 | 0 | inline void CDCRecordPB::set_allocated_split_tablet_request(::yb::tablet::SplitTabletRequestPB* split_tablet_request) { |
7566 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7567 | 0 | if (message_arena == NULL) { |
7568 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(split_tablet_request_); |
7569 | 0 | } |
7570 | 0 | if (split_tablet_request) { |
7571 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7572 | 0 | if (message_arena != submessage_arena) { |
7573 | 0 | split_tablet_request = ::google::protobuf::internal::GetOwnedMessage( |
7574 | 0 | message_arena, split_tablet_request, submessage_arena); |
7575 | 0 | } |
7576 | 0 | set_has_split_tablet_request(); |
7577 | 0 | } else { |
7578 | 0 | clear_has_split_tablet_request(); |
7579 | 0 | } |
7580 | 0 | split_tablet_request_ = split_tablet_request; |
7581 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCRecordPB.split_tablet_request) |
7582 | 0 | } |
7583 | | |
7584 | | // ------------------------------------------------------------------- |
7585 | | |
7586 | | // CDCSDKColumnInfoPB |
7587 | | |
7588 | | // optional string name = 1; |
7589 | 1.76k | inline bool CDCSDKColumnInfoPB::has_name() const { |
7590 | 1.76k | return (_has_bits_[0] & 0x00000001u) != 0; |
7591 | 1.76k | } |
7592 | 883 | inline void CDCSDKColumnInfoPB::set_has_name() { |
7593 | 883 | _has_bits_[0] |= 0x00000001u; |
7594 | 883 | } |
7595 | 0 | inline void CDCSDKColumnInfoPB::clear_has_name() { |
7596 | 0 | _has_bits_[0] &= ~0x00000001u; |
7597 | 0 | } |
7598 | 0 | inline void CDCSDKColumnInfoPB::clear_name() { |
7599 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7600 | 0 | clear_has_name(); |
7601 | 0 | } |
7602 | 4.41k | inline const ::std::string& CDCSDKColumnInfoPB::name() const { |
7603 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.name) |
7604 | 4.41k | return name_.GetNoArena(); |
7605 | 4.41k | } |
7606 | 883 | inline void CDCSDKColumnInfoPB::set_name(const ::std::string& value) { |
7607 | 883 | set_has_name(); |
7608 | 883 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7609 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.name) |
7610 | 883 | } |
7611 | | #if LANG_CXX11 |
7612 | 0 | inline void CDCSDKColumnInfoPB::set_name(::std::string&& value) { |
7613 | 0 | set_has_name(); |
7614 | 0 | name_.SetNoArena( |
7615 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7616 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCSDKColumnInfoPB.name) |
7617 | 0 | } |
7618 | | #endif |
7619 | 0 | inline void CDCSDKColumnInfoPB::set_name(const char* value) { |
7620 | 0 | GOOGLE_DCHECK(value != NULL); |
7621 | 0 | set_has_name(); |
7622 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7623 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CDCSDKColumnInfoPB.name) |
7624 | 0 | } |
7625 | 0 | inline void CDCSDKColumnInfoPB::set_name(const char* value, size_t size) { |
7626 | 0 | set_has_name(); |
7627 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7628 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7629 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCSDKColumnInfoPB.name) |
7630 | 0 | } |
7631 | 0 | inline ::std::string* CDCSDKColumnInfoPB::mutable_name() { |
7632 | 0 | set_has_name(); |
7633 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKColumnInfoPB.name) |
7634 | 0 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7635 | 0 | } |
7636 | 0 | inline ::std::string* CDCSDKColumnInfoPB::release_name() { |
7637 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKColumnInfoPB.name) |
7638 | 0 | clear_has_name(); |
7639 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7640 | 0 | } |
7641 | 0 | inline void CDCSDKColumnInfoPB::set_allocated_name(::std::string* name) { |
7642 | 0 | if (name != NULL) { |
7643 | 0 | set_has_name(); |
7644 | 0 | } else { |
7645 | 0 | clear_has_name(); |
7646 | 0 | } |
7647 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
7648 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKColumnInfoPB.name) |
7649 | 0 | } |
7650 | | |
7651 | | // optional .yb.QLTypePB type = 2; |
7652 | 1.76k | inline bool CDCSDKColumnInfoPB::has_type() const { |
7653 | 1.76k | return (_has_bits_[0] & 0x00000002u) != 0; |
7654 | 1.76k | } |
7655 | 883 | inline void CDCSDKColumnInfoPB::set_has_type() { |
7656 | 883 | _has_bits_[0] |= 0x00000002u; |
7657 | 883 | } |
7658 | 0 | inline void CDCSDKColumnInfoPB::clear_has_type() { |
7659 | 0 | _has_bits_[0] &= ~0x00000002u; |
7660 | 0 | } |
7661 | 0 | inline const ::yb::QLTypePB& CDCSDKColumnInfoPB::type() const { |
7662 | 0 | const ::yb::QLTypePB* p = type_; |
7663 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.type) |
7664 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLTypePB*>( |
7665 | 0 | &::yb::_QLTypePB_default_instance_); |
7666 | 0 | } |
7667 | 0 | inline ::yb::QLTypePB* CDCSDKColumnInfoPB::release_type() { |
7668 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKColumnInfoPB.type) |
7669 | 0 | clear_has_type(); |
7670 | 0 | ::yb::QLTypePB* temp = type_; |
7671 | 0 | type_ = NULL; |
7672 | 0 | return temp; |
7673 | 0 | } |
7674 | 883 | inline ::yb::QLTypePB* CDCSDKColumnInfoPB::mutable_type() { |
7675 | 883 | set_has_type(); |
7676 | 883 | if (type_ == NULL) { |
7677 | 883 | type_ = new ::yb::QLTypePB; |
7678 | 883 | } |
7679 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKColumnInfoPB.type) |
7680 | 883 | return type_; |
7681 | 883 | } |
7682 | 0 | inline void CDCSDKColumnInfoPB::set_allocated_type(::yb::QLTypePB* type) { |
7683 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7684 | 0 | if (message_arena == NULL) { |
7685 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(type_); |
7686 | 0 | } |
7687 | 0 | if (type) { |
7688 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7689 | 0 | if (message_arena != submessage_arena) { |
7690 | 0 | type = ::google::protobuf::internal::GetOwnedMessage( |
7691 | 0 | message_arena, type, submessage_arena); |
7692 | 0 | } |
7693 | 0 | set_has_type(); |
7694 | 0 | } else { |
7695 | 0 | clear_has_type(); |
7696 | 0 | } |
7697 | 0 | type_ = type; |
7698 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKColumnInfoPB.type) |
7699 | 0 | } |
7700 | | |
7701 | | // optional bool is_key = 3 [default = false]; |
7702 | 1.76k | inline bool CDCSDKColumnInfoPB::has_is_key() const { |
7703 | 1.76k | return (_has_bits_[0] & 0x00000004u) != 0; |
7704 | 1.76k | } |
7705 | 883 | inline void CDCSDKColumnInfoPB::set_has_is_key() { |
7706 | 883 | _has_bits_[0] |= 0x00000004u; |
7707 | 883 | } |
7708 | 0 | inline void CDCSDKColumnInfoPB::clear_has_is_key() { |
7709 | 0 | _has_bits_[0] &= ~0x00000004u; |
7710 | 0 | } |
7711 | 0 | inline void CDCSDKColumnInfoPB::clear_is_key() { |
7712 | 0 | is_key_ = false; |
7713 | 0 | clear_has_is_key(); |
7714 | 0 | } |
7715 | 883 | inline bool CDCSDKColumnInfoPB::is_key() const { |
7716 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.is_key) |
7717 | 883 | return is_key_; |
7718 | 883 | } |
7719 | 883 | inline void CDCSDKColumnInfoPB::set_is_key(bool value) { |
7720 | 883 | set_has_is_key(); |
7721 | 883 | is_key_ = value; |
7722 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.is_key) |
7723 | 883 | } |
7724 | | |
7725 | | // optional bool is_hash_key = 4 [default = false]; |
7726 | 1.76k | inline bool CDCSDKColumnInfoPB::has_is_hash_key() const { |
7727 | 1.76k | return (_has_bits_[0] & 0x00000008u) != 0; |
7728 | 1.76k | } |
7729 | 883 | inline void CDCSDKColumnInfoPB::set_has_is_hash_key() { |
7730 | 883 | _has_bits_[0] |= 0x00000008u; |
7731 | 883 | } |
7732 | 0 | inline void CDCSDKColumnInfoPB::clear_has_is_hash_key() { |
7733 | 0 | _has_bits_[0] &= ~0x00000008u; |
7734 | 0 | } |
7735 | 0 | inline void CDCSDKColumnInfoPB::clear_is_hash_key() { |
7736 | 0 | is_hash_key_ = false; |
7737 | 0 | clear_has_is_hash_key(); |
7738 | 0 | } |
7739 | 883 | inline bool CDCSDKColumnInfoPB::is_hash_key() const { |
7740 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.is_hash_key) |
7741 | 883 | return is_hash_key_; |
7742 | 883 | } |
7743 | 883 | inline void CDCSDKColumnInfoPB::set_is_hash_key(bool value) { |
7744 | 883 | set_has_is_hash_key(); |
7745 | 883 | is_hash_key_ = value; |
7746 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.is_hash_key) |
7747 | 883 | } |
7748 | | |
7749 | | // optional bool is_nullable = 5 [default = false]; |
7750 | 1.76k | inline bool CDCSDKColumnInfoPB::has_is_nullable() const { |
7751 | 1.76k | return (_has_bits_[0] & 0x00000010u) != 0; |
7752 | 1.76k | } |
7753 | 883 | inline void CDCSDKColumnInfoPB::set_has_is_nullable() { |
7754 | 883 | _has_bits_[0] |= 0x00000010u; |
7755 | 883 | } |
7756 | 0 | inline void CDCSDKColumnInfoPB::clear_has_is_nullable() { |
7757 | 0 | _has_bits_[0] &= ~0x00000010u; |
7758 | 0 | } |
7759 | 0 | inline void CDCSDKColumnInfoPB::clear_is_nullable() { |
7760 | 0 | is_nullable_ = false; |
7761 | 0 | clear_has_is_nullable(); |
7762 | 0 | } |
7763 | 883 | inline bool CDCSDKColumnInfoPB::is_nullable() const { |
7764 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.is_nullable) |
7765 | 883 | return is_nullable_; |
7766 | 883 | } |
7767 | 883 | inline void CDCSDKColumnInfoPB::set_is_nullable(bool value) { |
7768 | 883 | set_has_is_nullable(); |
7769 | 883 | is_nullable_ = value; |
7770 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.is_nullable) |
7771 | 883 | } |
7772 | | |
7773 | | // optional int32 oid = 6 [default = 0]; |
7774 | 1.76k | inline bool CDCSDKColumnInfoPB::has_oid() const { |
7775 | 1.76k | return (_has_bits_[0] & 0x00000020u) != 0; |
7776 | 1.76k | } |
7777 | 883 | inline void CDCSDKColumnInfoPB::set_has_oid() { |
7778 | 883 | _has_bits_[0] |= 0x00000020u; |
7779 | 883 | } |
7780 | 0 | inline void CDCSDKColumnInfoPB::clear_has_oid() { |
7781 | 0 | _has_bits_[0] &= ~0x00000020u; |
7782 | 0 | } |
7783 | 0 | inline void CDCSDKColumnInfoPB::clear_oid() { |
7784 | 0 | oid_ = 0; |
7785 | 0 | clear_has_oid(); |
7786 | 0 | } |
7787 | 2.64k | inline ::google::protobuf::int32 CDCSDKColumnInfoPB::oid() const { |
7788 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKColumnInfoPB.oid) |
7789 | 2.64k | return oid_; |
7790 | 2.64k | } |
7791 | 883 | inline void CDCSDKColumnInfoPB::set_oid(::google::protobuf::int32 value) { |
7792 | 883 | set_has_oid(); |
7793 | 883 | oid_ = value; |
7794 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKColumnInfoPB.oid) |
7795 | 883 | } |
7796 | | |
7797 | | // ------------------------------------------------------------------- |
7798 | | |
7799 | | // CDCSDKTablePropertiesPB |
7800 | | |
7801 | | // optional uint64 default_time_to_live = 1; |
7802 | 628 | inline bool CDCSDKTablePropertiesPB::has_default_time_to_live() const { |
7803 | 628 | return (_has_bits_[0] & 0x00000001u) != 0; |
7804 | 628 | } |
7805 | 314 | inline void CDCSDKTablePropertiesPB::set_has_default_time_to_live() { |
7806 | 314 | _has_bits_[0] |= 0x00000001u; |
7807 | 314 | } |
7808 | 0 | inline void CDCSDKTablePropertiesPB::clear_has_default_time_to_live() { |
7809 | 0 | _has_bits_[0] &= ~0x00000001u; |
7810 | 0 | } |
7811 | 0 | inline void CDCSDKTablePropertiesPB::clear_default_time_to_live() { |
7812 | 0 | default_time_to_live_ = GOOGLE_ULONGLONG(0); |
7813 | 0 | clear_has_default_time_to_live(); |
7814 | 0 | } |
7815 | 942 | inline ::google::protobuf::uint64 CDCSDKTablePropertiesPB::default_time_to_live() const { |
7816 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKTablePropertiesPB.default_time_to_live) |
7817 | 942 | return default_time_to_live_; |
7818 | 942 | } |
7819 | 314 | inline void CDCSDKTablePropertiesPB::set_default_time_to_live(::google::protobuf::uint64 value) { |
7820 | 314 | set_has_default_time_to_live(); |
7821 | 314 | default_time_to_live_ = value; |
7822 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKTablePropertiesPB.default_time_to_live) |
7823 | 314 | } |
7824 | | |
7825 | | // optional int32 num_tablets = 2 [default = 0]; |
7826 | 628 | inline bool CDCSDKTablePropertiesPB::has_num_tablets() const { |
7827 | 628 | return (_has_bits_[0] & 0x00000002u) != 0; |
7828 | 628 | } |
7829 | 314 | inline void CDCSDKTablePropertiesPB::set_has_num_tablets() { |
7830 | 314 | _has_bits_[0] |= 0x00000002u; |
7831 | 314 | } |
7832 | 0 | inline void CDCSDKTablePropertiesPB::clear_has_num_tablets() { |
7833 | 0 | _has_bits_[0] &= ~0x00000002u; |
7834 | 0 | } |
7835 | 0 | inline void CDCSDKTablePropertiesPB::clear_num_tablets() { |
7836 | 0 | num_tablets_ = 0; |
7837 | 0 | clear_has_num_tablets(); |
7838 | 0 | } |
7839 | 942 | inline ::google::protobuf::int32 CDCSDKTablePropertiesPB::num_tablets() const { |
7840 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKTablePropertiesPB.num_tablets) |
7841 | 942 | return num_tablets_; |
7842 | 942 | } |
7843 | 314 | inline void CDCSDKTablePropertiesPB::set_num_tablets(::google::protobuf::int32 value) { |
7844 | 314 | set_has_num_tablets(); |
7845 | 314 | num_tablets_ = value; |
7846 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKTablePropertiesPB.num_tablets) |
7847 | 314 | } |
7848 | | |
7849 | | // optional bool is_ysql_catalog_table = 3 [default = false]; |
7850 | 628 | inline bool CDCSDKTablePropertiesPB::has_is_ysql_catalog_table() const { |
7851 | 628 | return (_has_bits_[0] & 0x00000004u) != 0; |
7852 | 628 | } |
7853 | 314 | inline void CDCSDKTablePropertiesPB::set_has_is_ysql_catalog_table() { |
7854 | 314 | _has_bits_[0] |= 0x00000004u; |
7855 | 314 | } |
7856 | 0 | inline void CDCSDKTablePropertiesPB::clear_has_is_ysql_catalog_table() { |
7857 | 0 | _has_bits_[0] &= ~0x00000004u; |
7858 | 0 | } |
7859 | 0 | inline void CDCSDKTablePropertiesPB::clear_is_ysql_catalog_table() { |
7860 | 0 | is_ysql_catalog_table_ = false; |
7861 | 0 | clear_has_is_ysql_catalog_table(); |
7862 | 0 | } |
7863 | 314 | inline bool CDCSDKTablePropertiesPB::is_ysql_catalog_table() const { |
7864 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKTablePropertiesPB.is_ysql_catalog_table) |
7865 | 314 | return is_ysql_catalog_table_; |
7866 | 314 | } |
7867 | 314 | inline void CDCSDKTablePropertiesPB::set_is_ysql_catalog_table(bool value) { |
7868 | 314 | set_has_is_ysql_catalog_table(); |
7869 | 314 | is_ysql_catalog_table_ = value; |
7870 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKTablePropertiesPB.is_ysql_catalog_table) |
7871 | 314 | } |
7872 | | |
7873 | | // ------------------------------------------------------------------- |
7874 | | |
7875 | | // CDCSDKSchemaPB |
7876 | | |
7877 | | // repeated .yb.cdc.CDCSDKColumnInfoPB column_info = 1; |
7878 | 942 | inline int CDCSDKSchemaPB::column_info_size() const { |
7879 | 942 | return column_info_.size(); |
7880 | 942 | } |
7881 | 0 | inline void CDCSDKSchemaPB::clear_column_info() { |
7882 | 0 | column_info_.Clear(); |
7883 | 0 | } |
7884 | 2.64k | inline const ::yb::cdc::CDCSDKColumnInfoPB& CDCSDKSchemaPB::column_info(int index) const { |
7885 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKSchemaPB.column_info) |
7886 | 2.64k | return column_info_.Get(index); |
7887 | 2.64k | } |
7888 | 0 | inline ::yb::cdc::CDCSDKColumnInfoPB* CDCSDKSchemaPB::mutable_column_info(int index) { |
7889 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKSchemaPB.column_info) |
7890 | 0 | return column_info_.Mutable(index); |
7891 | 0 | } |
7892 | 883 | inline ::yb::cdc::CDCSDKColumnInfoPB* CDCSDKSchemaPB::add_column_info() { |
7893 | | // @@protoc_insertion_point(field_add:yb.cdc.CDCSDKSchemaPB.column_info) |
7894 | 883 | return column_info_.Add(); |
7895 | 883 | } |
7896 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB >* |
7897 | 0 | CDCSDKSchemaPB::mutable_column_info() { |
7898 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.CDCSDKSchemaPB.column_info) |
7899 | 0 | return &column_info_; |
7900 | 0 | } |
7901 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKColumnInfoPB >& |
7902 | 0 | CDCSDKSchemaPB::column_info() const { |
7903 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.CDCSDKSchemaPB.column_info) |
7904 | 0 | return column_info_; |
7905 | 0 | } |
7906 | | |
7907 | | // optional .yb.cdc.CDCSDKTablePropertiesPB tab_info = 2; |
7908 | 628 | inline bool CDCSDKSchemaPB::has_tab_info() const { |
7909 | 628 | return (_has_bits_[0] & 0x00000001u) != 0; |
7910 | 628 | } |
7911 | 314 | inline void CDCSDKSchemaPB::set_has_tab_info() { |
7912 | 314 | _has_bits_[0] |= 0x00000001u; |
7913 | 314 | } |
7914 | 0 | inline void CDCSDKSchemaPB::clear_has_tab_info() { |
7915 | 0 | _has_bits_[0] &= ~0x00000001u; |
7916 | 0 | } |
7917 | 0 | inline void CDCSDKSchemaPB::clear_tab_info() { |
7918 | 0 | if (tab_info_ != NULL) tab_info_->Clear(); |
7919 | 0 | clear_has_tab_info(); |
7920 | 0 | } |
7921 | 0 | inline const ::yb::cdc::CDCSDKTablePropertiesPB& CDCSDKSchemaPB::tab_info() const { |
7922 | 0 | const ::yb::cdc::CDCSDKTablePropertiesPB* p = tab_info_; |
7923 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKSchemaPB.tab_info) |
7924 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKTablePropertiesPB*>( |
7925 | 0 | &::yb::cdc::_CDCSDKTablePropertiesPB_default_instance_); |
7926 | 0 | } |
7927 | 0 | inline ::yb::cdc::CDCSDKTablePropertiesPB* CDCSDKSchemaPB::release_tab_info() { |
7928 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKSchemaPB.tab_info) |
7929 | 0 | clear_has_tab_info(); |
7930 | 0 | ::yb::cdc::CDCSDKTablePropertiesPB* temp = tab_info_; |
7931 | 0 | tab_info_ = NULL; |
7932 | 0 | return temp; |
7933 | 0 | } |
7934 | 314 | inline ::yb::cdc::CDCSDKTablePropertiesPB* CDCSDKSchemaPB::mutable_tab_info() { |
7935 | 314 | set_has_tab_info(); |
7936 | 314 | if (tab_info_ == NULL) { |
7937 | 314 | tab_info_ = new ::yb::cdc::CDCSDKTablePropertiesPB; |
7938 | 314 | } |
7939 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKSchemaPB.tab_info) |
7940 | 314 | return tab_info_; |
7941 | 314 | } |
7942 | 0 | inline void CDCSDKSchemaPB::set_allocated_tab_info(::yb::cdc::CDCSDKTablePropertiesPB* tab_info) { |
7943 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7944 | 0 | if (message_arena == NULL) { |
7945 | 0 | delete tab_info_; |
7946 | 0 | } |
7947 | 0 | if (tab_info) { |
7948 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7949 | 0 | if (message_arena != submessage_arena) { |
7950 | 0 | tab_info = ::google::protobuf::internal::GetOwnedMessage( |
7951 | 0 | message_arena, tab_info, submessage_arena); |
7952 | 0 | } |
7953 | 0 | set_has_tab_info(); |
7954 | 0 | } else { |
7955 | 0 | clear_has_tab_info(); |
7956 | 0 | } |
7957 | 0 | tab_info_ = tab_info; |
7958 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKSchemaPB.tab_info) |
7959 | 0 | } |
7960 | | |
7961 | | // ------------------------------------------------------------------- |
7962 | | |
7963 | | // CDCSDKOpIdPB |
7964 | | |
7965 | | // optional int64 term = 1; |
7966 | 1.20k | inline bool CDCSDKOpIdPB::has_term() const { |
7967 | 1.20k | return (_has_bits_[0] & 0x00000002u) != 0; |
7968 | 1.20k | } |
7969 | 604 | inline void CDCSDKOpIdPB::set_has_term() { |
7970 | 604 | _has_bits_[0] |= 0x00000002u; |
7971 | 604 | } |
7972 | 0 | inline void CDCSDKOpIdPB::clear_has_term() { |
7973 | 0 | _has_bits_[0] &= ~0x00000002u; |
7974 | 0 | } |
7975 | 0 | inline void CDCSDKOpIdPB::clear_term() { |
7976 | 0 | term_ = GOOGLE_LONGLONG(0); |
7977 | 0 | clear_has_term(); |
7978 | 0 | } |
7979 | 1.81k | inline ::google::protobuf::int64 CDCSDKOpIdPB::term() const { |
7980 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.term) |
7981 | 1.81k | return term_; |
7982 | 1.81k | } |
7983 | 604 | inline void CDCSDKOpIdPB::set_term(::google::protobuf::int64 value) { |
7984 | 604 | set_has_term(); |
7985 | 604 | term_ = value; |
7986 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.term) |
7987 | 604 | } |
7988 | | |
7989 | | // optional int64 index = 2; |
7990 | 1.20k | inline bool CDCSDKOpIdPB::has_index() const { |
7991 | 1.20k | return (_has_bits_[0] & 0x00000004u) != 0; |
7992 | 1.20k | } |
7993 | 604 | inline void CDCSDKOpIdPB::set_has_index() { |
7994 | 604 | _has_bits_[0] |= 0x00000004u; |
7995 | 604 | } |
7996 | 0 | inline void CDCSDKOpIdPB::clear_has_index() { |
7997 | 0 | _has_bits_[0] &= ~0x00000004u; |
7998 | 0 | } |
7999 | 0 | inline void CDCSDKOpIdPB::clear_index() { |
8000 | 0 | index_ = GOOGLE_LONGLONG(0); |
8001 | 0 | clear_has_index(); |
8002 | 0 | } |
8003 | 1.81k | inline ::google::protobuf::int64 CDCSDKOpIdPB::index() const { |
8004 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.index) |
8005 | 1.81k | return index_; |
8006 | 1.81k | } |
8007 | 604 | inline void CDCSDKOpIdPB::set_index(::google::protobuf::int64 value) { |
8008 | 604 | set_has_index(); |
8009 | 604 | index_ = value; |
8010 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.index) |
8011 | 604 | } |
8012 | | |
8013 | | // optional uint32 write_id = 3 [default = 0]; |
8014 | 1.20k | inline bool CDCSDKOpIdPB::has_write_id() const { |
8015 | 1.20k | return (_has_bits_[0] & 0x00000008u) != 0; |
8016 | 1.20k | } |
8017 | 604 | inline void CDCSDKOpIdPB::set_has_write_id() { |
8018 | 604 | _has_bits_[0] |= 0x00000008u; |
8019 | 604 | } |
8020 | 0 | inline void CDCSDKOpIdPB::clear_has_write_id() { |
8021 | 0 | _has_bits_[0] &= ~0x00000008u; |
8022 | 0 | } |
8023 | 0 | inline void CDCSDKOpIdPB::clear_write_id() { |
8024 | 0 | write_id_ = 0u; |
8025 | 0 | clear_has_write_id(); |
8026 | 0 | } |
8027 | 1.81k | inline ::google::protobuf::uint32 CDCSDKOpIdPB::write_id() const { |
8028 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.write_id) |
8029 | 1.81k | return write_id_; |
8030 | 1.81k | } |
8031 | 604 | inline void CDCSDKOpIdPB::set_write_id(::google::protobuf::uint32 value) { |
8032 | 604 | set_has_write_id(); |
8033 | 604 | write_id_ = value; |
8034 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.write_id) |
8035 | 604 | } |
8036 | | |
8037 | | // optional bytes write_id_key = 4 [default = ""]; |
8038 | 1.20k | inline bool CDCSDKOpIdPB::has_write_id_key() const { |
8039 | 1.20k | return (_has_bits_[0] & 0x00000001u) != 0; |
8040 | 1.20k | } |
8041 | 777 | inline void CDCSDKOpIdPB::set_has_write_id_key() { |
8042 | 777 | _has_bits_[0] |= 0x00000001u; |
8043 | 777 | } |
8044 | 0 | inline void CDCSDKOpIdPB::clear_has_write_id_key() { |
8045 | 0 | _has_bits_[0] &= ~0x00000001u; |
8046 | 0 | } |
8047 | 0 | inline void CDCSDKOpIdPB::clear_write_id_key() { |
8048 | 0 | write_id_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8049 | 0 | clear_has_write_id_key(); |
8050 | 0 | } |
8051 | 1.81k | inline const ::std::string& CDCSDKOpIdPB::write_id_key() const { |
8052 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8053 | 1.81k | return write_id_key_.GetNoArena(); |
8054 | 1.81k | } |
8055 | 604 | inline void CDCSDKOpIdPB::set_write_id_key(const ::std::string& value) { |
8056 | 604 | set_has_write_id_key(); |
8057 | 604 | write_id_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8058 | | // @@protoc_insertion_point(field_set:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8059 | 604 | } |
8060 | | #if LANG_CXX11 |
8061 | 0 | inline void CDCSDKOpIdPB::set_write_id_key(::std::string&& value) { |
8062 | 0 | set_has_write_id_key(); |
8063 | 0 | write_id_key_.SetNoArena( |
8064 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8065 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8066 | 0 | } |
8067 | | #endif |
8068 | 0 | inline void CDCSDKOpIdPB::set_write_id_key(const char* value) { |
8069 | 0 | GOOGLE_DCHECK(value != NULL); |
8070 | 0 | set_has_write_id_key(); |
8071 | 0 | write_id_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8072 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8073 | 0 | } |
8074 | 0 | inline void CDCSDKOpIdPB::set_write_id_key(const void* value, size_t size) { |
8075 | 0 | set_has_write_id_key(); |
8076 | 0 | write_id_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8077 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8078 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8079 | 0 | } |
8080 | 0 | inline ::std::string* CDCSDKOpIdPB::mutable_write_id_key() { |
8081 | 0 | set_has_write_id_key(); |
8082 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8083 | 0 | return write_id_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8084 | 0 | } |
8085 | 0 | inline ::std::string* CDCSDKOpIdPB::release_write_id_key() { |
8086 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8087 | 0 | clear_has_write_id_key(); |
8088 | 0 | return write_id_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8089 | 0 | } |
8090 | 0 | inline void CDCSDKOpIdPB::set_allocated_write_id_key(::std::string* write_id_key) { |
8091 | 0 | if (write_id_key != NULL) { |
8092 | 0 | set_has_write_id_key(); |
8093 | 0 | } else { |
8094 | 0 | clear_has_write_id_key(); |
8095 | 0 | } |
8096 | 0 | write_id_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), write_id_key); |
8097 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKOpIdPB.write_id_key) |
8098 | 0 | } |
8099 | | |
8100 | | // ------------------------------------------------------------------- |
8101 | | |
8102 | | // TypeInfo |
8103 | | |
8104 | | // optional string modifier = 1; |
8105 | 0 | inline bool TypeInfo::has_modifier() const { |
8106 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
8107 | 0 | } |
8108 | 0 | inline void TypeInfo::set_has_modifier() { |
8109 | 0 | _has_bits_[0] |= 0x00000001u; |
8110 | 0 | } |
8111 | 0 | inline void TypeInfo::clear_has_modifier() { |
8112 | 0 | _has_bits_[0] &= ~0x00000001u; |
8113 | 0 | } |
8114 | 0 | inline void TypeInfo::clear_modifier() { |
8115 | 0 | modifier_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8116 | 0 | clear_has_modifier(); |
8117 | 0 | } |
8118 | 0 | inline const ::std::string& TypeInfo::modifier() const { |
8119 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.TypeInfo.modifier) |
8120 | 0 | return modifier_.GetNoArena(); |
8121 | 0 | } |
8122 | 0 | inline void TypeInfo::set_modifier(const ::std::string& value) { |
8123 | 0 | set_has_modifier(); |
8124 | 0 | modifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8125 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.TypeInfo.modifier) |
8126 | 0 | } |
8127 | | #if LANG_CXX11 |
8128 | 0 | inline void TypeInfo::set_modifier(::std::string&& value) { |
8129 | 0 | set_has_modifier(); |
8130 | 0 | modifier_.SetNoArena( |
8131 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8132 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.TypeInfo.modifier) |
8133 | 0 | } |
8134 | | #endif |
8135 | 0 | inline void TypeInfo::set_modifier(const char* value) { |
8136 | 0 | GOOGLE_DCHECK(value != NULL); |
8137 | 0 | set_has_modifier(); |
8138 | 0 | modifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8139 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.TypeInfo.modifier) |
8140 | 0 | } |
8141 | 0 | inline void TypeInfo::set_modifier(const char* value, size_t size) { |
8142 | 0 | set_has_modifier(); |
8143 | 0 | modifier_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8144 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8145 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.TypeInfo.modifier) |
8146 | 0 | } |
8147 | 0 | inline ::std::string* TypeInfo::mutable_modifier() { |
8148 | 0 | set_has_modifier(); |
8149 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.TypeInfo.modifier) |
8150 | 0 | return modifier_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8151 | 0 | } |
8152 | 0 | inline ::std::string* TypeInfo::release_modifier() { |
8153 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.TypeInfo.modifier) |
8154 | 0 | clear_has_modifier(); |
8155 | 0 | return modifier_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8156 | 0 | } |
8157 | 0 | inline void TypeInfo::set_allocated_modifier(::std::string* modifier) { |
8158 | 0 | if (modifier != NULL) { |
8159 | 0 | set_has_modifier(); |
8160 | 0 | } else { |
8161 | 0 | clear_has_modifier(); |
8162 | 0 | } |
8163 | 0 | modifier_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), modifier); |
8164 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.TypeInfo.modifier) |
8165 | 0 | } |
8166 | | |
8167 | | // optional bool value_optional = 2; |
8168 | 0 | inline bool TypeInfo::has_value_optional() const { |
8169 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
8170 | 0 | } |
8171 | 0 | inline void TypeInfo::set_has_value_optional() { |
8172 | 0 | _has_bits_[0] |= 0x00000002u; |
8173 | 0 | } |
8174 | 0 | inline void TypeInfo::clear_has_value_optional() { |
8175 | 0 | _has_bits_[0] &= ~0x00000002u; |
8176 | 0 | } |
8177 | 0 | inline void TypeInfo::clear_value_optional() { |
8178 | 0 | value_optional_ = false; |
8179 | 0 | clear_has_value_optional(); |
8180 | 0 | } |
8181 | 0 | inline bool TypeInfo::value_optional() const { |
8182 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.TypeInfo.value_optional) |
8183 | 0 | return value_optional_; |
8184 | 0 | } |
8185 | 0 | inline void TypeInfo::set_value_optional(bool value) { |
8186 | 0 | set_has_value_optional(); |
8187 | 0 | value_optional_ = value; |
8188 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.TypeInfo.value_optional) |
8189 | 0 | } |
8190 | | |
8191 | | // ------------------------------------------------------------------- |
8192 | | |
8193 | | // RowMessage |
8194 | | |
8195 | | // optional bytes transaction_id = 1; |
8196 | 27.1k | inline bool RowMessage::has_transaction_id() const { |
8197 | 27.1k | return (_has_bits_[0] & 0x00000001u) != 0; |
8198 | 27.1k | } |
8199 | 494 | inline void RowMessage::set_has_transaction_id() { |
8200 | 494 | _has_bits_[0] |= 0x00000001u; |
8201 | 494 | } |
8202 | 0 | inline void RowMessage::clear_has_transaction_id() { |
8203 | 0 | _has_bits_[0] &= ~0x00000001u; |
8204 | 0 | } |
8205 | 0 | inline void RowMessage::clear_transaction_id() { |
8206 | 0 | transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8207 | 0 | clear_has_transaction_id(); |
8208 | 0 | } |
8209 | 963 | inline const ::std::string& RowMessage::transaction_id() const { |
8210 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.transaction_id) |
8211 | 963 | return transaction_id_.GetNoArena(); |
8212 | 963 | } |
8213 | 0 | inline void RowMessage::set_transaction_id(const ::std::string& value) { |
8214 | 0 | set_has_transaction_id(); |
8215 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8216 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.transaction_id) |
8217 | 0 | } |
8218 | | #if LANG_CXX11 |
8219 | 321 | inline void RowMessage::set_transaction_id(::std::string&& value) { |
8220 | 321 | set_has_transaction_id(); |
8221 | 321 | transaction_id_.SetNoArena( |
8222 | 321 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8223 | | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.transaction_id) |
8224 | 321 | } |
8225 | | #endif |
8226 | 0 | inline void RowMessage::set_transaction_id(const char* value) { |
8227 | 0 | GOOGLE_DCHECK(value != NULL); |
8228 | 0 | set_has_transaction_id(); |
8229 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8230 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.transaction_id) |
8231 | 0 | } |
8232 | 0 | inline void RowMessage::set_transaction_id(const void* value, size_t size) { |
8233 | 0 | set_has_transaction_id(); |
8234 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8235 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8236 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.transaction_id) |
8237 | 0 | } |
8238 | 0 | inline ::std::string* RowMessage::mutable_transaction_id() { |
8239 | 0 | set_has_transaction_id(); |
8240 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.transaction_id) |
8241 | 0 | return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8242 | 0 | } |
8243 | 0 | inline ::std::string* RowMessage::release_transaction_id() { |
8244 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.transaction_id) |
8245 | 0 | clear_has_transaction_id(); |
8246 | 0 | return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8247 | 0 | } |
8248 | 0 | inline void RowMessage::set_allocated_transaction_id(::std::string* transaction_id) { |
8249 | 0 | if (transaction_id != NULL) { |
8250 | 0 | set_has_transaction_id(); |
8251 | 0 | } else { |
8252 | 0 | clear_has_transaction_id(); |
8253 | 0 | } |
8254 | 0 | transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id); |
8255 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.transaction_id) |
8256 | 0 | } |
8257 | | |
8258 | | // optional uint64 commit_time = 2; |
8259 | 27.1k | inline bool RowMessage::has_commit_time() const { |
8260 | 27.1k | return (_has_bits_[0] & 0x00000040u) != 0; |
8261 | 27.1k | } |
8262 | 12.9k | inline void RowMessage::set_has_commit_time() { |
8263 | 12.9k | _has_bits_[0] |= 0x00000040u; |
8264 | 12.9k | } |
8265 | 0 | inline void RowMessage::clear_has_commit_time() { |
8266 | 0 | _has_bits_[0] &= ~0x00000040u; |
8267 | 0 | } |
8268 | 0 | inline void RowMessage::clear_commit_time() { |
8269 | 0 | commit_time_ = GOOGLE_ULONGLONG(0); |
8270 | 0 | clear_has_commit_time(); |
8271 | 0 | } |
8272 | 38.8k | inline ::google::protobuf::uint64 RowMessage::commit_time() const { |
8273 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.commit_time) |
8274 | 38.8k | return commit_time_; |
8275 | 38.8k | } |
8276 | 12.9k | inline void RowMessage::set_commit_time(::google::protobuf::uint64 value) { |
8277 | 12.9k | set_has_commit_time(); |
8278 | 12.9k | commit_time_ = value; |
8279 | | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.commit_time) |
8280 | 12.9k | } |
8281 | | |
8282 | | // optional string table = 3; |
8283 | 27.1k | inline bool RowMessage::has_table() const { |
8284 | 27.1k | return (_has_bits_[0] & 0x00000002u) != 0; |
8285 | 27.1k | } |
8286 | 13.9k | inline void RowMessage::set_has_table() { |
8287 | 13.9k | _has_bits_[0] |= 0x00000002u; |
8288 | 13.9k | } |
8289 | 0 | inline void RowMessage::clear_has_table() { |
8290 | 0 | _has_bits_[0] &= ~0x00000002u; |
8291 | 0 | } |
8292 | 0 | inline void RowMessage::clear_table() { |
8293 | 0 | table_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8294 | 0 | clear_has_table(); |
8295 | 0 | } |
8296 | 67.9k | inline const ::std::string& RowMessage::table() const { |
8297 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.table) |
8298 | 67.9k | return table_.GetNoArena(); |
8299 | 67.9k | } |
8300 | 13.0k | inline void RowMessage::set_table(const ::std::string& value) { |
8301 | 13.0k | set_has_table(); |
8302 | 13.0k | table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8303 | | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.table) |
8304 | 13.0k | } |
8305 | | #if LANG_CXX11 |
8306 | 668 | inline void RowMessage::set_table(::std::string&& value) { |
8307 | 668 | set_has_table(); |
8308 | 668 | table_.SetNoArena( |
8309 | 668 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8310 | | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.table) |
8311 | 668 | } |
8312 | | #endif |
8313 | 0 | inline void RowMessage::set_table(const char* value) { |
8314 | 0 | GOOGLE_DCHECK(value != NULL); |
8315 | 0 | set_has_table(); |
8316 | 0 | table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8317 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.table) |
8318 | 0 | } |
8319 | 0 | inline void RowMessage::set_table(const char* value, size_t size) { |
8320 | 0 | set_has_table(); |
8321 | 0 | table_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8322 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8323 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.table) |
8324 | 0 | } |
8325 | 0 | inline ::std::string* RowMessage::mutable_table() { |
8326 | 0 | set_has_table(); |
8327 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.table) |
8328 | 0 | return table_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8329 | 0 | } |
8330 | 0 | inline ::std::string* RowMessage::release_table() { |
8331 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.table) |
8332 | 0 | clear_has_table(); |
8333 | 0 | return table_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8334 | 0 | } |
8335 | 0 | inline void RowMessage::set_allocated_table(::std::string* table) { |
8336 | 0 | if (table != NULL) { |
8337 | 0 | set_has_table(); |
8338 | 0 | } else { |
8339 | 0 | clear_has_table(); |
8340 | 0 | } |
8341 | 0 | table_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table); |
8342 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.table) |
8343 | 0 | } |
8344 | | |
8345 | | // optional .yb.cdc.RowMessage.Op op = 4; |
8346 | 27.1k | inline bool RowMessage::has_op() const { |
8347 | 27.1k | return (_has_bits_[0] & 0x00000100u) != 0; |
8348 | 27.1k | } |
8349 | 13.7k | inline void RowMessage::set_has_op() { |
8350 | 13.7k | _has_bits_[0] |= 0x00000100u; |
8351 | 13.7k | } |
8352 | 0 | inline void RowMessage::clear_has_op() { |
8353 | 0 | _has_bits_[0] &= ~0x00000100u; |
8354 | 0 | } |
8355 | 0 | inline void RowMessage::clear_op() { |
8356 | 0 | op_ = -1; |
8357 | 0 | clear_has_op(); |
8358 | 0 | } |
8359 | 47.0k | inline ::yb::cdc::RowMessage_Op RowMessage::op() const { |
8360 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.op) |
8361 | 47.0k | return static_cast< ::yb::cdc::RowMessage_Op >(op_); |
8362 | 47.0k | } |
8363 | 13.7k | inline void RowMessage::set_op(::yb::cdc::RowMessage_Op value) { |
8364 | 13.7k | assert(::yb::cdc::RowMessage_Op_IsValid(value)); |
8365 | 13.7k | set_has_op(); |
8366 | 13.7k | op_ = value; |
8367 | | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.op) |
8368 | 13.7k | } |
8369 | | |
8370 | | // repeated .yb.DatumMessagePB new_tuple = 5; |
8371 | 40.7k | inline int RowMessage::new_tuple_size() const { |
8372 | 40.7k | return new_tuple_.size(); |
8373 | 40.7k | } |
8374 | 117k | inline const ::yb::DatumMessagePB& RowMessage::new_tuple(int index) const { |
8375 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.new_tuple) |
8376 | 117k | return new_tuple_.Get(index); |
8377 | 117k | } |
8378 | 0 | inline ::yb::DatumMessagePB* RowMessage::mutable_new_tuple(int index) { |
8379 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.new_tuple) |
8380 | 0 | return new_tuple_.Mutable(index); |
8381 | 0 | } |
8382 | 39.1k | inline ::yb::DatumMessagePB* RowMessage::add_new_tuple() { |
8383 | | // @@protoc_insertion_point(field_add:yb.cdc.RowMessage.new_tuple) |
8384 | 39.1k | return new_tuple_.Add(); |
8385 | 39.1k | } |
8386 | | inline ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >* |
8387 | 0 | RowMessage::mutable_new_tuple() { |
8388 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.RowMessage.new_tuple) |
8389 | 0 | return &new_tuple_; |
8390 | 0 | } |
8391 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >& |
8392 | 0 | RowMessage::new_tuple() const { |
8393 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.RowMessage.new_tuple) |
8394 | 0 | return new_tuple_; |
8395 | 0 | } |
8396 | | |
8397 | | // repeated .yb.DatumMessagePB old_tuple = 6; |
8398 | 40.7k | inline int RowMessage::old_tuple_size() const { |
8399 | 40.7k | return old_tuple_.size(); |
8400 | 40.7k | } |
8401 | 117k | inline const ::yb::DatumMessagePB& RowMessage::old_tuple(int index) const { |
8402 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.old_tuple) |
8403 | 117k | return old_tuple_.Get(index); |
8404 | 117k | } |
8405 | 0 | inline ::yb::DatumMessagePB* RowMessage::mutable_old_tuple(int index) { |
8406 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.old_tuple) |
8407 | 0 | return old_tuple_.Mutable(index); |
8408 | 0 | } |
8409 | 39.1k | inline ::yb::DatumMessagePB* RowMessage::add_old_tuple() { |
8410 | | // @@protoc_insertion_point(field_add:yb.cdc.RowMessage.old_tuple) |
8411 | 39.1k | return old_tuple_.Add(); |
8412 | 39.1k | } |
8413 | | inline ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >* |
8414 | 0 | RowMessage::mutable_old_tuple() { |
8415 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.RowMessage.old_tuple) |
8416 | 0 | return &old_tuple_; |
8417 | 0 | } |
8418 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::DatumMessagePB >& |
8419 | 0 | RowMessage::old_tuple() const { |
8420 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.RowMessage.old_tuple) |
8421 | 0 | return old_tuple_; |
8422 | 0 | } |
8423 | | |
8424 | | // repeated .yb.cdc.TypeInfo new_typeinfo = 7; |
8425 | 40.7k | inline int RowMessage::new_typeinfo_size() const { |
8426 | 40.7k | return new_typeinfo_.size(); |
8427 | 40.7k | } |
8428 | 0 | inline void RowMessage::clear_new_typeinfo() { |
8429 | 0 | new_typeinfo_.Clear(); |
8430 | 0 | } |
8431 | 0 | inline const ::yb::cdc::TypeInfo& RowMessage::new_typeinfo(int index) const { |
8432 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.new_typeinfo) |
8433 | 0 | return new_typeinfo_.Get(index); |
8434 | 0 | } |
8435 | 0 | inline ::yb::cdc::TypeInfo* RowMessage::mutable_new_typeinfo(int index) { |
8436 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.new_typeinfo) |
8437 | 0 | return new_typeinfo_.Mutable(index); |
8438 | 0 | } |
8439 | 0 | inline ::yb::cdc::TypeInfo* RowMessage::add_new_typeinfo() { |
8440 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.RowMessage.new_typeinfo) |
8441 | 0 | return new_typeinfo_.Add(); |
8442 | 0 | } |
8443 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo >* |
8444 | 0 | RowMessage::mutable_new_typeinfo() { |
8445 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.RowMessage.new_typeinfo) |
8446 | 0 | return &new_typeinfo_; |
8447 | 0 | } |
8448 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TypeInfo >& |
8449 | 0 | RowMessage::new_typeinfo() const { |
8450 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.RowMessage.new_typeinfo) |
8451 | 0 | return new_typeinfo_; |
8452 | 0 | } |
8453 | | |
8454 | | // optional .yb.cdc.CDCSDKSchemaPB schema = 8; |
8455 | 27.1k | inline bool RowMessage::has_schema() const { |
8456 | 27.1k | return (_has_bits_[0] & 0x00000010u) != 0; |
8457 | 27.1k | } |
8458 | 1.19k | inline void RowMessage::set_has_schema() { |
8459 | 1.19k | _has_bits_[0] |= 0x00000010u; |
8460 | 1.19k | } |
8461 | 0 | inline void RowMessage::clear_has_schema() { |
8462 | 0 | _has_bits_[0] &= ~0x00000010u; |
8463 | 0 | } |
8464 | 0 | inline void RowMessage::clear_schema() { |
8465 | 0 | if (schema_ != NULL) schema_->Clear(); |
8466 | 0 | clear_has_schema(); |
8467 | 0 | } |
8468 | 0 | inline const ::yb::cdc::CDCSDKSchemaPB& RowMessage::schema() const { |
8469 | 0 | const ::yb::cdc::CDCSDKSchemaPB* p = schema_; |
8470 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.schema) |
8471 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKSchemaPB*>( |
8472 | 0 | &::yb::cdc::_CDCSDKSchemaPB_default_instance_); |
8473 | 0 | } |
8474 | 0 | inline ::yb::cdc::CDCSDKSchemaPB* RowMessage::release_schema() { |
8475 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.schema) |
8476 | 0 | clear_has_schema(); |
8477 | 0 | ::yb::cdc::CDCSDKSchemaPB* temp = schema_; |
8478 | 0 | schema_ = NULL; |
8479 | 0 | return temp; |
8480 | 0 | } |
8481 | 1.19k | inline ::yb::cdc::CDCSDKSchemaPB* RowMessage::mutable_schema() { |
8482 | 1.19k | set_has_schema(); |
8483 | 1.19k | if (schema_ == NULL) { |
8484 | 314 | schema_ = new ::yb::cdc::CDCSDKSchemaPB; |
8485 | 314 | } |
8486 | | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.schema) |
8487 | 1.19k | return schema_; |
8488 | 1.19k | } |
8489 | 0 | inline void RowMessage::set_allocated_schema(::yb::cdc::CDCSDKSchemaPB* schema) { |
8490 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8491 | 0 | if (message_arena == NULL) { |
8492 | 0 | delete schema_; |
8493 | 0 | } |
8494 | 0 | if (schema) { |
8495 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8496 | 0 | if (message_arena != submessage_arena) { |
8497 | 0 | schema = ::google::protobuf::internal::GetOwnedMessage( |
8498 | 0 | message_arena, schema, submessage_arena); |
8499 | 0 | } |
8500 | 0 | set_has_schema(); |
8501 | 0 | } else { |
8502 | 0 | clear_has_schema(); |
8503 | 0 | } |
8504 | 0 | schema_ = schema; |
8505 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.schema) |
8506 | 0 | } |
8507 | | |
8508 | | // optional uint32 schema_version = 9; |
8509 | 27.1k | inline bool RowMessage::has_schema_version() const { |
8510 | 27.1k | return (_has_bits_[0] & 0x00000080u) != 0; |
8511 | 27.1k | } |
8512 | 314 | inline void RowMessage::set_has_schema_version() { |
8513 | 314 | _has_bits_[0] |= 0x00000080u; |
8514 | 314 | } |
8515 | 0 | inline void RowMessage::clear_has_schema_version() { |
8516 | 0 | _has_bits_[0] &= ~0x00000080u; |
8517 | 0 | } |
8518 | 0 | inline void RowMessage::clear_schema_version() { |
8519 | 0 | schema_version_ = 0u; |
8520 | 0 | clear_has_schema_version(); |
8521 | 0 | } |
8522 | 4.67k | inline ::google::protobuf::uint32 RowMessage::schema_version() const { |
8523 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.schema_version) |
8524 | 4.67k | return schema_version_; |
8525 | 4.67k | } |
8526 | 314 | inline void RowMessage::set_schema_version(::google::protobuf::uint32 value) { |
8527 | 314 | set_has_schema_version(); |
8528 | 314 | schema_version_ = value; |
8529 | | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.schema_version) |
8530 | 314 | } |
8531 | | |
8532 | | // optional string new_table_name = 10; |
8533 | 27.1k | inline bool RowMessage::has_new_table_name() const { |
8534 | 27.1k | return (_has_bits_[0] & 0x00000004u) != 0; |
8535 | 27.1k | } |
8536 | 152 | inline void RowMessage::set_has_new_table_name() { |
8537 | 152 | _has_bits_[0] |= 0x00000004u; |
8538 | 152 | } |
8539 | 0 | inline void RowMessage::clear_has_new_table_name() { |
8540 | 0 | _has_bits_[0] &= ~0x00000004u; |
8541 | 0 | } |
8542 | 0 | inline void RowMessage::clear_new_table_name() { |
8543 | 0 | new_table_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8544 | 0 | clear_has_new_table_name(); |
8545 | 0 | } |
8546 | 760 | inline const ::std::string& RowMessage::new_table_name() const { |
8547 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.new_table_name) |
8548 | 760 | return new_table_name_.GetNoArena(); |
8549 | 760 | } |
8550 | 152 | inline void RowMessage::set_new_table_name(const ::std::string& value) { |
8551 | 152 | set_has_new_table_name(); |
8552 | 152 | new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8553 | | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.new_table_name) |
8554 | 152 | } |
8555 | | #if LANG_CXX11 |
8556 | 0 | inline void RowMessage::set_new_table_name(::std::string&& value) { |
8557 | 0 | set_has_new_table_name(); |
8558 | 0 | new_table_name_.SetNoArena( |
8559 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8560 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.new_table_name) |
8561 | 0 | } |
8562 | | #endif |
8563 | 0 | inline void RowMessage::set_new_table_name(const char* value) { |
8564 | 0 | GOOGLE_DCHECK(value != NULL); |
8565 | 0 | set_has_new_table_name(); |
8566 | 0 | new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8567 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.new_table_name) |
8568 | 0 | } |
8569 | 0 | inline void RowMessage::set_new_table_name(const char* value, size_t size) { |
8570 | 0 | set_has_new_table_name(); |
8571 | 0 | new_table_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8572 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8573 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.new_table_name) |
8574 | 0 | } |
8575 | 0 | inline ::std::string* RowMessage::mutable_new_table_name() { |
8576 | 0 | set_has_new_table_name(); |
8577 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.new_table_name) |
8578 | 0 | return new_table_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8579 | 0 | } |
8580 | 0 | inline ::std::string* RowMessage::release_new_table_name() { |
8581 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.new_table_name) |
8582 | 0 | clear_has_new_table_name(); |
8583 | 0 | return new_table_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8584 | 0 | } |
8585 | 0 | inline void RowMessage::set_allocated_new_table_name(::std::string* new_table_name) { |
8586 | 0 | if (new_table_name != NULL) { |
8587 | 0 | set_has_new_table_name(); |
8588 | 0 | } else { |
8589 | 0 | clear_has_new_table_name(); |
8590 | 0 | } |
8591 | 0 | new_table_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_table_name); |
8592 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.new_table_name) |
8593 | 0 | } |
8594 | | |
8595 | | // optional string pgschema_name = 11; |
8596 | 27.1k | inline bool RowMessage::has_pgschema_name() const { |
8597 | 27.1k | return (_has_bits_[0] & 0x00000008u) != 0; |
8598 | 27.1k | } |
8599 | 13.8k | inline void RowMessage::set_has_pgschema_name() { |
8600 | 13.8k | _has_bits_[0] |= 0x00000008u; |
8601 | 13.8k | } |
8602 | 0 | inline void RowMessage::clear_has_pgschema_name() { |
8603 | 0 | _has_bits_[0] &= ~0x00000008u; |
8604 | 0 | } |
8605 | 0 | inline void RowMessage::clear_pgschema_name() { |
8606 | 0 | pgschema_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8607 | 0 | clear_has_pgschema_name(); |
8608 | 0 | } |
8609 | 67.2k | inline const ::std::string& RowMessage::pgschema_name() const { |
8610 | | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.pgschema_name) |
8611 | 67.2k | return pgschema_name_.GetNoArena(); |
8612 | 67.2k | } |
8613 | 162 | inline void RowMessage::set_pgschema_name(const ::std::string& value) { |
8614 | 162 | set_has_pgschema_name(); |
8615 | 162 | pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8616 | | // @@protoc_insertion_point(field_set:yb.cdc.RowMessage.pgschema_name) |
8617 | 162 | } |
8618 | | #if LANG_CXX11 |
8619 | 13.4k | inline void RowMessage::set_pgschema_name(::std::string&& value) { |
8620 | 13.4k | set_has_pgschema_name(); |
8621 | 13.4k | pgschema_name_.SetNoArena( |
8622 | 13.4k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8623 | | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.RowMessage.pgschema_name) |
8624 | 13.4k | } |
8625 | | #endif |
8626 | 0 | inline void RowMessage::set_pgschema_name(const char* value) { |
8627 | 0 | GOOGLE_DCHECK(value != NULL); |
8628 | 0 | set_has_pgschema_name(); |
8629 | 0 | pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8630 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.RowMessage.pgschema_name) |
8631 | 0 | } |
8632 | 0 | inline void RowMessage::set_pgschema_name(const char* value, size_t size) { |
8633 | 0 | set_has_pgschema_name(); |
8634 | 0 | pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8635 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8636 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.RowMessage.pgschema_name) |
8637 | 0 | } |
8638 | 0 | inline ::std::string* RowMessage::mutable_pgschema_name() { |
8639 | 0 | set_has_pgschema_name(); |
8640 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.pgschema_name) |
8641 | 0 | return pgschema_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8642 | 0 | } |
8643 | 0 | inline ::std::string* RowMessage::release_pgschema_name() { |
8644 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.pgschema_name) |
8645 | 0 | clear_has_pgschema_name(); |
8646 | 0 | return pgschema_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8647 | 0 | } |
8648 | 0 | inline void RowMessage::set_allocated_pgschema_name(::std::string* pgschema_name) { |
8649 | 0 | if (pgschema_name != NULL) { |
8650 | 0 | set_has_pgschema_name(); |
8651 | 0 | } else { |
8652 | 0 | clear_has_pgschema_name(); |
8653 | 0 | } |
8654 | 0 | pgschema_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pgschema_name); |
8655 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.pgschema_name) |
8656 | 0 | } |
8657 | | |
8658 | | // optional .yb.tserver.TruncateRequestPB truncate_request_info = 13; |
8659 | 27.1k | inline bool RowMessage::has_truncate_request_info() const { |
8660 | 27.1k | return (_has_bits_[0] & 0x00000020u) != 0; |
8661 | 27.1k | } |
8662 | 0 | inline void RowMessage::set_has_truncate_request_info() { |
8663 | 0 | _has_bits_[0] |= 0x00000020u; |
8664 | 0 | } |
8665 | 0 | inline void RowMessage::clear_has_truncate_request_info() { |
8666 | 0 | _has_bits_[0] &= ~0x00000020u; |
8667 | 0 | } |
8668 | 0 | inline const ::yb::tserver::TruncateRequestPB& RowMessage::truncate_request_info() const { |
8669 | 0 | const ::yb::tserver::TruncateRequestPB* p = truncate_request_info_; |
8670 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.RowMessage.truncate_request_info) |
8671 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::tserver::TruncateRequestPB*>( |
8672 | 0 | &::yb::tserver::_TruncateRequestPB_default_instance_); |
8673 | 0 | } |
8674 | 0 | inline ::yb::tserver::TruncateRequestPB* RowMessage::release_truncate_request_info() { |
8675 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.RowMessage.truncate_request_info) |
8676 | 0 | clear_has_truncate_request_info(); |
8677 | 0 | ::yb::tserver::TruncateRequestPB* temp = truncate_request_info_; |
8678 | 0 | truncate_request_info_ = NULL; |
8679 | 0 | return temp; |
8680 | 0 | } |
8681 | 0 | inline ::yb::tserver::TruncateRequestPB* RowMessage::mutable_truncate_request_info() { |
8682 | 0 | set_has_truncate_request_info(); |
8683 | 0 | if (truncate_request_info_ == NULL) { |
8684 | 0 | truncate_request_info_ = new ::yb::tserver::TruncateRequestPB; |
8685 | 0 | } |
8686 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.RowMessage.truncate_request_info) |
8687 | 0 | return truncate_request_info_; |
8688 | 0 | } |
8689 | 0 | inline void RowMessage::set_allocated_truncate_request_info(::yb::tserver::TruncateRequestPB* truncate_request_info) { |
8690 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8691 | 0 | if (message_arena == NULL) { |
8692 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(truncate_request_info_); |
8693 | 0 | } |
8694 | 0 | if (truncate_request_info) { |
8695 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8696 | 0 | if (message_arena != submessage_arena) { |
8697 | 0 | truncate_request_info = ::google::protobuf::internal::GetOwnedMessage( |
8698 | 0 | message_arena, truncate_request_info, submessage_arena); |
8699 | 0 | } |
8700 | 0 | set_has_truncate_request_info(); |
8701 | 0 | } else { |
8702 | 0 | clear_has_truncate_request_info(); |
8703 | 0 | } |
8704 | 0 | truncate_request_info_ = truncate_request_info; |
8705 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.RowMessage.truncate_request_info) |
8706 | 0 | } |
8707 | | |
8708 | | // ------------------------------------------------------------------- |
8709 | | |
8710 | | // CDCSDKProtoRecordPB |
8711 | | |
8712 | | // optional .yb.cdc.RowMessage row_message = 1; |
8713 | 27.1k | inline bool CDCSDKProtoRecordPB::has_row_message() const { |
8714 | 27.1k | return (_has_bits_[0] & 0x00000001u) != 0; |
8715 | 27.1k | } |
8716 | 13.6k | inline void CDCSDKProtoRecordPB::set_has_row_message() { |
8717 | 13.6k | _has_bits_[0] |= 0x00000001u; |
8718 | 13.6k | } |
8719 | 0 | inline void CDCSDKProtoRecordPB::clear_has_row_message() { |
8720 | 0 | _has_bits_[0] &= ~0x00000001u; |
8721 | 0 | } |
8722 | 0 | inline void CDCSDKProtoRecordPB::clear_row_message() { |
8723 | 0 | if (row_message_ != NULL) row_message_->Clear(); |
8724 | 0 | clear_has_row_message(); |
8725 | 0 | } |
8726 | 7.47k | inline const ::yb::cdc::RowMessage& CDCSDKProtoRecordPB::row_message() const { |
8727 | 7.47k | const ::yb::cdc::RowMessage* p = row_message_; |
8728 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKProtoRecordPB.row_message) |
8729 | 7.47k | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::RowMessage*>( |
8730 | 0 | &::yb::cdc::_RowMessage_default_instance_); |
8731 | 7.47k | } |
8732 | 0 | inline ::yb::cdc::RowMessage* CDCSDKProtoRecordPB::release_row_message() { |
8733 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKProtoRecordPB.row_message) |
8734 | 0 | clear_has_row_message(); |
8735 | 0 | ::yb::cdc::RowMessage* temp = row_message_; |
8736 | 0 | row_message_ = NULL; |
8737 | 0 | return temp; |
8738 | 0 | } |
8739 | 13.6k | inline ::yb::cdc::RowMessage* CDCSDKProtoRecordPB::mutable_row_message() { |
8740 | 13.6k | set_has_row_message(); |
8741 | 13.6k | if (row_message_ == NULL) { |
8742 | 13.6k | row_message_ = new ::yb::cdc::RowMessage; |
8743 | 13.6k | } |
8744 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKProtoRecordPB.row_message) |
8745 | 13.6k | return row_message_; |
8746 | 13.6k | } |
8747 | 0 | inline void CDCSDKProtoRecordPB::set_allocated_row_message(::yb::cdc::RowMessage* row_message) { |
8748 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8749 | 0 | if (message_arena == NULL) { |
8750 | 0 | delete row_message_; |
8751 | 0 | } |
8752 | 0 | if (row_message) { |
8753 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8754 | 0 | if (message_arena != submessage_arena) { |
8755 | 0 | row_message = ::google::protobuf::internal::GetOwnedMessage( |
8756 | 0 | message_arena, row_message, submessage_arena); |
8757 | 0 | } |
8758 | 0 | set_has_row_message(); |
8759 | 0 | } else { |
8760 | 0 | clear_has_row_message(); |
8761 | 0 | } |
8762 | 0 | row_message_ = row_message; |
8763 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKProtoRecordPB.row_message) |
8764 | 0 | } |
8765 | | |
8766 | | // optional .yb.cdc.CDCSDKOpIdPB cdc_sdk_op_id = 2; |
8767 | 27.1k | inline bool CDCSDKProtoRecordPB::has_cdc_sdk_op_id() const { |
8768 | 27.1k | return (_has_bits_[0] & 0x00000002u) != 0; |
8769 | 27.1k | } |
8770 | 777 | inline void CDCSDKProtoRecordPB::set_has_cdc_sdk_op_id() { |
8771 | 777 | _has_bits_[0] |= 0x00000002u; |
8772 | 777 | } |
8773 | 0 | inline void CDCSDKProtoRecordPB::clear_has_cdc_sdk_op_id() { |
8774 | 0 | _has_bits_[0] &= ~0x00000002u; |
8775 | 0 | } |
8776 | 0 | inline void CDCSDKProtoRecordPB::clear_cdc_sdk_op_id() { |
8777 | 0 | if (cdc_sdk_op_id_ != NULL) cdc_sdk_op_id_->Clear(); |
8778 | 0 | clear_has_cdc_sdk_op_id(); |
8779 | 0 | } |
8780 | 173 | inline const ::yb::cdc::CDCSDKOpIdPB& CDCSDKProtoRecordPB::cdc_sdk_op_id() const { |
8781 | 173 | const ::yb::cdc::CDCSDKOpIdPB* p = cdc_sdk_op_id_; |
8782 | | // @@protoc_insertion_point(field_get:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id) |
8783 | 173 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKOpIdPB*>( |
8784 | 0 | &::yb::cdc::_CDCSDKOpIdPB_default_instance_); |
8785 | 173 | } |
8786 | 0 | inline ::yb::cdc::CDCSDKOpIdPB* CDCSDKProtoRecordPB::release_cdc_sdk_op_id() { |
8787 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id) |
8788 | 0 | clear_has_cdc_sdk_op_id(); |
8789 | 0 | ::yb::cdc::CDCSDKOpIdPB* temp = cdc_sdk_op_id_; |
8790 | 0 | cdc_sdk_op_id_ = NULL; |
8791 | 0 | return temp; |
8792 | 0 | } |
8793 | 777 | inline ::yb::cdc::CDCSDKOpIdPB* CDCSDKProtoRecordPB::mutable_cdc_sdk_op_id() { |
8794 | 777 | set_has_cdc_sdk_op_id(); |
8795 | 777 | if (cdc_sdk_op_id_ == NULL) { |
8796 | 678 | cdc_sdk_op_id_ = new ::yb::cdc::CDCSDKOpIdPB; |
8797 | 678 | } |
8798 | | // @@protoc_insertion_point(field_mutable:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id) |
8799 | 777 | return cdc_sdk_op_id_; |
8800 | 777 | } |
8801 | 0 | inline void CDCSDKProtoRecordPB::set_allocated_cdc_sdk_op_id(::yb::cdc::CDCSDKOpIdPB* cdc_sdk_op_id) { |
8802 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8803 | 0 | if (message_arena == NULL) { |
8804 | 0 | delete cdc_sdk_op_id_; |
8805 | 0 | } |
8806 | 0 | if (cdc_sdk_op_id) { |
8807 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8808 | 0 | if (message_arena != submessage_arena) { |
8809 | 0 | cdc_sdk_op_id = ::google::protobuf::internal::GetOwnedMessage( |
8810 | 0 | message_arena, cdc_sdk_op_id, submessage_arena); |
8811 | 0 | } |
8812 | 0 | set_has_cdc_sdk_op_id(); |
8813 | 0 | } else { |
8814 | 0 | clear_has_cdc_sdk_op_id(); |
8815 | 0 | } |
8816 | 0 | cdc_sdk_op_id_ = cdc_sdk_op_id; |
8817 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.CDCSDKProtoRecordPB.cdc_sdk_op_id) |
8818 | 0 | } |
8819 | | |
8820 | | // ------------------------------------------------------------------- |
8821 | | |
8822 | | // GetChangesResponsePB |
8823 | | |
8824 | | // optional .yb.cdc.CDCErrorPB error = 1; |
8825 | 960 | inline bool GetChangesResponsePB::has_error() const { |
8826 | 960 | return (_has_bits_[0] & 0x00000001u) != 0; |
8827 | 960 | } |
8828 | 1 | inline void GetChangesResponsePB::set_has_error() { |
8829 | 1 | _has_bits_[0] |= 0x00000001u; |
8830 | 1 | } |
8831 | 0 | inline void GetChangesResponsePB::clear_has_error() { |
8832 | 0 | _has_bits_[0] &= ~0x00000001u; |
8833 | 0 | } |
8834 | 0 | inline void GetChangesResponsePB::clear_error() { |
8835 | 0 | if (error_ != NULL) error_->Clear(); |
8836 | 0 | clear_has_error(); |
8837 | 0 | } |
8838 | 0 | inline const ::yb::cdc::CDCErrorPB& GetChangesResponsePB::error() const { |
8839 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
8840 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.error) |
8841 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
8842 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
8843 | 0 | } |
8844 | 0 | inline ::yb::cdc::CDCErrorPB* GetChangesResponsePB::release_error() { |
8845 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesResponsePB.error) |
8846 | 0 | clear_has_error(); |
8847 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
8848 | 0 | error_ = NULL; |
8849 | 0 | return temp; |
8850 | 0 | } |
8851 | 1 | inline ::yb::cdc::CDCErrorPB* GetChangesResponsePB::mutable_error() { |
8852 | 1 | set_has_error(); |
8853 | 1 | if (error_ == NULL) { |
8854 | 1 | error_ = new ::yb::cdc::CDCErrorPB; |
8855 | 1 | } |
8856 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.error) |
8857 | 1 | return error_; |
8858 | 1 | } |
8859 | 0 | inline void GetChangesResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
8860 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8861 | 0 | if (message_arena == NULL) { |
8862 | 0 | delete error_; |
8863 | 0 | } |
8864 | 0 | if (error) { |
8865 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8866 | 0 | if (message_arena != submessage_arena) { |
8867 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
8868 | 0 | message_arena, error, submessage_arena); |
8869 | 0 | } |
8870 | 0 | set_has_error(); |
8871 | 0 | } else { |
8872 | 0 | clear_has_error(); |
8873 | 0 | } |
8874 | 0 | error_ = error; |
8875 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesResponsePB.error) |
8876 | 0 | } |
8877 | | |
8878 | | // optional .yb.cdc.CDCRecordType record_type = 2 [default = CHANGE]; |
8879 | 640 | inline bool GetChangesResponsePB::has_record_type() const { |
8880 | 640 | return (_has_bits_[0] & 0x00000008u) != 0; |
8881 | 640 | } |
8882 | 0 | inline void GetChangesResponsePB::set_has_record_type() { |
8883 | 0 | _has_bits_[0] |= 0x00000008u; |
8884 | 0 | } |
8885 | 0 | inline void GetChangesResponsePB::clear_has_record_type() { |
8886 | 0 | _has_bits_[0] &= ~0x00000008u; |
8887 | 0 | } |
8888 | 0 | inline void GetChangesResponsePB::clear_record_type() { |
8889 | 0 | record_type_ = 1; |
8890 | 0 | clear_has_record_type(); |
8891 | 0 | } |
8892 | 0 | inline ::yb::cdc::CDCRecordType GetChangesResponsePB::record_type() const { |
8893 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.record_type) |
8894 | 0 | return static_cast< ::yb::cdc::CDCRecordType >(record_type_); |
8895 | 0 | } |
8896 | 0 | inline void GetChangesResponsePB::set_record_type(::yb::cdc::CDCRecordType value) { |
8897 | 0 | assert(::yb::cdc::CDCRecordType_IsValid(value)); |
8898 | 0 | set_has_record_type(); |
8899 | 0 | record_type_ = value; |
8900 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesResponsePB.record_type) |
8901 | 0 | } |
8902 | | |
8903 | | // optional .yb.cdc.CDCRecordFormat record_format = 3; |
8904 | 640 | inline bool GetChangesResponsePB::has_record_format() const { |
8905 | 640 | return (_has_bits_[0] & 0x00000010u) != 0; |
8906 | 640 | } |
8907 | 0 | inline void GetChangesResponsePB::set_has_record_format() { |
8908 | 0 | _has_bits_[0] |= 0x00000010u; |
8909 | 0 | } |
8910 | 0 | inline void GetChangesResponsePB::clear_has_record_format() { |
8911 | 0 | _has_bits_[0] &= ~0x00000010u; |
8912 | 0 | } |
8913 | 0 | inline void GetChangesResponsePB::clear_record_format() { |
8914 | 0 | record_format_ = 1; |
8915 | 0 | clear_has_record_format(); |
8916 | 0 | } |
8917 | 0 | inline ::yb::cdc::CDCRecordFormat GetChangesResponsePB::record_format() const { |
8918 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.record_format) |
8919 | 0 | return static_cast< ::yb::cdc::CDCRecordFormat >(record_format_); |
8920 | 0 | } |
8921 | 0 | inline void GetChangesResponsePB::set_record_format(::yb::cdc::CDCRecordFormat value) { |
8922 | 0 | assert(::yb::cdc::CDCRecordFormat_IsValid(value)); |
8923 | 0 | set_has_record_format(); |
8924 | 0 | record_format_ = value; |
8925 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetChangesResponsePB.record_format) |
8926 | 0 | } |
8927 | | |
8928 | | // repeated .yb.cdc.CDCRecordPB records = 4; |
8929 | 1.59k | inline int GetChangesResponsePB::records_size() const { |
8930 | 1.59k | return records_.size(); |
8931 | 1.59k | } |
8932 | 0 | inline void GetChangesResponsePB::clear_records() { |
8933 | 0 | records_.Clear(); |
8934 | 0 | } |
8935 | 0 | inline const ::yb::cdc::CDCRecordPB& GetChangesResponsePB::records(int index) const { |
8936 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.records) |
8937 | 0 | return records_.Get(index); |
8938 | 0 | } |
8939 | 0 | inline ::yb::cdc::CDCRecordPB* GetChangesResponsePB::mutable_records(int index) { |
8940 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.records) |
8941 | 0 | return records_.Mutable(index); |
8942 | 0 | } |
8943 | 0 | inline ::yb::cdc::CDCRecordPB* GetChangesResponsePB::add_records() { |
8944 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.GetChangesResponsePB.records) |
8945 | 0 | return records_.Add(); |
8946 | 0 | } |
8947 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB >* |
8948 | 0 | GetChangesResponsePB::mutable_records() { |
8949 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetChangesResponsePB.records) |
8950 | 0 | return &records_; |
8951 | 0 | } |
8952 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCRecordPB >& |
8953 | 320 | GetChangesResponsePB::records() const { |
8954 | | // @@protoc_insertion_point(field_list:yb.cdc.GetChangesResponsePB.records) |
8955 | 320 | return records_; |
8956 | 320 | } |
8957 | | |
8958 | | // optional .yb.cdc.CDCCheckpointPB checkpoint = 5; |
8959 | 960 | inline bool GetChangesResponsePB::has_checkpoint() const { |
8960 | 960 | return (_has_bits_[0] & 0x00000002u) != 0; |
8961 | 960 | } |
8962 | 614 | inline void GetChangesResponsePB::set_has_checkpoint() { |
8963 | 614 | _has_bits_[0] |= 0x00000002u; |
8964 | 614 | } |
8965 | 0 | inline void GetChangesResponsePB::clear_has_checkpoint() { |
8966 | 0 | _has_bits_[0] &= ~0x00000002u; |
8967 | 0 | } |
8968 | 0 | inline void GetChangesResponsePB::clear_checkpoint() { |
8969 | 0 | if (checkpoint_ != NULL) checkpoint_->Clear(); |
8970 | 0 | clear_has_checkpoint(); |
8971 | 0 | } |
8972 | 630 | inline const ::yb::cdc::CDCCheckpointPB& GetChangesResponsePB::checkpoint() const { |
8973 | 630 | const ::yb::cdc::CDCCheckpointPB* p = checkpoint_; |
8974 | | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.checkpoint) |
8975 | 612 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>( |
8976 | 18 | &::yb::cdc::_CDCCheckpointPB_default_instance_); |
8977 | 630 | } |
8978 | 0 | inline ::yb::cdc::CDCCheckpointPB* GetChangesResponsePB::release_checkpoint() { |
8979 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesResponsePB.checkpoint) |
8980 | 0 | clear_has_checkpoint(); |
8981 | 0 | ::yb::cdc::CDCCheckpointPB* temp = checkpoint_; |
8982 | 0 | checkpoint_ = NULL; |
8983 | 0 | return temp; |
8984 | 0 | } |
8985 | 614 | inline ::yb::cdc::CDCCheckpointPB* GetChangesResponsePB::mutable_checkpoint() { |
8986 | 614 | set_has_checkpoint(); |
8987 | 614 | if (checkpoint_ == NULL) { |
8988 | 307 | checkpoint_ = new ::yb::cdc::CDCCheckpointPB; |
8989 | 307 | } |
8990 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.checkpoint) |
8991 | 614 | return checkpoint_; |
8992 | 614 | } |
8993 | 0 | inline void GetChangesResponsePB::set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint) { |
8994 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8995 | 0 | if (message_arena == NULL) { |
8996 | 0 | delete checkpoint_; |
8997 | 0 | } |
8998 | 0 | if (checkpoint) { |
8999 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9000 | 0 | if (message_arena != submessage_arena) { |
9001 | 0 | checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
9002 | 0 | message_arena, checkpoint, submessage_arena); |
9003 | 0 | } |
9004 | 0 | set_has_checkpoint(); |
9005 | 0 | } else { |
9006 | 0 | clear_has_checkpoint(); |
9007 | 0 | } |
9008 | 0 | checkpoint_ = checkpoint; |
9009 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesResponsePB.checkpoint) |
9010 | 0 | } |
9011 | | |
9012 | | // repeated .yb.HostPortPB tserver = 6; |
9013 | 960 | inline int GetChangesResponsePB::tserver_size() const { |
9014 | 960 | return tserver_.size(); |
9015 | 960 | } |
9016 | 0 | inline const ::yb::HostPortPB& GetChangesResponsePB::tserver(int index) const { |
9017 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.tserver) |
9018 | 0 | return tserver_.Get(index); |
9019 | 0 | } |
9020 | 0 | inline ::yb::HostPortPB* GetChangesResponsePB::mutable_tserver(int index) { |
9021 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.tserver) |
9022 | 0 | return tserver_.Mutable(index); |
9023 | 0 | } |
9024 | 0 | inline ::yb::HostPortPB* GetChangesResponsePB::add_tserver() { |
9025 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.GetChangesResponsePB.tserver) |
9026 | 0 | return tserver_.Add(); |
9027 | 0 | } |
9028 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
9029 | 0 | GetChangesResponsePB::mutable_tserver() { |
9030 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetChangesResponsePB.tserver) |
9031 | 0 | return &tserver_; |
9032 | 0 | } |
9033 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
9034 | 320 | GetChangesResponsePB::tserver() const { |
9035 | | // @@protoc_insertion_point(field_list:yb.cdc.GetChangesResponsePB.tserver) |
9036 | 320 | return tserver_; |
9037 | 320 | } |
9038 | | |
9039 | | // repeated .yb.cdc.CDCSDKProtoRecordPB cdc_sdk_proto_records = 8; |
9040 | 12.3k | inline int GetChangesResponsePB::cdc_sdk_proto_records_size() const { |
9041 | 12.3k | return cdc_sdk_proto_records_.size(); |
9042 | 12.3k | } |
9043 | 0 | inline void GetChangesResponsePB::clear_cdc_sdk_proto_records() { |
9044 | 0 | cdc_sdk_proto_records_.Clear(); |
9045 | 0 | } |
9046 | 48.2k | inline const ::yb::cdc::CDCSDKProtoRecordPB& GetChangesResponsePB::cdc_sdk_proto_records(int index) const { |
9047 | | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records) |
9048 | 48.2k | return cdc_sdk_proto_records_.Get(index); |
9049 | 48.2k | } |
9050 | 0 | inline ::yb::cdc::CDCSDKProtoRecordPB* GetChangesResponsePB::mutable_cdc_sdk_proto_records(int index) { |
9051 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records) |
9052 | 0 | return cdc_sdk_proto_records_.Mutable(index); |
9053 | 0 | } |
9054 | 13.5k | inline ::yb::cdc::CDCSDKProtoRecordPB* GetChangesResponsePB::add_cdc_sdk_proto_records() { |
9055 | | // @@protoc_insertion_point(field_add:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records) |
9056 | 13.5k | return cdc_sdk_proto_records_.Add(); |
9057 | 13.5k | } |
9058 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB >* |
9059 | 0 | GetChangesResponsePB::mutable_cdc_sdk_proto_records() { |
9060 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records) |
9061 | 0 | return &cdc_sdk_proto_records_; |
9062 | 0 | } |
9063 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::CDCSDKProtoRecordPB >& |
9064 | 0 | GetChangesResponsePB::cdc_sdk_proto_records() const { |
9065 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.GetChangesResponsePB.cdc_sdk_proto_records) |
9066 | 0 | return cdc_sdk_proto_records_; |
9067 | 0 | } |
9068 | | |
9069 | | // optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 9; |
9070 | 640 | inline bool GetChangesResponsePB::has_cdc_sdk_checkpoint() const { |
9071 | 640 | return (_has_bits_[0] & 0x00000004u) != 0; |
9072 | 640 | } |
9073 | 319 | inline void GetChangesResponsePB::set_has_cdc_sdk_checkpoint() { |
9074 | 319 | _has_bits_[0] |= 0x00000004u; |
9075 | 319 | } |
9076 | 0 | inline void GetChangesResponsePB::clear_has_cdc_sdk_checkpoint() { |
9077 | 0 | _has_bits_[0] &= ~0x00000004u; |
9078 | 0 | } |
9079 | 0 | inline void GetChangesResponsePB::clear_cdc_sdk_checkpoint() { |
9080 | 0 | if (cdc_sdk_checkpoint_ != NULL) cdc_sdk_checkpoint_->Clear(); |
9081 | 0 | clear_has_cdc_sdk_checkpoint(); |
9082 | 0 | } |
9083 | 0 | inline const ::yb::cdc::CDCSDKCheckpointPB& GetChangesResponsePB::cdc_sdk_checkpoint() const { |
9084 | 0 | const ::yb::cdc::CDCSDKCheckpointPB* p = cdc_sdk_checkpoint_; |
9085 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint) |
9086 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKCheckpointPB*>( |
9087 | 0 | &::yb::cdc::_CDCSDKCheckpointPB_default_instance_); |
9088 | 0 | } |
9089 | 0 | inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesResponsePB::release_cdc_sdk_checkpoint() { |
9090 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint) |
9091 | 0 | clear_has_cdc_sdk_checkpoint(); |
9092 | 0 | ::yb::cdc::CDCSDKCheckpointPB* temp = cdc_sdk_checkpoint_; |
9093 | 0 | cdc_sdk_checkpoint_ = NULL; |
9094 | 0 | return temp; |
9095 | 0 | } |
9096 | 319 | inline ::yb::cdc::CDCSDKCheckpointPB* GetChangesResponsePB::mutable_cdc_sdk_checkpoint() { |
9097 | 319 | set_has_cdc_sdk_checkpoint(); |
9098 | 319 | if (cdc_sdk_checkpoint_ == NULL) { |
9099 | 319 | cdc_sdk_checkpoint_ = new ::yb::cdc::CDCSDKCheckpointPB; |
9100 | 319 | } |
9101 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint) |
9102 | 319 | return cdc_sdk_checkpoint_; |
9103 | 319 | } |
9104 | 0 | inline void GetChangesResponsePB::set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint) { |
9105 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9106 | 0 | if (message_arena == NULL) { |
9107 | 0 | delete cdc_sdk_checkpoint_; |
9108 | 0 | } |
9109 | 0 | if (cdc_sdk_checkpoint) { |
9110 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9111 | 0 | if (message_arena != submessage_arena) { |
9112 | 0 | cdc_sdk_checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
9113 | 0 | message_arena, cdc_sdk_checkpoint, submessage_arena); |
9114 | 0 | } |
9115 | 0 | set_has_cdc_sdk_checkpoint(); |
9116 | 0 | } else { |
9117 | 0 | clear_has_cdc_sdk_checkpoint(); |
9118 | 0 | } |
9119 | 0 | cdc_sdk_checkpoint_ = cdc_sdk_checkpoint; |
9120 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetChangesResponsePB.cdc_sdk_checkpoint) |
9121 | 0 | } |
9122 | | |
9123 | | // ------------------------------------------------------------------- |
9124 | | |
9125 | | // GetCheckpointRequestPB |
9126 | | |
9127 | | // optional bytes stream_id = 1; |
9128 | 7 | inline bool GetCheckpointRequestPB::has_stream_id() const { |
9129 | 7 | return (_has_bits_[0] & 0x00000001u) != 0; |
9130 | 7 | } |
9131 | 7 | inline void GetCheckpointRequestPB::set_has_stream_id() { |
9132 | 7 | _has_bits_[0] |= 0x00000001u; |
9133 | 7 | } |
9134 | 0 | inline void GetCheckpointRequestPB::clear_has_stream_id() { |
9135 | 0 | _has_bits_[0] &= ~0x00000001u; |
9136 | 0 | } |
9137 | 0 | inline void GetCheckpointRequestPB::clear_stream_id() { |
9138 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9139 | 0 | clear_has_stream_id(); |
9140 | 0 | } |
9141 | 7 | inline const ::std::string& GetCheckpointRequestPB::stream_id() const { |
9142 | | // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointRequestPB.stream_id) |
9143 | 7 | return stream_id_.GetNoArena(); |
9144 | 7 | } |
9145 | 0 | inline void GetCheckpointRequestPB::set_stream_id(const ::std::string& value) { |
9146 | 0 | set_has_stream_id(); |
9147 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9148 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetCheckpointRequestPB.stream_id) |
9149 | 0 | } |
9150 | | #if LANG_CXX11 |
9151 | 0 | inline void GetCheckpointRequestPB::set_stream_id(::std::string&& value) { |
9152 | 0 | set_has_stream_id(); |
9153 | 0 | stream_id_.SetNoArena( |
9154 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9155 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCheckpointRequestPB.stream_id) |
9156 | 0 | } |
9157 | | #endif |
9158 | 0 | inline void GetCheckpointRequestPB::set_stream_id(const char* value) { |
9159 | 0 | GOOGLE_DCHECK(value != NULL); |
9160 | 0 | set_has_stream_id(); |
9161 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9162 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetCheckpointRequestPB.stream_id) |
9163 | 0 | } |
9164 | 0 | inline void GetCheckpointRequestPB::set_stream_id(const void* value, size_t size) { |
9165 | 0 | set_has_stream_id(); |
9166 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9167 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9168 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCheckpointRequestPB.stream_id) |
9169 | 0 | } |
9170 | 7 | inline ::std::string* GetCheckpointRequestPB::mutable_stream_id() { |
9171 | 7 | set_has_stream_id(); |
9172 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointRequestPB.stream_id) |
9173 | 7 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9174 | 7 | } |
9175 | 0 | inline ::std::string* GetCheckpointRequestPB::release_stream_id() { |
9176 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointRequestPB.stream_id) |
9177 | 0 | clear_has_stream_id(); |
9178 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9179 | 0 | } |
9180 | 0 | inline void GetCheckpointRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
9181 | 0 | if (stream_id != NULL) { |
9182 | 0 | set_has_stream_id(); |
9183 | 0 | } else { |
9184 | 0 | clear_has_stream_id(); |
9185 | 0 | } |
9186 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
9187 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointRequestPB.stream_id) |
9188 | 0 | } |
9189 | | |
9190 | | // optional bytes tablet_id = 2; |
9191 | 7 | inline bool GetCheckpointRequestPB::has_tablet_id() const { |
9192 | 7 | return (_has_bits_[0] & 0x00000002u) != 0; |
9193 | 7 | } |
9194 | 7 | inline void GetCheckpointRequestPB::set_has_tablet_id() { |
9195 | 7 | _has_bits_[0] |= 0x00000002u; |
9196 | 7 | } |
9197 | 0 | inline void GetCheckpointRequestPB::clear_has_tablet_id() { |
9198 | 0 | _has_bits_[0] &= ~0x00000002u; |
9199 | 0 | } |
9200 | 0 | inline void GetCheckpointRequestPB::clear_tablet_id() { |
9201 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9202 | 0 | clear_has_tablet_id(); |
9203 | 0 | } |
9204 | 14 | inline const ::std::string& GetCheckpointRequestPB::tablet_id() const { |
9205 | | // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9206 | 14 | return tablet_id_.GetNoArena(); |
9207 | 14 | } |
9208 | 0 | inline void GetCheckpointRequestPB::set_tablet_id(const ::std::string& value) { |
9209 | 0 | set_has_tablet_id(); |
9210 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9211 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9212 | 0 | } |
9213 | | #if LANG_CXX11 |
9214 | 0 | inline void GetCheckpointRequestPB::set_tablet_id(::std::string&& value) { |
9215 | 0 | set_has_tablet_id(); |
9216 | 0 | tablet_id_.SetNoArena( |
9217 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9218 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9219 | 0 | } |
9220 | | #endif |
9221 | 0 | inline void GetCheckpointRequestPB::set_tablet_id(const char* value) { |
9222 | 0 | GOOGLE_DCHECK(value != NULL); |
9223 | 0 | set_has_tablet_id(); |
9224 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9225 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9226 | 0 | } |
9227 | 0 | inline void GetCheckpointRequestPB::set_tablet_id(const void* value, size_t size) { |
9228 | 0 | set_has_tablet_id(); |
9229 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9230 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9231 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9232 | 0 | } |
9233 | 7 | inline ::std::string* GetCheckpointRequestPB::mutable_tablet_id() { |
9234 | 7 | set_has_tablet_id(); |
9235 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9236 | 7 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9237 | 7 | } |
9238 | 0 | inline ::std::string* GetCheckpointRequestPB::release_tablet_id() { |
9239 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9240 | 0 | clear_has_tablet_id(); |
9241 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9242 | 0 | } |
9243 | 0 | inline void GetCheckpointRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
9244 | 0 | if (tablet_id != NULL) { |
9245 | 0 | set_has_tablet_id(); |
9246 | 0 | } else { |
9247 | 0 | clear_has_tablet_id(); |
9248 | 0 | } |
9249 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
9250 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointRequestPB.tablet_id) |
9251 | 0 | } |
9252 | | |
9253 | | // ------------------------------------------------------------------- |
9254 | | |
9255 | | // GetCheckpointResponsePB |
9256 | | |
9257 | | // optional .yb.cdc.CDCErrorPB error = 1; |
9258 | 21 | inline bool GetCheckpointResponsePB::has_error() const { |
9259 | 21 | return (_has_bits_[0] & 0x00000001u) != 0; |
9260 | 21 | } |
9261 | 0 | inline void GetCheckpointResponsePB::set_has_error() { |
9262 | 0 | _has_bits_[0] |= 0x00000001u; |
9263 | 0 | } |
9264 | 0 | inline void GetCheckpointResponsePB::clear_has_error() { |
9265 | 0 | _has_bits_[0] &= ~0x00000001u; |
9266 | 0 | } |
9267 | 0 | inline void GetCheckpointResponsePB::clear_error() { |
9268 | 0 | if (error_ != NULL) error_->Clear(); |
9269 | 0 | clear_has_error(); |
9270 | 0 | } |
9271 | 0 | inline const ::yb::cdc::CDCErrorPB& GetCheckpointResponsePB::error() const { |
9272 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
9273 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointResponsePB.error) |
9274 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
9275 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
9276 | 0 | } |
9277 | 0 | inline ::yb::cdc::CDCErrorPB* GetCheckpointResponsePB::release_error() { |
9278 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointResponsePB.error) |
9279 | 0 | clear_has_error(); |
9280 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
9281 | 0 | error_ = NULL; |
9282 | 0 | return temp; |
9283 | 0 | } |
9284 | 0 | inline ::yb::cdc::CDCErrorPB* GetCheckpointResponsePB::mutable_error() { |
9285 | 0 | set_has_error(); |
9286 | 0 | if (error_ == NULL) { |
9287 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
9288 | 0 | } |
9289 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointResponsePB.error) |
9290 | 0 | return error_; |
9291 | 0 | } |
9292 | 0 | inline void GetCheckpointResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
9293 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9294 | 0 | if (message_arena == NULL) { |
9295 | 0 | delete error_; |
9296 | 0 | } |
9297 | 0 | if (error) { |
9298 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9299 | 0 | if (message_arena != submessage_arena) { |
9300 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
9301 | 0 | message_arena, error, submessage_arena); |
9302 | 0 | } |
9303 | 0 | set_has_error(); |
9304 | 0 | } else { |
9305 | 0 | clear_has_error(); |
9306 | 0 | } |
9307 | 0 | error_ = error; |
9308 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointResponsePB.error) |
9309 | 0 | } |
9310 | | |
9311 | | // optional .yb.cdc.CDCCheckpointPB checkpoint = 2; |
9312 | 21 | inline bool GetCheckpointResponsePB::has_checkpoint() const { |
9313 | 21 | return (_has_bits_[0] & 0x00000002u) != 0; |
9314 | 21 | } |
9315 | 7 | inline void GetCheckpointResponsePB::set_has_checkpoint() { |
9316 | 7 | _has_bits_[0] |= 0x00000002u; |
9317 | 7 | } |
9318 | 0 | inline void GetCheckpointResponsePB::clear_has_checkpoint() { |
9319 | 0 | _has_bits_[0] &= ~0x00000002u; |
9320 | 0 | } |
9321 | 0 | inline void GetCheckpointResponsePB::clear_checkpoint() { |
9322 | 0 | if (checkpoint_ != NULL) checkpoint_->Clear(); |
9323 | 0 | clear_has_checkpoint(); |
9324 | 0 | } |
9325 | 0 | inline const ::yb::cdc::CDCCheckpointPB& GetCheckpointResponsePB::checkpoint() const { |
9326 | 0 | const ::yb::cdc::CDCCheckpointPB* p = checkpoint_; |
9327 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetCheckpointResponsePB.checkpoint) |
9328 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>( |
9329 | 0 | &::yb::cdc::_CDCCheckpointPB_default_instance_); |
9330 | 0 | } |
9331 | 0 | inline ::yb::cdc::CDCCheckpointPB* GetCheckpointResponsePB::release_checkpoint() { |
9332 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCheckpointResponsePB.checkpoint) |
9333 | 0 | clear_has_checkpoint(); |
9334 | 0 | ::yb::cdc::CDCCheckpointPB* temp = checkpoint_; |
9335 | 0 | checkpoint_ = NULL; |
9336 | 0 | return temp; |
9337 | 0 | } |
9338 | 7 | inline ::yb::cdc::CDCCheckpointPB* GetCheckpointResponsePB::mutable_checkpoint() { |
9339 | 7 | set_has_checkpoint(); |
9340 | 7 | if (checkpoint_ == NULL) { |
9341 | 7 | checkpoint_ = new ::yb::cdc::CDCCheckpointPB; |
9342 | 7 | } |
9343 | | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCheckpointResponsePB.checkpoint) |
9344 | 7 | return checkpoint_; |
9345 | 7 | } |
9346 | 0 | inline void GetCheckpointResponsePB::set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint) { |
9347 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9348 | 0 | if (message_arena == NULL) { |
9349 | 0 | delete checkpoint_; |
9350 | 0 | } |
9351 | 0 | if (checkpoint) { |
9352 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9353 | 0 | if (message_arena != submessage_arena) { |
9354 | 0 | checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
9355 | 0 | message_arena, checkpoint, submessage_arena); |
9356 | 0 | } |
9357 | 0 | set_has_checkpoint(); |
9358 | 0 | } else { |
9359 | 0 | clear_has_checkpoint(); |
9360 | 0 | } |
9361 | 0 | checkpoint_ = checkpoint; |
9362 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCheckpointResponsePB.checkpoint) |
9363 | 0 | } |
9364 | | |
9365 | | // ------------------------------------------------------------------- |
9366 | | |
9367 | | // UpdateCdcReplicatedIndexRequestPB |
9368 | | |
9369 | | // optional bytes tablet_id = 1; |
9370 | 477 | inline bool UpdateCdcReplicatedIndexRequestPB::has_tablet_id() const { |
9371 | 477 | return (_has_bits_[0] & 0x00000001u) != 0; |
9372 | 477 | } |
9373 | 318 | inline void UpdateCdcReplicatedIndexRequestPB::set_has_tablet_id() { |
9374 | 318 | _has_bits_[0] |= 0x00000001u; |
9375 | 318 | } |
9376 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::clear_has_tablet_id() { |
9377 | 0 | _has_bits_[0] &= ~0x00000001u; |
9378 | 0 | } |
9379 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::clear_tablet_id() { |
9380 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9381 | 0 | clear_has_tablet_id(); |
9382 | 0 | } |
9383 | 795 | inline const ::std::string& UpdateCdcReplicatedIndexRequestPB::tablet_id() const { |
9384 | | // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9385 | 795 | return tablet_id_.GetNoArena(); |
9386 | 795 | } |
9387 | 159 | inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(const ::std::string& value) { |
9388 | 159 | set_has_tablet_id(); |
9389 | 159 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9390 | | // @@protoc_insertion_point(field_set:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9391 | 159 | } |
9392 | | #if LANG_CXX11 |
9393 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(::std::string&& value) { |
9394 | 0 | set_has_tablet_id(); |
9395 | 0 | tablet_id_.SetNoArena( |
9396 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9397 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9398 | 0 | } |
9399 | | #endif |
9400 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(const char* value) { |
9401 | 0 | GOOGLE_DCHECK(value != NULL); |
9402 | 0 | set_has_tablet_id(); |
9403 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9404 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9405 | 0 | } |
9406 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::set_tablet_id(const void* value, size_t size) { |
9407 | 0 | set_has_tablet_id(); |
9408 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9409 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9410 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9411 | 0 | } |
9412 | 159 | inline ::std::string* UpdateCdcReplicatedIndexRequestPB::mutable_tablet_id() { |
9413 | 159 | set_has_tablet_id(); |
9414 | | // @@protoc_insertion_point(field_mutable:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9415 | 159 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9416 | 159 | } |
9417 | 0 | inline ::std::string* UpdateCdcReplicatedIndexRequestPB::release_tablet_id() { |
9418 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9419 | 0 | clear_has_tablet_id(); |
9420 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9421 | 0 | } |
9422 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
9423 | 0 | if (tablet_id != NULL) { |
9424 | 0 | set_has_tablet_id(); |
9425 | 0 | } else { |
9426 | 0 | clear_has_tablet_id(); |
9427 | 0 | } |
9428 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
9429 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.UpdateCdcReplicatedIndexRequestPB.tablet_id) |
9430 | 0 | } |
9431 | | |
9432 | | // optional int64 replicated_index = 2; |
9433 | 477 | inline bool UpdateCdcReplicatedIndexRequestPB::has_replicated_index() const { |
9434 | 477 | return (_has_bits_[0] & 0x00000002u) != 0; |
9435 | 477 | } |
9436 | 318 | inline void UpdateCdcReplicatedIndexRequestPB::set_has_replicated_index() { |
9437 | 318 | _has_bits_[0] |= 0x00000002u; |
9438 | 318 | } |
9439 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::clear_has_replicated_index() { |
9440 | 0 | _has_bits_[0] &= ~0x00000002u; |
9441 | 0 | } |
9442 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::clear_replicated_index() { |
9443 | 0 | replicated_index_ = GOOGLE_LONGLONG(0); |
9444 | 0 | clear_has_replicated_index(); |
9445 | 0 | } |
9446 | 795 | inline ::google::protobuf::int64 UpdateCdcReplicatedIndexRequestPB::replicated_index() const { |
9447 | | // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_index) |
9448 | 795 | return replicated_index_; |
9449 | 795 | } |
9450 | 159 | inline void UpdateCdcReplicatedIndexRequestPB::set_replicated_index(::google::protobuf::int64 value) { |
9451 | 159 | set_has_replicated_index(); |
9452 | 159 | replicated_index_ = value; |
9453 | | // @@protoc_insertion_point(field_set:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_index) |
9454 | 159 | } |
9455 | | |
9456 | | // optional int64 replicated_term = 3; |
9457 | 318 | inline bool UpdateCdcReplicatedIndexRequestPB::has_replicated_term() const { |
9458 | 318 | return (_has_bits_[0] & 0x00000004u) != 0; |
9459 | 318 | } |
9460 | 318 | inline void UpdateCdcReplicatedIndexRequestPB::set_has_replicated_term() { |
9461 | 318 | _has_bits_[0] |= 0x00000004u; |
9462 | 318 | } |
9463 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::clear_has_replicated_term() { |
9464 | 0 | _has_bits_[0] &= ~0x00000004u; |
9465 | 0 | } |
9466 | 0 | inline void UpdateCdcReplicatedIndexRequestPB::clear_replicated_term() { |
9467 | 0 | replicated_term_ = GOOGLE_LONGLONG(0); |
9468 | 0 | clear_has_replicated_term(); |
9469 | 0 | } |
9470 | 636 | inline ::google::protobuf::int64 UpdateCdcReplicatedIndexRequestPB::replicated_term() const { |
9471 | | // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_term) |
9472 | 636 | return replicated_term_; |
9473 | 636 | } |
9474 | 159 | inline void UpdateCdcReplicatedIndexRequestPB::set_replicated_term(::google::protobuf::int64 value) { |
9475 | 159 | set_has_replicated_term(); |
9476 | 159 | replicated_term_ = value; |
9477 | | // @@protoc_insertion_point(field_set:yb.cdc.UpdateCdcReplicatedIndexRequestPB.replicated_term) |
9478 | 159 | } |
9479 | | |
9480 | | // ------------------------------------------------------------------- |
9481 | | |
9482 | | // UpdateCdcReplicatedIndexResponsePB |
9483 | | |
9484 | | // optional .yb.cdc.CDCErrorPB error = 1; |
9485 | 795 | inline bool UpdateCdcReplicatedIndexResponsePB::has_error() const { |
9486 | 795 | return (_has_bits_[0] & 0x00000001u) != 0; |
9487 | 795 | } |
9488 | 0 | inline void UpdateCdcReplicatedIndexResponsePB::set_has_error() { |
9489 | 0 | _has_bits_[0] |= 0x00000001u; |
9490 | 0 | } |
9491 | 0 | inline void UpdateCdcReplicatedIndexResponsePB::clear_has_error() { |
9492 | 0 | _has_bits_[0] &= ~0x00000001u; |
9493 | 0 | } |
9494 | 0 | inline void UpdateCdcReplicatedIndexResponsePB::clear_error() { |
9495 | 0 | if (error_ != NULL) error_->Clear(); |
9496 | 0 | clear_has_error(); |
9497 | 0 | } |
9498 | 0 | inline const ::yb::cdc::CDCErrorPB& UpdateCdcReplicatedIndexResponsePB::error() const { |
9499 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
9500 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error) |
9501 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
9502 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
9503 | 0 | } |
9504 | 0 | inline ::yb::cdc::CDCErrorPB* UpdateCdcReplicatedIndexResponsePB::release_error() { |
9505 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error) |
9506 | 0 | clear_has_error(); |
9507 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
9508 | 0 | error_ = NULL; |
9509 | 0 | return temp; |
9510 | 0 | } |
9511 | 0 | inline ::yb::cdc::CDCErrorPB* UpdateCdcReplicatedIndexResponsePB::mutable_error() { |
9512 | 0 | set_has_error(); |
9513 | 0 | if (error_ == NULL) { |
9514 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
9515 | 0 | } |
9516 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error) |
9517 | 0 | return error_; |
9518 | 0 | } |
9519 | 0 | inline void UpdateCdcReplicatedIndexResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
9520 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9521 | 0 | if (message_arena == NULL) { |
9522 | 0 | delete error_; |
9523 | 0 | } |
9524 | 0 | if (error) { |
9525 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9526 | 0 | if (message_arena != submessage_arena) { |
9527 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
9528 | 0 | message_arena, error, submessage_arena); |
9529 | 0 | } |
9530 | 0 | set_has_error(); |
9531 | 0 | } else { |
9532 | 0 | clear_has_error(); |
9533 | 0 | } |
9534 | 0 | error_ = error; |
9535 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.UpdateCdcReplicatedIndexResponsePB.error) |
9536 | 0 | } |
9537 | | |
9538 | | // ------------------------------------------------------------------- |
9539 | | |
9540 | | // BootstrapProducerRequestPB |
9541 | | |
9542 | | // repeated string table_ids = 1; |
9543 | 0 | inline int BootstrapProducerRequestPB::table_ids_size() const { |
9544 | 0 | return table_ids_.size(); |
9545 | 0 | } |
9546 | 0 | inline void BootstrapProducerRequestPB::clear_table_ids() { |
9547 | 0 | table_ids_.Clear(); |
9548 | 0 | } |
9549 | 0 | inline const ::std::string& BootstrapProducerRequestPB::table_ids(int index) const { |
9550 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9551 | 0 | return table_ids_.Get(index); |
9552 | 0 | } |
9553 | 0 | inline ::std::string* BootstrapProducerRequestPB::mutable_table_ids(int index) { |
9554 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9555 | 0 | return table_ids_.Mutable(index); |
9556 | 0 | } |
9557 | 0 | inline void BootstrapProducerRequestPB::set_table_ids(int index, const ::std::string& value) { |
9558 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9559 | 0 | table_ids_.Mutable(index)->assign(value); |
9560 | 0 | } |
9561 | | #if LANG_CXX11 |
9562 | 0 | inline void BootstrapProducerRequestPB::set_table_ids(int index, ::std::string&& value) { |
9563 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9564 | 0 | table_ids_.Mutable(index)->assign(std::move(value)); |
9565 | 0 | } |
9566 | | #endif |
9567 | 0 | inline void BootstrapProducerRequestPB::set_table_ids(int index, const char* value) { |
9568 | 0 | GOOGLE_DCHECK(value != NULL); |
9569 | 0 | table_ids_.Mutable(index)->assign(value); |
9570 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9571 | 0 | } |
9572 | 0 | inline void BootstrapProducerRequestPB::set_table_ids(int index, const char* value, size_t size) { |
9573 | 0 | table_ids_.Mutable(index)->assign( |
9574 | 0 | reinterpret_cast<const char*>(value), size); |
9575 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9576 | 0 | } |
9577 | 0 | inline ::std::string* BootstrapProducerRequestPB::add_table_ids() { |
9578 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9579 | 0 | return table_ids_.Add(); |
9580 | 0 | } |
9581 | 0 | inline void BootstrapProducerRequestPB::add_table_ids(const ::std::string& value) { |
9582 | 0 | table_ids_.Add()->assign(value); |
9583 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9584 | 0 | } |
9585 | | #if LANG_CXX11 |
9586 | 0 | inline void BootstrapProducerRequestPB::add_table_ids(::std::string&& value) { |
9587 | 0 | table_ids_.Add(std::move(value)); |
9588 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9589 | 0 | } |
9590 | | #endif |
9591 | 0 | inline void BootstrapProducerRequestPB::add_table_ids(const char* value) { |
9592 | 0 | GOOGLE_DCHECK(value != NULL); |
9593 | 0 | table_ids_.Add()->assign(value); |
9594 | 0 | // @@protoc_insertion_point(field_add_char:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9595 | 0 | } |
9596 | 0 | inline void BootstrapProducerRequestPB::add_table_ids(const char* value, size_t size) { |
9597 | 0 | table_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
9598 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9599 | 0 | } |
9600 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
9601 | 0 | BootstrapProducerRequestPB::table_ids() const { |
9602 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9603 | 0 | return table_ids_; |
9604 | 0 | } |
9605 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
9606 | 0 | BootstrapProducerRequestPB::mutable_table_ids() { |
9607 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.BootstrapProducerRequestPB.table_ids) |
9608 | 0 | return &table_ids_; |
9609 | 0 | } |
9610 | | |
9611 | | // ------------------------------------------------------------------- |
9612 | | |
9613 | | // BootstrapProducerResponsePB |
9614 | | |
9615 | | // optional .yb.cdc.CDCErrorPB error = 1; |
9616 | 0 | inline bool BootstrapProducerResponsePB::has_error() const { |
9617 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
9618 | 0 | } |
9619 | 0 | inline void BootstrapProducerResponsePB::set_has_error() { |
9620 | 0 | _has_bits_[0] |= 0x00000001u; |
9621 | 0 | } |
9622 | 0 | inline void BootstrapProducerResponsePB::clear_has_error() { |
9623 | 0 | _has_bits_[0] &= ~0x00000001u; |
9624 | 0 | } |
9625 | 0 | inline void BootstrapProducerResponsePB::clear_error() { |
9626 | 0 | if (error_ != NULL) error_->Clear(); |
9627 | 0 | clear_has_error(); |
9628 | 0 | } |
9629 | 0 | inline const ::yb::cdc::CDCErrorPB& BootstrapProducerResponsePB::error() const { |
9630 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
9631 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.BootstrapProducerResponsePB.error) |
9632 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
9633 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
9634 | 0 | } |
9635 | 0 | inline ::yb::cdc::CDCErrorPB* BootstrapProducerResponsePB::release_error() { |
9636 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.BootstrapProducerResponsePB.error) |
9637 | 0 | clear_has_error(); |
9638 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
9639 | 0 | error_ = NULL; |
9640 | 0 | return temp; |
9641 | 0 | } |
9642 | 0 | inline ::yb::cdc::CDCErrorPB* BootstrapProducerResponsePB::mutable_error() { |
9643 | 0 | set_has_error(); |
9644 | 0 | if (error_ == NULL) { |
9645 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
9646 | 0 | } |
9647 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.BootstrapProducerResponsePB.error) |
9648 | 0 | return error_; |
9649 | 0 | } |
9650 | 0 | inline void BootstrapProducerResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
9651 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9652 | 0 | if (message_arena == NULL) { |
9653 | 0 | delete error_; |
9654 | 0 | } |
9655 | 0 | if (error) { |
9656 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9657 | 0 | if (message_arena != submessage_arena) { |
9658 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
9659 | 0 | message_arena, error, submessage_arena); |
9660 | 0 | } |
9661 | 0 | set_has_error(); |
9662 | 0 | } else { |
9663 | 0 | clear_has_error(); |
9664 | 0 | } |
9665 | 0 | error_ = error; |
9666 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.BootstrapProducerResponsePB.error) |
9667 | 0 | } |
9668 | | |
9669 | | // repeated bytes cdc_bootstrap_ids = 2; |
9670 | 0 | inline int BootstrapProducerResponsePB::cdc_bootstrap_ids_size() const { |
9671 | 0 | return cdc_bootstrap_ids_.size(); |
9672 | 0 | } |
9673 | 0 | inline void BootstrapProducerResponsePB::clear_cdc_bootstrap_ids() { |
9674 | 0 | cdc_bootstrap_ids_.Clear(); |
9675 | 0 | } |
9676 | 0 | inline const ::std::string& BootstrapProducerResponsePB::cdc_bootstrap_ids(int index) const { |
9677 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9678 | 0 | return cdc_bootstrap_ids_.Get(index); |
9679 | 0 | } |
9680 | 0 | inline ::std::string* BootstrapProducerResponsePB::mutable_cdc_bootstrap_ids(int index) { |
9681 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9682 | 0 | return cdc_bootstrap_ids_.Mutable(index); |
9683 | 0 | } |
9684 | 0 | inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, const ::std::string& value) { |
9685 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9686 | 0 | cdc_bootstrap_ids_.Mutable(index)->assign(value); |
9687 | 0 | } |
9688 | | #if LANG_CXX11 |
9689 | 0 | inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, ::std::string&& value) { |
9690 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9691 | 0 | cdc_bootstrap_ids_.Mutable(index)->assign(std::move(value)); |
9692 | 0 | } |
9693 | | #endif |
9694 | 0 | inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, const char* value) { |
9695 | 0 | GOOGLE_DCHECK(value != NULL); |
9696 | 0 | cdc_bootstrap_ids_.Mutable(index)->assign(value); |
9697 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9698 | 0 | } |
9699 | 0 | inline void BootstrapProducerResponsePB::set_cdc_bootstrap_ids(int index, const void* value, size_t size) { |
9700 | 0 | cdc_bootstrap_ids_.Mutable(index)->assign( |
9701 | 0 | reinterpret_cast<const char*>(value), size); |
9702 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9703 | 0 | } |
9704 | 0 | inline ::std::string* BootstrapProducerResponsePB::add_cdc_bootstrap_ids() { |
9705 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9706 | 0 | return cdc_bootstrap_ids_.Add(); |
9707 | 0 | } |
9708 | 0 | inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(const ::std::string& value) { |
9709 | 0 | cdc_bootstrap_ids_.Add()->assign(value); |
9710 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9711 | 0 | } |
9712 | | #if LANG_CXX11 |
9713 | 0 | inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(::std::string&& value) { |
9714 | 0 | cdc_bootstrap_ids_.Add(std::move(value)); |
9715 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9716 | 0 | } |
9717 | | #endif |
9718 | 0 | inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(const char* value) { |
9719 | 0 | GOOGLE_DCHECK(value != NULL); |
9720 | 0 | cdc_bootstrap_ids_.Add()->assign(value); |
9721 | 0 | // @@protoc_insertion_point(field_add_char:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9722 | 0 | } |
9723 | 0 | inline void BootstrapProducerResponsePB::add_cdc_bootstrap_ids(const void* value, size_t size) { |
9724 | 0 | cdc_bootstrap_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
9725 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9726 | 0 | } |
9727 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
9728 | 0 | BootstrapProducerResponsePB::cdc_bootstrap_ids() const { |
9729 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9730 | 0 | return cdc_bootstrap_ids_; |
9731 | 0 | } |
9732 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
9733 | 0 | BootstrapProducerResponsePB::mutable_cdc_bootstrap_ids() { |
9734 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.BootstrapProducerResponsePB.cdc_bootstrap_ids) |
9735 | 0 | return &cdc_bootstrap_ids_; |
9736 | 0 | } |
9737 | | |
9738 | | // ------------------------------------------------------------------- |
9739 | | |
9740 | | // GetLatestEntryOpIdRequestPB |
9741 | | |
9742 | | // optional bytes tablet_id = 1; |
9743 | 0 | inline bool GetLatestEntryOpIdRequestPB::has_tablet_id() const { |
9744 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
9745 | 0 | } |
9746 | 0 | inline void GetLatestEntryOpIdRequestPB::set_has_tablet_id() { |
9747 | 0 | _has_bits_[0] |= 0x00000001u; |
9748 | 0 | } |
9749 | 0 | inline void GetLatestEntryOpIdRequestPB::clear_has_tablet_id() { |
9750 | 0 | _has_bits_[0] &= ~0x00000001u; |
9751 | 0 | } |
9752 | 0 | inline void GetLatestEntryOpIdRequestPB::clear_tablet_id() { |
9753 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9754 | 0 | clear_has_tablet_id(); |
9755 | 0 | } |
9756 | 0 | inline const ::std::string& GetLatestEntryOpIdRequestPB::tablet_id() const { |
9757 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9758 | 0 | return tablet_id_.GetNoArena(); |
9759 | 0 | } |
9760 | 0 | inline void GetLatestEntryOpIdRequestPB::set_tablet_id(const ::std::string& value) { |
9761 | 0 | set_has_tablet_id(); |
9762 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9763 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9764 | 0 | } |
9765 | | #if LANG_CXX11 |
9766 | 0 | inline void GetLatestEntryOpIdRequestPB::set_tablet_id(::std::string&& value) { |
9767 | 0 | set_has_tablet_id(); |
9768 | 0 | tablet_id_.SetNoArena( |
9769 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9770 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9771 | 0 | } |
9772 | | #endif |
9773 | 0 | inline void GetLatestEntryOpIdRequestPB::set_tablet_id(const char* value) { |
9774 | 0 | GOOGLE_DCHECK(value != NULL); |
9775 | 0 | set_has_tablet_id(); |
9776 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9777 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9778 | 0 | } |
9779 | 0 | inline void GetLatestEntryOpIdRequestPB::set_tablet_id(const void* value, size_t size) { |
9780 | 0 | set_has_tablet_id(); |
9781 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9782 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9783 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9784 | 0 | } |
9785 | 0 | inline ::std::string* GetLatestEntryOpIdRequestPB::mutable_tablet_id() { |
9786 | 0 | set_has_tablet_id(); |
9787 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9788 | 0 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9789 | 0 | } |
9790 | 0 | inline ::std::string* GetLatestEntryOpIdRequestPB::release_tablet_id() { |
9791 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9792 | 0 | clear_has_tablet_id(); |
9793 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9794 | 0 | } |
9795 | 0 | inline void GetLatestEntryOpIdRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
9796 | 0 | if (tablet_id != NULL) { |
9797 | 0 | set_has_tablet_id(); |
9798 | 0 | } else { |
9799 | 0 | clear_has_tablet_id(); |
9800 | 0 | } |
9801 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
9802 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetLatestEntryOpIdRequestPB.tablet_id) |
9803 | 0 | } |
9804 | | |
9805 | | // ------------------------------------------------------------------- |
9806 | | |
9807 | | // GetLatestEntryOpIdResponsePB |
9808 | | |
9809 | | // optional .yb.cdc.CDCErrorPB error = 1; |
9810 | 0 | inline bool GetLatestEntryOpIdResponsePB::has_error() const { |
9811 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
9812 | 0 | } |
9813 | 0 | inline void GetLatestEntryOpIdResponsePB::set_has_error() { |
9814 | 0 | _has_bits_[0] |= 0x00000001u; |
9815 | 0 | } |
9816 | 0 | inline void GetLatestEntryOpIdResponsePB::clear_has_error() { |
9817 | 0 | _has_bits_[0] &= ~0x00000001u; |
9818 | 0 | } |
9819 | 0 | inline void GetLatestEntryOpIdResponsePB::clear_error() { |
9820 | 0 | if (error_ != NULL) error_->Clear(); |
9821 | 0 | clear_has_error(); |
9822 | 0 | } |
9823 | 0 | inline const ::yb::cdc::CDCErrorPB& GetLatestEntryOpIdResponsePB::error() const { |
9824 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
9825 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetLatestEntryOpIdResponsePB.error) |
9826 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
9827 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
9828 | 0 | } |
9829 | 0 | inline ::yb::cdc::CDCErrorPB* GetLatestEntryOpIdResponsePB::release_error() { |
9830 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetLatestEntryOpIdResponsePB.error) |
9831 | 0 | clear_has_error(); |
9832 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
9833 | 0 | error_ = NULL; |
9834 | 0 | return temp; |
9835 | 0 | } |
9836 | 0 | inline ::yb::cdc::CDCErrorPB* GetLatestEntryOpIdResponsePB::mutable_error() { |
9837 | 0 | set_has_error(); |
9838 | 0 | if (error_ == NULL) { |
9839 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
9840 | 0 | } |
9841 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetLatestEntryOpIdResponsePB.error) |
9842 | 0 | return error_; |
9843 | 0 | } |
9844 | 0 | inline void GetLatestEntryOpIdResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
9845 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9846 | 0 | if (message_arena == NULL) { |
9847 | 0 | delete error_; |
9848 | 0 | } |
9849 | 0 | if (error) { |
9850 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9851 | 0 | if (message_arena != submessage_arena) { |
9852 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
9853 | 0 | message_arena, error, submessage_arena); |
9854 | 0 | } |
9855 | 0 | set_has_error(); |
9856 | 0 | } else { |
9857 | 0 | clear_has_error(); |
9858 | 0 | } |
9859 | 0 | error_ = error; |
9860 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetLatestEntryOpIdResponsePB.error) |
9861 | 0 | } |
9862 | | |
9863 | | // optional .yb.OpIdPB op_id = 2; |
9864 | 0 | inline bool GetLatestEntryOpIdResponsePB::has_op_id() const { |
9865 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
9866 | 0 | } |
9867 | 0 | inline void GetLatestEntryOpIdResponsePB::set_has_op_id() { |
9868 | 0 | _has_bits_[0] |= 0x00000002u; |
9869 | 0 | } |
9870 | 0 | inline void GetLatestEntryOpIdResponsePB::clear_has_op_id() { |
9871 | 0 | _has_bits_[0] &= ~0x00000002u; |
9872 | 0 | } |
9873 | 0 | inline const ::yb::OpIdPB& GetLatestEntryOpIdResponsePB::op_id() const { |
9874 | 0 | const ::yb::OpIdPB* p = op_id_; |
9875 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetLatestEntryOpIdResponsePB.op_id) |
9876 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::OpIdPB*>( |
9877 | 0 | &::yb::_OpIdPB_default_instance_); |
9878 | 0 | } |
9879 | 0 | inline ::yb::OpIdPB* GetLatestEntryOpIdResponsePB::release_op_id() { |
9880 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetLatestEntryOpIdResponsePB.op_id) |
9881 | 0 | clear_has_op_id(); |
9882 | 0 | ::yb::OpIdPB* temp = op_id_; |
9883 | 0 | op_id_ = NULL; |
9884 | 0 | return temp; |
9885 | 0 | } |
9886 | 0 | inline ::yb::OpIdPB* GetLatestEntryOpIdResponsePB::mutable_op_id() { |
9887 | 0 | set_has_op_id(); |
9888 | 0 | if (op_id_ == NULL) { |
9889 | 0 | op_id_ = new ::yb::OpIdPB; |
9890 | 0 | } |
9891 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetLatestEntryOpIdResponsePB.op_id) |
9892 | 0 | return op_id_; |
9893 | 0 | } |
9894 | 0 | inline void GetLatestEntryOpIdResponsePB::set_allocated_op_id(::yb::OpIdPB* op_id) { |
9895 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9896 | 0 | if (message_arena == NULL) { |
9897 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(op_id_); |
9898 | 0 | } |
9899 | 0 | if (op_id) { |
9900 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9901 | 0 | if (message_arena != submessage_arena) { |
9902 | 0 | op_id = ::google::protobuf::internal::GetOwnedMessage( |
9903 | 0 | message_arena, op_id, submessage_arena); |
9904 | 0 | } |
9905 | 0 | set_has_op_id(); |
9906 | 0 | } else { |
9907 | 0 | clear_has_op_id(); |
9908 | 0 | } |
9909 | 0 | op_id_ = op_id; |
9910 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetLatestEntryOpIdResponsePB.op_id) |
9911 | 0 | } |
9912 | | |
9913 | | // ------------------------------------------------------------------- |
9914 | | |
9915 | | // TableInfo |
9916 | | |
9917 | | // optional bytes stream_id = 1; |
9918 | 0 | inline bool TableInfo::has_stream_id() const { |
9919 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
9920 | 0 | } |
9921 | 0 | inline void TableInfo::set_has_stream_id() { |
9922 | 0 | _has_bits_[0] |= 0x00000001u; |
9923 | 0 | } |
9924 | 0 | inline void TableInfo::clear_has_stream_id() { |
9925 | 0 | _has_bits_[0] &= ~0x00000001u; |
9926 | 0 | } |
9927 | 0 | inline void TableInfo::clear_stream_id() { |
9928 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9929 | 0 | clear_has_stream_id(); |
9930 | 0 | } |
9931 | 0 | inline const ::std::string& TableInfo::stream_id() const { |
9932 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.TableInfo.stream_id) |
9933 | 0 | return stream_id_.GetNoArena(); |
9934 | 0 | } |
9935 | 0 | inline void TableInfo::set_stream_id(const ::std::string& value) { |
9936 | 0 | set_has_stream_id(); |
9937 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9938 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.TableInfo.stream_id) |
9939 | 0 | } |
9940 | | #if LANG_CXX11 |
9941 | 0 | inline void TableInfo::set_stream_id(::std::string&& value) { |
9942 | 0 | set_has_stream_id(); |
9943 | 0 | stream_id_.SetNoArena( |
9944 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9945 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.TableInfo.stream_id) |
9946 | 0 | } |
9947 | | #endif |
9948 | 0 | inline void TableInfo::set_stream_id(const char* value) { |
9949 | 0 | GOOGLE_DCHECK(value != NULL); |
9950 | 0 | set_has_stream_id(); |
9951 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9952 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.TableInfo.stream_id) |
9953 | 0 | } |
9954 | 0 | inline void TableInfo::set_stream_id(const void* value, size_t size) { |
9955 | 0 | set_has_stream_id(); |
9956 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
9957 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9958 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.TableInfo.stream_id) |
9959 | 0 | } |
9960 | 0 | inline ::std::string* TableInfo::mutable_stream_id() { |
9961 | 0 | set_has_stream_id(); |
9962 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.TableInfo.stream_id) |
9963 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9964 | 0 | } |
9965 | 0 | inline ::std::string* TableInfo::release_stream_id() { |
9966 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.TableInfo.stream_id) |
9967 | 0 | clear_has_stream_id(); |
9968 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9969 | 0 | } |
9970 | 0 | inline void TableInfo::set_allocated_stream_id(::std::string* stream_id) { |
9971 | 0 | if (stream_id != NULL) { |
9972 | 0 | set_has_stream_id(); |
9973 | 0 | } else { |
9974 | 0 | clear_has_stream_id(); |
9975 | 0 | } |
9976 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
9977 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.TableInfo.stream_id) |
9978 | 0 | } |
9979 | | |
9980 | | // optional bytes table_id = 2; |
9981 | 0 | inline bool TableInfo::has_table_id() const { |
9982 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
9983 | 0 | } |
9984 | 0 | inline void TableInfo::set_has_table_id() { |
9985 | 0 | _has_bits_[0] |= 0x00000002u; |
9986 | 0 | } |
9987 | 0 | inline void TableInfo::clear_has_table_id() { |
9988 | 0 | _has_bits_[0] &= ~0x00000002u; |
9989 | 0 | } |
9990 | 0 | inline void TableInfo::clear_table_id() { |
9991 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9992 | 0 | clear_has_table_id(); |
9993 | 0 | } |
9994 | 0 | inline const ::std::string& TableInfo::table_id() const { |
9995 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.TableInfo.table_id) |
9996 | 0 | return table_id_.GetNoArena(); |
9997 | 0 | } |
9998 | 0 | inline void TableInfo::set_table_id(const ::std::string& value) { |
9999 | 0 | set_has_table_id(); |
10000 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10001 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.TableInfo.table_id) |
10002 | 0 | } |
10003 | | #if LANG_CXX11 |
10004 | 0 | inline void TableInfo::set_table_id(::std::string&& value) { |
10005 | 0 | set_has_table_id(); |
10006 | 0 | table_id_.SetNoArena( |
10007 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10008 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.TableInfo.table_id) |
10009 | 0 | } |
10010 | | #endif |
10011 | 0 | inline void TableInfo::set_table_id(const char* value) { |
10012 | 0 | GOOGLE_DCHECK(value != NULL); |
10013 | 0 | set_has_table_id(); |
10014 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10015 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.TableInfo.table_id) |
10016 | 0 | } |
10017 | 0 | inline void TableInfo::set_table_id(const void* value, size_t size) { |
10018 | 0 | set_has_table_id(); |
10019 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10020 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10021 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.TableInfo.table_id) |
10022 | 0 | } |
10023 | 0 | inline ::std::string* TableInfo::mutable_table_id() { |
10024 | 0 | set_has_table_id(); |
10025 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.TableInfo.table_id) |
10026 | 0 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10027 | 0 | } |
10028 | 0 | inline ::std::string* TableInfo::release_table_id() { |
10029 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.TableInfo.table_id) |
10030 | 0 | clear_has_table_id(); |
10031 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10032 | 0 | } |
10033 | 0 | inline void TableInfo::set_allocated_table_id(::std::string* table_id) { |
10034 | 0 | if (table_id != NULL) { |
10035 | 0 | set_has_table_id(); |
10036 | 0 | } else { |
10037 | 0 | clear_has_table_id(); |
10038 | 0 | } |
10039 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
10040 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.TableInfo.table_id) |
10041 | 0 | } |
10042 | | |
10043 | | // ------------------------------------------------------------------- |
10044 | | |
10045 | | // GetCDCDBStreamInfoRequestPB |
10046 | | |
10047 | | // optional bytes db_stream_id = 1; |
10048 | 0 | inline bool GetCDCDBStreamInfoRequestPB::has_db_stream_id() const { |
10049 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
10050 | 0 | } |
10051 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_has_db_stream_id() { |
10052 | 0 | _has_bits_[0] |= 0x00000001u; |
10053 | 0 | } |
10054 | 0 | inline void GetCDCDBStreamInfoRequestPB::clear_has_db_stream_id() { |
10055 | 0 | _has_bits_[0] &= ~0x00000001u; |
10056 | 0 | } |
10057 | 0 | inline void GetCDCDBStreamInfoRequestPB::clear_db_stream_id() { |
10058 | 0 | db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10059 | 0 | clear_has_db_stream_id(); |
10060 | 0 | } |
10061 | 0 | inline const ::std::string& GetCDCDBStreamInfoRequestPB::db_stream_id() const { |
10062 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10063 | 0 | return db_stream_id_.GetNoArena(); |
10064 | 0 | } |
10065 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const ::std::string& value) { |
10066 | 0 | set_has_db_stream_id(); |
10067 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10068 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10069 | 0 | } |
10070 | | #if LANG_CXX11 |
10071 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(::std::string&& value) { |
10072 | 0 | set_has_db_stream_id(); |
10073 | 0 | db_stream_id_.SetNoArena( |
10074 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10075 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10076 | 0 | } |
10077 | | #endif |
10078 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const char* value) { |
10079 | 0 | GOOGLE_DCHECK(value != NULL); |
10080 | 0 | set_has_db_stream_id(); |
10081 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10082 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10083 | 0 | } |
10084 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const void* value, size_t size) { |
10085 | 0 | set_has_db_stream_id(); |
10086 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10087 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10088 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10089 | 0 | } |
10090 | 0 | inline ::std::string* GetCDCDBStreamInfoRequestPB::mutable_db_stream_id() { |
10091 | 0 | set_has_db_stream_id(); |
10092 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10093 | 0 | return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10094 | 0 | } |
10095 | 0 | inline ::std::string* GetCDCDBStreamInfoRequestPB::release_db_stream_id() { |
10096 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10097 | 0 | clear_has_db_stream_id(); |
10098 | 0 | return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10099 | 0 | } |
10100 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_allocated_db_stream_id(::std::string* db_stream_id) { |
10101 | 0 | if (db_stream_id != NULL) { |
10102 | 0 | set_has_db_stream_id(); |
10103 | 0 | } else { |
10104 | 0 | clear_has_db_stream_id(); |
10105 | 0 | } |
10106 | 0 | db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id); |
10107 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCDCDBStreamInfoRequestPB.db_stream_id) |
10108 | 0 | } |
10109 | | |
10110 | | // ------------------------------------------------------------------- |
10111 | | |
10112 | | // GetCDCDBStreamInfoResponsePB |
10113 | | |
10114 | | // optional .yb.cdc.CDCErrorPB error = 1; |
10115 | 0 | inline bool GetCDCDBStreamInfoResponsePB::has_error() const { |
10116 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
10117 | 0 | } |
10118 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_has_error() { |
10119 | 0 | _has_bits_[0] |= 0x00000002u; |
10120 | 0 | } |
10121 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_has_error() { |
10122 | 0 | _has_bits_[0] &= ~0x00000002u; |
10123 | 0 | } |
10124 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_error() { |
10125 | 0 | if (error_ != NULL) error_->Clear(); |
10126 | 0 | clear_has_error(); |
10127 | 0 | } |
10128 | 0 | inline const ::yb::cdc::CDCErrorPB& GetCDCDBStreamInfoResponsePB::error() const { |
10129 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
10130 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoResponsePB.error) |
10131 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
10132 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
10133 | 0 | } |
10134 | 0 | inline ::yb::cdc::CDCErrorPB* GetCDCDBStreamInfoResponsePB::release_error() { |
10135 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCDCDBStreamInfoResponsePB.error) |
10136 | 0 | clear_has_error(); |
10137 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
10138 | 0 | error_ = NULL; |
10139 | 0 | return temp; |
10140 | 0 | } |
10141 | 0 | inline ::yb::cdc::CDCErrorPB* GetCDCDBStreamInfoResponsePB::mutable_error() { |
10142 | 0 | set_has_error(); |
10143 | 0 | if (error_ == NULL) { |
10144 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
10145 | 0 | } |
10146 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoResponsePB.error) |
10147 | 0 | return error_; |
10148 | 0 | } |
10149 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
10150 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
10151 | 0 | if (message_arena == NULL) { |
10152 | 0 | delete error_; |
10153 | 0 | } |
10154 | 0 | if (error) { |
10155 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
10156 | 0 | if (message_arena != submessage_arena) { |
10157 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
10158 | 0 | message_arena, error, submessage_arena); |
10159 | 0 | } |
10160 | 0 | set_has_error(); |
10161 | 0 | } else { |
10162 | 0 | clear_has_error(); |
10163 | 0 | } |
10164 | 0 | error_ = error; |
10165 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCDCDBStreamInfoResponsePB.error) |
10166 | 0 | } |
10167 | | |
10168 | | // optional bytes namespace_id = 2; |
10169 | 0 | inline bool GetCDCDBStreamInfoResponsePB::has_namespace_id() const { |
10170 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
10171 | 0 | } |
10172 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_has_namespace_id() { |
10173 | 0 | _has_bits_[0] |= 0x00000001u; |
10174 | 0 | } |
10175 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_has_namespace_id() { |
10176 | 0 | _has_bits_[0] &= ~0x00000001u; |
10177 | 0 | } |
10178 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_namespace_id() { |
10179 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10180 | 0 | clear_has_namespace_id(); |
10181 | 0 | } |
10182 | 0 | inline const ::std::string& GetCDCDBStreamInfoResponsePB::namespace_id() const { |
10183 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10184 | 0 | return namespace_id_.GetNoArena(); |
10185 | 0 | } |
10186 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const ::std::string& value) { |
10187 | 0 | set_has_namespace_id(); |
10188 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10189 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10190 | 0 | } |
10191 | | #if LANG_CXX11 |
10192 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(::std::string&& value) { |
10193 | 0 | set_has_namespace_id(); |
10194 | 0 | namespace_id_.SetNoArena( |
10195 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10196 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10197 | 0 | } |
10198 | | #endif |
10199 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const char* value) { |
10200 | 0 | GOOGLE_DCHECK(value != NULL); |
10201 | 0 | set_has_namespace_id(); |
10202 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10203 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10204 | 0 | } |
10205 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const void* value, size_t size) { |
10206 | 0 | set_has_namespace_id(); |
10207 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10208 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10209 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10210 | 0 | } |
10211 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB::mutable_namespace_id() { |
10212 | 0 | set_has_namespace_id(); |
10213 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10214 | 0 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10215 | 0 | } |
10216 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB::release_namespace_id() { |
10217 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10218 | 0 | clear_has_namespace_id(); |
10219 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10220 | 0 | } |
10221 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_allocated_namespace_id(::std::string* namespace_id) { |
10222 | 0 | if (namespace_id != NULL) { |
10223 | 0 | set_has_namespace_id(); |
10224 | 0 | } else { |
10225 | 0 | clear_has_namespace_id(); |
10226 | 0 | } |
10227 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
10228 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.GetCDCDBStreamInfoResponsePB.namespace_id) |
10229 | 0 | } |
10230 | | |
10231 | | // repeated .yb.cdc.TableInfo table_info = 3; |
10232 | 0 | inline int GetCDCDBStreamInfoResponsePB::table_info_size() const { |
10233 | 0 | return table_info_.size(); |
10234 | 0 | } |
10235 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_table_info() { |
10236 | 0 | table_info_.Clear(); |
10237 | 0 | } |
10238 | 0 | inline const ::yb::cdc::TableInfo& GetCDCDBStreamInfoResponsePB::table_info(int index) const { |
10239 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info) |
10240 | 0 | return table_info_.Get(index); |
10241 | 0 | } |
10242 | 0 | inline ::yb::cdc::TableInfo* GetCDCDBStreamInfoResponsePB::mutable_table_info(int index) { |
10243 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info) |
10244 | 0 | return table_info_.Mutable(index); |
10245 | 0 | } |
10246 | 0 | inline ::yb::cdc::TableInfo* GetCDCDBStreamInfoResponsePB::add_table_info() { |
10247 | 0 | // @@protoc_insertion_point(field_add:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info) |
10248 | 0 | return table_info_.Add(); |
10249 | 0 | } |
10250 | | inline ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >* |
10251 | 0 | GetCDCDBStreamInfoResponsePB::mutable_table_info() { |
10252 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info) |
10253 | 0 | return &table_info_; |
10254 | 0 | } |
10255 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::cdc::TableInfo >& |
10256 | 0 | GetCDCDBStreamInfoResponsePB::table_info() const { |
10257 | 0 | // @@protoc_insertion_point(field_list:yb.cdc.GetCDCDBStreamInfoResponsePB.table_info) |
10258 | 0 | return table_info_; |
10259 | 0 | } |
10260 | | |
10261 | | // ------------------------------------------------------------------- |
10262 | | |
10263 | | // SetCDCCheckpointRequestPB |
10264 | | |
10265 | | // optional .yb.cdc.CDCCheckpointPB checkpoint = 1; |
10266 | 6 | inline bool SetCDCCheckpointRequestPB::has_checkpoint() const { |
10267 | 6 | return (_has_bits_[0] & 0x00000004u) != 0; |
10268 | 6 | } |
10269 | 3 | inline void SetCDCCheckpointRequestPB::set_has_checkpoint() { |
10270 | 3 | _has_bits_[0] |= 0x00000004u; |
10271 | 3 | } |
10272 | 0 | inline void SetCDCCheckpointRequestPB::clear_has_checkpoint() { |
10273 | 0 | _has_bits_[0] &= ~0x00000004u; |
10274 | 0 | } |
10275 | 0 | inline void SetCDCCheckpointRequestPB::clear_checkpoint() { |
10276 | 0 | if (checkpoint_ != NULL) checkpoint_->Clear(); |
10277 | 0 | clear_has_checkpoint(); |
10278 | 0 | } |
10279 | 3 | inline const ::yb::cdc::CDCCheckpointPB& SetCDCCheckpointRequestPB::checkpoint() const { |
10280 | 3 | const ::yb::cdc::CDCCheckpointPB* p = checkpoint_; |
10281 | | // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.checkpoint) |
10282 | 3 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCCheckpointPB*>( |
10283 | 0 | &::yb::cdc::_CDCCheckpointPB_default_instance_); |
10284 | 3 | } |
10285 | 0 | inline ::yb::cdc::CDCCheckpointPB* SetCDCCheckpointRequestPB::release_checkpoint() { |
10286 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.checkpoint) |
10287 | 0 | clear_has_checkpoint(); |
10288 | 0 | ::yb::cdc::CDCCheckpointPB* temp = checkpoint_; |
10289 | 0 | checkpoint_ = NULL; |
10290 | 0 | return temp; |
10291 | 0 | } |
10292 | 3 | inline ::yb::cdc::CDCCheckpointPB* SetCDCCheckpointRequestPB::mutable_checkpoint() { |
10293 | 3 | set_has_checkpoint(); |
10294 | 3 | if (checkpoint_ == NULL) { |
10295 | 3 | checkpoint_ = new ::yb::cdc::CDCCheckpointPB; |
10296 | 3 | } |
10297 | | // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.checkpoint) |
10298 | 3 | return checkpoint_; |
10299 | 3 | } |
10300 | 0 | inline void SetCDCCheckpointRequestPB::set_allocated_checkpoint(::yb::cdc::CDCCheckpointPB* checkpoint) { |
10301 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
10302 | 0 | if (message_arena == NULL) { |
10303 | 0 | delete checkpoint_; |
10304 | 0 | } |
10305 | 0 | if (checkpoint) { |
10306 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
10307 | 0 | if (message_arena != submessage_arena) { |
10308 | 0 | checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
10309 | 0 | message_arena, checkpoint, submessage_arena); |
10310 | 0 | } |
10311 | 0 | set_has_checkpoint(); |
10312 | 0 | } else { |
10313 | 0 | clear_has_checkpoint(); |
10314 | 0 | } |
10315 | 0 | checkpoint_ = checkpoint; |
10316 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.checkpoint) |
10317 | 0 | } |
10318 | | |
10319 | | // optional .yb.cdc.CDCSDKCheckpointPB cdc_sdk_checkpoint = 2; |
10320 | 0 | inline bool SetCDCCheckpointRequestPB::has_cdc_sdk_checkpoint() const { |
10321 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
10322 | 0 | } |
10323 | 0 | inline void SetCDCCheckpointRequestPB::set_has_cdc_sdk_checkpoint() { |
10324 | 0 | _has_bits_[0] |= 0x00000008u; |
10325 | 0 | } |
10326 | 0 | inline void SetCDCCheckpointRequestPB::clear_has_cdc_sdk_checkpoint() { |
10327 | 0 | _has_bits_[0] &= ~0x00000008u; |
10328 | 0 | } |
10329 | 0 | inline void SetCDCCheckpointRequestPB::clear_cdc_sdk_checkpoint() { |
10330 | 0 | if (cdc_sdk_checkpoint_ != NULL) cdc_sdk_checkpoint_->Clear(); |
10331 | 0 | clear_has_cdc_sdk_checkpoint(); |
10332 | 0 | } |
10333 | 0 | inline const ::yb::cdc::CDCSDKCheckpointPB& SetCDCCheckpointRequestPB::cdc_sdk_checkpoint() const { |
10334 | 0 | const ::yb::cdc::CDCSDKCheckpointPB* p = cdc_sdk_checkpoint_; |
10335 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint) |
10336 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCSDKCheckpointPB*>( |
10337 | 0 | &::yb::cdc::_CDCSDKCheckpointPB_default_instance_); |
10338 | 0 | } |
10339 | 0 | inline ::yb::cdc::CDCSDKCheckpointPB* SetCDCCheckpointRequestPB::release_cdc_sdk_checkpoint() { |
10340 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint) |
10341 | 0 | clear_has_cdc_sdk_checkpoint(); |
10342 | 0 | ::yb::cdc::CDCSDKCheckpointPB* temp = cdc_sdk_checkpoint_; |
10343 | 0 | cdc_sdk_checkpoint_ = NULL; |
10344 | 0 | return temp; |
10345 | 0 | } |
10346 | 0 | inline ::yb::cdc::CDCSDKCheckpointPB* SetCDCCheckpointRequestPB::mutable_cdc_sdk_checkpoint() { |
10347 | 0 | set_has_cdc_sdk_checkpoint(); |
10348 | 0 | if (cdc_sdk_checkpoint_ == NULL) { |
10349 | 0 | cdc_sdk_checkpoint_ = new ::yb::cdc::CDCSDKCheckpointPB; |
10350 | 0 | } |
10351 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint) |
10352 | 0 | return cdc_sdk_checkpoint_; |
10353 | 0 | } |
10354 | 0 | inline void SetCDCCheckpointRequestPB::set_allocated_cdc_sdk_checkpoint(::yb::cdc::CDCSDKCheckpointPB* cdc_sdk_checkpoint) { |
10355 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
10356 | 0 | if (message_arena == NULL) { |
10357 | 0 | delete cdc_sdk_checkpoint_; |
10358 | 0 | } |
10359 | 0 | if (cdc_sdk_checkpoint) { |
10360 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
10361 | 0 | if (message_arena != submessage_arena) { |
10362 | 0 | cdc_sdk_checkpoint = ::google::protobuf::internal::GetOwnedMessage( |
10363 | 0 | message_arena, cdc_sdk_checkpoint, submessage_arena); |
10364 | 0 | } |
10365 | 0 | set_has_cdc_sdk_checkpoint(); |
10366 | 0 | } else { |
10367 | 0 | clear_has_cdc_sdk_checkpoint(); |
10368 | 0 | } |
10369 | 0 | cdc_sdk_checkpoint_ = cdc_sdk_checkpoint; |
10370 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.cdc_sdk_checkpoint) |
10371 | 0 | } |
10372 | | |
10373 | | // optional bytes stream_id = 3; |
10374 | 3 | inline bool SetCDCCheckpointRequestPB::has_stream_id() const { |
10375 | 3 | return (_has_bits_[0] & 0x00000001u) != 0; |
10376 | 3 | } |
10377 | 3 | inline void SetCDCCheckpointRequestPB::set_has_stream_id() { |
10378 | 3 | _has_bits_[0] |= 0x00000001u; |
10379 | 3 | } |
10380 | 0 | inline void SetCDCCheckpointRequestPB::clear_has_stream_id() { |
10381 | 0 | _has_bits_[0] &= ~0x00000001u; |
10382 | 0 | } |
10383 | 0 | inline void SetCDCCheckpointRequestPB::clear_stream_id() { |
10384 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10385 | 0 | clear_has_stream_id(); |
10386 | 0 | } |
10387 | 6 | inline const ::std::string& SetCDCCheckpointRequestPB::stream_id() const { |
10388 | | // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10389 | 6 | return stream_id_.GetNoArena(); |
10390 | 6 | } |
10391 | 0 | inline void SetCDCCheckpointRequestPB::set_stream_id(const ::std::string& value) { |
10392 | 0 | set_has_stream_id(); |
10393 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10394 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10395 | 0 | } |
10396 | | #if LANG_CXX11 |
10397 | 0 | inline void SetCDCCheckpointRequestPB::set_stream_id(::std::string&& value) { |
10398 | 0 | set_has_stream_id(); |
10399 | 0 | stream_id_.SetNoArena( |
10400 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10401 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10402 | 0 | } |
10403 | | #endif |
10404 | 0 | inline void SetCDCCheckpointRequestPB::set_stream_id(const char* value) { |
10405 | 0 | GOOGLE_DCHECK(value != NULL); |
10406 | 0 | set_has_stream_id(); |
10407 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10408 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10409 | 0 | } |
10410 | 0 | inline void SetCDCCheckpointRequestPB::set_stream_id(const void* value, size_t size) { |
10411 | 0 | set_has_stream_id(); |
10412 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10413 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10414 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10415 | 0 | } |
10416 | 3 | inline ::std::string* SetCDCCheckpointRequestPB::mutable_stream_id() { |
10417 | 3 | set_has_stream_id(); |
10418 | | // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10419 | 3 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10420 | 3 | } |
10421 | 0 | inline ::std::string* SetCDCCheckpointRequestPB::release_stream_id() { |
10422 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10423 | 0 | clear_has_stream_id(); |
10424 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10425 | 0 | } |
10426 | 0 | inline void SetCDCCheckpointRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
10427 | 0 | if (stream_id != NULL) { |
10428 | 0 | set_has_stream_id(); |
10429 | 0 | } else { |
10430 | 0 | clear_has_stream_id(); |
10431 | 0 | } |
10432 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
10433 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.stream_id) |
10434 | 0 | } |
10435 | | |
10436 | | // optional bytes tablet_id = 4; |
10437 | 3 | inline bool SetCDCCheckpointRequestPB::has_tablet_id() const { |
10438 | 3 | return (_has_bits_[0] & 0x00000002u) != 0; |
10439 | 3 | } |
10440 | 3 | inline void SetCDCCheckpointRequestPB::set_has_tablet_id() { |
10441 | 3 | _has_bits_[0] |= 0x00000002u; |
10442 | 3 | } |
10443 | 0 | inline void SetCDCCheckpointRequestPB::clear_has_tablet_id() { |
10444 | 0 | _has_bits_[0] &= ~0x00000002u; |
10445 | 0 | } |
10446 | 0 | inline void SetCDCCheckpointRequestPB::clear_tablet_id() { |
10447 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10448 | 0 | clear_has_tablet_id(); |
10449 | 0 | } |
10450 | 9 | inline const ::std::string& SetCDCCheckpointRequestPB::tablet_id() const { |
10451 | | // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10452 | 9 | return tablet_id_.GetNoArena(); |
10453 | 9 | } |
10454 | 0 | inline void SetCDCCheckpointRequestPB::set_tablet_id(const ::std::string& value) { |
10455 | 0 | set_has_tablet_id(); |
10456 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10457 | 0 | // @@protoc_insertion_point(field_set:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10458 | 0 | } |
10459 | | #if LANG_CXX11 |
10460 | 0 | inline void SetCDCCheckpointRequestPB::set_tablet_id(::std::string&& value) { |
10461 | 0 | set_has_tablet_id(); |
10462 | 0 | tablet_id_.SetNoArena( |
10463 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10464 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10465 | 0 | } |
10466 | | #endif |
10467 | 0 | inline void SetCDCCheckpointRequestPB::set_tablet_id(const char* value) { |
10468 | 0 | GOOGLE_DCHECK(value != NULL); |
10469 | 0 | set_has_tablet_id(); |
10470 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10471 | 0 | // @@protoc_insertion_point(field_set_char:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10472 | 0 | } |
10473 | 0 | inline void SetCDCCheckpointRequestPB::set_tablet_id(const void* value, size_t size) { |
10474 | 0 | set_has_tablet_id(); |
10475 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10476 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10477 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10478 | 0 | } |
10479 | 3 | inline ::std::string* SetCDCCheckpointRequestPB::mutable_tablet_id() { |
10480 | 3 | set_has_tablet_id(); |
10481 | | // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10482 | 3 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10483 | 3 | } |
10484 | 0 | inline ::std::string* SetCDCCheckpointRequestPB::release_tablet_id() { |
10485 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10486 | 0 | clear_has_tablet_id(); |
10487 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10488 | 0 | } |
10489 | 0 | inline void SetCDCCheckpointRequestPB::set_allocated_tablet_id(::std::string* tablet_id) { |
10490 | 0 | if (tablet_id != NULL) { |
10491 | 0 | set_has_tablet_id(); |
10492 | 0 | } else { |
10493 | 0 | clear_has_tablet_id(); |
10494 | 0 | } |
10495 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
10496 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointRequestPB.tablet_id) |
10497 | 0 | } |
10498 | | |
10499 | | // ------------------------------------------------------------------- |
10500 | | |
10501 | | // SetCDCCheckpointResponsePB |
10502 | | |
10503 | | // optional .yb.cdc.CDCErrorPB error = 1; |
10504 | 9 | inline bool SetCDCCheckpointResponsePB::has_error() const { |
10505 | 9 | return (_has_bits_[0] & 0x00000001u) != 0; |
10506 | 9 | } |
10507 | 0 | inline void SetCDCCheckpointResponsePB::set_has_error() { |
10508 | 0 | _has_bits_[0] |= 0x00000001u; |
10509 | 0 | } |
10510 | 0 | inline void SetCDCCheckpointResponsePB::clear_has_error() { |
10511 | 0 | _has_bits_[0] &= ~0x00000001u; |
10512 | 0 | } |
10513 | 0 | inline void SetCDCCheckpointResponsePB::clear_error() { |
10514 | 0 | if (error_ != NULL) error_->Clear(); |
10515 | 0 | clear_has_error(); |
10516 | 0 | } |
10517 | 0 | inline const ::yb::cdc::CDCErrorPB& SetCDCCheckpointResponsePB::error() const { |
10518 | 0 | const ::yb::cdc::CDCErrorPB* p = error_; |
10519 | 0 | // @@protoc_insertion_point(field_get:yb.cdc.SetCDCCheckpointResponsePB.error) |
10520 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::cdc::CDCErrorPB*>( |
10521 | 0 | &::yb::cdc::_CDCErrorPB_default_instance_); |
10522 | 0 | } |
10523 | 0 | inline ::yb::cdc::CDCErrorPB* SetCDCCheckpointResponsePB::release_error() { |
10524 | 0 | // @@protoc_insertion_point(field_release:yb.cdc.SetCDCCheckpointResponsePB.error) |
10525 | 0 | clear_has_error(); |
10526 | 0 | ::yb::cdc::CDCErrorPB* temp = error_; |
10527 | 0 | error_ = NULL; |
10528 | 0 | return temp; |
10529 | 0 | } |
10530 | 0 | inline ::yb::cdc::CDCErrorPB* SetCDCCheckpointResponsePB::mutable_error() { |
10531 | 0 | set_has_error(); |
10532 | 0 | if (error_ == NULL) { |
10533 | 0 | error_ = new ::yb::cdc::CDCErrorPB; |
10534 | 0 | } |
10535 | 0 | // @@protoc_insertion_point(field_mutable:yb.cdc.SetCDCCheckpointResponsePB.error) |
10536 | 0 | return error_; |
10537 | 0 | } |
10538 | 0 | inline void SetCDCCheckpointResponsePB::set_allocated_error(::yb::cdc::CDCErrorPB* error) { |
10539 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
10540 | 0 | if (message_arena == NULL) { |
10541 | 0 | delete error_; |
10542 | 0 | } |
10543 | 0 | if (error) { |
10544 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
10545 | 0 | if (message_arena != submessage_arena) { |
10546 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
10547 | 0 | message_arena, error, submessage_arena); |
10548 | 0 | } |
10549 | 0 | set_has_error(); |
10550 | 0 | } else { |
10551 | 0 | clear_has_error(); |
10552 | 0 | } |
10553 | 0 | error_ = error; |
10554 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.cdc.SetCDCCheckpointResponsePB.error) |
10555 | 0 | } |
10556 | | |
10557 | | #ifdef __GNUC__ |
10558 | | #pragma GCC diagnostic pop |
10559 | | #endif // __GNUC__ |
10560 | | // ------------------------------------------------------------------- |
10561 | | |
10562 | | // ------------------------------------------------------------------- |
10563 | | |
10564 | | // ------------------------------------------------------------------- |
10565 | | |
10566 | | // ------------------------------------------------------------------- |
10567 | | |
10568 | | // ------------------------------------------------------------------- |
10569 | | |
10570 | | // ------------------------------------------------------------------- |
10571 | | |
10572 | | // ------------------------------------------------------------------- |
10573 | | |
10574 | | // ------------------------------------------------------------------- |
10575 | | |
10576 | | // ------------------------------------------------------------------- |
10577 | | |
10578 | | // ------------------------------------------------------------------- |
10579 | | |
10580 | | // ------------------------------------------------------------------- |
10581 | | |
10582 | | // ------------------------------------------------------------------- |
10583 | | |
10584 | | // ------------------------------------------------------------------- |
10585 | | |
10586 | | // ------------------------------------------------------------------- |
10587 | | |
10588 | | // ------------------------------------------------------------------- |
10589 | | |
10590 | | // ------------------------------------------------------------------- |
10591 | | |
10592 | | // ------------------------------------------------------------------- |
10593 | | |
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 | | // @@protoc_insertion_point(namespace_scope) |
10630 | | |
10631 | | } // namespace cdc |
10632 | | } // namespace yb |
10633 | | |
10634 | | namespace google { |
10635 | | namespace protobuf { |
10636 | | |
10637 | | template <> struct is_proto_enum< ::yb::cdc::CDCErrorPB_Code> : ::google::protobuf::internal::true_type {}; |
10638 | | template <> |
10639 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCErrorPB_Code>() { |
10640 | 0 | return ::yb::cdc::CDCErrorPB_Code_descriptor(); |
10641 | 0 | } |
10642 | | template <> struct is_proto_enum< ::yb::cdc::CDCRecordPB_OperationType> : ::google::protobuf::internal::true_type {}; |
10643 | | template <> |
10644 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRecordPB_OperationType>() { |
10645 | 0 | return ::yb::cdc::CDCRecordPB_OperationType_descriptor(); |
10646 | 0 | } |
10647 | | template <> struct is_proto_enum< ::yb::cdc::RowMessage_Op> : ::google::protobuf::internal::true_type {}; |
10648 | | template <> |
10649 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::RowMessage_Op>() { |
10650 | 0 | return ::yb::cdc::RowMessage_Op_descriptor(); |
10651 | 0 | } |
10652 | | template <> struct is_proto_enum< ::yb::cdc::CDCRecordType> : ::google::protobuf::internal::true_type {}; |
10653 | | template <> |
10654 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRecordType>() { |
10655 | 0 | return ::yb::cdc::CDCRecordType_descriptor(); |
10656 | 0 | } |
10657 | | template <> struct is_proto_enum< ::yb::cdc::CDCRecordFormat> : ::google::protobuf::internal::true_type {}; |
10658 | | template <> |
10659 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRecordFormat>() { |
10660 | 0 | return ::yb::cdc::CDCRecordFormat_descriptor(); |
10661 | 0 | } |
10662 | | template <> struct is_proto_enum< ::yb::cdc::CDCRequestSource> : ::google::protobuf::internal::true_type {}; |
10663 | | template <> |
10664 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCRequestSource>() { |
10665 | 0 | return ::yb::cdc::CDCRequestSource_descriptor(); |
10666 | 0 | } |
10667 | | template <> struct is_proto_enum< ::yb::cdc::CDCCheckpointType> : ::google::protobuf::internal::true_type {}; |
10668 | | template <> |
10669 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::cdc::CDCCheckpointType>() { |
10670 | 0 | return ::yb::cdc::CDCCheckpointType_descriptor(); |
10671 | 0 | } |
10672 | | |
10673 | | } // namespace protobuf |
10674 | | } // namespace google |
10675 | | |
10676 | | // @@protoc_insertion_point(global_scope) |
10677 | | |
10678 | | #endif // PROTOBUF_yb_2fcdc_2fcdc_5fservice_2eproto__INCLUDED |