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