/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_client.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_client.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fmaster_2fmaster_5fclient_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fmaster_2fmaster_5fclient_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/unknown_field_set.h> |
32 | | #include "yb/common/common.pb.h" |
33 | | #include "yb/common/common_net.pb.h" |
34 | | #include "yb/common/common_types.pb.h" |
35 | | #include "yb/common/wire_protocol.pb.h" |
36 | | #include "yb/consensus/metadata.pb.h" |
37 | | #include "yb/master/master_types.pb.h" |
38 | | #include "yb/rpc/service.pb.h" |
39 | | // @@protoc_insertion_point(includes) |
40 | | |
41 | | namespace protobuf_yb_2fmaster_2fmaster_5fclient_2eproto { |
42 | | // Internal implementation detail -- do not use these members. |
43 | | struct TableStruct { |
44 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
45 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
46 | | static const ::google::protobuf::internal::ParseTable schema[18]; |
47 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
48 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
49 | | static const ::google::protobuf::uint32 offsets[]; |
50 | | }; |
51 | | void AddDescriptors(); |
52 | | void InitDefaultsTSInfoPBImpl(); |
53 | | void InitDefaultsTSInfoPB(); |
54 | | void InitDefaultsTabletLocationsPB_ReplicaPBImpl(); |
55 | | void InitDefaultsTabletLocationsPB_ReplicaPB(); |
56 | | void InitDefaultsTabletLocationsPBImpl(); |
57 | | void InitDefaultsTabletLocationsPB(); |
58 | | void InitDefaultsGetTabletLocationsRequestPBImpl(); |
59 | | void InitDefaultsGetTabletLocationsRequestPB(); |
60 | | void InitDefaultsGetTabletLocationsResponsePB_ErrorImpl(); |
61 | | void InitDefaultsGetTabletLocationsResponsePB_Error(); |
62 | | void InitDefaultsGetTabletLocationsResponsePBImpl(); |
63 | | void InitDefaultsGetTabletLocationsResponsePB(); |
64 | | void InitDefaultsGetTableLocationsRequestPBImpl(); |
65 | | void InitDefaultsGetTableLocationsRequestPB(); |
66 | | void InitDefaultsGetTableLocationsResponsePBImpl(); |
67 | | void InitDefaultsGetTableLocationsResponsePB(); |
68 | | void InitDefaultsGetTransactionStatusTabletsRequestPBImpl(); |
69 | | void InitDefaultsGetTransactionStatusTabletsRequestPB(); |
70 | | void InitDefaultsGetTransactionStatusTabletsResponsePBImpl(); |
71 | | void InitDefaultsGetTransactionStatusTabletsResponsePB(); |
72 | | void InitDefaultsReservePgsqlOidsRequestPBImpl(); |
73 | | void InitDefaultsReservePgsqlOidsRequestPB(); |
74 | | void InitDefaultsReservePgsqlOidsResponsePBImpl(); |
75 | | void InitDefaultsReservePgsqlOidsResponsePB(); |
76 | | void InitDefaultsGetYsqlCatalogConfigRequestPBImpl(); |
77 | | void InitDefaultsGetYsqlCatalogConfigRequestPB(); |
78 | | void InitDefaultsGetYsqlCatalogConfigResponsePBImpl(); |
79 | | void InitDefaultsGetYsqlCatalogConfigResponsePB(); |
80 | | void InitDefaultsRedisConfigSetRequestPBImpl(); |
81 | | void InitDefaultsRedisConfigSetRequestPB(); |
82 | | void InitDefaultsRedisConfigSetResponsePBImpl(); |
83 | | void InitDefaultsRedisConfigSetResponsePB(); |
84 | | void InitDefaultsRedisConfigGetRequestPBImpl(); |
85 | | void InitDefaultsRedisConfigGetRequestPB(); |
86 | | void InitDefaultsRedisConfigGetResponsePBImpl(); |
87 | | void InitDefaultsRedisConfigGetResponsePB(); |
88 | 26.8k | inline void InitDefaults() { |
89 | 26.8k | InitDefaultsTSInfoPB(); |
90 | 26.8k | InitDefaultsTabletLocationsPB_ReplicaPB(); |
91 | 26.8k | InitDefaultsTabletLocationsPB(); |
92 | 26.8k | InitDefaultsGetTabletLocationsRequestPB(); |
93 | 26.8k | InitDefaultsGetTabletLocationsResponsePB_Error(); |
94 | 26.8k | InitDefaultsGetTabletLocationsResponsePB(); |
95 | 26.8k | InitDefaultsGetTableLocationsRequestPB(); |
96 | 26.8k | InitDefaultsGetTableLocationsResponsePB(); |
97 | 26.8k | InitDefaultsGetTransactionStatusTabletsRequestPB(); |
98 | 26.8k | InitDefaultsGetTransactionStatusTabletsResponsePB(); |
99 | 26.8k | InitDefaultsReservePgsqlOidsRequestPB(); |
100 | 26.8k | InitDefaultsReservePgsqlOidsResponsePB(); |
101 | 26.8k | InitDefaultsGetYsqlCatalogConfigRequestPB(); |
102 | 26.8k | InitDefaultsGetYsqlCatalogConfigResponsePB(); |
103 | 26.8k | InitDefaultsRedisConfigSetRequestPB(); |
104 | 26.8k | InitDefaultsRedisConfigSetResponsePB(); |
105 | 26.8k | InitDefaultsRedisConfigGetRequestPB(); |
106 | 26.8k | InitDefaultsRedisConfigGetResponsePB(); |
107 | 26.8k | } |
108 | | } // namespace protobuf_yb_2fmaster_2fmaster_5fclient_2eproto |
109 | | namespace yb { |
110 | | namespace master { |
111 | | class GetTableLocationsRequestPB; |
112 | | class GetTableLocationsRequestPBDefaultTypeInternal; |
113 | | extern GetTableLocationsRequestPBDefaultTypeInternal _GetTableLocationsRequestPB_default_instance_; |
114 | | class GetTableLocationsResponsePB; |
115 | | class GetTableLocationsResponsePBDefaultTypeInternal; |
116 | | extern GetTableLocationsResponsePBDefaultTypeInternal _GetTableLocationsResponsePB_default_instance_; |
117 | | class GetTabletLocationsRequestPB; |
118 | | class GetTabletLocationsRequestPBDefaultTypeInternal; |
119 | | extern GetTabletLocationsRequestPBDefaultTypeInternal _GetTabletLocationsRequestPB_default_instance_; |
120 | | class GetTabletLocationsResponsePB; |
121 | | class GetTabletLocationsResponsePBDefaultTypeInternal; |
122 | | extern GetTabletLocationsResponsePBDefaultTypeInternal _GetTabletLocationsResponsePB_default_instance_; |
123 | | class GetTabletLocationsResponsePB_Error; |
124 | | class GetTabletLocationsResponsePB_ErrorDefaultTypeInternal; |
125 | | extern GetTabletLocationsResponsePB_ErrorDefaultTypeInternal _GetTabletLocationsResponsePB_Error_default_instance_; |
126 | | class GetTransactionStatusTabletsRequestPB; |
127 | | class GetTransactionStatusTabletsRequestPBDefaultTypeInternal; |
128 | | extern GetTransactionStatusTabletsRequestPBDefaultTypeInternal _GetTransactionStatusTabletsRequestPB_default_instance_; |
129 | | class GetTransactionStatusTabletsResponsePB; |
130 | | class GetTransactionStatusTabletsResponsePBDefaultTypeInternal; |
131 | | extern GetTransactionStatusTabletsResponsePBDefaultTypeInternal _GetTransactionStatusTabletsResponsePB_default_instance_; |
132 | | class GetYsqlCatalogConfigRequestPB; |
133 | | class GetYsqlCatalogConfigRequestPBDefaultTypeInternal; |
134 | | extern GetYsqlCatalogConfigRequestPBDefaultTypeInternal _GetYsqlCatalogConfigRequestPB_default_instance_; |
135 | | class GetYsqlCatalogConfigResponsePB; |
136 | | class GetYsqlCatalogConfigResponsePBDefaultTypeInternal; |
137 | | extern GetYsqlCatalogConfigResponsePBDefaultTypeInternal _GetYsqlCatalogConfigResponsePB_default_instance_; |
138 | | class RedisConfigGetRequestPB; |
139 | | class RedisConfigGetRequestPBDefaultTypeInternal; |
140 | | extern RedisConfigGetRequestPBDefaultTypeInternal _RedisConfigGetRequestPB_default_instance_; |
141 | | class RedisConfigGetResponsePB; |
142 | | class RedisConfigGetResponsePBDefaultTypeInternal; |
143 | | extern RedisConfigGetResponsePBDefaultTypeInternal _RedisConfigGetResponsePB_default_instance_; |
144 | | class RedisConfigSetRequestPB; |
145 | | class RedisConfigSetRequestPBDefaultTypeInternal; |
146 | | extern RedisConfigSetRequestPBDefaultTypeInternal _RedisConfigSetRequestPB_default_instance_; |
147 | | class RedisConfigSetResponsePB; |
148 | | class RedisConfigSetResponsePBDefaultTypeInternal; |
149 | | extern RedisConfigSetResponsePBDefaultTypeInternal _RedisConfigSetResponsePB_default_instance_; |
150 | | class ReservePgsqlOidsRequestPB; |
151 | | class ReservePgsqlOidsRequestPBDefaultTypeInternal; |
152 | | extern ReservePgsqlOidsRequestPBDefaultTypeInternal _ReservePgsqlOidsRequestPB_default_instance_; |
153 | | class ReservePgsqlOidsResponsePB; |
154 | | class ReservePgsqlOidsResponsePBDefaultTypeInternal; |
155 | | extern ReservePgsqlOidsResponsePBDefaultTypeInternal _ReservePgsqlOidsResponsePB_default_instance_; |
156 | | class TSInfoPB; |
157 | | class TSInfoPBDefaultTypeInternal; |
158 | | extern TSInfoPBDefaultTypeInternal _TSInfoPB_default_instance_; |
159 | | class TabletLocationsPB; |
160 | | class TabletLocationsPBDefaultTypeInternal; |
161 | | extern TabletLocationsPBDefaultTypeInternal _TabletLocationsPB_default_instance_; |
162 | | class TabletLocationsPB_ReplicaPB; |
163 | | class TabletLocationsPB_ReplicaPBDefaultTypeInternal; |
164 | | extern TabletLocationsPB_ReplicaPBDefaultTypeInternal _TabletLocationsPB_ReplicaPB_default_instance_; |
165 | | } // namespace master |
166 | | } // namespace yb |
167 | | namespace yb { |
168 | | namespace master { |
169 | | |
170 | | // =================================================================== |
171 | | |
172 | | class TSInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TSInfoPB) */ { |
173 | | public: |
174 | | TSInfoPB(); |
175 | | virtual ~TSInfoPB(); |
176 | | |
177 | | TSInfoPB(const TSInfoPB& from); |
178 | | |
179 | 2 | inline TSInfoPB& operator=(const TSInfoPB& from) { |
180 | 2 | CopyFrom(from); |
181 | 2 | return *this; |
182 | 2 | } |
183 | | #if LANG_CXX11 |
184 | | TSInfoPB(TSInfoPB&& from) noexcept |
185 | 0 | : TSInfoPB() { |
186 | 0 | *this = ::std::move(from); |
187 | 0 | } |
188 | | |
189 | 0 | inline TSInfoPB& operator=(TSInfoPB&& from) noexcept { |
190 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
191 | 0 | if (this != &from) InternalSwap(&from); |
192 | 0 | } else { |
193 | 0 | CopyFrom(from); |
194 | 0 | } |
195 | 0 | return *this; |
196 | 0 | } |
197 | | #endif |
198 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
199 | 0 | return _internal_metadata_.unknown_fields(); |
200 | 0 | } |
201 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
202 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
203 | 0 | } |
204 | | |
205 | | static const ::google::protobuf::Descriptor* descriptor(); |
206 | | static const TSInfoPB& default_instance(); |
207 | | |
208 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
209 | 4.75M | static inline const TSInfoPB* internal_default_instance() { |
210 | 4.75M | return reinterpret_cast<const TSInfoPB*>( |
211 | 4.75M | &_TSInfoPB_default_instance_); |
212 | 4.75M | } |
213 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
214 | | 0; |
215 | | |
216 | | void Swap(TSInfoPB* other); |
217 | 0 | friend void swap(TSInfoPB& a, TSInfoPB& b) { |
218 | 0 | a.Swap(&b); |
219 | 0 | } |
220 | | |
221 | | // implements Message ---------------------------------------------- |
222 | | |
223 | 0 | inline TSInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
224 | | |
225 | | TSInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
226 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
227 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
228 | | void CopyFrom(const TSInfoPB& from); |
229 | | void MergeFrom(const TSInfoPB& from); |
230 | | void Clear() PROTOBUF_FINAL; |
231 | | bool IsInitialized() const PROTOBUF_FINAL; |
232 | | |
233 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
234 | | bool MergePartialFromCodedStream( |
235 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
236 | | void SerializeWithCachedSizes( |
237 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
238 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
239 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
240 | 1.01M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
241 | | private: |
242 | | void SharedCtor(); |
243 | | void SharedDtor(); |
244 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
245 | | void InternalSwap(TSInfoPB* other); |
246 | | private: |
247 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
248 | 0 | return NULL; |
249 | 0 | } |
250 | 0 | inline void* MaybeArenaPtr() const { |
251 | 0 | return NULL; |
252 | 0 | } |
253 | | public: |
254 | | |
255 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
256 | | |
257 | | // nested types ---------------------------------------------------- |
258 | | |
259 | | // accessors ------------------------------------------------------- |
260 | | |
261 | | // repeated .yb.HostPortPB private_rpc_addresses = 2; |
262 | | int private_rpc_addresses_size() const; |
263 | | void clear_private_rpc_addresses(); |
264 | | static const int kPrivateRpcAddressesFieldNumber = 2; |
265 | | const ::yb::HostPortPB& private_rpc_addresses(int index) const; |
266 | | ::yb::HostPortPB* mutable_private_rpc_addresses(int index); |
267 | | ::yb::HostPortPB* add_private_rpc_addresses(); |
268 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
269 | | mutable_private_rpc_addresses(); |
270 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
271 | | private_rpc_addresses() const; |
272 | | |
273 | | // repeated .yb.HostPortPB broadcast_addresses = 5; |
274 | | int broadcast_addresses_size() const; |
275 | | void clear_broadcast_addresses(); |
276 | | static const int kBroadcastAddressesFieldNumber = 5; |
277 | | const ::yb::HostPortPB& broadcast_addresses(int index) const; |
278 | | ::yb::HostPortPB* mutable_broadcast_addresses(int index); |
279 | | ::yb::HostPortPB* add_broadcast_addresses(); |
280 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
281 | | mutable_broadcast_addresses(); |
282 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
283 | | broadcast_addresses() const; |
284 | | |
285 | | // repeated fixed32 capabilities = 6; |
286 | | int capabilities_size() const; |
287 | | void clear_capabilities(); |
288 | | static const int kCapabilitiesFieldNumber = 6; |
289 | | ::google::protobuf::uint32 capabilities(int index) const; |
290 | | void set_capabilities(int index, ::google::protobuf::uint32 value); |
291 | | void add_capabilities(::google::protobuf::uint32 value); |
292 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
293 | | capabilities() const; |
294 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
295 | | mutable_capabilities(); |
296 | | |
297 | | // required bytes permanent_uuid = 1; |
298 | | bool has_permanent_uuid() const; |
299 | | void clear_permanent_uuid(); |
300 | | static const int kPermanentUuidFieldNumber = 1; |
301 | | const ::std::string& permanent_uuid() const; |
302 | | void set_permanent_uuid(const ::std::string& value); |
303 | | #if LANG_CXX11 |
304 | | void set_permanent_uuid(::std::string&& value); |
305 | | #endif |
306 | | void set_permanent_uuid(const char* value); |
307 | | void set_permanent_uuid(const void* value, size_t size); |
308 | | ::std::string* mutable_permanent_uuid(); |
309 | | ::std::string* release_permanent_uuid(); |
310 | | void set_allocated_permanent_uuid(::std::string* permanent_uuid); |
311 | | |
312 | | // optional bytes placement_uuid = 4; |
313 | | bool has_placement_uuid() const; |
314 | | void clear_placement_uuid(); |
315 | | static const int kPlacementUuidFieldNumber = 4; |
316 | | const ::std::string& placement_uuid() const; |
317 | | void set_placement_uuid(const ::std::string& value); |
318 | | #if LANG_CXX11 |
319 | | void set_placement_uuid(::std::string&& value); |
320 | | #endif |
321 | | void set_placement_uuid(const char* value); |
322 | | void set_placement_uuid(const void* value, size_t size); |
323 | | ::std::string* mutable_placement_uuid(); |
324 | | ::std::string* release_placement_uuid(); |
325 | | void set_allocated_placement_uuid(::std::string* placement_uuid); |
326 | | |
327 | | // optional .yb.CloudInfoPB cloud_info = 3; |
328 | | bool has_cloud_info() const; |
329 | | void clear_cloud_info(); |
330 | | static const int kCloudInfoFieldNumber = 3; |
331 | | const ::yb::CloudInfoPB& cloud_info() const; |
332 | | ::yb::CloudInfoPB* release_cloud_info(); |
333 | | ::yb::CloudInfoPB* mutable_cloud_info(); |
334 | | void set_allocated_cloud_info(::yb::CloudInfoPB* cloud_info); |
335 | | |
336 | | // @@protoc_insertion_point(class_scope:yb.master.TSInfoPB) |
337 | | private: |
338 | | void set_has_permanent_uuid(); |
339 | | void clear_has_permanent_uuid(); |
340 | | void set_has_cloud_info(); |
341 | | void clear_has_cloud_info(); |
342 | | void set_has_placement_uuid(); |
343 | | void clear_has_placement_uuid(); |
344 | | |
345 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
346 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
347 | | mutable int _cached_size_; |
348 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > private_rpc_addresses_; |
349 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > broadcast_addresses_; |
350 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > capabilities_; |
351 | | ::google::protobuf::internal::ArenaStringPtr permanent_uuid_; |
352 | | ::google::protobuf::internal::ArenaStringPtr placement_uuid_; |
353 | | ::yb::CloudInfoPB* cloud_info_; |
354 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
355 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsTSInfoPBImpl(); |
356 | | }; |
357 | | // ------------------------------------------------------------------- |
358 | | |
359 | | class TabletLocationsPB_ReplicaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletLocationsPB.ReplicaPB) */ { |
360 | | public: |
361 | | TabletLocationsPB_ReplicaPB(); |
362 | | virtual ~TabletLocationsPB_ReplicaPB(); |
363 | | |
364 | | TabletLocationsPB_ReplicaPB(const TabletLocationsPB_ReplicaPB& from); |
365 | | |
366 | 0 | inline TabletLocationsPB_ReplicaPB& operator=(const TabletLocationsPB_ReplicaPB& from) { |
367 | 0 | CopyFrom(from); |
368 | 0 | return *this; |
369 | 0 | } |
370 | | #if LANG_CXX11 |
371 | | TabletLocationsPB_ReplicaPB(TabletLocationsPB_ReplicaPB&& from) noexcept |
372 | 0 | : TabletLocationsPB_ReplicaPB() { |
373 | 0 | *this = ::std::move(from); |
374 | 0 | } |
375 | | |
376 | 0 | inline TabletLocationsPB_ReplicaPB& operator=(TabletLocationsPB_ReplicaPB&& from) noexcept { |
377 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
378 | 0 | if (this != &from) InternalSwap(&from); |
379 | 0 | } else { |
380 | 0 | CopyFrom(from); |
381 | 0 | } |
382 | 0 | return *this; |
383 | 0 | } |
384 | | #endif |
385 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
386 | 0 | return _internal_metadata_.unknown_fields(); |
387 | 0 | } |
388 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
389 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
390 | 0 | } |
391 | | |
392 | | static const ::google::protobuf::Descriptor* descriptor(); |
393 | | static const TabletLocationsPB_ReplicaPB& default_instance(); |
394 | | |
395 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
396 | 4.72M | static inline const TabletLocationsPB_ReplicaPB* internal_default_instance() { |
397 | 4.72M | return reinterpret_cast<const TabletLocationsPB_ReplicaPB*>( |
398 | 4.72M | &_TabletLocationsPB_ReplicaPB_default_instance_); |
399 | 4.72M | } |
400 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
401 | | 1; |
402 | | |
403 | | void Swap(TabletLocationsPB_ReplicaPB* other); |
404 | 0 | friend void swap(TabletLocationsPB_ReplicaPB& a, TabletLocationsPB_ReplicaPB& b) { |
405 | 0 | a.Swap(&b); |
406 | 0 | } |
407 | | |
408 | | // implements Message ---------------------------------------------- |
409 | | |
410 | 0 | inline TabletLocationsPB_ReplicaPB* New() const PROTOBUF_FINAL { return New(NULL); } |
411 | | |
412 | | TabletLocationsPB_ReplicaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
413 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
414 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
415 | | void CopyFrom(const TabletLocationsPB_ReplicaPB& from); |
416 | | void MergeFrom(const TabletLocationsPB_ReplicaPB& from); |
417 | | void Clear() PROTOBUF_FINAL; |
418 | | bool IsInitialized() const PROTOBUF_FINAL; |
419 | | |
420 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
421 | | bool MergePartialFromCodedStream( |
422 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
423 | | void SerializeWithCachedSizes( |
424 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
425 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
426 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
427 | 1.01M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
428 | | private: |
429 | | void SharedCtor(); |
430 | | void SharedDtor(); |
431 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
432 | | void InternalSwap(TabletLocationsPB_ReplicaPB* other); |
433 | | private: |
434 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
435 | 0 | return NULL; |
436 | 0 | } |
437 | 0 | inline void* MaybeArenaPtr() const { |
438 | 0 | return NULL; |
439 | 0 | } |
440 | | public: |
441 | | |
442 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
443 | | |
444 | | // nested types ---------------------------------------------------- |
445 | | |
446 | | // accessors ------------------------------------------------------- |
447 | | |
448 | | // required .yb.master.TSInfoPB ts_info = 1; |
449 | | bool has_ts_info() const; |
450 | | void clear_ts_info(); |
451 | | static const int kTsInfoFieldNumber = 1; |
452 | | const ::yb::master::TSInfoPB& ts_info() const; |
453 | | ::yb::master::TSInfoPB* release_ts_info(); |
454 | | ::yb::master::TSInfoPB* mutable_ts_info(); |
455 | | void set_allocated_ts_info(::yb::master::TSInfoPB* ts_info); |
456 | | |
457 | | // required .yb.PeerRole role = 2; |
458 | | bool has_role() const; |
459 | | void clear_role(); |
460 | | static const int kRoleFieldNumber = 2; |
461 | | ::yb::PeerRole role() const; |
462 | | void set_role(::yb::PeerRole value); |
463 | | |
464 | | // optional .yb.consensus.PeerMemberType member_type = 3; |
465 | | bool has_member_type() const; |
466 | | void clear_member_type(); |
467 | | static const int kMemberTypeFieldNumber = 3; |
468 | | ::yb::consensus::PeerMemberType member_type() const; |
469 | | void set_member_type(::yb::consensus::PeerMemberType value); |
470 | | |
471 | | // @@protoc_insertion_point(class_scope:yb.master.TabletLocationsPB.ReplicaPB) |
472 | | private: |
473 | | void set_has_ts_info(); |
474 | | void clear_has_ts_info(); |
475 | | void set_has_role(); |
476 | | void clear_has_role(); |
477 | | void set_has_member_type(); |
478 | | void clear_has_member_type(); |
479 | | |
480 | | // helper for ByteSizeLong() |
481 | | size_t RequiredFieldsByteSizeFallback() const; |
482 | | |
483 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
484 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
485 | | mutable int _cached_size_; |
486 | | ::yb::master::TSInfoPB* ts_info_; |
487 | | int role_; |
488 | | int member_type_; |
489 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
490 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsTabletLocationsPB_ReplicaPBImpl(); |
491 | | }; |
492 | | // ------------------------------------------------------------------- |
493 | | |
494 | | class TabletLocationsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.TabletLocationsPB) */ { |
495 | | public: |
496 | | TabletLocationsPB(); |
497 | | virtual ~TabletLocationsPB(); |
498 | | |
499 | | TabletLocationsPB(const TabletLocationsPB& from); |
500 | | |
501 | 88 | inline TabletLocationsPB& operator=(const TabletLocationsPB& from) { |
502 | 88 | CopyFrom(from); |
503 | 88 | return *this; |
504 | 88 | } |
505 | | #if LANG_CXX11 |
506 | | TabletLocationsPB(TabletLocationsPB&& from) noexcept |
507 | 6 | : TabletLocationsPB() { |
508 | 6 | *this = ::std::move(from); |
509 | 6 | } Unexecuted instantiation: yb::master::TabletLocationsPB::TabletLocationsPB(yb::master::TabletLocationsPB&&) yb::master::TabletLocationsPB::TabletLocationsPB(yb::master::TabletLocationsPB&&) Line | Count | Source | 507 | 6 | : TabletLocationsPB() { | 508 | 6 | *this = ::std::move(from); | 509 | 6 | } |
|
510 | | |
511 | 6 | inline TabletLocationsPB& operator=(TabletLocationsPB&& from) noexcept { |
512 | 6 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
513 | 6 | if (this != &from) InternalSwap(&from); |
514 | 6 | } else { |
515 | 0 | CopyFrom(from); |
516 | 0 | } |
517 | 6 | return *this; |
518 | 6 | } |
519 | | #endif |
520 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
521 | 0 | return _internal_metadata_.unknown_fields(); |
522 | 0 | } |
523 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
524 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
525 | 0 | } |
526 | | |
527 | | static const ::google::protobuf::Descriptor* descriptor(); |
528 | | static const TabletLocationsPB& default_instance(); |
529 | | |
530 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
531 | 1.75M | static inline const TabletLocationsPB* internal_default_instance() { |
532 | 1.75M | return reinterpret_cast<const TabletLocationsPB*>( |
533 | 1.75M | &_TabletLocationsPB_default_instance_); |
534 | 1.75M | } |
535 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
536 | | 2; |
537 | | |
538 | | void Swap(TabletLocationsPB* other); |
539 | 0 | friend void swap(TabletLocationsPB& a, TabletLocationsPB& b) { |
540 | 0 | a.Swap(&b); |
541 | 0 | } |
542 | | |
543 | | // implements Message ---------------------------------------------- |
544 | | |
545 | 0 | inline TabletLocationsPB* New() const PROTOBUF_FINAL { return New(NULL); } |
546 | | |
547 | | TabletLocationsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
548 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
549 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
550 | | void CopyFrom(const TabletLocationsPB& from); |
551 | | void MergeFrom(const TabletLocationsPB& from); |
552 | | void Clear() PROTOBUF_FINAL; |
553 | | bool IsInitialized() const PROTOBUF_FINAL; |
554 | | |
555 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
556 | | bool MergePartialFromCodedStream( |
557 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
558 | | void SerializeWithCachedSizes( |
559 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
560 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
561 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
562 | 361k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
563 | | private: |
564 | | void SharedCtor(); |
565 | | void SharedDtor(); |
566 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
567 | | void InternalSwap(TabletLocationsPB* other); |
568 | | private: |
569 | 12 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
570 | 12 | return NULL; |
571 | 12 | } |
572 | 0 | inline void* MaybeArenaPtr() const { |
573 | 0 | return NULL; |
574 | 0 | } |
575 | | public: |
576 | | |
577 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
578 | | |
579 | | // nested types ---------------------------------------------------- |
580 | | |
581 | | typedef TabletLocationsPB_ReplicaPB ReplicaPB; |
582 | | |
583 | | // accessors ------------------------------------------------------- |
584 | | |
585 | | // repeated .yb.master.TabletLocationsPB.ReplicaPB replicas = 4; |
586 | | int replicas_size() const; |
587 | | void clear_replicas(); |
588 | | static const int kReplicasFieldNumber = 4; |
589 | | const ::yb::master::TabletLocationsPB_ReplicaPB& replicas(int index) const; |
590 | | ::yb::master::TabletLocationsPB_ReplicaPB* mutable_replicas(int index); |
591 | | ::yb::master::TabletLocationsPB_ReplicaPB* add_replicas(); |
592 | | ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB_ReplicaPB >* |
593 | | mutable_replicas(); |
594 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB_ReplicaPB >& |
595 | | replicas() const; |
596 | | |
597 | | // repeated bytes table_ids = 8; |
598 | | int table_ids_size() const; |
599 | | void clear_table_ids(); |
600 | | static const int kTableIdsFieldNumber = 8; |
601 | | const ::std::string& table_ids(int index) const; |
602 | | ::std::string* mutable_table_ids(int index); |
603 | | void set_table_ids(int index, const ::std::string& value); |
604 | | #if LANG_CXX11 |
605 | | void set_table_ids(int index, ::std::string&& value); |
606 | | #endif |
607 | | void set_table_ids(int index, const char* value); |
608 | | void set_table_ids(int index, const void* value, size_t size); |
609 | | ::std::string* add_table_ids(); |
610 | | void add_table_ids(const ::std::string& value); |
611 | | #if LANG_CXX11 |
612 | | void add_table_ids(::std::string&& value); |
613 | | #endif |
614 | | void add_table_ids(const char* value); |
615 | | void add_table_ids(const void* value, size_t size); |
616 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& table_ids() const; |
617 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_table_ids(); |
618 | | |
619 | | // repeated bytes split_tablet_ids = 13; |
620 | | int split_tablet_ids_size() const; |
621 | | void clear_split_tablet_ids(); |
622 | | static const int kSplitTabletIdsFieldNumber = 13; |
623 | | const ::std::string& split_tablet_ids(int index) const; |
624 | | ::std::string* mutable_split_tablet_ids(int index); |
625 | | void set_split_tablet_ids(int index, const ::std::string& value); |
626 | | #if LANG_CXX11 |
627 | | void set_split_tablet_ids(int index, ::std::string&& value); |
628 | | #endif |
629 | | void set_split_tablet_ids(int index, const char* value); |
630 | | void set_split_tablet_ids(int index, const void* value, size_t size); |
631 | | ::std::string* add_split_tablet_ids(); |
632 | | void add_split_tablet_ids(const ::std::string& value); |
633 | | #if LANG_CXX11 |
634 | | void add_split_tablet_ids(::std::string&& value); |
635 | | #endif |
636 | | void add_split_tablet_ids(const char* value); |
637 | | void add_split_tablet_ids(const void* value, size_t size); |
638 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& split_tablet_ids() const; |
639 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_split_tablet_ids(); |
640 | | |
641 | | // required bytes tablet_id = 1; |
642 | | bool has_tablet_id() const; |
643 | | void clear_tablet_id(); |
644 | | static const int kTabletIdFieldNumber = 1; |
645 | | const ::std::string& tablet_id() const; |
646 | | void set_tablet_id(const ::std::string& value); |
647 | | #if LANG_CXX11 |
648 | | void set_tablet_id(::std::string&& value); |
649 | | #endif |
650 | | void set_tablet_id(const char* value); |
651 | | void set_tablet_id(const void* value, size_t size); |
652 | | ::std::string* mutable_tablet_id(); |
653 | | ::std::string* release_tablet_id(); |
654 | | void set_allocated_tablet_id(::std::string* tablet_id); |
655 | | |
656 | | // optional bytes start_key = 2; |
657 | | bool has_start_key() const; |
658 | | void clear_start_key(); |
659 | | static const int kStartKeyFieldNumber = 2; |
660 | | const ::std::string& start_key() const; |
661 | | void set_start_key(const ::std::string& value); |
662 | | #if LANG_CXX11 |
663 | | void set_start_key(::std::string&& value); |
664 | | #endif |
665 | | void set_start_key(const char* value); |
666 | | void set_start_key(const void* value, size_t size); |
667 | | ::std::string* mutable_start_key(); |
668 | | ::std::string* release_start_key(); |
669 | | void set_allocated_start_key(::std::string* start_key); |
670 | | |
671 | | // optional bytes end_key = 3; |
672 | | bool has_end_key() const; |
673 | | void clear_end_key(); |
674 | | static const int kEndKeyFieldNumber = 3; |
675 | | const ::std::string& end_key() const; |
676 | | void set_end_key(const ::std::string& value); |
677 | | #if LANG_CXX11 |
678 | | void set_end_key(::std::string&& value); |
679 | | #endif |
680 | | void set_end_key(const char* value); |
681 | | void set_end_key(const void* value, size_t size); |
682 | | ::std::string* mutable_end_key(); |
683 | | ::std::string* release_end_key(); |
684 | | void set_allocated_end_key(::std::string* end_key); |
685 | | |
686 | | // optional bytes table_id = 7; |
687 | | bool has_table_id() const; |
688 | | void clear_table_id(); |
689 | | static const int kTableIdFieldNumber = 7; |
690 | | const ::std::string& table_id() const; |
691 | | void set_table_id(const ::std::string& value); |
692 | | #if LANG_CXX11 |
693 | | void set_table_id(::std::string&& value); |
694 | | #endif |
695 | | void set_table_id(const char* value); |
696 | | void set_table_id(const void* value, size_t size); |
697 | | ::std::string* mutable_table_id(); |
698 | | ::std::string* release_table_id(); |
699 | | void set_allocated_table_id(::std::string* table_id); |
700 | | |
701 | | // optional bytes split_parent_tablet_id = 12; |
702 | | bool has_split_parent_tablet_id() const; |
703 | | void clear_split_parent_tablet_id(); |
704 | | static const int kSplitParentTabletIdFieldNumber = 12; |
705 | | const ::std::string& split_parent_tablet_id() const; |
706 | | void set_split_parent_tablet_id(const ::std::string& value); |
707 | | #if LANG_CXX11 |
708 | | void set_split_parent_tablet_id(::std::string&& value); |
709 | | #endif |
710 | | void set_split_parent_tablet_id(const char* value); |
711 | | void set_split_parent_tablet_id(const void* value, size_t size); |
712 | | ::std::string* mutable_split_parent_tablet_id(); |
713 | | ::std::string* release_split_parent_tablet_id(); |
714 | | void set_allocated_split_parent_tablet_id(::std::string* split_parent_tablet_id); |
715 | | |
716 | | // optional .yb.PartitionPB partition = 6; |
717 | | bool has_partition() const; |
718 | | void clear_partition(); |
719 | | static const int kPartitionFieldNumber = 6; |
720 | | const ::yb::PartitionPB& partition() const; |
721 | | ::yb::PartitionPB* release_partition(); |
722 | | ::yb::PartitionPB* mutable_partition(); |
723 | | void set_allocated_partition(::yb::PartitionPB* partition); |
724 | | |
725 | | // required bool stale = 5; |
726 | | bool has_stale() const; |
727 | | void clear_stale(); |
728 | | static const int kStaleFieldNumber = 5; |
729 | | bool stale() const; |
730 | | void set_stale(bool value); |
731 | | |
732 | | // optional int32 expected_live_replicas = 10; |
733 | | bool has_expected_live_replicas() const; |
734 | | void clear_expected_live_replicas(); |
735 | | static const int kExpectedLiveReplicasFieldNumber = 10; |
736 | | ::google::protobuf::int32 expected_live_replicas() const; |
737 | | void set_expected_live_replicas(::google::protobuf::int32 value); |
738 | | |
739 | | // optional uint64 split_depth = 9; |
740 | | bool has_split_depth() const; |
741 | | void clear_split_depth(); |
742 | | static const int kSplitDepthFieldNumber = 9; |
743 | | ::google::protobuf::uint64 split_depth() const; |
744 | | void set_split_depth(::google::protobuf::uint64 value); |
745 | | |
746 | | // optional int32 expected_read_replicas = 11; |
747 | | bool has_expected_read_replicas() const; |
748 | | void clear_expected_read_replicas(); |
749 | | static const int kExpectedReadReplicasFieldNumber = 11; |
750 | | ::google::protobuf::int32 expected_read_replicas() const; |
751 | | void set_expected_read_replicas(::google::protobuf::int32 value); |
752 | | |
753 | | // @@protoc_insertion_point(class_scope:yb.master.TabletLocationsPB) |
754 | | private: |
755 | | void set_has_tablet_id(); |
756 | | void clear_has_tablet_id(); |
757 | | void set_has_start_key(); |
758 | | void clear_has_start_key(); |
759 | | void set_has_end_key(); |
760 | | void clear_has_end_key(); |
761 | | void set_has_partition(); |
762 | | void clear_has_partition(); |
763 | | void set_has_stale(); |
764 | | void clear_has_stale(); |
765 | | void set_has_table_id(); |
766 | | void clear_has_table_id(); |
767 | | void set_has_split_depth(); |
768 | | void clear_has_split_depth(); |
769 | | void set_has_split_parent_tablet_id(); |
770 | | void clear_has_split_parent_tablet_id(); |
771 | | void set_has_expected_live_replicas(); |
772 | | void clear_has_expected_live_replicas(); |
773 | | void set_has_expected_read_replicas(); |
774 | | void clear_has_expected_read_replicas(); |
775 | | |
776 | | // helper for ByteSizeLong() |
777 | | size_t RequiredFieldsByteSizeFallback() const; |
778 | | |
779 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
780 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
781 | | mutable int _cached_size_; |
782 | | ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB_ReplicaPB > replicas_; |
783 | | ::google::protobuf::RepeatedPtrField< ::std::string> table_ids_; |
784 | | ::google::protobuf::RepeatedPtrField< ::std::string> split_tablet_ids_; |
785 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
786 | | ::google::protobuf::internal::ArenaStringPtr start_key_; |
787 | | ::google::protobuf::internal::ArenaStringPtr end_key_; |
788 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
789 | | ::google::protobuf::internal::ArenaStringPtr split_parent_tablet_id_; |
790 | | ::yb::PartitionPB* partition_; |
791 | | bool stale_; |
792 | | ::google::protobuf::int32 expected_live_replicas_; |
793 | | ::google::protobuf::uint64 split_depth_; |
794 | | ::google::protobuf::int32 expected_read_replicas_; |
795 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
796 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsTabletLocationsPBImpl(); |
797 | | }; |
798 | | // ------------------------------------------------------------------- |
799 | | |
800 | | class GetTabletLocationsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTabletLocationsRequestPB) */ { |
801 | | public: |
802 | | GetTabletLocationsRequestPB(); |
803 | | virtual ~GetTabletLocationsRequestPB(); |
804 | | |
805 | | GetTabletLocationsRequestPB(const GetTabletLocationsRequestPB& from); |
806 | | |
807 | 0 | inline GetTabletLocationsRequestPB& operator=(const GetTabletLocationsRequestPB& from) { |
808 | 0 | CopyFrom(from); |
809 | 0 | return *this; |
810 | 0 | } |
811 | | #if LANG_CXX11 |
812 | | GetTabletLocationsRequestPB(GetTabletLocationsRequestPB&& from) noexcept |
813 | 0 | : GetTabletLocationsRequestPB() { |
814 | 0 | *this = ::std::move(from); |
815 | 0 | } |
816 | | |
817 | 0 | inline GetTabletLocationsRequestPB& operator=(GetTabletLocationsRequestPB&& from) noexcept { |
818 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
819 | 0 | if (this != &from) InternalSwap(&from); |
820 | 0 | } else { |
821 | 0 | CopyFrom(from); |
822 | 0 | } |
823 | 0 | return *this; |
824 | 0 | } |
825 | | #endif |
826 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
827 | 0 | return _internal_metadata_.unknown_fields(); |
828 | 0 | } |
829 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
830 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
831 | 0 | } |
832 | | |
833 | | static const ::google::protobuf::Descriptor* descriptor(); |
834 | | static const GetTabletLocationsRequestPB& default_instance(); |
835 | | |
836 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
837 | 57.4k | static inline const GetTabletLocationsRequestPB* internal_default_instance() { |
838 | 57.4k | return reinterpret_cast<const GetTabletLocationsRequestPB*>( |
839 | 57.4k | &_GetTabletLocationsRequestPB_default_instance_); |
840 | 57.4k | } |
841 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
842 | | 3; |
843 | | |
844 | | void Swap(GetTabletLocationsRequestPB* other); |
845 | 0 | friend void swap(GetTabletLocationsRequestPB& a, GetTabletLocationsRequestPB& b) { |
846 | 0 | a.Swap(&b); |
847 | 0 | } |
848 | | |
849 | | // implements Message ---------------------------------------------- |
850 | | |
851 | 0 | inline GetTabletLocationsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
852 | | |
853 | | GetTabletLocationsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
854 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
855 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
856 | | void CopyFrom(const GetTabletLocationsRequestPB& from); |
857 | | void MergeFrom(const GetTabletLocationsRequestPB& from); |
858 | | void Clear() PROTOBUF_FINAL; |
859 | | bool IsInitialized() const PROTOBUF_FINAL; |
860 | | |
861 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
862 | | bool MergePartialFromCodedStream( |
863 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
864 | | void SerializeWithCachedSizes( |
865 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
866 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
867 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
868 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
869 | | private: |
870 | | void SharedCtor(); |
871 | | void SharedDtor(); |
872 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
873 | | void InternalSwap(GetTabletLocationsRequestPB* other); |
874 | | private: |
875 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
876 | 0 | return NULL; |
877 | 0 | } |
878 | 0 | inline void* MaybeArenaPtr() const { |
879 | 0 | return NULL; |
880 | 0 | } |
881 | | public: |
882 | | |
883 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
884 | | |
885 | | // nested types ---------------------------------------------------- |
886 | | |
887 | | // accessors ------------------------------------------------------- |
888 | | |
889 | | // repeated bytes tablet_ids = 1; |
890 | | int tablet_ids_size() const; |
891 | | void clear_tablet_ids(); |
892 | | static const int kTabletIdsFieldNumber = 1; |
893 | | const ::std::string& tablet_ids(int index) const; |
894 | | ::std::string* mutable_tablet_ids(int index); |
895 | | void set_tablet_ids(int index, const ::std::string& value); |
896 | | #if LANG_CXX11 |
897 | | void set_tablet_ids(int index, ::std::string&& value); |
898 | | #endif |
899 | | void set_tablet_ids(int index, const char* value); |
900 | | void set_tablet_ids(int index, const void* value, size_t size); |
901 | | ::std::string* add_tablet_ids(); |
902 | | void add_tablet_ids(const ::std::string& value); |
903 | | #if LANG_CXX11 |
904 | | void add_tablet_ids(::std::string&& value); |
905 | | #endif |
906 | | void add_tablet_ids(const char* value); |
907 | | void add_tablet_ids(const void* value, size_t size); |
908 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& tablet_ids() const; |
909 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tablet_ids(); |
910 | | |
911 | | // optional bytes table_id = 2; |
912 | | bool has_table_id() const; |
913 | | void clear_table_id(); |
914 | | static const int kTableIdFieldNumber = 2; |
915 | | const ::std::string& table_id() const; |
916 | | void set_table_id(const ::std::string& value); |
917 | | #if LANG_CXX11 |
918 | | void set_table_id(::std::string&& value); |
919 | | #endif |
920 | | void set_table_id(const char* value); |
921 | | void set_table_id(const void* value, size_t size); |
922 | | ::std::string* mutable_table_id(); |
923 | | ::std::string* release_table_id(); |
924 | | void set_allocated_table_id(::std::string* table_id); |
925 | | |
926 | | // optional bool include_inactive = 3; |
927 | | bool has_include_inactive() const; |
928 | | void clear_include_inactive(); |
929 | | static const int kIncludeInactiveFieldNumber = 3; |
930 | | bool include_inactive() const; |
931 | | void set_include_inactive(bool value); |
932 | | |
933 | | // @@protoc_insertion_point(class_scope:yb.master.GetTabletLocationsRequestPB) |
934 | | private: |
935 | | void set_has_table_id(); |
936 | | void clear_has_table_id(); |
937 | | void set_has_include_inactive(); |
938 | | void clear_has_include_inactive(); |
939 | | |
940 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
941 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
942 | | mutable int _cached_size_; |
943 | | ::google::protobuf::RepeatedPtrField< ::std::string> tablet_ids_; |
944 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
945 | | bool include_inactive_; |
946 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
947 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTabletLocationsRequestPBImpl(); |
948 | | }; |
949 | | // ------------------------------------------------------------------- |
950 | | |
951 | | class GetTabletLocationsResponsePB_Error : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTabletLocationsResponsePB.Error) */ { |
952 | | public: |
953 | | GetTabletLocationsResponsePB_Error(); |
954 | | virtual ~GetTabletLocationsResponsePB_Error(); |
955 | | |
956 | | GetTabletLocationsResponsePB_Error(const GetTabletLocationsResponsePB_Error& from); |
957 | | |
958 | 0 | inline GetTabletLocationsResponsePB_Error& operator=(const GetTabletLocationsResponsePB_Error& from) { |
959 | 0 | CopyFrom(from); |
960 | 0 | return *this; |
961 | 0 | } |
962 | | #if LANG_CXX11 |
963 | | GetTabletLocationsResponsePB_Error(GetTabletLocationsResponsePB_Error&& from) noexcept |
964 | 0 | : GetTabletLocationsResponsePB_Error() { |
965 | 0 | *this = ::std::move(from); |
966 | 0 | } |
967 | | |
968 | 0 | inline GetTabletLocationsResponsePB_Error& operator=(GetTabletLocationsResponsePB_Error&& from) noexcept { |
969 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
970 | 0 | if (this != &from) InternalSwap(&from); |
971 | 0 | } else { |
972 | 0 | CopyFrom(from); |
973 | 0 | } |
974 | 0 | return *this; |
975 | 0 | } |
976 | | #endif |
977 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
978 | 0 | return _internal_metadata_.unknown_fields(); |
979 | 0 | } |
980 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
981 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
982 | 0 | } |
983 | | |
984 | | static const ::google::protobuf::Descriptor* descriptor(); |
985 | | static const GetTabletLocationsResponsePB_Error& default_instance(); |
986 | | |
987 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
988 | 28.2k | static inline const GetTabletLocationsResponsePB_Error* internal_default_instance() { |
989 | 28.2k | return reinterpret_cast<const GetTabletLocationsResponsePB_Error*>( |
990 | 28.2k | &_GetTabletLocationsResponsePB_Error_default_instance_); |
991 | 28.2k | } |
992 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
993 | | 4; |
994 | | |
995 | | void Swap(GetTabletLocationsResponsePB_Error* other); |
996 | 0 | friend void swap(GetTabletLocationsResponsePB_Error& a, GetTabletLocationsResponsePB_Error& b) { |
997 | 0 | a.Swap(&b); |
998 | 0 | } |
999 | | |
1000 | | // implements Message ---------------------------------------------- |
1001 | | |
1002 | 0 | inline GetTabletLocationsResponsePB_Error* New() const PROTOBUF_FINAL { return New(NULL); } |
1003 | | |
1004 | | GetTabletLocationsResponsePB_Error* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1005 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1006 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1007 | | void CopyFrom(const GetTabletLocationsResponsePB_Error& from); |
1008 | | void MergeFrom(const GetTabletLocationsResponsePB_Error& from); |
1009 | | void Clear() PROTOBUF_FINAL; |
1010 | | bool IsInitialized() const PROTOBUF_FINAL; |
1011 | | |
1012 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1013 | | bool MergePartialFromCodedStream( |
1014 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1015 | | void SerializeWithCachedSizes( |
1016 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1017 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1018 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1019 | 360 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1020 | | private: |
1021 | | void SharedCtor(); |
1022 | | void SharedDtor(); |
1023 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1024 | | void InternalSwap(GetTabletLocationsResponsePB_Error* other); |
1025 | | private: |
1026 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1027 | 0 | return NULL; |
1028 | 0 | } |
1029 | 0 | inline void* MaybeArenaPtr() const { |
1030 | 0 | return NULL; |
1031 | 0 | } |
1032 | | public: |
1033 | | |
1034 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1035 | | |
1036 | | // nested types ---------------------------------------------------- |
1037 | | |
1038 | | // accessors ------------------------------------------------------- |
1039 | | |
1040 | | // required bytes tablet_id = 1; |
1041 | | bool has_tablet_id() const; |
1042 | | void clear_tablet_id(); |
1043 | | static const int kTabletIdFieldNumber = 1; |
1044 | | const ::std::string& tablet_id() const; |
1045 | | void set_tablet_id(const ::std::string& value); |
1046 | | #if LANG_CXX11 |
1047 | | void set_tablet_id(::std::string&& value); |
1048 | | #endif |
1049 | | void set_tablet_id(const char* value); |
1050 | | void set_tablet_id(const void* value, size_t size); |
1051 | | ::std::string* mutable_tablet_id(); |
1052 | | ::std::string* release_tablet_id(); |
1053 | | void set_allocated_tablet_id(::std::string* tablet_id); |
1054 | | |
1055 | | // required .yb.AppStatusPB status = 2; |
1056 | | bool has_status() const; |
1057 | | void clear_status(); |
1058 | | static const int kStatusFieldNumber = 2; |
1059 | | const ::yb::AppStatusPB& status() const; |
1060 | | ::yb::AppStatusPB* release_status(); |
1061 | | ::yb::AppStatusPB* mutable_status(); |
1062 | | void set_allocated_status(::yb::AppStatusPB* status); |
1063 | | |
1064 | | // @@protoc_insertion_point(class_scope:yb.master.GetTabletLocationsResponsePB.Error) |
1065 | | private: |
1066 | | void set_has_tablet_id(); |
1067 | | void clear_has_tablet_id(); |
1068 | | void set_has_status(); |
1069 | | void clear_has_status(); |
1070 | | |
1071 | | // helper for ByteSizeLong() |
1072 | | size_t RequiredFieldsByteSizeFallback() const; |
1073 | | |
1074 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1075 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1076 | | mutable int _cached_size_; |
1077 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
1078 | | ::yb::AppStatusPB* status_; |
1079 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1080 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTabletLocationsResponsePB_ErrorImpl(); |
1081 | | }; |
1082 | | // ------------------------------------------------------------------- |
1083 | | |
1084 | | class GetTabletLocationsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTabletLocationsResponsePB) */ { |
1085 | | public: |
1086 | | GetTabletLocationsResponsePB(); |
1087 | | virtual ~GetTabletLocationsResponsePB(); |
1088 | | |
1089 | | GetTabletLocationsResponsePB(const GetTabletLocationsResponsePB& from); |
1090 | | |
1091 | 0 | inline GetTabletLocationsResponsePB& operator=(const GetTabletLocationsResponsePB& from) { |
1092 | 0 | CopyFrom(from); |
1093 | 0 | return *this; |
1094 | 0 | } |
1095 | | #if LANG_CXX11 |
1096 | | GetTabletLocationsResponsePB(GetTabletLocationsResponsePB&& from) noexcept |
1097 | 536 | : GetTabletLocationsResponsePB() { |
1098 | 536 | *this = ::std::move(from); |
1099 | 536 | } Unexecuted instantiation: yb::master::GetTabletLocationsResponsePB::GetTabletLocationsResponsePB(yb::master::GetTabletLocationsResponsePB&&) yb::master::GetTabletLocationsResponsePB::GetTabletLocationsResponsePB(yb::master::GetTabletLocationsResponsePB&&) Line | Count | Source | 1097 | 536 | : GetTabletLocationsResponsePB() { | 1098 | 536 | *this = ::std::move(from); | 1099 | 536 | } |
|
1100 | | |
1101 | 536 | inline GetTabletLocationsResponsePB& operator=(GetTabletLocationsResponsePB&& from) noexcept { |
1102 | 536 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1103 | 536 | if (this != &from) InternalSwap(&from); |
1104 | 536 | } else { |
1105 | 0 | CopyFrom(from); |
1106 | 0 | } |
1107 | 536 | return *this; |
1108 | 536 | } |
1109 | | #endif |
1110 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1111 | 0 | return _internal_metadata_.unknown_fields(); |
1112 | 0 | } |
1113 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1114 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1115 | 0 | } |
1116 | | |
1117 | | static const ::google::protobuf::Descriptor* descriptor(); |
1118 | | static const GetTabletLocationsResponsePB& default_instance(); |
1119 | | |
1120 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1121 | 89.0k | static inline const GetTabletLocationsResponsePB* internal_default_instance() { |
1122 | 89.0k | return reinterpret_cast<const GetTabletLocationsResponsePB*>( |
1123 | 89.0k | &_GetTabletLocationsResponsePB_default_instance_); |
1124 | 89.0k | } |
1125 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1126 | | 5; |
1127 | | |
1128 | | void Swap(GetTabletLocationsResponsePB* other); |
1129 | 0 | friend void swap(GetTabletLocationsResponsePB& a, GetTabletLocationsResponsePB& b) { |
1130 | 0 | a.Swap(&b); |
1131 | 0 | } |
1132 | | |
1133 | | // implements Message ---------------------------------------------- |
1134 | | |
1135 | 0 | inline GetTabletLocationsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1136 | | |
1137 | | GetTabletLocationsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1138 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1139 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1140 | | void CopyFrom(const GetTabletLocationsResponsePB& from); |
1141 | | void MergeFrom(const GetTabletLocationsResponsePB& from); |
1142 | | void Clear() PROTOBUF_FINAL; |
1143 | | bool IsInitialized() const PROTOBUF_FINAL; |
1144 | | |
1145 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1146 | | bool MergePartialFromCodedStream( |
1147 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1148 | | void SerializeWithCachedSizes( |
1149 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1150 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1151 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1152 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1153 | | private: |
1154 | | void SharedCtor(); |
1155 | | void SharedDtor(); |
1156 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1157 | | void InternalSwap(GetTabletLocationsResponsePB* other); |
1158 | | private: |
1159 | 1.07k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1160 | 1.07k | return NULL; |
1161 | 1.07k | } |
1162 | 0 | inline void* MaybeArenaPtr() const { |
1163 | 0 | return NULL; |
1164 | 0 | } |
1165 | | public: |
1166 | | |
1167 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1168 | | |
1169 | | // nested types ---------------------------------------------------- |
1170 | | |
1171 | | typedef GetTabletLocationsResponsePB_Error Error; |
1172 | | |
1173 | | // accessors ------------------------------------------------------- |
1174 | | |
1175 | | // repeated .yb.master.TabletLocationsPB tablet_locations = 2; |
1176 | | int tablet_locations_size() const; |
1177 | | void clear_tablet_locations(); |
1178 | | static const int kTabletLocationsFieldNumber = 2; |
1179 | | const ::yb::master::TabletLocationsPB& tablet_locations(int index) const; |
1180 | | ::yb::master::TabletLocationsPB* mutable_tablet_locations(int index); |
1181 | | ::yb::master::TabletLocationsPB* add_tablet_locations(); |
1182 | | ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >* |
1183 | | mutable_tablet_locations(); |
1184 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >& |
1185 | | tablet_locations() const; |
1186 | | |
1187 | | // repeated .yb.master.GetTabletLocationsResponsePB.Error errors = 3; |
1188 | | int errors_size() const; |
1189 | | void clear_errors(); |
1190 | | static const int kErrorsFieldNumber = 3; |
1191 | | const ::yb::master::GetTabletLocationsResponsePB_Error& errors(int index) const; |
1192 | | ::yb::master::GetTabletLocationsResponsePB_Error* mutable_errors(int index); |
1193 | | ::yb::master::GetTabletLocationsResponsePB_Error* add_errors(); |
1194 | | ::google::protobuf::RepeatedPtrField< ::yb::master::GetTabletLocationsResponsePB_Error >* |
1195 | | mutable_errors(); |
1196 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::GetTabletLocationsResponsePB_Error >& |
1197 | | errors() const; |
1198 | | |
1199 | | // optional .yb.master.MasterErrorPB error = 1; |
1200 | | bool has_error() const; |
1201 | | void clear_error(); |
1202 | | static const int kErrorFieldNumber = 1; |
1203 | | const ::yb::master::MasterErrorPB& error() const; |
1204 | | ::yb::master::MasterErrorPB* release_error(); |
1205 | | ::yb::master::MasterErrorPB* mutable_error(); |
1206 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1207 | | |
1208 | | // optional uint32 partition_list_version = 4; |
1209 | | bool has_partition_list_version() const; |
1210 | | void clear_partition_list_version(); |
1211 | | static const int kPartitionListVersionFieldNumber = 4; |
1212 | | ::google::protobuf::uint32 partition_list_version() const; |
1213 | | void set_partition_list_version(::google::protobuf::uint32 value); |
1214 | | |
1215 | | // @@protoc_insertion_point(class_scope:yb.master.GetTabletLocationsResponsePB) |
1216 | | private: |
1217 | | void set_has_error(); |
1218 | | void clear_has_error(); |
1219 | | void set_has_partition_list_version(); |
1220 | | void clear_has_partition_list_version(); |
1221 | | |
1222 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1223 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1224 | | mutable int _cached_size_; |
1225 | | ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB > tablet_locations_; |
1226 | | ::google::protobuf::RepeatedPtrField< ::yb::master::GetTabletLocationsResponsePB_Error > errors_; |
1227 | | ::yb::master::MasterErrorPB* error_; |
1228 | | ::google::protobuf::uint32 partition_list_version_; |
1229 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1230 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTabletLocationsResponsePBImpl(); |
1231 | | }; |
1232 | | // ------------------------------------------------------------------- |
1233 | | |
1234 | | class GetTableLocationsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTableLocationsRequestPB) */ { |
1235 | | public: |
1236 | | GetTableLocationsRequestPB(); |
1237 | | virtual ~GetTableLocationsRequestPB(); |
1238 | | |
1239 | | GetTableLocationsRequestPB(const GetTableLocationsRequestPB& from); |
1240 | | |
1241 | 0 | inline GetTableLocationsRequestPB& operator=(const GetTableLocationsRequestPB& from) { |
1242 | 0 | CopyFrom(from); |
1243 | 0 | return *this; |
1244 | 0 | } |
1245 | | #if LANG_CXX11 |
1246 | | GetTableLocationsRequestPB(GetTableLocationsRequestPB&& from) noexcept |
1247 | 0 | : GetTableLocationsRequestPB() { |
1248 | 0 | *this = ::std::move(from); |
1249 | 0 | } |
1250 | | |
1251 | 0 | inline GetTableLocationsRequestPB& operator=(GetTableLocationsRequestPB&& from) noexcept { |
1252 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1253 | 0 | if (this != &from) InternalSwap(&from); |
1254 | 0 | } else { |
1255 | 0 | CopyFrom(from); |
1256 | 0 | } |
1257 | 0 | return *this; |
1258 | 0 | } |
1259 | | #endif |
1260 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1261 | 0 | return _internal_metadata_.unknown_fields(); |
1262 | 0 | } |
1263 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1264 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1265 | 0 | } |
1266 | | |
1267 | | static const ::google::protobuf::Descriptor* descriptor(); |
1268 | | static const GetTableLocationsRequestPB& default_instance(); |
1269 | | |
1270 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1271 | 910k | static inline const GetTableLocationsRequestPB* internal_default_instance() { |
1272 | 910k | return reinterpret_cast<const GetTableLocationsRequestPB*>( |
1273 | 910k | &_GetTableLocationsRequestPB_default_instance_); |
1274 | 910k | } |
1275 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1276 | | 6; |
1277 | | |
1278 | | void Swap(GetTableLocationsRequestPB* other); |
1279 | 0 | friend void swap(GetTableLocationsRequestPB& a, GetTableLocationsRequestPB& b) { |
1280 | 0 | a.Swap(&b); |
1281 | 0 | } |
1282 | | |
1283 | | // implements Message ---------------------------------------------- |
1284 | | |
1285 | 0 | inline GetTableLocationsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1286 | | |
1287 | | GetTableLocationsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1288 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1289 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1290 | | void CopyFrom(const GetTableLocationsRequestPB& from); |
1291 | | void MergeFrom(const GetTableLocationsRequestPB& from); |
1292 | | void Clear() PROTOBUF_FINAL; |
1293 | | bool IsInitialized() const PROTOBUF_FINAL; |
1294 | | |
1295 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1296 | | bool MergePartialFromCodedStream( |
1297 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1298 | | void SerializeWithCachedSizes( |
1299 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1300 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1301 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1302 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1303 | | private: |
1304 | | void SharedCtor(); |
1305 | | void SharedDtor(); |
1306 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1307 | | void InternalSwap(GetTableLocationsRequestPB* other); |
1308 | | private: |
1309 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1310 | 0 | return NULL; |
1311 | 0 | } |
1312 | 0 | inline void* MaybeArenaPtr() const { |
1313 | 0 | return NULL; |
1314 | 0 | } |
1315 | | public: |
1316 | | |
1317 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1318 | | |
1319 | | // nested types ---------------------------------------------------- |
1320 | | |
1321 | | // accessors ------------------------------------------------------- |
1322 | | |
1323 | | // optional bytes partition_key_start = 3; |
1324 | | bool has_partition_key_start() const; |
1325 | | void clear_partition_key_start(); |
1326 | | static const int kPartitionKeyStartFieldNumber = 3; |
1327 | | const ::std::string& partition_key_start() const; |
1328 | | void set_partition_key_start(const ::std::string& value); |
1329 | | #if LANG_CXX11 |
1330 | | void set_partition_key_start(::std::string&& value); |
1331 | | #endif |
1332 | | void set_partition_key_start(const char* value); |
1333 | | void set_partition_key_start(const void* value, size_t size); |
1334 | | ::std::string* mutable_partition_key_start(); |
1335 | | ::std::string* release_partition_key_start(); |
1336 | | void set_allocated_partition_key_start(::std::string* partition_key_start); |
1337 | | |
1338 | | // optional bytes partition_key_end = 4; |
1339 | | bool has_partition_key_end() const; |
1340 | | void clear_partition_key_end(); |
1341 | | static const int kPartitionKeyEndFieldNumber = 4; |
1342 | | const ::std::string& partition_key_end() const; |
1343 | | void set_partition_key_end(const ::std::string& value); |
1344 | | #if LANG_CXX11 |
1345 | | void set_partition_key_end(::std::string&& value); |
1346 | | #endif |
1347 | | void set_partition_key_end(const char* value); |
1348 | | void set_partition_key_end(const void* value, size_t size); |
1349 | | ::std::string* mutable_partition_key_end(); |
1350 | | ::std::string* release_partition_key_end(); |
1351 | | void set_allocated_partition_key_end(::std::string* partition_key_end); |
1352 | | |
1353 | | // required .yb.master.TableIdentifierPB table = 1; |
1354 | | bool has_table() const; |
1355 | | void clear_table(); |
1356 | | static const int kTableFieldNumber = 1; |
1357 | | const ::yb::master::TableIdentifierPB& table() const; |
1358 | | ::yb::master::TableIdentifierPB* release_table(); |
1359 | | ::yb::master::TableIdentifierPB* mutable_table(); |
1360 | | void set_allocated_table(::yb::master::TableIdentifierPB* table); |
1361 | | |
1362 | | // optional bool require_tablets_running = 6; |
1363 | | bool has_require_tablets_running() const; |
1364 | | void clear_require_tablets_running(); |
1365 | | static const int kRequireTabletsRunningFieldNumber = 6; |
1366 | | bool require_tablets_running() const; |
1367 | | void set_require_tablets_running(bool value); |
1368 | | |
1369 | | // optional bool include_inactive = 7; |
1370 | | bool has_include_inactive() const; |
1371 | | void clear_include_inactive(); |
1372 | | static const int kIncludeInactiveFieldNumber = 7; |
1373 | | bool include_inactive() const; |
1374 | | void set_include_inactive(bool value); |
1375 | | |
1376 | | // optional uint32 max_returned_locations = 5 [default = 10]; |
1377 | | bool has_max_returned_locations() const; |
1378 | | void clear_max_returned_locations(); |
1379 | | static const int kMaxReturnedLocationsFieldNumber = 5; |
1380 | | ::google::protobuf::uint32 max_returned_locations() const; |
1381 | | void set_max_returned_locations(::google::protobuf::uint32 value); |
1382 | | |
1383 | | // @@protoc_insertion_point(class_scope:yb.master.GetTableLocationsRequestPB) |
1384 | | private: |
1385 | | void set_has_table(); |
1386 | | void clear_has_table(); |
1387 | | void set_has_partition_key_start(); |
1388 | | void clear_has_partition_key_start(); |
1389 | | void set_has_partition_key_end(); |
1390 | | void clear_has_partition_key_end(); |
1391 | | void set_has_max_returned_locations(); |
1392 | | void clear_has_max_returned_locations(); |
1393 | | void set_has_require_tablets_running(); |
1394 | | void clear_has_require_tablets_running(); |
1395 | | void set_has_include_inactive(); |
1396 | | void clear_has_include_inactive(); |
1397 | | |
1398 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1399 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1400 | | mutable int _cached_size_; |
1401 | | ::google::protobuf::internal::ArenaStringPtr partition_key_start_; |
1402 | | ::google::protobuf::internal::ArenaStringPtr partition_key_end_; |
1403 | | ::yb::master::TableIdentifierPB* table_; |
1404 | | bool require_tablets_running_; |
1405 | | bool include_inactive_; |
1406 | | ::google::protobuf::uint32 max_returned_locations_; |
1407 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1408 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTableLocationsRequestPBImpl(); |
1409 | | }; |
1410 | | // ------------------------------------------------------------------- |
1411 | | |
1412 | | class GetTableLocationsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTableLocationsResponsePB) */ { |
1413 | | public: |
1414 | | GetTableLocationsResponsePB(); |
1415 | | virtual ~GetTableLocationsResponsePB(); |
1416 | | |
1417 | | GetTableLocationsResponsePB(const GetTableLocationsResponsePB& from); |
1418 | | |
1419 | 0 | inline GetTableLocationsResponsePB& operator=(const GetTableLocationsResponsePB& from) { |
1420 | 0 | CopyFrom(from); |
1421 | 0 | return *this; |
1422 | 0 | } |
1423 | | #if LANG_CXX11 |
1424 | | GetTableLocationsResponsePB(GetTableLocationsResponsePB&& from) noexcept |
1425 | 0 | : GetTableLocationsResponsePB() { |
1426 | 0 | *this = ::std::move(from); |
1427 | 0 | } |
1428 | | |
1429 | 0 | inline GetTableLocationsResponsePB& operator=(GetTableLocationsResponsePB&& from) noexcept { |
1430 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1431 | 0 | if (this != &from) InternalSwap(&from); |
1432 | 0 | } else { |
1433 | 0 | CopyFrom(from); |
1434 | 0 | } |
1435 | 0 | return *this; |
1436 | 0 | } |
1437 | | #endif |
1438 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1439 | 0 | return _internal_metadata_.unknown_fields(); |
1440 | 0 | } |
1441 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1442 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1443 | 0 | } |
1444 | | |
1445 | | static const ::google::protobuf::Descriptor* descriptor(); |
1446 | | static const GetTableLocationsResponsePB& default_instance(); |
1447 | | |
1448 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1449 | 910k | static inline const GetTableLocationsResponsePB* internal_default_instance() { |
1450 | 910k | return reinterpret_cast<const GetTableLocationsResponsePB*>( |
1451 | 910k | &_GetTableLocationsResponsePB_default_instance_); |
1452 | 910k | } |
1453 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1454 | | 7; |
1455 | | |
1456 | | void Swap(GetTableLocationsResponsePB* other); |
1457 | 0 | friend void swap(GetTableLocationsResponsePB& a, GetTableLocationsResponsePB& b) { |
1458 | 0 | a.Swap(&b); |
1459 | 0 | } |
1460 | | |
1461 | | // implements Message ---------------------------------------------- |
1462 | | |
1463 | 0 | inline GetTableLocationsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1464 | | |
1465 | | GetTableLocationsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1466 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1467 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1468 | | void CopyFrom(const GetTableLocationsResponsePB& from); |
1469 | | void MergeFrom(const GetTableLocationsResponsePB& from); |
1470 | | void Clear() PROTOBUF_FINAL; |
1471 | | bool IsInitialized() const PROTOBUF_FINAL; |
1472 | | |
1473 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1474 | | bool MergePartialFromCodedStream( |
1475 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1476 | | void SerializeWithCachedSizes( |
1477 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1478 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1479 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1480 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1481 | | private: |
1482 | | void SharedCtor(); |
1483 | | void SharedDtor(); |
1484 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1485 | | void InternalSwap(GetTableLocationsResponsePB* other); |
1486 | | private: |
1487 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1488 | 0 | return NULL; |
1489 | 0 | } |
1490 | 0 | inline void* MaybeArenaPtr() const { |
1491 | 0 | return NULL; |
1492 | 0 | } |
1493 | | public: |
1494 | | |
1495 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1496 | | |
1497 | | // nested types ---------------------------------------------------- |
1498 | | |
1499 | | // accessors ------------------------------------------------------- |
1500 | | |
1501 | | // repeated .yb.master.TabletLocationsPB tablet_locations = 2; |
1502 | | int tablet_locations_size() const; |
1503 | | void clear_tablet_locations(); |
1504 | | static const int kTabletLocationsFieldNumber = 2; |
1505 | | const ::yb::master::TabletLocationsPB& tablet_locations(int index) const; |
1506 | | ::yb::master::TabletLocationsPB* mutable_tablet_locations(int index); |
1507 | | ::yb::master::TabletLocationsPB* add_tablet_locations(); |
1508 | | ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >* |
1509 | | mutable_tablet_locations(); |
1510 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >& |
1511 | | tablet_locations() const; |
1512 | | |
1513 | | // optional .yb.master.MasterErrorPB error = 1; |
1514 | | bool has_error() const; |
1515 | | void clear_error(); |
1516 | | static const int kErrorFieldNumber = 1; |
1517 | | const ::yb::master::MasterErrorPB& error() const; |
1518 | | ::yb::master::MasterErrorPB* release_error(); |
1519 | | ::yb::master::MasterErrorPB* mutable_error(); |
1520 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1521 | | |
1522 | | // optional uint32 partition_list_version = 4; |
1523 | | bool has_partition_list_version() const; |
1524 | | void clear_partition_list_version(); |
1525 | | static const int kPartitionListVersionFieldNumber = 4; |
1526 | | ::google::protobuf::uint32 partition_list_version() const; |
1527 | | void set_partition_list_version(::google::protobuf::uint32 value); |
1528 | | |
1529 | | // optional bool creating = 5; |
1530 | | bool has_creating() const; |
1531 | | void clear_creating(); |
1532 | | static const int kCreatingFieldNumber = 5; |
1533 | | bool creating() const; |
1534 | | void set_creating(bool value); |
1535 | | |
1536 | | // optional .yb.TableType table_type = 3; |
1537 | | bool has_table_type() const; |
1538 | | void clear_table_type(); |
1539 | | static const int kTableTypeFieldNumber = 3; |
1540 | | ::yb::TableType table_type() const; |
1541 | | void set_table_type(::yb::TableType value); |
1542 | | |
1543 | | // @@protoc_insertion_point(class_scope:yb.master.GetTableLocationsResponsePB) |
1544 | | private: |
1545 | | void set_has_error(); |
1546 | | void clear_has_error(); |
1547 | | void set_has_table_type(); |
1548 | | void clear_has_table_type(); |
1549 | | void set_has_partition_list_version(); |
1550 | | void clear_has_partition_list_version(); |
1551 | | void set_has_creating(); |
1552 | | void clear_has_creating(); |
1553 | | |
1554 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1555 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1556 | | mutable int _cached_size_; |
1557 | | ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB > tablet_locations_; |
1558 | | ::yb::master::MasterErrorPB* error_; |
1559 | | ::google::protobuf::uint32 partition_list_version_; |
1560 | | bool creating_; |
1561 | | int table_type_; |
1562 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1563 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTableLocationsResponsePBImpl(); |
1564 | | }; |
1565 | | // ------------------------------------------------------------------- |
1566 | | |
1567 | | class GetTransactionStatusTabletsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTransactionStatusTabletsRequestPB) */ { |
1568 | | public: |
1569 | | GetTransactionStatusTabletsRequestPB(); |
1570 | | virtual ~GetTransactionStatusTabletsRequestPB(); |
1571 | | |
1572 | | GetTransactionStatusTabletsRequestPB(const GetTransactionStatusTabletsRequestPB& from); |
1573 | | |
1574 | 0 | inline GetTransactionStatusTabletsRequestPB& operator=(const GetTransactionStatusTabletsRequestPB& from) { |
1575 | 0 | CopyFrom(from); |
1576 | 0 | return *this; |
1577 | 0 | } |
1578 | | #if LANG_CXX11 |
1579 | | GetTransactionStatusTabletsRequestPB(GetTransactionStatusTabletsRequestPB&& from) noexcept |
1580 | 0 | : GetTransactionStatusTabletsRequestPB() { |
1581 | 0 | *this = ::std::move(from); |
1582 | 0 | } |
1583 | | |
1584 | 0 | inline GetTransactionStatusTabletsRequestPB& operator=(GetTransactionStatusTabletsRequestPB&& from) noexcept { |
1585 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1586 | 0 | if (this != &from) InternalSwap(&from); |
1587 | 0 | } else { |
1588 | 0 | CopyFrom(from); |
1589 | 0 | } |
1590 | 0 | return *this; |
1591 | 0 | } |
1592 | | #endif |
1593 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1594 | 0 | return _internal_metadata_.unknown_fields(); |
1595 | 0 | } |
1596 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1597 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1598 | 0 | } |
1599 | | |
1600 | | static const ::google::protobuf::Descriptor* descriptor(); |
1601 | | static const GetTransactionStatusTabletsRequestPB& default_instance(); |
1602 | | |
1603 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1604 | 40.1k | static inline const GetTransactionStatusTabletsRequestPB* internal_default_instance() { |
1605 | 40.1k | return reinterpret_cast<const GetTransactionStatusTabletsRequestPB*>( |
1606 | 40.1k | &_GetTransactionStatusTabletsRequestPB_default_instance_); |
1607 | 40.1k | } |
1608 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1609 | | 8; |
1610 | | |
1611 | | void Swap(GetTransactionStatusTabletsRequestPB* other); |
1612 | 0 | friend void swap(GetTransactionStatusTabletsRequestPB& a, GetTransactionStatusTabletsRequestPB& b) { |
1613 | 0 | a.Swap(&b); |
1614 | 0 | } |
1615 | | |
1616 | | // implements Message ---------------------------------------------- |
1617 | | |
1618 | 0 | inline GetTransactionStatusTabletsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1619 | | |
1620 | | GetTransactionStatusTabletsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1621 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1622 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1623 | | void CopyFrom(const GetTransactionStatusTabletsRequestPB& from); |
1624 | | void MergeFrom(const GetTransactionStatusTabletsRequestPB& from); |
1625 | | void Clear() PROTOBUF_FINAL; |
1626 | | bool IsInitialized() const PROTOBUF_FINAL; |
1627 | | |
1628 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1629 | | bool MergePartialFromCodedStream( |
1630 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1631 | | void SerializeWithCachedSizes( |
1632 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1633 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1634 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1635 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1636 | | private: |
1637 | | void SharedCtor(); |
1638 | | void SharedDtor(); |
1639 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1640 | | void InternalSwap(GetTransactionStatusTabletsRequestPB* other); |
1641 | | private: |
1642 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1643 | 0 | return NULL; |
1644 | 0 | } |
1645 | 0 | inline void* MaybeArenaPtr() const { |
1646 | 0 | return NULL; |
1647 | 0 | } |
1648 | | public: |
1649 | | |
1650 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1651 | | |
1652 | | // nested types ---------------------------------------------------- |
1653 | | |
1654 | | // accessors ------------------------------------------------------- |
1655 | | |
1656 | | // optional .yb.CloudInfoPB placement = 1; |
1657 | | bool has_placement() const; |
1658 | | void clear_placement(); |
1659 | | static const int kPlacementFieldNumber = 1; |
1660 | | const ::yb::CloudInfoPB& placement() const; |
1661 | | ::yb::CloudInfoPB* release_placement(); |
1662 | | ::yb::CloudInfoPB* mutable_placement(); |
1663 | | void set_allocated_placement(::yb::CloudInfoPB* placement); |
1664 | | |
1665 | | // @@protoc_insertion_point(class_scope:yb.master.GetTransactionStatusTabletsRequestPB) |
1666 | | private: |
1667 | | void set_has_placement(); |
1668 | | void clear_has_placement(); |
1669 | | |
1670 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1671 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1672 | | mutable int _cached_size_; |
1673 | | ::yb::CloudInfoPB* placement_; |
1674 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1675 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTransactionStatusTabletsRequestPBImpl(); |
1676 | | }; |
1677 | | // ------------------------------------------------------------------- |
1678 | | |
1679 | | class GetTransactionStatusTabletsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetTransactionStatusTabletsResponsePB) */ { |
1680 | | public: |
1681 | | GetTransactionStatusTabletsResponsePB(); |
1682 | | virtual ~GetTransactionStatusTabletsResponsePB(); |
1683 | | |
1684 | | GetTransactionStatusTabletsResponsePB(const GetTransactionStatusTabletsResponsePB& from); |
1685 | | |
1686 | 0 | inline GetTransactionStatusTabletsResponsePB& operator=(const GetTransactionStatusTabletsResponsePB& from) { |
1687 | 0 | CopyFrom(from); |
1688 | 0 | return *this; |
1689 | 0 | } |
1690 | | #if LANG_CXX11 |
1691 | | GetTransactionStatusTabletsResponsePB(GetTransactionStatusTabletsResponsePB&& from) noexcept |
1692 | 0 | : GetTransactionStatusTabletsResponsePB() { |
1693 | 0 | *this = ::std::move(from); |
1694 | 0 | } |
1695 | | |
1696 | 0 | inline GetTransactionStatusTabletsResponsePB& operator=(GetTransactionStatusTabletsResponsePB&& from) noexcept { |
1697 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1698 | 0 | if (this != &from) InternalSwap(&from); |
1699 | 0 | } else { |
1700 | 0 | CopyFrom(from); |
1701 | 0 | } |
1702 | 0 | return *this; |
1703 | 0 | } |
1704 | | #endif |
1705 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1706 | 0 | return _internal_metadata_.unknown_fields(); |
1707 | 0 | } |
1708 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1709 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1710 | 0 | } |
1711 | | |
1712 | | static const ::google::protobuf::Descriptor* descriptor(); |
1713 | | static const GetTransactionStatusTabletsResponsePB& default_instance(); |
1714 | | |
1715 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1716 | 40.1k | static inline const GetTransactionStatusTabletsResponsePB* internal_default_instance() { |
1717 | 40.1k | return reinterpret_cast<const GetTransactionStatusTabletsResponsePB*>( |
1718 | 40.1k | &_GetTransactionStatusTabletsResponsePB_default_instance_); |
1719 | 40.1k | } |
1720 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1721 | | 9; |
1722 | | |
1723 | | void Swap(GetTransactionStatusTabletsResponsePB* other); |
1724 | 0 | friend void swap(GetTransactionStatusTabletsResponsePB& a, GetTransactionStatusTabletsResponsePB& b) { |
1725 | 0 | a.Swap(&b); |
1726 | 0 | } |
1727 | | |
1728 | | // implements Message ---------------------------------------------- |
1729 | | |
1730 | 0 | inline GetTransactionStatusTabletsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1731 | | |
1732 | | GetTransactionStatusTabletsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1733 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1734 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1735 | | void CopyFrom(const GetTransactionStatusTabletsResponsePB& from); |
1736 | | void MergeFrom(const GetTransactionStatusTabletsResponsePB& from); |
1737 | | void Clear() PROTOBUF_FINAL; |
1738 | | bool IsInitialized() const PROTOBUF_FINAL; |
1739 | | |
1740 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1741 | | bool MergePartialFromCodedStream( |
1742 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1743 | | void SerializeWithCachedSizes( |
1744 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1745 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1746 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1747 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1748 | | private: |
1749 | | void SharedCtor(); |
1750 | | void SharedDtor(); |
1751 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1752 | | void InternalSwap(GetTransactionStatusTabletsResponsePB* other); |
1753 | | private: |
1754 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1755 | 0 | return NULL; |
1756 | 0 | } |
1757 | 0 | inline void* MaybeArenaPtr() const { |
1758 | 0 | return NULL; |
1759 | 0 | } |
1760 | | public: |
1761 | | |
1762 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1763 | | |
1764 | | // nested types ---------------------------------------------------- |
1765 | | |
1766 | | // accessors ------------------------------------------------------- |
1767 | | |
1768 | | // repeated bytes global_tablet_id = 2; |
1769 | | int global_tablet_id_size() const; |
1770 | | void clear_global_tablet_id(); |
1771 | | static const int kGlobalTabletIdFieldNumber = 2; |
1772 | | const ::std::string& global_tablet_id(int index) const; |
1773 | | ::std::string* mutable_global_tablet_id(int index); |
1774 | | void set_global_tablet_id(int index, const ::std::string& value); |
1775 | | #if LANG_CXX11 |
1776 | | void set_global_tablet_id(int index, ::std::string&& value); |
1777 | | #endif |
1778 | | void set_global_tablet_id(int index, const char* value); |
1779 | | void set_global_tablet_id(int index, const void* value, size_t size); |
1780 | | ::std::string* add_global_tablet_id(); |
1781 | | void add_global_tablet_id(const ::std::string& value); |
1782 | | #if LANG_CXX11 |
1783 | | void add_global_tablet_id(::std::string&& value); |
1784 | | #endif |
1785 | | void add_global_tablet_id(const char* value); |
1786 | | void add_global_tablet_id(const void* value, size_t size); |
1787 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& global_tablet_id() const; |
1788 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_global_tablet_id(); |
1789 | | |
1790 | | // repeated bytes placement_local_tablet_id = 3; |
1791 | | int placement_local_tablet_id_size() const; |
1792 | | void clear_placement_local_tablet_id(); |
1793 | | static const int kPlacementLocalTabletIdFieldNumber = 3; |
1794 | | const ::std::string& placement_local_tablet_id(int index) const; |
1795 | | ::std::string* mutable_placement_local_tablet_id(int index); |
1796 | | void set_placement_local_tablet_id(int index, const ::std::string& value); |
1797 | | #if LANG_CXX11 |
1798 | | void set_placement_local_tablet_id(int index, ::std::string&& value); |
1799 | | #endif |
1800 | | void set_placement_local_tablet_id(int index, const char* value); |
1801 | | void set_placement_local_tablet_id(int index, const void* value, size_t size); |
1802 | | ::std::string* add_placement_local_tablet_id(); |
1803 | | void add_placement_local_tablet_id(const ::std::string& value); |
1804 | | #if LANG_CXX11 |
1805 | | void add_placement_local_tablet_id(::std::string&& value); |
1806 | | #endif |
1807 | | void add_placement_local_tablet_id(const char* value); |
1808 | | void add_placement_local_tablet_id(const void* value, size_t size); |
1809 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& placement_local_tablet_id() const; |
1810 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_placement_local_tablet_id(); |
1811 | | |
1812 | | // optional .yb.master.MasterErrorPB error = 1; |
1813 | | bool has_error() const; |
1814 | | void clear_error(); |
1815 | | static const int kErrorFieldNumber = 1; |
1816 | | const ::yb::master::MasterErrorPB& error() const; |
1817 | | ::yb::master::MasterErrorPB* release_error(); |
1818 | | ::yb::master::MasterErrorPB* mutable_error(); |
1819 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1820 | | |
1821 | | // @@protoc_insertion_point(class_scope:yb.master.GetTransactionStatusTabletsResponsePB) |
1822 | | private: |
1823 | | void set_has_error(); |
1824 | | void clear_has_error(); |
1825 | | |
1826 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1827 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1828 | | mutable int _cached_size_; |
1829 | | ::google::protobuf::RepeatedPtrField< ::std::string> global_tablet_id_; |
1830 | | ::google::protobuf::RepeatedPtrField< ::std::string> placement_local_tablet_id_; |
1831 | | ::yb::master::MasterErrorPB* error_; |
1832 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1833 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetTransactionStatusTabletsResponsePBImpl(); |
1834 | | }; |
1835 | | // ------------------------------------------------------------------- |
1836 | | |
1837 | | class ReservePgsqlOidsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ReservePgsqlOidsRequestPB) */ { |
1838 | | public: |
1839 | | ReservePgsqlOidsRequestPB(); |
1840 | | virtual ~ReservePgsqlOidsRequestPB(); |
1841 | | |
1842 | | ReservePgsqlOidsRequestPB(const ReservePgsqlOidsRequestPB& from); |
1843 | | |
1844 | 0 | inline ReservePgsqlOidsRequestPB& operator=(const ReservePgsqlOidsRequestPB& from) { |
1845 | 0 | CopyFrom(from); |
1846 | 0 | return *this; |
1847 | 0 | } |
1848 | | #if LANG_CXX11 |
1849 | | ReservePgsqlOidsRequestPB(ReservePgsqlOidsRequestPB&& from) noexcept |
1850 | 0 | : ReservePgsqlOidsRequestPB() { |
1851 | 0 | *this = ::std::move(from); |
1852 | 0 | } |
1853 | | |
1854 | 0 | inline ReservePgsqlOidsRequestPB& operator=(ReservePgsqlOidsRequestPB&& from) noexcept { |
1855 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1856 | 0 | if (this != &from) InternalSwap(&from); |
1857 | 0 | } else { |
1858 | 0 | CopyFrom(from); |
1859 | 0 | } |
1860 | 0 | return *this; |
1861 | 0 | } |
1862 | | #endif |
1863 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1864 | 0 | return _internal_metadata_.unknown_fields(); |
1865 | 0 | } |
1866 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1867 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1868 | 0 | } |
1869 | | |
1870 | | static const ::google::protobuf::Descriptor* descriptor(); |
1871 | | static const ReservePgsqlOidsRequestPB& default_instance(); |
1872 | | |
1873 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1874 | 28.4k | static inline const ReservePgsqlOidsRequestPB* internal_default_instance() { |
1875 | 28.4k | return reinterpret_cast<const ReservePgsqlOidsRequestPB*>( |
1876 | 28.4k | &_ReservePgsqlOidsRequestPB_default_instance_); |
1877 | 28.4k | } |
1878 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1879 | | 10; |
1880 | | |
1881 | | void Swap(ReservePgsqlOidsRequestPB* other); |
1882 | 0 | friend void swap(ReservePgsqlOidsRequestPB& a, ReservePgsqlOidsRequestPB& b) { |
1883 | 0 | a.Swap(&b); |
1884 | 0 | } |
1885 | | |
1886 | | // implements Message ---------------------------------------------- |
1887 | | |
1888 | 0 | inline ReservePgsqlOidsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1889 | | |
1890 | | ReservePgsqlOidsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1891 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1892 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1893 | | void CopyFrom(const ReservePgsqlOidsRequestPB& from); |
1894 | | void MergeFrom(const ReservePgsqlOidsRequestPB& from); |
1895 | | void Clear() PROTOBUF_FINAL; |
1896 | | bool IsInitialized() const PROTOBUF_FINAL; |
1897 | | |
1898 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1899 | | bool MergePartialFromCodedStream( |
1900 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1901 | | void SerializeWithCachedSizes( |
1902 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1903 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1904 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1905 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1906 | | private: |
1907 | | void SharedCtor(); |
1908 | | void SharedDtor(); |
1909 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1910 | | void InternalSwap(ReservePgsqlOidsRequestPB* other); |
1911 | | private: |
1912 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1913 | 0 | return NULL; |
1914 | 0 | } |
1915 | 0 | inline void* MaybeArenaPtr() const { |
1916 | 0 | return NULL; |
1917 | 0 | } |
1918 | | public: |
1919 | | |
1920 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1921 | | |
1922 | | // nested types ---------------------------------------------------- |
1923 | | |
1924 | | // accessors ------------------------------------------------------- |
1925 | | |
1926 | | // optional bytes namespace_id = 1; |
1927 | | bool has_namespace_id() const; |
1928 | | void clear_namespace_id(); |
1929 | | static const int kNamespaceIdFieldNumber = 1; |
1930 | | const ::std::string& namespace_id() const; |
1931 | | void set_namespace_id(const ::std::string& value); |
1932 | | #if LANG_CXX11 |
1933 | | void set_namespace_id(::std::string&& value); |
1934 | | #endif |
1935 | | void set_namespace_id(const char* value); |
1936 | | void set_namespace_id(const void* value, size_t size); |
1937 | | ::std::string* mutable_namespace_id(); |
1938 | | ::std::string* release_namespace_id(); |
1939 | | void set_allocated_namespace_id(::std::string* namespace_id); |
1940 | | |
1941 | | // optional uint32 next_oid = 2; |
1942 | | bool has_next_oid() const; |
1943 | | void clear_next_oid(); |
1944 | | static const int kNextOidFieldNumber = 2; |
1945 | | ::google::protobuf::uint32 next_oid() const; |
1946 | | void set_next_oid(::google::protobuf::uint32 value); |
1947 | | |
1948 | | // optional uint32 count = 3; |
1949 | | bool has_count() const; |
1950 | | void clear_count(); |
1951 | | static const int kCountFieldNumber = 3; |
1952 | | ::google::protobuf::uint32 count() const; |
1953 | | void set_count(::google::protobuf::uint32 value); |
1954 | | |
1955 | | // @@protoc_insertion_point(class_scope:yb.master.ReservePgsqlOidsRequestPB) |
1956 | | private: |
1957 | | void set_has_namespace_id(); |
1958 | | void clear_has_namespace_id(); |
1959 | | void set_has_next_oid(); |
1960 | | void clear_has_next_oid(); |
1961 | | void set_has_count(); |
1962 | | void clear_has_count(); |
1963 | | |
1964 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1965 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1966 | | mutable int _cached_size_; |
1967 | | ::google::protobuf::internal::ArenaStringPtr namespace_id_; |
1968 | | ::google::protobuf::uint32 next_oid_; |
1969 | | ::google::protobuf::uint32 count_; |
1970 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
1971 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsReservePgsqlOidsRequestPBImpl(); |
1972 | | }; |
1973 | | // ------------------------------------------------------------------- |
1974 | | |
1975 | | class ReservePgsqlOidsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ReservePgsqlOidsResponsePB) */ { |
1976 | | public: |
1977 | | ReservePgsqlOidsResponsePB(); |
1978 | | virtual ~ReservePgsqlOidsResponsePB(); |
1979 | | |
1980 | | ReservePgsqlOidsResponsePB(const ReservePgsqlOidsResponsePB& from); |
1981 | | |
1982 | 0 | inline ReservePgsqlOidsResponsePB& operator=(const ReservePgsqlOidsResponsePB& from) { |
1983 | 0 | CopyFrom(from); |
1984 | 0 | return *this; |
1985 | 0 | } |
1986 | | #if LANG_CXX11 |
1987 | | ReservePgsqlOidsResponsePB(ReservePgsqlOidsResponsePB&& from) noexcept |
1988 | 0 | : ReservePgsqlOidsResponsePB() { |
1989 | 0 | *this = ::std::move(from); |
1990 | 0 | } |
1991 | | |
1992 | 0 | inline ReservePgsqlOidsResponsePB& operator=(ReservePgsqlOidsResponsePB&& from) noexcept { |
1993 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1994 | 0 | if (this != &from) InternalSwap(&from); |
1995 | 0 | } else { |
1996 | 0 | CopyFrom(from); |
1997 | 0 | } |
1998 | 0 | return *this; |
1999 | 0 | } |
2000 | | #endif |
2001 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2002 | 0 | return _internal_metadata_.unknown_fields(); |
2003 | 0 | } |
2004 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2005 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2006 | 0 | } |
2007 | | |
2008 | | static const ::google::protobuf::Descriptor* descriptor(); |
2009 | | static const ReservePgsqlOidsResponsePB& default_instance(); |
2010 | | |
2011 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2012 | 30.0k | static inline const ReservePgsqlOidsResponsePB* internal_default_instance() { |
2013 | 30.0k | return reinterpret_cast<const ReservePgsqlOidsResponsePB*>( |
2014 | 30.0k | &_ReservePgsqlOidsResponsePB_default_instance_); |
2015 | 30.0k | } |
2016 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2017 | | 11; |
2018 | | |
2019 | | void Swap(ReservePgsqlOidsResponsePB* other); |
2020 | 0 | friend void swap(ReservePgsqlOidsResponsePB& a, ReservePgsqlOidsResponsePB& b) { |
2021 | 0 | a.Swap(&b); |
2022 | 0 | } |
2023 | | |
2024 | | // implements Message ---------------------------------------------- |
2025 | | |
2026 | 0 | inline ReservePgsqlOidsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2027 | | |
2028 | | ReservePgsqlOidsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2029 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2030 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2031 | | void CopyFrom(const ReservePgsqlOidsResponsePB& from); |
2032 | | void MergeFrom(const ReservePgsqlOidsResponsePB& from); |
2033 | | void Clear() PROTOBUF_FINAL; |
2034 | | bool IsInitialized() const PROTOBUF_FINAL; |
2035 | | |
2036 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2037 | | bool MergePartialFromCodedStream( |
2038 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2039 | | void SerializeWithCachedSizes( |
2040 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2041 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2042 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2043 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2044 | | private: |
2045 | | void SharedCtor(); |
2046 | | void SharedDtor(); |
2047 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2048 | | void InternalSwap(ReservePgsqlOidsResponsePB* other); |
2049 | | private: |
2050 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2051 | 0 | return NULL; |
2052 | 0 | } |
2053 | 0 | inline void* MaybeArenaPtr() const { |
2054 | 0 | return NULL; |
2055 | 0 | } |
2056 | | public: |
2057 | | |
2058 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2059 | | |
2060 | | // nested types ---------------------------------------------------- |
2061 | | |
2062 | | // accessors ------------------------------------------------------- |
2063 | | |
2064 | | // optional .yb.master.MasterErrorPB error = 1; |
2065 | | bool has_error() const; |
2066 | | void clear_error(); |
2067 | | static const int kErrorFieldNumber = 1; |
2068 | | const ::yb::master::MasterErrorPB& error() const; |
2069 | | ::yb::master::MasterErrorPB* release_error(); |
2070 | | ::yb::master::MasterErrorPB* mutable_error(); |
2071 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2072 | | |
2073 | | // optional uint32 begin_oid = 2; |
2074 | | bool has_begin_oid() const; |
2075 | | void clear_begin_oid(); |
2076 | | static const int kBeginOidFieldNumber = 2; |
2077 | | ::google::protobuf::uint32 begin_oid() const; |
2078 | | void set_begin_oid(::google::protobuf::uint32 value); |
2079 | | |
2080 | | // optional uint32 end_oid = 3; |
2081 | | bool has_end_oid() const; |
2082 | | void clear_end_oid(); |
2083 | | static const int kEndOidFieldNumber = 3; |
2084 | | ::google::protobuf::uint32 end_oid() const; |
2085 | | void set_end_oid(::google::protobuf::uint32 value); |
2086 | | |
2087 | | // @@protoc_insertion_point(class_scope:yb.master.ReservePgsqlOidsResponsePB) |
2088 | | private: |
2089 | | void set_has_error(); |
2090 | | void clear_has_error(); |
2091 | | void set_has_begin_oid(); |
2092 | | void clear_has_begin_oid(); |
2093 | | void set_has_end_oid(); |
2094 | | void clear_has_end_oid(); |
2095 | | |
2096 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2097 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2098 | | mutable int _cached_size_; |
2099 | | ::yb::master::MasterErrorPB* error_; |
2100 | | ::google::protobuf::uint32 begin_oid_; |
2101 | | ::google::protobuf::uint32 end_oid_; |
2102 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2103 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsReservePgsqlOidsResponsePBImpl(); |
2104 | | }; |
2105 | | // ------------------------------------------------------------------- |
2106 | | |
2107 | | class GetYsqlCatalogConfigRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetYsqlCatalogConfigRequestPB) */ { |
2108 | | public: |
2109 | | GetYsqlCatalogConfigRequestPB(); |
2110 | | virtual ~GetYsqlCatalogConfigRequestPB(); |
2111 | | |
2112 | | GetYsqlCatalogConfigRequestPB(const GetYsqlCatalogConfigRequestPB& from); |
2113 | | |
2114 | 0 | inline GetYsqlCatalogConfigRequestPB& operator=(const GetYsqlCatalogConfigRequestPB& from) { |
2115 | 0 | CopyFrom(from); |
2116 | 0 | return *this; |
2117 | 0 | } |
2118 | | #if LANG_CXX11 |
2119 | | GetYsqlCatalogConfigRequestPB(GetYsqlCatalogConfigRequestPB&& from) noexcept |
2120 | 0 | : GetYsqlCatalogConfigRequestPB() { |
2121 | 0 | *this = ::std::move(from); |
2122 | 0 | } |
2123 | | |
2124 | 0 | inline GetYsqlCatalogConfigRequestPB& operator=(GetYsqlCatalogConfigRequestPB&& from) noexcept { |
2125 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2126 | 0 | if (this != &from) InternalSwap(&from); |
2127 | 0 | } else { |
2128 | 0 | CopyFrom(from); |
2129 | 0 | } |
2130 | 0 | return *this; |
2131 | 0 | } |
2132 | | #endif |
2133 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2134 | 0 | return _internal_metadata_.unknown_fields(); |
2135 | 0 | } |
2136 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2137 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2138 | 0 | } |
2139 | | |
2140 | | static const ::google::protobuf::Descriptor* descriptor(); |
2141 | | static const GetYsqlCatalogConfigRequestPB& default_instance(); |
2142 | | |
2143 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2144 | 26.9k | static inline const GetYsqlCatalogConfigRequestPB* internal_default_instance() { |
2145 | 26.9k | return reinterpret_cast<const GetYsqlCatalogConfigRequestPB*>( |
2146 | 26.9k | &_GetYsqlCatalogConfigRequestPB_default_instance_); |
2147 | 26.9k | } |
2148 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2149 | | 12; |
2150 | | |
2151 | | void Swap(GetYsqlCatalogConfigRequestPB* other); |
2152 | 0 | friend void swap(GetYsqlCatalogConfigRequestPB& a, GetYsqlCatalogConfigRequestPB& b) { |
2153 | 0 | a.Swap(&b); |
2154 | 0 | } |
2155 | | |
2156 | | // implements Message ---------------------------------------------- |
2157 | | |
2158 | 0 | inline GetYsqlCatalogConfigRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2159 | | |
2160 | | GetYsqlCatalogConfigRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2161 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2162 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2163 | | void CopyFrom(const GetYsqlCatalogConfigRequestPB& from); |
2164 | | void MergeFrom(const GetYsqlCatalogConfigRequestPB& from); |
2165 | | void Clear() PROTOBUF_FINAL; |
2166 | | bool IsInitialized() const PROTOBUF_FINAL; |
2167 | | |
2168 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2169 | | bool MergePartialFromCodedStream( |
2170 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2171 | | void SerializeWithCachedSizes( |
2172 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2173 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2174 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2175 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2176 | | private: |
2177 | | void SharedCtor(); |
2178 | | void SharedDtor(); |
2179 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2180 | | void InternalSwap(GetYsqlCatalogConfigRequestPB* other); |
2181 | | private: |
2182 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2183 | 0 | return NULL; |
2184 | 0 | } |
2185 | 0 | inline void* MaybeArenaPtr() const { |
2186 | 0 | return NULL; |
2187 | 0 | } |
2188 | | public: |
2189 | | |
2190 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2191 | | |
2192 | | // nested types ---------------------------------------------------- |
2193 | | |
2194 | | // accessors ------------------------------------------------------- |
2195 | | |
2196 | | // @@protoc_insertion_point(class_scope:yb.master.GetYsqlCatalogConfigRequestPB) |
2197 | | private: |
2198 | | |
2199 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2200 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2201 | | mutable int _cached_size_; |
2202 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2203 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetYsqlCatalogConfigRequestPBImpl(); |
2204 | | }; |
2205 | | // ------------------------------------------------------------------- |
2206 | | |
2207 | | class GetYsqlCatalogConfigResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetYsqlCatalogConfigResponsePB) */ { |
2208 | | public: |
2209 | | GetYsqlCatalogConfigResponsePB(); |
2210 | | virtual ~GetYsqlCatalogConfigResponsePB(); |
2211 | | |
2212 | | GetYsqlCatalogConfigResponsePB(const GetYsqlCatalogConfigResponsePB& from); |
2213 | | |
2214 | 0 | inline GetYsqlCatalogConfigResponsePB& operator=(const GetYsqlCatalogConfigResponsePB& from) { |
2215 | 0 | CopyFrom(from); |
2216 | 0 | return *this; |
2217 | 0 | } |
2218 | | #if LANG_CXX11 |
2219 | | GetYsqlCatalogConfigResponsePB(GetYsqlCatalogConfigResponsePB&& from) noexcept |
2220 | 0 | : GetYsqlCatalogConfigResponsePB() { |
2221 | 0 | *this = ::std::move(from); |
2222 | 0 | } |
2223 | | |
2224 | 0 | inline GetYsqlCatalogConfigResponsePB& operator=(GetYsqlCatalogConfigResponsePB&& from) noexcept { |
2225 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2226 | 0 | if (this != &from) InternalSwap(&from); |
2227 | 0 | } else { |
2228 | 0 | CopyFrom(from); |
2229 | 0 | } |
2230 | 0 | return *this; |
2231 | 0 | } |
2232 | | #endif |
2233 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2234 | 0 | return _internal_metadata_.unknown_fields(); |
2235 | 0 | } |
2236 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2237 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2238 | 0 | } |
2239 | | |
2240 | | static const ::google::protobuf::Descriptor* descriptor(); |
2241 | | static const GetYsqlCatalogConfigResponsePB& default_instance(); |
2242 | | |
2243 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2244 | 26.9k | static inline const GetYsqlCatalogConfigResponsePB* internal_default_instance() { |
2245 | 26.9k | return reinterpret_cast<const GetYsqlCatalogConfigResponsePB*>( |
2246 | 26.9k | &_GetYsqlCatalogConfigResponsePB_default_instance_); |
2247 | 26.9k | } |
2248 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2249 | | 13; |
2250 | | |
2251 | | void Swap(GetYsqlCatalogConfigResponsePB* other); |
2252 | 0 | friend void swap(GetYsqlCatalogConfigResponsePB& a, GetYsqlCatalogConfigResponsePB& b) { |
2253 | 0 | a.Swap(&b); |
2254 | 0 | } |
2255 | | |
2256 | | // implements Message ---------------------------------------------- |
2257 | | |
2258 | 0 | inline GetYsqlCatalogConfigResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2259 | | |
2260 | | GetYsqlCatalogConfigResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2261 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2262 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2263 | | void CopyFrom(const GetYsqlCatalogConfigResponsePB& from); |
2264 | | void MergeFrom(const GetYsqlCatalogConfigResponsePB& from); |
2265 | | void Clear() PROTOBUF_FINAL; |
2266 | | bool IsInitialized() const PROTOBUF_FINAL; |
2267 | | |
2268 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2269 | | bool MergePartialFromCodedStream( |
2270 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2271 | | void SerializeWithCachedSizes( |
2272 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2273 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2274 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2275 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2276 | | private: |
2277 | | void SharedCtor(); |
2278 | | void SharedDtor(); |
2279 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2280 | | void InternalSwap(GetYsqlCatalogConfigResponsePB* other); |
2281 | | private: |
2282 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2283 | 0 | return NULL; |
2284 | 0 | } |
2285 | 0 | inline void* MaybeArenaPtr() const { |
2286 | 0 | return NULL; |
2287 | 0 | } |
2288 | | public: |
2289 | | |
2290 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2291 | | |
2292 | | // nested types ---------------------------------------------------- |
2293 | | |
2294 | | // accessors ------------------------------------------------------- |
2295 | | |
2296 | | // optional .yb.master.MasterErrorPB error = 1; |
2297 | | bool has_error() const; |
2298 | | void clear_error(); |
2299 | | static const int kErrorFieldNumber = 1; |
2300 | | const ::yb::master::MasterErrorPB& error() const; |
2301 | | ::yb::master::MasterErrorPB* release_error(); |
2302 | | ::yb::master::MasterErrorPB* mutable_error(); |
2303 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2304 | | |
2305 | | // optional uint64 version = 2; |
2306 | | bool has_version() const; |
2307 | | void clear_version(); |
2308 | | static const int kVersionFieldNumber = 2; |
2309 | | ::google::protobuf::uint64 version() const; |
2310 | | void set_version(::google::protobuf::uint64 value); |
2311 | | |
2312 | | // @@protoc_insertion_point(class_scope:yb.master.GetYsqlCatalogConfigResponsePB) |
2313 | | private: |
2314 | | void set_has_error(); |
2315 | | void clear_has_error(); |
2316 | | void set_has_version(); |
2317 | | void clear_has_version(); |
2318 | | |
2319 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2320 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2321 | | mutable int _cached_size_; |
2322 | | ::yb::master::MasterErrorPB* error_; |
2323 | | ::google::protobuf::uint64 version_; |
2324 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2325 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsGetYsqlCatalogConfigResponsePBImpl(); |
2326 | | }; |
2327 | | // ------------------------------------------------------------------- |
2328 | | |
2329 | | class RedisConfigSetRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RedisConfigSetRequestPB) */ { |
2330 | | public: |
2331 | | RedisConfigSetRequestPB(); |
2332 | | virtual ~RedisConfigSetRequestPB(); |
2333 | | |
2334 | | RedisConfigSetRequestPB(const RedisConfigSetRequestPB& from); |
2335 | | |
2336 | 0 | inline RedisConfigSetRequestPB& operator=(const RedisConfigSetRequestPB& from) { |
2337 | 0 | CopyFrom(from); |
2338 | 0 | return *this; |
2339 | 0 | } |
2340 | | #if LANG_CXX11 |
2341 | | RedisConfigSetRequestPB(RedisConfigSetRequestPB&& from) noexcept |
2342 | 0 | : RedisConfigSetRequestPB() { |
2343 | 0 | *this = ::std::move(from); |
2344 | 0 | } |
2345 | | |
2346 | 0 | inline RedisConfigSetRequestPB& operator=(RedisConfigSetRequestPB&& from) noexcept { |
2347 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2348 | 0 | if (this != &from) InternalSwap(&from); |
2349 | 0 | } else { |
2350 | 0 | CopyFrom(from); |
2351 | 0 | } |
2352 | 0 | return *this; |
2353 | 0 | } |
2354 | | #endif |
2355 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2356 | 0 | return _internal_metadata_.unknown_fields(); |
2357 | 0 | } |
2358 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2359 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2360 | 0 | } |
2361 | | |
2362 | | static const ::google::protobuf::Descriptor* descriptor(); |
2363 | | static const RedisConfigSetRequestPB& default_instance(); |
2364 | | |
2365 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2366 | 27.2k | static inline const RedisConfigSetRequestPB* internal_default_instance() { |
2367 | 27.2k | return reinterpret_cast<const RedisConfigSetRequestPB*>( |
2368 | 27.2k | &_RedisConfigSetRequestPB_default_instance_); |
2369 | 27.2k | } |
2370 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2371 | | 14; |
2372 | | |
2373 | | void Swap(RedisConfigSetRequestPB* other); |
2374 | 0 | friend void swap(RedisConfigSetRequestPB& a, RedisConfigSetRequestPB& b) { |
2375 | 0 | a.Swap(&b); |
2376 | 0 | } |
2377 | | |
2378 | | // implements Message ---------------------------------------------- |
2379 | | |
2380 | 0 | inline RedisConfigSetRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2381 | | |
2382 | | RedisConfigSetRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2383 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2384 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2385 | | void CopyFrom(const RedisConfigSetRequestPB& from); |
2386 | | void MergeFrom(const RedisConfigSetRequestPB& from); |
2387 | | void Clear() PROTOBUF_FINAL; |
2388 | | bool IsInitialized() const PROTOBUF_FINAL; |
2389 | | |
2390 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2391 | | bool MergePartialFromCodedStream( |
2392 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2393 | | void SerializeWithCachedSizes( |
2394 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2395 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2396 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2397 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2398 | | private: |
2399 | | void SharedCtor(); |
2400 | | void SharedDtor(); |
2401 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2402 | | void InternalSwap(RedisConfigSetRequestPB* other); |
2403 | | private: |
2404 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2405 | 0 | return NULL; |
2406 | 0 | } |
2407 | 0 | inline void* MaybeArenaPtr() const { |
2408 | 0 | return NULL; |
2409 | 0 | } |
2410 | | public: |
2411 | | |
2412 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2413 | | |
2414 | | // nested types ---------------------------------------------------- |
2415 | | |
2416 | | // accessors ------------------------------------------------------- |
2417 | | |
2418 | | // repeated bytes args = 2; |
2419 | | int args_size() const; |
2420 | | void clear_args(); |
2421 | | static const int kArgsFieldNumber = 2; |
2422 | | const ::std::string& args(int index) const; |
2423 | | ::std::string* mutable_args(int index); |
2424 | | void set_args(int index, const ::std::string& value); |
2425 | | #if LANG_CXX11 |
2426 | | void set_args(int index, ::std::string&& value); |
2427 | | #endif |
2428 | | void set_args(int index, const char* value); |
2429 | | void set_args(int index, const void* value, size_t size); |
2430 | | ::std::string* add_args(); |
2431 | | void add_args(const ::std::string& value); |
2432 | | #if LANG_CXX11 |
2433 | | void add_args(::std::string&& value); |
2434 | | #endif |
2435 | | void add_args(const char* value); |
2436 | | void add_args(const void* value, size_t size); |
2437 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& args() const; |
2438 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_args(); |
2439 | | |
2440 | | // optional string keyword = 1; |
2441 | | bool has_keyword() const; |
2442 | | void clear_keyword(); |
2443 | | static const int kKeywordFieldNumber = 1; |
2444 | | const ::std::string& keyword() const; |
2445 | | void set_keyword(const ::std::string& value); |
2446 | | #if LANG_CXX11 |
2447 | | void set_keyword(::std::string&& value); |
2448 | | #endif |
2449 | | void set_keyword(const char* value); |
2450 | | void set_keyword(const char* value, size_t size); |
2451 | | ::std::string* mutable_keyword(); |
2452 | | ::std::string* release_keyword(); |
2453 | | void set_allocated_keyword(::std::string* keyword); |
2454 | | |
2455 | | // @@protoc_insertion_point(class_scope:yb.master.RedisConfigSetRequestPB) |
2456 | | private: |
2457 | | void set_has_keyword(); |
2458 | | void clear_has_keyword(); |
2459 | | |
2460 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2461 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2462 | | mutable int _cached_size_; |
2463 | | ::google::protobuf::RepeatedPtrField< ::std::string> args_; |
2464 | | ::google::protobuf::internal::ArenaStringPtr keyword_; |
2465 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2466 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsRedisConfigSetRequestPBImpl(); |
2467 | | }; |
2468 | | // ------------------------------------------------------------------- |
2469 | | |
2470 | | class RedisConfigSetResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RedisConfigSetResponsePB) */ { |
2471 | | public: |
2472 | | RedisConfigSetResponsePB(); |
2473 | | virtual ~RedisConfigSetResponsePB(); |
2474 | | |
2475 | | RedisConfigSetResponsePB(const RedisConfigSetResponsePB& from); |
2476 | | |
2477 | 0 | inline RedisConfigSetResponsePB& operator=(const RedisConfigSetResponsePB& from) { |
2478 | 0 | CopyFrom(from); |
2479 | 0 | return *this; |
2480 | 0 | } |
2481 | | #if LANG_CXX11 |
2482 | | RedisConfigSetResponsePB(RedisConfigSetResponsePB&& from) noexcept |
2483 | 0 | : RedisConfigSetResponsePB() { |
2484 | 0 | *this = ::std::move(from); |
2485 | 0 | } |
2486 | | |
2487 | 0 | inline RedisConfigSetResponsePB& operator=(RedisConfigSetResponsePB&& from) noexcept { |
2488 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2489 | 0 | if (this != &from) InternalSwap(&from); |
2490 | 0 | } else { |
2491 | 0 | CopyFrom(from); |
2492 | 0 | } |
2493 | 0 | return *this; |
2494 | 0 | } |
2495 | | #endif |
2496 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2497 | 0 | return _internal_metadata_.unknown_fields(); |
2498 | 0 | } |
2499 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2500 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2501 | 0 | } |
2502 | | |
2503 | | static const ::google::protobuf::Descriptor* descriptor(); |
2504 | | static const RedisConfigSetResponsePB& default_instance(); |
2505 | | |
2506 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2507 | 27.5k | static inline const RedisConfigSetResponsePB* internal_default_instance() { |
2508 | 27.5k | return reinterpret_cast<const RedisConfigSetResponsePB*>( |
2509 | 27.5k | &_RedisConfigSetResponsePB_default_instance_); |
2510 | 27.5k | } |
2511 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2512 | | 15; |
2513 | | |
2514 | | void Swap(RedisConfigSetResponsePB* other); |
2515 | 0 | friend void swap(RedisConfigSetResponsePB& a, RedisConfigSetResponsePB& b) { |
2516 | 0 | a.Swap(&b); |
2517 | 0 | } |
2518 | | |
2519 | | // implements Message ---------------------------------------------- |
2520 | | |
2521 | 0 | inline RedisConfigSetResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2522 | | |
2523 | | RedisConfigSetResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2524 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2525 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2526 | | void CopyFrom(const RedisConfigSetResponsePB& from); |
2527 | | void MergeFrom(const RedisConfigSetResponsePB& from); |
2528 | | void Clear() PROTOBUF_FINAL; |
2529 | | bool IsInitialized() const PROTOBUF_FINAL; |
2530 | | |
2531 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2532 | | bool MergePartialFromCodedStream( |
2533 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2534 | | void SerializeWithCachedSizes( |
2535 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2536 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2537 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2538 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2539 | | private: |
2540 | | void SharedCtor(); |
2541 | | void SharedDtor(); |
2542 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2543 | | void InternalSwap(RedisConfigSetResponsePB* other); |
2544 | | private: |
2545 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2546 | 0 | return NULL; |
2547 | 0 | } |
2548 | 0 | inline void* MaybeArenaPtr() const { |
2549 | 0 | return NULL; |
2550 | 0 | } |
2551 | | public: |
2552 | | |
2553 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2554 | | |
2555 | | // nested types ---------------------------------------------------- |
2556 | | |
2557 | | // accessors ------------------------------------------------------- |
2558 | | |
2559 | | // optional .yb.master.MasterErrorPB error = 1; |
2560 | | bool has_error() const; |
2561 | | void clear_error(); |
2562 | | static const int kErrorFieldNumber = 1; |
2563 | | const ::yb::master::MasterErrorPB& error() const; |
2564 | | ::yb::master::MasterErrorPB* release_error(); |
2565 | | ::yb::master::MasterErrorPB* mutable_error(); |
2566 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2567 | | |
2568 | | // @@protoc_insertion_point(class_scope:yb.master.RedisConfigSetResponsePB) |
2569 | | private: |
2570 | | void set_has_error(); |
2571 | | void clear_has_error(); |
2572 | | |
2573 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2574 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2575 | | mutable int _cached_size_; |
2576 | | ::yb::master::MasterErrorPB* error_; |
2577 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2578 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsRedisConfigSetResponsePBImpl(); |
2579 | | }; |
2580 | | // ------------------------------------------------------------------- |
2581 | | |
2582 | | class RedisConfigGetRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RedisConfigGetRequestPB) */ { |
2583 | | public: |
2584 | | RedisConfigGetRequestPB(); |
2585 | | virtual ~RedisConfigGetRequestPB(); |
2586 | | |
2587 | | RedisConfigGetRequestPB(const RedisConfigGetRequestPB& from); |
2588 | | |
2589 | 0 | inline RedisConfigGetRequestPB& operator=(const RedisConfigGetRequestPB& from) { |
2590 | 0 | CopyFrom(from); |
2591 | 0 | return *this; |
2592 | 0 | } |
2593 | | #if LANG_CXX11 |
2594 | | RedisConfigGetRequestPB(RedisConfigGetRequestPB&& from) noexcept |
2595 | 0 | : RedisConfigGetRequestPB() { |
2596 | 0 | *this = ::std::move(from); |
2597 | 0 | } |
2598 | | |
2599 | 0 | inline RedisConfigGetRequestPB& operator=(RedisConfigGetRequestPB&& from) noexcept { |
2600 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2601 | 0 | if (this != &from) InternalSwap(&from); |
2602 | 0 | } else { |
2603 | 0 | CopyFrom(from); |
2604 | 0 | } |
2605 | 0 | return *this; |
2606 | 0 | } |
2607 | | #endif |
2608 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2609 | 0 | return _internal_metadata_.unknown_fields(); |
2610 | 0 | } |
2611 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2612 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2613 | 0 | } |
2614 | | |
2615 | | static const ::google::protobuf::Descriptor* descriptor(); |
2616 | | static const RedisConfigGetRequestPB& default_instance(); |
2617 | | |
2618 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2619 | 29.2k | static inline const RedisConfigGetRequestPB* internal_default_instance() { |
2620 | 29.2k | return reinterpret_cast<const RedisConfigGetRequestPB*>( |
2621 | 29.2k | &_RedisConfigGetRequestPB_default_instance_); |
2622 | 29.2k | } |
2623 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2624 | | 16; |
2625 | | |
2626 | | void Swap(RedisConfigGetRequestPB* other); |
2627 | 0 | friend void swap(RedisConfigGetRequestPB& a, RedisConfigGetRequestPB& b) { |
2628 | 0 | a.Swap(&b); |
2629 | 0 | } |
2630 | | |
2631 | | // implements Message ---------------------------------------------- |
2632 | | |
2633 | 0 | inline RedisConfigGetRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2634 | | |
2635 | | RedisConfigGetRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2636 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2637 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2638 | | void CopyFrom(const RedisConfigGetRequestPB& from); |
2639 | | void MergeFrom(const RedisConfigGetRequestPB& from); |
2640 | | void Clear() PROTOBUF_FINAL; |
2641 | | bool IsInitialized() const PROTOBUF_FINAL; |
2642 | | |
2643 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2644 | | bool MergePartialFromCodedStream( |
2645 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2646 | | void SerializeWithCachedSizes( |
2647 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2648 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2649 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2650 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2651 | | private: |
2652 | | void SharedCtor(); |
2653 | | void SharedDtor(); |
2654 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2655 | | void InternalSwap(RedisConfigGetRequestPB* other); |
2656 | | private: |
2657 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2658 | 0 | return NULL; |
2659 | 0 | } |
2660 | 0 | inline void* MaybeArenaPtr() const { |
2661 | 0 | return NULL; |
2662 | 0 | } |
2663 | | public: |
2664 | | |
2665 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2666 | | |
2667 | | // nested types ---------------------------------------------------- |
2668 | | |
2669 | | // accessors ------------------------------------------------------- |
2670 | | |
2671 | | // optional string keyword = 1; |
2672 | | bool has_keyword() const; |
2673 | | void clear_keyword(); |
2674 | | static const int kKeywordFieldNumber = 1; |
2675 | | const ::std::string& keyword() const; |
2676 | | void set_keyword(const ::std::string& value); |
2677 | | #if LANG_CXX11 |
2678 | | void set_keyword(::std::string&& value); |
2679 | | #endif |
2680 | | void set_keyword(const char* value); |
2681 | | void set_keyword(const char* value, size_t size); |
2682 | | ::std::string* mutable_keyword(); |
2683 | | ::std::string* release_keyword(); |
2684 | | void set_allocated_keyword(::std::string* keyword); |
2685 | | |
2686 | | // @@protoc_insertion_point(class_scope:yb.master.RedisConfigGetRequestPB) |
2687 | | private: |
2688 | | void set_has_keyword(); |
2689 | | void clear_has_keyword(); |
2690 | | |
2691 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2692 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2693 | | mutable int _cached_size_; |
2694 | | ::google::protobuf::internal::ArenaStringPtr keyword_; |
2695 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2696 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsRedisConfigGetRequestPBImpl(); |
2697 | | }; |
2698 | | // ------------------------------------------------------------------- |
2699 | | |
2700 | | class RedisConfigGetResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RedisConfigGetResponsePB) */ { |
2701 | | public: |
2702 | | RedisConfigGetResponsePB(); |
2703 | | virtual ~RedisConfigGetResponsePB(); |
2704 | | |
2705 | | RedisConfigGetResponsePB(const RedisConfigGetResponsePB& from); |
2706 | | |
2707 | 0 | inline RedisConfigGetResponsePB& operator=(const RedisConfigGetResponsePB& from) { |
2708 | 0 | CopyFrom(from); |
2709 | 0 | return *this; |
2710 | 0 | } |
2711 | | #if LANG_CXX11 |
2712 | | RedisConfigGetResponsePB(RedisConfigGetResponsePB&& from) noexcept |
2713 | 0 | : RedisConfigGetResponsePB() { |
2714 | 0 | *this = ::std::move(from); |
2715 | 0 | } |
2716 | | |
2717 | 0 | inline RedisConfigGetResponsePB& operator=(RedisConfigGetResponsePB&& from) noexcept { |
2718 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2719 | 0 | if (this != &from) InternalSwap(&from); |
2720 | 0 | } else { |
2721 | 0 | CopyFrom(from); |
2722 | 0 | } |
2723 | 0 | return *this; |
2724 | 0 | } |
2725 | | #endif |
2726 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2727 | 0 | return _internal_metadata_.unknown_fields(); |
2728 | 0 | } |
2729 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2730 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2731 | 0 | } |
2732 | | |
2733 | | static const ::google::protobuf::Descriptor* descriptor(); |
2734 | | static const RedisConfigGetResponsePB& default_instance(); |
2735 | | |
2736 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2737 | 31.5k | static inline const RedisConfigGetResponsePB* internal_default_instance() { |
2738 | 31.5k | return reinterpret_cast<const RedisConfigGetResponsePB*>( |
2739 | 31.5k | &_RedisConfigGetResponsePB_default_instance_); |
2740 | 31.5k | } |
2741 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2742 | | 17; |
2743 | | |
2744 | | void Swap(RedisConfigGetResponsePB* other); |
2745 | 0 | friend void swap(RedisConfigGetResponsePB& a, RedisConfigGetResponsePB& b) { |
2746 | 0 | a.Swap(&b); |
2747 | 0 | } |
2748 | | |
2749 | | // implements Message ---------------------------------------------- |
2750 | | |
2751 | 0 | inline RedisConfigGetResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2752 | | |
2753 | | RedisConfigGetResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2754 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2755 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2756 | | void CopyFrom(const RedisConfigGetResponsePB& from); |
2757 | | void MergeFrom(const RedisConfigGetResponsePB& from); |
2758 | | void Clear() PROTOBUF_FINAL; |
2759 | | bool IsInitialized() const PROTOBUF_FINAL; |
2760 | | |
2761 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2762 | | bool MergePartialFromCodedStream( |
2763 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2764 | | void SerializeWithCachedSizes( |
2765 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2766 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2767 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2768 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2769 | | private: |
2770 | | void SharedCtor(); |
2771 | | void SharedDtor(); |
2772 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2773 | | void InternalSwap(RedisConfigGetResponsePB* other); |
2774 | | private: |
2775 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2776 | 0 | return NULL; |
2777 | 0 | } |
2778 | 0 | inline void* MaybeArenaPtr() const { |
2779 | 0 | return NULL; |
2780 | 0 | } |
2781 | | public: |
2782 | | |
2783 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2784 | | |
2785 | | // nested types ---------------------------------------------------- |
2786 | | |
2787 | | // accessors ------------------------------------------------------- |
2788 | | |
2789 | | // repeated bytes args = 2; |
2790 | | int args_size() const; |
2791 | | void clear_args(); |
2792 | | static const int kArgsFieldNumber = 2; |
2793 | | const ::std::string& args(int index) const; |
2794 | | ::std::string* mutable_args(int index); |
2795 | | void set_args(int index, const ::std::string& value); |
2796 | | #if LANG_CXX11 |
2797 | | void set_args(int index, ::std::string&& value); |
2798 | | #endif |
2799 | | void set_args(int index, const char* value); |
2800 | | void set_args(int index, const void* value, size_t size); |
2801 | | ::std::string* add_args(); |
2802 | | void add_args(const ::std::string& value); |
2803 | | #if LANG_CXX11 |
2804 | | void add_args(::std::string&& value); |
2805 | | #endif |
2806 | | void add_args(const char* value); |
2807 | | void add_args(const void* value, size_t size); |
2808 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& args() const; |
2809 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_args(); |
2810 | | |
2811 | | // optional string keyword = 1; |
2812 | | bool has_keyword() const; |
2813 | | void clear_keyword(); |
2814 | | static const int kKeywordFieldNumber = 1; |
2815 | | const ::std::string& keyword() const; |
2816 | | void set_keyword(const ::std::string& value); |
2817 | | #if LANG_CXX11 |
2818 | | void set_keyword(::std::string&& value); |
2819 | | #endif |
2820 | | void set_keyword(const char* value); |
2821 | | void set_keyword(const char* value, size_t size); |
2822 | | ::std::string* mutable_keyword(); |
2823 | | ::std::string* release_keyword(); |
2824 | | void set_allocated_keyword(::std::string* keyword); |
2825 | | |
2826 | | // optional .yb.master.MasterErrorPB error = 3; |
2827 | | bool has_error() const; |
2828 | | void clear_error(); |
2829 | | static const int kErrorFieldNumber = 3; |
2830 | | const ::yb::master::MasterErrorPB& error() const; |
2831 | | ::yb::master::MasterErrorPB* release_error(); |
2832 | | ::yb::master::MasterErrorPB* mutable_error(); |
2833 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2834 | | |
2835 | | // @@protoc_insertion_point(class_scope:yb.master.RedisConfigGetResponsePB) |
2836 | | private: |
2837 | | void set_has_keyword(); |
2838 | | void clear_has_keyword(); |
2839 | | void set_has_error(); |
2840 | | void clear_has_error(); |
2841 | | |
2842 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2843 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2844 | | mutable int _cached_size_; |
2845 | | ::google::protobuf::RepeatedPtrField< ::std::string> args_; |
2846 | | ::google::protobuf::internal::ArenaStringPtr keyword_; |
2847 | | ::yb::master::MasterErrorPB* error_; |
2848 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::TableStruct; |
2849 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fclient_2eproto::InitDefaultsRedisConfigGetResponsePBImpl(); |
2850 | | }; |
2851 | | // =================================================================== |
2852 | | |
2853 | | |
2854 | | // =================================================================== |
2855 | | |
2856 | | #ifdef __GNUC__ |
2857 | | #pragma GCC diagnostic push |
2858 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
2859 | | #endif // __GNUC__ |
2860 | | // TSInfoPB |
2861 | | |
2862 | | // required bytes permanent_uuid = 1; |
2863 | 2.02M | inline bool TSInfoPB::has_permanent_uuid() const { |
2864 | 2.02M | return (_has_bits_[0] & 0x00000001u) != 0; |
2865 | 2.02M | } |
2866 | 2.35M | inline void TSInfoPB::set_has_permanent_uuid() { |
2867 | 2.35M | _has_bits_[0] |= 0x00000001u; |
2868 | 2.35M | } |
2869 | 0 | inline void TSInfoPB::clear_has_permanent_uuid() { |
2870 | 0 | _has_bits_[0] &= ~0x00000001u; |
2871 | 0 | } |
2872 | 0 | inline void TSInfoPB::clear_permanent_uuid() { |
2873 | 0 | permanent_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2874 | 0 | clear_has_permanent_uuid(); |
2875 | 0 | } |
2876 | 7.39M | inline const ::std::string& TSInfoPB::permanent_uuid() const { |
2877 | | // @@protoc_insertion_point(field_get:yb.master.TSInfoPB.permanent_uuid) |
2878 | 7.39M | return permanent_uuid_.GetNoArena(); |
2879 | 7.39M | } |
2880 | 1.41M | inline void TSInfoPB::set_permanent_uuid(const ::std::string& value) { |
2881 | 1.41M | set_has_permanent_uuid(); |
2882 | 1.41M | permanent_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2883 | | // @@protoc_insertion_point(field_set:yb.master.TSInfoPB.permanent_uuid) |
2884 | 1.41M | } |
2885 | | #if LANG_CXX11 |
2886 | 0 | inline void TSInfoPB::set_permanent_uuid(::std::string&& value) { |
2887 | 0 | set_has_permanent_uuid(); |
2888 | 0 | permanent_uuid_.SetNoArena( |
2889 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2890 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TSInfoPB.permanent_uuid) |
2891 | 0 | } |
2892 | | #endif |
2893 | 0 | inline void TSInfoPB::set_permanent_uuid(const char* value) { |
2894 | 0 | GOOGLE_DCHECK(value != NULL); |
2895 | 0 | set_has_permanent_uuid(); |
2896 | 0 | permanent_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2897 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TSInfoPB.permanent_uuid) |
2898 | 0 | } |
2899 | 0 | inline void TSInfoPB::set_permanent_uuid(const void* value, size_t size) { |
2900 | 0 | set_has_permanent_uuid(); |
2901 | 0 | permanent_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2902 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2903 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TSInfoPB.permanent_uuid) |
2904 | 0 | } |
2905 | 923k | inline ::std::string* TSInfoPB::mutable_permanent_uuid() { |
2906 | 923k | set_has_permanent_uuid(); |
2907 | | // @@protoc_insertion_point(field_mutable:yb.master.TSInfoPB.permanent_uuid) |
2908 | 923k | return permanent_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2909 | 923k | } |
2910 | 0 | inline ::std::string* TSInfoPB::release_permanent_uuid() { |
2911 | 0 | // @@protoc_insertion_point(field_release:yb.master.TSInfoPB.permanent_uuid) |
2912 | 0 | clear_has_permanent_uuid(); |
2913 | 0 | return permanent_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2914 | 0 | } |
2915 | 0 | inline void TSInfoPB::set_allocated_permanent_uuid(::std::string* permanent_uuid) { |
2916 | 0 | if (permanent_uuid != NULL) { |
2917 | 0 | set_has_permanent_uuid(); |
2918 | 0 | } else { |
2919 | 0 | clear_has_permanent_uuid(); |
2920 | 0 | } |
2921 | 0 | permanent_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), permanent_uuid); |
2922 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TSInfoPB.permanent_uuid) |
2923 | 0 | } |
2924 | | |
2925 | | // repeated .yb.HostPortPB private_rpc_addresses = 2; |
2926 | 3.03M | inline int TSInfoPB::private_rpc_addresses_size() const { |
2927 | 3.03M | return private_rpc_addresses_.size(); |
2928 | 3.03M | } |
2929 | 3.03M | inline const ::yb::HostPortPB& TSInfoPB::private_rpc_addresses(int index) const { |
2930 | | // @@protoc_insertion_point(field_get:yb.master.TSInfoPB.private_rpc_addresses) |
2931 | 3.03M | return private_rpc_addresses_.Get(index); |
2932 | 3.03M | } |
2933 | 0 | inline ::yb::HostPortPB* TSInfoPB::mutable_private_rpc_addresses(int index) { |
2934 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TSInfoPB.private_rpc_addresses) |
2935 | 0 | return private_rpc_addresses_.Mutable(index); |
2936 | 0 | } |
2937 | 923k | inline ::yb::HostPortPB* TSInfoPB::add_private_rpc_addresses() { |
2938 | | // @@protoc_insertion_point(field_add:yb.master.TSInfoPB.private_rpc_addresses) |
2939 | 923k | return private_rpc_addresses_.Add(); |
2940 | 923k | } |
2941 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
2942 | 1.41M | TSInfoPB::mutable_private_rpc_addresses() { |
2943 | | // @@protoc_insertion_point(field_mutable_list:yb.master.TSInfoPB.private_rpc_addresses) |
2944 | 1.41M | return &private_rpc_addresses_; |
2945 | 1.41M | } |
2946 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
2947 | 2.59M | TSInfoPB::private_rpc_addresses() const { |
2948 | | // @@protoc_insertion_point(field_list:yb.master.TSInfoPB.private_rpc_addresses) |
2949 | 2.59M | return private_rpc_addresses_; |
2950 | 2.59M | } |
2951 | | |
2952 | | // repeated .yb.HostPortPB broadcast_addresses = 5; |
2953 | 3.03M | inline int TSInfoPB::broadcast_addresses_size() const { |
2954 | 3.03M | return broadcast_addresses_.size(); |
2955 | 3.03M | } |
2956 | 54 | inline const ::yb::HostPortPB& TSInfoPB::broadcast_addresses(int index) const { |
2957 | | // @@protoc_insertion_point(field_get:yb.master.TSInfoPB.broadcast_addresses) |
2958 | 54 | return broadcast_addresses_.Get(index); |
2959 | 54 | } |
2960 | 0 | inline ::yb::HostPortPB* TSInfoPB::mutable_broadcast_addresses(int index) { |
2961 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TSInfoPB.broadcast_addresses) |
2962 | 0 | return broadcast_addresses_.Mutable(index); |
2963 | 0 | } |
2964 | 18 | inline ::yb::HostPortPB* TSInfoPB::add_broadcast_addresses() { |
2965 | | // @@protoc_insertion_point(field_add:yb.master.TSInfoPB.broadcast_addresses) |
2966 | 18 | return broadcast_addresses_.Add(); |
2967 | 18 | } |
2968 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
2969 | 1.41M | TSInfoPB::mutable_broadcast_addresses() { |
2970 | | // @@protoc_insertion_point(field_mutable_list:yb.master.TSInfoPB.broadcast_addresses) |
2971 | 1.41M | return &broadcast_addresses_; |
2972 | 1.41M | } |
2973 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
2974 | 2.59M | TSInfoPB::broadcast_addresses() const { |
2975 | | // @@protoc_insertion_point(field_list:yb.master.TSInfoPB.broadcast_addresses) |
2976 | 2.59M | return broadcast_addresses_; |
2977 | 2.59M | } |
2978 | | |
2979 | | // optional .yb.CloudInfoPB cloud_info = 3; |
2980 | 2.02M | inline bool TSInfoPB::has_cloud_info() const { |
2981 | 2.02M | return (_has_bits_[0] & 0x00000004u) != 0; |
2982 | 2.02M | } |
2983 | 2.35M | inline void TSInfoPB::set_has_cloud_info() { |
2984 | 2.35M | _has_bits_[0] |= 0x00000004u; |
2985 | 2.35M | } |
2986 | 0 | inline void TSInfoPB::clear_has_cloud_info() { |
2987 | 0 | _has_bits_[0] &= ~0x00000004u; |
2988 | 0 | } |
2989 | 679k | inline const ::yb::CloudInfoPB& TSInfoPB::cloud_info() const { |
2990 | 679k | const ::yb::CloudInfoPB* p = cloud_info_; |
2991 | | // @@protoc_insertion_point(field_get:yb.master.TSInfoPB.cloud_info) |
2992 | 679k | return p != NULL ? *p : *reinterpret_cast<const ::yb::CloudInfoPB*>( |
2993 | 0 | &::yb::_CloudInfoPB_default_instance_); |
2994 | 679k | } |
2995 | 0 | inline ::yb::CloudInfoPB* TSInfoPB::release_cloud_info() { |
2996 | 0 | // @@protoc_insertion_point(field_release:yb.master.TSInfoPB.cloud_info) |
2997 | 0 | clear_has_cloud_info(); |
2998 | 0 | ::yb::CloudInfoPB* temp = cloud_info_; |
2999 | 0 | cloud_info_ = NULL; |
3000 | 0 | return temp; |
3001 | 0 | } |
3002 | 2.35M | inline ::yb::CloudInfoPB* TSInfoPB::mutable_cloud_info() { |
3003 | 2.35M | set_has_cloud_info(); |
3004 | 2.35M | if (cloud_info_ == NULL) { |
3005 | 2.35M | cloud_info_ = new ::yb::CloudInfoPB; |
3006 | 2.35M | } |
3007 | | // @@protoc_insertion_point(field_mutable:yb.master.TSInfoPB.cloud_info) |
3008 | 2.35M | return cloud_info_; |
3009 | 2.35M | } |
3010 | 0 | inline void TSInfoPB::set_allocated_cloud_info(::yb::CloudInfoPB* cloud_info) { |
3011 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3012 | 0 | if (message_arena == NULL) { |
3013 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(cloud_info_); |
3014 | 0 | } |
3015 | 0 | if (cloud_info) { |
3016 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3017 | 0 | if (message_arena != submessage_arena) { |
3018 | 0 | cloud_info = ::google::protobuf::internal::GetOwnedMessage( |
3019 | 0 | message_arena, cloud_info, submessage_arena); |
3020 | 0 | } |
3021 | 0 | set_has_cloud_info(); |
3022 | 0 | } else { |
3023 | 0 | clear_has_cloud_info(); |
3024 | 0 | } |
3025 | 0 | cloud_info_ = cloud_info; |
3026 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TSInfoPB.cloud_info) |
3027 | 0 | } |
3028 | | |
3029 | | // optional bytes placement_uuid = 4; |
3030 | 2.02M | inline bool TSInfoPB::has_placement_uuid() const { |
3031 | 2.02M | return (_has_bits_[0] & 0x00000002u) != 0; |
3032 | 2.02M | } |
3033 | 1.35M | inline void TSInfoPB::set_has_placement_uuid() { |
3034 | 1.35M | _has_bits_[0] |= 0x00000002u; |
3035 | 1.35M | } |
3036 | 0 | inline void TSInfoPB::clear_has_placement_uuid() { |
3037 | 0 | _has_bits_[0] &= ~0x00000002u; |
3038 | 0 | } |
3039 | 0 | inline void TSInfoPB::clear_placement_uuid() { |
3040 | 0 | placement_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3041 | 0 | clear_has_placement_uuid(); |
3042 | 0 | } |
3043 | 1.72M | inline const ::std::string& TSInfoPB::placement_uuid() const { |
3044 | | // @@protoc_insertion_point(field_get:yb.master.TSInfoPB.placement_uuid) |
3045 | 1.72M | return placement_uuid_.GetNoArena(); |
3046 | 1.72M | } |
3047 | 853k | inline void TSInfoPB::set_placement_uuid(const ::std::string& value) { |
3048 | 853k | set_has_placement_uuid(); |
3049 | 853k | placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3050 | | // @@protoc_insertion_point(field_set:yb.master.TSInfoPB.placement_uuid) |
3051 | 853k | } |
3052 | | #if LANG_CXX11 |
3053 | 0 | inline void TSInfoPB::set_placement_uuid(::std::string&& value) { |
3054 | 0 | set_has_placement_uuid(); |
3055 | 0 | placement_uuid_.SetNoArena( |
3056 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3057 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TSInfoPB.placement_uuid) |
3058 | 0 | } |
3059 | | #endif |
3060 | | inline void TSInfoPB::set_placement_uuid(const char* value) { |
3061 | | GOOGLE_DCHECK(value != NULL); |
3062 | | set_has_placement_uuid(); |
3063 | | placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3064 | | // @@protoc_insertion_point(field_set_char:yb.master.TSInfoPB.placement_uuid) |
3065 | | } |
3066 | 0 | inline void TSInfoPB::set_placement_uuid(const void* value, size_t size) { |
3067 | 0 | set_has_placement_uuid(); |
3068 | 0 | placement_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3069 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3070 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TSInfoPB.placement_uuid) |
3071 | 0 | } |
3072 | 485k | inline ::std::string* TSInfoPB::mutable_placement_uuid() { |
3073 | 485k | set_has_placement_uuid(); |
3074 | | // @@protoc_insertion_point(field_mutable:yb.master.TSInfoPB.placement_uuid) |
3075 | 485k | return placement_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3076 | 485k | } |
3077 | 0 | inline ::std::string* TSInfoPB::release_placement_uuid() { |
3078 | 0 | // @@protoc_insertion_point(field_release:yb.master.TSInfoPB.placement_uuid) |
3079 | 0 | clear_has_placement_uuid(); |
3080 | 0 | return placement_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3081 | 0 | } |
3082 | 0 | inline void TSInfoPB::set_allocated_placement_uuid(::std::string* placement_uuid) { |
3083 | 0 | if (placement_uuid != NULL) { |
3084 | 0 | set_has_placement_uuid(); |
3085 | 0 | } else { |
3086 | 0 | clear_has_placement_uuid(); |
3087 | 0 | } |
3088 | 0 | placement_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), placement_uuid); |
3089 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TSInfoPB.placement_uuid) |
3090 | 0 | } |
3091 | | |
3092 | | // repeated fixed32 capabilities = 6; |
3093 | 4.05M | inline int TSInfoPB::capabilities_size() const { |
3094 | 4.05M | return capabilities_.size(); |
3095 | 4.05M | } |
3096 | 0 | inline void TSInfoPB::clear_capabilities() { |
3097 | 0 | capabilities_.Clear(); |
3098 | 0 | } |
3099 | 0 | inline ::google::protobuf::uint32 TSInfoPB::capabilities(int index) const { |
3100 | 0 | // @@protoc_insertion_point(field_get:yb.master.TSInfoPB.capabilities) |
3101 | 0 | return capabilities_.Get(index); |
3102 | 0 | } |
3103 | 0 | inline void TSInfoPB::set_capabilities(int index, ::google::protobuf::uint32 value) { |
3104 | 0 | capabilities_.Set(index, value); |
3105 | 0 | // @@protoc_insertion_point(field_set:yb.master.TSInfoPB.capabilities) |
3106 | 0 | } |
3107 | 0 | inline void TSInfoPB::add_capabilities(::google::protobuf::uint32 value) { |
3108 | 0 | capabilities_.Add(value); |
3109 | 0 | // @@protoc_insertion_point(field_add:yb.master.TSInfoPB.capabilities) |
3110 | 0 | } |
3111 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
3112 | 579k | TSInfoPB::capabilities() const { |
3113 | | // @@protoc_insertion_point(field_list:yb.master.TSInfoPB.capabilities) |
3114 | 579k | return capabilities_; |
3115 | 579k | } |
3116 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
3117 | 2.33M | TSInfoPB::mutable_capabilities() { |
3118 | | // @@protoc_insertion_point(field_mutable_list:yb.master.TSInfoPB.capabilities) |
3119 | 2.33M | return &capabilities_; |
3120 | 2.33M | } |
3121 | | |
3122 | | // ------------------------------------------------------------------- |
3123 | | |
3124 | | // TabletLocationsPB_ReplicaPB |
3125 | | |
3126 | | // required .yb.master.TSInfoPB ts_info = 1; |
3127 | 1.93M | inline bool TabletLocationsPB_ReplicaPB::has_ts_info() const { |
3128 | 1.93M | return (_has_bits_[0] & 0x00000001u) != 0; |
3129 | 1.93M | } |
3130 | 2.91M | inline void TabletLocationsPB_ReplicaPB::set_has_ts_info() { |
3131 | 2.91M | _has_bits_[0] |= 0x00000001u; |
3132 | 2.91M | } |
3133 | 0 | inline void TabletLocationsPB_ReplicaPB::clear_has_ts_info() { |
3134 | 0 | _has_bits_[0] &= ~0x00000001u; |
3135 | 0 | } |
3136 | 0 | inline void TabletLocationsPB_ReplicaPB::clear_ts_info() { |
3137 | 0 | if (ts_info_ != NULL) ts_info_->Clear(); |
3138 | 0 | clear_has_ts_info(); |
3139 | 0 | } |
3140 | 4.43M | inline const ::yb::master::TSInfoPB& TabletLocationsPB_ReplicaPB::ts_info() const { |
3141 | 4.43M | const ::yb::master::TSInfoPB* p = ts_info_; |
3142 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.ReplicaPB.ts_info) |
3143 | 4.43M | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSInfoPB*>( |
3144 | 0 | &::yb::master::_TSInfoPB_default_instance_); |
3145 | 4.43M | } |
3146 | 0 | inline ::yb::master::TSInfoPB* TabletLocationsPB_ReplicaPB::release_ts_info() { |
3147 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.ReplicaPB.ts_info) |
3148 | 0 | clear_has_ts_info(); |
3149 | 0 | ::yb::master::TSInfoPB* temp = ts_info_; |
3150 | 0 | ts_info_ = NULL; |
3151 | 0 | return temp; |
3152 | 0 | } |
3153 | 2.91M | inline ::yb::master::TSInfoPB* TabletLocationsPB_ReplicaPB::mutable_ts_info() { |
3154 | 2.91M | set_has_ts_info(); |
3155 | 2.91M | if (ts_info_ == NULL) { |
3156 | 2.35M | ts_info_ = new ::yb::master::TSInfoPB; |
3157 | 2.35M | } |
3158 | | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.ReplicaPB.ts_info) |
3159 | 2.91M | return ts_info_; |
3160 | 2.91M | } |
3161 | 0 | inline void TabletLocationsPB_ReplicaPB::set_allocated_ts_info(::yb::master::TSInfoPB* ts_info) { |
3162 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3163 | 0 | if (message_arena == NULL) { |
3164 | 0 | delete ts_info_; |
3165 | 0 | } |
3166 | 0 | if (ts_info) { |
3167 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3168 | 0 | if (message_arena != submessage_arena) { |
3169 | 0 | ts_info = ::google::protobuf::internal::GetOwnedMessage( |
3170 | 0 | message_arena, ts_info, submessage_arena); |
3171 | 0 | } |
3172 | 0 | set_has_ts_info(); |
3173 | 0 | } else { |
3174 | 0 | clear_has_ts_info(); |
3175 | 0 | } |
3176 | 0 | ts_info_ = ts_info; |
3177 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.ReplicaPB.ts_info) |
3178 | 0 | } |
3179 | | |
3180 | | // required .yb.PeerRole role = 2; |
3181 | 0 | inline bool TabletLocationsPB_ReplicaPB::has_role() const { |
3182 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
3183 | 0 | } |
3184 | 2.33M | inline void TabletLocationsPB_ReplicaPB::set_has_role() { |
3185 | 2.33M | _has_bits_[0] |= 0x00000002u; |
3186 | 2.33M | } |
3187 | 0 | inline void TabletLocationsPB_ReplicaPB::clear_has_role() { |
3188 | 0 | _has_bits_[0] &= ~0x00000002u; |
3189 | 0 | } |
3190 | 0 | inline void TabletLocationsPB_ReplicaPB::clear_role() { |
3191 | 0 | role_ = 0; |
3192 | 0 | clear_has_role(); |
3193 | 0 | } |
3194 | 5.22M | inline ::yb::PeerRole TabletLocationsPB_ReplicaPB::role() const { |
3195 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.ReplicaPB.role) |
3196 | 5.22M | return static_cast< ::yb::PeerRole >(role_); |
3197 | 5.22M | } |
3198 | 2.33M | inline void TabletLocationsPB_ReplicaPB::set_role(::yb::PeerRole value) { |
3199 | 2.33M | assert(::yb::PeerRole_IsValid(value)); |
3200 | 0 | set_has_role(); |
3201 | 2.33M | role_ = value; |
3202 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.ReplicaPB.role) |
3203 | 2.33M | } |
3204 | | |
3205 | | // optional .yb.consensus.PeerMemberType member_type = 3; |
3206 | 2.02M | inline bool TabletLocationsPB_ReplicaPB::has_member_type() const { |
3207 | 2.02M | return (_has_bits_[0] & 0x00000004u) != 0; |
3208 | 2.02M | } |
3209 | 2.33M | inline void TabletLocationsPB_ReplicaPB::set_has_member_type() { |
3210 | 2.33M | _has_bits_[0] |= 0x00000004u; |
3211 | 2.33M | } |
3212 | 0 | inline void TabletLocationsPB_ReplicaPB::clear_has_member_type() { |
3213 | 0 | _has_bits_[0] &= ~0x00000004u; |
3214 | 0 | } |
3215 | 0 | inline void TabletLocationsPB_ReplicaPB::clear_member_type() { |
3216 | 0 | member_type_ = 999; |
3217 | 0 | clear_has_member_type(); |
3218 | 0 | } |
3219 | 3.03M | inline ::yb::consensus::PeerMemberType TabletLocationsPB_ReplicaPB::member_type() const { |
3220 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.ReplicaPB.member_type) |
3221 | 3.03M | return static_cast< ::yb::consensus::PeerMemberType >(member_type_); |
3222 | 3.03M | } |
3223 | 2.33M | inline void TabletLocationsPB_ReplicaPB::set_member_type(::yb::consensus::PeerMemberType value) { |
3224 | 2.33M | assert(::yb::consensus::PeerMemberType_IsValid(value)); |
3225 | 0 | set_has_member_type(); |
3226 | 2.33M | member_type_ = value; |
3227 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.ReplicaPB.member_type) |
3228 | 2.33M | } |
3229 | | |
3230 | | // ------------------------------------------------------------------- |
3231 | | |
3232 | | // TabletLocationsPB |
3233 | | |
3234 | | // required bytes tablet_id = 1; |
3235 | 1.03k | inline bool TabletLocationsPB::has_tablet_id() const { |
3236 | 1.03k | return (_has_bits_[0] & 0x00000001u) != 0; |
3237 | 1.03k | } |
3238 | 851k | inline void TabletLocationsPB::set_has_tablet_id() { |
3239 | 851k | _has_bits_[0] |= 0x00000001u; |
3240 | 851k | } |
3241 | 0 | inline void TabletLocationsPB::clear_has_tablet_id() { |
3242 | 0 | _has_bits_[0] &= ~0x00000001u; |
3243 | 0 | } |
3244 | 0 | inline void TabletLocationsPB::clear_tablet_id() { |
3245 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3246 | 0 | clear_has_tablet_id(); |
3247 | 0 | } |
3248 | 1.20M | inline const ::std::string& TabletLocationsPB::tablet_id() const { |
3249 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.tablet_id) |
3250 | 1.20M | return tablet_id_.GetNoArena(); |
3251 | 1.20M | } |
3252 | 506k | inline void TabletLocationsPB::set_tablet_id(const ::std::string& value) { |
3253 | 506k | set_has_tablet_id(); |
3254 | 506k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3255 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.tablet_id) |
3256 | 506k | } |
3257 | | #if LANG_CXX11 |
3258 | 0 | inline void TabletLocationsPB::set_tablet_id(::std::string&& value) { |
3259 | 0 | set_has_tablet_id(); |
3260 | 0 | tablet_id_.SetNoArena( |
3261 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3262 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletLocationsPB.tablet_id) |
3263 | 0 | } |
3264 | | #endif |
3265 | 0 | inline void TabletLocationsPB::set_tablet_id(const char* value) { |
3266 | 0 | GOOGLE_DCHECK(value != NULL); |
3267 | 0 | set_has_tablet_id(); |
3268 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3269 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.tablet_id) |
3270 | 0 | } |
3271 | 0 | inline void TabletLocationsPB::set_tablet_id(const void* value, size_t size) { |
3272 | 0 | set_has_tablet_id(); |
3273 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3274 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3275 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.tablet_id) |
3276 | 0 | } |
3277 | 337k | inline ::std::string* TabletLocationsPB::mutable_tablet_id() { |
3278 | 337k | set_has_tablet_id(); |
3279 | | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.tablet_id) |
3280 | 337k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3281 | 337k | } |
3282 | 0 | inline ::std::string* TabletLocationsPB::release_tablet_id() { |
3283 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.tablet_id) |
3284 | 0 | clear_has_tablet_id(); |
3285 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3286 | 0 | } |
3287 | 0 | inline void TabletLocationsPB::set_allocated_tablet_id(::std::string* tablet_id) { |
3288 | 0 | if (tablet_id != NULL) { |
3289 | 0 | set_has_tablet_id(); |
3290 | 0 | } else { |
3291 | 0 | clear_has_tablet_id(); |
3292 | 0 | } |
3293 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
3294 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.tablet_id) |
3295 | 0 | } |
3296 | | |
3297 | | // optional bytes start_key = 2; |
3298 | 723k | inline bool TabletLocationsPB::has_start_key() const { |
3299 | 723k | return (_has_bits_[0] & 0x00000002u) != 0; |
3300 | 723k | } |
3301 | 0 | inline void TabletLocationsPB::set_has_start_key() { |
3302 | 0 | _has_bits_[0] |= 0x00000002u; |
3303 | 0 | } |
3304 | 0 | inline void TabletLocationsPB::clear_has_start_key() { |
3305 | 0 | _has_bits_[0] &= ~0x00000002u; |
3306 | 0 | } |
3307 | 0 | inline void TabletLocationsPB::clear_start_key() { |
3308 | 0 | start_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3309 | 0 | clear_has_start_key(); |
3310 | 0 | } |
3311 | 0 | inline const ::std::string& TabletLocationsPB::start_key() const { |
3312 | 0 | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.start_key) |
3313 | 0 | return start_key_.GetNoArena(); |
3314 | 0 | } |
3315 | 0 | inline void TabletLocationsPB::set_start_key(const ::std::string& value) { |
3316 | 0 | set_has_start_key(); |
3317 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3318 | 0 | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.start_key) |
3319 | 0 | } |
3320 | | #if LANG_CXX11 |
3321 | 0 | inline void TabletLocationsPB::set_start_key(::std::string&& value) { |
3322 | 0 | set_has_start_key(); |
3323 | 0 | start_key_.SetNoArena( |
3324 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3325 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletLocationsPB.start_key) |
3326 | 0 | } |
3327 | | #endif |
3328 | 0 | inline void TabletLocationsPB::set_start_key(const char* value) { |
3329 | 0 | GOOGLE_DCHECK(value != NULL); |
3330 | 0 | set_has_start_key(); |
3331 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3332 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.start_key) |
3333 | 0 | } |
3334 | 0 | inline void TabletLocationsPB::set_start_key(const void* value, size_t size) { |
3335 | 0 | set_has_start_key(); |
3336 | 0 | start_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3337 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3338 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.start_key) |
3339 | 0 | } |
3340 | 0 | inline ::std::string* TabletLocationsPB::mutable_start_key() { |
3341 | 0 | set_has_start_key(); |
3342 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.start_key) |
3343 | 0 | return start_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3344 | 0 | } |
3345 | 0 | inline ::std::string* TabletLocationsPB::release_start_key() { |
3346 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.start_key) |
3347 | 0 | clear_has_start_key(); |
3348 | 0 | return start_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3349 | 0 | } |
3350 | 0 | inline void TabletLocationsPB::set_allocated_start_key(::std::string* start_key) { |
3351 | 0 | if (start_key != NULL) { |
3352 | 0 | set_has_start_key(); |
3353 | 0 | } else { |
3354 | 0 | clear_has_start_key(); |
3355 | 0 | } |
3356 | 0 | start_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), start_key); |
3357 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.start_key) |
3358 | 0 | } |
3359 | | |
3360 | | // optional bytes end_key = 3; |
3361 | 723k | inline bool TabletLocationsPB::has_end_key() const { |
3362 | 723k | return (_has_bits_[0] & 0x00000004u) != 0; |
3363 | 723k | } |
3364 | 0 | inline void TabletLocationsPB::set_has_end_key() { |
3365 | 0 | _has_bits_[0] |= 0x00000004u; |
3366 | 0 | } |
3367 | 0 | inline void TabletLocationsPB::clear_has_end_key() { |
3368 | 0 | _has_bits_[0] &= ~0x00000004u; |
3369 | 0 | } |
3370 | 0 | inline void TabletLocationsPB::clear_end_key() { |
3371 | 0 | end_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3372 | 0 | clear_has_end_key(); |
3373 | 0 | } |
3374 | 0 | inline const ::std::string& TabletLocationsPB::end_key() const { |
3375 | 0 | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.end_key) |
3376 | 0 | return end_key_.GetNoArena(); |
3377 | 0 | } |
3378 | 0 | inline void TabletLocationsPB::set_end_key(const ::std::string& value) { |
3379 | 0 | set_has_end_key(); |
3380 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3381 | 0 | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.end_key) |
3382 | 0 | } |
3383 | | #if LANG_CXX11 |
3384 | 0 | inline void TabletLocationsPB::set_end_key(::std::string&& value) { |
3385 | 0 | set_has_end_key(); |
3386 | 0 | end_key_.SetNoArena( |
3387 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3388 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletLocationsPB.end_key) |
3389 | 0 | } |
3390 | | #endif |
3391 | 0 | inline void TabletLocationsPB::set_end_key(const char* value) { |
3392 | 0 | GOOGLE_DCHECK(value != NULL); |
3393 | 0 | set_has_end_key(); |
3394 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3395 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.end_key) |
3396 | 0 | } |
3397 | 0 | inline void TabletLocationsPB::set_end_key(const void* value, size_t size) { |
3398 | 0 | set_has_end_key(); |
3399 | 0 | end_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3400 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3401 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.end_key) |
3402 | 0 | } |
3403 | 0 | inline ::std::string* TabletLocationsPB::mutable_end_key() { |
3404 | 0 | set_has_end_key(); |
3405 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.end_key) |
3406 | 0 | return end_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3407 | 0 | } |
3408 | 0 | inline ::std::string* TabletLocationsPB::release_end_key() { |
3409 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.end_key) |
3410 | 0 | clear_has_end_key(); |
3411 | 0 | return end_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3412 | 0 | } |
3413 | 0 | inline void TabletLocationsPB::set_allocated_end_key(::std::string* end_key) { |
3414 | 0 | if (end_key != NULL) { |
3415 | 0 | set_has_end_key(); |
3416 | 0 | } else { |
3417 | 0 | clear_has_end_key(); |
3418 | 0 | } |
3419 | 0 | end_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), end_key); |
3420 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.end_key) |
3421 | 0 | } |
3422 | | |
3423 | | // optional .yb.PartitionPB partition = 6; |
3424 | 723k | inline bool TabletLocationsPB::has_partition() const { |
3425 | 723k | return (_has_bits_[0] & 0x00000020u) != 0; |
3426 | 723k | } |
3427 | 467k | inline void TabletLocationsPB::set_has_partition() { |
3428 | 467k | _has_bits_[0] |= 0x00000020u; |
3429 | 467k | } |
3430 | 0 | inline void TabletLocationsPB::clear_has_partition() { |
3431 | 0 | _has_bits_[0] &= ~0x00000020u; |
3432 | 0 | } |
3433 | 2.66M | inline const ::yb::PartitionPB& TabletLocationsPB::partition() const { |
3434 | 2.66M | const ::yb::PartitionPB* p = partition_; |
3435 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.partition) |
3436 | 2.66M | return p != NULL ? *p353k : *reinterpret_cast<const ::yb::PartitionPB*>( |
3437 | 2.31M | &::yb::_PartitionPB_default_instance_); |
3438 | 2.66M | } |
3439 | 0 | inline ::yb::PartitionPB* TabletLocationsPB::release_partition() { |
3440 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.partition) |
3441 | 0 | clear_has_partition(); |
3442 | 0 | ::yb::PartitionPB* temp = partition_; |
3443 | 0 | partition_ = NULL; |
3444 | 0 | return temp; |
3445 | 0 | } |
3446 | 467k | inline ::yb::PartitionPB* TabletLocationsPB::mutable_partition() { |
3447 | 467k | set_has_partition(); |
3448 | 467k | if (partition_ == NULL) { |
3449 | 467k | partition_ = new ::yb::PartitionPB; |
3450 | 467k | } |
3451 | | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.partition) |
3452 | 467k | return partition_; |
3453 | 467k | } |
3454 | 0 | inline void TabletLocationsPB::set_allocated_partition(::yb::PartitionPB* partition) { |
3455 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3456 | 0 | if (message_arena == NULL) { |
3457 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(partition_); |
3458 | 0 | } |
3459 | 0 | if (partition) { |
3460 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3461 | 0 | if (message_arena != submessage_arena) { |
3462 | 0 | partition = ::google::protobuf::internal::GetOwnedMessage( |
3463 | 0 | message_arena, partition, submessage_arena); |
3464 | 0 | } |
3465 | 0 | set_has_partition(); |
3466 | 0 | } else { |
3467 | 0 | clear_has_partition(); |
3468 | 0 | } |
3469 | 0 | partition_ = partition; |
3470 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.partition) |
3471 | 0 | } |
3472 | | |
3473 | | // repeated .yb.master.TabletLocationsPB.ReplicaPB replicas = 4; |
3474 | 1.30M | inline int TabletLocationsPB::replicas_size() const { |
3475 | 1.30M | return replicas_.size(); |
3476 | 1.30M | } |
3477 | | inline void TabletLocationsPB::clear_replicas() { |
3478 | | replicas_.Clear(); |
3479 | | } |
3480 | 3.03M | inline const ::yb::master::TabletLocationsPB_ReplicaPB& TabletLocationsPB::replicas(int index) const { |
3481 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.replicas) |
3482 | 3.03M | return replicas_.Get(index); |
3483 | 3.03M | } |
3484 | 0 | inline ::yb::master::TabletLocationsPB_ReplicaPB* TabletLocationsPB::mutable_replicas(int index) { |
3485 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.replicas) |
3486 | 0 | return replicas_.Mutable(index); |
3487 | 0 | } |
3488 | 2.34M | inline ::yb::master::TabletLocationsPB_ReplicaPB* TabletLocationsPB::add_replicas() { |
3489 | | // @@protoc_insertion_point(field_add:yb.master.TabletLocationsPB.replicas) |
3490 | 2.34M | return replicas_.Add(); |
3491 | 2.34M | } |
3492 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB_ReplicaPB >* |
3493 | 519k | TabletLocationsPB::mutable_replicas() { |
3494 | | // @@protoc_insertion_point(field_mutable_list:yb.master.TabletLocationsPB.replicas) |
3495 | 519k | return &replicas_; |
3496 | 519k | } |
3497 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB_ReplicaPB >& |
3498 | 1.81M | TabletLocationsPB::replicas() const { |
3499 | | // @@protoc_insertion_point(field_list:yb.master.TabletLocationsPB.replicas) |
3500 | 1.81M | return replicas_; |
3501 | 1.81M | } |
3502 | | |
3503 | | // required bool stale = 5; |
3504 | 0 | inline bool TabletLocationsPB::has_stale() const { |
3505 | 0 | return (_has_bits_[0] & 0x00000040u) != 0; |
3506 | 0 | } |
3507 | 844k | inline void TabletLocationsPB::set_has_stale() { |
3508 | 844k | _has_bits_[0] |= 0x00000040u; |
3509 | 844k | } |
3510 | 0 | inline void TabletLocationsPB::clear_has_stale() { |
3511 | 0 | _has_bits_[0] &= ~0x00000040u; |
3512 | 0 | } |
3513 | 0 | inline void TabletLocationsPB::clear_stale() { |
3514 | 0 | stale_ = false; |
3515 | 0 | clear_has_stale(); |
3516 | 0 | } |
3517 | 361k | inline bool TabletLocationsPB::stale() const { |
3518 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.stale) |
3519 | 361k | return stale_; |
3520 | 361k | } |
3521 | 506k | inline void TabletLocationsPB::set_stale(bool value) { |
3522 | 506k | set_has_stale(); |
3523 | 506k | stale_ = value; |
3524 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.stale) |
3525 | 506k | } |
3526 | | |
3527 | | // optional bytes table_id = 7; |
3528 | 723k | inline bool TabletLocationsPB::has_table_id() const { |
3529 | 723k | return (_has_bits_[0] & 0x00000008u) != 0; |
3530 | 723k | } |
3531 | 861k | inline void TabletLocationsPB::set_has_table_id() { |
3532 | 861k | _has_bits_[0] |= 0x00000008u; |
3533 | 861k | } |
3534 | 0 | inline void TabletLocationsPB::clear_has_table_id() { |
3535 | 0 | _has_bits_[0] &= ~0x00000008u; |
3536 | 0 | } |
3537 | 0 | inline void TabletLocationsPB::clear_table_id() { |
3538 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3539 | 0 | clear_has_table_id(); |
3540 | 0 | } |
3541 | 1.15M | inline const ::std::string& TabletLocationsPB::table_id() const { |
3542 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.table_id) |
3543 | 1.15M | return table_id_.GetNoArena(); |
3544 | 1.15M | } |
3545 | 516k | inline void TabletLocationsPB::set_table_id(const ::std::string& value) { |
3546 | 516k | set_has_table_id(); |
3547 | 516k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3548 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.table_id) |
3549 | 516k | } |
3550 | | #if LANG_CXX11 |
3551 | 0 | inline void TabletLocationsPB::set_table_id(::std::string&& value) { |
3552 | 0 | set_has_table_id(); |
3553 | 0 | table_id_.SetNoArena( |
3554 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3555 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletLocationsPB.table_id) |
3556 | 0 | } |
3557 | | #endif |
3558 | 0 | inline void TabletLocationsPB::set_table_id(const char* value) { |
3559 | 0 | GOOGLE_DCHECK(value != NULL); |
3560 | 0 | set_has_table_id(); |
3561 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3562 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.table_id) |
3563 | 0 | } |
3564 | 0 | inline void TabletLocationsPB::set_table_id(const void* value, size_t size) { |
3565 | 0 | set_has_table_id(); |
3566 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3567 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3568 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.table_id) |
3569 | 0 | } |
3570 | 337k | inline ::std::string* TabletLocationsPB::mutable_table_id() { |
3571 | 337k | set_has_table_id(); |
3572 | | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.table_id) |
3573 | 337k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3574 | 337k | } |
3575 | 0 | inline ::std::string* TabletLocationsPB::release_table_id() { |
3576 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.table_id) |
3577 | 0 | clear_has_table_id(); |
3578 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3579 | 0 | } |
3580 | 0 | inline void TabletLocationsPB::set_allocated_table_id(::std::string* table_id) { |
3581 | 0 | if (table_id != NULL) { |
3582 | 0 | set_has_table_id(); |
3583 | 0 | } else { |
3584 | 0 | clear_has_table_id(); |
3585 | 0 | } |
3586 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
3587 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.table_id) |
3588 | 0 | } |
3589 | | |
3590 | | // repeated bytes table_ids = 8; |
3591 | 2.51M | inline int TabletLocationsPB::table_ids_size() const { |
3592 | 2.51M | return table_ids_.size(); |
3593 | 2.51M | } |
3594 | 0 | inline void TabletLocationsPB::clear_table_ids() { |
3595 | 0 | table_ids_.Clear(); |
3596 | 0 | } |
3597 | 123M | inline const ::std::string& TabletLocationsPB::table_ids(int index) const { |
3598 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.table_ids) |
3599 | 123M | return table_ids_.Get(index); |
3600 | 123M | } |
3601 | 0 | inline ::std::string* TabletLocationsPB::mutable_table_ids(int index) { |
3602 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.table_ids) |
3603 | 0 | return table_ids_.Mutable(index); |
3604 | 0 | } |
3605 | 0 | inline void TabletLocationsPB::set_table_ids(int index, const ::std::string& value) { |
3606 | 0 | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.table_ids) |
3607 | 0 | table_ids_.Mutable(index)->assign(value); |
3608 | 0 | } |
3609 | | #if LANG_CXX11 |
3610 | 0 | inline void TabletLocationsPB::set_table_ids(int index, ::std::string&& value) { |
3611 | 0 | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.table_ids) |
3612 | 0 | table_ids_.Mutable(index)->assign(std::move(value)); |
3613 | 0 | } |
3614 | | #endif |
3615 | 0 | inline void TabletLocationsPB::set_table_ids(int index, const char* value) { |
3616 | 0 | GOOGLE_DCHECK(value != NULL); |
3617 | 0 | table_ids_.Mutable(index)->assign(value); |
3618 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.table_ids) |
3619 | 0 | } |
3620 | 0 | inline void TabletLocationsPB::set_table_ids(int index, const void* value, size_t size) { |
3621 | 0 | table_ids_.Mutable(index)->assign( |
3622 | 0 | reinterpret_cast<const char*>(value), size); |
3623 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.table_ids) |
3624 | 0 | } |
3625 | 41.1M | inline ::std::string* TabletLocationsPB::add_table_ids() { |
3626 | | // @@protoc_insertion_point(field_add_mutable:yb.master.TabletLocationsPB.table_ids) |
3627 | 41.1M | return table_ids_.Add(); |
3628 | 41.1M | } |
3629 | 0 | inline void TabletLocationsPB::add_table_ids(const ::std::string& value) { |
3630 | 0 | table_ids_.Add()->assign(value); |
3631 | 0 | // @@protoc_insertion_point(field_add:yb.master.TabletLocationsPB.table_ids) |
3632 | 0 | } |
3633 | | #if LANG_CXX11 |
3634 | 0 | inline void TabletLocationsPB::add_table_ids(::std::string&& value) { |
3635 | 0 | table_ids_.Add(std::move(value)); |
3636 | 0 | // @@protoc_insertion_point(field_add:yb.master.TabletLocationsPB.table_ids) |
3637 | 0 | } |
3638 | | #endif |
3639 | 0 | inline void TabletLocationsPB::add_table_ids(const char* value) { |
3640 | 0 | GOOGLE_DCHECK(value != NULL); |
3641 | 0 | table_ids_.Add()->assign(value); |
3642 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.TabletLocationsPB.table_ids) |
3643 | 0 | } |
3644 | 0 | inline void TabletLocationsPB::add_table_ids(const void* value, size_t size) { |
3645 | 0 | table_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
3646 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.TabletLocationsPB.table_ids) |
3647 | 0 | } |
3648 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
3649 | 97.9k | TabletLocationsPB::table_ids() const { |
3650 | | // @@protoc_insertion_point(field_list:yb.master.TabletLocationsPB.table_ids) |
3651 | 97.9k | return table_ids_; |
3652 | 97.9k | } |
3653 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
3654 | 516k | TabletLocationsPB::mutable_table_ids() { |
3655 | | // @@protoc_insertion_point(field_mutable_list:yb.master.TabletLocationsPB.table_ids) |
3656 | 516k | return &table_ids_; |
3657 | 516k | } |
3658 | | |
3659 | | // optional uint64 split_depth = 9; |
3660 | 722k | inline bool TabletLocationsPB::has_split_depth() const { |
3661 | 722k | return (_has_bits_[0] & 0x00000100u) != 0; |
3662 | 722k | } |
3663 | 459k | inline void TabletLocationsPB::set_has_split_depth() { |
3664 | 459k | _has_bits_[0] |= 0x00000100u; |
3665 | 459k | } |
3666 | 0 | inline void TabletLocationsPB::clear_has_split_depth() { |
3667 | 0 | _has_bits_[0] &= ~0x00000100u; |
3668 | 0 | } |
3669 | 0 | inline void TabletLocationsPB::clear_split_depth() { |
3670 | 0 | split_depth_ = GOOGLE_ULONGLONG(0); |
3671 | 0 | clear_has_split_depth(); |
3672 | 0 | } |
3673 | 670k | inline ::google::protobuf::uint64 TabletLocationsPB::split_depth() const { |
3674 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.split_depth) |
3675 | 670k | return split_depth_; |
3676 | 670k | } |
3677 | 289k | inline void TabletLocationsPB::set_split_depth(::google::protobuf::uint64 value) { |
3678 | 289k | set_has_split_depth(); |
3679 | 289k | split_depth_ = value; |
3680 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.split_depth) |
3681 | 289k | } |
3682 | | |
3683 | | // optional bytes split_parent_tablet_id = 12; |
3684 | 723k | inline bool TabletLocationsPB::has_split_parent_tablet_id() const { |
3685 | 723k | return (_has_bits_[0] & 0x00000010u) != 0; |
3686 | 723k | } |
3687 | 466k | inline void TabletLocationsPB::set_has_split_parent_tablet_id() { |
3688 | 466k | _has_bits_[0] |= 0x00000010u; |
3689 | 466k | } |
3690 | 0 | inline void TabletLocationsPB::clear_has_split_parent_tablet_id() { |
3691 | 0 | _has_bits_[0] &= ~0x00000010u; |
3692 | 0 | } |
3693 | 0 | inline void TabletLocationsPB::clear_split_parent_tablet_id() { |
3694 | 0 | split_parent_tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3695 | 0 | clear_has_split_parent_tablet_id(); |
3696 | 0 | } |
3697 | 670k | inline const ::std::string& TabletLocationsPB::split_parent_tablet_id() const { |
3698 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3699 | 670k | return split_parent_tablet_id_.GetNoArena(); |
3700 | 670k | } |
3701 | 289k | inline void TabletLocationsPB::set_split_parent_tablet_id(const ::std::string& value) { |
3702 | 289k | set_has_split_parent_tablet_id(); |
3703 | 289k | split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3704 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3705 | 289k | } |
3706 | | #if LANG_CXX11 |
3707 | 0 | inline void TabletLocationsPB::set_split_parent_tablet_id(::std::string&& value) { |
3708 | 0 | set_has_split_parent_tablet_id(); |
3709 | 0 | split_parent_tablet_id_.SetNoArena( |
3710 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3711 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3712 | 0 | } |
3713 | | #endif |
3714 | 0 | inline void TabletLocationsPB::set_split_parent_tablet_id(const char* value) { |
3715 | 0 | GOOGLE_DCHECK(value != NULL); |
3716 | 0 | set_has_split_parent_tablet_id(); |
3717 | 0 | split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3718 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3719 | 0 | } |
3720 | 0 | inline void TabletLocationsPB::set_split_parent_tablet_id(const void* value, size_t size) { |
3721 | 0 | set_has_split_parent_tablet_id(); |
3722 | 0 | split_parent_tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3723 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3724 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3725 | 0 | } |
3726 | 169k | inline ::std::string* TabletLocationsPB::mutable_split_parent_tablet_id() { |
3727 | 169k | set_has_split_parent_tablet_id(); |
3728 | | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3729 | 169k | return split_parent_tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3730 | 169k | } |
3731 | 0 | inline ::std::string* TabletLocationsPB::release_split_parent_tablet_id() { |
3732 | 0 | // @@protoc_insertion_point(field_release:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3733 | 0 | clear_has_split_parent_tablet_id(); |
3734 | 0 | return split_parent_tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3735 | 0 | } |
3736 | 0 | inline void TabletLocationsPB::set_allocated_split_parent_tablet_id(::std::string* split_parent_tablet_id) { |
3737 | 0 | if (split_parent_tablet_id != NULL) { |
3738 | 0 | set_has_split_parent_tablet_id(); |
3739 | 0 | } else { |
3740 | 0 | clear_has_split_parent_tablet_id(); |
3741 | 0 | } |
3742 | 0 | split_parent_tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), split_parent_tablet_id); |
3743 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.TabletLocationsPB.split_parent_tablet_id) |
3744 | 0 | } |
3745 | | |
3746 | | // repeated bytes split_tablet_ids = 13; |
3747 | 1.80M | inline int TabletLocationsPB::split_tablet_ids_size() const { |
3748 | 1.80M | return split_tablet_ids_.size(); |
3749 | 1.80M | } |
3750 | 0 | inline void TabletLocationsPB::clear_split_tablet_ids() { |
3751 | 0 | split_tablet_ids_.Clear(); |
3752 | 0 | } |
3753 | 420 | inline const ::std::string& TabletLocationsPB::split_tablet_ids(int index) const { |
3754 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.split_tablet_ids) |
3755 | 420 | return split_tablet_ids_.Get(index); |
3756 | 420 | } |
3757 | 0 | inline ::std::string* TabletLocationsPB::mutable_split_tablet_ids(int index) { |
3758 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.TabletLocationsPB.split_tablet_ids) |
3759 | 0 | return split_tablet_ids_.Mutable(index); |
3760 | 0 | } |
3761 | 0 | inline void TabletLocationsPB::set_split_tablet_ids(int index, const ::std::string& value) { |
3762 | 0 | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.split_tablet_ids) |
3763 | 0 | split_tablet_ids_.Mutable(index)->assign(value); |
3764 | 0 | } |
3765 | | #if LANG_CXX11 |
3766 | 0 | inline void TabletLocationsPB::set_split_tablet_ids(int index, ::std::string&& value) { |
3767 | 0 | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.split_tablet_ids) |
3768 | 0 | split_tablet_ids_.Mutable(index)->assign(std::move(value)); |
3769 | 0 | } |
3770 | | #endif |
3771 | 0 | inline void TabletLocationsPB::set_split_tablet_ids(int index, const char* value) { |
3772 | 0 | GOOGLE_DCHECK(value != NULL); |
3773 | 0 | split_tablet_ids_.Mutable(index)->assign(value); |
3774 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.TabletLocationsPB.split_tablet_ids) |
3775 | 0 | } |
3776 | 0 | inline void TabletLocationsPB::set_split_tablet_ids(int index, const void* value, size_t size) { |
3777 | 0 | split_tablet_ids_.Mutable(index)->assign( |
3778 | 0 | reinterpret_cast<const char*>(value), size); |
3779 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.TabletLocationsPB.split_tablet_ids) |
3780 | 0 | } |
3781 | 288 | inline ::std::string* TabletLocationsPB::add_split_tablet_ids() { |
3782 | | // @@protoc_insertion_point(field_add_mutable:yb.master.TabletLocationsPB.split_tablet_ids) |
3783 | 288 | return split_tablet_ids_.Add(); |
3784 | 288 | } |
3785 | 0 | inline void TabletLocationsPB::add_split_tablet_ids(const ::std::string& value) { |
3786 | 0 | split_tablet_ids_.Add()->assign(value); |
3787 | 0 | // @@protoc_insertion_point(field_add:yb.master.TabletLocationsPB.split_tablet_ids) |
3788 | 0 | } |
3789 | | #if LANG_CXX11 |
3790 | 0 | inline void TabletLocationsPB::add_split_tablet_ids(::std::string&& value) { |
3791 | 0 | split_tablet_ids_.Add(std::move(value)); |
3792 | 0 | // @@protoc_insertion_point(field_add:yb.master.TabletLocationsPB.split_tablet_ids) |
3793 | 0 | } |
3794 | | #endif |
3795 | 0 | inline void TabletLocationsPB::add_split_tablet_ids(const char* value) { |
3796 | 0 | GOOGLE_DCHECK(value != NULL); |
3797 | 0 | split_tablet_ids_.Add()->assign(value); |
3798 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.TabletLocationsPB.split_tablet_ids) |
3799 | 0 | } |
3800 | 0 | inline void TabletLocationsPB::add_split_tablet_ids(const void* value, size_t size) { |
3801 | 0 | split_tablet_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
3802 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.TabletLocationsPB.split_tablet_ids) |
3803 | 0 | } |
3804 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
3805 | 0 | TabletLocationsPB::split_tablet_ids() const { |
3806 | 0 | // @@protoc_insertion_point(field_list:yb.master.TabletLocationsPB.split_tablet_ids) |
3807 | 0 | return split_tablet_ids_; |
3808 | 0 | } |
3809 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
3810 | 0 | TabletLocationsPB::mutable_split_tablet_ids() { |
3811 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.TabletLocationsPB.split_tablet_ids) |
3812 | 0 | return &split_tablet_ids_; |
3813 | 0 | } |
3814 | | |
3815 | | // optional int32 expected_live_replicas = 10; |
3816 | 722k | inline bool TabletLocationsPB::has_expected_live_replicas() const { |
3817 | 722k | return (_has_bits_[0] & 0x00000080u) != 0; |
3818 | 722k | } |
3819 | 719k | inline void TabletLocationsPB::set_has_expected_live_replicas() { |
3820 | 719k | _has_bits_[0] |= 0x00000080u; |
3821 | 719k | } |
3822 | 0 | inline void TabletLocationsPB::clear_has_expected_live_replicas() { |
3823 | 0 | _has_bits_[0] &= ~0x00000080u; |
3824 | 0 | } |
3825 | 0 | inline void TabletLocationsPB::clear_expected_live_replicas() { |
3826 | 0 | expected_live_replicas_ = 0; |
3827 | 0 | clear_has_expected_live_replicas(); |
3828 | 0 | } |
3829 | 1.84M | inline ::google::protobuf::int32 TabletLocationsPB::expected_live_replicas() const { |
3830 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.expected_live_replicas) |
3831 | 1.84M | return expected_live_replicas_; |
3832 | 1.84M | } |
3833 | 382k | inline void TabletLocationsPB::set_expected_live_replicas(::google::protobuf::int32 value) { |
3834 | 382k | set_has_expected_live_replicas(); |
3835 | 382k | expected_live_replicas_ = value; |
3836 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.expected_live_replicas) |
3837 | 382k | } |
3838 | | |
3839 | | // optional int32 expected_read_replicas = 11; |
3840 | 722k | inline bool TabletLocationsPB::has_expected_read_replicas() const { |
3841 | 722k | return (_has_bits_[0] & 0x00000200u) != 0; |
3842 | 722k | } |
3843 | 719k | inline void TabletLocationsPB::set_has_expected_read_replicas() { |
3844 | 719k | _has_bits_[0] |= 0x00000200u; |
3845 | 719k | } |
3846 | 0 | inline void TabletLocationsPB::clear_has_expected_read_replicas() { |
3847 | 0 | _has_bits_[0] &= ~0x00000200u; |
3848 | 0 | } |
3849 | 0 | inline void TabletLocationsPB::clear_expected_read_replicas() { |
3850 | 0 | expected_read_replicas_ = 0; |
3851 | 0 | clear_has_expected_read_replicas(); |
3852 | 0 | } |
3853 | 1.84M | inline ::google::protobuf::int32 TabletLocationsPB::expected_read_replicas() const { |
3854 | | // @@protoc_insertion_point(field_get:yb.master.TabletLocationsPB.expected_read_replicas) |
3855 | 1.84M | return expected_read_replicas_; |
3856 | 1.84M | } |
3857 | 382k | inline void TabletLocationsPB::set_expected_read_replicas(::google::protobuf::int32 value) { |
3858 | 382k | set_has_expected_read_replicas(); |
3859 | 382k | expected_read_replicas_ = value; |
3860 | | // @@protoc_insertion_point(field_set:yb.master.TabletLocationsPB.expected_read_replicas) |
3861 | 382k | } |
3862 | | |
3863 | | // ------------------------------------------------------------------- |
3864 | | |
3865 | | // GetTabletLocationsRequestPB |
3866 | | |
3867 | | // repeated bytes tablet_ids = 1; |
3868 | 76.8k | inline int GetTabletLocationsRequestPB::tablet_ids_size() const { |
3869 | 76.8k | return tablet_ids_.size(); |
3870 | 76.8k | } |
3871 | 15.1k | inline void GetTabletLocationsRequestPB::clear_tablet_ids() { |
3872 | 15.1k | tablet_ids_.Clear(); |
3873 | 15.1k | } |
3874 | 47.6k | inline const ::std::string& GetTabletLocationsRequestPB::tablet_ids(int index) const { |
3875 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3876 | 47.6k | return tablet_ids_.Get(index); |
3877 | 47.6k | } |
3878 | 0 | inline ::std::string* GetTabletLocationsRequestPB::mutable_tablet_ids(int index) { |
3879 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3880 | 0 | return tablet_ids_.Mutable(index); |
3881 | 0 | } |
3882 | 0 | inline void GetTabletLocationsRequestPB::set_tablet_ids(int index, const ::std::string& value) { |
3883 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3884 | 0 | tablet_ids_.Mutable(index)->assign(value); |
3885 | 0 | } |
3886 | | #if LANG_CXX11 |
3887 | 0 | inline void GetTabletLocationsRequestPB::set_tablet_ids(int index, ::std::string&& value) { |
3888 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3889 | 0 | tablet_ids_.Mutable(index)->assign(std::move(value)); |
3890 | 0 | } |
3891 | | #endif |
3892 | 0 | inline void GetTabletLocationsRequestPB::set_tablet_ids(int index, const char* value) { |
3893 | 0 | GOOGLE_DCHECK(value != NULL); |
3894 | 0 | tablet_ids_.Mutable(index)->assign(value); |
3895 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3896 | 0 | } |
3897 | 0 | inline void GetTabletLocationsRequestPB::set_tablet_ids(int index, const void* value, size_t size) { |
3898 | 0 | tablet_ids_.Mutable(index)->assign( |
3899 | 0 | reinterpret_cast<const char*>(value), size); |
3900 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3901 | 0 | } |
3902 | 15.8k | inline ::std::string* GetTabletLocationsRequestPB::add_tablet_ids() { |
3903 | | // @@protoc_insertion_point(field_add_mutable:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3904 | 15.8k | return tablet_ids_.Add(); |
3905 | 15.8k | } |
3906 | 15.8k | inline void GetTabletLocationsRequestPB::add_tablet_ids(const ::std::string& value) { |
3907 | 15.8k | tablet_ids_.Add()->assign(value); |
3908 | | // @@protoc_insertion_point(field_add:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3909 | 15.8k | } |
3910 | | #if LANG_CXX11 |
3911 | 0 | inline void GetTabletLocationsRequestPB::add_tablet_ids(::std::string&& value) { |
3912 | 0 | tablet_ids_.Add(std::move(value)); |
3913 | 0 | // @@protoc_insertion_point(field_add:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3914 | 0 | } |
3915 | | #endif |
3916 | 0 | inline void GetTabletLocationsRequestPB::add_tablet_ids(const char* value) { |
3917 | 0 | GOOGLE_DCHECK(value != NULL); |
3918 | 0 | tablet_ids_.Add()->assign(value); |
3919 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3920 | 0 | } |
3921 | 0 | inline void GetTabletLocationsRequestPB::add_tablet_ids(const void* value, size_t size) { |
3922 | 0 | tablet_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
3923 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3924 | 0 | } |
3925 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
3926 | 15.2k | GetTabletLocationsRequestPB::tablet_ids() const { |
3927 | | // @@protoc_insertion_point(field_list:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3928 | 15.2k | return tablet_ids_; |
3929 | 15.2k | } |
3930 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
3931 | 0 | GetTabletLocationsRequestPB::mutable_tablet_ids() { |
3932 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.GetTabletLocationsRequestPB.tablet_ids) |
3933 | 0 | return &tablet_ids_; |
3934 | 0 | } |
3935 | | |
3936 | | // optional bytes table_id = 2; |
3937 | 45.5k | inline bool GetTabletLocationsRequestPB::has_table_id() const { |
3938 | 45.5k | return (_has_bits_[0] & 0x00000001u) != 0; |
3939 | 45.5k | } |
3940 | 4.28k | inline void GetTabletLocationsRequestPB::set_has_table_id() { |
3941 | 4.28k | _has_bits_[0] |= 0x00000001u; |
3942 | 4.28k | } |
3943 | 0 | inline void GetTabletLocationsRequestPB::clear_has_table_id() { |
3944 | 0 | _has_bits_[0] &= ~0x00000001u; |
3945 | 0 | } |
3946 | 0 | inline void GetTabletLocationsRequestPB::clear_table_id() { |
3947 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3948 | 0 | clear_has_table_id(); |
3949 | 0 | } |
3950 | 8.63k | inline const ::std::string& GetTabletLocationsRequestPB::table_id() const { |
3951 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsRequestPB.table_id) |
3952 | 8.63k | return table_id_.GetNoArena(); |
3953 | 8.63k | } |
3954 | 2.18k | inline void GetTabletLocationsRequestPB::set_table_id(const ::std::string& value) { |
3955 | 2.18k | set_has_table_id(); |
3956 | 2.18k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3957 | | // @@protoc_insertion_point(field_set:yb.master.GetTabletLocationsRequestPB.table_id) |
3958 | 2.18k | } |
3959 | | #if LANG_CXX11 |
3960 | 0 | inline void GetTabletLocationsRequestPB::set_table_id(::std::string&& value) { |
3961 | 0 | set_has_table_id(); |
3962 | 0 | table_id_.SetNoArena( |
3963 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3964 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetTabletLocationsRequestPB.table_id) |
3965 | 0 | } |
3966 | | #endif |
3967 | 0 | inline void GetTabletLocationsRequestPB::set_table_id(const char* value) { |
3968 | 0 | GOOGLE_DCHECK(value != NULL); |
3969 | 0 | set_has_table_id(); |
3970 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3971 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetTabletLocationsRequestPB.table_id) |
3972 | 0 | } |
3973 | 0 | inline void GetTabletLocationsRequestPB::set_table_id(const void* value, size_t size) { |
3974 | 0 | set_has_table_id(); |
3975 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3976 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3977 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTabletLocationsRequestPB.table_id) |
3978 | 0 | } |
3979 | 2.10k | inline ::std::string* GetTabletLocationsRequestPB::mutable_table_id() { |
3980 | 2.10k | set_has_table_id(); |
3981 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsRequestPB.table_id) |
3982 | 2.10k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3983 | 2.10k | } |
3984 | 0 | inline ::std::string* GetTabletLocationsRequestPB::release_table_id() { |
3985 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTabletLocationsRequestPB.table_id) |
3986 | 0 | clear_has_table_id(); |
3987 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3988 | 0 | } |
3989 | 0 | inline void GetTabletLocationsRequestPB::set_allocated_table_id(::std::string* table_id) { |
3990 | 0 | if (table_id != NULL) { |
3991 | 0 | set_has_table_id(); |
3992 | 0 | } else { |
3993 | 0 | clear_has_table_id(); |
3994 | 0 | } |
3995 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
3996 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTabletLocationsRequestPB.table_id) |
3997 | 0 | } |
3998 | | |
3999 | | // optional bool include_inactive = 3; |
4000 | 45.5k | inline bool GetTabletLocationsRequestPB::has_include_inactive() const { |
4001 | 45.5k | return (_has_bits_[0] & 0x00000002u) != 0; |
4002 | 45.5k | } |
4003 | 30.1k | inline void GetTabletLocationsRequestPB::set_has_include_inactive() { |
4004 | 30.1k | _has_bits_[0] |= 0x00000002u; |
4005 | 30.1k | } |
4006 | 0 | inline void GetTabletLocationsRequestPB::clear_has_include_inactive() { |
4007 | 0 | _has_bits_[0] &= ~0x00000002u; |
4008 | 0 | } |
4009 | 0 | inline void GetTabletLocationsRequestPB::clear_include_inactive() { |
4010 | 0 | include_inactive_ = false; |
4011 | 0 | clear_has_include_inactive(); |
4012 | 0 | } |
4013 | 30.1k | inline bool GetTabletLocationsRequestPB::include_inactive() const { |
4014 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsRequestPB.include_inactive) |
4015 | 30.1k | return include_inactive_; |
4016 | 30.1k | } |
4017 | 15.1k | inline void GetTabletLocationsRequestPB::set_include_inactive(bool value) { |
4018 | 15.1k | set_has_include_inactive(); |
4019 | 15.1k | include_inactive_ = value; |
4020 | | // @@protoc_insertion_point(field_set:yb.master.GetTabletLocationsRequestPB.include_inactive) |
4021 | 15.1k | } |
4022 | | |
4023 | | // ------------------------------------------------------------------- |
4024 | | |
4025 | | // GetTabletLocationsResponsePB_Error |
4026 | | |
4027 | | // required bytes tablet_id = 1; |
4028 | 0 | inline bool GetTabletLocationsResponsePB_Error::has_tablet_id() const { |
4029 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
4030 | 0 | } |
4031 | 720 | inline void GetTabletLocationsResponsePB_Error::set_has_tablet_id() { |
4032 | 720 | _has_bits_[0] |= 0x00000001u; |
4033 | 720 | } |
4034 | 0 | inline void GetTabletLocationsResponsePB_Error::clear_has_tablet_id() { |
4035 | 0 | _has_bits_[0] &= ~0x00000001u; |
4036 | 0 | } |
4037 | 0 | inline void GetTabletLocationsResponsePB_Error::clear_tablet_id() { |
4038 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4039 | 0 | clear_has_tablet_id(); |
4040 | 0 | } |
4041 | 1.07k | inline const ::std::string& GetTabletLocationsResponsePB_Error::tablet_id() const { |
4042 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4043 | 1.07k | return tablet_id_.GetNoArena(); |
4044 | 1.07k | } |
4045 | 360 | inline void GetTabletLocationsResponsePB_Error::set_tablet_id(const ::std::string& value) { |
4046 | 360 | set_has_tablet_id(); |
4047 | 360 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4048 | | // @@protoc_insertion_point(field_set:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4049 | 360 | } |
4050 | | #if LANG_CXX11 |
4051 | 0 | inline void GetTabletLocationsResponsePB_Error::set_tablet_id(::std::string&& value) { |
4052 | 0 | set_has_tablet_id(); |
4053 | 0 | tablet_id_.SetNoArena( |
4054 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4055 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4056 | 0 | } |
4057 | | #endif |
4058 | 0 | inline void GetTabletLocationsResponsePB_Error::set_tablet_id(const char* value) { |
4059 | 0 | GOOGLE_DCHECK(value != NULL); |
4060 | 0 | set_has_tablet_id(); |
4061 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4062 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4063 | 0 | } |
4064 | 0 | inline void GetTabletLocationsResponsePB_Error::set_tablet_id(const void* value, size_t size) { |
4065 | 0 | set_has_tablet_id(); |
4066 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4067 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4068 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4069 | 0 | } |
4070 | 360 | inline ::std::string* GetTabletLocationsResponsePB_Error::mutable_tablet_id() { |
4071 | 360 | set_has_tablet_id(); |
4072 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4073 | 360 | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4074 | 360 | } |
4075 | 0 | inline ::std::string* GetTabletLocationsResponsePB_Error::release_tablet_id() { |
4076 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4077 | 0 | clear_has_tablet_id(); |
4078 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4079 | 0 | } |
4080 | 0 | inline void GetTabletLocationsResponsePB_Error::set_allocated_tablet_id(::std::string* tablet_id) { |
4081 | 0 | if (tablet_id != NULL) { |
4082 | 0 | set_has_tablet_id(); |
4083 | 0 | } else { |
4084 | 0 | clear_has_tablet_id(); |
4085 | 0 | } |
4086 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
4087 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTabletLocationsResponsePB.Error.tablet_id) |
4088 | 0 | } |
4089 | | |
4090 | | // required .yb.AppStatusPB status = 2; |
4091 | 720 | inline bool GetTabletLocationsResponsePB_Error::has_status() const { |
4092 | 720 | return (_has_bits_[0] & 0x00000002u) != 0; |
4093 | 720 | } |
4094 | 720 | inline void GetTabletLocationsResponsePB_Error::set_has_status() { |
4095 | 720 | _has_bits_[0] |= 0x00000002u; |
4096 | 720 | } |
4097 | 0 | inline void GetTabletLocationsResponsePB_Error::clear_has_status() { |
4098 | 0 | _has_bits_[0] &= ~0x00000002u; |
4099 | 0 | } |
4100 | 360 | inline const ::yb::AppStatusPB& GetTabletLocationsResponsePB_Error::status() const { |
4101 | 360 | const ::yb::AppStatusPB* p = status_; |
4102 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsResponsePB.Error.status) |
4103 | 360 | return p != NULL ? *p : *reinterpret_cast<const ::yb::AppStatusPB*>( |
4104 | 0 | &::yb::_AppStatusPB_default_instance_); |
4105 | 360 | } |
4106 | 0 | inline ::yb::AppStatusPB* GetTabletLocationsResponsePB_Error::release_status() { |
4107 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTabletLocationsResponsePB.Error.status) |
4108 | 0 | clear_has_status(); |
4109 | 0 | ::yb::AppStatusPB* temp = status_; |
4110 | 0 | status_ = NULL; |
4111 | 0 | return temp; |
4112 | 0 | } |
4113 | 720 | inline ::yb::AppStatusPB* GetTabletLocationsResponsePB_Error::mutable_status() { |
4114 | 720 | set_has_status(); |
4115 | 720 | if (status_ == NULL) { |
4116 | 720 | status_ = new ::yb::AppStatusPB; |
4117 | 720 | } |
4118 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsResponsePB.Error.status) |
4119 | 720 | return status_; |
4120 | 720 | } |
4121 | 0 | inline void GetTabletLocationsResponsePB_Error::set_allocated_status(::yb::AppStatusPB* status) { |
4122 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4123 | 0 | if (message_arena == NULL) { |
4124 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(status_); |
4125 | 0 | } |
4126 | 0 | if (status) { |
4127 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4128 | 0 | if (message_arena != submessage_arena) { |
4129 | 0 | status = ::google::protobuf::internal::GetOwnedMessage( |
4130 | 0 | message_arena, status, submessage_arena); |
4131 | 0 | } |
4132 | 0 | set_has_status(); |
4133 | 0 | } else { |
4134 | 0 | clear_has_status(); |
4135 | 0 | } |
4136 | 0 | status_ = status; |
4137 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTabletLocationsResponsePB.Error.status) |
4138 | 0 | } |
4139 | | |
4140 | | // ------------------------------------------------------------------- |
4141 | | |
4142 | | // GetTabletLocationsResponsePB |
4143 | | |
4144 | | // optional .yb.master.MasterErrorPB error = 1; |
4145 | 49.9k | inline bool GetTabletLocationsResponsePB::has_error() const { |
4146 | 49.9k | return (_has_bits_[0] & 0x00000001u) != 0; |
4147 | 49.9k | } |
4148 | 89 | inline void GetTabletLocationsResponsePB::set_has_error() { |
4149 | 89 | _has_bits_[0] |= 0x00000001u; |
4150 | 89 | } |
4151 | 0 | inline void GetTabletLocationsResponsePB::clear_has_error() { |
4152 | 0 | _has_bits_[0] &= ~0x00000001u; |
4153 | 0 | } |
4154 | 115 | inline const ::yb::master::MasterErrorPB& GetTabletLocationsResponsePB::error() const { |
4155 | 115 | const ::yb::master::MasterErrorPB* p = error_; |
4156 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsResponsePB.error) |
4157 | 115 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
4158 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
4159 | 115 | } |
4160 | 0 | inline ::yb::master::MasterErrorPB* GetTabletLocationsResponsePB::release_error() { |
4161 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTabletLocationsResponsePB.error) |
4162 | 0 | clear_has_error(); |
4163 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
4164 | 0 | error_ = NULL; |
4165 | 0 | return temp; |
4166 | 0 | } |
4167 | 89 | inline ::yb::master::MasterErrorPB* GetTabletLocationsResponsePB::mutable_error() { |
4168 | 89 | set_has_error(); |
4169 | 89 | if (error_ == NULL) { |
4170 | 59 | error_ = new ::yb::master::MasterErrorPB; |
4171 | 59 | } |
4172 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsResponsePB.error) |
4173 | 89 | return error_; |
4174 | 89 | } |
4175 | 0 | inline void GetTabletLocationsResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
4176 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4177 | 0 | if (message_arena == NULL) { |
4178 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4179 | 0 | } |
4180 | 0 | if (error) { |
4181 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4182 | 0 | if (message_arena != submessage_arena) { |
4183 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4184 | 0 | message_arena, error, submessage_arena); |
4185 | 0 | } |
4186 | 0 | set_has_error(); |
4187 | 0 | } else { |
4188 | 0 | clear_has_error(); |
4189 | 0 | } |
4190 | 0 | error_ = error; |
4191 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTabletLocationsResponsePB.error) |
4192 | 0 | } |
4193 | | |
4194 | | // repeated .yb.master.TabletLocationsPB tablet_locations = 2; |
4195 | 60.5k | inline int GetTabletLocationsResponsePB::tablet_locations_size() const { |
4196 | 60.5k | return tablet_locations_.size(); |
4197 | 60.5k | } |
4198 | 0 | inline void GetTabletLocationsResponsePB::clear_tablet_locations() { |
4199 | 0 | tablet_locations_.Clear(); |
4200 | 0 | } |
4201 | 46.1k | inline const ::yb::master::TabletLocationsPB& GetTabletLocationsResponsePB::tablet_locations(int index) const { |
4202 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsResponsePB.tablet_locations) |
4203 | 46.1k | return tablet_locations_.Get(index); |
4204 | 46.1k | } |
4205 | 0 | inline ::yb::master::TabletLocationsPB* GetTabletLocationsResponsePB::mutable_tablet_locations(int index) { |
4206 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsResponsePB.tablet_locations) |
4207 | 0 | return tablet_locations_.Mutable(index); |
4208 | 0 | } |
4209 | 31.1k | inline ::yb::master::TabletLocationsPB* GetTabletLocationsResponsePB::add_tablet_locations() { |
4210 | | // @@protoc_insertion_point(field_add:yb.master.GetTabletLocationsResponsePB.tablet_locations) |
4211 | 31.1k | return tablet_locations_.Add(); |
4212 | 31.1k | } |
4213 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >* |
4214 | 360 | GetTabletLocationsResponsePB::mutable_tablet_locations() { |
4215 | | // @@protoc_insertion_point(field_mutable_list:yb.master.GetTabletLocationsResponsePB.tablet_locations) |
4216 | 360 | return &tablet_locations_; |
4217 | 360 | } |
4218 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >& |
4219 | 45.3k | GetTabletLocationsResponsePB::tablet_locations() const { |
4220 | | // @@protoc_insertion_point(field_list:yb.master.GetTabletLocationsResponsePB.tablet_locations) |
4221 | 45.3k | return tablet_locations_; |
4222 | 45.3k | } |
4223 | | |
4224 | | // optional uint32 partition_list_version = 4; |
4225 | 19.2k | inline bool GetTabletLocationsResponsePB::has_partition_list_version() const { |
4226 | 19.2k | return (_has_bits_[0] & 0x00000002u) != 0; |
4227 | 19.2k | } |
4228 | 4.17k | inline void GetTabletLocationsResponsePB::set_has_partition_list_version() { |
4229 | 4.17k | _has_bits_[0] |= 0x00000002u; |
4230 | 4.17k | } |
4231 | 0 | inline void GetTabletLocationsResponsePB::clear_has_partition_list_version() { |
4232 | 0 | _has_bits_[0] &= ~0x00000002u; |
4233 | 0 | } |
4234 | 0 | inline void GetTabletLocationsResponsePB::clear_partition_list_version() { |
4235 | 0 | partition_list_version_ = 0u; |
4236 | 0 | clear_has_partition_list_version(); |
4237 | 0 | } |
4238 | 8.33k | inline ::google::protobuf::uint32 GetTabletLocationsResponsePB::partition_list_version() const { |
4239 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsResponsePB.partition_list_version) |
4240 | 8.33k | return partition_list_version_; |
4241 | 8.33k | } |
4242 | 2.08k | inline void GetTabletLocationsResponsePB::set_partition_list_version(::google::protobuf::uint32 value) { |
4243 | 2.08k | set_has_partition_list_version(); |
4244 | 2.08k | partition_list_version_ = value; |
4245 | | // @@protoc_insertion_point(field_set:yb.master.GetTabletLocationsResponsePB.partition_list_version) |
4246 | 2.08k | } |
4247 | | |
4248 | | // repeated .yb.master.GetTabletLocationsResponsePB.Error errors = 3; |
4249 | 60.8k | inline int GetTabletLocationsResponsePB::errors_size() const { |
4250 | 60.8k | return errors_.size(); |
4251 | 60.8k | } |
4252 | 0 | inline void GetTabletLocationsResponsePB::clear_errors() { |
4253 | 0 | errors_.Clear(); |
4254 | 0 | } |
4255 | 1.43k | inline const ::yb::master::GetTabletLocationsResponsePB_Error& GetTabletLocationsResponsePB::errors(int index) const { |
4256 | | // @@protoc_insertion_point(field_get:yb.master.GetTabletLocationsResponsePB.errors) |
4257 | 1.43k | return errors_.Get(index); |
4258 | 1.43k | } |
4259 | 0 | inline ::yb::master::GetTabletLocationsResponsePB_Error* GetTabletLocationsResponsePB::mutable_errors(int index) { |
4260 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTabletLocationsResponsePB.errors) |
4261 | 0 | return errors_.Mutable(index); |
4262 | 0 | } |
4263 | 720 | inline ::yb::master::GetTabletLocationsResponsePB_Error* GetTabletLocationsResponsePB::add_errors() { |
4264 | | // @@protoc_insertion_point(field_add:yb.master.GetTabletLocationsResponsePB.errors) |
4265 | 720 | return errors_.Add(); |
4266 | 720 | } |
4267 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::GetTabletLocationsResponsePB_Error >* |
4268 | 0 | GetTabletLocationsResponsePB::mutable_errors() { |
4269 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.GetTabletLocationsResponsePB.errors) |
4270 | 0 | return &errors_; |
4271 | 0 | } |
4272 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::GetTabletLocationsResponsePB_Error >& |
4273 | 30.5k | GetTabletLocationsResponsePB::errors() const { |
4274 | | // @@protoc_insertion_point(field_list:yb.master.GetTabletLocationsResponsePB.errors) |
4275 | 30.5k | return errors_; |
4276 | 30.5k | } |
4277 | | |
4278 | | // ------------------------------------------------------------------- |
4279 | | |
4280 | | // GetTableLocationsRequestPB |
4281 | | |
4282 | | // required .yb.master.TableIdentifierPB table = 1; |
4283 | 445k | inline bool GetTableLocationsRequestPB::has_table() const { |
4284 | 445k | return (_has_bits_[0] & 0x00000004u) != 0; |
4285 | 445k | } |
4286 | 441k | inline void GetTableLocationsRequestPB::set_has_table() { |
4287 | 441k | _has_bits_[0] |= 0x00000004u; |
4288 | 441k | } |
4289 | 0 | inline void GetTableLocationsRequestPB::clear_has_table() { |
4290 | 0 | _has_bits_[0] &= ~0x00000004u; |
4291 | 0 | } |
4292 | 239k | inline const ::yb::master::TableIdentifierPB& GetTableLocationsRequestPB::table() const { |
4293 | 239k | const ::yb::master::TableIdentifierPB* p = table_; |
4294 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsRequestPB.table) |
4295 | 239k | return p != NULL ? *p238k : *reinterpret_cast<const ::yb::master::TableIdentifierPB*>( |
4296 | 2 | &::yb::master::_TableIdentifierPB_default_instance_); |
4297 | 239k | } |
4298 | 0 | inline ::yb::master::TableIdentifierPB* GetTableLocationsRequestPB::release_table() { |
4299 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTableLocationsRequestPB.table) |
4300 | 0 | clear_has_table(); |
4301 | 0 | ::yb::master::TableIdentifierPB* temp = table_; |
4302 | 0 | table_ = NULL; |
4303 | 0 | return temp; |
4304 | 0 | } |
4305 | 442k | inline ::yb::master::TableIdentifierPB* GetTableLocationsRequestPB::mutable_table() { |
4306 | 442k | set_has_table(); |
4307 | 442k | if (table_ == NULL) { |
4308 | 441k | table_ = new ::yb::master::TableIdentifierPB; |
4309 | 441k | } |
4310 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTableLocationsRequestPB.table) |
4311 | 442k | return table_; |
4312 | 442k | } |
4313 | 0 | inline void GetTableLocationsRequestPB::set_allocated_table(::yb::master::TableIdentifierPB* table) { |
4314 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4315 | 0 | if (message_arena == NULL) { |
4316 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(table_); |
4317 | 0 | } |
4318 | 0 | if (table) { |
4319 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4320 | 0 | if (message_arena != submessage_arena) { |
4321 | 0 | table = ::google::protobuf::internal::GetOwnedMessage( |
4322 | 0 | message_arena, table, submessage_arena); |
4323 | 0 | } |
4324 | 0 | set_has_table(); |
4325 | 0 | } else { |
4326 | 0 | clear_has_table(); |
4327 | 0 | } |
4328 | 0 | table_ = table; |
4329 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTableLocationsRequestPB.table) |
4330 | 0 | } |
4331 | | |
4332 | | // optional bytes partition_key_start = 3; |
4333 | 373k | inline bool GetTableLocationsRequestPB::has_partition_key_start() const { |
4334 | 373k | return (_has_bits_[0] & 0x00000001u) != 0; |
4335 | 373k | } |
4336 | 145k | inline void GetTableLocationsRequestPB::set_has_partition_key_start() { |
4337 | 145k | _has_bits_[0] |= 0x00000001u; |
4338 | 145k | } |
4339 | 0 | inline void GetTableLocationsRequestPB::clear_has_partition_key_start() { |
4340 | 0 | _has_bits_[0] &= ~0x00000001u; |
4341 | 0 | } |
4342 | 0 | inline void GetTableLocationsRequestPB::clear_partition_key_start() { |
4343 | 0 | partition_key_start_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4344 | 0 | clear_has_partition_key_start(); |
4345 | 0 | } |
4346 | 445k | inline const ::std::string& GetTableLocationsRequestPB::partition_key_start() const { |
4347 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4348 | 445k | return partition_key_start_.GetNoArena(); |
4349 | 445k | } |
4350 | 72.2k | inline void GetTableLocationsRequestPB::set_partition_key_start(const ::std::string& value) { |
4351 | 72.2k | set_has_partition_key_start(); |
4352 | 72.2k | partition_key_start_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4353 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4354 | 72.2k | } |
4355 | | #if LANG_CXX11 |
4356 | 0 | inline void GetTableLocationsRequestPB::set_partition_key_start(::std::string&& value) { |
4357 | 0 | set_has_partition_key_start(); |
4358 | 0 | partition_key_start_.SetNoArena( |
4359 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4360 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4361 | 0 | } |
4362 | | #endif |
4363 | | inline void GetTableLocationsRequestPB::set_partition_key_start(const char* value) { |
4364 | | GOOGLE_DCHECK(value != NULL); |
4365 | | set_has_partition_key_start(); |
4366 | | partition_key_start_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4367 | | // @@protoc_insertion_point(field_set_char:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4368 | | } |
4369 | 0 | inline void GetTableLocationsRequestPB::set_partition_key_start(const void* value, size_t size) { |
4370 | 0 | set_has_partition_key_start(); |
4371 | 0 | partition_key_start_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4372 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4373 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4374 | 0 | } |
4375 | 72.7k | inline ::std::string* GetTableLocationsRequestPB::mutable_partition_key_start() { |
4376 | 72.7k | set_has_partition_key_start(); |
4377 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4378 | 72.7k | return partition_key_start_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4379 | 72.7k | } |
4380 | 0 | inline ::std::string* GetTableLocationsRequestPB::release_partition_key_start() { |
4381 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4382 | 0 | clear_has_partition_key_start(); |
4383 | 0 | return partition_key_start_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4384 | 0 | } |
4385 | 0 | inline void GetTableLocationsRequestPB::set_allocated_partition_key_start(::std::string* partition_key_start) { |
4386 | 0 | if (partition_key_start != NULL) { |
4387 | 0 | set_has_partition_key_start(); |
4388 | 0 | } else { |
4389 | 0 | clear_has_partition_key_start(); |
4390 | 0 | } |
4391 | 0 | partition_key_start_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), partition_key_start); |
4392 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTableLocationsRequestPB.partition_key_start) |
4393 | 0 | } |
4394 | | |
4395 | | // optional bytes partition_key_end = 4; |
4396 | 217k | inline bool GetTableLocationsRequestPB::has_partition_key_end() const { |
4397 | 217k | return (_has_bits_[0] & 0x00000002u) != 0; |
4398 | 217k | } |
4399 | 2 | inline void GetTableLocationsRequestPB::set_has_partition_key_end() { |
4400 | 2 | _has_bits_[0] |= 0x00000002u; |
4401 | 2 | } |
4402 | 0 | inline void GetTableLocationsRequestPB::clear_has_partition_key_end() { |
4403 | 0 | _has_bits_[0] &= ~0x00000002u; |
4404 | 0 | } |
4405 | 0 | inline void GetTableLocationsRequestPB::clear_partition_key_end() { |
4406 | 0 | partition_key_end_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4407 | 0 | clear_has_partition_key_end(); |
4408 | 0 | } |
4409 | 228k | inline const ::std::string& GetTableLocationsRequestPB::partition_key_end() const { |
4410 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4411 | 228k | return partition_key_end_.GetNoArena(); |
4412 | 228k | } |
4413 | 0 | inline void GetTableLocationsRequestPB::set_partition_key_end(const ::std::string& value) { |
4414 | 0 | set_has_partition_key_end(); |
4415 | 0 | partition_key_end_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4416 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4417 | 0 | } |
4418 | | #if LANG_CXX11 |
4419 | 0 | inline void GetTableLocationsRequestPB::set_partition_key_end(::std::string&& value) { |
4420 | 0 | set_has_partition_key_end(); |
4421 | 0 | partition_key_end_.SetNoArena( |
4422 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4423 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4424 | 0 | } |
4425 | | #endif |
4426 | | inline void GetTableLocationsRequestPB::set_partition_key_end(const char* value) { |
4427 | | GOOGLE_DCHECK(value != NULL); |
4428 | | set_has_partition_key_end(); |
4429 | | partition_key_end_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4430 | | // @@protoc_insertion_point(field_set_char:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4431 | | } |
4432 | 0 | inline void GetTableLocationsRequestPB::set_partition_key_end(const void* value, size_t size) { |
4433 | 0 | set_has_partition_key_end(); |
4434 | 0 | partition_key_end_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4435 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4436 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4437 | 0 | } |
4438 | 1 | inline ::std::string* GetTableLocationsRequestPB::mutable_partition_key_end() { |
4439 | 1 | set_has_partition_key_end(); |
4440 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4441 | 1 | return partition_key_end_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4442 | 1 | } |
4443 | 0 | inline ::std::string* GetTableLocationsRequestPB::release_partition_key_end() { |
4444 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4445 | 0 | clear_has_partition_key_end(); |
4446 | 0 | return partition_key_end_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4447 | 0 | } |
4448 | 0 | inline void GetTableLocationsRequestPB::set_allocated_partition_key_end(::std::string* partition_key_end) { |
4449 | 0 | if (partition_key_end != NULL) { |
4450 | 0 | set_has_partition_key_end(); |
4451 | 0 | } else { |
4452 | 0 | clear_has_partition_key_end(); |
4453 | 0 | } |
4454 | 0 | partition_key_end_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), partition_key_end); |
4455 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTableLocationsRequestPB.partition_key_end) |
4456 | 0 | } |
4457 | | |
4458 | | // optional uint32 max_returned_locations = 5 [default = 10]; |
4459 | 444k | inline bool GetTableLocationsRequestPB::has_max_returned_locations() const { |
4460 | 444k | return (_has_bits_[0] & 0x00000020u) != 0; |
4461 | 444k | } |
4462 | 441k | inline void GetTableLocationsRequestPB::set_has_max_returned_locations() { |
4463 | 441k | _has_bits_[0] |= 0x00000020u; |
4464 | 441k | } |
4465 | 0 | inline void GetTableLocationsRequestPB::clear_has_max_returned_locations() { |
4466 | 0 | _has_bits_[0] &= ~0x00000020u; |
4467 | 0 | } |
4468 | 0 | inline void GetTableLocationsRequestPB::clear_max_returned_locations() { |
4469 | 0 | max_returned_locations_ = 10u; |
4470 | 0 | clear_has_max_returned_locations(); |
4471 | 0 | } |
4472 | 1.13M | inline ::google::protobuf::uint32 GetTableLocationsRequestPB::max_returned_locations() const { |
4473 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsRequestPB.max_returned_locations) |
4474 | 1.13M | return max_returned_locations_; |
4475 | 1.13M | } |
4476 | 212k | inline void GetTableLocationsRequestPB::set_max_returned_locations(::google::protobuf::uint32 value) { |
4477 | 212k | set_has_max_returned_locations(); |
4478 | 212k | max_returned_locations_ = value; |
4479 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsRequestPB.max_returned_locations) |
4480 | 212k | } |
4481 | | |
4482 | | // optional bool require_tablets_running = 6; |
4483 | 444k | inline bool GetTableLocationsRequestPB::has_require_tablets_running() const { |
4484 | 444k | return (_has_bits_[0] & 0x00000008u) != 0; |
4485 | 444k | } |
4486 | 280k | inline void GetTableLocationsRequestPB::set_has_require_tablets_running() { |
4487 | 280k | _has_bits_[0] |= 0x00000008u; |
4488 | 280k | } |
4489 | 0 | inline void GetTableLocationsRequestPB::clear_has_require_tablets_running() { |
4490 | 0 | _has_bits_[0] &= ~0x00000008u; |
4491 | 0 | } |
4492 | 0 | inline void GetTableLocationsRequestPB::clear_require_tablets_running() { |
4493 | 0 | require_tablets_running_ = false; |
4494 | 0 | clear_has_require_tablets_running(); |
4495 | 0 | } |
4496 | 383k | inline bool GetTableLocationsRequestPB::require_tablets_running() const { |
4497 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsRequestPB.require_tablets_running) |
4498 | 383k | return require_tablets_running_; |
4499 | 383k | } |
4500 | 135k | inline void GetTableLocationsRequestPB::set_require_tablets_running(bool value) { |
4501 | 135k | set_has_require_tablets_running(); |
4502 | 135k | require_tablets_running_ = value; |
4503 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsRequestPB.require_tablets_running) |
4504 | 135k | } |
4505 | | |
4506 | | // optional bool include_inactive = 7; |
4507 | 901k | inline bool GetTableLocationsRequestPB::has_include_inactive() const { |
4508 | 901k | return (_has_bits_[0] & 0x00000010u) != 0; |
4509 | 901k | } |
4510 | 962 | inline void GetTableLocationsRequestPB::set_has_include_inactive() { |
4511 | 962 | _has_bits_[0] |= 0x00000010u; |
4512 | 962 | } |
4513 | 0 | inline void GetTableLocationsRequestPB::clear_has_include_inactive() { |
4514 | 0 | _has_bits_[0] &= ~0x00000010u; |
4515 | 0 | } |
4516 | 0 | inline void GetTableLocationsRequestPB::clear_include_inactive() { |
4517 | 0 | include_inactive_ = false; |
4518 | 0 | clear_has_include_inactive(); |
4519 | 0 | } |
4520 | 1.45k | inline bool GetTableLocationsRequestPB::include_inactive() const { |
4521 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsRequestPB.include_inactive) |
4522 | 1.45k | return include_inactive_; |
4523 | 1.45k | } |
4524 | 470 | inline void GetTableLocationsRequestPB::set_include_inactive(bool value) { |
4525 | 470 | set_has_include_inactive(); |
4526 | 470 | include_inactive_ = value; |
4527 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsRequestPB.include_inactive) |
4528 | 470 | } |
4529 | | |
4530 | | // ------------------------------------------------------------------- |
4531 | | |
4532 | | // GetTableLocationsResponsePB |
4533 | | |
4534 | | // optional .yb.master.MasterErrorPB error = 1; |
4535 | 1.12M | inline bool GetTableLocationsResponsePB::has_error() const { |
4536 | 1.12M | return (_has_bits_[0] & 0x00000001u) != 0; |
4537 | 1.12M | } |
4538 | 19.7k | inline void GetTableLocationsResponsePB::set_has_error() { |
4539 | 19.7k | _has_bits_[0] |= 0x00000001u; |
4540 | 19.7k | } |
4541 | 0 | inline void GetTableLocationsResponsePB::clear_has_error() { |
4542 | 0 | _has_bits_[0] &= ~0x00000001u; |
4543 | 0 | } |
4544 | 38.8k | inline const ::yb::master::MasterErrorPB& GetTableLocationsResponsePB::error() const { |
4545 | 38.8k | const ::yb::master::MasterErrorPB* p = error_; |
4546 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsResponsePB.error) |
4547 | 18.4E | return p != NULL38.8k ? *p38.8k : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
4548 | 18.4E | &::yb::master::_MasterErrorPB_default_instance_); |
4549 | 38.8k | } |
4550 | 0 | inline ::yb::master::MasterErrorPB* GetTableLocationsResponsePB::release_error() { |
4551 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTableLocationsResponsePB.error) |
4552 | 0 | clear_has_error(); |
4553 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
4554 | 0 | error_ = NULL; |
4555 | 0 | return temp; |
4556 | 0 | } |
4557 | 19.7k | inline ::yb::master::MasterErrorPB* GetTableLocationsResponsePB::mutable_error() { |
4558 | 19.7k | set_has_error(); |
4559 | 19.7k | if (error_ == NULL) { |
4560 | 10.2k | error_ = new ::yb::master::MasterErrorPB; |
4561 | 10.2k | } |
4562 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTableLocationsResponsePB.error) |
4563 | 19.7k | return error_; |
4564 | 19.7k | } |
4565 | 0 | inline void GetTableLocationsResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
4566 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4567 | 0 | if (message_arena == NULL) { |
4568 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4569 | 0 | } |
4570 | 0 | if (error) { |
4571 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4572 | 0 | if (message_arena != submessage_arena) { |
4573 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4574 | 0 | message_arena, error, submessage_arena); |
4575 | 0 | } |
4576 | 0 | set_has_error(); |
4577 | 0 | } else { |
4578 | 0 | clear_has_error(); |
4579 | 0 | } |
4580 | 0 | error_ = error; |
4581 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTableLocationsResponsePB.error) |
4582 | 0 | } |
4583 | | |
4584 | | // repeated .yb.master.TabletLocationsPB tablet_locations = 2; |
4585 | 892k | inline int GetTableLocationsResponsePB::tablet_locations_size() const { |
4586 | 892k | return tablet_locations_.size(); |
4587 | 892k | } |
4588 | 0 | inline void GetTableLocationsResponsePB::clear_tablet_locations() { |
4589 | 0 | tablet_locations_.Clear(); |
4590 | 0 | } |
4591 | 1.03M | inline const ::yb::master::TabletLocationsPB& GetTableLocationsResponsePB::tablet_locations(int index) const { |
4592 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsResponsePB.tablet_locations) |
4593 | 1.03M | return tablet_locations_.Get(index); |
4594 | 1.03M | } |
4595 | 0 | inline ::yb::master::TabletLocationsPB* GetTableLocationsResponsePB::mutable_tablet_locations(int index) { |
4596 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTableLocationsResponsePB.tablet_locations) |
4597 | 0 | return tablet_locations_.Mutable(index); |
4598 | 0 | } |
4599 | 688k | inline ::yb::master::TabletLocationsPB* GetTableLocationsResponsePB::add_tablet_locations() { |
4600 | | // @@protoc_insertion_point(field_add:yb.master.GetTableLocationsResponsePB.tablet_locations) |
4601 | 688k | return tablet_locations_.Add(); |
4602 | 688k | } |
4603 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >* |
4604 | 9.67k | GetTableLocationsResponsePB::mutable_tablet_locations() { |
4605 | | // @@protoc_insertion_point(field_mutable_list:yb.master.GetTableLocationsResponsePB.tablet_locations) |
4606 | 9.67k | return &tablet_locations_; |
4607 | 9.67k | } |
4608 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::TabletLocationsPB >& |
4609 | 816k | GetTableLocationsResponsePB::tablet_locations() const { |
4610 | | // @@protoc_insertion_point(field_list:yb.master.GetTableLocationsResponsePB.tablet_locations) |
4611 | 816k | return tablet_locations_; |
4612 | 816k | } |
4613 | | |
4614 | | // optional .yb.TableType table_type = 3; |
4615 | 457k | inline bool GetTableLocationsResponsePB::has_table_type() const { |
4616 | 457k | return (_has_bits_[0] & 0x00000008u) != 0; |
4617 | 457k | } |
4618 | 431k | inline void GetTableLocationsResponsePB::set_has_table_type() { |
4619 | 431k | _has_bits_[0] |= 0x00000008u; |
4620 | 431k | } |
4621 | 0 | inline void GetTableLocationsResponsePB::clear_has_table_type() { |
4622 | 0 | _has_bits_[0] &= ~0x00000008u; |
4623 | 0 | } |
4624 | 0 | inline void GetTableLocationsResponsePB::clear_table_type() { |
4625 | 0 | table_type_ = 2; |
4626 | 0 | clear_has_table_type(); |
4627 | 0 | } |
4628 | 656k | inline ::yb::TableType GetTableLocationsResponsePB::table_type() const { |
4629 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsResponsePB.table_type) |
4630 | 656k | return static_cast< ::yb::TableType >(table_type_); |
4631 | 656k | } |
4632 | 431k | inline void GetTableLocationsResponsePB::set_table_type(::yb::TableType value) { |
4633 | 431k | assert(::yb::TableType_IsValid(value)); |
4634 | 0 | set_has_table_type(); |
4635 | 431k | table_type_ = value; |
4636 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsResponsePB.table_type) |
4637 | 431k | } |
4638 | | |
4639 | | // optional uint32 partition_list_version = 4; |
4640 | 511k | inline bool GetTableLocationsResponsePB::has_partition_list_version() const { |
4641 | 511k | return (_has_bits_[0] & 0x00000002u) != 0; |
4642 | 511k | } |
4643 | 431k | inline void GetTableLocationsResponsePB::set_has_partition_list_version() { |
4644 | 431k | _has_bits_[0] |= 0x00000002u; |
4645 | 431k | } |
4646 | 0 | inline void GetTableLocationsResponsePB::clear_has_partition_list_version() { |
4647 | 0 | _has_bits_[0] &= ~0x00000002u; |
4648 | 0 | } |
4649 | 0 | inline void GetTableLocationsResponsePB::clear_partition_list_version() { |
4650 | 0 | partition_list_version_ = 0u; |
4651 | 0 | clear_has_partition_list_version(); |
4652 | 0 | } |
4653 | 954k | inline ::google::protobuf::uint32 GetTableLocationsResponsePB::partition_list_version() const { |
4654 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsResponsePB.partition_list_version) |
4655 | 954k | return partition_list_version_; |
4656 | 954k | } |
4657 | 218k | inline void GetTableLocationsResponsePB::set_partition_list_version(::google::protobuf::uint32 value) { |
4658 | 218k | set_has_partition_list_version(); |
4659 | 218k | partition_list_version_ = value; |
4660 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsResponsePB.partition_list_version) |
4661 | 218k | } |
4662 | | |
4663 | | // optional bool creating = 5; |
4664 | 456k | inline bool GetTableLocationsResponsePB::has_creating() const { |
4665 | 456k | return (_has_bits_[0] & 0x00000004u) != 0; |
4666 | 456k | } |
4667 | 14.6k | inline void GetTableLocationsResponsePB::set_has_creating() { |
4668 | 14.6k | _has_bits_[0] |= 0x00000004u; |
4669 | 14.6k | } |
4670 | 0 | inline void GetTableLocationsResponsePB::clear_has_creating() { |
4671 | 0 | _has_bits_[0] &= ~0x00000004u; |
4672 | 0 | } |
4673 | 0 | inline void GetTableLocationsResponsePB::clear_creating() { |
4674 | 0 | creating_ = false; |
4675 | 0 | clear_has_creating(); |
4676 | 0 | } |
4677 | 25.2k | inline bool GetTableLocationsResponsePB::creating() const { |
4678 | | // @@protoc_insertion_point(field_get:yb.master.GetTableLocationsResponsePB.creating) |
4679 | 25.2k | return creating_; |
4680 | 25.2k | } |
4681 | 7.31k | inline void GetTableLocationsResponsePB::set_creating(bool value) { |
4682 | 7.31k | set_has_creating(); |
4683 | 7.31k | creating_ = value; |
4684 | | // @@protoc_insertion_point(field_set:yb.master.GetTableLocationsResponsePB.creating) |
4685 | 7.31k | } |
4686 | | |
4687 | | // ------------------------------------------------------------------- |
4688 | | |
4689 | | // GetTransactionStatusTabletsRequestPB |
4690 | | |
4691 | | // optional .yb.CloudInfoPB placement = 1; |
4692 | 10.0k | inline bool GetTransactionStatusTabletsRequestPB::has_placement() const { |
4693 | 10.0k | return (_has_bits_[0] & 0x00000001u) != 0; |
4694 | 10.0k | } |
4695 | 6.70k | inline void GetTransactionStatusTabletsRequestPB::set_has_placement() { |
4696 | 6.70k | _has_bits_[0] |= 0x00000001u; |
4697 | 6.70k | } |
4698 | 0 | inline void GetTransactionStatusTabletsRequestPB::clear_has_placement() { |
4699 | 0 | _has_bits_[0] &= ~0x00000001u; |
4700 | 0 | } |
4701 | 3.37k | inline const ::yb::CloudInfoPB& GetTransactionStatusTabletsRequestPB::placement() const { |
4702 | 3.37k | const ::yb::CloudInfoPB* p = placement_; |
4703 | | // @@protoc_insertion_point(field_get:yb.master.GetTransactionStatusTabletsRequestPB.placement) |
4704 | 3.37k | return p != NULL ? *p3.37k : *reinterpret_cast<const ::yb::CloudInfoPB*>( |
4705 | 3 | &::yb::_CloudInfoPB_default_instance_); |
4706 | 3.37k | } |
4707 | 0 | inline ::yb::CloudInfoPB* GetTransactionStatusTabletsRequestPB::release_placement() { |
4708 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTransactionStatusTabletsRequestPB.placement) |
4709 | 0 | clear_has_placement(); |
4710 | 0 | ::yb::CloudInfoPB* temp = placement_; |
4711 | 0 | placement_ = NULL; |
4712 | 0 | return temp; |
4713 | 0 | } |
4714 | 6.72k | inline ::yb::CloudInfoPB* GetTransactionStatusTabletsRequestPB::mutable_placement() { |
4715 | 6.72k | set_has_placement(); |
4716 | 6.72k | if (placement_ == NULL) { |
4717 | 6.56k | placement_ = new ::yb::CloudInfoPB; |
4718 | 6.56k | } |
4719 | | // @@protoc_insertion_point(field_mutable:yb.master.GetTransactionStatusTabletsRequestPB.placement) |
4720 | 6.72k | return placement_; |
4721 | 6.72k | } |
4722 | 0 | inline void GetTransactionStatusTabletsRequestPB::set_allocated_placement(::yb::CloudInfoPB* placement) { |
4723 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4724 | 0 | if (message_arena == NULL) { |
4725 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(placement_); |
4726 | 0 | } |
4727 | 0 | if (placement) { |
4728 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4729 | 0 | if (message_arena != submessage_arena) { |
4730 | 0 | placement = ::google::protobuf::internal::GetOwnedMessage( |
4731 | 0 | message_arena, placement, submessage_arena); |
4732 | 0 | } |
4733 | 0 | set_has_placement(); |
4734 | 0 | } else { |
4735 | 0 | clear_has_placement(); |
4736 | 0 | } |
4737 | 0 | placement_ = placement; |
4738 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTransactionStatusTabletsRequestPB.placement) |
4739 | 0 | } |
4740 | | |
4741 | | // ------------------------------------------------------------------- |
4742 | | |
4743 | | // GetTransactionStatusTabletsResponsePB |
4744 | | |
4745 | | // optional .yb.master.MasterErrorPB error = 1; |
4746 | 16.4k | inline bool GetTransactionStatusTabletsResponsePB::has_error() const { |
4747 | 16.4k | return (_has_bits_[0] & 0x00000001u) != 0; |
4748 | 16.4k | } |
4749 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_has_error() { |
4750 | 0 | _has_bits_[0] |= 0x00000001u; |
4751 | 0 | } |
4752 | 0 | inline void GetTransactionStatusTabletsResponsePB::clear_has_error() { |
4753 | 0 | _has_bits_[0] &= ~0x00000001u; |
4754 | 0 | } |
4755 | 0 | inline const ::yb::master::MasterErrorPB& GetTransactionStatusTabletsResponsePB::error() const { |
4756 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
4757 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetTransactionStatusTabletsResponsePB.error) |
4758 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
4759 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
4760 | 0 | } |
4761 | 0 | inline ::yb::master::MasterErrorPB* GetTransactionStatusTabletsResponsePB::release_error() { |
4762 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetTransactionStatusTabletsResponsePB.error) |
4763 | 0 | clear_has_error(); |
4764 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
4765 | 0 | error_ = NULL; |
4766 | 0 | return temp; |
4767 | 0 | } |
4768 | 0 | inline ::yb::master::MasterErrorPB* GetTransactionStatusTabletsResponsePB::mutable_error() { |
4769 | 0 | set_has_error(); |
4770 | 0 | if (error_ == NULL) { |
4771 | 0 | error_ = new ::yb::master::MasterErrorPB; |
4772 | 0 | } |
4773 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTransactionStatusTabletsResponsePB.error) |
4774 | 0 | return error_; |
4775 | 0 | } |
4776 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
4777 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4778 | 0 | if (message_arena == NULL) { |
4779 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4780 | 0 | } |
4781 | 0 | if (error) { |
4782 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4783 | 0 | if (message_arena != submessage_arena) { |
4784 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4785 | 0 | message_arena, error, submessage_arena); |
4786 | 0 | } |
4787 | 0 | set_has_error(); |
4788 | 0 | } else { |
4789 | 0 | clear_has_error(); |
4790 | 0 | } |
4791 | 0 | error_ = error; |
4792 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetTransactionStatusTabletsResponsePB.error) |
4793 | 0 | } |
4794 | | |
4795 | | // repeated bytes global_tablet_id = 2; |
4796 | 16.3k | inline int GetTransactionStatusTabletsResponsePB::global_tablet_id_size() const { |
4797 | 16.3k | return global_tablet_id_.size(); |
4798 | 16.3k | } |
4799 | 0 | inline void GetTransactionStatusTabletsResponsePB::clear_global_tablet_id() { |
4800 | 0 | global_tablet_id_.Clear(); |
4801 | 0 | } |
4802 | 176k | inline const ::std::string& GetTransactionStatusTabletsResponsePB::global_tablet_id(int index) const { |
4803 | | // @@protoc_insertion_point(field_get:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4804 | 176k | return global_tablet_id_.Get(index); |
4805 | 176k | } |
4806 | 0 | inline ::std::string* GetTransactionStatusTabletsResponsePB::mutable_global_tablet_id(int index) { |
4807 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4808 | 0 | return global_tablet_id_.Mutable(index); |
4809 | 0 | } |
4810 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_global_tablet_id(int index, const ::std::string& value) { |
4811 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4812 | 0 | global_tablet_id_.Mutable(index)->assign(value); |
4813 | 0 | } |
4814 | | #if LANG_CXX11 |
4815 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_global_tablet_id(int index, ::std::string&& value) { |
4816 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4817 | 0 | global_tablet_id_.Mutable(index)->assign(std::move(value)); |
4818 | 0 | } |
4819 | | #endif |
4820 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_global_tablet_id(int index, const char* value) { |
4821 | 0 | GOOGLE_DCHECK(value != NULL); |
4822 | 0 | global_tablet_id_.Mutable(index)->assign(value); |
4823 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4824 | 0 | } |
4825 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_global_tablet_id(int index, const void* value, size_t size) { |
4826 | 0 | global_tablet_id_.Mutable(index)->assign( |
4827 | 0 | reinterpret_cast<const char*>(value), size); |
4828 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4829 | 0 | } |
4830 | 61.6k | inline ::std::string* GetTransactionStatusTabletsResponsePB::add_global_tablet_id() { |
4831 | | // @@protoc_insertion_point(field_add_mutable:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4832 | 61.6k | return global_tablet_id_.Add(); |
4833 | 61.6k | } |
4834 | 61.9k | inline void GetTransactionStatusTabletsResponsePB::add_global_tablet_id(const ::std::string& value) { |
4835 | 61.9k | global_tablet_id_.Add()->assign(value); |
4836 | | // @@protoc_insertion_point(field_add:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4837 | 61.9k | } |
4838 | | #if LANG_CXX11 |
4839 | 0 | inline void GetTransactionStatusTabletsResponsePB::add_global_tablet_id(::std::string&& value) { |
4840 | 0 | global_tablet_id_.Add(std::move(value)); |
4841 | 0 | // @@protoc_insertion_point(field_add:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4842 | 0 | } |
4843 | | #endif |
4844 | 0 | inline void GetTransactionStatusTabletsResponsePB::add_global_tablet_id(const char* value) { |
4845 | 0 | GOOGLE_DCHECK(value != NULL); |
4846 | 0 | global_tablet_id_.Add()->assign(value); |
4847 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4848 | 0 | } |
4849 | 0 | inline void GetTransactionStatusTabletsResponsePB::add_global_tablet_id(const void* value, size_t size) { |
4850 | 0 | global_tablet_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4851 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4852 | 0 | } |
4853 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4854 | 3.30k | GetTransactionStatusTabletsResponsePB::global_tablet_id() const { |
4855 | | // @@protoc_insertion_point(field_list:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4856 | 3.30k | return global_tablet_id_; |
4857 | 3.30k | } |
4858 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4859 | 0 | GetTransactionStatusTabletsResponsePB::mutable_global_tablet_id() { |
4860 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.GetTransactionStatusTabletsResponsePB.global_tablet_id) |
4861 | 0 | return &global_tablet_id_; |
4862 | 0 | } |
4863 | | |
4864 | | // repeated bytes placement_local_tablet_id = 3; |
4865 | 16.3k | inline int GetTransactionStatusTabletsResponsePB::placement_local_tablet_id_size() const { |
4866 | 16.3k | return placement_local_tablet_id_.size(); |
4867 | 16.3k | } |
4868 | 0 | inline void GetTransactionStatusTabletsResponsePB::clear_placement_local_tablet_id() { |
4869 | 0 | placement_local_tablet_id_.Clear(); |
4870 | 0 | } |
4871 | 7.45k | inline const ::std::string& GetTransactionStatusTabletsResponsePB::placement_local_tablet_id(int index) const { |
4872 | | // @@protoc_insertion_point(field_get:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4873 | 7.45k | return placement_local_tablet_id_.Get(index); |
4874 | 7.45k | } |
4875 | 0 | inline ::std::string* GetTransactionStatusTabletsResponsePB::mutable_placement_local_tablet_id(int index) { |
4876 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4877 | 0 | return placement_local_tablet_id_.Mutable(index); |
4878 | 0 | } |
4879 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_placement_local_tablet_id(int index, const ::std::string& value) { |
4880 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4881 | 0 | placement_local_tablet_id_.Mutable(index)->assign(value); |
4882 | 0 | } |
4883 | | #if LANG_CXX11 |
4884 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_placement_local_tablet_id(int index, ::std::string&& value) { |
4885 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4886 | 0 | placement_local_tablet_id_.Mutable(index)->assign(std::move(value)); |
4887 | 0 | } |
4888 | | #endif |
4889 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_placement_local_tablet_id(int index, const char* value) { |
4890 | 0 | GOOGLE_DCHECK(value != NULL); |
4891 | 0 | placement_local_tablet_id_.Mutable(index)->assign(value); |
4892 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4893 | 0 | } |
4894 | 0 | inline void GetTransactionStatusTabletsResponsePB::set_placement_local_tablet_id(int index, const void* value, size_t size) { |
4895 | 0 | placement_local_tablet_id_.Mutable(index)->assign( |
4896 | 0 | reinterpret_cast<const char*>(value), size); |
4897 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4898 | 0 | } |
4899 | 2.49k | inline ::std::string* GetTransactionStatusTabletsResponsePB::add_placement_local_tablet_id() { |
4900 | | // @@protoc_insertion_point(field_add_mutable:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4901 | 2.49k | return placement_local_tablet_id_.Add(); |
4902 | 2.49k | } |
4903 | 2.49k | inline void GetTransactionStatusTabletsResponsePB::add_placement_local_tablet_id(const ::std::string& value) { |
4904 | 2.49k | placement_local_tablet_id_.Add()->assign(value); |
4905 | | // @@protoc_insertion_point(field_add:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4906 | 2.49k | } |
4907 | | #if LANG_CXX11 |
4908 | 0 | inline void GetTransactionStatusTabletsResponsePB::add_placement_local_tablet_id(::std::string&& value) { |
4909 | 0 | placement_local_tablet_id_.Add(std::move(value)); |
4910 | 0 | // @@protoc_insertion_point(field_add:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4911 | 0 | } |
4912 | | #endif |
4913 | 0 | inline void GetTransactionStatusTabletsResponsePB::add_placement_local_tablet_id(const char* value) { |
4914 | 0 | GOOGLE_DCHECK(value != NULL); |
4915 | 0 | placement_local_tablet_id_.Add()->assign(value); |
4916 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4917 | 0 | } |
4918 | 0 | inline void GetTransactionStatusTabletsResponsePB::add_placement_local_tablet_id(const void* value, size_t size) { |
4919 | 0 | placement_local_tablet_id_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4920 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4921 | 0 | } |
4922 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4923 | 3.30k | GetTransactionStatusTabletsResponsePB::placement_local_tablet_id() const { |
4924 | | // @@protoc_insertion_point(field_list:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4925 | 3.30k | return placement_local_tablet_id_; |
4926 | 3.30k | } |
4927 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4928 | 0 | GetTransactionStatusTabletsResponsePB::mutable_placement_local_tablet_id() { |
4929 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.GetTransactionStatusTabletsResponsePB.placement_local_tablet_id) |
4930 | 0 | return &placement_local_tablet_id_; |
4931 | 0 | } |
4932 | | |
4933 | | // ------------------------------------------------------------------- |
4934 | | |
4935 | | // ReservePgsqlOidsRequestPB |
4936 | | |
4937 | | // optional bytes namespace_id = 1; |
4938 | 1.61k | inline bool ReservePgsqlOidsRequestPB::has_namespace_id() const { |
4939 | 1.61k | return (_has_bits_[0] & 0x00000001u) != 0; |
4940 | 1.61k | } |
4941 | 1.61k | inline void ReservePgsqlOidsRequestPB::set_has_namespace_id() { |
4942 | 1.61k | _has_bits_[0] |= 0x00000001u; |
4943 | 1.61k | } |
4944 | 0 | inline void ReservePgsqlOidsRequestPB::clear_has_namespace_id() { |
4945 | 0 | _has_bits_[0] &= ~0x00000001u; |
4946 | 0 | } |
4947 | 0 | inline void ReservePgsqlOidsRequestPB::clear_namespace_id() { |
4948 | 0 | namespace_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4949 | 0 | clear_has_namespace_id(); |
4950 | 0 | } |
4951 | 3.22k | inline const ::std::string& ReservePgsqlOidsRequestPB::namespace_id() const { |
4952 | | // @@protoc_insertion_point(field_get:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4953 | 3.22k | return namespace_id_.GetNoArena(); |
4954 | 3.22k | } |
4955 | 805 | inline void ReservePgsqlOidsRequestPB::set_namespace_id(const ::std::string& value) { |
4956 | 805 | set_has_namespace_id(); |
4957 | 805 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4958 | | // @@protoc_insertion_point(field_set:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4959 | 805 | } |
4960 | | #if LANG_CXX11 |
4961 | 0 | inline void ReservePgsqlOidsRequestPB::set_namespace_id(::std::string&& value) { |
4962 | 0 | set_has_namespace_id(); |
4963 | 0 | namespace_id_.SetNoArena( |
4964 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4965 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4966 | 0 | } |
4967 | | #endif |
4968 | 0 | inline void ReservePgsqlOidsRequestPB::set_namespace_id(const char* value) { |
4969 | 0 | GOOGLE_DCHECK(value != NULL); |
4970 | 0 | set_has_namespace_id(); |
4971 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4972 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4973 | 0 | } |
4974 | 0 | inline void ReservePgsqlOidsRequestPB::set_namespace_id(const void* value, size_t size) { |
4975 | 0 | set_has_namespace_id(); |
4976 | 0 | namespace_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4977 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4978 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4979 | 0 | } |
4980 | 805 | inline ::std::string* ReservePgsqlOidsRequestPB::mutable_namespace_id() { |
4981 | 805 | set_has_namespace_id(); |
4982 | | // @@protoc_insertion_point(field_mutable:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4983 | 805 | return namespace_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4984 | 805 | } |
4985 | 0 | inline ::std::string* ReservePgsqlOidsRequestPB::release_namespace_id() { |
4986 | 0 | // @@protoc_insertion_point(field_release:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4987 | 0 | clear_has_namespace_id(); |
4988 | 0 | return namespace_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4989 | 0 | } |
4990 | 0 | inline void ReservePgsqlOidsRequestPB::set_allocated_namespace_id(::std::string* namespace_id) { |
4991 | 0 | if (namespace_id != NULL) { |
4992 | 0 | set_has_namespace_id(); |
4993 | 0 | } else { |
4994 | 0 | clear_has_namespace_id(); |
4995 | 0 | } |
4996 | 0 | namespace_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), namespace_id); |
4997 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ReservePgsqlOidsRequestPB.namespace_id) |
4998 | 0 | } |
4999 | | |
5000 | | // optional uint32 next_oid = 2; |
5001 | 1.61k | inline bool ReservePgsqlOidsRequestPB::has_next_oid() const { |
5002 | 1.61k | return (_has_bits_[0] & 0x00000002u) != 0; |
5003 | 1.61k | } |
5004 | 1.61k | inline void ReservePgsqlOidsRequestPB::set_has_next_oid() { |
5005 | 1.61k | _has_bits_[0] |= 0x00000002u; |
5006 | 1.61k | } |
5007 | 0 | inline void ReservePgsqlOidsRequestPB::clear_has_next_oid() { |
5008 | 0 | _has_bits_[0] &= ~0x00000002u; |
5009 | 0 | } |
5010 | 0 | inline void ReservePgsqlOidsRequestPB::clear_next_oid() { |
5011 | 0 | next_oid_ = 0u; |
5012 | 0 | clear_has_next_oid(); |
5013 | 0 | } |
5014 | 3.92k | inline ::google::protobuf::uint32 ReservePgsqlOidsRequestPB::next_oid() const { |
5015 | | // @@protoc_insertion_point(field_get:yb.master.ReservePgsqlOidsRequestPB.next_oid) |
5016 | 3.92k | return next_oid_; |
5017 | 3.92k | } |
5018 | 805 | inline void ReservePgsqlOidsRequestPB::set_next_oid(::google::protobuf::uint32 value) { |
5019 | 805 | set_has_next_oid(); |
5020 | 805 | next_oid_ = value; |
5021 | | // @@protoc_insertion_point(field_set:yb.master.ReservePgsqlOidsRequestPB.next_oid) |
5022 | 805 | } |
5023 | | |
5024 | | // optional uint32 count = 3; |
5025 | 1.61k | inline bool ReservePgsqlOidsRequestPB::has_count() const { |
5026 | 1.61k | return (_has_bits_[0] & 0x00000004u) != 0; |
5027 | 1.61k | } |
5028 | 1.61k | inline void ReservePgsqlOidsRequestPB::set_has_count() { |
5029 | 1.61k | _has_bits_[0] |= 0x00000004u; |
5030 | 1.61k | } |
5031 | 0 | inline void ReservePgsqlOidsRequestPB::clear_has_count() { |
5032 | 0 | _has_bits_[0] &= ~0x00000004u; |
5033 | 0 | } |
5034 | 0 | inline void ReservePgsqlOidsRequestPB::clear_count() { |
5035 | 0 | count_ = 0u; |
5036 | 0 | clear_has_count(); |
5037 | 0 | } |
5038 | 3.22k | inline ::google::protobuf::uint32 ReservePgsqlOidsRequestPB::count() const { |
5039 | | // @@protoc_insertion_point(field_get:yb.master.ReservePgsqlOidsRequestPB.count) |
5040 | 3.22k | return count_; |
5041 | 3.22k | } |
5042 | 805 | inline void ReservePgsqlOidsRequestPB::set_count(::google::protobuf::uint32 value) { |
5043 | 805 | set_has_count(); |
5044 | 805 | count_ = value; |
5045 | | // @@protoc_insertion_point(field_set:yb.master.ReservePgsqlOidsRequestPB.count) |
5046 | 805 | } |
5047 | | |
5048 | | // ------------------------------------------------------------------- |
5049 | | |
5050 | | // ReservePgsqlOidsResponsePB |
5051 | | |
5052 | | // optional .yb.master.MasterErrorPB error = 1; |
5053 | 4.02k | inline bool ReservePgsqlOidsResponsePB::has_error() const { |
5054 | 4.02k | return (_has_bits_[0] & 0x00000001u) != 0; |
5055 | 4.02k | } |
5056 | 0 | inline void ReservePgsqlOidsResponsePB::set_has_error() { |
5057 | 0 | _has_bits_[0] |= 0x00000001u; |
5058 | 0 | } |
5059 | 0 | inline void ReservePgsqlOidsResponsePB::clear_has_error() { |
5060 | 0 | _has_bits_[0] &= ~0x00000001u; |
5061 | 0 | } |
5062 | 0 | inline const ::yb::master::MasterErrorPB& ReservePgsqlOidsResponsePB::error() const { |
5063 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5064 | 0 | // @@protoc_insertion_point(field_get:yb.master.ReservePgsqlOidsResponsePB.error) |
5065 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5066 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5067 | 0 | } |
5068 | 0 | inline ::yb::master::MasterErrorPB* ReservePgsqlOidsResponsePB::release_error() { |
5069 | 0 | // @@protoc_insertion_point(field_release:yb.master.ReservePgsqlOidsResponsePB.error) |
5070 | 0 | clear_has_error(); |
5071 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5072 | 0 | error_ = NULL; |
5073 | 0 | return temp; |
5074 | 0 | } |
5075 | 0 | inline ::yb::master::MasterErrorPB* ReservePgsqlOidsResponsePB::mutable_error() { |
5076 | 0 | set_has_error(); |
5077 | 0 | if (error_ == NULL) { |
5078 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5079 | 0 | } |
5080 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ReservePgsqlOidsResponsePB.error) |
5081 | 0 | return error_; |
5082 | 0 | } |
5083 | 0 | inline void ReservePgsqlOidsResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5084 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5085 | 0 | if (message_arena == NULL) { |
5086 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5087 | 0 | } |
5088 | 0 | if (error) { |
5089 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5090 | 0 | if (message_arena != submessage_arena) { |
5091 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5092 | 0 | message_arena, error, submessage_arena); |
5093 | 0 | } |
5094 | 0 | set_has_error(); |
5095 | 0 | } else { |
5096 | 0 | clear_has_error(); |
5097 | 0 | } |
5098 | 0 | error_ = error; |
5099 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ReservePgsqlOidsResponsePB.error) |
5100 | 0 | } |
5101 | | |
5102 | | // optional uint32 begin_oid = 2; |
5103 | 1.61k | inline bool ReservePgsqlOidsResponsePB::has_begin_oid() const { |
5104 | 1.61k | return (_has_bits_[0] & 0x00000002u) != 0; |
5105 | 1.61k | } |
5106 | 1.61k | inline void ReservePgsqlOidsResponsePB::set_has_begin_oid() { |
5107 | 1.61k | _has_bits_[0] |= 0x00000002u; |
5108 | 1.61k | } |
5109 | 0 | inline void ReservePgsqlOidsResponsePB::clear_has_begin_oid() { |
5110 | 0 | _has_bits_[0] &= ~0x00000002u; |
5111 | 0 | } |
5112 | 0 | inline void ReservePgsqlOidsResponsePB::clear_begin_oid() { |
5113 | 0 | begin_oid_ = 0u; |
5114 | 0 | clear_has_begin_oid(); |
5115 | 0 | } |
5116 | 3.22k | inline ::google::protobuf::uint32 ReservePgsqlOidsResponsePB::begin_oid() const { |
5117 | | // @@protoc_insertion_point(field_get:yb.master.ReservePgsqlOidsResponsePB.begin_oid) |
5118 | 3.22k | return begin_oid_; |
5119 | 3.22k | } |
5120 | 805 | inline void ReservePgsqlOidsResponsePB::set_begin_oid(::google::protobuf::uint32 value) { |
5121 | 805 | set_has_begin_oid(); |
5122 | 805 | begin_oid_ = value; |
5123 | | // @@protoc_insertion_point(field_set:yb.master.ReservePgsqlOidsResponsePB.begin_oid) |
5124 | 805 | } |
5125 | | |
5126 | | // optional uint32 end_oid = 3; |
5127 | 1.61k | inline bool ReservePgsqlOidsResponsePB::has_end_oid() const { |
5128 | 1.61k | return (_has_bits_[0] & 0x00000004u) != 0; |
5129 | 1.61k | } |
5130 | 1.61k | inline void ReservePgsqlOidsResponsePB::set_has_end_oid() { |
5131 | 1.61k | _has_bits_[0] |= 0x00000004u; |
5132 | 1.61k | } |
5133 | 0 | inline void ReservePgsqlOidsResponsePB::clear_has_end_oid() { |
5134 | 0 | _has_bits_[0] &= ~0x00000004u; |
5135 | 0 | } |
5136 | 0 | inline void ReservePgsqlOidsResponsePB::clear_end_oid() { |
5137 | 0 | end_oid_ = 0u; |
5138 | 0 | clear_has_end_oid(); |
5139 | 0 | } |
5140 | 3.22k | inline ::google::protobuf::uint32 ReservePgsqlOidsResponsePB::end_oid() const { |
5141 | | // @@protoc_insertion_point(field_get:yb.master.ReservePgsqlOidsResponsePB.end_oid) |
5142 | 3.22k | return end_oid_; |
5143 | 3.22k | } |
5144 | 805 | inline void ReservePgsqlOidsResponsePB::set_end_oid(::google::protobuf::uint32 value) { |
5145 | 805 | set_has_end_oid(); |
5146 | 805 | end_oid_ = value; |
5147 | | // @@protoc_insertion_point(field_set:yb.master.ReservePgsqlOidsResponsePB.end_oid) |
5148 | 805 | } |
5149 | | |
5150 | | // ------------------------------------------------------------------- |
5151 | | |
5152 | | // GetYsqlCatalogConfigRequestPB |
5153 | | |
5154 | | // ------------------------------------------------------------------- |
5155 | | |
5156 | | // GetYsqlCatalogConfigResponsePB |
5157 | | |
5158 | | // optional .yb.master.MasterErrorPB error = 1; |
5159 | 110 | inline bool GetYsqlCatalogConfigResponsePB::has_error() const { |
5160 | 110 | return (_has_bits_[0] & 0x00000001u) != 0; |
5161 | 110 | } |
5162 | 0 | inline void GetYsqlCatalogConfigResponsePB::set_has_error() { |
5163 | 0 | _has_bits_[0] |= 0x00000001u; |
5164 | 0 | } |
5165 | 0 | inline void GetYsqlCatalogConfigResponsePB::clear_has_error() { |
5166 | 0 | _has_bits_[0] &= ~0x00000001u; |
5167 | 0 | } |
5168 | 0 | inline const ::yb::master::MasterErrorPB& GetYsqlCatalogConfigResponsePB::error() const { |
5169 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5170 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetYsqlCatalogConfigResponsePB.error) |
5171 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5172 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5173 | 0 | } |
5174 | 0 | inline ::yb::master::MasterErrorPB* GetYsqlCatalogConfigResponsePB::release_error() { |
5175 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetYsqlCatalogConfigResponsePB.error) |
5176 | 0 | clear_has_error(); |
5177 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5178 | 0 | error_ = NULL; |
5179 | 0 | return temp; |
5180 | 0 | } |
5181 | 0 | inline ::yb::master::MasterErrorPB* GetYsqlCatalogConfigResponsePB::mutable_error() { |
5182 | 0 | set_has_error(); |
5183 | 0 | if (error_ == NULL) { |
5184 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5185 | 0 | } |
5186 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetYsqlCatalogConfigResponsePB.error) |
5187 | 0 | return error_; |
5188 | 0 | } |
5189 | 0 | inline void GetYsqlCatalogConfigResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5190 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5191 | 0 | if (message_arena == NULL) { |
5192 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5193 | 0 | } |
5194 | 0 | if (error) { |
5195 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5196 | 0 | if (message_arena != submessage_arena) { |
5197 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5198 | 0 | message_arena, error, submessage_arena); |
5199 | 0 | } |
5200 | 0 | set_has_error(); |
5201 | 0 | } else { |
5202 | 0 | clear_has_error(); |
5203 | 0 | } |
5204 | 0 | error_ = error; |
5205 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetYsqlCatalogConfigResponsePB.error) |
5206 | 0 | } |
5207 | | |
5208 | | // optional uint64 version = 2; |
5209 | 44 | inline bool GetYsqlCatalogConfigResponsePB::has_version() const { |
5210 | 44 | return (_has_bits_[0] & 0x00000002u) != 0; |
5211 | 44 | } |
5212 | 44 | inline void GetYsqlCatalogConfigResponsePB::set_has_version() { |
5213 | 44 | _has_bits_[0] |= 0x00000002u; |
5214 | 44 | } |
5215 | 0 | inline void GetYsqlCatalogConfigResponsePB::clear_has_version() { |
5216 | 0 | _has_bits_[0] &= ~0x00000002u; |
5217 | 0 | } |
5218 | 0 | inline void GetYsqlCatalogConfigResponsePB::clear_version() { |
5219 | 0 | version_ = GOOGLE_ULONGLONG(0); |
5220 | 0 | clear_has_version(); |
5221 | 0 | } |
5222 | 88 | inline ::google::protobuf::uint64 GetYsqlCatalogConfigResponsePB::version() const { |
5223 | | // @@protoc_insertion_point(field_get:yb.master.GetYsqlCatalogConfigResponsePB.version) |
5224 | 88 | return version_; |
5225 | 88 | } |
5226 | 22 | inline void GetYsqlCatalogConfigResponsePB::set_version(::google::protobuf::uint64 value) { |
5227 | 22 | set_has_version(); |
5228 | 22 | version_ = value; |
5229 | | // @@protoc_insertion_point(field_set:yb.master.GetYsqlCatalogConfigResponsePB.version) |
5230 | 22 | } |
5231 | | |
5232 | | // ------------------------------------------------------------------- |
5233 | | |
5234 | | // RedisConfigSetRequestPB |
5235 | | |
5236 | | // optional string keyword = 1; |
5237 | 546 | inline bool RedisConfigSetRequestPB::has_keyword() const { |
5238 | 546 | return (_has_bits_[0] & 0x00000001u) != 0; |
5239 | 546 | } |
5240 | 364 | inline void RedisConfigSetRequestPB::set_has_keyword() { |
5241 | 364 | _has_bits_[0] |= 0x00000001u; |
5242 | 364 | } |
5243 | 0 | inline void RedisConfigSetRequestPB::clear_has_keyword() { |
5244 | 0 | _has_bits_[0] &= ~0x00000001u; |
5245 | 0 | } |
5246 | 0 | inline void RedisConfigSetRequestPB::clear_keyword() { |
5247 | 0 | keyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5248 | 0 | clear_has_keyword(); |
5249 | 0 | } |
5250 | 1.63k | inline const ::std::string& RedisConfigSetRequestPB::keyword() const { |
5251 | | // @@protoc_insertion_point(field_get:yb.master.RedisConfigSetRequestPB.keyword) |
5252 | 1.63k | return keyword_.GetNoArena(); |
5253 | 1.63k | } |
5254 | 182 | inline void RedisConfigSetRequestPB::set_keyword(const ::std::string& value) { |
5255 | 182 | set_has_keyword(); |
5256 | 182 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5257 | | // @@protoc_insertion_point(field_set:yb.master.RedisConfigSetRequestPB.keyword) |
5258 | 182 | } |
5259 | | #if LANG_CXX11 |
5260 | 0 | inline void RedisConfigSetRequestPB::set_keyword(::std::string&& value) { |
5261 | 0 | set_has_keyword(); |
5262 | 0 | keyword_.SetNoArena( |
5263 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5264 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.RedisConfigSetRequestPB.keyword) |
5265 | 0 | } |
5266 | | #endif |
5267 | 0 | inline void RedisConfigSetRequestPB::set_keyword(const char* value) { |
5268 | 0 | GOOGLE_DCHECK(value != NULL); |
5269 | 0 | set_has_keyword(); |
5270 | 0 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5271 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.RedisConfigSetRequestPB.keyword) |
5272 | 0 | } |
5273 | 0 | inline void RedisConfigSetRequestPB::set_keyword(const char* value, size_t size) { |
5274 | 0 | set_has_keyword(); |
5275 | 0 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5276 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5277 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.RedisConfigSetRequestPB.keyword) |
5278 | 0 | } |
5279 | 182 | inline ::std::string* RedisConfigSetRequestPB::mutable_keyword() { |
5280 | 182 | set_has_keyword(); |
5281 | | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigSetRequestPB.keyword) |
5282 | 182 | return keyword_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5283 | 182 | } |
5284 | 0 | inline ::std::string* RedisConfigSetRequestPB::release_keyword() { |
5285 | 0 | // @@protoc_insertion_point(field_release:yb.master.RedisConfigSetRequestPB.keyword) |
5286 | 0 | clear_has_keyword(); |
5287 | 0 | return keyword_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5288 | 0 | } |
5289 | 0 | inline void RedisConfigSetRequestPB::set_allocated_keyword(::std::string* keyword) { |
5290 | 0 | if (keyword != NULL) { |
5291 | 0 | set_has_keyword(); |
5292 | 0 | } else { |
5293 | 0 | clear_has_keyword(); |
5294 | 0 | } |
5295 | 0 | keyword_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyword); |
5296 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.RedisConfigSetRequestPB.keyword) |
5297 | 0 | } |
5298 | | |
5299 | | // repeated bytes args = 2; |
5300 | 910 | inline int RedisConfigSetRequestPB::args_size() const { |
5301 | 910 | return args_.size(); |
5302 | 910 | } |
5303 | 0 | inline void RedisConfigSetRequestPB::clear_args() { |
5304 | 0 | args_.Clear(); |
5305 | 0 | } |
5306 | 546 | inline const ::std::string& RedisConfigSetRequestPB::args(int index) const { |
5307 | | // @@protoc_insertion_point(field_get:yb.master.RedisConfigSetRequestPB.args) |
5308 | 546 | return args_.Get(index); |
5309 | 546 | } |
5310 | 0 | inline ::std::string* RedisConfigSetRequestPB::mutable_args(int index) { |
5311 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigSetRequestPB.args) |
5312 | 0 | return args_.Mutable(index); |
5313 | 0 | } |
5314 | 0 | inline void RedisConfigSetRequestPB::set_args(int index, const ::std::string& value) { |
5315 | 0 | // @@protoc_insertion_point(field_set:yb.master.RedisConfigSetRequestPB.args) |
5316 | 0 | args_.Mutable(index)->assign(value); |
5317 | 0 | } |
5318 | | #if LANG_CXX11 |
5319 | 0 | inline void RedisConfigSetRequestPB::set_args(int index, ::std::string&& value) { |
5320 | 0 | // @@protoc_insertion_point(field_set:yb.master.RedisConfigSetRequestPB.args) |
5321 | 0 | args_.Mutable(index)->assign(std::move(value)); |
5322 | 0 | } |
5323 | | #endif |
5324 | 0 | inline void RedisConfigSetRequestPB::set_args(int index, const char* value) { |
5325 | 0 | GOOGLE_DCHECK(value != NULL); |
5326 | 0 | args_.Mutable(index)->assign(value); |
5327 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.RedisConfigSetRequestPB.args) |
5328 | 0 | } |
5329 | 0 | inline void RedisConfigSetRequestPB::set_args(int index, const void* value, size_t size) { |
5330 | 0 | args_.Mutable(index)->assign( |
5331 | 0 | reinterpret_cast<const char*>(value), size); |
5332 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.RedisConfigSetRequestPB.args) |
5333 | 0 | } |
5334 | 182 | inline ::std::string* RedisConfigSetRequestPB::add_args() { |
5335 | | // @@protoc_insertion_point(field_add_mutable:yb.master.RedisConfigSetRequestPB.args) |
5336 | 182 | return args_.Add(); |
5337 | 182 | } |
5338 | 182 | inline void RedisConfigSetRequestPB::add_args(const ::std::string& value) { |
5339 | 182 | args_.Add()->assign(value); |
5340 | | // @@protoc_insertion_point(field_add:yb.master.RedisConfigSetRequestPB.args) |
5341 | 182 | } |
5342 | | #if LANG_CXX11 |
5343 | 0 | inline void RedisConfigSetRequestPB::add_args(::std::string&& value) { |
5344 | 0 | args_.Add(std::move(value)); |
5345 | 0 | // @@protoc_insertion_point(field_add:yb.master.RedisConfigSetRequestPB.args) |
5346 | 0 | } |
5347 | | #endif |
5348 | 0 | inline void RedisConfigSetRequestPB::add_args(const char* value) { |
5349 | 0 | GOOGLE_DCHECK(value != NULL); |
5350 | 0 | args_.Add()->assign(value); |
5351 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.RedisConfigSetRequestPB.args) |
5352 | 0 | } |
5353 | 0 | inline void RedisConfigSetRequestPB::add_args(const void* value, size_t size) { |
5354 | 0 | args_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5355 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.RedisConfigSetRequestPB.args) |
5356 | 0 | } |
5357 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5358 | 182 | RedisConfigSetRequestPB::args() const { |
5359 | | // @@protoc_insertion_point(field_list:yb.master.RedisConfigSetRequestPB.args) |
5360 | 182 | return args_; |
5361 | 182 | } |
5362 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5363 | 0 | RedisConfigSetRequestPB::mutable_args() { |
5364 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.RedisConfigSetRequestPB.args) |
5365 | 0 | return &args_; |
5366 | 0 | } |
5367 | | |
5368 | | // ------------------------------------------------------------------- |
5369 | | |
5370 | | // RedisConfigSetResponsePB |
5371 | | |
5372 | | // optional .yb.master.MasterErrorPB error = 1; |
5373 | 910 | inline bool RedisConfigSetResponsePB::has_error() const { |
5374 | 910 | return (_has_bits_[0] & 0x00000001u) != 0; |
5375 | 910 | } |
5376 | 0 | inline void RedisConfigSetResponsePB::set_has_error() { |
5377 | 0 | _has_bits_[0] |= 0x00000001u; |
5378 | 0 | } |
5379 | 0 | inline void RedisConfigSetResponsePB::clear_has_error() { |
5380 | 0 | _has_bits_[0] &= ~0x00000001u; |
5381 | 0 | } |
5382 | 0 | inline const ::yb::master::MasterErrorPB& RedisConfigSetResponsePB::error() const { |
5383 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5384 | 0 | // @@protoc_insertion_point(field_get:yb.master.RedisConfigSetResponsePB.error) |
5385 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5386 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5387 | 0 | } |
5388 | 0 | inline ::yb::master::MasterErrorPB* RedisConfigSetResponsePB::release_error() { |
5389 | 0 | // @@protoc_insertion_point(field_release:yb.master.RedisConfigSetResponsePB.error) |
5390 | 0 | clear_has_error(); |
5391 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5392 | 0 | error_ = NULL; |
5393 | 0 | return temp; |
5394 | 0 | } |
5395 | 0 | inline ::yb::master::MasterErrorPB* RedisConfigSetResponsePB::mutable_error() { |
5396 | 0 | set_has_error(); |
5397 | 0 | if (error_ == NULL) { |
5398 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5399 | 0 | } |
5400 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigSetResponsePB.error) |
5401 | 0 | return error_; |
5402 | 0 | } |
5403 | 0 | inline void RedisConfigSetResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5404 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5405 | 0 | if (message_arena == NULL) { |
5406 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5407 | 0 | } |
5408 | 0 | if (error) { |
5409 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5410 | 0 | if (message_arena != submessage_arena) { |
5411 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5412 | 0 | message_arena, error, submessage_arena); |
5413 | 0 | } |
5414 | 0 | set_has_error(); |
5415 | 0 | } else { |
5416 | 0 | clear_has_error(); |
5417 | 0 | } |
5418 | 0 | error_ = error; |
5419 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.RedisConfigSetResponsePB.error) |
5420 | 0 | } |
5421 | | |
5422 | | // ------------------------------------------------------------------- |
5423 | | |
5424 | | // RedisConfigGetRequestPB |
5425 | | |
5426 | | // optional string keyword = 1; |
5427 | 3.52k | inline bool RedisConfigGetRequestPB::has_keyword() const { |
5428 | 3.52k | return (_has_bits_[0] & 0x00000001u) != 0; |
5429 | 3.52k | } |
5430 | 2.34k | inline void RedisConfigGetRequestPB::set_has_keyword() { |
5431 | 2.34k | _has_bits_[0] |= 0x00000001u; |
5432 | 2.34k | } |
5433 | 0 | inline void RedisConfigGetRequestPB::clear_has_keyword() { |
5434 | 0 | _has_bits_[0] &= ~0x00000001u; |
5435 | 0 | } |
5436 | 0 | inline void RedisConfigGetRequestPB::clear_keyword() { |
5437 | 0 | keyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5438 | 0 | clear_has_keyword(); |
5439 | 0 | } |
5440 | 11.3k | inline const ::std::string& RedisConfigGetRequestPB::keyword() const { |
5441 | | // @@protoc_insertion_point(field_get:yb.master.RedisConfigGetRequestPB.keyword) |
5442 | 11.3k | return keyword_.GetNoArena(); |
5443 | 11.3k | } |
5444 | 1.17k | inline void RedisConfigGetRequestPB::set_keyword(const ::std::string& value) { |
5445 | 1.17k | set_has_keyword(); |
5446 | 1.17k | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5447 | | // @@protoc_insertion_point(field_set:yb.master.RedisConfigGetRequestPB.keyword) |
5448 | 1.17k | } |
5449 | | #if LANG_CXX11 |
5450 | 0 | inline void RedisConfigGetRequestPB::set_keyword(::std::string&& value) { |
5451 | 0 | set_has_keyword(); |
5452 | 0 | keyword_.SetNoArena( |
5453 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5454 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.RedisConfigGetRequestPB.keyword) |
5455 | 0 | } |
5456 | | #endif |
5457 | 0 | inline void RedisConfigGetRequestPB::set_keyword(const char* value) { |
5458 | 0 | GOOGLE_DCHECK(value != NULL); |
5459 | 0 | set_has_keyword(); |
5460 | 0 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5461 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.RedisConfigGetRequestPB.keyword) |
5462 | 0 | } |
5463 | 0 | inline void RedisConfigGetRequestPB::set_keyword(const char* value, size_t size) { |
5464 | 0 | set_has_keyword(); |
5465 | 0 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5466 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5467 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.RedisConfigGetRequestPB.keyword) |
5468 | 0 | } |
5469 | 1.17k | inline ::std::string* RedisConfigGetRequestPB::mutable_keyword() { |
5470 | 1.17k | set_has_keyword(); |
5471 | | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigGetRequestPB.keyword) |
5472 | 1.17k | return keyword_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5473 | 1.17k | } |
5474 | 0 | inline ::std::string* RedisConfigGetRequestPB::release_keyword() { |
5475 | 0 | // @@protoc_insertion_point(field_release:yb.master.RedisConfigGetRequestPB.keyword) |
5476 | 0 | clear_has_keyword(); |
5477 | 0 | return keyword_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5478 | 0 | } |
5479 | 0 | inline void RedisConfigGetRequestPB::set_allocated_keyword(::std::string* keyword) { |
5480 | 0 | if (keyword != NULL) { |
5481 | 0 | set_has_keyword(); |
5482 | 0 | } else { |
5483 | 0 | clear_has_keyword(); |
5484 | 0 | } |
5485 | 0 | keyword_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyword); |
5486 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.RedisConfigGetRequestPB.keyword) |
5487 | 0 | } |
5488 | | |
5489 | | // ------------------------------------------------------------------- |
5490 | | |
5491 | | // RedisConfigGetResponsePB |
5492 | | |
5493 | | // optional string keyword = 1; |
5494 | 2.34k | inline bool RedisConfigGetResponsePB::has_keyword() const { |
5495 | 2.34k | return (_has_bits_[0] & 0x00000001u) != 0; |
5496 | 2.34k | } |
5497 | 2.35k | inline void RedisConfigGetResponsePB::set_has_keyword() { |
5498 | 2.35k | _has_bits_[0] |= 0x00000001u; |
5499 | 2.35k | } |
5500 | 0 | inline void RedisConfigGetResponsePB::clear_has_keyword() { |
5501 | 0 | _has_bits_[0] &= ~0x00000001u; |
5502 | 0 | } |
5503 | 0 | inline void RedisConfigGetResponsePB::clear_keyword() { |
5504 | 0 | keyword_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5505 | 0 | clear_has_keyword(); |
5506 | 0 | } |
5507 | 8.21k | inline const ::std::string& RedisConfigGetResponsePB::keyword() const { |
5508 | | // @@protoc_insertion_point(field_get:yb.master.RedisConfigGetResponsePB.keyword) |
5509 | 8.21k | return keyword_.GetNoArena(); |
5510 | 8.21k | } |
5511 | 1.17k | inline void RedisConfigGetResponsePB::set_keyword(const ::std::string& value) { |
5512 | 1.17k | set_has_keyword(); |
5513 | 1.17k | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5514 | | // @@protoc_insertion_point(field_set:yb.master.RedisConfigGetResponsePB.keyword) |
5515 | 1.17k | } |
5516 | | #if LANG_CXX11 |
5517 | 0 | inline void RedisConfigGetResponsePB::set_keyword(::std::string&& value) { |
5518 | 0 | set_has_keyword(); |
5519 | 0 | keyword_.SetNoArena( |
5520 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5521 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.RedisConfigGetResponsePB.keyword) |
5522 | 0 | } |
5523 | | #endif |
5524 | 0 | inline void RedisConfigGetResponsePB::set_keyword(const char* value) { |
5525 | 0 | GOOGLE_DCHECK(value != NULL); |
5526 | 0 | set_has_keyword(); |
5527 | 0 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5528 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.RedisConfigGetResponsePB.keyword) |
5529 | 0 | } |
5530 | 0 | inline void RedisConfigGetResponsePB::set_keyword(const char* value, size_t size) { |
5531 | 0 | set_has_keyword(); |
5532 | 0 | keyword_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5533 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5534 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.RedisConfigGetResponsePB.keyword) |
5535 | 0 | } |
5536 | 1.17k | inline ::std::string* RedisConfigGetResponsePB::mutable_keyword() { |
5537 | 1.17k | set_has_keyword(); |
5538 | | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigGetResponsePB.keyword) |
5539 | 1.17k | return keyword_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5540 | 1.17k | } |
5541 | 0 | inline ::std::string* RedisConfigGetResponsePB::release_keyword() { |
5542 | 0 | // @@protoc_insertion_point(field_release:yb.master.RedisConfigGetResponsePB.keyword) |
5543 | 0 | clear_has_keyword(); |
5544 | 0 | return keyword_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5545 | 0 | } |
5546 | 0 | inline void RedisConfigGetResponsePB::set_allocated_keyword(::std::string* keyword) { |
5547 | 0 | if (keyword != NULL) { |
5548 | 0 | set_has_keyword(); |
5549 | 0 | } else { |
5550 | 0 | clear_has_keyword(); |
5551 | 0 | } |
5552 | 0 | keyword_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyword); |
5553 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.RedisConfigGetResponsePB.keyword) |
5554 | 0 | } |
5555 | | |
5556 | | // repeated bytes args = 2; |
5557 | 5.86k | inline int RedisConfigGetResponsePB::args_size() const { |
5558 | 5.86k | return args_.size(); |
5559 | 5.86k | } |
5560 | 0 | inline void RedisConfigGetResponsePB::clear_args() { |
5561 | 0 | args_.Clear(); |
5562 | 0 | } |
5563 | 1.06k | inline const ::std::string& RedisConfigGetResponsePB::args(int index) const { |
5564 | | // @@protoc_insertion_point(field_get:yb.master.RedisConfigGetResponsePB.args) |
5565 | 1.06k | return args_.Get(index); |
5566 | 1.06k | } |
5567 | 0 | inline ::std::string* RedisConfigGetResponsePB::mutable_args(int index) { |
5568 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigGetResponsePB.args) |
5569 | 0 | return args_.Mutable(index); |
5570 | 0 | } |
5571 | 0 | inline void RedisConfigGetResponsePB::set_args(int index, const ::std::string& value) { |
5572 | 0 | // @@protoc_insertion_point(field_set:yb.master.RedisConfigGetResponsePB.args) |
5573 | 0 | args_.Mutable(index)->assign(value); |
5574 | 0 | } |
5575 | | #if LANG_CXX11 |
5576 | 0 | inline void RedisConfigGetResponsePB::set_args(int index, ::std::string&& value) { |
5577 | 0 | // @@protoc_insertion_point(field_set:yb.master.RedisConfigGetResponsePB.args) |
5578 | 0 | args_.Mutable(index)->assign(std::move(value)); |
5579 | 0 | } |
5580 | | #endif |
5581 | 0 | inline void RedisConfigGetResponsePB::set_args(int index, const char* value) { |
5582 | 0 | GOOGLE_DCHECK(value != NULL); |
5583 | 0 | args_.Mutable(index)->assign(value); |
5584 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.RedisConfigGetResponsePB.args) |
5585 | 0 | } |
5586 | 0 | inline void RedisConfigGetResponsePB::set_args(int index, const void* value, size_t size) { |
5587 | 0 | args_.Mutable(index)->assign( |
5588 | 0 | reinterpret_cast<const char*>(value), size); |
5589 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.RedisConfigGetResponsePB.args) |
5590 | 0 | } |
5591 | 355 | inline ::std::string* RedisConfigGetResponsePB::add_args() { |
5592 | | // @@protoc_insertion_point(field_add_mutable:yb.master.RedisConfigGetResponsePB.args) |
5593 | 355 | return args_.Add(); |
5594 | 355 | } |
5595 | 0 | inline void RedisConfigGetResponsePB::add_args(const ::std::string& value) { |
5596 | 0 | args_.Add()->assign(value); |
5597 | 0 | // @@protoc_insertion_point(field_add:yb.master.RedisConfigGetResponsePB.args) |
5598 | 0 | } |
5599 | | #if LANG_CXX11 |
5600 | 0 | inline void RedisConfigGetResponsePB::add_args(::std::string&& value) { |
5601 | 0 | args_.Add(std::move(value)); |
5602 | 0 | // @@protoc_insertion_point(field_add:yb.master.RedisConfigGetResponsePB.args) |
5603 | 0 | } |
5604 | | #endif |
5605 | 0 | inline void RedisConfigGetResponsePB::add_args(const char* value) { |
5606 | 0 | GOOGLE_DCHECK(value != NULL); |
5607 | 0 | args_.Add()->assign(value); |
5608 | 0 | // @@protoc_insertion_point(field_add_char:yb.master.RedisConfigGetResponsePB.args) |
5609 | 0 | } |
5610 | 0 | inline void RedisConfigGetResponsePB::add_args(const void* value, size_t size) { |
5611 | 0 | args_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5612 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.master.RedisConfigGetResponsePB.args) |
5613 | 0 | } |
5614 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5615 | 355 | RedisConfigGetResponsePB::args() const { |
5616 | | // @@protoc_insertion_point(field_list:yb.master.RedisConfigGetResponsePB.args) |
5617 | 355 | return args_; |
5618 | 355 | } |
5619 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5620 | 355 | RedisConfigGetResponsePB::mutable_args() { |
5621 | | // @@protoc_insertion_point(field_mutable_list:yb.master.RedisConfigGetResponsePB.args) |
5622 | 355 | return &args_; |
5623 | 355 | } |
5624 | | |
5625 | | // optional .yb.master.MasterErrorPB error = 3; |
5626 | 6.69k | inline bool RedisConfigGetResponsePB::has_error() const { |
5627 | 6.69k | return (_has_bits_[0] & 0x00000002u) != 0; |
5628 | 6.69k | } |
5629 | 1.64k | inline void RedisConfigGetResponsePB::set_has_error() { |
5630 | 1.64k | _has_bits_[0] |= 0x00000002u; |
5631 | 1.64k | } |
5632 | 0 | inline void RedisConfigGetResponsePB::clear_has_error() { |
5633 | 0 | _has_bits_[0] &= ~0x00000002u; |
5634 | 0 | } |
5635 | 3.28k | inline const ::yb::master::MasterErrorPB& RedisConfigGetResponsePB::error() const { |
5636 | 3.28k | const ::yb::master::MasterErrorPB* p = error_; |
5637 | | // @@protoc_insertion_point(field_get:yb.master.RedisConfigGetResponsePB.error) |
5638 | 3.28k | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5639 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5640 | 3.28k | } |
5641 | 0 | inline ::yb::master::MasterErrorPB* RedisConfigGetResponsePB::release_error() { |
5642 | 0 | // @@protoc_insertion_point(field_release:yb.master.RedisConfigGetResponsePB.error) |
5643 | 0 | clear_has_error(); |
5644 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5645 | 0 | error_ = NULL; |
5646 | 0 | return temp; |
5647 | 0 | } |
5648 | 1.64k | inline ::yb::master::MasterErrorPB* RedisConfigGetResponsePB::mutable_error() { |
5649 | 1.64k | set_has_error(); |
5650 | 1.64k | if (error_ == NULL) { |
5651 | 1.64k | error_ = new ::yb::master::MasterErrorPB; |
5652 | 1.64k | } |
5653 | | // @@protoc_insertion_point(field_mutable:yb.master.RedisConfigGetResponsePB.error) |
5654 | 1.64k | return error_; |
5655 | 1.64k | } |
5656 | 0 | inline void RedisConfigGetResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5657 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5658 | 0 | if (message_arena == NULL) { |
5659 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5660 | 0 | } |
5661 | 0 | if (error) { |
5662 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5663 | 0 | if (message_arena != submessage_arena) { |
5664 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5665 | 0 | message_arena, error, submessage_arena); |
5666 | 0 | } |
5667 | 0 | set_has_error(); |
5668 | 0 | } else { |
5669 | 0 | clear_has_error(); |
5670 | 0 | } |
5671 | 0 | error_ = error; |
5672 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.RedisConfigGetResponsePB.error) |
5673 | 0 | } |
5674 | | |
5675 | | #ifdef __GNUC__ |
5676 | | #pragma GCC diagnostic pop |
5677 | | #endif // __GNUC__ |
5678 | | // ------------------------------------------------------------------- |
5679 | | |
5680 | | // ------------------------------------------------------------------- |
5681 | | |
5682 | | // ------------------------------------------------------------------- |
5683 | | |
5684 | | // ------------------------------------------------------------------- |
5685 | | |
5686 | | // ------------------------------------------------------------------- |
5687 | | |
5688 | | // ------------------------------------------------------------------- |
5689 | | |
5690 | | // ------------------------------------------------------------------- |
5691 | | |
5692 | | // ------------------------------------------------------------------- |
5693 | | |
5694 | | // ------------------------------------------------------------------- |
5695 | | |
5696 | | // ------------------------------------------------------------------- |
5697 | | |
5698 | | // ------------------------------------------------------------------- |
5699 | | |
5700 | | // ------------------------------------------------------------------- |
5701 | | |
5702 | | // ------------------------------------------------------------------- |
5703 | | |
5704 | | // ------------------------------------------------------------------- |
5705 | | |
5706 | | // ------------------------------------------------------------------- |
5707 | | |
5708 | | // ------------------------------------------------------------------- |
5709 | | |
5710 | | // ------------------------------------------------------------------- |
5711 | | |
5712 | | |
5713 | | // @@protoc_insertion_point(namespace_scope) |
5714 | | |
5715 | | } // namespace master |
5716 | | } // namespace yb |
5717 | | |
5718 | | // @@protoc_insertion_point(global_scope) |
5719 | | |
5720 | | #endif // PROTOBUF_yb_2fmaster_2fmaster_5fclient_2eproto__INCLUDED |