/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_replication.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/master/master_replication.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fmaster_2fmaster_5freplication_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fmaster_2fmaster_5freplication_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/generated_enum_reflection.h> |
32 | | #include <google/protobuf/unknown_field_set.h> |
33 | | #include "yb/common/common_net.pb.h" |
34 | | #include "yb/common/wire_protocol.pb.h" |
35 | | #include "yb/master/catalog_entity_info.pb.h" |
36 | | #include "yb/master/master_types.pb.h" |
37 | | #include "yb/rpc/service.pb.h" |
38 | | // @@protoc_insertion_point(includes) |
39 | | |
40 | | namespace protobuf_yb_2fmaster_2fmaster_5freplication_2eproto { |
41 | | // Internal implementation detail -- do not use these members. |
42 | | struct TableStruct { |
43 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
44 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
45 | | static const ::google::protobuf::internal::ParseTable schema[31]; |
46 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
47 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
48 | | static const ::google::protobuf::uint32 offsets[]; |
49 | | }; |
50 | | void AddDescriptors(); |
51 | | void InitDefaultsCDCStreamInfoPBImpl(); |
52 | | void InitDefaultsCDCStreamInfoPB(); |
53 | | void InitDefaultsValidateReplicationInfoRequestPBImpl(); |
54 | | void InitDefaultsValidateReplicationInfoRequestPB(); |
55 | | void InitDefaultsValidateReplicationInfoResponsePBImpl(); |
56 | | void InitDefaultsValidateReplicationInfoResponsePB(); |
57 | | void InitDefaultsCreateCDCStreamRequestPBImpl(); |
58 | | void InitDefaultsCreateCDCStreamRequestPB(); |
59 | | void InitDefaultsCreateCDCStreamResponsePBImpl(); |
60 | | void InitDefaultsCreateCDCStreamResponsePB(); |
61 | | void InitDefaultsDeleteCDCStreamRequestPBImpl(); |
62 | | void InitDefaultsDeleteCDCStreamRequestPB(); |
63 | | void InitDefaultsDeleteCDCStreamResponsePBImpl(); |
64 | | void InitDefaultsDeleteCDCStreamResponsePB(); |
65 | | void InitDefaultsListCDCStreamsRequestPBImpl(); |
66 | | void InitDefaultsListCDCStreamsRequestPB(); |
67 | | void InitDefaultsListCDCStreamsResponsePBImpl(); |
68 | | void InitDefaultsListCDCStreamsResponsePB(); |
69 | | void InitDefaultsGetCDCStreamRequestPBImpl(); |
70 | | void InitDefaultsGetCDCStreamRequestPB(); |
71 | | void InitDefaultsGetCDCStreamResponsePBImpl(); |
72 | | void InitDefaultsGetCDCStreamResponsePB(); |
73 | | void InitDefaultsGetCDCDBStreamInfoRequestPBImpl(); |
74 | | void InitDefaultsGetCDCDBStreamInfoRequestPB(); |
75 | | void InitDefaultsGetCDCDBStreamInfoResponsePB_TableInfoImpl(); |
76 | | void InitDefaultsGetCDCDBStreamInfoResponsePB_TableInfo(); |
77 | | void InitDefaultsGetCDCDBStreamInfoResponsePBImpl(); |
78 | | void InitDefaultsGetCDCDBStreamInfoResponsePB(); |
79 | | void InitDefaultsUpdateCDCStreamRequestPBImpl(); |
80 | | void InitDefaultsUpdateCDCStreamRequestPB(); |
81 | | void InitDefaultsUpdateCDCStreamResponsePBImpl(); |
82 | | void InitDefaultsUpdateCDCStreamResponsePB(); |
83 | | void InitDefaultsSetupUniverseReplicationRequestPBImpl(); |
84 | | void InitDefaultsSetupUniverseReplicationRequestPB(); |
85 | | void InitDefaultsSetupUniverseReplicationResponsePBImpl(); |
86 | | void InitDefaultsSetupUniverseReplicationResponsePB(); |
87 | | void InitDefaultsDeleteUniverseReplicationRequestPBImpl(); |
88 | | void InitDefaultsDeleteUniverseReplicationRequestPB(); |
89 | | void InitDefaultsDeleteUniverseReplicationResponsePBImpl(); |
90 | | void InitDefaultsDeleteUniverseReplicationResponsePB(); |
91 | | void InitDefaultsAlterUniverseReplicationRequestPBImpl(); |
92 | | void InitDefaultsAlterUniverseReplicationRequestPB(); |
93 | | void InitDefaultsAlterUniverseReplicationResponsePBImpl(); |
94 | | void InitDefaultsAlterUniverseReplicationResponsePB(); |
95 | | void InitDefaultsSetUniverseReplicationEnabledRequestPBImpl(); |
96 | | void InitDefaultsSetUniverseReplicationEnabledRequestPB(); |
97 | | void InitDefaultsSetUniverseReplicationEnabledResponsePBImpl(); |
98 | | void InitDefaultsSetUniverseReplicationEnabledResponsePB(); |
99 | | void InitDefaultsGetUniverseReplicationRequestPBImpl(); |
100 | | void InitDefaultsGetUniverseReplicationRequestPB(); |
101 | | void InitDefaultsGetUniverseReplicationResponsePBImpl(); |
102 | | void InitDefaultsGetUniverseReplicationResponsePB(); |
103 | | void InitDefaultsIsSetupUniverseReplicationDoneRequestPBImpl(); |
104 | | void InitDefaultsIsSetupUniverseReplicationDoneRequestPB(); |
105 | | void InitDefaultsIsSetupUniverseReplicationDoneResponsePBImpl(); |
106 | | void InitDefaultsIsSetupUniverseReplicationDoneResponsePB(); |
107 | | void InitDefaultsProducerSplitTabletInfoPBImpl(); |
108 | | void InitDefaultsProducerSplitTabletInfoPB(); |
109 | | void InitDefaultsUpdateConsumerOnProducerSplitRequestPBImpl(); |
110 | | void InitDefaultsUpdateConsumerOnProducerSplitRequestPB(); |
111 | | void InitDefaultsUpdateConsumerOnProducerSplitResponsePBImpl(); |
112 | | void InitDefaultsUpdateConsumerOnProducerSplitResponsePB(); |
113 | 26.8k | inline void InitDefaults() { |
114 | 26.8k | InitDefaultsCDCStreamInfoPB(); |
115 | 26.8k | InitDefaultsValidateReplicationInfoRequestPB(); |
116 | 26.8k | InitDefaultsValidateReplicationInfoResponsePB(); |
117 | 26.8k | InitDefaultsCreateCDCStreamRequestPB(); |
118 | 26.8k | InitDefaultsCreateCDCStreamResponsePB(); |
119 | 26.8k | InitDefaultsDeleteCDCStreamRequestPB(); |
120 | 26.8k | InitDefaultsDeleteCDCStreamResponsePB(); |
121 | 26.8k | InitDefaultsListCDCStreamsRequestPB(); |
122 | 26.8k | InitDefaultsListCDCStreamsResponsePB(); |
123 | 26.8k | InitDefaultsGetCDCStreamRequestPB(); |
124 | 26.8k | InitDefaultsGetCDCStreamResponsePB(); |
125 | 26.8k | InitDefaultsGetCDCDBStreamInfoRequestPB(); |
126 | 26.8k | InitDefaultsGetCDCDBStreamInfoResponsePB_TableInfo(); |
127 | 26.8k | InitDefaultsGetCDCDBStreamInfoResponsePB(); |
128 | 26.8k | InitDefaultsUpdateCDCStreamRequestPB(); |
129 | 26.8k | InitDefaultsUpdateCDCStreamResponsePB(); |
130 | 26.8k | InitDefaultsSetupUniverseReplicationRequestPB(); |
131 | 26.8k | InitDefaultsSetupUniverseReplicationResponsePB(); |
132 | 26.8k | InitDefaultsDeleteUniverseReplicationRequestPB(); |
133 | 26.8k | InitDefaultsDeleteUniverseReplicationResponsePB(); |
134 | 26.8k | InitDefaultsAlterUniverseReplicationRequestPB(); |
135 | 26.8k | InitDefaultsAlterUniverseReplicationResponsePB(); |
136 | 26.8k | InitDefaultsSetUniverseReplicationEnabledRequestPB(); |
137 | 26.8k | InitDefaultsSetUniverseReplicationEnabledResponsePB(); |
138 | 26.8k | InitDefaultsGetUniverseReplicationRequestPB(); |
139 | 26.8k | InitDefaultsGetUniverseReplicationResponsePB(); |
140 | 26.8k | InitDefaultsIsSetupUniverseReplicationDoneRequestPB(); |
141 | 26.8k | InitDefaultsIsSetupUniverseReplicationDoneResponsePB(); |
142 | 26.8k | InitDefaultsProducerSplitTabletInfoPB(); |
143 | 26.8k | InitDefaultsUpdateConsumerOnProducerSplitRequestPB(); |
144 | 26.8k | InitDefaultsUpdateConsumerOnProducerSplitResponsePB(); |
145 | 26.8k | } |
146 | | } // namespace protobuf_yb_2fmaster_2fmaster_5freplication_2eproto |
147 | | namespace yb { |
148 | | namespace master { |
149 | | class AlterUniverseReplicationRequestPB; |
150 | | class AlterUniverseReplicationRequestPBDefaultTypeInternal; |
151 | | extern AlterUniverseReplicationRequestPBDefaultTypeInternal _AlterUniverseReplicationRequestPB_default_instance_; |
152 | | class AlterUniverseReplicationResponsePB; |
153 | | class AlterUniverseReplicationResponsePBDefaultTypeInternal; |
154 | | extern AlterUniverseReplicationResponsePBDefaultTypeInternal _AlterUniverseReplicationResponsePB_default_instance_; |
155 | | class CDCStreamInfoPB; |
156 | | class CDCStreamInfoPBDefaultTypeInternal; |
157 | | extern CDCStreamInfoPBDefaultTypeInternal _CDCStreamInfoPB_default_instance_; |
158 | | class CreateCDCStreamRequestPB; |
159 | | class CreateCDCStreamRequestPBDefaultTypeInternal; |
160 | | extern CreateCDCStreamRequestPBDefaultTypeInternal _CreateCDCStreamRequestPB_default_instance_; |
161 | | class CreateCDCStreamResponsePB; |
162 | | class CreateCDCStreamResponsePBDefaultTypeInternal; |
163 | | extern CreateCDCStreamResponsePBDefaultTypeInternal _CreateCDCStreamResponsePB_default_instance_; |
164 | | class DeleteCDCStreamRequestPB; |
165 | | class DeleteCDCStreamRequestPBDefaultTypeInternal; |
166 | | extern DeleteCDCStreamRequestPBDefaultTypeInternal _DeleteCDCStreamRequestPB_default_instance_; |
167 | | class DeleteCDCStreamResponsePB; |
168 | | class DeleteCDCStreamResponsePBDefaultTypeInternal; |
169 | | extern DeleteCDCStreamResponsePBDefaultTypeInternal _DeleteCDCStreamResponsePB_default_instance_; |
170 | | class DeleteUniverseReplicationRequestPB; |
171 | | class DeleteUniverseReplicationRequestPBDefaultTypeInternal; |
172 | | extern DeleteUniverseReplicationRequestPBDefaultTypeInternal _DeleteUniverseReplicationRequestPB_default_instance_; |
173 | | class DeleteUniverseReplicationResponsePB; |
174 | | class DeleteUniverseReplicationResponsePBDefaultTypeInternal; |
175 | | extern DeleteUniverseReplicationResponsePBDefaultTypeInternal _DeleteUniverseReplicationResponsePB_default_instance_; |
176 | | class GetCDCDBStreamInfoRequestPB; |
177 | | class GetCDCDBStreamInfoRequestPBDefaultTypeInternal; |
178 | | extern GetCDCDBStreamInfoRequestPBDefaultTypeInternal _GetCDCDBStreamInfoRequestPB_default_instance_; |
179 | | class GetCDCDBStreamInfoResponsePB; |
180 | | class GetCDCDBStreamInfoResponsePBDefaultTypeInternal; |
181 | | extern GetCDCDBStreamInfoResponsePBDefaultTypeInternal _GetCDCDBStreamInfoResponsePB_default_instance_; |
182 | | class GetCDCDBStreamInfoResponsePB_TableInfo; |
183 | | class GetCDCDBStreamInfoResponsePB_TableInfoDefaultTypeInternal; |
184 | | extern GetCDCDBStreamInfoResponsePB_TableInfoDefaultTypeInternal _GetCDCDBStreamInfoResponsePB_TableInfo_default_instance_; |
185 | | class GetCDCStreamRequestPB; |
186 | | class GetCDCStreamRequestPBDefaultTypeInternal; |
187 | | extern GetCDCStreamRequestPBDefaultTypeInternal _GetCDCStreamRequestPB_default_instance_; |
188 | | class GetCDCStreamResponsePB; |
189 | | class GetCDCStreamResponsePBDefaultTypeInternal; |
190 | | extern GetCDCStreamResponsePBDefaultTypeInternal _GetCDCStreamResponsePB_default_instance_; |
191 | | class GetUniverseReplicationRequestPB; |
192 | | class GetUniverseReplicationRequestPBDefaultTypeInternal; |
193 | | extern GetUniverseReplicationRequestPBDefaultTypeInternal _GetUniverseReplicationRequestPB_default_instance_; |
194 | | class GetUniverseReplicationResponsePB; |
195 | | class GetUniverseReplicationResponsePBDefaultTypeInternal; |
196 | | extern GetUniverseReplicationResponsePBDefaultTypeInternal _GetUniverseReplicationResponsePB_default_instance_; |
197 | | class IsSetupUniverseReplicationDoneRequestPB; |
198 | | class IsSetupUniverseReplicationDoneRequestPBDefaultTypeInternal; |
199 | | extern IsSetupUniverseReplicationDoneRequestPBDefaultTypeInternal _IsSetupUniverseReplicationDoneRequestPB_default_instance_; |
200 | | class IsSetupUniverseReplicationDoneResponsePB; |
201 | | class IsSetupUniverseReplicationDoneResponsePBDefaultTypeInternal; |
202 | | extern IsSetupUniverseReplicationDoneResponsePBDefaultTypeInternal _IsSetupUniverseReplicationDoneResponsePB_default_instance_; |
203 | | class ListCDCStreamsRequestPB; |
204 | | class ListCDCStreamsRequestPBDefaultTypeInternal; |
205 | | extern ListCDCStreamsRequestPBDefaultTypeInternal _ListCDCStreamsRequestPB_default_instance_; |
206 | | class ListCDCStreamsResponsePB; |
207 | | class ListCDCStreamsResponsePBDefaultTypeInternal; |
208 | | extern ListCDCStreamsResponsePBDefaultTypeInternal _ListCDCStreamsResponsePB_default_instance_; |
209 | | class ProducerSplitTabletInfoPB; |
210 | | class ProducerSplitTabletInfoPBDefaultTypeInternal; |
211 | | extern ProducerSplitTabletInfoPBDefaultTypeInternal _ProducerSplitTabletInfoPB_default_instance_; |
212 | | class SetUniverseReplicationEnabledRequestPB; |
213 | | class SetUniverseReplicationEnabledRequestPBDefaultTypeInternal; |
214 | | extern SetUniverseReplicationEnabledRequestPBDefaultTypeInternal _SetUniverseReplicationEnabledRequestPB_default_instance_; |
215 | | class SetUniverseReplicationEnabledResponsePB; |
216 | | class SetUniverseReplicationEnabledResponsePBDefaultTypeInternal; |
217 | | extern SetUniverseReplicationEnabledResponsePBDefaultTypeInternal _SetUniverseReplicationEnabledResponsePB_default_instance_; |
218 | | class SetupUniverseReplicationRequestPB; |
219 | | class SetupUniverseReplicationRequestPBDefaultTypeInternal; |
220 | | extern SetupUniverseReplicationRequestPBDefaultTypeInternal _SetupUniverseReplicationRequestPB_default_instance_; |
221 | | class SetupUniverseReplicationResponsePB; |
222 | | class SetupUniverseReplicationResponsePBDefaultTypeInternal; |
223 | | extern SetupUniverseReplicationResponsePBDefaultTypeInternal _SetupUniverseReplicationResponsePB_default_instance_; |
224 | | class UpdateCDCStreamRequestPB; |
225 | | class UpdateCDCStreamRequestPBDefaultTypeInternal; |
226 | | extern UpdateCDCStreamRequestPBDefaultTypeInternal _UpdateCDCStreamRequestPB_default_instance_; |
227 | | class UpdateCDCStreamResponsePB; |
228 | | class UpdateCDCStreamResponsePBDefaultTypeInternal; |
229 | | extern UpdateCDCStreamResponsePBDefaultTypeInternal _UpdateCDCStreamResponsePB_default_instance_; |
230 | | class UpdateConsumerOnProducerSplitRequestPB; |
231 | | class UpdateConsumerOnProducerSplitRequestPBDefaultTypeInternal; |
232 | | extern UpdateConsumerOnProducerSplitRequestPBDefaultTypeInternal _UpdateConsumerOnProducerSplitRequestPB_default_instance_; |
233 | | class UpdateConsumerOnProducerSplitResponsePB; |
234 | | class UpdateConsumerOnProducerSplitResponsePBDefaultTypeInternal; |
235 | | extern UpdateConsumerOnProducerSplitResponsePBDefaultTypeInternal _UpdateConsumerOnProducerSplitResponsePB_default_instance_; |
236 | | class ValidateReplicationInfoRequestPB; |
237 | | class ValidateReplicationInfoRequestPBDefaultTypeInternal; |
238 | | extern ValidateReplicationInfoRequestPBDefaultTypeInternal _ValidateReplicationInfoRequestPB_default_instance_; |
239 | | class ValidateReplicationInfoResponsePB; |
240 | | class ValidateReplicationInfoResponsePBDefaultTypeInternal; |
241 | | extern ValidateReplicationInfoResponsePBDefaultTypeInternal _ValidateReplicationInfoResponsePB_default_instance_; |
242 | | } // namespace master |
243 | | } // namespace yb |
244 | | namespace yb { |
245 | | namespace master { |
246 | | |
247 | | enum IdTypePB { |
248 | | TABLE_ID = 1, |
249 | | NAMESPACE_ID = 2 |
250 | | }; |
251 | | bool IdTypePB_IsValid(int value); |
252 | | const IdTypePB IdTypePB_MIN = TABLE_ID; |
253 | | const IdTypePB IdTypePB_MAX = NAMESPACE_ID; |
254 | | const int IdTypePB_ARRAYSIZE = IdTypePB_MAX + 1; |
255 | | |
256 | | const ::google::protobuf::EnumDescriptor* IdTypePB_descriptor(); |
257 | 0 | inline const ::std::string& IdTypePB_Name(IdTypePB value) { |
258 | 0 | return ::google::protobuf::internal::NameOfEnum( |
259 | 0 | IdTypePB_descriptor(), value); |
260 | 0 | } |
261 | | inline bool IdTypePB_Parse( |
262 | 0 | const ::std::string& name, IdTypePB* value) { |
263 | 0 | return ::google::protobuf::internal::ParseNamedEnum<IdTypePB>( |
264 | 0 | IdTypePB_descriptor(), name, value); |
265 | 0 | } |
266 | | // =================================================================== |
267 | | |
268 | | class CDCStreamInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CDCStreamInfoPB) */ { |
269 | | public: |
270 | | CDCStreamInfoPB(); |
271 | | virtual ~CDCStreamInfoPB(); |
272 | | |
273 | | CDCStreamInfoPB(const CDCStreamInfoPB& from); |
274 | | |
275 | 0 | inline CDCStreamInfoPB& operator=(const CDCStreamInfoPB& from) { |
276 | 0 | CopyFrom(from); |
277 | 0 | return *this; |
278 | 0 | } |
279 | | #if LANG_CXX11 |
280 | | CDCStreamInfoPB(CDCStreamInfoPB&& from) noexcept |
281 | 0 | : CDCStreamInfoPB() { |
282 | 0 | *this = ::std::move(from); |
283 | 0 | } |
284 | | |
285 | 0 | inline CDCStreamInfoPB& operator=(CDCStreamInfoPB&& from) noexcept { |
286 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
287 | 0 | if (this != &from) InternalSwap(&from); |
288 | 0 | } else { |
289 | 0 | CopyFrom(from); |
290 | 0 | } |
291 | 0 | return *this; |
292 | 0 | } |
293 | | #endif |
294 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
295 | 0 | return _internal_metadata_.unknown_fields(); |
296 | 0 | } |
297 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
298 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
299 | 0 | } |
300 | | |
301 | | static const ::google::protobuf::Descriptor* descriptor(); |
302 | | static const CDCStreamInfoPB& default_instance(); |
303 | | |
304 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
305 | 53.7k | static inline const CDCStreamInfoPB* internal_default_instance() { |
306 | 53.7k | return reinterpret_cast<const CDCStreamInfoPB*>( |
307 | 53.7k | &_CDCStreamInfoPB_default_instance_); |
308 | 53.7k | } |
309 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
310 | | 0; |
311 | | |
312 | | void Swap(CDCStreamInfoPB* other); |
313 | 0 | friend void swap(CDCStreamInfoPB& a, CDCStreamInfoPB& b) { |
314 | 0 | a.Swap(&b); |
315 | 0 | } |
316 | | |
317 | | // implements Message ---------------------------------------------- |
318 | | |
319 | 0 | inline CDCStreamInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
320 | | |
321 | | CDCStreamInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
322 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
323 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
324 | | void CopyFrom(const CDCStreamInfoPB& from); |
325 | | void MergeFrom(const CDCStreamInfoPB& from); |
326 | | void Clear() PROTOBUF_FINAL; |
327 | | bool IsInitialized() const PROTOBUF_FINAL; |
328 | | |
329 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
330 | | bool MergePartialFromCodedStream( |
331 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
332 | | void SerializeWithCachedSizes( |
333 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
334 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
335 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
336 | 5 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
337 | | private: |
338 | | void SharedCtor(); |
339 | | void SharedDtor(); |
340 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
341 | | void InternalSwap(CDCStreamInfoPB* other); |
342 | | private: |
343 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
344 | 0 | return NULL; |
345 | 0 | } |
346 | 0 | inline void* MaybeArenaPtr() const { |
347 | 0 | return NULL; |
348 | 0 | } |
349 | | public: |
350 | | |
351 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
352 | | |
353 | | // nested types ---------------------------------------------------- |
354 | | |
355 | | // accessors ------------------------------------------------------- |
356 | | |
357 | | // repeated bytes table_id = 2; |
358 | | int table_id_size() const; |
359 | | void clear_table_id(); |
360 | | static const int kTableIdFieldNumber = 2; |
361 | | const ::std::string& table_id(int index) const; |
362 | | ::std::string* mutable_table_id(int index); |
363 | | void set_table_id(int index, const ::std::string& value); |
364 | | #if LANG_CXX11 |
365 | | void set_table_id(int index, ::std::string&& value); |
366 | | #endif |
367 | | void set_table_id(int index, const char* value); |
368 | | void set_table_id(int index, const void* value, size_t size); |
369 | | ::std::string* add_table_id(); |
370 | | void add_table_id(const ::std::string& value); |
371 | | #if LANG_CXX11 |
372 | | void add_table_id(::std::string&& value); |
373 | | #endif |
374 | | void add_table_id(const char* value); |
375 | | void add_table_id(const void* value, size_t size); |
376 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& table_id() const; |
377 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_table_id(); |
378 | | |
379 | | // repeated .yb.master.CDCStreamOptionsPB options = 3; |
380 | | int options_size() const; |
381 | | void clear_options(); |
382 | | static const int kOptionsFieldNumber = 3; |
383 | | const ::yb::master::CDCStreamOptionsPB& options(int index) const; |
384 | | ::yb::master::CDCStreamOptionsPB* mutable_options(int index); |
385 | | ::yb::master::CDCStreamOptionsPB* add_options(); |
386 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >* |
387 | | mutable_options(); |
388 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >& |
389 | | options() const; |
390 | | |
391 | | // optional bytes stream_id = 1; |
392 | | bool has_stream_id() const; |
393 | | void clear_stream_id(); |
394 | | static const int kStreamIdFieldNumber = 1; |
395 | | const ::std::string& stream_id() const; |
396 | | void set_stream_id(const ::std::string& value); |
397 | | #if LANG_CXX11 |
398 | | void set_stream_id(::std::string&& value); |
399 | | #endif |
400 | | void set_stream_id(const char* value); |
401 | | void set_stream_id(const void* value, size_t size); |
402 | | ::std::string* mutable_stream_id(); |
403 | | ::std::string* release_stream_id(); |
404 | | void set_allocated_stream_id(::std::string* stream_id); |
405 | | |
406 | | // optional bytes namespace_id = 4; |
407 | | bool has_namespace_id() const; |
408 | | void clear_namespace_id(); |
409 | | static const int kNamespaceIdFieldNumber = 4; |
410 | | const ::std::string& namespace_id() const; |
411 | | void set_namespace_id(const ::std::string& value); |
412 | | #if LANG_CXX11 |
413 | | void set_namespace_id(::std::string&& value); |
414 | | #endif |
415 | | void set_namespace_id(const char* value); |
416 | | void set_namespace_id(const void* value, size_t size); |
417 | | ::std::string* mutable_namespace_id(); |
418 | | ::std::string* release_namespace_id(); |
419 | | void set_allocated_namespace_id(::std::string* namespace_id); |
420 | | |
421 | | // @@protoc_insertion_point(class_scope:yb.master.CDCStreamInfoPB) |
422 | | private: |
423 | | void set_has_stream_id(); |
424 | | void clear_has_stream_id(); |
425 | | void set_has_namespace_id(); |
426 | | void clear_has_namespace_id(); |
427 | | |
428 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
429 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
430 | | mutable int _cached_size_; |
431 | | ::google::protobuf::RepeatedPtrField< ::std::string> table_id_; |
432 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB > options_; |
433 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
434 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
435 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
436 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsCDCStreamInfoPBImpl(); |
437 | | }; |
438 | | // ------------------------------------------------------------------- |
439 | | |
440 | | class ValidateReplicationInfoRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ValidateReplicationInfoRequestPB) */ { |
441 | | public: |
442 | | ValidateReplicationInfoRequestPB(); |
443 | | virtual ~ValidateReplicationInfoRequestPB(); |
444 | | |
445 | | ValidateReplicationInfoRequestPB(const ValidateReplicationInfoRequestPB& from); |
446 | | |
447 | 0 | inline ValidateReplicationInfoRequestPB& operator=(const ValidateReplicationInfoRequestPB& from) { |
448 | 0 | CopyFrom(from); |
449 | 0 | return *this; |
450 | 0 | } |
451 | | #if LANG_CXX11 |
452 | | ValidateReplicationInfoRequestPB(ValidateReplicationInfoRequestPB&& from) noexcept |
453 | 0 | : ValidateReplicationInfoRequestPB() { |
454 | 0 | *this = ::std::move(from); |
455 | 0 | } |
456 | | |
457 | 0 | inline ValidateReplicationInfoRequestPB& operator=(ValidateReplicationInfoRequestPB&& from) noexcept { |
458 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
459 | 0 | if (this != &from) InternalSwap(&from); |
460 | 0 | } else { |
461 | 0 | CopyFrom(from); |
462 | 0 | } |
463 | 0 | return *this; |
464 | 0 | } |
465 | | #endif |
466 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
467 | 0 | return _internal_metadata_.unknown_fields(); |
468 | 0 | } |
469 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
470 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
471 | 0 | } |
472 | | |
473 | | static const ::google::protobuf::Descriptor* descriptor(); |
474 | | static const ValidateReplicationInfoRequestPB& default_instance(); |
475 | | |
476 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
477 | 140k | static inline const ValidateReplicationInfoRequestPB* internal_default_instance() { |
478 | 140k | return reinterpret_cast<const ValidateReplicationInfoRequestPB*>( |
479 | 140k | &_ValidateReplicationInfoRequestPB_default_instance_); |
480 | 140k | } |
481 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
482 | | 1; |
483 | | |
484 | | void Swap(ValidateReplicationInfoRequestPB* other); |
485 | 0 | friend void swap(ValidateReplicationInfoRequestPB& a, ValidateReplicationInfoRequestPB& b) { |
486 | 0 | a.Swap(&b); |
487 | 0 | } |
488 | | |
489 | | // implements Message ---------------------------------------------- |
490 | | |
491 | 0 | inline ValidateReplicationInfoRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
492 | | |
493 | | ValidateReplicationInfoRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
494 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
495 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
496 | | void CopyFrom(const ValidateReplicationInfoRequestPB& from); |
497 | | void MergeFrom(const ValidateReplicationInfoRequestPB& from); |
498 | | void Clear() PROTOBUF_FINAL; |
499 | | bool IsInitialized() const PROTOBUF_FINAL; |
500 | | |
501 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
502 | | bool MergePartialFromCodedStream( |
503 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
504 | | void SerializeWithCachedSizes( |
505 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
506 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
507 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
508 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
509 | | private: |
510 | | void SharedCtor(); |
511 | | void SharedDtor(); |
512 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
513 | | void InternalSwap(ValidateReplicationInfoRequestPB* other); |
514 | | private: |
515 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
516 | 0 | return NULL; |
517 | 0 | } |
518 | 0 | inline void* MaybeArenaPtr() const { |
519 | 0 | return NULL; |
520 | 0 | } |
521 | | public: |
522 | | |
523 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
524 | | |
525 | | // nested types ---------------------------------------------------- |
526 | | |
527 | | // accessors ------------------------------------------------------- |
528 | | |
529 | | // optional .yb.master.ReplicationInfoPB replication_info = 1; |
530 | | bool has_replication_info() const; |
531 | | void clear_replication_info(); |
532 | | static const int kReplicationInfoFieldNumber = 1; |
533 | | const ::yb::master::ReplicationInfoPB& replication_info() const; |
534 | | ::yb::master::ReplicationInfoPB* release_replication_info(); |
535 | | ::yb::master::ReplicationInfoPB* mutable_replication_info(); |
536 | | void set_allocated_replication_info(::yb::master::ReplicationInfoPB* replication_info); |
537 | | |
538 | | // @@protoc_insertion_point(class_scope:yb.master.ValidateReplicationInfoRequestPB) |
539 | | private: |
540 | | void set_has_replication_info(); |
541 | | void clear_has_replication_info(); |
542 | | |
543 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
544 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
545 | | mutable int _cached_size_; |
546 | | ::yb::master::ReplicationInfoPB* replication_info_; |
547 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
548 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsValidateReplicationInfoRequestPBImpl(); |
549 | | }; |
550 | | // ------------------------------------------------------------------- |
551 | | |
552 | | class ValidateReplicationInfoResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ValidateReplicationInfoResponsePB) */ { |
553 | | public: |
554 | | ValidateReplicationInfoResponsePB(); |
555 | | virtual ~ValidateReplicationInfoResponsePB(); |
556 | | |
557 | | ValidateReplicationInfoResponsePB(const ValidateReplicationInfoResponsePB& from); |
558 | | |
559 | 0 | inline ValidateReplicationInfoResponsePB& operator=(const ValidateReplicationInfoResponsePB& from) { |
560 | 0 | CopyFrom(from); |
561 | 0 | return *this; |
562 | 0 | } |
563 | | #if LANG_CXX11 |
564 | | ValidateReplicationInfoResponsePB(ValidateReplicationInfoResponsePB&& from) noexcept |
565 | 0 | : ValidateReplicationInfoResponsePB() { |
566 | 0 | *this = ::std::move(from); |
567 | 0 | } |
568 | | |
569 | 0 | inline ValidateReplicationInfoResponsePB& operator=(ValidateReplicationInfoResponsePB&& from) noexcept { |
570 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
571 | 0 | if (this != &from) InternalSwap(&from); |
572 | 0 | } else { |
573 | 0 | CopyFrom(from); |
574 | 0 | } |
575 | 0 | return *this; |
576 | 0 | } |
577 | | #endif |
578 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
579 | 0 | return _internal_metadata_.unknown_fields(); |
580 | 0 | } |
581 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
582 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
583 | 0 | } |
584 | | |
585 | | static const ::google::protobuf::Descriptor* descriptor(); |
586 | | static const ValidateReplicationInfoResponsePB& default_instance(); |
587 | | |
588 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
589 | 140k | static inline const ValidateReplicationInfoResponsePB* internal_default_instance() { |
590 | 140k | return reinterpret_cast<const ValidateReplicationInfoResponsePB*>( |
591 | 140k | &_ValidateReplicationInfoResponsePB_default_instance_); |
592 | 140k | } |
593 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
594 | | 2; |
595 | | |
596 | | void Swap(ValidateReplicationInfoResponsePB* other); |
597 | 0 | friend void swap(ValidateReplicationInfoResponsePB& a, ValidateReplicationInfoResponsePB& b) { |
598 | 0 | a.Swap(&b); |
599 | 0 | } |
600 | | |
601 | | // implements Message ---------------------------------------------- |
602 | | |
603 | 0 | inline ValidateReplicationInfoResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
604 | | |
605 | | ValidateReplicationInfoResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
606 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
607 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
608 | | void CopyFrom(const ValidateReplicationInfoResponsePB& from); |
609 | | void MergeFrom(const ValidateReplicationInfoResponsePB& from); |
610 | | void Clear() PROTOBUF_FINAL; |
611 | | bool IsInitialized() const PROTOBUF_FINAL; |
612 | | |
613 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
614 | | bool MergePartialFromCodedStream( |
615 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
616 | | void SerializeWithCachedSizes( |
617 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
618 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
619 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
620 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
621 | | private: |
622 | | void SharedCtor(); |
623 | | void SharedDtor(); |
624 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
625 | | void InternalSwap(ValidateReplicationInfoResponsePB* other); |
626 | | private: |
627 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
628 | 0 | return NULL; |
629 | 0 | } |
630 | 0 | inline void* MaybeArenaPtr() const { |
631 | 0 | return NULL; |
632 | 0 | } |
633 | | public: |
634 | | |
635 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
636 | | |
637 | | // nested types ---------------------------------------------------- |
638 | | |
639 | | // accessors ------------------------------------------------------- |
640 | | |
641 | | // optional .yb.master.MasterErrorPB error = 1; |
642 | | bool has_error() const; |
643 | | void clear_error(); |
644 | | static const int kErrorFieldNumber = 1; |
645 | | const ::yb::master::MasterErrorPB& error() const; |
646 | | ::yb::master::MasterErrorPB* release_error(); |
647 | | ::yb::master::MasterErrorPB* mutable_error(); |
648 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
649 | | |
650 | | // @@protoc_insertion_point(class_scope:yb.master.ValidateReplicationInfoResponsePB) |
651 | | private: |
652 | | void set_has_error(); |
653 | | void clear_has_error(); |
654 | | |
655 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
656 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
657 | | mutable int _cached_size_; |
658 | | ::yb::master::MasterErrorPB* error_; |
659 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
660 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsValidateReplicationInfoResponsePBImpl(); |
661 | | }; |
662 | | // ------------------------------------------------------------------- |
663 | | |
664 | | class CreateCDCStreamRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CreateCDCStreamRequestPB) */ { |
665 | | public: |
666 | | CreateCDCStreamRequestPB(); |
667 | | virtual ~CreateCDCStreamRequestPB(); |
668 | | |
669 | | CreateCDCStreamRequestPB(const CreateCDCStreamRequestPB& from); |
670 | | |
671 | 0 | inline CreateCDCStreamRequestPB& operator=(const CreateCDCStreamRequestPB& from) { |
672 | 0 | CopyFrom(from); |
673 | 0 | return *this; |
674 | 0 | } |
675 | | #if LANG_CXX11 |
676 | | CreateCDCStreamRequestPB(CreateCDCStreamRequestPB&& from) noexcept |
677 | 0 | : CreateCDCStreamRequestPB() { |
678 | 0 | *this = ::std::move(from); |
679 | 0 | } |
680 | | |
681 | 0 | inline CreateCDCStreamRequestPB& operator=(CreateCDCStreamRequestPB&& from) noexcept { |
682 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
683 | 0 | if (this != &from) InternalSwap(&from); |
684 | 0 | } else { |
685 | 0 | CopyFrom(from); |
686 | 0 | } |
687 | 0 | return *this; |
688 | 0 | } |
689 | | #endif |
690 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
691 | 0 | return _internal_metadata_.unknown_fields(); |
692 | 0 | } |
693 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
694 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
695 | 0 | } |
696 | | |
697 | | static const ::google::protobuf::Descriptor* descriptor(); |
698 | | static const CreateCDCStreamRequestPB& default_instance(); |
699 | | |
700 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
701 | 37.8k | static inline const CreateCDCStreamRequestPB* internal_default_instance() { |
702 | 37.8k | return reinterpret_cast<const CreateCDCStreamRequestPB*>( |
703 | 37.8k | &_CreateCDCStreamRequestPB_default_instance_); |
704 | 37.8k | } |
705 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
706 | | 3; |
707 | | |
708 | | void Swap(CreateCDCStreamRequestPB* other); |
709 | 0 | friend void swap(CreateCDCStreamRequestPB& a, CreateCDCStreamRequestPB& b) { |
710 | 0 | a.Swap(&b); |
711 | 0 | } |
712 | | |
713 | | // implements Message ---------------------------------------------- |
714 | | |
715 | 0 | inline CreateCDCStreamRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
716 | | |
717 | | CreateCDCStreamRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
718 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
719 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
720 | | void CopyFrom(const CreateCDCStreamRequestPB& from); |
721 | | void MergeFrom(const CreateCDCStreamRequestPB& from); |
722 | | void Clear() PROTOBUF_FINAL; |
723 | | bool IsInitialized() const PROTOBUF_FINAL; |
724 | | |
725 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
726 | | bool MergePartialFromCodedStream( |
727 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
728 | | void SerializeWithCachedSizes( |
729 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
730 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
731 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
732 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
733 | | private: |
734 | | void SharedCtor(); |
735 | | void SharedDtor(); |
736 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
737 | | void InternalSwap(CreateCDCStreamRequestPB* other); |
738 | | private: |
739 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
740 | 0 | return NULL; |
741 | 0 | } |
742 | 0 | inline void* MaybeArenaPtr() const { |
743 | 0 | return NULL; |
744 | 0 | } |
745 | | public: |
746 | | |
747 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
748 | | |
749 | | // nested types ---------------------------------------------------- |
750 | | |
751 | | // accessors ------------------------------------------------------- |
752 | | |
753 | | // repeated .yb.master.CDCStreamOptionsPB options = 3; |
754 | | int options_size() const; |
755 | | void clear_options(); |
756 | | static const int kOptionsFieldNumber = 3; |
757 | | const ::yb::master::CDCStreamOptionsPB& options(int index) const; |
758 | | ::yb::master::CDCStreamOptionsPB* mutable_options(int index); |
759 | | ::yb::master::CDCStreamOptionsPB* add_options(); |
760 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >* |
761 | | mutable_options(); |
762 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >& |
763 | | options() const; |
764 | | |
765 | | // optional string table_id = 1; |
766 | | bool has_table_id() const; |
767 | | void clear_table_id(); |
768 | | static const int kTableIdFieldNumber = 1; |
769 | | const ::std::string& table_id() const; |
770 | | void set_table_id(const ::std::string& value); |
771 | | #if LANG_CXX11 |
772 | | void set_table_id(::std::string&& value); |
773 | | #endif |
774 | | void set_table_id(const char* value); |
775 | | void set_table_id(const char* value, size_t size); |
776 | | ::std::string* mutable_table_id(); |
777 | | ::std::string* release_table_id(); |
778 | | void set_allocated_table_id(::std::string* table_id); |
779 | | |
780 | | // optional string db_stream_id = 5; |
781 | | bool has_db_stream_id() const; |
782 | | void clear_db_stream_id(); |
783 | | static const int kDbStreamIdFieldNumber = 5; |
784 | | const ::std::string& db_stream_id() const; |
785 | | void set_db_stream_id(const ::std::string& value); |
786 | | #if LANG_CXX11 |
787 | | void set_db_stream_id(::std::string&& value); |
788 | | #endif |
789 | | void set_db_stream_id(const char* value); |
790 | | void set_db_stream_id(const char* value, size_t size); |
791 | | ::std::string* mutable_db_stream_id(); |
792 | | ::std::string* release_db_stream_id(); |
793 | | void set_allocated_db_stream_id(::std::string* db_stream_id); |
794 | | |
795 | | // optional .yb.master.SysCDCStreamEntryPB.State initial_state = 4; |
796 | | bool has_initial_state() const; |
797 | | void clear_initial_state(); |
798 | | static const int kInitialStateFieldNumber = 4; |
799 | | ::yb::master::SysCDCStreamEntryPB_State initial_state() const; |
800 | | void set_initial_state(::yb::master::SysCDCStreamEntryPB_State value); |
801 | | |
802 | | // @@protoc_insertion_point(class_scope:yb.master.CreateCDCStreamRequestPB) |
803 | | private: |
804 | | void set_has_table_id(); |
805 | | void clear_has_table_id(); |
806 | | void set_has_initial_state(); |
807 | | void clear_has_initial_state(); |
808 | | void set_has_db_stream_id(); |
809 | | void clear_has_db_stream_id(); |
810 | | |
811 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
812 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
813 | | mutable int _cached_size_; |
814 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB > options_; |
815 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
816 | | ::google::protobuf::internal::ArenaStringPtr db_stream_id_; |
817 | | int initial_state_; |
818 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
819 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsCreateCDCStreamRequestPBImpl(); |
820 | | }; |
821 | | // ------------------------------------------------------------------- |
822 | | |
823 | | class CreateCDCStreamResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.CreateCDCStreamResponsePB) */ { |
824 | | public: |
825 | | CreateCDCStreamResponsePB(); |
826 | | virtual ~CreateCDCStreamResponsePB(); |
827 | | |
828 | | CreateCDCStreamResponsePB(const CreateCDCStreamResponsePB& from); |
829 | | |
830 | 0 | inline CreateCDCStreamResponsePB& operator=(const CreateCDCStreamResponsePB& from) { |
831 | 0 | CopyFrom(from); |
832 | 0 | return *this; |
833 | 0 | } |
834 | | #if LANG_CXX11 |
835 | | CreateCDCStreamResponsePB(CreateCDCStreamResponsePB&& from) noexcept |
836 | 0 | : CreateCDCStreamResponsePB() { |
837 | 0 | *this = ::std::move(from); |
838 | 0 | } |
839 | | |
840 | 0 | inline CreateCDCStreamResponsePB& operator=(CreateCDCStreamResponsePB&& from) noexcept { |
841 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
842 | 0 | if (this != &from) InternalSwap(&from); |
843 | 0 | } else { |
844 | 0 | CopyFrom(from); |
845 | 0 | } |
846 | 0 | return *this; |
847 | 0 | } |
848 | | #endif |
849 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
850 | 0 | return _internal_metadata_.unknown_fields(); |
851 | 0 | } |
852 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
853 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
854 | 0 | } |
855 | | |
856 | | static const ::google::protobuf::Descriptor* descriptor(); |
857 | | static const CreateCDCStreamResponsePB& default_instance(); |
858 | | |
859 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
860 | 48.8k | static inline const CreateCDCStreamResponsePB* internal_default_instance() { |
861 | 48.8k | return reinterpret_cast<const CreateCDCStreamResponsePB*>( |
862 | 48.8k | &_CreateCDCStreamResponsePB_default_instance_); |
863 | 48.8k | } |
864 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
865 | | 4; |
866 | | |
867 | | void Swap(CreateCDCStreamResponsePB* other); |
868 | 0 | friend void swap(CreateCDCStreamResponsePB& a, CreateCDCStreamResponsePB& b) { |
869 | 0 | a.Swap(&b); |
870 | 0 | } |
871 | | |
872 | | // implements Message ---------------------------------------------- |
873 | | |
874 | 0 | inline CreateCDCStreamResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
875 | | |
876 | | CreateCDCStreamResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
877 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
878 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
879 | | void CopyFrom(const CreateCDCStreamResponsePB& from); |
880 | | void MergeFrom(const CreateCDCStreamResponsePB& from); |
881 | | void Clear() PROTOBUF_FINAL; |
882 | | bool IsInitialized() const PROTOBUF_FINAL; |
883 | | |
884 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
885 | | bool MergePartialFromCodedStream( |
886 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
887 | | void SerializeWithCachedSizes( |
888 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
889 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
890 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
891 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
892 | | private: |
893 | | void SharedCtor(); |
894 | | void SharedDtor(); |
895 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
896 | | void InternalSwap(CreateCDCStreamResponsePB* other); |
897 | | private: |
898 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
899 | 0 | return NULL; |
900 | 0 | } |
901 | 0 | inline void* MaybeArenaPtr() const { |
902 | 0 | return NULL; |
903 | 0 | } |
904 | | public: |
905 | | |
906 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
907 | | |
908 | | // nested types ---------------------------------------------------- |
909 | | |
910 | | // accessors ------------------------------------------------------- |
911 | | |
912 | | // optional bytes stream_id = 2; |
913 | | bool has_stream_id() const; |
914 | | void clear_stream_id(); |
915 | | static const int kStreamIdFieldNumber = 2; |
916 | | const ::std::string& stream_id() const; |
917 | | void set_stream_id(const ::std::string& value); |
918 | | #if LANG_CXX11 |
919 | | void set_stream_id(::std::string&& value); |
920 | | #endif |
921 | | void set_stream_id(const char* value); |
922 | | void set_stream_id(const void* value, size_t size); |
923 | | ::std::string* mutable_stream_id(); |
924 | | ::std::string* release_stream_id(); |
925 | | void set_allocated_stream_id(::std::string* stream_id); |
926 | | |
927 | | // optional .yb.master.MasterErrorPB error = 1; |
928 | | bool has_error() const; |
929 | | void clear_error(); |
930 | | static const int kErrorFieldNumber = 1; |
931 | | const ::yb::master::MasterErrorPB& error() const; |
932 | | ::yb::master::MasterErrorPB* release_error(); |
933 | | ::yb::master::MasterErrorPB* mutable_error(); |
934 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
935 | | |
936 | | // @@protoc_insertion_point(class_scope:yb.master.CreateCDCStreamResponsePB) |
937 | | private: |
938 | | void set_has_error(); |
939 | | void clear_has_error(); |
940 | | void set_has_stream_id(); |
941 | | void clear_has_stream_id(); |
942 | | |
943 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
944 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
945 | | mutable int _cached_size_; |
946 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
947 | | ::yb::master::MasterErrorPB* error_; |
948 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
949 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsCreateCDCStreamResponsePBImpl(); |
950 | | }; |
951 | | // ------------------------------------------------------------------- |
952 | | |
953 | | class DeleteCDCStreamRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteCDCStreamRequestPB) */ { |
954 | | public: |
955 | | DeleteCDCStreamRequestPB(); |
956 | | virtual ~DeleteCDCStreamRequestPB(); |
957 | | |
958 | | DeleteCDCStreamRequestPB(const DeleteCDCStreamRequestPB& from); |
959 | | |
960 | 0 | inline DeleteCDCStreamRequestPB& operator=(const DeleteCDCStreamRequestPB& from) { |
961 | 0 | CopyFrom(from); |
962 | 0 | return *this; |
963 | 0 | } |
964 | | #if LANG_CXX11 |
965 | | DeleteCDCStreamRequestPB(DeleteCDCStreamRequestPB&& from) noexcept |
966 | 0 | : DeleteCDCStreamRequestPB() { |
967 | 0 | *this = ::std::move(from); |
968 | 0 | } |
969 | | |
970 | 0 | inline DeleteCDCStreamRequestPB& operator=(DeleteCDCStreamRequestPB&& from) noexcept { |
971 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
972 | 0 | if (this != &from) InternalSwap(&from); |
973 | 0 | } else { |
974 | 0 | CopyFrom(from); |
975 | 0 | } |
976 | 0 | return *this; |
977 | 0 | } |
978 | | #endif |
979 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
980 | 0 | return _internal_metadata_.unknown_fields(); |
981 | 0 | } |
982 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
983 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
984 | 0 | } |
985 | | |
986 | | static const ::google::protobuf::Descriptor* descriptor(); |
987 | | static const DeleteCDCStreamRequestPB& default_instance(); |
988 | | |
989 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
990 | 26.8k | static inline const DeleteCDCStreamRequestPB* internal_default_instance() { |
991 | 26.8k | return reinterpret_cast<const DeleteCDCStreamRequestPB*>( |
992 | 26.8k | &_DeleteCDCStreamRequestPB_default_instance_); |
993 | 26.8k | } |
994 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
995 | | 5; |
996 | | |
997 | | void Swap(DeleteCDCStreamRequestPB* other); |
998 | 0 | friend void swap(DeleteCDCStreamRequestPB& a, DeleteCDCStreamRequestPB& b) { |
999 | 0 | a.Swap(&b); |
1000 | 0 | } |
1001 | | |
1002 | | // implements Message ---------------------------------------------- |
1003 | | |
1004 | 0 | inline DeleteCDCStreamRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1005 | | |
1006 | | DeleteCDCStreamRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1007 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1008 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1009 | | void CopyFrom(const DeleteCDCStreamRequestPB& from); |
1010 | | void MergeFrom(const DeleteCDCStreamRequestPB& from); |
1011 | | void Clear() PROTOBUF_FINAL; |
1012 | | bool IsInitialized() const PROTOBUF_FINAL; |
1013 | | |
1014 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1015 | | bool MergePartialFromCodedStream( |
1016 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1017 | | void SerializeWithCachedSizes( |
1018 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1019 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1020 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1021 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1022 | | private: |
1023 | | void SharedCtor(); |
1024 | | void SharedDtor(); |
1025 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1026 | | void InternalSwap(DeleteCDCStreamRequestPB* other); |
1027 | | private: |
1028 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1029 | 0 | return NULL; |
1030 | 0 | } |
1031 | 0 | inline void* MaybeArenaPtr() const { |
1032 | 0 | return NULL; |
1033 | 0 | } |
1034 | | public: |
1035 | | |
1036 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1037 | | |
1038 | | // nested types ---------------------------------------------------- |
1039 | | |
1040 | | // accessors ------------------------------------------------------- |
1041 | | |
1042 | | // repeated bytes stream_id = 1; |
1043 | | int stream_id_size() const; |
1044 | | void clear_stream_id(); |
1045 | | static const int kStreamIdFieldNumber = 1; |
1046 | | const ::std::string& stream_id(int index) const; |
1047 | | ::std::string* mutable_stream_id(int index); |
1048 | | void set_stream_id(int index, const ::std::string& value); |
1049 | | #if LANG_CXX11 |
1050 | | void set_stream_id(int index, ::std::string&& value); |
1051 | | #endif |
1052 | | void set_stream_id(int index, const char* value); |
1053 | | void set_stream_id(int index, const void* value, size_t size); |
1054 | | ::std::string* add_stream_id(); |
1055 | | void add_stream_id(const ::std::string& value); |
1056 | | #if LANG_CXX11 |
1057 | | void add_stream_id(::std::string&& value); |
1058 | | #endif |
1059 | | void add_stream_id(const char* value); |
1060 | | void add_stream_id(const void* value, size_t size); |
1061 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& stream_id() const; |
1062 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_stream_id(); |
1063 | | |
1064 | | // optional bool ignore_errors = 2 [default = false]; |
1065 | | bool has_ignore_errors() const; |
1066 | | void clear_ignore_errors(); |
1067 | | static const int kIgnoreErrorsFieldNumber = 2; |
1068 | | bool ignore_errors() const; |
1069 | | void set_ignore_errors(bool value); |
1070 | | |
1071 | | // optional bool force_delete = 3 [default = false]; |
1072 | | bool has_force_delete() const; |
1073 | | void clear_force_delete(); |
1074 | | static const int kForceDeleteFieldNumber = 3; |
1075 | | bool force_delete() const; |
1076 | | void set_force_delete(bool value); |
1077 | | |
1078 | | // @@protoc_insertion_point(class_scope:yb.master.DeleteCDCStreamRequestPB) |
1079 | | private: |
1080 | | void set_has_ignore_errors(); |
1081 | | void clear_has_ignore_errors(); |
1082 | | void set_has_force_delete(); |
1083 | | void clear_has_force_delete(); |
1084 | | |
1085 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1086 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1087 | | mutable int _cached_size_; |
1088 | | ::google::protobuf::RepeatedPtrField< ::std::string> stream_id_; |
1089 | | bool ignore_errors_; |
1090 | | bool force_delete_; |
1091 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1092 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsDeleteCDCStreamRequestPBImpl(); |
1093 | | }; |
1094 | | // ------------------------------------------------------------------- |
1095 | | |
1096 | | class DeleteCDCStreamResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteCDCStreamResponsePB) */ { |
1097 | | public: |
1098 | | DeleteCDCStreamResponsePB(); |
1099 | | virtual ~DeleteCDCStreamResponsePB(); |
1100 | | |
1101 | | DeleteCDCStreamResponsePB(const DeleteCDCStreamResponsePB& from); |
1102 | | |
1103 | 0 | inline DeleteCDCStreamResponsePB& operator=(const DeleteCDCStreamResponsePB& from) { |
1104 | 0 | CopyFrom(from); |
1105 | 0 | return *this; |
1106 | 0 | } |
1107 | | #if LANG_CXX11 |
1108 | | DeleteCDCStreamResponsePB(DeleteCDCStreamResponsePB&& from) noexcept |
1109 | 0 | : DeleteCDCStreamResponsePB() { |
1110 | 0 | *this = ::std::move(from); |
1111 | 0 | } |
1112 | | |
1113 | 0 | inline DeleteCDCStreamResponsePB& operator=(DeleteCDCStreamResponsePB&& from) noexcept { |
1114 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1115 | 0 | if (this != &from) InternalSwap(&from); |
1116 | 0 | } else { |
1117 | 0 | CopyFrom(from); |
1118 | 0 | } |
1119 | 0 | return *this; |
1120 | 0 | } |
1121 | | #endif |
1122 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1123 | 0 | return _internal_metadata_.unknown_fields(); |
1124 | 0 | } |
1125 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1126 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1127 | 0 | } |
1128 | | |
1129 | | static const ::google::protobuf::Descriptor* descriptor(); |
1130 | | static const DeleteCDCStreamResponsePB& default_instance(); |
1131 | | |
1132 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1133 | 26.8k | static inline const DeleteCDCStreamResponsePB* internal_default_instance() { |
1134 | 26.8k | return reinterpret_cast<const DeleteCDCStreamResponsePB*>( |
1135 | 26.8k | &_DeleteCDCStreamResponsePB_default_instance_); |
1136 | 26.8k | } |
1137 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1138 | | 6; |
1139 | | |
1140 | | void Swap(DeleteCDCStreamResponsePB* other); |
1141 | 0 | friend void swap(DeleteCDCStreamResponsePB& a, DeleteCDCStreamResponsePB& b) { |
1142 | 0 | a.Swap(&b); |
1143 | 0 | } |
1144 | | |
1145 | | // implements Message ---------------------------------------------- |
1146 | | |
1147 | 0 | inline DeleteCDCStreamResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1148 | | |
1149 | | DeleteCDCStreamResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1150 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1151 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1152 | | void CopyFrom(const DeleteCDCStreamResponsePB& from); |
1153 | | void MergeFrom(const DeleteCDCStreamResponsePB& from); |
1154 | | void Clear() PROTOBUF_FINAL; |
1155 | | bool IsInitialized() const PROTOBUF_FINAL; |
1156 | | |
1157 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1158 | | bool MergePartialFromCodedStream( |
1159 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1160 | | void SerializeWithCachedSizes( |
1161 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1162 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1163 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1164 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1165 | | private: |
1166 | | void SharedCtor(); |
1167 | | void SharedDtor(); |
1168 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1169 | | void InternalSwap(DeleteCDCStreamResponsePB* other); |
1170 | | private: |
1171 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1172 | 0 | return NULL; |
1173 | 0 | } |
1174 | 0 | inline void* MaybeArenaPtr() const { |
1175 | 0 | return NULL; |
1176 | 0 | } |
1177 | | public: |
1178 | | |
1179 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1180 | | |
1181 | | // nested types ---------------------------------------------------- |
1182 | | |
1183 | | // accessors ------------------------------------------------------- |
1184 | | |
1185 | | // repeated bytes not_found_stream_ids = 2; |
1186 | | int not_found_stream_ids_size() const; |
1187 | | void clear_not_found_stream_ids(); |
1188 | | static const int kNotFoundStreamIdsFieldNumber = 2; |
1189 | | const ::std::string& not_found_stream_ids(int index) const; |
1190 | | ::std::string* mutable_not_found_stream_ids(int index); |
1191 | | void set_not_found_stream_ids(int index, const ::std::string& value); |
1192 | | #if LANG_CXX11 |
1193 | | void set_not_found_stream_ids(int index, ::std::string&& value); |
1194 | | #endif |
1195 | | void set_not_found_stream_ids(int index, const char* value); |
1196 | | void set_not_found_stream_ids(int index, const void* value, size_t size); |
1197 | | ::std::string* add_not_found_stream_ids(); |
1198 | | void add_not_found_stream_ids(const ::std::string& value); |
1199 | | #if LANG_CXX11 |
1200 | | void add_not_found_stream_ids(::std::string&& value); |
1201 | | #endif |
1202 | | void add_not_found_stream_ids(const char* value); |
1203 | | void add_not_found_stream_ids(const void* value, size_t size); |
1204 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& not_found_stream_ids() const; |
1205 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_not_found_stream_ids(); |
1206 | | |
1207 | | // optional .yb.master.MasterErrorPB error = 1; |
1208 | | bool has_error() const; |
1209 | | void clear_error(); |
1210 | | static const int kErrorFieldNumber = 1; |
1211 | | const ::yb::master::MasterErrorPB& error() const; |
1212 | | ::yb::master::MasterErrorPB* release_error(); |
1213 | | ::yb::master::MasterErrorPB* mutable_error(); |
1214 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1215 | | |
1216 | | // @@protoc_insertion_point(class_scope:yb.master.DeleteCDCStreamResponsePB) |
1217 | | private: |
1218 | | void set_has_error(); |
1219 | | void clear_has_error(); |
1220 | | |
1221 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1222 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1223 | | mutable int _cached_size_; |
1224 | | ::google::protobuf::RepeatedPtrField< ::std::string> not_found_stream_ids_; |
1225 | | ::yb::master::MasterErrorPB* error_; |
1226 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1227 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsDeleteCDCStreamResponsePBImpl(); |
1228 | | }; |
1229 | | // ------------------------------------------------------------------- |
1230 | | |
1231 | | class ListCDCStreamsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListCDCStreamsRequestPB) */ { |
1232 | | public: |
1233 | | ListCDCStreamsRequestPB(); |
1234 | | virtual ~ListCDCStreamsRequestPB(); |
1235 | | |
1236 | | ListCDCStreamsRequestPB(const ListCDCStreamsRequestPB& from); |
1237 | | |
1238 | 0 | inline ListCDCStreamsRequestPB& operator=(const ListCDCStreamsRequestPB& from) { |
1239 | 0 | CopyFrom(from); |
1240 | 0 | return *this; |
1241 | 0 | } |
1242 | | #if LANG_CXX11 |
1243 | | ListCDCStreamsRequestPB(ListCDCStreamsRequestPB&& from) noexcept |
1244 | 0 | : ListCDCStreamsRequestPB() { |
1245 | 0 | *this = ::std::move(from); |
1246 | 0 | } |
1247 | | |
1248 | 0 | inline ListCDCStreamsRequestPB& operator=(ListCDCStreamsRequestPB&& from) noexcept { |
1249 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1250 | 0 | if (this != &from) InternalSwap(&from); |
1251 | 0 | } else { |
1252 | 0 | CopyFrom(from); |
1253 | 0 | } |
1254 | 0 | return *this; |
1255 | 0 | } |
1256 | | #endif |
1257 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1258 | 0 | return _internal_metadata_.unknown_fields(); |
1259 | 0 | } |
1260 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1261 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1262 | 0 | } |
1263 | | |
1264 | | static const ::google::protobuf::Descriptor* descriptor(); |
1265 | | static const ListCDCStreamsRequestPB& default_instance(); |
1266 | | |
1267 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1268 | 26.8k | static inline const ListCDCStreamsRequestPB* internal_default_instance() { |
1269 | 26.8k | return reinterpret_cast<const ListCDCStreamsRequestPB*>( |
1270 | 26.8k | &_ListCDCStreamsRequestPB_default_instance_); |
1271 | 26.8k | } |
1272 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1273 | | 7; |
1274 | | |
1275 | | void Swap(ListCDCStreamsRequestPB* other); |
1276 | 0 | friend void swap(ListCDCStreamsRequestPB& a, ListCDCStreamsRequestPB& b) { |
1277 | 0 | a.Swap(&b); |
1278 | 0 | } |
1279 | | |
1280 | | // implements Message ---------------------------------------------- |
1281 | | |
1282 | 0 | inline ListCDCStreamsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1283 | | |
1284 | | ListCDCStreamsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1285 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1286 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1287 | | void CopyFrom(const ListCDCStreamsRequestPB& from); |
1288 | | void MergeFrom(const ListCDCStreamsRequestPB& from); |
1289 | | void Clear() PROTOBUF_FINAL; |
1290 | | bool IsInitialized() const PROTOBUF_FINAL; |
1291 | | |
1292 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1293 | | bool MergePartialFromCodedStream( |
1294 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1295 | | void SerializeWithCachedSizes( |
1296 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1297 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1298 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1299 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1300 | | private: |
1301 | | void SharedCtor(); |
1302 | | void SharedDtor(); |
1303 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1304 | | void InternalSwap(ListCDCStreamsRequestPB* other); |
1305 | | private: |
1306 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1307 | 0 | return NULL; |
1308 | 0 | } |
1309 | 0 | inline void* MaybeArenaPtr() const { |
1310 | 0 | return NULL; |
1311 | 0 | } |
1312 | | public: |
1313 | | |
1314 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1315 | | |
1316 | | // nested types ---------------------------------------------------- |
1317 | | |
1318 | | // accessors ------------------------------------------------------- |
1319 | | |
1320 | | // optional string table_id = 1; |
1321 | | bool has_table_id() const; |
1322 | | void clear_table_id(); |
1323 | | static const int kTableIdFieldNumber = 1; |
1324 | | const ::std::string& table_id() const; |
1325 | | void set_table_id(const ::std::string& value); |
1326 | | #if LANG_CXX11 |
1327 | | void set_table_id(::std::string&& value); |
1328 | | #endif |
1329 | | void set_table_id(const char* value); |
1330 | | void set_table_id(const char* value, size_t size); |
1331 | | ::std::string* mutable_table_id(); |
1332 | | ::std::string* release_table_id(); |
1333 | | void set_allocated_table_id(::std::string* table_id); |
1334 | | |
1335 | | // optional string namespace_id = 2; |
1336 | | bool has_namespace_id() const; |
1337 | | void clear_namespace_id(); |
1338 | | static const int kNamespaceIdFieldNumber = 2; |
1339 | | const ::std::string& namespace_id() const; |
1340 | | void set_namespace_id(const ::std::string& value); |
1341 | | #if LANG_CXX11 |
1342 | | void set_namespace_id(::std::string&& value); |
1343 | | #endif |
1344 | | void set_namespace_id(const char* value); |
1345 | | void set_namespace_id(const char* value, size_t size); |
1346 | | ::std::string* mutable_namespace_id(); |
1347 | | ::std::string* release_namespace_id(); |
1348 | | void set_allocated_namespace_id(::std::string* namespace_id); |
1349 | | |
1350 | | // optional .yb.master.IdTypePB id_type = 3 [default = TABLE_ID]; |
1351 | | bool has_id_type() const; |
1352 | | void clear_id_type(); |
1353 | | static const int kIdTypeFieldNumber = 3; |
1354 | | ::yb::master::IdTypePB id_type() const; |
1355 | | void set_id_type(::yb::master::IdTypePB value); |
1356 | | |
1357 | | // @@protoc_insertion_point(class_scope:yb.master.ListCDCStreamsRequestPB) |
1358 | | private: |
1359 | | void set_has_table_id(); |
1360 | | void clear_has_table_id(); |
1361 | | void set_has_namespace_id(); |
1362 | | void clear_has_namespace_id(); |
1363 | | void set_has_id_type(); |
1364 | | void clear_has_id_type(); |
1365 | | |
1366 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1367 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1368 | | mutable int _cached_size_; |
1369 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
1370 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
1371 | | int id_type_; |
1372 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1373 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsListCDCStreamsRequestPBImpl(); |
1374 | | }; |
1375 | | // ------------------------------------------------------------------- |
1376 | | |
1377 | | class ListCDCStreamsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListCDCStreamsResponsePB) */ { |
1378 | | public: |
1379 | | ListCDCStreamsResponsePB(); |
1380 | | virtual ~ListCDCStreamsResponsePB(); |
1381 | | |
1382 | | ListCDCStreamsResponsePB(const ListCDCStreamsResponsePB& from); |
1383 | | |
1384 | 0 | inline ListCDCStreamsResponsePB& operator=(const ListCDCStreamsResponsePB& from) { |
1385 | 0 | CopyFrom(from); |
1386 | 0 | return *this; |
1387 | 0 | } |
1388 | | #if LANG_CXX11 |
1389 | | ListCDCStreamsResponsePB(ListCDCStreamsResponsePB&& from) noexcept |
1390 | 0 | : ListCDCStreamsResponsePB() { |
1391 | 0 | *this = ::std::move(from); |
1392 | 0 | } |
1393 | | |
1394 | 0 | inline ListCDCStreamsResponsePB& operator=(ListCDCStreamsResponsePB&& from) noexcept { |
1395 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1396 | 0 | if (this != &from) InternalSwap(&from); |
1397 | 0 | } else { |
1398 | 0 | CopyFrom(from); |
1399 | 0 | } |
1400 | 0 | return *this; |
1401 | 0 | } |
1402 | | #endif |
1403 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1404 | 0 | return _internal_metadata_.unknown_fields(); |
1405 | 0 | } |
1406 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1407 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1408 | 0 | } |
1409 | | |
1410 | | static const ::google::protobuf::Descriptor* descriptor(); |
1411 | | static const ListCDCStreamsResponsePB& default_instance(); |
1412 | | |
1413 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1414 | 26.8k | static inline const ListCDCStreamsResponsePB* internal_default_instance() { |
1415 | 26.8k | return reinterpret_cast<const ListCDCStreamsResponsePB*>( |
1416 | 26.8k | &_ListCDCStreamsResponsePB_default_instance_); |
1417 | 26.8k | } |
1418 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1419 | | 8; |
1420 | | |
1421 | | void Swap(ListCDCStreamsResponsePB* other); |
1422 | 0 | friend void swap(ListCDCStreamsResponsePB& a, ListCDCStreamsResponsePB& b) { |
1423 | 0 | a.Swap(&b); |
1424 | 0 | } |
1425 | | |
1426 | | // implements Message ---------------------------------------------- |
1427 | | |
1428 | 0 | inline ListCDCStreamsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1429 | | |
1430 | | ListCDCStreamsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1431 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1432 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1433 | | void CopyFrom(const ListCDCStreamsResponsePB& from); |
1434 | | void MergeFrom(const ListCDCStreamsResponsePB& from); |
1435 | | void Clear() PROTOBUF_FINAL; |
1436 | | bool IsInitialized() const PROTOBUF_FINAL; |
1437 | | |
1438 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1439 | | bool MergePartialFromCodedStream( |
1440 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1441 | | void SerializeWithCachedSizes( |
1442 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1443 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1444 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1445 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1446 | | private: |
1447 | | void SharedCtor(); |
1448 | | void SharedDtor(); |
1449 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1450 | | void InternalSwap(ListCDCStreamsResponsePB* other); |
1451 | | private: |
1452 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1453 | 0 | return NULL; |
1454 | 0 | } |
1455 | 0 | inline void* MaybeArenaPtr() const { |
1456 | 0 | return NULL; |
1457 | 0 | } |
1458 | | public: |
1459 | | |
1460 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1461 | | |
1462 | | // nested types ---------------------------------------------------- |
1463 | | |
1464 | | // accessors ------------------------------------------------------- |
1465 | | |
1466 | | // repeated .yb.master.CDCStreamInfoPB streams = 2; |
1467 | | int streams_size() const; |
1468 | | void clear_streams(); |
1469 | | static const int kStreamsFieldNumber = 2; |
1470 | | const ::yb::master::CDCStreamInfoPB& streams(int index) const; |
1471 | | ::yb::master::CDCStreamInfoPB* mutable_streams(int index); |
1472 | | ::yb::master::CDCStreamInfoPB* add_streams(); |
1473 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamInfoPB >* |
1474 | | mutable_streams(); |
1475 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamInfoPB >& |
1476 | | streams() const; |
1477 | | |
1478 | | // optional .yb.master.MasterErrorPB error = 1; |
1479 | | bool has_error() const; |
1480 | | void clear_error(); |
1481 | | static const int kErrorFieldNumber = 1; |
1482 | | const ::yb::master::MasterErrorPB& error() const; |
1483 | | ::yb::master::MasterErrorPB* release_error(); |
1484 | | ::yb::master::MasterErrorPB* mutable_error(); |
1485 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1486 | | |
1487 | | // @@protoc_insertion_point(class_scope:yb.master.ListCDCStreamsResponsePB) |
1488 | | private: |
1489 | | void set_has_error(); |
1490 | | void clear_has_error(); |
1491 | | |
1492 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1493 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1494 | | mutable int _cached_size_; |
1495 | | ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamInfoPB > streams_; |
1496 | | ::yb::master::MasterErrorPB* error_; |
1497 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1498 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsListCDCStreamsResponsePBImpl(); |
1499 | | }; |
1500 | | // ------------------------------------------------------------------- |
1501 | | |
1502 | | class GetCDCStreamRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetCDCStreamRequestPB) */ { |
1503 | | public: |
1504 | | GetCDCStreamRequestPB(); |
1505 | | virtual ~GetCDCStreamRequestPB(); |
1506 | | |
1507 | | GetCDCStreamRequestPB(const GetCDCStreamRequestPB& from); |
1508 | | |
1509 | 0 | inline GetCDCStreamRequestPB& operator=(const GetCDCStreamRequestPB& from) { |
1510 | 0 | CopyFrom(from); |
1511 | 0 | return *this; |
1512 | 0 | } |
1513 | | #if LANG_CXX11 |
1514 | | GetCDCStreamRequestPB(GetCDCStreamRequestPB&& from) noexcept |
1515 | 0 | : GetCDCStreamRequestPB() { |
1516 | 0 | *this = ::std::move(from); |
1517 | 0 | } |
1518 | | |
1519 | 0 | inline GetCDCStreamRequestPB& operator=(GetCDCStreamRequestPB&& from) noexcept { |
1520 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1521 | 0 | if (this != &from) InternalSwap(&from); |
1522 | 0 | } else { |
1523 | 0 | CopyFrom(from); |
1524 | 0 | } |
1525 | 0 | return *this; |
1526 | 0 | } |
1527 | | #endif |
1528 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1529 | 0 | return _internal_metadata_.unknown_fields(); |
1530 | 0 | } |
1531 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1532 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1533 | 0 | } |
1534 | | |
1535 | | static const ::google::protobuf::Descriptor* descriptor(); |
1536 | | static const GetCDCStreamRequestPB& default_instance(); |
1537 | | |
1538 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1539 | 26.8k | static inline const GetCDCStreamRequestPB* internal_default_instance() { |
1540 | 26.8k | return reinterpret_cast<const GetCDCStreamRequestPB*>( |
1541 | 26.8k | &_GetCDCStreamRequestPB_default_instance_); |
1542 | 26.8k | } |
1543 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1544 | | 9; |
1545 | | |
1546 | | void Swap(GetCDCStreamRequestPB* other); |
1547 | 0 | friend void swap(GetCDCStreamRequestPB& a, GetCDCStreamRequestPB& b) { |
1548 | 0 | a.Swap(&b); |
1549 | 0 | } |
1550 | | |
1551 | | // implements Message ---------------------------------------------- |
1552 | | |
1553 | 0 | inline GetCDCStreamRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1554 | | |
1555 | | GetCDCStreamRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1556 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1557 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1558 | | void CopyFrom(const GetCDCStreamRequestPB& from); |
1559 | | void MergeFrom(const GetCDCStreamRequestPB& from); |
1560 | | void Clear() PROTOBUF_FINAL; |
1561 | | bool IsInitialized() const PROTOBUF_FINAL; |
1562 | | |
1563 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1564 | | bool MergePartialFromCodedStream( |
1565 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1566 | | void SerializeWithCachedSizes( |
1567 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1568 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1569 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1570 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1571 | | private: |
1572 | | void SharedCtor(); |
1573 | | void SharedDtor(); |
1574 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1575 | | void InternalSwap(GetCDCStreamRequestPB* other); |
1576 | | private: |
1577 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1578 | 0 | return NULL; |
1579 | 0 | } |
1580 | 0 | inline void* MaybeArenaPtr() const { |
1581 | 0 | return NULL; |
1582 | 0 | } |
1583 | | public: |
1584 | | |
1585 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1586 | | |
1587 | | // nested types ---------------------------------------------------- |
1588 | | |
1589 | | // accessors ------------------------------------------------------- |
1590 | | |
1591 | | // optional bytes stream_id = 1; |
1592 | | bool has_stream_id() const; |
1593 | | void clear_stream_id(); |
1594 | | static const int kStreamIdFieldNumber = 1; |
1595 | | const ::std::string& stream_id() const; |
1596 | | void set_stream_id(const ::std::string& value); |
1597 | | #if LANG_CXX11 |
1598 | | void set_stream_id(::std::string&& value); |
1599 | | #endif |
1600 | | void set_stream_id(const char* value); |
1601 | | void set_stream_id(const void* value, size_t size); |
1602 | | ::std::string* mutable_stream_id(); |
1603 | | ::std::string* release_stream_id(); |
1604 | | void set_allocated_stream_id(::std::string* stream_id); |
1605 | | |
1606 | | // @@protoc_insertion_point(class_scope:yb.master.GetCDCStreamRequestPB) |
1607 | | private: |
1608 | | void set_has_stream_id(); |
1609 | | void clear_has_stream_id(); |
1610 | | |
1611 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1612 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1613 | | mutable int _cached_size_; |
1614 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
1615 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1616 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetCDCStreamRequestPBImpl(); |
1617 | | }; |
1618 | | // ------------------------------------------------------------------- |
1619 | | |
1620 | | class GetCDCStreamResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetCDCStreamResponsePB) */ { |
1621 | | public: |
1622 | | GetCDCStreamResponsePB(); |
1623 | | virtual ~GetCDCStreamResponsePB(); |
1624 | | |
1625 | | GetCDCStreamResponsePB(const GetCDCStreamResponsePB& from); |
1626 | | |
1627 | 0 | inline GetCDCStreamResponsePB& operator=(const GetCDCStreamResponsePB& from) { |
1628 | 0 | CopyFrom(from); |
1629 | 0 | return *this; |
1630 | 0 | } |
1631 | | #if LANG_CXX11 |
1632 | | GetCDCStreamResponsePB(GetCDCStreamResponsePB&& from) noexcept |
1633 | 0 | : GetCDCStreamResponsePB() { |
1634 | 0 | *this = ::std::move(from); |
1635 | 0 | } |
1636 | | |
1637 | 0 | inline GetCDCStreamResponsePB& operator=(GetCDCStreamResponsePB&& from) noexcept { |
1638 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1639 | 0 | if (this != &from) InternalSwap(&from); |
1640 | 0 | } else { |
1641 | 0 | CopyFrom(from); |
1642 | 0 | } |
1643 | 0 | return *this; |
1644 | 0 | } |
1645 | | #endif |
1646 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1647 | 0 | return _internal_metadata_.unknown_fields(); |
1648 | 0 | } |
1649 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1650 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1651 | 0 | } |
1652 | | |
1653 | | static const ::google::protobuf::Descriptor* descriptor(); |
1654 | | static const GetCDCStreamResponsePB& default_instance(); |
1655 | | |
1656 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1657 | 26.8k | static inline const GetCDCStreamResponsePB* internal_default_instance() { |
1658 | 26.8k | return reinterpret_cast<const GetCDCStreamResponsePB*>( |
1659 | 26.8k | &_GetCDCStreamResponsePB_default_instance_); |
1660 | 26.8k | } |
1661 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1662 | | 10; |
1663 | | |
1664 | | void Swap(GetCDCStreamResponsePB* other); |
1665 | 0 | friend void swap(GetCDCStreamResponsePB& a, GetCDCStreamResponsePB& b) { |
1666 | 0 | a.Swap(&b); |
1667 | 0 | } |
1668 | | |
1669 | | // implements Message ---------------------------------------------- |
1670 | | |
1671 | 0 | inline GetCDCStreamResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1672 | | |
1673 | | GetCDCStreamResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1674 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1675 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1676 | | void CopyFrom(const GetCDCStreamResponsePB& from); |
1677 | | void MergeFrom(const GetCDCStreamResponsePB& from); |
1678 | | void Clear() PROTOBUF_FINAL; |
1679 | | bool IsInitialized() const PROTOBUF_FINAL; |
1680 | | |
1681 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1682 | | bool MergePartialFromCodedStream( |
1683 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1684 | | void SerializeWithCachedSizes( |
1685 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1686 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1687 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1688 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1689 | | private: |
1690 | | void SharedCtor(); |
1691 | | void SharedDtor(); |
1692 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1693 | | void InternalSwap(GetCDCStreamResponsePB* other); |
1694 | | private: |
1695 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1696 | 0 | return NULL; |
1697 | 0 | } |
1698 | 0 | inline void* MaybeArenaPtr() const { |
1699 | 0 | return NULL; |
1700 | 0 | } |
1701 | | public: |
1702 | | |
1703 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1704 | | |
1705 | | // nested types ---------------------------------------------------- |
1706 | | |
1707 | | // accessors ------------------------------------------------------- |
1708 | | |
1709 | | // optional .yb.master.MasterErrorPB error = 1; |
1710 | | bool has_error() const; |
1711 | | void clear_error(); |
1712 | | static const int kErrorFieldNumber = 1; |
1713 | | const ::yb::master::MasterErrorPB& error() const; |
1714 | | ::yb::master::MasterErrorPB* release_error(); |
1715 | | ::yb::master::MasterErrorPB* mutable_error(); |
1716 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1717 | | |
1718 | | // optional .yb.master.CDCStreamInfoPB stream = 2; |
1719 | | bool has_stream() const; |
1720 | | void clear_stream(); |
1721 | | static const int kStreamFieldNumber = 2; |
1722 | | const ::yb::master::CDCStreamInfoPB& stream() const; |
1723 | | ::yb::master::CDCStreamInfoPB* release_stream(); |
1724 | | ::yb::master::CDCStreamInfoPB* mutable_stream(); |
1725 | | void set_allocated_stream(::yb::master::CDCStreamInfoPB* stream); |
1726 | | |
1727 | | // @@protoc_insertion_point(class_scope:yb.master.GetCDCStreamResponsePB) |
1728 | | private: |
1729 | | void set_has_error(); |
1730 | | void clear_has_error(); |
1731 | | void set_has_stream(); |
1732 | | void clear_has_stream(); |
1733 | | |
1734 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1735 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1736 | | mutable int _cached_size_; |
1737 | | ::yb::master::MasterErrorPB* error_; |
1738 | | ::yb::master::CDCStreamInfoPB* stream_; |
1739 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1740 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetCDCStreamResponsePBImpl(); |
1741 | | }; |
1742 | | // ------------------------------------------------------------------- |
1743 | | |
1744 | | class GetCDCDBStreamInfoRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetCDCDBStreamInfoRequestPB) */ { |
1745 | | public: |
1746 | | GetCDCDBStreamInfoRequestPB(); |
1747 | | virtual ~GetCDCDBStreamInfoRequestPB(); |
1748 | | |
1749 | | GetCDCDBStreamInfoRequestPB(const GetCDCDBStreamInfoRequestPB& from); |
1750 | | |
1751 | 0 | inline GetCDCDBStreamInfoRequestPB& operator=(const GetCDCDBStreamInfoRequestPB& from) { |
1752 | 0 | CopyFrom(from); |
1753 | 0 | return *this; |
1754 | 0 | } |
1755 | | #if LANG_CXX11 |
1756 | | GetCDCDBStreamInfoRequestPB(GetCDCDBStreamInfoRequestPB&& from) noexcept |
1757 | 0 | : GetCDCDBStreamInfoRequestPB() { |
1758 | 0 | *this = ::std::move(from); |
1759 | 0 | } |
1760 | | |
1761 | 0 | inline GetCDCDBStreamInfoRequestPB& operator=(GetCDCDBStreamInfoRequestPB&& from) noexcept { |
1762 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1763 | 0 | if (this != &from) InternalSwap(&from); |
1764 | 0 | } else { |
1765 | 0 | CopyFrom(from); |
1766 | 0 | } |
1767 | 0 | return *this; |
1768 | 0 | } |
1769 | | #endif |
1770 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1771 | 0 | return _internal_metadata_.unknown_fields(); |
1772 | 0 | } |
1773 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1774 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1775 | 0 | } |
1776 | | |
1777 | | static const ::google::protobuf::Descriptor* descriptor(); |
1778 | | static const GetCDCDBStreamInfoRequestPB& default_instance(); |
1779 | | |
1780 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1781 | 26.8k | static inline const GetCDCDBStreamInfoRequestPB* internal_default_instance() { |
1782 | 26.8k | return reinterpret_cast<const GetCDCDBStreamInfoRequestPB*>( |
1783 | 26.8k | &_GetCDCDBStreamInfoRequestPB_default_instance_); |
1784 | 26.8k | } |
1785 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1786 | | 11; |
1787 | | |
1788 | | void Swap(GetCDCDBStreamInfoRequestPB* other); |
1789 | 0 | friend void swap(GetCDCDBStreamInfoRequestPB& a, GetCDCDBStreamInfoRequestPB& b) { |
1790 | 0 | a.Swap(&b); |
1791 | 0 | } |
1792 | | |
1793 | | // implements Message ---------------------------------------------- |
1794 | | |
1795 | 0 | inline GetCDCDBStreamInfoRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1796 | | |
1797 | | GetCDCDBStreamInfoRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1798 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1799 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1800 | | void CopyFrom(const GetCDCDBStreamInfoRequestPB& from); |
1801 | | void MergeFrom(const GetCDCDBStreamInfoRequestPB& from); |
1802 | | void Clear() PROTOBUF_FINAL; |
1803 | | bool IsInitialized() const PROTOBUF_FINAL; |
1804 | | |
1805 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1806 | | bool MergePartialFromCodedStream( |
1807 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1808 | | void SerializeWithCachedSizes( |
1809 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1810 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1811 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1812 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1813 | | private: |
1814 | | void SharedCtor(); |
1815 | | void SharedDtor(); |
1816 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1817 | | void InternalSwap(GetCDCDBStreamInfoRequestPB* other); |
1818 | | private: |
1819 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1820 | 0 | return NULL; |
1821 | 0 | } |
1822 | 0 | inline void* MaybeArenaPtr() const { |
1823 | 0 | return NULL; |
1824 | 0 | } |
1825 | | public: |
1826 | | |
1827 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1828 | | |
1829 | | // nested types ---------------------------------------------------- |
1830 | | |
1831 | | // accessors ------------------------------------------------------- |
1832 | | |
1833 | | // optional bytes db_stream_id = 1; |
1834 | | bool has_db_stream_id() const; |
1835 | | void clear_db_stream_id(); |
1836 | | static const int kDbStreamIdFieldNumber = 1; |
1837 | | const ::std::string& db_stream_id() const; |
1838 | | void set_db_stream_id(const ::std::string& value); |
1839 | | #if LANG_CXX11 |
1840 | | void set_db_stream_id(::std::string&& value); |
1841 | | #endif |
1842 | | void set_db_stream_id(const char* value); |
1843 | | void set_db_stream_id(const void* value, size_t size); |
1844 | | ::std::string* mutable_db_stream_id(); |
1845 | | ::std::string* release_db_stream_id(); |
1846 | | void set_allocated_db_stream_id(::std::string* db_stream_id); |
1847 | | |
1848 | | // @@protoc_insertion_point(class_scope:yb.master.GetCDCDBStreamInfoRequestPB) |
1849 | | private: |
1850 | | void set_has_db_stream_id(); |
1851 | | void clear_has_db_stream_id(); |
1852 | | |
1853 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1854 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1855 | | mutable int _cached_size_; |
1856 | | ::google::protobuf::internal::ArenaStringPtr db_stream_id_; |
1857 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1858 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetCDCDBStreamInfoRequestPBImpl(); |
1859 | | }; |
1860 | | // ------------------------------------------------------------------- |
1861 | | |
1862 | | class GetCDCDBStreamInfoResponsePB_TableInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo) */ { |
1863 | | public: |
1864 | | GetCDCDBStreamInfoResponsePB_TableInfo(); |
1865 | | virtual ~GetCDCDBStreamInfoResponsePB_TableInfo(); |
1866 | | |
1867 | | GetCDCDBStreamInfoResponsePB_TableInfo(const GetCDCDBStreamInfoResponsePB_TableInfo& from); |
1868 | | |
1869 | 0 | inline GetCDCDBStreamInfoResponsePB_TableInfo& operator=(const GetCDCDBStreamInfoResponsePB_TableInfo& from) { |
1870 | 0 | CopyFrom(from); |
1871 | 0 | return *this; |
1872 | 0 | } |
1873 | | #if LANG_CXX11 |
1874 | | GetCDCDBStreamInfoResponsePB_TableInfo(GetCDCDBStreamInfoResponsePB_TableInfo&& from) noexcept |
1875 | 0 | : GetCDCDBStreamInfoResponsePB_TableInfo() { |
1876 | 0 | *this = ::std::move(from); |
1877 | 0 | } |
1878 | | |
1879 | 0 | inline GetCDCDBStreamInfoResponsePB_TableInfo& operator=(GetCDCDBStreamInfoResponsePB_TableInfo&& from) noexcept { |
1880 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1881 | 0 | if (this != &from) InternalSwap(&from); |
1882 | 0 | } else { |
1883 | 0 | CopyFrom(from); |
1884 | 0 | } |
1885 | 0 | return *this; |
1886 | 0 | } |
1887 | | #endif |
1888 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1889 | 0 | return _internal_metadata_.unknown_fields(); |
1890 | 0 | } |
1891 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1892 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1893 | 0 | } |
1894 | | |
1895 | | static const ::google::protobuf::Descriptor* descriptor(); |
1896 | | static const GetCDCDBStreamInfoResponsePB_TableInfo& default_instance(); |
1897 | | |
1898 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1899 | 26.8k | static inline const GetCDCDBStreamInfoResponsePB_TableInfo* internal_default_instance() { |
1900 | 26.8k | return reinterpret_cast<const GetCDCDBStreamInfoResponsePB_TableInfo*>( |
1901 | 26.8k | &_GetCDCDBStreamInfoResponsePB_TableInfo_default_instance_); |
1902 | 26.8k | } |
1903 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1904 | | 12; |
1905 | | |
1906 | | void Swap(GetCDCDBStreamInfoResponsePB_TableInfo* other); |
1907 | 0 | friend void swap(GetCDCDBStreamInfoResponsePB_TableInfo& a, GetCDCDBStreamInfoResponsePB_TableInfo& b) { |
1908 | 0 | a.Swap(&b); |
1909 | 0 | } |
1910 | | |
1911 | | // implements Message ---------------------------------------------- |
1912 | | |
1913 | 0 | inline GetCDCDBStreamInfoResponsePB_TableInfo* New() const PROTOBUF_FINAL { return New(NULL); } |
1914 | | |
1915 | | GetCDCDBStreamInfoResponsePB_TableInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1916 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1917 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1918 | | void CopyFrom(const GetCDCDBStreamInfoResponsePB_TableInfo& from); |
1919 | | void MergeFrom(const GetCDCDBStreamInfoResponsePB_TableInfo& from); |
1920 | | void Clear() PROTOBUF_FINAL; |
1921 | | bool IsInitialized() const PROTOBUF_FINAL; |
1922 | | |
1923 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1924 | | bool MergePartialFromCodedStream( |
1925 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1926 | | void SerializeWithCachedSizes( |
1927 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1928 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1929 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1930 | 22 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1931 | | private: |
1932 | | void SharedCtor(); |
1933 | | void SharedDtor(); |
1934 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1935 | | void InternalSwap(GetCDCDBStreamInfoResponsePB_TableInfo* other); |
1936 | | private: |
1937 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1938 | 0 | return NULL; |
1939 | 0 | } |
1940 | 0 | inline void* MaybeArenaPtr() const { |
1941 | 0 | return NULL; |
1942 | 0 | } |
1943 | | public: |
1944 | | |
1945 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1946 | | |
1947 | | // nested types ---------------------------------------------------- |
1948 | | |
1949 | | // accessors ------------------------------------------------------- |
1950 | | |
1951 | | // optional bytes stream_id = 1; |
1952 | | bool has_stream_id() const; |
1953 | | void clear_stream_id(); |
1954 | | static const int kStreamIdFieldNumber = 1; |
1955 | | const ::std::string& stream_id() const; |
1956 | | void set_stream_id(const ::std::string& value); |
1957 | | #if LANG_CXX11 |
1958 | | void set_stream_id(::std::string&& value); |
1959 | | #endif |
1960 | | void set_stream_id(const char* value); |
1961 | | void set_stream_id(const void* value, size_t size); |
1962 | | ::std::string* mutable_stream_id(); |
1963 | | ::std::string* release_stream_id(); |
1964 | | void set_allocated_stream_id(::std::string* stream_id); |
1965 | | |
1966 | | // optional bytes table_id = 2; |
1967 | | bool has_table_id() const; |
1968 | | void clear_table_id(); |
1969 | | static const int kTableIdFieldNumber = 2; |
1970 | | const ::std::string& table_id() const; |
1971 | | void set_table_id(const ::std::string& value); |
1972 | | #if LANG_CXX11 |
1973 | | void set_table_id(::std::string&& value); |
1974 | | #endif |
1975 | | void set_table_id(const char* value); |
1976 | | void set_table_id(const void* value, size_t size); |
1977 | | ::std::string* mutable_table_id(); |
1978 | | ::std::string* release_table_id(); |
1979 | | void set_allocated_table_id(::std::string* table_id); |
1980 | | |
1981 | | // @@protoc_insertion_point(class_scope:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo) |
1982 | | private: |
1983 | | void set_has_stream_id(); |
1984 | | void clear_has_stream_id(); |
1985 | | void set_has_table_id(); |
1986 | | void clear_has_table_id(); |
1987 | | |
1988 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1989 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1990 | | mutable int _cached_size_; |
1991 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
1992 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
1993 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
1994 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetCDCDBStreamInfoResponsePB_TableInfoImpl(); |
1995 | | }; |
1996 | | // ------------------------------------------------------------------- |
1997 | | |
1998 | | class GetCDCDBStreamInfoResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetCDCDBStreamInfoResponsePB) */ { |
1999 | | public: |
2000 | | GetCDCDBStreamInfoResponsePB(); |
2001 | | virtual ~GetCDCDBStreamInfoResponsePB(); |
2002 | | |
2003 | | GetCDCDBStreamInfoResponsePB(const GetCDCDBStreamInfoResponsePB& from); |
2004 | | |
2005 | 0 | inline GetCDCDBStreamInfoResponsePB& operator=(const GetCDCDBStreamInfoResponsePB& from) { |
2006 | 0 | CopyFrom(from); |
2007 | 0 | return *this; |
2008 | 0 | } |
2009 | | #if LANG_CXX11 |
2010 | | GetCDCDBStreamInfoResponsePB(GetCDCDBStreamInfoResponsePB&& from) noexcept |
2011 | 0 | : GetCDCDBStreamInfoResponsePB() { |
2012 | 0 | *this = ::std::move(from); |
2013 | 0 | } |
2014 | | |
2015 | 0 | inline GetCDCDBStreamInfoResponsePB& operator=(GetCDCDBStreamInfoResponsePB&& from) noexcept { |
2016 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2017 | 0 | if (this != &from) InternalSwap(&from); |
2018 | 0 | } else { |
2019 | 0 | CopyFrom(from); |
2020 | 0 | } |
2021 | 0 | return *this; |
2022 | 0 | } |
2023 | | #endif |
2024 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2025 | 0 | return _internal_metadata_.unknown_fields(); |
2026 | 0 | } |
2027 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2028 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2029 | 0 | } |
2030 | | |
2031 | | static const ::google::protobuf::Descriptor* descriptor(); |
2032 | | static const GetCDCDBStreamInfoResponsePB& default_instance(); |
2033 | | |
2034 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2035 | 26.9k | static inline const GetCDCDBStreamInfoResponsePB* internal_default_instance() { |
2036 | 26.9k | return reinterpret_cast<const GetCDCDBStreamInfoResponsePB*>( |
2037 | 26.9k | &_GetCDCDBStreamInfoResponsePB_default_instance_); |
2038 | 26.9k | } |
2039 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2040 | | 13; |
2041 | | |
2042 | | void Swap(GetCDCDBStreamInfoResponsePB* other); |
2043 | 0 | friend void swap(GetCDCDBStreamInfoResponsePB& a, GetCDCDBStreamInfoResponsePB& b) { |
2044 | 0 | a.Swap(&b); |
2045 | 0 | } |
2046 | | |
2047 | | // implements Message ---------------------------------------------- |
2048 | | |
2049 | 0 | inline GetCDCDBStreamInfoResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2050 | | |
2051 | | GetCDCDBStreamInfoResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2052 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2053 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2054 | | void CopyFrom(const GetCDCDBStreamInfoResponsePB& from); |
2055 | | void MergeFrom(const GetCDCDBStreamInfoResponsePB& from); |
2056 | | void Clear() PROTOBUF_FINAL; |
2057 | | bool IsInitialized() const PROTOBUF_FINAL; |
2058 | | |
2059 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2060 | | bool MergePartialFromCodedStream( |
2061 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2062 | | void SerializeWithCachedSizes( |
2063 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2064 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2065 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2066 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2067 | | private: |
2068 | | void SharedCtor(); |
2069 | | void SharedDtor(); |
2070 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2071 | | void InternalSwap(GetCDCDBStreamInfoResponsePB* other); |
2072 | | private: |
2073 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2074 | 0 | return NULL; |
2075 | 0 | } |
2076 | 0 | inline void* MaybeArenaPtr() const { |
2077 | 0 | return NULL; |
2078 | 0 | } |
2079 | | public: |
2080 | | |
2081 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2082 | | |
2083 | | // nested types ---------------------------------------------------- |
2084 | | |
2085 | | typedef GetCDCDBStreamInfoResponsePB_TableInfo TableInfo; |
2086 | | |
2087 | | // accessors ------------------------------------------------------- |
2088 | | |
2089 | | // repeated .yb.master.GetCDCDBStreamInfoResponsePB.TableInfo table_info = 2; |
2090 | | int table_info_size() const; |
2091 | | void clear_table_info(); |
2092 | | static const int kTableInfoFieldNumber = 2; |
2093 | | const ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo& table_info(int index) const; |
2094 | | ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo* mutable_table_info(int index); |
2095 | | ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo* add_table_info(); |
2096 | | ::google::protobuf::RepeatedPtrField< ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo >* |
2097 | | mutable_table_info(); |
2098 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo >& |
2099 | | table_info() const; |
2100 | | |
2101 | | // optional bytes namespace_id = 3; |
2102 | | bool has_namespace_id() const; |
2103 | | void clear_namespace_id(); |
2104 | | static const int kNamespaceIdFieldNumber = 3; |
2105 | | const ::std::string& namespace_id() const; |
2106 | | void set_namespace_id(const ::std::string& value); |
2107 | | #if LANG_CXX11 |
2108 | | void set_namespace_id(::std::string&& value); |
2109 | | #endif |
2110 | | void set_namespace_id(const char* value); |
2111 | | void set_namespace_id(const void* value, size_t size); |
2112 | | ::std::string* mutable_namespace_id(); |
2113 | | ::std::string* release_namespace_id(); |
2114 | | void set_allocated_namespace_id(::std::string* namespace_id); |
2115 | | |
2116 | | // optional .yb.master.MasterErrorPB error = 1; |
2117 | | bool has_error() const; |
2118 | | void clear_error(); |
2119 | | static const int kErrorFieldNumber = 1; |
2120 | | const ::yb::master::MasterErrorPB& error() const; |
2121 | | ::yb::master::MasterErrorPB* release_error(); |
2122 | | ::yb::master::MasterErrorPB* mutable_error(); |
2123 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2124 | | |
2125 | | // @@protoc_insertion_point(class_scope:yb.master.GetCDCDBStreamInfoResponsePB) |
2126 | | private: |
2127 | | void set_has_error(); |
2128 | | void clear_has_error(); |
2129 | | void set_has_namespace_id(); |
2130 | | void clear_has_namespace_id(); |
2131 | | |
2132 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2133 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2134 | | mutable int _cached_size_; |
2135 | | ::google::protobuf::RepeatedPtrField< ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo > table_info_; |
2136 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
2137 | | ::yb::master::MasterErrorPB* error_; |
2138 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2139 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetCDCDBStreamInfoResponsePBImpl(); |
2140 | | }; |
2141 | | // ------------------------------------------------------------------- |
2142 | | |
2143 | | class UpdateCDCStreamRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.UpdateCDCStreamRequestPB) */ { |
2144 | | public: |
2145 | | UpdateCDCStreamRequestPB(); |
2146 | | virtual ~UpdateCDCStreamRequestPB(); |
2147 | | |
2148 | | UpdateCDCStreamRequestPB(const UpdateCDCStreamRequestPB& from); |
2149 | | |
2150 | 0 | inline UpdateCDCStreamRequestPB& operator=(const UpdateCDCStreamRequestPB& from) { |
2151 | 0 | CopyFrom(from); |
2152 | 0 | return *this; |
2153 | 0 | } |
2154 | | #if LANG_CXX11 |
2155 | | UpdateCDCStreamRequestPB(UpdateCDCStreamRequestPB&& from) noexcept |
2156 | 0 | : UpdateCDCStreamRequestPB() { |
2157 | 0 | *this = ::std::move(from); |
2158 | 0 | } |
2159 | | |
2160 | 0 | inline UpdateCDCStreamRequestPB& operator=(UpdateCDCStreamRequestPB&& from) noexcept { |
2161 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2162 | 0 | if (this != &from) InternalSwap(&from); |
2163 | 0 | } else { |
2164 | 0 | CopyFrom(from); |
2165 | 0 | } |
2166 | 0 | return *this; |
2167 | 0 | } |
2168 | | #endif |
2169 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2170 | 0 | return _internal_metadata_.unknown_fields(); |
2171 | 0 | } |
2172 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2173 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2174 | 0 | } |
2175 | | |
2176 | | static const ::google::protobuf::Descriptor* descriptor(); |
2177 | | static const UpdateCDCStreamRequestPB& default_instance(); |
2178 | | |
2179 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2180 | 26.8k | static inline const UpdateCDCStreamRequestPB* internal_default_instance() { |
2181 | 26.8k | return reinterpret_cast<const UpdateCDCStreamRequestPB*>( |
2182 | 26.8k | &_UpdateCDCStreamRequestPB_default_instance_); |
2183 | 26.8k | } |
2184 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2185 | | 14; |
2186 | | |
2187 | | void Swap(UpdateCDCStreamRequestPB* other); |
2188 | 0 | friend void swap(UpdateCDCStreamRequestPB& a, UpdateCDCStreamRequestPB& b) { |
2189 | 0 | a.Swap(&b); |
2190 | 0 | } |
2191 | | |
2192 | | // implements Message ---------------------------------------------- |
2193 | | |
2194 | 0 | inline UpdateCDCStreamRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2195 | | |
2196 | | UpdateCDCStreamRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2197 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2198 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2199 | | void CopyFrom(const UpdateCDCStreamRequestPB& from); |
2200 | | void MergeFrom(const UpdateCDCStreamRequestPB& from); |
2201 | | void Clear() PROTOBUF_FINAL; |
2202 | | bool IsInitialized() const PROTOBUF_FINAL; |
2203 | | |
2204 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2205 | | bool MergePartialFromCodedStream( |
2206 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2207 | | void SerializeWithCachedSizes( |
2208 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2209 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2210 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2211 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2212 | | private: |
2213 | | void SharedCtor(); |
2214 | | void SharedDtor(); |
2215 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2216 | | void InternalSwap(UpdateCDCStreamRequestPB* other); |
2217 | | private: |
2218 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2219 | 0 | return NULL; |
2220 | 0 | } |
2221 | 0 | inline void* MaybeArenaPtr() const { |
2222 | 0 | return NULL; |
2223 | 0 | } |
2224 | | public: |
2225 | | |
2226 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2227 | | |
2228 | | // nested types ---------------------------------------------------- |
2229 | | |
2230 | | // accessors ------------------------------------------------------- |
2231 | | |
2232 | | // optional bytes stream_id = 1; |
2233 | | bool has_stream_id() const; |
2234 | | void clear_stream_id(); |
2235 | | static const int kStreamIdFieldNumber = 1; |
2236 | | const ::std::string& stream_id() const; |
2237 | | void set_stream_id(const ::std::string& value); |
2238 | | #if LANG_CXX11 |
2239 | | void set_stream_id(::std::string&& value); |
2240 | | #endif |
2241 | | void set_stream_id(const char* value); |
2242 | | void set_stream_id(const void* value, size_t size); |
2243 | | ::std::string* mutable_stream_id(); |
2244 | | ::std::string* release_stream_id(); |
2245 | | void set_allocated_stream_id(::std::string* stream_id); |
2246 | | |
2247 | | // optional .yb.master.SysCDCStreamEntryPB entry = 2; |
2248 | | bool has_entry() const; |
2249 | | void clear_entry(); |
2250 | | static const int kEntryFieldNumber = 2; |
2251 | | const ::yb::master::SysCDCStreamEntryPB& entry() const; |
2252 | | ::yb::master::SysCDCStreamEntryPB* release_entry(); |
2253 | | ::yb::master::SysCDCStreamEntryPB* mutable_entry(); |
2254 | | void set_allocated_entry(::yb::master::SysCDCStreamEntryPB* entry); |
2255 | | |
2256 | | // @@protoc_insertion_point(class_scope:yb.master.UpdateCDCStreamRequestPB) |
2257 | | private: |
2258 | | void set_has_stream_id(); |
2259 | | void clear_has_stream_id(); |
2260 | | void set_has_entry(); |
2261 | | void clear_has_entry(); |
2262 | | |
2263 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2264 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2265 | | mutable int _cached_size_; |
2266 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
2267 | | ::yb::master::SysCDCStreamEntryPB* entry_; |
2268 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2269 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsUpdateCDCStreamRequestPBImpl(); |
2270 | | }; |
2271 | | // ------------------------------------------------------------------- |
2272 | | |
2273 | | class UpdateCDCStreamResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.UpdateCDCStreamResponsePB) */ { |
2274 | | public: |
2275 | | UpdateCDCStreamResponsePB(); |
2276 | | virtual ~UpdateCDCStreamResponsePB(); |
2277 | | |
2278 | | UpdateCDCStreamResponsePB(const UpdateCDCStreamResponsePB& from); |
2279 | | |
2280 | 0 | inline UpdateCDCStreamResponsePB& operator=(const UpdateCDCStreamResponsePB& from) { |
2281 | 0 | CopyFrom(from); |
2282 | 0 | return *this; |
2283 | 0 | } |
2284 | | #if LANG_CXX11 |
2285 | | UpdateCDCStreamResponsePB(UpdateCDCStreamResponsePB&& from) noexcept |
2286 | 0 | : UpdateCDCStreamResponsePB() { |
2287 | 0 | *this = ::std::move(from); |
2288 | 0 | } |
2289 | | |
2290 | 0 | inline UpdateCDCStreamResponsePB& operator=(UpdateCDCStreamResponsePB&& from) noexcept { |
2291 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2292 | 0 | if (this != &from) InternalSwap(&from); |
2293 | 0 | } else { |
2294 | 0 | CopyFrom(from); |
2295 | 0 | } |
2296 | 0 | return *this; |
2297 | 0 | } |
2298 | | #endif |
2299 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2300 | 0 | return _internal_metadata_.unknown_fields(); |
2301 | 0 | } |
2302 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2303 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2304 | 0 | } |
2305 | | |
2306 | | static const ::google::protobuf::Descriptor* descriptor(); |
2307 | | static const UpdateCDCStreamResponsePB& default_instance(); |
2308 | | |
2309 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2310 | 26.8k | static inline const UpdateCDCStreamResponsePB* internal_default_instance() { |
2311 | 26.8k | return reinterpret_cast<const UpdateCDCStreamResponsePB*>( |
2312 | 26.8k | &_UpdateCDCStreamResponsePB_default_instance_); |
2313 | 26.8k | } |
2314 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2315 | | 15; |
2316 | | |
2317 | | void Swap(UpdateCDCStreamResponsePB* other); |
2318 | 0 | friend void swap(UpdateCDCStreamResponsePB& a, UpdateCDCStreamResponsePB& b) { |
2319 | 0 | a.Swap(&b); |
2320 | 0 | } |
2321 | | |
2322 | | // implements Message ---------------------------------------------- |
2323 | | |
2324 | 0 | inline UpdateCDCStreamResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2325 | | |
2326 | | UpdateCDCStreamResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2327 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2328 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2329 | | void CopyFrom(const UpdateCDCStreamResponsePB& from); |
2330 | | void MergeFrom(const UpdateCDCStreamResponsePB& from); |
2331 | | void Clear() PROTOBUF_FINAL; |
2332 | | bool IsInitialized() const PROTOBUF_FINAL; |
2333 | | |
2334 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2335 | | bool MergePartialFromCodedStream( |
2336 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2337 | | void SerializeWithCachedSizes( |
2338 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2339 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2340 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2341 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2342 | | private: |
2343 | | void SharedCtor(); |
2344 | | void SharedDtor(); |
2345 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2346 | | void InternalSwap(UpdateCDCStreamResponsePB* other); |
2347 | | private: |
2348 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2349 | 0 | return NULL; |
2350 | 0 | } |
2351 | 0 | inline void* MaybeArenaPtr() const { |
2352 | 0 | return NULL; |
2353 | 0 | } |
2354 | | public: |
2355 | | |
2356 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2357 | | |
2358 | | // nested types ---------------------------------------------------- |
2359 | | |
2360 | | // accessors ------------------------------------------------------- |
2361 | | |
2362 | | // optional .yb.master.MasterErrorPB error = 1; |
2363 | | bool has_error() const; |
2364 | | void clear_error(); |
2365 | | static const int kErrorFieldNumber = 1; |
2366 | | const ::yb::master::MasterErrorPB& error() const; |
2367 | | ::yb::master::MasterErrorPB* release_error(); |
2368 | | ::yb::master::MasterErrorPB* mutable_error(); |
2369 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2370 | | |
2371 | | // @@protoc_insertion_point(class_scope:yb.master.UpdateCDCStreamResponsePB) |
2372 | | private: |
2373 | | void set_has_error(); |
2374 | | void clear_has_error(); |
2375 | | |
2376 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2377 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2378 | | mutable int _cached_size_; |
2379 | | ::yb::master::MasterErrorPB* error_; |
2380 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2381 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsUpdateCDCStreamResponsePBImpl(); |
2382 | | }; |
2383 | | // ------------------------------------------------------------------- |
2384 | | |
2385 | | class SetupUniverseReplicationRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SetupUniverseReplicationRequestPB) */ { |
2386 | | public: |
2387 | | SetupUniverseReplicationRequestPB(); |
2388 | | virtual ~SetupUniverseReplicationRequestPB(); |
2389 | | |
2390 | | SetupUniverseReplicationRequestPB(const SetupUniverseReplicationRequestPB& from); |
2391 | | |
2392 | 0 | inline SetupUniverseReplicationRequestPB& operator=(const SetupUniverseReplicationRequestPB& from) { |
2393 | 0 | CopyFrom(from); |
2394 | 0 | return *this; |
2395 | 0 | } |
2396 | | #if LANG_CXX11 |
2397 | | SetupUniverseReplicationRequestPB(SetupUniverseReplicationRequestPB&& from) noexcept |
2398 | 0 | : SetupUniverseReplicationRequestPB() { |
2399 | 0 | *this = ::std::move(from); |
2400 | 0 | } |
2401 | | |
2402 | 0 | inline SetupUniverseReplicationRequestPB& operator=(SetupUniverseReplicationRequestPB&& from) noexcept { |
2403 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2404 | 0 | if (this != &from) InternalSwap(&from); |
2405 | 0 | } else { |
2406 | 0 | CopyFrom(from); |
2407 | 0 | } |
2408 | 0 | return *this; |
2409 | 0 | } |
2410 | | #endif |
2411 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2412 | 0 | return _internal_metadata_.unknown_fields(); |
2413 | 0 | } |
2414 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2415 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2416 | 0 | } |
2417 | | |
2418 | | static const ::google::protobuf::Descriptor* descriptor(); |
2419 | | static const SetupUniverseReplicationRequestPB& default_instance(); |
2420 | | |
2421 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2422 | 26.8k | static inline const SetupUniverseReplicationRequestPB* internal_default_instance() { |
2423 | 26.8k | return reinterpret_cast<const SetupUniverseReplicationRequestPB*>( |
2424 | 26.8k | &_SetupUniverseReplicationRequestPB_default_instance_); |
2425 | 26.8k | } |
2426 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2427 | | 16; |
2428 | | |
2429 | | void Swap(SetupUniverseReplicationRequestPB* other); |
2430 | 0 | friend void swap(SetupUniverseReplicationRequestPB& a, SetupUniverseReplicationRequestPB& b) { |
2431 | 0 | a.Swap(&b); |
2432 | 0 | } |
2433 | | |
2434 | | // implements Message ---------------------------------------------- |
2435 | | |
2436 | 0 | inline SetupUniverseReplicationRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2437 | | |
2438 | | SetupUniverseReplicationRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2439 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2440 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2441 | | void CopyFrom(const SetupUniverseReplicationRequestPB& from); |
2442 | | void MergeFrom(const SetupUniverseReplicationRequestPB& from); |
2443 | | void Clear() PROTOBUF_FINAL; |
2444 | | bool IsInitialized() const PROTOBUF_FINAL; |
2445 | | |
2446 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2447 | | bool MergePartialFromCodedStream( |
2448 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2449 | | void SerializeWithCachedSizes( |
2450 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2451 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2452 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2453 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2454 | | private: |
2455 | | void SharedCtor(); |
2456 | | void SharedDtor(); |
2457 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2458 | | void InternalSwap(SetupUniverseReplicationRequestPB* other); |
2459 | | private: |
2460 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2461 | 0 | return NULL; |
2462 | 0 | } |
2463 | 0 | inline void* MaybeArenaPtr() const { |
2464 | 0 | return NULL; |
2465 | 0 | } |
2466 | | public: |
2467 | | |
2468 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2469 | | |
2470 | | // nested types ---------------------------------------------------- |
2471 | | |
2472 | | // accessors ------------------------------------------------------- |
2473 | | |
2474 | | // repeated .yb.HostPortPB producer_master_addresses = 2; |
2475 | | int producer_master_addresses_size() const; |
2476 | | void clear_producer_master_addresses(); |
2477 | | static const int kProducerMasterAddressesFieldNumber = 2; |
2478 | | const ::yb::HostPortPB& producer_master_addresses(int index) const; |
2479 | | ::yb::HostPortPB* mutable_producer_master_addresses(int index); |
2480 | | ::yb::HostPortPB* add_producer_master_addresses(); |
2481 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
2482 | | mutable_producer_master_addresses(); |
2483 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
2484 | | producer_master_addresses() const; |
2485 | | |
2486 | | // repeated string producer_table_ids = 3; |
2487 | | int producer_table_ids_size() const; |
2488 | | void clear_producer_table_ids(); |
2489 | | static const int kProducerTableIdsFieldNumber = 3; |
2490 | | const ::std::string& producer_table_ids(int index) const; |
2491 | | ::std::string* mutable_producer_table_ids(int index); |
2492 | | void set_producer_table_ids(int index, const ::std::string& value); |
2493 | | #if LANG_CXX11 |
2494 | | void set_producer_table_ids(int index, ::std::string&& value); |
2495 | | #endif |
2496 | | void set_producer_table_ids(int index, const char* value); |
2497 | | void set_producer_table_ids(int index, const char* value, size_t size); |
2498 | | ::std::string* add_producer_table_ids(); |
2499 | | void add_producer_table_ids(const ::std::string& value); |
2500 | | #if LANG_CXX11 |
2501 | | void add_producer_table_ids(::std::string&& value); |
2502 | | #endif |
2503 | | void add_producer_table_ids(const char* value); |
2504 | | void add_producer_table_ids(const char* value, size_t size); |
2505 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& producer_table_ids() const; |
2506 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_producer_table_ids(); |
2507 | | |
2508 | | // repeated string producer_bootstrap_ids = 4; |
2509 | | int producer_bootstrap_ids_size() const; |
2510 | | void clear_producer_bootstrap_ids(); |
2511 | | static const int kProducerBootstrapIdsFieldNumber = 4; |
2512 | | const ::std::string& producer_bootstrap_ids(int index) const; |
2513 | | ::std::string* mutable_producer_bootstrap_ids(int index); |
2514 | | void set_producer_bootstrap_ids(int index, const ::std::string& value); |
2515 | | #if LANG_CXX11 |
2516 | | void set_producer_bootstrap_ids(int index, ::std::string&& value); |
2517 | | #endif |
2518 | | void set_producer_bootstrap_ids(int index, const char* value); |
2519 | | void set_producer_bootstrap_ids(int index, const char* value, size_t size); |
2520 | | ::std::string* add_producer_bootstrap_ids(); |
2521 | | void add_producer_bootstrap_ids(const ::std::string& value); |
2522 | | #if LANG_CXX11 |
2523 | | void add_producer_bootstrap_ids(::std::string&& value); |
2524 | | #endif |
2525 | | void add_producer_bootstrap_ids(const char* value); |
2526 | | void add_producer_bootstrap_ids(const char* value, size_t size); |
2527 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& producer_bootstrap_ids() const; |
2528 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_producer_bootstrap_ids(); |
2529 | | |
2530 | | // optional string producer_id = 1; |
2531 | | bool has_producer_id() const; |
2532 | | void clear_producer_id(); |
2533 | | static const int kProducerIdFieldNumber = 1; |
2534 | | const ::std::string& producer_id() const; |
2535 | | void set_producer_id(const ::std::string& value); |
2536 | | #if LANG_CXX11 |
2537 | | void set_producer_id(::std::string&& value); |
2538 | | #endif |
2539 | | void set_producer_id(const char* value); |
2540 | | void set_producer_id(const char* value, size_t size); |
2541 | | ::std::string* mutable_producer_id(); |
2542 | | ::std::string* release_producer_id(); |
2543 | | void set_allocated_producer_id(::std::string* producer_id); |
2544 | | |
2545 | | // @@protoc_insertion_point(class_scope:yb.master.SetupUniverseReplicationRequestPB) |
2546 | | private: |
2547 | | void set_has_producer_id(); |
2548 | | void clear_has_producer_id(); |
2549 | | |
2550 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2551 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2552 | | mutable int _cached_size_; |
2553 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > producer_master_addresses_; |
2554 | | ::google::protobuf::RepeatedPtrField< ::std::string> producer_table_ids_; |
2555 | | ::google::protobuf::RepeatedPtrField< ::std::string> producer_bootstrap_ids_; |
2556 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
2557 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2558 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsSetupUniverseReplicationRequestPBImpl(); |
2559 | | }; |
2560 | | // ------------------------------------------------------------------- |
2561 | | |
2562 | | class SetupUniverseReplicationResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SetupUniverseReplicationResponsePB) */ { |
2563 | | public: |
2564 | | SetupUniverseReplicationResponsePB(); |
2565 | | virtual ~SetupUniverseReplicationResponsePB(); |
2566 | | |
2567 | | SetupUniverseReplicationResponsePB(const SetupUniverseReplicationResponsePB& from); |
2568 | | |
2569 | 0 | inline SetupUniverseReplicationResponsePB& operator=(const SetupUniverseReplicationResponsePB& from) { |
2570 | 0 | CopyFrom(from); |
2571 | 0 | return *this; |
2572 | 0 | } |
2573 | | #if LANG_CXX11 |
2574 | | SetupUniverseReplicationResponsePB(SetupUniverseReplicationResponsePB&& from) noexcept |
2575 | 0 | : SetupUniverseReplicationResponsePB() { |
2576 | 0 | *this = ::std::move(from); |
2577 | 0 | } |
2578 | | |
2579 | 0 | inline SetupUniverseReplicationResponsePB& operator=(SetupUniverseReplicationResponsePB&& from) noexcept { |
2580 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2581 | 0 | if (this != &from) InternalSwap(&from); |
2582 | 0 | } else { |
2583 | 0 | CopyFrom(from); |
2584 | 0 | } |
2585 | 0 | return *this; |
2586 | 0 | } |
2587 | | #endif |
2588 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2589 | 0 | return _internal_metadata_.unknown_fields(); |
2590 | 0 | } |
2591 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2592 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2593 | 0 | } |
2594 | | |
2595 | | static const ::google::protobuf::Descriptor* descriptor(); |
2596 | | static const SetupUniverseReplicationResponsePB& default_instance(); |
2597 | | |
2598 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2599 | 26.8k | static inline const SetupUniverseReplicationResponsePB* internal_default_instance() { |
2600 | 26.8k | return reinterpret_cast<const SetupUniverseReplicationResponsePB*>( |
2601 | 26.8k | &_SetupUniverseReplicationResponsePB_default_instance_); |
2602 | 26.8k | } |
2603 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2604 | | 17; |
2605 | | |
2606 | | void Swap(SetupUniverseReplicationResponsePB* other); |
2607 | 0 | friend void swap(SetupUniverseReplicationResponsePB& a, SetupUniverseReplicationResponsePB& b) { |
2608 | 0 | a.Swap(&b); |
2609 | 0 | } |
2610 | | |
2611 | | // implements Message ---------------------------------------------- |
2612 | | |
2613 | 0 | inline SetupUniverseReplicationResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2614 | | |
2615 | | SetupUniverseReplicationResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2616 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2617 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2618 | | void CopyFrom(const SetupUniverseReplicationResponsePB& from); |
2619 | | void MergeFrom(const SetupUniverseReplicationResponsePB& from); |
2620 | | void Clear() PROTOBUF_FINAL; |
2621 | | bool IsInitialized() const PROTOBUF_FINAL; |
2622 | | |
2623 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2624 | | bool MergePartialFromCodedStream( |
2625 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2626 | | void SerializeWithCachedSizes( |
2627 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2628 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2629 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2630 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2631 | | private: |
2632 | | void SharedCtor(); |
2633 | | void SharedDtor(); |
2634 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2635 | | void InternalSwap(SetupUniverseReplicationResponsePB* other); |
2636 | | private: |
2637 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2638 | 0 | return NULL; |
2639 | 0 | } |
2640 | 0 | inline void* MaybeArenaPtr() const { |
2641 | 0 | return NULL; |
2642 | 0 | } |
2643 | | public: |
2644 | | |
2645 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2646 | | |
2647 | | // nested types ---------------------------------------------------- |
2648 | | |
2649 | | // accessors ------------------------------------------------------- |
2650 | | |
2651 | | // optional .yb.master.MasterErrorPB error = 1; |
2652 | | bool has_error() const; |
2653 | | void clear_error(); |
2654 | | static const int kErrorFieldNumber = 1; |
2655 | | const ::yb::master::MasterErrorPB& error() const; |
2656 | | ::yb::master::MasterErrorPB* release_error(); |
2657 | | ::yb::master::MasterErrorPB* mutable_error(); |
2658 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2659 | | |
2660 | | // @@protoc_insertion_point(class_scope:yb.master.SetupUniverseReplicationResponsePB) |
2661 | | private: |
2662 | | void set_has_error(); |
2663 | | void clear_has_error(); |
2664 | | |
2665 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2666 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2667 | | mutable int _cached_size_; |
2668 | | ::yb::master::MasterErrorPB* error_; |
2669 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2670 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsSetupUniverseReplicationResponsePBImpl(); |
2671 | | }; |
2672 | | // ------------------------------------------------------------------- |
2673 | | |
2674 | | class DeleteUniverseReplicationRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteUniverseReplicationRequestPB) */ { |
2675 | | public: |
2676 | | DeleteUniverseReplicationRequestPB(); |
2677 | | virtual ~DeleteUniverseReplicationRequestPB(); |
2678 | | |
2679 | | DeleteUniverseReplicationRequestPB(const DeleteUniverseReplicationRequestPB& from); |
2680 | | |
2681 | 0 | inline DeleteUniverseReplicationRequestPB& operator=(const DeleteUniverseReplicationRequestPB& from) { |
2682 | 0 | CopyFrom(from); |
2683 | 0 | return *this; |
2684 | 0 | } |
2685 | | #if LANG_CXX11 |
2686 | | DeleteUniverseReplicationRequestPB(DeleteUniverseReplicationRequestPB&& from) noexcept |
2687 | 0 | : DeleteUniverseReplicationRequestPB() { |
2688 | 0 | *this = ::std::move(from); |
2689 | 0 | } |
2690 | | |
2691 | 0 | inline DeleteUniverseReplicationRequestPB& operator=(DeleteUniverseReplicationRequestPB&& from) noexcept { |
2692 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2693 | 0 | if (this != &from) InternalSwap(&from); |
2694 | 0 | } else { |
2695 | 0 | CopyFrom(from); |
2696 | 0 | } |
2697 | 0 | return *this; |
2698 | 0 | } |
2699 | | #endif |
2700 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2701 | 0 | return _internal_metadata_.unknown_fields(); |
2702 | 0 | } |
2703 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2704 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2705 | 0 | } |
2706 | | |
2707 | | static const ::google::protobuf::Descriptor* descriptor(); |
2708 | | static const DeleteUniverseReplicationRequestPB& default_instance(); |
2709 | | |
2710 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2711 | 26.8k | static inline const DeleteUniverseReplicationRequestPB* internal_default_instance() { |
2712 | 26.8k | return reinterpret_cast<const DeleteUniverseReplicationRequestPB*>( |
2713 | 26.8k | &_DeleteUniverseReplicationRequestPB_default_instance_); |
2714 | 26.8k | } |
2715 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2716 | | 18; |
2717 | | |
2718 | | void Swap(DeleteUniverseReplicationRequestPB* other); |
2719 | 0 | friend void swap(DeleteUniverseReplicationRequestPB& a, DeleteUniverseReplicationRequestPB& b) { |
2720 | 0 | a.Swap(&b); |
2721 | 0 | } |
2722 | | |
2723 | | // implements Message ---------------------------------------------- |
2724 | | |
2725 | 0 | inline DeleteUniverseReplicationRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2726 | | |
2727 | | DeleteUniverseReplicationRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2728 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2729 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2730 | | void CopyFrom(const DeleteUniverseReplicationRequestPB& from); |
2731 | | void MergeFrom(const DeleteUniverseReplicationRequestPB& from); |
2732 | | void Clear() PROTOBUF_FINAL; |
2733 | | bool IsInitialized() const PROTOBUF_FINAL; |
2734 | | |
2735 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2736 | | bool MergePartialFromCodedStream( |
2737 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2738 | | void SerializeWithCachedSizes( |
2739 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2740 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2741 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2742 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2743 | | private: |
2744 | | void SharedCtor(); |
2745 | | void SharedDtor(); |
2746 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2747 | | void InternalSwap(DeleteUniverseReplicationRequestPB* other); |
2748 | | private: |
2749 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2750 | 0 | return NULL; |
2751 | 0 | } |
2752 | 0 | inline void* MaybeArenaPtr() const { |
2753 | 0 | return NULL; |
2754 | 0 | } |
2755 | | public: |
2756 | | |
2757 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2758 | | |
2759 | | // nested types ---------------------------------------------------- |
2760 | | |
2761 | | // accessors ------------------------------------------------------- |
2762 | | |
2763 | | // optional string producer_id = 1; |
2764 | | bool has_producer_id() const; |
2765 | | void clear_producer_id(); |
2766 | | static const int kProducerIdFieldNumber = 1; |
2767 | | const ::std::string& producer_id() const; |
2768 | | void set_producer_id(const ::std::string& value); |
2769 | | #if LANG_CXX11 |
2770 | | void set_producer_id(::std::string&& value); |
2771 | | #endif |
2772 | | void set_producer_id(const char* value); |
2773 | | void set_producer_id(const char* value, size_t size); |
2774 | | ::std::string* mutable_producer_id(); |
2775 | | ::std::string* release_producer_id(); |
2776 | | void set_allocated_producer_id(::std::string* producer_id); |
2777 | | |
2778 | | // optional bool ignore_errors = 2 [default = false]; |
2779 | | bool has_ignore_errors() const; |
2780 | | void clear_ignore_errors(); |
2781 | | static const int kIgnoreErrorsFieldNumber = 2; |
2782 | | bool ignore_errors() const; |
2783 | | void set_ignore_errors(bool value); |
2784 | | |
2785 | | // @@protoc_insertion_point(class_scope:yb.master.DeleteUniverseReplicationRequestPB) |
2786 | | private: |
2787 | | void set_has_producer_id(); |
2788 | | void clear_has_producer_id(); |
2789 | | void set_has_ignore_errors(); |
2790 | | void clear_has_ignore_errors(); |
2791 | | |
2792 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2793 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2794 | | mutable int _cached_size_; |
2795 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
2796 | | bool ignore_errors_; |
2797 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2798 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsDeleteUniverseReplicationRequestPBImpl(); |
2799 | | }; |
2800 | | // ------------------------------------------------------------------- |
2801 | | |
2802 | | class DeleteUniverseReplicationResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DeleteUniverseReplicationResponsePB) */ { |
2803 | | public: |
2804 | | DeleteUniverseReplicationResponsePB(); |
2805 | | virtual ~DeleteUniverseReplicationResponsePB(); |
2806 | | |
2807 | | DeleteUniverseReplicationResponsePB(const DeleteUniverseReplicationResponsePB& from); |
2808 | | |
2809 | 0 | inline DeleteUniverseReplicationResponsePB& operator=(const DeleteUniverseReplicationResponsePB& from) { |
2810 | 0 | CopyFrom(from); |
2811 | 0 | return *this; |
2812 | 0 | } |
2813 | | #if LANG_CXX11 |
2814 | | DeleteUniverseReplicationResponsePB(DeleteUniverseReplicationResponsePB&& from) noexcept |
2815 | 0 | : DeleteUniverseReplicationResponsePB() { |
2816 | 0 | *this = ::std::move(from); |
2817 | 0 | } |
2818 | | |
2819 | 0 | inline DeleteUniverseReplicationResponsePB& operator=(DeleteUniverseReplicationResponsePB&& from) noexcept { |
2820 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2821 | 0 | if (this != &from) InternalSwap(&from); |
2822 | 0 | } else { |
2823 | 0 | CopyFrom(from); |
2824 | 0 | } |
2825 | 0 | return *this; |
2826 | 0 | } |
2827 | | #endif |
2828 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2829 | 0 | return _internal_metadata_.unknown_fields(); |
2830 | 0 | } |
2831 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2832 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2833 | 0 | } |
2834 | | |
2835 | | static const ::google::protobuf::Descriptor* descriptor(); |
2836 | | static const DeleteUniverseReplicationResponsePB& default_instance(); |
2837 | | |
2838 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2839 | 26.8k | static inline const DeleteUniverseReplicationResponsePB* internal_default_instance() { |
2840 | 26.8k | return reinterpret_cast<const DeleteUniverseReplicationResponsePB*>( |
2841 | 26.8k | &_DeleteUniverseReplicationResponsePB_default_instance_); |
2842 | 26.8k | } |
2843 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2844 | | 19; |
2845 | | |
2846 | | void Swap(DeleteUniverseReplicationResponsePB* other); |
2847 | 0 | friend void swap(DeleteUniverseReplicationResponsePB& a, DeleteUniverseReplicationResponsePB& b) { |
2848 | 0 | a.Swap(&b); |
2849 | 0 | } |
2850 | | |
2851 | | // implements Message ---------------------------------------------- |
2852 | | |
2853 | 0 | inline DeleteUniverseReplicationResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2854 | | |
2855 | | DeleteUniverseReplicationResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2856 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2857 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2858 | | void CopyFrom(const DeleteUniverseReplicationResponsePB& from); |
2859 | | void MergeFrom(const DeleteUniverseReplicationResponsePB& from); |
2860 | | void Clear() PROTOBUF_FINAL; |
2861 | | bool IsInitialized() const PROTOBUF_FINAL; |
2862 | | |
2863 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2864 | | bool MergePartialFromCodedStream( |
2865 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2866 | | void SerializeWithCachedSizes( |
2867 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2868 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2869 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2870 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2871 | | private: |
2872 | | void SharedCtor(); |
2873 | | void SharedDtor(); |
2874 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2875 | | void InternalSwap(DeleteUniverseReplicationResponsePB* other); |
2876 | | private: |
2877 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2878 | 0 | return NULL; |
2879 | 0 | } |
2880 | 0 | inline void* MaybeArenaPtr() const { |
2881 | 0 | return NULL; |
2882 | 0 | } |
2883 | | public: |
2884 | | |
2885 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2886 | | |
2887 | | // nested types ---------------------------------------------------- |
2888 | | |
2889 | | // accessors ------------------------------------------------------- |
2890 | | |
2891 | | // repeated .yb.AppStatusPB warnings = 2; |
2892 | | int warnings_size() const; |
2893 | | void clear_warnings(); |
2894 | | static const int kWarningsFieldNumber = 2; |
2895 | | const ::yb::AppStatusPB& warnings(int index) const; |
2896 | | ::yb::AppStatusPB* mutable_warnings(int index); |
2897 | | ::yb::AppStatusPB* add_warnings(); |
2898 | | ::google::protobuf::RepeatedPtrField< ::yb::AppStatusPB >* |
2899 | | mutable_warnings(); |
2900 | | const ::google::protobuf::RepeatedPtrField< ::yb::AppStatusPB >& |
2901 | | warnings() const; |
2902 | | |
2903 | | // optional .yb.master.MasterErrorPB error = 1; |
2904 | | bool has_error() const; |
2905 | | void clear_error(); |
2906 | | static const int kErrorFieldNumber = 1; |
2907 | | const ::yb::master::MasterErrorPB& error() const; |
2908 | | ::yb::master::MasterErrorPB* release_error(); |
2909 | | ::yb::master::MasterErrorPB* mutable_error(); |
2910 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2911 | | |
2912 | | // @@protoc_insertion_point(class_scope:yb.master.DeleteUniverseReplicationResponsePB) |
2913 | | private: |
2914 | | void set_has_error(); |
2915 | | void clear_has_error(); |
2916 | | |
2917 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2918 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2919 | | mutable int _cached_size_; |
2920 | | ::google::protobuf::RepeatedPtrField< ::yb::AppStatusPB > warnings_; |
2921 | | ::yb::master::MasterErrorPB* error_; |
2922 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
2923 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsDeleteUniverseReplicationResponsePBImpl(); |
2924 | | }; |
2925 | | // ------------------------------------------------------------------- |
2926 | | |
2927 | | class AlterUniverseReplicationRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.AlterUniverseReplicationRequestPB) */ { |
2928 | | public: |
2929 | | AlterUniverseReplicationRequestPB(); |
2930 | | virtual ~AlterUniverseReplicationRequestPB(); |
2931 | | |
2932 | | AlterUniverseReplicationRequestPB(const AlterUniverseReplicationRequestPB& from); |
2933 | | |
2934 | 0 | inline AlterUniverseReplicationRequestPB& operator=(const AlterUniverseReplicationRequestPB& from) { |
2935 | 0 | CopyFrom(from); |
2936 | 0 | return *this; |
2937 | 0 | } |
2938 | | #if LANG_CXX11 |
2939 | | AlterUniverseReplicationRequestPB(AlterUniverseReplicationRequestPB&& from) noexcept |
2940 | 0 | : AlterUniverseReplicationRequestPB() { |
2941 | 0 | *this = ::std::move(from); |
2942 | 0 | } |
2943 | | |
2944 | 0 | inline AlterUniverseReplicationRequestPB& operator=(AlterUniverseReplicationRequestPB&& from) noexcept { |
2945 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2946 | 0 | if (this != &from) InternalSwap(&from); |
2947 | 0 | } else { |
2948 | 0 | CopyFrom(from); |
2949 | 0 | } |
2950 | 0 | return *this; |
2951 | 0 | } |
2952 | | #endif |
2953 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2954 | 0 | return _internal_metadata_.unknown_fields(); |
2955 | 0 | } |
2956 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2957 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2958 | 0 | } |
2959 | | |
2960 | | static const ::google::protobuf::Descriptor* descriptor(); |
2961 | | static const AlterUniverseReplicationRequestPB& default_instance(); |
2962 | | |
2963 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2964 | 26.8k | static inline const AlterUniverseReplicationRequestPB* internal_default_instance() { |
2965 | 26.8k | return reinterpret_cast<const AlterUniverseReplicationRequestPB*>( |
2966 | 26.8k | &_AlterUniverseReplicationRequestPB_default_instance_); |
2967 | 26.8k | } |
2968 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2969 | | 20; |
2970 | | |
2971 | | void Swap(AlterUniverseReplicationRequestPB* other); |
2972 | 0 | friend void swap(AlterUniverseReplicationRequestPB& a, AlterUniverseReplicationRequestPB& b) { |
2973 | 0 | a.Swap(&b); |
2974 | 0 | } |
2975 | | |
2976 | | // implements Message ---------------------------------------------- |
2977 | | |
2978 | 0 | inline AlterUniverseReplicationRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2979 | | |
2980 | | AlterUniverseReplicationRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2981 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2982 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2983 | | void CopyFrom(const AlterUniverseReplicationRequestPB& from); |
2984 | | void MergeFrom(const AlterUniverseReplicationRequestPB& from); |
2985 | | void Clear() PROTOBUF_FINAL; |
2986 | | bool IsInitialized() const PROTOBUF_FINAL; |
2987 | | |
2988 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2989 | | bool MergePartialFromCodedStream( |
2990 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2991 | | void SerializeWithCachedSizes( |
2992 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2993 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2994 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2995 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2996 | | private: |
2997 | | void SharedCtor(); |
2998 | | void SharedDtor(); |
2999 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3000 | | void InternalSwap(AlterUniverseReplicationRequestPB* other); |
3001 | | private: |
3002 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3003 | 0 | return NULL; |
3004 | 0 | } |
3005 | 0 | inline void* MaybeArenaPtr() const { |
3006 | 0 | return NULL; |
3007 | 0 | } |
3008 | | public: |
3009 | | |
3010 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3011 | | |
3012 | | // nested types ---------------------------------------------------- |
3013 | | |
3014 | | // accessors ------------------------------------------------------- |
3015 | | |
3016 | | // repeated .yb.HostPortPB producer_master_addresses = 2; |
3017 | | int producer_master_addresses_size() const; |
3018 | | void clear_producer_master_addresses(); |
3019 | | static const int kProducerMasterAddressesFieldNumber = 2; |
3020 | | const ::yb::HostPortPB& producer_master_addresses(int index) const; |
3021 | | ::yb::HostPortPB* mutable_producer_master_addresses(int index); |
3022 | | ::yb::HostPortPB* add_producer_master_addresses(); |
3023 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
3024 | | mutable_producer_master_addresses(); |
3025 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
3026 | | producer_master_addresses() const; |
3027 | | |
3028 | | // repeated string producer_table_ids_to_add = 4; |
3029 | | int producer_table_ids_to_add_size() const; |
3030 | | void clear_producer_table_ids_to_add(); |
3031 | | static const int kProducerTableIdsToAddFieldNumber = 4; |
3032 | | const ::std::string& producer_table_ids_to_add(int index) const; |
3033 | | ::std::string* mutable_producer_table_ids_to_add(int index); |
3034 | | void set_producer_table_ids_to_add(int index, const ::std::string& value); |
3035 | | #if LANG_CXX11 |
3036 | | void set_producer_table_ids_to_add(int index, ::std::string&& value); |
3037 | | #endif |
3038 | | void set_producer_table_ids_to_add(int index, const char* value); |
3039 | | void set_producer_table_ids_to_add(int index, const char* value, size_t size); |
3040 | | ::std::string* add_producer_table_ids_to_add(); |
3041 | | void add_producer_table_ids_to_add(const ::std::string& value); |
3042 | | #if LANG_CXX11 |
3043 | | void add_producer_table_ids_to_add(::std::string&& value); |
3044 | | #endif |
3045 | | void add_producer_table_ids_to_add(const char* value); |
3046 | | void add_producer_table_ids_to_add(const char* value, size_t size); |
3047 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& producer_table_ids_to_add() const; |
3048 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_producer_table_ids_to_add(); |
3049 | | |
3050 | | // repeated string producer_table_ids_to_remove = 5; |
3051 | | int producer_table_ids_to_remove_size() const; |
3052 | | void clear_producer_table_ids_to_remove(); |
3053 | | static const int kProducerTableIdsToRemoveFieldNumber = 5; |
3054 | | const ::std::string& producer_table_ids_to_remove(int index) const; |
3055 | | ::std::string* mutable_producer_table_ids_to_remove(int index); |
3056 | | void set_producer_table_ids_to_remove(int index, const ::std::string& value); |
3057 | | #if LANG_CXX11 |
3058 | | void set_producer_table_ids_to_remove(int index, ::std::string&& value); |
3059 | | #endif |
3060 | | void set_producer_table_ids_to_remove(int index, const char* value); |
3061 | | void set_producer_table_ids_to_remove(int index, const char* value, size_t size); |
3062 | | ::std::string* add_producer_table_ids_to_remove(); |
3063 | | void add_producer_table_ids_to_remove(const ::std::string& value); |
3064 | | #if LANG_CXX11 |
3065 | | void add_producer_table_ids_to_remove(::std::string&& value); |
3066 | | #endif |
3067 | | void add_producer_table_ids_to_remove(const char* value); |
3068 | | void add_producer_table_ids_to_remove(const char* value, size_t size); |
3069 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& producer_table_ids_to_remove() const; |
3070 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_producer_table_ids_to_remove(); |
3071 | | |
3072 | | // repeated string producer_bootstrap_ids_to_add = 6; |
3073 | | int producer_bootstrap_ids_to_add_size() const; |
3074 | | void clear_producer_bootstrap_ids_to_add(); |
3075 | | static const int kProducerBootstrapIdsToAddFieldNumber = 6; |
3076 | | const ::std::string& producer_bootstrap_ids_to_add(int index) const; |
3077 | | ::std::string* mutable_producer_bootstrap_ids_to_add(int index); |
3078 | | void set_producer_bootstrap_ids_to_add(int index, const ::std::string& value); |
3079 | | #if LANG_CXX11 |
3080 | | void set_producer_bootstrap_ids_to_add(int index, ::std::string&& value); |
3081 | | #endif |
3082 | | void set_producer_bootstrap_ids_to_add(int index, const char* value); |
3083 | | void set_producer_bootstrap_ids_to_add(int index, const char* value, size_t size); |
3084 | | ::std::string* add_producer_bootstrap_ids_to_add(); |
3085 | | void add_producer_bootstrap_ids_to_add(const ::std::string& value); |
3086 | | #if LANG_CXX11 |
3087 | | void add_producer_bootstrap_ids_to_add(::std::string&& value); |
3088 | | #endif |
3089 | | void add_producer_bootstrap_ids_to_add(const char* value); |
3090 | | void add_producer_bootstrap_ids_to_add(const char* value, size_t size); |
3091 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& producer_bootstrap_ids_to_add() const; |
3092 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_producer_bootstrap_ids_to_add(); |
3093 | | |
3094 | | // optional string producer_id = 1; |
3095 | | bool has_producer_id() const; |
3096 | | void clear_producer_id(); |
3097 | | static const int kProducerIdFieldNumber = 1; |
3098 | | const ::std::string& producer_id() const; |
3099 | | void set_producer_id(const ::std::string& value); |
3100 | | #if LANG_CXX11 |
3101 | | void set_producer_id(::std::string&& value); |
3102 | | #endif |
3103 | | void set_producer_id(const char* value); |
3104 | | void set_producer_id(const char* value, size_t size); |
3105 | | ::std::string* mutable_producer_id(); |
3106 | | ::std::string* release_producer_id(); |
3107 | | void set_allocated_producer_id(::std::string* producer_id); |
3108 | | |
3109 | | // optional string new_producer_universe_id = 7; |
3110 | | bool has_new_producer_universe_id() const; |
3111 | | void clear_new_producer_universe_id(); |
3112 | | static const int kNewProducerUniverseIdFieldNumber = 7; |
3113 | | const ::std::string& new_producer_universe_id() const; |
3114 | | void set_new_producer_universe_id(const ::std::string& value); |
3115 | | #if LANG_CXX11 |
3116 | | void set_new_producer_universe_id(::std::string&& value); |
3117 | | #endif |
3118 | | void set_new_producer_universe_id(const char* value); |
3119 | | void set_new_producer_universe_id(const char* value, size_t size); |
3120 | | ::std::string* mutable_new_producer_universe_id(); |
3121 | | ::std::string* release_new_producer_universe_id(); |
3122 | | void set_allocated_new_producer_universe_id(::std::string* new_producer_universe_id); |
3123 | | |
3124 | | // @@protoc_insertion_point(class_scope:yb.master.AlterUniverseReplicationRequestPB) |
3125 | | private: |
3126 | | void set_has_producer_id(); |
3127 | | void clear_has_producer_id(); |
3128 | | void set_has_new_producer_universe_id(); |
3129 | | void clear_has_new_producer_universe_id(); |
3130 | | |
3131 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3132 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3133 | | mutable int _cached_size_; |
3134 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > producer_master_addresses_; |
3135 | | ::google::protobuf::RepeatedPtrField< ::std::string> producer_table_ids_to_add_; |
3136 | | ::google::protobuf::RepeatedPtrField< ::std::string> producer_table_ids_to_remove_; |
3137 | | ::google::protobuf::RepeatedPtrField< ::std::string> producer_bootstrap_ids_to_add_; |
3138 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
3139 | | ::google::protobuf::internal::ArenaStringPtr new_producer_universe_id_; |
3140 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3141 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsAlterUniverseReplicationRequestPBImpl(); |
3142 | | }; |
3143 | | // ------------------------------------------------------------------- |
3144 | | |
3145 | | class AlterUniverseReplicationResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.AlterUniverseReplicationResponsePB) */ { |
3146 | | public: |
3147 | | AlterUniverseReplicationResponsePB(); |
3148 | | virtual ~AlterUniverseReplicationResponsePB(); |
3149 | | |
3150 | | AlterUniverseReplicationResponsePB(const AlterUniverseReplicationResponsePB& from); |
3151 | | |
3152 | 0 | inline AlterUniverseReplicationResponsePB& operator=(const AlterUniverseReplicationResponsePB& from) { |
3153 | 0 | CopyFrom(from); |
3154 | 0 | return *this; |
3155 | 0 | } |
3156 | | #if LANG_CXX11 |
3157 | | AlterUniverseReplicationResponsePB(AlterUniverseReplicationResponsePB&& from) noexcept |
3158 | 0 | : AlterUniverseReplicationResponsePB() { |
3159 | 0 | *this = ::std::move(from); |
3160 | 0 | } |
3161 | | |
3162 | 0 | inline AlterUniverseReplicationResponsePB& operator=(AlterUniverseReplicationResponsePB&& from) noexcept { |
3163 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3164 | 0 | if (this != &from) InternalSwap(&from); |
3165 | 0 | } else { |
3166 | 0 | CopyFrom(from); |
3167 | 0 | } |
3168 | 0 | return *this; |
3169 | 0 | } |
3170 | | #endif |
3171 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3172 | 0 | return _internal_metadata_.unknown_fields(); |
3173 | 0 | } |
3174 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3175 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3176 | 0 | } |
3177 | | |
3178 | | static const ::google::protobuf::Descriptor* descriptor(); |
3179 | | static const AlterUniverseReplicationResponsePB& default_instance(); |
3180 | | |
3181 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3182 | 26.8k | static inline const AlterUniverseReplicationResponsePB* internal_default_instance() { |
3183 | 26.8k | return reinterpret_cast<const AlterUniverseReplicationResponsePB*>( |
3184 | 26.8k | &_AlterUniverseReplicationResponsePB_default_instance_); |
3185 | 26.8k | } |
3186 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3187 | | 21; |
3188 | | |
3189 | | void Swap(AlterUniverseReplicationResponsePB* other); |
3190 | 0 | friend void swap(AlterUniverseReplicationResponsePB& a, AlterUniverseReplicationResponsePB& b) { |
3191 | 0 | a.Swap(&b); |
3192 | 0 | } |
3193 | | |
3194 | | // implements Message ---------------------------------------------- |
3195 | | |
3196 | 0 | inline AlterUniverseReplicationResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3197 | | |
3198 | | AlterUniverseReplicationResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3199 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3200 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3201 | | void CopyFrom(const AlterUniverseReplicationResponsePB& from); |
3202 | | void MergeFrom(const AlterUniverseReplicationResponsePB& from); |
3203 | | void Clear() PROTOBUF_FINAL; |
3204 | | bool IsInitialized() const PROTOBUF_FINAL; |
3205 | | |
3206 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3207 | | bool MergePartialFromCodedStream( |
3208 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3209 | | void SerializeWithCachedSizes( |
3210 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3211 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3212 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3213 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3214 | | private: |
3215 | | void SharedCtor(); |
3216 | | void SharedDtor(); |
3217 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3218 | | void InternalSwap(AlterUniverseReplicationResponsePB* other); |
3219 | | private: |
3220 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3221 | 0 | return NULL; |
3222 | 0 | } |
3223 | 0 | inline void* MaybeArenaPtr() const { |
3224 | 0 | return NULL; |
3225 | 0 | } |
3226 | | public: |
3227 | | |
3228 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3229 | | |
3230 | | // nested types ---------------------------------------------------- |
3231 | | |
3232 | | // accessors ------------------------------------------------------- |
3233 | | |
3234 | | // optional .yb.master.MasterErrorPB error = 1; |
3235 | | bool has_error() const; |
3236 | | void clear_error(); |
3237 | | static const int kErrorFieldNumber = 1; |
3238 | | const ::yb::master::MasterErrorPB& error() const; |
3239 | | ::yb::master::MasterErrorPB* release_error(); |
3240 | | ::yb::master::MasterErrorPB* mutable_error(); |
3241 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3242 | | |
3243 | | // @@protoc_insertion_point(class_scope:yb.master.AlterUniverseReplicationResponsePB) |
3244 | | private: |
3245 | | void set_has_error(); |
3246 | | void clear_has_error(); |
3247 | | |
3248 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3249 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3250 | | mutable int _cached_size_; |
3251 | | ::yb::master::MasterErrorPB* error_; |
3252 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3253 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsAlterUniverseReplicationResponsePBImpl(); |
3254 | | }; |
3255 | | // ------------------------------------------------------------------- |
3256 | | |
3257 | | class SetUniverseReplicationEnabledRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SetUniverseReplicationEnabledRequestPB) */ { |
3258 | | public: |
3259 | | SetUniverseReplicationEnabledRequestPB(); |
3260 | | virtual ~SetUniverseReplicationEnabledRequestPB(); |
3261 | | |
3262 | | SetUniverseReplicationEnabledRequestPB(const SetUniverseReplicationEnabledRequestPB& from); |
3263 | | |
3264 | 0 | inline SetUniverseReplicationEnabledRequestPB& operator=(const SetUniverseReplicationEnabledRequestPB& from) { |
3265 | 0 | CopyFrom(from); |
3266 | 0 | return *this; |
3267 | 0 | } |
3268 | | #if LANG_CXX11 |
3269 | | SetUniverseReplicationEnabledRequestPB(SetUniverseReplicationEnabledRequestPB&& from) noexcept |
3270 | 0 | : SetUniverseReplicationEnabledRequestPB() { |
3271 | 0 | *this = ::std::move(from); |
3272 | 0 | } |
3273 | | |
3274 | 0 | inline SetUniverseReplicationEnabledRequestPB& operator=(SetUniverseReplicationEnabledRequestPB&& from) noexcept { |
3275 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3276 | 0 | if (this != &from) InternalSwap(&from); |
3277 | 0 | } else { |
3278 | 0 | CopyFrom(from); |
3279 | 0 | } |
3280 | 0 | return *this; |
3281 | 0 | } |
3282 | | #endif |
3283 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3284 | 0 | return _internal_metadata_.unknown_fields(); |
3285 | 0 | } |
3286 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3287 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3288 | 0 | } |
3289 | | |
3290 | | static const ::google::protobuf::Descriptor* descriptor(); |
3291 | | static const SetUniverseReplicationEnabledRequestPB& default_instance(); |
3292 | | |
3293 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3294 | 26.8k | static inline const SetUniverseReplicationEnabledRequestPB* internal_default_instance() { |
3295 | 26.8k | return reinterpret_cast<const SetUniverseReplicationEnabledRequestPB*>( |
3296 | 26.8k | &_SetUniverseReplicationEnabledRequestPB_default_instance_); |
3297 | 26.8k | } |
3298 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3299 | | 22; |
3300 | | |
3301 | | void Swap(SetUniverseReplicationEnabledRequestPB* other); |
3302 | 0 | friend void swap(SetUniverseReplicationEnabledRequestPB& a, SetUniverseReplicationEnabledRequestPB& b) { |
3303 | 0 | a.Swap(&b); |
3304 | 0 | } |
3305 | | |
3306 | | // implements Message ---------------------------------------------- |
3307 | | |
3308 | 0 | inline SetUniverseReplicationEnabledRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3309 | | |
3310 | | SetUniverseReplicationEnabledRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3311 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3312 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3313 | | void CopyFrom(const SetUniverseReplicationEnabledRequestPB& from); |
3314 | | void MergeFrom(const SetUniverseReplicationEnabledRequestPB& from); |
3315 | | void Clear() PROTOBUF_FINAL; |
3316 | | bool IsInitialized() const PROTOBUF_FINAL; |
3317 | | |
3318 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3319 | | bool MergePartialFromCodedStream( |
3320 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3321 | | void SerializeWithCachedSizes( |
3322 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3323 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3324 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3325 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3326 | | private: |
3327 | | void SharedCtor(); |
3328 | | void SharedDtor(); |
3329 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3330 | | void InternalSwap(SetUniverseReplicationEnabledRequestPB* other); |
3331 | | private: |
3332 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3333 | 0 | return NULL; |
3334 | 0 | } |
3335 | 0 | inline void* MaybeArenaPtr() const { |
3336 | 0 | return NULL; |
3337 | 0 | } |
3338 | | public: |
3339 | | |
3340 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3341 | | |
3342 | | // nested types ---------------------------------------------------- |
3343 | | |
3344 | | // accessors ------------------------------------------------------- |
3345 | | |
3346 | | // optional string producer_id = 1; |
3347 | | bool has_producer_id() const; |
3348 | | void clear_producer_id(); |
3349 | | static const int kProducerIdFieldNumber = 1; |
3350 | | const ::std::string& producer_id() const; |
3351 | | void set_producer_id(const ::std::string& value); |
3352 | | #if LANG_CXX11 |
3353 | | void set_producer_id(::std::string&& value); |
3354 | | #endif |
3355 | | void set_producer_id(const char* value); |
3356 | | void set_producer_id(const char* value, size_t size); |
3357 | | ::std::string* mutable_producer_id(); |
3358 | | ::std::string* release_producer_id(); |
3359 | | void set_allocated_producer_id(::std::string* producer_id); |
3360 | | |
3361 | | // optional bool is_enabled = 2; |
3362 | | bool has_is_enabled() const; |
3363 | | void clear_is_enabled(); |
3364 | | static const int kIsEnabledFieldNumber = 2; |
3365 | | bool is_enabled() const; |
3366 | | void set_is_enabled(bool value); |
3367 | | |
3368 | | // @@protoc_insertion_point(class_scope:yb.master.SetUniverseReplicationEnabledRequestPB) |
3369 | | private: |
3370 | | void set_has_producer_id(); |
3371 | | void clear_has_producer_id(); |
3372 | | void set_has_is_enabled(); |
3373 | | void clear_has_is_enabled(); |
3374 | | |
3375 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3376 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3377 | | mutable int _cached_size_; |
3378 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
3379 | | bool is_enabled_; |
3380 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3381 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsSetUniverseReplicationEnabledRequestPBImpl(); |
3382 | | }; |
3383 | | // ------------------------------------------------------------------- |
3384 | | |
3385 | | class SetUniverseReplicationEnabledResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SetUniverseReplicationEnabledResponsePB) */ { |
3386 | | public: |
3387 | | SetUniverseReplicationEnabledResponsePB(); |
3388 | | virtual ~SetUniverseReplicationEnabledResponsePB(); |
3389 | | |
3390 | | SetUniverseReplicationEnabledResponsePB(const SetUniverseReplicationEnabledResponsePB& from); |
3391 | | |
3392 | 0 | inline SetUniverseReplicationEnabledResponsePB& operator=(const SetUniverseReplicationEnabledResponsePB& from) { |
3393 | 0 | CopyFrom(from); |
3394 | 0 | return *this; |
3395 | 0 | } |
3396 | | #if LANG_CXX11 |
3397 | | SetUniverseReplicationEnabledResponsePB(SetUniverseReplicationEnabledResponsePB&& from) noexcept |
3398 | 0 | : SetUniverseReplicationEnabledResponsePB() { |
3399 | 0 | *this = ::std::move(from); |
3400 | 0 | } |
3401 | | |
3402 | 0 | inline SetUniverseReplicationEnabledResponsePB& operator=(SetUniverseReplicationEnabledResponsePB&& from) noexcept { |
3403 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3404 | 0 | if (this != &from) InternalSwap(&from); |
3405 | 0 | } else { |
3406 | 0 | CopyFrom(from); |
3407 | 0 | } |
3408 | 0 | return *this; |
3409 | 0 | } |
3410 | | #endif |
3411 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3412 | 0 | return _internal_metadata_.unknown_fields(); |
3413 | 0 | } |
3414 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3415 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3416 | 0 | } |
3417 | | |
3418 | | static const ::google::protobuf::Descriptor* descriptor(); |
3419 | | static const SetUniverseReplicationEnabledResponsePB& default_instance(); |
3420 | | |
3421 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3422 | 26.8k | static inline const SetUniverseReplicationEnabledResponsePB* internal_default_instance() { |
3423 | 26.8k | return reinterpret_cast<const SetUniverseReplicationEnabledResponsePB*>( |
3424 | 26.8k | &_SetUniverseReplicationEnabledResponsePB_default_instance_); |
3425 | 26.8k | } |
3426 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3427 | | 23; |
3428 | | |
3429 | | void Swap(SetUniverseReplicationEnabledResponsePB* other); |
3430 | 0 | friend void swap(SetUniverseReplicationEnabledResponsePB& a, SetUniverseReplicationEnabledResponsePB& b) { |
3431 | 0 | a.Swap(&b); |
3432 | 0 | } |
3433 | | |
3434 | | // implements Message ---------------------------------------------- |
3435 | | |
3436 | 0 | inline SetUniverseReplicationEnabledResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3437 | | |
3438 | | SetUniverseReplicationEnabledResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3439 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3440 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3441 | | void CopyFrom(const SetUniverseReplicationEnabledResponsePB& from); |
3442 | | void MergeFrom(const SetUniverseReplicationEnabledResponsePB& from); |
3443 | | void Clear() PROTOBUF_FINAL; |
3444 | | bool IsInitialized() const PROTOBUF_FINAL; |
3445 | | |
3446 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3447 | | bool MergePartialFromCodedStream( |
3448 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3449 | | void SerializeWithCachedSizes( |
3450 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3451 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3452 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3453 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3454 | | private: |
3455 | | void SharedCtor(); |
3456 | | void SharedDtor(); |
3457 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3458 | | void InternalSwap(SetUniverseReplicationEnabledResponsePB* other); |
3459 | | private: |
3460 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3461 | 0 | return NULL; |
3462 | 0 | } |
3463 | 0 | inline void* MaybeArenaPtr() const { |
3464 | 0 | return NULL; |
3465 | 0 | } |
3466 | | public: |
3467 | | |
3468 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3469 | | |
3470 | | // nested types ---------------------------------------------------- |
3471 | | |
3472 | | // accessors ------------------------------------------------------- |
3473 | | |
3474 | | // optional .yb.master.MasterErrorPB error = 1; |
3475 | | bool has_error() const; |
3476 | | void clear_error(); |
3477 | | static const int kErrorFieldNumber = 1; |
3478 | | const ::yb::master::MasterErrorPB& error() const; |
3479 | | ::yb::master::MasterErrorPB* release_error(); |
3480 | | ::yb::master::MasterErrorPB* mutable_error(); |
3481 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3482 | | |
3483 | | // @@protoc_insertion_point(class_scope:yb.master.SetUniverseReplicationEnabledResponsePB) |
3484 | | private: |
3485 | | void set_has_error(); |
3486 | | void clear_has_error(); |
3487 | | |
3488 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3489 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3490 | | mutable int _cached_size_; |
3491 | | ::yb::master::MasterErrorPB* error_; |
3492 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3493 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsSetUniverseReplicationEnabledResponsePBImpl(); |
3494 | | }; |
3495 | | // ------------------------------------------------------------------- |
3496 | | |
3497 | | class GetUniverseReplicationRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetUniverseReplicationRequestPB) */ { |
3498 | | public: |
3499 | | GetUniverseReplicationRequestPB(); |
3500 | | virtual ~GetUniverseReplicationRequestPB(); |
3501 | | |
3502 | | GetUniverseReplicationRequestPB(const GetUniverseReplicationRequestPB& from); |
3503 | | |
3504 | 0 | inline GetUniverseReplicationRequestPB& operator=(const GetUniverseReplicationRequestPB& from) { |
3505 | 0 | CopyFrom(from); |
3506 | 0 | return *this; |
3507 | 0 | } |
3508 | | #if LANG_CXX11 |
3509 | | GetUniverseReplicationRequestPB(GetUniverseReplicationRequestPB&& from) noexcept |
3510 | 0 | : GetUniverseReplicationRequestPB() { |
3511 | 0 | *this = ::std::move(from); |
3512 | 0 | } |
3513 | | |
3514 | 0 | inline GetUniverseReplicationRequestPB& operator=(GetUniverseReplicationRequestPB&& from) noexcept { |
3515 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3516 | 0 | if (this != &from) InternalSwap(&from); |
3517 | 0 | } else { |
3518 | 0 | CopyFrom(from); |
3519 | 0 | } |
3520 | 0 | return *this; |
3521 | 0 | } |
3522 | | #endif |
3523 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3524 | 0 | return _internal_metadata_.unknown_fields(); |
3525 | 0 | } |
3526 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3527 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3528 | 0 | } |
3529 | | |
3530 | | static const ::google::protobuf::Descriptor* descriptor(); |
3531 | | static const GetUniverseReplicationRequestPB& default_instance(); |
3532 | | |
3533 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3534 | 26.8k | static inline const GetUniverseReplicationRequestPB* internal_default_instance() { |
3535 | 26.8k | return reinterpret_cast<const GetUniverseReplicationRequestPB*>( |
3536 | 26.8k | &_GetUniverseReplicationRequestPB_default_instance_); |
3537 | 26.8k | } |
3538 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3539 | | 24; |
3540 | | |
3541 | | void Swap(GetUniverseReplicationRequestPB* other); |
3542 | 0 | friend void swap(GetUniverseReplicationRequestPB& a, GetUniverseReplicationRequestPB& b) { |
3543 | 0 | a.Swap(&b); |
3544 | 0 | } |
3545 | | |
3546 | | // implements Message ---------------------------------------------- |
3547 | | |
3548 | 0 | inline GetUniverseReplicationRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3549 | | |
3550 | | GetUniverseReplicationRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3551 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3552 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3553 | | void CopyFrom(const GetUniverseReplicationRequestPB& from); |
3554 | | void MergeFrom(const GetUniverseReplicationRequestPB& from); |
3555 | | void Clear() PROTOBUF_FINAL; |
3556 | | bool IsInitialized() const PROTOBUF_FINAL; |
3557 | | |
3558 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3559 | | bool MergePartialFromCodedStream( |
3560 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3561 | | void SerializeWithCachedSizes( |
3562 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3563 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3564 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3565 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3566 | | private: |
3567 | | void SharedCtor(); |
3568 | | void SharedDtor(); |
3569 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3570 | | void InternalSwap(GetUniverseReplicationRequestPB* other); |
3571 | | private: |
3572 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3573 | 0 | return NULL; |
3574 | 0 | } |
3575 | 0 | inline void* MaybeArenaPtr() const { |
3576 | 0 | return NULL; |
3577 | 0 | } |
3578 | | public: |
3579 | | |
3580 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3581 | | |
3582 | | // nested types ---------------------------------------------------- |
3583 | | |
3584 | | // accessors ------------------------------------------------------- |
3585 | | |
3586 | | // optional string producer_id = 1; |
3587 | | bool has_producer_id() const; |
3588 | | void clear_producer_id(); |
3589 | | static const int kProducerIdFieldNumber = 1; |
3590 | | const ::std::string& producer_id() const; |
3591 | | void set_producer_id(const ::std::string& value); |
3592 | | #if LANG_CXX11 |
3593 | | void set_producer_id(::std::string&& value); |
3594 | | #endif |
3595 | | void set_producer_id(const char* value); |
3596 | | void set_producer_id(const char* value, size_t size); |
3597 | | ::std::string* mutable_producer_id(); |
3598 | | ::std::string* release_producer_id(); |
3599 | | void set_allocated_producer_id(::std::string* producer_id); |
3600 | | |
3601 | | // @@protoc_insertion_point(class_scope:yb.master.GetUniverseReplicationRequestPB) |
3602 | | private: |
3603 | | void set_has_producer_id(); |
3604 | | void clear_has_producer_id(); |
3605 | | |
3606 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3607 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3608 | | mutable int _cached_size_; |
3609 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
3610 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3611 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetUniverseReplicationRequestPBImpl(); |
3612 | | }; |
3613 | | // ------------------------------------------------------------------- |
3614 | | |
3615 | | class GetUniverseReplicationResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetUniverseReplicationResponsePB) */ { |
3616 | | public: |
3617 | | GetUniverseReplicationResponsePB(); |
3618 | | virtual ~GetUniverseReplicationResponsePB(); |
3619 | | |
3620 | | GetUniverseReplicationResponsePB(const GetUniverseReplicationResponsePB& from); |
3621 | | |
3622 | 0 | inline GetUniverseReplicationResponsePB& operator=(const GetUniverseReplicationResponsePB& from) { |
3623 | 0 | CopyFrom(from); |
3624 | 0 | return *this; |
3625 | 0 | } |
3626 | | #if LANG_CXX11 |
3627 | | GetUniverseReplicationResponsePB(GetUniverseReplicationResponsePB&& from) noexcept |
3628 | 0 | : GetUniverseReplicationResponsePB() { |
3629 | 0 | *this = ::std::move(from); |
3630 | 0 | } |
3631 | | |
3632 | 0 | inline GetUniverseReplicationResponsePB& operator=(GetUniverseReplicationResponsePB&& from) noexcept { |
3633 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3634 | 0 | if (this != &from) InternalSwap(&from); |
3635 | 0 | } else { |
3636 | 0 | CopyFrom(from); |
3637 | 0 | } |
3638 | 0 | return *this; |
3639 | 0 | } |
3640 | | #endif |
3641 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3642 | 0 | return _internal_metadata_.unknown_fields(); |
3643 | 0 | } |
3644 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3645 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3646 | 0 | } |
3647 | | |
3648 | | static const ::google::protobuf::Descriptor* descriptor(); |
3649 | | static const GetUniverseReplicationResponsePB& default_instance(); |
3650 | | |
3651 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3652 | 26.8k | static inline const GetUniverseReplicationResponsePB* internal_default_instance() { |
3653 | 26.8k | return reinterpret_cast<const GetUniverseReplicationResponsePB*>( |
3654 | 26.8k | &_GetUniverseReplicationResponsePB_default_instance_); |
3655 | 26.8k | } |
3656 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3657 | | 25; |
3658 | | |
3659 | | void Swap(GetUniverseReplicationResponsePB* other); |
3660 | 0 | friend void swap(GetUniverseReplicationResponsePB& a, GetUniverseReplicationResponsePB& b) { |
3661 | 0 | a.Swap(&b); |
3662 | 0 | } |
3663 | | |
3664 | | // implements Message ---------------------------------------------- |
3665 | | |
3666 | 0 | inline GetUniverseReplicationResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3667 | | |
3668 | | GetUniverseReplicationResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3669 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3670 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3671 | | void CopyFrom(const GetUniverseReplicationResponsePB& from); |
3672 | | void MergeFrom(const GetUniverseReplicationResponsePB& from); |
3673 | | void Clear() PROTOBUF_FINAL; |
3674 | | bool IsInitialized() const PROTOBUF_FINAL; |
3675 | | |
3676 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3677 | | bool MergePartialFromCodedStream( |
3678 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3679 | | void SerializeWithCachedSizes( |
3680 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3681 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3682 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3683 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3684 | | private: |
3685 | | void SharedCtor(); |
3686 | | void SharedDtor(); |
3687 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3688 | | void InternalSwap(GetUniverseReplicationResponsePB* other); |
3689 | | private: |
3690 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3691 | 0 | return NULL; |
3692 | 0 | } |
3693 | 0 | inline void* MaybeArenaPtr() const { |
3694 | 0 | return NULL; |
3695 | 0 | } |
3696 | | public: |
3697 | | |
3698 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3699 | | |
3700 | | // nested types ---------------------------------------------------- |
3701 | | |
3702 | | // accessors ------------------------------------------------------- |
3703 | | |
3704 | | // optional .yb.master.MasterErrorPB error = 1; |
3705 | | bool has_error() const; |
3706 | | void clear_error(); |
3707 | | static const int kErrorFieldNumber = 1; |
3708 | | const ::yb::master::MasterErrorPB& error() const; |
3709 | | ::yb::master::MasterErrorPB* release_error(); |
3710 | | ::yb::master::MasterErrorPB* mutable_error(); |
3711 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3712 | | |
3713 | | // optional .yb.master.SysUniverseReplicationEntryPB entry = 2; |
3714 | | bool has_entry() const; |
3715 | | void clear_entry(); |
3716 | | static const int kEntryFieldNumber = 2; |
3717 | | const ::yb::master::SysUniverseReplicationEntryPB& entry() const; |
3718 | | ::yb::master::SysUniverseReplicationEntryPB* release_entry(); |
3719 | | ::yb::master::SysUniverseReplicationEntryPB* mutable_entry(); |
3720 | | void set_allocated_entry(::yb::master::SysUniverseReplicationEntryPB* entry); |
3721 | | |
3722 | | // @@protoc_insertion_point(class_scope:yb.master.GetUniverseReplicationResponsePB) |
3723 | | private: |
3724 | | void set_has_error(); |
3725 | | void clear_has_error(); |
3726 | | void set_has_entry(); |
3727 | | void clear_has_entry(); |
3728 | | |
3729 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3730 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3731 | | mutable int _cached_size_; |
3732 | | ::yb::master::MasterErrorPB* error_; |
3733 | | ::yb::master::SysUniverseReplicationEntryPB* entry_; |
3734 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3735 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsGetUniverseReplicationResponsePBImpl(); |
3736 | | }; |
3737 | | // ------------------------------------------------------------------- |
3738 | | |
3739 | | class IsSetupUniverseReplicationDoneRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsSetupUniverseReplicationDoneRequestPB) */ { |
3740 | | public: |
3741 | | IsSetupUniverseReplicationDoneRequestPB(); |
3742 | | virtual ~IsSetupUniverseReplicationDoneRequestPB(); |
3743 | | |
3744 | | IsSetupUniverseReplicationDoneRequestPB(const IsSetupUniverseReplicationDoneRequestPB& from); |
3745 | | |
3746 | 0 | inline IsSetupUniverseReplicationDoneRequestPB& operator=(const IsSetupUniverseReplicationDoneRequestPB& from) { |
3747 | 0 | CopyFrom(from); |
3748 | 0 | return *this; |
3749 | 0 | } |
3750 | | #if LANG_CXX11 |
3751 | | IsSetupUniverseReplicationDoneRequestPB(IsSetupUniverseReplicationDoneRequestPB&& from) noexcept |
3752 | 0 | : IsSetupUniverseReplicationDoneRequestPB() { |
3753 | 0 | *this = ::std::move(from); |
3754 | 0 | } |
3755 | | |
3756 | 0 | inline IsSetupUniverseReplicationDoneRequestPB& operator=(IsSetupUniverseReplicationDoneRequestPB&& from) noexcept { |
3757 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3758 | 0 | if (this != &from) InternalSwap(&from); |
3759 | 0 | } else { |
3760 | 0 | CopyFrom(from); |
3761 | 0 | } |
3762 | 0 | return *this; |
3763 | 0 | } |
3764 | | #endif |
3765 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3766 | 0 | return _internal_metadata_.unknown_fields(); |
3767 | 0 | } |
3768 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3769 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3770 | 0 | } |
3771 | | |
3772 | | static const ::google::protobuf::Descriptor* descriptor(); |
3773 | | static const IsSetupUniverseReplicationDoneRequestPB& default_instance(); |
3774 | | |
3775 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3776 | 26.8k | static inline const IsSetupUniverseReplicationDoneRequestPB* internal_default_instance() { |
3777 | 26.8k | return reinterpret_cast<const IsSetupUniverseReplicationDoneRequestPB*>( |
3778 | 26.8k | &_IsSetupUniverseReplicationDoneRequestPB_default_instance_); |
3779 | 26.8k | } |
3780 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3781 | | 26; |
3782 | | |
3783 | | void Swap(IsSetupUniverseReplicationDoneRequestPB* other); |
3784 | 0 | friend void swap(IsSetupUniverseReplicationDoneRequestPB& a, IsSetupUniverseReplicationDoneRequestPB& b) { |
3785 | 0 | a.Swap(&b); |
3786 | 0 | } |
3787 | | |
3788 | | // implements Message ---------------------------------------------- |
3789 | | |
3790 | 0 | inline IsSetupUniverseReplicationDoneRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3791 | | |
3792 | | IsSetupUniverseReplicationDoneRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3793 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3794 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3795 | | void CopyFrom(const IsSetupUniverseReplicationDoneRequestPB& from); |
3796 | | void MergeFrom(const IsSetupUniverseReplicationDoneRequestPB& from); |
3797 | | void Clear() PROTOBUF_FINAL; |
3798 | | bool IsInitialized() const PROTOBUF_FINAL; |
3799 | | |
3800 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3801 | | bool MergePartialFromCodedStream( |
3802 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3803 | | void SerializeWithCachedSizes( |
3804 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3805 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3806 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3807 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3808 | | private: |
3809 | | void SharedCtor(); |
3810 | | void SharedDtor(); |
3811 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3812 | | void InternalSwap(IsSetupUniverseReplicationDoneRequestPB* other); |
3813 | | private: |
3814 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3815 | 0 | return NULL; |
3816 | 0 | } |
3817 | 0 | inline void* MaybeArenaPtr() const { |
3818 | 0 | return NULL; |
3819 | 0 | } |
3820 | | public: |
3821 | | |
3822 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3823 | | |
3824 | | // nested types ---------------------------------------------------- |
3825 | | |
3826 | | // accessors ------------------------------------------------------- |
3827 | | |
3828 | | // optional string producer_id = 1; |
3829 | | bool has_producer_id() const; |
3830 | | void clear_producer_id(); |
3831 | | static const int kProducerIdFieldNumber = 1; |
3832 | | const ::std::string& producer_id() const; |
3833 | | void set_producer_id(const ::std::string& value); |
3834 | | #if LANG_CXX11 |
3835 | | void set_producer_id(::std::string&& value); |
3836 | | #endif |
3837 | | void set_producer_id(const char* value); |
3838 | | void set_producer_id(const char* value, size_t size); |
3839 | | ::std::string* mutable_producer_id(); |
3840 | | ::std::string* release_producer_id(); |
3841 | | void set_allocated_producer_id(::std::string* producer_id); |
3842 | | |
3843 | | // @@protoc_insertion_point(class_scope:yb.master.IsSetupUniverseReplicationDoneRequestPB) |
3844 | | private: |
3845 | | void set_has_producer_id(); |
3846 | | void clear_has_producer_id(); |
3847 | | |
3848 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3849 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3850 | | mutable int _cached_size_; |
3851 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
3852 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3853 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsIsSetupUniverseReplicationDoneRequestPBImpl(); |
3854 | | }; |
3855 | | // ------------------------------------------------------------------- |
3856 | | |
3857 | | class IsSetupUniverseReplicationDoneResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsSetupUniverseReplicationDoneResponsePB) */ { |
3858 | | public: |
3859 | | IsSetupUniverseReplicationDoneResponsePB(); |
3860 | | virtual ~IsSetupUniverseReplicationDoneResponsePB(); |
3861 | | |
3862 | | IsSetupUniverseReplicationDoneResponsePB(const IsSetupUniverseReplicationDoneResponsePB& from); |
3863 | | |
3864 | 0 | inline IsSetupUniverseReplicationDoneResponsePB& operator=(const IsSetupUniverseReplicationDoneResponsePB& from) { |
3865 | 0 | CopyFrom(from); |
3866 | 0 | return *this; |
3867 | 0 | } |
3868 | | #if LANG_CXX11 |
3869 | | IsSetupUniverseReplicationDoneResponsePB(IsSetupUniverseReplicationDoneResponsePB&& from) noexcept |
3870 | 0 | : IsSetupUniverseReplicationDoneResponsePB() { |
3871 | 0 | *this = ::std::move(from); |
3872 | 0 | } |
3873 | | |
3874 | 0 | inline IsSetupUniverseReplicationDoneResponsePB& operator=(IsSetupUniverseReplicationDoneResponsePB&& from) noexcept { |
3875 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3876 | 0 | if (this != &from) InternalSwap(&from); |
3877 | 0 | } else { |
3878 | 0 | CopyFrom(from); |
3879 | 0 | } |
3880 | 0 | return *this; |
3881 | 0 | } |
3882 | | #endif |
3883 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3884 | 0 | return _internal_metadata_.unknown_fields(); |
3885 | 0 | } |
3886 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3887 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3888 | 0 | } |
3889 | | |
3890 | | static const ::google::protobuf::Descriptor* descriptor(); |
3891 | | static const IsSetupUniverseReplicationDoneResponsePB& default_instance(); |
3892 | | |
3893 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3894 | 26.8k | static inline const IsSetupUniverseReplicationDoneResponsePB* internal_default_instance() { |
3895 | 26.8k | return reinterpret_cast<const IsSetupUniverseReplicationDoneResponsePB*>( |
3896 | 26.8k | &_IsSetupUniverseReplicationDoneResponsePB_default_instance_); |
3897 | 26.8k | } |
3898 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3899 | | 27; |
3900 | | |
3901 | | void Swap(IsSetupUniverseReplicationDoneResponsePB* other); |
3902 | 0 | friend void swap(IsSetupUniverseReplicationDoneResponsePB& a, IsSetupUniverseReplicationDoneResponsePB& b) { |
3903 | 0 | a.Swap(&b); |
3904 | 0 | } |
3905 | | |
3906 | | // implements Message ---------------------------------------------- |
3907 | | |
3908 | 0 | inline IsSetupUniverseReplicationDoneResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3909 | | |
3910 | | IsSetupUniverseReplicationDoneResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3911 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3912 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3913 | | void CopyFrom(const IsSetupUniverseReplicationDoneResponsePB& from); |
3914 | | void MergeFrom(const IsSetupUniverseReplicationDoneResponsePB& from); |
3915 | | void Clear() PROTOBUF_FINAL; |
3916 | | bool IsInitialized() const PROTOBUF_FINAL; |
3917 | | |
3918 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3919 | | bool MergePartialFromCodedStream( |
3920 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3921 | | void SerializeWithCachedSizes( |
3922 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3923 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3924 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3925 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3926 | | private: |
3927 | | void SharedCtor(); |
3928 | | void SharedDtor(); |
3929 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3930 | | void InternalSwap(IsSetupUniverseReplicationDoneResponsePB* other); |
3931 | | private: |
3932 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3933 | 0 | return NULL; |
3934 | 0 | } |
3935 | 0 | inline void* MaybeArenaPtr() const { |
3936 | 0 | return NULL; |
3937 | 0 | } |
3938 | | public: |
3939 | | |
3940 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3941 | | |
3942 | | // nested types ---------------------------------------------------- |
3943 | | |
3944 | | // accessors ------------------------------------------------------- |
3945 | | |
3946 | | // optional .yb.master.MasterErrorPB error = 1; |
3947 | | bool has_error() const; |
3948 | | void clear_error(); |
3949 | | static const int kErrorFieldNumber = 1; |
3950 | | const ::yb::master::MasterErrorPB& error() const; |
3951 | | ::yb::master::MasterErrorPB* release_error(); |
3952 | | ::yb::master::MasterErrorPB* mutable_error(); |
3953 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3954 | | |
3955 | | // optional .yb.AppStatusPB replication_error = 3; |
3956 | | bool has_replication_error() const; |
3957 | | void clear_replication_error(); |
3958 | | static const int kReplicationErrorFieldNumber = 3; |
3959 | | const ::yb::AppStatusPB& replication_error() const; |
3960 | | ::yb::AppStatusPB* release_replication_error(); |
3961 | | ::yb::AppStatusPB* mutable_replication_error(); |
3962 | | void set_allocated_replication_error(::yb::AppStatusPB* replication_error); |
3963 | | |
3964 | | // optional bool done = 2; |
3965 | | bool has_done() const; |
3966 | | void clear_done(); |
3967 | | static const int kDoneFieldNumber = 2; |
3968 | | bool done() const; |
3969 | | void set_done(bool value); |
3970 | | |
3971 | | // @@protoc_insertion_point(class_scope:yb.master.IsSetupUniverseReplicationDoneResponsePB) |
3972 | | private: |
3973 | | void set_has_error(); |
3974 | | void clear_has_error(); |
3975 | | void set_has_done(); |
3976 | | void clear_has_done(); |
3977 | | void set_has_replication_error(); |
3978 | | void clear_has_replication_error(); |
3979 | | |
3980 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3981 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3982 | | mutable int _cached_size_; |
3983 | | ::yb::master::MasterErrorPB* error_; |
3984 | | ::yb::AppStatusPB* replication_error_; |
3985 | | bool done_; |
3986 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
3987 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsIsSetupUniverseReplicationDoneResponsePBImpl(); |
3988 | | }; |
3989 | | // ------------------------------------------------------------------- |
3990 | | |
3991 | | class ProducerSplitTabletInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ProducerSplitTabletInfoPB) */ { |
3992 | | public: |
3993 | | ProducerSplitTabletInfoPB(); |
3994 | | virtual ~ProducerSplitTabletInfoPB(); |
3995 | | |
3996 | | ProducerSplitTabletInfoPB(const ProducerSplitTabletInfoPB& from); |
3997 | | |
3998 | 0 | inline ProducerSplitTabletInfoPB& operator=(const ProducerSplitTabletInfoPB& from) { |
3999 | 0 | CopyFrom(from); |
4000 | 0 | return *this; |
4001 | 0 | } |
4002 | | #if LANG_CXX11 |
4003 | | ProducerSplitTabletInfoPB(ProducerSplitTabletInfoPB&& from) noexcept |
4004 | 0 | : ProducerSplitTabletInfoPB() { |
4005 | 0 | *this = ::std::move(from); |
4006 | 0 | } |
4007 | | |
4008 | 0 | inline ProducerSplitTabletInfoPB& operator=(ProducerSplitTabletInfoPB&& from) noexcept { |
4009 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4010 | 0 | if (this != &from) InternalSwap(&from); |
4011 | 0 | } else { |
4012 | 0 | CopyFrom(from); |
4013 | 0 | } |
4014 | 0 | return *this; |
4015 | 0 | } |
4016 | | #endif |
4017 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4018 | 0 | return _internal_metadata_.unknown_fields(); |
4019 | 0 | } |
4020 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4021 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4022 | 0 | } |
4023 | | |
4024 | | static const ::google::protobuf::Descriptor* descriptor(); |
4025 | | static const ProducerSplitTabletInfoPB& default_instance(); |
4026 | | |
4027 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4028 | 53.7k | static inline const ProducerSplitTabletInfoPB* internal_default_instance() { |
4029 | 53.7k | return reinterpret_cast<const ProducerSplitTabletInfoPB*>( |
4030 | 53.7k | &_ProducerSplitTabletInfoPB_default_instance_); |
4031 | 53.7k | } |
4032 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4033 | | 28; |
4034 | | |
4035 | | void Swap(ProducerSplitTabletInfoPB* other); |
4036 | 0 | friend void swap(ProducerSplitTabletInfoPB& a, ProducerSplitTabletInfoPB& b) { |
4037 | 0 | a.Swap(&b); |
4038 | 0 | } |
4039 | | |
4040 | | // implements Message ---------------------------------------------- |
4041 | | |
4042 | 0 | inline ProducerSplitTabletInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4043 | | |
4044 | | ProducerSplitTabletInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4045 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4046 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4047 | | void CopyFrom(const ProducerSplitTabletInfoPB& from); |
4048 | | void MergeFrom(const ProducerSplitTabletInfoPB& from); |
4049 | | void Clear() PROTOBUF_FINAL; |
4050 | | bool IsInitialized() const PROTOBUF_FINAL; |
4051 | | |
4052 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4053 | | bool MergePartialFromCodedStream( |
4054 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4055 | | void SerializeWithCachedSizes( |
4056 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4057 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4058 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4059 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4060 | | private: |
4061 | | void SharedCtor(); |
4062 | | void SharedDtor(); |
4063 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4064 | | void InternalSwap(ProducerSplitTabletInfoPB* other); |
4065 | | private: |
4066 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4067 | 0 | return NULL; |
4068 | 0 | } |
4069 | 0 | inline void* MaybeArenaPtr() const { |
4070 | 0 | return NULL; |
4071 | 0 | } |
4072 | | public: |
4073 | | |
4074 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4075 | | |
4076 | | // nested types ---------------------------------------------------- |
4077 | | |
4078 | | // accessors ------------------------------------------------------- |
4079 | | |
4080 | | // required bytes tablet_id = 1; |
4081 | | bool has_tablet_id() const; |
4082 | | void clear_tablet_id(); |
4083 | | static const int kTabletIdFieldNumber = 1; |
4084 | | const ::std::string& tablet_id() const; |
4085 | | void set_tablet_id(const ::std::string& value); |
4086 | | #if LANG_CXX11 |
4087 | | void set_tablet_id(::std::string&& value); |
4088 | | #endif |
4089 | | void set_tablet_id(const char* value); |
4090 | | void set_tablet_id(const void* value, size_t size); |
4091 | | ::std::string* mutable_tablet_id(); |
4092 | | ::std::string* release_tablet_id(); |
4093 | | void set_allocated_tablet_id(::std::string* tablet_id); |
4094 | | |
4095 | | // required bytes new_tablet1_id = 2; |
4096 | | bool has_new_tablet1_id() const; |
4097 | | void clear_new_tablet1_id(); |
4098 | | static const int kNewTablet1IdFieldNumber = 2; |
4099 | | const ::std::string& new_tablet1_id() const; |
4100 | | void set_new_tablet1_id(const ::std::string& value); |
4101 | | #if LANG_CXX11 |
4102 | | void set_new_tablet1_id(::std::string&& value); |
4103 | | #endif |
4104 | | void set_new_tablet1_id(const char* value); |
4105 | | void set_new_tablet1_id(const void* value, size_t size); |
4106 | | ::std::string* mutable_new_tablet1_id(); |
4107 | | ::std::string* release_new_tablet1_id(); |
4108 | | void set_allocated_new_tablet1_id(::std::string* new_tablet1_id); |
4109 | | |
4110 | | // required bytes new_tablet2_id = 3; |
4111 | | bool has_new_tablet2_id() const; |
4112 | | void clear_new_tablet2_id(); |
4113 | | static const int kNewTablet2IdFieldNumber = 3; |
4114 | | const ::std::string& new_tablet2_id() const; |
4115 | | void set_new_tablet2_id(const ::std::string& value); |
4116 | | #if LANG_CXX11 |
4117 | | void set_new_tablet2_id(::std::string&& value); |
4118 | | #endif |
4119 | | void set_new_tablet2_id(const char* value); |
4120 | | void set_new_tablet2_id(const void* value, size_t size); |
4121 | | ::std::string* mutable_new_tablet2_id(); |
4122 | | ::std::string* release_new_tablet2_id(); |
4123 | | void set_allocated_new_tablet2_id(::std::string* new_tablet2_id); |
4124 | | |
4125 | | // required bytes split_partition_key = 4; |
4126 | | bool has_split_partition_key() const; |
4127 | | void clear_split_partition_key(); |
4128 | | static const int kSplitPartitionKeyFieldNumber = 4; |
4129 | | const ::std::string& split_partition_key() const; |
4130 | | void set_split_partition_key(const ::std::string& value); |
4131 | | #if LANG_CXX11 |
4132 | | void set_split_partition_key(::std::string&& value); |
4133 | | #endif |
4134 | | void set_split_partition_key(const char* value); |
4135 | | void set_split_partition_key(const void* value, size_t size); |
4136 | | ::std::string* mutable_split_partition_key(); |
4137 | | ::std::string* release_split_partition_key(); |
4138 | | void set_allocated_split_partition_key(::std::string* split_partition_key); |
4139 | | |
4140 | | // required bytes split_encoded_key = 5; |
4141 | | bool has_split_encoded_key() const; |
4142 | | void clear_split_encoded_key(); |
4143 | | static const int kSplitEncodedKeyFieldNumber = 5; |
4144 | | const ::std::string& split_encoded_key() const; |
4145 | | void set_split_encoded_key(const ::std::string& value); |
4146 | | #if LANG_CXX11 |
4147 | | void set_split_encoded_key(::std::string&& value); |
4148 | | #endif |
4149 | | void set_split_encoded_key(const char* value); |
4150 | | void set_split_encoded_key(const void* value, size_t size); |
4151 | | ::std::string* mutable_split_encoded_key(); |
4152 | | ::std::string* release_split_encoded_key(); |
4153 | | void set_allocated_split_encoded_key(::std::string* split_encoded_key); |
4154 | | |
4155 | | // @@protoc_insertion_point(class_scope:yb.master.ProducerSplitTabletInfoPB) |
4156 | | private: |
4157 | | void set_has_tablet_id(); |
4158 | | void clear_has_tablet_id(); |
4159 | | void set_has_new_tablet1_id(); |
4160 | | void clear_has_new_tablet1_id(); |
4161 | | void set_has_new_tablet2_id(); |
4162 | | void clear_has_new_tablet2_id(); |
4163 | | void set_has_split_partition_key(); |
4164 | | void clear_has_split_partition_key(); |
4165 | | void set_has_split_encoded_key(); |
4166 | | void clear_has_split_encoded_key(); |
4167 | | |
4168 | | // helper for ByteSizeLong() |
4169 | | size_t RequiredFieldsByteSizeFallback() const; |
4170 | | |
4171 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4172 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4173 | | mutable int _cached_size_; |
4174 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
4175 | | ::google::protobuf::internal::ArenaStringPtr new_tablet1_id_; |
4176 | | ::google::protobuf::internal::ArenaStringPtr new_tablet2_id_; |
4177 | | ::google::protobuf::internal::ArenaStringPtr split_partition_key_; |
4178 | | ::google::protobuf::internal::ArenaStringPtr split_encoded_key_; |
4179 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
4180 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsProducerSplitTabletInfoPBImpl(); |
4181 | | }; |
4182 | | // ------------------------------------------------------------------- |
4183 | | |
4184 | | class UpdateConsumerOnProducerSplitRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.UpdateConsumerOnProducerSplitRequestPB) */ { |
4185 | | public: |
4186 | | UpdateConsumerOnProducerSplitRequestPB(); |
4187 | | virtual ~UpdateConsumerOnProducerSplitRequestPB(); |
4188 | | |
4189 | | UpdateConsumerOnProducerSplitRequestPB(const UpdateConsumerOnProducerSplitRequestPB& from); |
4190 | | |
4191 | 0 | inline UpdateConsumerOnProducerSplitRequestPB& operator=(const UpdateConsumerOnProducerSplitRequestPB& from) { |
4192 | 0 | CopyFrom(from); |
4193 | 0 | return *this; |
4194 | 0 | } |
4195 | | #if LANG_CXX11 |
4196 | | UpdateConsumerOnProducerSplitRequestPB(UpdateConsumerOnProducerSplitRequestPB&& from) noexcept |
4197 | 0 | : UpdateConsumerOnProducerSplitRequestPB() { |
4198 | 0 | *this = ::std::move(from); |
4199 | 0 | } |
4200 | | |
4201 | 0 | inline UpdateConsumerOnProducerSplitRequestPB& operator=(UpdateConsumerOnProducerSplitRequestPB&& from) noexcept { |
4202 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4203 | 0 | if (this != &from) InternalSwap(&from); |
4204 | 0 | } else { |
4205 | 0 | CopyFrom(from); |
4206 | 0 | } |
4207 | 0 | return *this; |
4208 | 0 | } |
4209 | | #endif |
4210 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4211 | 0 | return _internal_metadata_.unknown_fields(); |
4212 | 0 | } |
4213 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4214 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4215 | 0 | } |
4216 | | |
4217 | | static const ::google::protobuf::Descriptor* descriptor(); |
4218 | | static const UpdateConsumerOnProducerSplitRequestPB& default_instance(); |
4219 | | |
4220 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4221 | 26.8k | static inline const UpdateConsumerOnProducerSplitRequestPB* internal_default_instance() { |
4222 | 26.8k | return reinterpret_cast<const UpdateConsumerOnProducerSplitRequestPB*>( |
4223 | 26.8k | &_UpdateConsumerOnProducerSplitRequestPB_default_instance_); |
4224 | 26.8k | } |
4225 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4226 | | 29; |
4227 | | |
4228 | | void Swap(UpdateConsumerOnProducerSplitRequestPB* other); |
4229 | 0 | friend void swap(UpdateConsumerOnProducerSplitRequestPB& a, UpdateConsumerOnProducerSplitRequestPB& b) { |
4230 | 0 | a.Swap(&b); |
4231 | 0 | } |
4232 | | |
4233 | | // implements Message ---------------------------------------------- |
4234 | | |
4235 | 0 | inline UpdateConsumerOnProducerSplitRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4236 | | |
4237 | | UpdateConsumerOnProducerSplitRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4238 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4239 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4240 | | void CopyFrom(const UpdateConsumerOnProducerSplitRequestPB& from); |
4241 | | void MergeFrom(const UpdateConsumerOnProducerSplitRequestPB& from); |
4242 | | void Clear() PROTOBUF_FINAL; |
4243 | | bool IsInitialized() const PROTOBUF_FINAL; |
4244 | | |
4245 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4246 | | bool MergePartialFromCodedStream( |
4247 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4248 | | void SerializeWithCachedSizes( |
4249 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4250 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4251 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4252 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4253 | | private: |
4254 | | void SharedCtor(); |
4255 | | void SharedDtor(); |
4256 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4257 | | void InternalSwap(UpdateConsumerOnProducerSplitRequestPB* other); |
4258 | | private: |
4259 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4260 | 0 | return NULL; |
4261 | 0 | } |
4262 | 0 | inline void* MaybeArenaPtr() const { |
4263 | 0 | return NULL; |
4264 | 0 | } |
4265 | | public: |
4266 | | |
4267 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4268 | | |
4269 | | // nested types ---------------------------------------------------- |
4270 | | |
4271 | | // accessors ------------------------------------------------------- |
4272 | | |
4273 | | // optional string producer_id = 1; |
4274 | | bool has_producer_id() const; |
4275 | | void clear_producer_id(); |
4276 | | static const int kProducerIdFieldNumber = 1; |
4277 | | const ::std::string& producer_id() const; |
4278 | | void set_producer_id(const ::std::string& value); |
4279 | | #if LANG_CXX11 |
4280 | | void set_producer_id(::std::string&& value); |
4281 | | #endif |
4282 | | void set_producer_id(const char* value); |
4283 | | void set_producer_id(const char* value, size_t size); |
4284 | | ::std::string* mutable_producer_id(); |
4285 | | ::std::string* release_producer_id(); |
4286 | | void set_allocated_producer_id(::std::string* producer_id); |
4287 | | |
4288 | | // optional string stream_id = 2; |
4289 | | bool has_stream_id() const; |
4290 | | void clear_stream_id(); |
4291 | | static const int kStreamIdFieldNumber = 2; |
4292 | | const ::std::string& stream_id() const; |
4293 | | void set_stream_id(const ::std::string& value); |
4294 | | #if LANG_CXX11 |
4295 | | void set_stream_id(::std::string&& value); |
4296 | | #endif |
4297 | | void set_stream_id(const char* value); |
4298 | | void set_stream_id(const char* value, size_t size); |
4299 | | ::std::string* mutable_stream_id(); |
4300 | | ::std::string* release_stream_id(); |
4301 | | void set_allocated_stream_id(::std::string* stream_id); |
4302 | | |
4303 | | // optional .yb.master.ProducerSplitTabletInfoPB producer_split_tablet_info = 3; |
4304 | | bool has_producer_split_tablet_info() const; |
4305 | | void clear_producer_split_tablet_info(); |
4306 | | static const int kProducerSplitTabletInfoFieldNumber = 3; |
4307 | | const ::yb::master::ProducerSplitTabletInfoPB& producer_split_tablet_info() const; |
4308 | | ::yb::master::ProducerSplitTabletInfoPB* release_producer_split_tablet_info(); |
4309 | | ::yb::master::ProducerSplitTabletInfoPB* mutable_producer_split_tablet_info(); |
4310 | | void set_allocated_producer_split_tablet_info(::yb::master::ProducerSplitTabletInfoPB* producer_split_tablet_info); |
4311 | | |
4312 | | // @@protoc_insertion_point(class_scope:yb.master.UpdateConsumerOnProducerSplitRequestPB) |
4313 | | private: |
4314 | | void set_has_producer_id(); |
4315 | | void clear_has_producer_id(); |
4316 | | void set_has_stream_id(); |
4317 | | void clear_has_stream_id(); |
4318 | | void set_has_producer_split_tablet_info(); |
4319 | | void clear_has_producer_split_tablet_info(); |
4320 | | |
4321 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4322 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4323 | | mutable int _cached_size_; |
4324 | | ::google::protobuf::internal::ArenaStringPtr producer_id_; |
4325 | | ::google::protobuf::internal::ArenaStringPtr stream_id_; |
4326 | | ::yb::master::ProducerSplitTabletInfoPB* producer_split_tablet_info_; |
4327 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
4328 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsUpdateConsumerOnProducerSplitRequestPBImpl(); |
4329 | | }; |
4330 | | // ------------------------------------------------------------------- |
4331 | | |
4332 | | class UpdateConsumerOnProducerSplitResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.UpdateConsumerOnProducerSplitResponsePB) */ { |
4333 | | public: |
4334 | | UpdateConsumerOnProducerSplitResponsePB(); |
4335 | | virtual ~UpdateConsumerOnProducerSplitResponsePB(); |
4336 | | |
4337 | | UpdateConsumerOnProducerSplitResponsePB(const UpdateConsumerOnProducerSplitResponsePB& from); |
4338 | | |
4339 | 0 | inline UpdateConsumerOnProducerSplitResponsePB& operator=(const UpdateConsumerOnProducerSplitResponsePB& from) { |
4340 | 0 | CopyFrom(from); |
4341 | 0 | return *this; |
4342 | 0 | } |
4343 | | #if LANG_CXX11 |
4344 | | UpdateConsumerOnProducerSplitResponsePB(UpdateConsumerOnProducerSplitResponsePB&& from) noexcept |
4345 | 0 | : UpdateConsumerOnProducerSplitResponsePB() { |
4346 | 0 | *this = ::std::move(from); |
4347 | 0 | } |
4348 | | |
4349 | 0 | inline UpdateConsumerOnProducerSplitResponsePB& operator=(UpdateConsumerOnProducerSplitResponsePB&& from) noexcept { |
4350 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4351 | 0 | if (this != &from) InternalSwap(&from); |
4352 | 0 | } else { |
4353 | 0 | CopyFrom(from); |
4354 | 0 | } |
4355 | 0 | return *this; |
4356 | 0 | } |
4357 | | #endif |
4358 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4359 | 0 | return _internal_metadata_.unknown_fields(); |
4360 | 0 | } |
4361 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4362 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4363 | 0 | } |
4364 | | |
4365 | | static const ::google::protobuf::Descriptor* descriptor(); |
4366 | | static const UpdateConsumerOnProducerSplitResponsePB& default_instance(); |
4367 | | |
4368 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4369 | 26.8k | static inline const UpdateConsumerOnProducerSplitResponsePB* internal_default_instance() { |
4370 | 26.8k | return reinterpret_cast<const UpdateConsumerOnProducerSplitResponsePB*>( |
4371 | 26.8k | &_UpdateConsumerOnProducerSplitResponsePB_default_instance_); |
4372 | 26.8k | } |
4373 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4374 | | 30; |
4375 | | |
4376 | | void Swap(UpdateConsumerOnProducerSplitResponsePB* other); |
4377 | 0 | friend void swap(UpdateConsumerOnProducerSplitResponsePB& a, UpdateConsumerOnProducerSplitResponsePB& b) { |
4378 | 0 | a.Swap(&b); |
4379 | 0 | } |
4380 | | |
4381 | | // implements Message ---------------------------------------------- |
4382 | | |
4383 | 0 | inline UpdateConsumerOnProducerSplitResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4384 | | |
4385 | | UpdateConsumerOnProducerSplitResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4386 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4387 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4388 | | void CopyFrom(const UpdateConsumerOnProducerSplitResponsePB& from); |
4389 | | void MergeFrom(const UpdateConsumerOnProducerSplitResponsePB& from); |
4390 | | void Clear() PROTOBUF_FINAL; |
4391 | | bool IsInitialized() const PROTOBUF_FINAL; |
4392 | | |
4393 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4394 | | bool MergePartialFromCodedStream( |
4395 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4396 | | void SerializeWithCachedSizes( |
4397 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4398 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4399 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4400 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4401 | | private: |
4402 | | void SharedCtor(); |
4403 | | void SharedDtor(); |
4404 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4405 | | void InternalSwap(UpdateConsumerOnProducerSplitResponsePB* other); |
4406 | | private: |
4407 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4408 | 0 | return NULL; |
4409 | 0 | } |
4410 | 0 | inline void* MaybeArenaPtr() const { |
4411 | 0 | return NULL; |
4412 | 0 | } |
4413 | | public: |
4414 | | |
4415 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4416 | | |
4417 | | // nested types ---------------------------------------------------- |
4418 | | |
4419 | | // accessors ------------------------------------------------------- |
4420 | | |
4421 | | // optional .yb.master.MasterErrorPB error = 1; |
4422 | | bool has_error() const; |
4423 | | void clear_error(); |
4424 | | static const int kErrorFieldNumber = 1; |
4425 | | const ::yb::master::MasterErrorPB& error() const; |
4426 | | ::yb::master::MasterErrorPB* release_error(); |
4427 | | ::yb::master::MasterErrorPB* mutable_error(); |
4428 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
4429 | | |
4430 | | // @@protoc_insertion_point(class_scope:yb.master.UpdateConsumerOnProducerSplitResponsePB) |
4431 | | private: |
4432 | | void set_has_error(); |
4433 | | void clear_has_error(); |
4434 | | |
4435 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4436 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4437 | | mutable int _cached_size_; |
4438 | | ::yb::master::MasterErrorPB* error_; |
4439 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::TableStruct; |
4440 | | friend void ::protobuf_yb_2fmaster_2fmaster_5freplication_2eproto::InitDefaultsUpdateConsumerOnProducerSplitResponsePBImpl(); |
4441 | | }; |
4442 | | // =================================================================== |
4443 | | |
4444 | | |
4445 | | // =================================================================== |
4446 | | |
4447 | | #ifdef __GNUC__ |
4448 | | #pragma GCC diagnostic push |
4449 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
4450 | | #endif // __GNUC__ |
4451 | | // CDCStreamInfoPB |
4452 | | |
4453 | | // optional bytes stream_id = 1; |
4454 | 10 | inline bool CDCStreamInfoPB::has_stream_id() const { |
4455 | 10 | return (_has_bits_[0] & 0x00000001u) != 0; |
4456 | 10 | } |
4457 | 10 | inline void CDCStreamInfoPB::set_has_stream_id() { |
4458 | 10 | _has_bits_[0] |= 0x00000001u; |
4459 | 10 | } |
4460 | 0 | inline void CDCStreamInfoPB::clear_has_stream_id() { |
4461 | 0 | _has_bits_[0] &= ~0x00000001u; |
4462 | 0 | } |
4463 | 0 | inline void CDCStreamInfoPB::clear_stream_id() { |
4464 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4465 | 0 | clear_has_stream_id(); |
4466 | 0 | } |
4467 | 16 | inline const ::std::string& CDCStreamInfoPB::stream_id() const { |
4468 | | // @@protoc_insertion_point(field_get:yb.master.CDCStreamInfoPB.stream_id) |
4469 | 16 | return stream_id_.GetNoArena(); |
4470 | 16 | } |
4471 | 5 | inline void CDCStreamInfoPB::set_stream_id(const ::std::string& value) { |
4472 | 5 | set_has_stream_id(); |
4473 | 5 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4474 | | // @@protoc_insertion_point(field_set:yb.master.CDCStreamInfoPB.stream_id) |
4475 | 5 | } |
4476 | | #if LANG_CXX11 |
4477 | 0 | inline void CDCStreamInfoPB::set_stream_id(::std::string&& value) { |
4478 | 0 | set_has_stream_id(); |
4479 | 0 | stream_id_.SetNoArena( |
4480 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4481 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CDCStreamInfoPB.stream_id) |
4482 | 0 | } |
4483 | | #endif |
4484 | 0 | inline void CDCStreamInfoPB::set_stream_id(const char* value) { |
4485 | 0 | GOOGLE_DCHECK(value != NULL); |
4486 | 0 | set_has_stream_id(); |
4487 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4488 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.CDCStreamInfoPB.stream_id) |
4489 | 0 | } |
4490 | 0 | inline void CDCStreamInfoPB::set_stream_id(const void* value, size_t size) { |
4491 | 0 | set_has_stream_id(); |
4492 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4493 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4494 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CDCStreamInfoPB.stream_id) |
4495 | 0 | } |
4496 | 5 | inline ::std::string* CDCStreamInfoPB::mutable_stream_id() { |
4497 | 5 | set_has_stream_id(); |
4498 | | // @@protoc_insertion_point(field_mutable:yb.master.CDCStreamInfoPB.stream_id) |
4499 | 5 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4500 | 5 | } |
4501 | 0 | inline ::std::string* CDCStreamInfoPB::release_stream_id() { |
4502 | 0 | // @@protoc_insertion_point(field_release:yb.master.CDCStreamInfoPB.stream_id) |
4503 | 0 | clear_has_stream_id(); |
4504 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4505 | 0 | } |
4506 | 0 | inline void CDCStreamInfoPB::set_allocated_stream_id(::std::string* stream_id) { |
4507 | 0 | if (stream_id != NULL) { |
4508 | 0 | set_has_stream_id(); |
4509 | 0 | } else { |
4510 | 0 | clear_has_stream_id(); |
4511 | 0 | } |
4512 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
4513 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CDCStreamInfoPB.stream_id) |
4514 | 0 | } |
4515 | | |
4516 | | // repeated bytes table_id = 2; |
4517 | 25 | inline int CDCStreamInfoPB::table_id_size() const { |
4518 | 25 | return table_id_.size(); |
4519 | 25 | } |
4520 | 0 | inline void CDCStreamInfoPB::clear_table_id() { |
4521 | 0 | table_id_.Clear(); |
4522 | 0 | } |
4523 | 15 | inline const ::std::string& CDCStreamInfoPB::table_id(int index) const { |
4524 | | // @@protoc_insertion_point(field_get:yb.master.CDCStreamInfoPB.table_id) |
4525 | 15 | return table_id_.Get(index); |
4526 | 15 | } |
4527 | 0 | inline ::std::string* CDCStreamInfoPB::mutable_table_id(int index) { |
4528 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.CDCStreamInfoPB.table_id) |
4529 | 0 | return table_id_.Mutable(index); |
4530 | 0 | } |
4531 | 0 | inline void CDCStreamInfoPB::set_table_id(int index, const ::std::string& value) { |
4532 | 0 | // @@protoc_insertion_point(field_set:yb.master.CDCStreamInfoPB.table_id) |
4533 | 0 | table_id_.Mutable(index)->assign(value); |
4534 | 0 | } |
4535 | | #if LANG_CXX11 |
4536 | 0 | inline void CDCStreamInfoPB::set_table_id(int index, ::std::string&& value) { |
4537 | 0 | // @@protoc_insertion_point(field_set:yb.master.CDCStreamInfoPB.table_id) |
4538 | 0 | table_id_.Mutable(index)->assign(std::move(value)); |
4539 | 0 | } |
4540 | | #endif |
4541 | 0 | inline void CDCStreamInfoPB::set_table_id(int index, const char* value) { |
4542 | 0 | GOOGLE_DCHECK(value != NULL); |
4543 | 0 | table_id_.Mutable(index)->assign(value); |
4544 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.CDCStreamInfoPB.table_id) |
4545 | 0 | } |
4546 | 0 | inline void CDCStreamInfoPB::set_table_id(int index, const void* value, size_t size) { |
4547 | 0 | table_id_.Mutable(index)->assign( |
4548 | 0 | reinterpret_cast<const char*>(value), size); |
4549 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CDCStreamInfoPB.table_id) |
4550 | 0 | } |
4551 | 5 | inline ::std::string* CDCStreamInfoPB::add_table_id() { |
4552 | | // @@protoc_insertion_point(field_add_mutable:yb.master.CDCStreamInfoPB.table_id) |
4553 | 5 | return table_id_.Add(); |
4554 | 5 | } |
4555 | 5 | inline void CDCStreamInfoPB::add_table_id(const ::std::string& value) { |
4556 | 5 | table_id_.Add()->assign(value); |
4557 | | // @@protoc_insertion_point(field_add:yb.master.CDCStreamInfoPB.table_id) |
4558 | 5 | } |
4559 | | #if LANG_CXX11 |
4560 | 0 | inline void CDCStreamInfoPB::add_table_id(::std::string&& value) { |
4561 | 0 | table_id_.Add(std::move(value)); |
4562 | 0 | // @@protoc_insertion_point(field_add:yb.master.CDCStreamInfoPB.table_id) |
4563 | 0 | } |
4564 | | #endif |
4565 | 0 | inline void CDCStreamInfoPB::add_table_id(const char* value) { |
4566 | 0 | GOOGLE_DCHECK(value != NULL); |
4567 | 0 | table_id_.Add()->assign(value); |
4568 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.CDCStreamInfoPB.table_id) |
4569 | 0 | } |
4570 | 0 | inline void CDCStreamInfoPB::add_table_id(const void* value, size_t size) { |
4571 | 0 | table_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4572 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.CDCStreamInfoPB.table_id) |
4573 | 0 | } |
4574 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4575 | 3 | CDCStreamInfoPB::table_id() const { |
4576 | | // @@protoc_insertion_point(field_list:yb.master.CDCStreamInfoPB.table_id) |
4577 | 3 | return table_id_; |
4578 | 3 | } |
4579 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4580 | 0 | CDCStreamInfoPB::mutable_table_id() { |
4581 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.CDCStreamInfoPB.table_id) |
4582 | 0 | return &table_id_; |
4583 | 0 | } |
4584 | | |
4585 | | // repeated .yb.master.CDCStreamOptionsPB options = 3; |
4586 | 15 | inline int CDCStreamInfoPB::options_size() const { |
4587 | 15 | return options_.size(); |
4588 | 15 | } |
4589 | 3 | inline const ::yb::master::CDCStreamOptionsPB& CDCStreamInfoPB::options(int index) const { |
4590 | | // @@protoc_insertion_point(field_get:yb.master.CDCStreamInfoPB.options) |
4591 | 3 | return options_.Get(index); |
4592 | 3 | } |
4593 | 0 | inline ::yb::master::CDCStreamOptionsPB* CDCStreamInfoPB::mutable_options(int index) { |
4594 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.CDCStreamInfoPB.options) |
4595 | 0 | return options_.Mutable(index); |
4596 | 0 | } |
4597 | 2 | inline ::yb::master::CDCStreamOptionsPB* CDCStreamInfoPB::add_options() { |
4598 | | // @@protoc_insertion_point(field_add:yb.master.CDCStreamInfoPB.options) |
4599 | 2 | return options_.Add(); |
4600 | 2 | } |
4601 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >* |
4602 | 5 | CDCStreamInfoPB::mutable_options() { |
4603 | | // @@protoc_insertion_point(field_mutable_list:yb.master.CDCStreamInfoPB.options) |
4604 | 5 | return &options_; |
4605 | 5 | } |
4606 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >& |
4607 | 0 | CDCStreamInfoPB::options() const { |
4608 | 0 | // @@protoc_insertion_point(field_list:yb.master.CDCStreamInfoPB.options) |
4609 | 0 | return options_; |
4610 | 0 | } |
4611 | | |
4612 | | // optional bytes namespace_id = 4; |
4613 | 10 | inline bool CDCStreamInfoPB::has_namespace_id() const { |
4614 | 10 | return (_has_bits_[0] & 0x00000002u) != 0; |
4615 | 10 | } |
4616 | 0 | inline void CDCStreamInfoPB::set_has_namespace_id() { |
4617 | 0 | _has_bits_[0] |= 0x00000002u; |
4618 | 0 | } |
4619 | 0 | inline void CDCStreamInfoPB::clear_has_namespace_id() { |
4620 | 0 | _has_bits_[0] &= ~0x00000002u; |
4621 | 0 | } |
4622 | 0 | inline void CDCStreamInfoPB::clear_namespace_id() { |
4623 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4624 | 0 | clear_has_namespace_id(); |
4625 | 0 | } |
4626 | 0 | inline const ::std::string& CDCStreamInfoPB::namespace_id() const { |
4627 | 0 | // @@protoc_insertion_point(field_get:yb.master.CDCStreamInfoPB.namespace_id) |
4628 | 0 | return namespace_id_.GetNoArena(); |
4629 | 0 | } |
4630 | 0 | inline void CDCStreamInfoPB::set_namespace_id(const ::std::string& value) { |
4631 | 0 | set_has_namespace_id(); |
4632 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4633 | 0 | // @@protoc_insertion_point(field_set:yb.master.CDCStreamInfoPB.namespace_id) |
4634 | 0 | } |
4635 | | #if LANG_CXX11 |
4636 | 0 | inline void CDCStreamInfoPB::set_namespace_id(::std::string&& value) { |
4637 | 0 | set_has_namespace_id(); |
4638 | 0 | namespace_id_.SetNoArena( |
4639 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4640 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CDCStreamInfoPB.namespace_id) |
4641 | 0 | } |
4642 | | #endif |
4643 | 0 | inline void CDCStreamInfoPB::set_namespace_id(const char* value) { |
4644 | 0 | GOOGLE_DCHECK(value != NULL); |
4645 | 0 | set_has_namespace_id(); |
4646 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4647 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.CDCStreamInfoPB.namespace_id) |
4648 | 0 | } |
4649 | 0 | inline void CDCStreamInfoPB::set_namespace_id(const void* value, size_t size) { |
4650 | 0 | set_has_namespace_id(); |
4651 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4652 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4653 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CDCStreamInfoPB.namespace_id) |
4654 | 0 | } |
4655 | 0 | inline ::std::string* CDCStreamInfoPB::mutable_namespace_id() { |
4656 | 0 | set_has_namespace_id(); |
4657 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.CDCStreamInfoPB.namespace_id) |
4658 | 0 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4659 | 0 | } |
4660 | 0 | inline ::std::string* CDCStreamInfoPB::release_namespace_id() { |
4661 | 0 | // @@protoc_insertion_point(field_release:yb.master.CDCStreamInfoPB.namespace_id) |
4662 | 0 | clear_has_namespace_id(); |
4663 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4664 | 0 | } |
4665 | 0 | inline void CDCStreamInfoPB::set_allocated_namespace_id(::std::string* namespace_id) { |
4666 | 0 | if (namespace_id != NULL) { |
4667 | 0 | set_has_namespace_id(); |
4668 | 0 | } else { |
4669 | 0 | clear_has_namespace_id(); |
4670 | 0 | } |
4671 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
4672 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CDCStreamInfoPB.namespace_id) |
4673 | 0 | } |
4674 | | |
4675 | | // ------------------------------------------------------------------- |
4676 | | |
4677 | | // ValidateReplicationInfoRequestPB |
4678 | | |
4679 | | // optional .yb.master.ReplicationInfoPB replication_info = 1; |
4680 | 2 | inline bool ValidateReplicationInfoRequestPB::has_replication_info() const { |
4681 | 2 | return (_has_bits_[0] & 0x00000001u) != 0; |
4682 | 2 | } |
4683 | 56.8k | inline void ValidateReplicationInfoRequestPB::set_has_replication_info() { |
4684 | 56.8k | _has_bits_[0] |= 0x00000001u; |
4685 | 56.8k | } |
4686 | 0 | inline void ValidateReplicationInfoRequestPB::clear_has_replication_info() { |
4687 | 0 | _has_bits_[0] &= ~0x00000001u; |
4688 | 0 | } |
4689 | 113k | inline const ::yb::master::ReplicationInfoPB& ValidateReplicationInfoRequestPB::replication_info() const { |
4690 | 113k | const ::yb::master::ReplicationInfoPB* p = replication_info_; |
4691 | | // @@protoc_insertion_point(field_get:yb.master.ValidateReplicationInfoRequestPB.replication_info) |
4692 | 113k | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::ReplicationInfoPB*>( |
4693 | 0 | &::yb::master::_ReplicationInfoPB_default_instance_); |
4694 | 113k | } |
4695 | 0 | inline ::yb::master::ReplicationInfoPB* ValidateReplicationInfoRequestPB::release_replication_info() { |
4696 | 0 | // @@protoc_insertion_point(field_release:yb.master.ValidateReplicationInfoRequestPB.replication_info) |
4697 | 0 | clear_has_replication_info(); |
4698 | 0 | ::yb::master::ReplicationInfoPB* temp = replication_info_; |
4699 | 0 | replication_info_ = NULL; |
4700 | 0 | return temp; |
4701 | 0 | } |
4702 | 56.8k | inline ::yb::master::ReplicationInfoPB* ValidateReplicationInfoRequestPB::mutable_replication_info() { |
4703 | 56.8k | set_has_replication_info(); |
4704 | 56.8k | if (replication_info_ == NULL) { |
4705 | 56.8k | replication_info_ = new ::yb::master::ReplicationInfoPB; |
4706 | 56.8k | } |
4707 | | // @@protoc_insertion_point(field_mutable:yb.master.ValidateReplicationInfoRequestPB.replication_info) |
4708 | 56.8k | return replication_info_; |
4709 | 56.8k | } |
4710 | 0 | inline void ValidateReplicationInfoRequestPB::set_allocated_replication_info(::yb::master::ReplicationInfoPB* replication_info) { |
4711 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4712 | 0 | if (message_arena == NULL) { |
4713 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(replication_info_); |
4714 | 0 | } |
4715 | 0 | if (replication_info) { |
4716 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4717 | 0 | if (message_arena != submessage_arena) { |
4718 | 0 | replication_info = ::google::protobuf::internal::GetOwnedMessage( |
4719 | 0 | message_arena, replication_info, submessage_arena); |
4720 | 0 | } |
4721 | 0 | set_has_replication_info(); |
4722 | 0 | } else { |
4723 | 0 | clear_has_replication_info(); |
4724 | 0 | } |
4725 | 0 | replication_info_ = replication_info; |
4726 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ValidateReplicationInfoRequestPB.replication_info) |
4727 | 0 | } |
4728 | | |
4729 | | // ------------------------------------------------------------------- |
4730 | | |
4731 | | // ValidateReplicationInfoResponsePB |
4732 | | |
4733 | | // optional .yb.master.MasterErrorPB error = 1; |
4734 | 6 | inline bool ValidateReplicationInfoResponsePB::has_error() const { |
4735 | 6 | return (_has_bits_[0] & 0x00000001u) != 0; |
4736 | 6 | } |
4737 | 69 | inline void ValidateReplicationInfoResponsePB::set_has_error() { |
4738 | 69 | _has_bits_[0] |= 0x00000001u; |
4739 | 69 | } |
4740 | 0 | inline void ValidateReplicationInfoResponsePB::clear_has_error() { |
4741 | 0 | _has_bits_[0] &= ~0x00000001u; |
4742 | 0 | } |
4743 | 4 | inline const ::yb::master::MasterErrorPB& ValidateReplicationInfoResponsePB::error() const { |
4744 | 4 | const ::yb::master::MasterErrorPB* p = error_; |
4745 | | // @@protoc_insertion_point(field_get:yb.master.ValidateReplicationInfoResponsePB.error) |
4746 | 4 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
4747 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
4748 | 4 | } |
4749 | 0 | inline ::yb::master::MasterErrorPB* ValidateReplicationInfoResponsePB::release_error() { |
4750 | 0 | // @@protoc_insertion_point(field_release:yb.master.ValidateReplicationInfoResponsePB.error) |
4751 | 0 | clear_has_error(); |
4752 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
4753 | 0 | error_ = NULL; |
4754 | 0 | return temp; |
4755 | 0 | } |
4756 | 69 | inline ::yb::master::MasterErrorPB* ValidateReplicationInfoResponsePB::mutable_error() { |
4757 | 69 | set_has_error(); |
4758 | 69 | if (error_ == NULL) { |
4759 | 35 | error_ = new ::yb::master::MasterErrorPB; |
4760 | 35 | } |
4761 | | // @@protoc_insertion_point(field_mutable:yb.master.ValidateReplicationInfoResponsePB.error) |
4762 | 69 | return error_; |
4763 | 69 | } |
4764 | 0 | inline void ValidateReplicationInfoResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
4765 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4766 | 0 | if (message_arena == NULL) { |
4767 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4768 | 0 | } |
4769 | 0 | if (error) { |
4770 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4771 | 0 | if (message_arena != submessage_arena) { |
4772 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4773 | 0 | message_arena, error, submessage_arena); |
4774 | 0 | } |
4775 | 0 | set_has_error(); |
4776 | 0 | } else { |
4777 | 0 | clear_has_error(); |
4778 | 0 | } |
4779 | 0 | error_ = error; |
4780 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ValidateReplicationInfoResponsePB.error) |
4781 | 0 | } |
4782 | | |
4783 | | // ------------------------------------------------------------------- |
4784 | | |
4785 | | // CreateCDCStreamRequestPB |
4786 | | |
4787 | | // optional string table_id = 1; |
4788 | 11.0k | inline bool CreateCDCStreamRequestPB::has_table_id() const { |
4789 | 11.0k | return (_has_bits_[0] & 0x00000001u) != 0; |
4790 | 11.0k | } |
4791 | 11.0k | inline void CreateCDCStreamRequestPB::set_has_table_id() { |
4792 | 11.0k | _has_bits_[0] |= 0x00000001u; |
4793 | 11.0k | } |
4794 | 0 | inline void CreateCDCStreamRequestPB::clear_has_table_id() { |
4795 | 0 | _has_bits_[0] &= ~0x00000001u; |
4796 | 0 | } |
4797 | 0 | inline void CreateCDCStreamRequestPB::clear_table_id() { |
4798 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4799 | 0 | clear_has_table_id(); |
4800 | 0 | } |
4801 | 54.3k | inline const ::std::string& CreateCDCStreamRequestPB::table_id() const { |
4802 | | // @@protoc_insertion_point(field_get:yb.master.CreateCDCStreamRequestPB.table_id) |
4803 | 54.3k | return table_id_.GetNoArena(); |
4804 | 54.3k | } |
4805 | 5.49k | inline void CreateCDCStreamRequestPB::set_table_id(const ::std::string& value) { |
4806 | 5.49k | set_has_table_id(); |
4807 | 5.49k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4808 | | // @@protoc_insertion_point(field_set:yb.master.CreateCDCStreamRequestPB.table_id) |
4809 | 5.49k | } |
4810 | | #if LANG_CXX11 |
4811 | 0 | inline void CreateCDCStreamRequestPB::set_table_id(::std::string&& value) { |
4812 | 0 | set_has_table_id(); |
4813 | 0 | table_id_.SetNoArena( |
4814 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4815 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CreateCDCStreamRequestPB.table_id) |
4816 | 0 | } |
4817 | | #endif |
4818 | | inline void CreateCDCStreamRequestPB::set_table_id(const char* value) { |
4819 | | GOOGLE_DCHECK(value != NULL); |
4820 | | set_has_table_id(); |
4821 | | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4822 | | // @@protoc_insertion_point(field_set_char:yb.master.CreateCDCStreamRequestPB.table_id) |
4823 | | } |
4824 | 0 | inline void CreateCDCStreamRequestPB::set_table_id(const char* value, size_t size) { |
4825 | 0 | set_has_table_id(); |
4826 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4827 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4828 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CreateCDCStreamRequestPB.table_id) |
4829 | 0 | } |
4830 | 5.50k | inline ::std::string* CreateCDCStreamRequestPB::mutable_table_id() { |
4831 | 5.50k | set_has_table_id(); |
4832 | | // @@protoc_insertion_point(field_mutable:yb.master.CreateCDCStreamRequestPB.table_id) |
4833 | 5.50k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4834 | 5.50k | } |
4835 | 0 | inline ::std::string* CreateCDCStreamRequestPB::release_table_id() { |
4836 | 0 | // @@protoc_insertion_point(field_release:yb.master.CreateCDCStreamRequestPB.table_id) |
4837 | 0 | clear_has_table_id(); |
4838 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4839 | 0 | } |
4840 | 0 | inline void CreateCDCStreamRequestPB::set_allocated_table_id(::std::string* table_id) { |
4841 | 0 | if (table_id != NULL) { |
4842 | 0 | set_has_table_id(); |
4843 | 0 | } else { |
4844 | 0 | clear_has_table_id(); |
4845 | 0 | } |
4846 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
4847 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CreateCDCStreamRequestPB.table_id) |
4848 | 0 | } |
4849 | | |
4850 | | // repeated .yb.master.CDCStreamOptionsPB options = 3; |
4851 | 16.5k | inline int CreateCDCStreamRequestPB::options_size() const { |
4852 | 16.5k | return options_.size(); |
4853 | 16.5k | } |
4854 | 66.8k | inline const ::yb::master::CDCStreamOptionsPB& CreateCDCStreamRequestPB::options(int index) const { |
4855 | | // @@protoc_insertion_point(field_get:yb.master.CreateCDCStreamRequestPB.options) |
4856 | 66.8k | return options_.Get(index); |
4857 | 66.8k | } |
4858 | 0 | inline ::yb::master::CDCStreamOptionsPB* CreateCDCStreamRequestPB::mutable_options(int index) { |
4859 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.CreateCDCStreamRequestPB.options) |
4860 | 0 | return options_.Mutable(index); |
4861 | 0 | } |
4862 | 44.5k | inline ::yb::master::CDCStreamOptionsPB* CreateCDCStreamRequestPB::add_options() { |
4863 | | // @@protoc_insertion_point(field_add:yb.master.CreateCDCStreamRequestPB.options) |
4864 | 44.5k | return options_.Add(); |
4865 | 44.5k | } |
4866 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >* |
4867 | 5.49k | CreateCDCStreamRequestPB::mutable_options() { |
4868 | | // @@protoc_insertion_point(field_mutable_list:yb.master.CreateCDCStreamRequestPB.options) |
4869 | 5.49k | return &options_; |
4870 | 5.49k | } |
4871 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamOptionsPB >& |
4872 | 5.81k | CreateCDCStreamRequestPB::options() const { |
4873 | | // @@protoc_insertion_point(field_list:yb.master.CreateCDCStreamRequestPB.options) |
4874 | 5.81k | return options_; |
4875 | 5.81k | } |
4876 | | |
4877 | | // optional .yb.master.SysCDCStreamEntryPB.State initial_state = 4; |
4878 | 11.6k | inline bool CreateCDCStreamRequestPB::has_initial_state() const { |
4879 | 11.6k | return (_has_bits_[0] & 0x00000004u) != 0; |
4880 | 11.6k | } |
4881 | 10.9k | inline void CreateCDCStreamRequestPB::set_has_initial_state() { |
4882 | 10.9k | _has_bits_[0] |= 0x00000004u; |
4883 | 10.9k | } |
4884 | 0 | inline void CreateCDCStreamRequestPB::clear_has_initial_state() { |
4885 | 0 | _has_bits_[0] &= ~0x00000004u; |
4886 | 0 | } |
4887 | 0 | inline void CreateCDCStreamRequestPB::clear_initial_state() { |
4888 | 0 | initial_state_ = 3; |
4889 | 0 | clear_has_initial_state(); |
4890 | 0 | } |
4891 | 17.0k | inline ::yb::master::SysCDCStreamEntryPB_State CreateCDCStreamRequestPB::initial_state() const { |
4892 | | // @@protoc_insertion_point(field_get:yb.master.CreateCDCStreamRequestPB.initial_state) |
4893 | 17.0k | return static_cast< ::yb::master::SysCDCStreamEntryPB_State >(initial_state_); |
4894 | 17.0k | } |
4895 | 10.9k | inline void CreateCDCStreamRequestPB::set_initial_state(::yb::master::SysCDCStreamEntryPB_State value) { |
4896 | 10.9k | assert(::yb::master::SysCDCStreamEntryPB_State_IsValid(value)); |
4897 | 0 | set_has_initial_state(); |
4898 | 10.9k | initial_state_ = value; |
4899 | | // @@protoc_insertion_point(field_set:yb.master.CreateCDCStreamRequestPB.initial_state) |
4900 | 10.9k | } |
4901 | | |
4902 | | // optional string db_stream_id = 5; |
4903 | 16.4k | inline bool CreateCDCStreamRequestPB::has_db_stream_id() const { |
4904 | 16.4k | return (_has_bits_[0] & 0x00000002u) != 0; |
4905 | 16.4k | } |
4906 | 10.3k | inline void CreateCDCStreamRequestPB::set_has_db_stream_id() { |
4907 | 10.3k | _has_bits_[0] |= 0x00000002u; |
4908 | 10.3k | } |
4909 | 0 | inline void CreateCDCStreamRequestPB::clear_has_db_stream_id() { |
4910 | 0 | _has_bits_[0] &= ~0x00000002u; |
4911 | 0 | } |
4912 | 0 | inline void CreateCDCStreamRequestPB::clear_db_stream_id() { |
4913 | 0 | db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4914 | 0 | clear_has_db_stream_id(); |
4915 | 0 | } |
4916 | 41.5k | inline const ::std::string& CreateCDCStreamRequestPB::db_stream_id() const { |
4917 | | // @@protoc_insertion_point(field_get:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4918 | 41.5k | return db_stream_id_.GetNoArena(); |
4919 | 41.5k | } |
4920 | 5.18k | inline void CreateCDCStreamRequestPB::set_db_stream_id(const ::std::string& value) { |
4921 | 5.18k | set_has_db_stream_id(); |
4922 | 5.18k | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4923 | | // @@protoc_insertion_point(field_set:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4924 | 5.18k | } |
4925 | | #if LANG_CXX11 |
4926 | 0 | inline void CreateCDCStreamRequestPB::set_db_stream_id(::std::string&& value) { |
4927 | 0 | set_has_db_stream_id(); |
4928 | 0 | db_stream_id_.SetNoArena( |
4929 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4930 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4931 | 0 | } |
4932 | | #endif |
4933 | 0 | inline void CreateCDCStreamRequestPB::set_db_stream_id(const char* value) { |
4934 | 0 | GOOGLE_DCHECK(value != NULL); |
4935 | 0 | set_has_db_stream_id(); |
4936 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4937 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4938 | 0 | } |
4939 | 0 | inline void CreateCDCStreamRequestPB::set_db_stream_id(const char* value, size_t size) { |
4940 | 0 | set_has_db_stream_id(); |
4941 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4942 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4943 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4944 | 0 | } |
4945 | 5.18k | inline ::std::string* CreateCDCStreamRequestPB::mutable_db_stream_id() { |
4946 | 5.18k | set_has_db_stream_id(); |
4947 | | // @@protoc_insertion_point(field_mutable:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4948 | 5.18k | return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4949 | 5.18k | } |
4950 | 0 | inline ::std::string* CreateCDCStreamRequestPB::release_db_stream_id() { |
4951 | 0 | // @@protoc_insertion_point(field_release:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4952 | 0 | clear_has_db_stream_id(); |
4953 | 0 | return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4954 | 0 | } |
4955 | 0 | inline void CreateCDCStreamRequestPB::set_allocated_db_stream_id(::std::string* db_stream_id) { |
4956 | 0 | if (db_stream_id != NULL) { |
4957 | 0 | set_has_db_stream_id(); |
4958 | 0 | } else { |
4959 | 0 | clear_has_db_stream_id(); |
4960 | 0 | } |
4961 | 0 | db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id); |
4962 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CreateCDCStreamRequestPB.db_stream_id) |
4963 | 0 | } |
4964 | | |
4965 | | // ------------------------------------------------------------------- |
4966 | | |
4967 | | // CreateCDCStreamResponsePB |
4968 | | |
4969 | | // optional .yb.master.MasterErrorPB error = 1; |
4970 | 17.1k | inline bool CreateCDCStreamResponsePB::has_error() const { |
4971 | 17.1k | return (_has_bits_[0] & 0x00000002u) != 0; |
4972 | 17.1k | } |
4973 | 3 | inline void CreateCDCStreamResponsePB::set_has_error() { |
4974 | 3 | _has_bits_[0] |= 0x00000002u; |
4975 | 3 | } |
4976 | 0 | inline void CreateCDCStreamResponsePB::clear_has_error() { |
4977 | 0 | _has_bits_[0] &= ~0x00000002u; |
4978 | 0 | } |
4979 | 1 | inline const ::yb::master::MasterErrorPB& CreateCDCStreamResponsePB::error() const { |
4980 | 1 | const ::yb::master::MasterErrorPB* p = error_; |
4981 | | // @@protoc_insertion_point(field_get:yb.master.CreateCDCStreamResponsePB.error) |
4982 | 1 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
4983 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
4984 | 1 | } |
4985 | 0 | inline ::yb::master::MasterErrorPB* CreateCDCStreamResponsePB::release_error() { |
4986 | 0 | // @@protoc_insertion_point(field_release:yb.master.CreateCDCStreamResponsePB.error) |
4987 | 0 | clear_has_error(); |
4988 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
4989 | 0 | error_ = NULL; |
4990 | 0 | return temp; |
4991 | 0 | } |
4992 | 3 | inline ::yb::master::MasterErrorPB* CreateCDCStreamResponsePB::mutable_error() { |
4993 | 3 | set_has_error(); |
4994 | 3 | if (error_ == NULL) { |
4995 | 2 | error_ = new ::yb::master::MasterErrorPB; |
4996 | 2 | } |
4997 | | // @@protoc_insertion_point(field_mutable:yb.master.CreateCDCStreamResponsePB.error) |
4998 | 3 | return error_; |
4999 | 3 | } |
5000 | 0 | inline void CreateCDCStreamResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5001 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5002 | 0 | if (message_arena == NULL) { |
5003 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5004 | 0 | } |
5005 | 0 | if (error) { |
5006 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5007 | 0 | if (message_arena != submessage_arena) { |
5008 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5009 | 0 | message_arena, error, submessage_arena); |
5010 | 0 | } |
5011 | 0 | set_has_error(); |
5012 | 0 | } else { |
5013 | 0 | clear_has_error(); |
5014 | 0 | } |
5015 | 0 | error_ = error; |
5016 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CreateCDCStreamResponsePB.error) |
5017 | 0 | } |
5018 | | |
5019 | | // optional bytes stream_id = 2; |
5020 | 622 | inline bool CreateCDCStreamResponsePB::has_stream_id() const { |
5021 | 622 | return (_has_bits_[0] & 0x00000001u) != 0; |
5022 | 622 | } |
5023 | 620 | inline void CreateCDCStreamResponsePB::set_has_stream_id() { |
5024 | 620 | _has_bits_[0] |= 0x00000001u; |
5025 | 620 | } |
5026 | 0 | inline void CreateCDCStreamResponsePB::clear_has_stream_id() { |
5027 | 0 | _has_bits_[0] &= ~0x00000001u; |
5028 | 0 | } |
5029 | 0 | inline void CreateCDCStreamResponsePB::clear_stream_id() { |
5030 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5031 | 0 | clear_has_stream_id(); |
5032 | 0 | } |
5033 | 6.42k | inline const ::std::string& CreateCDCStreamResponsePB::stream_id() const { |
5034 | | // @@protoc_insertion_point(field_get:yb.master.CreateCDCStreamResponsePB.stream_id) |
5035 | 6.42k | return stream_id_.GetNoArena(); |
5036 | 6.42k | } |
5037 | 310 | inline void CreateCDCStreamResponsePB::set_stream_id(const ::std::string& value) { |
5038 | 310 | set_has_stream_id(); |
5039 | 310 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5040 | | // @@protoc_insertion_point(field_set:yb.master.CreateCDCStreamResponsePB.stream_id) |
5041 | 310 | } |
5042 | | #if LANG_CXX11 |
5043 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(::std::string&& value) { |
5044 | 0 | set_has_stream_id(); |
5045 | 0 | stream_id_.SetNoArena( |
5046 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5047 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.CreateCDCStreamResponsePB.stream_id) |
5048 | 0 | } |
5049 | | #endif |
5050 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(const char* value) { |
5051 | 0 | GOOGLE_DCHECK(value != NULL); |
5052 | 0 | set_has_stream_id(); |
5053 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5054 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.CreateCDCStreamResponsePB.stream_id) |
5055 | 0 | } |
5056 | 0 | inline void CreateCDCStreamResponsePB::set_stream_id(const void* value, size_t size) { |
5057 | 0 | set_has_stream_id(); |
5058 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5059 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5060 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.CreateCDCStreamResponsePB.stream_id) |
5061 | 0 | } |
5062 | 310 | inline ::std::string* CreateCDCStreamResponsePB::mutable_stream_id() { |
5063 | 310 | set_has_stream_id(); |
5064 | | // @@protoc_insertion_point(field_mutable:yb.master.CreateCDCStreamResponsePB.stream_id) |
5065 | 310 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5066 | 310 | } |
5067 | 0 | inline ::std::string* CreateCDCStreamResponsePB::release_stream_id() { |
5068 | 0 | // @@protoc_insertion_point(field_release:yb.master.CreateCDCStreamResponsePB.stream_id) |
5069 | 0 | clear_has_stream_id(); |
5070 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5071 | 0 | } |
5072 | 0 | inline void CreateCDCStreamResponsePB::set_allocated_stream_id(::std::string* stream_id) { |
5073 | 0 | if (stream_id != NULL) { |
5074 | 0 | set_has_stream_id(); |
5075 | 0 | } else { |
5076 | 0 | clear_has_stream_id(); |
5077 | 0 | } |
5078 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
5079 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.CreateCDCStreamResponsePB.stream_id) |
5080 | 0 | } |
5081 | | |
5082 | | // ------------------------------------------------------------------- |
5083 | | |
5084 | | // DeleteCDCStreamRequestPB |
5085 | | |
5086 | | // repeated bytes stream_id = 1; |
5087 | 7 | inline int DeleteCDCStreamRequestPB::stream_id_size() const { |
5088 | 7 | return stream_id_.size(); |
5089 | 7 | } |
5090 | 0 | inline void DeleteCDCStreamRequestPB::clear_stream_id() { |
5091 | 0 | stream_id_.Clear(); |
5092 | 0 | } |
5093 | 3 | inline const ::std::string& DeleteCDCStreamRequestPB::stream_id(int index) const { |
5094 | | // @@protoc_insertion_point(field_get:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5095 | 3 | return stream_id_.Get(index); |
5096 | 3 | } |
5097 | 0 | inline ::std::string* DeleteCDCStreamRequestPB::mutable_stream_id(int index) { |
5098 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5099 | 0 | return stream_id_.Mutable(index); |
5100 | 0 | } |
5101 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const ::std::string& value) { |
5102 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5103 | 0 | stream_id_.Mutable(index)->assign(value); |
5104 | 0 | } |
5105 | | #if LANG_CXX11 |
5106 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, ::std::string&& value) { |
5107 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5108 | 0 | stream_id_.Mutable(index)->assign(std::move(value)); |
5109 | 0 | } |
5110 | | #endif |
5111 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const char* value) { |
5112 | 0 | GOOGLE_DCHECK(value != NULL); |
5113 | 0 | stream_id_.Mutable(index)->assign(value); |
5114 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5115 | 0 | } |
5116 | 0 | inline void DeleteCDCStreamRequestPB::set_stream_id(int index, const void* value, size_t size) { |
5117 | 0 | stream_id_.Mutable(index)->assign( |
5118 | 0 | reinterpret_cast<const char*>(value), size); |
5119 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5120 | 0 | } |
5121 | 2 | inline ::std::string* DeleteCDCStreamRequestPB::add_stream_id() { |
5122 | | // @@protoc_insertion_point(field_add_mutable:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5123 | 2 | return stream_id_.Add(); |
5124 | 2 | } |
5125 | 1 | inline void DeleteCDCStreamRequestPB::add_stream_id(const ::std::string& value) { |
5126 | 1 | stream_id_.Add()->assign(value); |
5127 | | // @@protoc_insertion_point(field_add:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5128 | 1 | } |
5129 | | #if LANG_CXX11 |
5130 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(::std::string&& value) { |
5131 | 0 | stream_id_.Add(std::move(value)); |
5132 | 0 | // @@protoc_insertion_point(field_add:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5133 | 0 | } |
5134 | | #endif |
5135 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(const char* value) { |
5136 | 0 | GOOGLE_DCHECK(value != NULL); |
5137 | 0 | stream_id_.Add()->assign(value); |
5138 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5139 | 0 | } |
5140 | 0 | inline void DeleteCDCStreamRequestPB::add_stream_id(const void* value, size_t size) { |
5141 | 0 | stream_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5142 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5143 | 0 | } |
5144 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5145 | 2 | DeleteCDCStreamRequestPB::stream_id() const { |
5146 | | // @@protoc_insertion_point(field_list:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5147 | 2 | return stream_id_; |
5148 | 2 | } |
5149 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5150 | 0 | DeleteCDCStreamRequestPB::mutable_stream_id() { |
5151 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.DeleteCDCStreamRequestPB.stream_id) |
5152 | 0 | return &stream_id_; |
5153 | 0 | } |
5154 | | |
5155 | | // optional bool ignore_errors = 2 [default = false]; |
5156 | 0 | inline bool DeleteCDCStreamRequestPB::has_ignore_errors() const { |
5157 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5158 | 0 | } |
5159 | 0 | inline void DeleteCDCStreamRequestPB::set_has_ignore_errors() { |
5160 | 0 | _has_bits_[0] |= 0x00000001u; |
5161 | 0 | } |
5162 | 0 | inline void DeleteCDCStreamRequestPB::clear_has_ignore_errors() { |
5163 | 0 | _has_bits_[0] &= ~0x00000001u; |
5164 | 0 | } |
5165 | 0 | inline void DeleteCDCStreamRequestPB::clear_ignore_errors() { |
5166 | 0 | ignore_errors_ = false; |
5167 | 0 | clear_has_ignore_errors(); |
5168 | 0 | } |
5169 | 0 | inline bool DeleteCDCStreamRequestPB::ignore_errors() const { |
5170 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteCDCStreamRequestPB.ignore_errors) |
5171 | 0 | return ignore_errors_; |
5172 | 0 | } |
5173 | 0 | inline void DeleteCDCStreamRequestPB::set_ignore_errors(bool value) { |
5174 | 0 | set_has_ignore_errors(); |
5175 | 0 | ignore_errors_ = value; |
5176 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteCDCStreamRequestPB.ignore_errors) |
5177 | 0 | } |
5178 | | |
5179 | | // optional bool force_delete = 3 [default = false]; |
5180 | 0 | inline bool DeleteCDCStreamRequestPB::has_force_delete() const { |
5181 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5182 | 0 | } |
5183 | 0 | inline void DeleteCDCStreamRequestPB::set_has_force_delete() { |
5184 | 0 | _has_bits_[0] |= 0x00000002u; |
5185 | 0 | } |
5186 | 0 | inline void DeleteCDCStreamRequestPB::clear_has_force_delete() { |
5187 | 0 | _has_bits_[0] &= ~0x00000002u; |
5188 | 0 | } |
5189 | 0 | inline void DeleteCDCStreamRequestPB::clear_force_delete() { |
5190 | 0 | force_delete_ = false; |
5191 | 0 | clear_has_force_delete(); |
5192 | 0 | } |
5193 | 2 | inline bool DeleteCDCStreamRequestPB::force_delete() const { |
5194 | | // @@protoc_insertion_point(field_get:yb.master.DeleteCDCStreamRequestPB.force_delete) |
5195 | 2 | return force_delete_; |
5196 | 2 | } |
5197 | 0 | inline void DeleteCDCStreamRequestPB::set_force_delete(bool value) { |
5198 | 0 | set_has_force_delete(); |
5199 | 0 | force_delete_ = value; |
5200 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteCDCStreamRequestPB.force_delete) |
5201 | 0 | } |
5202 | | |
5203 | | // ------------------------------------------------------------------- |
5204 | | |
5205 | | // DeleteCDCStreamResponsePB |
5206 | | |
5207 | | // optional .yb.master.MasterErrorPB error = 1; |
5208 | 8 | inline bool DeleteCDCStreamResponsePB::has_error() const { |
5209 | 8 | return (_has_bits_[0] & 0x00000001u) != 0; |
5210 | 8 | } |
5211 | 0 | inline void DeleteCDCStreamResponsePB::set_has_error() { |
5212 | 0 | _has_bits_[0] |= 0x00000001u; |
5213 | 0 | } |
5214 | 0 | inline void DeleteCDCStreamResponsePB::clear_has_error() { |
5215 | 0 | _has_bits_[0] &= ~0x00000001u; |
5216 | 0 | } |
5217 | 0 | inline const ::yb::master::MasterErrorPB& DeleteCDCStreamResponsePB::error() const { |
5218 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5219 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteCDCStreamResponsePB.error) |
5220 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5221 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5222 | 0 | } |
5223 | 0 | inline ::yb::master::MasterErrorPB* DeleteCDCStreamResponsePB::release_error() { |
5224 | 0 | // @@protoc_insertion_point(field_release:yb.master.DeleteCDCStreamResponsePB.error) |
5225 | 0 | clear_has_error(); |
5226 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5227 | 0 | error_ = NULL; |
5228 | 0 | return temp; |
5229 | 0 | } |
5230 | 0 | inline ::yb::master::MasterErrorPB* DeleteCDCStreamResponsePB::mutable_error() { |
5231 | 0 | set_has_error(); |
5232 | 0 | if (error_ == NULL) { |
5233 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5234 | 0 | } |
5235 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DeleteCDCStreamResponsePB.error) |
5236 | 0 | return error_; |
5237 | 0 | } |
5238 | 0 | inline void DeleteCDCStreamResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5239 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5240 | 0 | if (message_arena == NULL) { |
5241 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5242 | 0 | } |
5243 | 0 | if (error) { |
5244 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5245 | 0 | if (message_arena != submessage_arena) { |
5246 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5247 | 0 | message_arena, error, submessage_arena); |
5248 | 0 | } |
5249 | 0 | set_has_error(); |
5250 | 0 | } else { |
5251 | 0 | clear_has_error(); |
5252 | 0 | } |
5253 | 0 | error_ = error; |
5254 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteCDCStreamResponsePB.error) |
5255 | 0 | } |
5256 | | |
5257 | | // repeated bytes not_found_stream_ids = 2; |
5258 | 10 | inline int DeleteCDCStreamResponsePB::not_found_stream_ids_size() const { |
5259 | 10 | return not_found_stream_ids_.size(); |
5260 | 10 | } |
5261 | 0 | inline void DeleteCDCStreamResponsePB::clear_not_found_stream_ids() { |
5262 | 0 | not_found_stream_ids_.Clear(); |
5263 | 0 | } |
5264 | 0 | inline const ::std::string& DeleteCDCStreamResponsePB::not_found_stream_ids(int index) const { |
5265 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5266 | 0 | return not_found_stream_ids_.Get(index); |
5267 | 0 | } |
5268 | 0 | inline ::std::string* DeleteCDCStreamResponsePB::mutable_not_found_stream_ids(int index) { |
5269 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5270 | 0 | return not_found_stream_ids_.Mutable(index); |
5271 | 0 | } |
5272 | 0 | inline void DeleteCDCStreamResponsePB::set_not_found_stream_ids(int index, const ::std::string& value) { |
5273 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5274 | 0 | not_found_stream_ids_.Mutable(index)->assign(value); |
5275 | 0 | } |
5276 | | #if LANG_CXX11 |
5277 | 0 | inline void DeleteCDCStreamResponsePB::set_not_found_stream_ids(int index, ::std::string&& value) { |
5278 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5279 | 0 | not_found_stream_ids_.Mutable(index)->assign(std::move(value)); |
5280 | 0 | } |
5281 | | #endif |
5282 | 0 | inline void DeleteCDCStreamResponsePB::set_not_found_stream_ids(int index, const char* value) { |
5283 | 0 | GOOGLE_DCHECK(value != NULL); |
5284 | 0 | not_found_stream_ids_.Mutable(index)->assign(value); |
5285 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5286 | 0 | } |
5287 | 0 | inline void DeleteCDCStreamResponsePB::set_not_found_stream_ids(int index, const void* value, size_t size) { |
5288 | 0 | not_found_stream_ids_.Mutable(index)->assign( |
5289 | 0 | reinterpret_cast<const char*>(value), size); |
5290 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5291 | 0 | } |
5292 | 0 | inline ::std::string* DeleteCDCStreamResponsePB::add_not_found_stream_ids() { |
5293 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5294 | 0 | return not_found_stream_ids_.Add(); |
5295 | 0 | } |
5296 | 0 | inline void DeleteCDCStreamResponsePB::add_not_found_stream_ids(const ::std::string& value) { |
5297 | 0 | not_found_stream_ids_.Add()->assign(value); |
5298 | 0 | // @@protoc_insertion_point(field_add:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5299 | 0 | } |
5300 | | #if LANG_CXX11 |
5301 | 0 | inline void DeleteCDCStreamResponsePB::add_not_found_stream_ids(::std::string&& value) { |
5302 | 0 | not_found_stream_ids_.Add(std::move(value)); |
5303 | 0 | // @@protoc_insertion_point(field_add:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5304 | 0 | } |
5305 | | #endif |
5306 | 0 | inline void DeleteCDCStreamResponsePB::add_not_found_stream_ids(const char* value) { |
5307 | 0 | GOOGLE_DCHECK(value != NULL); |
5308 | 0 | not_found_stream_ids_.Add()->assign(value); |
5309 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5310 | 0 | } |
5311 | 0 | inline void DeleteCDCStreamResponsePB::add_not_found_stream_ids(const void* value, size_t size) { |
5312 | 0 | not_found_stream_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5313 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5314 | 0 | } |
5315 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5316 | 2 | DeleteCDCStreamResponsePB::not_found_stream_ids() const { |
5317 | | // @@protoc_insertion_point(field_list:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5318 | 2 | return not_found_stream_ids_; |
5319 | 2 | } |
5320 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5321 | 0 | DeleteCDCStreamResponsePB::mutable_not_found_stream_ids() { |
5322 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.DeleteCDCStreamResponsePB.not_found_stream_ids) |
5323 | 0 | return ¬_found_stream_ids_; |
5324 | 0 | } |
5325 | | |
5326 | | // ------------------------------------------------------------------- |
5327 | | |
5328 | | // ListCDCStreamsRequestPB |
5329 | | |
5330 | | // optional string table_id = 1; |
5331 | 1 | inline bool ListCDCStreamsRequestPB::has_table_id() const { |
5332 | 1 | return (_has_bits_[0] & 0x00000001u) != 0; |
5333 | 1 | } |
5334 | 0 | inline void ListCDCStreamsRequestPB::set_has_table_id() { |
5335 | 0 | _has_bits_[0] |= 0x00000001u; |
5336 | 0 | } |
5337 | 0 | inline void ListCDCStreamsRequestPB::clear_has_table_id() { |
5338 | 0 | _has_bits_[0] &= ~0x00000001u; |
5339 | 0 | } |
5340 | 0 | inline void ListCDCStreamsRequestPB::clear_table_id() { |
5341 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5342 | 0 | clear_has_table_id(); |
5343 | 0 | } |
5344 | 0 | inline const ::std::string& ListCDCStreamsRequestPB::table_id() const { |
5345 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListCDCStreamsRequestPB.table_id) |
5346 | 0 | return table_id_.GetNoArena(); |
5347 | 0 | } |
5348 | 0 | inline void ListCDCStreamsRequestPB::set_table_id(const ::std::string& value) { |
5349 | 0 | set_has_table_id(); |
5350 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5351 | 0 | // @@protoc_insertion_point(field_set:yb.master.ListCDCStreamsRequestPB.table_id) |
5352 | 0 | } |
5353 | | #if LANG_CXX11 |
5354 | 0 | inline void ListCDCStreamsRequestPB::set_table_id(::std::string&& value) { |
5355 | 0 | set_has_table_id(); |
5356 | 0 | table_id_.SetNoArena( |
5357 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5358 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ListCDCStreamsRequestPB.table_id) |
5359 | 0 | } |
5360 | | #endif |
5361 | 0 | inline void ListCDCStreamsRequestPB::set_table_id(const char* value) { |
5362 | 0 | GOOGLE_DCHECK(value != NULL); |
5363 | 0 | set_has_table_id(); |
5364 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5365 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ListCDCStreamsRequestPB.table_id) |
5366 | 0 | } |
5367 | 0 | inline void ListCDCStreamsRequestPB::set_table_id(const char* value, size_t size) { |
5368 | 0 | set_has_table_id(); |
5369 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5370 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5371 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ListCDCStreamsRequestPB.table_id) |
5372 | 0 | } |
5373 | 0 | inline ::std::string* ListCDCStreamsRequestPB::mutable_table_id() { |
5374 | 0 | set_has_table_id(); |
5375 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListCDCStreamsRequestPB.table_id) |
5376 | 0 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5377 | 0 | } |
5378 | 0 | inline ::std::string* ListCDCStreamsRequestPB::release_table_id() { |
5379 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListCDCStreamsRequestPB.table_id) |
5380 | 0 | clear_has_table_id(); |
5381 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5382 | 0 | } |
5383 | 0 | inline void ListCDCStreamsRequestPB::set_allocated_table_id(::std::string* table_id) { |
5384 | 0 | if (table_id != NULL) { |
5385 | 0 | set_has_table_id(); |
5386 | 0 | } else { |
5387 | 0 | clear_has_table_id(); |
5388 | 0 | } |
5389 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
5390 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListCDCStreamsRequestPB.table_id) |
5391 | 0 | } |
5392 | | |
5393 | | // optional string namespace_id = 2; |
5394 | 1 | inline bool ListCDCStreamsRequestPB::has_namespace_id() const { |
5395 | 1 | return (_has_bits_[0] & 0x00000002u) != 0; |
5396 | 1 | } |
5397 | 0 | inline void ListCDCStreamsRequestPB::set_has_namespace_id() { |
5398 | 0 | _has_bits_[0] |= 0x00000002u; |
5399 | 0 | } |
5400 | 0 | inline void ListCDCStreamsRequestPB::clear_has_namespace_id() { |
5401 | 0 | _has_bits_[0] &= ~0x00000002u; |
5402 | 0 | } |
5403 | 0 | inline void ListCDCStreamsRequestPB::clear_namespace_id() { |
5404 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5405 | 0 | clear_has_namespace_id(); |
5406 | 0 | } |
5407 | 0 | inline const ::std::string& ListCDCStreamsRequestPB::namespace_id() const { |
5408 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5409 | 0 | return namespace_id_.GetNoArena(); |
5410 | 0 | } |
5411 | 0 | inline void ListCDCStreamsRequestPB::set_namespace_id(const ::std::string& value) { |
5412 | 0 | set_has_namespace_id(); |
5413 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5414 | 0 | // @@protoc_insertion_point(field_set:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5415 | 0 | } |
5416 | | #if LANG_CXX11 |
5417 | 0 | inline void ListCDCStreamsRequestPB::set_namespace_id(::std::string&& value) { |
5418 | 0 | set_has_namespace_id(); |
5419 | 0 | namespace_id_.SetNoArena( |
5420 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5421 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5422 | 0 | } |
5423 | | #endif |
5424 | 0 | inline void ListCDCStreamsRequestPB::set_namespace_id(const char* value) { |
5425 | 0 | GOOGLE_DCHECK(value != NULL); |
5426 | 0 | set_has_namespace_id(); |
5427 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5428 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5429 | 0 | } |
5430 | 0 | inline void ListCDCStreamsRequestPB::set_namespace_id(const char* value, size_t size) { |
5431 | 0 | set_has_namespace_id(); |
5432 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5433 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5434 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5435 | 0 | } |
5436 | 0 | inline ::std::string* ListCDCStreamsRequestPB::mutable_namespace_id() { |
5437 | 0 | set_has_namespace_id(); |
5438 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5439 | 0 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5440 | 0 | } |
5441 | 0 | inline ::std::string* ListCDCStreamsRequestPB::release_namespace_id() { |
5442 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5443 | 0 | clear_has_namespace_id(); |
5444 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5445 | 0 | } |
5446 | 0 | inline void ListCDCStreamsRequestPB::set_allocated_namespace_id(::std::string* namespace_id) { |
5447 | 0 | if (namespace_id != NULL) { |
5448 | 0 | set_has_namespace_id(); |
5449 | 0 | } else { |
5450 | 0 | clear_has_namespace_id(); |
5451 | 0 | } |
5452 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
5453 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListCDCStreamsRequestPB.namespace_id) |
5454 | 0 | } |
5455 | | |
5456 | | // optional .yb.master.IdTypePB id_type = 3 [default = TABLE_ID]; |
5457 | 0 | inline bool ListCDCStreamsRequestPB::has_id_type() const { |
5458 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5459 | 0 | } |
5460 | 0 | inline void ListCDCStreamsRequestPB::set_has_id_type() { |
5461 | 0 | _has_bits_[0] |= 0x00000004u; |
5462 | 0 | } |
5463 | 0 | inline void ListCDCStreamsRequestPB::clear_has_id_type() { |
5464 | 0 | _has_bits_[0] &= ~0x00000004u; |
5465 | 0 | } |
5466 | 0 | inline void ListCDCStreamsRequestPB::clear_id_type() { |
5467 | 0 | id_type_ = 1; |
5468 | 0 | clear_has_id_type(); |
5469 | 0 | } |
5470 | 1 | inline ::yb::master::IdTypePB ListCDCStreamsRequestPB::id_type() const { |
5471 | | // @@protoc_insertion_point(field_get:yb.master.ListCDCStreamsRequestPB.id_type) |
5472 | 1 | return static_cast< ::yb::master::IdTypePB >(id_type_); |
5473 | 1 | } |
5474 | 0 | inline void ListCDCStreamsRequestPB::set_id_type(::yb::master::IdTypePB value) { |
5475 | 0 | assert(::yb::master::IdTypePB_IsValid(value)); |
5476 | 0 | set_has_id_type(); |
5477 | 0 | id_type_ = value; |
5478 | 0 | // @@protoc_insertion_point(field_set:yb.master.ListCDCStreamsRequestPB.id_type) |
5479 | 0 | } |
5480 | | |
5481 | | // ------------------------------------------------------------------- |
5482 | | |
5483 | | // ListCDCStreamsResponsePB |
5484 | | |
5485 | | // optional .yb.master.MasterErrorPB error = 1; |
5486 | 5 | inline bool ListCDCStreamsResponsePB::has_error() const { |
5487 | 5 | return (_has_bits_[0] & 0x00000001u) != 0; |
5488 | 5 | } |
5489 | 0 | inline void ListCDCStreamsResponsePB::set_has_error() { |
5490 | 0 | _has_bits_[0] |= 0x00000001u; |
5491 | 0 | } |
5492 | 0 | inline void ListCDCStreamsResponsePB::clear_has_error() { |
5493 | 0 | _has_bits_[0] &= ~0x00000001u; |
5494 | 0 | } |
5495 | 0 | inline const ::yb::master::MasterErrorPB& ListCDCStreamsResponsePB::error() const { |
5496 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5497 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListCDCStreamsResponsePB.error) |
5498 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5499 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5500 | 0 | } |
5501 | 0 | inline ::yb::master::MasterErrorPB* ListCDCStreamsResponsePB::release_error() { |
5502 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListCDCStreamsResponsePB.error) |
5503 | 0 | clear_has_error(); |
5504 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5505 | 0 | error_ = NULL; |
5506 | 0 | return temp; |
5507 | 0 | } |
5508 | 0 | inline ::yb::master::MasterErrorPB* ListCDCStreamsResponsePB::mutable_error() { |
5509 | 0 | set_has_error(); |
5510 | 0 | if (error_ == NULL) { |
5511 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5512 | 0 | } |
5513 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListCDCStreamsResponsePB.error) |
5514 | 0 | return error_; |
5515 | 0 | } |
5516 | 0 | inline void ListCDCStreamsResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5517 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5518 | 0 | if (message_arena == NULL) { |
5519 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5520 | 0 | } |
5521 | 0 | if (error) { |
5522 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5523 | 0 | if (message_arena != submessage_arena) { |
5524 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5525 | 0 | message_arena, error, submessage_arena); |
5526 | 0 | } |
5527 | 0 | set_has_error(); |
5528 | 0 | } else { |
5529 | 0 | clear_has_error(); |
5530 | 0 | } |
5531 | 0 | error_ = error; |
5532 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListCDCStreamsResponsePB.error) |
5533 | 0 | } |
5534 | | |
5535 | | // repeated .yb.master.CDCStreamInfoPB streams = 2; |
5536 | 4 | inline int ListCDCStreamsResponsePB::streams_size() const { |
5537 | 4 | return streams_.size(); |
5538 | 4 | } |
5539 | 0 | inline void ListCDCStreamsResponsePB::clear_streams() { |
5540 | 0 | streams_.Clear(); |
5541 | 0 | } |
5542 | 4 | inline const ::yb::master::CDCStreamInfoPB& ListCDCStreamsResponsePB::streams(int index) const { |
5543 | | // @@protoc_insertion_point(field_get:yb.master.ListCDCStreamsResponsePB.streams) |
5544 | 4 | return streams_.Get(index); |
5545 | 4 | } |
5546 | 0 | inline ::yb::master::CDCStreamInfoPB* ListCDCStreamsResponsePB::mutable_streams(int index) { |
5547 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListCDCStreamsResponsePB.streams) |
5548 | 0 | return streams_.Mutable(index); |
5549 | 0 | } |
5550 | 2 | inline ::yb::master::CDCStreamInfoPB* ListCDCStreamsResponsePB::add_streams() { |
5551 | | // @@protoc_insertion_point(field_add:yb.master.ListCDCStreamsResponsePB.streams) |
5552 | 2 | return streams_.Add(); |
5553 | 2 | } |
5554 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamInfoPB >* |
5555 | 0 | ListCDCStreamsResponsePB::mutable_streams() { |
5556 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ListCDCStreamsResponsePB.streams) |
5557 | 0 | return &streams_; |
5558 | 0 | } |
5559 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::CDCStreamInfoPB >& |
5560 | 0 | ListCDCStreamsResponsePB::streams() const { |
5561 | 0 | // @@protoc_insertion_point(field_list:yb.master.ListCDCStreamsResponsePB.streams) |
5562 | 0 | return streams_; |
5563 | 0 | } |
5564 | | |
5565 | | // ------------------------------------------------------------------- |
5566 | | |
5567 | | // GetCDCStreamRequestPB |
5568 | | |
5569 | | // optional bytes stream_id = 1; |
5570 | 18 | inline bool GetCDCStreamRequestPB::has_stream_id() const { |
5571 | 18 | return (_has_bits_[0] & 0x00000001u) != 0; |
5572 | 18 | } |
5573 | 12 | inline void GetCDCStreamRequestPB::set_has_stream_id() { |
5574 | 12 | _has_bits_[0] |= 0x00000001u; |
5575 | 12 | } |
5576 | 0 | inline void GetCDCStreamRequestPB::clear_has_stream_id() { |
5577 | 0 | _has_bits_[0] &= ~0x00000001u; |
5578 | 0 | } |
5579 | 0 | inline void GetCDCStreamRequestPB::clear_stream_id() { |
5580 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5581 | 0 | clear_has_stream_id(); |
5582 | 0 | } |
5583 | 24 | inline const ::std::string& GetCDCStreamRequestPB::stream_id() const { |
5584 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCStreamRequestPB.stream_id) |
5585 | 24 | return stream_id_.GetNoArena(); |
5586 | 24 | } |
5587 | 6 | inline void GetCDCStreamRequestPB::set_stream_id(const ::std::string& value) { |
5588 | 6 | set_has_stream_id(); |
5589 | 6 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5590 | | // @@protoc_insertion_point(field_set:yb.master.GetCDCStreamRequestPB.stream_id) |
5591 | 6 | } |
5592 | | #if LANG_CXX11 |
5593 | 0 | inline void GetCDCStreamRequestPB::set_stream_id(::std::string&& value) { |
5594 | 0 | set_has_stream_id(); |
5595 | 0 | stream_id_.SetNoArena( |
5596 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5597 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetCDCStreamRequestPB.stream_id) |
5598 | 0 | } |
5599 | | #endif |
5600 | 0 | inline void GetCDCStreamRequestPB::set_stream_id(const char* value) { |
5601 | 0 | GOOGLE_DCHECK(value != NULL); |
5602 | 0 | set_has_stream_id(); |
5603 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5604 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetCDCStreamRequestPB.stream_id) |
5605 | 0 | } |
5606 | 0 | inline void GetCDCStreamRequestPB::set_stream_id(const void* value, size_t size) { |
5607 | 0 | set_has_stream_id(); |
5608 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5609 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5610 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetCDCStreamRequestPB.stream_id) |
5611 | 0 | } |
5612 | 6 | inline ::std::string* GetCDCStreamRequestPB::mutable_stream_id() { |
5613 | 6 | set_has_stream_id(); |
5614 | | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCStreamRequestPB.stream_id) |
5615 | 6 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5616 | 6 | } |
5617 | 0 | inline ::std::string* GetCDCStreamRequestPB::release_stream_id() { |
5618 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCStreamRequestPB.stream_id) |
5619 | 0 | clear_has_stream_id(); |
5620 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5621 | 0 | } |
5622 | 0 | inline void GetCDCStreamRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
5623 | 0 | if (stream_id != NULL) { |
5624 | 0 | set_has_stream_id(); |
5625 | 0 | } else { |
5626 | 0 | clear_has_stream_id(); |
5627 | 0 | } |
5628 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
5629 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCStreamRequestPB.stream_id) |
5630 | 0 | } |
5631 | | |
5632 | | // ------------------------------------------------------------------- |
5633 | | |
5634 | | // GetCDCStreamResponsePB |
5635 | | |
5636 | | // optional .yb.master.MasterErrorPB error = 1; |
5637 | 33 | inline bool GetCDCStreamResponsePB::has_error() const { |
5638 | 33 | return (_has_bits_[0] & 0x00000001u) != 0; |
5639 | 33 | } |
5640 | 6 | inline void GetCDCStreamResponsePB::set_has_error() { |
5641 | 6 | _has_bits_[0] |= 0x00000001u; |
5642 | 6 | } |
5643 | 0 | inline void GetCDCStreamResponsePB::clear_has_error() { |
5644 | 0 | _has_bits_[0] &= ~0x00000001u; |
5645 | 0 | } |
5646 | 5 | inline const ::yb::master::MasterErrorPB& GetCDCStreamResponsePB::error() const { |
5647 | 5 | const ::yb::master::MasterErrorPB* p = error_; |
5648 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCStreamResponsePB.error) |
5649 | 5 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5650 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5651 | 5 | } |
5652 | 0 | inline ::yb::master::MasterErrorPB* GetCDCStreamResponsePB::release_error() { |
5653 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCStreamResponsePB.error) |
5654 | 0 | clear_has_error(); |
5655 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5656 | 0 | error_ = NULL; |
5657 | 0 | return temp; |
5658 | 0 | } |
5659 | 6 | inline ::yb::master::MasterErrorPB* GetCDCStreamResponsePB::mutable_error() { |
5660 | 6 | set_has_error(); |
5661 | 6 | if (error_ == NULL) { |
5662 | 4 | error_ = new ::yb::master::MasterErrorPB; |
5663 | 4 | } |
5664 | | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCStreamResponsePB.error) |
5665 | 6 | return error_; |
5666 | 6 | } |
5667 | 0 | inline void GetCDCStreamResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5668 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5669 | 0 | if (message_arena == NULL) { |
5670 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5671 | 0 | } |
5672 | 0 | if (error) { |
5673 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5674 | 0 | if (message_arena != submessage_arena) { |
5675 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5676 | 0 | message_arena, error, submessage_arena); |
5677 | 0 | } |
5678 | 0 | set_has_error(); |
5679 | 0 | } else { |
5680 | 0 | clear_has_error(); |
5681 | 0 | } |
5682 | 0 | error_ = error; |
5683 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCStreamResponsePB.error) |
5684 | 0 | } |
5685 | | |
5686 | | // optional .yb.master.CDCStreamInfoPB stream = 2; |
5687 | 12 | inline bool GetCDCStreamResponsePB::has_stream() const { |
5688 | 12 | return (_has_bits_[0] & 0x00000002u) != 0; |
5689 | 12 | } |
5690 | 8 | inline void GetCDCStreamResponsePB::set_has_stream() { |
5691 | 8 | _has_bits_[0] |= 0x00000002u; |
5692 | 8 | } |
5693 | 0 | inline void GetCDCStreamResponsePB::clear_has_stream() { |
5694 | 0 | _has_bits_[0] &= ~0x00000002u; |
5695 | 0 | } |
5696 | 0 | inline void GetCDCStreamResponsePB::clear_stream() { |
5697 | 0 | if (stream_ != NULL) stream_->Clear(); |
5698 | 0 | clear_has_stream(); |
5699 | 0 | } |
5700 | 3 | inline const ::yb::master::CDCStreamInfoPB& GetCDCStreamResponsePB::stream() const { |
5701 | 3 | const ::yb::master::CDCStreamInfoPB* p = stream_; |
5702 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCStreamResponsePB.stream) |
5703 | 3 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::CDCStreamInfoPB*>( |
5704 | 0 | &::yb::master::_CDCStreamInfoPB_default_instance_); |
5705 | 3 | } |
5706 | 0 | inline ::yb::master::CDCStreamInfoPB* GetCDCStreamResponsePB::release_stream() { |
5707 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCStreamResponsePB.stream) |
5708 | 0 | clear_has_stream(); |
5709 | 0 | ::yb::master::CDCStreamInfoPB* temp = stream_; |
5710 | 0 | stream_ = NULL; |
5711 | 0 | return temp; |
5712 | 0 | } |
5713 | 8 | inline ::yb::master::CDCStreamInfoPB* GetCDCStreamResponsePB::mutable_stream() { |
5714 | 8 | set_has_stream(); |
5715 | 8 | if (stream_ == NULL) { |
5716 | 7 | stream_ = new ::yb::master::CDCStreamInfoPB; |
5717 | 7 | } |
5718 | | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCStreamResponsePB.stream) |
5719 | 8 | return stream_; |
5720 | 8 | } |
5721 | 0 | inline void GetCDCStreamResponsePB::set_allocated_stream(::yb::master::CDCStreamInfoPB* stream) { |
5722 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5723 | 0 | if (message_arena == NULL) { |
5724 | 0 | delete stream_; |
5725 | 0 | } |
5726 | 0 | if (stream) { |
5727 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5728 | 0 | if (message_arena != submessage_arena) { |
5729 | 0 | stream = ::google::protobuf::internal::GetOwnedMessage( |
5730 | 0 | message_arena, stream, submessage_arena); |
5731 | 0 | } |
5732 | 0 | set_has_stream(); |
5733 | 0 | } else { |
5734 | 0 | clear_has_stream(); |
5735 | 0 | } |
5736 | 0 | stream_ = stream; |
5737 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCStreamResponsePB.stream) |
5738 | 0 | } |
5739 | | |
5740 | | // ------------------------------------------------------------------- |
5741 | | |
5742 | | // GetCDCDBStreamInfoRequestPB |
5743 | | |
5744 | | // optional bytes db_stream_id = 1; |
5745 | 22 | inline bool GetCDCDBStreamInfoRequestPB::has_db_stream_id() const { |
5746 | 22 | return (_has_bits_[0] & 0x00000001u) != 0; |
5747 | 22 | } |
5748 | 22 | inline void GetCDCDBStreamInfoRequestPB::set_has_db_stream_id() { |
5749 | 22 | _has_bits_[0] |= 0x00000001u; |
5750 | 22 | } |
5751 | 0 | inline void GetCDCDBStreamInfoRequestPB::clear_has_db_stream_id() { |
5752 | 0 | _has_bits_[0] &= ~0x00000001u; |
5753 | 0 | } |
5754 | 0 | inline void GetCDCDBStreamInfoRequestPB::clear_db_stream_id() { |
5755 | 0 | db_stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5756 | 0 | clear_has_db_stream_id(); |
5757 | 0 | } |
5758 | 44 | inline const ::std::string& GetCDCDBStreamInfoRequestPB::db_stream_id() const { |
5759 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5760 | 44 | return db_stream_id_.GetNoArena(); |
5761 | 44 | } |
5762 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const ::std::string& value) { |
5763 | 0 | set_has_db_stream_id(); |
5764 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5765 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5766 | 0 | } |
5767 | | #if LANG_CXX11 |
5768 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(::std::string&& value) { |
5769 | 0 | set_has_db_stream_id(); |
5770 | 0 | db_stream_id_.SetNoArena( |
5771 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5772 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5773 | 0 | } |
5774 | | #endif |
5775 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const char* value) { |
5776 | 0 | GOOGLE_DCHECK(value != NULL); |
5777 | 0 | set_has_db_stream_id(); |
5778 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5779 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5780 | 0 | } |
5781 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_db_stream_id(const void* value, size_t size) { |
5782 | 0 | set_has_db_stream_id(); |
5783 | 0 | db_stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5784 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5785 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5786 | 0 | } |
5787 | 22 | inline ::std::string* GetCDCDBStreamInfoRequestPB::mutable_db_stream_id() { |
5788 | 22 | set_has_db_stream_id(); |
5789 | | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5790 | 22 | return db_stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5791 | 22 | } |
5792 | 0 | inline ::std::string* GetCDCDBStreamInfoRequestPB::release_db_stream_id() { |
5793 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5794 | 0 | clear_has_db_stream_id(); |
5795 | 0 | return db_stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5796 | 0 | } |
5797 | 0 | inline void GetCDCDBStreamInfoRequestPB::set_allocated_db_stream_id(::std::string* db_stream_id) { |
5798 | 0 | if (db_stream_id != NULL) { |
5799 | 0 | set_has_db_stream_id(); |
5800 | 0 | } else { |
5801 | 0 | clear_has_db_stream_id(); |
5802 | 0 | } |
5803 | 0 | db_stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), db_stream_id); |
5804 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCDBStreamInfoRequestPB.db_stream_id) |
5805 | 0 | } |
5806 | | |
5807 | | // ------------------------------------------------------------------- |
5808 | | |
5809 | | // GetCDCDBStreamInfoResponsePB_TableInfo |
5810 | | |
5811 | | // optional bytes stream_id = 1; |
5812 | 44 | inline bool GetCDCDBStreamInfoResponsePB_TableInfo::has_stream_id() const { |
5813 | 44 | return (_has_bits_[0] & 0x00000001u) != 0; |
5814 | 44 | } |
5815 | 22 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_has_stream_id() { |
5816 | 22 | _has_bits_[0] |= 0x00000001u; |
5817 | 22 | } |
5818 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::clear_has_stream_id() { |
5819 | 0 | _has_bits_[0] &= ~0x00000001u; |
5820 | 0 | } |
5821 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::clear_stream_id() { |
5822 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5823 | 0 | clear_has_stream_id(); |
5824 | 0 | } |
5825 | 66 | inline const ::std::string& GetCDCDBStreamInfoResponsePB_TableInfo::stream_id() const { |
5826 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5827 | 66 | return stream_id_.GetNoArena(); |
5828 | 66 | } |
5829 | 22 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_stream_id(const ::std::string& value) { |
5830 | 22 | set_has_stream_id(); |
5831 | 22 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5832 | | // @@protoc_insertion_point(field_set:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5833 | 22 | } |
5834 | | #if LANG_CXX11 |
5835 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_stream_id(::std::string&& value) { |
5836 | 0 | set_has_stream_id(); |
5837 | 0 | stream_id_.SetNoArena( |
5838 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5839 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5840 | 0 | } |
5841 | | #endif |
5842 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_stream_id(const char* value) { |
5843 | 0 | GOOGLE_DCHECK(value != NULL); |
5844 | 0 | set_has_stream_id(); |
5845 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5846 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5847 | 0 | } |
5848 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_stream_id(const void* value, size_t size) { |
5849 | 0 | set_has_stream_id(); |
5850 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5851 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5852 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5853 | 0 | } |
5854 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB_TableInfo::mutable_stream_id() { |
5855 | 0 | set_has_stream_id(); |
5856 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5857 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5858 | 0 | } |
5859 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB_TableInfo::release_stream_id() { |
5860 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5861 | 0 | clear_has_stream_id(); |
5862 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5863 | 0 | } |
5864 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_allocated_stream_id(::std::string* stream_id) { |
5865 | 0 | if (stream_id != NULL) { |
5866 | 0 | set_has_stream_id(); |
5867 | 0 | } else { |
5868 | 0 | clear_has_stream_id(); |
5869 | 0 | } |
5870 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
5871 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.stream_id) |
5872 | 0 | } |
5873 | | |
5874 | | // optional bytes table_id = 2; |
5875 | 44 | inline bool GetCDCDBStreamInfoResponsePB_TableInfo::has_table_id() const { |
5876 | 44 | return (_has_bits_[0] & 0x00000002u) != 0; |
5877 | 44 | } |
5878 | 22 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_has_table_id() { |
5879 | 22 | _has_bits_[0] |= 0x00000002u; |
5880 | 22 | } |
5881 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::clear_has_table_id() { |
5882 | 0 | _has_bits_[0] &= ~0x00000002u; |
5883 | 0 | } |
5884 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::clear_table_id() { |
5885 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5886 | 0 | clear_has_table_id(); |
5887 | 0 | } |
5888 | 66 | inline const ::std::string& GetCDCDBStreamInfoResponsePB_TableInfo::table_id() const { |
5889 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5890 | 66 | return table_id_.GetNoArena(); |
5891 | 66 | } |
5892 | 22 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_table_id(const ::std::string& value) { |
5893 | 22 | set_has_table_id(); |
5894 | 22 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5895 | | // @@protoc_insertion_point(field_set:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5896 | 22 | } |
5897 | | #if LANG_CXX11 |
5898 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_table_id(::std::string&& value) { |
5899 | 0 | set_has_table_id(); |
5900 | 0 | table_id_.SetNoArena( |
5901 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5902 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5903 | 0 | } |
5904 | | #endif |
5905 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_table_id(const char* value) { |
5906 | 0 | GOOGLE_DCHECK(value != NULL); |
5907 | 0 | set_has_table_id(); |
5908 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5909 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5910 | 0 | } |
5911 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_table_id(const void* value, size_t size) { |
5912 | 0 | set_has_table_id(); |
5913 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5914 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5915 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5916 | 0 | } |
5917 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB_TableInfo::mutable_table_id() { |
5918 | 0 | set_has_table_id(); |
5919 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5920 | 0 | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5921 | 0 | } |
5922 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB_TableInfo::release_table_id() { |
5923 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5924 | 0 | clear_has_table_id(); |
5925 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5926 | 0 | } |
5927 | 0 | inline void GetCDCDBStreamInfoResponsePB_TableInfo::set_allocated_table_id(::std::string* table_id) { |
5928 | 0 | if (table_id != NULL) { |
5929 | 0 | set_has_table_id(); |
5930 | 0 | } else { |
5931 | 0 | clear_has_table_id(); |
5932 | 0 | } |
5933 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
5934 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCDBStreamInfoResponsePB.TableInfo.table_id) |
5935 | 0 | } |
5936 | | |
5937 | | // ------------------------------------------------------------------- |
5938 | | |
5939 | | // GetCDCDBStreamInfoResponsePB |
5940 | | |
5941 | | // optional .yb.master.MasterErrorPB error = 1; |
5942 | 66 | inline bool GetCDCDBStreamInfoResponsePB::has_error() const { |
5943 | 66 | return (_has_bits_[0] & 0x00000002u) != 0; |
5944 | 66 | } |
5945 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_has_error() { |
5946 | 0 | _has_bits_[0] |= 0x00000002u; |
5947 | 0 | } |
5948 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_has_error() { |
5949 | 0 | _has_bits_[0] &= ~0x00000002u; |
5950 | 0 | } |
5951 | 0 | inline const ::yb::master::MasterErrorPB& GetCDCDBStreamInfoResponsePB::error() const { |
5952 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5953 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetCDCDBStreamInfoResponsePB.error) |
5954 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5955 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5956 | 0 | } |
5957 | 0 | inline ::yb::master::MasterErrorPB* GetCDCDBStreamInfoResponsePB::release_error() { |
5958 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCDBStreamInfoResponsePB.error) |
5959 | 0 | clear_has_error(); |
5960 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5961 | 0 | error_ = NULL; |
5962 | 0 | return temp; |
5963 | 0 | } |
5964 | 0 | inline ::yb::master::MasterErrorPB* GetCDCDBStreamInfoResponsePB::mutable_error() { |
5965 | 0 | set_has_error(); |
5966 | 0 | if (error_ == NULL) { |
5967 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5968 | 0 | } |
5969 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCDBStreamInfoResponsePB.error) |
5970 | 0 | return error_; |
5971 | 0 | } |
5972 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5973 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5974 | 0 | if (message_arena == NULL) { |
5975 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5976 | 0 | } |
5977 | 0 | if (error) { |
5978 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5979 | 0 | if (message_arena != submessage_arena) { |
5980 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5981 | 0 | message_arena, error, submessage_arena); |
5982 | 0 | } |
5983 | 0 | set_has_error(); |
5984 | 0 | } else { |
5985 | 0 | clear_has_error(); |
5986 | 0 | } |
5987 | 0 | error_ = error; |
5988 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCDBStreamInfoResponsePB.error) |
5989 | 0 | } |
5990 | | |
5991 | | // repeated .yb.master.GetCDCDBStreamInfoResponsePB.TableInfo table_info = 2; |
5992 | 66 | inline int GetCDCDBStreamInfoResponsePB::table_info_size() const { |
5993 | 66 | return table_info_.size(); |
5994 | 66 | } |
5995 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_table_info() { |
5996 | 0 | table_info_.Clear(); |
5997 | 0 | } |
5998 | 66 | inline const ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo& GetCDCDBStreamInfoResponsePB::table_info(int index) const { |
5999 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCDBStreamInfoResponsePB.table_info) |
6000 | 66 | return table_info_.Get(index); |
6001 | 66 | } |
6002 | 0 | inline ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo* GetCDCDBStreamInfoResponsePB::mutable_table_info(int index) { |
6003 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCDBStreamInfoResponsePB.table_info) |
6004 | 0 | return table_info_.Mutable(index); |
6005 | 0 | } |
6006 | 22 | inline ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo* GetCDCDBStreamInfoResponsePB::add_table_info() { |
6007 | | // @@protoc_insertion_point(field_add:yb.master.GetCDCDBStreamInfoResponsePB.table_info) |
6008 | 22 | return table_info_.Add(); |
6009 | 22 | } |
6010 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo >* |
6011 | 0 | GetCDCDBStreamInfoResponsePB::mutable_table_info() { |
6012 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.GetCDCDBStreamInfoResponsePB.table_info) |
6013 | 0 | return &table_info_; |
6014 | 0 | } |
6015 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::GetCDCDBStreamInfoResponsePB_TableInfo >& |
6016 | 0 | GetCDCDBStreamInfoResponsePB::table_info() const { |
6017 | 0 | // @@protoc_insertion_point(field_list:yb.master.GetCDCDBStreamInfoResponsePB.table_info) |
6018 | 0 | return table_info_; |
6019 | 0 | } |
6020 | | |
6021 | | // optional bytes namespace_id = 3; |
6022 | 44 | inline bool GetCDCDBStreamInfoResponsePB::has_namespace_id() const { |
6023 | 44 | return (_has_bits_[0] & 0x00000001u) != 0; |
6024 | 44 | } |
6025 | 22 | inline void GetCDCDBStreamInfoResponsePB::set_has_namespace_id() { |
6026 | 22 | _has_bits_[0] |= 0x00000001u; |
6027 | 22 | } |
6028 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_has_namespace_id() { |
6029 | 0 | _has_bits_[0] &= ~0x00000001u; |
6030 | 0 | } |
6031 | 0 | inline void GetCDCDBStreamInfoResponsePB::clear_namespace_id() { |
6032 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6033 | 0 | clear_has_namespace_id(); |
6034 | 0 | } |
6035 | 66 | inline const ::std::string& GetCDCDBStreamInfoResponsePB::namespace_id() const { |
6036 | | // @@protoc_insertion_point(field_get:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6037 | 66 | return namespace_id_.GetNoArena(); |
6038 | 66 | } |
6039 | 22 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const ::std::string& value) { |
6040 | 22 | set_has_namespace_id(); |
6041 | 22 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6042 | | // @@protoc_insertion_point(field_set:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6043 | 22 | } |
6044 | | #if LANG_CXX11 |
6045 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(::std::string&& value) { |
6046 | 0 | set_has_namespace_id(); |
6047 | 0 | namespace_id_.SetNoArena( |
6048 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6049 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6050 | 0 | } |
6051 | | #endif |
6052 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const char* value) { |
6053 | 0 | GOOGLE_DCHECK(value != NULL); |
6054 | 0 | set_has_namespace_id(); |
6055 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6056 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6057 | 0 | } |
6058 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_namespace_id(const void* value, size_t size) { |
6059 | 0 | set_has_namespace_id(); |
6060 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6061 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6062 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6063 | 0 | } |
6064 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB::mutable_namespace_id() { |
6065 | 0 | set_has_namespace_id(); |
6066 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6067 | 0 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6068 | 0 | } |
6069 | 0 | inline ::std::string* GetCDCDBStreamInfoResponsePB::release_namespace_id() { |
6070 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6071 | 0 | clear_has_namespace_id(); |
6072 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6073 | 0 | } |
6074 | 0 | inline void GetCDCDBStreamInfoResponsePB::set_allocated_namespace_id(::std::string* namespace_id) { |
6075 | 0 | if (namespace_id != NULL) { |
6076 | 0 | set_has_namespace_id(); |
6077 | 0 | } else { |
6078 | 0 | clear_has_namespace_id(); |
6079 | 0 | } |
6080 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
6081 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetCDCDBStreamInfoResponsePB.namespace_id) |
6082 | 0 | } |
6083 | | |
6084 | | // ------------------------------------------------------------------- |
6085 | | |
6086 | | // UpdateCDCStreamRequestPB |
6087 | | |
6088 | | // optional bytes stream_id = 1; |
6089 | 0 | inline bool UpdateCDCStreamRequestPB::has_stream_id() const { |
6090 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6091 | 0 | } |
6092 | 0 | inline void UpdateCDCStreamRequestPB::set_has_stream_id() { |
6093 | 0 | _has_bits_[0] |= 0x00000001u; |
6094 | 0 | } |
6095 | 0 | inline void UpdateCDCStreamRequestPB::clear_has_stream_id() { |
6096 | 0 | _has_bits_[0] &= ~0x00000001u; |
6097 | 0 | } |
6098 | 0 | inline void UpdateCDCStreamRequestPB::clear_stream_id() { |
6099 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6100 | 0 | clear_has_stream_id(); |
6101 | 0 | } |
6102 | 0 | inline const ::std::string& UpdateCDCStreamRequestPB::stream_id() const { |
6103 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6104 | 0 | return stream_id_.GetNoArena(); |
6105 | 0 | } |
6106 | 0 | inline void UpdateCDCStreamRequestPB::set_stream_id(const ::std::string& value) { |
6107 | 0 | set_has_stream_id(); |
6108 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6109 | 0 | // @@protoc_insertion_point(field_set:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6110 | 0 | } |
6111 | | #if LANG_CXX11 |
6112 | 0 | inline void UpdateCDCStreamRequestPB::set_stream_id(::std::string&& value) { |
6113 | 0 | set_has_stream_id(); |
6114 | 0 | stream_id_.SetNoArena( |
6115 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6116 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6117 | 0 | } |
6118 | | #endif |
6119 | 0 | inline void UpdateCDCStreamRequestPB::set_stream_id(const char* value) { |
6120 | 0 | GOOGLE_DCHECK(value != NULL); |
6121 | 0 | set_has_stream_id(); |
6122 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6123 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6124 | 0 | } |
6125 | 0 | inline void UpdateCDCStreamRequestPB::set_stream_id(const void* value, size_t size) { |
6126 | 0 | set_has_stream_id(); |
6127 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6128 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6129 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6130 | 0 | } |
6131 | 0 | inline ::std::string* UpdateCDCStreamRequestPB::mutable_stream_id() { |
6132 | 0 | set_has_stream_id(); |
6133 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6134 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6135 | 0 | } |
6136 | 0 | inline ::std::string* UpdateCDCStreamRequestPB::release_stream_id() { |
6137 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6138 | 0 | clear_has_stream_id(); |
6139 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6140 | 0 | } |
6141 | 0 | inline void UpdateCDCStreamRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
6142 | 0 | if (stream_id != NULL) { |
6143 | 0 | set_has_stream_id(); |
6144 | 0 | } else { |
6145 | 0 | clear_has_stream_id(); |
6146 | 0 | } |
6147 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
6148 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateCDCStreamRequestPB.stream_id) |
6149 | 0 | } |
6150 | | |
6151 | | // optional .yb.master.SysCDCStreamEntryPB entry = 2; |
6152 | 0 | inline bool UpdateCDCStreamRequestPB::has_entry() const { |
6153 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6154 | 0 | } |
6155 | 0 | inline void UpdateCDCStreamRequestPB::set_has_entry() { |
6156 | 0 | _has_bits_[0] |= 0x00000002u; |
6157 | 0 | } |
6158 | 0 | inline void UpdateCDCStreamRequestPB::clear_has_entry() { |
6159 | 0 | _has_bits_[0] &= ~0x00000002u; |
6160 | 0 | } |
6161 | 0 | inline const ::yb::master::SysCDCStreamEntryPB& UpdateCDCStreamRequestPB::entry() const { |
6162 | 0 | const ::yb::master::SysCDCStreamEntryPB* p = entry_; |
6163 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateCDCStreamRequestPB.entry) |
6164 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysCDCStreamEntryPB*>( |
6165 | 0 | &::yb::master::_SysCDCStreamEntryPB_default_instance_); |
6166 | 0 | } |
6167 | 0 | inline ::yb::master::SysCDCStreamEntryPB* UpdateCDCStreamRequestPB::release_entry() { |
6168 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateCDCStreamRequestPB.entry) |
6169 | 0 | clear_has_entry(); |
6170 | 0 | ::yb::master::SysCDCStreamEntryPB* temp = entry_; |
6171 | 0 | entry_ = NULL; |
6172 | 0 | return temp; |
6173 | 0 | } |
6174 | 0 | inline ::yb::master::SysCDCStreamEntryPB* UpdateCDCStreamRequestPB::mutable_entry() { |
6175 | 0 | set_has_entry(); |
6176 | 0 | if (entry_ == NULL) { |
6177 | 0 | entry_ = new ::yb::master::SysCDCStreamEntryPB; |
6178 | 0 | } |
6179 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateCDCStreamRequestPB.entry) |
6180 | 0 | return entry_; |
6181 | 0 | } |
6182 | 0 | inline void UpdateCDCStreamRequestPB::set_allocated_entry(::yb::master::SysCDCStreamEntryPB* entry) { |
6183 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6184 | 0 | if (message_arena == NULL) { |
6185 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(entry_); |
6186 | 0 | } |
6187 | 0 | if (entry) { |
6188 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6189 | 0 | if (message_arena != submessage_arena) { |
6190 | 0 | entry = ::google::protobuf::internal::GetOwnedMessage( |
6191 | 0 | message_arena, entry, submessage_arena); |
6192 | 0 | } |
6193 | 0 | set_has_entry(); |
6194 | 0 | } else { |
6195 | 0 | clear_has_entry(); |
6196 | 0 | } |
6197 | 0 | entry_ = entry; |
6198 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateCDCStreamRequestPB.entry) |
6199 | 0 | } |
6200 | | |
6201 | | // ------------------------------------------------------------------- |
6202 | | |
6203 | | // UpdateCDCStreamResponsePB |
6204 | | |
6205 | | // optional .yb.master.MasterErrorPB error = 1; |
6206 | 0 | inline bool UpdateCDCStreamResponsePB::has_error() const { |
6207 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6208 | 0 | } |
6209 | 0 | inline void UpdateCDCStreamResponsePB::set_has_error() { |
6210 | 0 | _has_bits_[0] |= 0x00000001u; |
6211 | 0 | } |
6212 | 0 | inline void UpdateCDCStreamResponsePB::clear_has_error() { |
6213 | 0 | _has_bits_[0] &= ~0x00000001u; |
6214 | 0 | } |
6215 | 0 | inline const ::yb::master::MasterErrorPB& UpdateCDCStreamResponsePB::error() const { |
6216 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6217 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateCDCStreamResponsePB.error) |
6218 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6219 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6220 | 0 | } |
6221 | 0 | inline ::yb::master::MasterErrorPB* UpdateCDCStreamResponsePB::release_error() { |
6222 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateCDCStreamResponsePB.error) |
6223 | 0 | clear_has_error(); |
6224 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6225 | 0 | error_ = NULL; |
6226 | 0 | return temp; |
6227 | 0 | } |
6228 | 0 | inline ::yb::master::MasterErrorPB* UpdateCDCStreamResponsePB::mutable_error() { |
6229 | 0 | set_has_error(); |
6230 | 0 | if (error_ == NULL) { |
6231 | 0 | error_ = new ::yb::master::MasterErrorPB; |
6232 | 0 | } |
6233 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateCDCStreamResponsePB.error) |
6234 | 0 | return error_; |
6235 | 0 | } |
6236 | 0 | inline void UpdateCDCStreamResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6237 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6238 | 0 | if (message_arena == NULL) { |
6239 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6240 | 0 | } |
6241 | 0 | if (error) { |
6242 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6243 | 0 | if (message_arena != submessage_arena) { |
6244 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6245 | 0 | message_arena, error, submessage_arena); |
6246 | 0 | } |
6247 | 0 | set_has_error(); |
6248 | 0 | } else { |
6249 | 0 | clear_has_error(); |
6250 | 0 | } |
6251 | 0 | error_ = error; |
6252 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateCDCStreamResponsePB.error) |
6253 | 0 | } |
6254 | | |
6255 | | // ------------------------------------------------------------------- |
6256 | | |
6257 | | // SetupUniverseReplicationRequestPB |
6258 | | |
6259 | | // optional string producer_id = 1; |
6260 | 6 | inline bool SetupUniverseReplicationRequestPB::has_producer_id() const { |
6261 | 6 | return (_has_bits_[0] & 0x00000001u) != 0; |
6262 | 6 | } |
6263 | 4 | inline void SetupUniverseReplicationRequestPB::set_has_producer_id() { |
6264 | 4 | _has_bits_[0] |= 0x00000001u; |
6265 | 4 | } |
6266 | 0 | inline void SetupUniverseReplicationRequestPB::clear_has_producer_id() { |
6267 | 0 | _has_bits_[0] &= ~0x00000001u; |
6268 | 0 | } |
6269 | 0 | inline void SetupUniverseReplicationRequestPB::clear_producer_id() { |
6270 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6271 | 0 | clear_has_producer_id(); |
6272 | 0 | } |
6273 | 22 | inline const ::std::string& SetupUniverseReplicationRequestPB::producer_id() const { |
6274 | | // @@protoc_insertion_point(field_get:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6275 | 22 | return producer_id_.GetNoArena(); |
6276 | 22 | } |
6277 | 2 | inline void SetupUniverseReplicationRequestPB::set_producer_id(const ::std::string& value) { |
6278 | 2 | set_has_producer_id(); |
6279 | 2 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6280 | | // @@protoc_insertion_point(field_set:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6281 | 2 | } |
6282 | | #if LANG_CXX11 |
6283 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_id(::std::string&& value) { |
6284 | 0 | set_has_producer_id(); |
6285 | 0 | producer_id_.SetNoArena( |
6286 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6287 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6288 | 0 | } |
6289 | | #endif |
6290 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_id(const char* value) { |
6291 | 0 | GOOGLE_DCHECK(value != NULL); |
6292 | 0 | set_has_producer_id(); |
6293 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6294 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6295 | 0 | } |
6296 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_id(const char* value, size_t size) { |
6297 | 0 | set_has_producer_id(); |
6298 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6299 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6300 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6301 | 0 | } |
6302 | 2 | inline ::std::string* SetupUniverseReplicationRequestPB::mutable_producer_id() { |
6303 | 2 | set_has_producer_id(); |
6304 | | // @@protoc_insertion_point(field_mutable:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6305 | 2 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6306 | 2 | } |
6307 | 0 | inline ::std::string* SetupUniverseReplicationRequestPB::release_producer_id() { |
6308 | 0 | // @@protoc_insertion_point(field_release:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6309 | 0 | clear_has_producer_id(); |
6310 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6311 | 0 | } |
6312 | 0 | inline void SetupUniverseReplicationRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
6313 | 0 | if (producer_id != NULL) { |
6314 | 0 | set_has_producer_id(); |
6315 | 0 | } else { |
6316 | 0 | clear_has_producer_id(); |
6317 | 0 | } |
6318 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
6319 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SetupUniverseReplicationRequestPB.producer_id) |
6320 | 0 | } |
6321 | | |
6322 | | // repeated .yb.HostPortPB producer_master_addresses = 2; |
6323 | 8 | inline int SetupUniverseReplicationRequestPB::producer_master_addresses_size() const { |
6324 | 8 | return producer_master_addresses_.size(); |
6325 | 8 | } |
6326 | 6 | inline const ::yb::HostPortPB& SetupUniverseReplicationRequestPB::producer_master_addresses(int index) const { |
6327 | | // @@protoc_insertion_point(field_get:yb.master.SetupUniverseReplicationRequestPB.producer_master_addresses) |
6328 | 6 | return producer_master_addresses_.Get(index); |
6329 | 6 | } |
6330 | 0 | inline ::yb::HostPortPB* SetupUniverseReplicationRequestPB::mutable_producer_master_addresses(int index) { |
6331 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetupUniverseReplicationRequestPB.producer_master_addresses) |
6332 | 0 | return producer_master_addresses_.Mutable(index); |
6333 | 0 | } |
6334 | 4 | inline ::yb::HostPortPB* SetupUniverseReplicationRequestPB::add_producer_master_addresses() { |
6335 | | // @@protoc_insertion_point(field_add:yb.master.SetupUniverseReplicationRequestPB.producer_master_addresses) |
6336 | 4 | return producer_master_addresses_.Add(); |
6337 | 4 | } |
6338 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
6339 | 2 | SetupUniverseReplicationRequestPB::mutable_producer_master_addresses() { |
6340 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SetupUniverseReplicationRequestPB.producer_master_addresses) |
6341 | 2 | return &producer_master_addresses_; |
6342 | 2 | } |
6343 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
6344 | 10 | SetupUniverseReplicationRequestPB::producer_master_addresses() const { |
6345 | | // @@protoc_insertion_point(field_list:yb.master.SetupUniverseReplicationRequestPB.producer_master_addresses) |
6346 | 10 | return producer_master_addresses_; |
6347 | 10 | } |
6348 | | |
6349 | | // repeated string producer_table_ids = 3; |
6350 | 14 | inline int SetupUniverseReplicationRequestPB::producer_table_ids_size() const { |
6351 | 14 | return producer_table_ids_.size(); |
6352 | 14 | } |
6353 | 0 | inline void SetupUniverseReplicationRequestPB::clear_producer_table_ids() { |
6354 | 0 | producer_table_ids_.Clear(); |
6355 | 0 | } |
6356 | 14 | inline const ::std::string& SetupUniverseReplicationRequestPB::producer_table_ids(int index) const { |
6357 | | // @@protoc_insertion_point(field_get:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6358 | 14 | return producer_table_ids_.Get(index); |
6359 | 14 | } |
6360 | 0 | inline ::std::string* SetupUniverseReplicationRequestPB::mutable_producer_table_ids(int index) { |
6361 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6362 | 0 | return producer_table_ids_.Mutable(index); |
6363 | 0 | } |
6364 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_table_ids(int index, const ::std::string& value) { |
6365 | 0 | // @@protoc_insertion_point(field_set:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6366 | 0 | producer_table_ids_.Mutable(index)->assign(value); |
6367 | 0 | } |
6368 | | #if LANG_CXX11 |
6369 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_table_ids(int index, ::std::string&& value) { |
6370 | 0 | // @@protoc_insertion_point(field_set:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6371 | 0 | producer_table_ids_.Mutable(index)->assign(std::move(value)); |
6372 | 0 | } |
6373 | | #endif |
6374 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_table_ids(int index, const char* value) { |
6375 | 0 | GOOGLE_DCHECK(value != NULL); |
6376 | 0 | producer_table_ids_.Mutable(index)->assign(value); |
6377 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6378 | 0 | } |
6379 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_table_ids(int index, const char* value, size_t size) { |
6380 | 0 | producer_table_ids_.Mutable(index)->assign( |
6381 | 0 | reinterpret_cast<const char*>(value), size); |
6382 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6383 | 0 | } |
6384 | 2 | inline ::std::string* SetupUniverseReplicationRequestPB::add_producer_table_ids() { |
6385 | | // @@protoc_insertion_point(field_add_mutable:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6386 | 2 | return producer_table_ids_.Add(); |
6387 | 2 | } |
6388 | 2 | inline void SetupUniverseReplicationRequestPB::add_producer_table_ids(const ::std::string& value) { |
6389 | 2 | producer_table_ids_.Add()->assign(value); |
6390 | | // @@protoc_insertion_point(field_add:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6391 | 2 | } |
6392 | | #if LANG_CXX11 |
6393 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_table_ids(::std::string&& value) { |
6394 | 0 | producer_table_ids_.Add(std::move(value)); |
6395 | 0 | // @@protoc_insertion_point(field_add:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6396 | 0 | } |
6397 | | #endif |
6398 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_table_ids(const char* value) { |
6399 | 0 | GOOGLE_DCHECK(value != NULL); |
6400 | 0 | producer_table_ids_.Add()->assign(value); |
6401 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6402 | 0 | } |
6403 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_table_ids(const char* value, size_t size) { |
6404 | 0 | producer_table_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
6405 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6406 | 0 | } |
6407 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
6408 | 2 | SetupUniverseReplicationRequestPB::producer_table_ids() const { |
6409 | | // @@protoc_insertion_point(field_list:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6410 | 2 | return producer_table_ids_; |
6411 | 2 | } |
6412 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
6413 | 2 | SetupUniverseReplicationRequestPB::mutable_producer_table_ids() { |
6414 | | // @@protoc_insertion_point(field_mutable_list:yb.master.SetupUniverseReplicationRequestPB.producer_table_ids) |
6415 | 2 | return &producer_table_ids_; |
6416 | 2 | } |
6417 | | |
6418 | | // repeated string producer_bootstrap_ids = 4; |
6419 | 12 | inline int SetupUniverseReplicationRequestPB::producer_bootstrap_ids_size() const { |
6420 | 12 | return producer_bootstrap_ids_.size(); |
6421 | 12 | } |
6422 | 0 | inline void SetupUniverseReplicationRequestPB::clear_producer_bootstrap_ids() { |
6423 | 0 | producer_bootstrap_ids_.Clear(); |
6424 | 0 | } |
6425 | 0 | inline const ::std::string& SetupUniverseReplicationRequestPB::producer_bootstrap_ids(int index) const { |
6426 | 0 | // @@protoc_insertion_point(field_get:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6427 | 0 | return producer_bootstrap_ids_.Get(index); |
6428 | 0 | } |
6429 | 0 | inline ::std::string* SetupUniverseReplicationRequestPB::mutable_producer_bootstrap_ids(int index) { |
6430 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6431 | 0 | return producer_bootstrap_ids_.Mutable(index); |
6432 | 0 | } |
6433 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_bootstrap_ids(int index, const ::std::string& value) { |
6434 | 0 | // @@protoc_insertion_point(field_set:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6435 | 0 | producer_bootstrap_ids_.Mutable(index)->assign(value); |
6436 | 0 | } |
6437 | | #if LANG_CXX11 |
6438 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_bootstrap_ids(int index, ::std::string&& value) { |
6439 | 0 | // @@protoc_insertion_point(field_set:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6440 | 0 | producer_bootstrap_ids_.Mutable(index)->assign(std::move(value)); |
6441 | 0 | } |
6442 | | #endif |
6443 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_bootstrap_ids(int index, const char* value) { |
6444 | 0 | GOOGLE_DCHECK(value != NULL); |
6445 | 0 | producer_bootstrap_ids_.Mutable(index)->assign(value); |
6446 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6447 | 0 | } |
6448 | 0 | inline void SetupUniverseReplicationRequestPB::set_producer_bootstrap_ids(int index, const char* value, size_t size) { |
6449 | 0 | producer_bootstrap_ids_.Mutable(index)->assign( |
6450 | 0 | reinterpret_cast<const char*>(value), size); |
6451 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6452 | 0 | } |
6453 | 0 | inline ::std::string* SetupUniverseReplicationRequestPB::add_producer_bootstrap_ids() { |
6454 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6455 | 0 | return producer_bootstrap_ids_.Add(); |
6456 | 0 | } |
6457 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_bootstrap_ids(const ::std::string& value) { |
6458 | 0 | producer_bootstrap_ids_.Add()->assign(value); |
6459 | 0 | // @@protoc_insertion_point(field_add:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6460 | 0 | } |
6461 | | #if LANG_CXX11 |
6462 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_bootstrap_ids(::std::string&& value) { |
6463 | 0 | producer_bootstrap_ids_.Add(std::move(value)); |
6464 | 0 | // @@protoc_insertion_point(field_add:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6465 | 0 | } |
6466 | | #endif |
6467 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_bootstrap_ids(const char* value) { |
6468 | 0 | GOOGLE_DCHECK(value != NULL); |
6469 | 0 | producer_bootstrap_ids_.Add()->assign(value); |
6470 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6471 | 0 | } |
6472 | 0 | inline void SetupUniverseReplicationRequestPB::add_producer_bootstrap_ids(const char* value, size_t size) { |
6473 | 0 | producer_bootstrap_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
6474 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6475 | 0 | } |
6476 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
6477 | 4 | SetupUniverseReplicationRequestPB::producer_bootstrap_ids() const { |
6478 | | // @@protoc_insertion_point(field_list:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6479 | 4 | return producer_bootstrap_ids_; |
6480 | 4 | } |
6481 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
6482 | 0 | SetupUniverseReplicationRequestPB::mutable_producer_bootstrap_ids() { |
6483 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SetupUniverseReplicationRequestPB.producer_bootstrap_ids) |
6484 | 0 | return &producer_bootstrap_ids_; |
6485 | 0 | } |
6486 | | |
6487 | | // ------------------------------------------------------------------- |
6488 | | |
6489 | | // SetupUniverseReplicationResponsePB |
6490 | | |
6491 | | // optional .yb.master.MasterErrorPB error = 1; |
6492 | 0 | inline bool SetupUniverseReplicationResponsePB::has_error() const { |
6493 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6494 | 0 | } |
6495 | 0 | inline void SetupUniverseReplicationResponsePB::set_has_error() { |
6496 | 0 | _has_bits_[0] |= 0x00000001u; |
6497 | 0 | } |
6498 | 0 | inline void SetupUniverseReplicationResponsePB::clear_has_error() { |
6499 | 0 | _has_bits_[0] &= ~0x00000001u; |
6500 | 0 | } |
6501 | 0 | inline const ::yb::master::MasterErrorPB& SetupUniverseReplicationResponsePB::error() const { |
6502 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6503 | 0 | // @@protoc_insertion_point(field_get:yb.master.SetupUniverseReplicationResponsePB.error) |
6504 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6505 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6506 | 0 | } |
6507 | 0 | inline ::yb::master::MasterErrorPB* SetupUniverseReplicationResponsePB::release_error() { |
6508 | 0 | // @@protoc_insertion_point(field_release:yb.master.SetupUniverseReplicationResponsePB.error) |
6509 | 0 | clear_has_error(); |
6510 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6511 | 0 | error_ = NULL; |
6512 | 0 | return temp; |
6513 | 0 | } |
6514 | 0 | inline ::yb::master::MasterErrorPB* SetupUniverseReplicationResponsePB::mutable_error() { |
6515 | 0 | set_has_error(); |
6516 | 0 | if (error_ == NULL) { |
6517 | 0 | error_ = new ::yb::master::MasterErrorPB; |
6518 | 0 | } |
6519 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetupUniverseReplicationResponsePB.error) |
6520 | 0 | return error_; |
6521 | 0 | } |
6522 | 0 | inline void SetupUniverseReplicationResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6523 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6524 | 0 | if (message_arena == NULL) { |
6525 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6526 | 0 | } |
6527 | 0 | if (error) { |
6528 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6529 | 0 | if (message_arena != submessage_arena) { |
6530 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6531 | 0 | message_arena, error, submessage_arena); |
6532 | 0 | } |
6533 | 0 | set_has_error(); |
6534 | 0 | } else { |
6535 | 0 | clear_has_error(); |
6536 | 0 | } |
6537 | 0 | error_ = error; |
6538 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SetupUniverseReplicationResponsePB.error) |
6539 | 0 | } |
6540 | | |
6541 | | // ------------------------------------------------------------------- |
6542 | | |
6543 | | // DeleteUniverseReplicationRequestPB |
6544 | | |
6545 | | // optional string producer_id = 1; |
6546 | 0 | inline bool DeleteUniverseReplicationRequestPB::has_producer_id() const { |
6547 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6548 | 0 | } |
6549 | 0 | inline void DeleteUniverseReplicationRequestPB::set_has_producer_id() { |
6550 | 0 | _has_bits_[0] |= 0x00000001u; |
6551 | 0 | } |
6552 | 0 | inline void DeleteUniverseReplicationRequestPB::clear_has_producer_id() { |
6553 | 0 | _has_bits_[0] &= ~0x00000001u; |
6554 | 0 | } |
6555 | 0 | inline void DeleteUniverseReplicationRequestPB::clear_producer_id() { |
6556 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6557 | 0 | clear_has_producer_id(); |
6558 | 0 | } |
6559 | 0 | inline const ::std::string& DeleteUniverseReplicationRequestPB::producer_id() const { |
6560 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6561 | 0 | return producer_id_.GetNoArena(); |
6562 | 0 | } |
6563 | 0 | inline void DeleteUniverseReplicationRequestPB::set_producer_id(const ::std::string& value) { |
6564 | 0 | set_has_producer_id(); |
6565 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6566 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6567 | 0 | } |
6568 | | #if LANG_CXX11 |
6569 | 0 | inline void DeleteUniverseReplicationRequestPB::set_producer_id(::std::string&& value) { |
6570 | 0 | set_has_producer_id(); |
6571 | 0 | producer_id_.SetNoArena( |
6572 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6573 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6574 | 0 | } |
6575 | | #endif |
6576 | 0 | inline void DeleteUniverseReplicationRequestPB::set_producer_id(const char* value) { |
6577 | 0 | GOOGLE_DCHECK(value != NULL); |
6578 | 0 | set_has_producer_id(); |
6579 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6580 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6581 | 0 | } |
6582 | 0 | inline void DeleteUniverseReplicationRequestPB::set_producer_id(const char* value, size_t size) { |
6583 | 0 | set_has_producer_id(); |
6584 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6585 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6586 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6587 | 0 | } |
6588 | 0 | inline ::std::string* DeleteUniverseReplicationRequestPB::mutable_producer_id() { |
6589 | 0 | set_has_producer_id(); |
6590 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6591 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6592 | 0 | } |
6593 | 0 | inline ::std::string* DeleteUniverseReplicationRequestPB::release_producer_id() { |
6594 | 0 | // @@protoc_insertion_point(field_release:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6595 | 0 | clear_has_producer_id(); |
6596 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6597 | 0 | } |
6598 | 0 | inline void DeleteUniverseReplicationRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
6599 | 0 | if (producer_id != NULL) { |
6600 | 0 | set_has_producer_id(); |
6601 | 0 | } else { |
6602 | 0 | clear_has_producer_id(); |
6603 | 0 | } |
6604 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
6605 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteUniverseReplicationRequestPB.producer_id) |
6606 | 0 | } |
6607 | | |
6608 | | // optional bool ignore_errors = 2 [default = false]; |
6609 | 0 | inline bool DeleteUniverseReplicationRequestPB::has_ignore_errors() const { |
6610 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6611 | 0 | } |
6612 | 0 | inline void DeleteUniverseReplicationRequestPB::set_has_ignore_errors() { |
6613 | 0 | _has_bits_[0] |= 0x00000002u; |
6614 | 0 | } |
6615 | 0 | inline void DeleteUniverseReplicationRequestPB::clear_has_ignore_errors() { |
6616 | 0 | _has_bits_[0] &= ~0x00000002u; |
6617 | 0 | } |
6618 | 0 | inline void DeleteUniverseReplicationRequestPB::clear_ignore_errors() { |
6619 | 0 | ignore_errors_ = false; |
6620 | 0 | clear_has_ignore_errors(); |
6621 | 0 | } |
6622 | 0 | inline bool DeleteUniverseReplicationRequestPB::ignore_errors() const { |
6623 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteUniverseReplicationRequestPB.ignore_errors) |
6624 | 0 | return ignore_errors_; |
6625 | 0 | } |
6626 | 0 | inline void DeleteUniverseReplicationRequestPB::set_ignore_errors(bool value) { |
6627 | 0 | set_has_ignore_errors(); |
6628 | 0 | ignore_errors_ = value; |
6629 | 0 | // @@protoc_insertion_point(field_set:yb.master.DeleteUniverseReplicationRequestPB.ignore_errors) |
6630 | 0 | } |
6631 | | |
6632 | | // ------------------------------------------------------------------- |
6633 | | |
6634 | | // DeleteUniverseReplicationResponsePB |
6635 | | |
6636 | | // optional .yb.master.MasterErrorPB error = 1; |
6637 | 0 | inline bool DeleteUniverseReplicationResponsePB::has_error() const { |
6638 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6639 | 0 | } |
6640 | 0 | inline void DeleteUniverseReplicationResponsePB::set_has_error() { |
6641 | 0 | _has_bits_[0] |= 0x00000001u; |
6642 | 0 | } |
6643 | 0 | inline void DeleteUniverseReplicationResponsePB::clear_has_error() { |
6644 | 0 | _has_bits_[0] &= ~0x00000001u; |
6645 | 0 | } |
6646 | 0 | inline const ::yb::master::MasterErrorPB& DeleteUniverseReplicationResponsePB::error() const { |
6647 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6648 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteUniverseReplicationResponsePB.error) |
6649 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6650 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6651 | 0 | } |
6652 | 0 | inline ::yb::master::MasterErrorPB* DeleteUniverseReplicationResponsePB::release_error() { |
6653 | 0 | // @@protoc_insertion_point(field_release:yb.master.DeleteUniverseReplicationResponsePB.error) |
6654 | 0 | clear_has_error(); |
6655 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6656 | 0 | error_ = NULL; |
6657 | 0 | return temp; |
6658 | 0 | } |
6659 | 0 | inline ::yb::master::MasterErrorPB* DeleteUniverseReplicationResponsePB::mutable_error() { |
6660 | 0 | set_has_error(); |
6661 | 0 | if (error_ == NULL) { |
6662 | 0 | error_ = new ::yb::master::MasterErrorPB; |
6663 | 0 | } |
6664 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DeleteUniverseReplicationResponsePB.error) |
6665 | 0 | return error_; |
6666 | 0 | } |
6667 | 0 | inline void DeleteUniverseReplicationResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6668 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6669 | 0 | if (message_arena == NULL) { |
6670 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6671 | 0 | } |
6672 | 0 | if (error) { |
6673 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6674 | 0 | if (message_arena != submessage_arena) { |
6675 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6676 | 0 | message_arena, error, submessage_arena); |
6677 | 0 | } |
6678 | 0 | set_has_error(); |
6679 | 0 | } else { |
6680 | 0 | clear_has_error(); |
6681 | 0 | } |
6682 | 0 | error_ = error; |
6683 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DeleteUniverseReplicationResponsePB.error) |
6684 | 0 | } |
6685 | | |
6686 | | // repeated .yb.AppStatusPB warnings = 2; |
6687 | 0 | inline int DeleteUniverseReplicationResponsePB::warnings_size() const { |
6688 | 0 | return warnings_.size(); |
6689 | 0 | } |
6690 | 0 | inline const ::yb::AppStatusPB& DeleteUniverseReplicationResponsePB::warnings(int index) const { |
6691 | 0 | // @@protoc_insertion_point(field_get:yb.master.DeleteUniverseReplicationResponsePB.warnings) |
6692 | 0 | return warnings_.Get(index); |
6693 | 0 | } |
6694 | 0 | inline ::yb::AppStatusPB* DeleteUniverseReplicationResponsePB::mutable_warnings(int index) { |
6695 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DeleteUniverseReplicationResponsePB.warnings) |
6696 | 0 | return warnings_.Mutable(index); |
6697 | 0 | } |
6698 | 0 | inline ::yb::AppStatusPB* DeleteUniverseReplicationResponsePB::add_warnings() { |
6699 | 0 | // @@protoc_insertion_point(field_add:yb.master.DeleteUniverseReplicationResponsePB.warnings) |
6700 | 0 | return warnings_.Add(); |
6701 | 0 | } |
6702 | | inline ::google::protobuf::RepeatedPtrField< ::yb::AppStatusPB >* |
6703 | 0 | DeleteUniverseReplicationResponsePB::mutable_warnings() { |
6704 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.DeleteUniverseReplicationResponsePB.warnings) |
6705 | 0 | return &warnings_; |
6706 | 0 | } |
6707 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::AppStatusPB >& |
6708 | 0 | DeleteUniverseReplicationResponsePB::warnings() const { |
6709 | 0 | // @@protoc_insertion_point(field_list:yb.master.DeleteUniverseReplicationResponsePB.warnings) |
6710 | 0 | return warnings_; |
6711 | 0 | } |
6712 | | |
6713 | | // ------------------------------------------------------------------- |
6714 | | |
6715 | | // AlterUniverseReplicationRequestPB |
6716 | | |
6717 | | // optional string producer_id = 1; |
6718 | 0 | inline bool AlterUniverseReplicationRequestPB::has_producer_id() const { |
6719 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
6720 | 0 | } |
6721 | 0 | inline void AlterUniverseReplicationRequestPB::set_has_producer_id() { |
6722 | 0 | _has_bits_[0] |= 0x00000001u; |
6723 | 0 | } |
6724 | 0 | inline void AlterUniverseReplicationRequestPB::clear_has_producer_id() { |
6725 | 0 | _has_bits_[0] &= ~0x00000001u; |
6726 | 0 | } |
6727 | 0 | inline void AlterUniverseReplicationRequestPB::clear_producer_id() { |
6728 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6729 | 0 | clear_has_producer_id(); |
6730 | 0 | } |
6731 | 0 | inline const ::std::string& AlterUniverseReplicationRequestPB::producer_id() const { |
6732 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6733 | 0 | return producer_id_.GetNoArena(); |
6734 | 0 | } |
6735 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_id(const ::std::string& value) { |
6736 | 0 | set_has_producer_id(); |
6737 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6738 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6739 | 0 | } |
6740 | | #if LANG_CXX11 |
6741 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_id(::std::string&& value) { |
6742 | 0 | set_has_producer_id(); |
6743 | 0 | producer_id_.SetNoArena( |
6744 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6745 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6746 | 0 | } |
6747 | | #endif |
6748 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_id(const char* value) { |
6749 | 0 | GOOGLE_DCHECK(value != NULL); |
6750 | 0 | set_has_producer_id(); |
6751 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6752 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6753 | 0 | } |
6754 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_id(const char* value, size_t size) { |
6755 | 0 | set_has_producer_id(); |
6756 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6757 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6758 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6759 | 0 | } |
6760 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::mutable_producer_id() { |
6761 | 0 | set_has_producer_id(); |
6762 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6763 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6764 | 0 | } |
6765 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::release_producer_id() { |
6766 | 0 | // @@protoc_insertion_point(field_release:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6767 | 0 | clear_has_producer_id(); |
6768 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6769 | 0 | } |
6770 | 0 | inline void AlterUniverseReplicationRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
6771 | 0 | if (producer_id != NULL) { |
6772 | 0 | set_has_producer_id(); |
6773 | 0 | } else { |
6774 | 0 | clear_has_producer_id(); |
6775 | 0 | } |
6776 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
6777 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.AlterUniverseReplicationRequestPB.producer_id) |
6778 | 0 | } |
6779 | | |
6780 | | // repeated .yb.HostPortPB producer_master_addresses = 2; |
6781 | 0 | inline int AlterUniverseReplicationRequestPB::producer_master_addresses_size() const { |
6782 | 0 | return producer_master_addresses_.size(); |
6783 | 0 | } |
6784 | 0 | inline const ::yb::HostPortPB& AlterUniverseReplicationRequestPB::producer_master_addresses(int index) const { |
6785 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationRequestPB.producer_master_addresses) |
6786 | 0 | return producer_master_addresses_.Get(index); |
6787 | 0 | } |
6788 | 0 | inline ::yb::HostPortPB* AlterUniverseReplicationRequestPB::mutable_producer_master_addresses(int index) { |
6789 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_master_addresses) |
6790 | 0 | return producer_master_addresses_.Mutable(index); |
6791 | 0 | } |
6792 | 0 | inline ::yb::HostPortPB* AlterUniverseReplicationRequestPB::add_producer_master_addresses() { |
6793 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_master_addresses) |
6794 | 0 | return producer_master_addresses_.Add(); |
6795 | 0 | } |
6796 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
6797 | 0 | AlterUniverseReplicationRequestPB::mutable_producer_master_addresses() { |
6798 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.AlterUniverseReplicationRequestPB.producer_master_addresses) |
6799 | 0 | return &producer_master_addresses_; |
6800 | 0 | } |
6801 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
6802 | 0 | AlterUniverseReplicationRequestPB::producer_master_addresses() const { |
6803 | 0 | // @@protoc_insertion_point(field_list:yb.master.AlterUniverseReplicationRequestPB.producer_master_addresses) |
6804 | 0 | return producer_master_addresses_; |
6805 | 0 | } |
6806 | | |
6807 | | // repeated string producer_table_ids_to_add = 4; |
6808 | 0 | inline int AlterUniverseReplicationRequestPB::producer_table_ids_to_add_size() const { |
6809 | 0 | return producer_table_ids_to_add_.size(); |
6810 | 0 | } |
6811 | 0 | inline void AlterUniverseReplicationRequestPB::clear_producer_table_ids_to_add() { |
6812 | 0 | producer_table_ids_to_add_.Clear(); |
6813 | 0 | } |
6814 | 0 | inline const ::std::string& AlterUniverseReplicationRequestPB::producer_table_ids_to_add(int index) const { |
6815 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6816 | 0 | return producer_table_ids_to_add_.Get(index); |
6817 | 0 | } |
6818 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::mutable_producer_table_ids_to_add(int index) { |
6819 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6820 | 0 | return producer_table_ids_to_add_.Mutable(index); |
6821 | 0 | } |
6822 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_add(int index, const ::std::string& value) { |
6823 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6824 | 0 | producer_table_ids_to_add_.Mutable(index)->assign(value); |
6825 | 0 | } |
6826 | | #if LANG_CXX11 |
6827 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_add(int index, ::std::string&& value) { |
6828 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6829 | 0 | producer_table_ids_to_add_.Mutable(index)->assign(std::move(value)); |
6830 | 0 | } |
6831 | | #endif |
6832 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_add(int index, const char* value) { |
6833 | 0 | GOOGLE_DCHECK(value != NULL); |
6834 | 0 | producer_table_ids_to_add_.Mutable(index)->assign(value); |
6835 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6836 | 0 | } |
6837 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_add(int index, const char* value, size_t size) { |
6838 | 0 | producer_table_ids_to_add_.Mutable(index)->assign( |
6839 | 0 | reinterpret_cast<const char*>(value), size); |
6840 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6841 | 0 | } |
6842 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::add_producer_table_ids_to_add() { |
6843 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6844 | 0 | return producer_table_ids_to_add_.Add(); |
6845 | 0 | } |
6846 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_add(const ::std::string& value) { |
6847 | 0 | producer_table_ids_to_add_.Add()->assign(value); |
6848 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6849 | 0 | } |
6850 | | #if LANG_CXX11 |
6851 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_add(::std::string&& value) { |
6852 | 0 | producer_table_ids_to_add_.Add(std::move(value)); |
6853 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6854 | 0 | } |
6855 | | #endif |
6856 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_add(const char* value) { |
6857 | 0 | GOOGLE_DCHECK(value != NULL); |
6858 | 0 | producer_table_ids_to_add_.Add()->assign(value); |
6859 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6860 | 0 | } |
6861 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_add(const char* value, size_t size) { |
6862 | 0 | producer_table_ids_to_add_.Add()->assign(reinterpret_cast<const char*>(value), size); |
6863 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6864 | 0 | } |
6865 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
6866 | 0 | AlterUniverseReplicationRequestPB::producer_table_ids_to_add() const { |
6867 | 0 | // @@protoc_insertion_point(field_list:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6868 | 0 | return producer_table_ids_to_add_; |
6869 | 0 | } |
6870 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
6871 | 0 | AlterUniverseReplicationRequestPB::mutable_producer_table_ids_to_add() { |
6872 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_add) |
6873 | 0 | return &producer_table_ids_to_add_; |
6874 | 0 | } |
6875 | | |
6876 | | // repeated string producer_table_ids_to_remove = 5; |
6877 | 0 | inline int AlterUniverseReplicationRequestPB::producer_table_ids_to_remove_size() const { |
6878 | 0 | return producer_table_ids_to_remove_.size(); |
6879 | 0 | } |
6880 | 0 | inline void AlterUniverseReplicationRequestPB::clear_producer_table_ids_to_remove() { |
6881 | 0 | producer_table_ids_to_remove_.Clear(); |
6882 | 0 | } |
6883 | 0 | inline const ::std::string& AlterUniverseReplicationRequestPB::producer_table_ids_to_remove(int index) const { |
6884 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6885 | 0 | return producer_table_ids_to_remove_.Get(index); |
6886 | 0 | } |
6887 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::mutable_producer_table_ids_to_remove(int index) { |
6888 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6889 | 0 | return producer_table_ids_to_remove_.Mutable(index); |
6890 | 0 | } |
6891 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_remove(int index, const ::std::string& value) { |
6892 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6893 | 0 | producer_table_ids_to_remove_.Mutable(index)->assign(value); |
6894 | 0 | } |
6895 | | #if LANG_CXX11 |
6896 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_remove(int index, ::std::string&& value) { |
6897 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6898 | 0 | producer_table_ids_to_remove_.Mutable(index)->assign(std::move(value)); |
6899 | 0 | } |
6900 | | #endif |
6901 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_remove(int index, const char* value) { |
6902 | 0 | GOOGLE_DCHECK(value != NULL); |
6903 | 0 | producer_table_ids_to_remove_.Mutable(index)->assign(value); |
6904 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6905 | 0 | } |
6906 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_table_ids_to_remove(int index, const char* value, size_t size) { |
6907 | 0 | producer_table_ids_to_remove_.Mutable(index)->assign( |
6908 | 0 | reinterpret_cast<const char*>(value), size); |
6909 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6910 | 0 | } |
6911 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::add_producer_table_ids_to_remove() { |
6912 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6913 | 0 | return producer_table_ids_to_remove_.Add(); |
6914 | 0 | } |
6915 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_remove(const ::std::string& value) { |
6916 | 0 | producer_table_ids_to_remove_.Add()->assign(value); |
6917 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6918 | 0 | } |
6919 | | #if LANG_CXX11 |
6920 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_remove(::std::string&& value) { |
6921 | 0 | producer_table_ids_to_remove_.Add(std::move(value)); |
6922 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6923 | 0 | } |
6924 | | #endif |
6925 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_remove(const char* value) { |
6926 | 0 | GOOGLE_DCHECK(value != NULL); |
6927 | 0 | producer_table_ids_to_remove_.Add()->assign(value); |
6928 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6929 | 0 | } |
6930 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_table_ids_to_remove(const char* value, size_t size) { |
6931 | 0 | producer_table_ids_to_remove_.Add()->assign(reinterpret_cast<const char*>(value), size); |
6932 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6933 | 0 | } |
6934 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
6935 | 0 | AlterUniverseReplicationRequestPB::producer_table_ids_to_remove() const { |
6936 | 0 | // @@protoc_insertion_point(field_list:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6937 | 0 | return producer_table_ids_to_remove_; |
6938 | 0 | } |
6939 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
6940 | 0 | AlterUniverseReplicationRequestPB::mutable_producer_table_ids_to_remove() { |
6941 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.AlterUniverseReplicationRequestPB.producer_table_ids_to_remove) |
6942 | 0 | return &producer_table_ids_to_remove_; |
6943 | 0 | } |
6944 | | |
6945 | | // optional string new_producer_universe_id = 7; |
6946 | 0 | inline bool AlterUniverseReplicationRequestPB::has_new_producer_universe_id() const { |
6947 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
6948 | 0 | } |
6949 | 0 | inline void AlterUniverseReplicationRequestPB::set_has_new_producer_universe_id() { |
6950 | 0 | _has_bits_[0] |= 0x00000002u; |
6951 | 0 | } |
6952 | 0 | inline void AlterUniverseReplicationRequestPB::clear_has_new_producer_universe_id() { |
6953 | 0 | _has_bits_[0] &= ~0x00000002u; |
6954 | 0 | } |
6955 | 0 | inline void AlterUniverseReplicationRequestPB::clear_new_producer_universe_id() { |
6956 | 0 | new_producer_universe_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6957 | 0 | clear_has_new_producer_universe_id(); |
6958 | 0 | } |
6959 | 0 | inline const ::std::string& AlterUniverseReplicationRequestPB::new_producer_universe_id() const { |
6960 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6961 | 0 | return new_producer_universe_id_.GetNoArena(); |
6962 | 0 | } |
6963 | 0 | inline void AlterUniverseReplicationRequestPB::set_new_producer_universe_id(const ::std::string& value) { |
6964 | 0 | set_has_new_producer_universe_id(); |
6965 | 0 | new_producer_universe_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6966 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6967 | 0 | } |
6968 | | #if LANG_CXX11 |
6969 | 0 | inline void AlterUniverseReplicationRequestPB::set_new_producer_universe_id(::std::string&& value) { |
6970 | 0 | set_has_new_producer_universe_id(); |
6971 | 0 | new_producer_universe_id_.SetNoArena( |
6972 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6973 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6974 | 0 | } |
6975 | | #endif |
6976 | 0 | inline void AlterUniverseReplicationRequestPB::set_new_producer_universe_id(const char* value) { |
6977 | 0 | GOOGLE_DCHECK(value != NULL); |
6978 | 0 | set_has_new_producer_universe_id(); |
6979 | 0 | new_producer_universe_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6980 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6981 | 0 | } |
6982 | 0 | inline void AlterUniverseReplicationRequestPB::set_new_producer_universe_id(const char* value, size_t size) { |
6983 | 0 | set_has_new_producer_universe_id(); |
6984 | 0 | new_producer_universe_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6985 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6986 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6987 | 0 | } |
6988 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::mutable_new_producer_universe_id() { |
6989 | 0 | set_has_new_producer_universe_id(); |
6990 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6991 | 0 | return new_producer_universe_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6992 | 0 | } |
6993 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::release_new_producer_universe_id() { |
6994 | 0 | // @@protoc_insertion_point(field_release:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
6995 | 0 | clear_has_new_producer_universe_id(); |
6996 | 0 | return new_producer_universe_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6997 | 0 | } |
6998 | 0 | inline void AlterUniverseReplicationRequestPB::set_allocated_new_producer_universe_id(::std::string* new_producer_universe_id) { |
6999 | 0 | if (new_producer_universe_id != NULL) { |
7000 | 0 | set_has_new_producer_universe_id(); |
7001 | 0 | } else { |
7002 | 0 | clear_has_new_producer_universe_id(); |
7003 | 0 | } |
7004 | 0 | new_producer_universe_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_producer_universe_id); |
7005 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.AlterUniverseReplicationRequestPB.new_producer_universe_id) |
7006 | 0 | } |
7007 | | |
7008 | | // repeated string producer_bootstrap_ids_to_add = 6; |
7009 | 0 | inline int AlterUniverseReplicationRequestPB::producer_bootstrap_ids_to_add_size() const { |
7010 | 0 | return producer_bootstrap_ids_to_add_.size(); |
7011 | 0 | } |
7012 | 0 | inline void AlterUniverseReplicationRequestPB::clear_producer_bootstrap_ids_to_add() { |
7013 | 0 | producer_bootstrap_ids_to_add_.Clear(); |
7014 | 0 | } |
7015 | 0 | inline const ::std::string& AlterUniverseReplicationRequestPB::producer_bootstrap_ids_to_add(int index) const { |
7016 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7017 | 0 | return producer_bootstrap_ids_to_add_.Get(index); |
7018 | 0 | } |
7019 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::mutable_producer_bootstrap_ids_to_add(int index) { |
7020 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7021 | 0 | return producer_bootstrap_ids_to_add_.Mutable(index); |
7022 | 0 | } |
7023 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_bootstrap_ids_to_add(int index, const ::std::string& value) { |
7024 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7025 | 0 | producer_bootstrap_ids_to_add_.Mutable(index)->assign(value); |
7026 | 0 | } |
7027 | | #if LANG_CXX11 |
7028 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_bootstrap_ids_to_add(int index, ::std::string&& value) { |
7029 | 0 | // @@protoc_insertion_point(field_set:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7030 | 0 | producer_bootstrap_ids_to_add_.Mutable(index)->assign(std::move(value)); |
7031 | 0 | } |
7032 | | #endif |
7033 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_bootstrap_ids_to_add(int index, const char* value) { |
7034 | 0 | GOOGLE_DCHECK(value != NULL); |
7035 | 0 | producer_bootstrap_ids_to_add_.Mutable(index)->assign(value); |
7036 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7037 | 0 | } |
7038 | 0 | inline void AlterUniverseReplicationRequestPB::set_producer_bootstrap_ids_to_add(int index, const char* value, size_t size) { |
7039 | 0 | producer_bootstrap_ids_to_add_.Mutable(index)->assign( |
7040 | 0 | reinterpret_cast<const char*>(value), size); |
7041 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7042 | 0 | } |
7043 | 0 | inline ::std::string* AlterUniverseReplicationRequestPB::add_producer_bootstrap_ids_to_add() { |
7044 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7045 | 0 | return producer_bootstrap_ids_to_add_.Add(); |
7046 | 0 | } |
7047 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_bootstrap_ids_to_add(const ::std::string& value) { |
7048 | 0 | producer_bootstrap_ids_to_add_.Add()->assign(value); |
7049 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7050 | 0 | } |
7051 | | #if LANG_CXX11 |
7052 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_bootstrap_ids_to_add(::std::string&& value) { |
7053 | 0 | producer_bootstrap_ids_to_add_.Add(std::move(value)); |
7054 | 0 | // @@protoc_insertion_point(field_add:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7055 | 0 | } |
7056 | | #endif |
7057 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_bootstrap_ids_to_add(const char* value) { |
7058 | 0 | GOOGLE_DCHECK(value != NULL); |
7059 | 0 | producer_bootstrap_ids_to_add_.Add()->assign(value); |
7060 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7061 | 0 | } |
7062 | 0 | inline void AlterUniverseReplicationRequestPB::add_producer_bootstrap_ids_to_add(const char* value, size_t size) { |
7063 | 0 | producer_bootstrap_ids_to_add_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7064 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7065 | 0 | } |
7066 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
7067 | 0 | AlterUniverseReplicationRequestPB::producer_bootstrap_ids_to_add() const { |
7068 | 0 | // @@protoc_insertion_point(field_list:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7069 | 0 | return producer_bootstrap_ids_to_add_; |
7070 | 0 | } |
7071 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
7072 | 0 | AlterUniverseReplicationRequestPB::mutable_producer_bootstrap_ids_to_add() { |
7073 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.AlterUniverseReplicationRequestPB.producer_bootstrap_ids_to_add) |
7074 | 0 | return &producer_bootstrap_ids_to_add_; |
7075 | 0 | } |
7076 | | |
7077 | | // ------------------------------------------------------------------- |
7078 | | |
7079 | | // AlterUniverseReplicationResponsePB |
7080 | | |
7081 | | // optional .yb.master.MasterErrorPB error = 1; |
7082 | 0 | inline bool AlterUniverseReplicationResponsePB::has_error() const { |
7083 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7084 | 0 | } |
7085 | 0 | inline void AlterUniverseReplicationResponsePB::set_has_error() { |
7086 | 0 | _has_bits_[0] |= 0x00000001u; |
7087 | 0 | } |
7088 | 0 | inline void AlterUniverseReplicationResponsePB::clear_has_error() { |
7089 | 0 | _has_bits_[0] &= ~0x00000001u; |
7090 | 0 | } |
7091 | 0 | inline const ::yb::master::MasterErrorPB& AlterUniverseReplicationResponsePB::error() const { |
7092 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
7093 | 0 | // @@protoc_insertion_point(field_get:yb.master.AlterUniverseReplicationResponsePB.error) |
7094 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
7095 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
7096 | 0 | } |
7097 | 0 | inline ::yb::master::MasterErrorPB* AlterUniverseReplicationResponsePB::release_error() { |
7098 | 0 | // @@protoc_insertion_point(field_release:yb.master.AlterUniverseReplicationResponsePB.error) |
7099 | 0 | clear_has_error(); |
7100 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
7101 | 0 | error_ = NULL; |
7102 | 0 | return temp; |
7103 | 0 | } |
7104 | 0 | inline ::yb::master::MasterErrorPB* AlterUniverseReplicationResponsePB::mutable_error() { |
7105 | 0 | set_has_error(); |
7106 | 0 | if (error_ == NULL) { |
7107 | 0 | error_ = new ::yb::master::MasterErrorPB; |
7108 | 0 | } |
7109 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.AlterUniverseReplicationResponsePB.error) |
7110 | 0 | return error_; |
7111 | 0 | } |
7112 | 0 | inline void AlterUniverseReplicationResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
7113 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7114 | 0 | if (message_arena == NULL) { |
7115 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7116 | 0 | } |
7117 | 0 | if (error) { |
7118 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7119 | 0 | if (message_arena != submessage_arena) { |
7120 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7121 | 0 | message_arena, error, submessage_arena); |
7122 | 0 | } |
7123 | 0 | set_has_error(); |
7124 | 0 | } else { |
7125 | 0 | clear_has_error(); |
7126 | 0 | } |
7127 | 0 | error_ = error; |
7128 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.AlterUniverseReplicationResponsePB.error) |
7129 | 0 | } |
7130 | | |
7131 | | // ------------------------------------------------------------------- |
7132 | | |
7133 | | // SetUniverseReplicationEnabledRequestPB |
7134 | | |
7135 | | // optional string producer_id = 1; |
7136 | 0 | inline bool SetUniverseReplicationEnabledRequestPB::has_producer_id() const { |
7137 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7138 | 0 | } |
7139 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_has_producer_id() { |
7140 | 0 | _has_bits_[0] |= 0x00000001u; |
7141 | 0 | } |
7142 | 0 | inline void SetUniverseReplicationEnabledRequestPB::clear_has_producer_id() { |
7143 | 0 | _has_bits_[0] &= ~0x00000001u; |
7144 | 0 | } |
7145 | 0 | inline void SetUniverseReplicationEnabledRequestPB::clear_producer_id() { |
7146 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7147 | 0 | clear_has_producer_id(); |
7148 | 0 | } |
7149 | 0 | inline const ::std::string& SetUniverseReplicationEnabledRequestPB::producer_id() const { |
7150 | 0 | // @@protoc_insertion_point(field_get:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7151 | 0 | return producer_id_.GetNoArena(); |
7152 | 0 | } |
7153 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_producer_id(const ::std::string& value) { |
7154 | 0 | set_has_producer_id(); |
7155 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7156 | 0 | // @@protoc_insertion_point(field_set:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7157 | 0 | } |
7158 | | #if LANG_CXX11 |
7159 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_producer_id(::std::string&& value) { |
7160 | 0 | set_has_producer_id(); |
7161 | 0 | producer_id_.SetNoArena( |
7162 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7163 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7164 | 0 | } |
7165 | | #endif |
7166 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_producer_id(const char* value) { |
7167 | 0 | GOOGLE_DCHECK(value != NULL); |
7168 | 0 | set_has_producer_id(); |
7169 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7170 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7171 | 0 | } |
7172 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_producer_id(const char* value, size_t size) { |
7173 | 0 | set_has_producer_id(); |
7174 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7175 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7176 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7177 | 0 | } |
7178 | 0 | inline ::std::string* SetUniverseReplicationEnabledRequestPB::mutable_producer_id() { |
7179 | 0 | set_has_producer_id(); |
7180 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7181 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7182 | 0 | } |
7183 | 0 | inline ::std::string* SetUniverseReplicationEnabledRequestPB::release_producer_id() { |
7184 | 0 | // @@protoc_insertion_point(field_release:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7185 | 0 | clear_has_producer_id(); |
7186 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7187 | 0 | } |
7188 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
7189 | 0 | if (producer_id != NULL) { |
7190 | 0 | set_has_producer_id(); |
7191 | 0 | } else { |
7192 | 0 | clear_has_producer_id(); |
7193 | 0 | } |
7194 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
7195 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SetUniverseReplicationEnabledRequestPB.producer_id) |
7196 | 0 | } |
7197 | | |
7198 | | // optional bool is_enabled = 2; |
7199 | 0 | inline bool SetUniverseReplicationEnabledRequestPB::has_is_enabled() const { |
7200 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7201 | 0 | } |
7202 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_has_is_enabled() { |
7203 | 0 | _has_bits_[0] |= 0x00000002u; |
7204 | 0 | } |
7205 | 0 | inline void SetUniverseReplicationEnabledRequestPB::clear_has_is_enabled() { |
7206 | 0 | _has_bits_[0] &= ~0x00000002u; |
7207 | 0 | } |
7208 | 0 | inline void SetUniverseReplicationEnabledRequestPB::clear_is_enabled() { |
7209 | 0 | is_enabled_ = false; |
7210 | 0 | clear_has_is_enabled(); |
7211 | 0 | } |
7212 | 0 | inline bool SetUniverseReplicationEnabledRequestPB::is_enabled() const { |
7213 | 0 | // @@protoc_insertion_point(field_get:yb.master.SetUniverseReplicationEnabledRequestPB.is_enabled) |
7214 | 0 | return is_enabled_; |
7215 | 0 | } |
7216 | 0 | inline void SetUniverseReplicationEnabledRequestPB::set_is_enabled(bool value) { |
7217 | 0 | set_has_is_enabled(); |
7218 | 0 | is_enabled_ = value; |
7219 | 0 | // @@protoc_insertion_point(field_set:yb.master.SetUniverseReplicationEnabledRequestPB.is_enabled) |
7220 | 0 | } |
7221 | | |
7222 | | // ------------------------------------------------------------------- |
7223 | | |
7224 | | // SetUniverseReplicationEnabledResponsePB |
7225 | | |
7226 | | // optional .yb.master.MasterErrorPB error = 1; |
7227 | 0 | inline bool SetUniverseReplicationEnabledResponsePB::has_error() const { |
7228 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7229 | 0 | } |
7230 | 0 | inline void SetUniverseReplicationEnabledResponsePB::set_has_error() { |
7231 | 0 | _has_bits_[0] |= 0x00000001u; |
7232 | 0 | } |
7233 | 0 | inline void SetUniverseReplicationEnabledResponsePB::clear_has_error() { |
7234 | 0 | _has_bits_[0] &= ~0x00000001u; |
7235 | 0 | } |
7236 | 0 | inline const ::yb::master::MasterErrorPB& SetUniverseReplicationEnabledResponsePB::error() const { |
7237 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
7238 | 0 | // @@protoc_insertion_point(field_get:yb.master.SetUniverseReplicationEnabledResponsePB.error) |
7239 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
7240 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
7241 | 0 | } |
7242 | 0 | inline ::yb::master::MasterErrorPB* SetUniverseReplicationEnabledResponsePB::release_error() { |
7243 | 0 | // @@protoc_insertion_point(field_release:yb.master.SetUniverseReplicationEnabledResponsePB.error) |
7244 | 0 | clear_has_error(); |
7245 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
7246 | 0 | error_ = NULL; |
7247 | 0 | return temp; |
7248 | 0 | } |
7249 | 0 | inline ::yb::master::MasterErrorPB* SetUniverseReplicationEnabledResponsePB::mutable_error() { |
7250 | 0 | set_has_error(); |
7251 | 0 | if (error_ == NULL) { |
7252 | 0 | error_ = new ::yb::master::MasterErrorPB; |
7253 | 0 | } |
7254 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetUniverseReplicationEnabledResponsePB.error) |
7255 | 0 | return error_; |
7256 | 0 | } |
7257 | 0 | inline void SetUniverseReplicationEnabledResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
7258 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7259 | 0 | if (message_arena == NULL) { |
7260 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7261 | 0 | } |
7262 | 0 | if (error) { |
7263 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7264 | 0 | if (message_arena != submessage_arena) { |
7265 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7266 | 0 | message_arena, error, submessage_arena); |
7267 | 0 | } |
7268 | 0 | set_has_error(); |
7269 | 0 | } else { |
7270 | 0 | clear_has_error(); |
7271 | 0 | } |
7272 | 0 | error_ = error; |
7273 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SetUniverseReplicationEnabledResponsePB.error) |
7274 | 0 | } |
7275 | | |
7276 | | // ------------------------------------------------------------------- |
7277 | | |
7278 | | // GetUniverseReplicationRequestPB |
7279 | | |
7280 | | // optional string producer_id = 1; |
7281 | 0 | inline bool GetUniverseReplicationRequestPB::has_producer_id() const { |
7282 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7283 | 0 | } |
7284 | 0 | inline void GetUniverseReplicationRequestPB::set_has_producer_id() { |
7285 | 0 | _has_bits_[0] |= 0x00000001u; |
7286 | 0 | } |
7287 | 0 | inline void GetUniverseReplicationRequestPB::clear_has_producer_id() { |
7288 | 0 | _has_bits_[0] &= ~0x00000001u; |
7289 | 0 | } |
7290 | 0 | inline void GetUniverseReplicationRequestPB::clear_producer_id() { |
7291 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7292 | 0 | clear_has_producer_id(); |
7293 | 0 | } |
7294 | 0 | inline const ::std::string& GetUniverseReplicationRequestPB::producer_id() const { |
7295 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7296 | 0 | return producer_id_.GetNoArena(); |
7297 | 0 | } |
7298 | 0 | inline void GetUniverseReplicationRequestPB::set_producer_id(const ::std::string& value) { |
7299 | 0 | set_has_producer_id(); |
7300 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7301 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7302 | 0 | } |
7303 | | #if LANG_CXX11 |
7304 | 0 | inline void GetUniverseReplicationRequestPB::set_producer_id(::std::string&& value) { |
7305 | 0 | set_has_producer_id(); |
7306 | 0 | producer_id_.SetNoArena( |
7307 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7308 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7309 | 0 | } |
7310 | | #endif |
7311 | 0 | inline void GetUniverseReplicationRequestPB::set_producer_id(const char* value) { |
7312 | 0 | GOOGLE_DCHECK(value != NULL); |
7313 | 0 | set_has_producer_id(); |
7314 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7315 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7316 | 0 | } |
7317 | 0 | inline void GetUniverseReplicationRequestPB::set_producer_id(const char* value, size_t size) { |
7318 | 0 | set_has_producer_id(); |
7319 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7320 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7321 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7322 | 0 | } |
7323 | 0 | inline ::std::string* GetUniverseReplicationRequestPB::mutable_producer_id() { |
7324 | 0 | set_has_producer_id(); |
7325 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7326 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7327 | 0 | } |
7328 | 0 | inline ::std::string* GetUniverseReplicationRequestPB::release_producer_id() { |
7329 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7330 | 0 | clear_has_producer_id(); |
7331 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7332 | 0 | } |
7333 | 0 | inline void GetUniverseReplicationRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
7334 | 0 | if (producer_id != NULL) { |
7335 | 0 | set_has_producer_id(); |
7336 | 0 | } else { |
7337 | 0 | clear_has_producer_id(); |
7338 | 0 | } |
7339 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
7340 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetUniverseReplicationRequestPB.producer_id) |
7341 | 0 | } |
7342 | | |
7343 | | // ------------------------------------------------------------------- |
7344 | | |
7345 | | // GetUniverseReplicationResponsePB |
7346 | | |
7347 | | // optional .yb.master.MasterErrorPB error = 1; |
7348 | 0 | inline bool GetUniverseReplicationResponsePB::has_error() const { |
7349 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7350 | 0 | } |
7351 | 0 | inline void GetUniverseReplicationResponsePB::set_has_error() { |
7352 | 0 | _has_bits_[0] |= 0x00000001u; |
7353 | 0 | } |
7354 | 0 | inline void GetUniverseReplicationResponsePB::clear_has_error() { |
7355 | 0 | _has_bits_[0] &= ~0x00000001u; |
7356 | 0 | } |
7357 | 0 | inline const ::yb::master::MasterErrorPB& GetUniverseReplicationResponsePB::error() const { |
7358 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
7359 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetUniverseReplicationResponsePB.error) |
7360 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
7361 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
7362 | 0 | } |
7363 | 0 | inline ::yb::master::MasterErrorPB* GetUniverseReplicationResponsePB::release_error() { |
7364 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetUniverseReplicationResponsePB.error) |
7365 | 0 | clear_has_error(); |
7366 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
7367 | 0 | error_ = NULL; |
7368 | 0 | return temp; |
7369 | 0 | } |
7370 | 0 | inline ::yb::master::MasterErrorPB* GetUniverseReplicationResponsePB::mutable_error() { |
7371 | 0 | set_has_error(); |
7372 | 0 | if (error_ == NULL) { |
7373 | 0 | error_ = new ::yb::master::MasterErrorPB; |
7374 | 0 | } |
7375 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetUniverseReplicationResponsePB.error) |
7376 | 0 | return error_; |
7377 | 0 | } |
7378 | 0 | inline void GetUniverseReplicationResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
7379 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7380 | 0 | if (message_arena == NULL) { |
7381 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7382 | 0 | } |
7383 | 0 | if (error) { |
7384 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7385 | 0 | if (message_arena != submessage_arena) { |
7386 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7387 | 0 | message_arena, error, submessage_arena); |
7388 | 0 | } |
7389 | 0 | set_has_error(); |
7390 | 0 | } else { |
7391 | 0 | clear_has_error(); |
7392 | 0 | } |
7393 | 0 | error_ = error; |
7394 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetUniverseReplicationResponsePB.error) |
7395 | 0 | } |
7396 | | |
7397 | | // optional .yb.master.SysUniverseReplicationEntryPB entry = 2; |
7398 | 0 | inline bool GetUniverseReplicationResponsePB::has_entry() const { |
7399 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7400 | 0 | } |
7401 | 0 | inline void GetUniverseReplicationResponsePB::set_has_entry() { |
7402 | 0 | _has_bits_[0] |= 0x00000002u; |
7403 | 0 | } |
7404 | 0 | inline void GetUniverseReplicationResponsePB::clear_has_entry() { |
7405 | 0 | _has_bits_[0] &= ~0x00000002u; |
7406 | 0 | } |
7407 | 0 | inline const ::yb::master::SysUniverseReplicationEntryPB& GetUniverseReplicationResponsePB::entry() const { |
7408 | 0 | const ::yb::master::SysUniverseReplicationEntryPB* p = entry_; |
7409 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetUniverseReplicationResponsePB.entry) |
7410 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysUniverseReplicationEntryPB*>( |
7411 | 0 | &::yb::master::_SysUniverseReplicationEntryPB_default_instance_); |
7412 | 0 | } |
7413 | 0 | inline ::yb::master::SysUniverseReplicationEntryPB* GetUniverseReplicationResponsePB::release_entry() { |
7414 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetUniverseReplicationResponsePB.entry) |
7415 | 0 | clear_has_entry(); |
7416 | 0 | ::yb::master::SysUniverseReplicationEntryPB* temp = entry_; |
7417 | 0 | entry_ = NULL; |
7418 | 0 | return temp; |
7419 | 0 | } |
7420 | 0 | inline ::yb::master::SysUniverseReplicationEntryPB* GetUniverseReplicationResponsePB::mutable_entry() { |
7421 | 0 | set_has_entry(); |
7422 | 0 | if (entry_ == NULL) { |
7423 | 0 | entry_ = new ::yb::master::SysUniverseReplicationEntryPB; |
7424 | 0 | } |
7425 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetUniverseReplicationResponsePB.entry) |
7426 | 0 | return entry_; |
7427 | 0 | } |
7428 | 0 | inline void GetUniverseReplicationResponsePB::set_allocated_entry(::yb::master::SysUniverseReplicationEntryPB* entry) { |
7429 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7430 | 0 | if (message_arena == NULL) { |
7431 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(entry_); |
7432 | 0 | } |
7433 | 0 | if (entry) { |
7434 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7435 | 0 | if (message_arena != submessage_arena) { |
7436 | 0 | entry = ::google::protobuf::internal::GetOwnedMessage( |
7437 | 0 | message_arena, entry, submessage_arena); |
7438 | 0 | } |
7439 | 0 | set_has_entry(); |
7440 | 0 | } else { |
7441 | 0 | clear_has_entry(); |
7442 | 0 | } |
7443 | 0 | entry_ = entry; |
7444 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetUniverseReplicationResponsePB.entry) |
7445 | 0 | } |
7446 | | |
7447 | | // ------------------------------------------------------------------- |
7448 | | |
7449 | | // IsSetupUniverseReplicationDoneRequestPB |
7450 | | |
7451 | | // optional string producer_id = 1; |
7452 | 0 | inline bool IsSetupUniverseReplicationDoneRequestPB::has_producer_id() const { |
7453 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7454 | 0 | } |
7455 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::set_has_producer_id() { |
7456 | 0 | _has_bits_[0] |= 0x00000001u; |
7457 | 0 | } |
7458 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::clear_has_producer_id() { |
7459 | 0 | _has_bits_[0] &= ~0x00000001u; |
7460 | 0 | } |
7461 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::clear_producer_id() { |
7462 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7463 | 0 | clear_has_producer_id(); |
7464 | 0 | } |
7465 | 0 | inline const ::std::string& IsSetupUniverseReplicationDoneRequestPB::producer_id() const { |
7466 | 0 | // @@protoc_insertion_point(field_get:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7467 | 0 | return producer_id_.GetNoArena(); |
7468 | 0 | } |
7469 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::set_producer_id(const ::std::string& value) { |
7470 | 0 | set_has_producer_id(); |
7471 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7472 | 0 | // @@protoc_insertion_point(field_set:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7473 | 0 | } |
7474 | | #if LANG_CXX11 |
7475 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::set_producer_id(::std::string&& value) { |
7476 | 0 | set_has_producer_id(); |
7477 | 0 | producer_id_.SetNoArena( |
7478 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7479 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7480 | 0 | } |
7481 | | #endif |
7482 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::set_producer_id(const char* value) { |
7483 | 0 | GOOGLE_DCHECK(value != NULL); |
7484 | 0 | set_has_producer_id(); |
7485 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7486 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7487 | 0 | } |
7488 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::set_producer_id(const char* value, size_t size) { |
7489 | 0 | set_has_producer_id(); |
7490 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7491 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7492 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7493 | 0 | } |
7494 | 0 | inline ::std::string* IsSetupUniverseReplicationDoneRequestPB::mutable_producer_id() { |
7495 | 0 | set_has_producer_id(); |
7496 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7497 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7498 | 0 | } |
7499 | 0 | inline ::std::string* IsSetupUniverseReplicationDoneRequestPB::release_producer_id() { |
7500 | 0 | // @@protoc_insertion_point(field_release:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7501 | 0 | clear_has_producer_id(); |
7502 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7503 | 0 | } |
7504 | 0 | inline void IsSetupUniverseReplicationDoneRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
7505 | 0 | if (producer_id != NULL) { |
7506 | 0 | set_has_producer_id(); |
7507 | 0 | } else { |
7508 | 0 | clear_has_producer_id(); |
7509 | 0 | } |
7510 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
7511 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.IsSetupUniverseReplicationDoneRequestPB.producer_id) |
7512 | 0 | } |
7513 | | |
7514 | | // ------------------------------------------------------------------- |
7515 | | |
7516 | | // IsSetupUniverseReplicationDoneResponsePB |
7517 | | |
7518 | | // optional .yb.master.MasterErrorPB error = 1; |
7519 | 0 | inline bool IsSetupUniverseReplicationDoneResponsePB::has_error() const { |
7520 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7521 | 0 | } |
7522 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::set_has_error() { |
7523 | 0 | _has_bits_[0] |= 0x00000001u; |
7524 | 0 | } |
7525 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::clear_has_error() { |
7526 | 0 | _has_bits_[0] &= ~0x00000001u; |
7527 | 0 | } |
7528 | 0 | inline const ::yb::master::MasterErrorPB& IsSetupUniverseReplicationDoneResponsePB::error() const { |
7529 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
7530 | 0 | // @@protoc_insertion_point(field_get:yb.master.IsSetupUniverseReplicationDoneResponsePB.error) |
7531 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
7532 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
7533 | 0 | } |
7534 | 0 | inline ::yb::master::MasterErrorPB* IsSetupUniverseReplicationDoneResponsePB::release_error() { |
7535 | 0 | // @@protoc_insertion_point(field_release:yb.master.IsSetupUniverseReplicationDoneResponsePB.error) |
7536 | 0 | clear_has_error(); |
7537 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
7538 | 0 | error_ = NULL; |
7539 | 0 | return temp; |
7540 | 0 | } |
7541 | 0 | inline ::yb::master::MasterErrorPB* IsSetupUniverseReplicationDoneResponsePB::mutable_error() { |
7542 | 0 | set_has_error(); |
7543 | 0 | if (error_ == NULL) { |
7544 | 0 | error_ = new ::yb::master::MasterErrorPB; |
7545 | 0 | } |
7546 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.IsSetupUniverseReplicationDoneResponsePB.error) |
7547 | 0 | return error_; |
7548 | 0 | } |
7549 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
7550 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7551 | 0 | if (message_arena == NULL) { |
7552 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
7553 | 0 | } |
7554 | 0 | if (error) { |
7555 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7556 | 0 | if (message_arena != submessage_arena) { |
7557 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
7558 | 0 | message_arena, error, submessage_arena); |
7559 | 0 | } |
7560 | 0 | set_has_error(); |
7561 | 0 | } else { |
7562 | 0 | clear_has_error(); |
7563 | 0 | } |
7564 | 0 | error_ = error; |
7565 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.IsSetupUniverseReplicationDoneResponsePB.error) |
7566 | 0 | } |
7567 | | |
7568 | | // optional bool done = 2; |
7569 | 0 | inline bool IsSetupUniverseReplicationDoneResponsePB::has_done() const { |
7570 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
7571 | 0 | } |
7572 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::set_has_done() { |
7573 | 0 | _has_bits_[0] |= 0x00000004u; |
7574 | 0 | } |
7575 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::clear_has_done() { |
7576 | 0 | _has_bits_[0] &= ~0x00000004u; |
7577 | 0 | } |
7578 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::clear_done() { |
7579 | 0 | done_ = false; |
7580 | 0 | clear_has_done(); |
7581 | 0 | } |
7582 | 0 | inline bool IsSetupUniverseReplicationDoneResponsePB::done() const { |
7583 | 0 | // @@protoc_insertion_point(field_get:yb.master.IsSetupUniverseReplicationDoneResponsePB.done) |
7584 | 0 | return done_; |
7585 | 0 | } |
7586 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::set_done(bool value) { |
7587 | 0 | set_has_done(); |
7588 | 0 | done_ = value; |
7589 | 0 | // @@protoc_insertion_point(field_set:yb.master.IsSetupUniverseReplicationDoneResponsePB.done) |
7590 | 0 | } |
7591 | | |
7592 | | // optional .yb.AppStatusPB replication_error = 3; |
7593 | 0 | inline bool IsSetupUniverseReplicationDoneResponsePB::has_replication_error() const { |
7594 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7595 | 0 | } |
7596 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::set_has_replication_error() { |
7597 | 0 | _has_bits_[0] |= 0x00000002u; |
7598 | 0 | } |
7599 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::clear_has_replication_error() { |
7600 | 0 | _has_bits_[0] &= ~0x00000002u; |
7601 | 0 | } |
7602 | 0 | inline const ::yb::AppStatusPB& IsSetupUniverseReplicationDoneResponsePB::replication_error() const { |
7603 | 0 | const ::yb::AppStatusPB* p = replication_error_; |
7604 | 0 | // @@protoc_insertion_point(field_get:yb.master.IsSetupUniverseReplicationDoneResponsePB.replication_error) |
7605 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>( |
7606 | 0 | &::yb::_AppStatusPB_default_instance_); |
7607 | 0 | } |
7608 | 0 | inline ::yb::AppStatusPB* IsSetupUniverseReplicationDoneResponsePB::release_replication_error() { |
7609 | 0 | // @@protoc_insertion_point(field_release:yb.master.IsSetupUniverseReplicationDoneResponsePB.replication_error) |
7610 | 0 | clear_has_replication_error(); |
7611 | 0 | ::yb::AppStatusPB* temp = replication_error_; |
7612 | 0 | replication_error_ = NULL; |
7613 | 0 | return temp; |
7614 | 0 | } |
7615 | 0 | inline ::yb::AppStatusPB* IsSetupUniverseReplicationDoneResponsePB::mutable_replication_error() { |
7616 | 0 | set_has_replication_error(); |
7617 | 0 | if (replication_error_ == NULL) { |
7618 | 0 | replication_error_ = new ::yb::AppStatusPB; |
7619 | 0 | } |
7620 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.IsSetupUniverseReplicationDoneResponsePB.replication_error) |
7621 | 0 | return replication_error_; |
7622 | 0 | } |
7623 | 0 | inline void IsSetupUniverseReplicationDoneResponsePB::set_allocated_replication_error(::yb::AppStatusPB* replication_error) { |
7624 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7625 | 0 | if (message_arena == NULL) { |
7626 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(replication_error_); |
7627 | 0 | } |
7628 | 0 | if (replication_error) { |
7629 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7630 | 0 | if (message_arena != submessage_arena) { |
7631 | 0 | replication_error = ::google::protobuf::internal::GetOwnedMessage( |
7632 | 0 | message_arena, replication_error, submessage_arena); |
7633 | 0 | } |
7634 | 0 | set_has_replication_error(); |
7635 | 0 | } else { |
7636 | 0 | clear_has_replication_error(); |
7637 | 0 | } |
7638 | 0 | replication_error_ = replication_error; |
7639 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.IsSetupUniverseReplicationDoneResponsePB.replication_error) |
7640 | 0 | } |
7641 | | |
7642 | | // ------------------------------------------------------------------- |
7643 | | |
7644 | | // ProducerSplitTabletInfoPB |
7645 | | |
7646 | | // required bytes tablet_id = 1; |
7647 | 0 | inline bool ProducerSplitTabletInfoPB::has_tablet_id() const { |
7648 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7649 | 0 | } |
7650 | 0 | inline void ProducerSplitTabletInfoPB::set_has_tablet_id() { |
7651 | 0 | _has_bits_[0] |= 0x00000001u; |
7652 | 0 | } |
7653 | 0 | inline void ProducerSplitTabletInfoPB::clear_has_tablet_id() { |
7654 | 0 | _has_bits_[0] &= ~0x00000001u; |
7655 | 0 | } |
7656 | 0 | inline void ProducerSplitTabletInfoPB::clear_tablet_id() { |
7657 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7658 | 0 | clear_has_tablet_id(); |
7659 | 0 | } |
7660 | 0 | inline const ::std::string& ProducerSplitTabletInfoPB::tablet_id() const { |
7661 | 0 | // @@protoc_insertion_point(field_get:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7662 | 0 | return tablet_id_.GetNoArena(); |
7663 | 0 | } |
7664 | 0 | inline void ProducerSplitTabletInfoPB::set_tablet_id(const ::std::string& value) { |
7665 | 0 | set_has_tablet_id(); |
7666 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7667 | | // @@protoc_insertion_point(field_set:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7668 | 0 | } |
7669 | | #if LANG_CXX11 |
7670 | 0 | inline void ProducerSplitTabletInfoPB::set_tablet_id(::std::string&& value) { |
7671 | 0 | set_has_tablet_id(); |
7672 | 0 | tablet_id_.SetNoArena( |
7673 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7674 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7675 | 0 | } |
7676 | | #endif |
7677 | 0 | inline void ProducerSplitTabletInfoPB::set_tablet_id(const char* value) { |
7678 | 0 | GOOGLE_DCHECK(value != NULL); |
7679 | 0 | set_has_tablet_id(); |
7680 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7681 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7682 | 0 | } |
7683 | 0 | inline void ProducerSplitTabletInfoPB::set_tablet_id(const void* value, size_t size) { |
7684 | 0 | set_has_tablet_id(); |
7685 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7686 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7687 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7688 | 0 | } |
7689 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::mutable_tablet_id() { |
7690 | 0 | set_has_tablet_id(); |
7691 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7692 | 0 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7693 | 0 | } |
7694 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::release_tablet_id() { |
7695 | 0 | // @@protoc_insertion_point(field_release:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7696 | 0 | clear_has_tablet_id(); |
7697 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7698 | 0 | } |
7699 | 0 | inline void ProducerSplitTabletInfoPB::set_allocated_tablet_id(::std::string* tablet_id) { |
7700 | 0 | if (tablet_id != NULL) { |
7701 | 0 | set_has_tablet_id(); |
7702 | 0 | } else { |
7703 | 0 | clear_has_tablet_id(); |
7704 | 0 | } |
7705 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
7706 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ProducerSplitTabletInfoPB.tablet_id) |
7707 | 0 | } |
7708 | | |
7709 | | // required bytes new_tablet1_id = 2; |
7710 | 0 | inline bool ProducerSplitTabletInfoPB::has_new_tablet1_id() const { |
7711 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
7712 | 0 | } |
7713 | 0 | inline void ProducerSplitTabletInfoPB::set_has_new_tablet1_id() { |
7714 | 0 | _has_bits_[0] |= 0x00000002u; |
7715 | 0 | } |
7716 | 0 | inline void ProducerSplitTabletInfoPB::clear_has_new_tablet1_id() { |
7717 | 0 | _has_bits_[0] &= ~0x00000002u; |
7718 | 0 | } |
7719 | 0 | inline void ProducerSplitTabletInfoPB::clear_new_tablet1_id() { |
7720 | 0 | new_tablet1_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7721 | 0 | clear_has_new_tablet1_id(); |
7722 | 0 | } |
7723 | 0 | inline const ::std::string& ProducerSplitTabletInfoPB::new_tablet1_id() const { |
7724 | 0 | // @@protoc_insertion_point(field_get:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7725 | 0 | return new_tablet1_id_.GetNoArena(); |
7726 | 0 | } |
7727 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet1_id(const ::std::string& value) { |
7728 | 0 | set_has_new_tablet1_id(); |
7729 | 0 | new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7730 | | // @@protoc_insertion_point(field_set:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7731 | 0 | } |
7732 | | #if LANG_CXX11 |
7733 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet1_id(::std::string&& value) { |
7734 | 0 | set_has_new_tablet1_id(); |
7735 | 0 | new_tablet1_id_.SetNoArena( |
7736 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7737 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7738 | 0 | } |
7739 | | #endif |
7740 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet1_id(const char* value) { |
7741 | 0 | GOOGLE_DCHECK(value != NULL); |
7742 | 0 | set_has_new_tablet1_id(); |
7743 | 0 | new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7744 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7745 | 0 | } |
7746 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet1_id(const void* value, size_t size) { |
7747 | 0 | set_has_new_tablet1_id(); |
7748 | 0 | new_tablet1_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7749 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7750 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7751 | 0 | } |
7752 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::mutable_new_tablet1_id() { |
7753 | 0 | set_has_new_tablet1_id(); |
7754 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7755 | 0 | return new_tablet1_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7756 | 0 | } |
7757 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::release_new_tablet1_id() { |
7758 | 0 | // @@protoc_insertion_point(field_release:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7759 | 0 | clear_has_new_tablet1_id(); |
7760 | 0 | return new_tablet1_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7761 | 0 | } |
7762 | 0 | inline void ProducerSplitTabletInfoPB::set_allocated_new_tablet1_id(::std::string* new_tablet1_id) { |
7763 | 0 | if (new_tablet1_id != NULL) { |
7764 | 0 | set_has_new_tablet1_id(); |
7765 | 0 | } else { |
7766 | 0 | clear_has_new_tablet1_id(); |
7767 | 0 | } |
7768 | 0 | new_tablet1_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_tablet1_id); |
7769 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ProducerSplitTabletInfoPB.new_tablet1_id) |
7770 | 0 | } |
7771 | | |
7772 | | // required bytes new_tablet2_id = 3; |
7773 | 0 | inline bool ProducerSplitTabletInfoPB::has_new_tablet2_id() const { |
7774 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
7775 | 0 | } |
7776 | 0 | inline void ProducerSplitTabletInfoPB::set_has_new_tablet2_id() { |
7777 | 0 | _has_bits_[0] |= 0x00000004u; |
7778 | 0 | } |
7779 | 0 | inline void ProducerSplitTabletInfoPB::clear_has_new_tablet2_id() { |
7780 | 0 | _has_bits_[0] &= ~0x00000004u; |
7781 | 0 | } |
7782 | 0 | inline void ProducerSplitTabletInfoPB::clear_new_tablet2_id() { |
7783 | 0 | new_tablet2_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7784 | 0 | clear_has_new_tablet2_id(); |
7785 | 0 | } |
7786 | 0 | inline const ::std::string& ProducerSplitTabletInfoPB::new_tablet2_id() const { |
7787 | 0 | // @@protoc_insertion_point(field_get:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7788 | 0 | return new_tablet2_id_.GetNoArena(); |
7789 | 0 | } |
7790 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet2_id(const ::std::string& value) { |
7791 | 0 | set_has_new_tablet2_id(); |
7792 | 0 | new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7793 | | // @@protoc_insertion_point(field_set:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7794 | 0 | } |
7795 | | #if LANG_CXX11 |
7796 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet2_id(::std::string&& value) { |
7797 | 0 | set_has_new_tablet2_id(); |
7798 | 0 | new_tablet2_id_.SetNoArena( |
7799 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7800 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7801 | 0 | } |
7802 | | #endif |
7803 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet2_id(const char* value) { |
7804 | 0 | GOOGLE_DCHECK(value != NULL); |
7805 | 0 | set_has_new_tablet2_id(); |
7806 | 0 | new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7807 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7808 | 0 | } |
7809 | 0 | inline void ProducerSplitTabletInfoPB::set_new_tablet2_id(const void* value, size_t size) { |
7810 | 0 | set_has_new_tablet2_id(); |
7811 | 0 | new_tablet2_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7812 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7813 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7814 | 0 | } |
7815 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::mutable_new_tablet2_id() { |
7816 | 0 | set_has_new_tablet2_id(); |
7817 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7818 | 0 | return new_tablet2_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7819 | 0 | } |
7820 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::release_new_tablet2_id() { |
7821 | 0 | // @@protoc_insertion_point(field_release:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7822 | 0 | clear_has_new_tablet2_id(); |
7823 | 0 | return new_tablet2_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7824 | 0 | } |
7825 | 0 | inline void ProducerSplitTabletInfoPB::set_allocated_new_tablet2_id(::std::string* new_tablet2_id) { |
7826 | 0 | if (new_tablet2_id != NULL) { |
7827 | 0 | set_has_new_tablet2_id(); |
7828 | 0 | } else { |
7829 | 0 | clear_has_new_tablet2_id(); |
7830 | 0 | } |
7831 | 0 | new_tablet2_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), new_tablet2_id); |
7832 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ProducerSplitTabletInfoPB.new_tablet2_id) |
7833 | 0 | } |
7834 | | |
7835 | | // required bytes split_partition_key = 4; |
7836 | 0 | inline bool ProducerSplitTabletInfoPB::has_split_partition_key() const { |
7837 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
7838 | 0 | } |
7839 | 0 | inline void ProducerSplitTabletInfoPB::set_has_split_partition_key() { |
7840 | 0 | _has_bits_[0] |= 0x00000008u; |
7841 | 0 | } |
7842 | 0 | inline void ProducerSplitTabletInfoPB::clear_has_split_partition_key() { |
7843 | 0 | _has_bits_[0] &= ~0x00000008u; |
7844 | 0 | } |
7845 | 0 | inline void ProducerSplitTabletInfoPB::clear_split_partition_key() { |
7846 | 0 | split_partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7847 | 0 | clear_has_split_partition_key(); |
7848 | 0 | } |
7849 | 0 | inline const ::std::string& ProducerSplitTabletInfoPB::split_partition_key() const { |
7850 | 0 | // @@protoc_insertion_point(field_get:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7851 | 0 | return split_partition_key_.GetNoArena(); |
7852 | 0 | } |
7853 | 0 | inline void ProducerSplitTabletInfoPB::set_split_partition_key(const ::std::string& value) { |
7854 | 0 | set_has_split_partition_key(); |
7855 | 0 | split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7856 | | // @@protoc_insertion_point(field_set:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7857 | 0 | } |
7858 | | #if LANG_CXX11 |
7859 | 0 | inline void ProducerSplitTabletInfoPB::set_split_partition_key(::std::string&& value) { |
7860 | 0 | set_has_split_partition_key(); |
7861 | 0 | split_partition_key_.SetNoArena( |
7862 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7863 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7864 | 0 | } |
7865 | | #endif |
7866 | 0 | inline void ProducerSplitTabletInfoPB::set_split_partition_key(const char* value) { |
7867 | 0 | GOOGLE_DCHECK(value != NULL); |
7868 | 0 | set_has_split_partition_key(); |
7869 | 0 | split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7870 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7871 | 0 | } |
7872 | 0 | inline void ProducerSplitTabletInfoPB::set_split_partition_key(const void* value, size_t size) { |
7873 | 0 | set_has_split_partition_key(); |
7874 | 0 | split_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7875 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7876 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7877 | 0 | } |
7878 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::mutable_split_partition_key() { |
7879 | 0 | set_has_split_partition_key(); |
7880 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7881 | 0 | return split_partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7882 | 0 | } |
7883 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::release_split_partition_key() { |
7884 | 0 | // @@protoc_insertion_point(field_release:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7885 | 0 | clear_has_split_partition_key(); |
7886 | 0 | return split_partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7887 | 0 | } |
7888 | 0 | inline void ProducerSplitTabletInfoPB::set_allocated_split_partition_key(::std::string* split_partition_key) { |
7889 | 0 | if (split_partition_key != NULL) { |
7890 | 0 | set_has_split_partition_key(); |
7891 | 0 | } else { |
7892 | 0 | clear_has_split_partition_key(); |
7893 | 0 | } |
7894 | 0 | split_partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_partition_key); |
7895 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ProducerSplitTabletInfoPB.split_partition_key) |
7896 | 0 | } |
7897 | | |
7898 | | // required bytes split_encoded_key = 5; |
7899 | 0 | inline bool ProducerSplitTabletInfoPB::has_split_encoded_key() const { |
7900 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
7901 | 0 | } |
7902 | 0 | inline void ProducerSplitTabletInfoPB::set_has_split_encoded_key() { |
7903 | 0 | _has_bits_[0] |= 0x00000010u; |
7904 | 0 | } |
7905 | 0 | inline void ProducerSplitTabletInfoPB::clear_has_split_encoded_key() { |
7906 | 0 | _has_bits_[0] &= ~0x00000010u; |
7907 | 0 | } |
7908 | 0 | inline void ProducerSplitTabletInfoPB::clear_split_encoded_key() { |
7909 | 0 | split_encoded_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7910 | 0 | clear_has_split_encoded_key(); |
7911 | 0 | } |
7912 | 0 | inline const ::std::string& ProducerSplitTabletInfoPB::split_encoded_key() const { |
7913 | 0 | // @@protoc_insertion_point(field_get:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7914 | 0 | return split_encoded_key_.GetNoArena(); |
7915 | 0 | } |
7916 | 0 | inline void ProducerSplitTabletInfoPB::set_split_encoded_key(const ::std::string& value) { |
7917 | 0 | set_has_split_encoded_key(); |
7918 | 0 | split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7919 | | // @@protoc_insertion_point(field_set:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7920 | 0 | } |
7921 | | #if LANG_CXX11 |
7922 | 0 | inline void ProducerSplitTabletInfoPB::set_split_encoded_key(::std::string&& value) { |
7923 | 0 | set_has_split_encoded_key(); |
7924 | 0 | split_encoded_key_.SetNoArena( |
7925 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7926 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7927 | 0 | } |
7928 | | #endif |
7929 | 0 | inline void ProducerSplitTabletInfoPB::set_split_encoded_key(const char* value) { |
7930 | 0 | GOOGLE_DCHECK(value != NULL); |
7931 | 0 | set_has_split_encoded_key(); |
7932 | 0 | split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7933 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7934 | 0 | } |
7935 | 0 | inline void ProducerSplitTabletInfoPB::set_split_encoded_key(const void* value, size_t size) { |
7936 | 0 | set_has_split_encoded_key(); |
7937 | 0 | split_encoded_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7938 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7939 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7940 | 0 | } |
7941 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::mutable_split_encoded_key() { |
7942 | 0 | set_has_split_encoded_key(); |
7943 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7944 | 0 | return split_encoded_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7945 | 0 | } |
7946 | 0 | inline ::std::string* ProducerSplitTabletInfoPB::release_split_encoded_key() { |
7947 | 0 | // @@protoc_insertion_point(field_release:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7948 | 0 | clear_has_split_encoded_key(); |
7949 | 0 | return split_encoded_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7950 | 0 | } |
7951 | 0 | inline void ProducerSplitTabletInfoPB::set_allocated_split_encoded_key(::std::string* split_encoded_key) { |
7952 | 0 | if (split_encoded_key != NULL) { |
7953 | 0 | set_has_split_encoded_key(); |
7954 | 0 | } else { |
7955 | 0 | clear_has_split_encoded_key(); |
7956 | 0 | } |
7957 | 0 | split_encoded_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_encoded_key); |
7958 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ProducerSplitTabletInfoPB.split_encoded_key) |
7959 | 0 | } |
7960 | | |
7961 | | // ------------------------------------------------------------------- |
7962 | | |
7963 | | // UpdateConsumerOnProducerSplitRequestPB |
7964 | | |
7965 | | // optional string producer_id = 1; |
7966 | 0 | inline bool UpdateConsumerOnProducerSplitRequestPB::has_producer_id() const { |
7967 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7968 | 0 | } |
7969 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_has_producer_id() { |
7970 | 0 | _has_bits_[0] |= 0x00000001u; |
7971 | 0 | } |
7972 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::clear_has_producer_id() { |
7973 | 0 | _has_bits_[0] &= ~0x00000001u; |
7974 | 0 | } |
7975 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::clear_producer_id() { |
7976 | 0 | producer_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7977 | 0 | clear_has_producer_id(); |
7978 | 0 | } |
7979 | 0 | inline const ::std::string& UpdateConsumerOnProducerSplitRequestPB::producer_id() const { |
7980 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
7981 | 0 | return producer_id_.GetNoArena(); |
7982 | 0 | } |
7983 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_producer_id(const ::std::string& value) { |
7984 | 0 | set_has_producer_id(); |
7985 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7986 | 0 | // @@protoc_insertion_point(field_set:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
7987 | 0 | } |
7988 | | #if LANG_CXX11 |
7989 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_producer_id(::std::string&& value) { |
7990 | 0 | set_has_producer_id(); |
7991 | 0 | producer_id_.SetNoArena( |
7992 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7993 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
7994 | 0 | } |
7995 | | #endif |
7996 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_producer_id(const char* value) { |
7997 | 0 | GOOGLE_DCHECK(value != NULL); |
7998 | 0 | set_has_producer_id(); |
7999 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8000 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
8001 | 0 | } |
8002 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_producer_id(const char* value, size_t size) { |
8003 | 0 | set_has_producer_id(); |
8004 | 0 | producer_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8005 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8006 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
8007 | 0 | } |
8008 | 0 | inline ::std::string* UpdateConsumerOnProducerSplitRequestPB::mutable_producer_id() { |
8009 | 0 | set_has_producer_id(); |
8010 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
8011 | 0 | return producer_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8012 | 0 | } |
8013 | 0 | inline ::std::string* UpdateConsumerOnProducerSplitRequestPB::release_producer_id() { |
8014 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
8015 | 0 | clear_has_producer_id(); |
8016 | 0 | return producer_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8017 | 0 | } |
8018 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_allocated_producer_id(::std::string* producer_id) { |
8019 | 0 | if (producer_id != NULL) { |
8020 | 0 | set_has_producer_id(); |
8021 | 0 | } else { |
8022 | 0 | clear_has_producer_id(); |
8023 | 0 | } |
8024 | 0 | producer_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), producer_id); |
8025 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_id) |
8026 | 0 | } |
8027 | | |
8028 | | // optional string stream_id = 2; |
8029 | 0 | inline bool UpdateConsumerOnProducerSplitRequestPB::has_stream_id() const { |
8030 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
8031 | 0 | } |
8032 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_has_stream_id() { |
8033 | 0 | _has_bits_[0] |= 0x00000002u; |
8034 | 0 | } |
8035 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::clear_has_stream_id() { |
8036 | 0 | _has_bits_[0] &= ~0x00000002u; |
8037 | 0 | } |
8038 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::clear_stream_id() { |
8039 | 0 | stream_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8040 | 0 | clear_has_stream_id(); |
8041 | 0 | } |
8042 | 0 | inline const ::std::string& UpdateConsumerOnProducerSplitRequestPB::stream_id() const { |
8043 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8044 | 0 | return stream_id_.GetNoArena(); |
8045 | 0 | } |
8046 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_stream_id(const ::std::string& value) { |
8047 | 0 | set_has_stream_id(); |
8048 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8049 | 0 | // @@protoc_insertion_point(field_set:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8050 | 0 | } |
8051 | | #if LANG_CXX11 |
8052 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_stream_id(::std::string&& value) { |
8053 | 0 | set_has_stream_id(); |
8054 | 0 | stream_id_.SetNoArena( |
8055 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8056 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8057 | 0 | } |
8058 | | #endif |
8059 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_stream_id(const char* value) { |
8060 | 0 | GOOGLE_DCHECK(value != NULL); |
8061 | 0 | set_has_stream_id(); |
8062 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8063 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8064 | 0 | } |
8065 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_stream_id(const char* value, size_t size) { |
8066 | 0 | set_has_stream_id(); |
8067 | 0 | stream_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8068 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8069 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8070 | 0 | } |
8071 | 0 | inline ::std::string* UpdateConsumerOnProducerSplitRequestPB::mutable_stream_id() { |
8072 | 0 | set_has_stream_id(); |
8073 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8074 | 0 | return stream_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8075 | 0 | } |
8076 | 0 | inline ::std::string* UpdateConsumerOnProducerSplitRequestPB::release_stream_id() { |
8077 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8078 | 0 | clear_has_stream_id(); |
8079 | 0 | return stream_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8080 | 0 | } |
8081 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_allocated_stream_id(::std::string* stream_id) { |
8082 | 0 | if (stream_id != NULL) { |
8083 | 0 | set_has_stream_id(); |
8084 | 0 | } else { |
8085 | 0 | clear_has_stream_id(); |
8086 | 0 | } |
8087 | 0 | stream_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stream_id); |
8088 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateConsumerOnProducerSplitRequestPB.stream_id) |
8089 | 0 | } |
8090 | | |
8091 | | // optional .yb.master.ProducerSplitTabletInfoPB producer_split_tablet_info = 3; |
8092 | 0 | inline bool UpdateConsumerOnProducerSplitRequestPB::has_producer_split_tablet_info() const { |
8093 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
8094 | 0 | } |
8095 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_has_producer_split_tablet_info() { |
8096 | 0 | _has_bits_[0] |= 0x00000004u; |
8097 | 0 | } |
8098 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::clear_has_producer_split_tablet_info() { |
8099 | 0 | _has_bits_[0] &= ~0x00000004u; |
8100 | 0 | } |
8101 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::clear_producer_split_tablet_info() { |
8102 | 0 | if (producer_split_tablet_info_ != NULL) producer_split_tablet_info_->Clear(); |
8103 | 0 | clear_has_producer_split_tablet_info(); |
8104 | 0 | } |
8105 | 0 | inline const ::yb::master::ProducerSplitTabletInfoPB& UpdateConsumerOnProducerSplitRequestPB::producer_split_tablet_info() const { |
8106 | 0 | const ::yb::master::ProducerSplitTabletInfoPB* p = producer_split_tablet_info_; |
8107 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_split_tablet_info) |
8108 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::ProducerSplitTabletInfoPB*>( |
8109 | 0 | &::yb::master::_ProducerSplitTabletInfoPB_default_instance_); |
8110 | 0 | } |
8111 | 0 | inline ::yb::master::ProducerSplitTabletInfoPB* UpdateConsumerOnProducerSplitRequestPB::release_producer_split_tablet_info() { |
8112 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_split_tablet_info) |
8113 | 0 | clear_has_producer_split_tablet_info(); |
8114 | 0 | ::yb::master::ProducerSplitTabletInfoPB* temp = producer_split_tablet_info_; |
8115 | 0 | producer_split_tablet_info_ = NULL; |
8116 | 0 | return temp; |
8117 | 0 | } |
8118 | 0 | inline ::yb::master::ProducerSplitTabletInfoPB* UpdateConsumerOnProducerSplitRequestPB::mutable_producer_split_tablet_info() { |
8119 | 0 | set_has_producer_split_tablet_info(); |
8120 | 0 | if (producer_split_tablet_info_ == NULL) { |
8121 | 0 | producer_split_tablet_info_ = new ::yb::master::ProducerSplitTabletInfoPB; |
8122 | 0 | } |
8123 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_split_tablet_info) |
8124 | 0 | return producer_split_tablet_info_; |
8125 | 0 | } |
8126 | 0 | inline void UpdateConsumerOnProducerSplitRequestPB::set_allocated_producer_split_tablet_info(::yb::master::ProducerSplitTabletInfoPB* producer_split_tablet_info) { |
8127 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8128 | 0 | if (message_arena == NULL) { |
8129 | 0 | delete producer_split_tablet_info_; |
8130 | 0 | } |
8131 | 0 | if (producer_split_tablet_info) { |
8132 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8133 | 0 | if (message_arena != submessage_arena) { |
8134 | 0 | producer_split_tablet_info = ::google::protobuf::internal::GetOwnedMessage( |
8135 | 0 | message_arena, producer_split_tablet_info, submessage_arena); |
8136 | 0 | } |
8137 | 0 | set_has_producer_split_tablet_info(); |
8138 | 0 | } else { |
8139 | 0 | clear_has_producer_split_tablet_info(); |
8140 | 0 | } |
8141 | 0 | producer_split_tablet_info_ = producer_split_tablet_info; |
8142 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateConsumerOnProducerSplitRequestPB.producer_split_tablet_info) |
8143 | 0 | } |
8144 | | |
8145 | | // ------------------------------------------------------------------- |
8146 | | |
8147 | | // UpdateConsumerOnProducerSplitResponsePB |
8148 | | |
8149 | | // optional .yb.master.MasterErrorPB error = 1; |
8150 | 0 | inline bool UpdateConsumerOnProducerSplitResponsePB::has_error() const { |
8151 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
8152 | 0 | } |
8153 | 0 | inline void UpdateConsumerOnProducerSplitResponsePB::set_has_error() { |
8154 | 0 | _has_bits_[0] |= 0x00000001u; |
8155 | 0 | } |
8156 | 0 | inline void UpdateConsumerOnProducerSplitResponsePB::clear_has_error() { |
8157 | 0 | _has_bits_[0] &= ~0x00000001u; |
8158 | 0 | } |
8159 | 0 | inline const ::yb::master::MasterErrorPB& UpdateConsumerOnProducerSplitResponsePB::error() const { |
8160 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
8161 | 0 | // @@protoc_insertion_point(field_get:yb.master.UpdateConsumerOnProducerSplitResponsePB.error) |
8162 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
8163 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
8164 | 0 | } |
8165 | 0 | inline ::yb::master::MasterErrorPB* UpdateConsumerOnProducerSplitResponsePB::release_error() { |
8166 | 0 | // @@protoc_insertion_point(field_release:yb.master.UpdateConsumerOnProducerSplitResponsePB.error) |
8167 | 0 | clear_has_error(); |
8168 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
8169 | 0 | error_ = NULL; |
8170 | 0 | return temp; |
8171 | 0 | } |
8172 | 0 | inline ::yb::master::MasterErrorPB* UpdateConsumerOnProducerSplitResponsePB::mutable_error() { |
8173 | 0 | set_has_error(); |
8174 | 0 | if (error_ == NULL) { |
8175 | 0 | error_ = new ::yb::master::MasterErrorPB; |
8176 | 0 | } |
8177 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.UpdateConsumerOnProducerSplitResponsePB.error) |
8178 | 0 | return error_; |
8179 | 0 | } |
8180 | 0 | inline void UpdateConsumerOnProducerSplitResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
8181 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8182 | 0 | if (message_arena == NULL) { |
8183 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
8184 | 0 | } |
8185 | 0 | if (error) { |
8186 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8187 | 0 | if (message_arena != submessage_arena) { |
8188 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
8189 | 0 | message_arena, error, submessage_arena); |
8190 | 0 | } |
8191 | 0 | set_has_error(); |
8192 | 0 | } else { |
8193 | 0 | clear_has_error(); |
8194 | 0 | } |
8195 | 0 | error_ = error; |
8196 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.UpdateConsumerOnProducerSplitResponsePB.error) |
8197 | 0 | } |
8198 | | |
8199 | | #ifdef __GNUC__ |
8200 | | #pragma GCC diagnostic pop |
8201 | | #endif // __GNUC__ |
8202 | | // ------------------------------------------------------------------- |
8203 | | |
8204 | | // ------------------------------------------------------------------- |
8205 | | |
8206 | | // ------------------------------------------------------------------- |
8207 | | |
8208 | | // ------------------------------------------------------------------- |
8209 | | |
8210 | | // ------------------------------------------------------------------- |
8211 | | |
8212 | | // ------------------------------------------------------------------- |
8213 | | |
8214 | | // ------------------------------------------------------------------- |
8215 | | |
8216 | | // ------------------------------------------------------------------- |
8217 | | |
8218 | | // ------------------------------------------------------------------- |
8219 | | |
8220 | | // ------------------------------------------------------------------- |
8221 | | |
8222 | | // ------------------------------------------------------------------- |
8223 | | |
8224 | | // ------------------------------------------------------------------- |
8225 | | |
8226 | | // ------------------------------------------------------------------- |
8227 | | |
8228 | | // ------------------------------------------------------------------- |
8229 | | |
8230 | | // ------------------------------------------------------------------- |
8231 | | |
8232 | | // ------------------------------------------------------------------- |
8233 | | |
8234 | | // ------------------------------------------------------------------- |
8235 | | |
8236 | | // ------------------------------------------------------------------- |
8237 | | |
8238 | | // ------------------------------------------------------------------- |
8239 | | |
8240 | | // ------------------------------------------------------------------- |
8241 | | |
8242 | | // ------------------------------------------------------------------- |
8243 | | |
8244 | | // ------------------------------------------------------------------- |
8245 | | |
8246 | | // ------------------------------------------------------------------- |
8247 | | |
8248 | | // ------------------------------------------------------------------- |
8249 | | |
8250 | | // ------------------------------------------------------------------- |
8251 | | |
8252 | | // ------------------------------------------------------------------- |
8253 | | |
8254 | | // ------------------------------------------------------------------- |
8255 | | |
8256 | | // ------------------------------------------------------------------- |
8257 | | |
8258 | | // ------------------------------------------------------------------- |
8259 | | |
8260 | | // ------------------------------------------------------------------- |
8261 | | |
8262 | | |
8263 | | // @@protoc_insertion_point(namespace_scope) |
8264 | | |
8265 | | } // namespace master |
8266 | | } // namespace yb |
8267 | | |
8268 | | namespace google { |
8269 | | namespace protobuf { |
8270 | | |
8271 | | template <> struct is_proto_enum< ::yb::master::IdTypePB> : ::google::protobuf::internal::true_type {}; |
8272 | | template <> |
8273 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::master::IdTypePB>() { |
8274 | 0 | return ::yb::master::IdTypePB_descriptor(); |
8275 | 0 | } |
8276 | | |
8277 | | } // namespace protobuf |
8278 | | } // namespace google |
8279 | | |
8280 | | // @@protoc_insertion_point(global_scope) |
8281 | | |
8282 | | #endif // PROTOBUF_yb_2fmaster_2fmaster_5freplication_2eproto__INCLUDED |