/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/common/ql_protocol.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/common/ql_protocol.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fcommon_2fql_5fprotocol_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fcommon_2fql_5fprotocol_2eproto__INCLUDED |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3005000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata.h> |
28 | | #include <google/protobuf/message.h> |
29 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
30 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
31 | | #include <google/protobuf/generated_enum_reflection.h> |
32 | | #include <google/protobuf/unknown_field_set.h> |
33 | | #include "yb/common/common.pb.h" |
34 | | #include "yb/common/common_net.pb.h" |
35 | | #include "yb/common/common_types.pb.h" |
36 | | // @@protoc_insertion_point(includes) |
37 | | |
38 | | namespace protobuf_yb_2fcommon_2fql_5fprotocol_2eproto { |
39 | | // Internal implementation detail -- do not use these members. |
40 | | struct TableStruct { |
41 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
42 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
43 | | static const ::google::protobuf::internal::ParseTable schema[9]; |
44 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
45 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
46 | | static const ::google::protobuf::uint32 offsets[]; |
47 | | }; |
48 | | void AddDescriptors(); |
49 | | void InitDefaultsQLColumnValuePBImpl(); |
50 | | void InitDefaultsQLColumnValuePB(); |
51 | | void InitDefaultsQLSelectRowCounterPBImpl(); |
52 | | void InitDefaultsQLSelectRowCounterPB(); |
53 | | void InitDefaultsQLPagingStatePBImpl(); |
54 | | void InitDefaultsQLPagingStatePB(); |
55 | | void InitDefaultsQLReferencedColumnsPBImpl(); |
56 | | void InitDefaultsQLReferencedColumnsPB(); |
57 | | void InitDefaultsQLWriteRequestPBImpl(); |
58 | | void InitDefaultsQLWriteRequestPB(); |
59 | | void InitDefaultsQLRSColDescPBImpl(); |
60 | | void InitDefaultsQLRSColDescPB(); |
61 | | void InitDefaultsQLRSRowDescPBImpl(); |
62 | | void InitDefaultsQLRSRowDescPB(); |
63 | | void InitDefaultsQLReadRequestPBImpl(); |
64 | | void InitDefaultsQLReadRequestPB(); |
65 | | void InitDefaultsQLResponsePBImpl(); |
66 | | void InitDefaultsQLResponsePB(); |
67 | 17.1k | inline void InitDefaults() { |
68 | 17.1k | InitDefaultsQLColumnValuePB(); |
69 | 17.1k | InitDefaultsQLSelectRowCounterPB(); |
70 | 17.1k | InitDefaultsQLPagingStatePB(); |
71 | 17.1k | InitDefaultsQLReferencedColumnsPB(); |
72 | 17.1k | InitDefaultsQLWriteRequestPB(); |
73 | 17.1k | InitDefaultsQLRSColDescPB(); |
74 | 17.1k | InitDefaultsQLRSRowDescPB(); |
75 | 17.1k | InitDefaultsQLReadRequestPB(); |
76 | 17.1k | InitDefaultsQLResponsePB(); |
77 | 17.1k | } |
78 | | } // namespace protobuf_yb_2fcommon_2fql_5fprotocol_2eproto |
79 | | namespace yb { |
80 | | class QLColumnValuePB; |
81 | | class QLColumnValuePBDefaultTypeInternal; |
82 | | extern QLColumnValuePBDefaultTypeInternal _QLColumnValuePB_default_instance_; |
83 | | class QLPagingStatePB; |
84 | | class QLPagingStatePBDefaultTypeInternal; |
85 | | extern QLPagingStatePBDefaultTypeInternal _QLPagingStatePB_default_instance_; |
86 | | class QLRSColDescPB; |
87 | | class QLRSColDescPBDefaultTypeInternal; |
88 | | extern QLRSColDescPBDefaultTypeInternal _QLRSColDescPB_default_instance_; |
89 | | class QLRSRowDescPB; |
90 | | class QLRSRowDescPBDefaultTypeInternal; |
91 | | extern QLRSRowDescPBDefaultTypeInternal _QLRSRowDescPB_default_instance_; |
92 | | class QLReadRequestPB; |
93 | | class QLReadRequestPBDefaultTypeInternal; |
94 | | extern QLReadRequestPBDefaultTypeInternal _QLReadRequestPB_default_instance_; |
95 | | class QLReferencedColumnsPB; |
96 | | class QLReferencedColumnsPBDefaultTypeInternal; |
97 | | extern QLReferencedColumnsPBDefaultTypeInternal _QLReferencedColumnsPB_default_instance_; |
98 | | class QLResponsePB; |
99 | | class QLResponsePBDefaultTypeInternal; |
100 | | extern QLResponsePBDefaultTypeInternal _QLResponsePB_default_instance_; |
101 | | class QLSelectRowCounterPB; |
102 | | class QLSelectRowCounterPBDefaultTypeInternal; |
103 | | extern QLSelectRowCounterPBDefaultTypeInternal _QLSelectRowCounterPB_default_instance_; |
104 | | class QLWriteRequestPB; |
105 | | class QLWriteRequestPBDefaultTypeInternal; |
106 | | extern QLWriteRequestPBDefaultTypeInternal _QLWriteRequestPB_default_instance_; |
107 | | } // namespace yb |
108 | | namespace yb { |
109 | | |
110 | | enum QLWriteRequestPB_QLStmtType { |
111 | | QLWriteRequestPB_QLStmtType_QL_STMT_INSERT = 1, |
112 | | QLWriteRequestPB_QLStmtType_QL_STMT_UPDATE = 2, |
113 | | QLWriteRequestPB_QLStmtType_QL_STMT_DELETE = 3 |
114 | | }; |
115 | | bool QLWriteRequestPB_QLStmtType_IsValid(int value); |
116 | | const QLWriteRequestPB_QLStmtType QLWriteRequestPB_QLStmtType_QLStmtType_MIN = QLWriteRequestPB_QLStmtType_QL_STMT_INSERT; |
117 | | const QLWriteRequestPB_QLStmtType QLWriteRequestPB_QLStmtType_QLStmtType_MAX = QLWriteRequestPB_QLStmtType_QL_STMT_DELETE; |
118 | | const int QLWriteRequestPB_QLStmtType_QLStmtType_ARRAYSIZE = QLWriteRequestPB_QLStmtType_QLStmtType_MAX + 1; |
119 | | |
120 | | const ::google::protobuf::EnumDescriptor* QLWriteRequestPB_QLStmtType_descriptor(); |
121 | 0 | inline const ::std::string& QLWriteRequestPB_QLStmtType_Name(QLWriteRequestPB_QLStmtType value) { |
122 | 0 | return ::google::protobuf::internal::NameOfEnum( |
123 | 0 | QLWriteRequestPB_QLStmtType_descriptor(), value); |
124 | 0 | } |
125 | | inline bool QLWriteRequestPB_QLStmtType_Parse( |
126 | 0 | const ::std::string& name, QLWriteRequestPB_QLStmtType* value) { |
127 | 0 | return ::google::protobuf::internal::ParseNamedEnum<QLWriteRequestPB_QLStmtType>( |
128 | 0 | QLWriteRequestPB_QLStmtType_descriptor(), name, value); |
129 | 0 | } |
130 | | enum QLResponsePB_QLStatus { |
131 | | QLResponsePB_QLStatus_YQL_STATUS_OK = 0, |
132 | | QLResponsePB_QLStatus_YQL_STATUS_SCHEMA_VERSION_MISMATCH = 1, |
133 | | QLResponsePB_QLStatus_YQL_STATUS_RUNTIME_ERROR = 2, |
134 | | QLResponsePB_QLStatus_YQL_STATUS_USAGE_ERROR = 3, |
135 | | QLResponsePB_QLStatus_YQL_STATUS_RESTART_REQUIRED_ERROR = 4, |
136 | | QLResponsePB_QLStatus_YQL_STATUS_QUERY_ERROR = 5 |
137 | | }; |
138 | | bool QLResponsePB_QLStatus_IsValid(int value); |
139 | | const QLResponsePB_QLStatus QLResponsePB_QLStatus_QLStatus_MIN = QLResponsePB_QLStatus_YQL_STATUS_OK; |
140 | | const QLResponsePB_QLStatus QLResponsePB_QLStatus_QLStatus_MAX = QLResponsePB_QLStatus_YQL_STATUS_QUERY_ERROR; |
141 | | const int QLResponsePB_QLStatus_QLStatus_ARRAYSIZE = QLResponsePB_QLStatus_QLStatus_MAX + 1; |
142 | | |
143 | | const ::google::protobuf::EnumDescriptor* QLResponsePB_QLStatus_descriptor(); |
144 | 0 | inline const ::std::string& QLResponsePB_QLStatus_Name(QLResponsePB_QLStatus value) { |
145 | 0 | return ::google::protobuf::internal::NameOfEnum( |
146 | 0 | QLResponsePB_QLStatus_descriptor(), value); |
147 | 0 | } |
148 | | inline bool QLResponsePB_QLStatus_Parse( |
149 | 0 | const ::std::string& name, QLResponsePB_QLStatus* value) { |
150 | 0 | return ::google::protobuf::internal::ParseNamedEnum<QLResponsePB_QLStatus>( |
151 | 0 | QLResponsePB_QLStatus_descriptor(), name, value); |
152 | 0 | } |
153 | | // =================================================================== |
154 | | |
155 | | class QLColumnValuePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLColumnValuePB) */ { |
156 | | public: |
157 | | QLColumnValuePB(); |
158 | | virtual ~QLColumnValuePB(); |
159 | | |
160 | | QLColumnValuePB(const QLColumnValuePB& from); |
161 | | |
162 | 0 | inline QLColumnValuePB& operator=(const QLColumnValuePB& from) { |
163 | 0 | CopyFrom(from); |
164 | 0 | return *this; |
165 | 0 | } |
166 | | #if LANG_CXX11 |
167 | | QLColumnValuePB(QLColumnValuePB&& from) noexcept |
168 | 0 | : QLColumnValuePB() { |
169 | 0 | *this = ::std::move(from); |
170 | 0 | } |
171 | | |
172 | 0 | inline QLColumnValuePB& operator=(QLColumnValuePB&& from) noexcept { |
173 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
174 | 0 | if (this != &from) InternalSwap(&from); |
175 | 0 | } else { |
176 | 0 | CopyFrom(from); |
177 | 0 | } |
178 | 0 | return *this; |
179 | 0 | } |
180 | | #endif |
181 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
182 | 0 | return _internal_metadata_.unknown_fields(); |
183 | 0 | } |
184 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
185 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
186 | 0 | } |
187 | | |
188 | | static const ::google::protobuf::Descriptor* descriptor(); |
189 | | static const QLColumnValuePB& default_instance(); |
190 | | |
191 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
192 | 17.4M | static inline const QLColumnValuePB* internal_default_instance() { |
193 | 17.4M | return reinterpret_cast<const QLColumnValuePB*>( |
194 | 17.4M | &_QLColumnValuePB_default_instance_); |
195 | 17.4M | } |
196 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
197 | | 0; |
198 | | |
199 | | void Swap(QLColumnValuePB* other); |
200 | 0 | friend void swap(QLColumnValuePB& a, QLColumnValuePB& b) { |
201 | 0 | a.Swap(&b); |
202 | 0 | } |
203 | | |
204 | | // implements Message ---------------------------------------------- |
205 | | |
206 | 0 | inline QLColumnValuePB* New() const PROTOBUF_FINAL { return New(NULL); } |
207 | | |
208 | | QLColumnValuePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
209 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
210 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
211 | | void CopyFrom(const QLColumnValuePB& from); |
212 | | void MergeFrom(const QLColumnValuePB& from); |
213 | | void Clear() PROTOBUF_FINAL; |
214 | | bool IsInitialized() const PROTOBUF_FINAL; |
215 | | |
216 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
217 | | bool MergePartialFromCodedStream( |
218 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
219 | | void SerializeWithCachedSizes( |
220 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
221 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
222 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
223 | 3.75M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
224 | | private: |
225 | | void SharedCtor(); |
226 | | void SharedDtor(); |
227 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
228 | | void InternalSwap(QLColumnValuePB* other); |
229 | | private: |
230 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
231 | 0 | return NULL; |
232 | 0 | } |
233 | 0 | inline void* MaybeArenaPtr() const { |
234 | 0 | return NULL; |
235 | 0 | } |
236 | | public: |
237 | | |
238 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
239 | | |
240 | | // nested types ---------------------------------------------------- |
241 | | |
242 | | // accessors ------------------------------------------------------- |
243 | | |
244 | | // repeated .yb.QLExpressionPB subscript_args = 3; |
245 | | int subscript_args_size() const; |
246 | | void clear_subscript_args(); |
247 | | static const int kSubscriptArgsFieldNumber = 3; |
248 | | const ::yb::QLExpressionPB& subscript_args(int index) const; |
249 | | ::yb::QLExpressionPB* mutable_subscript_args(int index); |
250 | | ::yb::QLExpressionPB* add_subscript_args(); |
251 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
252 | | mutable_subscript_args(); |
253 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
254 | | subscript_args() const; |
255 | | |
256 | | // repeated .yb.QLJsonOperationPB json_args = 4; |
257 | | int json_args_size() const; |
258 | | void clear_json_args(); |
259 | | static const int kJsonArgsFieldNumber = 4; |
260 | | const ::yb::QLJsonOperationPB& json_args(int index) const; |
261 | | ::yb::QLJsonOperationPB* mutable_json_args(int index); |
262 | | ::yb::QLJsonOperationPB* add_json_args(); |
263 | | ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >* |
264 | | mutable_json_args(); |
265 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >& |
266 | | json_args() const; |
267 | | |
268 | | // optional .yb.QLExpressionPB expr = 2; |
269 | | bool has_expr() const; |
270 | | void clear_expr(); |
271 | | static const int kExprFieldNumber = 2; |
272 | | const ::yb::QLExpressionPB& expr() const; |
273 | | ::yb::QLExpressionPB* release_expr(); |
274 | | ::yb::QLExpressionPB* mutable_expr(); |
275 | | void set_allocated_expr(::yb::QLExpressionPB* expr); |
276 | | |
277 | | // optional int32 column_id = 1; |
278 | | bool has_column_id() const; |
279 | | void clear_column_id(); |
280 | | static const int kColumnIdFieldNumber = 1; |
281 | | ::google::protobuf::int32 column_id() const; |
282 | | void set_column_id(::google::protobuf::int32 value); |
283 | | |
284 | | // @@protoc_insertion_point(class_scope:yb.QLColumnValuePB) |
285 | | private: |
286 | | void set_has_column_id(); |
287 | | void clear_has_column_id(); |
288 | | void set_has_expr(); |
289 | | void clear_has_expr(); |
290 | | |
291 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
292 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
293 | | mutable int _cached_size_; |
294 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > subscript_args_; |
295 | | ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB > json_args_; |
296 | | ::yb::QLExpressionPB* expr_; |
297 | | ::google::protobuf::int32 column_id_; |
298 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
299 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLColumnValuePBImpl(); |
300 | | }; |
301 | | // ------------------------------------------------------------------- |
302 | | |
303 | | class QLSelectRowCounterPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLSelectRowCounterPB) */ { |
304 | | public: |
305 | | QLSelectRowCounterPB(); |
306 | | virtual ~QLSelectRowCounterPB(); |
307 | | |
308 | | QLSelectRowCounterPB(const QLSelectRowCounterPB& from); |
309 | | |
310 | 0 | inline QLSelectRowCounterPB& operator=(const QLSelectRowCounterPB& from) { |
311 | 0 | CopyFrom(from); |
312 | 0 | return *this; |
313 | 0 | } |
314 | | #if LANG_CXX11 |
315 | | QLSelectRowCounterPB(QLSelectRowCounterPB&& from) noexcept |
316 | 0 | : QLSelectRowCounterPB() { |
317 | 0 | *this = ::std::move(from); |
318 | 0 | } |
319 | | |
320 | 0 | inline QLSelectRowCounterPB& operator=(QLSelectRowCounterPB&& from) noexcept { |
321 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
322 | 0 | if (this != &from) InternalSwap(&from); |
323 | 0 | } else { |
324 | 0 | CopyFrom(from); |
325 | 0 | } |
326 | 0 | return *this; |
327 | 0 | } |
328 | | #endif |
329 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
330 | 0 | return _internal_metadata_.unknown_fields(); |
331 | 0 | } |
332 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
333 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
334 | 0 | } |
335 | | |
336 | | static const ::google::protobuf::Descriptor* descriptor(); |
337 | | static const QLSelectRowCounterPB& default_instance(); |
338 | | |
339 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
340 | 3.92M | static inline const QLSelectRowCounterPB* internal_default_instance() { |
341 | 3.92M | return reinterpret_cast<const QLSelectRowCounterPB*>( |
342 | 3.92M | &_QLSelectRowCounterPB_default_instance_); |
343 | 3.92M | } |
344 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
345 | | 1; |
346 | | |
347 | | void Swap(QLSelectRowCounterPB* other); |
348 | 0 | friend void swap(QLSelectRowCounterPB& a, QLSelectRowCounterPB& b) { |
349 | 0 | a.Swap(&b); |
350 | 0 | } |
351 | | |
352 | | // implements Message ---------------------------------------------- |
353 | | |
354 | 0 | inline QLSelectRowCounterPB* New() const PROTOBUF_FINAL { return New(NULL); } |
355 | | |
356 | | QLSelectRowCounterPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
357 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
358 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
359 | | void CopyFrom(const QLSelectRowCounterPB& from); |
360 | | void MergeFrom(const QLSelectRowCounterPB& from); |
361 | | void Clear() PROTOBUF_FINAL; |
362 | | bool IsInitialized() const PROTOBUF_FINAL; |
363 | | |
364 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
365 | | bool MergePartialFromCodedStream( |
366 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
367 | | void SerializeWithCachedSizes( |
368 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
369 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
370 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
371 | 339 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
372 | | private: |
373 | | void SharedCtor(); |
374 | | void SharedDtor(); |
375 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
376 | | void InternalSwap(QLSelectRowCounterPB* other); |
377 | | private: |
378 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
379 | 0 | return NULL; |
380 | 0 | } |
381 | 0 | inline void* MaybeArenaPtr() const { |
382 | 0 | return NULL; |
383 | 0 | } |
384 | | public: |
385 | | |
386 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
387 | | |
388 | | // nested types ---------------------------------------------------- |
389 | | |
390 | | // accessors ------------------------------------------------------- |
391 | | |
392 | | // optional int64 read_count = 3 [default = 0]; |
393 | | bool has_read_count() const; |
394 | | void clear_read_count(); |
395 | | static const int kReadCountFieldNumber = 3; |
396 | | ::google::protobuf::int64 read_count() const; |
397 | | void set_read_count(::google::protobuf::int64 value); |
398 | | |
399 | | // optional int64 skip_count = 4 [default = 0]; |
400 | | bool has_skip_count() const; |
401 | | void clear_skip_count(); |
402 | | static const int kSkipCountFieldNumber = 4; |
403 | | ::google::protobuf::int64 skip_count() const; |
404 | | void set_skip_count(::google::protobuf::int64 value); |
405 | | |
406 | | // optional int64 select_limit = 1 [default = -1]; |
407 | | bool has_select_limit() const; |
408 | | void clear_select_limit(); |
409 | | static const int kSelectLimitFieldNumber = 1; |
410 | | ::google::protobuf::int64 select_limit() const; |
411 | | void set_select_limit(::google::protobuf::int64 value); |
412 | | |
413 | | // optional int64 select_offset = 2 [default = -1]; |
414 | | bool has_select_offset() const; |
415 | | void clear_select_offset(); |
416 | | static const int kSelectOffsetFieldNumber = 2; |
417 | | ::google::protobuf::int64 select_offset() const; |
418 | | void set_select_offset(::google::protobuf::int64 value); |
419 | | |
420 | | // @@protoc_insertion_point(class_scope:yb.QLSelectRowCounterPB) |
421 | | private: |
422 | | void set_has_select_limit(); |
423 | | void clear_has_select_limit(); |
424 | | void set_has_select_offset(); |
425 | | void clear_has_select_offset(); |
426 | | void set_has_read_count(); |
427 | | void clear_has_read_count(); |
428 | | void set_has_skip_count(); |
429 | | void clear_has_skip_count(); |
430 | | |
431 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
432 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
433 | | mutable int _cached_size_; |
434 | | ::google::protobuf::int64 read_count_; |
435 | | ::google::protobuf::int64 skip_count_; |
436 | | ::google::protobuf::int64 select_limit_; |
437 | | ::google::protobuf::int64 select_offset_; |
438 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
439 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLSelectRowCounterPBImpl(); |
440 | | }; |
441 | | // ------------------------------------------------------------------- |
442 | | |
443 | | class QLPagingStatePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLPagingStatePB) */ { |
444 | | public: |
445 | | QLPagingStatePB(); |
446 | | virtual ~QLPagingStatePB(); |
447 | | |
448 | | QLPagingStatePB(const QLPagingStatePB& from); |
449 | | |
450 | 940 | inline QLPagingStatePB& operator=(const QLPagingStatePB& from) { |
451 | 940 | CopyFrom(from); |
452 | 940 | return *this; |
453 | 940 | } |
454 | | #if LANG_CXX11 |
455 | | QLPagingStatePB(QLPagingStatePB&& from) noexcept |
456 | 0 | : QLPagingStatePB() { |
457 | 0 | *this = ::std::move(from); |
458 | 0 | } |
459 | | |
460 | 0 | inline QLPagingStatePB& operator=(QLPagingStatePB&& from) noexcept { |
461 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
462 | 0 | if (this != &from) InternalSwap(&from); |
463 | 0 | } else { |
464 | 0 | CopyFrom(from); |
465 | 0 | } |
466 | 0 | return *this; |
467 | 0 | } |
468 | | #endif |
469 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
470 | 0 | return _internal_metadata_.unknown_fields(); |
471 | 0 | } |
472 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
473 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
474 | 0 | } |
475 | | |
476 | | static const ::google::protobuf::Descriptor* descriptor(); |
477 | | static const QLPagingStatePB& default_instance(); |
478 | | |
479 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
480 | 19.7M | static inline const QLPagingStatePB* internal_default_instance() { |
481 | 19.7M | return reinterpret_cast<const QLPagingStatePB*>( |
482 | 19.7M | &_QLPagingStatePB_default_instance_); |
483 | 19.7M | } |
484 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
485 | | 2; |
486 | | |
487 | | void Swap(QLPagingStatePB* other); |
488 | 0 | friend void swap(QLPagingStatePB& a, QLPagingStatePB& b) { |
489 | 0 | a.Swap(&b); |
490 | 0 | } |
491 | | |
492 | | // implements Message ---------------------------------------------- |
493 | | |
494 | 0 | inline QLPagingStatePB* New() const PROTOBUF_FINAL { return New(NULL); } |
495 | | |
496 | | QLPagingStatePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
497 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
498 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
499 | | void CopyFrom(const QLPagingStatePB& from); |
500 | | void MergeFrom(const QLPagingStatePB& from); |
501 | | void Clear() PROTOBUF_FINAL; |
502 | | bool IsInitialized() const PROTOBUF_FINAL; |
503 | | |
504 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
505 | | bool MergePartialFromCodedStream( |
506 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
507 | | void SerializeWithCachedSizes( |
508 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
509 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
510 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
511 | 46.6k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
512 | | private: |
513 | | void SharedCtor(); |
514 | | void SharedDtor(); |
515 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
516 | | void InternalSwap(QLPagingStatePB* other); |
517 | | private: |
518 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
519 | 0 | return NULL; |
520 | 0 | } |
521 | 0 | inline void* MaybeArenaPtr() const { |
522 | 0 | return NULL; |
523 | 0 | } |
524 | | public: |
525 | | |
526 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
527 | | |
528 | | // nested types ---------------------------------------------------- |
529 | | |
530 | | // accessors ------------------------------------------------------- |
531 | | |
532 | | // optional bytes table_id = 1; |
533 | | bool has_table_id() const; |
534 | | void clear_table_id(); |
535 | | static const int kTableIdFieldNumber = 1; |
536 | | const ::std::string& table_id() const; |
537 | | void set_table_id(const ::std::string& value); |
538 | | #if LANG_CXX11 |
539 | | void set_table_id(::std::string&& value); |
540 | | #endif |
541 | | void set_table_id(const char* value); |
542 | | void set_table_id(const void* value, size_t size); |
543 | | ::std::string* mutable_table_id(); |
544 | | ::std::string* release_table_id(); |
545 | | void set_allocated_table_id(::std::string* table_id); |
546 | | |
547 | | // optional bytes next_partition_key = 2; |
548 | | bool has_next_partition_key() const; |
549 | | void clear_next_partition_key(); |
550 | | static const int kNextPartitionKeyFieldNumber = 2; |
551 | | const ::std::string& next_partition_key() const; |
552 | | void set_next_partition_key(const ::std::string& value); |
553 | | #if LANG_CXX11 |
554 | | void set_next_partition_key(::std::string&& value); |
555 | | #endif |
556 | | void set_next_partition_key(const char* value); |
557 | | void set_next_partition_key(const void* value, size_t size); |
558 | | ::std::string* mutable_next_partition_key(); |
559 | | ::std::string* release_next_partition_key(); |
560 | | void set_allocated_next_partition_key(::std::string* next_partition_key); |
561 | | |
562 | | // optional bytes next_row_key = 3; |
563 | | bool has_next_row_key() const; |
564 | | void clear_next_row_key(); |
565 | | static const int kNextRowKeyFieldNumber = 3; |
566 | | const ::std::string& next_row_key() const; |
567 | | void set_next_row_key(const ::std::string& value); |
568 | | #if LANG_CXX11 |
569 | | void set_next_row_key(::std::string&& value); |
570 | | #endif |
571 | | void set_next_row_key(const char* value); |
572 | | void set_next_row_key(const void* value, size_t size); |
573 | | ::std::string* mutable_next_row_key(); |
574 | | ::std::string* release_next_row_key(); |
575 | | void set_allocated_next_row_key(::std::string* next_row_key); |
576 | | |
577 | | // optional .yb.ReadHybridTimePB read_time = 8; |
578 | | bool has_read_time() const; |
579 | | void clear_read_time(); |
580 | | static const int kReadTimeFieldNumber = 8; |
581 | | const ::yb::ReadHybridTimePB& read_time() const; |
582 | | ::yb::ReadHybridTimePB* release_read_time(); |
583 | | ::yb::ReadHybridTimePB* mutable_read_time(); |
584 | | void set_allocated_read_time(::yb::ReadHybridTimePB* read_time); |
585 | | |
586 | | // optional .yb.QLSelectRowCounterPB row_counter = 9; |
587 | | bool has_row_counter() const; |
588 | | void clear_row_counter(); |
589 | | static const int kRowCounterFieldNumber = 9; |
590 | | const ::yb::QLSelectRowCounterPB& row_counter() const; |
591 | | ::yb::QLSelectRowCounterPB* release_row_counter(); |
592 | | ::yb::QLSelectRowCounterPB* mutable_row_counter(); |
593 | | void set_allocated_row_counter(::yb::QLSelectRowCounterPB* row_counter); |
594 | | |
595 | | // optional uint64 total_num_rows_read = 4; |
596 | | bool has_total_num_rows_read() const; |
597 | | void clear_total_num_rows_read(); |
598 | | static const int kTotalNumRowsReadFieldNumber = 4; |
599 | | ::google::protobuf::uint64 total_num_rows_read() const; |
600 | | void set_total_num_rows_read(::google::protobuf::uint64 value); |
601 | | |
602 | | // optional uint64 next_partition_index = 5; |
603 | | bool has_next_partition_index() const; |
604 | | void clear_next_partition_index(); |
605 | | static const int kNextPartitionIndexFieldNumber = 5; |
606 | | ::google::protobuf::uint64 next_partition_index() const; |
607 | | void set_next_partition_index(::google::protobuf::uint64 value); |
608 | | |
609 | | // optional uint64 total_rows_skipped = 6; |
610 | | bool has_total_rows_skipped() const; |
611 | | void clear_total_rows_skipped(); |
612 | | static const int kTotalRowsSkippedFieldNumber = 6; |
613 | | ::google::protobuf::uint64 total_rows_skipped() const; |
614 | | void set_total_rows_skipped(::google::protobuf::uint64 value); |
615 | | |
616 | | // optional uint64 original_request_id = 7; |
617 | | bool has_original_request_id() const; |
618 | | void clear_original_request_id(); |
619 | | static const int kOriginalRequestIdFieldNumber = 7; |
620 | | ::google::protobuf::uint64 original_request_id() const; |
621 | | void set_original_request_id(::google::protobuf::uint64 value); |
622 | | |
623 | | // @@protoc_insertion_point(class_scope:yb.QLPagingStatePB) |
624 | | private: |
625 | | void set_has_table_id(); |
626 | | void clear_has_table_id(); |
627 | | void set_has_next_partition_key(); |
628 | | void clear_has_next_partition_key(); |
629 | | void set_has_next_row_key(); |
630 | | void clear_has_next_row_key(); |
631 | | void set_has_total_num_rows_read(); |
632 | | void clear_has_total_num_rows_read(); |
633 | | void set_has_next_partition_index(); |
634 | | void clear_has_next_partition_index(); |
635 | | void set_has_total_rows_skipped(); |
636 | | void clear_has_total_rows_skipped(); |
637 | | void set_has_original_request_id(); |
638 | | void clear_has_original_request_id(); |
639 | | void set_has_read_time(); |
640 | | void clear_has_read_time(); |
641 | | void set_has_row_counter(); |
642 | | void clear_has_row_counter(); |
643 | | |
644 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
645 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
646 | | mutable int _cached_size_; |
647 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
648 | | ::google::protobuf::internal::ArenaStringPtr next_partition_key_; |
649 | | ::google::protobuf::internal::ArenaStringPtr next_row_key_; |
650 | | ::yb::ReadHybridTimePB* read_time_; |
651 | | ::yb::QLSelectRowCounterPB* row_counter_; |
652 | | ::google::protobuf::uint64 total_num_rows_read_; |
653 | | ::google::protobuf::uint64 next_partition_index_; |
654 | | ::google::protobuf::uint64 total_rows_skipped_; |
655 | | ::google::protobuf::uint64 original_request_id_; |
656 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
657 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLPagingStatePBImpl(); |
658 | | }; |
659 | | // ------------------------------------------------------------------- |
660 | | |
661 | | class QLReferencedColumnsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLReferencedColumnsPB) */ { |
662 | | public: |
663 | | QLReferencedColumnsPB(); |
664 | | virtual ~QLReferencedColumnsPB(); |
665 | | |
666 | | QLReferencedColumnsPB(const QLReferencedColumnsPB& from); |
667 | | |
668 | 0 | inline QLReferencedColumnsPB& operator=(const QLReferencedColumnsPB& from) { |
669 | 0 | CopyFrom(from); |
670 | 0 | return *this; |
671 | 0 | } |
672 | | #if LANG_CXX11 |
673 | | QLReferencedColumnsPB(QLReferencedColumnsPB&& from) noexcept |
674 | 0 | : QLReferencedColumnsPB() { |
675 | 0 | *this = ::std::move(from); |
676 | 0 | } |
677 | | |
678 | 0 | inline QLReferencedColumnsPB& operator=(QLReferencedColumnsPB&& from) noexcept { |
679 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
680 | 0 | if (this != &from) InternalSwap(&from); |
681 | 0 | } else { |
682 | 0 | CopyFrom(from); |
683 | 0 | } |
684 | 0 | return *this; |
685 | 0 | } |
686 | | #endif |
687 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
688 | 0 | return _internal_metadata_.unknown_fields(); |
689 | 0 | } |
690 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
691 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
692 | 0 | } |
693 | | |
694 | | static const ::google::protobuf::Descriptor* descriptor(); |
695 | | static const QLReferencedColumnsPB& default_instance(); |
696 | | |
697 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
698 | 5.86M | static inline const QLReferencedColumnsPB* internal_default_instance() { |
699 | 5.86M | return reinterpret_cast<const QLReferencedColumnsPB*>( |
700 | 5.86M | &_QLReferencedColumnsPB_default_instance_); |
701 | 5.86M | } |
702 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
703 | | 3; |
704 | | |
705 | | void Swap(QLReferencedColumnsPB* other); |
706 | 0 | friend void swap(QLReferencedColumnsPB& a, QLReferencedColumnsPB& b) { |
707 | 0 | a.Swap(&b); |
708 | 0 | } |
709 | | |
710 | | // implements Message ---------------------------------------------- |
711 | | |
712 | 0 | inline QLReferencedColumnsPB* New() const PROTOBUF_FINAL { return New(NULL); } |
713 | | |
714 | | QLReferencedColumnsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
715 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
716 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
717 | | void CopyFrom(const QLReferencedColumnsPB& from); |
718 | | void MergeFrom(const QLReferencedColumnsPB& from); |
719 | | void Clear() PROTOBUF_FINAL; |
720 | | bool IsInitialized() const PROTOBUF_FINAL; |
721 | | |
722 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
723 | | bool MergePartialFromCodedStream( |
724 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
725 | | void SerializeWithCachedSizes( |
726 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
727 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
728 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
729 | 629k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
730 | | private: |
731 | | void SharedCtor(); |
732 | | void SharedDtor(); |
733 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
734 | | void InternalSwap(QLReferencedColumnsPB* other); |
735 | | private: |
736 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
737 | 0 | return NULL; |
738 | 0 | } |
739 | 0 | inline void* MaybeArenaPtr() const { |
740 | 0 | return NULL; |
741 | 0 | } |
742 | | public: |
743 | | |
744 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
745 | | |
746 | | // nested types ---------------------------------------------------- |
747 | | |
748 | | // accessors ------------------------------------------------------- |
749 | | |
750 | | // repeated int32 ids = 1; |
751 | | int ids_size() const; |
752 | | void clear_ids(); |
753 | | static const int kIdsFieldNumber = 1; |
754 | | ::google::protobuf::int32 ids(int index) const; |
755 | | void set_ids(int index, ::google::protobuf::int32 value); |
756 | | void add_ids(::google::protobuf::int32 value); |
757 | | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
758 | | ids() const; |
759 | | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
760 | | mutable_ids(); |
761 | | |
762 | | // repeated int32 static_ids = 2; |
763 | | int static_ids_size() const; |
764 | | void clear_static_ids(); |
765 | | static const int kStaticIdsFieldNumber = 2; |
766 | | ::google::protobuf::int32 static_ids(int index) const; |
767 | | void set_static_ids(int index, ::google::protobuf::int32 value); |
768 | | void add_static_ids(::google::protobuf::int32 value); |
769 | | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
770 | | static_ids() const; |
771 | | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
772 | | mutable_static_ids(); |
773 | | |
774 | | // @@protoc_insertion_point(class_scope:yb.QLReferencedColumnsPB) |
775 | | private: |
776 | | |
777 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
778 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
779 | | mutable int _cached_size_; |
780 | | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > ids_; |
781 | | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > static_ids_; |
782 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
783 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLReferencedColumnsPBImpl(); |
784 | | }; |
785 | | // ------------------------------------------------------------------- |
786 | | |
787 | | class QLWriteRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLWriteRequestPB) */ { |
788 | | public: |
789 | | QLWriteRequestPB(); |
790 | | virtual ~QLWriteRequestPB(); |
791 | | |
792 | | QLWriteRequestPB(const QLWriteRequestPB& from); |
793 | | |
794 | 0 | inline QLWriteRequestPB& operator=(const QLWriteRequestPB& from) { |
795 | 0 | CopyFrom(from); |
796 | 0 | return *this; |
797 | 0 | } |
798 | | #if LANG_CXX11 |
799 | | QLWriteRequestPB(QLWriteRequestPB&& from) noexcept |
800 | 50.3k | : QLWriteRequestPB() { |
801 | 50.3k | *this = ::std::move(from); |
802 | 50.3k | } Unexecuted instantiation: _ZN2yb16QLWriteRequestPBC2EOS0_ _ZN2yb16QLWriteRequestPBC1EOS0_ Line | Count | Source | 800 | 50.3k | : QLWriteRequestPB() { | 801 | 50.3k | *this = ::std::move(from); | 802 | 50.3k | } |
|
803 | | |
804 | 50.3k | inline QLWriteRequestPB& operator=(QLWriteRequestPB&& from) noexcept { |
805 | 50.3k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
806 | 50.3k | if (this != &from) InternalSwap(&from); |
807 | 18.4E | } else { |
808 | 18.4E | CopyFrom(from); |
809 | 18.4E | } |
810 | 50.3k | return *this; |
811 | 50.3k | } |
812 | | #endif |
813 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
814 | 0 | return _internal_metadata_.unknown_fields(); |
815 | 0 | } |
816 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
817 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
818 | 0 | } |
819 | | |
820 | | static const ::google::protobuf::Descriptor* descriptor(); |
821 | | static const QLWriteRequestPB& default_instance(); |
822 | | |
823 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
824 | 28.1M | static inline const QLWriteRequestPB* internal_default_instance() { |
825 | 28.1M | return reinterpret_cast<const QLWriteRequestPB*>( |
826 | 28.1M | &_QLWriteRequestPB_default_instance_); |
827 | 28.1M | } |
828 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
829 | | 4; |
830 | | |
831 | | void Swap(QLWriteRequestPB* other); |
832 | 0 | friend void swap(QLWriteRequestPB& a, QLWriteRequestPB& b) { |
833 | 0 | a.Swap(&b); |
834 | 0 | } |
835 | | |
836 | | // implements Message ---------------------------------------------- |
837 | | |
838 | 0 | inline QLWriteRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
839 | | |
840 | | QLWriteRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
841 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
842 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
843 | | void CopyFrom(const QLWriteRequestPB& from); |
844 | | void MergeFrom(const QLWriteRequestPB& from); |
845 | | void Clear() PROTOBUF_FINAL; |
846 | | bool IsInitialized() const PROTOBUF_FINAL; |
847 | | |
848 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
849 | | bool MergePartialFromCodedStream( |
850 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
851 | | void SerializeWithCachedSizes( |
852 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
853 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
854 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
855 | 2.08M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
856 | | private: |
857 | | void SharedCtor(); |
858 | | void SharedDtor(); |
859 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
860 | | void InternalSwap(QLWriteRequestPB* other); |
861 | | private: |
862 | 100k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
863 | 100k | return NULL; |
864 | 100k | } |
865 | 0 | inline void* MaybeArenaPtr() const { |
866 | 0 | return NULL; |
867 | 0 | } |
868 | | public: |
869 | | |
870 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
871 | | |
872 | | // nested types ---------------------------------------------------- |
873 | | |
874 | | typedef QLWriteRequestPB_QLStmtType QLStmtType; |
875 | | static const QLStmtType QL_STMT_INSERT = |
876 | | QLWriteRequestPB_QLStmtType_QL_STMT_INSERT; |
877 | | static const QLStmtType QL_STMT_UPDATE = |
878 | | QLWriteRequestPB_QLStmtType_QL_STMT_UPDATE; |
879 | | static const QLStmtType QL_STMT_DELETE = |
880 | | QLWriteRequestPB_QLStmtType_QL_STMT_DELETE; |
881 | 0 | static inline bool QLStmtType_IsValid(int value) { |
882 | 0 | return QLWriteRequestPB_QLStmtType_IsValid(value); |
883 | 0 | } |
884 | | static const QLStmtType QLStmtType_MIN = |
885 | | QLWriteRequestPB_QLStmtType_QLStmtType_MIN; |
886 | | static const QLStmtType QLStmtType_MAX = |
887 | | QLWriteRequestPB_QLStmtType_QLStmtType_MAX; |
888 | | static const int QLStmtType_ARRAYSIZE = |
889 | | QLWriteRequestPB_QLStmtType_QLStmtType_ARRAYSIZE; |
890 | | static inline const ::google::protobuf::EnumDescriptor* |
891 | 0 | QLStmtType_descriptor() { |
892 | 0 | return QLWriteRequestPB_QLStmtType_descriptor(); |
893 | 0 | } |
894 | 0 | static inline const ::std::string& QLStmtType_Name(QLStmtType value) { |
895 | 0 | return QLWriteRequestPB_QLStmtType_Name(value); |
896 | 0 | } |
897 | | static inline bool QLStmtType_Parse(const ::std::string& name, |
898 | 0 | QLStmtType* value) { |
899 | 0 | return QLWriteRequestPB_QLStmtType_Parse(name, value); |
900 | 0 | } |
901 | | |
902 | | // accessors ------------------------------------------------------- |
903 | | |
904 | | // repeated .yb.QLExpressionPB hashed_column_values = 6; |
905 | | int hashed_column_values_size() const; |
906 | | void clear_hashed_column_values(); |
907 | | static const int kHashedColumnValuesFieldNumber = 6; |
908 | | const ::yb::QLExpressionPB& hashed_column_values(int index) const; |
909 | | ::yb::QLExpressionPB* mutable_hashed_column_values(int index); |
910 | | ::yb::QLExpressionPB* add_hashed_column_values(); |
911 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
912 | | mutable_hashed_column_values(); |
913 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
914 | | hashed_column_values() const; |
915 | | |
916 | | // repeated .yb.QLExpressionPB range_column_values = 7; |
917 | | int range_column_values_size() const; |
918 | | void clear_range_column_values(); |
919 | | static const int kRangeColumnValuesFieldNumber = 7; |
920 | | const ::yb::QLExpressionPB& range_column_values(int index) const; |
921 | | ::yb::QLExpressionPB* mutable_range_column_values(int index); |
922 | | ::yb::QLExpressionPB* add_range_column_values(); |
923 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
924 | | mutable_range_column_values(); |
925 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
926 | | range_column_values() const; |
927 | | |
928 | | // repeated .yb.QLColumnValuePB column_values = 8; |
929 | | int column_values_size() const; |
930 | | void clear_column_values(); |
931 | | static const int kColumnValuesFieldNumber = 8; |
932 | | const ::yb::QLColumnValuePB& column_values(int index) const; |
933 | | ::yb::QLColumnValuePB* mutable_column_values(int index); |
934 | | ::yb::QLColumnValuePB* add_column_values(); |
935 | | ::google::protobuf::RepeatedPtrField< ::yb::QLColumnValuePB >* |
936 | | mutable_column_values(); |
937 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLColumnValuePB >& |
938 | | column_values() const; |
939 | | |
940 | | // repeated bytes update_index_ids = 15; |
941 | | int update_index_ids_size() const; |
942 | | void clear_update_index_ids(); |
943 | | static const int kUpdateIndexIdsFieldNumber = 15; |
944 | | const ::std::string& update_index_ids(int index) const; |
945 | | ::std::string* mutable_update_index_ids(int index); |
946 | | void set_update_index_ids(int index, const ::std::string& value); |
947 | | #if LANG_CXX11 |
948 | | void set_update_index_ids(int index, ::std::string&& value); |
949 | | #endif |
950 | | void set_update_index_ids(int index, const char* value); |
951 | | void set_update_index_ids(int index, const void* value, size_t size); |
952 | | ::std::string* add_update_index_ids(); |
953 | | void add_update_index_ids(const ::std::string& value); |
954 | | #if LANG_CXX11 |
955 | | void add_update_index_ids(::std::string&& value); |
956 | | #endif |
957 | | void add_update_index_ids(const char* value); |
958 | | void add_update_index_ids(const void* value, size_t size); |
959 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& update_index_ids() const; |
960 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_update_index_ids(); |
961 | | |
962 | | // optional .yb.QLExpressionPB if_expr = 9; |
963 | | bool has_if_expr() const; |
964 | | void clear_if_expr(); |
965 | | static const int kIfExprFieldNumber = 9; |
966 | | const ::yb::QLExpressionPB& if_expr() const; |
967 | | ::yb::QLExpressionPB* release_if_expr(); |
968 | | ::yb::QLExpressionPB* mutable_if_expr(); |
969 | | void set_allocated_if_expr(::yb::QLExpressionPB* if_expr); |
970 | | |
971 | | // optional .yb.QLReferencedColumnsPB column_refs = 11; |
972 | | bool has_column_refs() const; |
973 | | void clear_column_refs(); |
974 | | static const int kColumnRefsFieldNumber = 11; |
975 | | const ::yb::QLReferencedColumnsPB& column_refs() const; |
976 | | ::yb::QLReferencedColumnsPB* release_column_refs(); |
977 | | ::yb::QLReferencedColumnsPB* mutable_column_refs(); |
978 | | void set_allocated_column_refs(::yb::QLReferencedColumnsPB* column_refs); |
979 | | |
980 | | // optional .yb.QLExpressionPB where_expr = 14; |
981 | | bool has_where_expr() const; |
982 | | void clear_where_expr(); |
983 | | static const int kWhereExprFieldNumber = 14; |
984 | | const ::yb::QLExpressionPB& where_expr() const; |
985 | | ::yb::QLExpressionPB* release_where_expr(); |
986 | | ::yb::QLExpressionPB* mutable_where_expr(); |
987 | | void set_allocated_where_expr(::yb::QLExpressionPB* where_expr); |
988 | | |
989 | | // optional .yb.ChildTransactionDataPB child_transaction_data = 16; |
990 | | bool has_child_transaction_data() const; |
991 | | void clear_child_transaction_data(); |
992 | | static const int kChildTransactionDataFieldNumber = 16; |
993 | | const ::yb::ChildTransactionDataPB& child_transaction_data() const; |
994 | | ::yb::ChildTransactionDataPB* release_child_transaction_data(); |
995 | | ::yb::ChildTransactionDataPB* mutable_child_transaction_data(); |
996 | | void set_allocated_child_transaction_data(::yb::ChildTransactionDataPB* child_transaction_data); |
997 | | |
998 | | // optional uint64 request_id = 3; |
999 | | bool has_request_id() const; |
1000 | | void clear_request_id(); |
1001 | | static const int kRequestIdFieldNumber = 3; |
1002 | | ::google::protobuf::uint64 request_id() const; |
1003 | | void set_request_id(::google::protobuf::uint64 value); |
1004 | | |
1005 | | // optional uint32 schema_version = 4; |
1006 | | bool has_schema_version() const; |
1007 | | void clear_schema_version(); |
1008 | | static const int kSchemaVersionFieldNumber = 4; |
1009 | | ::google::protobuf::uint32 schema_version() const; |
1010 | | void set_schema_version(::google::protobuf::uint32 value); |
1011 | | |
1012 | | // optional uint32 hash_code = 5; |
1013 | | bool has_hash_code() const; |
1014 | | void clear_hash_code(); |
1015 | | static const int kHashCodeFieldNumber = 5; |
1016 | | ::google::protobuf::uint32 hash_code() const; |
1017 | | void set_hash_code(::google::protobuf::uint32 value); |
1018 | | |
1019 | | // optional uint64 ttl = 10; |
1020 | | bool has_ttl() const; |
1021 | | void clear_ttl(); |
1022 | | static const int kTtlFieldNumber = 10; |
1023 | | ::google::protobuf::uint64 ttl() const; |
1024 | | void set_ttl(::google::protobuf::uint64 value); |
1025 | | |
1026 | | // optional int64 query_id = 12; |
1027 | | bool has_query_id() const; |
1028 | | void clear_query_id(); |
1029 | | static const int kQueryIdFieldNumber = 12; |
1030 | | ::google::protobuf::int64 query_id() const; |
1031 | | void set_query_id(::google::protobuf::int64 value); |
1032 | | |
1033 | | // optional uint64 user_timestamp_usec = 13; |
1034 | | bool has_user_timestamp_usec() const; |
1035 | | void clear_user_timestamp_usec(); |
1036 | | static const int kUserTimestampUsecFieldNumber = 13; |
1037 | | ::google::protobuf::uint64 user_timestamp_usec() const; |
1038 | | void set_user_timestamp_usec(::google::protobuf::uint64 value); |
1039 | | |
1040 | | // optional bool else_error = 17 [default = false]; |
1041 | | bool has_else_error() const; |
1042 | | void clear_else_error(); |
1043 | | static const int kElseErrorFieldNumber = 17; |
1044 | | bool else_error() const; |
1045 | | void set_else_error(bool value); |
1046 | | |
1047 | | // optional bool returns_status = 18 [default = false]; |
1048 | | bool has_returns_status() const; |
1049 | | void clear_returns_status(); |
1050 | | static const int kReturnsStatusFieldNumber = 18; |
1051 | | bool returns_status() const; |
1052 | | void set_returns_status(bool value); |
1053 | | |
1054 | | // optional bool is_backfill = 19 [default = false]; |
1055 | | bool has_is_backfill() const; |
1056 | | void clear_is_backfill(); |
1057 | | static const int kIsBackfillFieldNumber = 19; |
1058 | | bool is_backfill() const; |
1059 | | void set_is_backfill(bool value); |
1060 | | |
1061 | | // optional bool is_compatible_with_previous_version = 20 [default = false]; |
1062 | | bool has_is_compatible_with_previous_version() const; |
1063 | | void clear_is_compatible_with_previous_version(); |
1064 | | static const int kIsCompatibleWithPreviousVersionFieldNumber = 20; |
1065 | | bool is_compatible_with_previous_version() const; |
1066 | | void set_is_compatible_with_previous_version(bool value); |
1067 | | |
1068 | | // optional .yb.QLWriteRequestPB.QLStmtType type = 1; |
1069 | | bool has_type() const; |
1070 | | void clear_type(); |
1071 | | static const int kTypeFieldNumber = 1; |
1072 | | ::yb::QLWriteRequestPB_QLStmtType type() const; |
1073 | | void set_type(::yb::QLWriteRequestPB_QLStmtType value); |
1074 | | |
1075 | | // optional .yb.QLClient client = 2; |
1076 | | bool has_client() const; |
1077 | | void clear_client(); |
1078 | | static const int kClientFieldNumber = 2; |
1079 | | ::yb::QLClient client() const; |
1080 | | void set_client(::yb::QLClient value); |
1081 | | |
1082 | | // @@protoc_insertion_point(class_scope:yb.QLWriteRequestPB) |
1083 | | private: |
1084 | | void set_has_type(); |
1085 | | void clear_has_type(); |
1086 | | void set_has_client(); |
1087 | | void clear_has_client(); |
1088 | | void set_has_request_id(); |
1089 | | void clear_has_request_id(); |
1090 | | void set_has_schema_version(); |
1091 | | void clear_has_schema_version(); |
1092 | | void set_has_hash_code(); |
1093 | | void clear_has_hash_code(); |
1094 | | void set_has_where_expr(); |
1095 | | void clear_has_where_expr(); |
1096 | | void set_has_if_expr(); |
1097 | | void clear_has_if_expr(); |
1098 | | void set_has_else_error(); |
1099 | | void clear_has_else_error(); |
1100 | | void set_has_ttl(); |
1101 | | void clear_has_ttl(); |
1102 | | void set_has_column_refs(); |
1103 | | void clear_has_column_refs(); |
1104 | | void set_has_query_id(); |
1105 | | void clear_has_query_id(); |
1106 | | void set_has_user_timestamp_usec(); |
1107 | | void clear_has_user_timestamp_usec(); |
1108 | | void set_has_child_transaction_data(); |
1109 | | void clear_has_child_transaction_data(); |
1110 | | void set_has_returns_status(); |
1111 | | void clear_has_returns_status(); |
1112 | | void set_has_is_backfill(); |
1113 | | void clear_has_is_backfill(); |
1114 | | void set_has_is_compatible_with_previous_version(); |
1115 | | void clear_has_is_compatible_with_previous_version(); |
1116 | | |
1117 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1118 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1119 | | mutable int _cached_size_; |
1120 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > hashed_column_values_; |
1121 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > range_column_values_; |
1122 | | ::google::protobuf::RepeatedPtrField< ::yb::QLColumnValuePB > column_values_; |
1123 | | ::google::protobuf::RepeatedPtrField< ::std::string> update_index_ids_; |
1124 | | ::yb::QLExpressionPB* if_expr_; |
1125 | | ::yb::QLReferencedColumnsPB* column_refs_; |
1126 | | ::yb::QLExpressionPB* where_expr_; |
1127 | | ::yb::ChildTransactionDataPB* child_transaction_data_; |
1128 | | ::google::protobuf::uint64 request_id_; |
1129 | | ::google::protobuf::uint32 schema_version_; |
1130 | | ::google::protobuf::uint32 hash_code_; |
1131 | | ::google::protobuf::uint64 ttl_; |
1132 | | ::google::protobuf::int64 query_id_; |
1133 | | ::google::protobuf::uint64 user_timestamp_usec_; |
1134 | | bool else_error_; |
1135 | | bool returns_status_; |
1136 | | bool is_backfill_; |
1137 | | bool is_compatible_with_previous_version_; |
1138 | | int type_; |
1139 | | int client_; |
1140 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
1141 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLWriteRequestPBImpl(); |
1142 | | }; |
1143 | | // ------------------------------------------------------------------- |
1144 | | |
1145 | | class QLRSColDescPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLRSColDescPB) */ { |
1146 | | public: |
1147 | | QLRSColDescPB(); |
1148 | | virtual ~QLRSColDescPB(); |
1149 | | |
1150 | | QLRSColDescPB(const QLRSColDescPB& from); |
1151 | | |
1152 | 0 | inline QLRSColDescPB& operator=(const QLRSColDescPB& from) { |
1153 | 0 | CopyFrom(from); |
1154 | 0 | return *this; |
1155 | 0 | } |
1156 | | #if LANG_CXX11 |
1157 | | QLRSColDescPB(QLRSColDescPB&& from) noexcept |
1158 | 0 | : QLRSColDescPB() { |
1159 | 0 | *this = ::std::move(from); |
1160 | 0 | } |
1161 | | |
1162 | 0 | inline QLRSColDescPB& operator=(QLRSColDescPB&& from) noexcept { |
1163 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1164 | 0 | if (this != &from) InternalSwap(&from); |
1165 | 0 | } else { |
1166 | 0 | CopyFrom(from); |
1167 | 0 | } |
1168 | 0 | return *this; |
1169 | 0 | } |
1170 | | #endif |
1171 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1172 | 0 | return _internal_metadata_.unknown_fields(); |
1173 | 0 | } |
1174 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1175 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1176 | 0 | } |
1177 | | |
1178 | | static const ::google::protobuf::Descriptor* descriptor(); |
1179 | | static const QLRSColDescPB& default_instance(); |
1180 | | |
1181 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1182 | 30.5M | static inline const QLRSColDescPB* internal_default_instance() { |
1183 | 30.5M | return reinterpret_cast<const QLRSColDescPB*>( |
1184 | 30.5M | &_QLRSColDescPB_default_instance_); |
1185 | 30.5M | } |
1186 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1187 | | 5; |
1188 | | |
1189 | | void Swap(QLRSColDescPB* other); |
1190 | 0 | friend void swap(QLRSColDescPB& a, QLRSColDescPB& b) { |
1191 | 0 | a.Swap(&b); |
1192 | 0 | } |
1193 | | |
1194 | | // implements Message ---------------------------------------------- |
1195 | | |
1196 | 0 | inline QLRSColDescPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1197 | | |
1198 | | QLRSColDescPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1199 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1200 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1201 | | void CopyFrom(const QLRSColDescPB& from); |
1202 | | void MergeFrom(const QLRSColDescPB& from); |
1203 | | void Clear() PROTOBUF_FINAL; |
1204 | | bool IsInitialized() const PROTOBUF_FINAL; |
1205 | | |
1206 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1207 | | bool MergePartialFromCodedStream( |
1208 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1209 | | void SerializeWithCachedSizes( |
1210 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1211 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1212 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1213 | 2.32M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1214 | | private: |
1215 | | void SharedCtor(); |
1216 | | void SharedDtor(); |
1217 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1218 | | void InternalSwap(QLRSColDescPB* other); |
1219 | | private: |
1220 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1221 | 0 | return NULL; |
1222 | 0 | } |
1223 | 0 | inline void* MaybeArenaPtr() const { |
1224 | 0 | return NULL; |
1225 | 0 | } |
1226 | | public: |
1227 | | |
1228 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1229 | | |
1230 | | // nested types ---------------------------------------------------- |
1231 | | |
1232 | | // accessors ------------------------------------------------------- |
1233 | | |
1234 | | // optional string name = 1; |
1235 | | bool has_name() const; |
1236 | | void clear_name(); |
1237 | | static const int kNameFieldNumber = 1; |
1238 | | const ::std::string& name() const; |
1239 | | void set_name(const ::std::string& value); |
1240 | | #if LANG_CXX11 |
1241 | | void set_name(::std::string&& value); |
1242 | | #endif |
1243 | | void set_name(const char* value); |
1244 | | void set_name(const char* value, size_t size); |
1245 | | ::std::string* mutable_name(); |
1246 | | ::std::string* release_name(); |
1247 | | void set_allocated_name(::std::string* name); |
1248 | | |
1249 | | // optional .yb.QLTypePB ql_type = 2; |
1250 | | bool has_ql_type() const; |
1251 | | void clear_ql_type(); |
1252 | | static const int kQlTypeFieldNumber = 2; |
1253 | | const ::yb::QLTypePB& ql_type() const; |
1254 | | ::yb::QLTypePB* release_ql_type(); |
1255 | | ::yb::QLTypePB* mutable_ql_type(); |
1256 | | void set_allocated_ql_type(::yb::QLTypePB* ql_type); |
1257 | | |
1258 | | // @@protoc_insertion_point(class_scope:yb.QLRSColDescPB) |
1259 | | private: |
1260 | | void set_has_name(); |
1261 | | void clear_has_name(); |
1262 | | void set_has_ql_type(); |
1263 | | void clear_has_ql_type(); |
1264 | | |
1265 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1266 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1267 | | mutable int _cached_size_; |
1268 | | ::google::protobuf::internal::ArenaStringPtr name_; |
1269 | | ::yb::QLTypePB* ql_type_; |
1270 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
1271 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLRSColDescPBImpl(); |
1272 | | }; |
1273 | | // ------------------------------------------------------------------- |
1274 | | |
1275 | | class QLRSRowDescPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLRSRowDescPB) */ { |
1276 | | public: |
1277 | | QLRSRowDescPB(); |
1278 | | virtual ~QLRSRowDescPB(); |
1279 | | |
1280 | | QLRSRowDescPB(const QLRSRowDescPB& from); |
1281 | | |
1282 | 0 | inline QLRSRowDescPB& operator=(const QLRSRowDescPB& from) { |
1283 | 0 | CopyFrom(from); |
1284 | 0 | return *this; |
1285 | 0 | } |
1286 | | #if LANG_CXX11 |
1287 | | QLRSRowDescPB(QLRSRowDescPB&& from) noexcept |
1288 | 0 | : QLRSRowDescPB() { |
1289 | 0 | *this = ::std::move(from); |
1290 | 0 | } |
1291 | | |
1292 | 0 | inline QLRSRowDescPB& operator=(QLRSRowDescPB&& from) noexcept { |
1293 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1294 | 0 | if (this != &from) InternalSwap(&from); |
1295 | 0 | } else { |
1296 | 0 | CopyFrom(from); |
1297 | 0 | } |
1298 | 0 | return *this; |
1299 | 0 | } |
1300 | | #endif |
1301 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1302 | 0 | return _internal_metadata_.unknown_fields(); |
1303 | 0 | } |
1304 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1305 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1306 | 0 | } |
1307 | | |
1308 | | static const ::google::protobuf::Descriptor* descriptor(); |
1309 | | static const QLRSRowDescPB& default_instance(); |
1310 | | |
1311 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1312 | 4.24M | static inline const QLRSRowDescPB* internal_default_instance() { |
1313 | 4.24M | return reinterpret_cast<const QLRSRowDescPB*>( |
1314 | 4.24M | &_QLRSRowDescPB_default_instance_); |
1315 | 4.24M | } |
1316 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1317 | | 6; |
1318 | | |
1319 | | void Swap(QLRSRowDescPB* other); |
1320 | 0 | friend void swap(QLRSRowDescPB& a, QLRSRowDescPB& b) { |
1321 | 0 | a.Swap(&b); |
1322 | 0 | } |
1323 | | |
1324 | | // implements Message ---------------------------------------------- |
1325 | | |
1326 | 0 | inline QLRSRowDescPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1327 | | |
1328 | | QLRSRowDescPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1329 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1330 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1331 | | void CopyFrom(const QLRSRowDescPB& from); |
1332 | | void MergeFrom(const QLRSRowDescPB& from); |
1333 | | void Clear() PROTOBUF_FINAL; |
1334 | | bool IsInitialized() const PROTOBUF_FINAL; |
1335 | | |
1336 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1337 | | bool MergePartialFromCodedStream( |
1338 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1339 | | void SerializeWithCachedSizes( |
1340 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1341 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1342 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1343 | 336k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1344 | | private: |
1345 | | void SharedCtor(); |
1346 | | void SharedDtor(); |
1347 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1348 | | void InternalSwap(QLRSRowDescPB* other); |
1349 | | private: |
1350 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1351 | 0 | return NULL; |
1352 | 0 | } |
1353 | 0 | inline void* MaybeArenaPtr() const { |
1354 | 0 | return NULL; |
1355 | 0 | } |
1356 | | public: |
1357 | | |
1358 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1359 | | |
1360 | | // nested types ---------------------------------------------------- |
1361 | | |
1362 | | // accessors ------------------------------------------------------- |
1363 | | |
1364 | | // repeated .yb.QLRSColDescPB rscol_descs = 1; |
1365 | | int rscol_descs_size() const; |
1366 | | void clear_rscol_descs(); |
1367 | | static const int kRscolDescsFieldNumber = 1; |
1368 | | const ::yb::QLRSColDescPB& rscol_descs(int index) const; |
1369 | | ::yb::QLRSColDescPB* mutable_rscol_descs(int index); |
1370 | | ::yb::QLRSColDescPB* add_rscol_descs(); |
1371 | | ::google::protobuf::RepeatedPtrField< ::yb::QLRSColDescPB >* |
1372 | | mutable_rscol_descs(); |
1373 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLRSColDescPB >& |
1374 | | rscol_descs() const; |
1375 | | |
1376 | | // @@protoc_insertion_point(class_scope:yb.QLRSRowDescPB) |
1377 | | private: |
1378 | | |
1379 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1380 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1381 | | mutable int _cached_size_; |
1382 | | ::google::protobuf::RepeatedPtrField< ::yb::QLRSColDescPB > rscol_descs_; |
1383 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
1384 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLRSRowDescPBImpl(); |
1385 | | }; |
1386 | | // ------------------------------------------------------------------- |
1387 | | |
1388 | | class QLReadRequestPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLReadRequestPB) */ { |
1389 | | public: |
1390 | | QLReadRequestPB(); |
1391 | | virtual ~QLReadRequestPB(); |
1392 | | |
1393 | | QLReadRequestPB(const QLReadRequestPB& from); |
1394 | | |
1395 | 0 | inline QLReadRequestPB& operator=(const QLReadRequestPB& from) { |
1396 | 0 | CopyFrom(from); |
1397 | 0 | return *this; |
1398 | 0 | } |
1399 | | #if LANG_CXX11 |
1400 | | QLReadRequestPB(QLReadRequestPB&& from) noexcept |
1401 | 0 | : QLReadRequestPB() { |
1402 | 0 | *this = ::std::move(from); |
1403 | 0 | } |
1404 | | |
1405 | 0 | inline QLReadRequestPB& operator=(QLReadRequestPB&& from) noexcept { |
1406 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1407 | 0 | if (this != &from) InternalSwap(&from); |
1408 | 0 | } else { |
1409 | 0 | CopyFrom(from); |
1410 | 0 | } |
1411 | 0 | return *this; |
1412 | 0 | } |
1413 | | #endif |
1414 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1415 | 0 | return _internal_metadata_.unknown_fields(); |
1416 | 0 | } |
1417 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1418 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1419 | 0 | } |
1420 | | |
1421 | | static const ::google::protobuf::Descriptor* descriptor(); |
1422 | | static const QLReadRequestPB& default_instance(); |
1423 | | |
1424 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1425 | 29.6M | static inline const QLReadRequestPB* internal_default_instance() { |
1426 | 29.6M | return reinterpret_cast<const QLReadRequestPB*>( |
1427 | 29.6M | &_QLReadRequestPB_default_instance_); |
1428 | 29.6M | } |
1429 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1430 | | 7; |
1431 | | |
1432 | | void Swap(QLReadRequestPB* other); |
1433 | 0 | friend void swap(QLReadRequestPB& a, QLReadRequestPB& b) { |
1434 | 0 | a.Swap(&b); |
1435 | 0 | } |
1436 | | |
1437 | | // implements Message ---------------------------------------------- |
1438 | | |
1439 | 0 | inline QLReadRequestPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1440 | | |
1441 | | QLReadRequestPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1442 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1443 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1444 | | void CopyFrom(const QLReadRequestPB& from); |
1445 | | void MergeFrom(const QLReadRequestPB& from); |
1446 | | void Clear() PROTOBUF_FINAL; |
1447 | | bool IsInitialized() const PROTOBUF_FINAL; |
1448 | | |
1449 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1450 | | bool MergePartialFromCodedStream( |
1451 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1452 | | void SerializeWithCachedSizes( |
1453 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1454 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1455 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1456 | 337k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1457 | | private: |
1458 | | void SharedCtor(); |
1459 | | void SharedDtor(); |
1460 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1461 | | void InternalSwap(QLReadRequestPB* other); |
1462 | | private: |
1463 | 3.93M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1464 | 3.93M | return NULL; |
1465 | 3.93M | } |
1466 | 0 | inline void* MaybeArenaPtr() const { |
1467 | 0 | return NULL; |
1468 | 0 | } |
1469 | | public: |
1470 | | |
1471 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1472 | | |
1473 | | // nested types ---------------------------------------------------- |
1474 | | |
1475 | | // accessors ------------------------------------------------------- |
1476 | | |
1477 | | // repeated .yb.QLExpressionPB hashed_column_values = 5; |
1478 | | int hashed_column_values_size() const; |
1479 | | void clear_hashed_column_values(); |
1480 | | static const int kHashedColumnValuesFieldNumber = 5; |
1481 | | const ::yb::QLExpressionPB& hashed_column_values(int index) const; |
1482 | | ::yb::QLExpressionPB* mutable_hashed_column_values(int index); |
1483 | | ::yb::QLExpressionPB* add_hashed_column_values(); |
1484 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
1485 | | mutable_hashed_column_values(); |
1486 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
1487 | | hashed_column_values() const; |
1488 | | |
1489 | | // repeated .yb.QLExpressionPB selected_exprs = 7; |
1490 | | int selected_exprs_size() const; |
1491 | | void clear_selected_exprs(); |
1492 | | static const int kSelectedExprsFieldNumber = 7; |
1493 | | const ::yb::QLExpressionPB& selected_exprs(int index) const; |
1494 | | ::yb::QLExpressionPB* mutable_selected_exprs(int index); |
1495 | | ::yb::QLExpressionPB* add_selected_exprs(); |
1496 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
1497 | | mutable_selected_exprs(); |
1498 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
1499 | | selected_exprs() const; |
1500 | | |
1501 | | // optional string proxy_uuid = 20; |
1502 | | bool has_proxy_uuid() const; |
1503 | | void clear_proxy_uuid(); |
1504 | | static const int kProxyUuidFieldNumber = 20; |
1505 | | const ::std::string& proxy_uuid() const; |
1506 | | void set_proxy_uuid(const ::std::string& value); |
1507 | | #if LANG_CXX11 |
1508 | | void set_proxy_uuid(::std::string&& value); |
1509 | | #endif |
1510 | | void set_proxy_uuid(const char* value); |
1511 | | void set_proxy_uuid(const char* value, size_t size); |
1512 | | ::std::string* mutable_proxy_uuid(); |
1513 | | ::std::string* release_proxy_uuid(); |
1514 | | void set_allocated_proxy_uuid(::std::string* proxy_uuid); |
1515 | | |
1516 | | // optional .yb.QLExpressionPB where_expr = 6; |
1517 | | bool has_where_expr() const; |
1518 | | void clear_where_expr(); |
1519 | | static const int kWhereExprFieldNumber = 6; |
1520 | | const ::yb::QLExpressionPB& where_expr() const; |
1521 | | ::yb::QLExpressionPB* release_where_expr(); |
1522 | | ::yb::QLExpressionPB* mutable_where_expr(); |
1523 | | void set_allocated_where_expr(::yb::QLExpressionPB* where_expr); |
1524 | | |
1525 | | // optional .yb.QLPagingStatePB paging_state = 10; |
1526 | | bool has_paging_state() const; |
1527 | | void clear_paging_state(); |
1528 | | static const int kPagingStateFieldNumber = 10; |
1529 | | const ::yb::QLPagingStatePB& paging_state() const; |
1530 | | ::yb::QLPagingStatePB* release_paging_state(); |
1531 | | ::yb::QLPagingStatePB* mutable_paging_state(); |
1532 | | void set_allocated_paging_state(::yb::QLPagingStatePB* paging_state); |
1533 | | |
1534 | | // optional .yb.HostPortPB remote_endpoint = 13; |
1535 | | bool has_remote_endpoint() const; |
1536 | | void clear_remote_endpoint(); |
1537 | | static const int kRemoteEndpointFieldNumber = 13; |
1538 | | const ::yb::HostPortPB& remote_endpoint() const; |
1539 | | ::yb::HostPortPB* release_remote_endpoint(); |
1540 | | ::yb::HostPortPB* mutable_remote_endpoint(); |
1541 | | void set_allocated_remote_endpoint(::yb::HostPortPB* remote_endpoint); |
1542 | | |
1543 | | // optional .yb.QLReferencedColumnsPB column_refs = 15; |
1544 | | bool has_column_refs() const; |
1545 | | void clear_column_refs(); |
1546 | | static const int kColumnRefsFieldNumber = 15; |
1547 | | const ::yb::QLReferencedColumnsPB& column_refs() const; |
1548 | | ::yb::QLReferencedColumnsPB* release_column_refs(); |
1549 | | ::yb::QLReferencedColumnsPB* mutable_column_refs(); |
1550 | | void set_allocated_column_refs(::yb::QLReferencedColumnsPB* column_refs); |
1551 | | |
1552 | | // optional .yb.QLRSRowDescPB rsrow_desc = 17; |
1553 | | bool has_rsrow_desc() const; |
1554 | | void clear_rsrow_desc(); |
1555 | | static const int kRsrowDescFieldNumber = 17; |
1556 | | const ::yb::QLRSRowDescPB& rsrow_desc() const; |
1557 | | ::yb::QLRSRowDescPB* release_rsrow_desc(); |
1558 | | ::yb::QLRSRowDescPB* mutable_rsrow_desc(); |
1559 | | void set_allocated_rsrow_desc(::yb::QLRSRowDescPB* rsrow_desc); |
1560 | | |
1561 | | // optional .yb.QLExpressionPB if_expr = 21; |
1562 | | bool has_if_expr() const; |
1563 | | void clear_if_expr(); |
1564 | | static const int kIfExprFieldNumber = 21; |
1565 | | const ::yb::QLExpressionPB& if_expr() const; |
1566 | | ::yb::QLExpressionPB* release_if_expr(); |
1567 | | ::yb::QLExpressionPB* mutable_if_expr(); |
1568 | | void set_allocated_if_expr(::yb::QLExpressionPB* if_expr); |
1569 | | |
1570 | | // optional uint64 request_id = 2; |
1571 | | bool has_request_id() const; |
1572 | | void clear_request_id(); |
1573 | | static const int kRequestIdFieldNumber = 2; |
1574 | | ::google::protobuf::uint64 request_id() const; |
1575 | | void set_request_id(::google::protobuf::uint64 value); |
1576 | | |
1577 | | // optional uint32 schema_version = 3; |
1578 | | bool has_schema_version() const; |
1579 | | void clear_schema_version(); |
1580 | | static const int kSchemaVersionFieldNumber = 3; |
1581 | | ::google::protobuf::uint32 schema_version() const; |
1582 | | void set_schema_version(::google::protobuf::uint32 value); |
1583 | | |
1584 | | // optional uint32 hash_code = 4; |
1585 | | bool has_hash_code() const; |
1586 | | void clear_hash_code(); |
1587 | | static const int kHashCodeFieldNumber = 4; |
1588 | | ::google::protobuf::uint32 hash_code() const; |
1589 | | void set_hash_code(::google::protobuf::uint32 value); |
1590 | | |
1591 | | // optional uint64 limit = 8; |
1592 | | bool has_limit() const; |
1593 | | void clear_limit(); |
1594 | | static const int kLimitFieldNumber = 8; |
1595 | | ::google::protobuf::uint64 limit() const; |
1596 | | void set_limit(::google::protobuf::uint64 value); |
1597 | | |
1598 | | // optional uint64 offset = 9; |
1599 | | bool has_offset() const; |
1600 | | void clear_offset(); |
1601 | | static const int kOffsetFieldNumber = 9; |
1602 | | ::google::protobuf::uint64 offset() const; |
1603 | | void set_offset(::google::protobuf::uint64 value); |
1604 | | |
1605 | | // optional uint32 max_hash_code = 14; |
1606 | | bool has_max_hash_code() const; |
1607 | | void clear_max_hash_code(); |
1608 | | static const int kMaxHashCodeFieldNumber = 14; |
1609 | | ::google::protobuf::uint32 max_hash_code() const; |
1610 | | void set_max_hash_code(::google::protobuf::uint32 value); |
1611 | | |
1612 | | // optional bool distinct = 12 [default = false]; |
1613 | | bool has_distinct() const; |
1614 | | void clear_distinct(); |
1615 | | static const int kDistinctFieldNumber = 12; |
1616 | | bool distinct() const; |
1617 | | void set_distinct(bool value); |
1618 | | |
1619 | | // optional bool return_paging_state = 11 [default = false]; |
1620 | | bool has_return_paging_state() const; |
1621 | | void clear_return_paging_state(); |
1622 | | static const int kReturnPagingStateFieldNumber = 11; |
1623 | | bool return_paging_state() const; |
1624 | | void set_return_paging_state(bool value); |
1625 | | |
1626 | | // optional bool is_aggregate = 19 [default = false]; |
1627 | | bool has_is_aggregate() const; |
1628 | | void clear_is_aggregate(); |
1629 | | static const int kIsAggregateFieldNumber = 19; |
1630 | | bool is_aggregate() const; |
1631 | | void set_is_aggregate(bool value); |
1632 | | |
1633 | | // optional bool is_compatible_with_previous_version = 22 [default = false]; |
1634 | | bool has_is_compatible_with_previous_version() const; |
1635 | | void clear_is_compatible_with_previous_version(); |
1636 | | static const int kIsCompatibleWithPreviousVersionFieldNumber = 22; |
1637 | | bool is_compatible_with_previous_version() const; |
1638 | | void set_is_compatible_with_previous_version(bool value); |
1639 | | |
1640 | | // optional int64 query_id = 16; |
1641 | | bool has_query_id() const; |
1642 | | void clear_query_id(); |
1643 | | static const int kQueryIdFieldNumber = 16; |
1644 | | ::google::protobuf::int64 query_id() const; |
1645 | | void set_query_id(::google::protobuf::int64 value); |
1646 | | |
1647 | | // optional .yb.QLClient client = 1; |
1648 | | bool has_client() const; |
1649 | | void clear_client(); |
1650 | | static const int kClientFieldNumber = 1; |
1651 | | ::yb::QLClient client() const; |
1652 | | void set_client(::yb::QLClient value); |
1653 | | |
1654 | | // optional bool is_forward_scan = 18 [default = true]; |
1655 | | bool has_is_forward_scan() const; |
1656 | | void clear_is_forward_scan(); |
1657 | | static const int kIsForwardScanFieldNumber = 18; |
1658 | | bool is_forward_scan() const; |
1659 | | void set_is_forward_scan(bool value); |
1660 | | |
1661 | | // @@protoc_insertion_point(class_scope:yb.QLReadRequestPB) |
1662 | | private: |
1663 | | void set_has_client(); |
1664 | | void clear_has_client(); |
1665 | | void set_has_request_id(); |
1666 | | void clear_has_request_id(); |
1667 | | void set_has_schema_version(); |
1668 | | void clear_has_schema_version(); |
1669 | | void set_has_hash_code(); |
1670 | | void clear_has_hash_code(); |
1671 | | void set_has_is_forward_scan(); |
1672 | | void clear_has_is_forward_scan(); |
1673 | | void set_has_where_expr(); |
1674 | | void clear_has_where_expr(); |
1675 | | void set_has_if_expr(); |
1676 | | void clear_has_if_expr(); |
1677 | | void set_has_rsrow_desc(); |
1678 | | void clear_has_rsrow_desc(); |
1679 | | void set_has_distinct(); |
1680 | | void clear_has_distinct(); |
1681 | | void set_has_limit(); |
1682 | | void clear_has_limit(); |
1683 | | void set_has_offset(); |
1684 | | void clear_has_offset(); |
1685 | | void set_has_paging_state(); |
1686 | | void clear_has_paging_state(); |
1687 | | void set_has_return_paging_state(); |
1688 | | void clear_has_return_paging_state(); |
1689 | | void set_has_remote_endpoint(); |
1690 | | void clear_has_remote_endpoint(); |
1691 | | void set_has_proxy_uuid(); |
1692 | | void clear_has_proxy_uuid(); |
1693 | | void set_has_max_hash_code(); |
1694 | | void clear_has_max_hash_code(); |
1695 | | void set_has_column_refs(); |
1696 | | void clear_has_column_refs(); |
1697 | | void set_has_query_id(); |
1698 | | void clear_has_query_id(); |
1699 | | void set_has_is_aggregate(); |
1700 | | void clear_has_is_aggregate(); |
1701 | | void set_has_is_compatible_with_previous_version(); |
1702 | | void clear_has_is_compatible_with_previous_version(); |
1703 | | |
1704 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1705 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1706 | | mutable int _cached_size_; |
1707 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > hashed_column_values_; |
1708 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > selected_exprs_; |
1709 | | ::google::protobuf::internal::ArenaStringPtr proxy_uuid_; |
1710 | | ::yb::QLExpressionPB* where_expr_; |
1711 | | ::yb::QLPagingStatePB* paging_state_; |
1712 | | ::yb::HostPortPB* remote_endpoint_; |
1713 | | ::yb::QLReferencedColumnsPB* column_refs_; |
1714 | | ::yb::QLRSRowDescPB* rsrow_desc_; |
1715 | | ::yb::QLExpressionPB* if_expr_; |
1716 | | ::google::protobuf::uint64 request_id_; |
1717 | | ::google::protobuf::uint32 schema_version_; |
1718 | | ::google::protobuf::uint32 hash_code_; |
1719 | | ::google::protobuf::uint64 limit_; |
1720 | | ::google::protobuf::uint64 offset_; |
1721 | | ::google::protobuf::uint32 max_hash_code_; |
1722 | | bool distinct_; |
1723 | | bool return_paging_state_; |
1724 | | bool is_aggregate_; |
1725 | | bool is_compatible_with_previous_version_; |
1726 | | ::google::protobuf::int64 query_id_; |
1727 | | int client_; |
1728 | | bool is_forward_scan_; |
1729 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
1730 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLReadRequestPBImpl(); |
1731 | | }; |
1732 | | // ------------------------------------------------------------------- |
1733 | | |
1734 | | class QLResponsePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLResponsePB) */ { |
1735 | | public: |
1736 | | QLResponsePB(); |
1737 | | virtual ~QLResponsePB(); |
1738 | | |
1739 | | QLResponsePB(const QLResponsePB& from); |
1740 | | |
1741 | 0 | inline QLResponsePB& operator=(const QLResponsePB& from) { |
1742 | 0 | CopyFrom(from); |
1743 | 0 | return *this; |
1744 | 0 | } |
1745 | | #if LANG_CXX11 |
1746 | | QLResponsePB(QLResponsePB&& from) noexcept |
1747 | 0 | : QLResponsePB() { |
1748 | 0 | *this = ::std::move(from); |
1749 | 0 | } |
1750 | | |
1751 | 0 | inline QLResponsePB& operator=(QLResponsePB&& from) noexcept { |
1752 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1753 | 0 | if (this != &from) InternalSwap(&from); |
1754 | 0 | } else { |
1755 | 0 | CopyFrom(from); |
1756 | 0 | } |
1757 | 0 | return *this; |
1758 | 0 | } |
1759 | | #endif |
1760 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1761 | 0 | return _internal_metadata_.unknown_fields(); |
1762 | 0 | } |
1763 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1764 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1765 | 0 | } |
1766 | | |
1767 | | static const ::google::protobuf::Descriptor* descriptor(); |
1768 | | static const QLResponsePB& default_instance(); |
1769 | | |
1770 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1771 | 73.2M | static inline const QLResponsePB* internal_default_instance() { |
1772 | 73.2M | return reinterpret_cast<const QLResponsePB*>( |
1773 | 73.2M | &_QLResponsePB_default_instance_); |
1774 | 73.2M | } |
1775 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1776 | | 8; |
1777 | | |
1778 | | void Swap(QLResponsePB* other); |
1779 | 0 | friend void swap(QLResponsePB& a, QLResponsePB& b) { |
1780 | 0 | a.Swap(&b); |
1781 | 0 | } |
1782 | | |
1783 | | // implements Message ---------------------------------------------- |
1784 | | |
1785 | 0 | inline QLResponsePB* New() const PROTOBUF_FINAL { return New(NULL); } |
1786 | | |
1787 | | QLResponsePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1788 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1789 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1790 | | void CopyFrom(const QLResponsePB& from); |
1791 | | void MergeFrom(const QLResponsePB& from); |
1792 | | void Clear() PROTOBUF_FINAL; |
1793 | | bool IsInitialized() const PROTOBUF_FINAL; |
1794 | | |
1795 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1796 | | bool MergePartialFromCodedStream( |
1797 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1798 | | void SerializeWithCachedSizes( |
1799 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1800 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1801 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1802 | 2.34M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1803 | | private: |
1804 | | void SharedCtor(); |
1805 | | void SharedDtor(); |
1806 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1807 | | void InternalSwap(QLResponsePB* other); |
1808 | | private: |
1809 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1810 | 0 | return NULL; |
1811 | 0 | } |
1812 | 0 | inline void* MaybeArenaPtr() const { |
1813 | 0 | return NULL; |
1814 | 0 | } |
1815 | | public: |
1816 | | |
1817 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1818 | | |
1819 | | // nested types ---------------------------------------------------- |
1820 | | |
1821 | | typedef QLResponsePB_QLStatus QLStatus; |
1822 | | static const QLStatus YQL_STATUS_OK = |
1823 | | QLResponsePB_QLStatus_YQL_STATUS_OK; |
1824 | | static const QLStatus YQL_STATUS_SCHEMA_VERSION_MISMATCH = |
1825 | | QLResponsePB_QLStatus_YQL_STATUS_SCHEMA_VERSION_MISMATCH; |
1826 | | static const QLStatus YQL_STATUS_RUNTIME_ERROR = |
1827 | | QLResponsePB_QLStatus_YQL_STATUS_RUNTIME_ERROR; |
1828 | | static const QLStatus YQL_STATUS_USAGE_ERROR = |
1829 | | QLResponsePB_QLStatus_YQL_STATUS_USAGE_ERROR; |
1830 | | static const QLStatus YQL_STATUS_RESTART_REQUIRED_ERROR = |
1831 | | QLResponsePB_QLStatus_YQL_STATUS_RESTART_REQUIRED_ERROR; |
1832 | | static const QLStatus YQL_STATUS_QUERY_ERROR = |
1833 | | QLResponsePB_QLStatus_YQL_STATUS_QUERY_ERROR; |
1834 | 0 | static inline bool QLStatus_IsValid(int value) { |
1835 | 0 | return QLResponsePB_QLStatus_IsValid(value); |
1836 | 0 | } |
1837 | | static const QLStatus QLStatus_MIN = |
1838 | | QLResponsePB_QLStatus_QLStatus_MIN; |
1839 | | static const QLStatus QLStatus_MAX = |
1840 | | QLResponsePB_QLStatus_QLStatus_MAX; |
1841 | | static const int QLStatus_ARRAYSIZE = |
1842 | | QLResponsePB_QLStatus_QLStatus_ARRAYSIZE; |
1843 | | static inline const ::google::protobuf::EnumDescriptor* |
1844 | 0 | QLStatus_descriptor() { |
1845 | 0 | return QLResponsePB_QLStatus_descriptor(); |
1846 | 0 | } |
1847 | 0 | static inline const ::std::string& QLStatus_Name(QLStatus value) { |
1848 | 0 | return QLResponsePB_QLStatus_Name(value); |
1849 | 0 | } |
1850 | | static inline bool QLStatus_Parse(const ::std::string& name, |
1851 | 0 | QLStatus* value) { |
1852 | 0 | return QLResponsePB_QLStatus_Parse(name, value); |
1853 | 0 | } |
1854 | | |
1855 | | // accessors ------------------------------------------------------- |
1856 | | |
1857 | | // repeated .yb.ColumnSchemaPB column_schemas = 3; |
1858 | | int column_schemas_size() const; |
1859 | | void clear_column_schemas(); |
1860 | | static const int kColumnSchemasFieldNumber = 3; |
1861 | | const ::yb::ColumnSchemaPB& column_schemas(int index) const; |
1862 | | ::yb::ColumnSchemaPB* mutable_column_schemas(int index); |
1863 | | ::yb::ColumnSchemaPB* add_column_schemas(); |
1864 | | ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >* |
1865 | | mutable_column_schemas(); |
1866 | | const ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >& |
1867 | | column_schemas() const; |
1868 | | |
1869 | | // optional string error_message = 2; |
1870 | | bool has_error_message() const; |
1871 | | void clear_error_message(); |
1872 | | static const int kErrorMessageFieldNumber = 2; |
1873 | | const ::std::string& error_message() const; |
1874 | | void set_error_message(const ::std::string& value); |
1875 | | #if LANG_CXX11 |
1876 | | void set_error_message(::std::string&& value); |
1877 | | #endif |
1878 | | void set_error_message(const char* value); |
1879 | | void set_error_message(const char* value, size_t size); |
1880 | | ::std::string* mutable_error_message(); |
1881 | | ::std::string* release_error_message(); |
1882 | | void set_allocated_error_message(::std::string* error_message); |
1883 | | |
1884 | | // optional .yb.QLPagingStatePB paging_state = 5; |
1885 | | bool has_paging_state() const; |
1886 | | void clear_paging_state(); |
1887 | | static const int kPagingStateFieldNumber = 5; |
1888 | | const ::yb::QLPagingStatePB& paging_state() const; |
1889 | | ::yb::QLPagingStatePB* release_paging_state(); |
1890 | | ::yb::QLPagingStatePB* mutable_paging_state(); |
1891 | | void set_allocated_paging_state(::yb::QLPagingStatePB* paging_state); |
1892 | | |
1893 | | // optional .yb.ChildTransactionResultPB child_transaction_result = 6; |
1894 | | bool has_child_transaction_result() const; |
1895 | | void clear_child_transaction_result(); |
1896 | | static const int kChildTransactionResultFieldNumber = 6; |
1897 | | const ::yb::ChildTransactionResultPB& child_transaction_result() const; |
1898 | | ::yb::ChildTransactionResultPB* release_child_transaction_result(); |
1899 | | ::yb::ChildTransactionResultPB* mutable_child_transaction_result(); |
1900 | | void set_allocated_child_transaction_result(::yb::ChildTransactionResultPB* child_transaction_result); |
1901 | | |
1902 | | // optional .yb.QLResponsePB.QLStatus status = 1 [default = YQL_STATUS_OK]; |
1903 | | bool has_status() const; |
1904 | | void clear_status(); |
1905 | | static const int kStatusFieldNumber = 1; |
1906 | | ::yb::QLResponsePB_QLStatus status() const; |
1907 | | void set_status(::yb::QLResponsePB_QLStatus value); |
1908 | | |
1909 | | // optional int32 rows_data_sidecar = 4; |
1910 | | bool has_rows_data_sidecar() const; |
1911 | | void clear_rows_data_sidecar(); |
1912 | | static const int kRowsDataSidecarFieldNumber = 4; |
1913 | | ::google::protobuf::int32 rows_data_sidecar() const; |
1914 | | void set_rows_data_sidecar(::google::protobuf::int32 value); |
1915 | | |
1916 | | // optional bool applied = 7; |
1917 | | bool has_applied() const; |
1918 | | void clear_applied(); |
1919 | | static const int kAppliedFieldNumber = 7; |
1920 | | bool applied() const; |
1921 | | void set_applied(bool value); |
1922 | | |
1923 | | // @@protoc_insertion_point(class_scope:yb.QLResponsePB) |
1924 | | private: |
1925 | | void set_has_status(); |
1926 | | void clear_has_status(); |
1927 | | void set_has_error_message(); |
1928 | | void clear_has_error_message(); |
1929 | | void set_has_rows_data_sidecar(); |
1930 | | void clear_has_rows_data_sidecar(); |
1931 | | void set_has_paging_state(); |
1932 | | void clear_has_paging_state(); |
1933 | | void set_has_child_transaction_result(); |
1934 | | void clear_has_child_transaction_result(); |
1935 | | void set_has_applied(); |
1936 | | void clear_has_applied(); |
1937 | | |
1938 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1939 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1940 | | mutable int _cached_size_; |
1941 | | ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB > column_schemas_; |
1942 | | ::google::protobuf::internal::ArenaStringPtr error_message_; |
1943 | | ::yb::QLPagingStatePB* paging_state_; |
1944 | | ::yb::ChildTransactionResultPB* child_transaction_result_; |
1945 | | int status_; |
1946 | | ::google::protobuf::int32 rows_data_sidecar_; |
1947 | | bool applied_; |
1948 | | friend struct ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::TableStruct; |
1949 | | friend void ::protobuf_yb_2fcommon_2fql_5fprotocol_2eproto::InitDefaultsQLResponsePBImpl(); |
1950 | | }; |
1951 | | // =================================================================== |
1952 | | |
1953 | | |
1954 | | // =================================================================== |
1955 | | |
1956 | | #ifdef __GNUC__ |
1957 | | #pragma GCC diagnostic push |
1958 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1959 | | #endif // __GNUC__ |
1960 | | // QLColumnValuePB |
1961 | | |
1962 | | // optional int32 column_id = 1; |
1963 | 12.4M | inline bool QLColumnValuePB::has_column_id() const { |
1964 | 12.4M | return (_has_bits_[0] & 0x00000002u) != 0; |
1965 | 12.4M | } |
1966 | 8.78M | inline void QLColumnValuePB::set_has_column_id() { |
1967 | 8.78M | _has_bits_[0] |= 0x00000002u; |
1968 | 8.78M | } |
1969 | 0 | inline void QLColumnValuePB::clear_has_column_id() { |
1970 | 0 | _has_bits_[0] &= ~0x00000002u; |
1971 | 0 | } |
1972 | 0 | inline void QLColumnValuePB::clear_column_id() { |
1973 | 0 | column_id_ = 0; |
1974 | 0 | clear_has_column_id(); |
1975 | 0 | } |
1976 | 21.3M | inline ::google::protobuf::int32 QLColumnValuePB::column_id() const { |
1977 | | // @@protoc_insertion_point(field_get:yb.QLColumnValuePB.column_id) |
1978 | 21.3M | return column_id_; |
1979 | 21.3M | } |
1980 | 5.06M | inline void QLColumnValuePB::set_column_id(::google::protobuf::int32 value) { |
1981 | 5.06M | set_has_column_id(); |
1982 | 5.06M | column_id_ = value; |
1983 | | // @@protoc_insertion_point(field_set:yb.QLColumnValuePB.column_id) |
1984 | 5.06M | } |
1985 | | |
1986 | | // repeated .yb.QLExpressionPB subscript_args = 3; |
1987 | 11.2M | inline int QLColumnValuePB::subscript_args_size() const { |
1988 | 11.2M | return subscript_args_.size(); |
1989 | 11.2M | } |
1990 | 123 | inline const ::yb::QLExpressionPB& QLColumnValuePB::subscript_args(int index) const { |
1991 | | // @@protoc_insertion_point(field_get:yb.QLColumnValuePB.subscript_args) |
1992 | 123 | return subscript_args_.Get(index); |
1993 | 123 | } |
1994 | 0 | inline ::yb::QLExpressionPB* QLColumnValuePB::mutable_subscript_args(int index) { |
1995 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLColumnValuePB.subscript_args) |
1996 | 0 | return subscript_args_.Mutable(index); |
1997 | 0 | } |
1998 | 55 | inline ::yb::QLExpressionPB* QLColumnValuePB::add_subscript_args() { |
1999 | | // @@protoc_insertion_point(field_add:yb.QLColumnValuePB.subscript_args) |
2000 | 55 | return subscript_args_.Add(); |
2001 | 55 | } |
2002 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
2003 | 0 | QLColumnValuePB::mutable_subscript_args() { |
2004 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLColumnValuePB.subscript_args) |
2005 | 0 | return &subscript_args_; |
2006 | 0 | } |
2007 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
2008 | 12.4M | QLColumnValuePB::subscript_args() const { |
2009 | | // @@protoc_insertion_point(field_list:yb.QLColumnValuePB.subscript_args) |
2010 | 12.4M | return subscript_args_; |
2011 | 12.4M | } |
2012 | | |
2013 | | // repeated .yb.QLJsonOperationPB json_args = 4; |
2014 | 11.2M | inline int QLColumnValuePB::json_args_size() const { |
2015 | 11.2M | return json_args_.size(); |
2016 | 11.2M | } |
2017 | 527 | inline const ::yb::QLJsonOperationPB& QLColumnValuePB::json_args(int index) const { |
2018 | | // @@protoc_insertion_point(field_get:yb.QLColumnValuePB.json_args) |
2019 | 527 | return json_args_.Get(index); |
2020 | 527 | } |
2021 | 0 | inline ::yb::QLJsonOperationPB* QLColumnValuePB::mutable_json_args(int index) { |
2022 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLColumnValuePB.json_args) |
2023 | 0 | return json_args_.Mutable(index); |
2024 | 0 | } |
2025 | 226 | inline ::yb::QLJsonOperationPB* QLColumnValuePB::add_json_args() { |
2026 | | // @@protoc_insertion_point(field_add:yb.QLColumnValuePB.json_args) |
2027 | 226 | return json_args_.Add(); |
2028 | 226 | } |
2029 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >* |
2030 | 0 | QLColumnValuePB::mutable_json_args() { |
2031 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLColumnValuePB.json_args) |
2032 | 0 | return &json_args_; |
2033 | 0 | } |
2034 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >& |
2035 | 12.4M | QLColumnValuePB::json_args() const { |
2036 | | // @@protoc_insertion_point(field_list:yb.QLColumnValuePB.json_args) |
2037 | 12.4M | return json_args_; |
2038 | 12.4M | } |
2039 | | |
2040 | | // optional .yb.QLExpressionPB expr = 2; |
2041 | 14.9M | inline bool QLColumnValuePB::has_expr() const { |
2042 | 14.9M | return (_has_bits_[0] & 0x00000001u) != 0; |
2043 | 14.9M | } |
2044 | 8.78M | inline void QLColumnValuePB::set_has_expr() { |
2045 | 8.78M | _has_bits_[0] |= 0x00000001u; |
2046 | 8.78M | } |
2047 | 0 | inline void QLColumnValuePB::clear_has_expr() { |
2048 | 0 | _has_bits_[0] &= ~0x00000001u; |
2049 | 0 | } |
2050 | 9.91M | inline const ::yb::QLExpressionPB& QLColumnValuePB::expr() const { |
2051 | 9.91M | const ::yb::QLExpressionPB* p = expr_; |
2052 | | // @@protoc_insertion_point(field_get:yb.QLColumnValuePB.expr) |
2053 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
2054 | 18.4E | &::yb::_QLExpressionPB_default_instance_); |
2055 | 9.91M | } |
2056 | 0 | inline ::yb::QLExpressionPB* QLColumnValuePB::release_expr() { |
2057 | 0 | // @@protoc_insertion_point(field_release:yb.QLColumnValuePB.expr) |
2058 | 0 | clear_has_expr(); |
2059 | 0 | ::yb::QLExpressionPB* temp = expr_; |
2060 | 0 | expr_ = NULL; |
2061 | 0 | return temp; |
2062 | 0 | } |
2063 | 8.78M | inline ::yb::QLExpressionPB* QLColumnValuePB::mutable_expr() { |
2064 | 8.78M | set_has_expr(); |
2065 | 8.78M | if (expr_ == NULL) { |
2066 | 8.76M | expr_ = new ::yb::QLExpressionPB; |
2067 | 8.76M | } |
2068 | | // @@protoc_insertion_point(field_mutable:yb.QLColumnValuePB.expr) |
2069 | 8.78M | return expr_; |
2070 | 8.78M | } |
2071 | 0 | inline void QLColumnValuePB::set_allocated_expr(::yb::QLExpressionPB* expr) { |
2072 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2073 | 0 | if (message_arena == NULL) { |
2074 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(expr_); |
2075 | 0 | } |
2076 | 0 | if (expr) { |
2077 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2078 | 0 | if (message_arena != submessage_arena) { |
2079 | 0 | expr = ::google::protobuf::internal::GetOwnedMessage( |
2080 | 0 | message_arena, expr, submessage_arena); |
2081 | 0 | } |
2082 | 0 | set_has_expr(); |
2083 | 0 | } else { |
2084 | 0 | clear_has_expr(); |
2085 | 0 | } |
2086 | 0 | expr_ = expr; |
2087 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLColumnValuePB.expr) |
2088 | 0 | } |
2089 | | |
2090 | | // ------------------------------------------------------------------- |
2091 | | |
2092 | | // QLSelectRowCounterPB |
2093 | | |
2094 | | // optional int64 select_limit = 1 [default = -1]; |
2095 | 15.0M | inline bool QLSelectRowCounterPB::has_select_limit() const { |
2096 | 15.0M | return (_has_bits_[0] & 0x00000004u) != 0; |
2097 | 15.0M | } |
2098 | 3.62M | inline void QLSelectRowCounterPB::set_has_select_limit() { |
2099 | 3.62M | _has_bits_[0] |= 0x00000004u; |
2100 | 3.62M | } |
2101 | 0 | inline void QLSelectRowCounterPB::clear_has_select_limit() { |
2102 | 0 | _has_bits_[0] &= ~0x00000004u; |
2103 | 0 | } |
2104 | 0 | inline void QLSelectRowCounterPB::clear_select_limit() { |
2105 | 0 | select_limit_ = GOOGLE_LONGLONG(-1); |
2106 | 0 | clear_has_select_limit(); |
2107 | 0 | } |
2108 | 18.0M | inline ::google::protobuf::int64 QLSelectRowCounterPB::select_limit() const { |
2109 | | // @@protoc_insertion_point(field_get:yb.QLSelectRowCounterPB.select_limit) |
2110 | 18.0M | return select_limit_; |
2111 | 18.0M | } |
2112 | 3.62M | inline void QLSelectRowCounterPB::set_select_limit(::google::protobuf::int64 value) { |
2113 | 3.62M | set_has_select_limit(); |
2114 | 3.62M | select_limit_ = value; |
2115 | | // @@protoc_insertion_point(field_set:yb.QLSelectRowCounterPB.select_limit) |
2116 | 3.62M | } |
2117 | | |
2118 | | // optional int64 select_offset = 2 [default = -1]; |
2119 | 3.94M | inline bool QLSelectRowCounterPB::has_select_offset() const { |
2120 | 3.94M | return (_has_bits_[0] & 0x00000008u) != 0; |
2121 | 3.94M | } |
2122 | 398 | inline void QLSelectRowCounterPB::set_has_select_offset() { |
2123 | 398 | _has_bits_[0] |= 0x00000008u; |
2124 | 398 | } |
2125 | 0 | inline void QLSelectRowCounterPB::clear_has_select_offset() { |
2126 | 0 | _has_bits_[0] &= ~0x00000008u; |
2127 | 0 | } |
2128 | 0 | inline void QLSelectRowCounterPB::clear_select_offset() { |
2129 | 0 | select_offset_ = GOOGLE_LONGLONG(-1); |
2130 | 0 | clear_has_select_offset(); |
2131 | 0 | } |
2132 | 3.90k | inline ::google::protobuf::int64 QLSelectRowCounterPB::select_offset() const { |
2133 | | // @@protoc_insertion_point(field_get:yb.QLSelectRowCounterPB.select_offset) |
2134 | 3.90k | return select_offset_; |
2135 | 3.90k | } |
2136 | 249 | inline void QLSelectRowCounterPB::set_select_offset(::google::protobuf::int64 value) { |
2137 | 249 | set_has_select_offset(); |
2138 | 249 | select_offset_ = value; |
2139 | | // @@protoc_insertion_point(field_set:yb.QLSelectRowCounterPB.select_offset) |
2140 | 249 | } |
2141 | | |
2142 | | // optional int64 read_count = 3 [default = 0]; |
2143 | 339 | inline bool QLSelectRowCounterPB::has_read_count() const { |
2144 | 339 | return (_has_bits_[0] & 0x00000001u) != 0; |
2145 | 339 | } |
2146 | 3.94M | inline void QLSelectRowCounterPB::set_has_read_count() { |
2147 | 3.94M | _has_bits_[0] |= 0x00000001u; |
2148 | 3.94M | } |
2149 | 0 | inline void QLSelectRowCounterPB::clear_has_read_count() { |
2150 | 0 | _has_bits_[0] &= ~0x00000001u; |
2151 | 0 | } |
2152 | 0 | inline void QLSelectRowCounterPB::clear_read_count() { |
2153 | 0 | read_count_ = GOOGLE_LONGLONG(0); |
2154 | 0 | clear_has_read_count(); |
2155 | 0 | } |
2156 | 22.0M | inline ::google::protobuf::int64 QLSelectRowCounterPB::read_count() const { |
2157 | | // @@protoc_insertion_point(field_get:yb.QLSelectRowCounterPB.read_count) |
2158 | 22.0M | return read_count_; |
2159 | 22.0M | } |
2160 | 3.94M | inline void QLSelectRowCounterPB::set_read_count(::google::protobuf::int64 value) { |
2161 | 3.94M | set_has_read_count(); |
2162 | 3.94M | read_count_ = value; |
2163 | | // @@protoc_insertion_point(field_set:yb.QLSelectRowCounterPB.read_count) |
2164 | 3.94M | } |
2165 | | |
2166 | | // optional int64 skip_count = 4 [default = 0]; |
2167 | 339 | inline bool QLSelectRowCounterPB::has_skip_count() const { |
2168 | 339 | return (_has_bits_[0] & 0x00000002u) != 0; |
2169 | 339 | } |
2170 | 1.98k | inline void QLSelectRowCounterPB::set_has_skip_count() { |
2171 | 1.98k | _has_bits_[0] |= 0x00000002u; |
2172 | 1.98k | } |
2173 | 0 | inline void QLSelectRowCounterPB::clear_has_skip_count() { |
2174 | 0 | _has_bits_[0] &= ~0x00000002u; |
2175 | 0 | } |
2176 | 0 | inline void QLSelectRowCounterPB::clear_skip_count() { |
2177 | 0 | skip_count_ = GOOGLE_LONGLONG(0); |
2178 | 0 | clear_has_skip_count(); |
2179 | 0 | } |
2180 | 36.2k | inline ::google::protobuf::int64 QLSelectRowCounterPB::skip_count() const { |
2181 | | // @@protoc_insertion_point(field_get:yb.QLSelectRowCounterPB.skip_count) |
2182 | 36.2k | return skip_count_; |
2183 | 36.2k | } |
2184 | 1.86k | inline void QLSelectRowCounterPB::set_skip_count(::google::protobuf::int64 value) { |
2185 | 1.86k | set_has_skip_count(); |
2186 | 1.86k | skip_count_ = value; |
2187 | | // @@protoc_insertion_point(field_set:yb.QLSelectRowCounterPB.skip_count) |
2188 | 1.86k | } |
2189 | | |
2190 | | // ------------------------------------------------------------------- |
2191 | | |
2192 | | // QLPagingStatePB |
2193 | | |
2194 | | // optional bytes table_id = 1; |
2195 | 127k | inline bool QLPagingStatePB::has_table_id() const { |
2196 | 127k | return (_has_bits_[0] & 0x00000001u) != 0; |
2197 | 127k | } |
2198 | 68.2k | inline void QLPagingStatePB::set_has_table_id() { |
2199 | 68.2k | _has_bits_[0] |= 0x00000001u; |
2200 | 68.2k | } |
2201 | 0 | inline void QLPagingStatePB::clear_has_table_id() { |
2202 | 0 | _has_bits_[0] &= ~0x00000001u; |
2203 | 0 | } |
2204 | 0 | inline void QLPagingStatePB::clear_table_id() { |
2205 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2206 | 0 | clear_has_table_id(); |
2207 | 0 | } |
2208 | 3.96M | inline const ::std::string& QLPagingStatePB::table_id() const { |
2209 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.table_id) |
2210 | 3.96M | return table_id_.GetNoArena(); |
2211 | 3.96M | } |
2212 | 33.9k | inline void QLPagingStatePB::set_table_id(const ::std::string& value) { |
2213 | 33.9k | set_has_table_id(); |
2214 | 33.9k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2215 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.table_id) |
2216 | 33.9k | } |
2217 | | #if LANG_CXX11 |
2218 | 0 | inline void QLPagingStatePB::set_table_id(::std::string&& value) { |
2219 | 0 | set_has_table_id(); |
2220 | 0 | table_id_.SetNoArena( |
2221 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2222 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLPagingStatePB.table_id) |
2223 | 0 | } |
2224 | | #endif |
2225 | 0 | inline void QLPagingStatePB::set_table_id(const char* value) { |
2226 | 0 | GOOGLE_DCHECK(value != NULL); |
2227 | 0 | set_has_table_id(); |
2228 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2229 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLPagingStatePB.table_id) |
2230 | 0 | } |
2231 | 0 | inline void QLPagingStatePB::set_table_id(const void* value, size_t size) { |
2232 | 0 | set_has_table_id(); |
2233 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2234 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2235 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLPagingStatePB.table_id) |
2236 | 0 | } |
2237 | 33.9k | inline ::std::string* QLPagingStatePB::mutable_table_id() { |
2238 | 33.9k | set_has_table_id(); |
2239 | | // @@protoc_insertion_point(field_mutable:yb.QLPagingStatePB.table_id) |
2240 | 33.9k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2241 | 33.9k | } |
2242 | 0 | inline ::std::string* QLPagingStatePB::release_table_id() { |
2243 | 0 | // @@protoc_insertion_point(field_release:yb.QLPagingStatePB.table_id) |
2244 | 0 | clear_has_table_id(); |
2245 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2246 | 0 | } |
2247 | 0 | inline void QLPagingStatePB::set_allocated_table_id(::std::string* table_id) { |
2248 | 0 | if (table_id != NULL) { |
2249 | 0 | set_has_table_id(); |
2250 | 0 | } else { |
2251 | 0 | clear_has_table_id(); |
2252 | 0 | } |
2253 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
2254 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLPagingStatePB.table_id) |
2255 | 0 | } |
2256 | | |
2257 | | // optional bytes next_partition_key = 2; |
2258 | 204k | inline bool QLPagingStatePB::has_next_partition_key() const { |
2259 | 204k | return (_has_bits_[0] & 0x00000002u) != 0; |
2260 | 204k | } |
2261 | 149k | inline void QLPagingStatePB::set_has_next_partition_key() { |
2262 | 149k | _has_bits_[0] |= 0x00000002u; |
2263 | 149k | } |
2264 | 0 | inline void QLPagingStatePB::clear_has_next_partition_key() { |
2265 | 0 | _has_bits_[0] &= ~0x00000002u; |
2266 | 0 | } |
2267 | 0 | inline void QLPagingStatePB::clear_next_partition_key() { |
2268 | 0 | next_partition_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2269 | 0 | clear_has_next_partition_key(); |
2270 | 0 | } |
2271 | 343k | inline const ::std::string& QLPagingStatePB::next_partition_key() const { |
2272 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.next_partition_key) |
2273 | 343k | return next_partition_key_.GetNoArena(); |
2274 | 343k | } |
2275 | 66.6k | inline void QLPagingStatePB::set_next_partition_key(const ::std::string& value) { |
2276 | 66.6k | set_has_next_partition_key(); |
2277 | 66.6k | next_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2278 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.next_partition_key) |
2279 | 66.6k | } |
2280 | | #if LANG_CXX11 |
2281 | 1.20k | inline void QLPagingStatePB::set_next_partition_key(::std::string&& value) { |
2282 | 1.20k | set_has_next_partition_key(); |
2283 | 1.20k | next_partition_key_.SetNoArena( |
2284 | 1.20k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2285 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLPagingStatePB.next_partition_key) |
2286 | 1.20k | } |
2287 | | #endif |
2288 | 0 | inline void QLPagingStatePB::set_next_partition_key(const char* value) { |
2289 | 0 | GOOGLE_DCHECK(value != NULL); |
2290 | 0 | set_has_next_partition_key(); |
2291 | 0 | next_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2292 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLPagingStatePB.next_partition_key) |
2293 | 0 | } |
2294 | 0 | inline void QLPagingStatePB::set_next_partition_key(const void* value, size_t size) { |
2295 | 0 | set_has_next_partition_key(); |
2296 | 0 | next_partition_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2297 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2298 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLPagingStatePB.next_partition_key) |
2299 | 0 | } |
2300 | 80.0k | inline ::std::string* QLPagingStatePB::mutable_next_partition_key() { |
2301 | 80.0k | set_has_next_partition_key(); |
2302 | | // @@protoc_insertion_point(field_mutable:yb.QLPagingStatePB.next_partition_key) |
2303 | 80.0k | return next_partition_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2304 | 80.0k | } |
2305 | 0 | inline ::std::string* QLPagingStatePB::release_next_partition_key() { |
2306 | 0 | // @@protoc_insertion_point(field_release:yb.QLPagingStatePB.next_partition_key) |
2307 | 0 | clear_has_next_partition_key(); |
2308 | 0 | return next_partition_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2309 | 0 | } |
2310 | 0 | inline void QLPagingStatePB::set_allocated_next_partition_key(::std::string* next_partition_key) { |
2311 | 0 | if (next_partition_key != NULL) { |
2312 | 0 | set_has_next_partition_key(); |
2313 | 0 | } else { |
2314 | 0 | clear_has_next_partition_key(); |
2315 | 0 | } |
2316 | 0 | next_partition_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), next_partition_key); |
2317 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLPagingStatePB.next_partition_key) |
2318 | 0 | } |
2319 | | |
2320 | | // optional bytes next_row_key = 3; |
2321 | 161k | inline bool QLPagingStatePB::has_next_row_key() const { |
2322 | 161k | return (_has_bits_[0] & 0x00000004u) != 0; |
2323 | 161k | } |
2324 | 61.0k | inline void QLPagingStatePB::set_has_next_row_key() { |
2325 | 61.0k | _has_bits_[0] |= 0x00000004u; |
2326 | 61.0k | } |
2327 | 0 | inline void QLPagingStatePB::clear_has_next_row_key() { |
2328 | 0 | _has_bits_[0] &= ~0x00000004u; |
2329 | 0 | } |
2330 | 0 | inline void QLPagingStatePB::clear_next_row_key() { |
2331 | 0 | next_row_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2332 | 0 | clear_has_next_row_key(); |
2333 | 0 | } |
2334 | 144k | inline const ::std::string& QLPagingStatePB::next_row_key() const { |
2335 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.next_row_key) |
2336 | 144k | return next_row_key_.GetNoArena(); |
2337 | 144k | } |
2338 | 33.5k | inline void QLPagingStatePB::set_next_row_key(const ::std::string& value) { |
2339 | 33.5k | set_has_next_row_key(); |
2340 | 33.5k | next_row_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2341 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.next_row_key) |
2342 | 33.5k | } |
2343 | | #if LANG_CXX11 |
2344 | 1.20k | inline void QLPagingStatePB::set_next_row_key(::std::string&& value) { |
2345 | 1.20k | set_has_next_row_key(); |
2346 | 1.20k | next_row_key_.SetNoArena( |
2347 | 1.20k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2348 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLPagingStatePB.next_row_key) |
2349 | 1.20k | } |
2350 | | #endif |
2351 | 0 | inline void QLPagingStatePB::set_next_row_key(const char* value) { |
2352 | 0 | GOOGLE_DCHECK(value != NULL); |
2353 | 0 | set_has_next_row_key(); |
2354 | 0 | next_row_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2355 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLPagingStatePB.next_row_key) |
2356 | 0 | } |
2357 | 0 | inline void QLPagingStatePB::set_next_row_key(const void* value, size_t size) { |
2358 | 0 | set_has_next_row_key(); |
2359 | 0 | next_row_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2360 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2361 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLPagingStatePB.next_row_key) |
2362 | 0 | } |
2363 | 25.0k | inline ::std::string* QLPagingStatePB::mutable_next_row_key() { |
2364 | 25.0k | set_has_next_row_key(); |
2365 | | // @@protoc_insertion_point(field_mutable:yb.QLPagingStatePB.next_row_key) |
2366 | 25.0k | return next_row_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2367 | 25.0k | } |
2368 | 0 | inline ::std::string* QLPagingStatePB::release_next_row_key() { |
2369 | 0 | // @@protoc_insertion_point(field_release:yb.QLPagingStatePB.next_row_key) |
2370 | 0 | clear_has_next_row_key(); |
2371 | 0 | return next_row_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2372 | 0 | } |
2373 | 0 | inline void QLPagingStatePB::set_allocated_next_row_key(::std::string* next_row_key) { |
2374 | 0 | if (next_row_key != NULL) { |
2375 | 0 | set_has_next_row_key(); |
2376 | 0 | } else { |
2377 | 0 | clear_has_next_row_key(); |
2378 | 0 | } |
2379 | 0 | next_row_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), next_row_key); |
2380 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLPagingStatePB.next_row_key) |
2381 | 0 | } |
2382 | | |
2383 | | // optional uint64 total_num_rows_read = 4; |
2384 | 127k | inline bool QLPagingStatePB::has_total_num_rows_read() const { |
2385 | 127k | return (_has_bits_[0] & 0x00000020u) != 0; |
2386 | 127k | } |
2387 | 149k | inline void QLPagingStatePB::set_has_total_num_rows_read() { |
2388 | 149k | _has_bits_[0] |= 0x00000020u; |
2389 | 149k | } |
2390 | 0 | inline void QLPagingStatePB::clear_has_total_num_rows_read() { |
2391 | 0 | _has_bits_[0] &= ~0x00000020u; |
2392 | 0 | } |
2393 | 0 | inline void QLPagingStatePB::clear_total_num_rows_read() { |
2394 | 0 | total_num_rows_read_ = GOOGLE_ULONGLONG(0); |
2395 | 0 | clear_has_total_num_rows_read(); |
2396 | 0 | } |
2397 | 242k | inline ::google::protobuf::uint64 QLPagingStatePB::total_num_rows_read() const { |
2398 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.total_num_rows_read) |
2399 | 242k | return total_num_rows_read_; |
2400 | 242k | } |
2401 | 68.5k | inline void QLPagingStatePB::set_total_num_rows_read(::google::protobuf::uint64 value) { |
2402 | 68.5k | set_has_total_num_rows_read(); |
2403 | 68.5k | total_num_rows_read_ = value; |
2404 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.total_num_rows_read) |
2405 | 68.5k | } |
2406 | | |
2407 | | // optional uint64 next_partition_index = 5; |
2408 | 127k | inline bool QLPagingStatePB::has_next_partition_index() const { |
2409 | 127k | return (_has_bits_[0] & 0x00000040u) != 0; |
2410 | 127k | } |
2411 | 568 | inline void QLPagingStatePB::set_has_next_partition_index() { |
2412 | 568 | _has_bits_[0] |= 0x00000040u; |
2413 | 568 | } |
2414 | 0 | inline void QLPagingStatePB::clear_has_next_partition_index() { |
2415 | 0 | _has_bits_[0] &= ~0x00000040u; |
2416 | 0 | } |
2417 | 0 | inline void QLPagingStatePB::clear_next_partition_index() { |
2418 | 0 | next_partition_index_ = GOOGLE_ULONGLONG(0); |
2419 | 0 | clear_has_next_partition_index(); |
2420 | 0 | } |
2421 | 694 | inline ::google::protobuf::uint64 QLPagingStatePB::next_partition_index() const { |
2422 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.next_partition_index) |
2423 | 694 | return next_partition_index_; |
2424 | 694 | } |
2425 | 282 | inline void QLPagingStatePB::set_next_partition_index(::google::protobuf::uint64 value) { |
2426 | 282 | set_has_next_partition_index(); |
2427 | 282 | next_partition_index_ = value; |
2428 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.next_partition_index) |
2429 | 282 | } |
2430 | | |
2431 | | // optional uint64 total_rows_skipped = 6; |
2432 | 127k | inline bool QLPagingStatePB::has_total_rows_skipped() const { |
2433 | 127k | return (_has_bits_[0] & 0x00000080u) != 0; |
2434 | 127k | } |
2435 | 64.4k | inline void QLPagingStatePB::set_has_total_rows_skipped() { |
2436 | 64.4k | _has_bits_[0] |= 0x00000080u; |
2437 | 64.4k | } |
2438 | 0 | inline void QLPagingStatePB::clear_has_total_rows_skipped() { |
2439 | 0 | _has_bits_[0] &= ~0x00000080u; |
2440 | 0 | } |
2441 | 0 | inline void QLPagingStatePB::clear_total_rows_skipped() { |
2442 | 0 | total_rows_skipped_ = GOOGLE_ULONGLONG(0); |
2443 | 0 | clear_has_total_rows_skipped(); |
2444 | 0 | } |
2445 | 4.02M | inline ::google::protobuf::uint64 QLPagingStatePB::total_rows_skipped() const { |
2446 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.total_rows_skipped) |
2447 | 4.02M | return total_rows_skipped_; |
2448 | 4.02M | } |
2449 | 36.6k | inline void QLPagingStatePB::set_total_rows_skipped(::google::protobuf::uint64 value) { |
2450 | 36.6k | set_has_total_rows_skipped(); |
2451 | 36.6k | total_rows_skipped_ = value; |
2452 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.total_rows_skipped) |
2453 | 36.6k | } |
2454 | | |
2455 | | // optional uint64 original_request_id = 7; |
2456 | 127k | inline bool QLPagingStatePB::has_original_request_id() const { |
2457 | 127k | return (_has_bits_[0] & 0x00000100u) != 0; |
2458 | 127k | } |
2459 | 968 | inline void QLPagingStatePB::set_has_original_request_id() { |
2460 | 968 | _has_bits_[0] |= 0x00000100u; |
2461 | 968 | } |
2462 | 0 | inline void QLPagingStatePB::clear_has_original_request_id() { |
2463 | 0 | _has_bits_[0] &= ~0x00000100u; |
2464 | 0 | } |
2465 | 0 | inline void QLPagingStatePB::clear_original_request_id() { |
2466 | 0 | original_request_id_ = GOOGLE_ULONGLONG(0); |
2467 | 0 | clear_has_original_request_id(); |
2468 | 0 | } |
2469 | 1.35k | inline ::google::protobuf::uint64 QLPagingStatePB::original_request_id() const { |
2470 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.original_request_id) |
2471 | 1.35k | return original_request_id_; |
2472 | 1.35k | } |
2473 | 682 | inline void QLPagingStatePB::set_original_request_id(::google::protobuf::uint64 value) { |
2474 | 682 | set_has_original_request_id(); |
2475 | 682 | original_request_id_ = value; |
2476 | | // @@protoc_insertion_point(field_set:yb.QLPagingStatePB.original_request_id) |
2477 | 682 | } |
2478 | | |
2479 | | // optional .yb.ReadHybridTimePB read_time = 8; |
2480 | 127k | inline bool QLPagingStatePB::has_read_time() const { |
2481 | 127k | return (_has_bits_[0] & 0x00000008u) != 0; |
2482 | 127k | } |
2483 | 9.46k | inline void QLPagingStatePB::set_has_read_time() { |
2484 | 9.46k | _has_bits_[0] |= 0x00000008u; |
2485 | 9.46k | } |
2486 | 0 | inline void QLPagingStatePB::clear_has_read_time() { |
2487 | 0 | _has_bits_[0] &= ~0x00000008u; |
2488 | 0 | } |
2489 | 1.60k | inline const ::yb::ReadHybridTimePB& QLPagingStatePB::read_time() const { |
2490 | 1.60k | const ::yb::ReadHybridTimePB* p = read_time_; |
2491 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.read_time) |
2492 | 1.60k | return p != NULL ? *p : *reinterpret_cast<const ::yb::ReadHybridTimePB*>( |
2493 | 0 | &::yb::_ReadHybridTimePB_default_instance_); |
2494 | 1.60k | } |
2495 | 0 | inline ::yb::ReadHybridTimePB* QLPagingStatePB::release_read_time() { |
2496 | 0 | // @@protoc_insertion_point(field_release:yb.QLPagingStatePB.read_time) |
2497 | 0 | clear_has_read_time(); |
2498 | 0 | ::yb::ReadHybridTimePB* temp = read_time_; |
2499 | 0 | read_time_ = NULL; |
2500 | 0 | return temp; |
2501 | 0 | } |
2502 | 9.46k | inline ::yb::ReadHybridTimePB* QLPagingStatePB::mutable_read_time() { |
2503 | 9.46k | set_has_read_time(); |
2504 | 9.46k | if (read_time_ == NULL) { |
2505 | 6.86k | read_time_ = new ::yb::ReadHybridTimePB; |
2506 | 6.86k | } |
2507 | | // @@protoc_insertion_point(field_mutable:yb.QLPagingStatePB.read_time) |
2508 | 9.46k | return read_time_; |
2509 | 9.46k | } |
2510 | 0 | inline void QLPagingStatePB::set_allocated_read_time(::yb::ReadHybridTimePB* read_time) { |
2511 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2512 | 0 | if (message_arena == NULL) { |
2513 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(read_time_); |
2514 | 0 | } |
2515 | 0 | if (read_time) { |
2516 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2517 | 0 | if (message_arena != submessage_arena) { |
2518 | 0 | read_time = ::google::protobuf::internal::GetOwnedMessage( |
2519 | 0 | message_arena, read_time, submessage_arena); |
2520 | 0 | } |
2521 | 0 | set_has_read_time(); |
2522 | 0 | } else { |
2523 | 0 | clear_has_read_time(); |
2524 | 0 | } |
2525 | 0 | read_time_ = read_time; |
2526 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLPagingStatePB.read_time) |
2527 | 0 | } |
2528 | | |
2529 | | // optional .yb.QLSelectRowCounterPB row_counter = 9; |
2530 | 127k | inline bool QLPagingStatePB::has_row_counter() const { |
2531 | 127k | return (_has_bits_[0] & 0x00000010u) != 0; |
2532 | 127k | } |
2533 | 1.02k | inline void QLPagingStatePB::set_has_row_counter() { |
2534 | 1.02k | _has_bits_[0] |= 0x00000010u; |
2535 | 1.02k | } |
2536 | 0 | inline void QLPagingStatePB::clear_has_row_counter() { |
2537 | 0 | _has_bits_[0] &= ~0x00000010u; |
2538 | 0 | } |
2539 | 0 | inline void QLPagingStatePB::clear_row_counter() { |
2540 | 0 | if (row_counter_ != NULL) row_counter_->Clear(); |
2541 | 0 | clear_has_row_counter(); |
2542 | 0 | } |
2543 | 3.89M | inline const ::yb::QLSelectRowCounterPB& QLPagingStatePB::row_counter() const { |
2544 | 3.89M | const ::yb::QLSelectRowCounterPB* p = row_counter_; |
2545 | | // @@protoc_insertion_point(field_get:yb.QLPagingStatePB.row_counter) |
2546 | 3.89M | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLSelectRowCounterPB*>( |
2547 | 3.89M | &::yb::_QLSelectRowCounterPB_default_instance_); |
2548 | 3.89M | } |
2549 | 0 | inline ::yb::QLSelectRowCounterPB* QLPagingStatePB::release_row_counter() { |
2550 | 0 | // @@protoc_insertion_point(field_release:yb.QLPagingStatePB.row_counter) |
2551 | 0 | clear_has_row_counter(); |
2552 | 0 | ::yb::QLSelectRowCounterPB* temp = row_counter_; |
2553 | 0 | row_counter_ = NULL; |
2554 | 0 | return temp; |
2555 | 0 | } |
2556 | 1.02k | inline ::yb::QLSelectRowCounterPB* QLPagingStatePB::mutable_row_counter() { |
2557 | 1.02k | set_has_row_counter(); |
2558 | 1.02k | if (row_counter_ == NULL) { |
2559 | 714 | row_counter_ = new ::yb::QLSelectRowCounterPB; |
2560 | 714 | } |
2561 | | // @@protoc_insertion_point(field_mutable:yb.QLPagingStatePB.row_counter) |
2562 | 1.02k | return row_counter_; |
2563 | 1.02k | } |
2564 | 0 | inline void QLPagingStatePB::set_allocated_row_counter(::yb::QLSelectRowCounterPB* row_counter) { |
2565 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2566 | 0 | if (message_arena == NULL) { |
2567 | 0 | delete row_counter_; |
2568 | 0 | } |
2569 | 0 | if (row_counter) { |
2570 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2571 | 0 | if (message_arena != submessage_arena) { |
2572 | 0 | row_counter = ::google::protobuf::internal::GetOwnedMessage( |
2573 | 0 | message_arena, row_counter, submessage_arena); |
2574 | 0 | } |
2575 | 0 | set_has_row_counter(); |
2576 | 0 | } else { |
2577 | 0 | clear_has_row_counter(); |
2578 | 0 | } |
2579 | 0 | row_counter_ = row_counter; |
2580 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLPagingStatePB.row_counter) |
2581 | 0 | } |
2582 | | |
2583 | | // ------------------------------------------------------------------- |
2584 | | |
2585 | | // QLReferencedColumnsPB |
2586 | | |
2587 | | // repeated int32 ids = 1; |
2588 | 1.25M | inline int QLReferencedColumnsPB::ids_size() const { |
2589 | 1.25M | return ids_.size(); |
2590 | 1.25M | } |
2591 | 0 | inline void QLReferencedColumnsPB::clear_ids() { |
2592 | 0 | ids_.Clear(); |
2593 | 0 | } |
2594 | 0 | inline ::google::protobuf::int32 QLReferencedColumnsPB::ids(int index) const { |
2595 | 0 | // @@protoc_insertion_point(field_get:yb.QLReferencedColumnsPB.ids) |
2596 | 0 | return ids_.Get(index); |
2597 | 0 | } |
2598 | 0 | inline void QLReferencedColumnsPB::set_ids(int index, ::google::protobuf::int32 value) { |
2599 | 0 | ids_.Set(index, value); |
2600 | 0 | // @@protoc_insertion_point(field_set:yb.QLReferencedColumnsPB.ids) |
2601 | 0 | } |
2602 | 13.0M | inline void QLReferencedColumnsPB::add_ids(::google::protobuf::int32 value) { |
2603 | 13.0M | ids_.Add(value); |
2604 | | // @@protoc_insertion_point(field_add:yb.QLReferencedColumnsPB.ids) |
2605 | 13.0M | } |
2606 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
2607 | 11.5M | QLReferencedColumnsPB::ids() const { |
2608 | | // @@protoc_insertion_point(field_list:yb.QLReferencedColumnsPB.ids) |
2609 | 11.5M | return ids_; |
2610 | 11.5M | } |
2611 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
2612 | 669k | QLReferencedColumnsPB::mutable_ids() { |
2613 | | // @@protoc_insertion_point(field_mutable_list:yb.QLReferencedColumnsPB.ids) |
2614 | 669k | return &ids_; |
2615 | 669k | } |
2616 | | |
2617 | | // repeated int32 static_ids = 2; |
2618 | 1.25M | inline int QLReferencedColumnsPB::static_ids_size() const { |
2619 | 1.25M | return static_ids_.size(); |
2620 | 1.25M | } |
2621 | 0 | inline void QLReferencedColumnsPB::clear_static_ids() { |
2622 | 0 | static_ids_.Clear(); |
2623 | 0 | } |
2624 | 0 | inline ::google::protobuf::int32 QLReferencedColumnsPB::static_ids(int index) const { |
2625 | 0 | // @@protoc_insertion_point(field_get:yb.QLReferencedColumnsPB.static_ids) |
2626 | 0 | return static_ids_.Get(index); |
2627 | 0 | } |
2628 | 0 | inline void QLReferencedColumnsPB::set_static_ids(int index, ::google::protobuf::int32 value) { |
2629 | 0 | static_ids_.Set(index, value); |
2630 | 0 | // @@protoc_insertion_point(field_set:yb.QLReferencedColumnsPB.static_ids) |
2631 | 0 | } |
2632 | 137 | inline void QLReferencedColumnsPB::add_static_ids(::google::protobuf::int32 value) { |
2633 | 137 | static_ids_.Add(value); |
2634 | | // @@protoc_insertion_point(field_add:yb.QLReferencedColumnsPB.static_ids) |
2635 | 137 | } |
2636 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
2637 | 11.4M | QLReferencedColumnsPB::static_ids() const { |
2638 | | // @@protoc_insertion_point(field_list:yb.QLReferencedColumnsPB.static_ids) |
2639 | 11.4M | return static_ids_; |
2640 | 11.4M | } |
2641 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
2642 | 192 | QLReferencedColumnsPB::mutable_static_ids() { |
2643 | | // @@protoc_insertion_point(field_mutable_list:yb.QLReferencedColumnsPB.static_ids) |
2644 | 192 | return &static_ids_; |
2645 | 192 | } |
2646 | | |
2647 | | // ------------------------------------------------------------------- |
2648 | | |
2649 | | // QLWriteRequestPB |
2650 | | |
2651 | | // optional .yb.QLWriteRequestPB.QLStmtType type = 1; |
2652 | 4.16M | inline bool QLWriteRequestPB::has_type() const { |
2653 | 4.16M | return (_has_bits_[0] & 0x00004000u) != 0; |
2654 | 4.16M | } |
2655 | 5.62M | inline void QLWriteRequestPB::set_has_type() { |
2656 | 5.62M | _has_bits_[0] |= 0x00004000u; |
2657 | 5.62M | } |
2658 | 0 | inline void QLWriteRequestPB::clear_has_type() { |
2659 | 0 | _has_bits_[0] &= ~0x00004000u; |
2660 | 0 | } |
2661 | 0 | inline void QLWriteRequestPB::clear_type() { |
2662 | 0 | type_ = 1; |
2663 | 0 | clear_has_type(); |
2664 | 0 | } |
2665 | 16.5M | inline ::yb::QLWriteRequestPB_QLStmtType QLWriteRequestPB::type() const { |
2666 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.type) |
2667 | 16.5M | return static_cast< ::yb::QLWriteRequestPB_QLStmtType >(type_); |
2668 | 16.5M | } |
2669 | 5.62M | inline void QLWriteRequestPB::set_type(::yb::QLWriteRequestPB_QLStmtType value) { |
2670 | 5.62M | assert(::yb::QLWriteRequestPB_QLStmtType_IsValid(value)); |
2671 | 5.62M | set_has_type(); |
2672 | 5.62M | type_ = value; |
2673 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.type) |
2674 | 5.62M | } |
2675 | | |
2676 | | // optional .yb.QLClient client = 2; |
2677 | 4.16M | inline bool QLWriteRequestPB::has_client() const { |
2678 | 4.16M | return (_has_bits_[0] & 0x00008000u) != 0; |
2679 | 4.16M | } |
2680 | 4.94M | inline void QLWriteRequestPB::set_has_client() { |
2681 | 4.94M | _has_bits_[0] |= 0x00008000u; |
2682 | 4.94M | } |
2683 | 0 | inline void QLWriteRequestPB::clear_has_client() { |
2684 | 0 | _has_bits_[0] &= ~0x00008000u; |
2685 | 0 | } |
2686 | 0 | inline void QLWriteRequestPB::clear_client() { |
2687 | 0 | client_ = 1; |
2688 | 0 | clear_has_client(); |
2689 | 0 | } |
2690 | 5.90M | inline ::yb::QLClient QLWriteRequestPB::client() const { |
2691 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.client) |
2692 | 5.90M | return static_cast< ::yb::QLClient >(client_); |
2693 | 5.90M | } |
2694 | 4.93M | inline void QLWriteRequestPB::set_client(::yb::QLClient value) { |
2695 | 4.93M | assert(::yb::QLClient_IsValid(value)); |
2696 | 4.93M | set_has_client(); |
2697 | 4.93M | client_ = value; |
2698 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.client) |
2699 | 4.93M | } |
2700 | | |
2701 | | // optional uint64 request_id = 3; |
2702 | 4.16M | inline bool QLWriteRequestPB::has_request_id() const { |
2703 | 4.16M | return (_has_bits_[0] & 0x00000010u) != 0; |
2704 | 4.16M | } |
2705 | 4.94M | inline void QLWriteRequestPB::set_has_request_id() { |
2706 | 4.94M | _has_bits_[0] |= 0x00000010u; |
2707 | 4.94M | } |
2708 | 0 | inline void QLWriteRequestPB::clear_has_request_id() { |
2709 | 0 | _has_bits_[0] &= ~0x00000010u; |
2710 | 0 | } |
2711 | 0 | inline void QLWriteRequestPB::clear_request_id() { |
2712 | 0 | request_id_ = GOOGLE_ULONGLONG(0); |
2713 | 0 | clear_has_request_id(); |
2714 | 0 | } |
2715 | 5.90M | inline ::google::protobuf::uint64 QLWriteRequestPB::request_id() const { |
2716 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.request_id) |
2717 | 5.90M | return request_id_; |
2718 | 5.90M | } |
2719 | 2.97M | inline void QLWriteRequestPB::set_request_id(::google::protobuf::uint64 value) { |
2720 | 2.97M | set_has_request_id(); |
2721 | 2.97M | request_id_ = value; |
2722 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.request_id) |
2723 | 2.97M | } |
2724 | | |
2725 | | // optional uint32 schema_version = 4; |
2726 | 4.16M | inline bool QLWriteRequestPB::has_schema_version() const { |
2727 | 4.16M | return (_has_bits_[0] & 0x00000020u) != 0; |
2728 | 4.16M | } |
2729 | 5.14M | inline void QLWriteRequestPB::set_has_schema_version() { |
2730 | 5.14M | _has_bits_[0] |= 0x00000020u; |
2731 | 5.14M | } |
2732 | 0 | inline void QLWriteRequestPB::clear_has_schema_version() { |
2733 | 0 | _has_bits_[0] &= ~0x00000020u; |
2734 | 0 | } |
2735 | 0 | inline void QLWriteRequestPB::clear_schema_version() { |
2736 | 0 | schema_version_ = 0u; |
2737 | 0 | clear_has_schema_version(); |
2738 | 0 | } |
2739 | 9.51M | inline ::google::protobuf::uint32 QLWriteRequestPB::schema_version() const { |
2740 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.schema_version) |
2741 | 9.51M | return schema_version_; |
2742 | 9.51M | } |
2743 | 3.11M | inline void QLWriteRequestPB::set_schema_version(::google::protobuf::uint32 value) { |
2744 | 3.11M | set_has_schema_version(); |
2745 | 3.11M | schema_version_ = value; |
2746 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.schema_version) |
2747 | 3.11M | } |
2748 | | |
2749 | | // optional uint32 hash_code = 5; |
2750 | 7.54M | inline bool QLWriteRequestPB::has_hash_code() const { |
2751 | 7.54M | return (_has_bits_[0] & 0x00000040u) != 0; |
2752 | 7.54M | } |
2753 | 5.24M | inline void QLWriteRequestPB::set_has_hash_code() { |
2754 | 5.24M | _has_bits_[0] |= 0x00000040u; |
2755 | 5.24M | } |
2756 | 0 | inline void QLWriteRequestPB::clear_has_hash_code() { |
2757 | 0 | _has_bits_[0] &= ~0x00000040u; |
2758 | 0 | } |
2759 | 0 | inline void QLWriteRequestPB::clear_hash_code() { |
2760 | 0 | hash_code_ = 0u; |
2761 | 0 | clear_has_hash_code(); |
2762 | 0 | } |
2763 | 9.41M | inline ::google::protobuf::uint32 QLWriteRequestPB::hash_code() const { |
2764 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.hash_code) |
2765 | 9.41M | return hash_code_; |
2766 | 9.41M | } |
2767 | 3.18M | inline void QLWriteRequestPB::set_hash_code(::google::protobuf::uint32 value) { |
2768 | 3.18M | set_has_hash_code(); |
2769 | 3.18M | hash_code_ = value; |
2770 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.hash_code) |
2771 | 3.18M | } |
2772 | | |
2773 | | // repeated .yb.QLExpressionPB hashed_column_values = 6; |
2774 | 6.60M | inline int QLWriteRequestPB::hashed_column_values_size() const { |
2775 | 6.60M | return hashed_column_values_.size(); |
2776 | 6.60M | } |
2777 | 6.35M | inline const ::yb::QLExpressionPB& QLWriteRequestPB::hashed_column_values(int index) const { |
2778 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.hashed_column_values) |
2779 | 6.35M | return hashed_column_values_.Get(index); |
2780 | 6.35M | } |
2781 | 0 | inline ::yb::QLExpressionPB* QLWriteRequestPB::mutable_hashed_column_values(int index) { |
2782 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.hashed_column_values) |
2783 | 0 | return hashed_column_values_.Mutable(index); |
2784 | 0 | } |
2785 | 5.53M | inline ::yb::QLExpressionPB* QLWriteRequestPB::add_hashed_column_values() { |
2786 | | // @@protoc_insertion_point(field_add:yb.QLWriteRequestPB.hashed_column_values) |
2787 | 5.53M | return hashed_column_values_.Add(); |
2788 | 5.53M | } |
2789 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
2790 | 0 | QLWriteRequestPB::mutable_hashed_column_values() { |
2791 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLWriteRequestPB.hashed_column_values) |
2792 | 0 | return &hashed_column_values_; |
2793 | 0 | } |
2794 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
2795 | 16.3M | QLWriteRequestPB::hashed_column_values() const { |
2796 | | // @@protoc_insertion_point(field_list:yb.QLWriteRequestPB.hashed_column_values) |
2797 | 16.3M | return hashed_column_values_; |
2798 | 16.3M | } |
2799 | | |
2800 | | // repeated .yb.QLExpressionPB range_column_values = 7; |
2801 | 6.58M | inline int QLWriteRequestPB::range_column_values_size() const { |
2802 | 6.58M | return range_column_values_.size(); |
2803 | 6.58M | } |
2804 | 833k | inline const ::yb::QLExpressionPB& QLWriteRequestPB::range_column_values(int index) const { |
2805 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.range_column_values) |
2806 | 833k | return range_column_values_.Get(index); |
2807 | 833k | } |
2808 | 0 | inline ::yb::QLExpressionPB* QLWriteRequestPB::mutable_range_column_values(int index) { |
2809 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.range_column_values) |
2810 | 0 | return range_column_values_.Mutable(index); |
2811 | 0 | } |
2812 | 1.99M | inline ::yb::QLExpressionPB* QLWriteRequestPB::add_range_column_values() { |
2813 | | // @@protoc_insertion_point(field_add:yb.QLWriteRequestPB.range_column_values) |
2814 | 1.99M | return range_column_values_.Add(); |
2815 | 1.99M | } |
2816 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
2817 | 0 | QLWriteRequestPB::mutable_range_column_values() { |
2818 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLWriteRequestPB.range_column_values) |
2819 | 0 | return &range_column_values_; |
2820 | 0 | } |
2821 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
2822 | 19.8M | QLWriteRequestPB::range_column_values() const { |
2823 | | // @@protoc_insertion_point(field_list:yb.QLWriteRequestPB.range_column_values) |
2824 | 19.8M | return range_column_values_; |
2825 | 19.8M | } |
2826 | | |
2827 | | // repeated .yb.QLColumnValuePB column_values = 8; |
2828 | 6.25M | inline int QLWriteRequestPB::column_values_size() const { |
2829 | 6.25M | return column_values_.size(); |
2830 | 6.25M | } |
2831 | 0 | inline void QLWriteRequestPB::clear_column_values() { |
2832 | 0 | column_values_.Clear(); |
2833 | 0 | } |
2834 | 11.2M | inline const ::yb::QLColumnValuePB& QLWriteRequestPB::column_values(int index) const { |
2835 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.column_values) |
2836 | 11.2M | return column_values_.Get(index); |
2837 | 11.2M | } |
2838 | 0 | inline ::yb::QLColumnValuePB* QLWriteRequestPB::mutable_column_values(int index) { |
2839 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.column_values) |
2840 | 0 | return column_values_.Mutable(index); |
2841 | 0 | } |
2842 | 8.78M | inline ::yb::QLColumnValuePB* QLWriteRequestPB::add_column_values() { |
2843 | | // @@protoc_insertion_point(field_add:yb.QLWriteRequestPB.column_values) |
2844 | 8.78M | return column_values_.Add(); |
2845 | 8.78M | } |
2846 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLColumnValuePB >* |
2847 | 0 | QLWriteRequestPB::mutable_column_values() { |
2848 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLWriteRequestPB.column_values) |
2849 | 0 | return &column_values_; |
2850 | 0 | } |
2851 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLColumnValuePB >& |
2852 | 11.1M | QLWriteRequestPB::column_values() const { |
2853 | | // @@protoc_insertion_point(field_list:yb.QLWriteRequestPB.column_values) |
2854 | 11.1M | return column_values_; |
2855 | 11.1M | } |
2856 | | |
2857 | | // optional .yb.QLExpressionPB where_expr = 14; |
2858 | 8.30M | inline bool QLWriteRequestPB::has_where_expr() const { |
2859 | 8.30M | return (_has_bits_[0] & 0x00000004u) != 0; |
2860 | 8.30M | } |
2861 | 14 | inline void QLWriteRequestPB::set_has_where_expr() { |
2862 | 14 | _has_bits_[0] |= 0x00000004u; |
2863 | 14 | } |
2864 | 0 | inline void QLWriteRequestPB::clear_has_where_expr() { |
2865 | 0 | _has_bits_[0] &= ~0x00000004u; |
2866 | 0 | } |
2867 | 9 | inline const ::yb::QLExpressionPB& QLWriteRequestPB::where_expr() const { |
2868 | 9 | const ::yb::QLExpressionPB* p = where_expr_; |
2869 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.where_expr) |
2870 | 9 | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
2871 | 0 | &::yb::_QLExpressionPB_default_instance_); |
2872 | 9 | } |
2873 | 0 | inline ::yb::QLExpressionPB* QLWriteRequestPB::release_where_expr() { |
2874 | 0 | // @@protoc_insertion_point(field_release:yb.QLWriteRequestPB.where_expr) |
2875 | 0 | clear_has_where_expr(); |
2876 | 0 | ::yb::QLExpressionPB* temp = where_expr_; |
2877 | 0 | where_expr_ = NULL; |
2878 | 0 | return temp; |
2879 | 0 | } |
2880 | 14 | inline ::yb::QLExpressionPB* QLWriteRequestPB::mutable_where_expr() { |
2881 | 14 | set_has_where_expr(); |
2882 | 14 | if (where_expr_ == NULL) { |
2883 | 14 | where_expr_ = new ::yb::QLExpressionPB; |
2884 | 14 | } |
2885 | | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.where_expr) |
2886 | 14 | return where_expr_; |
2887 | 14 | } |
2888 | 0 | inline void QLWriteRequestPB::set_allocated_where_expr(::yb::QLExpressionPB* where_expr) { |
2889 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2890 | 0 | if (message_arena == NULL) { |
2891 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(where_expr_); |
2892 | 0 | } |
2893 | 0 | if (where_expr) { |
2894 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2895 | 0 | if (message_arena != submessage_arena) { |
2896 | 0 | where_expr = ::google::protobuf::internal::GetOwnedMessage( |
2897 | 0 | message_arena, where_expr, submessage_arena); |
2898 | 0 | } |
2899 | 0 | set_has_where_expr(); |
2900 | 0 | } else { |
2901 | 0 | clear_has_where_expr(); |
2902 | 0 | } |
2903 | 0 | where_expr_ = where_expr; |
2904 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLWriteRequestPB.where_expr) |
2905 | 0 | } |
2906 | | |
2907 | | // optional .yb.QLExpressionPB if_expr = 9; |
2908 | 19.4M | inline bool QLWriteRequestPB::has_if_expr() const { |
2909 | 19.4M | return (_has_bits_[0] & 0x00000001u) != 0; |
2910 | 19.4M | } |
2911 | 225 | inline void QLWriteRequestPB::set_has_if_expr() { |
2912 | 225 | _has_bits_[0] |= 0x00000001u; |
2913 | 225 | } |
2914 | 0 | inline void QLWriteRequestPB::clear_has_if_expr() { |
2915 | 0 | _has_bits_[0] &= ~0x00000001u; |
2916 | 0 | } |
2917 | 133 | inline const ::yb::QLExpressionPB& QLWriteRequestPB::if_expr() const { |
2918 | 133 | const ::yb::QLExpressionPB* p = if_expr_; |
2919 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.if_expr) |
2920 | 133 | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
2921 | 0 | &::yb::_QLExpressionPB_default_instance_); |
2922 | 133 | } |
2923 | 0 | inline ::yb::QLExpressionPB* QLWriteRequestPB::release_if_expr() { |
2924 | 0 | // @@protoc_insertion_point(field_release:yb.QLWriteRequestPB.if_expr) |
2925 | 0 | clear_has_if_expr(); |
2926 | 0 | ::yb::QLExpressionPB* temp = if_expr_; |
2927 | 0 | if_expr_ = NULL; |
2928 | 0 | return temp; |
2929 | 0 | } |
2930 | 225 | inline ::yb::QLExpressionPB* QLWriteRequestPB::mutable_if_expr() { |
2931 | 225 | set_has_if_expr(); |
2932 | 225 | if (if_expr_ == NULL) { |
2933 | 225 | if_expr_ = new ::yb::QLExpressionPB; |
2934 | 225 | } |
2935 | | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.if_expr) |
2936 | 225 | return if_expr_; |
2937 | 225 | } |
2938 | 0 | inline void QLWriteRequestPB::set_allocated_if_expr(::yb::QLExpressionPB* if_expr) { |
2939 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2940 | 0 | if (message_arena == NULL) { |
2941 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(if_expr_); |
2942 | 0 | } |
2943 | 0 | if (if_expr) { |
2944 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
2945 | 0 | if (message_arena != submessage_arena) { |
2946 | 0 | if_expr = ::google::protobuf::internal::GetOwnedMessage( |
2947 | 0 | message_arena, if_expr, submessage_arena); |
2948 | 0 | } |
2949 | 0 | set_has_if_expr(); |
2950 | 0 | } else { |
2951 | 0 | clear_has_if_expr(); |
2952 | 0 | } |
2953 | 0 | if_expr_ = if_expr; |
2954 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLWriteRequestPB.if_expr) |
2955 | 0 | } |
2956 | | |
2957 | | // optional bool else_error = 17 [default = false]; |
2958 | 4.16M | inline bool QLWriteRequestPB::has_else_error() const { |
2959 | 4.16M | return (_has_bits_[0] & 0x00000400u) != 0; |
2960 | 4.16M | } |
2961 | 222 | inline void QLWriteRequestPB::set_has_else_error() { |
2962 | 222 | _has_bits_[0] |= 0x00000400u; |
2963 | 222 | } |
2964 | 0 | inline void QLWriteRequestPB::clear_has_else_error() { |
2965 | 0 | _has_bits_[0] &= ~0x00000400u; |
2966 | 0 | } |
2967 | 0 | inline void QLWriteRequestPB::clear_else_error() { |
2968 | 0 | else_error_ = false; |
2969 | 0 | clear_has_else_error(); |
2970 | 0 | } |
2971 | 133 | inline bool QLWriteRequestPB::else_error() const { |
2972 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.else_error) |
2973 | 133 | return else_error_; |
2974 | 133 | } |
2975 | 136 | inline void QLWriteRequestPB::set_else_error(bool value) { |
2976 | 136 | set_has_else_error(); |
2977 | 136 | else_error_ = value; |
2978 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.else_error) |
2979 | 136 | } |
2980 | | |
2981 | | // optional uint64 ttl = 10; |
2982 | 7.58M | inline bool QLWriteRequestPB::has_ttl() const { |
2983 | 7.58M | return (_has_bits_[0] & 0x00000080u) != 0; |
2984 | 7.58M | } |
2985 | 150 | inline void QLWriteRequestPB::set_has_ttl() { |
2986 | 150 | _has_bits_[0] |= 0x00000080u; |
2987 | 150 | } |
2988 | 0 | inline void QLWriteRequestPB::clear_has_ttl() { |
2989 | 0 | _has_bits_[0] &= ~0x00000080u; |
2990 | 0 | } |
2991 | 0 | inline void QLWriteRequestPB::clear_ttl() { |
2992 | 0 | ttl_ = GOOGLE_ULONGLONG(0); |
2993 | 0 | clear_has_ttl(); |
2994 | 0 | } |
2995 | 278 | inline ::google::protobuf::uint64 QLWriteRequestPB::ttl() const { |
2996 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.ttl) |
2997 | 278 | return ttl_; |
2998 | 278 | } |
2999 | 86 | inline void QLWriteRequestPB::set_ttl(::google::protobuf::uint64 value) { |
3000 | 86 | set_has_ttl(); |
3001 | 86 | ttl_ = value; |
3002 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.ttl) |
3003 | 86 | } |
3004 | | |
3005 | | // optional .yb.QLReferencedColumnsPB column_refs = 11; |
3006 | 10.8M | inline bool QLWriteRequestPB::has_column_refs() const { |
3007 | 10.8M | return (_has_bits_[0] & 0x00000002u) != 0; |
3008 | 10.8M | } |
3009 | 1.59M | inline void QLWriteRequestPB::set_has_column_refs() { |
3010 | 1.59M | _has_bits_[0] |= 0x00000002u; |
3011 | 1.59M | } |
3012 | 0 | inline void QLWriteRequestPB::clear_has_column_refs() { |
3013 | 0 | _has_bits_[0] &= ~0x00000002u; |
3014 | 0 | } |
3015 | 0 | inline void QLWriteRequestPB::clear_column_refs() { |
3016 | 0 | if (column_refs_ != NULL) column_refs_->Clear(); |
3017 | 0 | clear_has_column_refs(); |
3018 | 0 | } |
3019 | 7.28M | inline const ::yb::QLReferencedColumnsPB& QLWriteRequestPB::column_refs() const { |
3020 | 7.28M | const ::yb::QLReferencedColumnsPB* p = column_refs_; |
3021 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.column_refs) |
3022 | 7.28M | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLReferencedColumnsPB*>( |
3023 | 1.13k | &::yb::_QLReferencedColumnsPB_default_instance_); |
3024 | 7.28M | } |
3025 | 0 | inline ::yb::QLReferencedColumnsPB* QLWriteRequestPB::release_column_refs() { |
3026 | 0 | // @@protoc_insertion_point(field_release:yb.QLWriteRequestPB.column_refs) |
3027 | 0 | clear_has_column_refs(); |
3028 | 0 | ::yb::QLReferencedColumnsPB* temp = column_refs_; |
3029 | 0 | column_refs_ = NULL; |
3030 | 0 | return temp; |
3031 | 0 | } |
3032 | 1.58M | inline ::yb::QLReferencedColumnsPB* QLWriteRequestPB::mutable_column_refs() { |
3033 | 1.58M | set_has_column_refs(); |
3034 | 1.58M | if (column_refs_ == NULL) { |
3035 | 1.58M | column_refs_ = new ::yb::QLReferencedColumnsPB; |
3036 | 1.58M | } |
3037 | | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.column_refs) |
3038 | 1.58M | return column_refs_; |
3039 | 1.58M | } |
3040 | 0 | inline void QLWriteRequestPB::set_allocated_column_refs(::yb::QLReferencedColumnsPB* column_refs) { |
3041 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3042 | 0 | if (message_arena == NULL) { |
3043 | 0 | delete column_refs_; |
3044 | 0 | } |
3045 | 0 | if (column_refs) { |
3046 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3047 | 0 | if (message_arena != submessage_arena) { |
3048 | 0 | column_refs = ::google::protobuf::internal::GetOwnedMessage( |
3049 | 0 | message_arena, column_refs, submessage_arena); |
3050 | 0 | } |
3051 | 0 | set_has_column_refs(); |
3052 | 0 | } else { |
3053 | 0 | clear_has_column_refs(); |
3054 | 0 | } |
3055 | 0 | column_refs_ = column_refs; |
3056 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLWriteRequestPB.column_refs) |
3057 | 0 | } |
3058 | | |
3059 | | // optional int64 query_id = 12; |
3060 | 4.16M | inline bool QLWriteRequestPB::has_query_id() const { |
3061 | 4.16M | return (_has_bits_[0] & 0x00000100u) != 0; |
3062 | 4.16M | } |
3063 | 4.93M | inline void QLWriteRequestPB::set_has_query_id() { |
3064 | 4.93M | _has_bits_[0] |= 0x00000100u; |
3065 | 4.93M | } |
3066 | 0 | inline void QLWriteRequestPB::clear_has_query_id() { |
3067 | 0 | _has_bits_[0] &= ~0x00000100u; |
3068 | 0 | } |
3069 | 0 | inline void QLWriteRequestPB::clear_query_id() { |
3070 | 0 | query_id_ = GOOGLE_LONGLONG(0); |
3071 | 0 | clear_has_query_id(); |
3072 | 0 | } |
3073 | 13.8M | inline ::google::protobuf::int64 QLWriteRequestPB::query_id() const { |
3074 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.query_id) |
3075 | 13.8M | return query_id_; |
3076 | 13.8M | } |
3077 | 2.97M | inline void QLWriteRequestPB::set_query_id(::google::protobuf::int64 value) { |
3078 | 2.97M | set_has_query_id(); |
3079 | 2.97M | query_id_ = value; |
3080 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.query_id) |
3081 | 2.97M | } |
3082 | | |
3083 | | // optional uint64 user_timestamp_usec = 13; |
3084 | 12.0M | inline bool QLWriteRequestPB::has_user_timestamp_usec() const { |
3085 | 12.0M | return (_has_bits_[0] & 0x00000200u) != 0; |
3086 | 12.0M | } |
3087 | 97 | inline void QLWriteRequestPB::set_has_user_timestamp_usec() { |
3088 | 97 | _has_bits_[0] |= 0x00000200u; |
3089 | 97 | } |
3090 | 0 | inline void QLWriteRequestPB::clear_has_user_timestamp_usec() { |
3091 | 0 | _has_bits_[0] &= ~0x00000200u; |
3092 | 0 | } |
3093 | 0 | inline void QLWriteRequestPB::clear_user_timestamp_usec() { |
3094 | 0 | user_timestamp_usec_ = GOOGLE_ULONGLONG(0); |
3095 | 0 | clear_has_user_timestamp_usec(); |
3096 | 0 | } |
3097 | 253 | inline ::google::protobuf::uint64 QLWriteRequestPB::user_timestamp_usec() const { |
3098 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.user_timestamp_usec) |
3099 | 253 | return user_timestamp_usec_; |
3100 | 253 | } |
3101 | 58 | inline void QLWriteRequestPB::set_user_timestamp_usec(::google::protobuf::uint64 value) { |
3102 | 58 | set_has_user_timestamp_usec(); |
3103 | 58 | user_timestamp_usec_ = value; |
3104 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.user_timestamp_usec) |
3105 | 58 | } |
3106 | | |
3107 | | // repeated bytes update_index_ids = 15; |
3108 | 10.4M | inline int QLWriteRequestPB::update_index_ids_size() const { |
3109 | 10.4M | return update_index_ids_.size(); |
3110 | 10.4M | } |
3111 | 0 | inline void QLWriteRequestPB::clear_update_index_ids() { |
3112 | 0 | update_index_ids_.Clear(); |
3113 | 0 | } |
3114 | 91.1k | inline const ::std::string& QLWriteRequestPB::update_index_ids(int index) const { |
3115 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.update_index_ids) |
3116 | 91.1k | return update_index_ids_.Get(index); |
3117 | 91.1k | } |
3118 | 0 | inline ::std::string* QLWriteRequestPB::mutable_update_index_ids(int index) { |
3119 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.update_index_ids) |
3120 | 0 | return update_index_ids_.Mutable(index); |
3121 | 0 | } |
3122 | 0 | inline void QLWriteRequestPB::set_update_index_ids(int index, const ::std::string& value) { |
3123 | 0 | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.update_index_ids) |
3124 | 0 | update_index_ids_.Mutable(index)->assign(value); |
3125 | 0 | } |
3126 | | #if LANG_CXX11 |
3127 | 0 | inline void QLWriteRequestPB::set_update_index_ids(int index, ::std::string&& value) { |
3128 | 0 | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.update_index_ids) |
3129 | 0 | update_index_ids_.Mutable(index)->assign(std::move(value)); |
3130 | 0 | } |
3131 | | #endif |
3132 | 0 | inline void QLWriteRequestPB::set_update_index_ids(int index, const char* value) { |
3133 | 0 | GOOGLE_DCHECK(value != NULL); |
3134 | 0 | update_index_ids_.Mutable(index)->assign(value); |
3135 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLWriteRequestPB.update_index_ids) |
3136 | 0 | } |
3137 | 0 | inline void QLWriteRequestPB::set_update_index_ids(int index, const void* value, size_t size) { |
3138 | 0 | update_index_ids_.Mutable(index)->assign( |
3139 | 0 | reinterpret_cast<const char*>(value), size); |
3140 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLWriteRequestPB.update_index_ids) |
3141 | 0 | } |
3142 | 30.7k | inline ::std::string* QLWriteRequestPB::add_update_index_ids() { |
3143 | | // @@protoc_insertion_point(field_add_mutable:yb.QLWriteRequestPB.update_index_ids) |
3144 | 30.7k | return update_index_ids_.Add(); |
3145 | 30.7k | } |
3146 | 107k | inline void QLWriteRequestPB::add_update_index_ids(const ::std::string& value) { |
3147 | 107k | update_index_ids_.Add()->assign(value); |
3148 | | // @@protoc_insertion_point(field_add:yb.QLWriteRequestPB.update_index_ids) |
3149 | 107k | } |
3150 | | #if LANG_CXX11 |
3151 | 0 | inline void QLWriteRequestPB::add_update_index_ids(::std::string&& value) { |
3152 | 0 | update_index_ids_.Add(std::move(value)); |
3153 | 0 | // @@protoc_insertion_point(field_add:yb.QLWriteRequestPB.update_index_ids) |
3154 | 0 | } |
3155 | | #endif |
3156 | 0 | inline void QLWriteRequestPB::add_update_index_ids(const char* value) { |
3157 | 0 | GOOGLE_DCHECK(value != NULL); |
3158 | 0 | update_index_ids_.Add()->assign(value); |
3159 | 0 | // @@protoc_insertion_point(field_add_char:yb.QLWriteRequestPB.update_index_ids) |
3160 | 0 | } |
3161 | 0 | inline void QLWriteRequestPB::add_update_index_ids(const void* value, size_t size) { |
3162 | 0 | update_index_ids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
3163 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.QLWriteRequestPB.update_index_ids) |
3164 | 0 | } |
3165 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
3166 | 3.49M | QLWriteRequestPB::update_index_ids() const { |
3167 | | // @@protoc_insertion_point(field_list:yb.QLWriteRequestPB.update_index_ids) |
3168 | 3.49M | return update_index_ids_; |
3169 | 3.49M | } |
3170 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
3171 | 0 | QLWriteRequestPB::mutable_update_index_ids() { |
3172 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLWriteRequestPB.update_index_ids) |
3173 | 0 | return &update_index_ids_; |
3174 | 0 | } |
3175 | | |
3176 | | // optional .yb.ChildTransactionDataPB child_transaction_data = 16; |
3177 | 4.18M | inline bool QLWriteRequestPB::has_child_transaction_data() const { |
3178 | 4.18M | return (_has_bits_[0] & 0x00000008u) != 0; |
3179 | 4.18M | } |
3180 | 108k | inline void QLWriteRequestPB::set_has_child_transaction_data() { |
3181 | 108k | _has_bits_[0] |= 0x00000008u; |
3182 | 108k | } |
3183 | 0 | inline void QLWriteRequestPB::clear_has_child_transaction_data() { |
3184 | 0 | _has_bits_[0] &= ~0x00000008u; |
3185 | 0 | } |
3186 | 29.2k | inline const ::yb::ChildTransactionDataPB& QLWriteRequestPB::child_transaction_data() const { |
3187 | 29.2k | const ::yb::ChildTransactionDataPB* p = child_transaction_data_; |
3188 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.child_transaction_data) |
3189 | 29.2k | return p != NULL ? *p : *reinterpret_cast<const ::yb::ChildTransactionDataPB*>( |
3190 | 0 | &::yb::_ChildTransactionDataPB_default_instance_); |
3191 | 29.2k | } |
3192 | 0 | inline ::yb::ChildTransactionDataPB* QLWriteRequestPB::release_child_transaction_data() { |
3193 | 0 | // @@protoc_insertion_point(field_release:yb.QLWriteRequestPB.child_transaction_data) |
3194 | 0 | clear_has_child_transaction_data(); |
3195 | 0 | ::yb::ChildTransactionDataPB* temp = child_transaction_data_; |
3196 | 0 | child_transaction_data_ = NULL; |
3197 | 0 | return temp; |
3198 | 0 | } |
3199 | 108k | inline ::yb::ChildTransactionDataPB* QLWriteRequestPB::mutable_child_transaction_data() { |
3200 | 108k | set_has_child_transaction_data(); |
3201 | 108k | if (child_transaction_data_ == NULL) { |
3202 | 107k | child_transaction_data_ = new ::yb::ChildTransactionDataPB; |
3203 | 107k | } |
3204 | | // @@protoc_insertion_point(field_mutable:yb.QLWriteRequestPB.child_transaction_data) |
3205 | 108k | return child_transaction_data_; |
3206 | 108k | } |
3207 | 0 | inline void QLWriteRequestPB::set_allocated_child_transaction_data(::yb::ChildTransactionDataPB* child_transaction_data) { |
3208 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3209 | 0 | if (message_arena == NULL) { |
3210 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(child_transaction_data_); |
3211 | 0 | } |
3212 | 0 | if (child_transaction_data) { |
3213 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3214 | 0 | if (message_arena != submessage_arena) { |
3215 | 0 | child_transaction_data = ::google::protobuf::internal::GetOwnedMessage( |
3216 | 0 | message_arena, child_transaction_data, submessage_arena); |
3217 | 0 | } |
3218 | 0 | set_has_child_transaction_data(); |
3219 | 0 | } else { |
3220 | 0 | clear_has_child_transaction_data(); |
3221 | 0 | } |
3222 | 0 | child_transaction_data_ = child_transaction_data; |
3223 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLWriteRequestPB.child_transaction_data) |
3224 | 0 | } |
3225 | | |
3226 | | // optional bool returns_status = 18 [default = false]; |
3227 | 4.16M | inline bool QLWriteRequestPB::has_returns_status() const { |
3228 | 4.16M | return (_has_bits_[0] & 0x00000800u) != 0; |
3229 | 4.16M | } |
3230 | 437 | inline void QLWriteRequestPB::set_has_returns_status() { |
3231 | 437 | _has_bits_[0] |= 0x00000800u; |
3232 | 437 | } |
3233 | 0 | inline void QLWriteRequestPB::clear_has_returns_status() { |
3234 | 0 | _has_bits_[0] &= ~0x00000800u; |
3235 | 0 | } |
3236 | 0 | inline void QLWriteRequestPB::clear_returns_status() { |
3237 | 0 | returns_status_ = false; |
3238 | 0 | clear_has_returns_status(); |
3239 | 0 | } |
3240 | 3.33M | inline bool QLWriteRequestPB::returns_status() const { |
3241 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.returns_status) |
3242 | 3.33M | return returns_status_; |
3243 | 3.33M | } |
3244 | 275 | inline void QLWriteRequestPB::set_returns_status(bool value) { |
3245 | 275 | set_has_returns_status(); |
3246 | 275 | returns_status_ = value; |
3247 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.returns_status) |
3248 | 275 | } |
3249 | | |
3250 | | // optional bool is_backfill = 19 [default = false]; |
3251 | 4.16M | inline bool QLWriteRequestPB::has_is_backfill() const { |
3252 | 4.16M | return (_has_bits_[0] & 0x00001000u) != 0; |
3253 | 4.16M | } |
3254 | 16.6k | inline void QLWriteRequestPB::set_has_is_backfill() { |
3255 | 16.6k | _has_bits_[0] |= 0x00001000u; |
3256 | 16.6k | } |
3257 | 0 | inline void QLWriteRequestPB::clear_has_is_backfill() { |
3258 | 0 | _has_bits_[0] &= ~0x00001000u; |
3259 | 0 | } |
3260 | 0 | inline void QLWriteRequestPB::clear_is_backfill() { |
3261 | 0 | is_backfill_ = false; |
3262 | 0 | clear_has_is_backfill(); |
3263 | 0 | } |
3264 | 9.01k | inline bool QLWriteRequestPB::is_backfill() const { |
3265 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.is_backfill) |
3266 | 9.01k | return is_backfill_; |
3267 | 9.01k | } |
3268 | 9.54k | inline void QLWriteRequestPB::set_is_backfill(bool value) { |
3269 | 9.54k | set_has_is_backfill(); |
3270 | 9.54k | is_backfill_ = value; |
3271 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.is_backfill) |
3272 | 9.54k | } |
3273 | | |
3274 | | // optional bool is_compatible_with_previous_version = 20 [default = false]; |
3275 | 4.16M | inline bool QLWriteRequestPB::has_is_compatible_with_previous_version() const { |
3276 | 4.16M | return (_has_bits_[0] & 0x00002000u) != 0; |
3277 | 4.16M | } |
3278 | 4.93M | inline void QLWriteRequestPB::set_has_is_compatible_with_previous_version() { |
3279 | 4.93M | _has_bits_[0] |= 0x00002000u; |
3280 | 4.93M | } |
3281 | 0 | inline void QLWriteRequestPB::clear_has_is_compatible_with_previous_version() { |
3282 | 0 | _has_bits_[0] &= ~0x00002000u; |
3283 | 0 | } |
3284 | 0 | inline void QLWriteRequestPB::clear_is_compatible_with_previous_version() { |
3285 | 0 | is_compatible_with_previous_version_ = false; |
3286 | 0 | clear_has_is_compatible_with_previous_version(); |
3287 | 0 | } |
3288 | 5.34M | inline bool QLWriteRequestPB::is_compatible_with_previous_version() const { |
3289 | | // @@protoc_insertion_point(field_get:yb.QLWriteRequestPB.is_compatible_with_previous_version) |
3290 | 5.34M | return is_compatible_with_previous_version_; |
3291 | 5.34M | } |
3292 | 2.97M | inline void QLWriteRequestPB::set_is_compatible_with_previous_version(bool value) { |
3293 | 2.97M | set_has_is_compatible_with_previous_version(); |
3294 | 2.97M | is_compatible_with_previous_version_ = value; |
3295 | | // @@protoc_insertion_point(field_set:yb.QLWriteRequestPB.is_compatible_with_previous_version) |
3296 | 2.97M | } |
3297 | | |
3298 | | // ------------------------------------------------------------------- |
3299 | | |
3300 | | // QLRSColDescPB |
3301 | | |
3302 | | // optional string name = 1; |
3303 | 4.63M | inline bool QLRSColDescPB::has_name() const { |
3304 | 4.63M | return (_has_bits_[0] & 0x00000001u) != 0; |
3305 | 4.63M | } |
3306 | 15.2M | inline void QLRSColDescPB::set_has_name() { |
3307 | 15.2M | _has_bits_[0] |= 0x00000001u; |
3308 | 15.2M | } |
3309 | 0 | inline void QLRSColDescPB::clear_has_name() { |
3310 | 0 | _has_bits_[0] &= ~0x00000001u; |
3311 | 0 | } |
3312 | 0 | inline void QLRSColDescPB::clear_name() { |
3313 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3314 | 0 | clear_has_name(); |
3315 | 0 | } |
3316 | 42.5M | inline const ::std::string& QLRSColDescPB::name() const { |
3317 | | // @@protoc_insertion_point(field_get:yb.QLRSColDescPB.name) |
3318 | 42.5M | return name_.GetNoArena(); |
3319 | 42.5M | } |
3320 | 3.39k | inline void QLRSColDescPB::set_name(const ::std::string& value) { |
3321 | 3.39k | set_has_name(); |
3322 | 3.39k | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3323 | | // @@protoc_insertion_point(field_set:yb.QLRSColDescPB.name) |
3324 | 3.39k | } |
3325 | | #if LANG_CXX11 |
3326 | 12.9M | inline void QLRSColDescPB::set_name(::std::string&& value) { |
3327 | 12.9M | set_has_name(); |
3328 | 12.9M | name_.SetNoArena( |
3329 | 12.9M | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3330 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLRSColDescPB.name) |
3331 | 12.9M | } |
3332 | | #endif |
3333 | 0 | inline void QLRSColDescPB::set_name(const char* value) { |
3334 | 0 | GOOGLE_DCHECK(value != NULL); |
3335 | 0 | set_has_name(); |
3336 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3337 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLRSColDescPB.name) |
3338 | 0 | } |
3339 | 0 | inline void QLRSColDescPB::set_name(const char* value, size_t size) { |
3340 | 0 | set_has_name(); |
3341 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3342 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3343 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLRSColDescPB.name) |
3344 | 0 | } |
3345 | 2.33M | inline ::std::string* QLRSColDescPB::mutable_name() { |
3346 | 2.33M | set_has_name(); |
3347 | | // @@protoc_insertion_point(field_mutable:yb.QLRSColDescPB.name) |
3348 | 2.33M | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3349 | 2.33M | } |
3350 | 0 | inline ::std::string* QLRSColDescPB::release_name() { |
3351 | 0 | // @@protoc_insertion_point(field_release:yb.QLRSColDescPB.name) |
3352 | 0 | clear_has_name(); |
3353 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3354 | 0 | } |
3355 | 0 | inline void QLRSColDescPB::set_allocated_name(::std::string* name) { |
3356 | 0 | if (name != NULL) { |
3357 | 0 | set_has_name(); |
3358 | 0 | } else { |
3359 | 0 | clear_has_name(); |
3360 | 0 | } |
3361 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
3362 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLRSColDescPB.name) |
3363 | 0 | } |
3364 | | |
3365 | | // optional .yb.QLTypePB ql_type = 2; |
3366 | 4.62M | inline bool QLRSColDescPB::has_ql_type() const { |
3367 | 4.62M | return (_has_bits_[0] & 0x00000002u) != 0; |
3368 | 4.62M | } |
3369 | 15.2M | inline void QLRSColDescPB::set_has_ql_type() { |
3370 | 15.2M | _has_bits_[0] |= 0x00000002u; |
3371 | 15.2M | } |
3372 | 0 | inline void QLRSColDescPB::clear_has_ql_type() { |
3373 | 0 | _has_bits_[0] &= ~0x00000002u; |
3374 | 0 | } |
3375 | 26.2M | inline const ::yb::QLTypePB& QLRSColDescPB::ql_type() const { |
3376 | 26.2M | const ::yb::QLTypePB* p = ql_type_; |
3377 | | // @@protoc_insertion_point(field_get:yb.QLRSColDescPB.ql_type) |
3378 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLTypePB*>( |
3379 | 18.4E | &::yb::_QLTypePB_default_instance_); |
3380 | 26.2M | } |
3381 | 0 | inline ::yb::QLTypePB* QLRSColDescPB::release_ql_type() { |
3382 | 0 | // @@protoc_insertion_point(field_release:yb.QLRSColDescPB.ql_type) |
3383 | 0 | clear_has_ql_type(); |
3384 | 0 | ::yb::QLTypePB* temp = ql_type_; |
3385 | 0 | ql_type_ = NULL; |
3386 | 0 | return temp; |
3387 | 0 | } |
3388 | 15.2M | inline ::yb::QLTypePB* QLRSColDescPB::mutable_ql_type() { |
3389 | 15.2M | set_has_ql_type(); |
3390 | 15.2M | if (ql_type_ == NULL) { |
3391 | 15.2M | ql_type_ = new ::yb::QLTypePB; |
3392 | 15.2M | } |
3393 | | // @@protoc_insertion_point(field_mutable:yb.QLRSColDescPB.ql_type) |
3394 | 15.2M | return ql_type_; |
3395 | 15.2M | } |
3396 | 0 | inline void QLRSColDescPB::set_allocated_ql_type(::yb::QLTypePB* ql_type) { |
3397 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3398 | 0 | if (message_arena == NULL) { |
3399 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(ql_type_); |
3400 | 0 | } |
3401 | 0 | if (ql_type) { |
3402 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3403 | 0 | if (message_arena != submessage_arena) { |
3404 | 0 | ql_type = ::google::protobuf::internal::GetOwnedMessage( |
3405 | 0 | message_arena, ql_type, submessage_arena); |
3406 | 0 | } |
3407 | 0 | set_has_ql_type(); |
3408 | 0 | } else { |
3409 | 0 | clear_has_ql_type(); |
3410 | 0 | } |
3411 | 0 | ql_type_ = ql_type; |
3412 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLRSColDescPB.ql_type) |
3413 | 0 | } |
3414 | | |
3415 | | // ------------------------------------------------------------------- |
3416 | | |
3417 | | // QLRSRowDescPB |
3418 | | |
3419 | | // repeated .yb.QLRSColDescPB rscol_descs = 1; |
3420 | 1.00M | inline int QLRSRowDescPB::rscol_descs_size() const { |
3421 | 1.00M | return rscol_descs_.size(); |
3422 | 1.00M | } |
3423 | 0 | inline void QLRSRowDescPB::clear_rscol_descs() { |
3424 | 0 | rscol_descs_.Clear(); |
3425 | 0 | } |
3426 | 6.95M | inline const ::yb::QLRSColDescPB& QLRSRowDescPB::rscol_descs(int index) const { |
3427 | | // @@protoc_insertion_point(field_get:yb.QLRSRowDescPB.rscol_descs) |
3428 | 6.95M | return rscol_descs_.Get(index); |
3429 | 6.95M | } |
3430 | 0 | inline ::yb::QLRSColDescPB* QLRSRowDescPB::mutable_rscol_descs(int index) { |
3431 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLRSRowDescPB.rscol_descs) |
3432 | 0 | return rscol_descs_.Mutable(index); |
3433 | 0 | } |
3434 | 15.2M | inline ::yb::QLRSColDescPB* QLRSRowDescPB::add_rscol_descs() { |
3435 | | // @@protoc_insertion_point(field_add:yb.QLRSRowDescPB.rscol_descs) |
3436 | 15.2M | return rscol_descs_.Add(); |
3437 | 15.2M | } |
3438 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLRSColDescPB >* |
3439 | 0 | QLRSRowDescPB::mutable_rscol_descs() { |
3440 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLRSRowDescPB.rscol_descs) |
3441 | 0 | return &rscol_descs_; |
3442 | 0 | } |
3443 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLRSColDescPB >& |
3444 | 11.8M | QLRSRowDescPB::rscol_descs() const { |
3445 | | // @@protoc_insertion_point(field_list:yb.QLRSRowDescPB.rscol_descs) |
3446 | 11.8M | return rscol_descs_; |
3447 | 11.8M | } |
3448 | | |
3449 | | // ------------------------------------------------------------------- |
3450 | | |
3451 | | // QLReadRequestPB |
3452 | | |
3453 | | // optional .yb.QLClient client = 1; |
3454 | 674k | inline bool QLReadRequestPB::has_client() const { |
3455 | 674k | return (_has_bits_[0] & 0x00040000u) != 0; |
3456 | 674k | } |
3457 | 4.23M | inline void QLReadRequestPB::set_has_client() { |
3458 | 4.23M | _has_bits_[0] |= 0x00040000u; |
3459 | 4.23M | } |
3460 | 0 | inline void QLReadRequestPB::clear_has_client() { |
3461 | 0 | _has_bits_[0] &= ~0x00040000u; |
3462 | 0 | } |
3463 | 0 | inline void QLReadRequestPB::clear_client() { |
3464 | 0 | client_ = 1; |
3465 | 0 | clear_has_client(); |
3466 | 0 | } |
3467 | 4.95M | inline ::yb::QLClient QLReadRequestPB::client() const { |
3468 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.client) |
3469 | 4.95M | return static_cast< ::yb::QLClient >(client_); |
3470 | 4.95M | } |
3471 | 4.22M | inline void QLReadRequestPB::set_client(::yb::QLClient value) { |
3472 | 4.22M | assert(::yb::QLClient_IsValid(value)); |
3473 | 4.22M | set_has_client(); |
3474 | 4.22M | client_ = value; |
3475 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.client) |
3476 | 4.22M | } |
3477 | | |
3478 | | // optional uint64 request_id = 2; |
3479 | 675k | inline bool QLReadRequestPB::has_request_id() const { |
3480 | 675k | return (_has_bits_[0] & 0x00000080u) != 0; |
3481 | 675k | } |
3482 | 8.10M | inline void QLReadRequestPB::set_has_request_id() { |
3483 | 8.10M | _has_bits_[0] |= 0x00000080u; |
3484 | 8.10M | } |
3485 | 0 | inline void QLReadRequestPB::clear_has_request_id() { |
3486 | 0 | _has_bits_[0] &= ~0x00000080u; |
3487 | 0 | } |
3488 | 0 | inline void QLReadRequestPB::clear_request_id() { |
3489 | 0 | request_id_ = GOOGLE_ULONGLONG(0); |
3490 | 0 | clear_has_request_id(); |
3491 | 0 | } |
3492 | 1.01M | inline ::google::protobuf::uint64 QLReadRequestPB::request_id() const { |
3493 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.request_id) |
3494 | 1.01M | return request_id_; |
3495 | 1.01M | } |
3496 | 7.75M | inline void QLReadRequestPB::set_request_id(::google::protobuf::uint64 value) { |
3497 | 7.75M | set_has_request_id(); |
3498 | 7.75M | request_id_ = value; |
3499 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.request_id) |
3500 | 7.75M | } |
3501 | | |
3502 | | // optional uint32 schema_version = 3; |
3503 | 672k | inline bool QLReadRequestPB::has_schema_version() const { |
3504 | 672k | return (_has_bits_[0] & 0x00000100u) != 0; |
3505 | 672k | } |
3506 | 4.22M | inline void QLReadRequestPB::set_has_schema_version() { |
3507 | 4.22M | _has_bits_[0] |= 0x00000100u; |
3508 | 4.22M | } |
3509 | 0 | inline void QLReadRequestPB::clear_has_schema_version() { |
3510 | 0 | _has_bits_[0] &= ~0x00000100u; |
3511 | 0 | } |
3512 | 0 | inline void QLReadRequestPB::clear_schema_version() { |
3513 | 0 | schema_version_ = 0u; |
3514 | 0 | clear_has_schema_version(); |
3515 | 0 | } |
3516 | 4.69M | inline ::google::protobuf::uint32 QLReadRequestPB::schema_version() const { |
3517 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.schema_version) |
3518 | 4.69M | return schema_version_; |
3519 | 4.69M | } |
3520 | 3.87M | inline void QLReadRequestPB::set_schema_version(::google::protobuf::uint32 value) { |
3521 | 3.87M | set_has_schema_version(); |
3522 | 3.87M | schema_version_ = value; |
3523 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.schema_version) |
3524 | 3.87M | } |
3525 | | |
3526 | | // optional uint32 hash_code = 4; |
3527 | 12.1M | inline bool QLReadRequestPB::has_hash_code() const { |
3528 | 12.1M | return (_has_bits_[0] & 0x00000200u) != 0; |
3529 | 12.1M | } |
3530 | 7.65M | inline void QLReadRequestPB::set_has_hash_code() { |
3531 | 7.65M | _has_bits_[0] |= 0x00000200u; |
3532 | 7.65M | } |
3533 | 5.65k | inline void QLReadRequestPB::clear_has_hash_code() { |
3534 | 5.65k | _has_bits_[0] &= ~0x00000200u; |
3535 | 5.65k | } |
3536 | 5.65k | inline void QLReadRequestPB::clear_hash_code() { |
3537 | 5.65k | hash_code_ = 0u; |
3538 | 5.65k | clear_has_hash_code(); |
3539 | 5.65k | } |
3540 | 4.20M | inline ::google::protobuf::uint32 QLReadRequestPB::hash_code() const { |
3541 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.hash_code) |
3542 | 4.20M | return hash_code_; |
3543 | 4.20M | } |
3544 | 7.47M | inline void QLReadRequestPB::set_hash_code(::google::protobuf::uint32 value) { |
3545 | 7.47M | set_has_hash_code(); |
3546 | 7.47M | hash_code_ = value; |
3547 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.hash_code) |
3548 | 7.47M | } |
3549 | | |
3550 | | // repeated .yb.QLExpressionPB hashed_column_values = 5; |
3551 | 1.00M | inline int QLReadRequestPB::hashed_column_values_size() const { |
3552 | 1.00M | return hashed_column_values_.size(); |
3553 | 1.00M | } |
3554 | 432k | inline const ::yb::QLExpressionPB& QLReadRequestPB::hashed_column_values(int index) const { |
3555 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.hashed_column_values) |
3556 | 432k | return hashed_column_values_.Get(index); |
3557 | 432k | } |
3558 | 6.82k | inline ::yb::QLExpressionPB* QLReadRequestPB::mutable_hashed_column_values(int index) { |
3559 | | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.hashed_column_values) |
3560 | 6.82k | return hashed_column_values_.Mutable(index); |
3561 | 6.82k | } |
3562 | 3.85M | inline ::yb::QLExpressionPB* QLReadRequestPB::add_hashed_column_values() { |
3563 | | // @@protoc_insertion_point(field_add:yb.QLReadRequestPB.hashed_column_values) |
3564 | 3.85M | return hashed_column_values_.Add(); |
3565 | 3.85M | } |
3566 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
3567 | 1.07k | QLReadRequestPB::mutable_hashed_column_values() { |
3568 | | // @@protoc_insertion_point(field_mutable_list:yb.QLReadRequestPB.hashed_column_values) |
3569 | 1.07k | return &hashed_column_values_; |
3570 | 1.07k | } |
3571 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
3572 | 19.7M | QLReadRequestPB::hashed_column_values() const { |
3573 | | // @@protoc_insertion_point(field_list:yb.QLReadRequestPB.hashed_column_values) |
3574 | 19.7M | return hashed_column_values_; |
3575 | 19.7M | } |
3576 | | |
3577 | | // optional bool is_forward_scan = 18 [default = true]; |
3578 | 673k | inline bool QLReadRequestPB::has_is_forward_scan() const { |
3579 | 673k | return (_has_bits_[0] & 0x00080000u) != 0; |
3580 | 673k | } |
3581 | 4.22M | inline void QLReadRequestPB::set_has_is_forward_scan() { |
3582 | 4.22M | _has_bits_[0] |= 0x00080000u; |
3583 | 4.22M | } |
3584 | 0 | inline void QLReadRequestPB::clear_has_is_forward_scan() { |
3585 | 0 | _has_bits_[0] &= ~0x00080000u; |
3586 | 0 | } |
3587 | 0 | inline void QLReadRequestPB::clear_is_forward_scan() { |
3588 | 0 | is_forward_scan_ = true; |
3589 | 0 | clear_has_is_forward_scan(); |
3590 | 0 | } |
3591 | 11.5M | inline bool QLReadRequestPB::is_forward_scan() const { |
3592 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.is_forward_scan) |
3593 | 11.5M | return is_forward_scan_; |
3594 | 11.5M | } |
3595 | 3.88M | inline void QLReadRequestPB::set_is_forward_scan(bool value) { |
3596 | 3.88M | set_has_is_forward_scan(); |
3597 | 3.88M | is_forward_scan_ = value; |
3598 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.is_forward_scan) |
3599 | 3.88M | } |
3600 | | |
3601 | | // optional .yb.QLExpressionPB where_expr = 6; |
3602 | 5.27M | inline bool QLReadRequestPB::has_where_expr() const { |
3603 | 5.27M | return (_has_bits_[0] & 0x00000002u) != 0; |
3604 | 5.27M | } |
3605 | 29.3k | inline void QLReadRequestPB::set_has_where_expr() { |
3606 | 29.3k | _has_bits_[0] |= 0x00000002u; |
3607 | 29.3k | } |
3608 | 0 | inline void QLReadRequestPB::clear_has_where_expr() { |
3609 | 0 | _has_bits_[0] &= ~0x00000002u; |
3610 | 0 | } |
3611 | 20.1k | inline const ::yb::QLExpressionPB& QLReadRequestPB::where_expr() const { |
3612 | 20.1k | const ::yb::QLExpressionPB* p = where_expr_; |
3613 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.where_expr) |
3614 | 20.1k | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
3615 | 0 | &::yb::_QLExpressionPB_default_instance_); |
3616 | 20.1k | } |
3617 | 0 | inline ::yb::QLExpressionPB* QLReadRequestPB::release_where_expr() { |
3618 | 0 | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.where_expr) |
3619 | 0 | clear_has_where_expr(); |
3620 | 0 | ::yb::QLExpressionPB* temp = where_expr_; |
3621 | 0 | where_expr_ = NULL; |
3622 | 0 | return temp; |
3623 | 0 | } |
3624 | 29.5k | inline ::yb::QLExpressionPB* QLReadRequestPB::mutable_where_expr() { |
3625 | 29.5k | set_has_where_expr(); |
3626 | 29.5k | if (where_expr_ == NULL) { |
3627 | 28.4k | where_expr_ = new ::yb::QLExpressionPB; |
3628 | 28.4k | } |
3629 | | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.where_expr) |
3630 | 29.5k | return where_expr_; |
3631 | 29.5k | } |
3632 | 0 | inline void QLReadRequestPB::set_allocated_where_expr(::yb::QLExpressionPB* where_expr) { |
3633 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3634 | 0 | if (message_arena == NULL) { |
3635 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(where_expr_); |
3636 | 0 | } |
3637 | 0 | if (where_expr) { |
3638 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3639 | 0 | if (message_arena != submessage_arena) { |
3640 | 0 | where_expr = ::google::protobuf::internal::GetOwnedMessage( |
3641 | 0 | message_arena, where_expr, submessage_arena); |
3642 | 0 | } |
3643 | 0 | set_has_where_expr(); |
3644 | 0 | } else { |
3645 | 0 | clear_has_where_expr(); |
3646 | 0 | } |
3647 | 0 | where_expr_ = where_expr; |
3648 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.where_expr) |
3649 | 0 | } |
3650 | | |
3651 | | // optional .yb.QLExpressionPB if_expr = 21; |
3652 | 5.26M | inline bool QLReadRequestPB::has_if_expr() const { |
3653 | 5.26M | return (_has_bits_[0] & 0x00000040u) != 0; |
3654 | 5.26M | } |
3655 | 865 | inline void QLReadRequestPB::set_has_if_expr() { |
3656 | 865 | _has_bits_[0] |= 0x00000040u; |
3657 | 865 | } |
3658 | 0 | inline void QLReadRequestPB::clear_has_if_expr() { |
3659 | 0 | _has_bits_[0] &= ~0x00000040u; |
3660 | 0 | } |
3661 | 994 | inline const ::yb::QLExpressionPB& QLReadRequestPB::if_expr() const { |
3662 | 994 | const ::yb::QLExpressionPB* p = if_expr_; |
3663 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.if_expr) |
3664 | 994 | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
3665 | 0 | &::yb::_QLExpressionPB_default_instance_); |
3666 | 994 | } |
3667 | 0 | inline ::yb::QLExpressionPB* QLReadRequestPB::release_if_expr() { |
3668 | 0 | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.if_expr) |
3669 | 0 | clear_has_if_expr(); |
3670 | 0 | ::yb::QLExpressionPB* temp = if_expr_; |
3671 | 0 | if_expr_ = NULL; |
3672 | 0 | return temp; |
3673 | 0 | } |
3674 | 865 | inline ::yb::QLExpressionPB* QLReadRequestPB::mutable_if_expr() { |
3675 | 865 | set_has_if_expr(); |
3676 | 865 | if (if_expr_ == NULL) { |
3677 | 865 | if_expr_ = new ::yb::QLExpressionPB; |
3678 | 865 | } |
3679 | | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.if_expr) |
3680 | 865 | return if_expr_; |
3681 | 865 | } |
3682 | 0 | inline void QLReadRequestPB::set_allocated_if_expr(::yb::QLExpressionPB* if_expr) { |
3683 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3684 | 0 | if (message_arena == NULL) { |
3685 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(if_expr_); |
3686 | 0 | } |
3687 | 0 | if (if_expr) { |
3688 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3689 | 0 | if (message_arena != submessage_arena) { |
3690 | 0 | if_expr = ::google::protobuf::internal::GetOwnedMessage( |
3691 | 0 | message_arena, if_expr, submessage_arena); |
3692 | 0 | } |
3693 | 0 | set_has_if_expr(); |
3694 | 0 | } else { |
3695 | 0 | clear_has_if_expr(); |
3696 | 0 | } |
3697 | 0 | if_expr_ = if_expr; |
3698 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.if_expr) |
3699 | 0 | } |
3700 | | |
3701 | | // optional .yb.QLRSRowDescPB rsrow_desc = 17; |
3702 | 670k | inline bool QLReadRequestPB::has_rsrow_desc() const { |
3703 | 670k | return (_has_bits_[0] & 0x00000020u) != 0; |
3704 | 670k | } |
3705 | 7.98M | inline void QLReadRequestPB::set_has_rsrow_desc() { |
3706 | 7.98M | _has_bits_[0] |= 0x00000020u; |
3707 | 7.98M | } |
3708 | 0 | inline void QLReadRequestPB::clear_has_rsrow_desc() { |
3709 | 0 | _has_bits_[0] &= ~0x00000020u; |
3710 | 0 | } |
3711 | 0 | inline void QLReadRequestPB::clear_rsrow_desc() { |
3712 | 0 | if (rsrow_desc_ != NULL) rsrow_desc_->Clear(); |
3713 | 0 | clear_has_rsrow_desc(); |
3714 | 0 | } |
3715 | 7.87M | inline const ::yb::QLRSRowDescPB& QLReadRequestPB::rsrow_desc() const { |
3716 | 7.87M | const ::yb::QLRSRowDescPB* p = rsrow_desc_; |
3717 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.rsrow_desc) |
3718 | 7.87M | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLRSRowDescPB*>( |
3719 | 722 | &::yb::_QLRSRowDescPB_default_instance_); |
3720 | 7.87M | } |
3721 | 0 | inline ::yb::QLRSRowDescPB* QLReadRequestPB::release_rsrow_desc() { |
3722 | 0 | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.rsrow_desc) |
3723 | 0 | clear_has_rsrow_desc(); |
3724 | 0 | ::yb::QLRSRowDescPB* temp = rsrow_desc_; |
3725 | 0 | rsrow_desc_ = NULL; |
3726 | 0 | return temp; |
3727 | 0 | } |
3728 | 7.97M | inline ::yb::QLRSRowDescPB* QLReadRequestPB::mutable_rsrow_desc() { |
3729 | 7.97M | set_has_rsrow_desc(); |
3730 | 7.97M | if (rsrow_desc_ == NULL) { |
3731 | 4.22M | rsrow_desc_ = new ::yb::QLRSRowDescPB; |
3732 | 4.22M | } |
3733 | | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.rsrow_desc) |
3734 | 7.97M | return rsrow_desc_; |
3735 | 7.97M | } |
3736 | 0 | inline void QLReadRequestPB::set_allocated_rsrow_desc(::yb::QLRSRowDescPB* rsrow_desc) { |
3737 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3738 | 0 | if (message_arena == NULL) { |
3739 | 0 | delete rsrow_desc_; |
3740 | 0 | } |
3741 | 0 | if (rsrow_desc) { |
3742 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3743 | 0 | if (message_arena != submessage_arena) { |
3744 | 0 | rsrow_desc = ::google::protobuf::internal::GetOwnedMessage( |
3745 | 0 | message_arena, rsrow_desc, submessage_arena); |
3746 | 0 | } |
3747 | 0 | set_has_rsrow_desc(); |
3748 | 0 | } else { |
3749 | 0 | clear_has_rsrow_desc(); |
3750 | 0 | } |
3751 | 0 | rsrow_desc_ = rsrow_desc; |
3752 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.rsrow_desc) |
3753 | 0 | } |
3754 | | |
3755 | | // repeated .yb.QLExpressionPB selected_exprs = 7; |
3756 | 1.00M | inline int QLReadRequestPB::selected_exprs_size() const { |
3757 | 1.00M | return selected_exprs_.size(); |
3758 | 1.00M | } |
3759 | 6.93M | inline const ::yb::QLExpressionPB& QLReadRequestPB::selected_exprs(int index) const { |
3760 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.selected_exprs) |
3761 | 6.93M | return selected_exprs_.Get(index); |
3762 | 6.93M | } |
3763 | 0 | inline ::yb::QLExpressionPB* QLReadRequestPB::mutable_selected_exprs(int index) { |
3764 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.selected_exprs) |
3765 | 0 | return selected_exprs_.Mutable(index); |
3766 | 0 | } |
3767 | 15.2M | inline ::yb::QLExpressionPB* QLReadRequestPB::add_selected_exprs() { |
3768 | | // @@protoc_insertion_point(field_add:yb.QLReadRequestPB.selected_exprs) |
3769 | 15.2M | return selected_exprs_.Add(); |
3770 | 15.2M | } |
3771 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
3772 | 0 | QLReadRequestPB::mutable_selected_exprs() { |
3773 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLReadRequestPB.selected_exprs) |
3774 | 0 | return &selected_exprs_; |
3775 | 0 | } |
3776 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
3777 | 8.06M | QLReadRequestPB::selected_exprs() const { |
3778 | | // @@protoc_insertion_point(field_list:yb.QLReadRequestPB.selected_exprs) |
3779 | 8.06M | return selected_exprs_; |
3780 | 8.06M | } |
3781 | | |
3782 | | // optional bool distinct = 12 [default = false]; |
3783 | 673k | inline bool QLReadRequestPB::has_distinct() const { |
3784 | 673k | return (_has_bits_[0] & 0x00002000u) != 0; |
3785 | 673k | } |
3786 | 4.23M | inline void QLReadRequestPB::set_has_distinct() { |
3787 | 4.23M | _has_bits_[0] |= 0x00002000u; |
3788 | 4.23M | } |
3789 | 0 | inline void QLReadRequestPB::clear_has_distinct() { |
3790 | 0 | _has_bits_[0] &= ~0x00002000u; |
3791 | 0 | } |
3792 | 0 | inline void QLReadRequestPB::clear_distinct() { |
3793 | 0 | distinct_ = false; |
3794 | 0 | clear_has_distinct(); |
3795 | 0 | } |
3796 | 4.26M | inline bool QLReadRequestPB::distinct() const { |
3797 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.distinct) |
3798 | 4.26M | return distinct_; |
3799 | 4.26M | } |
3800 | 3.89M | inline void QLReadRequestPB::set_distinct(bool value) { |
3801 | 3.89M | set_has_distinct(); |
3802 | 3.89M | distinct_ = value; |
3803 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.distinct) |
3804 | 3.89M | } |
3805 | | |
3806 | | // optional uint64 limit = 8; |
3807 | 8.26M | inline bool QLReadRequestPB::has_limit() const { |
3808 | 8.26M | return (_has_bits_[0] & 0x00000400u) != 0; |
3809 | 8.26M | } |
3810 | 7.34M | inline void QLReadRequestPB::set_has_limit() { |
3811 | 7.34M | _has_bits_[0] |= 0x00000400u; |
3812 | 7.34M | } |
3813 | 0 | inline void QLReadRequestPB::clear_has_limit() { |
3814 | 0 | _has_bits_[0] &= ~0x00000400u; |
3815 | 0 | } |
3816 | 0 | inline void QLReadRequestPB::clear_limit() { |
3817 | 0 | limit_ = GOOGLE_ULONGLONG(0); |
3818 | 0 | clear_has_limit(); |
3819 | 0 | } |
3820 | 11.2M | inline ::google::protobuf::uint64 QLReadRequestPB::limit() const { |
3821 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.limit) |
3822 | 11.2M | return limit_; |
3823 | 11.2M | } |
3824 | 7.25M | inline void QLReadRequestPB::set_limit(::google::protobuf::uint64 value) { |
3825 | 7.25M | set_has_limit(); |
3826 | 7.25M | limit_ = value; |
3827 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.limit) |
3828 | 7.25M | } |
3829 | | |
3830 | | // optional uint64 offset = 9; |
3831 | 4.92M | inline bool QLReadRequestPB::has_offset() const { |
3832 | 4.92M | return (_has_bits_[0] & 0x00000800u) != 0; |
3833 | 4.92M | } |
3834 | 2.84k | inline void QLReadRequestPB::set_has_offset() { |
3835 | 2.84k | _has_bits_[0] |= 0x00000800u; |
3836 | 2.84k | } |
3837 | 0 | inline void QLReadRequestPB::clear_has_offset() { |
3838 | 0 | _has_bits_[0] &= ~0x00000800u; |
3839 | 0 | } |
3840 | 0 | inline void QLReadRequestPB::clear_offset() { |
3841 | 0 | offset_ = GOOGLE_ULONGLONG(0); |
3842 | 0 | clear_has_offset(); |
3843 | 0 | } |
3844 | 5.14k | inline ::google::protobuf::uint64 QLReadRequestPB::offset() const { |
3845 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.offset) |
3846 | 5.14k | return offset_; |
3847 | 5.14k | } |
3848 | 1.70k | inline void QLReadRequestPB::set_offset(::google::protobuf::uint64 value) { |
3849 | 1.70k | set_has_offset(); |
3850 | 1.70k | offset_ = value; |
3851 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.offset) |
3852 | 1.70k | } |
3853 | | |
3854 | | // optional .yb.QLPagingStatePB paging_state = 10; |
3855 | 8.27M | inline bool QLReadRequestPB::has_paging_state() const { |
3856 | 8.27M | return (_has_bits_[0] & 0x00000004u) != 0; |
3857 | 8.27M | } |
3858 | 57.8k | inline void QLReadRequestPB::set_has_paging_state() { |
3859 | 57.8k | _has_bits_[0] |= 0x00000004u; |
3860 | 57.8k | } |
3861 | 0 | inline void QLReadRequestPB::clear_has_paging_state() { |
3862 | 0 | _has_bits_[0] &= ~0x00000004u; |
3863 | 0 | } |
3864 | 0 | inline void QLReadRequestPB::clear_paging_state() { |
3865 | 0 | if (paging_state_ != NULL) paging_state_->Clear(); |
3866 | 0 | clear_has_paging_state(); |
3867 | 0 | } |
3868 | 210k | inline const ::yb::QLPagingStatePB& QLReadRequestPB::paging_state() const { |
3869 | 210k | const ::yb::QLPagingStatePB* p = paging_state_; |
3870 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.paging_state) |
3871 | 203k | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLPagingStatePB*>( |
3872 | 7.48k | &::yb::_QLPagingStatePB_default_instance_); |
3873 | 210k | } |
3874 | 0 | inline ::yb::QLPagingStatePB* QLReadRequestPB::release_paging_state() { |
3875 | 0 | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.paging_state) |
3876 | 0 | clear_has_paging_state(); |
3877 | 0 | ::yb::QLPagingStatePB* temp = paging_state_; |
3878 | 0 | paging_state_ = NULL; |
3879 | 0 | return temp; |
3880 | 0 | } |
3881 | 57.8k | inline ::yb::QLPagingStatePB* QLReadRequestPB::mutable_paging_state() { |
3882 | 57.8k | set_has_paging_state(); |
3883 | 57.8k | if (paging_state_ == NULL) { |
3884 | 30.7k | paging_state_ = new ::yb::QLPagingStatePB; |
3885 | 30.7k | } |
3886 | | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.paging_state) |
3887 | 57.8k | return paging_state_; |
3888 | 57.8k | } |
3889 | 0 | inline void QLReadRequestPB::set_allocated_paging_state(::yb::QLPagingStatePB* paging_state) { |
3890 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3891 | 0 | if (message_arena == NULL) { |
3892 | 0 | delete paging_state_; |
3893 | 0 | } |
3894 | 0 | if (paging_state) { |
3895 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
3896 | 0 | if (message_arena != submessage_arena) { |
3897 | 0 | paging_state = ::google::protobuf::internal::GetOwnedMessage( |
3898 | 0 | message_arena, paging_state, submessage_arena); |
3899 | 0 | } |
3900 | 0 | set_has_paging_state(); |
3901 | 0 | } else { |
3902 | 0 | clear_has_paging_state(); |
3903 | 0 | } |
3904 | 0 | paging_state_ = paging_state; |
3905 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.paging_state) |
3906 | 0 | } |
3907 | | |
3908 | | // optional bool return_paging_state = 11 [default = false]; |
3909 | 673k | inline bool QLReadRequestPB::has_return_paging_state() const { |
3910 | 673k | return (_has_bits_[0] & 0x00004000u) != 0; |
3911 | 673k | } |
3912 | 7.30M | inline void QLReadRequestPB::set_has_return_paging_state() { |
3913 | 7.30M | _has_bits_[0] |= 0x00004000u; |
3914 | 7.30M | } |
3915 | 404 | inline void QLReadRequestPB::clear_has_return_paging_state() { |
3916 | 404 | _has_bits_[0] &= ~0x00004000u; |
3917 | 404 | } |
3918 | 404 | inline void QLReadRequestPB::clear_return_paging_state() { |
3919 | 404 | return_paging_state_ = false; |
3920 | 404 | clear_has_return_paging_state(); |
3921 | 404 | } |
3922 | 3.69M | inline bool QLReadRequestPB::return_paging_state() const { |
3923 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.return_paging_state) |
3924 | 3.69M | return return_paging_state_; |
3925 | 3.69M | } |
3926 | 7.22M | inline void QLReadRequestPB::set_return_paging_state(bool value) { |
3927 | 7.22M | set_has_return_paging_state(); |
3928 | 7.22M | return_paging_state_ = value; |
3929 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.return_paging_state) |
3930 | 7.22M | } |
3931 | | |
3932 | | // optional .yb.HostPortPB remote_endpoint = 13; |
3933 | 1.34M | inline bool QLReadRequestPB::has_remote_endpoint() const { |
3934 | 1.34M | return (_has_bits_[0] & 0x00000008u) != 0; |
3935 | 1.34M | } |
3936 | 3.93M | inline void QLReadRequestPB::set_has_remote_endpoint() { |
3937 | 3.93M | _has_bits_[0] |= 0x00000008u; |
3938 | 3.93M | } |
3939 | 3.93M | inline void QLReadRequestPB::clear_has_remote_endpoint() { |
3940 | 3.93M | _has_bits_[0] &= ~0x00000008u; |
3941 | 3.93M | } |
3942 | 46.5k | inline const ::yb::HostPortPB& QLReadRequestPB::remote_endpoint() const { |
3943 | 46.5k | const ::yb::HostPortPB* p = remote_endpoint_; |
3944 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.remote_endpoint) |
3945 | 46.5k | return p != NULL ? *p : *reinterpret_cast<const ::yb::HostPortPB*>( |
3946 | 0 | &::yb::_HostPortPB_default_instance_); |
3947 | 46.5k | } |
3948 | 3.93M | inline ::yb::HostPortPB* QLReadRequestPB::release_remote_endpoint() { |
3949 | | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.remote_endpoint) |
3950 | 3.93M | clear_has_remote_endpoint(); |
3951 | 3.93M | ::yb::HostPortPB* temp = remote_endpoint_; |
3952 | 3.93M | remote_endpoint_ = NULL; |
3953 | 3.93M | return temp; |
3954 | 3.93M | } |
3955 | 0 | inline ::yb::HostPortPB* QLReadRequestPB::mutable_remote_endpoint() { |
3956 | 0 | set_has_remote_endpoint(); |
3957 | 0 | if (remote_endpoint_ == NULL) { |
3958 | 0 | remote_endpoint_ = new ::yb::HostPortPB; |
3959 | 0 | } |
3960 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.remote_endpoint) |
3961 | 0 | return remote_endpoint_; |
3962 | 0 | } |
3963 | 3.94M | inline void QLReadRequestPB::set_allocated_remote_endpoint(::yb::HostPortPB* remote_endpoint) { |
3964 | 3.94M | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3965 | 3.94M | if (message_arena == NULL) { |
3966 | 3.93M | delete reinterpret_cast< ::google::protobuf::MessageLite*>(remote_endpoint_); |
3967 | 3.93M | } |
3968 | 3.94M | if (remote_endpoint) { |
3969 | 3.93M | ::google::protobuf::Arena* submessage_arena = NULL; |
3970 | 3.93M | if (message_arena != submessage_arena) { |
3971 | 0 | remote_endpoint = ::google::protobuf::internal::GetOwnedMessage( |
3972 | 0 | message_arena, remote_endpoint, submessage_arena); |
3973 | 0 | } |
3974 | 3.93M | set_has_remote_endpoint(); |
3975 | 2.42k | } else { |
3976 | 2.42k | clear_has_remote_endpoint(); |
3977 | 2.42k | } |
3978 | 3.94M | remote_endpoint_ = remote_endpoint; |
3979 | | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.remote_endpoint) |
3980 | 3.94M | } |
3981 | | |
3982 | | // optional string proxy_uuid = 20; |
3983 | 673k | inline bool QLReadRequestPB::has_proxy_uuid() const { |
3984 | 673k | return (_has_bits_[0] & 0x00000001u) != 0; |
3985 | 673k | } |
3986 | 3.93M | inline void QLReadRequestPB::set_has_proxy_uuid() { |
3987 | 3.93M | _has_bits_[0] |= 0x00000001u; |
3988 | 3.93M | } |
3989 | 3.94M | inline void QLReadRequestPB::clear_has_proxy_uuid() { |
3990 | 3.94M | _has_bits_[0] &= ~0x00000001u; |
3991 | 3.94M | } |
3992 | 0 | inline void QLReadRequestPB::clear_proxy_uuid() { |
3993 | 0 | proxy_uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3994 | 0 | clear_has_proxy_uuid(); |
3995 | 0 | } |
3996 | 472k | inline const ::std::string& QLReadRequestPB::proxy_uuid() const { |
3997 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.proxy_uuid) |
3998 | 472k | return proxy_uuid_.GetNoArena(); |
3999 | 472k | } |
4000 | 0 | inline void QLReadRequestPB::set_proxy_uuid(const ::std::string& value) { |
4001 | 0 | set_has_proxy_uuid(); |
4002 | 0 | proxy_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4003 | 0 | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.proxy_uuid) |
4004 | 0 | } |
4005 | | #if LANG_CXX11 |
4006 | 0 | inline void QLReadRequestPB::set_proxy_uuid(::std::string&& value) { |
4007 | 0 | set_has_proxy_uuid(); |
4008 | 0 | proxy_uuid_.SetNoArena( |
4009 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4010 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLReadRequestPB.proxy_uuid) |
4011 | 0 | } |
4012 | | #endif |
4013 | 0 | inline void QLReadRequestPB::set_proxy_uuid(const char* value) { |
4014 | 0 | GOOGLE_DCHECK(value != NULL); |
4015 | 0 | set_has_proxy_uuid(); |
4016 | 0 | proxy_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4017 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLReadRequestPB.proxy_uuid) |
4018 | 0 | } |
4019 | 0 | inline void QLReadRequestPB::set_proxy_uuid(const char* value, size_t size) { |
4020 | 0 | set_has_proxy_uuid(); |
4021 | 0 | proxy_uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4022 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4023 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLReadRequestPB.proxy_uuid) |
4024 | 0 | } |
4025 | 0 | inline ::std::string* QLReadRequestPB::mutable_proxy_uuid() { |
4026 | 0 | set_has_proxy_uuid(); |
4027 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.proxy_uuid) |
4028 | 0 | return proxy_uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4029 | 0 | } |
4030 | 3.92M | inline ::std::string* QLReadRequestPB::release_proxy_uuid() { |
4031 | | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.proxy_uuid) |
4032 | 3.92M | clear_has_proxy_uuid(); |
4033 | 3.92M | return proxy_uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4034 | 3.92M | } |
4035 | 3.93M | inline void QLReadRequestPB::set_allocated_proxy_uuid(::std::string* proxy_uuid) { |
4036 | 3.93M | if (proxy_uuid != NULL) { |
4037 | 3.93M | set_has_proxy_uuid(); |
4038 | 18.4E | } else { |
4039 | 18.4E | clear_has_proxy_uuid(); |
4040 | 18.4E | } |
4041 | 3.93M | proxy_uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), proxy_uuid); |
4042 | | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.proxy_uuid) |
4043 | 3.93M | } |
4044 | | |
4045 | | // optional uint32 max_hash_code = 14; |
4046 | 11.9M | inline bool QLReadRequestPB::has_max_hash_code() const { |
4047 | 11.9M | return (_has_bits_[0] & 0x00001000u) != 0; |
4048 | 11.9M | } |
4049 | 3.84M | inline void QLReadRequestPB::set_has_max_hash_code() { |
4050 | 3.84M | _has_bits_[0] |= 0x00001000u; |
4051 | 3.84M | } |
4052 | 5.65k | inline void QLReadRequestPB::clear_has_max_hash_code() { |
4053 | 5.65k | _has_bits_[0] &= ~0x00001000u; |
4054 | 5.65k | } |
4055 | 5.65k | inline void QLReadRequestPB::clear_max_hash_code() { |
4056 | 5.65k | max_hash_code_ = 0u; |
4057 | 5.65k | clear_has_max_hash_code(); |
4058 | 5.65k | } |
4059 | 4.04M | inline ::google::protobuf::uint32 QLReadRequestPB::max_hash_code() const { |
4060 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.max_hash_code) |
4061 | 4.04M | return max_hash_code_; |
4062 | 4.04M | } |
4063 | 3.70M | inline void QLReadRequestPB::set_max_hash_code(::google::protobuf::uint32 value) { |
4064 | 3.70M | set_has_max_hash_code(); |
4065 | 3.70M | max_hash_code_ = value; |
4066 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.max_hash_code) |
4067 | 3.70M | } |
4068 | | |
4069 | | // optional .yb.QLReferencedColumnsPB column_refs = 15; |
4070 | 673k | inline bool QLReadRequestPB::has_column_refs() const { |
4071 | 673k | return (_has_bits_[0] & 0x00000010u) != 0; |
4072 | 673k | } |
4073 | 4.24M | inline void QLReadRequestPB::set_has_column_refs() { |
4074 | 4.24M | _has_bits_[0] |= 0x00000010u; |
4075 | 4.24M | } |
4076 | 0 | inline void QLReadRequestPB::clear_has_column_refs() { |
4077 | 0 | _has_bits_[0] &= ~0x00000010u; |
4078 | 0 | } |
4079 | 0 | inline void QLReadRequestPB::clear_column_refs() { |
4080 | 0 | if (column_refs_ != NULL) column_refs_->Clear(); |
4081 | 0 | clear_has_column_refs(); |
4082 | 0 | } |
4083 | 7.89M | inline const ::yb::QLReferencedColumnsPB& QLReadRequestPB::column_refs() const { |
4084 | 7.89M | const ::yb::QLReferencedColumnsPB* p = column_refs_; |
4085 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.column_refs) |
4086 | 7.89M | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLReferencedColumnsPB*>( |
4087 | 3.09k | &::yb::_QLReferencedColumnsPB_default_instance_); |
4088 | 7.89M | } |
4089 | 0 | inline ::yb::QLReferencedColumnsPB* QLReadRequestPB::release_column_refs() { |
4090 | 0 | // @@protoc_insertion_point(field_release:yb.QLReadRequestPB.column_refs) |
4091 | 0 | clear_has_column_refs(); |
4092 | 0 | ::yb::QLReferencedColumnsPB* temp = column_refs_; |
4093 | 0 | column_refs_ = NULL; |
4094 | 0 | return temp; |
4095 | 0 | } |
4096 | 4.24M | inline ::yb::QLReferencedColumnsPB* QLReadRequestPB::mutable_column_refs() { |
4097 | 4.24M | set_has_column_refs(); |
4098 | 4.24M | if (column_refs_ == NULL) { |
4099 | 4.23M | column_refs_ = new ::yb::QLReferencedColumnsPB; |
4100 | 4.23M | } |
4101 | | // @@protoc_insertion_point(field_mutable:yb.QLReadRequestPB.column_refs) |
4102 | 4.24M | return column_refs_; |
4103 | 4.24M | } |
4104 | 0 | inline void QLReadRequestPB::set_allocated_column_refs(::yb::QLReferencedColumnsPB* column_refs) { |
4105 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4106 | 0 | if (message_arena == NULL) { |
4107 | 0 | delete column_refs_; |
4108 | 0 | } |
4109 | 0 | if (column_refs) { |
4110 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4111 | 0 | if (message_arena != submessage_arena) { |
4112 | 0 | column_refs = ::google::protobuf::internal::GetOwnedMessage( |
4113 | 0 | message_arena, column_refs, submessage_arena); |
4114 | 0 | } |
4115 | 0 | set_has_column_refs(); |
4116 | 0 | } else { |
4117 | 0 | clear_has_column_refs(); |
4118 | 0 | } |
4119 | 0 | column_refs_ = column_refs; |
4120 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLReadRequestPB.column_refs) |
4121 | 0 | } |
4122 | | |
4123 | | // optional int64 query_id = 16; |
4124 | 673k | inline bool QLReadRequestPB::has_query_id() const { |
4125 | 673k | return (_has_bits_[0] & 0x00020000u) != 0; |
4126 | 673k | } |
4127 | 4.21M | inline void QLReadRequestPB::set_has_query_id() { |
4128 | 4.21M | _has_bits_[0] |= 0x00020000u; |
4129 | 4.21M | } |
4130 | 0 | inline void QLReadRequestPB::clear_has_query_id() { |
4131 | 0 | _has_bits_[0] &= ~0x00020000u; |
4132 | 0 | } |
4133 | 0 | inline void QLReadRequestPB::clear_query_id() { |
4134 | 0 | query_id_ = GOOGLE_LONGLONG(0); |
4135 | 0 | clear_has_query_id(); |
4136 | 0 | } |
4137 | 4.68M | inline ::google::protobuf::int64 QLReadRequestPB::query_id() const { |
4138 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.query_id) |
4139 | 4.68M | return query_id_; |
4140 | 4.68M | } |
4141 | 3.87M | inline void QLReadRequestPB::set_query_id(::google::protobuf::int64 value) { |
4142 | 3.87M | set_has_query_id(); |
4143 | 3.87M | query_id_ = value; |
4144 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.query_id) |
4145 | 3.87M | } |
4146 | | |
4147 | | // optional bool is_aggregate = 19 [default = false]; |
4148 | 673k | inline bool QLReadRequestPB::has_is_aggregate() const { |
4149 | 673k | return (_has_bits_[0] & 0x00008000u) != 0; |
4150 | 673k | } |
4151 | 4.21M | inline void QLReadRequestPB::set_has_is_aggregate() { |
4152 | 4.21M | _has_bits_[0] |= 0x00008000u; |
4153 | 4.21M | } |
4154 | 0 | inline void QLReadRequestPB::clear_has_is_aggregate() { |
4155 | 0 | _has_bits_[0] &= ~0x00008000u; |
4156 | 0 | } |
4157 | 0 | inline void QLReadRequestPB::clear_is_aggregate() { |
4158 | 0 | is_aggregate_ = false; |
4159 | 0 | clear_has_is_aggregate(); |
4160 | 0 | } |
4161 | 15.2M | inline bool QLReadRequestPB::is_aggregate() const { |
4162 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.is_aggregate) |
4163 | 15.2M | return is_aggregate_; |
4164 | 15.2M | } |
4165 | 3.87M | inline void QLReadRequestPB::set_is_aggregate(bool value) { |
4166 | 3.87M | set_has_is_aggregate(); |
4167 | 3.87M | is_aggregate_ = value; |
4168 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.is_aggregate) |
4169 | 3.87M | } |
4170 | | |
4171 | | // optional bool is_compatible_with_previous_version = 22 [default = false]; |
4172 | 673k | inline bool QLReadRequestPB::has_is_compatible_with_previous_version() const { |
4173 | 673k | return (_has_bits_[0] & 0x00010000u) != 0; |
4174 | 673k | } |
4175 | 4.21M | inline void QLReadRequestPB::set_has_is_compatible_with_previous_version() { |
4176 | 4.21M | _has_bits_[0] |= 0x00010000u; |
4177 | 4.21M | } |
4178 | 0 | inline void QLReadRequestPB::clear_has_is_compatible_with_previous_version() { |
4179 | 0 | _has_bits_[0] &= ~0x00010000u; |
4180 | 0 | } |
4181 | 0 | inline void QLReadRequestPB::clear_is_compatible_with_previous_version() { |
4182 | 0 | is_compatible_with_previous_version_ = false; |
4183 | 0 | clear_has_is_compatible_with_previous_version(); |
4184 | 0 | } |
4185 | 4.02M | inline bool QLReadRequestPB::is_compatible_with_previous_version() const { |
4186 | | // @@protoc_insertion_point(field_get:yb.QLReadRequestPB.is_compatible_with_previous_version) |
4187 | 4.02M | return is_compatible_with_previous_version_; |
4188 | 4.02M | } |
4189 | 3.87M | inline void QLReadRequestPB::set_is_compatible_with_previous_version(bool value) { |
4190 | 3.87M | set_has_is_compatible_with_previous_version(); |
4191 | 3.87M | is_compatible_with_previous_version_ = value; |
4192 | | // @@protoc_insertion_point(field_set:yb.QLReadRequestPB.is_compatible_with_previous_version) |
4193 | 3.87M | } |
4194 | | |
4195 | | // ------------------------------------------------------------------- |
4196 | | |
4197 | | // QLResponsePB |
4198 | | |
4199 | | // optional .yb.QLResponsePB.QLStatus status = 1 [default = YQL_STATUS_OK]; |
4200 | 15.2M | inline bool QLResponsePB::has_status() const { |
4201 | 15.2M | return (_has_bits_[0] & 0x00000008u) != 0; |
4202 | 15.2M | } |
4203 | 9.67M | inline void QLResponsePB::set_has_status() { |
4204 | 9.67M | _has_bits_[0] |= 0x00000008u; |
4205 | 9.67M | } |
4206 | 0 | inline void QLResponsePB::clear_has_status() { |
4207 | 0 | _has_bits_[0] &= ~0x00000008u; |
4208 | 0 | } |
4209 | 0 | inline void QLResponsePB::clear_status() { |
4210 | 0 | status_ = 0; |
4211 | 0 | clear_has_status(); |
4212 | 0 | } |
4213 | 401M | inline ::yb::QLResponsePB_QLStatus QLResponsePB::status() const { |
4214 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.status) |
4215 | 401M | return static_cast< ::yb::QLResponsePB_QLStatus >(status_); |
4216 | 401M | } |
4217 | 9.67M | inline void QLResponsePB::set_status(::yb::QLResponsePB_QLStatus value) { |
4218 | 9.67M | assert(::yb::QLResponsePB_QLStatus_IsValid(value)); |
4219 | 9.67M | set_has_status(); |
4220 | 9.67M | status_ = value; |
4221 | | // @@protoc_insertion_point(field_set:yb.QLResponsePB.status) |
4222 | 9.67M | } |
4223 | | |
4224 | | // optional string error_message = 2; |
4225 | 4.65M | inline bool QLResponsePB::has_error_message() const { |
4226 | 4.65M | return (_has_bits_[0] & 0x00000001u) != 0; |
4227 | 4.65M | } |
4228 | 88.3k | inline void QLResponsePB::set_has_error_message() { |
4229 | 88.3k | _has_bits_[0] |= 0x00000001u; |
4230 | 88.3k | } |
4231 | 0 | inline void QLResponsePB::clear_has_error_message() { |
4232 | 0 | _has_bits_[0] &= ~0x00000001u; |
4233 | 0 | } |
4234 | 0 | inline void QLResponsePB::clear_error_message() { |
4235 | 0 | error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4236 | 0 | clear_has_error_message(); |
4237 | 0 | } |
4238 | 13.1k | inline const ::std::string& QLResponsePB::error_message() const { |
4239 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.error_message) |
4240 | 13.1k | return error_message_.GetNoArena(); |
4241 | 13.1k | } |
4242 | 72.7k | inline void QLResponsePB::set_error_message(const ::std::string& value) { |
4243 | 72.7k | set_has_error_message(); |
4244 | 72.7k | error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4245 | | // @@protoc_insertion_point(field_set:yb.QLResponsePB.error_message) |
4246 | 72.7k | } |
4247 | | #if LANG_CXX11 |
4248 | 13.9k | inline void QLResponsePB::set_error_message(::std::string&& value) { |
4249 | 13.9k | set_has_error_message(); |
4250 | 13.9k | error_message_.SetNoArena( |
4251 | 13.9k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4252 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLResponsePB.error_message) |
4253 | 13.9k | } |
4254 | | #endif |
4255 | 0 | inline void QLResponsePB::set_error_message(const char* value) { |
4256 | 0 | GOOGLE_DCHECK(value != NULL); |
4257 | 0 | set_has_error_message(); |
4258 | 0 | error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4259 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLResponsePB.error_message) |
4260 | 0 | } |
4261 | 2 | inline void QLResponsePB::set_error_message(const char* value, size_t size) { |
4262 | 2 | set_has_error_message(); |
4263 | 2 | error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4264 | 2 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4265 | | // @@protoc_insertion_point(field_set_pointer:yb.QLResponsePB.error_message) |
4266 | 2 | } |
4267 | 2.01k | inline ::std::string* QLResponsePB::mutable_error_message() { |
4268 | 2.01k | set_has_error_message(); |
4269 | | // @@protoc_insertion_point(field_mutable:yb.QLResponsePB.error_message) |
4270 | 2.01k | return error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4271 | 2.01k | } |
4272 | 0 | inline ::std::string* QLResponsePB::release_error_message() { |
4273 | 0 | // @@protoc_insertion_point(field_release:yb.QLResponsePB.error_message) |
4274 | 0 | clear_has_error_message(); |
4275 | 0 | return error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4276 | 0 | } |
4277 | 0 | inline void QLResponsePB::set_allocated_error_message(::std::string* error_message) { |
4278 | 0 | if (error_message != NULL) { |
4279 | 0 | set_has_error_message(); |
4280 | 0 | } else { |
4281 | 0 | clear_has_error_message(); |
4282 | 0 | } |
4283 | 0 | error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_message); |
4284 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLResponsePB.error_message) |
4285 | 0 | } |
4286 | | |
4287 | | // repeated .yb.ColumnSchemaPB column_schemas = 3; |
4288 | 7.02M | inline int QLResponsePB::column_schemas_size() const { |
4289 | 7.02M | return column_schemas_.size(); |
4290 | 7.02M | } |
4291 | 1.53k | inline const ::yb::ColumnSchemaPB& QLResponsePB::column_schemas(int index) const { |
4292 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.column_schemas) |
4293 | 1.53k | return column_schemas_.Get(index); |
4294 | 1.53k | } |
4295 | 0 | inline ::yb::ColumnSchemaPB* QLResponsePB::mutable_column_schemas(int index) { |
4296 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLResponsePB.column_schemas) |
4297 | 0 | return column_schemas_.Mutable(index); |
4298 | 0 | } |
4299 | 511 | inline ::yb::ColumnSchemaPB* QLResponsePB::add_column_schemas() { |
4300 | | // @@protoc_insertion_point(field_add:yb.QLResponsePB.column_schemas) |
4301 | 511 | return column_schemas_.Add(); |
4302 | 511 | } |
4303 | | inline ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >* |
4304 | 382 | QLResponsePB::mutable_column_schemas() { |
4305 | | // @@protoc_insertion_point(field_mutable_list:yb.QLResponsePB.column_schemas) |
4306 | 382 | return &column_schemas_; |
4307 | 382 | } |
4308 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >& |
4309 | 4.68M | QLResponsePB::column_schemas() const { |
4310 | | // @@protoc_insertion_point(field_list:yb.QLResponsePB.column_schemas) |
4311 | 4.68M | return column_schemas_; |
4312 | 4.68M | } |
4313 | | |
4314 | | // optional int32 rows_data_sidecar = 4; |
4315 | 11.5M | inline bool QLResponsePB::has_rows_data_sidecar() const { |
4316 | 11.5M | return (_has_bits_[0] & 0x00000010u) != 0; |
4317 | 11.5M | } |
4318 | 4.27M | inline void QLResponsePB::set_has_rows_data_sidecar() { |
4319 | 4.27M | _has_bits_[0] |= 0x00000010u; |
4320 | 4.27M | } |
4321 | 0 | inline void QLResponsePB::clear_has_rows_data_sidecar() { |
4322 | 0 | _has_bits_[0] &= ~0x00000010u; |
4323 | 0 | } |
4324 | 0 | inline void QLResponsePB::clear_rows_data_sidecar() { |
4325 | 0 | rows_data_sidecar_ = 0; |
4326 | 0 | clear_has_rows_data_sidecar(); |
4327 | 0 | } |
4328 | 4.90M | inline ::google::protobuf::int32 QLResponsePB::rows_data_sidecar() const { |
4329 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.rows_data_sidecar) |
4330 | 4.90M | return rows_data_sidecar_; |
4331 | 4.90M | } |
4332 | 3.93M | inline void QLResponsePB::set_rows_data_sidecar(::google::protobuf::int32 value) { |
4333 | 3.93M | set_has_rows_data_sidecar(); |
4334 | 3.93M | rows_data_sidecar_ = value; |
4335 | | // @@protoc_insertion_point(field_set:yb.QLResponsePB.rows_data_sidecar) |
4336 | 3.93M | } |
4337 | | |
4338 | | // optional .yb.QLPagingStatePB paging_state = 5; |
4339 | 15.8M | inline bool QLResponsePB::has_paging_state() const { |
4340 | 15.8M | return (_has_bits_[0] & 0x00000002u) != 0; |
4341 | 15.8M | } |
4342 | 130k | inline void QLResponsePB::set_has_paging_state() { |
4343 | 130k | _has_bits_[0] |= 0x00000002u; |
4344 | 130k | } |
4345 | 0 | inline void QLResponsePB::clear_has_paging_state() { |
4346 | 0 | _has_bits_[0] &= ~0x00000002u; |
4347 | 0 | } |
4348 | 0 | inline void QLResponsePB::clear_paging_state() { |
4349 | 0 | if (paging_state_ != NULL) paging_state_->Clear(); |
4350 | 0 | clear_has_paging_state(); |
4351 | 0 | } |
4352 | 44.1k | inline const ::yb::QLPagingStatePB& QLResponsePB::paging_state() const { |
4353 | 44.1k | const ::yb::QLPagingStatePB* p = paging_state_; |
4354 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.paging_state) |
4355 | 40.7k | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLPagingStatePB*>( |
4356 | 40.7k | &::yb::_QLPagingStatePB_default_instance_); |
4357 | 44.1k | } |
4358 | 0 | inline ::yb::QLPagingStatePB* QLResponsePB::release_paging_state() { |
4359 | 0 | // @@protoc_insertion_point(field_release:yb.QLResponsePB.paging_state) |
4360 | 0 | clear_has_paging_state(); |
4361 | 0 | ::yb::QLPagingStatePB* temp = paging_state_; |
4362 | 0 | paging_state_ = NULL; |
4363 | 0 | return temp; |
4364 | 0 | } |
4365 | 130k | inline ::yb::QLPagingStatePB* QLResponsePB::mutable_paging_state() { |
4366 | 130k | set_has_paging_state(); |
4367 | 130k | if (paging_state_ == NULL) { |
4368 | 57.9k | paging_state_ = new ::yb::QLPagingStatePB; |
4369 | 57.9k | } |
4370 | | // @@protoc_insertion_point(field_mutable:yb.QLResponsePB.paging_state) |
4371 | 130k | return paging_state_; |
4372 | 130k | } |
4373 | 0 | inline void QLResponsePB::set_allocated_paging_state(::yb::QLPagingStatePB* paging_state) { |
4374 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4375 | 0 | if (message_arena == NULL) { |
4376 | 0 | delete paging_state_; |
4377 | 0 | } |
4378 | 0 | if (paging_state) { |
4379 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4380 | 0 | if (message_arena != submessage_arena) { |
4381 | 0 | paging_state = ::google::protobuf::internal::GetOwnedMessage( |
4382 | 0 | message_arena, paging_state, submessage_arena); |
4383 | 0 | } |
4384 | 0 | set_has_paging_state(); |
4385 | 0 | } else { |
4386 | 0 | clear_has_paging_state(); |
4387 | 0 | } |
4388 | 0 | paging_state_ = paging_state; |
4389 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLResponsePB.paging_state) |
4390 | 0 | } |
4391 | | |
4392 | | // optional .yb.ChildTransactionResultPB child_transaction_result = 6; |
4393 | 4.74M | inline bool QLResponsePB::has_child_transaction_result() const { |
4394 | 4.74M | return (_has_bits_[0] & 0x00000004u) != 0; |
4395 | 4.74M | } |
4396 | 40.0k | inline void QLResponsePB::set_has_child_transaction_result() { |
4397 | 40.0k | _has_bits_[0] |= 0x00000004u; |
4398 | 40.0k | } |
4399 | 0 | inline void QLResponsePB::clear_has_child_transaction_result() { |
4400 | 0 | _has_bits_[0] &= ~0x00000004u; |
4401 | 0 | } |
4402 | 14.1k | inline const ::yb::ChildTransactionResultPB& QLResponsePB::child_transaction_result() const { |
4403 | 14.1k | const ::yb::ChildTransactionResultPB* p = child_transaction_result_; |
4404 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.child_transaction_result) |
4405 | 14.1k | return p != NULL ? *p : *reinterpret_cast<const ::yb::ChildTransactionResultPB*>( |
4406 | 0 | &::yb::_ChildTransactionResultPB_default_instance_); |
4407 | 14.1k | } |
4408 | 0 | inline ::yb::ChildTransactionResultPB* QLResponsePB::release_child_transaction_result() { |
4409 | 0 | // @@protoc_insertion_point(field_release:yb.QLResponsePB.child_transaction_result) |
4410 | 0 | clear_has_child_transaction_result(); |
4411 | 0 | ::yb::ChildTransactionResultPB* temp = child_transaction_result_; |
4412 | 0 | child_transaction_result_ = NULL; |
4413 | 0 | return temp; |
4414 | 0 | } |
4415 | 40.0k | inline ::yb::ChildTransactionResultPB* QLResponsePB::mutable_child_transaction_result() { |
4416 | 40.0k | set_has_child_transaction_result(); |
4417 | 40.0k | if (child_transaction_result_ == NULL) { |
4418 | 19.1k | child_transaction_result_ = new ::yb::ChildTransactionResultPB; |
4419 | 19.1k | } |
4420 | | // @@protoc_insertion_point(field_mutable:yb.QLResponsePB.child_transaction_result) |
4421 | 40.0k | return child_transaction_result_; |
4422 | 40.0k | } |
4423 | 0 | inline void QLResponsePB::set_allocated_child_transaction_result(::yb::ChildTransactionResultPB* child_transaction_result) { |
4424 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4425 | 0 | if (message_arena == NULL) { |
4426 | 0 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(child_transaction_result_); |
4427 | 0 | } |
4428 | 0 | if (child_transaction_result) { |
4429 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
4430 | 0 | if (message_arena != submessage_arena) { |
4431 | 0 | child_transaction_result = ::google::protobuf::internal::GetOwnedMessage( |
4432 | 0 | message_arena, child_transaction_result, submessage_arena); |
4433 | 0 | } |
4434 | 0 | set_has_child_transaction_result(); |
4435 | 0 | } else { |
4436 | 0 | clear_has_child_transaction_result(); |
4437 | 0 | } |
4438 | 0 | child_transaction_result_ = child_transaction_result; |
4439 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLResponsePB.child_transaction_result) |
4440 | 0 | } |
4441 | | |
4442 | | // optional bool applied = 7; |
4443 | 4.74M | inline bool QLResponsePB::has_applied() const { |
4444 | 4.74M | return (_has_bits_[0] & 0x00000020u) != 0; |
4445 | 4.74M | } |
4446 | 942 | inline void QLResponsePB::set_has_applied() { |
4447 | 942 | _has_bits_[0] |= 0x00000020u; |
4448 | 942 | } |
4449 | 0 | inline void QLResponsePB::clear_has_applied() { |
4450 | 0 | _has_bits_[0] &= ~0x00000020u; |
4451 | 0 | } |
4452 | 0 | inline void QLResponsePB::clear_applied() { |
4453 | 0 | applied_ = false; |
4454 | 0 | clear_has_applied(); |
4455 | 0 | } |
4456 | 852 | inline bool QLResponsePB::applied() const { |
4457 | | // @@protoc_insertion_point(field_get:yb.QLResponsePB.applied) |
4458 | 852 | return applied_; |
4459 | 852 | } |
4460 | 584 | inline void QLResponsePB::set_applied(bool value) { |
4461 | 584 | set_has_applied(); |
4462 | 584 | applied_ = value; |
4463 | | // @@protoc_insertion_point(field_set:yb.QLResponsePB.applied) |
4464 | 584 | } |
4465 | | |
4466 | | #ifdef __GNUC__ |
4467 | | #pragma GCC diagnostic pop |
4468 | | #endif // __GNUC__ |
4469 | | // ------------------------------------------------------------------- |
4470 | | |
4471 | | // ------------------------------------------------------------------- |
4472 | | |
4473 | | // ------------------------------------------------------------------- |
4474 | | |
4475 | | // ------------------------------------------------------------------- |
4476 | | |
4477 | | // ------------------------------------------------------------------- |
4478 | | |
4479 | | // ------------------------------------------------------------------- |
4480 | | |
4481 | | // ------------------------------------------------------------------- |
4482 | | |
4483 | | // ------------------------------------------------------------------- |
4484 | | |
4485 | | |
4486 | | // @@protoc_insertion_point(namespace_scope) |
4487 | | |
4488 | | } // namespace yb |
4489 | | |
4490 | | namespace google { |
4491 | | namespace protobuf { |
4492 | | |
4493 | | template <> struct is_proto_enum< ::yb::QLWriteRequestPB_QLStmtType> : ::google::protobuf::internal::true_type {}; |
4494 | | template <> |
4495 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::QLWriteRequestPB_QLStmtType>() { |
4496 | 0 | return ::yb::QLWriteRequestPB_QLStmtType_descriptor(); |
4497 | 0 | } |
4498 | | template <> struct is_proto_enum< ::yb::QLResponsePB_QLStatus> : ::google::protobuf::internal::true_type {}; |
4499 | | template <> |
4500 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::QLResponsePB_QLStatus>() { |
4501 | 0 | return ::yb::QLResponsePB_QLStatus_descriptor(); |
4502 | 0 | } |
4503 | | |
4504 | | } // namespace protobuf |
4505 | | } // namespace google |
4506 | | |
4507 | | // @@protoc_insertion_point(global_scope) |
4508 | | |
4509 | | #endif // PROTOBUF_yb_2fcommon_2fql_5fprotocol_2eproto__INCLUDED |