/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/common/value.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/common/value.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fcommon_2fvalue_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fcommon_2fvalue_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 | | // @@protoc_insertion_point(includes) |
34 | | |
35 | | namespace protobuf_yb_2fcommon_2fvalue_2eproto { |
36 | | // Internal implementation detail -- do not use these members. |
37 | | struct TableStruct { |
38 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
39 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
40 | | static const ::google::protobuf::internal::ParseTable schema[4]; |
41 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
42 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
43 | | static const ::google::protobuf::uint32 offsets[]; |
44 | | }; |
45 | | void AddDescriptors(); |
46 | | void InitDefaultsQLMapValuePBImpl(); |
47 | | void InitDefaultsQLMapValuePB(); |
48 | | void InitDefaultsDatumMessagePBImpl(); |
49 | | void InitDefaultsDatumMessagePB(); |
50 | 17.1k | inline void InitDefaults() { |
51 | 17.1k | InitDefaultsQLMapValuePB(); |
52 | 17.1k | InitDefaultsDatumMessagePB(); |
53 | 17.1k | } |
54 | | } // namespace protobuf_yb_2fcommon_2fvalue_2eproto |
55 | | namespace yb { |
56 | | class DatumMessagePB; |
57 | | class DatumMessagePBDefaultTypeInternal; |
58 | | extern DatumMessagePBDefaultTypeInternal _DatumMessagePB_default_instance_; |
59 | | class QLMapValuePB; |
60 | | class QLMapValuePBDefaultTypeInternal; |
61 | | extern QLMapValuePBDefaultTypeInternal _QLMapValuePB_default_instance_; |
62 | | class QLSeqValuePB; |
63 | | class QLSeqValuePBDefaultTypeInternal; |
64 | | extern QLSeqValuePBDefaultTypeInternal _QLSeqValuePB_default_instance_; |
65 | | class QLValuePB; |
66 | | class QLValuePBDefaultTypeInternal; |
67 | | extern QLValuePBDefaultTypeInternal _QLValuePB_default_instance_; |
68 | | } // namespace yb |
69 | | namespace yb { |
70 | | |
71 | | enum QLVirtualValuePB { |
72 | | LIMIT_MAX = 1, |
73 | | LIMIT_MIN = 2 |
74 | | }; |
75 | | bool QLVirtualValuePB_IsValid(int value); |
76 | | const QLVirtualValuePB QLVirtualValuePB_MIN = LIMIT_MAX; |
77 | | const QLVirtualValuePB QLVirtualValuePB_MAX = LIMIT_MIN; |
78 | | const int QLVirtualValuePB_ARRAYSIZE = QLVirtualValuePB_MAX + 1; |
79 | | |
80 | | const ::google::protobuf::EnumDescriptor* QLVirtualValuePB_descriptor(); |
81 | 0 | inline const ::std::string& QLVirtualValuePB_Name(QLVirtualValuePB value) { |
82 | 0 | return ::google::protobuf::internal::NameOfEnum( |
83 | 0 | QLVirtualValuePB_descriptor(), value); |
84 | 0 | } |
85 | | inline bool QLVirtualValuePB_Parse( |
86 | 0 | const ::std::string& name, QLVirtualValuePB* value) { |
87 | 0 | return ::google::protobuf::internal::ParseNamedEnum<QLVirtualValuePB>( |
88 | 0 | QLVirtualValuePB_descriptor(), name, value); |
89 | 0 | } |
90 | | enum DataType { |
91 | | UNKNOWN_DATA = 999, |
92 | | NULL_VALUE_TYPE = 0, |
93 | | INT8 = 1, |
94 | | INT16 = 2, |
95 | | INT32 = 3, |
96 | | INT64 = 4, |
97 | | STRING = 5, |
98 | | BOOL = 6, |
99 | | FLOAT = 7, |
100 | | DOUBLE = 8, |
101 | | BINARY = 9, |
102 | | TIMESTAMP = 10, |
103 | | DECIMAL = 11, |
104 | | VARINT = 12, |
105 | | INET = 13, |
106 | | LIST = 14, |
107 | | MAP = 15, |
108 | | SET = 16, |
109 | | UUID = 17, |
110 | | TIMEUUID = 18, |
111 | | TUPLE = 19, |
112 | | TYPEARGS = 20, |
113 | | USER_DEFINED_TYPE = 21, |
114 | | FROZEN = 22, |
115 | | DATE = 23, |
116 | | TIME = 24, |
117 | | JSONB = 25, |
118 | | UINT8 = 100, |
119 | | UINT16 = 101, |
120 | | UINT32 = 102, |
121 | | UINT64 = 103, |
122 | | GIN_NULL = 104 |
123 | | }; |
124 | | bool DataType_IsValid(int value); |
125 | | const DataType DataType_MIN = NULL_VALUE_TYPE; |
126 | | const DataType DataType_MAX = UNKNOWN_DATA; |
127 | | const int DataType_ARRAYSIZE = DataType_MAX + 1; |
128 | | |
129 | | const ::google::protobuf::EnumDescriptor* DataType_descriptor(); |
130 | 0 | inline const ::std::string& DataType_Name(DataType value) { |
131 | 0 | return ::google::protobuf::internal::NameOfEnum( |
132 | 0 | DataType_descriptor(), value); |
133 | 0 | } |
134 | | inline bool DataType_Parse( |
135 | 0 | const ::std::string& name, DataType* value) { |
136 | 0 | return ::google::protobuf::internal::ParseNamedEnum<DataType>( |
137 | 0 | DataType_descriptor(), name, value); |
138 | 0 | } |
139 | | enum QLOperator { |
140 | | QL_OP_NOOP = 0, |
141 | | QL_OP_NOT = 1, |
142 | | QL_OP_IS_TRUE = 2, |
143 | | QL_OP_IS_FALSE = 3, |
144 | | QL_OP_AND = 4, |
145 | | QL_OP_OR = 5, |
146 | | QL_OP_IS_NULL = 6, |
147 | | QL_OP_IS_NOT_NULL = 7, |
148 | | QL_OP_EQUAL = 8, |
149 | | QL_OP_LESS_THAN = 9, |
150 | | QL_OP_LESS_THAN_EQUAL = 10, |
151 | | QL_OP_GREATER_THAN = 11, |
152 | | QL_OP_GREATER_THAN_EQUAL = 12, |
153 | | QL_OP_NOT_EQUAL = 13, |
154 | | QL_OP_LIKE = 14, |
155 | | QL_OP_NOT_LIKE = 15, |
156 | | QL_OP_IN = 16, |
157 | | QL_OP_NOT_IN = 17, |
158 | | QL_OP_BETWEEN = 18, |
159 | | QL_OP_NOT_BETWEEN = 19, |
160 | | QL_OP_EXISTS = 20, |
161 | | QL_OP_NOT_EXISTS = 21 |
162 | | }; |
163 | | bool QLOperator_IsValid(int value); |
164 | | const QLOperator QLOperator_MIN = QL_OP_NOOP; |
165 | | const QLOperator QLOperator_MAX = QL_OP_NOT_EXISTS; |
166 | | const int QLOperator_ARRAYSIZE = QLOperator_MAX + 1; |
167 | | |
168 | | const ::google::protobuf::EnumDescriptor* QLOperator_descriptor(); |
169 | 0 | inline const ::std::string& QLOperator_Name(QLOperator value) { |
170 | 0 | return ::google::protobuf::internal::NameOfEnum( |
171 | 0 | QLOperator_descriptor(), value); |
172 | 0 | } |
173 | | inline bool QLOperator_Parse( |
174 | 0 | const ::std::string& name, QLOperator* value) { |
175 | 0 | return ::google::protobuf::internal::ParseNamedEnum<QLOperator>( |
176 | 0 | QLOperator_descriptor(), name, value); |
177 | 0 | } |
178 | | // =================================================================== |
179 | | |
180 | | class QLSeqValuePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLSeqValuePB) */ { |
181 | | public: |
182 | | QLSeqValuePB(); |
183 | | virtual ~QLSeqValuePB(); |
184 | | |
185 | | QLSeqValuePB(const QLSeqValuePB& from); |
186 | | |
187 | 0 | inline QLSeqValuePB& operator=(const QLSeqValuePB& from) { |
188 | 0 | CopyFrom(from); |
189 | 0 | return *this; |
190 | 0 | } |
191 | | #if LANG_CXX11 |
192 | | QLSeqValuePB(QLSeqValuePB&& from) noexcept |
193 | 0 | : QLSeqValuePB() { |
194 | 0 | *this = ::std::move(from); |
195 | 0 | } |
196 | | |
197 | 0 | inline QLSeqValuePB& operator=(QLSeqValuePB&& from) noexcept { |
198 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
199 | 0 | if (this != &from) InternalSwap(&from); |
200 | 0 | } else { |
201 | 0 | CopyFrom(from); |
202 | 0 | } |
203 | 0 | return *this; |
204 | 0 | } |
205 | | #endif |
206 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
207 | 0 | return _internal_metadata_.unknown_fields(); |
208 | 0 | } |
209 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
210 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
211 | 0 | } |
212 | | |
213 | | static const ::google::protobuf::Descriptor* descriptor(); |
214 | | static const QLSeqValuePB& default_instance(); |
215 | | |
216 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
217 | 2.20M | static inline const QLSeqValuePB* internal_default_instance() { |
218 | 2.20M | return reinterpret_cast<const QLSeqValuePB*>( |
219 | 2.20M | &_QLSeqValuePB_default_instance_); |
220 | 2.20M | } |
221 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
222 | | 0; |
223 | | |
224 | | void Swap(QLSeqValuePB* other); |
225 | 0 | friend void swap(QLSeqValuePB& a, QLSeqValuePB& b) { |
226 | 0 | a.Swap(&b); |
227 | 0 | } |
228 | | |
229 | | // implements Message ---------------------------------------------- |
230 | | |
231 | 0 | inline QLSeqValuePB* New() const PROTOBUF_FINAL { return New(NULL); } |
232 | | |
233 | | QLSeqValuePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
234 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
235 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
236 | | void CopyFrom(const QLSeqValuePB& from); |
237 | | void MergeFrom(const QLSeqValuePB& from); |
238 | | void Clear() PROTOBUF_FINAL; |
239 | | bool IsInitialized() const PROTOBUF_FINAL; |
240 | | |
241 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
242 | | bool MergePartialFromCodedStream( |
243 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
244 | | void SerializeWithCachedSizes( |
245 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
246 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
247 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
248 | 2.19k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
249 | | private: |
250 | | void SharedCtor(); |
251 | | void SharedDtor(); |
252 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
253 | | void InternalSwap(QLSeqValuePB* other); |
254 | | private: |
255 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
256 | 0 | return NULL; |
257 | 0 | } |
258 | 0 | inline void* MaybeArenaPtr() const { |
259 | 0 | return NULL; |
260 | 0 | } |
261 | | public: |
262 | | |
263 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
264 | | |
265 | | // nested types ---------------------------------------------------- |
266 | | |
267 | | // accessors ------------------------------------------------------- |
268 | | |
269 | | // repeated .yb.QLValuePB elems = 1; |
270 | | int elems_size() const; |
271 | | void clear_elems(); |
272 | | static const int kElemsFieldNumber = 1; |
273 | | const ::yb::QLValuePB& elems(int index) const; |
274 | | ::yb::QLValuePB* mutable_elems(int index); |
275 | | ::yb::QLValuePB* add_elems(); |
276 | | ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >* |
277 | | mutable_elems(); |
278 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >& |
279 | | elems() const; |
280 | | |
281 | | // @@protoc_insertion_point(class_scope:yb.QLSeqValuePB) |
282 | | private: |
283 | | |
284 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
285 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
286 | | mutable int _cached_size_; |
287 | | ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB > elems_; |
288 | | friend struct ::protobuf_yb_2fcommon_2fvalue_2eproto::TableStruct; |
289 | | friend void ::protobuf_yb_2fcommon_2fvalue_2eproto::InitDefaultsQLMapValuePBImpl(); |
290 | | }; |
291 | | // ------------------------------------------------------------------- |
292 | | |
293 | | class QLMapValuePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLMapValuePB) */ { |
294 | | public: |
295 | | QLMapValuePB(); |
296 | | virtual ~QLMapValuePB(); |
297 | | |
298 | | QLMapValuePB(const QLMapValuePB& from); |
299 | | |
300 | 0 | inline QLMapValuePB& operator=(const QLMapValuePB& from) { |
301 | 0 | CopyFrom(from); |
302 | 0 | return *this; |
303 | 0 | } |
304 | | #if LANG_CXX11 |
305 | | QLMapValuePB(QLMapValuePB&& from) noexcept |
306 | 0 | : QLMapValuePB() { |
307 | 0 | *this = ::std::move(from); |
308 | 0 | } |
309 | | |
310 | 0 | inline QLMapValuePB& operator=(QLMapValuePB&& from) noexcept { |
311 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
312 | 0 | if (this != &from) InternalSwap(&from); |
313 | 0 | } else { |
314 | 0 | CopyFrom(from); |
315 | 0 | } |
316 | 0 | return *this; |
317 | 0 | } |
318 | | #endif |
319 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
320 | 0 | return _internal_metadata_.unknown_fields(); |
321 | 0 | } |
322 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
323 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
324 | 0 | } |
325 | | |
326 | | static const ::google::protobuf::Descriptor* descriptor(); |
327 | | static const QLMapValuePB& default_instance(); |
328 | | |
329 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
330 | 3.06M | static inline const QLMapValuePB* internal_default_instance() { |
331 | 3.06M | return reinterpret_cast<const QLMapValuePB*>( |
332 | 3.06M | &_QLMapValuePB_default_instance_); |
333 | 3.06M | } |
334 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
335 | | 1; |
336 | | |
337 | | void Swap(QLMapValuePB* other); |
338 | 0 | friend void swap(QLMapValuePB& a, QLMapValuePB& b) { |
339 | 0 | a.Swap(&b); |
340 | 0 | } |
341 | | |
342 | | // implements Message ---------------------------------------------- |
343 | | |
344 | 0 | inline QLMapValuePB* New() const PROTOBUF_FINAL { return New(NULL); } |
345 | | |
346 | | QLMapValuePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
347 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
348 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
349 | | void CopyFrom(const QLMapValuePB& from); |
350 | | void MergeFrom(const QLMapValuePB& from); |
351 | | void Clear() PROTOBUF_FINAL; |
352 | | bool IsInitialized() const PROTOBUF_FINAL; |
353 | | |
354 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
355 | | bool MergePartialFromCodedStream( |
356 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
357 | | void SerializeWithCachedSizes( |
358 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
359 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
360 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
361 | 81 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
362 | | private: |
363 | | void SharedCtor(); |
364 | | void SharedDtor(); |
365 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
366 | | void InternalSwap(QLMapValuePB* other); |
367 | | private: |
368 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
369 | 0 | return NULL; |
370 | 0 | } |
371 | 0 | inline void* MaybeArenaPtr() const { |
372 | 0 | return NULL; |
373 | 0 | } |
374 | | public: |
375 | | |
376 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
377 | | |
378 | | // nested types ---------------------------------------------------- |
379 | | |
380 | | // accessors ------------------------------------------------------- |
381 | | |
382 | | // repeated .yb.QLValuePB keys = 1; |
383 | | int keys_size() const; |
384 | | void clear_keys(); |
385 | | static const int kKeysFieldNumber = 1; |
386 | | const ::yb::QLValuePB& keys(int index) const; |
387 | | ::yb::QLValuePB* mutable_keys(int index); |
388 | | ::yb::QLValuePB* add_keys(); |
389 | | ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >* |
390 | | mutable_keys(); |
391 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >& |
392 | | keys() const; |
393 | | |
394 | | // repeated .yb.QLValuePB values = 2; |
395 | | int values_size() const; |
396 | | void clear_values(); |
397 | | static const int kValuesFieldNumber = 2; |
398 | | const ::yb::QLValuePB& values(int index) const; |
399 | | ::yb::QLValuePB* mutable_values(int index); |
400 | | ::yb::QLValuePB* add_values(); |
401 | | ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >* |
402 | | mutable_values(); |
403 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >& |
404 | | values() const; |
405 | | |
406 | | // @@protoc_insertion_point(class_scope:yb.QLMapValuePB) |
407 | | private: |
408 | | |
409 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
410 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
411 | | mutable int _cached_size_; |
412 | | ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB > keys_; |
413 | | ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB > values_; |
414 | | friend struct ::protobuf_yb_2fcommon_2fvalue_2eproto::TableStruct; |
415 | | friend void ::protobuf_yb_2fcommon_2fvalue_2eproto::InitDefaultsQLMapValuePBImpl(); |
416 | | }; |
417 | | // ------------------------------------------------------------------- |
418 | | |
419 | | class QLValuePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLValuePB) */ { |
420 | | public: |
421 | | QLValuePB(); |
422 | | virtual ~QLValuePB(); |
423 | | |
424 | | QLValuePB(const QLValuePB& from); |
425 | | |
426 | 47.3M | inline QLValuePB& operator=(const QLValuePB& from) { |
427 | 47.3M | CopyFrom(from); |
428 | 47.3M | return *this; |
429 | 47.3M | } |
430 | | #if LANG_CXX11 |
431 | | QLValuePB(QLValuePB&& from) noexcept |
432 | 9.99M | : QLValuePB() { |
433 | 9.99M | *this = ::std::move(from); |
434 | 9.99M | } Unexecuted instantiation: _ZN2yb9QLValuePBC2EOS0_ Line | Count | Source | 432 | 9.99M | : QLValuePB() { | 433 | 9.99M | *this = ::std::move(from); | 434 | 9.99M | } |
|
435 | | |
436 | 37.6M | inline QLValuePB& operator=(QLValuePB&& from) noexcept { |
437 | 37.6M | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
438 | 37.6M | if (this != &from) InternalSwap(&from); |
439 | 10.4k | } else { |
440 | 10.4k | CopyFrom(from); |
441 | 10.4k | } |
442 | 37.6M | return *this; |
443 | 37.6M | } |
444 | | #endif |
445 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
446 | 0 | return _internal_metadata_.unknown_fields(); |
447 | 0 | } |
448 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
449 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
450 | 0 | } |
451 | | |
452 | | static const ::google::protobuf::Descriptor* descriptor(); |
453 | | static const QLValuePB& default_instance(); |
454 | | |
455 | | enum ValueCase { |
456 | | kInt8Value = 1, |
457 | | kInt16Value = 2, |
458 | | kInt32Value = 3, |
459 | | kInt64Value = 4, |
460 | | kFloatValue = 5, |
461 | | kDoubleValue = 6, |
462 | | kStringValue = 7, |
463 | | kBoolValue = 8, |
464 | | kTimestampValue = 9, |
465 | | kBinaryValue = 10, |
466 | | kInetaddressValue = 11, |
467 | | kMapValue = 12, |
468 | | kSetValue = 13, |
469 | | kListValue = 14, |
470 | | kDecimalValue = 15, |
471 | | kVarintValue = 16, |
472 | | kFrozenValue = 17, |
473 | | kUuidValue = 18, |
474 | | kTimeuuidValue = 19, |
475 | | kJsonbValue = 20, |
476 | | kDateValue = 21, |
477 | | kTimeValue = 22, |
478 | | kUint32Value = 23, |
479 | | kUint64Value = 24, |
480 | | kVirtualValue = 25, |
481 | | kGinNullValue = 26, |
482 | | VALUE_NOT_SET = 0, |
483 | | }; |
484 | | |
485 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
486 | 323M | static inline const QLValuePB* internal_default_instance() { |
487 | 323M | return reinterpret_cast<const QLValuePB*>( |
488 | 323M | &_QLValuePB_default_instance_); |
489 | 323M | } |
490 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
491 | | 2; |
492 | | |
493 | | void Swap(QLValuePB* other); |
494 | 0 | friend void swap(QLValuePB& a, QLValuePB& b) { |
495 | 0 | a.Swap(&b); |
496 | 0 | } |
497 | | |
498 | | // implements Message ---------------------------------------------- |
499 | | |
500 | 0 | inline QLValuePB* New() const PROTOBUF_FINAL { return New(NULL); } |
501 | | |
502 | | QLValuePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
503 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
504 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
505 | | void CopyFrom(const QLValuePB& from); |
506 | | void MergeFrom(const QLValuePB& from); |
507 | | void Clear() PROTOBUF_FINAL; |
508 | | bool IsInitialized() const PROTOBUF_FINAL; |
509 | | |
510 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
511 | | bool MergePartialFromCodedStream( |
512 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
513 | | void SerializeWithCachedSizes( |
514 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
515 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
516 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
517 | 22.4M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
518 | | private: |
519 | | void SharedCtor(); |
520 | | void SharedDtor(); |
521 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
522 | | void InternalSwap(QLValuePB* other); |
523 | | private: |
524 | 75.3M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
525 | 75.3M | return NULL; |
526 | 75.3M | } |
527 | 0 | inline void* MaybeArenaPtr() const { |
528 | 0 | return NULL; |
529 | 0 | } |
530 | | public: |
531 | | |
532 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
533 | | |
534 | | // nested types ---------------------------------------------------- |
535 | | |
536 | | // accessors ------------------------------------------------------- |
537 | | |
538 | | // optional int32 int8_value = 1; |
539 | | bool has_int8_value() const; |
540 | | void clear_int8_value(); |
541 | | static const int kInt8ValueFieldNumber = 1; |
542 | | ::google::protobuf::int32 int8_value() const; |
543 | | void set_int8_value(::google::protobuf::int32 value); |
544 | | |
545 | | // optional int32 int16_value = 2; |
546 | | bool has_int16_value() const; |
547 | | void clear_int16_value(); |
548 | | static const int kInt16ValueFieldNumber = 2; |
549 | | ::google::protobuf::int32 int16_value() const; |
550 | | void set_int16_value(::google::protobuf::int32 value); |
551 | | |
552 | | // optional int32 int32_value = 3; |
553 | | bool has_int32_value() const; |
554 | | void clear_int32_value(); |
555 | | static const int kInt32ValueFieldNumber = 3; |
556 | | ::google::protobuf::int32 int32_value() const; |
557 | | void set_int32_value(::google::protobuf::int32 value); |
558 | | |
559 | | // optional int64 int64_value = 4; |
560 | | bool has_int64_value() const; |
561 | | void clear_int64_value(); |
562 | | static const int kInt64ValueFieldNumber = 4; |
563 | | ::google::protobuf::int64 int64_value() const; |
564 | | void set_int64_value(::google::protobuf::int64 value); |
565 | | |
566 | | // optional float float_value = 5; |
567 | | bool has_float_value() const; |
568 | | void clear_float_value(); |
569 | | static const int kFloatValueFieldNumber = 5; |
570 | | float float_value() const; |
571 | | void set_float_value(float value); |
572 | | |
573 | | // optional double double_value = 6; |
574 | | bool has_double_value() const; |
575 | | void clear_double_value(); |
576 | | static const int kDoubleValueFieldNumber = 6; |
577 | | double double_value() const; |
578 | | void set_double_value(double value); |
579 | | |
580 | | // optional bytes string_value = 7; |
581 | | bool has_string_value() const; |
582 | | void clear_string_value(); |
583 | | static const int kStringValueFieldNumber = 7; |
584 | | const ::std::string& string_value() const; |
585 | | void set_string_value(const ::std::string& value); |
586 | | #if LANG_CXX11 |
587 | | void set_string_value(::std::string&& value); |
588 | | #endif |
589 | | void set_string_value(const char* value); |
590 | | void set_string_value(const void* value, size_t size); |
591 | | ::std::string* mutable_string_value(); |
592 | | ::std::string* release_string_value(); |
593 | | void set_allocated_string_value(::std::string* string_value); |
594 | | |
595 | | // optional bool bool_value = 8; |
596 | | bool has_bool_value() const; |
597 | | void clear_bool_value(); |
598 | | static const int kBoolValueFieldNumber = 8; |
599 | | bool bool_value() const; |
600 | | void set_bool_value(bool value); |
601 | | |
602 | | // optional int64 timestamp_value = 9; |
603 | | bool has_timestamp_value() const; |
604 | | void clear_timestamp_value(); |
605 | | static const int kTimestampValueFieldNumber = 9; |
606 | | ::google::protobuf::int64 timestamp_value() const; |
607 | | void set_timestamp_value(::google::protobuf::int64 value); |
608 | | |
609 | | // optional bytes binary_value = 10; |
610 | | bool has_binary_value() const; |
611 | | void clear_binary_value(); |
612 | | static const int kBinaryValueFieldNumber = 10; |
613 | | const ::std::string& binary_value() const; |
614 | | void set_binary_value(const ::std::string& value); |
615 | | #if LANG_CXX11 |
616 | | void set_binary_value(::std::string&& value); |
617 | | #endif |
618 | | void set_binary_value(const char* value); |
619 | | void set_binary_value(const void* value, size_t size); |
620 | | ::std::string* mutable_binary_value(); |
621 | | ::std::string* release_binary_value(); |
622 | | void set_allocated_binary_value(::std::string* binary_value); |
623 | | |
624 | | // optional bytes inetaddress_value = 11; |
625 | | bool has_inetaddress_value() const; |
626 | | void clear_inetaddress_value(); |
627 | | static const int kInetaddressValueFieldNumber = 11; |
628 | | const ::std::string& inetaddress_value() const; |
629 | | void set_inetaddress_value(const ::std::string& value); |
630 | | #if LANG_CXX11 |
631 | | void set_inetaddress_value(::std::string&& value); |
632 | | #endif |
633 | | void set_inetaddress_value(const char* value); |
634 | | void set_inetaddress_value(const void* value, size_t size); |
635 | | ::std::string* mutable_inetaddress_value(); |
636 | | ::std::string* release_inetaddress_value(); |
637 | | void set_allocated_inetaddress_value(::std::string* inetaddress_value); |
638 | | |
639 | | // optional .yb.QLMapValuePB map_value = 12; |
640 | | bool has_map_value() const; |
641 | | void clear_map_value(); |
642 | | static const int kMapValueFieldNumber = 12; |
643 | | const ::yb::QLMapValuePB& map_value() const; |
644 | | ::yb::QLMapValuePB* release_map_value(); |
645 | | ::yb::QLMapValuePB* mutable_map_value(); |
646 | | void set_allocated_map_value(::yb::QLMapValuePB* map_value); |
647 | | |
648 | | // optional .yb.QLSeqValuePB set_value = 13; |
649 | | bool has_set_value() const; |
650 | | void clear_set_value(); |
651 | | static const int kSetValueFieldNumber = 13; |
652 | | const ::yb::QLSeqValuePB& set_value() const; |
653 | | ::yb::QLSeqValuePB* release_set_value(); |
654 | | ::yb::QLSeqValuePB* mutable_set_value(); |
655 | | void set_allocated_set_value(::yb::QLSeqValuePB* set_value); |
656 | | |
657 | | // optional .yb.QLSeqValuePB list_value = 14; |
658 | | bool has_list_value() const; |
659 | | void clear_list_value(); |
660 | | static const int kListValueFieldNumber = 14; |
661 | | const ::yb::QLSeqValuePB& list_value() const; |
662 | | ::yb::QLSeqValuePB* release_list_value(); |
663 | | ::yb::QLSeqValuePB* mutable_list_value(); |
664 | | void set_allocated_list_value(::yb::QLSeqValuePB* list_value); |
665 | | |
666 | | // optional bytes decimal_value = 15; |
667 | | bool has_decimal_value() const; |
668 | | void clear_decimal_value(); |
669 | | static const int kDecimalValueFieldNumber = 15; |
670 | | const ::std::string& decimal_value() const; |
671 | | void set_decimal_value(const ::std::string& value); |
672 | | #if LANG_CXX11 |
673 | | void set_decimal_value(::std::string&& value); |
674 | | #endif |
675 | | void set_decimal_value(const char* value); |
676 | | void set_decimal_value(const void* value, size_t size); |
677 | | ::std::string* mutable_decimal_value(); |
678 | | ::std::string* release_decimal_value(); |
679 | | void set_allocated_decimal_value(::std::string* decimal_value); |
680 | | |
681 | | // optional bytes varint_value = 16; |
682 | | bool has_varint_value() const; |
683 | | void clear_varint_value(); |
684 | | static const int kVarintValueFieldNumber = 16; |
685 | | const ::std::string& varint_value() const; |
686 | | void set_varint_value(const ::std::string& value); |
687 | | #if LANG_CXX11 |
688 | | void set_varint_value(::std::string&& value); |
689 | | #endif |
690 | | void set_varint_value(const char* value); |
691 | | void set_varint_value(const void* value, size_t size); |
692 | | ::std::string* mutable_varint_value(); |
693 | | ::std::string* release_varint_value(); |
694 | | void set_allocated_varint_value(::std::string* varint_value); |
695 | | |
696 | | // optional .yb.QLSeqValuePB frozen_value = 17; |
697 | | bool has_frozen_value() const; |
698 | | void clear_frozen_value(); |
699 | | static const int kFrozenValueFieldNumber = 17; |
700 | | const ::yb::QLSeqValuePB& frozen_value() const; |
701 | | ::yb::QLSeqValuePB* release_frozen_value(); |
702 | | ::yb::QLSeqValuePB* mutable_frozen_value(); |
703 | | void set_allocated_frozen_value(::yb::QLSeqValuePB* frozen_value); |
704 | | |
705 | | // optional bytes uuid_value = 18; |
706 | | bool has_uuid_value() const; |
707 | | void clear_uuid_value(); |
708 | | static const int kUuidValueFieldNumber = 18; |
709 | | const ::std::string& uuid_value() const; |
710 | | void set_uuid_value(const ::std::string& value); |
711 | | #if LANG_CXX11 |
712 | | void set_uuid_value(::std::string&& value); |
713 | | #endif |
714 | | void set_uuid_value(const char* value); |
715 | | void set_uuid_value(const void* value, size_t size); |
716 | | ::std::string* mutable_uuid_value(); |
717 | | ::std::string* release_uuid_value(); |
718 | | void set_allocated_uuid_value(::std::string* uuid_value); |
719 | | |
720 | | // optional bytes timeuuid_value = 19; |
721 | | bool has_timeuuid_value() const; |
722 | | void clear_timeuuid_value(); |
723 | | static const int kTimeuuidValueFieldNumber = 19; |
724 | | const ::std::string& timeuuid_value() const; |
725 | | void set_timeuuid_value(const ::std::string& value); |
726 | | #if LANG_CXX11 |
727 | | void set_timeuuid_value(::std::string&& value); |
728 | | #endif |
729 | | void set_timeuuid_value(const char* value); |
730 | | void set_timeuuid_value(const void* value, size_t size); |
731 | | ::std::string* mutable_timeuuid_value(); |
732 | | ::std::string* release_timeuuid_value(); |
733 | | void set_allocated_timeuuid_value(::std::string* timeuuid_value); |
734 | | |
735 | | // optional bytes jsonb_value = 20; |
736 | | bool has_jsonb_value() const; |
737 | | void clear_jsonb_value(); |
738 | | static const int kJsonbValueFieldNumber = 20; |
739 | | const ::std::string& jsonb_value() const; |
740 | | void set_jsonb_value(const ::std::string& value); |
741 | | #if LANG_CXX11 |
742 | | void set_jsonb_value(::std::string&& value); |
743 | | #endif |
744 | | void set_jsonb_value(const char* value); |
745 | | void set_jsonb_value(const void* value, size_t size); |
746 | | ::std::string* mutable_jsonb_value(); |
747 | | ::std::string* release_jsonb_value(); |
748 | | void set_allocated_jsonb_value(::std::string* jsonb_value); |
749 | | |
750 | | // optional uint32 date_value = 21; |
751 | | bool has_date_value() const; |
752 | | void clear_date_value(); |
753 | | static const int kDateValueFieldNumber = 21; |
754 | | ::google::protobuf::uint32 date_value() const; |
755 | | void set_date_value(::google::protobuf::uint32 value); |
756 | | |
757 | | // optional int64 time_value = 22; |
758 | | bool has_time_value() const; |
759 | | void clear_time_value(); |
760 | | static const int kTimeValueFieldNumber = 22; |
761 | | ::google::protobuf::int64 time_value() const; |
762 | | void set_time_value(::google::protobuf::int64 value); |
763 | | |
764 | | // optional uint32 uint32_value = 23; |
765 | | bool has_uint32_value() const; |
766 | | void clear_uint32_value(); |
767 | | static const int kUint32ValueFieldNumber = 23; |
768 | | ::google::protobuf::uint32 uint32_value() const; |
769 | | void set_uint32_value(::google::protobuf::uint32 value); |
770 | | |
771 | | // optional uint64 uint64_value = 24; |
772 | | bool has_uint64_value() const; |
773 | | void clear_uint64_value(); |
774 | | static const int kUint64ValueFieldNumber = 24; |
775 | | ::google::protobuf::uint64 uint64_value() const; |
776 | | void set_uint64_value(::google::protobuf::uint64 value); |
777 | | |
778 | | // optional .yb.QLVirtualValuePB virtual_value = 25; |
779 | | bool has_virtual_value() const; |
780 | | void clear_virtual_value(); |
781 | | static const int kVirtualValueFieldNumber = 25; |
782 | | ::yb::QLVirtualValuePB virtual_value() const; |
783 | | void set_virtual_value(::yb::QLVirtualValuePB value); |
784 | | |
785 | | // optional uint32 gin_null_value = 26; |
786 | | bool has_gin_null_value() const; |
787 | | void clear_gin_null_value(); |
788 | | static const int kGinNullValueFieldNumber = 26; |
789 | | ::google::protobuf::uint32 gin_null_value() const; |
790 | | void set_gin_null_value(::google::protobuf::uint32 value); |
791 | | |
792 | | ValueCase value_case() const; |
793 | | // @@protoc_insertion_point(class_scope:yb.QLValuePB) |
794 | | private: |
795 | | void set_has_int8_value(); |
796 | | void set_has_int16_value(); |
797 | | void set_has_int32_value(); |
798 | | void set_has_int64_value(); |
799 | | void set_has_float_value(); |
800 | | void set_has_double_value(); |
801 | | void set_has_string_value(); |
802 | | void set_has_bool_value(); |
803 | | void set_has_timestamp_value(); |
804 | | void set_has_binary_value(); |
805 | | void set_has_inetaddress_value(); |
806 | | void set_has_map_value(); |
807 | | void set_has_set_value(); |
808 | | void set_has_list_value(); |
809 | | void set_has_decimal_value(); |
810 | | void set_has_varint_value(); |
811 | | void set_has_frozen_value(); |
812 | | void set_has_uuid_value(); |
813 | | void set_has_timeuuid_value(); |
814 | | void set_has_jsonb_value(); |
815 | | void set_has_date_value(); |
816 | | void set_has_time_value(); |
817 | | void set_has_uint32_value(); |
818 | | void set_has_uint64_value(); |
819 | | void set_has_virtual_value(); |
820 | | void set_has_gin_null_value(); |
821 | | |
822 | | inline bool has_value() const; |
823 | | void clear_value(); |
824 | | inline void clear_has_value(); |
825 | | |
826 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
827 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
828 | | mutable int _cached_size_; |
829 | | union ValueUnion { |
830 | 390M | ValueUnion() {} |
831 | | ::google::protobuf::int32 int8_value_; |
832 | | ::google::protobuf::int32 int16_value_; |
833 | | ::google::protobuf::int32 int32_value_; |
834 | | ::google::protobuf::int64 int64_value_; |
835 | | float float_value_; |
836 | | double double_value_; |
837 | | ::google::protobuf::internal::ArenaStringPtr string_value_; |
838 | | bool bool_value_; |
839 | | ::google::protobuf::int64 timestamp_value_; |
840 | | ::google::protobuf::internal::ArenaStringPtr binary_value_; |
841 | | ::google::protobuf::internal::ArenaStringPtr inetaddress_value_; |
842 | | ::yb::QLMapValuePB* map_value_; |
843 | | ::yb::QLSeqValuePB* set_value_; |
844 | | ::yb::QLSeqValuePB* list_value_; |
845 | | ::google::protobuf::internal::ArenaStringPtr decimal_value_; |
846 | | ::google::protobuf::internal::ArenaStringPtr varint_value_; |
847 | | ::yb::QLSeqValuePB* frozen_value_; |
848 | | ::google::protobuf::internal::ArenaStringPtr uuid_value_; |
849 | | ::google::protobuf::internal::ArenaStringPtr timeuuid_value_; |
850 | | ::google::protobuf::internal::ArenaStringPtr jsonb_value_; |
851 | | ::google::protobuf::uint32 date_value_; |
852 | | ::google::protobuf::int64 time_value_; |
853 | | ::google::protobuf::uint32 uint32_value_; |
854 | | ::google::protobuf::uint64 uint64_value_; |
855 | | int virtual_value_; |
856 | | ::google::protobuf::uint32 gin_null_value_; |
857 | | } value_; |
858 | | ::google::protobuf::uint32 _oneof_case_[1]; |
859 | | |
860 | | friend struct ::protobuf_yb_2fcommon_2fvalue_2eproto::TableStruct; |
861 | | friend void ::protobuf_yb_2fcommon_2fvalue_2eproto::InitDefaultsQLMapValuePBImpl(); |
862 | | }; |
863 | | // ------------------------------------------------------------------- |
864 | | |
865 | | class DatumMessagePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.DatumMessagePB) */ { |
866 | | public: |
867 | | DatumMessagePB(); |
868 | | virtual ~DatumMessagePB(); |
869 | | |
870 | | DatumMessagePB(const DatumMessagePB& from); |
871 | | |
872 | 0 | inline DatumMessagePB& operator=(const DatumMessagePB& from) { |
873 | 0 | CopyFrom(from); |
874 | 0 | return *this; |
875 | 0 | } |
876 | | #if LANG_CXX11 |
877 | | DatumMessagePB(DatumMessagePB&& from) noexcept |
878 | 0 | : DatumMessagePB() { |
879 | 0 | *this = ::std::move(from); |
880 | 0 | } |
881 | | |
882 | 0 | inline DatumMessagePB& operator=(DatumMessagePB&& from) noexcept { |
883 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
884 | 0 | if (this != &from) InternalSwap(&from); |
885 | 0 | } else { |
886 | 0 | CopyFrom(from); |
887 | 0 | } |
888 | 0 | return *this; |
889 | 0 | } |
890 | | #endif |
891 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
892 | 0 | return _internal_metadata_.unknown_fields(); |
893 | 0 | } |
894 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
895 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
896 | 0 | } |
897 | | |
898 | | static const ::google::protobuf::Descriptor* descriptor(); |
899 | | static const DatumMessagePB& default_instance(); |
900 | | |
901 | | enum DatumCase { |
902 | | kDatumInt32 = 3, |
903 | | kDatumInt64 = 4, |
904 | | kDatumFloat = 5, |
905 | | kDatumDouble = 6, |
906 | | kDatumBool = 7, |
907 | | kDatumString = 8, |
908 | | kDatumBytes = 9, |
909 | | kDatumMissing = 10, |
910 | | DATUM_NOT_SET = 0, |
911 | | }; |
912 | | |
913 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
914 | 92.4k | static inline const DatumMessagePB* internal_default_instance() { |
915 | 92.4k | return reinterpret_cast<const DatumMessagePB*>( |
916 | 92.4k | &_DatumMessagePB_default_instance_); |
917 | 92.4k | } |
918 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
919 | | 3; |
920 | | |
921 | | void Swap(DatumMessagePB* other); |
922 | 0 | friend void swap(DatumMessagePB& a, DatumMessagePB& b) { |
923 | 0 | a.Swap(&b); |
924 | 0 | } |
925 | | |
926 | | // implements Message ---------------------------------------------- |
927 | | |
928 | 0 | inline DatumMessagePB* New() const PROTOBUF_FINAL { return New(NULL); } |
929 | | |
930 | | DatumMessagePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
931 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
932 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
933 | | void CopyFrom(const DatumMessagePB& from); |
934 | | void MergeFrom(const DatumMessagePB& from); |
935 | | void Clear() PROTOBUF_FINAL; |
936 | | bool IsInitialized() const PROTOBUF_FINAL; |
937 | | |
938 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
939 | | bool MergePartialFromCodedStream( |
940 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
941 | | void SerializeWithCachedSizes( |
942 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
943 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
944 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
945 | 78.3k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
946 | | private: |
947 | | void SharedCtor(); |
948 | | void SharedDtor(); |
949 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
950 | | void InternalSwap(DatumMessagePB* other); |
951 | | private: |
952 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
953 | 0 | return NULL; |
954 | 0 | } |
955 | 0 | inline void* MaybeArenaPtr() const { |
956 | 0 | return NULL; |
957 | 0 | } |
958 | | public: |
959 | | |
960 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
961 | | |
962 | | // nested types ---------------------------------------------------- |
963 | | |
964 | | // accessors ------------------------------------------------------- |
965 | | |
966 | | // optional string column_name = 1; |
967 | | bool has_column_name() const; |
968 | | void clear_column_name(); |
969 | | static const int kColumnNameFieldNumber = 1; |
970 | | const ::std::string& column_name() const; |
971 | | void set_column_name(const ::std::string& value); |
972 | | #if LANG_CXX11 |
973 | | void set_column_name(::std::string&& value); |
974 | | #endif |
975 | | void set_column_name(const char* value); |
976 | | void set_column_name(const char* value, size_t size); |
977 | | ::std::string* mutable_column_name(); |
978 | | ::std::string* release_column_name(); |
979 | | void set_allocated_column_name(::std::string* column_name); |
980 | | |
981 | | // optional int64 column_type = 2; |
982 | | bool has_column_type() const; |
983 | | void clear_column_type(); |
984 | | static const int kColumnTypeFieldNumber = 2; |
985 | | ::google::protobuf::int64 column_type() const; |
986 | | void set_column_type(::google::protobuf::int64 value); |
987 | | |
988 | | // optional int32 datum_int32 = 3; |
989 | | bool has_datum_int32() const; |
990 | | void clear_datum_int32(); |
991 | | static const int kDatumInt32FieldNumber = 3; |
992 | | ::google::protobuf::int32 datum_int32() const; |
993 | | void set_datum_int32(::google::protobuf::int32 value); |
994 | | |
995 | | // optional int64 datum_int64 = 4; |
996 | | bool has_datum_int64() const; |
997 | | void clear_datum_int64(); |
998 | | static const int kDatumInt64FieldNumber = 4; |
999 | | ::google::protobuf::int64 datum_int64() const; |
1000 | | void set_datum_int64(::google::protobuf::int64 value); |
1001 | | |
1002 | | // optional float datum_float = 5; |
1003 | | bool has_datum_float() const; |
1004 | | void clear_datum_float(); |
1005 | | static const int kDatumFloatFieldNumber = 5; |
1006 | | float datum_float() const; |
1007 | | void set_datum_float(float value); |
1008 | | |
1009 | | // optional double datum_double = 6; |
1010 | | bool has_datum_double() const; |
1011 | | void clear_datum_double(); |
1012 | | static const int kDatumDoubleFieldNumber = 6; |
1013 | | double datum_double() const; |
1014 | | void set_datum_double(double value); |
1015 | | |
1016 | | // optional bool datum_bool = 7; |
1017 | | bool has_datum_bool() const; |
1018 | | void clear_datum_bool(); |
1019 | | static const int kDatumBoolFieldNumber = 7; |
1020 | | bool datum_bool() const; |
1021 | | void set_datum_bool(bool value); |
1022 | | |
1023 | | // optional string datum_string = 8; |
1024 | | bool has_datum_string() const; |
1025 | | void clear_datum_string(); |
1026 | | static const int kDatumStringFieldNumber = 8; |
1027 | | const ::std::string& datum_string() const; |
1028 | | void set_datum_string(const ::std::string& value); |
1029 | | #if LANG_CXX11 |
1030 | | void set_datum_string(::std::string&& value); |
1031 | | #endif |
1032 | | void set_datum_string(const char* value); |
1033 | | void set_datum_string(const char* value, size_t size); |
1034 | | ::std::string* mutable_datum_string(); |
1035 | | ::std::string* release_datum_string(); |
1036 | | void set_allocated_datum_string(::std::string* datum_string); |
1037 | | |
1038 | | // optional bytes datum_bytes = 9; |
1039 | | bool has_datum_bytes() const; |
1040 | | void clear_datum_bytes(); |
1041 | | static const int kDatumBytesFieldNumber = 9; |
1042 | | const ::std::string& datum_bytes() const; |
1043 | | void set_datum_bytes(const ::std::string& value); |
1044 | | #if LANG_CXX11 |
1045 | | void set_datum_bytes(::std::string&& value); |
1046 | | #endif |
1047 | | void set_datum_bytes(const char* value); |
1048 | | void set_datum_bytes(const void* value, size_t size); |
1049 | | ::std::string* mutable_datum_bytes(); |
1050 | | ::std::string* release_datum_bytes(); |
1051 | | void set_allocated_datum_bytes(::std::string* datum_bytes); |
1052 | | |
1053 | | // optional bool datum_missing = 10; |
1054 | | bool has_datum_missing() const; |
1055 | | void clear_datum_missing(); |
1056 | | static const int kDatumMissingFieldNumber = 10; |
1057 | | bool datum_missing() const; |
1058 | | void set_datum_missing(bool value); |
1059 | | |
1060 | | DatumCase datum_case() const; |
1061 | | // @@protoc_insertion_point(class_scope:yb.DatumMessagePB) |
1062 | | private: |
1063 | | void set_has_column_name(); |
1064 | | void clear_has_column_name(); |
1065 | | void set_has_column_type(); |
1066 | | void clear_has_column_type(); |
1067 | | void set_has_datum_int32(); |
1068 | | void set_has_datum_int64(); |
1069 | | void set_has_datum_float(); |
1070 | | void set_has_datum_double(); |
1071 | | void set_has_datum_bool(); |
1072 | | void set_has_datum_string(); |
1073 | | void set_has_datum_bytes(); |
1074 | | void set_has_datum_missing(); |
1075 | | |
1076 | | inline bool has_datum() const; |
1077 | | void clear_datum(); |
1078 | | inline void clear_has_datum(); |
1079 | | |
1080 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1081 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1082 | | mutable int _cached_size_; |
1083 | | ::google::protobuf::internal::ArenaStringPtr column_name_; |
1084 | | ::google::protobuf::int64 column_type_; |
1085 | | union DatumUnion { |
1086 | 92.4k | DatumUnion() {} |
1087 | | ::google::protobuf::int32 datum_int32_; |
1088 | | ::google::protobuf::int64 datum_int64_; |
1089 | | float datum_float_; |
1090 | | double datum_double_; |
1091 | | bool datum_bool_; |
1092 | | ::google::protobuf::internal::ArenaStringPtr datum_string_; |
1093 | | ::google::protobuf::internal::ArenaStringPtr datum_bytes_; |
1094 | | bool datum_missing_; |
1095 | | } datum_; |
1096 | | ::google::protobuf::uint32 _oneof_case_[1]; |
1097 | | |
1098 | | friend struct ::protobuf_yb_2fcommon_2fvalue_2eproto::TableStruct; |
1099 | | friend void ::protobuf_yb_2fcommon_2fvalue_2eproto::InitDefaultsDatumMessagePBImpl(); |
1100 | | }; |
1101 | | // =================================================================== |
1102 | | |
1103 | | |
1104 | | // =================================================================== |
1105 | | |
1106 | | #ifdef __GNUC__ |
1107 | | #pragma GCC diagnostic push |
1108 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1109 | | #endif // __GNUC__ |
1110 | | // QLSeqValuePB |
1111 | | |
1112 | | // repeated .yb.QLValuePB elems = 1; |
1113 | 277k | inline int QLSeqValuePB::elems_size() const { |
1114 | 277k | return elems_.size(); |
1115 | 277k | } |
1116 | 789 | inline void QLSeqValuePB::clear_elems() { |
1117 | 789 | elems_.Clear(); |
1118 | 789 | } |
1119 | 25.6k | inline const ::yb::QLValuePB& QLSeqValuePB::elems(int index) const { |
1120 | | // @@protoc_insertion_point(field_get:yb.QLSeqValuePB.elems) |
1121 | 25.6k | return elems_.Get(index); |
1122 | 25.6k | } |
1123 | 19 | inline ::yb::QLValuePB* QLSeqValuePB::mutable_elems(int index) { |
1124 | | // @@protoc_insertion_point(field_mutable:yb.QLSeqValuePB.elems) |
1125 | 19 | return elems_.Mutable(index); |
1126 | 19 | } |
1127 | 658k | inline ::yb::QLValuePB* QLSeqValuePB::add_elems() { |
1128 | | // @@protoc_insertion_point(field_add:yb.QLSeqValuePB.elems) |
1129 | 658k | return elems_.Add(); |
1130 | 658k | } |
1131 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >* |
1132 | 1.15k | QLSeqValuePB::mutable_elems() { |
1133 | | // @@protoc_insertion_point(field_mutable_list:yb.QLSeqValuePB.elems) |
1134 | 1.15k | return &elems_; |
1135 | 1.15k | } |
1136 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >& |
1137 | 264k | QLSeqValuePB::elems() const { |
1138 | | // @@protoc_insertion_point(field_list:yb.QLSeqValuePB.elems) |
1139 | 264k | return elems_; |
1140 | 264k | } |
1141 | | |
1142 | | // ------------------------------------------------------------------- |
1143 | | |
1144 | | // QLMapValuePB |
1145 | | |
1146 | | // repeated .yb.QLValuePB keys = 1; |
1147 | 1.14M | inline int QLMapValuePB::keys_size() const { |
1148 | 1.14M | return keys_.size(); |
1149 | 1.14M | } |
1150 | 355 | inline void QLMapValuePB::clear_keys() { |
1151 | 355 | keys_.Clear(); |
1152 | 355 | } |
1153 | 1.27M | inline const ::yb::QLValuePB& QLMapValuePB::keys(int index) const { |
1154 | | // @@protoc_insertion_point(field_get:yb.QLMapValuePB.keys) |
1155 | 1.27M | return keys_.Get(index); |
1156 | 1.27M | } |
1157 | 101 | inline ::yb::QLValuePB* QLMapValuePB::mutable_keys(int index) { |
1158 | | // @@protoc_insertion_point(field_mutable:yb.QLMapValuePB.keys) |
1159 | 101 | return keys_.Mutable(index); |
1160 | 101 | } |
1161 | 1.42M | inline ::yb::QLValuePB* QLMapValuePB::add_keys() { |
1162 | | // @@protoc_insertion_point(field_add:yb.QLMapValuePB.keys) |
1163 | 1.42M | return keys_.Add(); |
1164 | 1.42M | } |
1165 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >* |
1166 | 0 | QLMapValuePB::mutable_keys() { |
1167 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLMapValuePB.keys) |
1168 | 0 | return &keys_; |
1169 | 0 | } |
1170 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >& |
1171 | 0 | QLMapValuePB::keys() const { |
1172 | 0 | // @@protoc_insertion_point(field_list:yb.QLMapValuePB.keys) |
1173 | 0 | return keys_; |
1174 | 0 | } |
1175 | | |
1176 | | // repeated .yb.QLValuePB values = 2; |
1177 | 574k | inline int QLMapValuePB::values_size() const { |
1178 | 574k | return values_.size(); |
1179 | 574k | } |
1180 | 356 | inline void QLMapValuePB::clear_values() { |
1181 | 356 | values_.Clear(); |
1182 | 356 | } |
1183 | 1.27M | inline const ::yb::QLValuePB& QLMapValuePB::values(int index) const { |
1184 | | // @@protoc_insertion_point(field_get:yb.QLMapValuePB.values) |
1185 | 1.27M | return values_.Get(index); |
1186 | 1.27M | } |
1187 | 95 | inline ::yb::QLValuePB* QLMapValuePB::mutable_values(int index) { |
1188 | | // @@protoc_insertion_point(field_mutable:yb.QLMapValuePB.values) |
1189 | 95 | return values_.Mutable(index); |
1190 | 95 | } |
1191 | 1.42M | inline ::yb::QLValuePB* QLMapValuePB::add_values() { |
1192 | | // @@protoc_insertion_point(field_add:yb.QLMapValuePB.values) |
1193 | 1.42M | return values_.Add(); |
1194 | 1.42M | } |
1195 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >* |
1196 | 0 | QLMapValuePB::mutable_values() { |
1197 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLMapValuePB.values) |
1198 | 0 | return &values_; |
1199 | 0 | } |
1200 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLValuePB >& |
1201 | 0 | QLMapValuePB::values() const { |
1202 | 0 | // @@protoc_insertion_point(field_list:yb.QLMapValuePB.values) |
1203 | 0 | return values_; |
1204 | 0 | } |
1205 | | |
1206 | | // ------------------------------------------------------------------- |
1207 | | |
1208 | | // QLValuePB |
1209 | | |
1210 | | // optional int32 int8_value = 1; |
1211 | 58.4M | inline bool QLValuePB::has_int8_value() const { |
1212 | 58.4M | return value_case() == kInt8Value; |
1213 | 58.4M | } |
1214 | 3.19M | inline void QLValuePB::set_has_int8_value() { |
1215 | 3.19M | _oneof_case_[0] = kInt8Value; |
1216 | 3.19M | } |
1217 | 0 | inline void QLValuePB::clear_int8_value() { |
1218 | 0 | if (has_int8_value()) { |
1219 | 0 | value_.int8_value_ = 0; |
1220 | 0 | clear_has_value(); |
1221 | 0 | } |
1222 | 0 | } |
1223 | 33.1M | inline ::google::protobuf::int32 QLValuePB::int8_value() const { |
1224 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.int8_value) |
1225 | 33.1M | if (has_int8_value()) { |
1226 | 33.1M | return value_.int8_value_; |
1227 | 33.1M | } |
1228 | 672 | return 0; |
1229 | 672 | } |
1230 | 25.0M | inline void QLValuePB::set_int8_value(::google::protobuf::int32 value) { |
1231 | 25.0M | if (!has_int8_value()) { |
1232 | 2.97M | clear_value(); |
1233 | 2.97M | set_has_int8_value(); |
1234 | 2.97M | } |
1235 | 25.0M | value_.int8_value_ = value; |
1236 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.int8_value) |
1237 | 25.0M | } |
1238 | | |
1239 | | // optional int32 int16_value = 2; |
1240 | 31.3M | inline bool QLValuePB::has_int16_value() const { |
1241 | 31.3M | return value_case() == kInt16Value; |
1242 | 31.3M | } |
1243 | 1.32M | inline void QLValuePB::set_has_int16_value() { |
1244 | 1.32M | _oneof_case_[0] = kInt16Value; |
1245 | 1.32M | } |
1246 | 0 | inline void QLValuePB::clear_int16_value() { |
1247 | 0 | if (has_int16_value()) { |
1248 | 0 | value_.int16_value_ = 0; |
1249 | 0 | clear_has_value(); |
1250 | 0 | } |
1251 | 0 | } |
1252 | 17.3M | inline ::google::protobuf::int32 QLValuePB::int16_value() const { |
1253 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.int16_value) |
1254 | 17.3M | if (has_int16_value()) { |
1255 | 17.3M | return value_.int16_value_; |
1256 | 17.3M | } |
1257 | 1.03k | return 0; |
1258 | 1.03k | } |
1259 | 13.8M | inline void QLValuePB::set_int16_value(::google::protobuf::int32 value) { |
1260 | 13.8M | if (!has_int16_value()) { |
1261 | 1.23M | clear_value(); |
1262 | 1.23M | set_has_int16_value(); |
1263 | 1.23M | } |
1264 | 13.8M | value_.int16_value_ = value; |
1265 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.int16_value) |
1266 | 13.8M | } |
1267 | | |
1268 | | // optional int32 int32_value = 3; |
1269 | 349M | inline bool QLValuePB::has_int32_value() const { |
1270 | 349M | return value_case() == kInt32Value; |
1271 | 349M | } |
1272 | 94.1M | inline void QLValuePB::set_has_int32_value() { |
1273 | 94.1M | _oneof_case_[0] = kInt32Value; |
1274 | 94.1M | } |
1275 | 0 | inline void QLValuePB::clear_int32_value() { |
1276 | 0 | if (has_int32_value()) { |
1277 | 0 | value_.int32_value_ = 0; |
1278 | 0 | clear_has_value(); |
1279 | 0 | } |
1280 | 0 | } |
1281 | 195M | inline ::google::protobuf::int32 QLValuePB::int32_value() const { |
1282 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.int32_value) |
1283 | 195M | if (has_int32_value()) { |
1284 | 195M | return value_.int32_value_; |
1285 | 195M | } |
1286 | 13.9k | return 0; |
1287 | 13.9k | } |
1288 | 146M | inline void QLValuePB::set_int32_value(::google::protobuf::int32 value) { |
1289 | 146M | if (!has_int32_value()) { |
1290 | 83.8M | clear_value(); |
1291 | 83.8M | set_has_int32_value(); |
1292 | 83.8M | } |
1293 | 146M | value_.int32_value_ = value; |
1294 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.int32_value) |
1295 | 146M | } |
1296 | | |
1297 | | // optional int64 int64_value = 4; |
1298 | 25.2M | inline bool QLValuePB::has_int64_value() const { |
1299 | 25.2M | return value_case() == kInt64Value; |
1300 | 25.2M | } |
1301 | 5.12M | inline void QLValuePB::set_has_int64_value() { |
1302 | 5.12M | _oneof_case_[0] = kInt64Value; |
1303 | 5.12M | } |
1304 | 0 | inline void QLValuePB::clear_int64_value() { |
1305 | 0 | if (has_int64_value()) { |
1306 | 0 | value_.int64_value_ = GOOGLE_LONGLONG(0); |
1307 | 0 | clear_has_value(); |
1308 | 0 | } |
1309 | 0 | } |
1310 | 13.1M | inline ::google::protobuf::int64 QLValuePB::int64_value() const { |
1311 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.int64_value) |
1312 | 13.1M | if (has_int64_value()) { |
1313 | 13.1M | return value_.int64_value_; |
1314 | 13.1M | } |
1315 | 18.4E | return GOOGLE_LONGLONG(0); |
1316 | 18.4E | } |
1317 | 9.50M | inline void QLValuePB::set_int64_value(::google::protobuf::int64 value) { |
1318 | 9.50M | if (!has_int64_value()) { |
1319 | 4.61M | clear_value(); |
1320 | 4.61M | set_has_int64_value(); |
1321 | 4.61M | } |
1322 | 9.50M | value_.int64_value_ = value; |
1323 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.int64_value) |
1324 | 9.50M | } |
1325 | | |
1326 | | // optional float float_value = 5; |
1327 | 1.95M | inline bool QLValuePB::has_float_value() const { |
1328 | 1.95M | return value_case() == kFloatValue; |
1329 | 1.95M | } |
1330 | 228k | inline void QLValuePB::set_has_float_value() { |
1331 | 228k | _oneof_case_[0] = kFloatValue; |
1332 | 228k | } |
1333 | 0 | inline void QLValuePB::clear_float_value() { |
1334 | 0 | if (has_float_value()) { |
1335 | 0 | value_.float_value_ = 0; |
1336 | 0 | clear_has_value(); |
1337 | 0 | } |
1338 | 0 | } |
1339 | 985k | inline float QLValuePB::float_value() const { |
1340 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.float_value) |
1341 | 985k | if (has_float_value()) { |
1342 | 985k | return value_.float_value_; |
1343 | 985k | } |
1344 | 22 | return 0; |
1345 | 22 | } |
1346 | 970k | inline void QLValuePB::set_float_value(float value) { |
1347 | 970k | if (!has_float_value()) { |
1348 | 213k | clear_value(); |
1349 | 213k | set_has_float_value(); |
1350 | 213k | } |
1351 | 970k | value_.float_value_ = value; |
1352 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.float_value) |
1353 | 970k | } |
1354 | | |
1355 | | // optional double double_value = 6; |
1356 | 2.74M | inline bool QLValuePB::has_double_value() const { |
1357 | 2.74M | return value_case() == kDoubleValue; |
1358 | 2.74M | } |
1359 | 689k | inline void QLValuePB::set_has_double_value() { |
1360 | 689k | _oneof_case_[0] = kDoubleValue; |
1361 | 689k | } |
1362 | 0 | inline void QLValuePB::clear_double_value() { |
1363 | 0 | if (has_double_value()) { |
1364 | 0 | value_.double_value_ = 0; |
1365 | 0 | clear_has_value(); |
1366 | 0 | } |
1367 | 0 | } |
1368 | 583k | inline double QLValuePB::double_value() const { |
1369 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.double_value) |
1370 | 583k | if (has_double_value()) { |
1371 | 583k | return value_.double_value_; |
1372 | 583k | } |
1373 | 0 | return 0; |
1374 | 0 | } |
1375 | 2.16M | inline void QLValuePB::set_double_value(double value) { |
1376 | 2.16M | if (!has_double_value()) { |
1377 | 688k | clear_value(); |
1378 | 688k | set_has_double_value(); |
1379 | 688k | } |
1380 | 2.16M | value_.double_value_ = value; |
1381 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.double_value) |
1382 | 2.16M | } |
1383 | | |
1384 | | // optional bytes string_value = 7; |
1385 | 292M | inline bool QLValuePB::has_string_value() const { |
1386 | 292M | return value_case() == kStringValue; |
1387 | 292M | } |
1388 | 109M | inline void QLValuePB::set_has_string_value() { |
1389 | 109M | _oneof_case_[0] = kStringValue; |
1390 | 109M | } |
1391 | 0 | inline void QLValuePB::clear_string_value() { |
1392 | 0 | if (has_string_value()) { |
1393 | 0 | value_.string_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1394 | 0 | clear_has_value(); |
1395 | 0 | } |
1396 | 0 | } |
1397 | 139M | inline const ::std::string& QLValuePB::string_value() const { |
1398 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.string_value) |
1399 | 139M | if (has_string_value()) { |
1400 | 139M | return value_.string_value_.GetNoArena(); |
1401 | 139M | } |
1402 | 14.0k | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1403 | 14.0k | } |
1404 | 107M | inline void QLValuePB::set_string_value(const ::std::string& value) { |
1405 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.string_value) |
1406 | 107M | if (!has_string_value()) { |
1407 | 85.9M | clear_value(); |
1408 | 85.9M | set_has_string_value(); |
1409 | 85.9M | value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1410 | 85.9M | } |
1411 | 107M | value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1412 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.string_value) |
1413 | 107M | } |
1414 | | #if LANG_CXX11 |
1415 | 221k | inline void QLValuePB::set_string_value(::std::string&& value) { |
1416 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.string_value) |
1417 | 221k | if (!has_string_value()) { |
1418 | 221k | clear_value(); |
1419 | 221k | set_has_string_value(); |
1420 | 221k | value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1421 | 221k | } |
1422 | 221k | value_.string_value_.SetNoArena( |
1423 | 221k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1424 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.string_value) |
1425 | 221k | } |
1426 | | #endif |
1427 | 969k | inline void QLValuePB::set_string_value(const char* value) { |
1428 | 969k | GOOGLE_DCHECK(value != NULL); |
1429 | 969k | if (!has_string_value()) { |
1430 | 969k | clear_value(); |
1431 | 969k | set_has_string_value(); |
1432 | 969k | value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1433 | 969k | } |
1434 | 969k | value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1435 | 969k | ::std::string(value)); |
1436 | | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.string_value) |
1437 | 969k | } |
1438 | 2.34M | inline void QLValuePB::set_string_value(const void* value, size_t size) { |
1439 | 2.34M | if (!has_string_value()) { |
1440 | 2.34M | clear_value(); |
1441 | 2.34M | set_has_string_value(); |
1442 | 2.34M | value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1443 | 2.34M | } |
1444 | 2.34M | value_.string_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1445 | 2.34M | reinterpret_cast<const char*>(value), size)); |
1446 | | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.string_value) |
1447 | 2.34M | } |
1448 | 20.3M | inline ::std::string* QLValuePB::mutable_string_value() { |
1449 | 20.3M | if (!has_string_value()) { |
1450 | 20.2M | clear_value(); |
1451 | 20.2M | set_has_string_value(); |
1452 | 20.2M | value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1453 | 20.2M | } |
1454 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.string_value) |
1455 | 20.3M | return value_.string_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1456 | 20.3M | } |
1457 | 0 | inline ::std::string* QLValuePB::release_string_value() { |
1458 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.string_value) |
1459 | 0 | if (has_string_value()) { |
1460 | 0 | clear_has_value(); |
1461 | 0 | return value_.string_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1462 | 0 | } else { |
1463 | 0 | return NULL; |
1464 | 0 | } |
1465 | 0 | } |
1466 | 0 | inline void QLValuePB::set_allocated_string_value(::std::string* string_value) { |
1467 | 0 | if (!has_string_value()) { |
1468 | 0 | value_.string_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1469 | 0 | } |
1470 | 0 | clear_value(); |
1471 | 0 | if (string_value != NULL) { |
1472 | 0 | set_has_string_value(); |
1473 | 0 | value_.string_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1474 | 0 | string_value); |
1475 | 0 | } |
1476 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.string_value) |
1477 | 0 | } |
1478 | | |
1479 | | // optional bool bool_value = 8; |
1480 | 84.8M | inline bool QLValuePB::has_bool_value() const { |
1481 | 84.8M | return value_case() == kBoolValue; |
1482 | 84.8M | } |
1483 | 4.37M | inline void QLValuePB::set_has_bool_value() { |
1484 | 4.37M | _oneof_case_[0] = kBoolValue; |
1485 | 4.37M | } |
1486 | 0 | inline void QLValuePB::clear_bool_value() { |
1487 | 0 | if (has_bool_value()) { |
1488 | 0 | value_.bool_value_ = false; |
1489 | 0 | clear_has_value(); |
1490 | 0 | } |
1491 | 0 | } |
1492 | 41.9M | inline bool QLValuePB::bool_value() const { |
1493 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.bool_value) |
1494 | 41.9M | if (has_bool_value()) { |
1495 | 41.9M | return value_.bool_value_; |
1496 | 41.9M | } |
1497 | 1.23k | return false; |
1498 | 1.23k | } |
1499 | 41.0M | inline void QLValuePB::set_bool_value(bool value) { |
1500 | 41.0M | if (!has_bool_value()) { |
1501 | 3.94M | clear_value(); |
1502 | 3.94M | set_has_bool_value(); |
1503 | 3.94M | } |
1504 | 41.0M | value_.bool_value_ = value; |
1505 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.bool_value) |
1506 | 41.0M | } |
1507 | | |
1508 | | // optional int64 timestamp_value = 9; |
1509 | 14.9M | inline bool QLValuePB::has_timestamp_value() const { |
1510 | 14.9M | return value_case() == kTimestampValue; |
1511 | 14.9M | } |
1512 | 4.94M | inline void QLValuePB::set_has_timestamp_value() { |
1513 | 4.94M | _oneof_case_[0] = kTimestampValue; |
1514 | 4.94M | } |
1515 | 0 | inline void QLValuePB::clear_timestamp_value() { |
1516 | 0 | if (has_timestamp_value()) { |
1517 | 0 | value_.timestamp_value_ = GOOGLE_LONGLONG(0); |
1518 | 0 | clear_has_value(); |
1519 | 0 | } |
1520 | 0 | } |
1521 | 5.67M | inline ::google::protobuf::int64 QLValuePB::timestamp_value() const { |
1522 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.timestamp_value) |
1523 | 5.67M | if (has_timestamp_value()) { |
1524 | 5.66M | return value_.timestamp_value_; |
1525 | 5.66M | } |
1526 | 14.7k | return GOOGLE_LONGLONG(0); |
1527 | 14.7k | } |
1528 | 4.96M | inline void QLValuePB::set_timestamp_value(::google::protobuf::int64 value) { |
1529 | 4.96M | if (!has_timestamp_value()) { |
1530 | 4.93M | clear_value(); |
1531 | 4.93M | set_has_timestamp_value(); |
1532 | 4.93M | } |
1533 | 4.96M | value_.timestamp_value_ = value; |
1534 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.timestamp_value) |
1535 | 4.96M | } |
1536 | | |
1537 | | // optional bytes binary_value = 10; |
1538 | 109M | inline bool QLValuePB::has_binary_value() const { |
1539 | 109M | return value_case() == kBinaryValue; |
1540 | 109M | } |
1541 | 30.9M | inline void QLValuePB::set_has_binary_value() { |
1542 | 30.9M | _oneof_case_[0] = kBinaryValue; |
1543 | 30.9M | } |
1544 | 0 | inline void QLValuePB::clear_binary_value() { |
1545 | 0 | if (has_binary_value()) { |
1546 | 0 | value_.binary_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1547 | 0 | clear_has_value(); |
1548 | 0 | } |
1549 | 0 | } |
1550 | 65.4M | inline const ::std::string& QLValuePB::binary_value() const { |
1551 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.binary_value) |
1552 | 65.4M | if (has_binary_value()) { |
1553 | 63.9M | return value_.binary_value_.GetNoArena(); |
1554 | 63.9M | } |
1555 | 1.49M | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1556 | 1.49M | } |
1557 | 17.7M | inline void QLValuePB::set_binary_value(const ::std::string& value) { |
1558 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.binary_value) |
1559 | 17.7M | if (!has_binary_value()) { |
1560 | 7.24M | clear_value(); |
1561 | 7.24M | set_has_binary_value(); |
1562 | 7.24M | value_.binary_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1563 | 7.24M | } |
1564 | 17.7M | value_.binary_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1565 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.binary_value) |
1566 | 17.7M | } |
1567 | | #if LANG_CXX11 |
1568 | 483k | inline void QLValuePB::set_binary_value(::std::string&& value) { |
1569 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.binary_value) |
1570 | 483k | if (!has_binary_value()) { |
1571 | 483k | clear_value(); |
1572 | 483k | set_has_binary_value(); |
1573 | 483k | value_.binary_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1574 | 483k | } |
1575 | 483k | value_.binary_value_.SetNoArena( |
1576 | 483k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1577 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.binary_value) |
1578 | 483k | } |
1579 | | #endif |
1580 | 0 | inline void QLValuePB::set_binary_value(const char* value) { |
1581 | 0 | GOOGLE_DCHECK(value != NULL); |
1582 | 0 | if (!has_binary_value()) { |
1583 | 0 | clear_value(); |
1584 | 0 | set_has_binary_value(); |
1585 | 0 | value_.binary_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1586 | 0 | } |
1587 | 0 | value_.binary_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1588 | 0 | ::std::string(value)); |
1589 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.binary_value) |
1590 | 0 | } |
1591 | 18.7M | inline void QLValuePB::set_binary_value(const void* value, size_t size) { |
1592 | 18.7M | if (!has_binary_value()) { |
1593 | 18.7M | clear_value(); |
1594 | 18.7M | set_has_binary_value(); |
1595 | 18.7M | value_.binary_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1596 | 18.7M | } |
1597 | 18.7M | value_.binary_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1598 | 18.7M | reinterpret_cast<const char*>(value), size)); |
1599 | | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.binary_value) |
1600 | 18.7M | } |
1601 | 4.46M | inline ::std::string* QLValuePB::mutable_binary_value() { |
1602 | 4.46M | if (!has_binary_value()) { |
1603 | 4.46M | clear_value(); |
1604 | 4.46M | set_has_binary_value(); |
1605 | 4.46M | value_.binary_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1606 | 4.46M | } |
1607 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.binary_value) |
1608 | 4.46M | return value_.binary_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1609 | 4.46M | } |
1610 | 0 | inline ::std::string* QLValuePB::release_binary_value() { |
1611 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.binary_value) |
1612 | 0 | if (has_binary_value()) { |
1613 | 0 | clear_has_value(); |
1614 | 0 | return value_.binary_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1615 | 0 | } else { |
1616 | 0 | return NULL; |
1617 | 0 | } |
1618 | 0 | } |
1619 | 0 | inline void QLValuePB::set_allocated_binary_value(::std::string* binary_value) { |
1620 | 0 | if (!has_binary_value()) { |
1621 | 0 | value_.binary_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1622 | 0 | } |
1623 | 0 | clear_value(); |
1624 | 0 | if (binary_value != NULL) { |
1625 | 0 | set_has_binary_value(); |
1626 | 0 | value_.binary_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1627 | 0 | binary_value); |
1628 | 0 | } |
1629 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.binary_value) |
1630 | 0 | } |
1631 | | |
1632 | | // optional bytes inetaddress_value = 11; |
1633 | 10.9M | inline bool QLValuePB::has_inetaddress_value() const { |
1634 | 10.9M | return value_case() == kInetaddressValue; |
1635 | 10.9M | } |
1636 | 4.99M | inline void QLValuePB::set_has_inetaddress_value() { |
1637 | 4.99M | _oneof_case_[0] = kInetaddressValue; |
1638 | 4.99M | } |
1639 | 0 | inline void QLValuePB::clear_inetaddress_value() { |
1640 | 0 | if (has_inetaddress_value()) { |
1641 | 0 | value_.inetaddress_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1642 | 0 | clear_has_value(); |
1643 | 0 | } |
1644 | 0 | } |
1645 | 4.74M | inline const ::std::string& QLValuePB::inetaddress_value() const { |
1646 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.inetaddress_value) |
1647 | 4.74M | if (has_inetaddress_value()) { |
1648 | 4.74M | return value_.inetaddress_value_.GetNoArena(); |
1649 | 4.74M | } |
1650 | 18.4E | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1651 | 18.4E | } |
1652 | 3.48M | inline void QLValuePB::set_inetaddress_value(const ::std::string& value) { |
1653 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.inetaddress_value) |
1654 | 3.48M | if (!has_inetaddress_value()) { |
1655 | 3.48M | clear_value(); |
1656 | 3.48M | set_has_inetaddress_value(); |
1657 | 3.48M | value_.inetaddress_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1658 | 3.48M | } |
1659 | 3.48M | value_.inetaddress_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1660 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.inetaddress_value) |
1661 | 3.48M | } |
1662 | | #if LANG_CXX11 |
1663 | 0 | inline void QLValuePB::set_inetaddress_value(::std::string&& value) { |
1664 | 0 | // @@protoc_insertion_point(field_set:yb.QLValuePB.inetaddress_value) |
1665 | 0 | if (!has_inetaddress_value()) { |
1666 | 0 | clear_value(); |
1667 | 0 | set_has_inetaddress_value(); |
1668 | 0 | value_.inetaddress_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1669 | 0 | } |
1670 | 0 | value_.inetaddress_value_.SetNoArena( |
1671 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1672 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.inetaddress_value) |
1673 | 0 | } |
1674 | | #endif |
1675 | 0 | inline void QLValuePB::set_inetaddress_value(const char* value) { |
1676 | 0 | GOOGLE_DCHECK(value != NULL); |
1677 | 0 | if (!has_inetaddress_value()) { |
1678 | 0 | clear_value(); |
1679 | 0 | set_has_inetaddress_value(); |
1680 | 0 | value_.inetaddress_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1681 | 0 | } |
1682 | 0 | value_.inetaddress_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1683 | 0 | ::std::string(value)); |
1684 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.inetaddress_value) |
1685 | 0 | } |
1686 | 0 | inline void QLValuePB::set_inetaddress_value(const void* value, size_t size) { |
1687 | 0 | if (!has_inetaddress_value()) { |
1688 | 0 | clear_value(); |
1689 | 0 | set_has_inetaddress_value(); |
1690 | 0 | value_.inetaddress_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1691 | 0 | } |
1692 | 0 | value_.inetaddress_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1693 | 0 | reinterpret_cast<const char*>(value), size)); |
1694 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.inetaddress_value) |
1695 | 0 | } |
1696 | 1.50M | inline ::std::string* QLValuePB::mutable_inetaddress_value() { |
1697 | 1.50M | if (!has_inetaddress_value()) { |
1698 | 1.50M | clear_value(); |
1699 | 1.50M | set_has_inetaddress_value(); |
1700 | 1.50M | value_.inetaddress_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1701 | 1.50M | } |
1702 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.inetaddress_value) |
1703 | 1.50M | return value_.inetaddress_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1704 | 1.50M | } |
1705 | 0 | inline ::std::string* QLValuePB::release_inetaddress_value() { |
1706 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.inetaddress_value) |
1707 | 0 | if (has_inetaddress_value()) { |
1708 | 0 | clear_has_value(); |
1709 | 0 | return value_.inetaddress_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1710 | 0 | } else { |
1711 | 0 | return NULL; |
1712 | 0 | } |
1713 | 0 | } |
1714 | 0 | inline void QLValuePB::set_allocated_inetaddress_value(::std::string* inetaddress_value) { |
1715 | 0 | if (!has_inetaddress_value()) { |
1716 | 0 | value_.inetaddress_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1717 | 0 | } |
1718 | 0 | clear_value(); |
1719 | 0 | if (inetaddress_value != NULL) { |
1720 | 0 | set_has_inetaddress_value(); |
1721 | 0 | value_.inetaddress_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1722 | 0 | inetaddress_value); |
1723 | 0 | } |
1724 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.inetaddress_value) |
1725 | 0 | } |
1726 | | |
1727 | | // optional .yb.QLMapValuePB map_value = 12; |
1728 | 8.75M | inline bool QLValuePB::has_map_value() const { |
1729 | 8.75M | return value_case() == kMapValue; |
1730 | 8.75M | } |
1731 | 3.02M | inline void QLValuePB::set_has_map_value() { |
1732 | 3.02M | _oneof_case_[0] = kMapValue; |
1733 | 3.02M | } |
1734 | 0 | inline void QLValuePB::clear_map_value() { |
1735 | 0 | if (has_map_value()) { |
1736 | 0 | delete value_.map_value_; |
1737 | 0 | clear_has_value(); |
1738 | 0 | } |
1739 | 0 | } |
1740 | 0 | inline ::yb::QLMapValuePB* QLValuePB::release_map_value() { |
1741 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.map_value) |
1742 | 0 | if (has_map_value()) { |
1743 | 0 | clear_has_value(); |
1744 | 0 | ::yb::QLMapValuePB* temp = value_.map_value_; |
1745 | 0 | value_.map_value_ = NULL; |
1746 | 0 | return temp; |
1747 | 0 | } else { |
1748 | 0 | return NULL; |
1749 | 0 | } |
1750 | 0 | } |
1751 | 2.80M | inline const ::yb::QLMapValuePB& QLValuePB::map_value() const { |
1752 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.map_value) |
1753 | 2.80M | return has_map_value() |
1754 | 2.80M | ? *value_.map_value_ |
1755 | 32 | : *reinterpret_cast< ::yb::QLMapValuePB*>(&::yb::_QLMapValuePB_default_instance_); |
1756 | 2.80M | } |
1757 | 5.37M | inline ::yb::QLMapValuePB* QLValuePB::mutable_map_value() { |
1758 | 5.37M | if (!has_map_value()) { |
1759 | 3.02M | clear_value(); |
1760 | 3.02M | set_has_map_value(); |
1761 | 3.02M | value_.map_value_ = new ::yb::QLMapValuePB; |
1762 | 3.02M | } |
1763 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.map_value) |
1764 | 5.37M | return value_.map_value_; |
1765 | 5.37M | } |
1766 | | |
1767 | | // optional .yb.QLSeqValuePB set_value = 13; |
1768 | 4.25M | inline bool QLValuePB::has_set_value() const { |
1769 | 4.25M | return value_case() == kSetValue; |
1770 | 4.25M | } |
1771 | 2.08M | inline void QLValuePB::set_has_set_value() { |
1772 | 2.08M | _oneof_case_[0] = kSetValue; |
1773 | 2.08M | } |
1774 | 0 | inline void QLValuePB::clear_set_value() { |
1775 | 0 | if (has_set_value()) { |
1776 | 0 | delete value_.set_value_; |
1777 | 0 | clear_has_value(); |
1778 | 0 | } |
1779 | 0 | } |
1780 | 0 | inline ::yb::QLSeqValuePB* QLValuePB::release_set_value() { |
1781 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.set_value) |
1782 | 0 | if (has_set_value()) { |
1783 | 0 | clear_has_value(); |
1784 | 0 | ::yb::QLSeqValuePB* temp = value_.set_value_; |
1785 | 0 | value_.set_value_ = NULL; |
1786 | 0 | return temp; |
1787 | 0 | } else { |
1788 | 0 | return NULL; |
1789 | 0 | } |
1790 | 0 | } |
1791 | 1.70M | inline const ::yb::QLSeqValuePB& QLValuePB::set_value() const { |
1792 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.set_value) |
1793 | 1.70M | return has_set_value() |
1794 | 1.70M | ? *value_.set_value_ |
1795 | 773 | : *reinterpret_cast< ::yb::QLSeqValuePB*>(&::yb::_QLSeqValuePB_default_instance_); |
1796 | 1.70M | } |
1797 | 2.29M | inline ::yb::QLSeqValuePB* QLValuePB::mutable_set_value() { |
1798 | 2.29M | if (!has_set_value()) { |
1799 | 2.07M | clear_value(); |
1800 | 2.07M | set_has_set_value(); |
1801 | 2.07M | value_.set_value_ = new ::yb::QLSeqValuePB; |
1802 | 2.07M | } |
1803 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.set_value) |
1804 | 2.29M | return value_.set_value_; |
1805 | 2.29M | } |
1806 | | |
1807 | | // optional .yb.QLSeqValuePB list_value = 14; |
1808 | 110k | inline bool QLValuePB::has_list_value() const { |
1809 | 110k | return value_case() == kListValue; |
1810 | 110k | } |
1811 | 53.2k | inline void QLValuePB::set_has_list_value() { |
1812 | 53.2k | _oneof_case_[0] = kListValue; |
1813 | 53.2k | } |
1814 | 0 | inline void QLValuePB::clear_list_value() { |
1815 | 0 | if (has_list_value()) { |
1816 | 0 | delete value_.list_value_; |
1817 | 0 | clear_has_value(); |
1818 | 0 | } |
1819 | 0 | } |
1820 | 0 | inline ::yb::QLSeqValuePB* QLValuePB::release_list_value() { |
1821 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.list_value) |
1822 | 0 | if (has_list_value()) { |
1823 | 0 | clear_has_value(); |
1824 | 0 | ::yb::QLSeqValuePB* temp = value_.list_value_; |
1825 | 0 | value_.list_value_ = NULL; |
1826 | 0 | return temp; |
1827 | 0 | } else { |
1828 | 0 | return NULL; |
1829 | 0 | } |
1830 | 0 | } |
1831 | 44.6k | inline const ::yb::QLSeqValuePB& QLValuePB::list_value() const { |
1832 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.list_value) |
1833 | 44.6k | return has_list_value() |
1834 | 44.5k | ? *value_.list_value_ |
1835 | 145 | : *reinterpret_cast< ::yb::QLSeqValuePB*>(&::yb::_QLSeqValuePB_default_instance_); |
1836 | 44.6k | } |
1837 | 61.2k | inline ::yb::QLSeqValuePB* QLValuePB::mutable_list_value() { |
1838 | 61.2k | if (!has_list_value()) { |
1839 | 53.4k | clear_value(); |
1840 | 53.4k | set_has_list_value(); |
1841 | 53.4k | value_.list_value_ = new ::yb::QLSeqValuePB; |
1842 | 53.4k | } |
1843 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.list_value) |
1844 | 61.2k | return value_.list_value_; |
1845 | 61.2k | } |
1846 | | |
1847 | | // optional bytes decimal_value = 15; |
1848 | 153k | inline bool QLValuePB::has_decimal_value() const { |
1849 | 153k | return value_case() == kDecimalValue; |
1850 | 153k | } |
1851 | 35.9k | inline void QLValuePB::set_has_decimal_value() { |
1852 | 35.9k | _oneof_case_[0] = kDecimalValue; |
1853 | 35.9k | } |
1854 | 0 | inline void QLValuePB::clear_decimal_value() { |
1855 | 0 | if (has_decimal_value()) { |
1856 | 0 | value_.decimal_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1857 | 0 | clear_has_value(); |
1858 | 0 | } |
1859 | 0 | } |
1860 | 84.9k | inline const ::std::string& QLValuePB::decimal_value() const { |
1861 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.decimal_value) |
1862 | 84.9k | if (has_decimal_value()) { |
1863 | 84.9k | return value_.decimal_value_.GetNoArena(); |
1864 | 84.9k | } |
1865 | 2 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1866 | 2 | } |
1867 | 40.9k | inline void QLValuePB::set_decimal_value(const ::std::string& value) { |
1868 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.decimal_value) |
1869 | 40.9k | if (!has_decimal_value()) { |
1870 | 19.9k | clear_value(); |
1871 | 19.9k | set_has_decimal_value(); |
1872 | 19.9k | value_.decimal_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1873 | 19.9k | } |
1874 | 40.9k | value_.decimal_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1875 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.decimal_value) |
1876 | 40.9k | } |
1877 | | #if LANG_CXX11 |
1878 | 4.55k | inline void QLValuePB::set_decimal_value(::std::string&& value) { |
1879 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.decimal_value) |
1880 | 4.55k | if (!has_decimal_value()) { |
1881 | 4.44k | clear_value(); |
1882 | 4.44k | set_has_decimal_value(); |
1883 | 4.44k | value_.decimal_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1884 | 4.44k | } |
1885 | 4.55k | value_.decimal_value_.SetNoArena( |
1886 | 4.55k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1887 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.decimal_value) |
1888 | 4.55k | } |
1889 | | #endif |
1890 | 0 | inline void QLValuePB::set_decimal_value(const char* value) { |
1891 | 0 | GOOGLE_DCHECK(value != NULL); |
1892 | 0 | if (!has_decimal_value()) { |
1893 | 0 | clear_value(); |
1894 | 0 | set_has_decimal_value(); |
1895 | 0 | value_.decimal_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1896 | 0 | } |
1897 | 0 | value_.decimal_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1898 | 0 | ::std::string(value)); |
1899 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.decimal_value) |
1900 | 0 | } |
1901 | 0 | inline void QLValuePB::set_decimal_value(const void* value, size_t size) { |
1902 | 0 | if (!has_decimal_value()) { |
1903 | 0 | clear_value(); |
1904 | 0 | set_has_decimal_value(); |
1905 | 0 | value_.decimal_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1906 | 0 | } |
1907 | 0 | value_.decimal_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1908 | 0 | reinterpret_cast<const char*>(value), size)); |
1909 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.decimal_value) |
1910 | 0 | } |
1911 | 11.5k | inline ::std::string* QLValuePB::mutable_decimal_value() { |
1912 | 11.5k | if (!has_decimal_value()) { |
1913 | 11.5k | clear_value(); |
1914 | 11.5k | set_has_decimal_value(); |
1915 | 11.5k | value_.decimal_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1916 | 11.5k | } |
1917 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.decimal_value) |
1918 | 11.5k | return value_.decimal_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1919 | 11.5k | } |
1920 | 0 | inline ::std::string* QLValuePB::release_decimal_value() { |
1921 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.decimal_value) |
1922 | 0 | if (has_decimal_value()) { |
1923 | 0 | clear_has_value(); |
1924 | 0 | return value_.decimal_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1925 | 0 | } else { |
1926 | 0 | return NULL; |
1927 | 0 | } |
1928 | 0 | } |
1929 | 0 | inline void QLValuePB::set_allocated_decimal_value(::std::string* decimal_value) { |
1930 | 0 | if (!has_decimal_value()) { |
1931 | 0 | value_.decimal_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1932 | 0 | } |
1933 | 0 | clear_value(); |
1934 | 0 | if (decimal_value != NULL) { |
1935 | 0 | set_has_decimal_value(); |
1936 | 0 | value_.decimal_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1937 | 0 | decimal_value); |
1938 | 0 | } |
1939 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.decimal_value) |
1940 | 0 | } |
1941 | | |
1942 | | // optional bytes varint_value = 16; |
1943 | 95.4k | inline bool QLValuePB::has_varint_value() const { |
1944 | 95.4k | return value_case() == kVarintValue; |
1945 | 95.4k | } |
1946 | 12.0k | inline void QLValuePB::set_has_varint_value() { |
1947 | 12.0k | _oneof_case_[0] = kVarintValue; |
1948 | 12.0k | } |
1949 | 0 | inline void QLValuePB::clear_varint_value() { |
1950 | 0 | if (has_varint_value()) { |
1951 | 0 | value_.varint_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1952 | 0 | clear_has_value(); |
1953 | 0 | } |
1954 | 0 | } |
1955 | 51.4k | inline const ::std::string& QLValuePB::varint_value() const { |
1956 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.varint_value) |
1957 | 51.4k | if (has_varint_value()) { |
1958 | 51.3k | return value_.varint_value_.GetNoArena(); |
1959 | 51.3k | } |
1960 | 119 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1961 | 119 | } |
1962 | 28.6k | inline void QLValuePB::set_varint_value(const ::std::string& value) { |
1963 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.varint_value) |
1964 | 28.6k | if (!has_varint_value()) { |
1965 | 7.93k | clear_value(); |
1966 | 7.93k | set_has_varint_value(); |
1967 | 7.93k | value_.varint_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1968 | 7.93k | } |
1969 | 28.6k | value_.varint_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
1970 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.varint_value) |
1971 | 28.6k | } |
1972 | | #if LANG_CXX11 |
1973 | 118 | inline void QLValuePB::set_varint_value(::std::string&& value) { |
1974 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.varint_value) |
1975 | 118 | if (!has_varint_value()) { |
1976 | 5 | clear_value(); |
1977 | 5 | set_has_varint_value(); |
1978 | 5 | value_.varint_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1979 | 5 | } |
1980 | 118 | value_.varint_value_.SetNoArena( |
1981 | 118 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1982 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.varint_value) |
1983 | 118 | } |
1984 | | #endif |
1985 | 0 | inline void QLValuePB::set_varint_value(const char* value) { |
1986 | 0 | GOOGLE_DCHECK(value != NULL); |
1987 | 0 | if (!has_varint_value()) { |
1988 | 0 | clear_value(); |
1989 | 0 | set_has_varint_value(); |
1990 | 0 | value_.varint_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1991 | 0 | } |
1992 | 0 | value_.varint_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1993 | 0 | ::std::string(value)); |
1994 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.varint_value) |
1995 | 0 | } |
1996 | 0 | inline void QLValuePB::set_varint_value(const void* value, size_t size) { |
1997 | 0 | if (!has_varint_value()) { |
1998 | 0 | clear_value(); |
1999 | 0 | set_has_varint_value(); |
2000 | 0 | value_.varint_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2001 | 0 | } |
2002 | 0 | value_.varint_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2003 | 0 | reinterpret_cast<const char*>(value), size)); |
2004 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.varint_value) |
2005 | 0 | } |
2006 | 4.08k | inline ::std::string* QLValuePB::mutable_varint_value() { |
2007 | 4.08k | if (!has_varint_value()) { |
2008 | 4.08k | clear_value(); |
2009 | 4.08k | set_has_varint_value(); |
2010 | 4.08k | value_.varint_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2011 | 4.08k | } |
2012 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.varint_value) |
2013 | 4.08k | return value_.varint_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2014 | 4.08k | } |
2015 | 0 | inline ::std::string* QLValuePB::release_varint_value() { |
2016 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.varint_value) |
2017 | 0 | if (has_varint_value()) { |
2018 | 0 | clear_has_value(); |
2019 | 0 | return value_.varint_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2020 | 0 | } else { |
2021 | 0 | return NULL; |
2022 | 0 | } |
2023 | 0 | } |
2024 | 0 | inline void QLValuePB::set_allocated_varint_value(::std::string* varint_value) { |
2025 | 0 | if (!has_varint_value()) { |
2026 | 0 | value_.varint_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2027 | 0 | } |
2028 | 0 | clear_value(); |
2029 | 0 | if (varint_value != NULL) { |
2030 | 0 | set_has_varint_value(); |
2031 | 0 | value_.varint_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2032 | 0 | varint_value); |
2033 | 0 | } |
2034 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.varint_value) |
2035 | 0 | } |
2036 | | |
2037 | | // optional .yb.QLSeqValuePB frozen_value = 17; |
2038 | 6.67k | inline bool QLValuePB::has_frozen_value() const { |
2039 | 6.67k | return value_case() == kFrozenValue; |
2040 | 6.67k | } |
2041 | 2.77k | inline void QLValuePB::set_has_frozen_value() { |
2042 | 2.77k | _oneof_case_[0] = kFrozenValue; |
2043 | 2.77k | } |
2044 | 0 | inline void QLValuePB::clear_frozen_value() { |
2045 | 0 | if (has_frozen_value()) { |
2046 | 0 | delete value_.frozen_value_; |
2047 | 0 | clear_has_value(); |
2048 | 0 | } |
2049 | 0 | } |
2050 | 0 | inline ::yb::QLSeqValuePB* QLValuePB::release_frozen_value() { |
2051 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.frozen_value) |
2052 | 0 | if (has_frozen_value()) { |
2053 | 0 | clear_has_value(); |
2054 | 0 | ::yb::QLSeqValuePB* temp = value_.frozen_value_; |
2055 | 0 | value_.frozen_value_ = NULL; |
2056 | 0 | return temp; |
2057 | 0 | } else { |
2058 | 0 | return NULL; |
2059 | 0 | } |
2060 | 0 | } |
2061 | 3.25k | inline const ::yb::QLSeqValuePB& QLValuePB::frozen_value() const { |
2062 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.frozen_value) |
2063 | 3.25k | return has_frozen_value() |
2064 | 3.25k | ? *value_.frozen_value_ |
2065 | 0 | : *reinterpret_cast< ::yb::QLSeqValuePB*>(&::yb::_QLSeqValuePB_default_instance_); |
2066 | 3.25k | } |
2067 | 2.97k | inline ::yb::QLSeqValuePB* QLValuePB::mutable_frozen_value() { |
2068 | 2.97k | if (!has_frozen_value()) { |
2069 | 2.77k | clear_value(); |
2070 | 2.77k | set_has_frozen_value(); |
2071 | 2.77k | value_.frozen_value_ = new ::yb::QLSeqValuePB; |
2072 | 2.77k | } |
2073 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.frozen_value) |
2074 | 2.97k | return value_.frozen_value_; |
2075 | 2.97k | } |
2076 | | |
2077 | | // optional bytes uuid_value = 18; |
2078 | 5.43M | inline bool QLValuePB::has_uuid_value() const { |
2079 | 5.43M | return value_case() == kUuidValue; |
2080 | 5.43M | } |
2081 | 2.80M | inline void QLValuePB::set_has_uuid_value() { |
2082 | 2.80M | _oneof_case_[0] = kUuidValue; |
2083 | 2.80M | } |
2084 | 0 | inline void QLValuePB::clear_uuid_value() { |
2085 | 0 | if (has_uuid_value()) { |
2086 | 0 | value_.uuid_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2087 | 0 | clear_has_value(); |
2088 | 0 | } |
2089 | 0 | } |
2090 | 2.25M | inline const ::std::string& QLValuePB::uuid_value() const { |
2091 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.uuid_value) |
2092 | 2.25M | if (has_uuid_value()) { |
2093 | 2.25M | return value_.uuid_value_.GetNoArena(); |
2094 | 2.25M | } |
2095 | 456 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
2096 | 456 | } |
2097 | 1.88M | inline void QLValuePB::set_uuid_value(const ::std::string& value) { |
2098 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.uuid_value) |
2099 | 1.88M | if (!has_uuid_value()) { |
2100 | 1.88M | clear_value(); |
2101 | 1.88M | set_has_uuid_value(); |
2102 | 1.88M | value_.uuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2103 | 1.88M | } |
2104 | 1.88M | value_.uuid_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2105 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.uuid_value) |
2106 | 1.88M | } |
2107 | | #if LANG_CXX11 |
2108 | 0 | inline void QLValuePB::set_uuid_value(::std::string&& value) { |
2109 | 0 | // @@protoc_insertion_point(field_set:yb.QLValuePB.uuid_value) |
2110 | 0 | if (!has_uuid_value()) { |
2111 | 0 | clear_value(); |
2112 | 0 | set_has_uuid_value(); |
2113 | 0 | value_.uuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2114 | 0 | } |
2115 | 0 | value_.uuid_value_.SetNoArena( |
2116 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2117 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.uuid_value) |
2118 | 0 | } |
2119 | | #endif |
2120 | 0 | inline void QLValuePB::set_uuid_value(const char* value) { |
2121 | 0 | GOOGLE_DCHECK(value != NULL); |
2122 | 0 | if (!has_uuid_value()) { |
2123 | 0 | clear_value(); |
2124 | 0 | set_has_uuid_value(); |
2125 | 0 | value_.uuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2126 | 0 | } |
2127 | 0 | value_.uuid_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2128 | 0 | ::std::string(value)); |
2129 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.uuid_value) |
2130 | 0 | } |
2131 | 0 | inline void QLValuePB::set_uuid_value(const void* value, size_t size) { |
2132 | 0 | if (!has_uuid_value()) { |
2133 | 0 | clear_value(); |
2134 | 0 | set_has_uuid_value(); |
2135 | 0 | value_.uuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2136 | 0 | } |
2137 | 0 | value_.uuid_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2138 | 0 | reinterpret_cast<const char*>(value), size)); |
2139 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.uuid_value) |
2140 | 0 | } |
2141 | 922k | inline ::std::string* QLValuePB::mutable_uuid_value() { |
2142 | 922k | if (!has_uuid_value()) { |
2143 | 922k | clear_value(); |
2144 | 922k | set_has_uuid_value(); |
2145 | 922k | value_.uuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2146 | 922k | } |
2147 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.uuid_value) |
2148 | 922k | return value_.uuid_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2149 | 922k | } |
2150 | 0 | inline ::std::string* QLValuePB::release_uuid_value() { |
2151 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.uuid_value) |
2152 | 0 | if (has_uuid_value()) { |
2153 | 0 | clear_has_value(); |
2154 | 0 | return value_.uuid_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2155 | 0 | } else { |
2156 | 0 | return NULL; |
2157 | 0 | } |
2158 | 0 | } |
2159 | 0 | inline void QLValuePB::set_allocated_uuid_value(::std::string* uuid_value) { |
2160 | 0 | if (!has_uuid_value()) { |
2161 | 0 | value_.uuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2162 | 0 | } |
2163 | 0 | clear_value(); |
2164 | 0 | if (uuid_value != NULL) { |
2165 | 0 | set_has_uuid_value(); |
2166 | 0 | value_.uuid_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2167 | 0 | uuid_value); |
2168 | 0 | } |
2169 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.uuid_value) |
2170 | 0 | } |
2171 | | |
2172 | | // optional bytes timeuuid_value = 19; |
2173 | 4.07k | inline bool QLValuePB::has_timeuuid_value() const { |
2174 | 4.07k | return value_case() == kTimeuuidValue; |
2175 | 4.07k | } |
2176 | 1.10k | inline void QLValuePB::set_has_timeuuid_value() { |
2177 | 1.10k | _oneof_case_[0] = kTimeuuidValue; |
2178 | 1.10k | } |
2179 | 0 | inline void QLValuePB::clear_timeuuid_value() { |
2180 | 0 | if (has_timeuuid_value()) { |
2181 | 0 | value_.timeuuid_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2182 | 0 | clear_has_value(); |
2183 | 0 | } |
2184 | 0 | } |
2185 | 2.08k | inline const ::std::string& QLValuePB::timeuuid_value() const { |
2186 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.timeuuid_value) |
2187 | 2.08k | if (has_timeuuid_value()) { |
2188 | 2.08k | return value_.timeuuid_value_.GetNoArena(); |
2189 | 2.08k | } |
2190 | 0 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
2191 | 0 | } |
2192 | 376 | inline void QLValuePB::set_timeuuid_value(const ::std::string& value) { |
2193 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.timeuuid_value) |
2194 | 376 | if (!has_timeuuid_value()) { |
2195 | 376 | clear_value(); |
2196 | 376 | set_has_timeuuid_value(); |
2197 | 376 | value_.timeuuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2198 | 376 | } |
2199 | 376 | value_.timeuuid_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2200 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.timeuuid_value) |
2201 | 376 | } |
2202 | | #if LANG_CXX11 |
2203 | 0 | inline void QLValuePB::set_timeuuid_value(::std::string&& value) { |
2204 | 0 | // @@protoc_insertion_point(field_set:yb.QLValuePB.timeuuid_value) |
2205 | 0 | if (!has_timeuuid_value()) { |
2206 | 0 | clear_value(); |
2207 | 0 | set_has_timeuuid_value(); |
2208 | 0 | value_.timeuuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2209 | 0 | } |
2210 | 0 | value_.timeuuid_value_.SetNoArena( |
2211 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2212 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.timeuuid_value) |
2213 | 0 | } |
2214 | | #endif |
2215 | 0 | inline void QLValuePB::set_timeuuid_value(const char* value) { |
2216 | 0 | GOOGLE_DCHECK(value != NULL); |
2217 | 0 | if (!has_timeuuid_value()) { |
2218 | 0 | clear_value(); |
2219 | 0 | set_has_timeuuid_value(); |
2220 | 0 | value_.timeuuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2221 | 0 | } |
2222 | 0 | value_.timeuuid_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2223 | 0 | ::std::string(value)); |
2224 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.timeuuid_value) |
2225 | 0 | } |
2226 | 0 | inline void QLValuePB::set_timeuuid_value(const void* value, size_t size) { |
2227 | 0 | if (!has_timeuuid_value()) { |
2228 | 0 | clear_value(); |
2229 | 0 | set_has_timeuuid_value(); |
2230 | 0 | value_.timeuuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2231 | 0 | } |
2232 | 0 | value_.timeuuid_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2233 | 0 | reinterpret_cast<const char*>(value), size)); |
2234 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.timeuuid_value) |
2235 | 0 | } |
2236 | 726 | inline ::std::string* QLValuePB::mutable_timeuuid_value() { |
2237 | 726 | if (!has_timeuuid_value()) { |
2238 | 726 | clear_value(); |
2239 | 726 | set_has_timeuuid_value(); |
2240 | 726 | value_.timeuuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2241 | 726 | } |
2242 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.timeuuid_value) |
2243 | 726 | return value_.timeuuid_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2244 | 726 | } |
2245 | 0 | inline ::std::string* QLValuePB::release_timeuuid_value() { |
2246 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.timeuuid_value) |
2247 | 0 | if (has_timeuuid_value()) { |
2248 | 0 | clear_has_value(); |
2249 | 0 | return value_.timeuuid_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2250 | 0 | } else { |
2251 | 0 | return NULL; |
2252 | 0 | } |
2253 | 0 | } |
2254 | 0 | inline void QLValuePB::set_allocated_timeuuid_value(::std::string* timeuuid_value) { |
2255 | 0 | if (!has_timeuuid_value()) { |
2256 | 0 | value_.timeuuid_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2257 | 0 | } |
2258 | 0 | clear_value(); |
2259 | 0 | if (timeuuid_value != NULL) { |
2260 | 0 | set_has_timeuuid_value(); |
2261 | 0 | value_.timeuuid_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2262 | 0 | timeuuid_value); |
2263 | 0 | } |
2264 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.timeuuid_value) |
2265 | 0 | } |
2266 | | |
2267 | | // optional bytes jsonb_value = 20; |
2268 | 89.2k | inline bool QLValuePB::has_jsonb_value() const { |
2269 | 89.2k | return value_case() == kJsonbValue; |
2270 | 89.2k | } |
2271 | 33.4k | inline void QLValuePB::set_has_jsonb_value() { |
2272 | 33.4k | _oneof_case_[0] = kJsonbValue; |
2273 | 33.4k | } |
2274 | 0 | inline void QLValuePB::clear_jsonb_value() { |
2275 | 0 | if (has_jsonb_value()) { |
2276 | 0 | value_.jsonb_value_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2277 | 0 | clear_has_value(); |
2278 | 0 | } |
2279 | 0 | } |
2280 | 48.0k | inline const ::std::string& QLValuePB::jsonb_value() const { |
2281 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.jsonb_value) |
2282 | 48.0k | if (has_jsonb_value()) { |
2283 | 48.0k | return value_.jsonb_value_.GetNoArena(); |
2284 | 48.0k | } |
2285 | 2 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
2286 | 2 | } |
2287 | 20.4k | inline void QLValuePB::set_jsonb_value(const ::std::string& value) { |
2288 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.jsonb_value) |
2289 | 20.4k | if (!has_jsonb_value()) { |
2290 | 20.4k | clear_value(); |
2291 | 20.4k | set_has_jsonb_value(); |
2292 | 20.4k | value_.jsonb_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2293 | 20.4k | } |
2294 | 20.4k | value_.jsonb_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2295 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.jsonb_value) |
2296 | 20.4k | } |
2297 | | #if LANG_CXX11 |
2298 | 7.78k | inline void QLValuePB::set_jsonb_value(::std::string&& value) { |
2299 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.jsonb_value) |
2300 | 7.78k | if (!has_jsonb_value()) { |
2301 | 7.78k | clear_value(); |
2302 | 7.78k | set_has_jsonb_value(); |
2303 | 7.78k | value_.jsonb_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2304 | 7.78k | } |
2305 | 7.78k | value_.jsonb_value_.SetNoArena( |
2306 | 7.78k | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2307 | | // @@protoc_insertion_point(field_set_rvalue:yb.QLValuePB.jsonb_value) |
2308 | 7.78k | } |
2309 | | #endif |
2310 | 0 | inline void QLValuePB::set_jsonb_value(const char* value) { |
2311 | 0 | GOOGLE_DCHECK(value != NULL); |
2312 | 0 | if (!has_jsonb_value()) { |
2313 | 0 | clear_value(); |
2314 | 0 | set_has_jsonb_value(); |
2315 | 0 | value_.jsonb_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2316 | 0 | } |
2317 | 0 | value_.jsonb_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2318 | 0 | ::std::string(value)); |
2319 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLValuePB.jsonb_value) |
2320 | 0 | } |
2321 | 0 | inline void QLValuePB::set_jsonb_value(const void* value, size_t size) { |
2322 | 0 | if (!has_jsonb_value()) { |
2323 | 0 | clear_value(); |
2324 | 0 | set_has_jsonb_value(); |
2325 | 0 | value_.jsonb_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2326 | 0 | } |
2327 | 0 | value_.jsonb_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2328 | 0 | reinterpret_cast<const char*>(value), size)); |
2329 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLValuePB.jsonb_value) |
2330 | 0 | } |
2331 | 5.18k | inline ::std::string* QLValuePB::mutable_jsonb_value() { |
2332 | 5.18k | if (!has_jsonb_value()) { |
2333 | 5.18k | clear_value(); |
2334 | 5.18k | set_has_jsonb_value(); |
2335 | 5.18k | value_.jsonb_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2336 | 5.18k | } |
2337 | | // @@protoc_insertion_point(field_mutable:yb.QLValuePB.jsonb_value) |
2338 | 5.18k | return value_.jsonb_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2339 | 5.18k | } |
2340 | 0 | inline ::std::string* QLValuePB::release_jsonb_value() { |
2341 | 0 | // @@protoc_insertion_point(field_release:yb.QLValuePB.jsonb_value) |
2342 | 0 | if (has_jsonb_value()) { |
2343 | 0 | clear_has_value(); |
2344 | 0 | return value_.jsonb_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2345 | 0 | } else { |
2346 | 0 | return NULL; |
2347 | 0 | } |
2348 | 0 | } |
2349 | 0 | inline void QLValuePB::set_allocated_jsonb_value(::std::string* jsonb_value) { |
2350 | 0 | if (!has_jsonb_value()) { |
2351 | 0 | value_.jsonb_value_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2352 | 0 | } |
2353 | 0 | clear_value(); |
2354 | 0 | if (jsonb_value != NULL) { |
2355 | 0 | set_has_jsonb_value(); |
2356 | 0 | value_.jsonb_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2357 | 0 | jsonb_value); |
2358 | 0 | } |
2359 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLValuePB.jsonb_value) |
2360 | 0 | } |
2361 | | |
2362 | | // optional uint32 date_value = 21; |
2363 | 4.15k | inline bool QLValuePB::has_date_value() const { |
2364 | 4.15k | return value_case() == kDateValue; |
2365 | 4.15k | } |
2366 | 1.10k | inline void QLValuePB::set_has_date_value() { |
2367 | 1.10k | _oneof_case_[0] = kDateValue; |
2368 | 1.10k | } |
2369 | 0 | inline void QLValuePB::clear_date_value() { |
2370 | 0 | if (has_date_value()) { |
2371 | 0 | value_.date_value_ = 0u; |
2372 | 0 | clear_has_value(); |
2373 | 0 | } |
2374 | 0 | } |
2375 | 2.91k | inline ::google::protobuf::uint32 QLValuePB::date_value() const { |
2376 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.date_value) |
2377 | 2.91k | if (has_date_value()) { |
2378 | 2.91k | return value_.date_value_; |
2379 | 2.91k | } |
2380 | 0 | return 0u; |
2381 | 0 | } |
2382 | 1.15k | inline void QLValuePB::set_date_value(::google::protobuf::uint32 value) { |
2383 | 1.15k | if (!has_date_value()) { |
2384 | 744 | clear_value(); |
2385 | 744 | set_has_date_value(); |
2386 | 744 | } |
2387 | 1.15k | value_.date_value_ = value; |
2388 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.date_value) |
2389 | 1.15k | } |
2390 | | |
2391 | | // optional int64 time_value = 22; |
2392 | 4.11k | inline bool QLValuePB::has_time_value() const { |
2393 | 4.11k | return value_case() == kTimeValue; |
2394 | 4.11k | } |
2395 | 1.12k | inline void QLValuePB::set_has_time_value() { |
2396 | 1.12k | _oneof_case_[0] = kTimeValue; |
2397 | 1.12k | } |
2398 | 0 | inline void QLValuePB::clear_time_value() { |
2399 | 0 | if (has_time_value()) { |
2400 | 0 | value_.time_value_ = GOOGLE_LONGLONG(0); |
2401 | 0 | clear_has_value(); |
2402 | 0 | } |
2403 | 0 | } |
2404 | 2.85k | inline ::google::protobuf::int64 QLValuePB::time_value() const { |
2405 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.time_value) |
2406 | 2.85k | if (has_time_value()) { |
2407 | 2.85k | return value_.time_value_; |
2408 | 2.85k | } |
2409 | 0 | return GOOGLE_LONGLONG(0); |
2410 | 0 | } |
2411 | 1.18k | inline void QLValuePB::set_time_value(::google::protobuf::int64 value) { |
2412 | 1.18k | if (!has_time_value()) { |
2413 | 780 | clear_value(); |
2414 | 780 | set_has_time_value(); |
2415 | 780 | } |
2416 | 1.18k | value_.time_value_ = value; |
2417 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.time_value) |
2418 | 1.18k | } |
2419 | | |
2420 | | // optional uint32 uint32_value = 23; |
2421 | 169M | inline bool QLValuePB::has_uint32_value() const { |
2422 | 169M | return value_case() == kUint32Value; |
2423 | 169M | } |
2424 | 9.45M | inline void QLValuePB::set_has_uint32_value() { |
2425 | 9.45M | _oneof_case_[0] = kUint32Value; |
2426 | 9.45M | } |
2427 | 0 | inline void QLValuePB::clear_uint32_value() { |
2428 | 0 | if (has_uint32_value()) { |
2429 | 0 | value_.uint32_value_ = 0u; |
2430 | 0 | clear_has_value(); |
2431 | 0 | } |
2432 | 0 | } |
2433 | 110M | inline ::google::protobuf::uint32 QLValuePB::uint32_value() const { |
2434 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.uint32_value) |
2435 | 110M | if (has_uint32_value()) { |
2436 | 110M | return value_.uint32_value_; |
2437 | 110M | } |
2438 | 2.35k | return 0u; |
2439 | 2.35k | } |
2440 | 58.8M | inline void QLValuePB::set_uint32_value(::google::protobuf::uint32 value) { |
2441 | 58.8M | if (!has_uint32_value()) { |
2442 | 7.61M | clear_value(); |
2443 | 7.61M | set_has_uint32_value(); |
2444 | 7.61M | } |
2445 | 58.8M | value_.uint32_value_ = value; |
2446 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.uint32_value) |
2447 | 58.8M | } |
2448 | | |
2449 | | // optional uint64 uint64_value = 24; |
2450 | 0 | inline bool QLValuePB::has_uint64_value() const { |
2451 | 0 | return value_case() == kUint64Value; |
2452 | 0 | } |
2453 | 0 | inline void QLValuePB::set_has_uint64_value() { |
2454 | 0 | _oneof_case_[0] = kUint64Value; |
2455 | 0 | } |
2456 | 0 | inline void QLValuePB::clear_uint64_value() { |
2457 | 0 | if (has_uint64_value()) { |
2458 | 0 | value_.uint64_value_ = GOOGLE_ULONGLONG(0); |
2459 | 0 | clear_has_value(); |
2460 | 0 | } |
2461 | 0 | } |
2462 | 0 | inline ::google::protobuf::uint64 QLValuePB::uint64_value() const { |
2463 | 0 | // @@protoc_insertion_point(field_get:yb.QLValuePB.uint64_value) |
2464 | 0 | if (has_uint64_value()) { |
2465 | 0 | return value_.uint64_value_; |
2466 | 0 | } |
2467 | 0 | return GOOGLE_ULONGLONG(0); |
2468 | 0 | } |
2469 | 0 | inline void QLValuePB::set_uint64_value(::google::protobuf::uint64 value) { |
2470 | 0 | if (!has_uint64_value()) { |
2471 | 0 | clear_value(); |
2472 | 0 | set_has_uint64_value(); |
2473 | 0 | } |
2474 | 0 | value_.uint64_value_ = value; |
2475 | 0 | // @@protoc_insertion_point(field_set:yb.QLValuePB.uint64_value) |
2476 | 0 | } |
2477 | | |
2478 | | // optional .yb.QLVirtualValuePB virtual_value = 25; |
2479 | 64 | inline bool QLValuePB::has_virtual_value() const { |
2480 | 64 | return value_case() == kVirtualValue; |
2481 | 64 | } |
2482 | 24 | inline void QLValuePB::set_has_virtual_value() { |
2483 | 24 | _oneof_case_[0] = kVirtualValue; |
2484 | 24 | } |
2485 | 0 | inline void QLValuePB::clear_virtual_value() { |
2486 | 0 | if (has_virtual_value()) { |
2487 | 0 | value_.virtual_value_ = 1; |
2488 | 0 | clear_has_value(); |
2489 | 0 | } |
2490 | 0 | } |
2491 | 40 | inline ::yb::QLVirtualValuePB QLValuePB::virtual_value() const { |
2492 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.virtual_value) |
2493 | 40 | if (has_virtual_value()) { |
2494 | 40 | return static_cast< ::yb::QLVirtualValuePB >(value_.virtual_value_); |
2495 | 40 | } |
2496 | 0 | return static_cast< ::yb::QLVirtualValuePB >(1); |
2497 | 0 | } |
2498 | 24 | inline void QLValuePB::set_virtual_value(::yb::QLVirtualValuePB value) { |
2499 | 24 | assert(::yb::QLVirtualValuePB_IsValid(value)); |
2500 | 24 | if (!has_virtual_value()) { |
2501 | 24 | clear_value(); |
2502 | 24 | set_has_virtual_value(); |
2503 | 24 | } |
2504 | 24 | value_.virtual_value_ = value; |
2505 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.virtual_value) |
2506 | 24 | } |
2507 | | |
2508 | | // optional uint32 gin_null_value = 26; |
2509 | 1.27k | inline bool QLValuePB::has_gin_null_value() const { |
2510 | 1.27k | return value_case() == kGinNullValue; |
2511 | 1.27k | } |
2512 | 425 | inline void QLValuePB::set_has_gin_null_value() { |
2513 | 425 | _oneof_case_[0] = kGinNullValue; |
2514 | 425 | } |
2515 | 0 | inline void QLValuePB::clear_gin_null_value() { |
2516 | 0 | if (has_gin_null_value()) { |
2517 | 0 | value_.gin_null_value_ = 0u; |
2518 | 0 | clear_has_value(); |
2519 | 0 | } |
2520 | 0 | } |
2521 | 1.04k | inline ::google::protobuf::uint32 QLValuePB::gin_null_value() const { |
2522 | | // @@protoc_insertion_point(field_get:yb.QLValuePB.gin_null_value) |
2523 | 1.04k | if (has_gin_null_value()) { |
2524 | 1.04k | return value_.gin_null_value_; |
2525 | 1.04k | } |
2526 | 0 | return 0u; |
2527 | 0 | } |
2528 | 234 | inline void QLValuePB::set_gin_null_value(::google::protobuf::uint32 value) { |
2529 | 234 | if (!has_gin_null_value()) { |
2530 | 234 | clear_value(); |
2531 | 234 | set_has_gin_null_value(); |
2532 | 234 | } |
2533 | 234 | value_.gin_null_value_ = value; |
2534 | | // @@protoc_insertion_point(field_set:yb.QLValuePB.gin_null_value) |
2535 | 234 | } |
2536 | | |
2537 | 389M | inline bool QLValuePB::has_value() const { |
2538 | 389M | return value_case() != VALUE_NOT_SET; |
2539 | 389M | } |
2540 | 390M | inline void QLValuePB::clear_has_value() { |
2541 | 390M | _oneof_case_[0] = VALUE_NOT_SET; |
2542 | 390M | } |
2543 | 3.13G | inline QLValuePB::ValueCase QLValuePB::value_case() const { |
2544 | 3.13G | return QLValuePB::ValueCase(_oneof_case_[0]); |
2545 | 3.13G | } |
2546 | | // ------------------------------------------------------------------- |
2547 | | |
2548 | | // DatumMessagePB |
2549 | | |
2550 | | // optional string column_name = 1; |
2551 | 78.3k | inline bool DatumMessagePB::has_column_name() const { |
2552 | 78.3k | return (_has_bits_[0] & 0x00000001u) != 0; |
2553 | 78.3k | } |
2554 | 39.6k | inline void DatumMessagePB::set_has_column_name() { |
2555 | 39.6k | _has_bits_[0] |= 0x00000001u; |
2556 | 39.6k | } |
2557 | 0 | inline void DatumMessagePB::clear_has_column_name() { |
2558 | 0 | _has_bits_[0] &= ~0x00000001u; |
2559 | 0 | } |
2560 | 0 | inline void DatumMessagePB::clear_column_name() { |
2561 | 0 | column_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2562 | 0 | clear_has_column_name(); |
2563 | 0 | } |
2564 | 195k | inline const ::std::string& DatumMessagePB::column_name() const { |
2565 | | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.column_name) |
2566 | 195k | return column_name_.GetNoArena(); |
2567 | 195k | } |
2568 | 39.1k | inline void DatumMessagePB::set_column_name(const ::std::string& value) { |
2569 | 39.1k | set_has_column_name(); |
2570 | 39.1k | column_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2571 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.column_name) |
2572 | 39.1k | } |
2573 | | #if LANG_CXX11 |
2574 | 0 | inline void DatumMessagePB::set_column_name(::std::string&& value) { |
2575 | 0 | set_has_column_name(); |
2576 | 0 | column_name_.SetNoArena( |
2577 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2578 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.DatumMessagePB.column_name) |
2579 | 0 | } |
2580 | | #endif |
2581 | 0 | inline void DatumMessagePB::set_column_name(const char* value) { |
2582 | 0 | GOOGLE_DCHECK(value != NULL); |
2583 | 0 | set_has_column_name(); |
2584 | 0 | column_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2585 | 0 | // @@protoc_insertion_point(field_set_char:yb.DatumMessagePB.column_name) |
2586 | 0 | } |
2587 | 0 | inline void DatumMessagePB::set_column_name(const char* value, size_t size) { |
2588 | 0 | set_has_column_name(); |
2589 | 0 | column_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2590 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2591 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.DatumMessagePB.column_name) |
2592 | 0 | } |
2593 | 0 | inline ::std::string* DatumMessagePB::mutable_column_name() { |
2594 | 0 | set_has_column_name(); |
2595 | 0 | // @@protoc_insertion_point(field_mutable:yb.DatumMessagePB.column_name) |
2596 | 0 | return column_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2597 | 0 | } |
2598 | 0 | inline ::std::string* DatumMessagePB::release_column_name() { |
2599 | 0 | // @@protoc_insertion_point(field_release:yb.DatumMessagePB.column_name) |
2600 | 0 | clear_has_column_name(); |
2601 | 0 | return column_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2602 | 0 | } |
2603 | 0 | inline void DatumMessagePB::set_allocated_column_name(::std::string* column_name) { |
2604 | 0 | if (column_name != NULL) { |
2605 | 0 | set_has_column_name(); |
2606 | 0 | } else { |
2607 | 0 | clear_has_column_name(); |
2608 | 0 | } |
2609 | 0 | column_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), column_name); |
2610 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DatumMessagePB.column_name) |
2611 | 0 | } |
2612 | | |
2613 | | // optional int64 column_type = 2; |
2614 | 78.3k | inline bool DatumMessagePB::has_column_type() const { |
2615 | 78.3k | return (_has_bits_[0] & 0x00000002u) != 0; |
2616 | 78.3k | } |
2617 | 39.1k | inline void DatumMessagePB::set_has_column_type() { |
2618 | 39.1k | _has_bits_[0] |= 0x00000002u; |
2619 | 39.1k | } |
2620 | 0 | inline void DatumMessagePB::clear_has_column_type() { |
2621 | 0 | _has_bits_[0] &= ~0x00000002u; |
2622 | 0 | } |
2623 | 0 | inline void DatumMessagePB::clear_column_type() { |
2624 | 0 | column_type_ = GOOGLE_LONGLONG(0); |
2625 | 0 | clear_has_column_type(); |
2626 | 0 | } |
2627 | 117k | inline ::google::protobuf::int64 DatumMessagePB::column_type() const { |
2628 | | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.column_type) |
2629 | 117k | return column_type_; |
2630 | 117k | } |
2631 | 39.1k | inline void DatumMessagePB::set_column_type(::google::protobuf::int64 value) { |
2632 | 39.1k | set_has_column_type(); |
2633 | 39.1k | column_type_ = value; |
2634 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.column_type) |
2635 | 39.1k | } |
2636 | | |
2637 | | // optional int32 datum_int32 = 3; |
2638 | 156k | inline bool DatumMessagePB::has_datum_int32() const { |
2639 | 156k | return datum_case() == kDatumInt32; |
2640 | 156k | } |
2641 | 39.2k | inline void DatumMessagePB::set_has_datum_int32() { |
2642 | 39.2k | _oneof_case_[0] = kDatumInt32; |
2643 | 39.2k | } |
2644 | 0 | inline void DatumMessagePB::clear_datum_int32() { |
2645 | 0 | if (has_datum_int32()) { |
2646 | 0 | datum_.datum_int32_ = 0; |
2647 | 0 | clear_has_datum(); |
2648 | 0 | } |
2649 | 0 | } |
2650 | 117k | inline ::google::protobuf::int32 DatumMessagePB::datum_int32() const { |
2651 | | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_int32) |
2652 | 117k | if (has_datum_int32()) { |
2653 | 117k | return datum_.datum_int32_; |
2654 | 117k | } |
2655 | 0 | return 0; |
2656 | 0 | } |
2657 | 39.2k | inline void DatumMessagePB::set_datum_int32(::google::protobuf::int32 value) { |
2658 | 39.2k | if (!has_datum_int32()) { |
2659 | 39.2k | clear_datum(); |
2660 | 39.2k | set_has_datum_int32(); |
2661 | 39.2k | } |
2662 | 39.2k | datum_.datum_int32_ = value; |
2663 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_int32) |
2664 | 39.2k | } |
2665 | | |
2666 | | // optional int64 datum_int64 = 4; |
2667 | 0 | inline bool DatumMessagePB::has_datum_int64() const { |
2668 | 0 | return datum_case() == kDatumInt64; |
2669 | 0 | } |
2670 | 0 | inline void DatumMessagePB::set_has_datum_int64() { |
2671 | 0 | _oneof_case_[0] = kDatumInt64; |
2672 | 0 | } |
2673 | 0 | inline void DatumMessagePB::clear_datum_int64() { |
2674 | 0 | if (has_datum_int64()) { |
2675 | 0 | datum_.datum_int64_ = GOOGLE_LONGLONG(0); |
2676 | 0 | clear_has_datum(); |
2677 | 0 | } |
2678 | 0 | } |
2679 | 0 | inline ::google::protobuf::int64 DatumMessagePB::datum_int64() const { |
2680 | 0 | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_int64) |
2681 | 0 | if (has_datum_int64()) { |
2682 | 0 | return datum_.datum_int64_; |
2683 | 0 | } |
2684 | 0 | return GOOGLE_LONGLONG(0); |
2685 | 0 | } |
2686 | 0 | inline void DatumMessagePB::set_datum_int64(::google::protobuf::int64 value) { |
2687 | 0 | if (!has_datum_int64()) { |
2688 | 0 | clear_datum(); |
2689 | 0 | set_has_datum_int64(); |
2690 | 0 | } |
2691 | 0 | datum_.datum_int64_ = value; |
2692 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_int64) |
2693 | 0 | } |
2694 | | |
2695 | | // optional float datum_float = 5; |
2696 | 0 | inline bool DatumMessagePB::has_datum_float() const { |
2697 | 0 | return datum_case() == kDatumFloat; |
2698 | 0 | } |
2699 | 0 | inline void DatumMessagePB::set_has_datum_float() { |
2700 | 0 | _oneof_case_[0] = kDatumFloat; |
2701 | 0 | } |
2702 | 0 | inline void DatumMessagePB::clear_datum_float() { |
2703 | 0 | if (has_datum_float()) { |
2704 | 0 | datum_.datum_float_ = 0; |
2705 | 0 | clear_has_datum(); |
2706 | 0 | } |
2707 | 0 | } |
2708 | 0 | inline float DatumMessagePB::datum_float() const { |
2709 | 0 | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_float) |
2710 | 0 | if (has_datum_float()) { |
2711 | 0 | return datum_.datum_float_; |
2712 | 0 | } |
2713 | 0 | return 0; |
2714 | 0 | } |
2715 | 0 | inline void DatumMessagePB::set_datum_float(float value) { |
2716 | 0 | if (!has_datum_float()) { |
2717 | 0 | clear_datum(); |
2718 | 0 | set_has_datum_float(); |
2719 | 0 | } |
2720 | 0 | datum_.datum_float_ = value; |
2721 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_float) |
2722 | 0 | } |
2723 | | |
2724 | | // optional double datum_double = 6; |
2725 | 20 | inline bool DatumMessagePB::has_datum_double() const { |
2726 | 20 | return datum_case() == kDatumDouble; |
2727 | 20 | } |
2728 | 10 | inline void DatumMessagePB::set_has_datum_double() { |
2729 | 10 | _oneof_case_[0] = kDatumDouble; |
2730 | 10 | } |
2731 | 0 | inline void DatumMessagePB::clear_datum_double() { |
2732 | 0 | if (has_datum_double()) { |
2733 | 0 | datum_.datum_double_ = 0; |
2734 | 0 | clear_has_datum(); |
2735 | 0 | } |
2736 | 0 | } |
2737 | 10 | inline double DatumMessagePB::datum_double() const { |
2738 | | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_double) |
2739 | 10 | if (has_datum_double()) { |
2740 | 10 | return datum_.datum_double_; |
2741 | 10 | } |
2742 | 0 | return 0; |
2743 | 0 | } |
2744 | 10 | inline void DatumMessagePB::set_datum_double(double value) { |
2745 | 10 | if (!has_datum_double()) { |
2746 | 10 | clear_datum(); |
2747 | 10 | set_has_datum_double(); |
2748 | 10 | } |
2749 | 10 | datum_.datum_double_ = value; |
2750 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_double) |
2751 | 10 | } |
2752 | | |
2753 | | // optional bool datum_bool = 7; |
2754 | 10 | inline bool DatumMessagePB::has_datum_bool() const { |
2755 | 10 | return datum_case() == kDatumBool; |
2756 | 10 | } |
2757 | 5 | inline void DatumMessagePB::set_has_datum_bool() { |
2758 | 5 | _oneof_case_[0] = kDatumBool; |
2759 | 5 | } |
2760 | 0 | inline void DatumMessagePB::clear_datum_bool() { |
2761 | 0 | if (has_datum_bool()) { |
2762 | 0 | datum_.datum_bool_ = false; |
2763 | 0 | clear_has_datum(); |
2764 | 0 | } |
2765 | 0 | } |
2766 | 5 | inline bool DatumMessagePB::datum_bool() const { |
2767 | | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_bool) |
2768 | 5 | if (has_datum_bool()) { |
2769 | 5 | return datum_.datum_bool_; |
2770 | 5 | } |
2771 | 0 | return false; |
2772 | 0 | } |
2773 | 5 | inline void DatumMessagePB::set_datum_bool(bool value) { |
2774 | 5 | if (!has_datum_bool()) { |
2775 | 5 | clear_datum(); |
2776 | 5 | set_has_datum_bool(); |
2777 | 5 | } |
2778 | 5 | datum_.datum_bool_ = value; |
2779 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_bool) |
2780 | 5 | } |
2781 | | |
2782 | | // optional string datum_string = 8; |
2783 | 1.45k | inline bool DatumMessagePB::has_datum_string() const { |
2784 | 1.45k | return datum_case() == kDatumString; |
2785 | 1.45k | } |
2786 | 263 | inline void DatumMessagePB::set_has_datum_string() { |
2787 | 263 | _oneof_case_[0] = kDatumString; |
2788 | 263 | } |
2789 | 0 | inline void DatumMessagePB::clear_datum_string() { |
2790 | 0 | if (has_datum_string()) { |
2791 | 0 | datum_.datum_string_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2792 | 0 | clear_has_datum(); |
2793 | 0 | } |
2794 | 0 | } |
2795 | 1.19k | inline const ::std::string& DatumMessagePB::datum_string() const { |
2796 | | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_string) |
2797 | 1.19k | if (has_datum_string()) { |
2798 | 1.19k | return datum_.datum_string_.GetNoArena(); |
2799 | 1.19k | } |
2800 | 0 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
2801 | 0 | } |
2802 | 31 | inline void DatumMessagePB::set_datum_string(const ::std::string& value) { |
2803 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_string) |
2804 | 31 | if (!has_datum_string()) { |
2805 | 31 | clear_datum(); |
2806 | 31 | set_has_datum_string(); |
2807 | 31 | datum_.datum_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2808 | 31 | } |
2809 | 31 | datum_.datum_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2810 | | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_string) |
2811 | 31 | } |
2812 | | #if LANG_CXX11 |
2813 | 0 | inline void DatumMessagePB::set_datum_string(::std::string&& value) { |
2814 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_string) |
2815 | 0 | if (!has_datum_string()) { |
2816 | 0 | clear_datum(); |
2817 | 0 | set_has_datum_string(); |
2818 | 0 | datum_.datum_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2819 | 0 | } |
2820 | 0 | datum_.datum_string_.SetNoArena( |
2821 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2822 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.DatumMessagePB.datum_string) |
2823 | 0 | } |
2824 | | #endif |
2825 | 0 | inline void DatumMessagePB::set_datum_string(const char* value) { |
2826 | 0 | GOOGLE_DCHECK(value != NULL); |
2827 | 0 | if (!has_datum_string()) { |
2828 | 0 | clear_datum(); |
2829 | 0 | set_has_datum_string(); |
2830 | 0 | datum_.datum_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2831 | 0 | } |
2832 | 0 | datum_.datum_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2833 | 0 | ::std::string(value)); |
2834 | 0 | // @@protoc_insertion_point(field_set_char:yb.DatumMessagePB.datum_string) |
2835 | 0 | } |
2836 | 232 | inline void DatumMessagePB::set_datum_string(const char* value, size_t size) { |
2837 | 232 | if (!has_datum_string()) { |
2838 | 232 | clear_datum(); |
2839 | 232 | set_has_datum_string(); |
2840 | 232 | datum_.datum_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2841 | 232 | } |
2842 | 232 | datum_.datum_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2843 | 232 | reinterpret_cast<const char*>(value), size)); |
2844 | | // @@protoc_insertion_point(field_set_pointer:yb.DatumMessagePB.datum_string) |
2845 | 232 | } |
2846 | 0 | inline ::std::string* DatumMessagePB::mutable_datum_string() { |
2847 | 0 | if (!has_datum_string()) { |
2848 | 0 | clear_datum(); |
2849 | 0 | set_has_datum_string(); |
2850 | 0 | datum_.datum_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2851 | 0 | } |
2852 | 0 | // @@protoc_insertion_point(field_mutable:yb.DatumMessagePB.datum_string) |
2853 | 0 | return datum_.datum_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2854 | 0 | } |
2855 | 0 | inline ::std::string* DatumMessagePB::release_datum_string() { |
2856 | 0 | // @@protoc_insertion_point(field_release:yb.DatumMessagePB.datum_string) |
2857 | 0 | if (has_datum_string()) { |
2858 | 0 | clear_has_datum(); |
2859 | 0 | return datum_.datum_string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2860 | 0 | } else { |
2861 | 0 | return NULL; |
2862 | 0 | } |
2863 | 0 | } |
2864 | 0 | inline void DatumMessagePB::set_allocated_datum_string(::std::string* datum_string) { |
2865 | 0 | if (!has_datum_string()) { |
2866 | 0 | datum_.datum_string_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2867 | 0 | } |
2868 | 0 | clear_datum(); |
2869 | 0 | if (datum_string != NULL) { |
2870 | 0 | set_has_datum_string(); |
2871 | 0 | datum_.datum_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2872 | 0 | datum_string); |
2873 | 0 | } |
2874 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DatumMessagePB.datum_string) |
2875 | 0 | } |
2876 | | |
2877 | | // optional bytes datum_bytes = 9; |
2878 | 0 | inline bool DatumMessagePB::has_datum_bytes() const { |
2879 | 0 | return datum_case() == kDatumBytes; |
2880 | 0 | } |
2881 | 0 | inline void DatumMessagePB::set_has_datum_bytes() { |
2882 | 0 | _oneof_case_[0] = kDatumBytes; |
2883 | 0 | } |
2884 | 0 | inline void DatumMessagePB::clear_datum_bytes() { |
2885 | 0 | if (has_datum_bytes()) { |
2886 | 0 | datum_.datum_bytes_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2887 | 0 | clear_has_datum(); |
2888 | 0 | } |
2889 | 0 | } |
2890 | 0 | inline const ::std::string& DatumMessagePB::datum_bytes() const { |
2891 | 0 | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_bytes) |
2892 | 0 | if (has_datum_bytes()) { |
2893 | 0 | return datum_.datum_bytes_.GetNoArena(); |
2894 | 0 | } |
2895 | 0 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
2896 | 0 | } |
2897 | 0 | inline void DatumMessagePB::set_datum_bytes(const ::std::string& value) { |
2898 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_bytes) |
2899 | 0 | if (!has_datum_bytes()) { |
2900 | 0 | clear_datum(); |
2901 | 0 | set_has_datum_bytes(); |
2902 | 0 | datum_.datum_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2903 | 0 | } |
2904 | 0 | datum_.datum_bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2905 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_bytes) |
2906 | 0 | } |
2907 | | #if LANG_CXX11 |
2908 | 0 | inline void DatumMessagePB::set_datum_bytes(::std::string&& value) { |
2909 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_bytes) |
2910 | 0 | if (!has_datum_bytes()) { |
2911 | 0 | clear_datum(); |
2912 | 0 | set_has_datum_bytes(); |
2913 | 0 | datum_.datum_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2914 | 0 | } |
2915 | 0 | datum_.datum_bytes_.SetNoArena( |
2916 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2917 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.DatumMessagePB.datum_bytes) |
2918 | 0 | } |
2919 | | #endif |
2920 | 0 | inline void DatumMessagePB::set_datum_bytes(const char* value) { |
2921 | 0 | GOOGLE_DCHECK(value != NULL); |
2922 | 0 | if (!has_datum_bytes()) { |
2923 | 0 | clear_datum(); |
2924 | 0 | set_has_datum_bytes(); |
2925 | 0 | datum_.datum_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2926 | 0 | } |
2927 | 0 | datum_.datum_bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2928 | 0 | ::std::string(value)); |
2929 | 0 | // @@protoc_insertion_point(field_set_char:yb.DatumMessagePB.datum_bytes) |
2930 | 0 | } |
2931 | 0 | inline void DatumMessagePB::set_datum_bytes(const void* value, size_t size) { |
2932 | 0 | if (!has_datum_bytes()) { |
2933 | 0 | clear_datum(); |
2934 | 0 | set_has_datum_bytes(); |
2935 | 0 | datum_.datum_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2936 | 0 | } |
2937 | 0 | datum_.datum_bytes_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2938 | 0 | reinterpret_cast<const char*>(value), size)); |
2939 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.DatumMessagePB.datum_bytes) |
2940 | 0 | } |
2941 | 0 | inline ::std::string* DatumMessagePB::mutable_datum_bytes() { |
2942 | 0 | if (!has_datum_bytes()) { |
2943 | 0 | clear_datum(); |
2944 | 0 | set_has_datum_bytes(); |
2945 | 0 | datum_.datum_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2946 | 0 | } |
2947 | 0 | // @@protoc_insertion_point(field_mutable:yb.DatumMessagePB.datum_bytes) |
2948 | 0 | return datum_.datum_bytes_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2949 | 0 | } |
2950 | 0 | inline ::std::string* DatumMessagePB::release_datum_bytes() { |
2951 | 0 | // @@protoc_insertion_point(field_release:yb.DatumMessagePB.datum_bytes) |
2952 | 0 | if (has_datum_bytes()) { |
2953 | 0 | clear_has_datum(); |
2954 | 0 | return datum_.datum_bytes_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2955 | 0 | } else { |
2956 | 0 | return NULL; |
2957 | 0 | } |
2958 | 0 | } |
2959 | 0 | inline void DatumMessagePB::set_allocated_datum_bytes(::std::string* datum_bytes) { |
2960 | 0 | if (!has_datum_bytes()) { |
2961 | 0 | datum_.datum_bytes_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2962 | 0 | } |
2963 | 0 | clear_datum(); |
2964 | 0 | if (datum_bytes != NULL) { |
2965 | 0 | set_has_datum_bytes(); |
2966 | 0 | datum_.datum_bytes_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2967 | 0 | datum_bytes); |
2968 | 0 | } |
2969 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DatumMessagePB.datum_bytes) |
2970 | 0 | } |
2971 | | |
2972 | | // optional bool datum_missing = 10; |
2973 | 0 | inline bool DatumMessagePB::has_datum_missing() const { |
2974 | 0 | return datum_case() == kDatumMissing; |
2975 | 0 | } |
2976 | 0 | inline void DatumMessagePB::set_has_datum_missing() { |
2977 | 0 | _oneof_case_[0] = kDatumMissing; |
2978 | 0 | } |
2979 | 0 | inline void DatumMessagePB::clear_datum_missing() { |
2980 | 0 | if (has_datum_missing()) { |
2981 | 0 | datum_.datum_missing_ = false; |
2982 | 0 | clear_has_datum(); |
2983 | 0 | } |
2984 | 0 | } |
2985 | 0 | inline bool DatumMessagePB::datum_missing() const { |
2986 | 0 | // @@protoc_insertion_point(field_get:yb.DatumMessagePB.datum_missing) |
2987 | 0 | if (has_datum_missing()) { |
2988 | 0 | return datum_.datum_missing_; |
2989 | 0 | } |
2990 | 0 | return false; |
2991 | 0 | } |
2992 | 0 | inline void DatumMessagePB::set_datum_missing(bool value) { |
2993 | 0 | if (!has_datum_missing()) { |
2994 | 0 | clear_datum(); |
2995 | 0 | set_has_datum_missing(); |
2996 | 0 | } |
2997 | 0 | datum_.datum_missing_ = value; |
2998 | 0 | // @@protoc_insertion_point(field_set:yb.DatumMessagePB.datum_missing) |
2999 | 0 | } |
3000 | | |
3001 | 78.7k | inline bool DatumMessagePB::has_datum() const { |
3002 | 78.7k | return datum_case() != DATUM_NOT_SET; |
3003 | 78.7k | } |
3004 | 92.4k | inline void DatumMessagePB::clear_has_datum() { |
3005 | 92.4k | _oneof_case_[0] = DATUM_NOT_SET; |
3006 | 92.4k | } |
3007 | 552k | inline DatumMessagePB::DatumCase DatumMessagePB::datum_case() const { |
3008 | 552k | return DatumMessagePB::DatumCase(_oneof_case_[0]); |
3009 | 552k | } |
3010 | | #ifdef __GNUC__ |
3011 | | #pragma GCC diagnostic pop |
3012 | | #endif // __GNUC__ |
3013 | | // ------------------------------------------------------------------- |
3014 | | |
3015 | | // ------------------------------------------------------------------- |
3016 | | |
3017 | | // ------------------------------------------------------------------- |
3018 | | |
3019 | | |
3020 | | // @@protoc_insertion_point(namespace_scope) |
3021 | | |
3022 | | } // namespace yb |
3023 | | |
3024 | | namespace google { |
3025 | | namespace protobuf { |
3026 | | |
3027 | | template <> struct is_proto_enum< ::yb::QLVirtualValuePB> : ::google::protobuf::internal::true_type {}; |
3028 | | template <> |
3029 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::QLVirtualValuePB>() { |
3030 | 0 | return ::yb::QLVirtualValuePB_descriptor(); |
3031 | 0 | } |
3032 | | template <> struct is_proto_enum< ::yb::DataType> : ::google::protobuf::internal::true_type {}; |
3033 | | template <> |
3034 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::DataType>() { |
3035 | 0 | return ::yb::DataType_descriptor(); |
3036 | 0 | } |
3037 | | template <> struct is_proto_enum< ::yb::QLOperator> : ::google::protobuf::internal::true_type {}; |
3038 | | template <> |
3039 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::QLOperator>() { |
3040 | 0 | return ::yb::QLOperator_descriptor(); |
3041 | 0 | } |
3042 | | |
3043 | | } // namespace protobuf |
3044 | | } // namespace google |
3045 | | |
3046 | | // @@protoc_insertion_point(global_scope) |
3047 | | |
3048 | | #endif // PROTOBUF_yb_2fcommon_2fvalue_2eproto__INCLUDED |