/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/server/server_base.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/server/server_base.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fserver_2fserver_5fbase_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fserver_2fserver_5fbase_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/generated_enum_reflection.h> |
32 | | #include <google/protobuf/unknown_field_set.h> |
33 | | #include "yb/common/common_net.pb.h" |
34 | | #include "yb/common/wire_protocol.pb.h" |
35 | | #include "yb/util/version_info.pb.h" |
36 | | // @@protoc_insertion_point(includes) |
37 | | |
38 | | namespace protobuf_yb_2fserver_2fserver_5fbase_2eproto { |
39 | | // Internal implementation detail -- do not use these members. |
40 | | struct TableStruct { |
41 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
42 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
43 | | static const ::google::protobuf::internal::ParseTable schema[15]; |
44 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
45 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
46 | | static const ::google::protobuf::uint32 offsets[]; |
47 | | }; |
48 | | void AddDescriptors(); |
49 | | void InitDefaultsServerStatusPBImpl(); |
50 | | void InitDefaultsServerStatusPB(); |
51 | | void InitDefaultsSetFlagRequestPBImpl(); |
52 | | void InitDefaultsSetFlagRequestPB(); |
53 | | void InitDefaultsSetFlagResponsePBImpl(); |
54 | | void InitDefaultsSetFlagResponsePB(); |
55 | | void InitDefaultsRefreshFlagsRequestPBImpl(); |
56 | | void InitDefaultsRefreshFlagsRequestPB(); |
57 | | void InitDefaultsRefreshFlagsResponsePBImpl(); |
58 | | void InitDefaultsRefreshFlagsResponsePB(); |
59 | | void InitDefaultsGetFlagRequestPBImpl(); |
60 | | void InitDefaultsGetFlagRequestPB(); |
61 | | void InitDefaultsGetFlagResponsePBImpl(); |
62 | | void InitDefaultsGetFlagResponsePB(); |
63 | | void InitDefaultsFlushCoverageRequestPBImpl(); |
64 | | void InitDefaultsFlushCoverageRequestPB(); |
65 | | void InitDefaultsFlushCoverageResponsePBImpl(); |
66 | | void InitDefaultsFlushCoverageResponsePB(); |
67 | | void InitDefaultsServerClockRequestPBImpl(); |
68 | | void InitDefaultsServerClockRequestPB(); |
69 | | void InitDefaultsServerClockResponsePBImpl(); |
70 | | void InitDefaultsServerClockResponsePB(); |
71 | | void InitDefaultsGetStatusRequestPBImpl(); |
72 | | void InitDefaultsGetStatusRequestPB(); |
73 | | void InitDefaultsGetStatusResponsePBImpl(); |
74 | | void InitDefaultsGetStatusResponsePB(); |
75 | | void InitDefaultsPingRequestPBImpl(); |
76 | | void InitDefaultsPingRequestPB(); |
77 | | void InitDefaultsPingResponsePBImpl(); |
78 | | void InitDefaultsPingResponsePB(); |
79 | 15.8k | inline void InitDefaults() { |
80 | 15.8k | InitDefaultsServerStatusPB(); |
81 | 15.8k | InitDefaultsSetFlagRequestPB(); |
82 | 15.8k | InitDefaultsSetFlagResponsePB(); |
83 | 15.8k | InitDefaultsRefreshFlagsRequestPB(); |
84 | 15.8k | InitDefaultsRefreshFlagsResponsePB(); |
85 | 15.8k | InitDefaultsGetFlagRequestPB(); |
86 | 15.8k | InitDefaultsGetFlagResponsePB(); |
87 | 15.8k | InitDefaultsFlushCoverageRequestPB(); |
88 | 15.8k | InitDefaultsFlushCoverageResponsePB(); |
89 | 15.8k | InitDefaultsServerClockRequestPB(); |
90 | 15.8k | InitDefaultsServerClockResponsePB(); |
91 | 15.8k | InitDefaultsGetStatusRequestPB(); |
92 | 15.8k | InitDefaultsGetStatusResponsePB(); |
93 | 15.8k | InitDefaultsPingRequestPB(); |
94 | 15.8k | InitDefaultsPingResponsePB(); |
95 | 15.8k | } |
96 | | } // namespace protobuf_yb_2fserver_2fserver_5fbase_2eproto |
97 | | namespace yb { |
98 | | namespace server { |
99 | | class FlushCoverageRequestPB; |
100 | | class FlushCoverageRequestPBDefaultTypeInternal; |
101 | | extern FlushCoverageRequestPBDefaultTypeInternal _FlushCoverageRequestPB_default_instance_; |
102 | | class FlushCoverageResponsePB; |
103 | | class FlushCoverageResponsePBDefaultTypeInternal; |
104 | | extern FlushCoverageResponsePBDefaultTypeInternal _FlushCoverageResponsePB_default_instance_; |
105 | | class GetFlagRequestPB; |
106 | | class GetFlagRequestPBDefaultTypeInternal; |
107 | | extern GetFlagRequestPBDefaultTypeInternal _GetFlagRequestPB_default_instance_; |
108 | | class GetFlagResponsePB; |
109 | | class GetFlagResponsePBDefaultTypeInternal; |
110 | | extern GetFlagResponsePBDefaultTypeInternal _GetFlagResponsePB_default_instance_; |
111 | | class GetStatusRequestPB; |
112 | | class GetStatusRequestPBDefaultTypeInternal; |
113 | | extern GetStatusRequestPBDefaultTypeInternal _GetStatusRequestPB_default_instance_; |
114 | | class GetStatusResponsePB; |
115 | | class GetStatusResponsePBDefaultTypeInternal; |
116 | | extern GetStatusResponsePBDefaultTypeInternal _GetStatusResponsePB_default_instance_; |
117 | | class PingRequestPB; |
118 | | class PingRequestPBDefaultTypeInternal; |
119 | | extern PingRequestPBDefaultTypeInternal _PingRequestPB_default_instance_; |
120 | | class PingResponsePB; |
121 | | class PingResponsePBDefaultTypeInternal; |
122 | | extern PingResponsePBDefaultTypeInternal _PingResponsePB_default_instance_; |
123 | | class RefreshFlagsRequestPB; |
124 | | class RefreshFlagsRequestPBDefaultTypeInternal; |
125 | | extern RefreshFlagsRequestPBDefaultTypeInternal _RefreshFlagsRequestPB_default_instance_; |
126 | | class RefreshFlagsResponsePB; |
127 | | class RefreshFlagsResponsePBDefaultTypeInternal; |
128 | | extern RefreshFlagsResponsePBDefaultTypeInternal _RefreshFlagsResponsePB_default_instance_; |
129 | | class ServerClockRequestPB; |
130 | | class ServerClockRequestPBDefaultTypeInternal; |
131 | | extern ServerClockRequestPBDefaultTypeInternal _ServerClockRequestPB_default_instance_; |
132 | | class ServerClockResponsePB; |
133 | | class ServerClockResponsePBDefaultTypeInternal; |
134 | | extern ServerClockResponsePBDefaultTypeInternal _ServerClockResponsePB_default_instance_; |
135 | | class ServerStatusPB; |
136 | | class ServerStatusPBDefaultTypeInternal; |
137 | | extern ServerStatusPBDefaultTypeInternal _ServerStatusPB_default_instance_; |
138 | | class SetFlagRequestPB; |
139 | | class SetFlagRequestPBDefaultTypeInternal; |
140 | | extern SetFlagRequestPBDefaultTypeInternal _SetFlagRequestPB_default_instance_; |
141 | | class SetFlagResponsePB; |
142 | | class SetFlagResponsePBDefaultTypeInternal; |
143 | | extern SetFlagResponsePBDefaultTypeInternal _SetFlagResponsePB_default_instance_; |
144 | | } // namespace server |
145 | | } // namespace yb |
146 | | namespace yb { |
147 | | namespace server { |
148 | | |
149 | | enum SetFlagResponsePB_Code { |
150 | | SetFlagResponsePB_Code_UNKNOWN = 0, |
151 | | SetFlagResponsePB_Code_SUCCESS = 1, |
152 | | SetFlagResponsePB_Code_NO_SUCH_FLAG = 2, |
153 | | SetFlagResponsePB_Code_BAD_VALUE = 3, |
154 | | SetFlagResponsePB_Code_NOT_SAFE = 4 |
155 | | }; |
156 | | bool SetFlagResponsePB_Code_IsValid(int value); |
157 | | const SetFlagResponsePB_Code SetFlagResponsePB_Code_Code_MIN = SetFlagResponsePB_Code_UNKNOWN; |
158 | | const SetFlagResponsePB_Code SetFlagResponsePB_Code_Code_MAX = SetFlagResponsePB_Code_NOT_SAFE; |
159 | | const int SetFlagResponsePB_Code_Code_ARRAYSIZE = SetFlagResponsePB_Code_Code_MAX + 1; |
160 | | |
161 | | const ::google::protobuf::EnumDescriptor* SetFlagResponsePB_Code_descriptor(); |
162 | 0 | inline const ::std::string& SetFlagResponsePB_Code_Name(SetFlagResponsePB_Code value) { |
163 | 0 | return ::google::protobuf::internal::NameOfEnum( |
164 | 0 | SetFlagResponsePB_Code_descriptor(), value); |
165 | 0 | } |
166 | | inline bool SetFlagResponsePB_Code_Parse( |
167 | 0 | const ::std::string& name, SetFlagResponsePB_Code* value) { |
168 | 0 | return ::google::protobuf::internal::ParseNamedEnum<SetFlagResponsePB_Code>( |
169 | 0 | SetFlagResponsePB_Code_descriptor(), name, value); |
170 | 0 | } |
171 | | // =================================================================== |
172 | | |
173 | | class ServerStatusPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.ServerStatusPB) */ { |
174 | | public: |
175 | | ServerStatusPB(); |
176 | | virtual ~ServerStatusPB(); |
177 | | |
178 | | ServerStatusPB(const ServerStatusPB& from); |
179 | | |
180 | 0 | inline ServerStatusPB& operator=(const ServerStatusPB& from) { |
181 | 0 | CopyFrom(from); |
182 | 0 | return *this; |
183 | 0 | } |
184 | | #if LANG_CXX11 |
185 | | ServerStatusPB(ServerStatusPB&& from) noexcept |
186 | 0 | : ServerStatusPB() { |
187 | 0 | *this = ::std::move(from); |
188 | 0 | } |
189 | | |
190 | 0 | inline ServerStatusPB& operator=(ServerStatusPB&& from) noexcept { |
191 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
192 | 0 | if (this != &from) InternalSwap(&from); |
193 | 0 | } else { |
194 | 0 | CopyFrom(from); |
195 | 0 | } |
196 | 0 | return *this; |
197 | 0 | } |
198 | | #endif |
199 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
200 | 0 | return _internal_metadata_.unknown_fields(); |
201 | 0 | } |
202 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
203 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
204 | 0 | } |
205 | | |
206 | | static const ::google::protobuf::Descriptor* descriptor(); |
207 | | static const ServerStatusPB& default_instance(); |
208 | | |
209 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
210 | 43.7k | static inline const ServerStatusPB* internal_default_instance() { |
211 | 43.7k | return reinterpret_cast<const ServerStatusPB*>( |
212 | 43.7k | &_ServerStatusPB_default_instance_); |
213 | 43.7k | } |
214 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
215 | | 0; |
216 | | |
217 | | void Swap(ServerStatusPB* other); |
218 | 0 | friend void swap(ServerStatusPB& a, ServerStatusPB& b) { |
219 | 0 | a.Swap(&b); |
220 | 0 | } |
221 | | |
222 | | // implements Message ---------------------------------------------- |
223 | | |
224 | 0 | inline ServerStatusPB* New() const PROTOBUF_FINAL { return New(NULL); } |
225 | | |
226 | | ServerStatusPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
227 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
228 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
229 | | void CopyFrom(const ServerStatusPB& from); |
230 | | void MergeFrom(const ServerStatusPB& from); |
231 | | void Clear() PROTOBUF_FINAL; |
232 | | bool IsInitialized() const PROTOBUF_FINAL; |
233 | | |
234 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
235 | | bool MergePartialFromCodedStream( |
236 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
237 | | void SerializeWithCachedSizes( |
238 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
239 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
240 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
241 | 1 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
242 | | private: |
243 | | void SharedCtor(); |
244 | | void SharedDtor(); |
245 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
246 | | void InternalSwap(ServerStatusPB* other); |
247 | | private: |
248 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
249 | 0 | return NULL; |
250 | 0 | } |
251 | 0 | inline void* MaybeArenaPtr() const { |
252 | 0 | return NULL; |
253 | 0 | } |
254 | | public: |
255 | | |
256 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
257 | | |
258 | | // nested types ---------------------------------------------------- |
259 | | |
260 | | // accessors ------------------------------------------------------- |
261 | | |
262 | | // repeated .yb.HostPortPB bound_rpc_addresses = 2; |
263 | | int bound_rpc_addresses_size() const; |
264 | | void clear_bound_rpc_addresses(); |
265 | | static const int kBoundRpcAddressesFieldNumber = 2; |
266 | | const ::yb::HostPortPB& bound_rpc_addresses(int index) const; |
267 | | ::yb::HostPortPB* mutable_bound_rpc_addresses(int index); |
268 | | ::yb::HostPortPB* add_bound_rpc_addresses(); |
269 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
270 | | mutable_bound_rpc_addresses(); |
271 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
272 | | bound_rpc_addresses() const; |
273 | | |
274 | | // repeated .yb.HostPortPB bound_http_addresses = 3; |
275 | | int bound_http_addresses_size() const; |
276 | | void clear_bound_http_addresses(); |
277 | | static const int kBoundHttpAddressesFieldNumber = 3; |
278 | | const ::yb::HostPortPB& bound_http_addresses(int index) const; |
279 | | ::yb::HostPortPB* mutable_bound_http_addresses(int index); |
280 | | ::yb::HostPortPB* add_bound_http_addresses(); |
281 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
282 | | mutable_bound_http_addresses(); |
283 | | const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
284 | | bound_http_addresses() const; |
285 | | |
286 | | // required .yb.NodeInstancePB node_instance = 1; |
287 | | bool has_node_instance() const; |
288 | | void clear_node_instance(); |
289 | | static const int kNodeInstanceFieldNumber = 1; |
290 | | const ::yb::NodeInstancePB& node_instance() const; |
291 | | ::yb::NodeInstancePB* release_node_instance(); |
292 | | ::yb::NodeInstancePB* mutable_node_instance(); |
293 | | void set_allocated_node_instance(::yb::NodeInstancePB* node_instance); |
294 | | |
295 | | // optional .yb.VersionInfoPB version_info = 4; |
296 | | bool has_version_info() const; |
297 | | void clear_version_info(); |
298 | | static const int kVersionInfoFieldNumber = 4; |
299 | | const ::yb::VersionInfoPB& version_info() const; |
300 | | ::yb::VersionInfoPB* release_version_info(); |
301 | | ::yb::VersionInfoPB* mutable_version_info(); |
302 | | void set_allocated_version_info(::yb::VersionInfoPB* version_info); |
303 | | |
304 | | // @@protoc_insertion_point(class_scope:yb.server.ServerStatusPB) |
305 | | private: |
306 | | void set_has_node_instance(); |
307 | | void clear_has_node_instance(); |
308 | | void set_has_version_info(); |
309 | | void clear_has_version_info(); |
310 | | |
311 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
312 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
313 | | mutable int _cached_size_; |
314 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > bound_rpc_addresses_; |
315 | | ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB > bound_http_addresses_; |
316 | | ::yb::NodeInstancePB* node_instance_; |
317 | | ::yb::VersionInfoPB* version_info_; |
318 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
319 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsServerStatusPBImpl(); |
320 | | }; |
321 | | // ------------------------------------------------------------------- |
322 | | |
323 | | class SetFlagRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.SetFlagRequestPB) */ { |
324 | | public: |
325 | | SetFlagRequestPB(); |
326 | | virtual ~SetFlagRequestPB(); |
327 | | |
328 | | SetFlagRequestPB(const SetFlagRequestPB& from); |
329 | | |
330 | 0 | inline SetFlagRequestPB& operator=(const SetFlagRequestPB& from) { |
331 | 0 | CopyFrom(from); |
332 | 0 | return *this; |
333 | 0 | } |
334 | | #if LANG_CXX11 |
335 | | SetFlagRequestPB(SetFlagRequestPB&& from) noexcept |
336 | 0 | : SetFlagRequestPB() { |
337 | 0 | *this = ::std::move(from); |
338 | 0 | } |
339 | | |
340 | 0 | inline SetFlagRequestPB& operator=(SetFlagRequestPB&& from) noexcept { |
341 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
342 | 0 | if (this != &from) InternalSwap(&from); |
343 | 0 | } else { |
344 | 0 | CopyFrom(from); |
345 | 0 | } |
346 | 0 | return *this; |
347 | 0 | } |
348 | | #endif |
349 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
350 | 0 | return _internal_metadata_.unknown_fields(); |
351 | 0 | } |
352 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
353 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
354 | 0 | } |
355 | | |
356 | | static const ::google::protobuf::Descriptor* descriptor(); |
357 | | static const SetFlagRequestPB& default_instance(); |
358 | | |
359 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
360 | 16.1k | static inline const SetFlagRequestPB* internal_default_instance() { |
361 | 16.1k | return reinterpret_cast<const SetFlagRequestPB*>( |
362 | 16.1k | &_SetFlagRequestPB_default_instance_); |
363 | 16.1k | } |
364 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
365 | | 1; |
366 | | |
367 | | void Swap(SetFlagRequestPB* other); |
368 | 0 | friend void swap(SetFlagRequestPB& a, SetFlagRequestPB& b) { |
369 | 0 | a.Swap(&b); |
370 | 0 | } |
371 | | |
372 | | // implements Message ---------------------------------------------- |
373 | | |
374 | 0 | inline SetFlagRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
375 | | |
376 | | SetFlagRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
377 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
378 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
379 | | void CopyFrom(const SetFlagRequestPB& from); |
380 | | void MergeFrom(const SetFlagRequestPB& from); |
381 | | void Clear() PROTOBUF_FINAL; |
382 | | bool IsInitialized() const PROTOBUF_FINAL; |
383 | | |
384 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
385 | | bool MergePartialFromCodedStream( |
386 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
387 | | void SerializeWithCachedSizes( |
388 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
389 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
390 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
391 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
392 | | private: |
393 | | void SharedCtor(); |
394 | | void SharedDtor(); |
395 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
396 | | void InternalSwap(SetFlagRequestPB* other); |
397 | | private: |
398 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
399 | 0 | return NULL; |
400 | 0 | } |
401 | 0 | inline void* MaybeArenaPtr() const { |
402 | 0 | return NULL; |
403 | 0 | } |
404 | | public: |
405 | | |
406 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
407 | | |
408 | | // nested types ---------------------------------------------------- |
409 | | |
410 | | // accessors ------------------------------------------------------- |
411 | | |
412 | | // required string flag = 1; |
413 | | bool has_flag() const; |
414 | | void clear_flag(); |
415 | | static const int kFlagFieldNumber = 1; |
416 | | const ::std::string& flag() const; |
417 | | void set_flag(const ::std::string& value); |
418 | | #if LANG_CXX11 |
419 | | void set_flag(::std::string&& value); |
420 | | #endif |
421 | | void set_flag(const char* value); |
422 | | void set_flag(const char* value, size_t size); |
423 | | ::std::string* mutable_flag(); |
424 | | ::std::string* release_flag(); |
425 | | void set_allocated_flag(::std::string* flag); |
426 | | |
427 | | // required string value = 2; |
428 | | bool has_value() const; |
429 | | void clear_value(); |
430 | | static const int kValueFieldNumber = 2; |
431 | | const ::std::string& value() const; |
432 | | void set_value(const ::std::string& value); |
433 | | #if LANG_CXX11 |
434 | | void set_value(::std::string&& value); |
435 | | #endif |
436 | | void set_value(const char* value); |
437 | | void set_value(const char* value, size_t size); |
438 | | ::std::string* mutable_value(); |
439 | | ::std::string* release_value(); |
440 | | void set_allocated_value(::std::string* value); |
441 | | |
442 | | // optional bool force = 3 [default = false]; |
443 | | bool has_force() const; |
444 | | void clear_force(); |
445 | | static const int kForceFieldNumber = 3; |
446 | | bool force() const; |
447 | | void set_force(bool value); |
448 | | |
449 | | // @@protoc_insertion_point(class_scope:yb.server.SetFlagRequestPB) |
450 | | private: |
451 | | void set_has_flag(); |
452 | | void clear_has_flag(); |
453 | | void set_has_value(); |
454 | | void clear_has_value(); |
455 | | void set_has_force(); |
456 | | void clear_has_force(); |
457 | | |
458 | | // helper for ByteSizeLong() |
459 | | size_t RequiredFieldsByteSizeFallback() const; |
460 | | |
461 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
462 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
463 | | mutable int _cached_size_; |
464 | | ::google::protobuf::internal::ArenaStringPtr flag_; |
465 | | ::google::protobuf::internal::ArenaStringPtr value_; |
466 | | bool force_; |
467 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
468 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsSetFlagRequestPBImpl(); |
469 | | }; |
470 | | // ------------------------------------------------------------------- |
471 | | |
472 | | class SetFlagResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.SetFlagResponsePB) */ { |
473 | | public: |
474 | | SetFlagResponsePB(); |
475 | | virtual ~SetFlagResponsePB(); |
476 | | |
477 | | SetFlagResponsePB(const SetFlagResponsePB& from); |
478 | | |
479 | 0 | inline SetFlagResponsePB& operator=(const SetFlagResponsePB& from) { |
480 | 0 | CopyFrom(from); |
481 | 0 | return *this; |
482 | 0 | } |
483 | | #if LANG_CXX11 |
484 | | SetFlagResponsePB(SetFlagResponsePB&& from) noexcept |
485 | 0 | : SetFlagResponsePB() { |
486 | 0 | *this = ::std::move(from); |
487 | 0 | } |
488 | | |
489 | 0 | inline SetFlagResponsePB& operator=(SetFlagResponsePB&& from) noexcept { |
490 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
491 | 0 | if (this != &from) InternalSwap(&from); |
492 | 0 | } else { |
493 | 0 | CopyFrom(from); |
494 | 0 | } |
495 | 0 | return *this; |
496 | 0 | } |
497 | | #endif |
498 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
499 | 0 | return _internal_metadata_.unknown_fields(); |
500 | 0 | } |
501 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
502 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
503 | 0 | } |
504 | | |
505 | | static const ::google::protobuf::Descriptor* descriptor(); |
506 | | static const SetFlagResponsePB& default_instance(); |
507 | | |
508 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
509 | 16.1k | static inline const SetFlagResponsePB* internal_default_instance() { |
510 | 16.1k | return reinterpret_cast<const SetFlagResponsePB*>( |
511 | 16.1k | &_SetFlagResponsePB_default_instance_); |
512 | 16.1k | } |
513 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
514 | | 2; |
515 | | |
516 | | void Swap(SetFlagResponsePB* other); |
517 | 0 | friend void swap(SetFlagResponsePB& a, SetFlagResponsePB& b) { |
518 | 0 | a.Swap(&b); |
519 | 0 | } |
520 | | |
521 | | // implements Message ---------------------------------------------- |
522 | | |
523 | 0 | inline SetFlagResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
524 | | |
525 | | SetFlagResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
526 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
527 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
528 | | void CopyFrom(const SetFlagResponsePB& from); |
529 | | void MergeFrom(const SetFlagResponsePB& from); |
530 | | void Clear() PROTOBUF_FINAL; |
531 | | bool IsInitialized() const PROTOBUF_FINAL; |
532 | | |
533 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
534 | | bool MergePartialFromCodedStream( |
535 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
536 | | void SerializeWithCachedSizes( |
537 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
538 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
539 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
540 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
541 | | private: |
542 | | void SharedCtor(); |
543 | | void SharedDtor(); |
544 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
545 | | void InternalSwap(SetFlagResponsePB* other); |
546 | | private: |
547 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
548 | 0 | return NULL; |
549 | 0 | } |
550 | 0 | inline void* MaybeArenaPtr() const { |
551 | 0 | return NULL; |
552 | 0 | } |
553 | | public: |
554 | | |
555 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
556 | | |
557 | | // nested types ---------------------------------------------------- |
558 | | |
559 | | typedef SetFlagResponsePB_Code Code; |
560 | | static const Code UNKNOWN = |
561 | | SetFlagResponsePB_Code_UNKNOWN; |
562 | | static const Code SUCCESS = |
563 | | SetFlagResponsePB_Code_SUCCESS; |
564 | | static const Code NO_SUCH_FLAG = |
565 | | SetFlagResponsePB_Code_NO_SUCH_FLAG; |
566 | | static const Code BAD_VALUE = |
567 | | SetFlagResponsePB_Code_BAD_VALUE; |
568 | | static const Code NOT_SAFE = |
569 | | SetFlagResponsePB_Code_NOT_SAFE; |
570 | 0 | static inline bool Code_IsValid(int value) { |
571 | 0 | return SetFlagResponsePB_Code_IsValid(value); |
572 | 0 | } |
573 | | static const Code Code_MIN = |
574 | | SetFlagResponsePB_Code_Code_MIN; |
575 | | static const Code Code_MAX = |
576 | | SetFlagResponsePB_Code_Code_MAX; |
577 | | static const int Code_ARRAYSIZE = |
578 | | SetFlagResponsePB_Code_Code_ARRAYSIZE; |
579 | | static inline const ::google::protobuf::EnumDescriptor* |
580 | 0 | Code_descriptor() { |
581 | 0 | return SetFlagResponsePB_Code_descriptor(); |
582 | 0 | } |
583 | 0 | static inline const ::std::string& Code_Name(Code value) { |
584 | 0 | return SetFlagResponsePB_Code_Name(value); |
585 | 0 | } |
586 | | static inline bool Code_Parse(const ::std::string& name, |
587 | 0 | Code* value) { |
588 | 0 | return SetFlagResponsePB_Code_Parse(name, value); |
589 | 0 | } |
590 | | |
591 | | // accessors ------------------------------------------------------- |
592 | | |
593 | | // optional string msg = 2; |
594 | | bool has_msg() const; |
595 | | void clear_msg(); |
596 | | static const int kMsgFieldNumber = 2; |
597 | | const ::std::string& msg() const; |
598 | | void set_msg(const ::std::string& value); |
599 | | #if LANG_CXX11 |
600 | | void set_msg(::std::string&& value); |
601 | | #endif |
602 | | void set_msg(const char* value); |
603 | | void set_msg(const char* value, size_t size); |
604 | | ::std::string* mutable_msg(); |
605 | | ::std::string* release_msg(); |
606 | | void set_allocated_msg(::std::string* msg); |
607 | | |
608 | | // optional string old_value = 3; |
609 | | bool has_old_value() const; |
610 | | void clear_old_value(); |
611 | | static const int kOldValueFieldNumber = 3; |
612 | | const ::std::string& old_value() const; |
613 | | void set_old_value(const ::std::string& value); |
614 | | #if LANG_CXX11 |
615 | | void set_old_value(::std::string&& value); |
616 | | #endif |
617 | | void set_old_value(const char* value); |
618 | | void set_old_value(const char* value, size_t size); |
619 | | ::std::string* mutable_old_value(); |
620 | | ::std::string* release_old_value(); |
621 | | void set_allocated_old_value(::std::string* old_value); |
622 | | |
623 | | // required .yb.server.SetFlagResponsePB.Code result = 1; |
624 | | bool has_result() const; |
625 | | void clear_result(); |
626 | | static const int kResultFieldNumber = 1; |
627 | | ::yb::server::SetFlagResponsePB_Code result() const; |
628 | | void set_result(::yb::server::SetFlagResponsePB_Code value); |
629 | | |
630 | | // @@protoc_insertion_point(class_scope:yb.server.SetFlagResponsePB) |
631 | | private: |
632 | | void set_has_result(); |
633 | | void clear_has_result(); |
634 | | void set_has_msg(); |
635 | | void clear_has_msg(); |
636 | | void set_has_old_value(); |
637 | | void clear_has_old_value(); |
638 | | |
639 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
640 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
641 | | mutable int _cached_size_; |
642 | | ::google::protobuf::internal::ArenaStringPtr msg_; |
643 | | ::google::protobuf::internal::ArenaStringPtr old_value_; |
644 | | int result_; |
645 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
646 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsSetFlagResponsePBImpl(); |
647 | | }; |
648 | | // ------------------------------------------------------------------- |
649 | | |
650 | | class RefreshFlagsRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.RefreshFlagsRequestPB) */ { |
651 | | public: |
652 | | RefreshFlagsRequestPB(); |
653 | | virtual ~RefreshFlagsRequestPB(); |
654 | | |
655 | | RefreshFlagsRequestPB(const RefreshFlagsRequestPB& from); |
656 | | |
657 | 0 | inline RefreshFlagsRequestPB& operator=(const RefreshFlagsRequestPB& from) { |
658 | 0 | CopyFrom(from); |
659 | 0 | return *this; |
660 | 0 | } |
661 | | #if LANG_CXX11 |
662 | | RefreshFlagsRequestPB(RefreshFlagsRequestPB&& from) noexcept |
663 | 0 | : RefreshFlagsRequestPB() { |
664 | 0 | *this = ::std::move(from); |
665 | 0 | } |
666 | | |
667 | 0 | inline RefreshFlagsRequestPB& operator=(RefreshFlagsRequestPB&& from) noexcept { |
668 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
669 | 0 | if (this != &from) InternalSwap(&from); |
670 | 0 | } else { |
671 | 0 | CopyFrom(from); |
672 | 0 | } |
673 | 0 | return *this; |
674 | 0 | } |
675 | | #endif |
676 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
677 | 0 | return _internal_metadata_.unknown_fields(); |
678 | 0 | } |
679 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
680 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
681 | 0 | } |
682 | | |
683 | | static const ::google::protobuf::Descriptor* descriptor(); |
684 | | static const RefreshFlagsRequestPB& default_instance(); |
685 | | |
686 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
687 | 15.8k | static inline const RefreshFlagsRequestPB* internal_default_instance() { |
688 | 15.8k | return reinterpret_cast<const RefreshFlagsRequestPB*>( |
689 | 15.8k | &_RefreshFlagsRequestPB_default_instance_); |
690 | 15.8k | } |
691 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
692 | | 3; |
693 | | |
694 | | void Swap(RefreshFlagsRequestPB* other); |
695 | 0 | friend void swap(RefreshFlagsRequestPB& a, RefreshFlagsRequestPB& b) { |
696 | 0 | a.Swap(&b); |
697 | 0 | } |
698 | | |
699 | | // implements Message ---------------------------------------------- |
700 | | |
701 | 0 | inline RefreshFlagsRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
702 | | |
703 | | RefreshFlagsRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
704 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
705 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
706 | | void CopyFrom(const RefreshFlagsRequestPB& from); |
707 | | void MergeFrom(const RefreshFlagsRequestPB& from); |
708 | | void Clear() PROTOBUF_FINAL; |
709 | | bool IsInitialized() const PROTOBUF_FINAL; |
710 | | |
711 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
712 | | bool MergePartialFromCodedStream( |
713 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
714 | | void SerializeWithCachedSizes( |
715 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
716 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
717 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
718 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
719 | | private: |
720 | | void SharedCtor(); |
721 | | void SharedDtor(); |
722 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
723 | | void InternalSwap(RefreshFlagsRequestPB* other); |
724 | | private: |
725 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
726 | 0 | return NULL; |
727 | 0 | } |
728 | 0 | inline void* MaybeArenaPtr() const { |
729 | 0 | return NULL; |
730 | 0 | } |
731 | | public: |
732 | | |
733 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
734 | | |
735 | | // nested types ---------------------------------------------------- |
736 | | |
737 | | // accessors ------------------------------------------------------- |
738 | | |
739 | | // @@protoc_insertion_point(class_scope:yb.server.RefreshFlagsRequestPB) |
740 | | private: |
741 | | |
742 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
743 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
744 | | mutable int _cached_size_; |
745 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
746 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsRefreshFlagsRequestPBImpl(); |
747 | | }; |
748 | | // ------------------------------------------------------------------- |
749 | | |
750 | | class RefreshFlagsResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.RefreshFlagsResponsePB) */ { |
751 | | public: |
752 | | RefreshFlagsResponsePB(); |
753 | | virtual ~RefreshFlagsResponsePB(); |
754 | | |
755 | | RefreshFlagsResponsePB(const RefreshFlagsResponsePB& from); |
756 | | |
757 | 0 | inline RefreshFlagsResponsePB& operator=(const RefreshFlagsResponsePB& from) { |
758 | 0 | CopyFrom(from); |
759 | 0 | return *this; |
760 | 0 | } |
761 | | #if LANG_CXX11 |
762 | | RefreshFlagsResponsePB(RefreshFlagsResponsePB&& from) noexcept |
763 | 0 | : RefreshFlagsResponsePB() { |
764 | 0 | *this = ::std::move(from); |
765 | 0 | } |
766 | | |
767 | 0 | inline RefreshFlagsResponsePB& operator=(RefreshFlagsResponsePB&& from) noexcept { |
768 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
769 | 0 | if (this != &from) InternalSwap(&from); |
770 | 0 | } else { |
771 | 0 | CopyFrom(from); |
772 | 0 | } |
773 | 0 | return *this; |
774 | 0 | } |
775 | | #endif |
776 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
777 | 0 | return _internal_metadata_.unknown_fields(); |
778 | 0 | } |
779 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
780 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
781 | 0 | } |
782 | | |
783 | | static const ::google::protobuf::Descriptor* descriptor(); |
784 | | static const RefreshFlagsResponsePB& default_instance(); |
785 | | |
786 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
787 | 15.8k | static inline const RefreshFlagsResponsePB* internal_default_instance() { |
788 | 15.8k | return reinterpret_cast<const RefreshFlagsResponsePB*>( |
789 | 15.8k | &_RefreshFlagsResponsePB_default_instance_); |
790 | 15.8k | } |
791 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
792 | | 4; |
793 | | |
794 | | void Swap(RefreshFlagsResponsePB* other); |
795 | 0 | friend void swap(RefreshFlagsResponsePB& a, RefreshFlagsResponsePB& b) { |
796 | 0 | a.Swap(&b); |
797 | 0 | } |
798 | | |
799 | | // implements Message ---------------------------------------------- |
800 | | |
801 | 0 | inline RefreshFlagsResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
802 | | |
803 | | RefreshFlagsResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
804 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
805 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
806 | | void CopyFrom(const RefreshFlagsResponsePB& from); |
807 | | void MergeFrom(const RefreshFlagsResponsePB& from); |
808 | | void Clear() PROTOBUF_FINAL; |
809 | | bool IsInitialized() const PROTOBUF_FINAL; |
810 | | |
811 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
812 | | bool MergePartialFromCodedStream( |
813 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
814 | | void SerializeWithCachedSizes( |
815 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
816 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
817 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
818 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
819 | | private: |
820 | | void SharedCtor(); |
821 | | void SharedDtor(); |
822 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
823 | | void InternalSwap(RefreshFlagsResponsePB* other); |
824 | | private: |
825 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
826 | 0 | return NULL; |
827 | 0 | } |
828 | 0 | inline void* MaybeArenaPtr() const { |
829 | 0 | return NULL; |
830 | 0 | } |
831 | | public: |
832 | | |
833 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
834 | | |
835 | | // nested types ---------------------------------------------------- |
836 | | |
837 | | // accessors ------------------------------------------------------- |
838 | | |
839 | | // @@protoc_insertion_point(class_scope:yb.server.RefreshFlagsResponsePB) |
840 | | private: |
841 | | |
842 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
843 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
844 | | mutable int _cached_size_; |
845 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
846 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsRefreshFlagsResponsePBImpl(); |
847 | | }; |
848 | | // ------------------------------------------------------------------- |
849 | | |
850 | | class GetFlagRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.GetFlagRequestPB) */ { |
851 | | public: |
852 | | GetFlagRequestPB(); |
853 | | virtual ~GetFlagRequestPB(); |
854 | | |
855 | | GetFlagRequestPB(const GetFlagRequestPB& from); |
856 | | |
857 | 0 | inline GetFlagRequestPB& operator=(const GetFlagRequestPB& from) { |
858 | 0 | CopyFrom(from); |
859 | 0 | return *this; |
860 | 0 | } |
861 | | #if LANG_CXX11 |
862 | | GetFlagRequestPB(GetFlagRequestPB&& from) noexcept |
863 | 0 | : GetFlagRequestPB() { |
864 | 0 | *this = ::std::move(from); |
865 | 0 | } |
866 | | |
867 | 0 | inline GetFlagRequestPB& operator=(GetFlagRequestPB&& from) noexcept { |
868 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
869 | 0 | if (this != &from) InternalSwap(&from); |
870 | 0 | } else { |
871 | 0 | CopyFrom(from); |
872 | 0 | } |
873 | 0 | return *this; |
874 | 0 | } |
875 | | #endif |
876 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
877 | 0 | return _internal_metadata_.unknown_fields(); |
878 | 0 | } |
879 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
880 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
881 | 0 | } |
882 | | |
883 | | static const ::google::protobuf::Descriptor* descriptor(); |
884 | | static const GetFlagRequestPB& default_instance(); |
885 | | |
886 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
887 | 15.8k | static inline const GetFlagRequestPB* internal_default_instance() { |
888 | 15.8k | return reinterpret_cast<const GetFlagRequestPB*>( |
889 | 15.8k | &_GetFlagRequestPB_default_instance_); |
890 | 15.8k | } |
891 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
892 | | 5; |
893 | | |
894 | | void Swap(GetFlagRequestPB* other); |
895 | 0 | friend void swap(GetFlagRequestPB& a, GetFlagRequestPB& b) { |
896 | 0 | a.Swap(&b); |
897 | 0 | } |
898 | | |
899 | | // implements Message ---------------------------------------------- |
900 | | |
901 | 0 | inline GetFlagRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
902 | | |
903 | | GetFlagRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
904 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
905 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
906 | | void CopyFrom(const GetFlagRequestPB& from); |
907 | | void MergeFrom(const GetFlagRequestPB& from); |
908 | | void Clear() PROTOBUF_FINAL; |
909 | | bool IsInitialized() const PROTOBUF_FINAL; |
910 | | |
911 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
912 | | bool MergePartialFromCodedStream( |
913 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
914 | | void SerializeWithCachedSizes( |
915 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
916 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
917 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
918 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
919 | | private: |
920 | | void SharedCtor(); |
921 | | void SharedDtor(); |
922 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
923 | | void InternalSwap(GetFlagRequestPB* other); |
924 | | private: |
925 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
926 | 0 | return NULL; |
927 | 0 | } |
928 | 0 | inline void* MaybeArenaPtr() const { |
929 | 0 | return NULL; |
930 | 0 | } |
931 | | public: |
932 | | |
933 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
934 | | |
935 | | // nested types ---------------------------------------------------- |
936 | | |
937 | | // accessors ------------------------------------------------------- |
938 | | |
939 | | // optional string flag = 1; |
940 | | bool has_flag() const; |
941 | | void clear_flag(); |
942 | | static const int kFlagFieldNumber = 1; |
943 | | const ::std::string& flag() const; |
944 | | void set_flag(const ::std::string& value); |
945 | | #if LANG_CXX11 |
946 | | void set_flag(::std::string&& value); |
947 | | #endif |
948 | | void set_flag(const char* value); |
949 | | void set_flag(const char* value, size_t size); |
950 | | ::std::string* mutable_flag(); |
951 | | ::std::string* release_flag(); |
952 | | void set_allocated_flag(::std::string* flag); |
953 | | |
954 | | // @@protoc_insertion_point(class_scope:yb.server.GetFlagRequestPB) |
955 | | private: |
956 | | void set_has_flag(); |
957 | | void clear_has_flag(); |
958 | | |
959 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
960 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
961 | | mutable int _cached_size_; |
962 | | ::google::protobuf::internal::ArenaStringPtr flag_; |
963 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
964 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsGetFlagRequestPBImpl(); |
965 | | }; |
966 | | // ------------------------------------------------------------------- |
967 | | |
968 | | class GetFlagResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.GetFlagResponsePB) */ { |
969 | | public: |
970 | | GetFlagResponsePB(); |
971 | | virtual ~GetFlagResponsePB(); |
972 | | |
973 | | GetFlagResponsePB(const GetFlagResponsePB& from); |
974 | | |
975 | 0 | inline GetFlagResponsePB& operator=(const GetFlagResponsePB& from) { |
976 | 0 | CopyFrom(from); |
977 | 0 | return *this; |
978 | 0 | } |
979 | | #if LANG_CXX11 |
980 | | GetFlagResponsePB(GetFlagResponsePB&& from) noexcept |
981 | 0 | : GetFlagResponsePB() { |
982 | 0 | *this = ::std::move(from); |
983 | 0 | } |
984 | | |
985 | 0 | inline GetFlagResponsePB& operator=(GetFlagResponsePB&& from) noexcept { |
986 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
987 | 0 | if (this != &from) InternalSwap(&from); |
988 | 0 | } else { |
989 | 0 | CopyFrom(from); |
990 | 0 | } |
991 | 0 | return *this; |
992 | 0 | } |
993 | | #endif |
994 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
995 | 0 | return _internal_metadata_.unknown_fields(); |
996 | 0 | } |
997 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
998 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
999 | 0 | } |
1000 | | |
1001 | | static const ::google::protobuf::Descriptor* descriptor(); |
1002 | | static const GetFlagResponsePB& default_instance(); |
1003 | | |
1004 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1005 | 15.8k | static inline const GetFlagResponsePB* internal_default_instance() { |
1006 | 15.8k | return reinterpret_cast<const GetFlagResponsePB*>( |
1007 | 15.8k | &_GetFlagResponsePB_default_instance_); |
1008 | 15.8k | } |
1009 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1010 | | 6; |
1011 | | |
1012 | | void Swap(GetFlagResponsePB* other); |
1013 | 0 | friend void swap(GetFlagResponsePB& a, GetFlagResponsePB& b) { |
1014 | 0 | a.Swap(&b); |
1015 | 0 | } |
1016 | | |
1017 | | // implements Message ---------------------------------------------- |
1018 | | |
1019 | 0 | inline GetFlagResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1020 | | |
1021 | | GetFlagResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1022 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1023 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1024 | | void CopyFrom(const GetFlagResponsePB& from); |
1025 | | void MergeFrom(const GetFlagResponsePB& from); |
1026 | | void Clear() PROTOBUF_FINAL; |
1027 | | bool IsInitialized() const PROTOBUF_FINAL; |
1028 | | |
1029 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1030 | | bool MergePartialFromCodedStream( |
1031 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1032 | | void SerializeWithCachedSizes( |
1033 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1034 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1035 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1036 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1037 | | private: |
1038 | | void SharedCtor(); |
1039 | | void SharedDtor(); |
1040 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1041 | | void InternalSwap(GetFlagResponsePB* other); |
1042 | | private: |
1043 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1044 | 0 | return NULL; |
1045 | 0 | } |
1046 | 0 | inline void* MaybeArenaPtr() const { |
1047 | 0 | return NULL; |
1048 | 0 | } |
1049 | | public: |
1050 | | |
1051 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1052 | | |
1053 | | // nested types ---------------------------------------------------- |
1054 | | |
1055 | | // accessors ------------------------------------------------------- |
1056 | | |
1057 | | // optional string value = 2; |
1058 | | bool has_value() const; |
1059 | | void clear_value(); |
1060 | | static const int kValueFieldNumber = 2; |
1061 | | const ::std::string& value() const; |
1062 | | void set_value(const ::std::string& value); |
1063 | | #if LANG_CXX11 |
1064 | | void set_value(::std::string&& value); |
1065 | | #endif |
1066 | | void set_value(const char* value); |
1067 | | void set_value(const char* value, size_t size); |
1068 | | ::std::string* mutable_value(); |
1069 | | ::std::string* release_value(); |
1070 | | void set_allocated_value(::std::string* value); |
1071 | | |
1072 | | // optional bool valid = 1 [default = true]; |
1073 | | bool has_valid() const; |
1074 | | void clear_valid(); |
1075 | | static const int kValidFieldNumber = 1; |
1076 | | bool valid() const; |
1077 | | void set_valid(bool value); |
1078 | | |
1079 | | // @@protoc_insertion_point(class_scope:yb.server.GetFlagResponsePB) |
1080 | | private: |
1081 | | void set_has_valid(); |
1082 | | void clear_has_valid(); |
1083 | | void set_has_value(); |
1084 | | void clear_has_value(); |
1085 | | |
1086 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1087 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1088 | | mutable int _cached_size_; |
1089 | | ::google::protobuf::internal::ArenaStringPtr value_; |
1090 | | bool valid_; |
1091 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1092 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsGetFlagResponsePBImpl(); |
1093 | | }; |
1094 | | // ------------------------------------------------------------------- |
1095 | | |
1096 | | class FlushCoverageRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.FlushCoverageRequestPB) */ { |
1097 | | public: |
1098 | | FlushCoverageRequestPB(); |
1099 | | virtual ~FlushCoverageRequestPB(); |
1100 | | |
1101 | | FlushCoverageRequestPB(const FlushCoverageRequestPB& from); |
1102 | | |
1103 | 0 | inline FlushCoverageRequestPB& operator=(const FlushCoverageRequestPB& from) { |
1104 | 0 | CopyFrom(from); |
1105 | 0 | return *this; |
1106 | 0 | } |
1107 | | #if LANG_CXX11 |
1108 | | FlushCoverageRequestPB(FlushCoverageRequestPB&& from) noexcept |
1109 | 0 | : FlushCoverageRequestPB() { |
1110 | 0 | *this = ::std::move(from); |
1111 | 0 | } |
1112 | | |
1113 | 0 | inline FlushCoverageRequestPB& operator=(FlushCoverageRequestPB&& from) noexcept { |
1114 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1115 | 0 | if (this != &from) InternalSwap(&from); |
1116 | 0 | } else { |
1117 | 0 | CopyFrom(from); |
1118 | 0 | } |
1119 | 0 | return *this; |
1120 | 0 | } |
1121 | | #endif |
1122 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1123 | 0 | return _internal_metadata_.unknown_fields(); |
1124 | 0 | } |
1125 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1126 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1127 | 0 | } |
1128 | | |
1129 | | static const ::google::protobuf::Descriptor* descriptor(); |
1130 | | static const FlushCoverageRequestPB& default_instance(); |
1131 | | |
1132 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1133 | 15.8k | static inline const FlushCoverageRequestPB* internal_default_instance() { |
1134 | 15.8k | return reinterpret_cast<const FlushCoverageRequestPB*>( |
1135 | 15.8k | &_FlushCoverageRequestPB_default_instance_); |
1136 | 15.8k | } |
1137 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1138 | | 7; |
1139 | | |
1140 | | void Swap(FlushCoverageRequestPB* other); |
1141 | 0 | friend void swap(FlushCoverageRequestPB& a, FlushCoverageRequestPB& b) { |
1142 | 0 | a.Swap(&b); |
1143 | 0 | } |
1144 | | |
1145 | | // implements Message ---------------------------------------------- |
1146 | | |
1147 | 0 | inline FlushCoverageRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1148 | | |
1149 | | FlushCoverageRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1150 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1151 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1152 | | void CopyFrom(const FlushCoverageRequestPB& from); |
1153 | | void MergeFrom(const FlushCoverageRequestPB& from); |
1154 | | void Clear() PROTOBUF_FINAL; |
1155 | | bool IsInitialized() const PROTOBUF_FINAL; |
1156 | | |
1157 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1158 | | bool MergePartialFromCodedStream( |
1159 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1160 | | void SerializeWithCachedSizes( |
1161 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1162 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1163 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1164 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1165 | | private: |
1166 | | void SharedCtor(); |
1167 | | void SharedDtor(); |
1168 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1169 | | void InternalSwap(FlushCoverageRequestPB* other); |
1170 | | private: |
1171 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1172 | 0 | return NULL; |
1173 | 0 | } |
1174 | 0 | inline void* MaybeArenaPtr() const { |
1175 | 0 | return NULL; |
1176 | 0 | } |
1177 | | public: |
1178 | | |
1179 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1180 | | |
1181 | | // nested types ---------------------------------------------------- |
1182 | | |
1183 | | // accessors ------------------------------------------------------- |
1184 | | |
1185 | | // @@protoc_insertion_point(class_scope:yb.server.FlushCoverageRequestPB) |
1186 | | private: |
1187 | | |
1188 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1189 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1190 | | mutable int _cached_size_; |
1191 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1192 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsFlushCoverageRequestPBImpl(); |
1193 | | }; |
1194 | | // ------------------------------------------------------------------- |
1195 | | |
1196 | | class FlushCoverageResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.FlushCoverageResponsePB) */ { |
1197 | | public: |
1198 | | FlushCoverageResponsePB(); |
1199 | | virtual ~FlushCoverageResponsePB(); |
1200 | | |
1201 | | FlushCoverageResponsePB(const FlushCoverageResponsePB& from); |
1202 | | |
1203 | 0 | inline FlushCoverageResponsePB& operator=(const FlushCoverageResponsePB& from) { |
1204 | 0 | CopyFrom(from); |
1205 | 0 | return *this; |
1206 | 0 | } |
1207 | | #if LANG_CXX11 |
1208 | | FlushCoverageResponsePB(FlushCoverageResponsePB&& from) noexcept |
1209 | 0 | : FlushCoverageResponsePB() { |
1210 | 0 | *this = ::std::move(from); |
1211 | 0 | } |
1212 | | |
1213 | 0 | inline FlushCoverageResponsePB& operator=(FlushCoverageResponsePB&& from) noexcept { |
1214 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1215 | 0 | if (this != &from) InternalSwap(&from); |
1216 | 0 | } else { |
1217 | 0 | CopyFrom(from); |
1218 | 0 | } |
1219 | 0 | return *this; |
1220 | 0 | } |
1221 | | #endif |
1222 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1223 | 0 | return _internal_metadata_.unknown_fields(); |
1224 | 0 | } |
1225 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1226 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1227 | 0 | } |
1228 | | |
1229 | | static const ::google::protobuf::Descriptor* descriptor(); |
1230 | | static const FlushCoverageResponsePB& default_instance(); |
1231 | | |
1232 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1233 | 15.8k | static inline const FlushCoverageResponsePB* internal_default_instance() { |
1234 | 15.8k | return reinterpret_cast<const FlushCoverageResponsePB*>( |
1235 | 15.8k | &_FlushCoverageResponsePB_default_instance_); |
1236 | 15.8k | } |
1237 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1238 | | 8; |
1239 | | |
1240 | | void Swap(FlushCoverageResponsePB* other); |
1241 | 0 | friend void swap(FlushCoverageResponsePB& a, FlushCoverageResponsePB& b) { |
1242 | 0 | a.Swap(&b); |
1243 | 0 | } |
1244 | | |
1245 | | // implements Message ---------------------------------------------- |
1246 | | |
1247 | 0 | inline FlushCoverageResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1248 | | |
1249 | | FlushCoverageResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1250 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1251 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1252 | | void CopyFrom(const FlushCoverageResponsePB& from); |
1253 | | void MergeFrom(const FlushCoverageResponsePB& from); |
1254 | | void Clear() PROTOBUF_FINAL; |
1255 | | bool IsInitialized() const PROTOBUF_FINAL; |
1256 | | |
1257 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1258 | | bool MergePartialFromCodedStream( |
1259 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1260 | | void SerializeWithCachedSizes( |
1261 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1262 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1263 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1264 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1265 | | private: |
1266 | | void SharedCtor(); |
1267 | | void SharedDtor(); |
1268 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1269 | | void InternalSwap(FlushCoverageResponsePB* other); |
1270 | | private: |
1271 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1272 | 0 | return NULL; |
1273 | 0 | } |
1274 | 0 | inline void* MaybeArenaPtr() const { |
1275 | 0 | return NULL; |
1276 | 0 | } |
1277 | | public: |
1278 | | |
1279 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1280 | | |
1281 | | // nested types ---------------------------------------------------- |
1282 | | |
1283 | | // accessors ------------------------------------------------------- |
1284 | | |
1285 | | // optional bool success = 1; |
1286 | | bool has_success() const; |
1287 | | void clear_success(); |
1288 | | static const int kSuccessFieldNumber = 1; |
1289 | | bool success() const; |
1290 | | void set_success(bool value); |
1291 | | |
1292 | | // @@protoc_insertion_point(class_scope:yb.server.FlushCoverageResponsePB) |
1293 | | private: |
1294 | | void set_has_success(); |
1295 | | void clear_has_success(); |
1296 | | |
1297 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1298 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1299 | | mutable int _cached_size_; |
1300 | | bool success_; |
1301 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1302 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsFlushCoverageResponsePBImpl(); |
1303 | | }; |
1304 | | // ------------------------------------------------------------------- |
1305 | | |
1306 | | class ServerClockRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.ServerClockRequestPB) */ { |
1307 | | public: |
1308 | | ServerClockRequestPB(); |
1309 | | virtual ~ServerClockRequestPB(); |
1310 | | |
1311 | | ServerClockRequestPB(const ServerClockRequestPB& from); |
1312 | | |
1313 | 0 | inline ServerClockRequestPB& operator=(const ServerClockRequestPB& from) { |
1314 | 0 | CopyFrom(from); |
1315 | 0 | return *this; |
1316 | 0 | } |
1317 | | #if LANG_CXX11 |
1318 | | ServerClockRequestPB(ServerClockRequestPB&& from) noexcept |
1319 | 0 | : ServerClockRequestPB() { |
1320 | 0 | *this = ::std::move(from); |
1321 | 0 | } |
1322 | | |
1323 | 0 | inline ServerClockRequestPB& operator=(ServerClockRequestPB&& from) noexcept { |
1324 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1325 | 0 | if (this != &from) InternalSwap(&from); |
1326 | 0 | } else { |
1327 | 0 | CopyFrom(from); |
1328 | 0 | } |
1329 | 0 | return *this; |
1330 | 0 | } |
1331 | | #endif |
1332 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1333 | 0 | return _internal_metadata_.unknown_fields(); |
1334 | 0 | } |
1335 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1336 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1337 | 0 | } |
1338 | | |
1339 | | static const ::google::protobuf::Descriptor* descriptor(); |
1340 | | static const ServerClockRequestPB& default_instance(); |
1341 | | |
1342 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1343 | 15.8k | static inline const ServerClockRequestPB* internal_default_instance() { |
1344 | 15.8k | return reinterpret_cast<const ServerClockRequestPB*>( |
1345 | 15.8k | &_ServerClockRequestPB_default_instance_); |
1346 | 15.8k | } |
1347 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1348 | | 9; |
1349 | | |
1350 | | void Swap(ServerClockRequestPB* other); |
1351 | 0 | friend void swap(ServerClockRequestPB& a, ServerClockRequestPB& b) { |
1352 | 0 | a.Swap(&b); |
1353 | 0 | } |
1354 | | |
1355 | | // implements Message ---------------------------------------------- |
1356 | | |
1357 | 0 | inline ServerClockRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1358 | | |
1359 | | ServerClockRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1360 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1361 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1362 | | void CopyFrom(const ServerClockRequestPB& from); |
1363 | | void MergeFrom(const ServerClockRequestPB& from); |
1364 | | void Clear() PROTOBUF_FINAL; |
1365 | | bool IsInitialized() const PROTOBUF_FINAL; |
1366 | | |
1367 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1368 | | bool MergePartialFromCodedStream( |
1369 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1370 | | void SerializeWithCachedSizes( |
1371 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1372 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1373 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1374 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1375 | | private: |
1376 | | void SharedCtor(); |
1377 | | void SharedDtor(); |
1378 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1379 | | void InternalSwap(ServerClockRequestPB* other); |
1380 | | private: |
1381 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1382 | 0 | return NULL; |
1383 | 0 | } |
1384 | 0 | inline void* MaybeArenaPtr() const { |
1385 | 0 | return NULL; |
1386 | 0 | } |
1387 | | public: |
1388 | | |
1389 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1390 | | |
1391 | | // nested types ---------------------------------------------------- |
1392 | | |
1393 | | // accessors ------------------------------------------------------- |
1394 | | |
1395 | | // @@protoc_insertion_point(class_scope:yb.server.ServerClockRequestPB) |
1396 | | private: |
1397 | | |
1398 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1399 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1400 | | mutable int _cached_size_; |
1401 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1402 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsServerClockRequestPBImpl(); |
1403 | | }; |
1404 | | // ------------------------------------------------------------------- |
1405 | | |
1406 | | class ServerClockResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.ServerClockResponsePB) */ { |
1407 | | public: |
1408 | | ServerClockResponsePB(); |
1409 | | virtual ~ServerClockResponsePB(); |
1410 | | |
1411 | | ServerClockResponsePB(const ServerClockResponsePB& from); |
1412 | | |
1413 | 0 | inline ServerClockResponsePB& operator=(const ServerClockResponsePB& from) { |
1414 | 0 | CopyFrom(from); |
1415 | 0 | return *this; |
1416 | 0 | } |
1417 | | #if LANG_CXX11 |
1418 | | ServerClockResponsePB(ServerClockResponsePB&& from) noexcept |
1419 | 0 | : ServerClockResponsePB() { |
1420 | 0 | *this = ::std::move(from); |
1421 | 0 | } |
1422 | | |
1423 | 0 | inline ServerClockResponsePB& operator=(ServerClockResponsePB&& from) noexcept { |
1424 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1425 | 0 | if (this != &from) InternalSwap(&from); |
1426 | 0 | } else { |
1427 | 0 | CopyFrom(from); |
1428 | 0 | } |
1429 | 0 | return *this; |
1430 | 0 | } |
1431 | | #endif |
1432 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1433 | 0 | return _internal_metadata_.unknown_fields(); |
1434 | 0 | } |
1435 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1436 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1437 | 0 | } |
1438 | | |
1439 | | static const ::google::protobuf::Descriptor* descriptor(); |
1440 | | static const ServerClockResponsePB& default_instance(); |
1441 | | |
1442 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1443 | 15.8k | static inline const ServerClockResponsePB* internal_default_instance() { |
1444 | 15.8k | return reinterpret_cast<const ServerClockResponsePB*>( |
1445 | 15.8k | &_ServerClockResponsePB_default_instance_); |
1446 | 15.8k | } |
1447 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1448 | | 10; |
1449 | | |
1450 | | void Swap(ServerClockResponsePB* other); |
1451 | 0 | friend void swap(ServerClockResponsePB& a, ServerClockResponsePB& b) { |
1452 | 0 | a.Swap(&b); |
1453 | 0 | } |
1454 | | |
1455 | | // implements Message ---------------------------------------------- |
1456 | | |
1457 | 0 | inline ServerClockResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1458 | | |
1459 | | ServerClockResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1460 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1461 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1462 | | void CopyFrom(const ServerClockResponsePB& from); |
1463 | | void MergeFrom(const ServerClockResponsePB& from); |
1464 | | void Clear() PROTOBUF_FINAL; |
1465 | | bool IsInitialized() const PROTOBUF_FINAL; |
1466 | | |
1467 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1468 | | bool MergePartialFromCodedStream( |
1469 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1470 | | void SerializeWithCachedSizes( |
1471 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1472 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1473 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1474 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1475 | | private: |
1476 | | void SharedCtor(); |
1477 | | void SharedDtor(); |
1478 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1479 | | void InternalSwap(ServerClockResponsePB* other); |
1480 | | private: |
1481 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1482 | 0 | return NULL; |
1483 | 0 | } |
1484 | 0 | inline void* MaybeArenaPtr() const { |
1485 | 0 | return NULL; |
1486 | 0 | } |
1487 | | public: |
1488 | | |
1489 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1490 | | |
1491 | | // nested types ---------------------------------------------------- |
1492 | | |
1493 | | // accessors ------------------------------------------------------- |
1494 | | |
1495 | | // optional fixed64 hybrid_time = 1; |
1496 | | bool has_hybrid_time() const; |
1497 | | void clear_hybrid_time(); |
1498 | | static const int kHybridTimeFieldNumber = 1; |
1499 | | ::google::protobuf::uint64 hybrid_time() const; |
1500 | | void set_hybrid_time(::google::protobuf::uint64 value); |
1501 | | |
1502 | | // @@protoc_insertion_point(class_scope:yb.server.ServerClockResponsePB) |
1503 | | private: |
1504 | | void set_has_hybrid_time(); |
1505 | | void clear_has_hybrid_time(); |
1506 | | |
1507 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1508 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1509 | | mutable int _cached_size_; |
1510 | | ::google::protobuf::uint64 hybrid_time_; |
1511 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1512 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsServerClockResponsePBImpl(); |
1513 | | }; |
1514 | | // ------------------------------------------------------------------- |
1515 | | |
1516 | | class GetStatusRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.GetStatusRequestPB) */ { |
1517 | | public: |
1518 | | GetStatusRequestPB(); |
1519 | | virtual ~GetStatusRequestPB(); |
1520 | | |
1521 | | GetStatusRequestPB(const GetStatusRequestPB& from); |
1522 | | |
1523 | 0 | inline GetStatusRequestPB& operator=(const GetStatusRequestPB& from) { |
1524 | 0 | CopyFrom(from); |
1525 | 0 | return *this; |
1526 | 0 | } |
1527 | | #if LANG_CXX11 |
1528 | | GetStatusRequestPB(GetStatusRequestPB&& from) noexcept |
1529 | 0 | : GetStatusRequestPB() { |
1530 | 0 | *this = ::std::move(from); |
1531 | 0 | } |
1532 | | |
1533 | 0 | inline GetStatusRequestPB& operator=(GetStatusRequestPB&& from) noexcept { |
1534 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1535 | 0 | if (this != &from) InternalSwap(&from); |
1536 | 0 | } else { |
1537 | 0 | CopyFrom(from); |
1538 | 0 | } |
1539 | 0 | return *this; |
1540 | 0 | } |
1541 | | #endif |
1542 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1543 | 0 | return _internal_metadata_.unknown_fields(); |
1544 | 0 | } |
1545 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1546 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1547 | 0 | } |
1548 | | |
1549 | | static const ::google::protobuf::Descriptor* descriptor(); |
1550 | | static const GetStatusRequestPB& default_instance(); |
1551 | | |
1552 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1553 | 15.8k | static inline const GetStatusRequestPB* internal_default_instance() { |
1554 | 15.8k | return reinterpret_cast<const GetStatusRequestPB*>( |
1555 | 15.8k | &_GetStatusRequestPB_default_instance_); |
1556 | 15.8k | } |
1557 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1558 | | 11; |
1559 | | |
1560 | | void Swap(GetStatusRequestPB* other); |
1561 | 0 | friend void swap(GetStatusRequestPB& a, GetStatusRequestPB& b) { |
1562 | 0 | a.Swap(&b); |
1563 | 0 | } |
1564 | | |
1565 | | // implements Message ---------------------------------------------- |
1566 | | |
1567 | 0 | inline GetStatusRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1568 | | |
1569 | | GetStatusRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1570 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1571 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1572 | | void CopyFrom(const GetStatusRequestPB& from); |
1573 | | void MergeFrom(const GetStatusRequestPB& from); |
1574 | | void Clear() PROTOBUF_FINAL; |
1575 | | bool IsInitialized() const PROTOBUF_FINAL; |
1576 | | |
1577 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1578 | | bool MergePartialFromCodedStream( |
1579 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1580 | | void SerializeWithCachedSizes( |
1581 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1582 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1583 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1584 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1585 | | private: |
1586 | | void SharedCtor(); |
1587 | | void SharedDtor(); |
1588 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1589 | | void InternalSwap(GetStatusRequestPB* other); |
1590 | | private: |
1591 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1592 | 0 | return NULL; |
1593 | 0 | } |
1594 | 0 | inline void* MaybeArenaPtr() const { |
1595 | 0 | return NULL; |
1596 | 0 | } |
1597 | | public: |
1598 | | |
1599 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1600 | | |
1601 | | // nested types ---------------------------------------------------- |
1602 | | |
1603 | | // accessors ------------------------------------------------------- |
1604 | | |
1605 | | // @@protoc_insertion_point(class_scope:yb.server.GetStatusRequestPB) |
1606 | | private: |
1607 | | |
1608 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1609 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1610 | | mutable int _cached_size_; |
1611 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1612 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsGetStatusRequestPBImpl(); |
1613 | | }; |
1614 | | // ------------------------------------------------------------------- |
1615 | | |
1616 | | class GetStatusResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.GetStatusResponsePB) */ { |
1617 | | public: |
1618 | | GetStatusResponsePB(); |
1619 | | virtual ~GetStatusResponsePB(); |
1620 | | |
1621 | | GetStatusResponsePB(const GetStatusResponsePB& from); |
1622 | | |
1623 | 0 | inline GetStatusResponsePB& operator=(const GetStatusResponsePB& from) { |
1624 | 0 | CopyFrom(from); |
1625 | 0 | return *this; |
1626 | 0 | } |
1627 | | #if LANG_CXX11 |
1628 | | GetStatusResponsePB(GetStatusResponsePB&& from) noexcept |
1629 | 0 | : GetStatusResponsePB() { |
1630 | 0 | *this = ::std::move(from); |
1631 | 0 | } |
1632 | | |
1633 | 0 | inline GetStatusResponsePB& operator=(GetStatusResponsePB&& from) noexcept { |
1634 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1635 | 0 | if (this != &from) InternalSwap(&from); |
1636 | 0 | } else { |
1637 | 0 | CopyFrom(from); |
1638 | 0 | } |
1639 | 0 | return *this; |
1640 | 0 | } |
1641 | | #endif |
1642 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1643 | 0 | return _internal_metadata_.unknown_fields(); |
1644 | 0 | } |
1645 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1646 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1647 | 0 | } |
1648 | | |
1649 | | static const ::google::protobuf::Descriptor* descriptor(); |
1650 | | static const GetStatusResponsePB& default_instance(); |
1651 | | |
1652 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1653 | 15.8k | static inline const GetStatusResponsePB* internal_default_instance() { |
1654 | 15.8k | return reinterpret_cast<const GetStatusResponsePB*>( |
1655 | 15.8k | &_GetStatusResponsePB_default_instance_); |
1656 | 15.8k | } |
1657 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1658 | | 12; |
1659 | | |
1660 | | void Swap(GetStatusResponsePB* other); |
1661 | 0 | friend void swap(GetStatusResponsePB& a, GetStatusResponsePB& b) { |
1662 | 0 | a.Swap(&b); |
1663 | 0 | } |
1664 | | |
1665 | | // implements Message ---------------------------------------------- |
1666 | | |
1667 | 0 | inline GetStatusResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1668 | | |
1669 | | GetStatusResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1670 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1671 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1672 | | void CopyFrom(const GetStatusResponsePB& from); |
1673 | | void MergeFrom(const GetStatusResponsePB& from); |
1674 | | void Clear() PROTOBUF_FINAL; |
1675 | | bool IsInitialized() const PROTOBUF_FINAL; |
1676 | | |
1677 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1678 | | bool MergePartialFromCodedStream( |
1679 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1680 | | void SerializeWithCachedSizes( |
1681 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1682 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1683 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1684 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1685 | | private: |
1686 | | void SharedCtor(); |
1687 | | void SharedDtor(); |
1688 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1689 | | void InternalSwap(GetStatusResponsePB* other); |
1690 | | private: |
1691 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1692 | 0 | return NULL; |
1693 | 0 | } |
1694 | 0 | inline void* MaybeArenaPtr() const { |
1695 | 0 | return NULL; |
1696 | 0 | } |
1697 | | public: |
1698 | | |
1699 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1700 | | |
1701 | | // nested types ---------------------------------------------------- |
1702 | | |
1703 | | // accessors ------------------------------------------------------- |
1704 | | |
1705 | | // required .yb.server.ServerStatusPB status = 1; |
1706 | | bool has_status() const; |
1707 | | void clear_status(); |
1708 | | static const int kStatusFieldNumber = 1; |
1709 | | const ::yb::server::ServerStatusPB& status() const; |
1710 | | ::yb::server::ServerStatusPB* release_status(); |
1711 | | ::yb::server::ServerStatusPB* mutable_status(); |
1712 | | void set_allocated_status(::yb::server::ServerStatusPB* status); |
1713 | | |
1714 | | // @@protoc_insertion_point(class_scope:yb.server.GetStatusResponsePB) |
1715 | | private: |
1716 | | void set_has_status(); |
1717 | | void clear_has_status(); |
1718 | | |
1719 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1720 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1721 | | mutable int _cached_size_; |
1722 | | ::yb::server::ServerStatusPB* status_; |
1723 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1724 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsGetStatusResponsePBImpl(); |
1725 | | }; |
1726 | | // ------------------------------------------------------------------- |
1727 | | |
1728 | | class PingRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.PingRequestPB) */ { |
1729 | | public: |
1730 | | PingRequestPB(); |
1731 | | virtual ~PingRequestPB(); |
1732 | | |
1733 | | PingRequestPB(const PingRequestPB& from); |
1734 | | |
1735 | 0 | inline PingRequestPB& operator=(const PingRequestPB& from) { |
1736 | 0 | CopyFrom(from); |
1737 | 0 | return *this; |
1738 | 0 | } |
1739 | | #if LANG_CXX11 |
1740 | | PingRequestPB(PingRequestPB&& from) noexcept |
1741 | 0 | : PingRequestPB() { |
1742 | 0 | *this = ::std::move(from); |
1743 | 0 | } |
1744 | | |
1745 | 0 | inline PingRequestPB& operator=(PingRequestPB&& from) noexcept { |
1746 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1747 | 0 | if (this != &from) InternalSwap(&from); |
1748 | 0 | } else { |
1749 | 0 | CopyFrom(from); |
1750 | 0 | } |
1751 | 0 | return *this; |
1752 | 0 | } |
1753 | | #endif |
1754 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1755 | 0 | return _internal_metadata_.unknown_fields(); |
1756 | 0 | } |
1757 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1758 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1759 | 0 | } |
1760 | | |
1761 | | static const ::google::protobuf::Descriptor* descriptor(); |
1762 | | static const PingRequestPB& default_instance(); |
1763 | | |
1764 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1765 | 38.5k | static inline const PingRequestPB* internal_default_instance() { |
1766 | 38.5k | return reinterpret_cast<const PingRequestPB*>( |
1767 | 38.5k | &_PingRequestPB_default_instance_); |
1768 | 38.5k | } |
1769 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1770 | | 13; |
1771 | | |
1772 | | void Swap(PingRequestPB* other); |
1773 | 0 | friend void swap(PingRequestPB& a, PingRequestPB& b) { |
1774 | 0 | a.Swap(&b); |
1775 | 0 | } |
1776 | | |
1777 | | // implements Message ---------------------------------------------- |
1778 | | |
1779 | 0 | inline PingRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1780 | | |
1781 | | PingRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1782 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1783 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1784 | | void CopyFrom(const PingRequestPB& from); |
1785 | | void MergeFrom(const PingRequestPB& from); |
1786 | | void Clear() PROTOBUF_FINAL; |
1787 | | bool IsInitialized() const PROTOBUF_FINAL; |
1788 | | |
1789 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1790 | | bool MergePartialFromCodedStream( |
1791 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1792 | | void SerializeWithCachedSizes( |
1793 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1794 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1795 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1796 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1797 | | private: |
1798 | | void SharedCtor(); |
1799 | | void SharedDtor(); |
1800 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1801 | | void InternalSwap(PingRequestPB* other); |
1802 | | private: |
1803 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1804 | 0 | return NULL; |
1805 | 0 | } |
1806 | 0 | inline void* MaybeArenaPtr() const { |
1807 | 0 | return NULL; |
1808 | 0 | } |
1809 | | public: |
1810 | | |
1811 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1812 | | |
1813 | | // nested types ---------------------------------------------------- |
1814 | | |
1815 | | // accessors ------------------------------------------------------- |
1816 | | |
1817 | | // @@protoc_insertion_point(class_scope:yb.server.PingRequestPB) |
1818 | | private: |
1819 | | |
1820 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1821 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1822 | | mutable int _cached_size_; |
1823 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1824 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsPingRequestPBImpl(); |
1825 | | }; |
1826 | | // ------------------------------------------------------------------- |
1827 | | |
1828 | | class PingResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.server.PingResponsePB) */ { |
1829 | | public: |
1830 | | PingResponsePB(); |
1831 | | virtual ~PingResponsePB(); |
1832 | | |
1833 | | PingResponsePB(const PingResponsePB& from); |
1834 | | |
1835 | 0 | inline PingResponsePB& operator=(const PingResponsePB& from) { |
1836 | 0 | CopyFrom(from); |
1837 | 0 | return *this; |
1838 | 0 | } |
1839 | | #if LANG_CXX11 |
1840 | | PingResponsePB(PingResponsePB&& from) noexcept |
1841 | 0 | : PingResponsePB() { |
1842 | 0 | *this = ::std::move(from); |
1843 | 0 | } |
1844 | | |
1845 | 0 | inline PingResponsePB& operator=(PingResponsePB&& from) noexcept { |
1846 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1847 | 0 | if (this != &from) InternalSwap(&from); |
1848 | 0 | } else { |
1849 | 0 | CopyFrom(from); |
1850 | 0 | } |
1851 | 0 | return *this; |
1852 | 0 | } |
1853 | | #endif |
1854 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1855 | 0 | return _internal_metadata_.unknown_fields(); |
1856 | 0 | } |
1857 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1858 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1859 | 0 | } |
1860 | | |
1861 | | static const ::google::protobuf::Descriptor* descriptor(); |
1862 | | static const PingResponsePB& default_instance(); |
1863 | | |
1864 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1865 | 38.5k | static inline const PingResponsePB* internal_default_instance() { |
1866 | 38.5k | return reinterpret_cast<const PingResponsePB*>( |
1867 | 38.5k | &_PingResponsePB_default_instance_); |
1868 | 38.5k | } |
1869 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1870 | | 14; |
1871 | | |
1872 | | void Swap(PingResponsePB* other); |
1873 | 0 | friend void swap(PingResponsePB& a, PingResponsePB& b) { |
1874 | 0 | a.Swap(&b); |
1875 | 0 | } |
1876 | | |
1877 | | // implements Message ---------------------------------------------- |
1878 | | |
1879 | 0 | inline PingResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1880 | | |
1881 | | PingResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1882 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1883 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1884 | | void CopyFrom(const PingResponsePB& from); |
1885 | | void MergeFrom(const PingResponsePB& from); |
1886 | | void Clear() PROTOBUF_FINAL; |
1887 | | bool IsInitialized() const PROTOBUF_FINAL; |
1888 | | |
1889 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1890 | | bool MergePartialFromCodedStream( |
1891 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1892 | | void SerializeWithCachedSizes( |
1893 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1894 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1895 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1896 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1897 | | private: |
1898 | | void SharedCtor(); |
1899 | | void SharedDtor(); |
1900 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1901 | | void InternalSwap(PingResponsePB* other); |
1902 | | private: |
1903 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1904 | 0 | return NULL; |
1905 | 0 | } |
1906 | 0 | inline void* MaybeArenaPtr() const { |
1907 | 0 | return NULL; |
1908 | 0 | } |
1909 | | public: |
1910 | | |
1911 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1912 | | |
1913 | | // nested types ---------------------------------------------------- |
1914 | | |
1915 | | // accessors ------------------------------------------------------- |
1916 | | |
1917 | | // @@protoc_insertion_point(class_scope:yb.server.PingResponsePB) |
1918 | | private: |
1919 | | |
1920 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1921 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1922 | | mutable int _cached_size_; |
1923 | | friend struct ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::TableStruct; |
1924 | | friend void ::protobuf_yb_2fserver_2fserver_5fbase_2eproto::InitDefaultsPingResponsePBImpl(); |
1925 | | }; |
1926 | | // =================================================================== |
1927 | | |
1928 | | |
1929 | | // =================================================================== |
1930 | | |
1931 | | #ifdef __GNUC__ |
1932 | | #pragma GCC diagnostic push |
1933 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1934 | | #endif // __GNUC__ |
1935 | | // ServerStatusPB |
1936 | | |
1937 | | // required .yb.NodeInstancePB node_instance = 1; |
1938 | 6.89k | inline bool ServerStatusPB::has_node_instance() const { |
1939 | 6.89k | return (_has_bits_[0] & 0x00000001u) != 0; |
1940 | 6.89k | } |
1941 | 4.35k | inline void ServerStatusPB::set_has_node_instance() { |
1942 | 4.35k | _has_bits_[0] |= 0x00000001u; |
1943 | 4.35k | } |
1944 | 0 | inline void ServerStatusPB::clear_has_node_instance() { |
1945 | 0 | _has_bits_[0] &= ~0x00000001u; |
1946 | 0 | } |
1947 | 17.2k | inline const ::yb::NodeInstancePB& ServerStatusPB::node_instance() const { |
1948 | 17.2k | const ::yb::NodeInstancePB* p = node_instance_; |
1949 | | // @@protoc_insertion_point(field_get:yb.server.ServerStatusPB.node_instance) |
1950 | 17.2k | return p != NULL ? *p : *reinterpret_cast<const ::yb::NodeInstancePB*>( |
1951 | 0 | &::yb::_NodeInstancePB_default_instance_); |
1952 | 17.2k | } |
1953 | 0 | inline ::yb::NodeInstancePB* ServerStatusPB::release_node_instance() { |
1954 | 0 | // @@protoc_insertion_point(field_release:yb.server.ServerStatusPB.node_instance) |
1955 | 0 | clear_has_node_instance(); |
1956 | 0 | ::yb::NodeInstancePB* temp = node_instance_; |
1957 | 0 | node_instance_ = NULL; |
1958 | 0 | return temp; |
1959 | 0 | } |
1960 | 4.35k | inline ::yb::NodeInstancePB* ServerStatusPB::mutable_node_instance() { |
1961 | 4.35k | set_has_node_instance(); |
1962 | 4.35k | if (node_instance_ == NULL) { |
1963 | 4.35k | node_instance_ = new ::yb::NodeInstancePB; |
1964 | 4.35k | } |
1965 | | // @@protoc_insertion_point(field_mutable:yb.server.ServerStatusPB.node_instance) |
1966 | 4.35k | return node_instance_; |
1967 | 4.35k | } |
1968 | 0 | inline void ServerStatusPB::set_allocated_node_instance(::yb::NodeInstancePB* node_instance) { |
1969 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
1970 | 0 | if (message_arena == NULL) { |
1971 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(node_instance_); |
1972 | 0 | } |
1973 | 0 | if (node_instance) { |
1974 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
1975 | 0 | if (message_arena != submessage_arena) { |
1976 | 0 | node_instance = ::google::protobuf::internal::GetOwnedMessage( |
1977 | 0 | message_arena, node_instance, submessage_arena); |
1978 | 0 | } |
1979 | 0 | set_has_node_instance(); |
1980 | 0 | } else { |
1981 | 0 | clear_has_node_instance(); |
1982 | 0 | } |
1983 | 0 | node_instance_ = node_instance; |
1984 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.ServerStatusPB.node_instance) |
1985 | 0 | } |
1986 | | |
1987 | | // repeated .yb.HostPortPB bound_rpc_addresses = 2; |
1988 | 56.5k | inline int ServerStatusPB::bound_rpc_addresses_size() const { |
1989 | 56.5k | return bound_rpc_addresses_.size(); |
1990 | 56.5k | } |
1991 | 56.5k | inline const ::yb::HostPortPB& ServerStatusPB::bound_rpc_addresses(int index) const { |
1992 | | // @@protoc_insertion_point(field_get:yb.server.ServerStatusPB.bound_rpc_addresses) |
1993 | 56.5k | return bound_rpc_addresses_.Get(index); |
1994 | 56.5k | } |
1995 | 0 | inline ::yb::HostPortPB* ServerStatusPB::mutable_bound_rpc_addresses(int index) { |
1996 | 0 | // @@protoc_insertion_point(field_mutable:yb.server.ServerStatusPB.bound_rpc_addresses) |
1997 | 0 | return bound_rpc_addresses_.Mutable(index); |
1998 | 0 | } |
1999 | 4.35k | inline ::yb::HostPortPB* ServerStatusPB::add_bound_rpc_addresses() { |
2000 | | // @@protoc_insertion_point(field_add:yb.server.ServerStatusPB.bound_rpc_addresses) |
2001 | 4.35k | return bound_rpc_addresses_.Add(); |
2002 | 4.35k | } |
2003 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
2004 | 0 | ServerStatusPB::mutable_bound_rpc_addresses() { |
2005 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.server.ServerStatusPB.bound_rpc_addresses) |
2006 | 0 | return &bound_rpc_addresses_; |
2007 | 0 | } |
2008 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
2009 | 4.35k | ServerStatusPB::bound_rpc_addresses() const { |
2010 | | // @@protoc_insertion_point(field_list:yb.server.ServerStatusPB.bound_rpc_addresses) |
2011 | 4.35k | return bound_rpc_addresses_; |
2012 | 4.35k | } |
2013 | | |
2014 | | // repeated .yb.HostPortPB bound_http_addresses = 3; |
2015 | 6.05k | inline int ServerStatusPB::bound_http_addresses_size() const { |
2016 | 6.05k | return bound_http_addresses_.size(); |
2017 | 6.05k | } |
2018 | 6.72k | inline const ::yb::HostPortPB& ServerStatusPB::bound_http_addresses(int index) const { |
2019 | | // @@protoc_insertion_point(field_get:yb.server.ServerStatusPB.bound_http_addresses) |
2020 | 6.72k | return bound_http_addresses_.Get(index); |
2021 | 6.72k | } |
2022 | 0 | inline ::yb::HostPortPB* ServerStatusPB::mutable_bound_http_addresses(int index) { |
2023 | 0 | // @@protoc_insertion_point(field_mutable:yb.server.ServerStatusPB.bound_http_addresses) |
2024 | 0 | return bound_http_addresses_.Mutable(index); |
2025 | 0 | } |
2026 | 5.02k | inline ::yb::HostPortPB* ServerStatusPB::add_bound_http_addresses() { |
2027 | | // @@protoc_insertion_point(field_add:yb.server.ServerStatusPB.bound_http_addresses) |
2028 | 5.02k | return bound_http_addresses_.Add(); |
2029 | 5.02k | } |
2030 | | inline ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >* |
2031 | 0 | ServerStatusPB::mutable_bound_http_addresses() { |
2032 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.server.ServerStatusPB.bound_http_addresses) |
2033 | 0 | return &bound_http_addresses_; |
2034 | 0 | } |
2035 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::HostPortPB >& |
2036 | 4.35k | ServerStatusPB::bound_http_addresses() const { |
2037 | | // @@protoc_insertion_point(field_list:yb.server.ServerStatusPB.bound_http_addresses) |
2038 | 4.35k | return bound_http_addresses_; |
2039 | 4.35k | } |
2040 | | |
2041 | | // optional .yb.VersionInfoPB version_info = 4; |
2042 | 2.54k | inline bool ServerStatusPB::has_version_info() const { |
2043 | 2.54k | return (_has_bits_[0] & 0x00000002u) != 0; |
2044 | 2.54k | } |
2045 | 4.35k | inline void ServerStatusPB::set_has_version_info() { |
2046 | 4.35k | _has_bits_[0] |= 0x00000002u; |
2047 | 4.35k | } |
2048 | 0 | inline void ServerStatusPB::clear_has_version_info() { |
2049 | 0 | _has_bits_[0] &= ~0x00000002u; |
2050 | 0 | } |
2051 | 0 | inline const ::yb::VersionInfoPB& ServerStatusPB::version_info() const { |
2052 | 0 | const ::yb::VersionInfoPB* p = version_info_; |
2053 | 0 | // @@protoc_insertion_point(field_get:yb.server.ServerStatusPB.version_info) |
2054 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::VersionInfoPB*>( |
2055 | 0 | &::yb::_VersionInfoPB_default_instance_); |
2056 | 0 | } |
2057 | 0 | inline ::yb::VersionInfoPB* ServerStatusPB::release_version_info() { |
2058 | 0 | // @@protoc_insertion_point(field_release:yb.server.ServerStatusPB.version_info) |
2059 | 0 | clear_has_version_info(); |
2060 | 0 | ::yb::VersionInfoPB* temp = version_info_; |
2061 | 0 | version_info_ = NULL; |
2062 | 0 | return temp; |
2063 | 0 | } |
2064 | 4.35k | inline ::yb::VersionInfoPB* ServerStatusPB::mutable_version_info() { |
2065 | 4.35k | set_has_version_info(); |
2066 | 4.35k | if (version_info_ == NULL) { |
2067 | 4.35k | version_info_ = new ::yb::VersionInfoPB; |
2068 | 4.35k | } |
2069 | | // @@protoc_insertion_point(field_mutable:yb.server.ServerStatusPB.version_info) |
2070 | 4.35k | return version_info_; |
2071 | 4.35k | } |
2072 | 0 | inline void ServerStatusPB::set_allocated_version_info(::yb::VersionInfoPB* version_info) { |
2073 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2074 | 0 | if (message_arena == NULL) { |
2075 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(version_info_); |
2076 | 0 | } |
2077 | 0 | if (version_info) { |
2078 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2079 | 0 | if (message_arena != submessage_arena) { |
2080 | 0 | version_info = ::google::protobuf::internal::GetOwnedMessage( |
2081 | 0 | message_arena, version_info, submessage_arena); |
2082 | 0 | } |
2083 | 0 | set_has_version_info(); |
2084 | 0 | } else { |
2085 | 0 | clear_has_version_info(); |
2086 | 0 | } |
2087 | 0 | version_info_ = version_info; |
2088 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.ServerStatusPB.version_info) |
2089 | 0 | } |
2090 | | |
2091 | | // ------------------------------------------------------------------- |
2092 | | |
2093 | | // SetFlagRequestPB |
2094 | | |
2095 | | // required string flag = 1; |
2096 | 0 | inline bool SetFlagRequestPB::has_flag() const { |
2097 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
2098 | 0 | } |
2099 | 347 | inline void SetFlagRequestPB::set_has_flag() { |
2100 | 347 | _has_bits_[0] |= 0x00000001u; |
2101 | 347 | } |
2102 | 0 | inline void SetFlagRequestPB::clear_has_flag() { |
2103 | 0 | _has_bits_[0] &= ~0x00000001u; |
2104 | 0 | } |
2105 | 0 | inline void SetFlagRequestPB::clear_flag() { |
2106 | 0 | flag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2107 | 0 | clear_has_flag(); |
2108 | 0 | } |
2109 | 2.08k | inline const ::std::string& SetFlagRequestPB::flag() const { |
2110 | | // @@protoc_insertion_point(field_get:yb.server.SetFlagRequestPB.flag) |
2111 | 2.08k | return flag_.GetNoArena(); |
2112 | 2.08k | } |
2113 | 98 | inline void SetFlagRequestPB::set_flag(const ::std::string& value) { |
2114 | 98 | set_has_flag(); |
2115 | 98 | flag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2116 | | // @@protoc_insertion_point(field_set:yb.server.SetFlagRequestPB.flag) |
2117 | 98 | } |
2118 | | #if LANG_CXX11 |
2119 | 0 | inline void SetFlagRequestPB::set_flag(::std::string&& value) { |
2120 | 0 | set_has_flag(); |
2121 | 0 | flag_.SetNoArena( |
2122 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2123 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.server.SetFlagRequestPB.flag) |
2124 | 0 | } |
2125 | | #endif |
2126 | 5 | inline void SetFlagRequestPB::set_flag(const char* value) { |
2127 | 5 | GOOGLE_DCHECK(value != NULL); |
2128 | 5 | set_has_flag(); |
2129 | 5 | flag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2130 | | // @@protoc_insertion_point(field_set_char:yb.server.SetFlagRequestPB.flag) |
2131 | 5 | } |
2132 | 0 | inline void SetFlagRequestPB::set_flag(const char* value, size_t size) { |
2133 | 0 | set_has_flag(); |
2134 | 0 | flag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2135 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2136 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.server.SetFlagRequestPB.flag) |
2137 | 0 | } |
2138 | 244 | inline ::std::string* SetFlagRequestPB::mutable_flag() { |
2139 | 244 | set_has_flag(); |
2140 | | // @@protoc_insertion_point(field_mutable:yb.server.SetFlagRequestPB.flag) |
2141 | 244 | return flag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2142 | 244 | } |
2143 | 0 | inline ::std::string* SetFlagRequestPB::release_flag() { |
2144 | 0 | // @@protoc_insertion_point(field_release:yb.server.SetFlagRequestPB.flag) |
2145 | 0 | clear_has_flag(); |
2146 | 0 | return flag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2147 | 0 | } |
2148 | 0 | inline void SetFlagRequestPB::set_allocated_flag(::std::string* flag) { |
2149 | 0 | if (flag != NULL) { |
2150 | 0 | set_has_flag(); |
2151 | 0 | } else { |
2152 | 0 | clear_has_flag(); |
2153 | 0 | } |
2154 | 0 | flag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), flag); |
2155 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.SetFlagRequestPB.flag) |
2156 | 0 | } |
2157 | | |
2158 | | // required string value = 2; |
2159 | 0 | inline bool SetFlagRequestPB::has_value() const { |
2160 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
2161 | 0 | } |
2162 | 347 | inline void SetFlagRequestPB::set_has_value() { |
2163 | 347 | _has_bits_[0] |= 0x00000002u; |
2164 | 347 | } |
2165 | 0 | inline void SetFlagRequestPB::clear_has_value() { |
2166 | 0 | _has_bits_[0] &= ~0x00000002u; |
2167 | 0 | } |
2168 | 0 | inline void SetFlagRequestPB::clear_value() { |
2169 | 0 | value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2170 | 0 | clear_has_value(); |
2171 | 0 | } |
2172 | 1.48k | inline const ::std::string& SetFlagRequestPB::value() const { |
2173 | | // @@protoc_insertion_point(field_get:yb.server.SetFlagRequestPB.value) |
2174 | 1.48k | return value_.GetNoArena(); |
2175 | 1.48k | } |
2176 | 98 | inline void SetFlagRequestPB::set_value(const ::std::string& value) { |
2177 | 98 | set_has_value(); |
2178 | 98 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2179 | | // @@protoc_insertion_point(field_set:yb.server.SetFlagRequestPB.value) |
2180 | 98 | } |
2181 | | #if LANG_CXX11 |
2182 | 0 | inline void SetFlagRequestPB::set_value(::std::string&& value) { |
2183 | 0 | set_has_value(); |
2184 | 0 | value_.SetNoArena( |
2185 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2186 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.server.SetFlagRequestPB.value) |
2187 | 0 | } |
2188 | | #endif |
2189 | 5 | inline void SetFlagRequestPB::set_value(const char* value) { |
2190 | 5 | GOOGLE_DCHECK(value != NULL); |
2191 | 5 | set_has_value(); |
2192 | 5 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2193 | | // @@protoc_insertion_point(field_set_char:yb.server.SetFlagRequestPB.value) |
2194 | 5 | } |
2195 | 0 | inline void SetFlagRequestPB::set_value(const char* value, size_t size) { |
2196 | 0 | set_has_value(); |
2197 | 0 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2198 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2199 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.server.SetFlagRequestPB.value) |
2200 | 0 | } |
2201 | 244 | inline ::std::string* SetFlagRequestPB::mutable_value() { |
2202 | 244 | set_has_value(); |
2203 | | // @@protoc_insertion_point(field_mutable:yb.server.SetFlagRequestPB.value) |
2204 | 244 | return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2205 | 244 | } |
2206 | 0 | inline ::std::string* SetFlagRequestPB::release_value() { |
2207 | 0 | // @@protoc_insertion_point(field_release:yb.server.SetFlagRequestPB.value) |
2208 | 0 | clear_has_value(); |
2209 | 0 | return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2210 | 0 | } |
2211 | 0 | inline void SetFlagRequestPB::set_allocated_value(::std::string* value) { |
2212 | 0 | if (value != NULL) { |
2213 | 0 | set_has_value(); |
2214 | 0 | } else { |
2215 | 0 | clear_has_value(); |
2216 | 0 | } |
2217 | 0 | value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2218 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.SetFlagRequestPB.value) |
2219 | 0 | } |
2220 | | |
2221 | | // optional bool force = 3 [default = false]; |
2222 | 206 | inline bool SetFlagRequestPB::has_force() const { |
2223 | 206 | return (_has_bits_[0] & 0x00000004u) != 0; |
2224 | 206 | } |
2225 | 339 | inline void SetFlagRequestPB::set_has_force() { |
2226 | 339 | _has_bits_[0] |= 0x00000004u; |
2227 | 339 | } |
2228 | 0 | inline void SetFlagRequestPB::clear_has_force() { |
2229 | 0 | _has_bits_[0] &= ~0x00000004u; |
2230 | 0 | } |
2231 | 0 | inline void SetFlagRequestPB::clear_force() { |
2232 | 0 | force_ = false; |
2233 | 0 | clear_has_force(); |
2234 | 0 | } |
2235 | 209 | inline bool SetFlagRequestPB::force() const { |
2236 | | // @@protoc_insertion_point(field_get:yb.server.SetFlagRequestPB.force) |
2237 | 209 | return force_; |
2238 | 209 | } |
2239 | 99 | inline void SetFlagRequestPB::set_force(bool value) { |
2240 | 99 | set_has_force(); |
2241 | 99 | force_ = value; |
2242 | | // @@protoc_insertion_point(field_set:yb.server.SetFlagRequestPB.force) |
2243 | 99 | } |
2244 | | |
2245 | | // ------------------------------------------------------------------- |
2246 | | |
2247 | | // SetFlagResponsePB |
2248 | | |
2249 | | // required .yb.server.SetFlagResponsePB.Code result = 1; |
2250 | 488 | inline bool SetFlagResponsePB::has_result() const { |
2251 | 488 | return (_has_bits_[0] & 0x00000004u) != 0; |
2252 | 488 | } |
2253 | 346 | inline void SetFlagResponsePB::set_has_result() { |
2254 | 346 | _has_bits_[0] |= 0x00000004u; |
2255 | 346 | } |
2256 | 0 | inline void SetFlagResponsePB::clear_has_result() { |
2257 | 0 | _has_bits_[0] &= ~0x00000004u; |
2258 | 0 | } |
2259 | 0 | inline void SetFlagResponsePB::clear_result() { |
2260 | 0 | result_ = 0; |
2261 | 0 | clear_has_result(); |
2262 | 0 | } |
2263 | 834 | inline ::yb::server::SetFlagResponsePB_Code SetFlagResponsePB::result() const { |
2264 | | // @@protoc_insertion_point(field_get:yb.server.SetFlagResponsePB.result) |
2265 | 834 | return static_cast< ::yb::server::SetFlagResponsePB_Code >(result_); |
2266 | 834 | } |
2267 | 346 | inline void SetFlagResponsePB::set_result(::yb::server::SetFlagResponsePB_Code value) { |
2268 | 346 | assert(::yb::server::SetFlagResponsePB_Code_IsValid(value)); |
2269 | 346 | set_has_result(); |
2270 | 346 | result_ = value; |
2271 | | // @@protoc_insertion_point(field_set:yb.server.SetFlagResponsePB.result) |
2272 | 346 | } |
2273 | | |
2274 | | // optional string msg = 2; |
2275 | 486 | inline bool SetFlagResponsePB::has_msg() const { |
2276 | 486 | return (_has_bits_[0] & 0x00000001u) != 0; |
2277 | 486 | } |
2278 | 344 | inline void SetFlagResponsePB::set_has_msg() { |
2279 | 344 | _has_bits_[0] |= 0x00000001u; |
2280 | 344 | } |
2281 | 0 | inline void SetFlagResponsePB::clear_has_msg() { |
2282 | 0 | _has_bits_[0] &= ~0x00000001u; |
2283 | 0 | } |
2284 | 0 | inline void SetFlagResponsePB::clear_msg() { |
2285 | 0 | msg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2286 | 0 | clear_has_msg(); |
2287 | 0 | } |
2288 | 1.42k | inline const ::std::string& SetFlagResponsePB::msg() const { |
2289 | | // @@protoc_insertion_point(field_get:yb.server.SetFlagResponsePB.msg) |
2290 | 1.42k | return msg_.GetNoArena(); |
2291 | 1.42k | } |
2292 | 241 | inline void SetFlagResponsePB::set_msg(const ::std::string& value) { |
2293 | 241 | set_has_msg(); |
2294 | 241 | msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2295 | | // @@protoc_insertion_point(field_set:yb.server.SetFlagResponsePB.msg) |
2296 | 241 | } |
2297 | | #if LANG_CXX11 |
2298 | 0 | inline void SetFlagResponsePB::set_msg(::std::string&& value) { |
2299 | 0 | set_has_msg(); |
2300 | 0 | msg_.SetNoArena( |
2301 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2302 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.server.SetFlagResponsePB.msg) |
2303 | 0 | } |
2304 | | #endif |
2305 | 2 | inline void SetFlagResponsePB::set_msg(const char* value) { |
2306 | 2 | GOOGLE_DCHECK(value != NULL); |
2307 | 2 | set_has_msg(); |
2308 | 2 | msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2309 | | // @@protoc_insertion_point(field_set_char:yb.server.SetFlagResponsePB.msg) |
2310 | 2 | } |
2311 | 0 | inline void SetFlagResponsePB::set_msg(const char* value, size_t size) { |
2312 | 0 | set_has_msg(); |
2313 | 0 | msg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2314 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2315 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.server.SetFlagResponsePB.msg) |
2316 | 0 | } |
2317 | 101 | inline ::std::string* SetFlagResponsePB::mutable_msg() { |
2318 | 101 | set_has_msg(); |
2319 | | // @@protoc_insertion_point(field_mutable:yb.server.SetFlagResponsePB.msg) |
2320 | 101 | return msg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2321 | 101 | } |
2322 | 0 | inline ::std::string* SetFlagResponsePB::release_msg() { |
2323 | 0 | // @@protoc_insertion_point(field_release:yb.server.SetFlagResponsePB.msg) |
2324 | 0 | clear_has_msg(); |
2325 | 0 | return msg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2326 | 0 | } |
2327 | 0 | inline void SetFlagResponsePB::set_allocated_msg(::std::string* msg) { |
2328 | 0 | if (msg != NULL) { |
2329 | 0 | set_has_msg(); |
2330 | 0 | } else { |
2331 | 0 | clear_has_msg(); |
2332 | 0 | } |
2333 | 0 | msg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), msg); |
2334 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.SetFlagResponsePB.msg) |
2335 | 0 | } |
2336 | | |
2337 | | // optional string old_value = 3; |
2338 | 486 | inline bool SetFlagResponsePB::has_old_value() const { |
2339 | 486 | return (_has_bits_[0] & 0x00000002u) != 0; |
2340 | 486 | } |
2341 | 342 | inline void SetFlagResponsePB::set_has_old_value() { |
2342 | 342 | _has_bits_[0] |= 0x00000002u; |
2343 | 342 | } |
2344 | 0 | inline void SetFlagResponsePB::clear_has_old_value() { |
2345 | 0 | _has_bits_[0] &= ~0x00000002u; |
2346 | 0 | } |
2347 | 0 | inline void SetFlagResponsePB::clear_old_value() { |
2348 | 0 | old_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2349 | 0 | clear_has_old_value(); |
2350 | 0 | } |
2351 | 1.41k | inline const ::std::string& SetFlagResponsePB::old_value() const { |
2352 | | // @@protoc_insertion_point(field_get:yb.server.SetFlagResponsePB.old_value) |
2353 | 1.41k | return old_value_.GetNoArena(); |
2354 | 1.41k | } |
2355 | 242 | inline void SetFlagResponsePB::set_old_value(const ::std::string& value) { |
2356 | 242 | set_has_old_value(); |
2357 | 242 | old_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2358 | | // @@protoc_insertion_point(field_set:yb.server.SetFlagResponsePB.old_value) |
2359 | 242 | } |
2360 | | #if LANG_CXX11 |
2361 | 0 | inline void SetFlagResponsePB::set_old_value(::std::string&& value) { |
2362 | 0 | set_has_old_value(); |
2363 | 0 | old_value_.SetNoArena( |
2364 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2365 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.server.SetFlagResponsePB.old_value) |
2366 | 0 | } |
2367 | | #endif |
2368 | 0 | inline void SetFlagResponsePB::set_old_value(const char* value) { |
2369 | 0 | GOOGLE_DCHECK(value != NULL); |
2370 | 0 | set_has_old_value(); |
2371 | 0 | old_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2372 | 0 | // @@protoc_insertion_point(field_set_char:yb.server.SetFlagResponsePB.old_value) |
2373 | 0 | } |
2374 | 0 | inline void SetFlagResponsePB::set_old_value(const char* value, size_t size) { |
2375 | 0 | set_has_old_value(); |
2376 | 0 | old_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2377 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2378 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.server.SetFlagResponsePB.old_value) |
2379 | 0 | } |
2380 | 100 | inline ::std::string* SetFlagResponsePB::mutable_old_value() { |
2381 | 100 | set_has_old_value(); |
2382 | | // @@protoc_insertion_point(field_mutable:yb.server.SetFlagResponsePB.old_value) |
2383 | 100 | return old_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2384 | 100 | } |
2385 | 0 | inline ::std::string* SetFlagResponsePB::release_old_value() { |
2386 | 0 | // @@protoc_insertion_point(field_release:yb.server.SetFlagResponsePB.old_value) |
2387 | 0 | clear_has_old_value(); |
2388 | 0 | return old_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2389 | 0 | } |
2390 | 0 | inline void SetFlagResponsePB::set_allocated_old_value(::std::string* old_value) { |
2391 | 0 | if (old_value != NULL) { |
2392 | 0 | set_has_old_value(); |
2393 | 0 | } else { |
2394 | 0 | clear_has_old_value(); |
2395 | 0 | } |
2396 | 0 | old_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), old_value); |
2397 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.SetFlagResponsePB.old_value) |
2398 | 0 | } |
2399 | | |
2400 | | // ------------------------------------------------------------------- |
2401 | | |
2402 | | // RefreshFlagsRequestPB |
2403 | | |
2404 | | // ------------------------------------------------------------------- |
2405 | | |
2406 | | // RefreshFlagsResponsePB |
2407 | | |
2408 | | // ------------------------------------------------------------------- |
2409 | | |
2410 | | // GetFlagRequestPB |
2411 | | |
2412 | | // optional string flag = 1; |
2413 | 50 | inline bool GetFlagRequestPB::has_flag() const { |
2414 | 50 | return (_has_bits_[0] & 0x00000001u) != 0; |
2415 | 50 | } |
2416 | 50 | inline void GetFlagRequestPB::set_has_flag() { |
2417 | 50 | _has_bits_[0] |= 0x00000001u; |
2418 | 50 | } |
2419 | 0 | inline void GetFlagRequestPB::clear_has_flag() { |
2420 | 0 | _has_bits_[0] &= ~0x00000001u; |
2421 | 0 | } |
2422 | 0 | inline void GetFlagRequestPB::clear_flag() { |
2423 | 0 | flag_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2424 | 0 | clear_has_flag(); |
2425 | 0 | } |
2426 | 200 | inline const ::std::string& GetFlagRequestPB::flag() const { |
2427 | | // @@protoc_insertion_point(field_get:yb.server.GetFlagRequestPB.flag) |
2428 | 200 | return flag_.GetNoArena(); |
2429 | 200 | } |
2430 | 25 | inline void GetFlagRequestPB::set_flag(const ::std::string& value) { |
2431 | 25 | set_has_flag(); |
2432 | 25 | flag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2433 | | // @@protoc_insertion_point(field_set:yb.server.GetFlagRequestPB.flag) |
2434 | 25 | } |
2435 | | #if LANG_CXX11 |
2436 | 0 | inline void GetFlagRequestPB::set_flag(::std::string&& value) { |
2437 | 0 | set_has_flag(); |
2438 | 0 | flag_.SetNoArena( |
2439 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2440 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.server.GetFlagRequestPB.flag) |
2441 | 0 | } |
2442 | | #endif |
2443 | 0 | inline void GetFlagRequestPB::set_flag(const char* value) { |
2444 | 0 | GOOGLE_DCHECK(value != NULL); |
2445 | 0 | set_has_flag(); |
2446 | 0 | flag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2447 | 0 | // @@protoc_insertion_point(field_set_char:yb.server.GetFlagRequestPB.flag) |
2448 | 0 | } |
2449 | 0 | inline void GetFlagRequestPB::set_flag(const char* value, size_t size) { |
2450 | 0 | set_has_flag(); |
2451 | 0 | flag_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2452 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2453 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.server.GetFlagRequestPB.flag) |
2454 | 0 | } |
2455 | 25 | inline ::std::string* GetFlagRequestPB::mutable_flag() { |
2456 | 25 | set_has_flag(); |
2457 | | // @@protoc_insertion_point(field_mutable:yb.server.GetFlagRequestPB.flag) |
2458 | 25 | return flag_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2459 | 25 | } |
2460 | 0 | inline ::std::string* GetFlagRequestPB::release_flag() { |
2461 | 0 | // @@protoc_insertion_point(field_release:yb.server.GetFlagRequestPB.flag) |
2462 | 0 | clear_has_flag(); |
2463 | 0 | return flag_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2464 | 0 | } |
2465 | 0 | inline void GetFlagRequestPB::set_allocated_flag(::std::string* flag) { |
2466 | 0 | if (flag != NULL) { |
2467 | 0 | set_has_flag(); |
2468 | 0 | } else { |
2469 | 0 | clear_has_flag(); |
2470 | 0 | } |
2471 | 0 | flag_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), flag); |
2472 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.GetFlagRequestPB.flag) |
2473 | 0 | } |
2474 | | |
2475 | | // ------------------------------------------------------------------- |
2476 | | |
2477 | | // GetFlagResponsePB |
2478 | | |
2479 | | // optional bool valid = 1 [default = true]; |
2480 | 50 | inline bool GetFlagResponsePB::has_valid() const { |
2481 | 50 | return (_has_bits_[0] & 0x00000002u) != 0; |
2482 | 50 | } |
2483 | 0 | inline void GetFlagResponsePB::set_has_valid() { |
2484 | 0 | _has_bits_[0] |= 0x00000002u; |
2485 | 0 | } |
2486 | 0 | inline void GetFlagResponsePB::clear_has_valid() { |
2487 | 0 | _has_bits_[0] &= ~0x00000002u; |
2488 | 0 | } |
2489 | 0 | inline void GetFlagResponsePB::clear_valid() { |
2490 | 0 | valid_ = true; |
2491 | 0 | clear_has_valid(); |
2492 | 0 | } |
2493 | 25 | inline bool GetFlagResponsePB::valid() const { |
2494 | | // @@protoc_insertion_point(field_get:yb.server.GetFlagResponsePB.valid) |
2495 | 25 | return valid_; |
2496 | 25 | } |
2497 | 0 | inline void GetFlagResponsePB::set_valid(bool value) { |
2498 | 0 | set_has_valid(); |
2499 | 0 | valid_ = value; |
2500 | 0 | // @@protoc_insertion_point(field_set:yb.server.GetFlagResponsePB.valid) |
2501 | 0 | } |
2502 | | |
2503 | | // optional string value = 2; |
2504 | 50 | inline bool GetFlagResponsePB::has_value() const { |
2505 | 50 | return (_has_bits_[0] & 0x00000001u) != 0; |
2506 | 50 | } |
2507 | 50 | inline void GetFlagResponsePB::set_has_value() { |
2508 | 50 | _has_bits_[0] |= 0x00000001u; |
2509 | 50 | } |
2510 | 0 | inline void GetFlagResponsePB::clear_has_value() { |
2511 | 0 | _has_bits_[0] &= ~0x00000001u; |
2512 | 0 | } |
2513 | 0 | inline void GetFlagResponsePB::clear_value() { |
2514 | 0 | value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2515 | 0 | clear_has_value(); |
2516 | 0 | } |
2517 | 200 | inline const ::std::string& GetFlagResponsePB::value() const { |
2518 | | // @@protoc_insertion_point(field_get:yb.server.GetFlagResponsePB.value) |
2519 | 200 | return value_.GetNoArena(); |
2520 | 200 | } |
2521 | 25 | inline void GetFlagResponsePB::set_value(const ::std::string& value) { |
2522 | 25 | set_has_value(); |
2523 | 25 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2524 | | // @@protoc_insertion_point(field_set:yb.server.GetFlagResponsePB.value) |
2525 | 25 | } |
2526 | | #if LANG_CXX11 |
2527 | 0 | inline void GetFlagResponsePB::set_value(::std::string&& value) { |
2528 | 0 | set_has_value(); |
2529 | 0 | value_.SetNoArena( |
2530 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2531 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.server.GetFlagResponsePB.value) |
2532 | 0 | } |
2533 | | #endif |
2534 | 0 | inline void GetFlagResponsePB::set_value(const char* value) { |
2535 | 0 | GOOGLE_DCHECK(value != NULL); |
2536 | 0 | set_has_value(); |
2537 | 0 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2538 | 0 | // @@protoc_insertion_point(field_set_char:yb.server.GetFlagResponsePB.value) |
2539 | 0 | } |
2540 | 0 | inline void GetFlagResponsePB::set_value(const char* value, size_t size) { |
2541 | 0 | set_has_value(); |
2542 | 0 | value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2543 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2544 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.server.GetFlagResponsePB.value) |
2545 | 0 | } |
2546 | 25 | inline ::std::string* GetFlagResponsePB::mutable_value() { |
2547 | 25 | set_has_value(); |
2548 | | // @@protoc_insertion_point(field_mutable:yb.server.GetFlagResponsePB.value) |
2549 | 25 | return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2550 | 25 | } |
2551 | 0 | inline ::std::string* GetFlagResponsePB::release_value() { |
2552 | 0 | // @@protoc_insertion_point(field_release:yb.server.GetFlagResponsePB.value) |
2553 | 0 | clear_has_value(); |
2554 | 0 | return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2555 | 0 | } |
2556 | 0 | inline void GetFlagResponsePB::set_allocated_value(::std::string* value) { |
2557 | 0 | if (value != NULL) { |
2558 | 0 | set_has_value(); |
2559 | 0 | } else { |
2560 | 0 | clear_has_value(); |
2561 | 0 | } |
2562 | 0 | value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2563 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.GetFlagResponsePB.value) |
2564 | 0 | } |
2565 | | |
2566 | | // ------------------------------------------------------------------- |
2567 | | |
2568 | | // FlushCoverageRequestPB |
2569 | | |
2570 | | // ------------------------------------------------------------------- |
2571 | | |
2572 | | // FlushCoverageResponsePB |
2573 | | |
2574 | | // optional bool success = 1; |
2575 | 0 | inline bool FlushCoverageResponsePB::has_success() const { |
2576 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
2577 | 0 | } |
2578 | 0 | inline void FlushCoverageResponsePB::set_has_success() { |
2579 | 0 | _has_bits_[0] |= 0x00000001u; |
2580 | 0 | } |
2581 | 0 | inline void FlushCoverageResponsePB::clear_has_success() { |
2582 | 0 | _has_bits_[0] &= ~0x00000001u; |
2583 | 0 | } |
2584 | 0 | inline void FlushCoverageResponsePB::clear_success() { |
2585 | 0 | success_ = false; |
2586 | 0 | clear_has_success(); |
2587 | 0 | } |
2588 | 0 | inline bool FlushCoverageResponsePB::success() const { |
2589 | 0 | // @@protoc_insertion_point(field_get:yb.server.FlushCoverageResponsePB.success) |
2590 | 0 | return success_; |
2591 | 0 | } |
2592 | 0 | inline void FlushCoverageResponsePB::set_success(bool value) { |
2593 | 0 | set_has_success(); |
2594 | 0 | success_ = value; |
2595 | 0 | // @@protoc_insertion_point(field_set:yb.server.FlushCoverageResponsePB.success) |
2596 | 0 | } |
2597 | | |
2598 | | // ------------------------------------------------------------------- |
2599 | | |
2600 | | // ServerClockRequestPB |
2601 | | |
2602 | | // ------------------------------------------------------------------- |
2603 | | |
2604 | | // ServerClockResponsePB |
2605 | | |
2606 | | // optional fixed64 hybrid_time = 1; |
2607 | 2 | inline bool ServerClockResponsePB::has_hybrid_time() const { |
2608 | 2 | return (_has_bits_[0] & 0x00000001u) != 0; |
2609 | 2 | } |
2610 | 2 | inline void ServerClockResponsePB::set_has_hybrid_time() { |
2611 | 2 | _has_bits_[0] |= 0x00000001u; |
2612 | 2 | } |
2613 | 0 | inline void ServerClockResponsePB::clear_has_hybrid_time() { |
2614 | 0 | _has_bits_[0] &= ~0x00000001u; |
2615 | 0 | } |
2616 | 0 | inline void ServerClockResponsePB::clear_hybrid_time() { |
2617 | 0 | hybrid_time_ = GOOGLE_ULONGLONG(0); |
2618 | 0 | clear_has_hybrid_time(); |
2619 | 0 | } |
2620 | 2 | inline ::google::protobuf::uint64 ServerClockResponsePB::hybrid_time() const { |
2621 | | // @@protoc_insertion_point(field_get:yb.server.ServerClockResponsePB.hybrid_time) |
2622 | 2 | return hybrid_time_; |
2623 | 2 | } |
2624 | 1 | inline void ServerClockResponsePB::set_hybrid_time(::google::protobuf::uint64 value) { |
2625 | 1 | set_has_hybrid_time(); |
2626 | 1 | hybrid_time_ = value; |
2627 | | // @@protoc_insertion_point(field_set:yb.server.ServerClockResponsePB.hybrid_time) |
2628 | 1 | } |
2629 | | |
2630 | | // ------------------------------------------------------------------- |
2631 | | |
2632 | | // GetStatusRequestPB |
2633 | | |
2634 | | // ------------------------------------------------------------------- |
2635 | | |
2636 | | // GetStatusResponsePB |
2637 | | |
2638 | | // required .yb.server.ServerStatusPB status = 1; |
2639 | 5 | inline bool GetStatusResponsePB::has_status() const { |
2640 | 5 | return (_has_bits_[0] & 0x00000001u) != 0; |
2641 | 5 | } |
2642 | 3 | inline void GetStatusResponsePB::set_has_status() { |
2643 | 3 | _has_bits_[0] |= 0x00000001u; |
2644 | 3 | } |
2645 | 0 | inline void GetStatusResponsePB::clear_has_status() { |
2646 | 0 | _has_bits_[0] &= ~0x00000001u; |
2647 | 0 | } |
2648 | 0 | inline void GetStatusResponsePB::clear_status() { |
2649 | 0 | if (status_ != NULL) status_->Clear(); |
2650 | 0 | clear_has_status(); |
2651 | 0 | } |
2652 | 0 | inline const ::yb::server::ServerStatusPB& GetStatusResponsePB::status() const { |
2653 | 0 | const ::yb::server::ServerStatusPB* p = status_; |
2654 | 0 | // @@protoc_insertion_point(field_get:yb.server.GetStatusResponsePB.status) |
2655 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::server::ServerStatusPB*>( |
2656 | 0 | &::yb::server::_ServerStatusPB_default_instance_); |
2657 | 0 | } |
2658 | 0 | inline ::yb::server::ServerStatusPB* GetStatusResponsePB::release_status() { |
2659 | 0 | // @@protoc_insertion_point(field_release:yb.server.GetStatusResponsePB.status) |
2660 | 0 | clear_has_status(); |
2661 | 0 | ::yb::server::ServerStatusPB* temp = status_; |
2662 | 0 | status_ = NULL; |
2663 | 0 | return temp; |
2664 | 0 | } |
2665 | 3 | inline ::yb::server::ServerStatusPB* GetStatusResponsePB::mutable_status() { |
2666 | 3 | set_has_status(); |
2667 | 3 | if (status_ == NULL) { |
2668 | 2 | status_ = new ::yb::server::ServerStatusPB; |
2669 | 2 | } |
2670 | | // @@protoc_insertion_point(field_mutable:yb.server.GetStatusResponsePB.status) |
2671 | 3 | return status_; |
2672 | 3 | } |
2673 | 0 | inline void GetStatusResponsePB::set_allocated_status(::yb::server::ServerStatusPB* status) { |
2674 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2675 | 0 | if (message_arena == NULL) { |
2676 | 0 | delete status_; |
2677 | 0 | } |
2678 | 0 | if (status) { |
2679 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2680 | 0 | if (message_arena != submessage_arena) { |
2681 | 0 | status = ::google::protobuf::internal::GetOwnedMessage( |
2682 | 0 | message_arena, status, submessage_arena); |
2683 | 0 | } |
2684 | 0 | set_has_status(); |
2685 | 0 | } else { |
2686 | 0 | clear_has_status(); |
2687 | 0 | } |
2688 | 0 | status_ = status; |
2689 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.server.GetStatusResponsePB.status) |
2690 | 0 | } |
2691 | | |
2692 | | // ------------------------------------------------------------------- |
2693 | | |
2694 | | // PingRequestPB |
2695 | | |
2696 | | // ------------------------------------------------------------------- |
2697 | | |
2698 | | // PingResponsePB |
2699 | | |
2700 | | #ifdef __GNUC__ |
2701 | | #pragma GCC diagnostic pop |
2702 | | #endif // __GNUC__ |
2703 | | // ------------------------------------------------------------------- |
2704 | | |
2705 | | // ------------------------------------------------------------------- |
2706 | | |
2707 | | // ------------------------------------------------------------------- |
2708 | | |
2709 | | // ------------------------------------------------------------------- |
2710 | | |
2711 | | // ------------------------------------------------------------------- |
2712 | | |
2713 | | // ------------------------------------------------------------------- |
2714 | | |
2715 | | // ------------------------------------------------------------------- |
2716 | | |
2717 | | // ------------------------------------------------------------------- |
2718 | | |
2719 | | // ------------------------------------------------------------------- |
2720 | | |
2721 | | // ------------------------------------------------------------------- |
2722 | | |
2723 | | // ------------------------------------------------------------------- |
2724 | | |
2725 | | // ------------------------------------------------------------------- |
2726 | | |
2727 | | // ------------------------------------------------------------------- |
2728 | | |
2729 | | // ------------------------------------------------------------------- |
2730 | | |
2731 | | |
2732 | | // @@protoc_insertion_point(namespace_scope) |
2733 | | |
2734 | | } // namespace server |
2735 | | } // namespace yb |
2736 | | |
2737 | | namespace google { |
2738 | | namespace protobuf { |
2739 | | |
2740 | | template <> struct is_proto_enum< ::yb::server::SetFlagResponsePB_Code> : ::google::protobuf::internal::true_type {}; |
2741 | | template <> |
2742 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::server::SetFlagResponsePB_Code>() { |
2743 | 0 | return ::yb::server::SetFlagResponsePB_Code_descriptor(); |
2744 | 0 | } |
2745 | | |
2746 | | } // namespace protobuf |
2747 | | } // namespace google |
2748 | | |
2749 | | // @@protoc_insertion_point(global_scope) |
2750 | | |
2751 | | #endif // PROTOBUF_yb_2fserver_2fserver_5fbase_2eproto__INCLUDED |