/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/master/master_cluster.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_cluster.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fmaster_2fmaster_5fcluster_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fmaster_2fmaster_5fcluster_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_net.pb.h" |
33 | | #include "yb/common/common_types.pb.h" |
34 | | #include "yb/common/wire_protocol.pb.h" |
35 | | #include "yb/consensus/metadata.pb.h" |
36 | | #include "yb/master/catalog_entity_info.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_5fcluster_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[37]; |
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 InitDefaultsListTabletServersRequestPBImpl(); |
53 | | void InitDefaultsListTabletServersRequestPB(); |
54 | | void InitDefaultsListTabletServersResponsePB_EntryImpl(); |
55 | | void InitDefaultsListTabletServersResponsePB_Entry(); |
56 | | void InitDefaultsListTabletServersResponsePBImpl(); |
57 | | void InitDefaultsListTabletServersResponsePB(); |
58 | | void InitDefaultsListLiveTabletServersRequestPBImpl(); |
59 | | void InitDefaultsListLiveTabletServersRequestPB(); |
60 | | void InitDefaultsListLiveTabletServersResponsePB_EntryImpl(); |
61 | | void InitDefaultsListLiveTabletServersResponsePB_Entry(); |
62 | | void InitDefaultsListLiveTabletServersResponsePBImpl(); |
63 | | void InitDefaultsListLiveTabletServersResponsePB(); |
64 | | void InitDefaultsListMastersRequestPBImpl(); |
65 | | void InitDefaultsListMastersRequestPB(); |
66 | | void InitDefaultsListMastersResponsePBImpl(); |
67 | | void InitDefaultsListMastersResponsePB(); |
68 | | void InitDefaultsListMasterRaftPeersRequestPBImpl(); |
69 | | void InitDefaultsListMasterRaftPeersRequestPB(); |
70 | | void InitDefaultsListMasterRaftPeersResponsePBImpl(); |
71 | | void InitDefaultsListMasterRaftPeersResponsePB(); |
72 | | void InitDefaultsGetMasterRegistrationRequestPBImpl(); |
73 | | void InitDefaultsGetMasterRegistrationRequestPB(); |
74 | | void InitDefaultsGetMasterRegistrationResponsePBImpl(); |
75 | | void InitDefaultsGetMasterRegistrationResponsePB(); |
76 | | void InitDefaultsIsMasterLeaderReadyRequestPBImpl(); |
77 | | void InitDefaultsIsMasterLeaderReadyRequestPB(); |
78 | | void InitDefaultsIsMasterLeaderReadyResponsePBImpl(); |
79 | | void InitDefaultsIsMasterLeaderReadyResponsePB(); |
80 | | void InitDefaultsDumpMasterStateRequestPBImpl(); |
81 | | void InitDefaultsDumpMasterStateRequestPB(); |
82 | | void InitDefaultsDumpMasterStateResponsePBImpl(); |
83 | | void InitDefaultsDumpMasterStateResponsePB(); |
84 | | void InitDefaultsChangeLoadBalancerStateRequestPBImpl(); |
85 | | void InitDefaultsChangeLoadBalancerStateRequestPB(); |
86 | | void InitDefaultsChangeLoadBalancerStateResponsePBImpl(); |
87 | | void InitDefaultsChangeLoadBalancerStateResponsePB(); |
88 | | void InitDefaultsGetLoadBalancerStateRequestPBImpl(); |
89 | | void InitDefaultsGetLoadBalancerStateRequestPB(); |
90 | | void InitDefaultsGetLoadBalancerStateResponsePBImpl(); |
91 | | void InitDefaultsGetLoadBalancerStateResponsePB(); |
92 | | void InitDefaultsRemovedMasterUpdateRequestPBImpl(); |
93 | | void InitDefaultsRemovedMasterUpdateRequestPB(); |
94 | | void InitDefaultsRemovedMasterUpdateResponsePBImpl(); |
95 | | void InitDefaultsRemovedMasterUpdateResponsePB(); |
96 | | void InitDefaultsSetPreferredZonesRequestPBImpl(); |
97 | | void InitDefaultsSetPreferredZonesRequestPB(); |
98 | | void InitDefaultsSetPreferredZonesResponsePBImpl(); |
99 | | void InitDefaultsSetPreferredZonesResponsePB(); |
100 | | void InitDefaultsGetMasterClusterConfigRequestPBImpl(); |
101 | | void InitDefaultsGetMasterClusterConfigRequestPB(); |
102 | | void InitDefaultsGetMasterClusterConfigResponsePBImpl(); |
103 | | void InitDefaultsGetMasterClusterConfigResponsePB(); |
104 | | void InitDefaultsChangeMasterClusterConfigRequestPBImpl(); |
105 | | void InitDefaultsChangeMasterClusterConfigRequestPB(); |
106 | | void InitDefaultsChangeMasterClusterConfigResponsePBImpl(); |
107 | | void InitDefaultsChangeMasterClusterConfigResponsePB(); |
108 | | void InitDefaultsGetLoadMovePercentRequestPBImpl(); |
109 | | void InitDefaultsGetLoadMovePercentRequestPB(); |
110 | | void InitDefaultsGetLoadMovePercentResponsePBImpl(); |
111 | | void InitDefaultsGetLoadMovePercentResponsePB(); |
112 | | void InitDefaultsGetLeaderBlacklistPercentRequestPBImpl(); |
113 | | void InitDefaultsGetLeaderBlacklistPercentRequestPB(); |
114 | | void InitDefaultsIsLoadBalancedRequestPBImpl(); |
115 | | void InitDefaultsIsLoadBalancedRequestPB(); |
116 | | void InitDefaultsIsLoadBalancedResponsePBImpl(); |
117 | | void InitDefaultsIsLoadBalancedResponsePB(); |
118 | | void InitDefaultsIsLoadBalancerIdleRequestPBImpl(); |
119 | | void InitDefaultsIsLoadBalancerIdleRequestPB(); |
120 | | void InitDefaultsIsLoadBalancerIdleResponsePBImpl(); |
121 | | void InitDefaultsIsLoadBalancerIdleResponsePB(); |
122 | | void InitDefaultsAreLeadersOnPreferredOnlyRequestPBImpl(); |
123 | | void InitDefaultsAreLeadersOnPreferredOnlyRequestPB(); |
124 | | void InitDefaultsAreLeadersOnPreferredOnlyResponsePBImpl(); |
125 | | void InitDefaultsAreLeadersOnPreferredOnlyResponsePB(); |
126 | 15.8k | inline void InitDefaults() { |
127 | 15.8k | InitDefaultsListTabletServersRequestPB(); |
128 | 15.8k | InitDefaultsListTabletServersResponsePB_Entry(); |
129 | 15.8k | InitDefaultsListTabletServersResponsePB(); |
130 | 15.8k | InitDefaultsListLiveTabletServersRequestPB(); |
131 | 15.8k | InitDefaultsListLiveTabletServersResponsePB_Entry(); |
132 | 15.8k | InitDefaultsListLiveTabletServersResponsePB(); |
133 | 15.8k | InitDefaultsListMastersRequestPB(); |
134 | 15.8k | InitDefaultsListMastersResponsePB(); |
135 | 15.8k | InitDefaultsListMasterRaftPeersRequestPB(); |
136 | 15.8k | InitDefaultsListMasterRaftPeersResponsePB(); |
137 | 15.8k | InitDefaultsGetMasterRegistrationRequestPB(); |
138 | 15.8k | InitDefaultsGetMasterRegistrationResponsePB(); |
139 | 15.8k | InitDefaultsIsMasterLeaderReadyRequestPB(); |
140 | 15.8k | InitDefaultsIsMasterLeaderReadyResponsePB(); |
141 | 15.8k | InitDefaultsDumpMasterStateRequestPB(); |
142 | 15.8k | InitDefaultsDumpMasterStateResponsePB(); |
143 | 15.8k | InitDefaultsChangeLoadBalancerStateRequestPB(); |
144 | 15.8k | InitDefaultsChangeLoadBalancerStateResponsePB(); |
145 | 15.8k | InitDefaultsGetLoadBalancerStateRequestPB(); |
146 | 15.8k | InitDefaultsGetLoadBalancerStateResponsePB(); |
147 | 15.8k | InitDefaultsRemovedMasterUpdateRequestPB(); |
148 | 15.8k | InitDefaultsRemovedMasterUpdateResponsePB(); |
149 | 15.8k | InitDefaultsSetPreferredZonesRequestPB(); |
150 | 15.8k | InitDefaultsSetPreferredZonesResponsePB(); |
151 | 15.8k | InitDefaultsGetMasterClusterConfigRequestPB(); |
152 | 15.8k | InitDefaultsGetMasterClusterConfigResponsePB(); |
153 | 15.8k | InitDefaultsChangeMasterClusterConfigRequestPB(); |
154 | 15.8k | InitDefaultsChangeMasterClusterConfigResponsePB(); |
155 | 15.8k | InitDefaultsGetLoadMovePercentRequestPB(); |
156 | 15.8k | InitDefaultsGetLoadMovePercentResponsePB(); |
157 | 15.8k | InitDefaultsGetLeaderBlacklistPercentRequestPB(); |
158 | 15.8k | InitDefaultsIsLoadBalancedRequestPB(); |
159 | 15.8k | InitDefaultsIsLoadBalancedResponsePB(); |
160 | 15.8k | InitDefaultsIsLoadBalancerIdleRequestPB(); |
161 | 15.8k | InitDefaultsIsLoadBalancerIdleResponsePB(); |
162 | 15.8k | InitDefaultsAreLeadersOnPreferredOnlyRequestPB(); |
163 | 15.8k | InitDefaultsAreLeadersOnPreferredOnlyResponsePB(); |
164 | 15.8k | } |
165 | | } // namespace protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto |
166 | | namespace yb { |
167 | | namespace master { |
168 | | class AreLeadersOnPreferredOnlyRequestPB; |
169 | | class AreLeadersOnPreferredOnlyRequestPBDefaultTypeInternal; |
170 | | extern AreLeadersOnPreferredOnlyRequestPBDefaultTypeInternal _AreLeadersOnPreferredOnlyRequestPB_default_instance_; |
171 | | class AreLeadersOnPreferredOnlyResponsePB; |
172 | | class AreLeadersOnPreferredOnlyResponsePBDefaultTypeInternal; |
173 | | extern AreLeadersOnPreferredOnlyResponsePBDefaultTypeInternal _AreLeadersOnPreferredOnlyResponsePB_default_instance_; |
174 | | class ChangeLoadBalancerStateRequestPB; |
175 | | class ChangeLoadBalancerStateRequestPBDefaultTypeInternal; |
176 | | extern ChangeLoadBalancerStateRequestPBDefaultTypeInternal _ChangeLoadBalancerStateRequestPB_default_instance_; |
177 | | class ChangeLoadBalancerStateResponsePB; |
178 | | class ChangeLoadBalancerStateResponsePBDefaultTypeInternal; |
179 | | extern ChangeLoadBalancerStateResponsePBDefaultTypeInternal _ChangeLoadBalancerStateResponsePB_default_instance_; |
180 | | class ChangeMasterClusterConfigRequestPB; |
181 | | class ChangeMasterClusterConfigRequestPBDefaultTypeInternal; |
182 | | extern ChangeMasterClusterConfigRequestPBDefaultTypeInternal _ChangeMasterClusterConfigRequestPB_default_instance_; |
183 | | class ChangeMasterClusterConfigResponsePB; |
184 | | class ChangeMasterClusterConfigResponsePBDefaultTypeInternal; |
185 | | extern ChangeMasterClusterConfigResponsePBDefaultTypeInternal _ChangeMasterClusterConfigResponsePB_default_instance_; |
186 | | class DumpMasterStateRequestPB; |
187 | | class DumpMasterStateRequestPBDefaultTypeInternal; |
188 | | extern DumpMasterStateRequestPBDefaultTypeInternal _DumpMasterStateRequestPB_default_instance_; |
189 | | class DumpMasterStateResponsePB; |
190 | | class DumpMasterStateResponsePBDefaultTypeInternal; |
191 | | extern DumpMasterStateResponsePBDefaultTypeInternal _DumpMasterStateResponsePB_default_instance_; |
192 | | class GetLeaderBlacklistPercentRequestPB; |
193 | | class GetLeaderBlacklistPercentRequestPBDefaultTypeInternal; |
194 | | extern GetLeaderBlacklistPercentRequestPBDefaultTypeInternal _GetLeaderBlacklistPercentRequestPB_default_instance_; |
195 | | class GetLoadBalancerStateRequestPB; |
196 | | class GetLoadBalancerStateRequestPBDefaultTypeInternal; |
197 | | extern GetLoadBalancerStateRequestPBDefaultTypeInternal _GetLoadBalancerStateRequestPB_default_instance_; |
198 | | class GetLoadBalancerStateResponsePB; |
199 | | class GetLoadBalancerStateResponsePBDefaultTypeInternal; |
200 | | extern GetLoadBalancerStateResponsePBDefaultTypeInternal _GetLoadBalancerStateResponsePB_default_instance_; |
201 | | class GetLoadMovePercentRequestPB; |
202 | | class GetLoadMovePercentRequestPBDefaultTypeInternal; |
203 | | extern GetLoadMovePercentRequestPBDefaultTypeInternal _GetLoadMovePercentRequestPB_default_instance_; |
204 | | class GetLoadMovePercentResponsePB; |
205 | | class GetLoadMovePercentResponsePBDefaultTypeInternal; |
206 | | extern GetLoadMovePercentResponsePBDefaultTypeInternal _GetLoadMovePercentResponsePB_default_instance_; |
207 | | class GetMasterClusterConfigRequestPB; |
208 | | class GetMasterClusterConfigRequestPBDefaultTypeInternal; |
209 | | extern GetMasterClusterConfigRequestPBDefaultTypeInternal _GetMasterClusterConfigRequestPB_default_instance_; |
210 | | class GetMasterClusterConfigResponsePB; |
211 | | class GetMasterClusterConfigResponsePBDefaultTypeInternal; |
212 | | extern GetMasterClusterConfigResponsePBDefaultTypeInternal _GetMasterClusterConfigResponsePB_default_instance_; |
213 | | class GetMasterRegistrationRequestPB; |
214 | | class GetMasterRegistrationRequestPBDefaultTypeInternal; |
215 | | extern GetMasterRegistrationRequestPBDefaultTypeInternal _GetMasterRegistrationRequestPB_default_instance_; |
216 | | class GetMasterRegistrationResponsePB; |
217 | | class GetMasterRegistrationResponsePBDefaultTypeInternal; |
218 | | extern GetMasterRegistrationResponsePBDefaultTypeInternal _GetMasterRegistrationResponsePB_default_instance_; |
219 | | class IsLoadBalancedRequestPB; |
220 | | class IsLoadBalancedRequestPBDefaultTypeInternal; |
221 | | extern IsLoadBalancedRequestPBDefaultTypeInternal _IsLoadBalancedRequestPB_default_instance_; |
222 | | class IsLoadBalancedResponsePB; |
223 | | class IsLoadBalancedResponsePBDefaultTypeInternal; |
224 | | extern IsLoadBalancedResponsePBDefaultTypeInternal _IsLoadBalancedResponsePB_default_instance_; |
225 | | class IsLoadBalancerIdleRequestPB; |
226 | | class IsLoadBalancerIdleRequestPBDefaultTypeInternal; |
227 | | extern IsLoadBalancerIdleRequestPBDefaultTypeInternal _IsLoadBalancerIdleRequestPB_default_instance_; |
228 | | class IsLoadBalancerIdleResponsePB; |
229 | | class IsLoadBalancerIdleResponsePBDefaultTypeInternal; |
230 | | extern IsLoadBalancerIdleResponsePBDefaultTypeInternal _IsLoadBalancerIdleResponsePB_default_instance_; |
231 | | class IsMasterLeaderReadyRequestPB; |
232 | | class IsMasterLeaderReadyRequestPBDefaultTypeInternal; |
233 | | extern IsMasterLeaderReadyRequestPBDefaultTypeInternal _IsMasterLeaderReadyRequestPB_default_instance_; |
234 | | class IsMasterLeaderReadyResponsePB; |
235 | | class IsMasterLeaderReadyResponsePBDefaultTypeInternal; |
236 | | extern IsMasterLeaderReadyResponsePBDefaultTypeInternal _IsMasterLeaderReadyResponsePB_default_instance_; |
237 | | class ListLiveTabletServersRequestPB; |
238 | | class ListLiveTabletServersRequestPBDefaultTypeInternal; |
239 | | extern ListLiveTabletServersRequestPBDefaultTypeInternal _ListLiveTabletServersRequestPB_default_instance_; |
240 | | class ListLiveTabletServersResponsePB; |
241 | | class ListLiveTabletServersResponsePBDefaultTypeInternal; |
242 | | extern ListLiveTabletServersResponsePBDefaultTypeInternal _ListLiveTabletServersResponsePB_default_instance_; |
243 | | class ListLiveTabletServersResponsePB_Entry; |
244 | | class ListLiveTabletServersResponsePB_EntryDefaultTypeInternal; |
245 | | extern ListLiveTabletServersResponsePB_EntryDefaultTypeInternal _ListLiveTabletServersResponsePB_Entry_default_instance_; |
246 | | class ListMasterRaftPeersRequestPB; |
247 | | class ListMasterRaftPeersRequestPBDefaultTypeInternal; |
248 | | extern ListMasterRaftPeersRequestPBDefaultTypeInternal _ListMasterRaftPeersRequestPB_default_instance_; |
249 | | class ListMasterRaftPeersResponsePB; |
250 | | class ListMasterRaftPeersResponsePBDefaultTypeInternal; |
251 | | extern ListMasterRaftPeersResponsePBDefaultTypeInternal _ListMasterRaftPeersResponsePB_default_instance_; |
252 | | class ListMastersRequestPB; |
253 | | class ListMastersRequestPBDefaultTypeInternal; |
254 | | extern ListMastersRequestPBDefaultTypeInternal _ListMastersRequestPB_default_instance_; |
255 | | class ListMastersResponsePB; |
256 | | class ListMastersResponsePBDefaultTypeInternal; |
257 | | extern ListMastersResponsePBDefaultTypeInternal _ListMastersResponsePB_default_instance_; |
258 | | class ListTabletServersRequestPB; |
259 | | class ListTabletServersRequestPBDefaultTypeInternal; |
260 | | extern ListTabletServersRequestPBDefaultTypeInternal _ListTabletServersRequestPB_default_instance_; |
261 | | class ListTabletServersResponsePB; |
262 | | class ListTabletServersResponsePBDefaultTypeInternal; |
263 | | extern ListTabletServersResponsePBDefaultTypeInternal _ListTabletServersResponsePB_default_instance_; |
264 | | class ListTabletServersResponsePB_Entry; |
265 | | class ListTabletServersResponsePB_EntryDefaultTypeInternal; |
266 | | extern ListTabletServersResponsePB_EntryDefaultTypeInternal _ListTabletServersResponsePB_Entry_default_instance_; |
267 | | class RemovedMasterUpdateRequestPB; |
268 | | class RemovedMasterUpdateRequestPBDefaultTypeInternal; |
269 | | extern RemovedMasterUpdateRequestPBDefaultTypeInternal _RemovedMasterUpdateRequestPB_default_instance_; |
270 | | class RemovedMasterUpdateResponsePB; |
271 | | class RemovedMasterUpdateResponsePBDefaultTypeInternal; |
272 | | extern RemovedMasterUpdateResponsePBDefaultTypeInternal _RemovedMasterUpdateResponsePB_default_instance_; |
273 | | class SetPreferredZonesRequestPB; |
274 | | class SetPreferredZonesRequestPBDefaultTypeInternal; |
275 | | extern SetPreferredZonesRequestPBDefaultTypeInternal _SetPreferredZonesRequestPB_default_instance_; |
276 | | class SetPreferredZonesResponsePB; |
277 | | class SetPreferredZonesResponsePBDefaultTypeInternal; |
278 | | extern SetPreferredZonesResponsePBDefaultTypeInternal _SetPreferredZonesResponsePB_default_instance_; |
279 | | } // namespace master |
280 | | } // namespace yb |
281 | | namespace yb { |
282 | | namespace master { |
283 | | |
284 | | // =================================================================== |
285 | | |
286 | | class ListTabletServersRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListTabletServersRequestPB) */ { |
287 | | public: |
288 | | ListTabletServersRequestPB(); |
289 | | virtual ~ListTabletServersRequestPB(); |
290 | | |
291 | | ListTabletServersRequestPB(const ListTabletServersRequestPB& from); |
292 | | |
293 | 0 | inline ListTabletServersRequestPB& operator=(const ListTabletServersRequestPB& from) { |
294 | 0 | CopyFrom(from); |
295 | 0 | return *this; |
296 | 0 | } |
297 | | #if LANG_CXX11 |
298 | | ListTabletServersRequestPB(ListTabletServersRequestPB&& from) noexcept |
299 | 0 | : ListTabletServersRequestPB() { |
300 | 0 | *this = ::std::move(from); |
301 | 0 | } |
302 | | |
303 | 0 | inline ListTabletServersRequestPB& operator=(ListTabletServersRequestPB&& from) noexcept { |
304 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
305 | 0 | if (this != &from) InternalSwap(&from); |
306 | 0 | } else { |
307 | 0 | CopyFrom(from); |
308 | 0 | } |
309 | 0 | return *this; |
310 | 0 | } |
311 | | #endif |
312 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
313 | 0 | return _internal_metadata_.unknown_fields(); |
314 | 0 | } |
315 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
316 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
317 | 0 | } |
318 | | |
319 | | static const ::google::protobuf::Descriptor* descriptor(); |
320 | | static const ListTabletServersRequestPB& default_instance(); |
321 | | |
322 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
323 | 80.5k | static inline const ListTabletServersRequestPB* internal_default_instance() { |
324 | 80.5k | return reinterpret_cast<const ListTabletServersRequestPB*>( |
325 | 80.5k | &_ListTabletServersRequestPB_default_instance_); |
326 | 80.5k | } |
327 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
328 | | 0; |
329 | | |
330 | | void Swap(ListTabletServersRequestPB* other); |
331 | 0 | friend void swap(ListTabletServersRequestPB& a, ListTabletServersRequestPB& b) { |
332 | 0 | a.Swap(&b); |
333 | 0 | } |
334 | | |
335 | | // implements Message ---------------------------------------------- |
336 | | |
337 | 0 | inline ListTabletServersRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
338 | | |
339 | | ListTabletServersRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
340 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
341 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
342 | | void CopyFrom(const ListTabletServersRequestPB& from); |
343 | | void MergeFrom(const ListTabletServersRequestPB& from); |
344 | | void Clear() PROTOBUF_FINAL; |
345 | | bool IsInitialized() const PROTOBUF_FINAL; |
346 | | |
347 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
348 | | bool MergePartialFromCodedStream( |
349 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
350 | | void SerializeWithCachedSizes( |
351 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
352 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
353 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
354 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
355 | | private: |
356 | | void SharedCtor(); |
357 | | void SharedDtor(); |
358 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
359 | | void InternalSwap(ListTabletServersRequestPB* other); |
360 | | private: |
361 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
362 | 0 | return NULL; |
363 | 0 | } |
364 | 0 | inline void* MaybeArenaPtr() const { |
365 | 0 | return NULL; |
366 | 0 | } |
367 | | public: |
368 | | |
369 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
370 | | |
371 | | // nested types ---------------------------------------------------- |
372 | | |
373 | | // accessors ------------------------------------------------------- |
374 | | |
375 | | // optional bool primary_only = 1 [default = false]; |
376 | | bool has_primary_only() const; |
377 | | void clear_primary_only(); |
378 | | static const int kPrimaryOnlyFieldNumber = 1; |
379 | | bool primary_only() const; |
380 | | void set_primary_only(bool value); |
381 | | |
382 | | // @@protoc_insertion_point(class_scope:yb.master.ListTabletServersRequestPB) |
383 | | private: |
384 | | void set_has_primary_only(); |
385 | | void clear_has_primary_only(); |
386 | | |
387 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
388 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
389 | | mutable int _cached_size_; |
390 | | bool primary_only_; |
391 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
392 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersRequestPBImpl(); |
393 | | }; |
394 | | // ------------------------------------------------------------------- |
395 | | |
396 | | class ListTabletServersResponsePB_Entry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListTabletServersResponsePB.Entry) */ { |
397 | | public: |
398 | | ListTabletServersResponsePB_Entry(); |
399 | | virtual ~ListTabletServersResponsePB_Entry(); |
400 | | |
401 | | ListTabletServersResponsePB_Entry(const ListTabletServersResponsePB_Entry& from); |
402 | | |
403 | 0 | inline ListTabletServersResponsePB_Entry& operator=(const ListTabletServersResponsePB_Entry& from) { |
404 | 0 | CopyFrom(from); |
405 | 0 | return *this; |
406 | 0 | } |
407 | | #if LANG_CXX11 |
408 | | ListTabletServersResponsePB_Entry(ListTabletServersResponsePB_Entry&& from) noexcept |
409 | 0 | : ListTabletServersResponsePB_Entry() { |
410 | 0 | *this = ::std::move(from); |
411 | 0 | } |
412 | | |
413 | 0 | inline ListTabletServersResponsePB_Entry& operator=(ListTabletServersResponsePB_Entry&& from) noexcept { |
414 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
415 | 0 | if (this != &from) InternalSwap(&from); |
416 | 0 | } else { |
417 | 0 | CopyFrom(from); |
418 | 0 | } |
419 | 0 | return *this; |
420 | 0 | } |
421 | | #endif |
422 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
423 | 0 | return _internal_metadata_.unknown_fields(); |
424 | 0 | } |
425 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
426 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
427 | 0 | } |
428 | | |
429 | | static const ::google::protobuf::Descriptor* descriptor(); |
430 | | static const ListTabletServersResponsePB_Entry& default_instance(); |
431 | | |
432 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
433 | 158k | static inline const ListTabletServersResponsePB_Entry* internal_default_instance() { |
434 | 158k | return reinterpret_cast<const ListTabletServersResponsePB_Entry*>( |
435 | 158k | &_ListTabletServersResponsePB_Entry_default_instance_); |
436 | 158k | } |
437 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
438 | | 1; |
439 | | |
440 | | void Swap(ListTabletServersResponsePB_Entry* other); |
441 | 0 | friend void swap(ListTabletServersResponsePB_Entry& a, ListTabletServersResponsePB_Entry& b) { |
442 | 0 | a.Swap(&b); |
443 | 0 | } |
444 | | |
445 | | // implements Message ---------------------------------------------- |
446 | | |
447 | 0 | inline ListTabletServersResponsePB_Entry* New() const PROTOBUF_FINAL { return New(NULL); } |
448 | | |
449 | | ListTabletServersResponsePB_Entry* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
450 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
451 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
452 | | void CopyFrom(const ListTabletServersResponsePB_Entry& from); |
453 | | void MergeFrom(const ListTabletServersResponsePB_Entry& from); |
454 | | void Clear() PROTOBUF_FINAL; |
455 | | bool IsInitialized() const PROTOBUF_FINAL; |
456 | | |
457 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
458 | | bool MergePartialFromCodedStream( |
459 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
460 | | void SerializeWithCachedSizes( |
461 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
462 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
463 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
464 | 20.4k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
465 | | private: |
466 | | void SharedCtor(); |
467 | | void SharedDtor(); |
468 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
469 | | void InternalSwap(ListTabletServersResponsePB_Entry* other); |
470 | | private: |
471 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
472 | 0 | return NULL; |
473 | 0 | } |
474 | 0 | inline void* MaybeArenaPtr() const { |
475 | 0 | return NULL; |
476 | 0 | } |
477 | | public: |
478 | | |
479 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
480 | | |
481 | | // nested types ---------------------------------------------------- |
482 | | |
483 | | // accessors ------------------------------------------------------- |
484 | | |
485 | | // required .yb.NodeInstancePB instance_id = 1; |
486 | | bool has_instance_id() const; |
487 | | void clear_instance_id(); |
488 | | static const int kInstanceIdFieldNumber = 1; |
489 | | const ::yb::NodeInstancePB& instance_id() const; |
490 | | ::yb::NodeInstancePB* release_instance_id(); |
491 | | ::yb::NodeInstancePB* mutable_instance_id(); |
492 | | void set_allocated_instance_id(::yb::NodeInstancePB* instance_id); |
493 | | |
494 | | // optional .yb.master.TSRegistrationPB registration = 2; |
495 | | bool has_registration() const; |
496 | | void clear_registration(); |
497 | | static const int kRegistrationFieldNumber = 2; |
498 | | const ::yb::master::TSRegistrationPB& registration() const; |
499 | | ::yb::master::TSRegistrationPB* release_registration(); |
500 | | ::yb::master::TSRegistrationPB* mutable_registration(); |
501 | | void set_allocated_registration(::yb::master::TSRegistrationPB* registration); |
502 | | |
503 | | // optional .yb.master.TServerMetricsPB metrics = 5; |
504 | | bool has_metrics() const; |
505 | | void clear_metrics(); |
506 | | static const int kMetricsFieldNumber = 5; |
507 | | const ::yb::master::TServerMetricsPB& metrics() const; |
508 | | ::yb::master::TServerMetricsPB* release_metrics(); |
509 | | ::yb::master::TServerMetricsPB* mutable_metrics(); |
510 | | void set_allocated_metrics(::yb::master::TServerMetricsPB* metrics); |
511 | | |
512 | | // optional int32 millis_since_heartbeat = 3; |
513 | | bool has_millis_since_heartbeat() const; |
514 | | void clear_millis_since_heartbeat(); |
515 | | static const int kMillisSinceHeartbeatFieldNumber = 3; |
516 | | ::google::protobuf::int32 millis_since_heartbeat() const; |
517 | | void set_millis_since_heartbeat(::google::protobuf::int32 value); |
518 | | |
519 | | // optional bool alive = 4; |
520 | | bool has_alive() const; |
521 | | void clear_alive(); |
522 | | static const int kAliveFieldNumber = 4; |
523 | | bool alive() const; |
524 | | void set_alive(bool value); |
525 | | |
526 | | // @@protoc_insertion_point(class_scope:yb.master.ListTabletServersResponsePB.Entry) |
527 | | private: |
528 | | void set_has_instance_id(); |
529 | | void clear_has_instance_id(); |
530 | | void set_has_registration(); |
531 | | void clear_has_registration(); |
532 | | void set_has_millis_since_heartbeat(); |
533 | | void clear_has_millis_since_heartbeat(); |
534 | | void set_has_alive(); |
535 | | void clear_has_alive(); |
536 | | void set_has_metrics(); |
537 | | void clear_has_metrics(); |
538 | | |
539 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
540 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
541 | | mutable int _cached_size_; |
542 | | ::yb::NodeInstancePB* instance_id_; |
543 | | ::yb::master::TSRegistrationPB* registration_; |
544 | | ::yb::master::TServerMetricsPB* metrics_; |
545 | | ::google::protobuf::int32 millis_since_heartbeat_; |
546 | | bool alive_; |
547 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
548 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePB_EntryImpl(); |
549 | | }; |
550 | | // ------------------------------------------------------------------- |
551 | | |
552 | | class ListTabletServersResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListTabletServersResponsePB) */ { |
553 | | public: |
554 | | ListTabletServersResponsePB(); |
555 | | virtual ~ListTabletServersResponsePB(); |
556 | | |
557 | | ListTabletServersResponsePB(const ListTabletServersResponsePB& from); |
558 | | |
559 | 0 | inline ListTabletServersResponsePB& operator=(const ListTabletServersResponsePB& from) { |
560 | 0 | CopyFrom(from); |
561 | 0 | return *this; |
562 | 0 | } |
563 | | #if LANG_CXX11 |
564 | | ListTabletServersResponsePB(ListTabletServersResponsePB&& from) noexcept |
565 | 0 | : ListTabletServersResponsePB() { |
566 | 0 | *this = ::std::move(from); |
567 | 0 | } Unexecuted instantiation: _ZN2yb6master27ListTabletServersResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb6master27ListTabletServersResponsePBC1EOS1_ |
568 | | |
569 | 0 | inline ListTabletServersResponsePB& operator=(ListTabletServersResponsePB&& from) noexcept { |
570 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
571 | 0 | if (this != &from) InternalSwap(&from); |
572 | 0 | } else { |
573 | 0 | CopyFrom(from); |
574 | 0 | } |
575 | 0 | return *this; |
576 | 0 | } |
577 | | #endif |
578 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
579 | 0 | return _internal_metadata_.unknown_fields(); |
580 | 0 | } |
581 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
582 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
583 | 0 | } |
584 | | |
585 | | static const ::google::protobuf::Descriptor* descriptor(); |
586 | | static const ListTabletServersResponsePB& default_instance(); |
587 | | |
588 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
589 | 145k | static inline const ListTabletServersResponsePB* internal_default_instance() { |
590 | 145k | return reinterpret_cast<const ListTabletServersResponsePB*>( |
591 | 145k | &_ListTabletServersResponsePB_default_instance_); |
592 | 145k | } |
593 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
594 | | 2; |
595 | | |
596 | | void Swap(ListTabletServersResponsePB* other); |
597 | 0 | friend void swap(ListTabletServersResponsePB& a, ListTabletServersResponsePB& b) { |
598 | 0 | a.Swap(&b); |
599 | 0 | } |
600 | | |
601 | | // implements Message ---------------------------------------------- |
602 | | |
603 | 0 | inline ListTabletServersResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
604 | | |
605 | | ListTabletServersResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
606 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
607 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
608 | | void CopyFrom(const ListTabletServersResponsePB& from); |
609 | | void MergeFrom(const ListTabletServersResponsePB& from); |
610 | | void Clear() PROTOBUF_FINAL; |
611 | | bool IsInitialized() const PROTOBUF_FINAL; |
612 | | |
613 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
614 | | bool MergePartialFromCodedStream( |
615 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
616 | | void SerializeWithCachedSizes( |
617 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
618 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
619 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
620 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
621 | | private: |
622 | | void SharedCtor(); |
623 | | void SharedDtor(); |
624 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
625 | | void InternalSwap(ListTabletServersResponsePB* other); |
626 | | private: |
627 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
628 | 0 | return NULL; |
629 | 0 | } |
630 | 0 | inline void* MaybeArenaPtr() const { |
631 | 0 | return NULL; |
632 | 0 | } |
633 | | public: |
634 | | |
635 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
636 | | |
637 | | // nested types ---------------------------------------------------- |
638 | | |
639 | | typedef ListTabletServersResponsePB_Entry Entry; |
640 | | |
641 | | // accessors ------------------------------------------------------- |
642 | | |
643 | | // repeated .yb.master.ListTabletServersResponsePB.Entry servers = 2; |
644 | | int servers_size() const; |
645 | | void clear_servers(); |
646 | | static const int kServersFieldNumber = 2; |
647 | | const ::yb::master::ListTabletServersResponsePB_Entry& servers(int index) const; |
648 | | ::yb::master::ListTabletServersResponsePB_Entry* mutable_servers(int index); |
649 | | ::yb::master::ListTabletServersResponsePB_Entry* add_servers(); |
650 | | ::google::protobuf::RepeatedPtrField< ::yb::master::ListTabletServersResponsePB_Entry >* |
651 | | mutable_servers(); |
652 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::ListTabletServersResponsePB_Entry >& |
653 | | servers() const; |
654 | | |
655 | | // optional .yb.master.MasterErrorPB error = 1; |
656 | | bool has_error() const; |
657 | | void clear_error(); |
658 | | static const int kErrorFieldNumber = 1; |
659 | | const ::yb::master::MasterErrorPB& error() const; |
660 | | ::yb::master::MasterErrorPB* release_error(); |
661 | | ::yb::master::MasterErrorPB* mutable_error(); |
662 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
663 | | |
664 | | // @@protoc_insertion_point(class_scope:yb.master.ListTabletServersResponsePB) |
665 | | private: |
666 | | void set_has_error(); |
667 | | void clear_has_error(); |
668 | | |
669 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
670 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
671 | | mutable int _cached_size_; |
672 | | ::google::protobuf::RepeatedPtrField< ::yb::master::ListTabletServersResponsePB_Entry > servers_; |
673 | | ::yb::master::MasterErrorPB* error_; |
674 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
675 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListTabletServersResponsePBImpl(); |
676 | | }; |
677 | | // ------------------------------------------------------------------- |
678 | | |
679 | | class ListLiveTabletServersRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListLiveTabletServersRequestPB) */ { |
680 | | public: |
681 | | ListLiveTabletServersRequestPB(); |
682 | | virtual ~ListLiveTabletServersRequestPB(); |
683 | | |
684 | | ListLiveTabletServersRequestPB(const ListLiveTabletServersRequestPB& from); |
685 | | |
686 | 0 | inline ListLiveTabletServersRequestPB& operator=(const ListLiveTabletServersRequestPB& from) { |
687 | 0 | CopyFrom(from); |
688 | 0 | return *this; |
689 | 0 | } |
690 | | #if LANG_CXX11 |
691 | | ListLiveTabletServersRequestPB(ListLiveTabletServersRequestPB&& from) noexcept |
692 | 0 | : ListLiveTabletServersRequestPB() { |
693 | 0 | *this = ::std::move(from); |
694 | 0 | } |
695 | | |
696 | 0 | inline ListLiveTabletServersRequestPB& operator=(ListLiveTabletServersRequestPB&& from) noexcept { |
697 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
698 | 0 | if (this != &from) InternalSwap(&from); |
699 | 0 | } else { |
700 | 0 | CopyFrom(from); |
701 | 0 | } |
702 | 0 | return *this; |
703 | 0 | } |
704 | | #endif |
705 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
706 | 0 | return _internal_metadata_.unknown_fields(); |
707 | 0 | } |
708 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
709 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
710 | 0 | } |
711 | | |
712 | | static const ::google::protobuf::Descriptor* descriptor(); |
713 | | static const ListLiveTabletServersRequestPB& default_instance(); |
714 | | |
715 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
716 | 15.8k | static inline const ListLiveTabletServersRequestPB* internal_default_instance() { |
717 | 15.8k | return reinterpret_cast<const ListLiveTabletServersRequestPB*>( |
718 | 15.8k | &_ListLiveTabletServersRequestPB_default_instance_); |
719 | 15.8k | } |
720 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
721 | | 3; |
722 | | |
723 | | void Swap(ListLiveTabletServersRequestPB* other); |
724 | 0 | friend void swap(ListLiveTabletServersRequestPB& a, ListLiveTabletServersRequestPB& b) { |
725 | 0 | a.Swap(&b); |
726 | 0 | } |
727 | | |
728 | | // implements Message ---------------------------------------------- |
729 | | |
730 | 0 | inline ListLiveTabletServersRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
731 | | |
732 | | ListLiveTabletServersRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
733 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
734 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
735 | | void CopyFrom(const ListLiveTabletServersRequestPB& from); |
736 | | void MergeFrom(const ListLiveTabletServersRequestPB& from); |
737 | | void Clear() PROTOBUF_FINAL; |
738 | | bool IsInitialized() const PROTOBUF_FINAL; |
739 | | |
740 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
741 | | bool MergePartialFromCodedStream( |
742 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
743 | | void SerializeWithCachedSizes( |
744 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
745 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
746 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
747 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
748 | | private: |
749 | | void SharedCtor(); |
750 | | void SharedDtor(); |
751 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
752 | | void InternalSwap(ListLiveTabletServersRequestPB* other); |
753 | | private: |
754 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
755 | 0 | return NULL; |
756 | 0 | } |
757 | 0 | inline void* MaybeArenaPtr() const { |
758 | 0 | return NULL; |
759 | 0 | } |
760 | | public: |
761 | | |
762 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
763 | | |
764 | | // nested types ---------------------------------------------------- |
765 | | |
766 | | // accessors ------------------------------------------------------- |
767 | | |
768 | | // optional bool primary_only = 1 [default = false]; |
769 | | bool has_primary_only() const; |
770 | | void clear_primary_only(); |
771 | | static const int kPrimaryOnlyFieldNumber = 1; |
772 | | bool primary_only() const; |
773 | | void set_primary_only(bool value); |
774 | | |
775 | | // @@protoc_insertion_point(class_scope:yb.master.ListLiveTabletServersRequestPB) |
776 | | private: |
777 | | void set_has_primary_only(); |
778 | | void clear_has_primary_only(); |
779 | | |
780 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
781 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
782 | | mutable int _cached_size_; |
783 | | bool primary_only_; |
784 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
785 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersRequestPBImpl(); |
786 | | }; |
787 | | // ------------------------------------------------------------------- |
788 | | |
789 | | class ListLiveTabletServersResponsePB_Entry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListLiveTabletServersResponsePB.Entry) */ { |
790 | | public: |
791 | | ListLiveTabletServersResponsePB_Entry(); |
792 | | virtual ~ListLiveTabletServersResponsePB_Entry(); |
793 | | |
794 | | ListLiveTabletServersResponsePB_Entry(const ListLiveTabletServersResponsePB_Entry& from); |
795 | | |
796 | 0 | inline ListLiveTabletServersResponsePB_Entry& operator=(const ListLiveTabletServersResponsePB_Entry& from) { |
797 | 0 | CopyFrom(from); |
798 | 0 | return *this; |
799 | 0 | } |
800 | | #if LANG_CXX11 |
801 | | ListLiveTabletServersResponsePB_Entry(ListLiveTabletServersResponsePB_Entry&& from) noexcept |
802 | 0 | : ListLiveTabletServersResponsePB_Entry() { |
803 | 0 | *this = ::std::move(from); |
804 | 0 | } |
805 | | |
806 | 0 | inline ListLiveTabletServersResponsePB_Entry& operator=(ListLiveTabletServersResponsePB_Entry&& from) noexcept { |
807 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
808 | 0 | if (this != &from) InternalSwap(&from); |
809 | 0 | } else { |
810 | 0 | CopyFrom(from); |
811 | 0 | } |
812 | 0 | return *this; |
813 | 0 | } |
814 | | #endif |
815 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
816 | 0 | return _internal_metadata_.unknown_fields(); |
817 | 0 | } |
818 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
819 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
820 | 0 | } |
821 | | |
822 | | static const ::google::protobuf::Descriptor* descriptor(); |
823 | | static const ListLiveTabletServersResponsePB_Entry& default_instance(); |
824 | | |
825 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
826 | 15.8k | static inline const ListLiveTabletServersResponsePB_Entry* internal_default_instance() { |
827 | 15.8k | return reinterpret_cast<const ListLiveTabletServersResponsePB_Entry*>( |
828 | 15.8k | &_ListLiveTabletServersResponsePB_Entry_default_instance_); |
829 | 15.8k | } |
830 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
831 | | 4; |
832 | | |
833 | | void Swap(ListLiveTabletServersResponsePB_Entry* other); |
834 | 0 | friend void swap(ListLiveTabletServersResponsePB_Entry& a, ListLiveTabletServersResponsePB_Entry& b) { |
835 | 0 | a.Swap(&b); |
836 | 0 | } |
837 | | |
838 | | // implements Message ---------------------------------------------- |
839 | | |
840 | 0 | inline ListLiveTabletServersResponsePB_Entry* New() const PROTOBUF_FINAL { return New(NULL); } |
841 | | |
842 | | ListLiveTabletServersResponsePB_Entry* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
843 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
844 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
845 | | void CopyFrom(const ListLiveTabletServersResponsePB_Entry& from); |
846 | | void MergeFrom(const ListLiveTabletServersResponsePB_Entry& from); |
847 | | void Clear() PROTOBUF_FINAL; |
848 | | bool IsInitialized() const PROTOBUF_FINAL; |
849 | | |
850 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
851 | | bool MergePartialFromCodedStream( |
852 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
853 | | void SerializeWithCachedSizes( |
854 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
855 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
856 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
857 | 6 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
858 | | private: |
859 | | void SharedCtor(); |
860 | | void SharedDtor(); |
861 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
862 | | void InternalSwap(ListLiveTabletServersResponsePB_Entry* other); |
863 | | private: |
864 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
865 | 0 | return NULL; |
866 | 0 | } |
867 | 0 | inline void* MaybeArenaPtr() const { |
868 | 0 | return NULL; |
869 | 0 | } |
870 | | public: |
871 | | |
872 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
873 | | |
874 | | // nested types ---------------------------------------------------- |
875 | | |
876 | | // accessors ------------------------------------------------------- |
877 | | |
878 | | // required .yb.NodeInstancePB instance_id = 1; |
879 | | bool has_instance_id() const; |
880 | | void clear_instance_id(); |
881 | | static const int kInstanceIdFieldNumber = 1; |
882 | | const ::yb::NodeInstancePB& instance_id() const; |
883 | | ::yb::NodeInstancePB* release_instance_id(); |
884 | | ::yb::NodeInstancePB* mutable_instance_id(); |
885 | | void set_allocated_instance_id(::yb::NodeInstancePB* instance_id); |
886 | | |
887 | | // optional .yb.master.TSRegistrationPB registration = 2; |
888 | | bool has_registration() const; |
889 | | void clear_registration(); |
890 | | static const int kRegistrationFieldNumber = 2; |
891 | | const ::yb::master::TSRegistrationPB& registration() const; |
892 | | ::yb::master::TSRegistrationPB* release_registration(); |
893 | | ::yb::master::TSRegistrationPB* mutable_registration(); |
894 | | void set_allocated_registration(::yb::master::TSRegistrationPB* registration); |
895 | | |
896 | | // optional bool isFromReadReplica = 3; |
897 | | bool has_isfromreadreplica() const; |
898 | | void clear_isfromreadreplica(); |
899 | | static const int kIsFromReadReplicaFieldNumber = 3; |
900 | | bool isfromreadreplica() const; |
901 | | void set_isfromreadreplica(bool value); |
902 | | |
903 | | // @@protoc_insertion_point(class_scope:yb.master.ListLiveTabletServersResponsePB.Entry) |
904 | | private: |
905 | | void set_has_instance_id(); |
906 | | void clear_has_instance_id(); |
907 | | void set_has_registration(); |
908 | | void clear_has_registration(); |
909 | | void set_has_isfromreadreplica(); |
910 | | void clear_has_isfromreadreplica(); |
911 | | |
912 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
913 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
914 | | mutable int _cached_size_; |
915 | | ::yb::NodeInstancePB* instance_id_; |
916 | | ::yb::master::TSRegistrationPB* registration_; |
917 | | bool isfromreadreplica_; |
918 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
919 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePB_EntryImpl(); |
920 | | }; |
921 | | // ------------------------------------------------------------------- |
922 | | |
923 | | class ListLiveTabletServersResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListLiveTabletServersResponsePB) */ { |
924 | | public: |
925 | | ListLiveTabletServersResponsePB(); |
926 | | virtual ~ListLiveTabletServersResponsePB(); |
927 | | |
928 | | ListLiveTabletServersResponsePB(const ListLiveTabletServersResponsePB& from); |
929 | | |
930 | 0 | inline ListLiveTabletServersResponsePB& operator=(const ListLiveTabletServersResponsePB& from) { |
931 | 0 | CopyFrom(from); |
932 | 0 | return *this; |
933 | 0 | } |
934 | | #if LANG_CXX11 |
935 | | ListLiveTabletServersResponsePB(ListLiveTabletServersResponsePB&& from) noexcept |
936 | 0 | : ListLiveTabletServersResponsePB() { |
937 | 0 | *this = ::std::move(from); |
938 | 0 | } |
939 | | |
940 | 0 | inline ListLiveTabletServersResponsePB& operator=(ListLiveTabletServersResponsePB&& from) noexcept { |
941 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
942 | 0 | if (this != &from) InternalSwap(&from); |
943 | 0 | } else { |
944 | 0 | CopyFrom(from); |
945 | 0 | } |
946 | 0 | return *this; |
947 | 0 | } |
948 | | #endif |
949 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
950 | 0 | return _internal_metadata_.unknown_fields(); |
951 | 0 | } |
952 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
953 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
954 | 0 | } |
955 | | |
956 | | static const ::google::protobuf::Descriptor* descriptor(); |
957 | | static const ListLiveTabletServersResponsePB& default_instance(); |
958 | | |
959 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
960 | 15.8k | static inline const ListLiveTabletServersResponsePB* internal_default_instance() { |
961 | 15.8k | return reinterpret_cast<const ListLiveTabletServersResponsePB*>( |
962 | 15.8k | &_ListLiveTabletServersResponsePB_default_instance_); |
963 | 15.8k | } |
964 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
965 | | 5; |
966 | | |
967 | | void Swap(ListLiveTabletServersResponsePB* other); |
968 | 0 | friend void swap(ListLiveTabletServersResponsePB& a, ListLiveTabletServersResponsePB& b) { |
969 | 0 | a.Swap(&b); |
970 | 0 | } |
971 | | |
972 | | // implements Message ---------------------------------------------- |
973 | | |
974 | 0 | inline ListLiveTabletServersResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
975 | | |
976 | | ListLiveTabletServersResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
977 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
978 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
979 | | void CopyFrom(const ListLiveTabletServersResponsePB& from); |
980 | | void MergeFrom(const ListLiveTabletServersResponsePB& from); |
981 | | void Clear() PROTOBUF_FINAL; |
982 | | bool IsInitialized() const PROTOBUF_FINAL; |
983 | | |
984 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
985 | | bool MergePartialFromCodedStream( |
986 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
987 | | void SerializeWithCachedSizes( |
988 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
989 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
990 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
991 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
992 | | private: |
993 | | void SharedCtor(); |
994 | | void SharedDtor(); |
995 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
996 | | void InternalSwap(ListLiveTabletServersResponsePB* other); |
997 | | private: |
998 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
999 | 0 | return NULL; |
1000 | 0 | } |
1001 | 0 | inline void* MaybeArenaPtr() const { |
1002 | 0 | return NULL; |
1003 | 0 | } |
1004 | | public: |
1005 | | |
1006 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1007 | | |
1008 | | // nested types ---------------------------------------------------- |
1009 | | |
1010 | | typedef ListLiveTabletServersResponsePB_Entry Entry; |
1011 | | |
1012 | | // accessors ------------------------------------------------------- |
1013 | | |
1014 | | // repeated .yb.master.ListLiveTabletServersResponsePB.Entry servers = 2; |
1015 | | int servers_size() const; |
1016 | | void clear_servers(); |
1017 | | static const int kServersFieldNumber = 2; |
1018 | | const ::yb::master::ListLiveTabletServersResponsePB_Entry& servers(int index) const; |
1019 | | ::yb::master::ListLiveTabletServersResponsePB_Entry* mutable_servers(int index); |
1020 | | ::yb::master::ListLiveTabletServersResponsePB_Entry* add_servers(); |
1021 | | ::google::protobuf::RepeatedPtrField< ::yb::master::ListLiveTabletServersResponsePB_Entry >* |
1022 | | mutable_servers(); |
1023 | | const ::google::protobuf::RepeatedPtrField< ::yb::master::ListLiveTabletServersResponsePB_Entry >& |
1024 | | servers() const; |
1025 | | |
1026 | | // optional .yb.master.MasterErrorPB error = 1; |
1027 | | bool has_error() const; |
1028 | | void clear_error(); |
1029 | | static const int kErrorFieldNumber = 1; |
1030 | | const ::yb::master::MasterErrorPB& error() const; |
1031 | | ::yb::master::MasterErrorPB* release_error(); |
1032 | | ::yb::master::MasterErrorPB* mutable_error(); |
1033 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1034 | | |
1035 | | // @@protoc_insertion_point(class_scope:yb.master.ListLiveTabletServersResponsePB) |
1036 | | private: |
1037 | | void set_has_error(); |
1038 | | void clear_has_error(); |
1039 | | |
1040 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1041 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1042 | | mutable int _cached_size_; |
1043 | | ::google::protobuf::RepeatedPtrField< ::yb::master::ListLiveTabletServersResponsePB_Entry > servers_; |
1044 | | ::yb::master::MasterErrorPB* error_; |
1045 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1046 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListLiveTabletServersResponsePBImpl(); |
1047 | | }; |
1048 | | // ------------------------------------------------------------------- |
1049 | | |
1050 | | class ListMastersRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListMastersRequestPB) */ { |
1051 | | public: |
1052 | | ListMastersRequestPB(); |
1053 | | virtual ~ListMastersRequestPB(); |
1054 | | |
1055 | | ListMastersRequestPB(const ListMastersRequestPB& from); |
1056 | | |
1057 | 0 | inline ListMastersRequestPB& operator=(const ListMastersRequestPB& from) { |
1058 | 0 | CopyFrom(from); |
1059 | 0 | return *this; |
1060 | 0 | } |
1061 | | #if LANG_CXX11 |
1062 | | ListMastersRequestPB(ListMastersRequestPB&& from) noexcept |
1063 | 0 | : ListMastersRequestPB() { |
1064 | 0 | *this = ::std::move(from); |
1065 | 0 | } |
1066 | | |
1067 | 0 | inline ListMastersRequestPB& operator=(ListMastersRequestPB&& from) noexcept { |
1068 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1069 | 0 | if (this != &from) InternalSwap(&from); |
1070 | 0 | } else { |
1071 | 0 | CopyFrom(from); |
1072 | 0 | } |
1073 | 0 | return *this; |
1074 | 0 | } |
1075 | | #endif |
1076 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1077 | 0 | return _internal_metadata_.unknown_fields(); |
1078 | 0 | } |
1079 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1080 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1081 | 0 | } |
1082 | | |
1083 | | static const ::google::protobuf::Descriptor* descriptor(); |
1084 | | static const ListMastersRequestPB& default_instance(); |
1085 | | |
1086 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1087 | 15.9k | static inline const ListMastersRequestPB* internal_default_instance() { |
1088 | 15.9k | return reinterpret_cast<const ListMastersRequestPB*>( |
1089 | 15.9k | &_ListMastersRequestPB_default_instance_); |
1090 | 15.9k | } |
1091 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1092 | | 6; |
1093 | | |
1094 | | void Swap(ListMastersRequestPB* other); |
1095 | 0 | friend void swap(ListMastersRequestPB& a, ListMastersRequestPB& b) { |
1096 | 0 | a.Swap(&b); |
1097 | 0 | } |
1098 | | |
1099 | | // implements Message ---------------------------------------------- |
1100 | | |
1101 | 0 | inline ListMastersRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1102 | | |
1103 | | ListMastersRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1104 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1105 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1106 | | void CopyFrom(const ListMastersRequestPB& from); |
1107 | | void MergeFrom(const ListMastersRequestPB& from); |
1108 | | void Clear() PROTOBUF_FINAL; |
1109 | | bool IsInitialized() const PROTOBUF_FINAL; |
1110 | | |
1111 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1112 | | bool MergePartialFromCodedStream( |
1113 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1114 | | void SerializeWithCachedSizes( |
1115 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1116 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1117 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1118 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1119 | | private: |
1120 | | void SharedCtor(); |
1121 | | void SharedDtor(); |
1122 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1123 | | void InternalSwap(ListMastersRequestPB* other); |
1124 | | private: |
1125 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1126 | 0 | return NULL; |
1127 | 0 | } |
1128 | 0 | inline void* MaybeArenaPtr() const { |
1129 | 0 | return NULL; |
1130 | 0 | } |
1131 | | public: |
1132 | | |
1133 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1134 | | |
1135 | | // nested types ---------------------------------------------------- |
1136 | | |
1137 | | // accessors ------------------------------------------------------- |
1138 | | |
1139 | | // @@protoc_insertion_point(class_scope:yb.master.ListMastersRequestPB) |
1140 | | private: |
1141 | | |
1142 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1143 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1144 | | mutable int _cached_size_; |
1145 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1146 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMastersRequestPBImpl(); |
1147 | | }; |
1148 | | // ------------------------------------------------------------------- |
1149 | | |
1150 | | class ListMastersResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListMastersResponsePB) */ { |
1151 | | public: |
1152 | | ListMastersResponsePB(); |
1153 | | virtual ~ListMastersResponsePB(); |
1154 | | |
1155 | | ListMastersResponsePB(const ListMastersResponsePB& from); |
1156 | | |
1157 | 0 | inline ListMastersResponsePB& operator=(const ListMastersResponsePB& from) { |
1158 | 0 | CopyFrom(from); |
1159 | 0 | return *this; |
1160 | 0 | } |
1161 | | #if LANG_CXX11 |
1162 | | ListMastersResponsePB(ListMastersResponsePB&& from) noexcept |
1163 | 0 | : ListMastersResponsePB() { |
1164 | 0 | *this = ::std::move(from); |
1165 | 0 | } Unexecuted instantiation: _ZN2yb6master21ListMastersResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb6master21ListMastersResponsePBC1EOS1_ |
1166 | | |
1167 | 0 | inline ListMastersResponsePB& operator=(ListMastersResponsePB&& from) noexcept { |
1168 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1169 | 0 | if (this != &from) InternalSwap(&from); |
1170 | 0 | } else { |
1171 | 0 | CopyFrom(from); |
1172 | 0 | } |
1173 | 0 | return *this; |
1174 | 0 | } |
1175 | | #endif |
1176 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1177 | 0 | return _internal_metadata_.unknown_fields(); |
1178 | 0 | } |
1179 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1180 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1181 | 0 | } |
1182 | | |
1183 | | static const ::google::protobuf::Descriptor* descriptor(); |
1184 | | static const ListMastersResponsePB& default_instance(); |
1185 | | |
1186 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1187 | 15.9k | static inline const ListMastersResponsePB* internal_default_instance() { |
1188 | 15.9k | return reinterpret_cast<const ListMastersResponsePB*>( |
1189 | 15.9k | &_ListMastersResponsePB_default_instance_); |
1190 | 15.9k | } |
1191 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1192 | | 7; |
1193 | | |
1194 | | void Swap(ListMastersResponsePB* other); |
1195 | 0 | friend void swap(ListMastersResponsePB& a, ListMastersResponsePB& b) { |
1196 | 0 | a.Swap(&b); |
1197 | 0 | } |
1198 | | |
1199 | | // implements Message ---------------------------------------------- |
1200 | | |
1201 | 0 | inline ListMastersResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1202 | | |
1203 | | ListMastersResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1204 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1205 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1206 | | void CopyFrom(const ListMastersResponsePB& from); |
1207 | | void MergeFrom(const ListMastersResponsePB& from); |
1208 | | void Clear() PROTOBUF_FINAL; |
1209 | | bool IsInitialized() const PROTOBUF_FINAL; |
1210 | | |
1211 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1212 | | bool MergePartialFromCodedStream( |
1213 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1214 | | void SerializeWithCachedSizes( |
1215 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1216 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1217 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1218 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1219 | | private: |
1220 | | void SharedCtor(); |
1221 | | void SharedDtor(); |
1222 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1223 | | void InternalSwap(ListMastersResponsePB* other); |
1224 | | private: |
1225 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1226 | 0 | return NULL; |
1227 | 0 | } |
1228 | 0 | inline void* MaybeArenaPtr() const { |
1229 | 0 | return NULL; |
1230 | 0 | } |
1231 | | public: |
1232 | | |
1233 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1234 | | |
1235 | | // nested types ---------------------------------------------------- |
1236 | | |
1237 | | // accessors ------------------------------------------------------- |
1238 | | |
1239 | | // repeated .yb.ServerEntryPB masters = 1; |
1240 | | int masters_size() const; |
1241 | | void clear_masters(); |
1242 | | static const int kMastersFieldNumber = 1; |
1243 | | const ::yb::ServerEntryPB& masters(int index) const; |
1244 | | ::yb::ServerEntryPB* mutable_masters(int index); |
1245 | | ::yb::ServerEntryPB* add_masters(); |
1246 | | ::google::protobuf::RepeatedPtrField< ::yb::ServerEntryPB >* |
1247 | | mutable_masters(); |
1248 | | const ::google::protobuf::RepeatedPtrField< ::yb::ServerEntryPB >& |
1249 | | masters() const; |
1250 | | |
1251 | | // optional .yb.master.MasterErrorPB error = 2; |
1252 | | bool has_error() const; |
1253 | | void clear_error(); |
1254 | | static const int kErrorFieldNumber = 2; |
1255 | | const ::yb::master::MasterErrorPB& error() const; |
1256 | | ::yb::master::MasterErrorPB* release_error(); |
1257 | | ::yb::master::MasterErrorPB* mutable_error(); |
1258 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1259 | | |
1260 | | // @@protoc_insertion_point(class_scope:yb.master.ListMastersResponsePB) |
1261 | | private: |
1262 | | void set_has_error(); |
1263 | | void clear_has_error(); |
1264 | | |
1265 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1266 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1267 | | mutable int _cached_size_; |
1268 | | ::google::protobuf::RepeatedPtrField< ::yb::ServerEntryPB > masters_; |
1269 | | ::yb::master::MasterErrorPB* error_; |
1270 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1271 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMastersResponsePBImpl(); |
1272 | | }; |
1273 | | // ------------------------------------------------------------------- |
1274 | | |
1275 | | class ListMasterRaftPeersRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListMasterRaftPeersRequestPB) */ { |
1276 | | public: |
1277 | | ListMasterRaftPeersRequestPB(); |
1278 | | virtual ~ListMasterRaftPeersRequestPB(); |
1279 | | |
1280 | | ListMasterRaftPeersRequestPB(const ListMasterRaftPeersRequestPB& from); |
1281 | | |
1282 | 0 | inline ListMasterRaftPeersRequestPB& operator=(const ListMasterRaftPeersRequestPB& from) { |
1283 | 0 | CopyFrom(from); |
1284 | 0 | return *this; |
1285 | 0 | } |
1286 | | #if LANG_CXX11 |
1287 | | ListMasterRaftPeersRequestPB(ListMasterRaftPeersRequestPB&& from) noexcept |
1288 | 0 | : ListMasterRaftPeersRequestPB() { |
1289 | 0 | *this = ::std::move(from); |
1290 | 0 | } |
1291 | | |
1292 | 0 | inline ListMasterRaftPeersRequestPB& operator=(ListMasterRaftPeersRequestPB&& from) noexcept { |
1293 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1294 | 0 | if (this != &from) InternalSwap(&from); |
1295 | 0 | } else { |
1296 | 0 | CopyFrom(from); |
1297 | 0 | } |
1298 | 0 | return *this; |
1299 | 0 | } |
1300 | | #endif |
1301 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1302 | 0 | return _internal_metadata_.unknown_fields(); |
1303 | 0 | } |
1304 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1305 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1306 | 0 | } |
1307 | | |
1308 | | static const ::google::protobuf::Descriptor* descriptor(); |
1309 | | static const ListMasterRaftPeersRequestPB& default_instance(); |
1310 | | |
1311 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1312 | 15.8k | static inline const ListMasterRaftPeersRequestPB* internal_default_instance() { |
1313 | 15.8k | return reinterpret_cast<const ListMasterRaftPeersRequestPB*>( |
1314 | 15.8k | &_ListMasterRaftPeersRequestPB_default_instance_); |
1315 | 15.8k | } |
1316 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1317 | | 8; |
1318 | | |
1319 | | void Swap(ListMasterRaftPeersRequestPB* other); |
1320 | 0 | friend void swap(ListMasterRaftPeersRequestPB& a, ListMasterRaftPeersRequestPB& b) { |
1321 | 0 | a.Swap(&b); |
1322 | 0 | } |
1323 | | |
1324 | | // implements Message ---------------------------------------------- |
1325 | | |
1326 | 0 | inline ListMasterRaftPeersRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1327 | | |
1328 | | ListMasterRaftPeersRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1329 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1330 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1331 | | void CopyFrom(const ListMasterRaftPeersRequestPB& from); |
1332 | | void MergeFrom(const ListMasterRaftPeersRequestPB& from); |
1333 | | void Clear() PROTOBUF_FINAL; |
1334 | | bool IsInitialized() const PROTOBUF_FINAL; |
1335 | | |
1336 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1337 | | bool MergePartialFromCodedStream( |
1338 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1339 | | void SerializeWithCachedSizes( |
1340 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1341 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1342 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1343 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1344 | | private: |
1345 | | void SharedCtor(); |
1346 | | void SharedDtor(); |
1347 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1348 | | void InternalSwap(ListMasterRaftPeersRequestPB* other); |
1349 | | private: |
1350 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1351 | 0 | return NULL; |
1352 | 0 | } |
1353 | 0 | inline void* MaybeArenaPtr() const { |
1354 | 0 | return NULL; |
1355 | 0 | } |
1356 | | public: |
1357 | | |
1358 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1359 | | |
1360 | | // nested types ---------------------------------------------------- |
1361 | | |
1362 | | // accessors ------------------------------------------------------- |
1363 | | |
1364 | | // @@protoc_insertion_point(class_scope:yb.master.ListMasterRaftPeersRequestPB) |
1365 | | private: |
1366 | | |
1367 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1368 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1369 | | mutable int _cached_size_; |
1370 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1371 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMasterRaftPeersRequestPBImpl(); |
1372 | | }; |
1373 | | // ------------------------------------------------------------------- |
1374 | | |
1375 | | class ListMasterRaftPeersResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ListMasterRaftPeersResponsePB) */ { |
1376 | | public: |
1377 | | ListMasterRaftPeersResponsePB(); |
1378 | | virtual ~ListMasterRaftPeersResponsePB(); |
1379 | | |
1380 | | ListMasterRaftPeersResponsePB(const ListMasterRaftPeersResponsePB& from); |
1381 | | |
1382 | 0 | inline ListMasterRaftPeersResponsePB& operator=(const ListMasterRaftPeersResponsePB& from) { |
1383 | 0 | CopyFrom(from); |
1384 | 0 | return *this; |
1385 | 0 | } |
1386 | | #if LANG_CXX11 |
1387 | | ListMasterRaftPeersResponsePB(ListMasterRaftPeersResponsePB&& from) noexcept |
1388 | 0 | : ListMasterRaftPeersResponsePB() { |
1389 | 0 | *this = ::std::move(from); |
1390 | 0 | } |
1391 | | |
1392 | 0 | inline ListMasterRaftPeersResponsePB& operator=(ListMasterRaftPeersResponsePB&& from) noexcept { |
1393 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1394 | 0 | if (this != &from) InternalSwap(&from); |
1395 | 0 | } else { |
1396 | 0 | CopyFrom(from); |
1397 | 0 | } |
1398 | 0 | return *this; |
1399 | 0 | } |
1400 | | #endif |
1401 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1402 | 0 | return _internal_metadata_.unknown_fields(); |
1403 | 0 | } |
1404 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1405 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1406 | 0 | } |
1407 | | |
1408 | | static const ::google::protobuf::Descriptor* descriptor(); |
1409 | | static const ListMasterRaftPeersResponsePB& default_instance(); |
1410 | | |
1411 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1412 | 15.8k | static inline const ListMasterRaftPeersResponsePB* internal_default_instance() { |
1413 | 15.8k | return reinterpret_cast<const ListMasterRaftPeersResponsePB*>( |
1414 | 15.8k | &_ListMasterRaftPeersResponsePB_default_instance_); |
1415 | 15.8k | } |
1416 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1417 | | 9; |
1418 | | |
1419 | | void Swap(ListMasterRaftPeersResponsePB* other); |
1420 | 0 | friend void swap(ListMasterRaftPeersResponsePB& a, ListMasterRaftPeersResponsePB& b) { |
1421 | 0 | a.Swap(&b); |
1422 | 0 | } |
1423 | | |
1424 | | // implements Message ---------------------------------------------- |
1425 | | |
1426 | 0 | inline ListMasterRaftPeersResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1427 | | |
1428 | | ListMasterRaftPeersResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1429 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1430 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1431 | | void CopyFrom(const ListMasterRaftPeersResponsePB& from); |
1432 | | void MergeFrom(const ListMasterRaftPeersResponsePB& from); |
1433 | | void Clear() PROTOBUF_FINAL; |
1434 | | bool IsInitialized() const PROTOBUF_FINAL; |
1435 | | |
1436 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1437 | | bool MergePartialFromCodedStream( |
1438 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1439 | | void SerializeWithCachedSizes( |
1440 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1441 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1442 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1443 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1444 | | private: |
1445 | | void SharedCtor(); |
1446 | | void SharedDtor(); |
1447 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1448 | | void InternalSwap(ListMasterRaftPeersResponsePB* other); |
1449 | | private: |
1450 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1451 | 0 | return NULL; |
1452 | 0 | } |
1453 | 0 | inline void* MaybeArenaPtr() const { |
1454 | 0 | return NULL; |
1455 | 0 | } |
1456 | | public: |
1457 | | |
1458 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1459 | | |
1460 | | // nested types ---------------------------------------------------- |
1461 | | |
1462 | | // accessors ------------------------------------------------------- |
1463 | | |
1464 | | // repeated .yb.consensus.RaftPeerPB masters = 1; |
1465 | | int masters_size() const; |
1466 | | void clear_masters(); |
1467 | | static const int kMastersFieldNumber = 1; |
1468 | | const ::yb::consensus::RaftPeerPB& masters(int index) const; |
1469 | | ::yb::consensus::RaftPeerPB* mutable_masters(int index); |
1470 | | ::yb::consensus::RaftPeerPB* add_masters(); |
1471 | | ::google::protobuf::RepeatedPtrField< ::yb::consensus::RaftPeerPB >* |
1472 | | mutable_masters(); |
1473 | | const ::google::protobuf::RepeatedPtrField< ::yb::consensus::RaftPeerPB >& |
1474 | | masters() const; |
1475 | | |
1476 | | // optional .yb.master.MasterErrorPB error = 2; |
1477 | | bool has_error() const; |
1478 | | void clear_error(); |
1479 | | static const int kErrorFieldNumber = 2; |
1480 | | const ::yb::master::MasterErrorPB& error() const; |
1481 | | ::yb::master::MasterErrorPB* release_error(); |
1482 | | ::yb::master::MasterErrorPB* mutable_error(); |
1483 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1484 | | |
1485 | | // @@protoc_insertion_point(class_scope:yb.master.ListMasterRaftPeersResponsePB) |
1486 | | private: |
1487 | | void set_has_error(); |
1488 | | void clear_has_error(); |
1489 | | |
1490 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1491 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1492 | | mutable int _cached_size_; |
1493 | | ::google::protobuf::RepeatedPtrField< ::yb::consensus::RaftPeerPB > masters_; |
1494 | | ::yb::master::MasterErrorPB* error_; |
1495 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1496 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsListMasterRaftPeersResponsePBImpl(); |
1497 | | }; |
1498 | | // ------------------------------------------------------------------- |
1499 | | |
1500 | | class GetMasterRegistrationRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetMasterRegistrationRequestPB) */ { |
1501 | | public: |
1502 | | GetMasterRegistrationRequestPB(); |
1503 | | virtual ~GetMasterRegistrationRequestPB(); |
1504 | | |
1505 | | GetMasterRegistrationRequestPB(const GetMasterRegistrationRequestPB& from); |
1506 | | |
1507 | 0 | inline GetMasterRegistrationRequestPB& operator=(const GetMasterRegistrationRequestPB& from) { |
1508 | 0 | CopyFrom(from); |
1509 | 0 | return *this; |
1510 | 0 | } |
1511 | | #if LANG_CXX11 |
1512 | | GetMasterRegistrationRequestPB(GetMasterRegistrationRequestPB&& from) noexcept |
1513 | 0 | : GetMasterRegistrationRequestPB() { |
1514 | 0 | *this = ::std::move(from); |
1515 | 0 | } |
1516 | | |
1517 | 0 | inline GetMasterRegistrationRequestPB& operator=(GetMasterRegistrationRequestPB&& from) noexcept { |
1518 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1519 | 0 | if (this != &from) InternalSwap(&from); |
1520 | 0 | } else { |
1521 | 0 | CopyFrom(from); |
1522 | 0 | } |
1523 | 0 | return *this; |
1524 | 0 | } |
1525 | | #endif |
1526 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1527 | 0 | return _internal_metadata_.unknown_fields(); |
1528 | 0 | } |
1529 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1530 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1531 | 0 | } |
1532 | | |
1533 | | static const ::google::protobuf::Descriptor* descriptor(); |
1534 | | static const GetMasterRegistrationRequestPB& default_instance(); |
1535 | | |
1536 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1537 | 8.86M | static inline const GetMasterRegistrationRequestPB* internal_default_instance() { |
1538 | 8.86M | return reinterpret_cast<const GetMasterRegistrationRequestPB*>( |
1539 | 8.86M | &_GetMasterRegistrationRequestPB_default_instance_); |
1540 | 8.86M | } |
1541 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1542 | | 10; |
1543 | | |
1544 | | void Swap(GetMasterRegistrationRequestPB* other); |
1545 | 0 | friend void swap(GetMasterRegistrationRequestPB& a, GetMasterRegistrationRequestPB& b) { |
1546 | 0 | a.Swap(&b); |
1547 | 0 | } |
1548 | | |
1549 | | // implements Message ---------------------------------------------- |
1550 | | |
1551 | 0 | inline GetMasterRegistrationRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1552 | | |
1553 | | GetMasterRegistrationRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1554 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1555 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1556 | | void CopyFrom(const GetMasterRegistrationRequestPB& from); |
1557 | | void MergeFrom(const GetMasterRegistrationRequestPB& from); |
1558 | | void Clear() PROTOBUF_FINAL; |
1559 | | bool IsInitialized() const PROTOBUF_FINAL; |
1560 | | |
1561 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1562 | | bool MergePartialFromCodedStream( |
1563 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1564 | | void SerializeWithCachedSizes( |
1565 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1566 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1567 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1568 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1569 | | private: |
1570 | | void SharedCtor(); |
1571 | | void SharedDtor(); |
1572 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1573 | | void InternalSwap(GetMasterRegistrationRequestPB* other); |
1574 | | private: |
1575 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1576 | 0 | return NULL; |
1577 | 0 | } |
1578 | 0 | inline void* MaybeArenaPtr() const { |
1579 | 0 | return NULL; |
1580 | 0 | } |
1581 | | public: |
1582 | | |
1583 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1584 | | |
1585 | | // nested types ---------------------------------------------------- |
1586 | | |
1587 | | // accessors ------------------------------------------------------- |
1588 | | |
1589 | | // @@protoc_insertion_point(class_scope:yb.master.GetMasterRegistrationRequestPB) |
1590 | | private: |
1591 | | |
1592 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1593 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1594 | | mutable int _cached_size_; |
1595 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1596 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterRegistrationRequestPBImpl(); |
1597 | | }; |
1598 | | // ------------------------------------------------------------------- |
1599 | | |
1600 | | class GetMasterRegistrationResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetMasterRegistrationResponsePB) */ { |
1601 | | public: |
1602 | | GetMasterRegistrationResponsePB(); |
1603 | | virtual ~GetMasterRegistrationResponsePB(); |
1604 | | |
1605 | | GetMasterRegistrationResponsePB(const GetMasterRegistrationResponsePB& from); |
1606 | | |
1607 | 0 | inline GetMasterRegistrationResponsePB& operator=(const GetMasterRegistrationResponsePB& from) { |
1608 | 0 | CopyFrom(from); |
1609 | 0 | return *this; |
1610 | 0 | } |
1611 | | #if LANG_CXX11 |
1612 | | GetMasterRegistrationResponsePB(GetMasterRegistrationResponsePB&& from) noexcept |
1613 | 0 | : GetMasterRegistrationResponsePB() { |
1614 | 0 | *this = ::std::move(from); |
1615 | 0 | } |
1616 | | |
1617 | 0 | inline GetMasterRegistrationResponsePB& operator=(GetMasterRegistrationResponsePB&& from) noexcept { |
1618 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1619 | 0 | if (this != &from) InternalSwap(&from); |
1620 | 0 | } else { |
1621 | 0 | CopyFrom(from); |
1622 | 0 | } |
1623 | 0 | return *this; |
1624 | 0 | } |
1625 | | #endif |
1626 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1627 | 0 | return _internal_metadata_.unknown_fields(); |
1628 | 0 | } |
1629 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1630 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1631 | 0 | } |
1632 | | |
1633 | | static const ::google::protobuf::Descriptor* descriptor(); |
1634 | | static const GetMasterRegistrationResponsePB& default_instance(); |
1635 | | |
1636 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1637 | 35.3M | static inline const GetMasterRegistrationResponsePB* internal_default_instance() { |
1638 | 35.3M | return reinterpret_cast<const GetMasterRegistrationResponsePB*>( |
1639 | 35.3M | &_GetMasterRegistrationResponsePB_default_instance_); |
1640 | 35.3M | } |
1641 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1642 | | 11; |
1643 | | |
1644 | | void Swap(GetMasterRegistrationResponsePB* other); |
1645 | 0 | friend void swap(GetMasterRegistrationResponsePB& a, GetMasterRegistrationResponsePB& b) { |
1646 | 0 | a.Swap(&b); |
1647 | 0 | } |
1648 | | |
1649 | | // implements Message ---------------------------------------------- |
1650 | | |
1651 | 0 | inline GetMasterRegistrationResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1652 | | |
1653 | | GetMasterRegistrationResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1654 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1655 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1656 | | void CopyFrom(const GetMasterRegistrationResponsePB& from); |
1657 | | void MergeFrom(const GetMasterRegistrationResponsePB& from); |
1658 | | void Clear() PROTOBUF_FINAL; |
1659 | | bool IsInitialized() const PROTOBUF_FINAL; |
1660 | | |
1661 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1662 | | bool MergePartialFromCodedStream( |
1663 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1664 | | void SerializeWithCachedSizes( |
1665 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1666 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1667 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1668 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1669 | | private: |
1670 | | void SharedCtor(); |
1671 | | void SharedDtor(); |
1672 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1673 | | void InternalSwap(GetMasterRegistrationResponsePB* other); |
1674 | | private: |
1675 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1676 | 0 | return NULL; |
1677 | 0 | } |
1678 | 0 | inline void* MaybeArenaPtr() const { |
1679 | 0 | return NULL; |
1680 | 0 | } |
1681 | | public: |
1682 | | |
1683 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1684 | | |
1685 | | // nested types ---------------------------------------------------- |
1686 | | |
1687 | | // accessors ------------------------------------------------------- |
1688 | | |
1689 | | // required .yb.NodeInstancePB instance_id = 1; |
1690 | | bool has_instance_id() const; |
1691 | | void clear_instance_id(); |
1692 | | static const int kInstanceIdFieldNumber = 1; |
1693 | | const ::yb::NodeInstancePB& instance_id() const; |
1694 | | ::yb::NodeInstancePB* release_instance_id(); |
1695 | | ::yb::NodeInstancePB* mutable_instance_id(); |
1696 | | void set_allocated_instance_id(::yb::NodeInstancePB* instance_id); |
1697 | | |
1698 | | // optional .yb.ServerRegistrationPB registration = 2; |
1699 | | bool has_registration() const; |
1700 | | void clear_registration(); |
1701 | | static const int kRegistrationFieldNumber = 2; |
1702 | | const ::yb::ServerRegistrationPB& registration() const; |
1703 | | ::yb::ServerRegistrationPB* release_registration(); |
1704 | | ::yb::ServerRegistrationPB* mutable_registration(); |
1705 | | void set_allocated_registration(::yb::ServerRegistrationPB* registration); |
1706 | | |
1707 | | // optional .yb.master.MasterErrorPB error = 4; |
1708 | | bool has_error() const; |
1709 | | void clear_error(); |
1710 | | static const int kErrorFieldNumber = 4; |
1711 | | const ::yb::master::MasterErrorPB& error() const; |
1712 | | ::yb::master::MasterErrorPB* release_error(); |
1713 | | ::yb::master::MasterErrorPB* mutable_error(); |
1714 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1715 | | |
1716 | | // optional .yb.PeerRole role = 3; |
1717 | | bool has_role() const; |
1718 | | void clear_role(); |
1719 | | static const int kRoleFieldNumber = 3; |
1720 | | ::yb::PeerRole role() const; |
1721 | | void set_role(::yb::PeerRole value); |
1722 | | |
1723 | | // @@protoc_insertion_point(class_scope:yb.master.GetMasterRegistrationResponsePB) |
1724 | | private: |
1725 | | void set_has_instance_id(); |
1726 | | void clear_has_instance_id(); |
1727 | | void set_has_registration(); |
1728 | | void clear_has_registration(); |
1729 | | void set_has_role(); |
1730 | | void clear_has_role(); |
1731 | | void set_has_error(); |
1732 | | void clear_has_error(); |
1733 | | |
1734 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1735 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1736 | | mutable int _cached_size_; |
1737 | | ::yb::NodeInstancePB* instance_id_; |
1738 | | ::yb::ServerRegistrationPB* registration_; |
1739 | | ::yb::master::MasterErrorPB* error_; |
1740 | | int role_; |
1741 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1742 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterRegistrationResponsePBImpl(); |
1743 | | }; |
1744 | | // ------------------------------------------------------------------- |
1745 | | |
1746 | | class IsMasterLeaderReadyRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsMasterLeaderReadyRequestPB) */ { |
1747 | | public: |
1748 | | IsMasterLeaderReadyRequestPB(); |
1749 | | virtual ~IsMasterLeaderReadyRequestPB(); |
1750 | | |
1751 | | IsMasterLeaderReadyRequestPB(const IsMasterLeaderReadyRequestPB& from); |
1752 | | |
1753 | 0 | inline IsMasterLeaderReadyRequestPB& operator=(const IsMasterLeaderReadyRequestPB& from) { |
1754 | 0 | CopyFrom(from); |
1755 | 0 | return *this; |
1756 | 0 | } |
1757 | | #if LANG_CXX11 |
1758 | | IsMasterLeaderReadyRequestPB(IsMasterLeaderReadyRequestPB&& from) noexcept |
1759 | 0 | : IsMasterLeaderReadyRequestPB() { |
1760 | 0 | *this = ::std::move(from); |
1761 | 0 | } |
1762 | | |
1763 | 0 | inline IsMasterLeaderReadyRequestPB& operator=(IsMasterLeaderReadyRequestPB&& from) noexcept { |
1764 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1765 | 0 | if (this != &from) InternalSwap(&from); |
1766 | 0 | } else { |
1767 | 0 | CopyFrom(from); |
1768 | 0 | } |
1769 | 0 | return *this; |
1770 | 0 | } |
1771 | | #endif |
1772 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1773 | 0 | return _internal_metadata_.unknown_fields(); |
1774 | 0 | } |
1775 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1776 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1777 | 0 | } |
1778 | | |
1779 | | static const ::google::protobuf::Descriptor* descriptor(); |
1780 | | static const IsMasterLeaderReadyRequestPB& default_instance(); |
1781 | | |
1782 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1783 | 15.8k | static inline const IsMasterLeaderReadyRequestPB* internal_default_instance() { |
1784 | 15.8k | return reinterpret_cast<const IsMasterLeaderReadyRequestPB*>( |
1785 | 15.8k | &_IsMasterLeaderReadyRequestPB_default_instance_); |
1786 | 15.8k | } |
1787 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1788 | | 12; |
1789 | | |
1790 | | void Swap(IsMasterLeaderReadyRequestPB* other); |
1791 | 0 | friend void swap(IsMasterLeaderReadyRequestPB& a, IsMasterLeaderReadyRequestPB& b) { |
1792 | 0 | a.Swap(&b); |
1793 | 0 | } |
1794 | | |
1795 | | // implements Message ---------------------------------------------- |
1796 | | |
1797 | 0 | inline IsMasterLeaderReadyRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1798 | | |
1799 | | IsMasterLeaderReadyRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1800 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1801 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1802 | | void CopyFrom(const IsMasterLeaderReadyRequestPB& from); |
1803 | | void MergeFrom(const IsMasterLeaderReadyRequestPB& from); |
1804 | | void Clear() PROTOBUF_FINAL; |
1805 | | bool IsInitialized() const PROTOBUF_FINAL; |
1806 | | |
1807 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1808 | | bool MergePartialFromCodedStream( |
1809 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1810 | | void SerializeWithCachedSizes( |
1811 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1812 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1813 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1814 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1815 | | private: |
1816 | | void SharedCtor(); |
1817 | | void SharedDtor(); |
1818 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1819 | | void InternalSwap(IsMasterLeaderReadyRequestPB* other); |
1820 | | private: |
1821 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1822 | 0 | return NULL; |
1823 | 0 | } |
1824 | 0 | inline void* MaybeArenaPtr() const { |
1825 | 0 | return NULL; |
1826 | 0 | } |
1827 | | public: |
1828 | | |
1829 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1830 | | |
1831 | | // nested types ---------------------------------------------------- |
1832 | | |
1833 | | // accessors ------------------------------------------------------- |
1834 | | |
1835 | | // @@protoc_insertion_point(class_scope:yb.master.IsMasterLeaderReadyRequestPB) |
1836 | | private: |
1837 | | |
1838 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1839 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1840 | | mutable int _cached_size_; |
1841 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1842 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsMasterLeaderReadyRequestPBImpl(); |
1843 | | }; |
1844 | | // ------------------------------------------------------------------- |
1845 | | |
1846 | | class IsMasterLeaderReadyResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsMasterLeaderReadyResponsePB) */ { |
1847 | | public: |
1848 | | IsMasterLeaderReadyResponsePB(); |
1849 | | virtual ~IsMasterLeaderReadyResponsePB(); |
1850 | | |
1851 | | IsMasterLeaderReadyResponsePB(const IsMasterLeaderReadyResponsePB& from); |
1852 | | |
1853 | 0 | inline IsMasterLeaderReadyResponsePB& operator=(const IsMasterLeaderReadyResponsePB& from) { |
1854 | 0 | CopyFrom(from); |
1855 | 0 | return *this; |
1856 | 0 | } |
1857 | | #if LANG_CXX11 |
1858 | | IsMasterLeaderReadyResponsePB(IsMasterLeaderReadyResponsePB&& from) noexcept |
1859 | 46 | : IsMasterLeaderReadyResponsePB() { |
1860 | 46 | *this = ::std::move(from); |
1861 | 46 | } Unexecuted instantiation: _ZN2yb6master29IsMasterLeaderReadyResponsePBC2EOS1_ _ZN2yb6master29IsMasterLeaderReadyResponsePBC1EOS1_ Line | Count | Source | 1859 | 46 | : IsMasterLeaderReadyResponsePB() { | 1860 | 46 | *this = ::std::move(from); | 1861 | 46 | } |
|
1862 | | |
1863 | 46 | inline IsMasterLeaderReadyResponsePB& operator=(IsMasterLeaderReadyResponsePB&& from) noexcept { |
1864 | 46 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1865 | 46 | if (this != &from) InternalSwap(&from); |
1866 | 0 | } else { |
1867 | 0 | CopyFrom(from); |
1868 | 0 | } |
1869 | 46 | return *this; |
1870 | 46 | } |
1871 | | #endif |
1872 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1873 | 0 | return _internal_metadata_.unknown_fields(); |
1874 | 0 | } |
1875 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1876 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1877 | 0 | } |
1878 | | |
1879 | | static const ::google::protobuf::Descriptor* descriptor(); |
1880 | | static const IsMasterLeaderReadyResponsePB& default_instance(); |
1881 | | |
1882 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1883 | 16.0k | static inline const IsMasterLeaderReadyResponsePB* internal_default_instance() { |
1884 | 16.0k | return reinterpret_cast<const IsMasterLeaderReadyResponsePB*>( |
1885 | 16.0k | &_IsMasterLeaderReadyResponsePB_default_instance_); |
1886 | 16.0k | } |
1887 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1888 | | 13; |
1889 | | |
1890 | | void Swap(IsMasterLeaderReadyResponsePB* other); |
1891 | 0 | friend void swap(IsMasterLeaderReadyResponsePB& a, IsMasterLeaderReadyResponsePB& b) { |
1892 | 0 | a.Swap(&b); |
1893 | 0 | } |
1894 | | |
1895 | | // implements Message ---------------------------------------------- |
1896 | | |
1897 | 0 | inline IsMasterLeaderReadyResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1898 | | |
1899 | | IsMasterLeaderReadyResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1900 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1901 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1902 | | void CopyFrom(const IsMasterLeaderReadyResponsePB& from); |
1903 | | void MergeFrom(const IsMasterLeaderReadyResponsePB& from); |
1904 | | void Clear() PROTOBUF_FINAL; |
1905 | | bool IsInitialized() const PROTOBUF_FINAL; |
1906 | | |
1907 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1908 | | bool MergePartialFromCodedStream( |
1909 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1910 | | void SerializeWithCachedSizes( |
1911 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1912 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1913 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1914 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1915 | | private: |
1916 | | void SharedCtor(); |
1917 | | void SharedDtor(); |
1918 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1919 | | void InternalSwap(IsMasterLeaderReadyResponsePB* other); |
1920 | | private: |
1921 | 92 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1922 | 92 | return NULL; |
1923 | 92 | } |
1924 | 0 | inline void* MaybeArenaPtr() const { |
1925 | 0 | return NULL; |
1926 | 0 | } |
1927 | | public: |
1928 | | |
1929 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1930 | | |
1931 | | // nested types ---------------------------------------------------- |
1932 | | |
1933 | | // accessors ------------------------------------------------------- |
1934 | | |
1935 | | // optional .yb.master.MasterErrorPB error = 1; |
1936 | | bool has_error() const; |
1937 | | void clear_error(); |
1938 | | static const int kErrorFieldNumber = 1; |
1939 | | const ::yb::master::MasterErrorPB& error() const; |
1940 | | ::yb::master::MasterErrorPB* release_error(); |
1941 | | ::yb::master::MasterErrorPB* mutable_error(); |
1942 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
1943 | | |
1944 | | // @@protoc_insertion_point(class_scope:yb.master.IsMasterLeaderReadyResponsePB) |
1945 | | private: |
1946 | | void set_has_error(); |
1947 | | void clear_has_error(); |
1948 | | |
1949 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1950 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1951 | | mutable int _cached_size_; |
1952 | | ::yb::master::MasterErrorPB* error_; |
1953 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
1954 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsMasterLeaderReadyResponsePBImpl(); |
1955 | | }; |
1956 | | // ------------------------------------------------------------------- |
1957 | | |
1958 | | class DumpMasterStateRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DumpMasterStateRequestPB) */ { |
1959 | | public: |
1960 | | DumpMasterStateRequestPB(); |
1961 | | virtual ~DumpMasterStateRequestPB(); |
1962 | | |
1963 | | DumpMasterStateRequestPB(const DumpMasterStateRequestPB& from); |
1964 | | |
1965 | 0 | inline DumpMasterStateRequestPB& operator=(const DumpMasterStateRequestPB& from) { |
1966 | 0 | CopyFrom(from); |
1967 | 0 | return *this; |
1968 | 0 | } |
1969 | | #if LANG_CXX11 |
1970 | | DumpMasterStateRequestPB(DumpMasterStateRequestPB&& from) noexcept |
1971 | 0 | : DumpMasterStateRequestPB() { |
1972 | 0 | *this = ::std::move(from); |
1973 | 0 | } |
1974 | | |
1975 | 0 | inline DumpMasterStateRequestPB& operator=(DumpMasterStateRequestPB&& from) noexcept { |
1976 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1977 | 0 | if (this != &from) InternalSwap(&from); |
1978 | 0 | } else { |
1979 | 0 | CopyFrom(from); |
1980 | 0 | } |
1981 | 0 | return *this; |
1982 | 0 | } |
1983 | | #endif |
1984 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1985 | 0 | return _internal_metadata_.unknown_fields(); |
1986 | 0 | } |
1987 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1988 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1989 | 0 | } |
1990 | | |
1991 | | static const ::google::protobuf::Descriptor* descriptor(); |
1992 | | static const DumpMasterStateRequestPB& default_instance(); |
1993 | | |
1994 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1995 | 15.8k | static inline const DumpMasterStateRequestPB* internal_default_instance() { |
1996 | 15.8k | return reinterpret_cast<const DumpMasterStateRequestPB*>( |
1997 | 15.8k | &_DumpMasterStateRequestPB_default_instance_); |
1998 | 15.8k | } |
1999 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2000 | | 14; |
2001 | | |
2002 | | void Swap(DumpMasterStateRequestPB* other); |
2003 | 0 | friend void swap(DumpMasterStateRequestPB& a, DumpMasterStateRequestPB& b) { |
2004 | 0 | a.Swap(&b); |
2005 | 0 | } |
2006 | | |
2007 | | // implements Message ---------------------------------------------- |
2008 | | |
2009 | 0 | inline DumpMasterStateRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2010 | | |
2011 | | DumpMasterStateRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2012 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2013 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2014 | | void CopyFrom(const DumpMasterStateRequestPB& from); |
2015 | | void MergeFrom(const DumpMasterStateRequestPB& from); |
2016 | | void Clear() PROTOBUF_FINAL; |
2017 | | bool IsInitialized() const PROTOBUF_FINAL; |
2018 | | |
2019 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2020 | | bool MergePartialFromCodedStream( |
2021 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2022 | | void SerializeWithCachedSizes( |
2023 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2024 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2025 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2026 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2027 | | private: |
2028 | | void SharedCtor(); |
2029 | | void SharedDtor(); |
2030 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2031 | | void InternalSwap(DumpMasterStateRequestPB* other); |
2032 | | private: |
2033 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2034 | 0 | return NULL; |
2035 | 0 | } |
2036 | 0 | inline void* MaybeArenaPtr() const { |
2037 | 0 | return NULL; |
2038 | 0 | } |
2039 | | public: |
2040 | | |
2041 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2042 | | |
2043 | | // nested types ---------------------------------------------------- |
2044 | | |
2045 | | // accessors ------------------------------------------------------- |
2046 | | |
2047 | | // optional bool peers_also = 2 [default = false]; |
2048 | | bool has_peers_also() const; |
2049 | | void clear_peers_also(); |
2050 | | static const int kPeersAlsoFieldNumber = 2; |
2051 | | bool peers_also() const; |
2052 | | void set_peers_also(bool value); |
2053 | | |
2054 | | // optional bool return_dump_as_string = 3 [default = false]; |
2055 | | bool has_return_dump_as_string() const; |
2056 | | void clear_return_dump_as_string(); |
2057 | | static const int kReturnDumpAsStringFieldNumber = 3; |
2058 | | bool return_dump_as_string() const; |
2059 | | void set_return_dump_as_string(bool value); |
2060 | | |
2061 | | // optional bool on_disk = 1 [default = true]; |
2062 | | bool has_on_disk() const; |
2063 | | void clear_on_disk(); |
2064 | | static const int kOnDiskFieldNumber = 1; |
2065 | | bool on_disk() const; |
2066 | | void set_on_disk(bool value); |
2067 | | |
2068 | | // @@protoc_insertion_point(class_scope:yb.master.DumpMasterStateRequestPB) |
2069 | | private: |
2070 | | void set_has_on_disk(); |
2071 | | void clear_has_on_disk(); |
2072 | | void set_has_peers_also(); |
2073 | | void clear_has_peers_also(); |
2074 | | void set_has_return_dump_as_string(); |
2075 | | void clear_has_return_dump_as_string(); |
2076 | | |
2077 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2078 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2079 | | mutable int _cached_size_; |
2080 | | bool peers_also_; |
2081 | | bool return_dump_as_string_; |
2082 | | bool on_disk_; |
2083 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2084 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsDumpMasterStateRequestPBImpl(); |
2085 | | }; |
2086 | | // ------------------------------------------------------------------- |
2087 | | |
2088 | | class DumpMasterStateResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.DumpMasterStateResponsePB) */ { |
2089 | | public: |
2090 | | DumpMasterStateResponsePB(); |
2091 | | virtual ~DumpMasterStateResponsePB(); |
2092 | | |
2093 | | DumpMasterStateResponsePB(const DumpMasterStateResponsePB& from); |
2094 | | |
2095 | 0 | inline DumpMasterStateResponsePB& operator=(const DumpMasterStateResponsePB& from) { |
2096 | 0 | CopyFrom(from); |
2097 | 0 | return *this; |
2098 | 0 | } |
2099 | | #if LANG_CXX11 |
2100 | | DumpMasterStateResponsePB(DumpMasterStateResponsePB&& from) noexcept |
2101 | 0 | : DumpMasterStateResponsePB() { |
2102 | 0 | *this = ::std::move(from); |
2103 | 0 | } Unexecuted instantiation: _ZN2yb6master25DumpMasterStateResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb6master25DumpMasterStateResponsePBC1EOS1_ |
2104 | | |
2105 | 0 | inline DumpMasterStateResponsePB& operator=(DumpMasterStateResponsePB&& from) noexcept { |
2106 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2107 | 0 | if (this != &from) InternalSwap(&from); |
2108 | 0 | } else { |
2109 | 0 | CopyFrom(from); |
2110 | 0 | } |
2111 | 0 | return *this; |
2112 | 0 | } |
2113 | | #endif |
2114 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2115 | 0 | return _internal_metadata_.unknown_fields(); |
2116 | 0 | } |
2117 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2118 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2119 | 0 | } |
2120 | | |
2121 | | static const ::google::protobuf::Descriptor* descriptor(); |
2122 | | static const DumpMasterStateResponsePB& default_instance(); |
2123 | | |
2124 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2125 | 15.8k | static inline const DumpMasterStateResponsePB* internal_default_instance() { |
2126 | 15.8k | return reinterpret_cast<const DumpMasterStateResponsePB*>( |
2127 | 15.8k | &_DumpMasterStateResponsePB_default_instance_); |
2128 | 15.8k | } |
2129 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2130 | | 15; |
2131 | | |
2132 | | void Swap(DumpMasterStateResponsePB* other); |
2133 | 0 | friend void swap(DumpMasterStateResponsePB& a, DumpMasterStateResponsePB& b) { |
2134 | 0 | a.Swap(&b); |
2135 | 0 | } |
2136 | | |
2137 | | // implements Message ---------------------------------------------- |
2138 | | |
2139 | 0 | inline DumpMasterStateResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2140 | | |
2141 | | DumpMasterStateResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2142 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2143 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2144 | | void CopyFrom(const DumpMasterStateResponsePB& from); |
2145 | | void MergeFrom(const DumpMasterStateResponsePB& from); |
2146 | | void Clear() PROTOBUF_FINAL; |
2147 | | bool IsInitialized() const PROTOBUF_FINAL; |
2148 | | |
2149 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2150 | | bool MergePartialFromCodedStream( |
2151 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2152 | | void SerializeWithCachedSizes( |
2153 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2154 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2155 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2156 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2157 | | private: |
2158 | | void SharedCtor(); |
2159 | | void SharedDtor(); |
2160 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2161 | | void InternalSwap(DumpMasterStateResponsePB* other); |
2162 | | private: |
2163 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2164 | 0 | return NULL; |
2165 | 0 | } |
2166 | 0 | inline void* MaybeArenaPtr() const { |
2167 | 0 | return NULL; |
2168 | 0 | } |
2169 | | public: |
2170 | | |
2171 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2172 | | |
2173 | | // nested types ---------------------------------------------------- |
2174 | | |
2175 | | // accessors ------------------------------------------------------- |
2176 | | |
2177 | | // optional string dump = 2; |
2178 | | bool has_dump() const; |
2179 | | void clear_dump(); |
2180 | | static const int kDumpFieldNumber = 2; |
2181 | | const ::std::string& dump() const; |
2182 | | void set_dump(const ::std::string& value); |
2183 | | #if LANG_CXX11 |
2184 | | void set_dump(::std::string&& value); |
2185 | | #endif |
2186 | | void set_dump(const char* value); |
2187 | | void set_dump(const char* value, size_t size); |
2188 | | ::std::string* mutable_dump(); |
2189 | | ::std::string* release_dump(); |
2190 | | void set_allocated_dump(::std::string* dump); |
2191 | | |
2192 | | // optional .yb.master.MasterErrorPB error = 1; |
2193 | | bool has_error() const; |
2194 | | void clear_error(); |
2195 | | static const int kErrorFieldNumber = 1; |
2196 | | const ::yb::master::MasterErrorPB& error() const; |
2197 | | ::yb::master::MasterErrorPB* release_error(); |
2198 | | ::yb::master::MasterErrorPB* mutable_error(); |
2199 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2200 | | |
2201 | | // @@protoc_insertion_point(class_scope:yb.master.DumpMasterStateResponsePB) |
2202 | | private: |
2203 | | void set_has_error(); |
2204 | | void clear_has_error(); |
2205 | | void set_has_dump(); |
2206 | | void clear_has_dump(); |
2207 | | |
2208 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2209 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2210 | | mutable int _cached_size_; |
2211 | | ::google::protobuf::internal::ArenaStringPtr dump_; |
2212 | | ::yb::master::MasterErrorPB* error_; |
2213 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2214 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsDumpMasterStateResponsePBImpl(); |
2215 | | }; |
2216 | | // ------------------------------------------------------------------- |
2217 | | |
2218 | | class ChangeLoadBalancerStateRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ChangeLoadBalancerStateRequestPB) */ { |
2219 | | public: |
2220 | | ChangeLoadBalancerStateRequestPB(); |
2221 | | virtual ~ChangeLoadBalancerStateRequestPB(); |
2222 | | |
2223 | | ChangeLoadBalancerStateRequestPB(const ChangeLoadBalancerStateRequestPB& from); |
2224 | | |
2225 | 0 | inline ChangeLoadBalancerStateRequestPB& operator=(const ChangeLoadBalancerStateRequestPB& from) { |
2226 | 0 | CopyFrom(from); |
2227 | 0 | return *this; |
2228 | 0 | } |
2229 | | #if LANG_CXX11 |
2230 | | ChangeLoadBalancerStateRequestPB(ChangeLoadBalancerStateRequestPB&& from) noexcept |
2231 | 0 | : ChangeLoadBalancerStateRequestPB() { |
2232 | 0 | *this = ::std::move(from); |
2233 | 0 | } |
2234 | | |
2235 | 0 | inline ChangeLoadBalancerStateRequestPB& operator=(ChangeLoadBalancerStateRequestPB&& from) noexcept { |
2236 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2237 | 0 | if (this != &from) InternalSwap(&from); |
2238 | 0 | } else { |
2239 | 0 | CopyFrom(from); |
2240 | 0 | } |
2241 | 0 | return *this; |
2242 | 0 | } |
2243 | | #endif |
2244 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2245 | 0 | return _internal_metadata_.unknown_fields(); |
2246 | 0 | } |
2247 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2248 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2249 | 0 | } |
2250 | | |
2251 | | static const ::google::protobuf::Descriptor* descriptor(); |
2252 | | static const ChangeLoadBalancerStateRequestPB& default_instance(); |
2253 | | |
2254 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2255 | 15.8k | static inline const ChangeLoadBalancerStateRequestPB* internal_default_instance() { |
2256 | 15.8k | return reinterpret_cast<const ChangeLoadBalancerStateRequestPB*>( |
2257 | 15.8k | &_ChangeLoadBalancerStateRequestPB_default_instance_); |
2258 | 15.8k | } |
2259 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2260 | | 16; |
2261 | | |
2262 | | void Swap(ChangeLoadBalancerStateRequestPB* other); |
2263 | 0 | friend void swap(ChangeLoadBalancerStateRequestPB& a, ChangeLoadBalancerStateRequestPB& b) { |
2264 | 0 | a.Swap(&b); |
2265 | 0 | } |
2266 | | |
2267 | | // implements Message ---------------------------------------------- |
2268 | | |
2269 | 0 | inline ChangeLoadBalancerStateRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2270 | | |
2271 | | ChangeLoadBalancerStateRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2272 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2273 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2274 | | void CopyFrom(const ChangeLoadBalancerStateRequestPB& from); |
2275 | | void MergeFrom(const ChangeLoadBalancerStateRequestPB& from); |
2276 | | void Clear() PROTOBUF_FINAL; |
2277 | | bool IsInitialized() const PROTOBUF_FINAL; |
2278 | | |
2279 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2280 | | bool MergePartialFromCodedStream( |
2281 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2282 | | void SerializeWithCachedSizes( |
2283 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2284 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2285 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2286 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2287 | | private: |
2288 | | void SharedCtor(); |
2289 | | void SharedDtor(); |
2290 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2291 | | void InternalSwap(ChangeLoadBalancerStateRequestPB* other); |
2292 | | private: |
2293 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2294 | 0 | return NULL; |
2295 | 0 | } |
2296 | 0 | inline void* MaybeArenaPtr() const { |
2297 | 0 | return NULL; |
2298 | 0 | } |
2299 | | public: |
2300 | | |
2301 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2302 | | |
2303 | | // nested types ---------------------------------------------------- |
2304 | | |
2305 | | // accessors ------------------------------------------------------- |
2306 | | |
2307 | | // optional bool is_enabled = 1; |
2308 | | bool has_is_enabled() const; |
2309 | | void clear_is_enabled(); |
2310 | | static const int kIsEnabledFieldNumber = 1; |
2311 | | bool is_enabled() const; |
2312 | | void set_is_enabled(bool value); |
2313 | | |
2314 | | // @@protoc_insertion_point(class_scope:yb.master.ChangeLoadBalancerStateRequestPB) |
2315 | | private: |
2316 | | void set_has_is_enabled(); |
2317 | | void clear_has_is_enabled(); |
2318 | | |
2319 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2320 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2321 | | mutable int _cached_size_; |
2322 | | bool is_enabled_; |
2323 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2324 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeLoadBalancerStateRequestPBImpl(); |
2325 | | }; |
2326 | | // ------------------------------------------------------------------- |
2327 | | |
2328 | | class ChangeLoadBalancerStateResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ChangeLoadBalancerStateResponsePB) */ { |
2329 | | public: |
2330 | | ChangeLoadBalancerStateResponsePB(); |
2331 | | virtual ~ChangeLoadBalancerStateResponsePB(); |
2332 | | |
2333 | | ChangeLoadBalancerStateResponsePB(const ChangeLoadBalancerStateResponsePB& from); |
2334 | | |
2335 | 0 | inline ChangeLoadBalancerStateResponsePB& operator=(const ChangeLoadBalancerStateResponsePB& from) { |
2336 | 0 | CopyFrom(from); |
2337 | 0 | return *this; |
2338 | 0 | } |
2339 | | #if LANG_CXX11 |
2340 | | ChangeLoadBalancerStateResponsePB(ChangeLoadBalancerStateResponsePB&& from) noexcept |
2341 | 0 | : ChangeLoadBalancerStateResponsePB() { |
2342 | 0 | *this = ::std::move(from); |
2343 | 0 | } Unexecuted instantiation: _ZN2yb6master33ChangeLoadBalancerStateResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb6master33ChangeLoadBalancerStateResponsePBC1EOS1_ |
2344 | | |
2345 | 0 | inline ChangeLoadBalancerStateResponsePB& operator=(ChangeLoadBalancerStateResponsePB&& from) noexcept { |
2346 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2347 | 0 | if (this != &from) InternalSwap(&from); |
2348 | 0 | } else { |
2349 | 0 | CopyFrom(from); |
2350 | 0 | } |
2351 | 0 | return *this; |
2352 | 0 | } |
2353 | | #endif |
2354 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2355 | 0 | return _internal_metadata_.unknown_fields(); |
2356 | 0 | } |
2357 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2358 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2359 | 0 | } |
2360 | | |
2361 | | static const ::google::protobuf::Descriptor* descriptor(); |
2362 | | static const ChangeLoadBalancerStateResponsePB& default_instance(); |
2363 | | |
2364 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2365 | 15.8k | static inline const ChangeLoadBalancerStateResponsePB* internal_default_instance() { |
2366 | 15.8k | return reinterpret_cast<const ChangeLoadBalancerStateResponsePB*>( |
2367 | 15.8k | &_ChangeLoadBalancerStateResponsePB_default_instance_); |
2368 | 15.8k | } |
2369 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2370 | | 17; |
2371 | | |
2372 | | void Swap(ChangeLoadBalancerStateResponsePB* other); |
2373 | 0 | friend void swap(ChangeLoadBalancerStateResponsePB& a, ChangeLoadBalancerStateResponsePB& b) { |
2374 | 0 | a.Swap(&b); |
2375 | 0 | } |
2376 | | |
2377 | | // implements Message ---------------------------------------------- |
2378 | | |
2379 | 0 | inline ChangeLoadBalancerStateResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2380 | | |
2381 | | ChangeLoadBalancerStateResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2382 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2383 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2384 | | void CopyFrom(const ChangeLoadBalancerStateResponsePB& from); |
2385 | | void MergeFrom(const ChangeLoadBalancerStateResponsePB& from); |
2386 | | void Clear() PROTOBUF_FINAL; |
2387 | | bool IsInitialized() const PROTOBUF_FINAL; |
2388 | | |
2389 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2390 | | bool MergePartialFromCodedStream( |
2391 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2392 | | void SerializeWithCachedSizes( |
2393 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2394 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2395 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2396 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2397 | | private: |
2398 | | void SharedCtor(); |
2399 | | void SharedDtor(); |
2400 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2401 | | void InternalSwap(ChangeLoadBalancerStateResponsePB* other); |
2402 | | private: |
2403 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2404 | 0 | return NULL; |
2405 | 0 | } |
2406 | 0 | inline void* MaybeArenaPtr() const { |
2407 | 0 | return NULL; |
2408 | 0 | } |
2409 | | public: |
2410 | | |
2411 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2412 | | |
2413 | | // nested types ---------------------------------------------------- |
2414 | | |
2415 | | // accessors ------------------------------------------------------- |
2416 | | |
2417 | | // optional .yb.master.MasterErrorPB error = 1; |
2418 | | bool has_error() const; |
2419 | | void clear_error(); |
2420 | | static const int kErrorFieldNumber = 1; |
2421 | | const ::yb::master::MasterErrorPB& error() const; |
2422 | | ::yb::master::MasterErrorPB* release_error(); |
2423 | | ::yb::master::MasterErrorPB* mutable_error(); |
2424 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2425 | | |
2426 | | // @@protoc_insertion_point(class_scope:yb.master.ChangeLoadBalancerStateResponsePB) |
2427 | | private: |
2428 | | void set_has_error(); |
2429 | | void clear_has_error(); |
2430 | | |
2431 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2432 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2433 | | mutable int _cached_size_; |
2434 | | ::yb::master::MasterErrorPB* error_; |
2435 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2436 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeLoadBalancerStateResponsePBImpl(); |
2437 | | }; |
2438 | | // ------------------------------------------------------------------- |
2439 | | |
2440 | | class GetLoadBalancerStateRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetLoadBalancerStateRequestPB) */ { |
2441 | | public: |
2442 | | GetLoadBalancerStateRequestPB(); |
2443 | | virtual ~GetLoadBalancerStateRequestPB(); |
2444 | | |
2445 | | GetLoadBalancerStateRequestPB(const GetLoadBalancerStateRequestPB& from); |
2446 | | |
2447 | 0 | inline GetLoadBalancerStateRequestPB& operator=(const GetLoadBalancerStateRequestPB& from) { |
2448 | 0 | CopyFrom(from); |
2449 | 0 | return *this; |
2450 | 0 | } |
2451 | | #if LANG_CXX11 |
2452 | | GetLoadBalancerStateRequestPB(GetLoadBalancerStateRequestPB&& from) noexcept |
2453 | 0 | : GetLoadBalancerStateRequestPB() { |
2454 | 0 | *this = ::std::move(from); |
2455 | 0 | } |
2456 | | |
2457 | 0 | inline GetLoadBalancerStateRequestPB& operator=(GetLoadBalancerStateRequestPB&& from) noexcept { |
2458 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2459 | 0 | if (this != &from) InternalSwap(&from); |
2460 | 0 | } else { |
2461 | 0 | CopyFrom(from); |
2462 | 0 | } |
2463 | 0 | return *this; |
2464 | 0 | } |
2465 | | #endif |
2466 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2467 | 0 | return _internal_metadata_.unknown_fields(); |
2468 | 0 | } |
2469 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2470 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2471 | 0 | } |
2472 | | |
2473 | | static const ::google::protobuf::Descriptor* descriptor(); |
2474 | | static const GetLoadBalancerStateRequestPB& default_instance(); |
2475 | | |
2476 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2477 | 15.8k | static inline const GetLoadBalancerStateRequestPB* internal_default_instance() { |
2478 | 15.8k | return reinterpret_cast<const GetLoadBalancerStateRequestPB*>( |
2479 | 15.8k | &_GetLoadBalancerStateRequestPB_default_instance_); |
2480 | 15.8k | } |
2481 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2482 | | 18; |
2483 | | |
2484 | | void Swap(GetLoadBalancerStateRequestPB* other); |
2485 | 0 | friend void swap(GetLoadBalancerStateRequestPB& a, GetLoadBalancerStateRequestPB& b) { |
2486 | 0 | a.Swap(&b); |
2487 | 0 | } |
2488 | | |
2489 | | // implements Message ---------------------------------------------- |
2490 | | |
2491 | 0 | inline GetLoadBalancerStateRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2492 | | |
2493 | | GetLoadBalancerStateRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2494 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2495 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2496 | | void CopyFrom(const GetLoadBalancerStateRequestPB& from); |
2497 | | void MergeFrom(const GetLoadBalancerStateRequestPB& from); |
2498 | | void Clear() PROTOBUF_FINAL; |
2499 | | bool IsInitialized() const PROTOBUF_FINAL; |
2500 | | |
2501 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2502 | | bool MergePartialFromCodedStream( |
2503 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2504 | | void SerializeWithCachedSizes( |
2505 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2506 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2507 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2508 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2509 | | private: |
2510 | | void SharedCtor(); |
2511 | | void SharedDtor(); |
2512 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2513 | | void InternalSwap(GetLoadBalancerStateRequestPB* other); |
2514 | | private: |
2515 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2516 | 0 | return NULL; |
2517 | 0 | } |
2518 | 0 | inline void* MaybeArenaPtr() const { |
2519 | 0 | return NULL; |
2520 | 0 | } |
2521 | | public: |
2522 | | |
2523 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2524 | | |
2525 | | // nested types ---------------------------------------------------- |
2526 | | |
2527 | | // accessors ------------------------------------------------------- |
2528 | | |
2529 | | // @@protoc_insertion_point(class_scope:yb.master.GetLoadBalancerStateRequestPB) |
2530 | | private: |
2531 | | |
2532 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2533 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2534 | | mutable int _cached_size_; |
2535 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2536 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadBalancerStateRequestPBImpl(); |
2537 | | }; |
2538 | | // ------------------------------------------------------------------- |
2539 | | |
2540 | | class GetLoadBalancerStateResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetLoadBalancerStateResponsePB) */ { |
2541 | | public: |
2542 | | GetLoadBalancerStateResponsePB(); |
2543 | | virtual ~GetLoadBalancerStateResponsePB(); |
2544 | | |
2545 | | GetLoadBalancerStateResponsePB(const GetLoadBalancerStateResponsePB& from); |
2546 | | |
2547 | 0 | inline GetLoadBalancerStateResponsePB& operator=(const GetLoadBalancerStateResponsePB& from) { |
2548 | 0 | CopyFrom(from); |
2549 | 0 | return *this; |
2550 | 0 | } |
2551 | | #if LANG_CXX11 |
2552 | | GetLoadBalancerStateResponsePB(GetLoadBalancerStateResponsePB&& from) noexcept |
2553 | 0 | : GetLoadBalancerStateResponsePB() { |
2554 | 0 | *this = ::std::move(from); |
2555 | 0 | } Unexecuted instantiation: _ZN2yb6master30GetLoadBalancerStateResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb6master30GetLoadBalancerStateResponsePBC1EOS1_ |
2556 | | |
2557 | 0 | inline GetLoadBalancerStateResponsePB& operator=(GetLoadBalancerStateResponsePB&& from) noexcept { |
2558 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2559 | 0 | if (this != &from) InternalSwap(&from); |
2560 | 0 | } else { |
2561 | 0 | CopyFrom(from); |
2562 | 0 | } |
2563 | 0 | return *this; |
2564 | 0 | } |
2565 | | #endif |
2566 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2567 | 0 | return _internal_metadata_.unknown_fields(); |
2568 | 0 | } |
2569 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2570 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2571 | 0 | } |
2572 | | |
2573 | | static const ::google::protobuf::Descriptor* descriptor(); |
2574 | | static const GetLoadBalancerStateResponsePB& default_instance(); |
2575 | | |
2576 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2577 | 15.8k | static inline const GetLoadBalancerStateResponsePB* internal_default_instance() { |
2578 | 15.8k | return reinterpret_cast<const GetLoadBalancerStateResponsePB*>( |
2579 | 15.8k | &_GetLoadBalancerStateResponsePB_default_instance_); |
2580 | 15.8k | } |
2581 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2582 | | 19; |
2583 | | |
2584 | | void Swap(GetLoadBalancerStateResponsePB* other); |
2585 | 0 | friend void swap(GetLoadBalancerStateResponsePB& a, GetLoadBalancerStateResponsePB& b) { |
2586 | 0 | a.Swap(&b); |
2587 | 0 | } |
2588 | | |
2589 | | // implements Message ---------------------------------------------- |
2590 | | |
2591 | 0 | inline GetLoadBalancerStateResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2592 | | |
2593 | | GetLoadBalancerStateResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2594 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2595 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2596 | | void CopyFrom(const GetLoadBalancerStateResponsePB& from); |
2597 | | void MergeFrom(const GetLoadBalancerStateResponsePB& from); |
2598 | | void Clear() PROTOBUF_FINAL; |
2599 | | bool IsInitialized() const PROTOBUF_FINAL; |
2600 | | |
2601 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2602 | | bool MergePartialFromCodedStream( |
2603 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2604 | | void SerializeWithCachedSizes( |
2605 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2606 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2607 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2608 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2609 | | private: |
2610 | | void SharedCtor(); |
2611 | | void SharedDtor(); |
2612 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2613 | | void InternalSwap(GetLoadBalancerStateResponsePB* other); |
2614 | | private: |
2615 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2616 | 0 | return NULL; |
2617 | 0 | } |
2618 | 0 | inline void* MaybeArenaPtr() const { |
2619 | 0 | return NULL; |
2620 | 0 | } |
2621 | | public: |
2622 | | |
2623 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2624 | | |
2625 | | // nested types ---------------------------------------------------- |
2626 | | |
2627 | | // accessors ------------------------------------------------------- |
2628 | | |
2629 | | // optional .yb.master.MasterErrorPB error = 1; |
2630 | | bool has_error() const; |
2631 | | void clear_error(); |
2632 | | static const int kErrorFieldNumber = 1; |
2633 | | const ::yb::master::MasterErrorPB& error() const; |
2634 | | ::yb::master::MasterErrorPB* release_error(); |
2635 | | ::yb::master::MasterErrorPB* mutable_error(); |
2636 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2637 | | |
2638 | | // optional bool is_enabled = 2; |
2639 | | bool has_is_enabled() const; |
2640 | | void clear_is_enabled(); |
2641 | | static const int kIsEnabledFieldNumber = 2; |
2642 | | bool is_enabled() const; |
2643 | | void set_is_enabled(bool value); |
2644 | | |
2645 | | // @@protoc_insertion_point(class_scope:yb.master.GetLoadBalancerStateResponsePB) |
2646 | | private: |
2647 | | void set_has_error(); |
2648 | | void clear_has_error(); |
2649 | | void set_has_is_enabled(); |
2650 | | void clear_has_is_enabled(); |
2651 | | |
2652 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2653 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2654 | | mutable int _cached_size_; |
2655 | | ::yb::master::MasterErrorPB* error_; |
2656 | | bool is_enabled_; |
2657 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2658 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadBalancerStateResponsePBImpl(); |
2659 | | }; |
2660 | | // ------------------------------------------------------------------- |
2661 | | |
2662 | | class RemovedMasterUpdateRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RemovedMasterUpdateRequestPB) */ { |
2663 | | public: |
2664 | | RemovedMasterUpdateRequestPB(); |
2665 | | virtual ~RemovedMasterUpdateRequestPB(); |
2666 | | |
2667 | | RemovedMasterUpdateRequestPB(const RemovedMasterUpdateRequestPB& from); |
2668 | | |
2669 | 0 | inline RemovedMasterUpdateRequestPB& operator=(const RemovedMasterUpdateRequestPB& from) { |
2670 | 0 | CopyFrom(from); |
2671 | 0 | return *this; |
2672 | 0 | } |
2673 | | #if LANG_CXX11 |
2674 | | RemovedMasterUpdateRequestPB(RemovedMasterUpdateRequestPB&& from) noexcept |
2675 | 0 | : RemovedMasterUpdateRequestPB() { |
2676 | 0 | *this = ::std::move(from); |
2677 | 0 | } |
2678 | | |
2679 | 0 | inline RemovedMasterUpdateRequestPB& operator=(RemovedMasterUpdateRequestPB&& from) noexcept { |
2680 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2681 | 0 | if (this != &from) InternalSwap(&from); |
2682 | 0 | } else { |
2683 | 0 | CopyFrom(from); |
2684 | 0 | } |
2685 | 0 | return *this; |
2686 | 0 | } |
2687 | | #endif |
2688 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2689 | 0 | return _internal_metadata_.unknown_fields(); |
2690 | 0 | } |
2691 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2692 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2693 | 0 | } |
2694 | | |
2695 | | static const ::google::protobuf::Descriptor* descriptor(); |
2696 | | static const RemovedMasterUpdateRequestPB& default_instance(); |
2697 | | |
2698 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2699 | 15.9k | static inline const RemovedMasterUpdateRequestPB* internal_default_instance() { |
2700 | 15.9k | return reinterpret_cast<const RemovedMasterUpdateRequestPB*>( |
2701 | 15.9k | &_RemovedMasterUpdateRequestPB_default_instance_); |
2702 | 15.9k | } |
2703 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2704 | | 20; |
2705 | | |
2706 | | void Swap(RemovedMasterUpdateRequestPB* other); |
2707 | 0 | friend void swap(RemovedMasterUpdateRequestPB& a, RemovedMasterUpdateRequestPB& b) { |
2708 | 0 | a.Swap(&b); |
2709 | 0 | } |
2710 | | |
2711 | | // implements Message ---------------------------------------------- |
2712 | | |
2713 | 0 | inline RemovedMasterUpdateRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2714 | | |
2715 | | RemovedMasterUpdateRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2716 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2717 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2718 | | void CopyFrom(const RemovedMasterUpdateRequestPB& from); |
2719 | | void MergeFrom(const RemovedMasterUpdateRequestPB& from); |
2720 | | void Clear() PROTOBUF_FINAL; |
2721 | | bool IsInitialized() const PROTOBUF_FINAL; |
2722 | | |
2723 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2724 | | bool MergePartialFromCodedStream( |
2725 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2726 | | void SerializeWithCachedSizes( |
2727 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2728 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2729 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2730 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2731 | | private: |
2732 | | void SharedCtor(); |
2733 | | void SharedDtor(); |
2734 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2735 | | void InternalSwap(RemovedMasterUpdateRequestPB* other); |
2736 | | private: |
2737 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2738 | 0 | return NULL; |
2739 | 0 | } |
2740 | 0 | inline void* MaybeArenaPtr() const { |
2741 | 0 | return NULL; |
2742 | 0 | } |
2743 | | public: |
2744 | | |
2745 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2746 | | |
2747 | | // nested types ---------------------------------------------------- |
2748 | | |
2749 | | // accessors ------------------------------------------------------- |
2750 | | |
2751 | | // @@protoc_insertion_point(class_scope:yb.master.RemovedMasterUpdateRequestPB) |
2752 | | private: |
2753 | | |
2754 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2755 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2756 | | mutable int _cached_size_; |
2757 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2758 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsRemovedMasterUpdateRequestPBImpl(); |
2759 | | }; |
2760 | | // ------------------------------------------------------------------- |
2761 | | |
2762 | | class RemovedMasterUpdateResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.RemovedMasterUpdateResponsePB) */ { |
2763 | | public: |
2764 | | RemovedMasterUpdateResponsePB(); |
2765 | | virtual ~RemovedMasterUpdateResponsePB(); |
2766 | | |
2767 | | RemovedMasterUpdateResponsePB(const RemovedMasterUpdateResponsePB& from); |
2768 | | |
2769 | 0 | inline RemovedMasterUpdateResponsePB& operator=(const RemovedMasterUpdateResponsePB& from) { |
2770 | 0 | CopyFrom(from); |
2771 | 0 | return *this; |
2772 | 0 | } |
2773 | | #if LANG_CXX11 |
2774 | | RemovedMasterUpdateResponsePB(RemovedMasterUpdateResponsePB&& from) noexcept |
2775 | 0 | : RemovedMasterUpdateResponsePB() { |
2776 | 0 | *this = ::std::move(from); |
2777 | 0 | } |
2778 | | |
2779 | 0 | inline RemovedMasterUpdateResponsePB& operator=(RemovedMasterUpdateResponsePB&& from) noexcept { |
2780 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2781 | 0 | if (this != &from) InternalSwap(&from); |
2782 | 0 | } else { |
2783 | 0 | CopyFrom(from); |
2784 | 0 | } |
2785 | 0 | return *this; |
2786 | 0 | } |
2787 | | #endif |
2788 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2789 | 0 | return _internal_metadata_.unknown_fields(); |
2790 | 0 | } |
2791 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2792 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2793 | 0 | } |
2794 | | |
2795 | | static const ::google::protobuf::Descriptor* descriptor(); |
2796 | | static const RemovedMasterUpdateResponsePB& default_instance(); |
2797 | | |
2798 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2799 | 15.9k | static inline const RemovedMasterUpdateResponsePB* internal_default_instance() { |
2800 | 15.9k | return reinterpret_cast<const RemovedMasterUpdateResponsePB*>( |
2801 | 15.9k | &_RemovedMasterUpdateResponsePB_default_instance_); |
2802 | 15.9k | } |
2803 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2804 | | 21; |
2805 | | |
2806 | | void Swap(RemovedMasterUpdateResponsePB* other); |
2807 | 0 | friend void swap(RemovedMasterUpdateResponsePB& a, RemovedMasterUpdateResponsePB& b) { |
2808 | 0 | a.Swap(&b); |
2809 | 0 | } |
2810 | | |
2811 | | // implements Message ---------------------------------------------- |
2812 | | |
2813 | 0 | inline RemovedMasterUpdateResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
2814 | | |
2815 | | RemovedMasterUpdateResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2816 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2817 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2818 | | void CopyFrom(const RemovedMasterUpdateResponsePB& from); |
2819 | | void MergeFrom(const RemovedMasterUpdateResponsePB& from); |
2820 | | void Clear() PROTOBUF_FINAL; |
2821 | | bool IsInitialized() const PROTOBUF_FINAL; |
2822 | | |
2823 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2824 | | bool MergePartialFromCodedStream( |
2825 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2826 | | void SerializeWithCachedSizes( |
2827 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2828 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2829 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2830 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2831 | | private: |
2832 | | void SharedCtor(); |
2833 | | void SharedDtor(); |
2834 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2835 | | void InternalSwap(RemovedMasterUpdateResponsePB* other); |
2836 | | private: |
2837 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2838 | 0 | return NULL; |
2839 | 0 | } |
2840 | 0 | inline void* MaybeArenaPtr() const { |
2841 | 0 | return NULL; |
2842 | 0 | } |
2843 | | public: |
2844 | | |
2845 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2846 | | |
2847 | | // nested types ---------------------------------------------------- |
2848 | | |
2849 | | // accessors ------------------------------------------------------- |
2850 | | |
2851 | | // optional .yb.master.MasterErrorPB error = 1; |
2852 | | bool has_error() const; |
2853 | | void clear_error(); |
2854 | | static const int kErrorFieldNumber = 1; |
2855 | | const ::yb::master::MasterErrorPB& error() const; |
2856 | | ::yb::master::MasterErrorPB* release_error(); |
2857 | | ::yb::master::MasterErrorPB* mutable_error(); |
2858 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
2859 | | |
2860 | | // @@protoc_insertion_point(class_scope:yb.master.RemovedMasterUpdateResponsePB) |
2861 | | private: |
2862 | | void set_has_error(); |
2863 | | void clear_has_error(); |
2864 | | |
2865 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2866 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2867 | | mutable int _cached_size_; |
2868 | | ::yb::master::MasterErrorPB* error_; |
2869 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2870 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsRemovedMasterUpdateResponsePBImpl(); |
2871 | | }; |
2872 | | // ------------------------------------------------------------------- |
2873 | | |
2874 | | class SetPreferredZonesRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SetPreferredZonesRequestPB) */ { |
2875 | | public: |
2876 | | SetPreferredZonesRequestPB(); |
2877 | | virtual ~SetPreferredZonesRequestPB(); |
2878 | | |
2879 | | SetPreferredZonesRequestPB(const SetPreferredZonesRequestPB& from); |
2880 | | |
2881 | 0 | inline SetPreferredZonesRequestPB& operator=(const SetPreferredZonesRequestPB& from) { |
2882 | 0 | CopyFrom(from); |
2883 | 0 | return *this; |
2884 | 0 | } |
2885 | | #if LANG_CXX11 |
2886 | | SetPreferredZonesRequestPB(SetPreferredZonesRequestPB&& from) noexcept |
2887 | 0 | : SetPreferredZonesRequestPB() { |
2888 | 0 | *this = ::std::move(from); |
2889 | 0 | } |
2890 | | |
2891 | 0 | inline SetPreferredZonesRequestPB& operator=(SetPreferredZonesRequestPB&& from) noexcept { |
2892 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2893 | 0 | if (this != &from) InternalSwap(&from); |
2894 | 0 | } else { |
2895 | 0 | CopyFrom(from); |
2896 | 0 | } |
2897 | 0 | return *this; |
2898 | 0 | } |
2899 | | #endif |
2900 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2901 | 0 | return _internal_metadata_.unknown_fields(); |
2902 | 0 | } |
2903 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2904 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2905 | 0 | } |
2906 | | |
2907 | | static const ::google::protobuf::Descriptor* descriptor(); |
2908 | | static const SetPreferredZonesRequestPB& default_instance(); |
2909 | | |
2910 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2911 | 15.8k | static inline const SetPreferredZonesRequestPB* internal_default_instance() { |
2912 | 15.8k | return reinterpret_cast<const SetPreferredZonesRequestPB*>( |
2913 | 15.8k | &_SetPreferredZonesRequestPB_default_instance_); |
2914 | 15.8k | } |
2915 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2916 | | 22; |
2917 | | |
2918 | | void Swap(SetPreferredZonesRequestPB* other); |
2919 | 0 | friend void swap(SetPreferredZonesRequestPB& a, SetPreferredZonesRequestPB& b) { |
2920 | 0 | a.Swap(&b); |
2921 | 0 | } |
2922 | | |
2923 | | // implements Message ---------------------------------------------- |
2924 | | |
2925 | 0 | inline SetPreferredZonesRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2926 | | |
2927 | | SetPreferredZonesRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2928 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2929 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2930 | | void CopyFrom(const SetPreferredZonesRequestPB& from); |
2931 | | void MergeFrom(const SetPreferredZonesRequestPB& from); |
2932 | | void Clear() PROTOBUF_FINAL; |
2933 | | bool IsInitialized() const PROTOBUF_FINAL; |
2934 | | |
2935 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2936 | | bool MergePartialFromCodedStream( |
2937 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2938 | | void SerializeWithCachedSizes( |
2939 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2940 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2941 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2942 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2943 | | private: |
2944 | | void SharedCtor(); |
2945 | | void SharedDtor(); |
2946 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2947 | | void InternalSwap(SetPreferredZonesRequestPB* other); |
2948 | | private: |
2949 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2950 | 0 | return NULL; |
2951 | 0 | } |
2952 | 0 | inline void* MaybeArenaPtr() const { |
2953 | 0 | return NULL; |
2954 | 0 | } |
2955 | | public: |
2956 | | |
2957 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2958 | | |
2959 | | // nested types ---------------------------------------------------- |
2960 | | |
2961 | | // accessors ------------------------------------------------------- |
2962 | | |
2963 | | // repeated .yb.CloudInfoPB preferred_zones = 1; |
2964 | | int preferred_zones_size() const; |
2965 | | void clear_preferred_zones(); |
2966 | | static const int kPreferredZonesFieldNumber = 1; |
2967 | | const ::yb::CloudInfoPB& preferred_zones(int index) const; |
2968 | | ::yb::CloudInfoPB* mutable_preferred_zones(int index); |
2969 | | ::yb::CloudInfoPB* add_preferred_zones(); |
2970 | | ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >* |
2971 | | mutable_preferred_zones(); |
2972 | | const ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >& |
2973 | | preferred_zones() const; |
2974 | | |
2975 | | // @@protoc_insertion_point(class_scope:yb.master.SetPreferredZonesRequestPB) |
2976 | | private: |
2977 | | |
2978 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2979 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2980 | | mutable int _cached_size_; |
2981 | | ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB > preferred_zones_; |
2982 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
2983 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsSetPreferredZonesRequestPBImpl(); |
2984 | | }; |
2985 | | // ------------------------------------------------------------------- |
2986 | | |
2987 | | class SetPreferredZonesResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.SetPreferredZonesResponsePB) */ { |
2988 | | public: |
2989 | | SetPreferredZonesResponsePB(); |
2990 | | virtual ~SetPreferredZonesResponsePB(); |
2991 | | |
2992 | | SetPreferredZonesResponsePB(const SetPreferredZonesResponsePB& from); |
2993 | | |
2994 | 0 | inline SetPreferredZonesResponsePB& operator=(const SetPreferredZonesResponsePB& from) { |
2995 | 0 | CopyFrom(from); |
2996 | 0 | return *this; |
2997 | 0 | } |
2998 | | #if LANG_CXX11 |
2999 | | SetPreferredZonesResponsePB(SetPreferredZonesResponsePB&& from) noexcept |
3000 | 0 | : SetPreferredZonesResponsePB() { |
3001 | 0 | *this = ::std::move(from); |
3002 | 0 | } |
3003 | | |
3004 | 0 | inline SetPreferredZonesResponsePB& operator=(SetPreferredZonesResponsePB&& from) noexcept { |
3005 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3006 | 0 | if (this != &from) InternalSwap(&from); |
3007 | 0 | } else { |
3008 | 0 | CopyFrom(from); |
3009 | 0 | } |
3010 | 0 | return *this; |
3011 | 0 | } |
3012 | | #endif |
3013 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3014 | 0 | return _internal_metadata_.unknown_fields(); |
3015 | 0 | } |
3016 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3017 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3018 | 0 | } |
3019 | | |
3020 | | static const ::google::protobuf::Descriptor* descriptor(); |
3021 | | static const SetPreferredZonesResponsePB& default_instance(); |
3022 | | |
3023 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3024 | 15.8k | static inline const SetPreferredZonesResponsePB* internal_default_instance() { |
3025 | 15.8k | return reinterpret_cast<const SetPreferredZonesResponsePB*>( |
3026 | 15.8k | &_SetPreferredZonesResponsePB_default_instance_); |
3027 | 15.8k | } |
3028 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3029 | | 23; |
3030 | | |
3031 | | void Swap(SetPreferredZonesResponsePB* other); |
3032 | 0 | friend void swap(SetPreferredZonesResponsePB& a, SetPreferredZonesResponsePB& b) { |
3033 | 0 | a.Swap(&b); |
3034 | 0 | } |
3035 | | |
3036 | | // implements Message ---------------------------------------------- |
3037 | | |
3038 | 0 | inline SetPreferredZonesResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3039 | | |
3040 | | SetPreferredZonesResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3041 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3042 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3043 | | void CopyFrom(const SetPreferredZonesResponsePB& from); |
3044 | | void MergeFrom(const SetPreferredZonesResponsePB& from); |
3045 | | void Clear() PROTOBUF_FINAL; |
3046 | | bool IsInitialized() const PROTOBUF_FINAL; |
3047 | | |
3048 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3049 | | bool MergePartialFromCodedStream( |
3050 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3051 | | void SerializeWithCachedSizes( |
3052 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3053 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3054 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3055 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3056 | | private: |
3057 | | void SharedCtor(); |
3058 | | void SharedDtor(); |
3059 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3060 | | void InternalSwap(SetPreferredZonesResponsePB* other); |
3061 | | private: |
3062 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3063 | 0 | return NULL; |
3064 | 0 | } |
3065 | 0 | inline void* MaybeArenaPtr() const { |
3066 | 0 | return NULL; |
3067 | 0 | } |
3068 | | public: |
3069 | | |
3070 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3071 | | |
3072 | | // nested types ---------------------------------------------------- |
3073 | | |
3074 | | // accessors ------------------------------------------------------- |
3075 | | |
3076 | | // optional .yb.master.MasterErrorPB error = 1; |
3077 | | bool has_error() const; |
3078 | | void clear_error(); |
3079 | | static const int kErrorFieldNumber = 1; |
3080 | | const ::yb::master::MasterErrorPB& error() const; |
3081 | | ::yb::master::MasterErrorPB* release_error(); |
3082 | | ::yb::master::MasterErrorPB* mutable_error(); |
3083 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3084 | | |
3085 | | // @@protoc_insertion_point(class_scope:yb.master.SetPreferredZonesResponsePB) |
3086 | | private: |
3087 | | void set_has_error(); |
3088 | | void clear_has_error(); |
3089 | | |
3090 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3091 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3092 | | mutable int _cached_size_; |
3093 | | ::yb::master::MasterErrorPB* error_; |
3094 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3095 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsSetPreferredZonesResponsePBImpl(); |
3096 | | }; |
3097 | | // ------------------------------------------------------------------- |
3098 | | |
3099 | | class GetMasterClusterConfigRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetMasterClusterConfigRequestPB) */ { |
3100 | | public: |
3101 | | GetMasterClusterConfigRequestPB(); |
3102 | | virtual ~GetMasterClusterConfigRequestPB(); |
3103 | | |
3104 | | GetMasterClusterConfigRequestPB(const GetMasterClusterConfigRequestPB& from); |
3105 | | |
3106 | 0 | inline GetMasterClusterConfigRequestPB& operator=(const GetMasterClusterConfigRequestPB& from) { |
3107 | 0 | CopyFrom(from); |
3108 | 0 | return *this; |
3109 | 0 | } |
3110 | | #if LANG_CXX11 |
3111 | | GetMasterClusterConfigRequestPB(GetMasterClusterConfigRequestPB&& from) noexcept |
3112 | 0 | : GetMasterClusterConfigRequestPB() { |
3113 | 0 | *this = ::std::move(from); |
3114 | 0 | } |
3115 | | |
3116 | 0 | inline GetMasterClusterConfigRequestPB& operator=(GetMasterClusterConfigRequestPB&& from) noexcept { |
3117 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3118 | 0 | if (this != &from) InternalSwap(&from); |
3119 | 0 | } else { |
3120 | 0 | CopyFrom(from); |
3121 | 0 | } |
3122 | 0 | return *this; |
3123 | 0 | } |
3124 | | #endif |
3125 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3126 | 0 | return _internal_metadata_.unknown_fields(); |
3127 | 0 | } |
3128 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3129 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3130 | 0 | } |
3131 | | |
3132 | | static const ::google::protobuf::Descriptor* descriptor(); |
3133 | | static const GetMasterClusterConfigRequestPB& default_instance(); |
3134 | | |
3135 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3136 | 16.0k | static inline const GetMasterClusterConfigRequestPB* internal_default_instance() { |
3137 | 16.0k | return reinterpret_cast<const GetMasterClusterConfigRequestPB*>( |
3138 | 16.0k | &_GetMasterClusterConfigRequestPB_default_instance_); |
3139 | 16.0k | } |
3140 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3141 | | 24; |
3142 | | |
3143 | | void Swap(GetMasterClusterConfigRequestPB* other); |
3144 | 0 | friend void swap(GetMasterClusterConfigRequestPB& a, GetMasterClusterConfigRequestPB& b) { |
3145 | 0 | a.Swap(&b); |
3146 | 0 | } |
3147 | | |
3148 | | // implements Message ---------------------------------------------- |
3149 | | |
3150 | 0 | inline GetMasterClusterConfigRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3151 | | |
3152 | | GetMasterClusterConfigRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3153 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3154 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3155 | | void CopyFrom(const GetMasterClusterConfigRequestPB& from); |
3156 | | void MergeFrom(const GetMasterClusterConfigRequestPB& from); |
3157 | | void Clear() PROTOBUF_FINAL; |
3158 | | bool IsInitialized() const PROTOBUF_FINAL; |
3159 | | |
3160 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3161 | | bool MergePartialFromCodedStream( |
3162 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3163 | | void SerializeWithCachedSizes( |
3164 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3165 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3166 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3167 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3168 | | private: |
3169 | | void SharedCtor(); |
3170 | | void SharedDtor(); |
3171 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3172 | | void InternalSwap(GetMasterClusterConfigRequestPB* other); |
3173 | | private: |
3174 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3175 | 0 | return NULL; |
3176 | 0 | } |
3177 | 0 | inline void* MaybeArenaPtr() const { |
3178 | 0 | return NULL; |
3179 | 0 | } |
3180 | | public: |
3181 | | |
3182 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3183 | | |
3184 | | // nested types ---------------------------------------------------- |
3185 | | |
3186 | | // accessors ------------------------------------------------------- |
3187 | | |
3188 | | // @@protoc_insertion_point(class_scope:yb.master.GetMasterClusterConfigRequestPB) |
3189 | | private: |
3190 | | |
3191 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3192 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3193 | | mutable int _cached_size_; |
3194 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3195 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterClusterConfigRequestPBImpl(); |
3196 | | }; |
3197 | | // ------------------------------------------------------------------- |
3198 | | |
3199 | | class GetMasterClusterConfigResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetMasterClusterConfigResponsePB) */ { |
3200 | | public: |
3201 | | GetMasterClusterConfigResponsePB(); |
3202 | | virtual ~GetMasterClusterConfigResponsePB(); |
3203 | | |
3204 | | GetMasterClusterConfigResponsePB(const GetMasterClusterConfigResponsePB& from); |
3205 | | |
3206 | 0 | inline GetMasterClusterConfigResponsePB& operator=(const GetMasterClusterConfigResponsePB& from) { |
3207 | 0 | CopyFrom(from); |
3208 | 0 | return *this; |
3209 | 0 | } |
3210 | | #if LANG_CXX11 |
3211 | | GetMasterClusterConfigResponsePB(GetMasterClusterConfigResponsePB&& from) noexcept |
3212 | 64 | : GetMasterClusterConfigResponsePB() { |
3213 | 64 | *this = ::std::move(from); |
3214 | 64 | } Unexecuted instantiation: _ZN2yb6master32GetMasterClusterConfigResponsePBC2EOS1_ _ZN2yb6master32GetMasterClusterConfigResponsePBC1EOS1_ Line | Count | Source | 3212 | 64 | : GetMasterClusterConfigResponsePB() { | 3213 | 64 | *this = ::std::move(from); | 3214 | 64 | } |
|
3215 | | |
3216 | 64 | inline GetMasterClusterConfigResponsePB& operator=(GetMasterClusterConfigResponsePB&& from) noexcept { |
3217 | 64 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3218 | 64 | if (this != &from) InternalSwap(&from); |
3219 | 0 | } else { |
3220 | 0 | CopyFrom(from); |
3221 | 0 | } |
3222 | 64 | return *this; |
3223 | 64 | } |
3224 | | #endif |
3225 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3226 | 0 | return _internal_metadata_.unknown_fields(); |
3227 | 0 | } |
3228 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3229 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3230 | 0 | } |
3231 | | |
3232 | | static const ::google::protobuf::Descriptor* descriptor(); |
3233 | | static const GetMasterClusterConfigResponsePB& default_instance(); |
3234 | | |
3235 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3236 | 16.7k | static inline const GetMasterClusterConfigResponsePB* internal_default_instance() { |
3237 | 16.7k | return reinterpret_cast<const GetMasterClusterConfigResponsePB*>( |
3238 | 16.7k | &_GetMasterClusterConfigResponsePB_default_instance_); |
3239 | 16.7k | } |
3240 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3241 | | 25; |
3242 | | |
3243 | | void Swap(GetMasterClusterConfigResponsePB* other); |
3244 | 0 | friend void swap(GetMasterClusterConfigResponsePB& a, GetMasterClusterConfigResponsePB& b) { |
3245 | 0 | a.Swap(&b); |
3246 | 0 | } |
3247 | | |
3248 | | // implements Message ---------------------------------------------- |
3249 | | |
3250 | 0 | inline GetMasterClusterConfigResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3251 | | |
3252 | | GetMasterClusterConfigResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3253 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3254 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3255 | | void CopyFrom(const GetMasterClusterConfigResponsePB& from); |
3256 | | void MergeFrom(const GetMasterClusterConfigResponsePB& from); |
3257 | | void Clear() PROTOBUF_FINAL; |
3258 | | bool IsInitialized() const PROTOBUF_FINAL; |
3259 | | |
3260 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3261 | | bool MergePartialFromCodedStream( |
3262 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3263 | | void SerializeWithCachedSizes( |
3264 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3265 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3266 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3267 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3268 | | private: |
3269 | | void SharedCtor(); |
3270 | | void SharedDtor(); |
3271 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3272 | | void InternalSwap(GetMasterClusterConfigResponsePB* other); |
3273 | | private: |
3274 | 128 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3275 | 128 | return NULL; |
3276 | 128 | } |
3277 | 0 | inline void* MaybeArenaPtr() const { |
3278 | 0 | return NULL; |
3279 | 0 | } |
3280 | | public: |
3281 | | |
3282 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3283 | | |
3284 | | // nested types ---------------------------------------------------- |
3285 | | |
3286 | | // accessors ------------------------------------------------------- |
3287 | | |
3288 | | // optional .yb.master.MasterErrorPB error = 1; |
3289 | | bool has_error() const; |
3290 | | void clear_error(); |
3291 | | static const int kErrorFieldNumber = 1; |
3292 | | const ::yb::master::MasterErrorPB& error() const; |
3293 | | ::yb::master::MasterErrorPB* release_error(); |
3294 | | ::yb::master::MasterErrorPB* mutable_error(); |
3295 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3296 | | |
3297 | | // optional .yb.master.SysClusterConfigEntryPB cluster_config = 2; |
3298 | | bool has_cluster_config() const; |
3299 | | void clear_cluster_config(); |
3300 | | static const int kClusterConfigFieldNumber = 2; |
3301 | | const ::yb::master::SysClusterConfigEntryPB& cluster_config() const; |
3302 | | ::yb::master::SysClusterConfigEntryPB* release_cluster_config(); |
3303 | | ::yb::master::SysClusterConfigEntryPB* mutable_cluster_config(); |
3304 | | void set_allocated_cluster_config(::yb::master::SysClusterConfigEntryPB* cluster_config); |
3305 | | |
3306 | | // @@protoc_insertion_point(class_scope:yb.master.GetMasterClusterConfigResponsePB) |
3307 | | private: |
3308 | | void set_has_error(); |
3309 | | void clear_has_error(); |
3310 | | void set_has_cluster_config(); |
3311 | | void clear_has_cluster_config(); |
3312 | | |
3313 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3314 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3315 | | mutable int _cached_size_; |
3316 | | ::yb::master::MasterErrorPB* error_; |
3317 | | ::yb::master::SysClusterConfigEntryPB* cluster_config_; |
3318 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3319 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetMasterClusterConfigResponsePBImpl(); |
3320 | | }; |
3321 | | // ------------------------------------------------------------------- |
3322 | | |
3323 | | class ChangeMasterClusterConfigRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ChangeMasterClusterConfigRequestPB) */ { |
3324 | | public: |
3325 | | ChangeMasterClusterConfigRequestPB(); |
3326 | | virtual ~ChangeMasterClusterConfigRequestPB(); |
3327 | | |
3328 | | ChangeMasterClusterConfigRequestPB(const ChangeMasterClusterConfigRequestPB& from); |
3329 | | |
3330 | 0 | inline ChangeMasterClusterConfigRequestPB& operator=(const ChangeMasterClusterConfigRequestPB& from) { |
3331 | 0 | CopyFrom(from); |
3332 | 0 | return *this; |
3333 | 0 | } |
3334 | | #if LANG_CXX11 |
3335 | | ChangeMasterClusterConfigRequestPB(ChangeMasterClusterConfigRequestPB&& from) noexcept |
3336 | 0 | : ChangeMasterClusterConfigRequestPB() { |
3337 | 0 | *this = ::std::move(from); |
3338 | 0 | } |
3339 | | |
3340 | 0 | inline ChangeMasterClusterConfigRequestPB& operator=(ChangeMasterClusterConfigRequestPB&& from) noexcept { |
3341 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3342 | 0 | if (this != &from) InternalSwap(&from); |
3343 | 0 | } else { |
3344 | 0 | CopyFrom(from); |
3345 | 0 | } |
3346 | 0 | return *this; |
3347 | 0 | } |
3348 | | #endif |
3349 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3350 | 0 | return _internal_metadata_.unknown_fields(); |
3351 | 0 | } |
3352 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3353 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3354 | 0 | } |
3355 | | |
3356 | | static const ::google::protobuf::Descriptor* descriptor(); |
3357 | | static const ChangeMasterClusterConfigRequestPB& default_instance(); |
3358 | | |
3359 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3360 | 16.1k | static inline const ChangeMasterClusterConfigRequestPB* internal_default_instance() { |
3361 | 16.1k | return reinterpret_cast<const ChangeMasterClusterConfigRequestPB*>( |
3362 | 16.1k | &_ChangeMasterClusterConfigRequestPB_default_instance_); |
3363 | 16.1k | } |
3364 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3365 | | 26; |
3366 | | |
3367 | | void Swap(ChangeMasterClusterConfigRequestPB* other); |
3368 | 0 | friend void swap(ChangeMasterClusterConfigRequestPB& a, ChangeMasterClusterConfigRequestPB& b) { |
3369 | 0 | a.Swap(&b); |
3370 | 0 | } |
3371 | | |
3372 | | // implements Message ---------------------------------------------- |
3373 | | |
3374 | 0 | inline ChangeMasterClusterConfigRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3375 | | |
3376 | | ChangeMasterClusterConfigRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3377 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3378 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3379 | | void CopyFrom(const ChangeMasterClusterConfigRequestPB& from); |
3380 | | void MergeFrom(const ChangeMasterClusterConfigRequestPB& from); |
3381 | | void Clear() PROTOBUF_FINAL; |
3382 | | bool IsInitialized() const PROTOBUF_FINAL; |
3383 | | |
3384 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3385 | | bool MergePartialFromCodedStream( |
3386 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3387 | | void SerializeWithCachedSizes( |
3388 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3389 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3390 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3391 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3392 | | private: |
3393 | | void SharedCtor(); |
3394 | | void SharedDtor(); |
3395 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3396 | | void InternalSwap(ChangeMasterClusterConfigRequestPB* other); |
3397 | | private: |
3398 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3399 | 0 | return NULL; |
3400 | 0 | } |
3401 | 0 | inline void* MaybeArenaPtr() const { |
3402 | 0 | return NULL; |
3403 | 0 | } |
3404 | | public: |
3405 | | |
3406 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3407 | | |
3408 | | // nested types ---------------------------------------------------- |
3409 | | |
3410 | | // accessors ------------------------------------------------------- |
3411 | | |
3412 | | // optional .yb.master.SysClusterConfigEntryPB cluster_config = 1; |
3413 | | bool has_cluster_config() const; |
3414 | | void clear_cluster_config(); |
3415 | | static const int kClusterConfigFieldNumber = 1; |
3416 | | const ::yb::master::SysClusterConfigEntryPB& cluster_config() const; |
3417 | | ::yb::master::SysClusterConfigEntryPB* release_cluster_config(); |
3418 | | ::yb::master::SysClusterConfigEntryPB* mutable_cluster_config(); |
3419 | | void set_allocated_cluster_config(::yb::master::SysClusterConfigEntryPB* cluster_config); |
3420 | | |
3421 | | // @@protoc_insertion_point(class_scope:yb.master.ChangeMasterClusterConfigRequestPB) |
3422 | | private: |
3423 | | void set_has_cluster_config(); |
3424 | | void clear_has_cluster_config(); |
3425 | | |
3426 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3427 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3428 | | mutable int _cached_size_; |
3429 | | ::yb::master::SysClusterConfigEntryPB* cluster_config_; |
3430 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3431 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeMasterClusterConfigRequestPBImpl(); |
3432 | | }; |
3433 | | // ------------------------------------------------------------------- |
3434 | | |
3435 | | class ChangeMasterClusterConfigResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.ChangeMasterClusterConfigResponsePB) */ { |
3436 | | public: |
3437 | | ChangeMasterClusterConfigResponsePB(); |
3438 | | virtual ~ChangeMasterClusterConfigResponsePB(); |
3439 | | |
3440 | | ChangeMasterClusterConfigResponsePB(const ChangeMasterClusterConfigResponsePB& from); |
3441 | | |
3442 | 0 | inline ChangeMasterClusterConfigResponsePB& operator=(const ChangeMasterClusterConfigResponsePB& from) { |
3443 | 0 | CopyFrom(from); |
3444 | 0 | return *this; |
3445 | 0 | } |
3446 | | #if LANG_CXX11 |
3447 | | ChangeMasterClusterConfigResponsePB(ChangeMasterClusterConfigResponsePB&& from) noexcept |
3448 | 48 | : ChangeMasterClusterConfigResponsePB() { |
3449 | 48 | *this = ::std::move(from); |
3450 | 48 | } Unexecuted instantiation: _ZN2yb6master35ChangeMasterClusterConfigResponsePBC2EOS1_ _ZN2yb6master35ChangeMasterClusterConfigResponsePBC1EOS1_ Line | Count | Source | 3448 | 48 | : ChangeMasterClusterConfigResponsePB() { | 3449 | 48 | *this = ::std::move(from); | 3450 | 48 | } |
|
3451 | | |
3452 | 48 | inline ChangeMasterClusterConfigResponsePB& operator=(ChangeMasterClusterConfigResponsePB&& from) noexcept { |
3453 | 48 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3454 | 48 | if (this != &from) InternalSwap(&from); |
3455 | 0 | } else { |
3456 | 0 | CopyFrom(from); |
3457 | 0 | } |
3458 | 48 | return *this; |
3459 | 48 | } |
3460 | | #endif |
3461 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3462 | 0 | return _internal_metadata_.unknown_fields(); |
3463 | 0 | } |
3464 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3465 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3466 | 0 | } |
3467 | | |
3468 | | static const ::google::protobuf::Descriptor* descriptor(); |
3469 | | static const ChangeMasterClusterConfigResponsePB& default_instance(); |
3470 | | |
3471 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3472 | 16.2k | static inline const ChangeMasterClusterConfigResponsePB* internal_default_instance() { |
3473 | 16.2k | return reinterpret_cast<const ChangeMasterClusterConfigResponsePB*>( |
3474 | 16.2k | &_ChangeMasterClusterConfigResponsePB_default_instance_); |
3475 | 16.2k | } |
3476 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3477 | | 27; |
3478 | | |
3479 | | void Swap(ChangeMasterClusterConfigResponsePB* other); |
3480 | 0 | friend void swap(ChangeMasterClusterConfigResponsePB& a, ChangeMasterClusterConfigResponsePB& b) { |
3481 | 0 | a.Swap(&b); |
3482 | 0 | } |
3483 | | |
3484 | | // implements Message ---------------------------------------------- |
3485 | | |
3486 | 0 | inline ChangeMasterClusterConfigResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3487 | | |
3488 | | ChangeMasterClusterConfigResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3489 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3490 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3491 | | void CopyFrom(const ChangeMasterClusterConfigResponsePB& from); |
3492 | | void MergeFrom(const ChangeMasterClusterConfigResponsePB& from); |
3493 | | void Clear() PROTOBUF_FINAL; |
3494 | | bool IsInitialized() const PROTOBUF_FINAL; |
3495 | | |
3496 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3497 | | bool MergePartialFromCodedStream( |
3498 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3499 | | void SerializeWithCachedSizes( |
3500 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3501 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3502 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3503 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3504 | | private: |
3505 | | void SharedCtor(); |
3506 | | void SharedDtor(); |
3507 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3508 | | void InternalSwap(ChangeMasterClusterConfigResponsePB* other); |
3509 | | private: |
3510 | 96 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3511 | 96 | return NULL; |
3512 | 96 | } |
3513 | 0 | inline void* MaybeArenaPtr() const { |
3514 | 0 | return NULL; |
3515 | 0 | } |
3516 | | public: |
3517 | | |
3518 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3519 | | |
3520 | | // nested types ---------------------------------------------------- |
3521 | | |
3522 | | // accessors ------------------------------------------------------- |
3523 | | |
3524 | | // optional .yb.master.MasterErrorPB error = 1; |
3525 | | bool has_error() const; |
3526 | | void clear_error(); |
3527 | | static const int kErrorFieldNumber = 1; |
3528 | | const ::yb::master::MasterErrorPB& error() const; |
3529 | | ::yb::master::MasterErrorPB* release_error(); |
3530 | | ::yb::master::MasterErrorPB* mutable_error(); |
3531 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3532 | | |
3533 | | // @@protoc_insertion_point(class_scope:yb.master.ChangeMasterClusterConfigResponsePB) |
3534 | | private: |
3535 | | void set_has_error(); |
3536 | | void clear_has_error(); |
3537 | | |
3538 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3539 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3540 | | mutable int _cached_size_; |
3541 | | ::yb::master::MasterErrorPB* error_; |
3542 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3543 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsChangeMasterClusterConfigResponsePBImpl(); |
3544 | | }; |
3545 | | // ------------------------------------------------------------------- |
3546 | | |
3547 | | class GetLoadMovePercentRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetLoadMovePercentRequestPB) */ { |
3548 | | public: |
3549 | | GetLoadMovePercentRequestPB(); |
3550 | | virtual ~GetLoadMovePercentRequestPB(); |
3551 | | |
3552 | | GetLoadMovePercentRequestPB(const GetLoadMovePercentRequestPB& from); |
3553 | | |
3554 | 0 | inline GetLoadMovePercentRequestPB& operator=(const GetLoadMovePercentRequestPB& from) { |
3555 | 0 | CopyFrom(from); |
3556 | 0 | return *this; |
3557 | 0 | } |
3558 | | #if LANG_CXX11 |
3559 | | GetLoadMovePercentRequestPB(GetLoadMovePercentRequestPB&& from) noexcept |
3560 | 0 | : GetLoadMovePercentRequestPB() { |
3561 | 0 | *this = ::std::move(from); |
3562 | 0 | } |
3563 | | |
3564 | 0 | inline GetLoadMovePercentRequestPB& operator=(GetLoadMovePercentRequestPB&& from) noexcept { |
3565 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3566 | 0 | if (this != &from) InternalSwap(&from); |
3567 | 0 | } else { |
3568 | 0 | CopyFrom(from); |
3569 | 0 | } |
3570 | 0 | return *this; |
3571 | 0 | } |
3572 | | #endif |
3573 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3574 | 0 | return _internal_metadata_.unknown_fields(); |
3575 | 0 | } |
3576 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3577 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3578 | 0 | } |
3579 | | |
3580 | | static const ::google::protobuf::Descriptor* descriptor(); |
3581 | | static const GetLoadMovePercentRequestPB& default_instance(); |
3582 | | |
3583 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3584 | 16.8k | static inline const GetLoadMovePercentRequestPB* internal_default_instance() { |
3585 | 16.8k | return reinterpret_cast<const GetLoadMovePercentRequestPB*>( |
3586 | 16.8k | &_GetLoadMovePercentRequestPB_default_instance_); |
3587 | 16.8k | } |
3588 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3589 | | 28; |
3590 | | |
3591 | | void Swap(GetLoadMovePercentRequestPB* other); |
3592 | 0 | friend void swap(GetLoadMovePercentRequestPB& a, GetLoadMovePercentRequestPB& b) { |
3593 | 0 | a.Swap(&b); |
3594 | 0 | } |
3595 | | |
3596 | | // implements Message ---------------------------------------------- |
3597 | | |
3598 | 0 | inline GetLoadMovePercentRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3599 | | |
3600 | | GetLoadMovePercentRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3601 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3602 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3603 | | void CopyFrom(const GetLoadMovePercentRequestPB& from); |
3604 | | void MergeFrom(const GetLoadMovePercentRequestPB& from); |
3605 | | void Clear() PROTOBUF_FINAL; |
3606 | | bool IsInitialized() const PROTOBUF_FINAL; |
3607 | | |
3608 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3609 | | bool MergePartialFromCodedStream( |
3610 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3611 | | void SerializeWithCachedSizes( |
3612 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3613 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3614 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3615 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3616 | | private: |
3617 | | void SharedCtor(); |
3618 | | void SharedDtor(); |
3619 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3620 | | void InternalSwap(GetLoadMovePercentRequestPB* other); |
3621 | | private: |
3622 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3623 | 0 | return NULL; |
3624 | 0 | } |
3625 | 0 | inline void* MaybeArenaPtr() const { |
3626 | 0 | return NULL; |
3627 | 0 | } |
3628 | | public: |
3629 | | |
3630 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3631 | | |
3632 | | // nested types ---------------------------------------------------- |
3633 | | |
3634 | | // accessors ------------------------------------------------------- |
3635 | | |
3636 | | // @@protoc_insertion_point(class_scope:yb.master.GetLoadMovePercentRequestPB) |
3637 | | private: |
3638 | | |
3639 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3640 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3641 | | mutable int _cached_size_; |
3642 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3643 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadMovePercentRequestPBImpl(); |
3644 | | }; |
3645 | | // ------------------------------------------------------------------- |
3646 | | |
3647 | | class GetLoadMovePercentResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetLoadMovePercentResponsePB) */ { |
3648 | | public: |
3649 | | GetLoadMovePercentResponsePB(); |
3650 | | virtual ~GetLoadMovePercentResponsePB(); |
3651 | | |
3652 | | GetLoadMovePercentResponsePB(const GetLoadMovePercentResponsePB& from); |
3653 | | |
3654 | 0 | inline GetLoadMovePercentResponsePB& operator=(const GetLoadMovePercentResponsePB& from) { |
3655 | 0 | CopyFrom(from); |
3656 | 0 | return *this; |
3657 | 0 | } |
3658 | | #if LANG_CXX11 |
3659 | | GetLoadMovePercentResponsePB(GetLoadMovePercentResponsePB&& from) noexcept |
3660 | 0 | : GetLoadMovePercentResponsePB() { |
3661 | 0 | *this = ::std::move(from); |
3662 | 0 | } Unexecuted instantiation: _ZN2yb6master28GetLoadMovePercentResponsePBC2EOS1_ Unexecuted instantiation: _ZN2yb6master28GetLoadMovePercentResponsePBC1EOS1_ |
3663 | | |
3664 | 0 | inline GetLoadMovePercentResponsePB& operator=(GetLoadMovePercentResponsePB&& from) noexcept { |
3665 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3666 | 0 | if (this != &from) InternalSwap(&from); |
3667 | 0 | } else { |
3668 | 0 | CopyFrom(from); |
3669 | 0 | } |
3670 | 0 | return *this; |
3671 | 0 | } |
3672 | | #endif |
3673 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3674 | 0 | return _internal_metadata_.unknown_fields(); |
3675 | 0 | } |
3676 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3677 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3678 | 0 | } |
3679 | | |
3680 | | static const ::google::protobuf::Descriptor* descriptor(); |
3681 | | static const GetLoadMovePercentResponsePB& default_instance(); |
3682 | | |
3683 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3684 | 18.2k | static inline const GetLoadMovePercentResponsePB* internal_default_instance() { |
3685 | 18.2k | return reinterpret_cast<const GetLoadMovePercentResponsePB*>( |
3686 | 18.2k | &_GetLoadMovePercentResponsePB_default_instance_); |
3687 | 18.2k | } |
3688 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3689 | | 29; |
3690 | | |
3691 | | void Swap(GetLoadMovePercentResponsePB* other); |
3692 | 0 | friend void swap(GetLoadMovePercentResponsePB& a, GetLoadMovePercentResponsePB& b) { |
3693 | 0 | a.Swap(&b); |
3694 | 0 | } |
3695 | | |
3696 | | // implements Message ---------------------------------------------- |
3697 | | |
3698 | 0 | inline GetLoadMovePercentResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3699 | | |
3700 | | GetLoadMovePercentResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3701 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3702 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3703 | | void CopyFrom(const GetLoadMovePercentResponsePB& from); |
3704 | | void MergeFrom(const GetLoadMovePercentResponsePB& from); |
3705 | | void Clear() PROTOBUF_FINAL; |
3706 | | bool IsInitialized() const PROTOBUF_FINAL; |
3707 | | |
3708 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3709 | | bool MergePartialFromCodedStream( |
3710 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3711 | | void SerializeWithCachedSizes( |
3712 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3713 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3714 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3715 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3716 | | private: |
3717 | | void SharedCtor(); |
3718 | | void SharedDtor(); |
3719 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3720 | | void InternalSwap(GetLoadMovePercentResponsePB* other); |
3721 | | private: |
3722 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3723 | 0 | return NULL; |
3724 | 0 | } |
3725 | 0 | inline void* MaybeArenaPtr() const { |
3726 | 0 | return NULL; |
3727 | 0 | } |
3728 | | public: |
3729 | | |
3730 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3731 | | |
3732 | | // nested types ---------------------------------------------------- |
3733 | | |
3734 | | // accessors ------------------------------------------------------- |
3735 | | |
3736 | | // optional .yb.master.MasterErrorPB error = 1; |
3737 | | bool has_error() const; |
3738 | | void clear_error(); |
3739 | | static const int kErrorFieldNumber = 1; |
3740 | | const ::yb::master::MasterErrorPB& error() const; |
3741 | | ::yb::master::MasterErrorPB* release_error(); |
3742 | | ::yb::master::MasterErrorPB* mutable_error(); |
3743 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
3744 | | |
3745 | | // optional double percent = 2; |
3746 | | bool has_percent() const; |
3747 | | void clear_percent(); |
3748 | | static const int kPercentFieldNumber = 2; |
3749 | | double percent() const; |
3750 | | void set_percent(double value); |
3751 | | |
3752 | | // optional uint64 remaining = 3; |
3753 | | bool has_remaining() const; |
3754 | | void clear_remaining(); |
3755 | | static const int kRemainingFieldNumber = 3; |
3756 | | ::google::protobuf::uint64 remaining() const; |
3757 | | void set_remaining(::google::protobuf::uint64 value); |
3758 | | |
3759 | | // optional uint64 total = 4; |
3760 | | bool has_total() const; |
3761 | | void clear_total(); |
3762 | | static const int kTotalFieldNumber = 4; |
3763 | | ::google::protobuf::uint64 total() const; |
3764 | | void set_total(::google::protobuf::uint64 value); |
3765 | | |
3766 | | // @@protoc_insertion_point(class_scope:yb.master.GetLoadMovePercentResponsePB) |
3767 | | private: |
3768 | | void set_has_error(); |
3769 | | void clear_has_error(); |
3770 | | void set_has_percent(); |
3771 | | void clear_has_percent(); |
3772 | | void set_has_remaining(); |
3773 | | void clear_has_remaining(); |
3774 | | void set_has_total(); |
3775 | | void clear_has_total(); |
3776 | | |
3777 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3778 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3779 | | mutable int _cached_size_; |
3780 | | ::yb::master::MasterErrorPB* error_; |
3781 | | double percent_; |
3782 | | ::google::protobuf::uint64 remaining_; |
3783 | | ::google::protobuf::uint64 total_; |
3784 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3785 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLoadMovePercentResponsePBImpl(); |
3786 | | }; |
3787 | | // ------------------------------------------------------------------- |
3788 | | |
3789 | | class GetLeaderBlacklistPercentRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.GetLeaderBlacklistPercentRequestPB) */ { |
3790 | | public: |
3791 | | GetLeaderBlacklistPercentRequestPB(); |
3792 | | virtual ~GetLeaderBlacklistPercentRequestPB(); |
3793 | | |
3794 | | GetLeaderBlacklistPercentRequestPB(const GetLeaderBlacklistPercentRequestPB& from); |
3795 | | |
3796 | 0 | inline GetLeaderBlacklistPercentRequestPB& operator=(const GetLeaderBlacklistPercentRequestPB& from) { |
3797 | 0 | CopyFrom(from); |
3798 | 0 | return *this; |
3799 | 0 | } |
3800 | | #if LANG_CXX11 |
3801 | | GetLeaderBlacklistPercentRequestPB(GetLeaderBlacklistPercentRequestPB&& from) noexcept |
3802 | 0 | : GetLeaderBlacklistPercentRequestPB() { |
3803 | 0 | *this = ::std::move(from); |
3804 | 0 | } |
3805 | | |
3806 | 0 | inline GetLeaderBlacklistPercentRequestPB& operator=(GetLeaderBlacklistPercentRequestPB&& from) noexcept { |
3807 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3808 | 0 | if (this != &from) InternalSwap(&from); |
3809 | 0 | } else { |
3810 | 0 | CopyFrom(from); |
3811 | 0 | } |
3812 | 0 | return *this; |
3813 | 0 | } |
3814 | | #endif |
3815 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3816 | 0 | return _internal_metadata_.unknown_fields(); |
3817 | 0 | } |
3818 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3819 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3820 | 0 | } |
3821 | | |
3822 | | static const ::google::protobuf::Descriptor* descriptor(); |
3823 | | static const GetLeaderBlacklistPercentRequestPB& default_instance(); |
3824 | | |
3825 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3826 | 16.0k | static inline const GetLeaderBlacklistPercentRequestPB* internal_default_instance() { |
3827 | 16.0k | return reinterpret_cast<const GetLeaderBlacklistPercentRequestPB*>( |
3828 | 16.0k | &_GetLeaderBlacklistPercentRequestPB_default_instance_); |
3829 | 16.0k | } |
3830 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3831 | | 30; |
3832 | | |
3833 | | void Swap(GetLeaderBlacklistPercentRequestPB* other); |
3834 | 0 | friend void swap(GetLeaderBlacklistPercentRequestPB& a, GetLeaderBlacklistPercentRequestPB& b) { |
3835 | 0 | a.Swap(&b); |
3836 | 0 | } |
3837 | | |
3838 | | // implements Message ---------------------------------------------- |
3839 | | |
3840 | 0 | inline GetLeaderBlacklistPercentRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3841 | | |
3842 | | GetLeaderBlacklistPercentRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3843 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3844 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3845 | | void CopyFrom(const GetLeaderBlacklistPercentRequestPB& from); |
3846 | | void MergeFrom(const GetLeaderBlacklistPercentRequestPB& from); |
3847 | | void Clear() PROTOBUF_FINAL; |
3848 | | bool IsInitialized() const PROTOBUF_FINAL; |
3849 | | |
3850 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3851 | | bool MergePartialFromCodedStream( |
3852 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3853 | | void SerializeWithCachedSizes( |
3854 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3855 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3856 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3857 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3858 | | private: |
3859 | | void SharedCtor(); |
3860 | | void SharedDtor(); |
3861 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3862 | | void InternalSwap(GetLeaderBlacklistPercentRequestPB* other); |
3863 | | private: |
3864 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3865 | 0 | return NULL; |
3866 | 0 | } |
3867 | 0 | inline void* MaybeArenaPtr() const { |
3868 | 0 | return NULL; |
3869 | 0 | } |
3870 | | public: |
3871 | | |
3872 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3873 | | |
3874 | | // nested types ---------------------------------------------------- |
3875 | | |
3876 | | // accessors ------------------------------------------------------- |
3877 | | |
3878 | | // @@protoc_insertion_point(class_scope:yb.master.GetLeaderBlacklistPercentRequestPB) |
3879 | | private: |
3880 | | |
3881 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3882 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3883 | | mutable int _cached_size_; |
3884 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3885 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsGetLeaderBlacklistPercentRequestPBImpl(); |
3886 | | }; |
3887 | | // ------------------------------------------------------------------- |
3888 | | |
3889 | | class IsLoadBalancedRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsLoadBalancedRequestPB) */ { |
3890 | | public: |
3891 | | IsLoadBalancedRequestPB(); |
3892 | | virtual ~IsLoadBalancedRequestPB(); |
3893 | | |
3894 | | IsLoadBalancedRequestPB(const IsLoadBalancedRequestPB& from); |
3895 | | |
3896 | 0 | inline IsLoadBalancedRequestPB& operator=(const IsLoadBalancedRequestPB& from) { |
3897 | 0 | CopyFrom(from); |
3898 | 0 | return *this; |
3899 | 0 | } |
3900 | | #if LANG_CXX11 |
3901 | | IsLoadBalancedRequestPB(IsLoadBalancedRequestPB&& from) noexcept |
3902 | 0 | : IsLoadBalancedRequestPB() { |
3903 | 0 | *this = ::std::move(from); |
3904 | 0 | } |
3905 | | |
3906 | 0 | inline IsLoadBalancedRequestPB& operator=(IsLoadBalancedRequestPB&& from) noexcept { |
3907 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3908 | 0 | if (this != &from) InternalSwap(&from); |
3909 | 0 | } else { |
3910 | 0 | CopyFrom(from); |
3911 | 0 | } |
3912 | 0 | return *this; |
3913 | 0 | } |
3914 | | #endif |
3915 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3916 | 0 | return _internal_metadata_.unknown_fields(); |
3917 | 0 | } |
3918 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3919 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3920 | 0 | } |
3921 | | |
3922 | | static const ::google::protobuf::Descriptor* descriptor(); |
3923 | | static const IsLoadBalancedRequestPB& default_instance(); |
3924 | | |
3925 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3926 | 16.2k | static inline const IsLoadBalancedRequestPB* internal_default_instance() { |
3927 | 16.2k | return reinterpret_cast<const IsLoadBalancedRequestPB*>( |
3928 | 16.2k | &_IsLoadBalancedRequestPB_default_instance_); |
3929 | 16.2k | } |
3930 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3931 | | 31; |
3932 | | |
3933 | | void Swap(IsLoadBalancedRequestPB* other); |
3934 | 0 | friend void swap(IsLoadBalancedRequestPB& a, IsLoadBalancedRequestPB& b) { |
3935 | 0 | a.Swap(&b); |
3936 | 0 | } |
3937 | | |
3938 | | // implements Message ---------------------------------------------- |
3939 | | |
3940 | 0 | inline IsLoadBalancedRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3941 | | |
3942 | | IsLoadBalancedRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3943 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3944 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3945 | | void CopyFrom(const IsLoadBalancedRequestPB& from); |
3946 | | void MergeFrom(const IsLoadBalancedRequestPB& from); |
3947 | | void Clear() PROTOBUF_FINAL; |
3948 | | bool IsInitialized() const PROTOBUF_FINAL; |
3949 | | |
3950 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3951 | | bool MergePartialFromCodedStream( |
3952 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3953 | | void SerializeWithCachedSizes( |
3954 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3955 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3956 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3957 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3958 | | private: |
3959 | | void SharedCtor(); |
3960 | | void SharedDtor(); |
3961 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3962 | | void InternalSwap(IsLoadBalancedRequestPB* other); |
3963 | | private: |
3964 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3965 | 0 | return NULL; |
3966 | 0 | } |
3967 | 0 | inline void* MaybeArenaPtr() const { |
3968 | 0 | return NULL; |
3969 | 0 | } |
3970 | | public: |
3971 | | |
3972 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3973 | | |
3974 | | // nested types ---------------------------------------------------- |
3975 | | |
3976 | | // accessors ------------------------------------------------------- |
3977 | | |
3978 | | // optional int32 expected_num_servers = 1; |
3979 | | bool has_expected_num_servers() const; |
3980 | | void clear_expected_num_servers(); |
3981 | | static const int kExpectedNumServersFieldNumber = 1; |
3982 | | ::google::protobuf::int32 expected_num_servers() const; |
3983 | | void set_expected_num_servers(::google::protobuf::int32 value); |
3984 | | |
3985 | | // @@protoc_insertion_point(class_scope:yb.master.IsLoadBalancedRequestPB) |
3986 | | private: |
3987 | | void set_has_expected_num_servers(); |
3988 | | void clear_has_expected_num_servers(); |
3989 | | |
3990 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3991 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3992 | | mutable int _cached_size_; |
3993 | | ::google::protobuf::int32 expected_num_servers_; |
3994 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
3995 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancedRequestPBImpl(); |
3996 | | }; |
3997 | | // ------------------------------------------------------------------- |
3998 | | |
3999 | | class IsLoadBalancedResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsLoadBalancedResponsePB) */ { |
4000 | | public: |
4001 | | IsLoadBalancedResponsePB(); |
4002 | | virtual ~IsLoadBalancedResponsePB(); |
4003 | | |
4004 | | IsLoadBalancedResponsePB(const IsLoadBalancedResponsePB& from); |
4005 | | |
4006 | 0 | inline IsLoadBalancedResponsePB& operator=(const IsLoadBalancedResponsePB& from) { |
4007 | 0 | CopyFrom(from); |
4008 | 0 | return *this; |
4009 | 0 | } |
4010 | | #if LANG_CXX11 |
4011 | | IsLoadBalancedResponsePB(IsLoadBalancedResponsePB&& from) noexcept |
4012 | 0 | : IsLoadBalancedResponsePB() { |
4013 | 0 | *this = ::std::move(from); |
4014 | 0 | } |
4015 | | |
4016 | 0 | inline IsLoadBalancedResponsePB& operator=(IsLoadBalancedResponsePB&& from) noexcept { |
4017 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4018 | 0 | if (this != &from) InternalSwap(&from); |
4019 | 0 | } else { |
4020 | 0 | CopyFrom(from); |
4021 | 0 | } |
4022 | 0 | return *this; |
4023 | 0 | } |
4024 | | #endif |
4025 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4026 | 0 | return _internal_metadata_.unknown_fields(); |
4027 | 0 | } |
4028 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4029 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4030 | 0 | } |
4031 | | |
4032 | | static const ::google::protobuf::Descriptor* descriptor(); |
4033 | | static const IsLoadBalancedResponsePB& default_instance(); |
4034 | | |
4035 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4036 | 16.6k | static inline const IsLoadBalancedResponsePB* internal_default_instance() { |
4037 | 16.6k | return reinterpret_cast<const IsLoadBalancedResponsePB*>( |
4038 | 16.6k | &_IsLoadBalancedResponsePB_default_instance_); |
4039 | 16.6k | } |
4040 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4041 | | 32; |
4042 | | |
4043 | | void Swap(IsLoadBalancedResponsePB* other); |
4044 | 0 | friend void swap(IsLoadBalancedResponsePB& a, IsLoadBalancedResponsePB& b) { |
4045 | 0 | a.Swap(&b); |
4046 | 0 | } |
4047 | | |
4048 | | // implements Message ---------------------------------------------- |
4049 | | |
4050 | 0 | inline IsLoadBalancedResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4051 | | |
4052 | | IsLoadBalancedResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4053 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4054 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4055 | | void CopyFrom(const IsLoadBalancedResponsePB& from); |
4056 | | void MergeFrom(const IsLoadBalancedResponsePB& from); |
4057 | | void Clear() PROTOBUF_FINAL; |
4058 | | bool IsInitialized() const PROTOBUF_FINAL; |
4059 | | |
4060 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4061 | | bool MergePartialFromCodedStream( |
4062 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4063 | | void SerializeWithCachedSizes( |
4064 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4065 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4066 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4067 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4068 | | private: |
4069 | | void SharedCtor(); |
4070 | | void SharedDtor(); |
4071 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4072 | | void InternalSwap(IsLoadBalancedResponsePB* other); |
4073 | | private: |
4074 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4075 | 0 | return NULL; |
4076 | 0 | } |
4077 | 0 | inline void* MaybeArenaPtr() const { |
4078 | 0 | return NULL; |
4079 | 0 | } |
4080 | | public: |
4081 | | |
4082 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4083 | | |
4084 | | // nested types ---------------------------------------------------- |
4085 | | |
4086 | | // accessors ------------------------------------------------------- |
4087 | | |
4088 | | // optional .yb.master.MasterErrorPB error = 1; |
4089 | | bool has_error() const; |
4090 | | void clear_error(); |
4091 | | static const int kErrorFieldNumber = 1; |
4092 | | const ::yb::master::MasterErrorPB& error() const; |
4093 | | ::yb::master::MasterErrorPB* release_error(); |
4094 | | ::yb::master::MasterErrorPB* mutable_error(); |
4095 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
4096 | | |
4097 | | // @@protoc_insertion_point(class_scope:yb.master.IsLoadBalancedResponsePB) |
4098 | | private: |
4099 | | void set_has_error(); |
4100 | | void clear_has_error(); |
4101 | | |
4102 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4103 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4104 | | mutable int _cached_size_; |
4105 | | ::yb::master::MasterErrorPB* error_; |
4106 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
4107 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancedResponsePBImpl(); |
4108 | | }; |
4109 | | // ------------------------------------------------------------------- |
4110 | | |
4111 | | class IsLoadBalancerIdleRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsLoadBalancerIdleRequestPB) */ { |
4112 | | public: |
4113 | | IsLoadBalancerIdleRequestPB(); |
4114 | | virtual ~IsLoadBalancerIdleRequestPB(); |
4115 | | |
4116 | | IsLoadBalancerIdleRequestPB(const IsLoadBalancerIdleRequestPB& from); |
4117 | | |
4118 | 0 | inline IsLoadBalancerIdleRequestPB& operator=(const IsLoadBalancerIdleRequestPB& from) { |
4119 | 0 | CopyFrom(from); |
4120 | 0 | return *this; |
4121 | 0 | } |
4122 | | #if LANG_CXX11 |
4123 | | IsLoadBalancerIdleRequestPB(IsLoadBalancerIdleRequestPB&& from) noexcept |
4124 | 0 | : IsLoadBalancerIdleRequestPB() { |
4125 | 0 | *this = ::std::move(from); |
4126 | 0 | } |
4127 | | |
4128 | 0 | inline IsLoadBalancerIdleRequestPB& operator=(IsLoadBalancerIdleRequestPB&& from) noexcept { |
4129 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4130 | 0 | if (this != &from) InternalSwap(&from); |
4131 | 0 | } else { |
4132 | 0 | CopyFrom(from); |
4133 | 0 | } |
4134 | 0 | return *this; |
4135 | 0 | } |
4136 | | #endif |
4137 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4138 | 0 | return _internal_metadata_.unknown_fields(); |
4139 | 0 | } |
4140 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4141 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4142 | 0 | } |
4143 | | |
4144 | | static const ::google::protobuf::Descriptor* descriptor(); |
4145 | | static const IsLoadBalancerIdleRequestPB& default_instance(); |
4146 | | |
4147 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4148 | 20.3k | static inline const IsLoadBalancerIdleRequestPB* internal_default_instance() { |
4149 | 20.3k | return reinterpret_cast<const IsLoadBalancerIdleRequestPB*>( |
4150 | 20.3k | &_IsLoadBalancerIdleRequestPB_default_instance_); |
4151 | 20.3k | } |
4152 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4153 | | 33; |
4154 | | |
4155 | | void Swap(IsLoadBalancerIdleRequestPB* other); |
4156 | 0 | friend void swap(IsLoadBalancerIdleRequestPB& a, IsLoadBalancerIdleRequestPB& b) { |
4157 | 0 | a.Swap(&b); |
4158 | 0 | } |
4159 | | |
4160 | | // implements Message ---------------------------------------------- |
4161 | | |
4162 | 0 | inline IsLoadBalancerIdleRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4163 | | |
4164 | | IsLoadBalancerIdleRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4165 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4166 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4167 | | void CopyFrom(const IsLoadBalancerIdleRequestPB& from); |
4168 | | void MergeFrom(const IsLoadBalancerIdleRequestPB& from); |
4169 | | void Clear() PROTOBUF_FINAL; |
4170 | | bool IsInitialized() const PROTOBUF_FINAL; |
4171 | | |
4172 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4173 | | bool MergePartialFromCodedStream( |
4174 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4175 | | void SerializeWithCachedSizes( |
4176 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4177 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4178 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4179 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4180 | | private: |
4181 | | void SharedCtor(); |
4182 | | void SharedDtor(); |
4183 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4184 | | void InternalSwap(IsLoadBalancerIdleRequestPB* other); |
4185 | | private: |
4186 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4187 | 0 | return NULL; |
4188 | 0 | } |
4189 | 0 | inline void* MaybeArenaPtr() const { |
4190 | 0 | return NULL; |
4191 | 0 | } |
4192 | | public: |
4193 | | |
4194 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4195 | | |
4196 | | // nested types ---------------------------------------------------- |
4197 | | |
4198 | | // accessors ------------------------------------------------------- |
4199 | | |
4200 | | // @@protoc_insertion_point(class_scope:yb.master.IsLoadBalancerIdleRequestPB) |
4201 | | private: |
4202 | | |
4203 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4204 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4205 | | mutable int _cached_size_; |
4206 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
4207 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancerIdleRequestPBImpl(); |
4208 | | }; |
4209 | | // ------------------------------------------------------------------- |
4210 | | |
4211 | | class IsLoadBalancerIdleResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.IsLoadBalancerIdleResponsePB) */ { |
4212 | | public: |
4213 | | IsLoadBalancerIdleResponsePB(); |
4214 | | virtual ~IsLoadBalancerIdleResponsePB(); |
4215 | | |
4216 | | IsLoadBalancerIdleResponsePB(const IsLoadBalancerIdleResponsePB& from); |
4217 | | |
4218 | 0 | inline IsLoadBalancerIdleResponsePB& operator=(const IsLoadBalancerIdleResponsePB& from) { |
4219 | 0 | CopyFrom(from); |
4220 | 0 | return *this; |
4221 | 0 | } |
4222 | | #if LANG_CXX11 |
4223 | | IsLoadBalancerIdleResponsePB(IsLoadBalancerIdleResponsePB&& from) noexcept |
4224 | 0 | : IsLoadBalancerIdleResponsePB() { |
4225 | 0 | *this = ::std::move(from); |
4226 | 0 | } |
4227 | | |
4228 | 0 | inline IsLoadBalancerIdleResponsePB& operator=(IsLoadBalancerIdleResponsePB&& from) noexcept { |
4229 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4230 | 0 | if (this != &from) InternalSwap(&from); |
4231 | 0 | } else { |
4232 | 0 | CopyFrom(from); |
4233 | 0 | } |
4234 | 0 | return *this; |
4235 | 0 | } |
4236 | | #endif |
4237 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4238 | 0 | return _internal_metadata_.unknown_fields(); |
4239 | 0 | } |
4240 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4241 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4242 | 0 | } |
4243 | | |
4244 | | static const ::google::protobuf::Descriptor* descriptor(); |
4245 | | static const IsLoadBalancerIdleResponsePB& default_instance(); |
4246 | | |
4247 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4248 | 24.8k | static inline const IsLoadBalancerIdleResponsePB* internal_default_instance() { |
4249 | 24.8k | return reinterpret_cast<const IsLoadBalancerIdleResponsePB*>( |
4250 | 24.8k | &_IsLoadBalancerIdleResponsePB_default_instance_); |
4251 | 24.8k | } |
4252 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4253 | | 34; |
4254 | | |
4255 | | void Swap(IsLoadBalancerIdleResponsePB* other); |
4256 | 0 | friend void swap(IsLoadBalancerIdleResponsePB& a, IsLoadBalancerIdleResponsePB& b) { |
4257 | 0 | a.Swap(&b); |
4258 | 0 | } |
4259 | | |
4260 | | // implements Message ---------------------------------------------- |
4261 | | |
4262 | 0 | inline IsLoadBalancerIdleResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4263 | | |
4264 | | IsLoadBalancerIdleResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4265 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4266 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4267 | | void CopyFrom(const IsLoadBalancerIdleResponsePB& from); |
4268 | | void MergeFrom(const IsLoadBalancerIdleResponsePB& from); |
4269 | | void Clear() PROTOBUF_FINAL; |
4270 | | bool IsInitialized() const PROTOBUF_FINAL; |
4271 | | |
4272 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4273 | | bool MergePartialFromCodedStream( |
4274 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4275 | | void SerializeWithCachedSizes( |
4276 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4277 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4278 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4279 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4280 | | private: |
4281 | | void SharedCtor(); |
4282 | | void SharedDtor(); |
4283 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4284 | | void InternalSwap(IsLoadBalancerIdleResponsePB* other); |
4285 | | private: |
4286 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4287 | 0 | return NULL; |
4288 | 0 | } |
4289 | 0 | inline void* MaybeArenaPtr() const { |
4290 | 0 | return NULL; |
4291 | 0 | } |
4292 | | public: |
4293 | | |
4294 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4295 | | |
4296 | | // nested types ---------------------------------------------------- |
4297 | | |
4298 | | // accessors ------------------------------------------------------- |
4299 | | |
4300 | | // optional .yb.master.MasterErrorPB error = 1; |
4301 | | bool has_error() const; |
4302 | | void clear_error(); |
4303 | | static const int kErrorFieldNumber = 1; |
4304 | | const ::yb::master::MasterErrorPB& error() const; |
4305 | | ::yb::master::MasterErrorPB* release_error(); |
4306 | | ::yb::master::MasterErrorPB* mutable_error(); |
4307 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
4308 | | |
4309 | | // @@protoc_insertion_point(class_scope:yb.master.IsLoadBalancerIdleResponsePB) |
4310 | | private: |
4311 | | void set_has_error(); |
4312 | | void clear_has_error(); |
4313 | | |
4314 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4315 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4316 | | mutable int _cached_size_; |
4317 | | ::yb::master::MasterErrorPB* error_; |
4318 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
4319 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsIsLoadBalancerIdleResponsePBImpl(); |
4320 | | }; |
4321 | | // ------------------------------------------------------------------- |
4322 | | |
4323 | | class AreLeadersOnPreferredOnlyRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.AreLeadersOnPreferredOnlyRequestPB) */ { |
4324 | | public: |
4325 | | AreLeadersOnPreferredOnlyRequestPB(); |
4326 | | virtual ~AreLeadersOnPreferredOnlyRequestPB(); |
4327 | | |
4328 | | AreLeadersOnPreferredOnlyRequestPB(const AreLeadersOnPreferredOnlyRequestPB& from); |
4329 | | |
4330 | 0 | inline AreLeadersOnPreferredOnlyRequestPB& operator=(const AreLeadersOnPreferredOnlyRequestPB& from) { |
4331 | 0 | CopyFrom(from); |
4332 | 0 | return *this; |
4333 | 0 | } |
4334 | | #if LANG_CXX11 |
4335 | | AreLeadersOnPreferredOnlyRequestPB(AreLeadersOnPreferredOnlyRequestPB&& from) noexcept |
4336 | 0 | : AreLeadersOnPreferredOnlyRequestPB() { |
4337 | 0 | *this = ::std::move(from); |
4338 | 0 | } |
4339 | | |
4340 | 0 | inline AreLeadersOnPreferredOnlyRequestPB& operator=(AreLeadersOnPreferredOnlyRequestPB&& from) noexcept { |
4341 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4342 | 0 | if (this != &from) InternalSwap(&from); |
4343 | 0 | } else { |
4344 | 0 | CopyFrom(from); |
4345 | 0 | } |
4346 | 0 | return *this; |
4347 | 0 | } |
4348 | | #endif |
4349 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4350 | 0 | return _internal_metadata_.unknown_fields(); |
4351 | 0 | } |
4352 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4353 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4354 | 0 | } |
4355 | | |
4356 | | static const ::google::protobuf::Descriptor* descriptor(); |
4357 | | static const AreLeadersOnPreferredOnlyRequestPB& default_instance(); |
4358 | | |
4359 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4360 | 16.1k | static inline const AreLeadersOnPreferredOnlyRequestPB* internal_default_instance() { |
4361 | 16.1k | return reinterpret_cast<const AreLeadersOnPreferredOnlyRequestPB*>( |
4362 | 16.1k | &_AreLeadersOnPreferredOnlyRequestPB_default_instance_); |
4363 | 16.1k | } |
4364 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4365 | | 35; |
4366 | | |
4367 | | void Swap(AreLeadersOnPreferredOnlyRequestPB* other); |
4368 | 0 | friend void swap(AreLeadersOnPreferredOnlyRequestPB& a, AreLeadersOnPreferredOnlyRequestPB& b) { |
4369 | 0 | a.Swap(&b); |
4370 | 0 | } |
4371 | | |
4372 | | // implements Message ---------------------------------------------- |
4373 | | |
4374 | 0 | inline AreLeadersOnPreferredOnlyRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4375 | | |
4376 | | AreLeadersOnPreferredOnlyRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4377 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4378 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4379 | | void CopyFrom(const AreLeadersOnPreferredOnlyRequestPB& from); |
4380 | | void MergeFrom(const AreLeadersOnPreferredOnlyRequestPB& from); |
4381 | | void Clear() PROTOBUF_FINAL; |
4382 | | bool IsInitialized() const PROTOBUF_FINAL; |
4383 | | |
4384 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4385 | | bool MergePartialFromCodedStream( |
4386 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4387 | | void SerializeWithCachedSizes( |
4388 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4389 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4390 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4391 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4392 | | private: |
4393 | | void SharedCtor(); |
4394 | | void SharedDtor(); |
4395 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4396 | | void InternalSwap(AreLeadersOnPreferredOnlyRequestPB* other); |
4397 | | private: |
4398 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4399 | 0 | return NULL; |
4400 | 0 | } |
4401 | 0 | inline void* MaybeArenaPtr() const { |
4402 | 0 | return NULL; |
4403 | 0 | } |
4404 | | public: |
4405 | | |
4406 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4407 | | |
4408 | | // nested types ---------------------------------------------------- |
4409 | | |
4410 | | // accessors ------------------------------------------------------- |
4411 | | |
4412 | | // @@protoc_insertion_point(class_scope:yb.master.AreLeadersOnPreferredOnlyRequestPB) |
4413 | | private: |
4414 | | |
4415 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4416 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4417 | | mutable int _cached_size_; |
4418 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
4419 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsAreLeadersOnPreferredOnlyRequestPBImpl(); |
4420 | | }; |
4421 | | // ------------------------------------------------------------------- |
4422 | | |
4423 | | class AreLeadersOnPreferredOnlyResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.master.AreLeadersOnPreferredOnlyResponsePB) */ { |
4424 | | public: |
4425 | | AreLeadersOnPreferredOnlyResponsePB(); |
4426 | | virtual ~AreLeadersOnPreferredOnlyResponsePB(); |
4427 | | |
4428 | | AreLeadersOnPreferredOnlyResponsePB(const AreLeadersOnPreferredOnlyResponsePB& from); |
4429 | | |
4430 | 0 | inline AreLeadersOnPreferredOnlyResponsePB& operator=(const AreLeadersOnPreferredOnlyResponsePB& from) { |
4431 | 0 | CopyFrom(from); |
4432 | 0 | return *this; |
4433 | 0 | } |
4434 | | #if LANG_CXX11 |
4435 | | AreLeadersOnPreferredOnlyResponsePB(AreLeadersOnPreferredOnlyResponsePB&& from) noexcept |
4436 | 0 | : AreLeadersOnPreferredOnlyResponsePB() { |
4437 | 0 | *this = ::std::move(from); |
4438 | 0 | } |
4439 | | |
4440 | 0 | inline AreLeadersOnPreferredOnlyResponsePB& operator=(AreLeadersOnPreferredOnlyResponsePB&& from) noexcept { |
4441 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4442 | 0 | if (this != &from) InternalSwap(&from); |
4443 | 0 | } else { |
4444 | 0 | CopyFrom(from); |
4445 | 0 | } |
4446 | 0 | return *this; |
4447 | 0 | } |
4448 | | #endif |
4449 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4450 | 0 | return _internal_metadata_.unknown_fields(); |
4451 | 0 | } |
4452 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4453 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4454 | 0 | } |
4455 | | |
4456 | | static const ::google::protobuf::Descriptor* descriptor(); |
4457 | | static const AreLeadersOnPreferredOnlyResponsePB& default_instance(); |
4458 | | |
4459 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4460 | 16.3k | static inline const AreLeadersOnPreferredOnlyResponsePB* internal_default_instance() { |
4461 | 16.3k | return reinterpret_cast<const AreLeadersOnPreferredOnlyResponsePB*>( |
4462 | 16.3k | &_AreLeadersOnPreferredOnlyResponsePB_default_instance_); |
4463 | 16.3k | } |
4464 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4465 | | 36; |
4466 | | |
4467 | | void Swap(AreLeadersOnPreferredOnlyResponsePB* other); |
4468 | 0 | friend void swap(AreLeadersOnPreferredOnlyResponsePB& a, AreLeadersOnPreferredOnlyResponsePB& b) { |
4469 | 0 | a.Swap(&b); |
4470 | 0 | } |
4471 | | |
4472 | | // implements Message ---------------------------------------------- |
4473 | | |
4474 | 0 | inline AreLeadersOnPreferredOnlyResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
4475 | | |
4476 | | AreLeadersOnPreferredOnlyResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4477 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4478 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4479 | | void CopyFrom(const AreLeadersOnPreferredOnlyResponsePB& from); |
4480 | | void MergeFrom(const AreLeadersOnPreferredOnlyResponsePB& from); |
4481 | | void Clear() PROTOBUF_FINAL; |
4482 | | bool IsInitialized() const PROTOBUF_FINAL; |
4483 | | |
4484 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4485 | | bool MergePartialFromCodedStream( |
4486 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4487 | | void SerializeWithCachedSizes( |
4488 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4489 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4490 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4491 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4492 | | private: |
4493 | | void SharedCtor(); |
4494 | | void SharedDtor(); |
4495 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4496 | | void InternalSwap(AreLeadersOnPreferredOnlyResponsePB* other); |
4497 | | private: |
4498 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4499 | 0 | return NULL; |
4500 | 0 | } |
4501 | 0 | inline void* MaybeArenaPtr() const { |
4502 | 0 | return NULL; |
4503 | 0 | } |
4504 | | public: |
4505 | | |
4506 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4507 | | |
4508 | | // nested types ---------------------------------------------------- |
4509 | | |
4510 | | // accessors ------------------------------------------------------- |
4511 | | |
4512 | | // optional .yb.master.MasterErrorPB error = 1; |
4513 | | bool has_error() const; |
4514 | | void clear_error(); |
4515 | | static const int kErrorFieldNumber = 1; |
4516 | | const ::yb::master::MasterErrorPB& error() const; |
4517 | | ::yb::master::MasterErrorPB* release_error(); |
4518 | | ::yb::master::MasterErrorPB* mutable_error(); |
4519 | | void set_allocated_error(::yb::master::MasterErrorPB* error); |
4520 | | |
4521 | | // @@protoc_insertion_point(class_scope:yb.master.AreLeadersOnPreferredOnlyResponsePB) |
4522 | | private: |
4523 | | void set_has_error(); |
4524 | | void clear_has_error(); |
4525 | | |
4526 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4527 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4528 | | mutable int _cached_size_; |
4529 | | ::yb::master::MasterErrorPB* error_; |
4530 | | friend struct ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::TableStruct; |
4531 | | friend void ::protobuf_yb_2fmaster_2fmaster_5fcluster_2eproto::InitDefaultsAreLeadersOnPreferredOnlyResponsePBImpl(); |
4532 | | }; |
4533 | | // =================================================================== |
4534 | | |
4535 | | |
4536 | | // =================================================================== |
4537 | | |
4538 | | #ifdef __GNUC__ |
4539 | | #pragma GCC diagnostic push |
4540 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
4541 | | #endif // __GNUC__ |
4542 | | // ListTabletServersRequestPB |
4543 | | |
4544 | | // optional bool primary_only = 1 [default = false]; |
4545 | 89.4k | inline bool ListTabletServersRequestPB::has_primary_only() const { |
4546 | 89.4k | return (_has_bits_[0] & 0x00000001u) != 0; |
4547 | 89.4k | } |
4548 | 5.81k | inline void ListTabletServersRequestPB::set_has_primary_only() { |
4549 | 5.81k | _has_bits_[0] |= 0x00000001u; |
4550 | 5.81k | } |
4551 | 0 | inline void ListTabletServersRequestPB::clear_has_primary_only() { |
4552 | 0 | _has_bits_[0] &= ~0x00000001u; |
4553 | 0 | } |
4554 | 0 | inline void ListTabletServersRequestPB::clear_primary_only() { |
4555 | 0 | primary_only_ = false; |
4556 | 0 | clear_has_primary_only(); |
4557 | 0 | } |
4558 | 11.3k | inline bool ListTabletServersRequestPB::primary_only() const { |
4559 | | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersRequestPB.primary_only) |
4560 | 11.3k | return primary_only_; |
4561 | 11.3k | } |
4562 | 2.86k | inline void ListTabletServersRequestPB::set_primary_only(bool value) { |
4563 | 2.86k | set_has_primary_only(); |
4564 | 2.86k | primary_only_ = value; |
4565 | | // @@protoc_insertion_point(field_set:yb.master.ListTabletServersRequestPB.primary_only) |
4566 | 2.86k | } |
4567 | | |
4568 | | // ------------------------------------------------------------------- |
4569 | | |
4570 | | // ListTabletServersResponsePB_Entry |
4571 | | |
4572 | | // required .yb.NodeInstancePB instance_id = 1; |
4573 | 76.8k | inline bool ListTabletServersResponsePB_Entry::has_instance_id() const { |
4574 | 76.8k | return (_has_bits_[0] & 0x00000001u) != 0; |
4575 | 76.8k | } |
4576 | 35.8k | inline void ListTabletServersResponsePB_Entry::set_has_instance_id() { |
4577 | 35.8k | _has_bits_[0] |= 0x00000001u; |
4578 | 35.8k | } |
4579 | 0 | inline void ListTabletServersResponsePB_Entry::clear_has_instance_id() { |
4580 | 0 | _has_bits_[0] &= ~0x00000001u; |
4581 | 0 | } |
4582 | 17.7k | inline const ::yb::NodeInstancePB& ListTabletServersResponsePB_Entry::instance_id() const { |
4583 | 17.7k | const ::yb::NodeInstancePB* p = instance_id_; |
4584 | | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.Entry.instance_id) |
4585 | 17.7k | return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>( |
4586 | 0 | &::yb::_NodeInstancePB_default_instance_); |
4587 | 17.7k | } |
4588 | 0 | inline ::yb::NodeInstancePB* ListTabletServersResponsePB_Entry::release_instance_id() { |
4589 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListTabletServersResponsePB.Entry.instance_id) |
4590 | 0 | clear_has_instance_id(); |
4591 | 0 | ::yb::NodeInstancePB* temp = instance_id_; |
4592 | 0 | instance_id_ = NULL; |
4593 | 0 | return temp; |
4594 | 0 | } |
4595 | 35.8k | inline ::yb::NodeInstancePB* ListTabletServersResponsePB_Entry::mutable_instance_id() { |
4596 | 35.8k | set_has_instance_id(); |
4597 | 35.8k | if (instance_id_ == NULL) { |
4598 | 35.5k | instance_id_ = new ::yb::NodeInstancePB; |
4599 | 35.5k | } |
4600 | | // @@protoc_insertion_point(field_mutable:yb.master.ListTabletServersResponsePB.Entry.instance_id) |
4601 | 35.8k | return instance_id_; |
4602 | 35.8k | } |
4603 | 0 | inline void ListTabletServersResponsePB_Entry::set_allocated_instance_id(::yb::NodeInstancePB* instance_id) { |
4604 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4605 | 0 | if (message_arena == NULL) { |
4606 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(instance_id_); |
4607 | 0 | } |
4608 | 0 | if (instance_id) { |
4609 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4610 | 0 | if (message_arena != submessage_arena) { |
4611 | 0 | instance_id = ::google::protobuf::internal::GetOwnedMessage( |
4612 | 0 | message_arena, instance_id, submessage_arena); |
4613 | 0 | } |
4614 | 0 | set_has_instance_id(); |
4615 | 0 | } else { |
4616 | 0 | clear_has_instance_id(); |
4617 | 0 | } |
4618 | 0 | instance_id_ = instance_id; |
4619 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListTabletServersResponsePB.Entry.instance_id) |
4620 | 0 | } |
4621 | | |
4622 | | // optional .yb.master.TSRegistrationPB registration = 2; |
4623 | 76.6k | inline bool ListTabletServersResponsePB_Entry::has_registration() const { |
4624 | 76.6k | return (_has_bits_[0] & 0x00000002u) != 0; |
4625 | 76.6k | } |
4626 | 35.8k | inline void ListTabletServersResponsePB_Entry::set_has_registration() { |
4627 | 35.8k | _has_bits_[0] |= 0x00000002u; |
4628 | 35.8k | } |
4629 | 0 | inline void ListTabletServersResponsePB_Entry::clear_has_registration() { |
4630 | 0 | _has_bits_[0] &= ~0x00000002u; |
4631 | 0 | } |
4632 | 3.77k | inline const ::yb::master::TSRegistrationPB& ListTabletServersResponsePB_Entry::registration() const { |
4633 | 3.77k | const ::yb::master::TSRegistrationPB* p = registration_; |
4634 | | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.Entry.registration) |
4635 | 3.77k | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSRegistrationPB*>( |
4636 | 0 | &::yb::master::_TSRegistrationPB_default_instance_); |
4637 | 3.77k | } |
4638 | 0 | inline ::yb::master::TSRegistrationPB* ListTabletServersResponsePB_Entry::release_registration() { |
4639 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListTabletServersResponsePB.Entry.registration) |
4640 | 0 | clear_has_registration(); |
4641 | 0 | ::yb::master::TSRegistrationPB* temp = registration_; |
4642 | 0 | registration_ = NULL; |
4643 | 0 | return temp; |
4644 | 0 | } |
4645 | 35.8k | inline ::yb::master::TSRegistrationPB* ListTabletServersResponsePB_Entry::mutable_registration() { |
4646 | 35.8k | set_has_registration(); |
4647 | 35.8k | if (registration_ == NULL) { |
4648 | 35.5k | registration_ = new ::yb::master::TSRegistrationPB; |
4649 | 35.5k | } |
4650 | | // @@protoc_insertion_point(field_mutable:yb.master.ListTabletServersResponsePB.Entry.registration) |
4651 | 35.8k | return registration_; |
4652 | 35.8k | } |
4653 | 0 | inline void ListTabletServersResponsePB_Entry::set_allocated_registration(::yb::master::TSRegistrationPB* registration) { |
4654 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4655 | 0 | if (message_arena == NULL) { |
4656 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(registration_); |
4657 | 0 | } |
4658 | 0 | if (registration) { |
4659 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4660 | 0 | if (message_arena != submessage_arena) { |
4661 | 0 | registration = ::google::protobuf::internal::GetOwnedMessage( |
4662 | 0 | message_arena, registration, submessage_arena); |
4663 | 0 | } |
4664 | 0 | set_has_registration(); |
4665 | 0 | } else { |
4666 | 0 | clear_has_registration(); |
4667 | 0 | } |
4668 | 0 | registration_ = registration; |
4669 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListTabletServersResponsePB.Entry.registration) |
4670 | 0 | } |
4671 | | |
4672 | | // optional int32 millis_since_heartbeat = 3; |
4673 | 40.8k | inline bool ListTabletServersResponsePB_Entry::has_millis_since_heartbeat() const { |
4674 | 40.8k | return (_has_bits_[0] & 0x00000008u) != 0; |
4675 | 40.8k | } |
4676 | 35.8k | inline void ListTabletServersResponsePB_Entry::set_has_millis_since_heartbeat() { |
4677 | 35.8k | _has_bits_[0] |= 0x00000008u; |
4678 | 35.8k | } |
4679 | 0 | inline void ListTabletServersResponsePB_Entry::clear_has_millis_since_heartbeat() { |
4680 | 0 | _has_bits_[0] &= ~0x00000008u; |
4681 | 0 | } |
4682 | 0 | inline void ListTabletServersResponsePB_Entry::clear_millis_since_heartbeat() { |
4683 | 0 | millis_since_heartbeat_ = 0; |
4684 | 0 | clear_has_millis_since_heartbeat(); |
4685 | 0 | } |
4686 | 61.2k | inline ::google::protobuf::int32 ListTabletServersResponsePB_Entry::millis_since_heartbeat() const { |
4687 | | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.Entry.millis_since_heartbeat) |
4688 | 61.2k | return millis_since_heartbeat_; |
4689 | 61.2k | } |
4690 | 20.4k | inline void ListTabletServersResponsePB_Entry::set_millis_since_heartbeat(::google::protobuf::int32 value) { |
4691 | 20.4k | set_has_millis_since_heartbeat(); |
4692 | 20.4k | millis_since_heartbeat_ = value; |
4693 | | // @@protoc_insertion_point(field_set:yb.master.ListTabletServersResponsePB.Entry.millis_since_heartbeat) |
4694 | 20.4k | } |
4695 | | |
4696 | | // optional bool alive = 4; |
4697 | 40.8k | inline bool ListTabletServersResponsePB_Entry::has_alive() const { |
4698 | 40.8k | return (_has_bits_[0] & 0x00000010u) != 0; |
4699 | 40.8k | } |
4700 | 35.8k | inline void ListTabletServersResponsePB_Entry::set_has_alive() { |
4701 | 35.8k | _has_bits_[0] |= 0x00000010u; |
4702 | 35.8k | } |
4703 | 0 | inline void ListTabletServersResponsePB_Entry::clear_has_alive() { |
4704 | 0 | _has_bits_[0] &= ~0x00000010u; |
4705 | 0 | } |
4706 | 0 | inline void ListTabletServersResponsePB_Entry::clear_alive() { |
4707 | 0 | alive_ = false; |
4708 | 0 | clear_has_alive(); |
4709 | 0 | } |
4710 | 20.4k | inline bool ListTabletServersResponsePB_Entry::alive() const { |
4711 | | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.Entry.alive) |
4712 | 20.4k | return alive_; |
4713 | 20.4k | } |
4714 | 20.4k | inline void ListTabletServersResponsePB_Entry::set_alive(bool value) { |
4715 | 20.4k | set_has_alive(); |
4716 | 20.4k | alive_ = value; |
4717 | | // @@protoc_insertion_point(field_set:yb.master.ListTabletServersResponsePB.Entry.alive) |
4718 | 20.4k | } |
4719 | | |
4720 | | // optional .yb.master.TServerMetricsPB metrics = 5; |
4721 | 76.6k | inline bool ListTabletServersResponsePB_Entry::has_metrics() const { |
4722 | 76.6k | return (_has_bits_[0] & 0x00000004u) != 0; |
4723 | 76.6k | } |
4724 | 35.8k | inline void ListTabletServersResponsePB_Entry::set_has_metrics() { |
4725 | 35.8k | _has_bits_[0] |= 0x00000004u; |
4726 | 35.8k | } |
4727 | 0 | inline void ListTabletServersResponsePB_Entry::clear_has_metrics() { |
4728 | 0 | _has_bits_[0] &= ~0x00000004u; |
4729 | 0 | } |
4730 | 0 | inline const ::yb::master::TServerMetricsPB& ListTabletServersResponsePB_Entry::metrics() const { |
4731 | 0 | const ::yb::master::TServerMetricsPB* p = metrics_; |
4732 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.Entry.metrics) |
4733 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TServerMetricsPB*>( |
4734 | 0 | &::yb::master::_TServerMetricsPB_default_instance_); |
4735 | 0 | } |
4736 | 0 | inline ::yb::master::TServerMetricsPB* ListTabletServersResponsePB_Entry::release_metrics() { |
4737 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListTabletServersResponsePB.Entry.metrics) |
4738 | 0 | clear_has_metrics(); |
4739 | 0 | ::yb::master::TServerMetricsPB* temp = metrics_; |
4740 | 0 | metrics_ = NULL; |
4741 | 0 | return temp; |
4742 | 0 | } |
4743 | 35.8k | inline ::yb::master::TServerMetricsPB* ListTabletServersResponsePB_Entry::mutable_metrics() { |
4744 | 35.8k | set_has_metrics(); |
4745 | 35.8k | if (metrics_ == NULL) { |
4746 | 35.5k | metrics_ = new ::yb::master::TServerMetricsPB; |
4747 | 35.5k | } |
4748 | | // @@protoc_insertion_point(field_mutable:yb.master.ListTabletServersResponsePB.Entry.metrics) |
4749 | 35.8k | return metrics_; |
4750 | 35.8k | } |
4751 | 0 | inline void ListTabletServersResponsePB_Entry::set_allocated_metrics(::yb::master::TServerMetricsPB* metrics) { |
4752 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4753 | 0 | if (message_arena == NULL) { |
4754 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(metrics_); |
4755 | 0 | } |
4756 | 0 | if (metrics) { |
4757 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4758 | 0 | if (message_arena != submessage_arena) { |
4759 | 0 | metrics = ::google::protobuf::internal::GetOwnedMessage( |
4760 | 0 | message_arena, metrics, submessage_arena); |
4761 | 0 | } |
4762 | 0 | set_has_metrics(); |
4763 | 0 | } else { |
4764 | 0 | clear_has_metrics(); |
4765 | 0 | } |
4766 | 0 | metrics_ = metrics; |
4767 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListTabletServersResponsePB.Entry.metrics) |
4768 | 0 | } |
4769 | | |
4770 | | // ------------------------------------------------------------------- |
4771 | | |
4772 | | // ListTabletServersResponsePB |
4773 | | |
4774 | | // optional .yb.master.MasterErrorPB error = 1; |
4775 | 96.2k | inline bool ListTabletServersResponsePB::has_error() const { |
4776 | 96.2k | return (_has_bits_[0] & 0x00000001u) != 0; |
4777 | 96.2k | } |
4778 | 35.2k | inline void ListTabletServersResponsePB::set_has_error() { |
4779 | 35.2k | _has_bits_[0] |= 0x00000001u; |
4780 | 35.2k | } |
4781 | 0 | inline void ListTabletServersResponsePB::clear_has_error() { |
4782 | 0 | _has_bits_[0] &= ~0x00000001u; |
4783 | 0 | } |
4784 | 0 | inline const ::yb::master::MasterErrorPB& ListTabletServersResponsePB::error() const { |
4785 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
4786 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.error) |
4787 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
4788 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
4789 | 0 | } |
4790 | 0 | inline ::yb::master::MasterErrorPB* ListTabletServersResponsePB::release_error() { |
4791 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListTabletServersResponsePB.error) |
4792 | 0 | clear_has_error(); |
4793 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
4794 | 0 | error_ = NULL; |
4795 | 0 | return temp; |
4796 | 0 | } |
4797 | 35.2k | inline ::yb::master::MasterErrorPB* ListTabletServersResponsePB::mutable_error() { |
4798 | 35.2k | set_has_error(); |
4799 | 35.2k | if (error_ == NULL) { |
4800 | 23.5k | error_ = new ::yb::master::MasterErrorPB; |
4801 | 23.5k | } |
4802 | | // @@protoc_insertion_point(field_mutable:yb.master.ListTabletServersResponsePB.error) |
4803 | 35.2k | return error_; |
4804 | 35.2k | } |
4805 | 0 | inline void ListTabletServersResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
4806 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4807 | 0 | if (message_arena == NULL) { |
4808 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
4809 | 0 | } |
4810 | 0 | if (error) { |
4811 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4812 | 0 | if (message_arena != submessage_arena) { |
4813 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
4814 | 0 | message_arena, error, submessage_arena); |
4815 | 0 | } |
4816 | 0 | set_has_error(); |
4817 | 0 | } else { |
4818 | 0 | clear_has_error(); |
4819 | 0 | } |
4820 | 0 | error_ = error; |
4821 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListTabletServersResponsePB.error) |
4822 | 0 | } |
4823 | | |
4824 | | // repeated .yb.master.ListTabletServersResponsePB.Entry servers = 2; |
4825 | 66.4k | inline int ListTabletServersResponsePB::servers_size() const { |
4826 | 66.4k | return servers_.size(); |
4827 | 66.4k | } |
4828 | 0 | inline void ListTabletServersResponsePB::clear_servers() { |
4829 | 0 | servers_.Clear(); |
4830 | 0 | } |
4831 | 61.7k | inline const ::yb::master::ListTabletServersResponsePB_Entry& ListTabletServersResponsePB::servers(int index) const { |
4832 | | // @@protoc_insertion_point(field_get:yb.master.ListTabletServersResponsePB.servers) |
4833 | 61.7k | return servers_.Get(index); |
4834 | 61.7k | } |
4835 | 0 | inline ::yb::master::ListTabletServersResponsePB_Entry* ListTabletServersResponsePB::mutable_servers(int index) { |
4836 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListTabletServersResponsePB.servers) |
4837 | 0 | return servers_.Mutable(index); |
4838 | 0 | } |
4839 | 35.8k | inline ::yb::master::ListTabletServersResponsePB_Entry* ListTabletServersResponsePB::add_servers() { |
4840 | | // @@protoc_insertion_point(field_add:yb.master.ListTabletServersResponsePB.servers) |
4841 | 35.8k | return servers_.Add(); |
4842 | 35.8k | } |
4843 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::ListTabletServersResponsePB_Entry >* |
4844 | 0 | ListTabletServersResponsePB::mutable_servers() { |
4845 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ListTabletServersResponsePB.servers) |
4846 | 0 | return &servers_; |
4847 | 0 | } |
4848 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::ListTabletServersResponsePB_Entry >& |
4849 | 42.2k | ListTabletServersResponsePB::servers() const { |
4850 | | // @@protoc_insertion_point(field_list:yb.master.ListTabletServersResponsePB.servers) |
4851 | 42.2k | return servers_; |
4852 | 42.2k | } |
4853 | | |
4854 | | // ------------------------------------------------------------------- |
4855 | | |
4856 | | // ListLiveTabletServersRequestPB |
4857 | | |
4858 | | // optional bool primary_only = 1 [default = false]; |
4859 | 4 | inline bool ListLiveTabletServersRequestPB::has_primary_only() const { |
4860 | 4 | return (_has_bits_[0] & 0x00000001u) != 0; |
4861 | 4 | } |
4862 | 0 | inline void ListLiveTabletServersRequestPB::set_has_primary_only() { |
4863 | 0 | _has_bits_[0] |= 0x00000001u; |
4864 | 0 | } |
4865 | 0 | inline void ListLiveTabletServersRequestPB::clear_has_primary_only() { |
4866 | 0 | _has_bits_[0] &= ~0x00000001u; |
4867 | 0 | } |
4868 | 0 | inline void ListLiveTabletServersRequestPB::clear_primary_only() { |
4869 | 0 | primary_only_ = false; |
4870 | 0 | clear_has_primary_only(); |
4871 | 0 | } |
4872 | 0 | inline bool ListLiveTabletServersRequestPB::primary_only() const { |
4873 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListLiveTabletServersRequestPB.primary_only) |
4874 | 0 | return primary_only_; |
4875 | 0 | } |
4876 | 0 | inline void ListLiveTabletServersRequestPB::set_primary_only(bool value) { |
4877 | 0 | set_has_primary_only(); |
4878 | 0 | primary_only_ = value; |
4879 | 0 | // @@protoc_insertion_point(field_set:yb.master.ListLiveTabletServersRequestPB.primary_only) |
4880 | 0 | } |
4881 | | |
4882 | | // ------------------------------------------------------------------- |
4883 | | |
4884 | | // ListLiveTabletServersResponsePB_Entry |
4885 | | |
4886 | | // required .yb.NodeInstancePB instance_id = 1; |
4887 | 24 | inline bool ListLiveTabletServersResponsePB_Entry::has_instance_id() const { |
4888 | 24 | return (_has_bits_[0] & 0x00000001u) != 0; |
4889 | 24 | } |
4890 | 12 | inline void ListLiveTabletServersResponsePB_Entry::set_has_instance_id() { |
4891 | 12 | _has_bits_[0] |= 0x00000001u; |
4892 | 12 | } |
4893 | 0 | inline void ListLiveTabletServersResponsePB_Entry::clear_has_instance_id() { |
4894 | 0 | _has_bits_[0] &= ~0x00000001u; |
4895 | 0 | } |
4896 | 6 | inline const ::yb::NodeInstancePB& ListLiveTabletServersResponsePB_Entry::instance_id() const { |
4897 | 6 | const ::yb::NodeInstancePB* p = instance_id_; |
4898 | | // @@protoc_insertion_point(field_get:yb.master.ListLiveTabletServersResponsePB.Entry.instance_id) |
4899 | 6 | return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>( |
4900 | 0 | &::yb::_NodeInstancePB_default_instance_); |
4901 | 6 | } |
4902 | 0 | inline ::yb::NodeInstancePB* ListLiveTabletServersResponsePB_Entry::release_instance_id() { |
4903 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListLiveTabletServersResponsePB.Entry.instance_id) |
4904 | 0 | clear_has_instance_id(); |
4905 | 0 | ::yb::NodeInstancePB* temp = instance_id_; |
4906 | 0 | instance_id_ = NULL; |
4907 | 0 | return temp; |
4908 | 0 | } |
4909 | 12 | inline ::yb::NodeInstancePB* ListLiveTabletServersResponsePB_Entry::mutable_instance_id() { |
4910 | 12 | set_has_instance_id(); |
4911 | 12 | if (instance_id_ == NULL) { |
4912 | 12 | instance_id_ = new ::yb::NodeInstancePB; |
4913 | 12 | } |
4914 | | // @@protoc_insertion_point(field_mutable:yb.master.ListLiveTabletServersResponsePB.Entry.instance_id) |
4915 | 12 | return instance_id_; |
4916 | 12 | } |
4917 | 0 | inline void ListLiveTabletServersResponsePB_Entry::set_allocated_instance_id(::yb::NodeInstancePB* instance_id) { |
4918 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4919 | 0 | if (message_arena == NULL) { |
4920 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(instance_id_); |
4921 | 0 | } |
4922 | 0 | if (instance_id) { |
4923 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4924 | 0 | if (message_arena != submessage_arena) { |
4925 | 0 | instance_id = ::google::protobuf::internal::GetOwnedMessage( |
4926 | 0 | message_arena, instance_id, submessage_arena); |
4927 | 0 | } |
4928 | 0 | set_has_instance_id(); |
4929 | 0 | } else { |
4930 | 0 | clear_has_instance_id(); |
4931 | 0 | } |
4932 | 0 | instance_id_ = instance_id; |
4933 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListLiveTabletServersResponsePB.Entry.instance_id) |
4934 | 0 | } |
4935 | | |
4936 | | // optional .yb.master.TSRegistrationPB registration = 2; |
4937 | 24 | inline bool ListLiveTabletServersResponsePB_Entry::has_registration() const { |
4938 | 24 | return (_has_bits_[0] & 0x00000002u) != 0; |
4939 | 24 | } |
4940 | 12 | inline void ListLiveTabletServersResponsePB_Entry::set_has_registration() { |
4941 | 12 | _has_bits_[0] |= 0x00000002u; |
4942 | 12 | } |
4943 | 0 | inline void ListLiveTabletServersResponsePB_Entry::clear_has_registration() { |
4944 | 0 | _has_bits_[0] &= ~0x00000002u; |
4945 | 0 | } |
4946 | 36 | inline const ::yb::master::TSRegistrationPB& ListLiveTabletServersResponsePB_Entry::registration() const { |
4947 | 36 | const ::yb::master::TSRegistrationPB* p = registration_; |
4948 | | // @@protoc_insertion_point(field_get:yb.master.ListLiveTabletServersResponsePB.Entry.registration) |
4949 | 36 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::TSRegistrationPB*>( |
4950 | 0 | &::yb::master::_TSRegistrationPB_default_instance_); |
4951 | 36 | } |
4952 | 0 | inline ::yb::master::TSRegistrationPB* ListLiveTabletServersResponsePB_Entry::release_registration() { |
4953 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListLiveTabletServersResponsePB.Entry.registration) |
4954 | 0 | clear_has_registration(); |
4955 | 0 | ::yb::master::TSRegistrationPB* temp = registration_; |
4956 | 0 | registration_ = NULL; |
4957 | 0 | return temp; |
4958 | 0 | } |
4959 | 12 | inline ::yb::master::TSRegistrationPB* ListLiveTabletServersResponsePB_Entry::mutable_registration() { |
4960 | 12 | set_has_registration(); |
4961 | 12 | if (registration_ == NULL) { |
4962 | 12 | registration_ = new ::yb::master::TSRegistrationPB; |
4963 | 12 | } |
4964 | | // @@protoc_insertion_point(field_mutable:yb.master.ListLiveTabletServersResponsePB.Entry.registration) |
4965 | 12 | return registration_; |
4966 | 12 | } |
4967 | 0 | inline void ListLiveTabletServersResponsePB_Entry::set_allocated_registration(::yb::master::TSRegistrationPB* registration) { |
4968 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4969 | 0 | if (message_arena == NULL) { |
4970 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(registration_); |
4971 | 0 | } |
4972 | 0 | if (registration) { |
4973 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4974 | 0 | if (message_arena != submessage_arena) { |
4975 | 0 | registration = ::google::protobuf::internal::GetOwnedMessage( |
4976 | 0 | message_arena, registration, submessage_arena); |
4977 | 0 | } |
4978 | 0 | set_has_registration(); |
4979 | 0 | } else { |
4980 | 0 | clear_has_registration(); |
4981 | 0 | } |
4982 | 0 | registration_ = registration; |
4983 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListLiveTabletServersResponsePB.Entry.registration) |
4984 | 0 | } |
4985 | | |
4986 | | // optional bool isFromReadReplica = 3; |
4987 | 12 | inline bool ListLiveTabletServersResponsePB_Entry::has_isfromreadreplica() const { |
4988 | 12 | return (_has_bits_[0] & 0x00000004u) != 0; |
4989 | 12 | } |
4990 | 12 | inline void ListLiveTabletServersResponsePB_Entry::set_has_isfromreadreplica() { |
4991 | 12 | _has_bits_[0] |= 0x00000004u; |
4992 | 12 | } |
4993 | 0 | inline void ListLiveTabletServersResponsePB_Entry::clear_has_isfromreadreplica() { |
4994 | 0 | _has_bits_[0] &= ~0x00000004u; |
4995 | 0 | } |
4996 | 0 | inline void ListLiveTabletServersResponsePB_Entry::clear_isfromreadreplica() { |
4997 | 0 | isfromreadreplica_ = false; |
4998 | 0 | clear_has_isfromreadreplica(); |
4999 | 0 | } |
5000 | 12 | inline bool ListLiveTabletServersResponsePB_Entry::isfromreadreplica() const { |
5001 | | // @@protoc_insertion_point(field_get:yb.master.ListLiveTabletServersResponsePB.Entry.isFromReadReplica) |
5002 | 12 | return isfromreadreplica_; |
5003 | 12 | } |
5004 | 6 | inline void ListLiveTabletServersResponsePB_Entry::set_isfromreadreplica(bool value) { |
5005 | 6 | set_has_isfromreadreplica(); |
5006 | 6 | isfromreadreplica_ = value; |
5007 | | // @@protoc_insertion_point(field_set:yb.master.ListLiveTabletServersResponsePB.Entry.isFromReadReplica) |
5008 | 6 | } |
5009 | | |
5010 | | // ------------------------------------------------------------------- |
5011 | | |
5012 | | // ListLiveTabletServersResponsePB |
5013 | | |
5014 | | // optional .yb.master.MasterErrorPB error = 1; |
5015 | 10 | inline bool ListLiveTabletServersResponsePB::has_error() const { |
5016 | 10 | return (_has_bits_[0] & 0x00000001u) != 0; |
5017 | 10 | } |
5018 | 0 | inline void ListLiveTabletServersResponsePB::set_has_error() { |
5019 | 0 | _has_bits_[0] |= 0x00000001u; |
5020 | 0 | } |
5021 | 0 | inline void ListLiveTabletServersResponsePB::clear_has_error() { |
5022 | 0 | _has_bits_[0] &= ~0x00000001u; |
5023 | 0 | } |
5024 | 0 | inline const ::yb::master::MasterErrorPB& ListLiveTabletServersResponsePB::error() const { |
5025 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5026 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListLiveTabletServersResponsePB.error) |
5027 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5028 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5029 | 0 | } |
5030 | 0 | inline ::yb::master::MasterErrorPB* ListLiveTabletServersResponsePB::release_error() { |
5031 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListLiveTabletServersResponsePB.error) |
5032 | 0 | clear_has_error(); |
5033 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5034 | 0 | error_ = NULL; |
5035 | 0 | return temp; |
5036 | 0 | } |
5037 | 0 | inline ::yb::master::MasterErrorPB* ListLiveTabletServersResponsePB::mutable_error() { |
5038 | 0 | set_has_error(); |
5039 | 0 | if (error_ == NULL) { |
5040 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5041 | 0 | } |
5042 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListLiveTabletServersResponsePB.error) |
5043 | 0 | return error_; |
5044 | 0 | } |
5045 | 0 | inline void ListLiveTabletServersResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5046 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5047 | 0 | if (message_arena == NULL) { |
5048 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5049 | 0 | } |
5050 | 0 | if (error) { |
5051 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5052 | 0 | if (message_arena != submessage_arena) { |
5053 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5054 | 0 | message_arena, error, submessage_arena); |
5055 | 0 | } |
5056 | 0 | set_has_error(); |
5057 | 0 | } else { |
5058 | 0 | clear_has_error(); |
5059 | 0 | } |
5060 | 0 | error_ = error; |
5061 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListLiveTabletServersResponsePB.error) |
5062 | 0 | } |
5063 | | |
5064 | | // repeated .yb.master.ListLiveTabletServersResponsePB.Entry servers = 2; |
5065 | 16 | inline int ListLiveTabletServersResponsePB::servers_size() const { |
5066 | 16 | return servers_.size(); |
5067 | 16 | } |
5068 | 0 | inline void ListLiveTabletServersResponsePB::clear_servers() { |
5069 | 0 | servers_.Clear(); |
5070 | 0 | } |
5071 | 24 | inline const ::yb::master::ListLiveTabletServersResponsePB_Entry& ListLiveTabletServersResponsePB::servers(int index) const { |
5072 | | // @@protoc_insertion_point(field_get:yb.master.ListLiveTabletServersResponsePB.servers) |
5073 | 24 | return servers_.Get(index); |
5074 | 24 | } |
5075 | 0 | inline ::yb::master::ListLiveTabletServersResponsePB_Entry* ListLiveTabletServersResponsePB::mutable_servers(int index) { |
5076 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListLiveTabletServersResponsePB.servers) |
5077 | 0 | return servers_.Mutable(index); |
5078 | 0 | } |
5079 | 12 | inline ::yb::master::ListLiveTabletServersResponsePB_Entry* ListLiveTabletServersResponsePB::add_servers() { |
5080 | | // @@protoc_insertion_point(field_add:yb.master.ListLiveTabletServersResponsePB.servers) |
5081 | 12 | return servers_.Add(); |
5082 | 12 | } |
5083 | | inline ::google::protobuf::RepeatedPtrField< ::yb::master::ListLiveTabletServersResponsePB_Entry >* |
5084 | 0 | ListLiveTabletServersResponsePB::mutable_servers() { |
5085 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ListLiveTabletServersResponsePB.servers) |
5086 | 0 | return &servers_; |
5087 | 0 | } |
5088 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::master::ListLiveTabletServersResponsePB_Entry >& |
5089 | 4 | ListLiveTabletServersResponsePB::servers() const { |
5090 | | // @@protoc_insertion_point(field_list:yb.master.ListLiveTabletServersResponsePB.servers) |
5091 | 4 | return servers_; |
5092 | 4 | } |
5093 | | |
5094 | | // ------------------------------------------------------------------- |
5095 | | |
5096 | | // ListMastersRequestPB |
5097 | | |
5098 | | // ------------------------------------------------------------------- |
5099 | | |
5100 | | // ListMastersResponsePB |
5101 | | |
5102 | | // repeated .yb.ServerEntryPB masters = 1; |
5103 | 196 | inline int ListMastersResponsePB::masters_size() const { |
5104 | 196 | return masters_.size(); |
5105 | 196 | } |
5106 | 480 | inline const ::yb::ServerEntryPB& ListMastersResponsePB::masters(int index) const { |
5107 | | // @@protoc_insertion_point(field_get:yb.master.ListMastersResponsePB.masters) |
5108 | 480 | return masters_.Get(index); |
5109 | 480 | } |
5110 | 0 | inline ::yb::ServerEntryPB* ListMastersResponsePB::mutable_masters(int index) { |
5111 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListMastersResponsePB.masters) |
5112 | 0 | return masters_.Mutable(index); |
5113 | 0 | } |
5114 | 251 | inline ::yb::ServerEntryPB* ListMastersResponsePB::add_masters() { |
5115 | | // @@protoc_insertion_point(field_add:yb.master.ListMastersResponsePB.masters) |
5116 | 251 | return masters_.Add(); |
5117 | 251 | } |
5118 | | inline ::google::protobuf::RepeatedPtrField< ::yb::ServerEntryPB >* |
5119 | 0 | ListMastersResponsePB::mutable_masters() { |
5120 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ListMastersResponsePB.masters) |
5121 | 0 | return &masters_; |
5122 | 0 | } |
5123 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::ServerEntryPB >& |
5124 | 73 | ListMastersResponsePB::masters() const { |
5125 | | // @@protoc_insertion_point(field_list:yb.master.ListMastersResponsePB.masters) |
5126 | 73 | return masters_; |
5127 | 73 | } |
5128 | | |
5129 | | // optional .yb.master.MasterErrorPB error = 2; |
5130 | 196 | inline bool ListMastersResponsePB::has_error() const { |
5131 | 196 | return (_has_bits_[0] & 0x00000001u) != 0; |
5132 | 196 | } |
5133 | 0 | inline void ListMastersResponsePB::set_has_error() { |
5134 | 0 | _has_bits_[0] |= 0x00000001u; |
5135 | 0 | } |
5136 | 0 | inline void ListMastersResponsePB::clear_has_error() { |
5137 | 0 | _has_bits_[0] &= ~0x00000001u; |
5138 | 0 | } |
5139 | 0 | inline const ::yb::master::MasterErrorPB& ListMastersResponsePB::error() const { |
5140 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5141 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListMastersResponsePB.error) |
5142 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5143 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5144 | 0 | } |
5145 | 0 | inline ::yb::master::MasterErrorPB* ListMastersResponsePB::release_error() { |
5146 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListMastersResponsePB.error) |
5147 | 0 | clear_has_error(); |
5148 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5149 | 0 | error_ = NULL; |
5150 | 0 | return temp; |
5151 | 0 | } |
5152 | 0 | inline ::yb::master::MasterErrorPB* ListMastersResponsePB::mutable_error() { |
5153 | 0 | set_has_error(); |
5154 | 0 | if (error_ == NULL) { |
5155 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5156 | 0 | } |
5157 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListMastersResponsePB.error) |
5158 | 0 | return error_; |
5159 | 0 | } |
5160 | 0 | inline void ListMastersResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5161 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5162 | 0 | if (message_arena == NULL) { |
5163 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5164 | 0 | } |
5165 | 0 | if (error) { |
5166 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5167 | 0 | if (message_arena != submessage_arena) { |
5168 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5169 | 0 | message_arena, error, submessage_arena); |
5170 | 0 | } |
5171 | 0 | set_has_error(); |
5172 | 0 | } else { |
5173 | 0 | clear_has_error(); |
5174 | 0 | } |
5175 | 0 | error_ = error; |
5176 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListMastersResponsePB.error) |
5177 | 0 | } |
5178 | | |
5179 | | // ------------------------------------------------------------------- |
5180 | | |
5181 | | // ListMasterRaftPeersRequestPB |
5182 | | |
5183 | | // ------------------------------------------------------------------- |
5184 | | |
5185 | | // ListMasterRaftPeersResponsePB |
5186 | | |
5187 | | // repeated .yb.consensus.RaftPeerPB masters = 1; |
5188 | 0 | inline int ListMasterRaftPeersResponsePB::masters_size() const { |
5189 | 0 | return masters_.size(); |
5190 | 0 | } |
5191 | 0 | inline const ::yb::consensus::RaftPeerPB& ListMasterRaftPeersResponsePB::masters(int index) const { |
5192 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListMasterRaftPeersResponsePB.masters) |
5193 | 0 | return masters_.Get(index); |
5194 | 0 | } |
5195 | 0 | inline ::yb::consensus::RaftPeerPB* ListMasterRaftPeersResponsePB::mutable_masters(int index) { |
5196 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListMasterRaftPeersResponsePB.masters) |
5197 | 0 | return masters_.Mutable(index); |
5198 | 0 | } |
5199 | 0 | inline ::yb::consensus::RaftPeerPB* ListMasterRaftPeersResponsePB::add_masters() { |
5200 | 0 | // @@protoc_insertion_point(field_add:yb.master.ListMasterRaftPeersResponsePB.masters) |
5201 | 0 | return masters_.Add(); |
5202 | 0 | } |
5203 | | inline ::google::protobuf::RepeatedPtrField< ::yb::consensus::RaftPeerPB >* |
5204 | 0 | ListMasterRaftPeersResponsePB::mutable_masters() { |
5205 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.ListMasterRaftPeersResponsePB.masters) |
5206 | 0 | return &masters_; |
5207 | 0 | } |
5208 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::consensus::RaftPeerPB >& |
5209 | 0 | ListMasterRaftPeersResponsePB::masters() const { |
5210 | 0 | // @@protoc_insertion_point(field_list:yb.master.ListMasterRaftPeersResponsePB.masters) |
5211 | 0 | return masters_; |
5212 | 0 | } |
5213 | | |
5214 | | // optional .yb.master.MasterErrorPB error = 2; |
5215 | 0 | inline bool ListMasterRaftPeersResponsePB::has_error() const { |
5216 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5217 | 0 | } |
5218 | 0 | inline void ListMasterRaftPeersResponsePB::set_has_error() { |
5219 | 0 | _has_bits_[0] |= 0x00000001u; |
5220 | 0 | } |
5221 | 0 | inline void ListMasterRaftPeersResponsePB::clear_has_error() { |
5222 | 0 | _has_bits_[0] &= ~0x00000001u; |
5223 | 0 | } |
5224 | 0 | inline const ::yb::master::MasterErrorPB& ListMasterRaftPeersResponsePB::error() const { |
5225 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5226 | 0 | // @@protoc_insertion_point(field_get:yb.master.ListMasterRaftPeersResponsePB.error) |
5227 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5228 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5229 | 0 | } |
5230 | 0 | inline ::yb::master::MasterErrorPB* ListMasterRaftPeersResponsePB::release_error() { |
5231 | 0 | // @@protoc_insertion_point(field_release:yb.master.ListMasterRaftPeersResponsePB.error) |
5232 | 0 | clear_has_error(); |
5233 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5234 | 0 | error_ = NULL; |
5235 | 0 | return temp; |
5236 | 0 | } |
5237 | 0 | inline ::yb::master::MasterErrorPB* ListMasterRaftPeersResponsePB::mutable_error() { |
5238 | 0 | set_has_error(); |
5239 | 0 | if (error_ == NULL) { |
5240 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5241 | 0 | } |
5242 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ListMasterRaftPeersResponsePB.error) |
5243 | 0 | return error_; |
5244 | 0 | } |
5245 | 0 | inline void ListMasterRaftPeersResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5246 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5247 | 0 | if (message_arena == NULL) { |
5248 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5249 | 0 | } |
5250 | 0 | if (error) { |
5251 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5252 | 0 | if (message_arena != submessage_arena) { |
5253 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5254 | 0 | message_arena, error, submessage_arena); |
5255 | 0 | } |
5256 | 0 | set_has_error(); |
5257 | 0 | } else { |
5258 | 0 | clear_has_error(); |
5259 | 0 | } |
5260 | 0 | error_ = error; |
5261 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ListMasterRaftPeersResponsePB.error) |
5262 | 0 | } |
5263 | | |
5264 | | // ------------------------------------------------------------------- |
5265 | | |
5266 | | // GetMasterRegistrationRequestPB |
5267 | | |
5268 | | // ------------------------------------------------------------------- |
5269 | | |
5270 | | // GetMasterRegistrationResponsePB |
5271 | | |
5272 | | // required .yb.NodeInstancePB instance_id = 1; |
5273 | 17.1M | inline bool GetMasterRegistrationResponsePB::has_instance_id() const { |
5274 | 17.1M | return (_has_bits_[0] & 0x00000001u) != 0; |
5275 | 17.1M | } |
5276 | 8.56M | inline void GetMasterRegistrationResponsePB::set_has_instance_id() { |
5277 | 8.56M | _has_bits_[0] |= 0x00000001u; |
5278 | 8.56M | } |
5279 | 0 | inline void GetMasterRegistrationResponsePB::clear_has_instance_id() { |
5280 | 0 | _has_bits_[0] &= ~0x00000001u; |
5281 | 0 | } |
5282 | 4.25M | inline const ::yb::NodeInstancePB& GetMasterRegistrationResponsePB::instance_id() const { |
5283 | 4.25M | const ::yb::NodeInstancePB* p = instance_id_; |
5284 | | // @@protoc_insertion_point(field_get:yb.master.GetMasterRegistrationResponsePB.instance_id) |
5285 | 4.24M | return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>( |
5286 | 3.81k | &::yb::_NodeInstancePB_default_instance_); |
5287 | 4.25M | } |
5288 | 0 | inline ::yb::NodeInstancePB* GetMasterRegistrationResponsePB::release_instance_id() { |
5289 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetMasterRegistrationResponsePB.instance_id) |
5290 | 0 | clear_has_instance_id(); |
5291 | 0 | ::yb::NodeInstancePB* temp = instance_id_; |
5292 | 0 | instance_id_ = NULL; |
5293 | 0 | return temp; |
5294 | 0 | } |
5295 | 8.54M | inline ::yb::NodeInstancePB* GetMasterRegistrationResponsePB::mutable_instance_id() { |
5296 | 8.54M | set_has_instance_id(); |
5297 | 8.54M | if (instance_id_ == NULL) { |
5298 | 8.51M | instance_id_ = new ::yb::NodeInstancePB; |
5299 | 8.51M | } |
5300 | | // @@protoc_insertion_point(field_mutable:yb.master.GetMasterRegistrationResponsePB.instance_id) |
5301 | 8.54M | return instance_id_; |
5302 | 8.54M | } |
5303 | 0 | inline void GetMasterRegistrationResponsePB::set_allocated_instance_id(::yb::NodeInstancePB* instance_id) { |
5304 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5305 | 0 | if (message_arena == NULL) { |
5306 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(instance_id_); |
5307 | 0 | } |
5308 | 0 | if (instance_id) { |
5309 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5310 | 0 | if (message_arena != submessage_arena) { |
5311 | 0 | instance_id = ::google::protobuf::internal::GetOwnedMessage( |
5312 | 0 | message_arena, instance_id, submessage_arena); |
5313 | 0 | } |
5314 | 0 | set_has_instance_id(); |
5315 | 0 | } else { |
5316 | 0 | clear_has_instance_id(); |
5317 | 0 | } |
5318 | 0 | instance_id_ = instance_id; |
5319 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetMasterRegistrationResponsePB.instance_id) |
5320 | 0 | } |
5321 | | |
5322 | | // optional .yb.ServerRegistrationPB registration = 2; |
5323 | 17.1M | inline bool GetMasterRegistrationResponsePB::has_registration() const { |
5324 | 17.1M | return (_has_bits_[0] & 0x00000002u) != 0; |
5325 | 17.1M | } |
5326 | 7.75M | inline void GetMasterRegistrationResponsePB::set_has_registration() { |
5327 | 7.75M | _has_bits_[0] |= 0x00000002u; |
5328 | 7.75M | } |
5329 | 0 | inline void GetMasterRegistrationResponsePB::clear_has_registration() { |
5330 | 0 | _has_bits_[0] &= ~0x00000002u; |
5331 | 0 | } |
5332 | 4.24M | inline const ::yb::ServerRegistrationPB& GetMasterRegistrationResponsePB::registration() const { |
5333 | 4.24M | const ::yb::ServerRegistrationPB* p = registration_; |
5334 | | // @@protoc_insertion_point(field_get:yb.master.GetMasterRegistrationResponsePB.registration) |
5335 | 3.84M | return p != NULL ? *p : *reinterpret_cast<const ::yb::ServerRegistrationPB*>( |
5336 | 394k | &::yb::_ServerRegistrationPB_default_instance_); |
5337 | 4.24M | } |
5338 | 0 | inline ::yb::ServerRegistrationPB* GetMasterRegistrationResponsePB::release_registration() { |
5339 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetMasterRegistrationResponsePB.registration) |
5340 | 0 | clear_has_registration(); |
5341 | 0 | ::yb::ServerRegistrationPB* temp = registration_; |
5342 | 0 | registration_ = NULL; |
5343 | 0 | return temp; |
5344 | 0 | } |
5345 | 7.75M | inline ::yb::ServerRegistrationPB* GetMasterRegistrationResponsePB::mutable_registration() { |
5346 | 7.75M | set_has_registration(); |
5347 | 7.75M | if (registration_ == NULL) { |
5348 | 7.74M | registration_ = new ::yb::ServerRegistrationPB; |
5349 | 7.74M | } |
5350 | | // @@protoc_insertion_point(field_mutable:yb.master.GetMasterRegistrationResponsePB.registration) |
5351 | 7.75M | return registration_; |
5352 | 7.75M | } |
5353 | 0 | inline void GetMasterRegistrationResponsePB::set_allocated_registration(::yb::ServerRegistrationPB* registration) { |
5354 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5355 | 0 | if (message_arena == NULL) { |
5356 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(registration_); |
5357 | 0 | } |
5358 | 0 | if (registration) { |
5359 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5360 | 0 | if (message_arena != submessage_arena) { |
5361 | 0 | registration = ::google::protobuf::internal::GetOwnedMessage( |
5362 | 0 | message_arena, registration, submessage_arena); |
5363 | 0 | } |
5364 | 0 | set_has_registration(); |
5365 | 0 | } else { |
5366 | 0 | clear_has_registration(); |
5367 | 0 | } |
5368 | 0 | registration_ = registration; |
5369 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetMasterRegistrationResponsePB.registration) |
5370 | 0 | } |
5371 | | |
5372 | | // optional .yb.PeerRole role = 3; |
5373 | 8.58M | inline bool GetMasterRegistrationResponsePB::has_role() const { |
5374 | 8.58M | return (_has_bits_[0] & 0x00000008u) != 0; |
5375 | 8.58M | } |
5376 | 8.16M | inline void GetMasterRegistrationResponsePB::set_has_role() { |
5377 | 8.16M | _has_bits_[0] |= 0x00000008u; |
5378 | 8.16M | } |
5379 | 0 | inline void GetMasterRegistrationResponsePB::clear_has_role() { |
5380 | 0 | _has_bits_[0] &= ~0x00000008u; |
5381 | 0 | } |
5382 | 0 | inline void GetMasterRegistrationResponsePB::clear_role() { |
5383 | 0 | role_ = 0; |
5384 | 0 | clear_has_role(); |
5385 | 0 | } |
5386 | 15.9M | inline ::yb::PeerRole GetMasterRegistrationResponsePB::role() const { |
5387 | | // @@protoc_insertion_point(field_get:yb.master.GetMasterRegistrationResponsePB.role) |
5388 | 15.9M | return static_cast< ::yb::PeerRole >(role_); |
5389 | 15.9M | } |
5390 | 8.14M | inline void GetMasterRegistrationResponsePB::set_role(::yb::PeerRole value) { |
5391 | 8.14M | assert(::yb::PeerRole_IsValid(value)); |
5392 | 8.14M | set_has_role(); |
5393 | 8.14M | role_ = value; |
5394 | | // @@protoc_insertion_point(field_set:yb.master.GetMasterRegistrationResponsePB.role) |
5395 | 8.14M | } |
5396 | | |
5397 | | // optional .yb.master.MasterErrorPB error = 4; |
5398 | 21.3M | inline bool GetMasterRegistrationResponsePB::has_error() const { |
5399 | 21.3M | return (_has_bits_[0] & 0x00000004u) != 0; |
5400 | 21.3M | } |
5401 | 1.19M | inline void GetMasterRegistrationResponsePB::set_has_error() { |
5402 | 1.19M | _has_bits_[0] |= 0x00000004u; |
5403 | 1.19M | } |
5404 | 0 | inline void GetMasterRegistrationResponsePB::clear_has_error() { |
5405 | 0 | _has_bits_[0] &= ~0x00000004u; |
5406 | 0 | } |
5407 | 397k | inline const ::yb::master::MasterErrorPB& GetMasterRegistrationResponsePB::error() const { |
5408 | 397k | const ::yb::master::MasterErrorPB* p = error_; |
5409 | | // @@protoc_insertion_point(field_get:yb.master.GetMasterRegistrationResponsePB.error) |
5410 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5411 | 18.4E | &::yb::master::_MasterErrorPB_default_instance_); |
5412 | 397k | } |
5413 | 0 | inline ::yb::master::MasterErrorPB* GetMasterRegistrationResponsePB::release_error() { |
5414 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetMasterRegistrationResponsePB.error) |
5415 | 0 | clear_has_error(); |
5416 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5417 | 0 | error_ = NULL; |
5418 | 0 | return temp; |
5419 | 0 | } |
5420 | 1.19M | inline ::yb::master::MasterErrorPB* GetMasterRegistrationResponsePB::mutable_error() { |
5421 | 1.19M | set_has_error(); |
5422 | 1.19M | if (error_ == NULL) { |
5423 | 794k | error_ = new ::yb::master::MasterErrorPB; |
5424 | 794k | } |
5425 | | // @@protoc_insertion_point(field_mutable:yb.master.GetMasterRegistrationResponsePB.error) |
5426 | 1.19M | return error_; |
5427 | 1.19M | } |
5428 | 0 | inline void GetMasterRegistrationResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5429 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5430 | 0 | if (message_arena == NULL) { |
5431 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5432 | 0 | } |
5433 | 0 | if (error) { |
5434 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5435 | 0 | if (message_arena != submessage_arena) { |
5436 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5437 | 0 | message_arena, error, submessage_arena); |
5438 | 0 | } |
5439 | 0 | set_has_error(); |
5440 | 0 | } else { |
5441 | 0 | clear_has_error(); |
5442 | 0 | } |
5443 | 0 | error_ = error; |
5444 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetMasterRegistrationResponsePB.error) |
5445 | 0 | } |
5446 | | |
5447 | | // ------------------------------------------------------------------- |
5448 | | |
5449 | | // IsMasterLeaderReadyRequestPB |
5450 | | |
5451 | | // ------------------------------------------------------------------- |
5452 | | |
5453 | | // IsMasterLeaderReadyResponsePB |
5454 | | |
5455 | | // optional .yb.master.MasterErrorPB error = 1; |
5456 | 120 | inline bool IsMasterLeaderReadyResponsePB::has_error() const { |
5457 | 120 | return (_has_bits_[0] & 0x00000001u) != 0; |
5458 | 120 | } |
5459 | 0 | inline void IsMasterLeaderReadyResponsePB::set_has_error() { |
5460 | 0 | _has_bits_[0] |= 0x00000001u; |
5461 | 0 | } |
5462 | 0 | inline void IsMasterLeaderReadyResponsePB::clear_has_error() { |
5463 | 0 | _has_bits_[0] &= ~0x00000001u; |
5464 | 0 | } |
5465 | 0 | inline const ::yb::master::MasterErrorPB& IsMasterLeaderReadyResponsePB::error() const { |
5466 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5467 | 0 | // @@protoc_insertion_point(field_get:yb.master.IsMasterLeaderReadyResponsePB.error) |
5468 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5469 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5470 | 0 | } |
5471 | 0 | inline ::yb::master::MasterErrorPB* IsMasterLeaderReadyResponsePB::release_error() { |
5472 | 0 | // @@protoc_insertion_point(field_release:yb.master.IsMasterLeaderReadyResponsePB.error) |
5473 | 0 | clear_has_error(); |
5474 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5475 | 0 | error_ = NULL; |
5476 | 0 | return temp; |
5477 | 0 | } |
5478 | 0 | inline ::yb::master::MasterErrorPB* IsMasterLeaderReadyResponsePB::mutable_error() { |
5479 | 0 | set_has_error(); |
5480 | 0 | if (error_ == NULL) { |
5481 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5482 | 0 | } |
5483 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.IsMasterLeaderReadyResponsePB.error) |
5484 | 0 | return error_; |
5485 | 0 | } |
5486 | 0 | inline void IsMasterLeaderReadyResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5487 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5488 | 0 | if (message_arena == NULL) { |
5489 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5490 | 0 | } |
5491 | 0 | if (error) { |
5492 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5493 | 0 | if (message_arena != submessage_arena) { |
5494 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5495 | 0 | message_arena, error, submessage_arena); |
5496 | 0 | } |
5497 | 0 | set_has_error(); |
5498 | 0 | } else { |
5499 | 0 | clear_has_error(); |
5500 | 0 | } |
5501 | 0 | error_ = error; |
5502 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.IsMasterLeaderReadyResponsePB.error) |
5503 | 0 | } |
5504 | | |
5505 | | // ------------------------------------------------------------------- |
5506 | | |
5507 | | // DumpMasterStateRequestPB |
5508 | | |
5509 | | // optional bool on_disk = 1 [default = true]; |
5510 | 0 | inline bool DumpMasterStateRequestPB::has_on_disk() const { |
5511 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
5512 | 0 | } |
5513 | 0 | inline void DumpMasterStateRequestPB::set_has_on_disk() { |
5514 | 0 | _has_bits_[0] |= 0x00000004u; |
5515 | 0 | } |
5516 | 0 | inline void DumpMasterStateRequestPB::clear_has_on_disk() { |
5517 | 0 | _has_bits_[0] &= ~0x00000004u; |
5518 | 0 | } |
5519 | 0 | inline void DumpMasterStateRequestPB::clear_on_disk() { |
5520 | 0 | on_disk_ = true; |
5521 | 0 | clear_has_on_disk(); |
5522 | 0 | } |
5523 | 0 | inline bool DumpMasterStateRequestPB::on_disk() const { |
5524 | 0 | // @@protoc_insertion_point(field_get:yb.master.DumpMasterStateRequestPB.on_disk) |
5525 | 0 | return on_disk_; |
5526 | 0 | } |
5527 | 0 | inline void DumpMasterStateRequestPB::set_on_disk(bool value) { |
5528 | 0 | set_has_on_disk(); |
5529 | 0 | on_disk_ = value; |
5530 | 0 | // @@protoc_insertion_point(field_set:yb.master.DumpMasterStateRequestPB.on_disk) |
5531 | 0 | } |
5532 | | |
5533 | | // optional bool peers_also = 2 [default = false]; |
5534 | 0 | inline bool DumpMasterStateRequestPB::has_peers_also() const { |
5535 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5536 | 0 | } |
5537 | 0 | inline void DumpMasterStateRequestPB::set_has_peers_also() { |
5538 | 0 | _has_bits_[0] |= 0x00000001u; |
5539 | 0 | } |
5540 | 0 | inline void DumpMasterStateRequestPB::clear_has_peers_also() { |
5541 | 0 | _has_bits_[0] &= ~0x00000001u; |
5542 | 0 | } |
5543 | 0 | inline void DumpMasterStateRequestPB::clear_peers_also() { |
5544 | 0 | peers_also_ = false; |
5545 | 0 | clear_has_peers_also(); |
5546 | 0 | } |
5547 | 0 | inline bool DumpMasterStateRequestPB::peers_also() const { |
5548 | 0 | // @@protoc_insertion_point(field_get:yb.master.DumpMasterStateRequestPB.peers_also) |
5549 | 0 | return peers_also_; |
5550 | 0 | } |
5551 | 0 | inline void DumpMasterStateRequestPB::set_peers_also(bool value) { |
5552 | 0 | set_has_peers_also(); |
5553 | 0 | peers_also_ = value; |
5554 | 0 | // @@protoc_insertion_point(field_set:yb.master.DumpMasterStateRequestPB.peers_also) |
5555 | 0 | } |
5556 | | |
5557 | | // optional bool return_dump_as_string = 3 [default = false]; |
5558 | 0 | inline bool DumpMasterStateRequestPB::has_return_dump_as_string() const { |
5559 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5560 | 0 | } |
5561 | 0 | inline void DumpMasterStateRequestPB::set_has_return_dump_as_string() { |
5562 | 0 | _has_bits_[0] |= 0x00000002u; |
5563 | 0 | } |
5564 | 0 | inline void DumpMasterStateRequestPB::clear_has_return_dump_as_string() { |
5565 | 0 | _has_bits_[0] &= ~0x00000002u; |
5566 | 0 | } |
5567 | 0 | inline void DumpMasterStateRequestPB::clear_return_dump_as_string() { |
5568 | 0 | return_dump_as_string_ = false; |
5569 | 0 | clear_has_return_dump_as_string(); |
5570 | 0 | } |
5571 | 0 | inline bool DumpMasterStateRequestPB::return_dump_as_string() const { |
5572 | 0 | // @@protoc_insertion_point(field_get:yb.master.DumpMasterStateRequestPB.return_dump_as_string) |
5573 | 0 | return return_dump_as_string_; |
5574 | 0 | } |
5575 | 0 | inline void DumpMasterStateRequestPB::set_return_dump_as_string(bool value) { |
5576 | 0 | set_has_return_dump_as_string(); |
5577 | 0 | return_dump_as_string_ = value; |
5578 | 0 | // @@protoc_insertion_point(field_set:yb.master.DumpMasterStateRequestPB.return_dump_as_string) |
5579 | 0 | } |
5580 | | |
5581 | | // ------------------------------------------------------------------- |
5582 | | |
5583 | | // DumpMasterStateResponsePB |
5584 | | |
5585 | | // optional .yb.master.MasterErrorPB error = 1; |
5586 | 0 | inline bool DumpMasterStateResponsePB::has_error() const { |
5587 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5588 | 0 | } |
5589 | 0 | inline void DumpMasterStateResponsePB::set_has_error() { |
5590 | 0 | _has_bits_[0] |= 0x00000002u; |
5591 | 0 | } |
5592 | 0 | inline void DumpMasterStateResponsePB::clear_has_error() { |
5593 | 0 | _has_bits_[0] &= ~0x00000002u; |
5594 | 0 | } |
5595 | 0 | inline const ::yb::master::MasterErrorPB& DumpMasterStateResponsePB::error() const { |
5596 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5597 | 0 | // @@protoc_insertion_point(field_get:yb.master.DumpMasterStateResponsePB.error) |
5598 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5599 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5600 | 0 | } |
5601 | 0 | inline ::yb::master::MasterErrorPB* DumpMasterStateResponsePB::release_error() { |
5602 | 0 | // @@protoc_insertion_point(field_release:yb.master.DumpMasterStateResponsePB.error) |
5603 | 0 | clear_has_error(); |
5604 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5605 | 0 | error_ = NULL; |
5606 | 0 | return temp; |
5607 | 0 | } |
5608 | 0 | inline ::yb::master::MasterErrorPB* DumpMasterStateResponsePB::mutable_error() { |
5609 | 0 | set_has_error(); |
5610 | 0 | if (error_ == NULL) { |
5611 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5612 | 0 | } |
5613 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DumpMasterStateResponsePB.error) |
5614 | 0 | return error_; |
5615 | 0 | } |
5616 | 0 | inline void DumpMasterStateResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5617 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5618 | 0 | if (message_arena == NULL) { |
5619 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5620 | 0 | } |
5621 | 0 | if (error) { |
5622 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5623 | 0 | if (message_arena != submessage_arena) { |
5624 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5625 | 0 | message_arena, error, submessage_arena); |
5626 | 0 | } |
5627 | 0 | set_has_error(); |
5628 | 0 | } else { |
5629 | 0 | clear_has_error(); |
5630 | 0 | } |
5631 | 0 | error_ = error; |
5632 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DumpMasterStateResponsePB.error) |
5633 | 0 | } |
5634 | | |
5635 | | // optional string dump = 2; |
5636 | 0 | inline bool DumpMasterStateResponsePB::has_dump() const { |
5637 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5638 | 0 | } |
5639 | 0 | inline void DumpMasterStateResponsePB::set_has_dump() { |
5640 | 0 | _has_bits_[0] |= 0x00000001u; |
5641 | 0 | } |
5642 | 0 | inline void DumpMasterStateResponsePB::clear_has_dump() { |
5643 | 0 | _has_bits_[0] &= ~0x00000001u; |
5644 | 0 | } |
5645 | 0 | inline void DumpMasterStateResponsePB::clear_dump() { |
5646 | 0 | dump_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5647 | 0 | clear_has_dump(); |
5648 | 0 | } |
5649 | 0 | inline const ::std::string& DumpMasterStateResponsePB::dump() const { |
5650 | 0 | // @@protoc_insertion_point(field_get:yb.master.DumpMasterStateResponsePB.dump) |
5651 | 0 | return dump_.GetNoArena(); |
5652 | 0 | } |
5653 | 0 | inline void DumpMasterStateResponsePB::set_dump(const ::std::string& value) { |
5654 | 0 | set_has_dump(); |
5655 | 0 | dump_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5656 | 0 | // @@protoc_insertion_point(field_set:yb.master.DumpMasterStateResponsePB.dump) |
5657 | 0 | } |
5658 | | #if LANG_CXX11 |
5659 | 0 | inline void DumpMasterStateResponsePB::set_dump(::std::string&& value) { |
5660 | 0 | set_has_dump(); |
5661 | 0 | dump_.SetNoArena( |
5662 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5663 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.master.DumpMasterStateResponsePB.dump) |
5664 | 0 | } |
5665 | | #endif |
5666 | 0 | inline void DumpMasterStateResponsePB::set_dump(const char* value) { |
5667 | 0 | GOOGLE_DCHECK(value != NULL); |
5668 | 0 | set_has_dump(); |
5669 | 0 | dump_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5670 | 0 | // @@protoc_insertion_point(field_set_char:yb.master.DumpMasterStateResponsePB.dump) |
5671 | 0 | } |
5672 | 0 | inline void DumpMasterStateResponsePB::set_dump(const char* value, size_t size) { |
5673 | 0 | set_has_dump(); |
5674 | 0 | dump_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5675 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5676 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.master.DumpMasterStateResponsePB.dump) |
5677 | 0 | } |
5678 | 0 | inline ::std::string* DumpMasterStateResponsePB::mutable_dump() { |
5679 | 0 | set_has_dump(); |
5680 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.DumpMasterStateResponsePB.dump) |
5681 | 0 | return dump_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5682 | 0 | } |
5683 | 0 | inline ::std::string* DumpMasterStateResponsePB::release_dump() { |
5684 | 0 | // @@protoc_insertion_point(field_release:yb.master.DumpMasterStateResponsePB.dump) |
5685 | 0 | clear_has_dump(); |
5686 | 0 | return dump_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5687 | 0 | } |
5688 | 0 | inline void DumpMasterStateResponsePB::set_allocated_dump(::std::string* dump) { |
5689 | 0 | if (dump != NULL) { |
5690 | 0 | set_has_dump(); |
5691 | 0 | } else { |
5692 | 0 | clear_has_dump(); |
5693 | 0 | } |
5694 | 0 | dump_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dump); |
5695 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.DumpMasterStateResponsePB.dump) |
5696 | 0 | } |
5697 | | |
5698 | | // ------------------------------------------------------------------- |
5699 | | |
5700 | | // ChangeLoadBalancerStateRequestPB |
5701 | | |
5702 | | // optional bool is_enabled = 1; |
5703 | 0 | inline bool ChangeLoadBalancerStateRequestPB::has_is_enabled() const { |
5704 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5705 | 0 | } |
5706 | 0 | inline void ChangeLoadBalancerStateRequestPB::set_has_is_enabled() { |
5707 | 0 | _has_bits_[0] |= 0x00000001u; |
5708 | 0 | } |
5709 | 0 | inline void ChangeLoadBalancerStateRequestPB::clear_has_is_enabled() { |
5710 | 0 | _has_bits_[0] &= ~0x00000001u; |
5711 | 0 | } |
5712 | 0 | inline void ChangeLoadBalancerStateRequestPB::clear_is_enabled() { |
5713 | 0 | is_enabled_ = false; |
5714 | 0 | clear_has_is_enabled(); |
5715 | 0 | } |
5716 | 0 | inline bool ChangeLoadBalancerStateRequestPB::is_enabled() const { |
5717 | 0 | // @@protoc_insertion_point(field_get:yb.master.ChangeLoadBalancerStateRequestPB.is_enabled) |
5718 | 0 | return is_enabled_; |
5719 | 0 | } |
5720 | 0 | inline void ChangeLoadBalancerStateRequestPB::set_is_enabled(bool value) { |
5721 | 0 | set_has_is_enabled(); |
5722 | 0 | is_enabled_ = value; |
5723 | 0 | // @@protoc_insertion_point(field_set:yb.master.ChangeLoadBalancerStateRequestPB.is_enabled) |
5724 | 0 | } |
5725 | | |
5726 | | // ------------------------------------------------------------------- |
5727 | | |
5728 | | // ChangeLoadBalancerStateResponsePB |
5729 | | |
5730 | | // optional .yb.master.MasterErrorPB error = 1; |
5731 | 0 | inline bool ChangeLoadBalancerStateResponsePB::has_error() const { |
5732 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5733 | 0 | } |
5734 | 0 | inline void ChangeLoadBalancerStateResponsePB::set_has_error() { |
5735 | 0 | _has_bits_[0] |= 0x00000001u; |
5736 | 0 | } |
5737 | 0 | inline void ChangeLoadBalancerStateResponsePB::clear_has_error() { |
5738 | 0 | _has_bits_[0] &= ~0x00000001u; |
5739 | 0 | } |
5740 | 0 | inline const ::yb::master::MasterErrorPB& ChangeLoadBalancerStateResponsePB::error() const { |
5741 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5742 | 0 | // @@protoc_insertion_point(field_get:yb.master.ChangeLoadBalancerStateResponsePB.error) |
5743 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5744 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5745 | 0 | } |
5746 | 0 | inline ::yb::master::MasterErrorPB* ChangeLoadBalancerStateResponsePB::release_error() { |
5747 | 0 | // @@protoc_insertion_point(field_release:yb.master.ChangeLoadBalancerStateResponsePB.error) |
5748 | 0 | clear_has_error(); |
5749 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5750 | 0 | error_ = NULL; |
5751 | 0 | return temp; |
5752 | 0 | } |
5753 | 0 | inline ::yb::master::MasterErrorPB* ChangeLoadBalancerStateResponsePB::mutable_error() { |
5754 | 0 | set_has_error(); |
5755 | 0 | if (error_ == NULL) { |
5756 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5757 | 0 | } |
5758 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.ChangeLoadBalancerStateResponsePB.error) |
5759 | 0 | return error_; |
5760 | 0 | } |
5761 | 0 | inline void ChangeLoadBalancerStateResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5762 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5763 | 0 | if (message_arena == NULL) { |
5764 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5765 | 0 | } |
5766 | 0 | if (error) { |
5767 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5768 | 0 | if (message_arena != submessage_arena) { |
5769 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5770 | 0 | message_arena, error, submessage_arena); |
5771 | 0 | } |
5772 | 0 | set_has_error(); |
5773 | 0 | } else { |
5774 | 0 | clear_has_error(); |
5775 | 0 | } |
5776 | 0 | error_ = error; |
5777 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ChangeLoadBalancerStateResponsePB.error) |
5778 | 0 | } |
5779 | | |
5780 | | // ------------------------------------------------------------------- |
5781 | | |
5782 | | // GetLoadBalancerStateRequestPB |
5783 | | |
5784 | | // ------------------------------------------------------------------- |
5785 | | |
5786 | | // GetLoadBalancerStateResponsePB |
5787 | | |
5788 | | // optional .yb.master.MasterErrorPB error = 1; |
5789 | 0 | inline bool GetLoadBalancerStateResponsePB::has_error() const { |
5790 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
5791 | 0 | } |
5792 | 0 | inline void GetLoadBalancerStateResponsePB::set_has_error() { |
5793 | 0 | _has_bits_[0] |= 0x00000001u; |
5794 | 0 | } |
5795 | 0 | inline void GetLoadBalancerStateResponsePB::clear_has_error() { |
5796 | 0 | _has_bits_[0] &= ~0x00000001u; |
5797 | 0 | } |
5798 | 0 | inline const ::yb::master::MasterErrorPB& GetLoadBalancerStateResponsePB::error() const { |
5799 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5800 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetLoadBalancerStateResponsePB.error) |
5801 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5802 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5803 | 0 | } |
5804 | 0 | inline ::yb::master::MasterErrorPB* GetLoadBalancerStateResponsePB::release_error() { |
5805 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetLoadBalancerStateResponsePB.error) |
5806 | 0 | clear_has_error(); |
5807 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5808 | 0 | error_ = NULL; |
5809 | 0 | return temp; |
5810 | 0 | } |
5811 | 0 | inline ::yb::master::MasterErrorPB* GetLoadBalancerStateResponsePB::mutable_error() { |
5812 | 0 | set_has_error(); |
5813 | 0 | if (error_ == NULL) { |
5814 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5815 | 0 | } |
5816 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetLoadBalancerStateResponsePB.error) |
5817 | 0 | return error_; |
5818 | 0 | } |
5819 | 0 | inline void GetLoadBalancerStateResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5820 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5821 | 0 | if (message_arena == NULL) { |
5822 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5823 | 0 | } |
5824 | 0 | if (error) { |
5825 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5826 | 0 | if (message_arena != submessage_arena) { |
5827 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5828 | 0 | message_arena, error, submessage_arena); |
5829 | 0 | } |
5830 | 0 | set_has_error(); |
5831 | 0 | } else { |
5832 | 0 | clear_has_error(); |
5833 | 0 | } |
5834 | 0 | error_ = error; |
5835 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetLoadBalancerStateResponsePB.error) |
5836 | 0 | } |
5837 | | |
5838 | | // optional bool is_enabled = 2; |
5839 | 0 | inline bool GetLoadBalancerStateResponsePB::has_is_enabled() const { |
5840 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
5841 | 0 | } |
5842 | 0 | inline void GetLoadBalancerStateResponsePB::set_has_is_enabled() { |
5843 | 0 | _has_bits_[0] |= 0x00000002u; |
5844 | 0 | } |
5845 | 0 | inline void GetLoadBalancerStateResponsePB::clear_has_is_enabled() { |
5846 | 0 | _has_bits_[0] &= ~0x00000002u; |
5847 | 0 | } |
5848 | 0 | inline void GetLoadBalancerStateResponsePB::clear_is_enabled() { |
5849 | 0 | is_enabled_ = false; |
5850 | 0 | clear_has_is_enabled(); |
5851 | 0 | } |
5852 | 0 | inline bool GetLoadBalancerStateResponsePB::is_enabled() const { |
5853 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetLoadBalancerStateResponsePB.is_enabled) |
5854 | 0 | return is_enabled_; |
5855 | 0 | } |
5856 | 0 | inline void GetLoadBalancerStateResponsePB::set_is_enabled(bool value) { |
5857 | 0 | set_has_is_enabled(); |
5858 | 0 | is_enabled_ = value; |
5859 | 0 | // @@protoc_insertion_point(field_set:yb.master.GetLoadBalancerStateResponsePB.is_enabled) |
5860 | 0 | } |
5861 | | |
5862 | | // ------------------------------------------------------------------- |
5863 | | |
5864 | | // RemovedMasterUpdateRequestPB |
5865 | | |
5866 | | // ------------------------------------------------------------------- |
5867 | | |
5868 | | // RemovedMasterUpdateResponsePB |
5869 | | |
5870 | | // optional .yb.master.MasterErrorPB error = 1; |
5871 | 130 | inline bool RemovedMasterUpdateResponsePB::has_error() const { |
5872 | 130 | return (_has_bits_[0] & 0x00000001u) != 0; |
5873 | 130 | } |
5874 | 0 | inline void RemovedMasterUpdateResponsePB::set_has_error() { |
5875 | 0 | _has_bits_[0] |= 0x00000001u; |
5876 | 0 | } |
5877 | 0 | inline void RemovedMasterUpdateResponsePB::clear_has_error() { |
5878 | 0 | _has_bits_[0] &= ~0x00000001u; |
5879 | 0 | } |
5880 | 0 | inline const ::yb::master::MasterErrorPB& RemovedMasterUpdateResponsePB::error() const { |
5881 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5882 | 0 | // @@protoc_insertion_point(field_get:yb.master.RemovedMasterUpdateResponsePB.error) |
5883 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5884 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5885 | 0 | } |
5886 | 0 | inline ::yb::master::MasterErrorPB* RemovedMasterUpdateResponsePB::release_error() { |
5887 | 0 | // @@protoc_insertion_point(field_release:yb.master.RemovedMasterUpdateResponsePB.error) |
5888 | 0 | clear_has_error(); |
5889 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5890 | 0 | error_ = NULL; |
5891 | 0 | return temp; |
5892 | 0 | } |
5893 | 0 | inline ::yb::master::MasterErrorPB* RemovedMasterUpdateResponsePB::mutable_error() { |
5894 | 0 | set_has_error(); |
5895 | 0 | if (error_ == NULL) { |
5896 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5897 | 0 | } |
5898 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.RemovedMasterUpdateResponsePB.error) |
5899 | 0 | return error_; |
5900 | 0 | } |
5901 | 0 | inline void RemovedMasterUpdateResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5902 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5903 | 0 | if (message_arena == NULL) { |
5904 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5905 | 0 | } |
5906 | 0 | if (error) { |
5907 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5908 | 0 | if (message_arena != submessage_arena) { |
5909 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5910 | 0 | message_arena, error, submessage_arena); |
5911 | 0 | } |
5912 | 0 | set_has_error(); |
5913 | 0 | } else { |
5914 | 0 | clear_has_error(); |
5915 | 0 | } |
5916 | 0 | error_ = error; |
5917 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.RemovedMasterUpdateResponsePB.error) |
5918 | 0 | } |
5919 | | |
5920 | | // ------------------------------------------------------------------- |
5921 | | |
5922 | | // SetPreferredZonesRequestPB |
5923 | | |
5924 | | // repeated .yb.CloudInfoPB preferred_zones = 1; |
5925 | 9 | inline int SetPreferredZonesRequestPB::preferred_zones_size() const { |
5926 | 9 | return preferred_zones_.size(); |
5927 | 9 | } |
5928 | 15 | inline const ::yb::CloudInfoPB& SetPreferredZonesRequestPB::preferred_zones(int index) const { |
5929 | | // @@protoc_insertion_point(field_get:yb.master.SetPreferredZonesRequestPB.preferred_zones) |
5930 | 15 | return preferred_zones_.Get(index); |
5931 | 15 | } |
5932 | 0 | inline ::yb::CloudInfoPB* SetPreferredZonesRequestPB::mutable_preferred_zones(int index) { |
5933 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetPreferredZonesRequestPB.preferred_zones) |
5934 | 0 | return preferred_zones_.Mutable(index); |
5935 | 0 | } |
5936 | 10 | inline ::yb::CloudInfoPB* SetPreferredZonesRequestPB::add_preferred_zones() { |
5937 | | // @@protoc_insertion_point(field_add:yb.master.SetPreferredZonesRequestPB.preferred_zones) |
5938 | 10 | return preferred_zones_.Add(); |
5939 | 10 | } |
5940 | | inline ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >* |
5941 | 0 | SetPreferredZonesRequestPB::mutable_preferred_zones() { |
5942 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.master.SetPreferredZonesRequestPB.preferred_zones) |
5943 | 0 | return &preferred_zones_; |
5944 | 0 | } |
5945 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::CloudInfoPB >& |
5946 | 3 | SetPreferredZonesRequestPB::preferred_zones() const { |
5947 | | // @@protoc_insertion_point(field_list:yb.master.SetPreferredZonesRequestPB.preferred_zones) |
5948 | 3 | return preferred_zones_; |
5949 | 3 | } |
5950 | | |
5951 | | // ------------------------------------------------------------------- |
5952 | | |
5953 | | // SetPreferredZonesResponsePB |
5954 | | |
5955 | | // optional .yb.master.MasterErrorPB error = 1; |
5956 | 15 | inline bool SetPreferredZonesResponsePB::has_error() const { |
5957 | 15 | return (_has_bits_[0] & 0x00000001u) != 0; |
5958 | 15 | } |
5959 | 0 | inline void SetPreferredZonesResponsePB::set_has_error() { |
5960 | 0 | _has_bits_[0] |= 0x00000001u; |
5961 | 0 | } |
5962 | 0 | inline void SetPreferredZonesResponsePB::clear_has_error() { |
5963 | 0 | _has_bits_[0] &= ~0x00000001u; |
5964 | 0 | } |
5965 | 0 | inline const ::yb::master::MasterErrorPB& SetPreferredZonesResponsePB::error() const { |
5966 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
5967 | 0 | // @@protoc_insertion_point(field_get:yb.master.SetPreferredZonesResponsePB.error) |
5968 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
5969 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
5970 | 0 | } |
5971 | 0 | inline ::yb::master::MasterErrorPB* SetPreferredZonesResponsePB::release_error() { |
5972 | 0 | // @@protoc_insertion_point(field_release:yb.master.SetPreferredZonesResponsePB.error) |
5973 | 0 | clear_has_error(); |
5974 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
5975 | 0 | error_ = NULL; |
5976 | 0 | return temp; |
5977 | 0 | } |
5978 | 0 | inline ::yb::master::MasterErrorPB* SetPreferredZonesResponsePB::mutable_error() { |
5979 | 0 | set_has_error(); |
5980 | 0 | if (error_ == NULL) { |
5981 | 0 | error_ = new ::yb::master::MasterErrorPB; |
5982 | 0 | } |
5983 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.SetPreferredZonesResponsePB.error) |
5984 | 0 | return error_; |
5985 | 0 | } |
5986 | 0 | inline void SetPreferredZonesResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
5987 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5988 | 0 | if (message_arena == NULL) { |
5989 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
5990 | 0 | } |
5991 | 0 | if (error) { |
5992 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5993 | 0 | if (message_arena != submessage_arena) { |
5994 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
5995 | 0 | message_arena, error, submessage_arena); |
5996 | 0 | } |
5997 | 0 | set_has_error(); |
5998 | 0 | } else { |
5999 | 0 | clear_has_error(); |
6000 | 0 | } |
6001 | 0 | error_ = error; |
6002 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.SetPreferredZonesResponsePB.error) |
6003 | 0 | } |
6004 | | |
6005 | | // ------------------------------------------------------------------- |
6006 | | |
6007 | | // GetMasterClusterConfigRequestPB |
6008 | | |
6009 | | // ------------------------------------------------------------------- |
6010 | | |
6011 | | // GetMasterClusterConfigResponsePB |
6012 | | |
6013 | | // optional .yb.master.MasterErrorPB error = 1; |
6014 | 688 | inline bool GetMasterClusterConfigResponsePB::has_error() const { |
6015 | 688 | return (_has_bits_[0] & 0x00000001u) != 0; |
6016 | 688 | } |
6017 | 0 | inline void GetMasterClusterConfigResponsePB::set_has_error() { |
6018 | 0 | _has_bits_[0] |= 0x00000001u; |
6019 | 0 | } |
6020 | 0 | inline void GetMasterClusterConfigResponsePB::clear_has_error() { |
6021 | 0 | _has_bits_[0] &= ~0x00000001u; |
6022 | 0 | } |
6023 | 0 | inline const ::yb::master::MasterErrorPB& GetMasterClusterConfigResponsePB::error() const { |
6024 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6025 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetMasterClusterConfigResponsePB.error) |
6026 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6027 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6028 | 0 | } |
6029 | 0 | inline ::yb::master::MasterErrorPB* GetMasterClusterConfigResponsePB::release_error() { |
6030 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetMasterClusterConfigResponsePB.error) |
6031 | 0 | clear_has_error(); |
6032 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6033 | 0 | error_ = NULL; |
6034 | 0 | return temp; |
6035 | 0 | } |
6036 | 0 | inline ::yb::master::MasterErrorPB* GetMasterClusterConfigResponsePB::mutable_error() { |
6037 | 0 | set_has_error(); |
6038 | 0 | if (error_ == NULL) { |
6039 | 0 | error_ = new ::yb::master::MasterErrorPB; |
6040 | 0 | } |
6041 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetMasterClusterConfigResponsePB.error) |
6042 | 0 | return error_; |
6043 | 0 | } |
6044 | 0 | inline void GetMasterClusterConfigResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6045 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6046 | 0 | if (message_arena == NULL) { |
6047 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6048 | 0 | } |
6049 | 0 | if (error) { |
6050 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6051 | 0 | if (message_arena != submessage_arena) { |
6052 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6053 | 0 | message_arena, error, submessage_arena); |
6054 | 0 | } |
6055 | 0 | set_has_error(); |
6056 | 0 | } else { |
6057 | 0 | clear_has_error(); |
6058 | 0 | } |
6059 | 0 | error_ = error; |
6060 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetMasterClusterConfigResponsePB.error) |
6061 | 0 | } |
6062 | | |
6063 | | // optional .yb.master.SysClusterConfigEntryPB cluster_config = 2; |
6064 | 654 | inline bool GetMasterClusterConfigResponsePB::has_cluster_config() const { |
6065 | 654 | return (_has_bits_[0] & 0x00000002u) != 0; |
6066 | 654 | } |
6067 | 270 | inline void GetMasterClusterConfigResponsePB::set_has_cluster_config() { |
6068 | 270 | _has_bits_[0] |= 0x00000002u; |
6069 | 270 | } |
6070 | 0 | inline void GetMasterClusterConfigResponsePB::clear_has_cluster_config() { |
6071 | 0 | _has_bits_[0] &= ~0x00000002u; |
6072 | 0 | } |
6073 | 6 | inline const ::yb::master::SysClusterConfigEntryPB& GetMasterClusterConfigResponsePB::cluster_config() const { |
6074 | 6 | const ::yb::master::SysClusterConfigEntryPB* p = cluster_config_; |
6075 | | // @@protoc_insertion_point(field_get:yb.master.GetMasterClusterConfigResponsePB.cluster_config) |
6076 | 6 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysClusterConfigEntryPB*>( |
6077 | 0 | &::yb::master::_SysClusterConfigEntryPB_default_instance_); |
6078 | 6 | } |
6079 | 0 | inline ::yb::master::SysClusterConfigEntryPB* GetMasterClusterConfigResponsePB::release_cluster_config() { |
6080 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetMasterClusterConfigResponsePB.cluster_config) |
6081 | 0 | clear_has_cluster_config(); |
6082 | 0 | ::yb::master::SysClusterConfigEntryPB* temp = cluster_config_; |
6083 | 0 | cluster_config_ = NULL; |
6084 | 0 | return temp; |
6085 | 0 | } |
6086 | 270 | inline ::yb::master::SysClusterConfigEntryPB* GetMasterClusterConfigResponsePB::mutable_cluster_config() { |
6087 | 270 | set_has_cluster_config(); |
6088 | 270 | if (cluster_config_ == NULL) { |
6089 | 241 | cluster_config_ = new ::yb::master::SysClusterConfigEntryPB; |
6090 | 241 | } |
6091 | | // @@protoc_insertion_point(field_mutable:yb.master.GetMasterClusterConfigResponsePB.cluster_config) |
6092 | 270 | return cluster_config_; |
6093 | 270 | } |
6094 | 0 | inline void GetMasterClusterConfigResponsePB::set_allocated_cluster_config(::yb::master::SysClusterConfigEntryPB* cluster_config) { |
6095 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6096 | 0 | if (message_arena == NULL) { |
6097 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_config_); |
6098 | 0 | } |
6099 | 0 | if (cluster_config) { |
6100 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6101 | 0 | if (message_arena != submessage_arena) { |
6102 | 0 | cluster_config = ::google::protobuf::internal::GetOwnedMessage( |
6103 | 0 | message_arena, cluster_config, submessage_arena); |
6104 | 0 | } |
6105 | 0 | set_has_cluster_config(); |
6106 | 0 | } else { |
6107 | 0 | clear_has_cluster_config(); |
6108 | 0 | } |
6109 | 0 | cluster_config_ = cluster_config; |
6110 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetMasterClusterConfigResponsePB.cluster_config) |
6111 | 0 | } |
6112 | | |
6113 | | // ------------------------------------------------------------------- |
6114 | | |
6115 | | // ChangeMasterClusterConfigRequestPB |
6116 | | |
6117 | | // optional .yb.master.SysClusterConfigEntryPB cluster_config = 1; |
6118 | 211 | inline bool ChangeMasterClusterConfigRequestPB::has_cluster_config() const { |
6119 | 211 | return (_has_bits_[0] & 0x00000001u) != 0; |
6120 | 211 | } |
6121 | 150 | inline void ChangeMasterClusterConfigRequestPB::set_has_cluster_config() { |
6122 | 150 | _has_bits_[0] |= 0x00000001u; |
6123 | 150 | } |
6124 | 0 | inline void ChangeMasterClusterConfigRequestPB::clear_has_cluster_config() { |
6125 | 0 | _has_bits_[0] &= ~0x00000001u; |
6126 | 0 | } |
6127 | 111 | inline const ::yb::master::SysClusterConfigEntryPB& ChangeMasterClusterConfigRequestPB::cluster_config() const { |
6128 | 111 | const ::yb::master::SysClusterConfigEntryPB* p = cluster_config_; |
6129 | | // @@protoc_insertion_point(field_get:yb.master.ChangeMasterClusterConfigRequestPB.cluster_config) |
6130 | 111 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::SysClusterConfigEntryPB*>( |
6131 | 0 | &::yb::master::_SysClusterConfigEntryPB_default_instance_); |
6132 | 111 | } |
6133 | 0 | inline ::yb::master::SysClusterConfigEntryPB* ChangeMasterClusterConfigRequestPB::release_cluster_config() { |
6134 | 0 | // @@protoc_insertion_point(field_release:yb.master.ChangeMasterClusterConfigRequestPB.cluster_config) |
6135 | 0 | clear_has_cluster_config(); |
6136 | 0 | ::yb::master::SysClusterConfigEntryPB* temp = cluster_config_; |
6137 | 0 | cluster_config_ = NULL; |
6138 | 0 | return temp; |
6139 | 0 | } |
6140 | 150 | inline ::yb::master::SysClusterConfigEntryPB* ChangeMasterClusterConfigRequestPB::mutable_cluster_config() { |
6141 | 150 | set_has_cluster_config(); |
6142 | 150 | if (cluster_config_ == NULL) { |
6143 | 144 | cluster_config_ = new ::yb::master::SysClusterConfigEntryPB; |
6144 | 144 | } |
6145 | | // @@protoc_insertion_point(field_mutable:yb.master.ChangeMasterClusterConfigRequestPB.cluster_config) |
6146 | 150 | return cluster_config_; |
6147 | 150 | } |
6148 | 0 | inline void ChangeMasterClusterConfigRequestPB::set_allocated_cluster_config(::yb::master::SysClusterConfigEntryPB* cluster_config) { |
6149 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6150 | 0 | if (message_arena == NULL) { |
6151 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_config_); |
6152 | 0 | } |
6153 | 0 | if (cluster_config) { |
6154 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6155 | 0 | if (message_arena != submessage_arena) { |
6156 | 0 | cluster_config = ::google::protobuf::internal::GetOwnedMessage( |
6157 | 0 | message_arena, cluster_config, submessage_arena); |
6158 | 0 | } |
6159 | 0 | set_has_cluster_config(); |
6160 | 0 | } else { |
6161 | 0 | clear_has_cluster_config(); |
6162 | 0 | } |
6163 | 0 | cluster_config_ = cluster_config; |
6164 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ChangeMasterClusterConfigRequestPB.cluster_config) |
6165 | 0 | } |
6166 | | |
6167 | | // ------------------------------------------------------------------- |
6168 | | |
6169 | | // ChangeMasterClusterConfigResponsePB |
6170 | | |
6171 | | // optional .yb.master.MasterErrorPB error = 1; |
6172 | 396 | inline bool ChangeMasterClusterConfigResponsePB::has_error() const { |
6173 | 396 | return (_has_bits_[0] & 0x00000001u) != 0; |
6174 | 396 | } |
6175 | 1 | inline void ChangeMasterClusterConfigResponsePB::set_has_error() { |
6176 | 1 | _has_bits_[0] |= 0x00000001u; |
6177 | 1 | } |
6178 | 0 | inline void ChangeMasterClusterConfigResponsePB::clear_has_error() { |
6179 | 0 | _has_bits_[0] &= ~0x00000001u; |
6180 | 0 | } |
6181 | 0 | inline const ::yb::master::MasterErrorPB& ChangeMasterClusterConfigResponsePB::error() const { |
6182 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6183 | 0 | // @@protoc_insertion_point(field_get:yb.master.ChangeMasterClusterConfigResponsePB.error) |
6184 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6185 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6186 | 0 | } |
6187 | 0 | inline ::yb::master::MasterErrorPB* ChangeMasterClusterConfigResponsePB::release_error() { |
6188 | 0 | // @@protoc_insertion_point(field_release:yb.master.ChangeMasterClusterConfigResponsePB.error) |
6189 | 0 | clear_has_error(); |
6190 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6191 | 0 | error_ = NULL; |
6192 | 0 | return temp; |
6193 | 0 | } |
6194 | 1 | inline ::yb::master::MasterErrorPB* ChangeMasterClusterConfigResponsePB::mutable_error() { |
6195 | 1 | set_has_error(); |
6196 | 1 | if (error_ == NULL) { |
6197 | 1 | error_ = new ::yb::master::MasterErrorPB; |
6198 | 1 | } |
6199 | | // @@protoc_insertion_point(field_mutable:yb.master.ChangeMasterClusterConfigResponsePB.error) |
6200 | 1 | return error_; |
6201 | 1 | } |
6202 | 0 | inline void ChangeMasterClusterConfigResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6203 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6204 | 0 | if (message_arena == NULL) { |
6205 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6206 | 0 | } |
6207 | 0 | if (error) { |
6208 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6209 | 0 | if (message_arena != submessage_arena) { |
6210 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6211 | 0 | message_arena, error, submessage_arena); |
6212 | 0 | } |
6213 | 0 | set_has_error(); |
6214 | 0 | } else { |
6215 | 0 | clear_has_error(); |
6216 | 0 | } |
6217 | 0 | error_ = error; |
6218 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.ChangeMasterClusterConfigResponsePB.error) |
6219 | 0 | } |
6220 | | |
6221 | | // ------------------------------------------------------------------- |
6222 | | |
6223 | | // GetLoadMovePercentRequestPB |
6224 | | |
6225 | | // ------------------------------------------------------------------- |
6226 | | |
6227 | | // GetLoadMovePercentResponsePB |
6228 | | |
6229 | | // optional .yb.master.MasterErrorPB error = 1; |
6230 | 3.61k | inline bool GetLoadMovePercentResponsePB::has_error() const { |
6231 | 3.61k | return (_has_bits_[0] & 0x00000001u) != 0; |
6232 | 3.61k | } |
6233 | 0 | inline void GetLoadMovePercentResponsePB::set_has_error() { |
6234 | 0 | _has_bits_[0] |= 0x00000001u; |
6235 | 0 | } |
6236 | 0 | inline void GetLoadMovePercentResponsePB::clear_has_error() { |
6237 | 0 | _has_bits_[0] &= ~0x00000001u; |
6238 | 0 | } |
6239 | 0 | inline const ::yb::master::MasterErrorPB& GetLoadMovePercentResponsePB::error() const { |
6240 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6241 | 0 | // @@protoc_insertion_point(field_get:yb.master.GetLoadMovePercentResponsePB.error) |
6242 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6243 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6244 | 0 | } |
6245 | 0 | inline ::yb::master::MasterErrorPB* GetLoadMovePercentResponsePB::release_error() { |
6246 | 0 | // @@protoc_insertion_point(field_release:yb.master.GetLoadMovePercentResponsePB.error) |
6247 | 0 | clear_has_error(); |
6248 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6249 | 0 | error_ = NULL; |
6250 | 0 | return temp; |
6251 | 0 | } |
6252 | 0 | inline ::yb::master::MasterErrorPB* GetLoadMovePercentResponsePB::mutable_error() { |
6253 | 0 | set_has_error(); |
6254 | 0 | if (error_ == NULL) { |
6255 | 0 | error_ = new ::yb::master::MasterErrorPB; |
6256 | 0 | } |
6257 | 0 | // @@protoc_insertion_point(field_mutable:yb.master.GetLoadMovePercentResponsePB.error) |
6258 | 0 | return error_; |
6259 | 0 | } |
6260 | 0 | inline void GetLoadMovePercentResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6261 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6262 | 0 | if (message_arena == NULL) { |
6263 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6264 | 0 | } |
6265 | 0 | if (error) { |
6266 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6267 | 0 | if (message_arena != submessage_arena) { |
6268 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6269 | 0 | message_arena, error, submessage_arena); |
6270 | 0 | } |
6271 | 0 | set_has_error(); |
6272 | 0 | } else { |
6273 | 0 | clear_has_error(); |
6274 | 0 | } |
6275 | 0 | error_ = error; |
6276 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.GetLoadMovePercentResponsePB.error) |
6277 | 0 | } |
6278 | | |
6279 | | // optional double percent = 2; |
6280 | 2.40k | inline bool GetLoadMovePercentResponsePB::has_percent() const { |
6281 | 2.40k | return (_has_bits_[0] & 0x00000002u) != 0; |
6282 | 2.40k | } |
6283 | 1.20k | inline void GetLoadMovePercentResponsePB::set_has_percent() { |
6284 | 1.20k | _has_bits_[0] |= 0x00000002u; |
6285 | 1.20k | } |
6286 | 0 | inline void GetLoadMovePercentResponsePB::clear_has_percent() { |
6287 | 0 | _has_bits_[0] &= ~0x00000002u; |
6288 | 0 | } |
6289 | 0 | inline void GetLoadMovePercentResponsePB::clear_percent() { |
6290 | 0 | percent_ = 0; |
6291 | 0 | clear_has_percent(); |
6292 | 0 | } |
6293 | 1.20k | inline double GetLoadMovePercentResponsePB::percent() const { |
6294 | | // @@protoc_insertion_point(field_get:yb.master.GetLoadMovePercentResponsePB.percent) |
6295 | 1.20k | return percent_; |
6296 | 1.20k | } |
6297 | 1.20k | inline void GetLoadMovePercentResponsePB::set_percent(double value) { |
6298 | 1.20k | set_has_percent(); |
6299 | 1.20k | percent_ = value; |
6300 | | // @@protoc_insertion_point(field_set:yb.master.GetLoadMovePercentResponsePB.percent) |
6301 | 1.20k | } |
6302 | | |
6303 | | // optional uint64 remaining = 3; |
6304 | 2.40k | inline bool GetLoadMovePercentResponsePB::has_remaining() const { |
6305 | 2.40k | return (_has_bits_[0] & 0x00000004u) != 0; |
6306 | 2.40k | } |
6307 | 1.17k | inline void GetLoadMovePercentResponsePB::set_has_remaining() { |
6308 | 1.17k | _has_bits_[0] |= 0x00000004u; |
6309 | 1.17k | } |
6310 | 0 | inline void GetLoadMovePercentResponsePB::clear_has_remaining() { |
6311 | 0 | _has_bits_[0] &= ~0x00000004u; |
6312 | 0 | } |
6313 | 0 | inline void GetLoadMovePercentResponsePB::clear_remaining() { |
6314 | 0 | remaining_ = GOOGLE_ULONGLONG(0); |
6315 | 0 | clear_has_remaining(); |
6316 | 0 | } |
6317 | 3.51k | inline ::google::protobuf::uint64 GetLoadMovePercentResponsePB::remaining() const { |
6318 | | // @@protoc_insertion_point(field_get:yb.master.GetLoadMovePercentResponsePB.remaining) |
6319 | 3.51k | return remaining_; |
6320 | 3.51k | } |
6321 | 1.17k | inline void GetLoadMovePercentResponsePB::set_remaining(::google::protobuf::uint64 value) { |
6322 | 1.17k | set_has_remaining(); |
6323 | 1.17k | remaining_ = value; |
6324 | | // @@protoc_insertion_point(field_set:yb.master.GetLoadMovePercentResponsePB.remaining) |
6325 | 1.17k | } |
6326 | | |
6327 | | // optional uint64 total = 4; |
6328 | 2.40k | inline bool GetLoadMovePercentResponsePB::has_total() const { |
6329 | 2.40k | return (_has_bits_[0] & 0x00000008u) != 0; |
6330 | 2.40k | } |
6331 | 1.17k | inline void GetLoadMovePercentResponsePB::set_has_total() { |
6332 | 1.17k | _has_bits_[0] |= 0x00000008u; |
6333 | 1.17k | } |
6334 | 0 | inline void GetLoadMovePercentResponsePB::clear_has_total() { |
6335 | 0 | _has_bits_[0] &= ~0x00000008u; |
6336 | 0 | } |
6337 | 0 | inline void GetLoadMovePercentResponsePB::clear_total() { |
6338 | 0 | total_ = GOOGLE_ULONGLONG(0); |
6339 | 0 | clear_has_total(); |
6340 | 0 | } |
6341 | 3.51k | inline ::google::protobuf::uint64 GetLoadMovePercentResponsePB::total() const { |
6342 | | // @@protoc_insertion_point(field_get:yb.master.GetLoadMovePercentResponsePB.total) |
6343 | 3.51k | return total_; |
6344 | 3.51k | } |
6345 | 1.17k | inline void GetLoadMovePercentResponsePB::set_total(::google::protobuf::uint64 value) { |
6346 | 1.17k | set_has_total(); |
6347 | 1.17k | total_ = value; |
6348 | | // @@protoc_insertion_point(field_set:yb.master.GetLoadMovePercentResponsePB.total) |
6349 | 1.17k | } |
6350 | | |
6351 | | // ------------------------------------------------------------------- |
6352 | | |
6353 | | // GetLeaderBlacklistPercentRequestPB |
6354 | | |
6355 | | // ------------------------------------------------------------------- |
6356 | | |
6357 | | // IsLoadBalancedRequestPB |
6358 | | |
6359 | | // optional int32 expected_num_servers = 1; |
6360 | 559 | inline bool IsLoadBalancedRequestPB::has_expected_num_servers() const { |
6361 | 559 | return (_has_bits_[0] & 0x00000001u) != 0; |
6362 | 559 | } |
6363 | 380 | inline void IsLoadBalancedRequestPB::set_has_expected_num_servers() { |
6364 | 380 | _has_bits_[0] |= 0x00000001u; |
6365 | 380 | } |
6366 | 0 | inline void IsLoadBalancedRequestPB::clear_has_expected_num_servers() { |
6367 | 0 | _has_bits_[0] &= ~0x00000001u; |
6368 | 0 | } |
6369 | 0 | inline void IsLoadBalancedRequestPB::clear_expected_num_servers() { |
6370 | 0 | expected_num_servers_ = 0; |
6371 | 0 | clear_has_expected_num_servers(); |
6372 | 0 | } |
6373 | 745 | inline ::google::protobuf::int32 IsLoadBalancedRequestPB::expected_num_servers() const { |
6374 | | // @@protoc_insertion_point(field_get:yb.master.IsLoadBalancedRequestPB.expected_num_servers) |
6375 | 745 | return expected_num_servers_; |
6376 | 745 | } |
6377 | 178 | inline void IsLoadBalancedRequestPB::set_expected_num_servers(::google::protobuf::int32 value) { |
6378 | 178 | set_has_expected_num_servers(); |
6379 | 178 | expected_num_servers_ = value; |
6380 | | // @@protoc_insertion_point(field_set:yb.master.IsLoadBalancedRequestPB.expected_num_servers) |
6381 | 178 | } |
6382 | | |
6383 | | // ------------------------------------------------------------------- |
6384 | | |
6385 | | // IsLoadBalancedResponsePB |
6386 | | |
6387 | | // optional .yb.master.MasterErrorPB error = 1; |
6388 | 1.14k | inline bool IsLoadBalancedResponsePB::has_error() const { |
6389 | 1.14k | return (_has_bits_[0] & 0x00000001u) != 0; |
6390 | 1.14k | } |
6391 | 359 | inline void IsLoadBalancedResponsePB::set_has_error() { |
6392 | 359 | _has_bits_[0] |= 0x00000001u; |
6393 | 359 | } |
6394 | 0 | inline void IsLoadBalancedResponsePB::clear_has_error() { |
6395 | 0 | _has_bits_[0] &= ~0x00000001u; |
6396 | 0 | } |
6397 | 704 | inline const ::yb::master::MasterErrorPB& IsLoadBalancedResponsePB::error() const { |
6398 | 704 | const ::yb::master::MasterErrorPB* p = error_; |
6399 | | // @@protoc_insertion_point(field_get:yb.master.IsLoadBalancedResponsePB.error) |
6400 | 704 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6401 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6402 | 704 | } |
6403 | 0 | inline ::yb::master::MasterErrorPB* IsLoadBalancedResponsePB::release_error() { |
6404 | 0 | // @@protoc_insertion_point(field_release:yb.master.IsLoadBalancedResponsePB.error) |
6405 | 0 | clear_has_error(); |
6406 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6407 | 0 | error_ = NULL; |
6408 | 0 | return temp; |
6409 | 0 | } |
6410 | 359 | inline ::yb::master::MasterErrorPB* IsLoadBalancedResponsePB::mutable_error() { |
6411 | 359 | set_has_error(); |
6412 | 359 | if (error_ == NULL) { |
6413 | 359 | error_ = new ::yb::master::MasterErrorPB; |
6414 | 359 | } |
6415 | | // @@protoc_insertion_point(field_mutable:yb.master.IsLoadBalancedResponsePB.error) |
6416 | 359 | return error_; |
6417 | 359 | } |
6418 | 0 | inline void IsLoadBalancedResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6419 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6420 | 0 | if (message_arena == NULL) { |
6421 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6422 | 0 | } |
6423 | 0 | if (error) { |
6424 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6425 | 0 | if (message_arena != submessage_arena) { |
6426 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6427 | 0 | message_arena, error, submessage_arena); |
6428 | 0 | } |
6429 | 0 | set_has_error(); |
6430 | 0 | } else { |
6431 | 0 | clear_has_error(); |
6432 | 0 | } |
6433 | 0 | error_ = error; |
6434 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.IsLoadBalancedResponsePB.error) |
6435 | 0 | } |
6436 | | |
6437 | | // ------------------------------------------------------------------- |
6438 | | |
6439 | | // IsLoadBalancerIdleRequestPB |
6440 | | |
6441 | | // ------------------------------------------------------------------- |
6442 | | |
6443 | | // IsLoadBalancerIdleResponsePB |
6444 | | |
6445 | | // optional .yb.master.MasterErrorPB error = 1; |
6446 | 13.0k | inline bool IsLoadBalancerIdleResponsePB::has_error() const { |
6447 | 13.0k | return (_has_bits_[0] & 0x00000001u) != 0; |
6448 | 13.0k | } |
6449 | 3.45k | inline void IsLoadBalancerIdleResponsePB::set_has_error() { |
6450 | 3.45k | _has_bits_[0] |= 0x00000001u; |
6451 | 3.45k | } |
6452 | 0 | inline void IsLoadBalancerIdleResponsePB::clear_has_error() { |
6453 | 0 | _has_bits_[0] &= ~0x00000001u; |
6454 | 0 | } |
6455 | 5.19k | inline const ::yb::master::MasterErrorPB& IsLoadBalancerIdleResponsePB::error() const { |
6456 | 5.19k | const ::yb::master::MasterErrorPB* p = error_; |
6457 | | // @@protoc_insertion_point(field_get:yb.master.IsLoadBalancerIdleResponsePB.error) |
6458 | 5.19k | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6459 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6460 | 5.19k | } |
6461 | 0 | inline ::yb::master::MasterErrorPB* IsLoadBalancerIdleResponsePB::release_error() { |
6462 | 0 | // @@protoc_insertion_point(field_release:yb.master.IsLoadBalancerIdleResponsePB.error) |
6463 | 0 | clear_has_error(); |
6464 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6465 | 0 | error_ = NULL; |
6466 | 0 | return temp; |
6467 | 0 | } |
6468 | 3.45k | inline ::yb::master::MasterErrorPB* IsLoadBalancerIdleResponsePB::mutable_error() { |
6469 | 3.45k | set_has_error(); |
6470 | 3.45k | if (error_ == NULL) { |
6471 | 3.45k | error_ = new ::yb::master::MasterErrorPB; |
6472 | 3.45k | } |
6473 | | // @@protoc_insertion_point(field_mutable:yb.master.IsLoadBalancerIdleResponsePB.error) |
6474 | 3.45k | return error_; |
6475 | 3.45k | } |
6476 | 0 | inline void IsLoadBalancerIdleResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6477 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6478 | 0 | if (message_arena == NULL) { |
6479 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6480 | 0 | } |
6481 | 0 | if (error) { |
6482 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6483 | 0 | if (message_arena != submessage_arena) { |
6484 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6485 | 0 | message_arena, error, submessage_arena); |
6486 | 0 | } |
6487 | 0 | set_has_error(); |
6488 | 0 | } else { |
6489 | 0 | clear_has_error(); |
6490 | 0 | } |
6491 | 0 | error_ = error; |
6492 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.IsLoadBalancerIdleResponsePB.error) |
6493 | 0 | } |
6494 | | |
6495 | | // ------------------------------------------------------------------- |
6496 | | |
6497 | | // AreLeadersOnPreferredOnlyRequestPB |
6498 | | |
6499 | | // ------------------------------------------------------------------- |
6500 | | |
6501 | | // AreLeadersOnPreferredOnlyResponsePB |
6502 | | |
6503 | | // optional .yb.master.MasterErrorPB error = 1; |
6504 | 827 | inline bool AreLeadersOnPreferredOnlyResponsePB::has_error() const { |
6505 | 827 | return (_has_bits_[0] & 0x00000001u) != 0; |
6506 | 827 | } |
6507 | 251 | inline void AreLeadersOnPreferredOnlyResponsePB::set_has_error() { |
6508 | 251 | _has_bits_[0] |= 0x00000001u; |
6509 | 251 | } |
6510 | 0 | inline void AreLeadersOnPreferredOnlyResponsePB::clear_has_error() { |
6511 | 0 | _has_bits_[0] &= ~0x00000001u; |
6512 | 0 | } |
6513 | 0 | inline const ::yb::master::MasterErrorPB& AreLeadersOnPreferredOnlyResponsePB::error() const { |
6514 | 0 | const ::yb::master::MasterErrorPB* p = error_; |
6515 | 0 | // @@protoc_insertion_point(field_get:yb.master.AreLeadersOnPreferredOnlyResponsePB.error) |
6516 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::master::MasterErrorPB*>( |
6517 | 0 | &::yb::master::_MasterErrorPB_default_instance_); |
6518 | 0 | } |
6519 | 0 | inline ::yb::master::MasterErrorPB* AreLeadersOnPreferredOnlyResponsePB::release_error() { |
6520 | 0 | // @@protoc_insertion_point(field_release:yb.master.AreLeadersOnPreferredOnlyResponsePB.error) |
6521 | 0 | clear_has_error(); |
6522 | 0 | ::yb::master::MasterErrorPB* temp = error_; |
6523 | 0 | error_ = NULL; |
6524 | 0 | return temp; |
6525 | 0 | } |
6526 | 251 | inline ::yb::master::MasterErrorPB* AreLeadersOnPreferredOnlyResponsePB::mutable_error() { |
6527 | 251 | set_has_error(); |
6528 | 251 | if (error_ == NULL) { |
6529 | 251 | error_ = new ::yb::master::MasterErrorPB; |
6530 | 251 | } |
6531 | | // @@protoc_insertion_point(field_mutable:yb.master.AreLeadersOnPreferredOnlyResponsePB.error) |
6532 | 251 | return error_; |
6533 | 251 | } |
6534 | 0 | inline void AreLeadersOnPreferredOnlyResponsePB::set_allocated_error(::yb::master::MasterErrorPB* error) { |
6535 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6536 | 0 | if (message_arena == NULL) { |
6537 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(error_); |
6538 | 0 | } |
6539 | 0 | if (error) { |
6540 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6541 | 0 | if (message_arena != submessage_arena) { |
6542 | 0 | error = ::google::protobuf::internal::GetOwnedMessage( |
6543 | 0 | message_arena, error, submessage_arena); |
6544 | 0 | } |
6545 | 0 | set_has_error(); |
6546 | 0 | } else { |
6547 | 0 | clear_has_error(); |
6548 | 0 | } |
6549 | 0 | error_ = error; |
6550 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.master.AreLeadersOnPreferredOnlyResponsePB.error) |
6551 | 0 | } |
6552 | | |
6553 | | #ifdef __GNUC__ |
6554 | | #pragma GCC diagnostic pop |
6555 | | #endif // __GNUC__ |
6556 | | // ------------------------------------------------------------------- |
6557 | | |
6558 | | // ------------------------------------------------------------------- |
6559 | | |
6560 | | // ------------------------------------------------------------------- |
6561 | | |
6562 | | // ------------------------------------------------------------------- |
6563 | | |
6564 | | // ------------------------------------------------------------------- |
6565 | | |
6566 | | // ------------------------------------------------------------------- |
6567 | | |
6568 | | // ------------------------------------------------------------------- |
6569 | | |
6570 | | // ------------------------------------------------------------------- |
6571 | | |
6572 | | // ------------------------------------------------------------------- |
6573 | | |
6574 | | // ------------------------------------------------------------------- |
6575 | | |
6576 | | // ------------------------------------------------------------------- |
6577 | | |
6578 | | // ------------------------------------------------------------------- |
6579 | | |
6580 | | // ------------------------------------------------------------------- |
6581 | | |
6582 | | // ------------------------------------------------------------------- |
6583 | | |
6584 | | // ------------------------------------------------------------------- |
6585 | | |
6586 | | // ------------------------------------------------------------------- |
6587 | | |
6588 | | // ------------------------------------------------------------------- |
6589 | | |
6590 | | // ------------------------------------------------------------------- |
6591 | | |
6592 | | // ------------------------------------------------------------------- |
6593 | | |
6594 | | // ------------------------------------------------------------------- |
6595 | | |
6596 | | // ------------------------------------------------------------------- |
6597 | | |
6598 | | // ------------------------------------------------------------------- |
6599 | | |
6600 | | // ------------------------------------------------------------------- |
6601 | | |
6602 | | // ------------------------------------------------------------------- |
6603 | | |
6604 | | // ------------------------------------------------------------------- |
6605 | | |
6606 | | // ------------------------------------------------------------------- |
6607 | | |
6608 | | // ------------------------------------------------------------------- |
6609 | | |
6610 | | // ------------------------------------------------------------------- |
6611 | | |
6612 | | // ------------------------------------------------------------------- |
6613 | | |
6614 | | // ------------------------------------------------------------------- |
6615 | | |
6616 | | // ------------------------------------------------------------------- |
6617 | | |
6618 | | // ------------------------------------------------------------------- |
6619 | | |
6620 | | // ------------------------------------------------------------------- |
6621 | | |
6622 | | // ------------------------------------------------------------------- |
6623 | | |
6624 | | // ------------------------------------------------------------------- |
6625 | | |
6626 | | // ------------------------------------------------------------------- |
6627 | | |
6628 | | |
6629 | | // @@protoc_insertion_point(namespace_scope) |
6630 | | |
6631 | | } // namespace master |
6632 | | } // namespace yb |
6633 | | |
6634 | | // @@protoc_insertion_point(global_scope) |
6635 | | |
6636 | | #endif // PROTOBUF_yb_2fmaster_2fmaster_5fcluster_2eproto__INCLUDED |