/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/common/common.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: yb/common/common.proto |
3 | | |
4 | | #ifndef PROTOBUF_yb_2fcommon_2fcommon_2eproto__INCLUDED |
5 | | #define PROTOBUF_yb_2fcommon_2fcommon_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/map.h> // IWYU pragma: export |
32 | | #include <google/protobuf/map_entry.h> |
33 | | #include <google/protobuf/map_field_inl.h> |
34 | | #include <google/protobuf/generated_enum_reflection.h> |
35 | | #include <google/protobuf/unknown_field_set.h> |
36 | | #include "yb/common/common_types.pb.h" |
37 | | #include "yb/common/transaction.pb.h" |
38 | | #include "yb/common/value.pb.h" |
39 | | // @@protoc_insertion_point(includes) |
40 | | |
41 | | namespace protobuf_yb_2fcommon_2fcommon_2eproto { |
42 | | // Internal implementation detail -- do not use these members. |
43 | | struct TableStruct { |
44 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
45 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
46 | | static const ::google::protobuf::internal::ParseTable schema[34]; |
47 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
48 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
49 | | static const ::google::protobuf::uint32 offsets[]; |
50 | | }; |
51 | | void AddDescriptors(); |
52 | | void InitDefaultsQLTypePB_UDTypeInfoImpl(); |
53 | | void InitDefaultsQLTypePB_UDTypeInfo(); |
54 | | void InitDefaultsQLTypePBImpl(); |
55 | | void InitDefaultsQLTypePB(); |
56 | | void InitDefaultsColumnSchemaPBImpl(); |
57 | | void InitDefaultsColumnSchemaPB(); |
58 | | void InitDefaultsColocatedTableIdentifierPBImpl(); |
59 | | void InitDefaultsColocatedTableIdentifierPB(); |
60 | | void InitDefaultsTablePropertiesPBImpl(); |
61 | | void InitDefaultsTablePropertiesPB(); |
62 | | void InitDefaultsSchemaPBImpl(); |
63 | | void InitDefaultsSchemaPB(); |
64 | | void InitDefaultsIndexInfoPB_IndexColumnPBImpl(); |
65 | | void InitDefaultsIndexInfoPB_IndexColumnPB(); |
66 | | void InitDefaultsIndexInfoPB_WherePredicateSpecPBImpl(); |
67 | | void InitDefaultsIndexInfoPB_WherePredicateSpecPB(); |
68 | | void InitDefaultsIndexInfoPBImpl(); |
69 | | void InitDefaultsIndexInfoPB(); |
70 | | void InitDefaultsPartitionSchemaPB_ColumnIdentifierPBImpl(); |
71 | | void InitDefaultsPartitionSchemaPB_ColumnIdentifierPB(); |
72 | | void InitDefaultsPartitionSchemaPB_RangeSplitPBImpl(); |
73 | | void InitDefaultsPartitionSchemaPB_RangeSplitPB(); |
74 | | void InitDefaultsPartitionSchemaPB_RangeSchemaPBImpl(); |
75 | | void InitDefaultsPartitionSchemaPB_RangeSchemaPB(); |
76 | | void InitDefaultsPartitionSchemaPB_HashBucketSchemaPBImpl(); |
77 | | void InitDefaultsPartitionSchemaPB_HashBucketSchemaPB(); |
78 | | void InitDefaultsPartitionSchemaPBImpl(); |
79 | | void InitDefaultsPartitionSchemaPB(); |
80 | | void InitDefaultsPartitionPBImpl(); |
81 | | void InitDefaultsPartitionPB(); |
82 | | void InitDefaultsTransactionMetadataPBImpl(); |
83 | | void InitDefaultsTransactionMetadataPB(); |
84 | | void InitDefaultsReadHybridTimePBImpl(); |
85 | | void InitDefaultsReadHybridTimePB(); |
86 | | void InitDefaultsChildTransactionDataPB_LocalLimitsEntry_DoNotUseImpl(); |
87 | | void InitDefaultsChildTransactionDataPB_LocalLimitsEntry_DoNotUse(); |
88 | | void InitDefaultsChildTransactionDataPBImpl(); |
89 | | void InitDefaultsChildTransactionDataPB(); |
90 | | void InitDefaultsTransactionInvolvedTabletPBImpl(); |
91 | | void InitDefaultsTransactionInvolvedTabletPB(); |
92 | | void InitDefaultsChildTransactionResultPB_ReadRestartsEntry_DoNotUseImpl(); |
93 | | void InitDefaultsChildTransactionResultPB_ReadRestartsEntry_DoNotUse(); |
94 | | void InitDefaultsChildTransactionResultPBImpl(); |
95 | | void InitDefaultsChildTransactionResultPB(); |
96 | | void InitDefaultsDeletedColumnPBImpl(); |
97 | | void InitDefaultsDeletedColumnPB(); |
98 | | void InitDefaultsQLBCallPBImpl(); |
99 | | void InitDefaultsQLBCallPB(); |
100 | | void InitDefaultsExplainPlanPBImpl(); |
101 | | void InitDefaultsExplainPlanPB(); |
102 | | void InitDefaultsSelectPlanPBImpl(); |
103 | | void InitDefaultsSelectPlanPB(); |
104 | | void InitDefaultsInsertPlanPBImpl(); |
105 | | void InitDefaultsInsertPlanPB(); |
106 | | void InitDefaultsUpdatePlanPBImpl(); |
107 | | void InitDefaultsUpdatePlanPB(); |
108 | | void InitDefaultsDeletePlanPBImpl(); |
109 | | void InitDefaultsDeletePlanPB(); |
110 | 17.1k | inline void InitDefaults() { |
111 | 17.1k | InitDefaultsQLTypePB_UDTypeInfo(); |
112 | 17.1k | InitDefaultsQLTypePB(); |
113 | 17.1k | InitDefaultsColumnSchemaPB(); |
114 | 17.1k | InitDefaultsColocatedTableIdentifierPB(); |
115 | 17.1k | InitDefaultsTablePropertiesPB(); |
116 | 17.1k | InitDefaultsSchemaPB(); |
117 | 17.1k | InitDefaultsIndexInfoPB_IndexColumnPB(); |
118 | 17.1k | InitDefaultsIndexInfoPB_WherePredicateSpecPB(); |
119 | 17.1k | InitDefaultsIndexInfoPB(); |
120 | 17.1k | InitDefaultsPartitionSchemaPB_ColumnIdentifierPB(); |
121 | 17.1k | InitDefaultsPartitionSchemaPB_RangeSplitPB(); |
122 | 17.1k | InitDefaultsPartitionSchemaPB_RangeSchemaPB(); |
123 | 17.1k | InitDefaultsPartitionSchemaPB_HashBucketSchemaPB(); |
124 | 17.1k | InitDefaultsPartitionSchemaPB(); |
125 | 17.1k | InitDefaultsPartitionPB(); |
126 | 17.1k | InitDefaultsTransactionMetadataPB(); |
127 | 17.1k | InitDefaultsReadHybridTimePB(); |
128 | 17.1k | InitDefaultsChildTransactionDataPB_LocalLimitsEntry_DoNotUse(); |
129 | 17.1k | InitDefaultsChildTransactionDataPB(); |
130 | 17.1k | InitDefaultsTransactionInvolvedTabletPB(); |
131 | 17.1k | InitDefaultsChildTransactionResultPB_ReadRestartsEntry_DoNotUse(); |
132 | 17.1k | InitDefaultsChildTransactionResultPB(); |
133 | 17.1k | InitDefaultsDeletedColumnPB(); |
134 | 17.1k | InitDefaultsQLBCallPB(); |
135 | 17.1k | InitDefaultsExplainPlanPB(); |
136 | 17.1k | InitDefaultsSelectPlanPB(); |
137 | 17.1k | InitDefaultsInsertPlanPB(); |
138 | 17.1k | InitDefaultsUpdatePlanPB(); |
139 | 17.1k | InitDefaultsDeletePlanPB(); |
140 | 17.1k | } |
141 | | } // namespace protobuf_yb_2fcommon_2fcommon_2eproto |
142 | | namespace yb { |
143 | | class ChildTransactionDataPB; |
144 | | class ChildTransactionDataPBDefaultTypeInternal; |
145 | | extern ChildTransactionDataPBDefaultTypeInternal _ChildTransactionDataPB_default_instance_; |
146 | | class ChildTransactionDataPB_LocalLimitsEntry_DoNotUse; |
147 | | class ChildTransactionDataPB_LocalLimitsEntry_DoNotUseDefaultTypeInternal; |
148 | | extern ChildTransactionDataPB_LocalLimitsEntry_DoNotUseDefaultTypeInternal _ChildTransactionDataPB_LocalLimitsEntry_DoNotUse_default_instance_; |
149 | | class ChildTransactionResultPB; |
150 | | class ChildTransactionResultPBDefaultTypeInternal; |
151 | | extern ChildTransactionResultPBDefaultTypeInternal _ChildTransactionResultPB_default_instance_; |
152 | | class ChildTransactionResultPB_ReadRestartsEntry_DoNotUse; |
153 | | class ChildTransactionResultPB_ReadRestartsEntry_DoNotUseDefaultTypeInternal; |
154 | | extern ChildTransactionResultPB_ReadRestartsEntry_DoNotUseDefaultTypeInternal _ChildTransactionResultPB_ReadRestartsEntry_DoNotUse_default_instance_; |
155 | | class ColocatedTableIdentifierPB; |
156 | | class ColocatedTableIdentifierPBDefaultTypeInternal; |
157 | | extern ColocatedTableIdentifierPBDefaultTypeInternal _ColocatedTableIdentifierPB_default_instance_; |
158 | | class ColumnSchemaPB; |
159 | | class ColumnSchemaPBDefaultTypeInternal; |
160 | | extern ColumnSchemaPBDefaultTypeInternal _ColumnSchemaPB_default_instance_; |
161 | | class DeletePlanPB; |
162 | | class DeletePlanPBDefaultTypeInternal; |
163 | | extern DeletePlanPBDefaultTypeInternal _DeletePlanPB_default_instance_; |
164 | | class DeletedColumnPB; |
165 | | class DeletedColumnPBDefaultTypeInternal; |
166 | | extern DeletedColumnPBDefaultTypeInternal _DeletedColumnPB_default_instance_; |
167 | | class ExplainPlanPB; |
168 | | class ExplainPlanPBDefaultTypeInternal; |
169 | | extern ExplainPlanPBDefaultTypeInternal _ExplainPlanPB_default_instance_; |
170 | | class IndexInfoPB; |
171 | | class IndexInfoPBDefaultTypeInternal; |
172 | | extern IndexInfoPBDefaultTypeInternal _IndexInfoPB_default_instance_; |
173 | | class IndexInfoPB_IndexColumnPB; |
174 | | class IndexInfoPB_IndexColumnPBDefaultTypeInternal; |
175 | | extern IndexInfoPB_IndexColumnPBDefaultTypeInternal _IndexInfoPB_IndexColumnPB_default_instance_; |
176 | | class IndexInfoPB_WherePredicateSpecPB; |
177 | | class IndexInfoPB_WherePredicateSpecPBDefaultTypeInternal; |
178 | | extern IndexInfoPB_WherePredicateSpecPBDefaultTypeInternal _IndexInfoPB_WherePredicateSpecPB_default_instance_; |
179 | | class InsertPlanPB; |
180 | | class InsertPlanPBDefaultTypeInternal; |
181 | | extern InsertPlanPBDefaultTypeInternal _InsertPlanPB_default_instance_; |
182 | | class PartitionPB; |
183 | | class PartitionPBDefaultTypeInternal; |
184 | | extern PartitionPBDefaultTypeInternal _PartitionPB_default_instance_; |
185 | | class PartitionSchemaPB; |
186 | | class PartitionSchemaPBDefaultTypeInternal; |
187 | | extern PartitionSchemaPBDefaultTypeInternal _PartitionSchemaPB_default_instance_; |
188 | | class PartitionSchemaPB_ColumnIdentifierPB; |
189 | | class PartitionSchemaPB_ColumnIdentifierPBDefaultTypeInternal; |
190 | | extern PartitionSchemaPB_ColumnIdentifierPBDefaultTypeInternal _PartitionSchemaPB_ColumnIdentifierPB_default_instance_; |
191 | | class PartitionSchemaPB_HashBucketSchemaPB; |
192 | | class PartitionSchemaPB_HashBucketSchemaPBDefaultTypeInternal; |
193 | | extern PartitionSchemaPB_HashBucketSchemaPBDefaultTypeInternal _PartitionSchemaPB_HashBucketSchemaPB_default_instance_; |
194 | | class PartitionSchemaPB_RangeSchemaPB; |
195 | | class PartitionSchemaPB_RangeSchemaPBDefaultTypeInternal; |
196 | | extern PartitionSchemaPB_RangeSchemaPBDefaultTypeInternal _PartitionSchemaPB_RangeSchemaPB_default_instance_; |
197 | | class PartitionSchemaPB_RangeSplitPB; |
198 | | class PartitionSchemaPB_RangeSplitPBDefaultTypeInternal; |
199 | | extern PartitionSchemaPB_RangeSplitPBDefaultTypeInternal _PartitionSchemaPB_RangeSplitPB_default_instance_; |
200 | | class QLBCallPB; |
201 | | class QLBCallPBDefaultTypeInternal; |
202 | | extern QLBCallPBDefaultTypeInternal _QLBCallPB_default_instance_; |
203 | | class QLConditionPB; |
204 | | class QLConditionPBDefaultTypeInternal; |
205 | | extern QLConditionPBDefaultTypeInternal _QLConditionPB_default_instance_; |
206 | | class QLExpressionPB; |
207 | | class QLExpressionPBDefaultTypeInternal; |
208 | | extern QLExpressionPBDefaultTypeInternal _QLExpressionPB_default_instance_; |
209 | | class QLJsonColumnOperationsPB; |
210 | | class QLJsonColumnOperationsPBDefaultTypeInternal; |
211 | | extern QLJsonColumnOperationsPBDefaultTypeInternal _QLJsonColumnOperationsPB_default_instance_; |
212 | | class QLJsonOperationPB; |
213 | | class QLJsonOperationPBDefaultTypeInternal; |
214 | | extern QLJsonOperationPBDefaultTypeInternal _QLJsonOperationPB_default_instance_; |
215 | | class QLSubscriptedColPB; |
216 | | class QLSubscriptedColPBDefaultTypeInternal; |
217 | | extern QLSubscriptedColPBDefaultTypeInternal _QLSubscriptedColPB_default_instance_; |
218 | | class QLTypePB; |
219 | | class QLTypePBDefaultTypeInternal; |
220 | | extern QLTypePBDefaultTypeInternal _QLTypePB_default_instance_; |
221 | | class QLTypePB_UDTypeInfo; |
222 | | class QLTypePB_UDTypeInfoDefaultTypeInternal; |
223 | | extern QLTypePB_UDTypeInfoDefaultTypeInternal _QLTypePB_UDTypeInfo_default_instance_; |
224 | | class ReadHybridTimePB; |
225 | | class ReadHybridTimePBDefaultTypeInternal; |
226 | | extern ReadHybridTimePBDefaultTypeInternal _ReadHybridTimePB_default_instance_; |
227 | | class SchemaPB; |
228 | | class SchemaPBDefaultTypeInternal; |
229 | | extern SchemaPBDefaultTypeInternal _SchemaPB_default_instance_; |
230 | | class SelectPlanPB; |
231 | | class SelectPlanPBDefaultTypeInternal; |
232 | | extern SelectPlanPBDefaultTypeInternal _SelectPlanPB_default_instance_; |
233 | | class TablePropertiesPB; |
234 | | class TablePropertiesPBDefaultTypeInternal; |
235 | | extern TablePropertiesPBDefaultTypeInternal _TablePropertiesPB_default_instance_; |
236 | | class TransactionInvolvedTabletPB; |
237 | | class TransactionInvolvedTabletPBDefaultTypeInternal; |
238 | | extern TransactionInvolvedTabletPBDefaultTypeInternal _TransactionInvolvedTabletPB_default_instance_; |
239 | | class TransactionMetadataPB; |
240 | | class TransactionMetadataPBDefaultTypeInternal; |
241 | | extern TransactionMetadataPBDefaultTypeInternal _TransactionMetadataPB_default_instance_; |
242 | | class UpdatePlanPB; |
243 | | class UpdatePlanPBDefaultTypeInternal; |
244 | | extern UpdatePlanPBDefaultTypeInternal _UpdatePlanPB_default_instance_; |
245 | | } // namespace yb |
246 | | namespace yb { |
247 | | |
248 | | enum PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm { |
249 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_UNKNOWN = 0, |
250 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_MURMUR_HASH_2 = 1 |
251 | | }; |
252 | | bool PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_IsValid(int value); |
253 | | const PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_MIN = PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_UNKNOWN; |
254 | | const PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_MAX = PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_MURMUR_HASH_2; |
255 | | const int PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_ARRAYSIZE = PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_MAX + 1; |
256 | | |
257 | | const ::google::protobuf::EnumDescriptor* PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_descriptor(); |
258 | 0 | inline const ::std::string& PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_Name(PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm value) { |
259 | 0 | return ::google::protobuf::internal::NameOfEnum( |
260 | 0 | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_descriptor(), value); |
261 | 0 | } |
262 | | inline bool PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_Parse( |
263 | 0 | const ::std::string& name, PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm* value) { |
264 | 0 | return ::google::protobuf::internal::ParseNamedEnum<PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm>( |
265 | 0 | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_descriptor(), name, value); |
266 | 0 | } |
267 | | enum PartitionSchemaPB_HashSchema { |
268 | | PartitionSchemaPB_HashSchema_MULTI_COLUMN_HASH_SCHEMA = 1, |
269 | | PartitionSchemaPB_HashSchema_REDIS_HASH_SCHEMA = 2, |
270 | | PartitionSchemaPB_HashSchema_PGSQL_HASH_SCHEMA = 3 |
271 | | }; |
272 | | bool PartitionSchemaPB_HashSchema_IsValid(int value); |
273 | | const PartitionSchemaPB_HashSchema PartitionSchemaPB_HashSchema_HashSchema_MIN = PartitionSchemaPB_HashSchema_MULTI_COLUMN_HASH_SCHEMA; |
274 | | const PartitionSchemaPB_HashSchema PartitionSchemaPB_HashSchema_HashSchema_MAX = PartitionSchemaPB_HashSchema_PGSQL_HASH_SCHEMA; |
275 | | const int PartitionSchemaPB_HashSchema_HashSchema_ARRAYSIZE = PartitionSchemaPB_HashSchema_HashSchema_MAX + 1; |
276 | | |
277 | | const ::google::protobuf::EnumDescriptor* PartitionSchemaPB_HashSchema_descriptor(); |
278 | 0 | inline const ::std::string& PartitionSchemaPB_HashSchema_Name(PartitionSchemaPB_HashSchema value) { |
279 | 0 | return ::google::protobuf::internal::NameOfEnum( |
280 | 0 | PartitionSchemaPB_HashSchema_descriptor(), value); |
281 | 0 | } |
282 | | inline bool PartitionSchemaPB_HashSchema_Parse( |
283 | 0 | const ::std::string& name, PartitionSchemaPB_HashSchema* value) { |
284 | 0 | return ::google::protobuf::internal::ParseNamedEnum<PartitionSchemaPB_HashSchema>( |
285 | 0 | PartitionSchemaPB_HashSchema_descriptor(), name, value); |
286 | 0 | } |
287 | | enum OrderMode { |
288 | | UNKNOWN_ORDER_MODE = 0, |
289 | | UNORDERED = 1, |
290 | | ORDERED = 2 |
291 | | }; |
292 | | bool OrderMode_IsValid(int value); |
293 | | const OrderMode OrderMode_MIN = UNKNOWN_ORDER_MODE; |
294 | | const OrderMode OrderMode_MAX = ORDERED; |
295 | | const int OrderMode_ARRAYSIZE = OrderMode_MAX + 1; |
296 | | |
297 | | const ::google::protobuf::EnumDescriptor* OrderMode_descriptor(); |
298 | 0 | inline const ::std::string& OrderMode_Name(OrderMode value) { |
299 | 0 | return ::google::protobuf::internal::NameOfEnum( |
300 | 0 | OrderMode_descriptor(), value); |
301 | 0 | } |
302 | | inline bool OrderMode_Parse( |
303 | 0 | const ::std::string& name, OrderMode* value) { |
304 | 0 | return ::google::protobuf::internal::ParseNamedEnum<OrderMode>( |
305 | 0 | OrderMode_descriptor(), name, value); |
306 | 0 | } |
307 | | enum WaitPolicy { |
308 | | WAIT_BLOCK = 0, |
309 | | WAIT_SKIP = 1, |
310 | | WAIT_ERROR = 2 |
311 | | }; |
312 | | bool WaitPolicy_IsValid(int value); |
313 | | const WaitPolicy WaitPolicy_MIN = WAIT_BLOCK; |
314 | | const WaitPolicy WaitPolicy_MAX = WAIT_ERROR; |
315 | | const int WaitPolicy_ARRAYSIZE = WaitPolicy_MAX + 1; |
316 | | |
317 | | const ::google::protobuf::EnumDescriptor* WaitPolicy_descriptor(); |
318 | 0 | inline const ::std::string& WaitPolicy_Name(WaitPolicy value) { |
319 | 0 | return ::google::protobuf::internal::NameOfEnum( |
320 | 0 | WaitPolicy_descriptor(), value); |
321 | 0 | } |
322 | | inline bool WaitPolicy_Parse( |
323 | 0 | const ::std::string& name, WaitPolicy* value) { |
324 | 0 | return ::google::protobuf::internal::ParseNamedEnum<WaitPolicy>( |
325 | 0 | WaitPolicy_descriptor(), name, value); |
326 | 0 | } |
327 | | enum InvolvedTabletMetadataState { |
328 | | MISSING = 0, |
329 | | EXIST = 1, |
330 | | MAY_EXIST = 2 |
331 | | }; |
332 | | bool InvolvedTabletMetadataState_IsValid(int value); |
333 | | const InvolvedTabletMetadataState InvolvedTabletMetadataState_MIN = MISSING; |
334 | | const InvolvedTabletMetadataState InvolvedTabletMetadataState_MAX = MAY_EXIST; |
335 | | const int InvolvedTabletMetadataState_ARRAYSIZE = InvolvedTabletMetadataState_MAX + 1; |
336 | | |
337 | | const ::google::protobuf::EnumDescriptor* InvolvedTabletMetadataState_descriptor(); |
338 | 0 | inline const ::std::string& InvolvedTabletMetadataState_Name(InvolvedTabletMetadataState value) { |
339 | 0 | return ::google::protobuf::internal::NameOfEnum( |
340 | 0 | InvolvedTabletMetadataState_descriptor(), value); |
341 | 0 | } |
342 | | inline bool InvolvedTabletMetadataState_Parse( |
343 | 0 | const ::std::string& name, InvolvedTabletMetadataState* value) { |
344 | 0 | return ::google::protobuf::internal::ParseNamedEnum<InvolvedTabletMetadataState>( |
345 | 0 | InvolvedTabletMetadataState_descriptor(), name, value); |
346 | 0 | } |
347 | | // =================================================================== |
348 | | |
349 | | class QLTypePB_UDTypeInfo : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLTypePB.UDTypeInfo) */ { |
350 | | public: |
351 | | QLTypePB_UDTypeInfo(); |
352 | | virtual ~QLTypePB_UDTypeInfo(); |
353 | | |
354 | | QLTypePB_UDTypeInfo(const QLTypePB_UDTypeInfo& from); |
355 | | |
356 | 0 | inline QLTypePB_UDTypeInfo& operator=(const QLTypePB_UDTypeInfo& from) { |
357 | 0 | CopyFrom(from); |
358 | 0 | return *this; |
359 | 0 | } |
360 | | #if LANG_CXX11 |
361 | | QLTypePB_UDTypeInfo(QLTypePB_UDTypeInfo&& from) noexcept |
362 | 0 | : QLTypePB_UDTypeInfo() { |
363 | 0 | *this = ::std::move(from); |
364 | 0 | } |
365 | | |
366 | 0 | inline QLTypePB_UDTypeInfo& operator=(QLTypePB_UDTypeInfo&& from) noexcept { |
367 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
368 | 0 | if (this != &from) InternalSwap(&from); |
369 | 0 | } else { |
370 | 0 | CopyFrom(from); |
371 | 0 | } |
372 | 0 | return *this; |
373 | 0 | } |
374 | | #endif |
375 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
376 | 0 | return _internal_metadata_.unknown_fields(); |
377 | 0 | } |
378 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
379 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
380 | 0 | } |
381 | | |
382 | | static const ::google::protobuf::Descriptor* descriptor(); |
383 | | static const QLTypePB_UDTypeInfo& default_instance(); |
384 | | |
385 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
386 | 64.3k | static inline const QLTypePB_UDTypeInfo* internal_default_instance() { |
387 | 64.3k | return reinterpret_cast<const QLTypePB_UDTypeInfo*>( |
388 | 64.3k | &_QLTypePB_UDTypeInfo_default_instance_); |
389 | 64.3k | } |
390 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
391 | | 0; |
392 | | |
393 | | void Swap(QLTypePB_UDTypeInfo* other); |
394 | 0 | friend void swap(QLTypePB_UDTypeInfo& a, QLTypePB_UDTypeInfo& b) { |
395 | 0 | a.Swap(&b); |
396 | 0 | } |
397 | | |
398 | | // implements Message ---------------------------------------------- |
399 | | |
400 | 0 | inline QLTypePB_UDTypeInfo* New() const PROTOBUF_FINAL { return New(NULL); } |
401 | | |
402 | | QLTypePB_UDTypeInfo* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
403 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
404 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
405 | | void CopyFrom(const QLTypePB_UDTypeInfo& from); |
406 | | void MergeFrom(const QLTypePB_UDTypeInfo& from); |
407 | | void Clear() PROTOBUF_FINAL; |
408 | | bool IsInitialized() const PROTOBUF_FINAL; |
409 | | |
410 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
411 | | bool MergePartialFromCodedStream( |
412 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
413 | | void SerializeWithCachedSizes( |
414 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
415 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
416 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
417 | 14.3k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
418 | | private: |
419 | | void SharedCtor(); |
420 | | void SharedDtor(); |
421 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
422 | | void InternalSwap(QLTypePB_UDTypeInfo* other); |
423 | | private: |
424 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
425 | 0 | return NULL; |
426 | 0 | } |
427 | 0 | inline void* MaybeArenaPtr() const { |
428 | 0 | return NULL; |
429 | 0 | } |
430 | | public: |
431 | | |
432 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
433 | | |
434 | | // nested types ---------------------------------------------------- |
435 | | |
436 | | // accessors ------------------------------------------------------- |
437 | | |
438 | | // repeated string field_names = 4; |
439 | | int field_names_size() const; |
440 | | void clear_field_names(); |
441 | | static const int kFieldNamesFieldNumber = 4; |
442 | | const ::std::string& field_names(int index) const; |
443 | | ::std::string* mutable_field_names(int index); |
444 | | void set_field_names(int index, const ::std::string& value); |
445 | | #if LANG_CXX11 |
446 | | void set_field_names(int index, ::std::string&& value); |
447 | | #endif |
448 | | void set_field_names(int index, const char* value); |
449 | | void set_field_names(int index, const char* value, size_t size); |
450 | | ::std::string* add_field_names(); |
451 | | void add_field_names(const ::std::string& value); |
452 | | #if LANG_CXX11 |
453 | | void add_field_names(::std::string&& value); |
454 | | #endif |
455 | | void add_field_names(const char* value); |
456 | | void add_field_names(const char* value, size_t size); |
457 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& field_names() const; |
458 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_field_names(); |
459 | | |
460 | | // optional string keyspace_name = 1; |
461 | | bool has_keyspace_name() const; |
462 | | void clear_keyspace_name(); |
463 | | static const int kKeyspaceNameFieldNumber = 1; |
464 | | const ::std::string& keyspace_name() const; |
465 | | void set_keyspace_name(const ::std::string& value); |
466 | | #if LANG_CXX11 |
467 | | void set_keyspace_name(::std::string&& value); |
468 | | #endif |
469 | | void set_keyspace_name(const char* value); |
470 | | void set_keyspace_name(const char* value, size_t size); |
471 | | ::std::string* mutable_keyspace_name(); |
472 | | ::std::string* release_keyspace_name(); |
473 | | void set_allocated_keyspace_name(::std::string* keyspace_name); |
474 | | |
475 | | // optional string name = 2; |
476 | | bool has_name() const; |
477 | | void clear_name(); |
478 | | static const int kNameFieldNumber = 2; |
479 | | const ::std::string& name() const; |
480 | | void set_name(const ::std::string& value); |
481 | | #if LANG_CXX11 |
482 | | void set_name(::std::string&& value); |
483 | | #endif |
484 | | void set_name(const char* value); |
485 | | void set_name(const char* value, size_t size); |
486 | | ::std::string* mutable_name(); |
487 | | ::std::string* release_name(); |
488 | | void set_allocated_name(::std::string* name); |
489 | | |
490 | | // optional string id = 3; |
491 | | bool has_id() const; |
492 | | void clear_id(); |
493 | | static const int kIdFieldNumber = 3; |
494 | | const ::std::string& id() const; |
495 | | void set_id(const ::std::string& value); |
496 | | #if LANG_CXX11 |
497 | | void set_id(::std::string&& value); |
498 | | #endif |
499 | | void set_id(const char* value); |
500 | | void set_id(const char* value, size_t size); |
501 | | ::std::string* mutable_id(); |
502 | | ::std::string* release_id(); |
503 | | void set_allocated_id(::std::string* id); |
504 | | |
505 | | // @@protoc_insertion_point(class_scope:yb.QLTypePB.UDTypeInfo) |
506 | | private: |
507 | | void set_has_keyspace_name(); |
508 | | void clear_has_keyspace_name(); |
509 | | void set_has_name(); |
510 | | void clear_has_name(); |
511 | | void set_has_id(); |
512 | | void clear_has_id(); |
513 | | |
514 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
515 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
516 | | mutable int _cached_size_; |
517 | | ::google::protobuf::RepeatedPtrField< ::std::string> field_names_; |
518 | | ::google::protobuf::internal::ArenaStringPtr keyspace_name_; |
519 | | ::google::protobuf::internal::ArenaStringPtr name_; |
520 | | ::google::protobuf::internal::ArenaStringPtr id_; |
521 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
522 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLTypePB_UDTypeInfoImpl(); |
523 | | }; |
524 | | // ------------------------------------------------------------------- |
525 | | |
526 | | class QLTypePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLTypePB) */ { |
527 | | public: |
528 | | QLTypePB(); |
529 | | virtual ~QLTypePB(); |
530 | | |
531 | | QLTypePB(const QLTypePB& from); |
532 | | |
533 | 0 | inline QLTypePB& operator=(const QLTypePB& from) { |
534 | 0 | CopyFrom(from); |
535 | 0 | return *this; |
536 | 0 | } |
537 | | #if LANG_CXX11 |
538 | | QLTypePB(QLTypePB&& from) noexcept |
539 | 0 | : QLTypePB() { |
540 | 0 | *this = ::std::move(from); |
541 | 0 | } |
542 | | |
543 | 0 | inline QLTypePB& operator=(QLTypePB&& from) noexcept { |
544 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
545 | 0 | if (this != &from) InternalSwap(&from); |
546 | 0 | } else { |
547 | 0 | CopyFrom(from); |
548 | 0 | } |
549 | 0 | return *this; |
550 | 0 | } |
551 | | #endif |
552 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
553 | 0 | return _internal_metadata_.unknown_fields(); |
554 | 0 | } |
555 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
556 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
557 | 0 | } |
558 | | |
559 | | static const ::google::protobuf::Descriptor* descriptor(); |
560 | | static const QLTypePB& default_instance(); |
561 | | |
562 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
563 | 1.99G | static inline const QLTypePB* internal_default_instance() { |
564 | 1.99G | return reinterpret_cast<const QLTypePB*>( |
565 | 1.99G | &_QLTypePB_default_instance_); |
566 | 1.99G | } |
567 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
568 | | 1; |
569 | | |
570 | | void Swap(QLTypePB* other); |
571 | 0 | friend void swap(QLTypePB& a, QLTypePB& b) { |
572 | 0 | a.Swap(&b); |
573 | 0 | } |
574 | | |
575 | | // implements Message ---------------------------------------------- |
576 | | |
577 | 0 | inline QLTypePB* New() const PROTOBUF_FINAL { return New(NULL); } |
578 | | |
579 | | QLTypePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
580 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
581 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
582 | | void CopyFrom(const QLTypePB& from); |
583 | | void MergeFrom(const QLTypePB& from); |
584 | | void Clear() PROTOBUF_FINAL; |
585 | | bool IsInitialized() const PROTOBUF_FINAL; |
586 | | |
587 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
588 | | bool MergePartialFromCodedStream( |
589 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
590 | | void SerializeWithCachedSizes( |
591 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
592 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
593 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
594 | 971M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
595 | | private: |
596 | | void SharedCtor(); |
597 | | void SharedDtor(); |
598 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
599 | | void InternalSwap(QLTypePB* other); |
600 | | private: |
601 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
602 | 0 | return NULL; |
603 | 0 | } |
604 | 0 | inline void* MaybeArenaPtr() const { |
605 | 0 | return NULL; |
606 | 0 | } |
607 | | public: |
608 | | |
609 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
610 | | |
611 | | // nested types ---------------------------------------------------- |
612 | | |
613 | | typedef QLTypePB_UDTypeInfo UDTypeInfo; |
614 | | |
615 | | // accessors ------------------------------------------------------- |
616 | | |
617 | | // repeated .yb.QLTypePB params = 2; |
618 | | int params_size() const; |
619 | | void clear_params(); |
620 | | static const int kParamsFieldNumber = 2; |
621 | | const ::yb::QLTypePB& params(int index) const; |
622 | | ::yb::QLTypePB* mutable_params(int index); |
623 | | ::yb::QLTypePB* add_params(); |
624 | | ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >* |
625 | | mutable_params(); |
626 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >& |
627 | | params() const; |
628 | | |
629 | | // optional .yb.QLTypePB.UDTypeInfo udtype_info = 3; |
630 | | bool has_udtype_info() const; |
631 | | void clear_udtype_info(); |
632 | | static const int kUdtypeInfoFieldNumber = 3; |
633 | | const ::yb::QLTypePB_UDTypeInfo& udtype_info() const; |
634 | | ::yb::QLTypePB_UDTypeInfo* release_udtype_info(); |
635 | | ::yb::QLTypePB_UDTypeInfo* mutable_udtype_info(); |
636 | | void set_allocated_udtype_info(::yb::QLTypePB_UDTypeInfo* udtype_info); |
637 | | |
638 | | // optional .yb.DataType main = 1; |
639 | | bool has_main() const; |
640 | | void clear_main(); |
641 | | static const int kMainFieldNumber = 1; |
642 | | ::yb::DataType main() const; |
643 | | void set_main(::yb::DataType value); |
644 | | |
645 | | // @@protoc_insertion_point(class_scope:yb.QLTypePB) |
646 | | private: |
647 | | void set_has_main(); |
648 | | void clear_has_main(); |
649 | | void set_has_udtype_info(); |
650 | | void clear_has_udtype_info(); |
651 | | |
652 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
653 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
654 | | mutable int _cached_size_; |
655 | | ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB > params_; |
656 | | ::yb::QLTypePB_UDTypeInfo* udtype_info_; |
657 | | int main_; |
658 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
659 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLTypePBImpl(); |
660 | | }; |
661 | | // ------------------------------------------------------------------- |
662 | | |
663 | | class ColumnSchemaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ColumnSchemaPB) */ { |
664 | | public: |
665 | | ColumnSchemaPB(); |
666 | | virtual ~ColumnSchemaPB(); |
667 | | |
668 | | ColumnSchemaPB(const ColumnSchemaPB& from); |
669 | | |
670 | 0 | inline ColumnSchemaPB& operator=(const ColumnSchemaPB& from) { |
671 | 0 | CopyFrom(from); |
672 | 0 | return *this; |
673 | 0 | } |
674 | | #if LANG_CXX11 |
675 | | ColumnSchemaPB(ColumnSchemaPB&& from) noexcept |
676 | 0 | : ColumnSchemaPB() { |
677 | 0 | *this = ::std::move(from); |
678 | 0 | } |
679 | | |
680 | 0 | inline ColumnSchemaPB& operator=(ColumnSchemaPB&& from) noexcept { |
681 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
682 | 0 | if (this != &from) InternalSwap(&from); |
683 | 0 | } else { |
684 | 0 | CopyFrom(from); |
685 | 0 | } |
686 | 0 | return *this; |
687 | 0 | } |
688 | | #endif |
689 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
690 | 0 | return _internal_metadata_.unknown_fields(); |
691 | 0 | } |
692 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
693 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
694 | 0 | } |
695 | | |
696 | | static const ::google::protobuf::Descriptor* descriptor(); |
697 | | static const ColumnSchemaPB& default_instance(); |
698 | | |
699 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
700 | 1.96G | static inline const ColumnSchemaPB* internal_default_instance() { |
701 | 1.96G | return reinterpret_cast<const ColumnSchemaPB*>( |
702 | 1.96G | &_ColumnSchemaPB_default_instance_); |
703 | 1.96G | } |
704 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
705 | | 2; |
706 | | |
707 | | void Swap(ColumnSchemaPB* other); |
708 | 0 | friend void swap(ColumnSchemaPB& a, ColumnSchemaPB& b) { |
709 | 0 | a.Swap(&b); |
710 | 0 | } |
711 | | |
712 | | // implements Message ---------------------------------------------- |
713 | | |
714 | 0 | inline ColumnSchemaPB* New() const PROTOBUF_FINAL { return New(NULL); } |
715 | | |
716 | | ColumnSchemaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
717 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
718 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
719 | | void CopyFrom(const ColumnSchemaPB& from); |
720 | | void MergeFrom(const ColumnSchemaPB& from); |
721 | | void Clear() PROTOBUF_FINAL; |
722 | | bool IsInitialized() const PROTOBUF_FINAL; |
723 | | |
724 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
725 | | bool MergePartialFromCodedStream( |
726 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
727 | | void SerializeWithCachedSizes( |
728 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
729 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
730 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
731 | 968M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
732 | | private: |
733 | | void SharedCtor(); |
734 | | void SharedDtor(); |
735 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
736 | | void InternalSwap(ColumnSchemaPB* other); |
737 | | private: |
738 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
739 | 0 | return NULL; |
740 | 0 | } |
741 | 0 | inline void* MaybeArenaPtr() const { |
742 | 0 | return NULL; |
743 | 0 | } |
744 | | public: |
745 | | |
746 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
747 | | |
748 | | // nested types ---------------------------------------------------- |
749 | | |
750 | | // accessors ------------------------------------------------------- |
751 | | |
752 | | // repeated .yb.QLJsonOperationPB OBSOLETE_json_operations = 13; |
753 | | int obsolete_json_operations_size() const; |
754 | | void clear_obsolete_json_operations(); |
755 | | static const int kOBSOLETEJsonOperationsFieldNumber = 13; |
756 | | const ::yb::QLJsonOperationPB& obsolete_json_operations(int index) const; |
757 | | ::yb::QLJsonOperationPB* mutable_obsolete_json_operations(int index); |
758 | | ::yb::QLJsonOperationPB* add_obsolete_json_operations(); |
759 | | ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >* |
760 | | mutable_obsolete_json_operations(); |
761 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >& |
762 | | obsolete_json_operations() const; |
763 | | |
764 | | // required string name = 2; |
765 | | bool has_name() const; |
766 | | void clear_name(); |
767 | | static const int kNameFieldNumber = 2; |
768 | | const ::std::string& name() const; |
769 | | void set_name(const ::std::string& value); |
770 | | #if LANG_CXX11 |
771 | | void set_name(::std::string&& value); |
772 | | #endif |
773 | | void set_name(const char* value); |
774 | | void set_name(const char* value, size_t size); |
775 | | ::std::string* mutable_name(); |
776 | | ::std::string* release_name(); |
777 | | void set_allocated_name(::std::string* name); |
778 | | |
779 | | // required .yb.QLTypePB type = 3; |
780 | | bool has_type() const; |
781 | | void clear_type(); |
782 | | static const int kTypeFieldNumber = 3; |
783 | | const ::yb::QLTypePB& type() const; |
784 | | ::yb::QLTypePB* release_type(); |
785 | | ::yb::QLTypePB* mutable_type(); |
786 | | void set_allocated_type(::yb::QLTypePB* type); |
787 | | |
788 | | // optional uint32 id = 1; |
789 | | bool has_id() const; |
790 | | void clear_id(); |
791 | | static const int kIdFieldNumber = 1; |
792 | | ::google::protobuf::uint32 id() const; |
793 | | void set_id(::google::protobuf::uint32 value); |
794 | | |
795 | | // optional bool is_key = 4 [default = false]; |
796 | | bool has_is_key() const; |
797 | | void clear_is_key(); |
798 | | static const int kIsKeyFieldNumber = 4; |
799 | | bool is_key() const; |
800 | | void set_is_key(bool value); |
801 | | |
802 | | // optional bool is_hash_key = 5 [default = false]; |
803 | | bool has_is_hash_key() const; |
804 | | void clear_is_hash_key(); |
805 | | static const int kIsHashKeyFieldNumber = 5; |
806 | | bool is_hash_key() const; |
807 | | void set_is_hash_key(bool value); |
808 | | |
809 | | // optional bool is_nullable = 6 [default = false]; |
810 | | bool has_is_nullable() const; |
811 | | void clear_is_nullable(); |
812 | | static const int kIsNullableFieldNumber = 6; |
813 | | bool is_nullable() const; |
814 | | void set_is_nullable(bool value); |
815 | | |
816 | | // optional bool is_static = 7 [default = false]; |
817 | | bool has_is_static() const; |
818 | | void clear_is_static(); |
819 | | static const int kIsStaticFieldNumber = 7; |
820 | | bool is_static() const; |
821 | | void set_is_static(bool value); |
822 | | |
823 | | // optional bool is_counter = 8 [default = false]; |
824 | | bool has_is_counter() const; |
825 | | void clear_is_counter(); |
826 | | static const int kIsCounterFieldNumber = 8; |
827 | | bool is_counter() const; |
828 | | void set_is_counter(bool value); |
829 | | |
830 | | // optional uint32 sorting_type = 9 [default = 0]; |
831 | | bool has_sorting_type() const; |
832 | | void clear_sorting_type(); |
833 | | static const int kSortingTypeFieldNumber = 9; |
834 | | ::google::protobuf::uint32 sorting_type() const; |
835 | | void set_sorting_type(::google::protobuf::uint32 value); |
836 | | |
837 | | // optional int32 order = 12 [default = 0]; |
838 | | bool has_order() const; |
839 | | void clear_order(); |
840 | | static const int kOrderFieldNumber = 12; |
841 | | ::google::protobuf::int32 order() const; |
842 | | void set_order(::google::protobuf::int32 value); |
843 | | |
844 | | // optional uint32 pg_type_oid = 14 [default = 0]; |
845 | | bool has_pg_type_oid() const; |
846 | | void clear_pg_type_oid(); |
847 | | static const int kPgTypeOidFieldNumber = 14; |
848 | | ::google::protobuf::uint32 pg_type_oid() const; |
849 | | void set_pg_type_oid(::google::protobuf::uint32 value); |
850 | | |
851 | | // @@protoc_insertion_point(class_scope:yb.ColumnSchemaPB) |
852 | | private: |
853 | | void set_has_id(); |
854 | | void clear_has_id(); |
855 | | void set_has_name(); |
856 | | void clear_has_name(); |
857 | | void set_has_type(); |
858 | | void clear_has_type(); |
859 | | void set_has_is_key(); |
860 | | void clear_has_is_key(); |
861 | | void set_has_is_hash_key(); |
862 | | void clear_has_is_hash_key(); |
863 | | void set_has_is_nullable(); |
864 | | void clear_has_is_nullable(); |
865 | | void set_has_is_static(); |
866 | | void clear_has_is_static(); |
867 | | void set_has_is_counter(); |
868 | | void clear_has_is_counter(); |
869 | | void set_has_order(); |
870 | | void clear_has_order(); |
871 | | void set_has_sorting_type(); |
872 | | void clear_has_sorting_type(); |
873 | | void set_has_pg_type_oid(); |
874 | | void clear_has_pg_type_oid(); |
875 | | |
876 | | // helper for ByteSizeLong() |
877 | | size_t RequiredFieldsByteSizeFallback() const; |
878 | | |
879 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
880 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
881 | | mutable int _cached_size_; |
882 | | ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB > obsolete_json_operations_; |
883 | | ::google::protobuf::internal::ArenaStringPtr name_; |
884 | | ::yb::QLTypePB* type_; |
885 | | ::google::protobuf::uint32 id_; |
886 | | bool is_key_; |
887 | | bool is_hash_key_; |
888 | | bool is_nullable_; |
889 | | bool is_static_; |
890 | | bool is_counter_; |
891 | | ::google::protobuf::uint32 sorting_type_; |
892 | | ::google::protobuf::int32 order_; |
893 | | ::google::protobuf::uint32 pg_type_oid_; |
894 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
895 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsColumnSchemaPBImpl(); |
896 | | }; |
897 | | // ------------------------------------------------------------------- |
898 | | |
899 | | class ColocatedTableIdentifierPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ColocatedTableIdentifierPB) */ { |
900 | | public: |
901 | | ColocatedTableIdentifierPB(); |
902 | | virtual ~ColocatedTableIdentifierPB(); |
903 | | |
904 | | ColocatedTableIdentifierPB(const ColocatedTableIdentifierPB& from); |
905 | | |
906 | 0 | inline ColocatedTableIdentifierPB& operator=(const ColocatedTableIdentifierPB& from) { |
907 | 0 | CopyFrom(from); |
908 | 0 | return *this; |
909 | 0 | } |
910 | | #if LANG_CXX11 |
911 | | ColocatedTableIdentifierPB(ColocatedTableIdentifierPB&& from) noexcept |
912 | 0 | : ColocatedTableIdentifierPB() { |
913 | 0 | *this = ::std::move(from); |
914 | 0 | } |
915 | | |
916 | 0 | inline ColocatedTableIdentifierPB& operator=(ColocatedTableIdentifierPB&& from) noexcept { |
917 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
918 | 0 | if (this != &from) InternalSwap(&from); |
919 | 0 | } else { |
920 | 0 | CopyFrom(from); |
921 | 0 | } |
922 | 0 | return *this; |
923 | 0 | } |
924 | | #endif |
925 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
926 | 0 | return _internal_metadata_.unknown_fields(); |
927 | 0 | } |
928 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
929 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
930 | 0 | } |
931 | | |
932 | | static const ::google::protobuf::Descriptor* descriptor(); |
933 | | static const ColocatedTableIdentifierPB& default_instance(); |
934 | | |
935 | | enum ValueCase { |
936 | | kPgtableId = 1, |
937 | | kCotableId = 2, |
938 | | VALUE_NOT_SET = 0, |
939 | | }; |
940 | | |
941 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
942 | 145M | static inline const ColocatedTableIdentifierPB* internal_default_instance() { |
943 | 145M | return reinterpret_cast<const ColocatedTableIdentifierPB*>( |
944 | 145M | &_ColocatedTableIdentifierPB_default_instance_); |
945 | 145M | } |
946 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
947 | | 3; |
948 | | |
949 | | void Swap(ColocatedTableIdentifierPB* other); |
950 | 0 | friend void swap(ColocatedTableIdentifierPB& a, ColocatedTableIdentifierPB& b) { |
951 | 0 | a.Swap(&b); |
952 | 0 | } |
953 | | |
954 | | // implements Message ---------------------------------------------- |
955 | | |
956 | 0 | inline ColocatedTableIdentifierPB* New() const PROTOBUF_FINAL { return New(NULL); } |
957 | | |
958 | | ColocatedTableIdentifierPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
959 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
960 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
961 | | void CopyFrom(const ColocatedTableIdentifierPB& from); |
962 | | void MergeFrom(const ColocatedTableIdentifierPB& from); |
963 | | void Clear() PROTOBUF_FINAL; |
964 | | bool IsInitialized() const PROTOBUF_FINAL; |
965 | | |
966 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
967 | | bool MergePartialFromCodedStream( |
968 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
969 | | void SerializeWithCachedSizes( |
970 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
971 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
972 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
973 | 141M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
974 | | private: |
975 | | void SharedCtor(); |
976 | | void SharedDtor(); |
977 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
978 | | void InternalSwap(ColocatedTableIdentifierPB* other); |
979 | | private: |
980 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
981 | 0 | return NULL; |
982 | 0 | } |
983 | 0 | inline void* MaybeArenaPtr() const { |
984 | 0 | return NULL; |
985 | 0 | } |
986 | | public: |
987 | | |
988 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
989 | | |
990 | | // nested types ---------------------------------------------------- |
991 | | |
992 | | // accessors ------------------------------------------------------- |
993 | | |
994 | | // optional uint32 pgtable_id = 1; |
995 | | bool has_pgtable_id() const; |
996 | | void clear_pgtable_id(); |
997 | | static const int kPgtableIdFieldNumber = 1; |
998 | | ::google::protobuf::uint32 pgtable_id() const; |
999 | | void set_pgtable_id(::google::protobuf::uint32 value); |
1000 | | |
1001 | | // optional bytes cotable_id = 2; |
1002 | | bool has_cotable_id() const; |
1003 | | void clear_cotable_id(); |
1004 | | static const int kCotableIdFieldNumber = 2; |
1005 | | const ::std::string& cotable_id() const; |
1006 | | void set_cotable_id(const ::std::string& value); |
1007 | | #if LANG_CXX11 |
1008 | | void set_cotable_id(::std::string&& value); |
1009 | | #endif |
1010 | | void set_cotable_id(const char* value); |
1011 | | void set_cotable_id(const void* value, size_t size); |
1012 | | ::std::string* mutable_cotable_id(); |
1013 | | ::std::string* release_cotable_id(); |
1014 | | void set_allocated_cotable_id(::std::string* cotable_id); |
1015 | | |
1016 | | ValueCase value_case() const; |
1017 | | // @@protoc_insertion_point(class_scope:yb.ColocatedTableIdentifierPB) |
1018 | | private: |
1019 | | void set_has_pgtable_id(); |
1020 | | void set_has_cotable_id(); |
1021 | | |
1022 | | inline bool has_value() const; |
1023 | | void clear_value(); |
1024 | | inline void clear_has_value(); |
1025 | | |
1026 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1027 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1028 | | mutable int _cached_size_; |
1029 | | union ValueUnion { |
1030 | 145M | ValueUnion() {} |
1031 | | ::google::protobuf::uint32 pgtable_id_; |
1032 | | ::google::protobuf::internal::ArenaStringPtr cotable_id_; |
1033 | | } value_; |
1034 | | ::google::protobuf::uint32 _oneof_case_[1]; |
1035 | | |
1036 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
1037 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsColocatedTableIdentifierPBImpl(); |
1038 | | }; |
1039 | | // ------------------------------------------------------------------- |
1040 | | |
1041 | | class TablePropertiesPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.TablePropertiesPB) */ { |
1042 | | public: |
1043 | | TablePropertiesPB(); |
1044 | | virtual ~TablePropertiesPB(); |
1045 | | |
1046 | | TablePropertiesPB(const TablePropertiesPB& from); |
1047 | | |
1048 | 0 | inline TablePropertiesPB& operator=(const TablePropertiesPB& from) { |
1049 | 0 | CopyFrom(from); |
1050 | 0 | return *this; |
1051 | 0 | } |
1052 | | #if LANG_CXX11 |
1053 | | TablePropertiesPB(TablePropertiesPB&& from) noexcept |
1054 | 0 | : TablePropertiesPB() { |
1055 | 0 | *this = ::std::move(from); |
1056 | 0 | } |
1057 | | |
1058 | 0 | inline TablePropertiesPB& operator=(TablePropertiesPB&& from) noexcept { |
1059 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1060 | 0 | if (this != &from) InternalSwap(&from); |
1061 | 0 | } else { |
1062 | 0 | CopyFrom(from); |
1063 | 0 | } |
1064 | 0 | return *this; |
1065 | 0 | } |
1066 | | #endif |
1067 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1068 | 0 | return _internal_metadata_.unknown_fields(); |
1069 | 0 | } |
1070 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1071 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1072 | 0 | } |
1073 | | |
1074 | | static const ::google::protobuf::Descriptor* descriptor(); |
1075 | | static const TablePropertiesPB& default_instance(); |
1076 | | |
1077 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1078 | 145M | static inline const TablePropertiesPB* internal_default_instance() { |
1079 | 145M | return reinterpret_cast<const TablePropertiesPB*>( |
1080 | 145M | &_TablePropertiesPB_default_instance_); |
1081 | 145M | } |
1082 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1083 | | 4; |
1084 | | |
1085 | | void Swap(TablePropertiesPB* other); |
1086 | 0 | friend void swap(TablePropertiesPB& a, TablePropertiesPB& b) { |
1087 | 0 | a.Swap(&b); |
1088 | 0 | } |
1089 | | |
1090 | | // implements Message ---------------------------------------------- |
1091 | | |
1092 | 0 | inline TablePropertiesPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1093 | | |
1094 | | TablePropertiesPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1095 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1096 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1097 | | void CopyFrom(const TablePropertiesPB& from); |
1098 | | void MergeFrom(const TablePropertiesPB& from); |
1099 | | void Clear() PROTOBUF_FINAL; |
1100 | | bool IsInitialized() const PROTOBUF_FINAL; |
1101 | | |
1102 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1103 | | bool MergePartialFromCodedStream( |
1104 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1105 | | void SerializeWithCachedSizes( |
1106 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1107 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1108 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1109 | 141M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1110 | | private: |
1111 | | void SharedCtor(); |
1112 | | void SharedDtor(); |
1113 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1114 | | void InternalSwap(TablePropertiesPB* other); |
1115 | | private: |
1116 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1117 | 0 | return NULL; |
1118 | 0 | } |
1119 | 0 | inline void* MaybeArenaPtr() const { |
1120 | 0 | return NULL; |
1121 | 0 | } |
1122 | | public: |
1123 | | |
1124 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1125 | | |
1126 | | // nested types ---------------------------------------------------- |
1127 | | |
1128 | | // accessors ------------------------------------------------------- |
1129 | | |
1130 | | // optional bytes copartition_table_id = 4; |
1131 | | bool has_copartition_table_id() const; |
1132 | | void clear_copartition_table_id(); |
1133 | | static const int kCopartitionTableIdFieldNumber = 4; |
1134 | | const ::std::string& copartition_table_id() const; |
1135 | | void set_copartition_table_id(const ::std::string& value); |
1136 | | #if LANG_CXX11 |
1137 | | void set_copartition_table_id(::std::string&& value); |
1138 | | #endif |
1139 | | void set_copartition_table_id(const char* value); |
1140 | | void set_copartition_table_id(const void* value, size_t size); |
1141 | | ::std::string* mutable_copartition_table_id(); |
1142 | | ::std::string* release_copartition_table_id(); |
1143 | | void set_allocated_copartition_table_id(::std::string* copartition_table_id); |
1144 | | |
1145 | | // optional uint64 default_time_to_live = 1; |
1146 | | bool has_default_time_to_live() const; |
1147 | | void clear_default_time_to_live(); |
1148 | | static const int kDefaultTimeToLiveFieldNumber = 1; |
1149 | | ::google::protobuf::uint64 default_time_to_live() const; |
1150 | | void set_default_time_to_live(::google::protobuf::uint64 value); |
1151 | | |
1152 | | // optional bool contain_counters = 2; |
1153 | | bool has_contain_counters() const; |
1154 | | void clear_contain_counters(); |
1155 | | static const int kContainCountersFieldNumber = 2; |
1156 | | bool contain_counters() const; |
1157 | | void set_contain_counters(bool value); |
1158 | | |
1159 | | // optional bool is_transactional = 3 [default = false]; |
1160 | | bool has_is_transactional() const; |
1161 | | void clear_is_transactional(); |
1162 | | static const int kIsTransactionalFieldNumber = 3; |
1163 | | bool is_transactional() const; |
1164 | | void set_is_transactional(bool value); |
1165 | | |
1166 | | // optional bool use_mangled_column_name = 6 [default = false]; |
1167 | | bool has_use_mangled_column_name() const; |
1168 | | void clear_use_mangled_column_name(); |
1169 | | static const int kUseMangledColumnNameFieldNumber = 6; |
1170 | | bool use_mangled_column_name() const; |
1171 | | void set_use_mangled_column_name(bool value); |
1172 | | |
1173 | | // optional bool is_ysql_catalog_table = 8 [default = false]; |
1174 | | bool has_is_ysql_catalog_table() const; |
1175 | | void clear_is_ysql_catalog_table(); |
1176 | | static const int kIsYsqlCatalogTableFieldNumber = 8; |
1177 | | bool is_ysql_catalog_table() const; |
1178 | | void set_is_ysql_catalog_table(bool value); |
1179 | | |
1180 | | // optional int32 num_tablets = 7 [default = 0]; |
1181 | | bool has_num_tablets() const; |
1182 | | void clear_num_tablets(); |
1183 | | static const int kNumTabletsFieldNumber = 7; |
1184 | | ::google::protobuf::int32 num_tablets() const; |
1185 | | void set_num_tablets(::google::protobuf::int32 value); |
1186 | | |
1187 | | // optional uint64 backfilling_timestamp = 10; |
1188 | | bool has_backfilling_timestamp() const; |
1189 | | void clear_backfilling_timestamp(); |
1190 | | static const int kBackfillingTimestampFieldNumber = 10; |
1191 | | ::google::protobuf::uint64 backfilling_timestamp() const; |
1192 | | void set_backfilling_timestamp(::google::protobuf::uint64 value); |
1193 | | |
1194 | | // optional bool retain_delete_markers = 9 [default = false]; |
1195 | | bool has_retain_delete_markers() const; |
1196 | | void clear_retain_delete_markers(); |
1197 | | static const int kRetainDeleteMarkersFieldNumber = 9; |
1198 | | bool retain_delete_markers() const; |
1199 | | void set_retain_delete_markers(bool value); |
1200 | | |
1201 | | // optional .yb.YBConsistencyLevel consistency_level = 5 [default = STRONG]; |
1202 | | bool has_consistency_level() const; |
1203 | | void clear_consistency_level(); |
1204 | | static const int kConsistencyLevelFieldNumber = 5; |
1205 | | ::yb::YBConsistencyLevel consistency_level() const; |
1206 | | void set_consistency_level(::yb::YBConsistencyLevel value); |
1207 | | |
1208 | | // @@protoc_insertion_point(class_scope:yb.TablePropertiesPB) |
1209 | | private: |
1210 | | void set_has_default_time_to_live(); |
1211 | | void clear_has_default_time_to_live(); |
1212 | | void set_has_contain_counters(); |
1213 | | void clear_has_contain_counters(); |
1214 | | void set_has_is_transactional(); |
1215 | | void clear_has_is_transactional(); |
1216 | | void set_has_copartition_table_id(); |
1217 | | void clear_has_copartition_table_id(); |
1218 | | void set_has_consistency_level(); |
1219 | | void clear_has_consistency_level(); |
1220 | | void set_has_use_mangled_column_name(); |
1221 | | void clear_has_use_mangled_column_name(); |
1222 | | void set_has_num_tablets(); |
1223 | | void clear_has_num_tablets(); |
1224 | | void set_has_is_ysql_catalog_table(); |
1225 | | void clear_has_is_ysql_catalog_table(); |
1226 | | void set_has_retain_delete_markers(); |
1227 | | void clear_has_retain_delete_markers(); |
1228 | | void set_has_backfilling_timestamp(); |
1229 | | void clear_has_backfilling_timestamp(); |
1230 | | |
1231 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1232 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1233 | | mutable int _cached_size_; |
1234 | | ::google::protobuf::internal::ArenaStringPtr copartition_table_id_; |
1235 | | ::google::protobuf::uint64 default_time_to_live_; |
1236 | | bool contain_counters_; |
1237 | | bool is_transactional_; |
1238 | | bool use_mangled_column_name_; |
1239 | | bool is_ysql_catalog_table_; |
1240 | | ::google::protobuf::int32 num_tablets_; |
1241 | | ::google::protobuf::uint64 backfilling_timestamp_; |
1242 | | bool retain_delete_markers_; |
1243 | | int consistency_level_; |
1244 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
1245 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTablePropertiesPBImpl(); |
1246 | | }; |
1247 | | // ------------------------------------------------------------------- |
1248 | | |
1249 | | class SchemaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.SchemaPB) */ { |
1250 | | public: |
1251 | | SchemaPB(); |
1252 | | virtual ~SchemaPB(); |
1253 | | |
1254 | | SchemaPB(const SchemaPB& from); |
1255 | | |
1256 | 28 | inline SchemaPB& operator=(const SchemaPB& from) { |
1257 | 28 | CopyFrom(from); |
1258 | 28 | return *this; |
1259 | 28 | } |
1260 | | #if LANG_CXX11 |
1261 | | SchemaPB(SchemaPB&& from) noexcept |
1262 | 18.8M | : SchemaPB() { |
1263 | 18.8M | *this = ::std::move(from); |
1264 | 18.8M | } Unexecuted instantiation: _ZN2yb8SchemaPBC2EOS0_ Line | Count | Source | 1262 | 18.8M | : SchemaPB() { | 1263 | 18.8M | *this = ::std::move(from); | 1264 | 18.8M | } |
|
1265 | | |
1266 | 18.8M | inline SchemaPB& operator=(SchemaPB&& from) noexcept { |
1267 | 18.8M | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1268 | 18.8M | if (this != &from) InternalSwap(&from); |
1269 | 15.9k | } else { |
1270 | 15.9k | CopyFrom(from); |
1271 | 15.9k | } |
1272 | 18.8M | return *this; |
1273 | 18.8M | } |
1274 | | #endif |
1275 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1276 | 0 | return _internal_metadata_.unknown_fields(); |
1277 | 0 | } |
1278 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1279 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1280 | 0 | } |
1281 | | |
1282 | | static const ::google::protobuf::Descriptor* descriptor(); |
1283 | | static const SchemaPB& default_instance(); |
1284 | | |
1285 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1286 | 512M | static inline const SchemaPB* internal_default_instance() { |
1287 | 512M | return reinterpret_cast<const SchemaPB*>( |
1288 | 512M | &_SchemaPB_default_instance_); |
1289 | 512M | } |
1290 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1291 | | 5; |
1292 | | |
1293 | | void Swap(SchemaPB* other); |
1294 | 0 | friend void swap(SchemaPB& a, SchemaPB& b) { |
1295 | 0 | a.Swap(&b); |
1296 | 0 | } |
1297 | | |
1298 | | // implements Message ---------------------------------------------- |
1299 | | |
1300 | 0 | inline SchemaPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1301 | | |
1302 | | SchemaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1303 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1304 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1305 | | void CopyFrom(const SchemaPB& from); |
1306 | | void MergeFrom(const SchemaPB& from); |
1307 | | void Clear() PROTOBUF_FINAL; |
1308 | | bool IsInitialized() const PROTOBUF_FINAL; |
1309 | | |
1310 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1311 | | bool MergePartialFromCodedStream( |
1312 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1313 | | void SerializeWithCachedSizes( |
1314 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1315 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1316 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1317 | 141M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1318 | | private: |
1319 | | void SharedCtor(); |
1320 | | void SharedDtor(); |
1321 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1322 | | void InternalSwap(SchemaPB* other); |
1323 | | private: |
1324 | 37.6M | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1325 | 37.6M | return NULL; |
1326 | 37.6M | } |
1327 | 0 | inline void* MaybeArenaPtr() const { |
1328 | 0 | return NULL; |
1329 | 0 | } |
1330 | | public: |
1331 | | |
1332 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1333 | | |
1334 | | // nested types ---------------------------------------------------- |
1335 | | |
1336 | | // accessors ------------------------------------------------------- |
1337 | | |
1338 | | // repeated .yb.ColumnSchemaPB columns = 1; |
1339 | | int columns_size() const; |
1340 | | void clear_columns(); |
1341 | | static const int kColumnsFieldNumber = 1; |
1342 | | const ::yb::ColumnSchemaPB& columns(int index) const; |
1343 | | ::yb::ColumnSchemaPB* mutable_columns(int index); |
1344 | | ::yb::ColumnSchemaPB* add_columns(); |
1345 | | ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >* |
1346 | | mutable_columns(); |
1347 | | const ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >& |
1348 | | columns() const; |
1349 | | |
1350 | | // optional string pgschema_name = 4; |
1351 | | bool has_pgschema_name() const; |
1352 | | void clear_pgschema_name(); |
1353 | | static const int kPgschemaNameFieldNumber = 4; |
1354 | | const ::std::string& pgschema_name() const; |
1355 | | void set_pgschema_name(const ::std::string& value); |
1356 | | #if LANG_CXX11 |
1357 | | void set_pgschema_name(::std::string&& value); |
1358 | | #endif |
1359 | | void set_pgschema_name(const char* value); |
1360 | | void set_pgschema_name(const char* value, size_t size); |
1361 | | ::std::string* mutable_pgschema_name(); |
1362 | | ::std::string* release_pgschema_name(); |
1363 | | void set_allocated_pgschema_name(::std::string* pgschema_name); |
1364 | | |
1365 | | // optional .yb.TablePropertiesPB table_properties = 2; |
1366 | | bool has_table_properties() const; |
1367 | | void clear_table_properties(); |
1368 | | static const int kTablePropertiesFieldNumber = 2; |
1369 | | const ::yb::TablePropertiesPB& table_properties() const; |
1370 | | ::yb::TablePropertiesPB* release_table_properties(); |
1371 | | ::yb::TablePropertiesPB* mutable_table_properties(); |
1372 | | void set_allocated_table_properties(::yb::TablePropertiesPB* table_properties); |
1373 | | |
1374 | | // optional .yb.ColocatedTableIdentifierPB colocated_table_id = 3; |
1375 | | bool has_colocated_table_id() const; |
1376 | | void clear_colocated_table_id(); |
1377 | | static const int kColocatedTableIdFieldNumber = 3; |
1378 | | const ::yb::ColocatedTableIdentifierPB& colocated_table_id() const; |
1379 | | ::yb::ColocatedTableIdentifierPB* release_colocated_table_id(); |
1380 | | ::yb::ColocatedTableIdentifierPB* mutable_colocated_table_id(); |
1381 | | void set_allocated_colocated_table_id(::yb::ColocatedTableIdentifierPB* colocated_table_id); |
1382 | | |
1383 | | // @@protoc_insertion_point(class_scope:yb.SchemaPB) |
1384 | | private: |
1385 | | void set_has_table_properties(); |
1386 | | void clear_has_table_properties(); |
1387 | | void set_has_colocated_table_id(); |
1388 | | void clear_has_colocated_table_id(); |
1389 | | void set_has_pgschema_name(); |
1390 | | void clear_has_pgschema_name(); |
1391 | | |
1392 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1393 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1394 | | mutable int _cached_size_; |
1395 | | ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB > columns_; |
1396 | | ::google::protobuf::internal::ArenaStringPtr pgschema_name_; |
1397 | | ::yb::TablePropertiesPB* table_properties_; |
1398 | | ::yb::ColocatedTableIdentifierPB* colocated_table_id_; |
1399 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
1400 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsSchemaPBImpl(); |
1401 | | }; |
1402 | | // ------------------------------------------------------------------- |
1403 | | |
1404 | | class IndexInfoPB_IndexColumnPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.IndexInfoPB.IndexColumnPB) */ { |
1405 | | public: |
1406 | | IndexInfoPB_IndexColumnPB(); |
1407 | | virtual ~IndexInfoPB_IndexColumnPB(); |
1408 | | |
1409 | | IndexInfoPB_IndexColumnPB(const IndexInfoPB_IndexColumnPB& from); |
1410 | | |
1411 | 0 | inline IndexInfoPB_IndexColumnPB& operator=(const IndexInfoPB_IndexColumnPB& from) { |
1412 | 0 | CopyFrom(from); |
1413 | 0 | return *this; |
1414 | 0 | } |
1415 | | #if LANG_CXX11 |
1416 | | IndexInfoPB_IndexColumnPB(IndexInfoPB_IndexColumnPB&& from) noexcept |
1417 | 0 | : IndexInfoPB_IndexColumnPB() { |
1418 | 0 | *this = ::std::move(from); |
1419 | 0 | } |
1420 | | |
1421 | 0 | inline IndexInfoPB_IndexColumnPB& operator=(IndexInfoPB_IndexColumnPB&& from) noexcept { |
1422 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1423 | 0 | if (this != &from) InternalSwap(&from); |
1424 | 0 | } else { |
1425 | 0 | CopyFrom(from); |
1426 | 0 | } |
1427 | 0 | return *this; |
1428 | 0 | } |
1429 | | #endif |
1430 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1431 | 0 | return _internal_metadata_.unknown_fields(); |
1432 | 0 | } |
1433 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1434 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1435 | 0 | } |
1436 | | |
1437 | | static const ::google::protobuf::Descriptor* descriptor(); |
1438 | | static const IndexInfoPB_IndexColumnPB& default_instance(); |
1439 | | |
1440 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1441 | 2.45M | static inline const IndexInfoPB_IndexColumnPB* internal_default_instance() { |
1442 | 2.45M | return reinterpret_cast<const IndexInfoPB_IndexColumnPB*>( |
1443 | 2.45M | &_IndexInfoPB_IndexColumnPB_default_instance_); |
1444 | 2.45M | } |
1445 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1446 | | 6; |
1447 | | |
1448 | | void Swap(IndexInfoPB_IndexColumnPB* other); |
1449 | 0 | friend void swap(IndexInfoPB_IndexColumnPB& a, IndexInfoPB_IndexColumnPB& b) { |
1450 | 0 | a.Swap(&b); |
1451 | 0 | } |
1452 | | |
1453 | | // implements Message ---------------------------------------------- |
1454 | | |
1455 | 0 | inline IndexInfoPB_IndexColumnPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1456 | | |
1457 | | IndexInfoPB_IndexColumnPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1458 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1459 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1460 | | void CopyFrom(const IndexInfoPB_IndexColumnPB& from); |
1461 | | void MergeFrom(const IndexInfoPB_IndexColumnPB& from); |
1462 | | void Clear() PROTOBUF_FINAL; |
1463 | | bool IsInitialized() const PROTOBUF_FINAL; |
1464 | | |
1465 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1466 | | bool MergePartialFromCodedStream( |
1467 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1468 | | void SerializeWithCachedSizes( |
1469 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1470 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1471 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1472 | 1.06M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1473 | | private: |
1474 | | void SharedCtor(); |
1475 | | void SharedDtor(); |
1476 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1477 | | void InternalSwap(IndexInfoPB_IndexColumnPB* other); |
1478 | | private: |
1479 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1480 | 0 | return NULL; |
1481 | 0 | } |
1482 | 0 | inline void* MaybeArenaPtr() const { |
1483 | 0 | return NULL; |
1484 | 0 | } |
1485 | | public: |
1486 | | |
1487 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1488 | | |
1489 | | // nested types ---------------------------------------------------- |
1490 | | |
1491 | | // accessors ------------------------------------------------------- |
1492 | | |
1493 | | // optional string column_name = 3; |
1494 | | bool has_column_name() const; |
1495 | | void clear_column_name(); |
1496 | | static const int kColumnNameFieldNumber = 3; |
1497 | | const ::std::string& column_name() const; |
1498 | | void set_column_name(const ::std::string& value); |
1499 | | #if LANG_CXX11 |
1500 | | void set_column_name(::std::string&& value); |
1501 | | #endif |
1502 | | void set_column_name(const char* value); |
1503 | | void set_column_name(const char* value, size_t size); |
1504 | | ::std::string* mutable_column_name(); |
1505 | | ::std::string* release_column_name(); |
1506 | | void set_allocated_column_name(::std::string* column_name); |
1507 | | |
1508 | | // optional .yb.QLExpressionPB colexpr = 4; |
1509 | | bool has_colexpr() const; |
1510 | | void clear_colexpr(); |
1511 | | static const int kColexprFieldNumber = 4; |
1512 | | const ::yb::QLExpressionPB& colexpr() const; |
1513 | | ::yb::QLExpressionPB* release_colexpr(); |
1514 | | ::yb::QLExpressionPB* mutable_colexpr(); |
1515 | | void set_allocated_colexpr(::yb::QLExpressionPB* colexpr); |
1516 | | |
1517 | | // optional uint32 column_id = 1; |
1518 | | bool has_column_id() const; |
1519 | | void clear_column_id(); |
1520 | | static const int kColumnIdFieldNumber = 1; |
1521 | | ::google::protobuf::uint32 column_id() const; |
1522 | | void set_column_id(::google::protobuf::uint32 value); |
1523 | | |
1524 | | // optional uint32 indexed_column_id = 2; |
1525 | | bool has_indexed_column_id() const; |
1526 | | void clear_indexed_column_id(); |
1527 | | static const int kIndexedColumnIdFieldNumber = 2; |
1528 | | ::google::protobuf::uint32 indexed_column_id() const; |
1529 | | void set_indexed_column_id(::google::protobuf::uint32 value); |
1530 | | |
1531 | | // @@protoc_insertion_point(class_scope:yb.IndexInfoPB.IndexColumnPB) |
1532 | | private: |
1533 | | void set_has_column_id(); |
1534 | | void clear_has_column_id(); |
1535 | | void set_has_column_name(); |
1536 | | void clear_has_column_name(); |
1537 | | void set_has_indexed_column_id(); |
1538 | | void clear_has_indexed_column_id(); |
1539 | | void set_has_colexpr(); |
1540 | | void clear_has_colexpr(); |
1541 | | |
1542 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1543 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1544 | | mutable int _cached_size_; |
1545 | | ::google::protobuf::internal::ArenaStringPtr column_name_; |
1546 | | ::yb::QLExpressionPB* colexpr_; |
1547 | | ::google::protobuf::uint32 column_id_; |
1548 | | ::google::protobuf::uint32 indexed_column_id_; |
1549 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
1550 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPB_IndexColumnPBImpl(); |
1551 | | }; |
1552 | | // ------------------------------------------------------------------- |
1553 | | |
1554 | | class IndexInfoPB_WherePredicateSpecPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.IndexInfoPB.WherePredicateSpecPB) */ { |
1555 | | public: |
1556 | | IndexInfoPB_WherePredicateSpecPB(); |
1557 | | virtual ~IndexInfoPB_WherePredicateSpecPB(); |
1558 | | |
1559 | | IndexInfoPB_WherePredicateSpecPB(const IndexInfoPB_WherePredicateSpecPB& from); |
1560 | | |
1561 | 0 | inline IndexInfoPB_WherePredicateSpecPB& operator=(const IndexInfoPB_WherePredicateSpecPB& from) { |
1562 | 0 | CopyFrom(from); |
1563 | 0 | return *this; |
1564 | 0 | } |
1565 | | #if LANG_CXX11 |
1566 | | IndexInfoPB_WherePredicateSpecPB(IndexInfoPB_WherePredicateSpecPB&& from) noexcept |
1567 | 0 | : IndexInfoPB_WherePredicateSpecPB() { |
1568 | 0 | *this = ::std::move(from); |
1569 | 0 | } |
1570 | | |
1571 | 0 | inline IndexInfoPB_WherePredicateSpecPB& operator=(IndexInfoPB_WherePredicateSpecPB&& from) noexcept { |
1572 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1573 | 0 | if (this != &from) InternalSwap(&from); |
1574 | 0 | } else { |
1575 | 0 | CopyFrom(from); |
1576 | 0 | } |
1577 | 0 | return *this; |
1578 | 0 | } |
1579 | | #endif |
1580 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1581 | 0 | return _internal_metadata_.unknown_fields(); |
1582 | 0 | } |
1583 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1584 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1585 | 0 | } |
1586 | | |
1587 | | static const ::google::protobuf::Descriptor* descriptor(); |
1588 | | static const IndexInfoPB_WherePredicateSpecPB& default_instance(); |
1589 | | |
1590 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1591 | 181k | static inline const IndexInfoPB_WherePredicateSpecPB* internal_default_instance() { |
1592 | 181k | return reinterpret_cast<const IndexInfoPB_WherePredicateSpecPB*>( |
1593 | 181k | &_IndexInfoPB_WherePredicateSpecPB_default_instance_); |
1594 | 181k | } |
1595 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1596 | | 7; |
1597 | | |
1598 | | void Swap(IndexInfoPB_WherePredicateSpecPB* other); |
1599 | 0 | friend void swap(IndexInfoPB_WherePredicateSpecPB& a, IndexInfoPB_WherePredicateSpecPB& b) { |
1600 | 0 | a.Swap(&b); |
1601 | 0 | } |
1602 | | |
1603 | | // implements Message ---------------------------------------------- |
1604 | | |
1605 | 0 | inline IndexInfoPB_WherePredicateSpecPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1606 | | |
1607 | | IndexInfoPB_WherePredicateSpecPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1608 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1609 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1610 | | void CopyFrom(const IndexInfoPB_WherePredicateSpecPB& from); |
1611 | | void MergeFrom(const IndexInfoPB_WherePredicateSpecPB& from); |
1612 | | void Clear() PROTOBUF_FINAL; |
1613 | | bool IsInitialized() const PROTOBUF_FINAL; |
1614 | | |
1615 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1616 | | bool MergePartialFromCodedStream( |
1617 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1618 | | void SerializeWithCachedSizes( |
1619 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1620 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1621 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1622 | 53.0k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1623 | | private: |
1624 | | void SharedCtor(); |
1625 | | void SharedDtor(); |
1626 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1627 | | void InternalSwap(IndexInfoPB_WherePredicateSpecPB* other); |
1628 | | private: |
1629 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1630 | 0 | return NULL; |
1631 | 0 | } |
1632 | 0 | inline void* MaybeArenaPtr() const { |
1633 | 0 | return NULL; |
1634 | 0 | } |
1635 | | public: |
1636 | | |
1637 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1638 | | |
1639 | | // nested types ---------------------------------------------------- |
1640 | | |
1641 | | // accessors ------------------------------------------------------- |
1642 | | |
1643 | | // repeated uint32 column_ids = 1; |
1644 | | int column_ids_size() const; |
1645 | | void clear_column_ids(); |
1646 | | static const int kColumnIdsFieldNumber = 1; |
1647 | | ::google::protobuf::uint32 column_ids(int index) const; |
1648 | | void set_column_ids(int index, ::google::protobuf::uint32 value); |
1649 | | void add_column_ids(::google::protobuf::uint32 value); |
1650 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
1651 | | column_ids() const; |
1652 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
1653 | | mutable_column_ids(); |
1654 | | |
1655 | | // optional .yb.QLExpressionPB where_expr = 2; |
1656 | | bool has_where_expr() const; |
1657 | | void clear_where_expr(); |
1658 | | static const int kWhereExprFieldNumber = 2; |
1659 | | const ::yb::QLExpressionPB& where_expr() const; |
1660 | | ::yb::QLExpressionPB* release_where_expr(); |
1661 | | ::yb::QLExpressionPB* mutable_where_expr(); |
1662 | | void set_allocated_where_expr(::yb::QLExpressionPB* where_expr); |
1663 | | |
1664 | | // @@protoc_insertion_point(class_scope:yb.IndexInfoPB.WherePredicateSpecPB) |
1665 | | private: |
1666 | | void set_has_where_expr(); |
1667 | | void clear_has_where_expr(); |
1668 | | |
1669 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1670 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1671 | | mutable int _cached_size_; |
1672 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > column_ids_; |
1673 | | ::yb::QLExpressionPB* where_expr_; |
1674 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
1675 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPB_WherePredicateSpecPBImpl(); |
1676 | | }; |
1677 | | // ------------------------------------------------------------------- |
1678 | | |
1679 | | class IndexInfoPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.IndexInfoPB) */ { |
1680 | | public: |
1681 | | IndexInfoPB(); |
1682 | | virtual ~IndexInfoPB(); |
1683 | | |
1684 | | IndexInfoPB(const IndexInfoPB& from); |
1685 | | |
1686 | 22.2k | inline IndexInfoPB& operator=(const IndexInfoPB& from) { |
1687 | 22.2k | CopyFrom(from); |
1688 | 22.2k | return *this; |
1689 | 22.2k | } |
1690 | | #if LANG_CXX11 |
1691 | | IndexInfoPB(IndexInfoPB&& from) noexcept |
1692 | 139 | : IndexInfoPB() { |
1693 | 139 | *this = ::std::move(from); |
1694 | 139 | } Unexecuted instantiation: _ZN2yb11IndexInfoPBC2EOS0_ _ZN2yb11IndexInfoPBC1EOS0_ Line | Count | Source | 1692 | 139 | : IndexInfoPB() { | 1693 | 139 | *this = ::std::move(from); | 1694 | 139 | } |
|
1695 | | |
1696 | 139 | inline IndexInfoPB& operator=(IndexInfoPB&& from) noexcept { |
1697 | 139 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1698 | 139 | if (this != &from) InternalSwap(&from); |
1699 | 0 | } else { |
1700 | 0 | CopyFrom(from); |
1701 | 0 | } |
1702 | 139 | return *this; |
1703 | 139 | } |
1704 | | #endif |
1705 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1706 | 0 | return _internal_metadata_.unknown_fields(); |
1707 | 0 | } |
1708 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1709 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1710 | 0 | } |
1711 | | |
1712 | | static const ::google::protobuf::Descriptor* descriptor(); |
1713 | | static const IndexInfoPB& default_instance(); |
1714 | | |
1715 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1716 | 1.28M | static inline const IndexInfoPB* internal_default_instance() { |
1717 | 1.28M | return reinterpret_cast<const IndexInfoPB*>( |
1718 | 1.28M | &_IndexInfoPB_default_instance_); |
1719 | 1.28M | } |
1720 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
1721 | | 8; |
1722 | | |
1723 | | void Swap(IndexInfoPB* other); |
1724 | 0 | friend void swap(IndexInfoPB& a, IndexInfoPB& b) { |
1725 | 0 | a.Swap(&b); |
1726 | 0 | } |
1727 | | |
1728 | | // implements Message ---------------------------------------------- |
1729 | | |
1730 | 0 | inline IndexInfoPB* New() const PROTOBUF_FINAL { return New(NULL); } |
1731 | | |
1732 | | IndexInfoPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
1733 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1734 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
1735 | | void CopyFrom(const IndexInfoPB& from); |
1736 | | void MergeFrom(const IndexInfoPB& from); |
1737 | | void Clear() PROTOBUF_FINAL; |
1738 | | bool IsInitialized() const PROTOBUF_FINAL; |
1739 | | |
1740 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
1741 | | bool MergePartialFromCodedStream( |
1742 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
1743 | | void SerializeWithCachedSizes( |
1744 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
1745 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1746 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
1747 | 328k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
1748 | | private: |
1749 | | void SharedCtor(); |
1750 | | void SharedDtor(); |
1751 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
1752 | | void InternalSwap(IndexInfoPB* other); |
1753 | | private: |
1754 | 278 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1755 | 278 | return NULL; |
1756 | 278 | } |
1757 | 0 | inline void* MaybeArenaPtr() const { |
1758 | 0 | return NULL; |
1759 | 0 | } |
1760 | | public: |
1761 | | |
1762 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
1763 | | |
1764 | | // nested types ---------------------------------------------------- |
1765 | | |
1766 | | typedef IndexInfoPB_IndexColumnPB IndexColumnPB; |
1767 | | typedef IndexInfoPB_WherePredicateSpecPB WherePredicateSpecPB; |
1768 | | |
1769 | | // accessors ------------------------------------------------------- |
1770 | | |
1771 | | // repeated .yb.IndexInfoPB.IndexColumnPB columns = 4; |
1772 | | int columns_size() const; |
1773 | | void clear_columns(); |
1774 | | static const int kColumnsFieldNumber = 4; |
1775 | | const ::yb::IndexInfoPB_IndexColumnPB& columns(int index) const; |
1776 | | ::yb::IndexInfoPB_IndexColumnPB* mutable_columns(int index); |
1777 | | ::yb::IndexInfoPB_IndexColumnPB* add_columns(); |
1778 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB_IndexColumnPB >* |
1779 | | mutable_columns(); |
1780 | | const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB_IndexColumnPB >& |
1781 | | columns() const; |
1782 | | |
1783 | | // repeated uint32 indexed_hash_column_ids = 9; |
1784 | | int indexed_hash_column_ids_size() const; |
1785 | | void clear_indexed_hash_column_ids(); |
1786 | | static const int kIndexedHashColumnIdsFieldNumber = 9; |
1787 | | ::google::protobuf::uint32 indexed_hash_column_ids(int index) const; |
1788 | | void set_indexed_hash_column_ids(int index, ::google::protobuf::uint32 value); |
1789 | | void add_indexed_hash_column_ids(::google::protobuf::uint32 value); |
1790 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
1791 | | indexed_hash_column_ids() const; |
1792 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
1793 | | mutable_indexed_hash_column_ids(); |
1794 | | |
1795 | | // repeated uint32 indexed_range_column_ids = 10; |
1796 | | int indexed_range_column_ids_size() const; |
1797 | | void clear_indexed_range_column_ids(); |
1798 | | static const int kIndexedRangeColumnIdsFieldNumber = 10; |
1799 | | ::google::protobuf::uint32 indexed_range_column_ids(int index) const; |
1800 | | void set_indexed_range_column_ids(int index, ::google::protobuf::uint32 value); |
1801 | | void add_indexed_range_column_ids(::google::protobuf::uint32 value); |
1802 | | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
1803 | | indexed_range_column_ids() const; |
1804 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
1805 | | mutable_indexed_range_column_ids(); |
1806 | | |
1807 | | // optional bytes table_id = 1; |
1808 | | bool has_table_id() const; |
1809 | | void clear_table_id(); |
1810 | | static const int kTableIdFieldNumber = 1; |
1811 | | const ::std::string& table_id() const; |
1812 | | void set_table_id(const ::std::string& value); |
1813 | | #if LANG_CXX11 |
1814 | | void set_table_id(::std::string&& value); |
1815 | | #endif |
1816 | | void set_table_id(const char* value); |
1817 | | void set_table_id(const void* value, size_t size); |
1818 | | ::std::string* mutable_table_id(); |
1819 | | ::std::string* release_table_id(); |
1820 | | void set_allocated_table_id(::std::string* table_id); |
1821 | | |
1822 | | // optional bytes indexed_table_id = 8; |
1823 | | bool has_indexed_table_id() const; |
1824 | | void clear_indexed_table_id(); |
1825 | | static const int kIndexedTableIdFieldNumber = 8; |
1826 | | const ::std::string& indexed_table_id() const; |
1827 | | void set_indexed_table_id(const ::std::string& value); |
1828 | | #if LANG_CXX11 |
1829 | | void set_indexed_table_id(::std::string&& value); |
1830 | | #endif |
1831 | | void set_indexed_table_id(const char* value); |
1832 | | void set_indexed_table_id(const void* value, size_t size); |
1833 | | ::std::string* mutable_indexed_table_id(); |
1834 | | ::std::string* release_indexed_table_id(); |
1835 | | void set_allocated_indexed_table_id(::std::string* indexed_table_id); |
1836 | | |
1837 | | // optional string backfill_error_message = 31; |
1838 | | bool has_backfill_error_message() const; |
1839 | | void clear_backfill_error_message(); |
1840 | | static const int kBackfillErrorMessageFieldNumber = 31; |
1841 | | const ::std::string& backfill_error_message() const; |
1842 | | void set_backfill_error_message(const ::std::string& value); |
1843 | | #if LANG_CXX11 |
1844 | | void set_backfill_error_message(::std::string&& value); |
1845 | | #endif |
1846 | | void set_backfill_error_message(const char* value); |
1847 | | void set_backfill_error_message(const char* value, size_t size); |
1848 | | ::std::string* mutable_backfill_error_message(); |
1849 | | ::std::string* release_backfill_error_message(); |
1850 | | void set_allocated_backfill_error_message(::std::string* backfill_error_message); |
1851 | | |
1852 | | // optional .yb.IndexInfoPB.WherePredicateSpecPB where_predicate_spec = 33; |
1853 | | bool has_where_predicate_spec() const; |
1854 | | void clear_where_predicate_spec(); |
1855 | | static const int kWherePredicateSpecFieldNumber = 33; |
1856 | | const ::yb::IndexInfoPB_WherePredicateSpecPB& where_predicate_spec() const; |
1857 | | ::yb::IndexInfoPB_WherePredicateSpecPB* release_where_predicate_spec(); |
1858 | | ::yb::IndexInfoPB_WherePredicateSpecPB* mutable_where_predicate_spec(); |
1859 | | void set_allocated_where_predicate_spec(::yb::IndexInfoPB_WherePredicateSpecPB* where_predicate_spec); |
1860 | | |
1861 | | // optional uint32 version = 2 [default = 0]; |
1862 | | bool has_version() const; |
1863 | | void clear_version(); |
1864 | | static const int kVersionFieldNumber = 2; |
1865 | | ::google::protobuf::uint32 version() const; |
1866 | | void set_version(::google::protobuf::uint32 value); |
1867 | | |
1868 | | // optional uint32 hash_column_count = 5; |
1869 | | bool has_hash_column_count() const; |
1870 | | void clear_hash_column_count(); |
1871 | | static const int kHashColumnCountFieldNumber = 5; |
1872 | | ::google::protobuf::uint32 hash_column_count() const; |
1873 | | void set_hash_column_count(::google::protobuf::uint32 value); |
1874 | | |
1875 | | // optional uint32 range_column_count = 6; |
1876 | | bool has_range_column_count() const; |
1877 | | void clear_range_column_count(); |
1878 | | static const int kRangeColumnCountFieldNumber = 6; |
1879 | | ::google::protobuf::uint32 range_column_count() const; |
1880 | | void set_range_column_count(::google::protobuf::uint32 value); |
1881 | | |
1882 | | // optional bool is_local = 3 [default = false]; |
1883 | | bool has_is_local() const; |
1884 | | void clear_is_local(); |
1885 | | static const int kIsLocalFieldNumber = 3; |
1886 | | bool is_local() const; |
1887 | | void set_is_local(bool value); |
1888 | | |
1889 | | // optional bool is_unique = 7 [default = false]; |
1890 | | bool has_is_unique() const; |
1891 | | void clear_is_unique(); |
1892 | | static const int kIsUniqueFieldNumber = 7; |
1893 | | bool is_unique() const; |
1894 | | void set_is_unique(bool value); |
1895 | | |
1896 | | // optional bool use_mangled_column_name = 11 [default = false]; |
1897 | | bool has_use_mangled_column_name() const; |
1898 | | void clear_use_mangled_column_name(); |
1899 | | static const int kUseMangledColumnNameFieldNumber = 11; |
1900 | | bool use_mangled_column_name() const; |
1901 | | void set_use_mangled_column_name(bool value); |
1902 | | |
1903 | | // optional bool is_backfill_deferred = 32 [default = false]; |
1904 | | bool has_is_backfill_deferred() const; |
1905 | | void clear_is_backfill_deferred(); |
1906 | | static const int kIsBackfillDeferredFieldNumber = 32; |
1907 | | bool is_backfill_deferred() const; |
1908 | | void set_is_backfill_deferred(bool value); |
1909 | | |
1910 | | // optional .yb.IndexPermissions index_permissions = 12 [default = INDEX_PERM_READ_WRITE_AND_DELETE]; |
1911 | | bool has_index_permissions() const; |
1912 | | void clear_index_permissions(); |
1913 | | static const int kIndexPermissionsFieldNumber = 12; |
1914 | | ::yb::IndexPermissions index_permissions() const; |
1915 | | void set_index_permissions(::yb::IndexPermissions value); |
1916 | | |
1917 | | // @@protoc_insertion_point(class_scope:yb.IndexInfoPB) |
1918 | | private: |
1919 | | void set_has_table_id(); |
1920 | | void clear_has_table_id(); |
1921 | | void set_has_indexed_table_id(); |
1922 | | void clear_has_indexed_table_id(); |
1923 | | void set_has_version(); |
1924 | | void clear_has_version(); |
1925 | | void set_has_is_local(); |
1926 | | void clear_has_is_local(); |
1927 | | void set_has_is_unique(); |
1928 | | void clear_has_is_unique(); |
1929 | | void set_has_index_permissions(); |
1930 | | void clear_has_index_permissions(); |
1931 | | void set_has_hash_column_count(); |
1932 | | void clear_has_hash_column_count(); |
1933 | | void set_has_range_column_count(); |
1934 | | void clear_has_range_column_count(); |
1935 | | void set_has_use_mangled_column_name(); |
1936 | | void clear_has_use_mangled_column_name(); |
1937 | | void set_has_backfill_error_message(); |
1938 | | void clear_has_backfill_error_message(); |
1939 | | void set_has_is_backfill_deferred(); |
1940 | | void clear_has_is_backfill_deferred(); |
1941 | | void set_has_where_predicate_spec(); |
1942 | | void clear_has_where_predicate_spec(); |
1943 | | |
1944 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1945 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1946 | | mutable int _cached_size_; |
1947 | | ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB_IndexColumnPB > columns_; |
1948 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > indexed_hash_column_ids_; |
1949 | | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > indexed_range_column_ids_; |
1950 | | ::google::protobuf::internal::ArenaStringPtr table_id_; |
1951 | | ::google::protobuf::internal::ArenaStringPtr indexed_table_id_; |
1952 | | ::google::protobuf::internal::ArenaStringPtr backfill_error_message_; |
1953 | | ::yb::IndexInfoPB_WherePredicateSpecPB* where_predicate_spec_; |
1954 | | ::google::protobuf::uint32 version_; |
1955 | | ::google::protobuf::uint32 hash_column_count_; |
1956 | | ::google::protobuf::uint32 range_column_count_; |
1957 | | bool is_local_; |
1958 | | bool is_unique_; |
1959 | | bool use_mangled_column_name_; |
1960 | | bool is_backfill_deferred_; |
1961 | | int index_permissions_; |
1962 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
1963 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsIndexInfoPBImpl(); |
1964 | | }; |
1965 | | // ------------------------------------------------------------------- |
1966 | | |
1967 | | class PartitionSchemaPB_ColumnIdentifierPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PartitionSchemaPB.ColumnIdentifierPB) */ { |
1968 | | public: |
1969 | | PartitionSchemaPB_ColumnIdentifierPB(); |
1970 | | virtual ~PartitionSchemaPB_ColumnIdentifierPB(); |
1971 | | |
1972 | | PartitionSchemaPB_ColumnIdentifierPB(const PartitionSchemaPB_ColumnIdentifierPB& from); |
1973 | | |
1974 | 0 | inline PartitionSchemaPB_ColumnIdentifierPB& operator=(const PartitionSchemaPB_ColumnIdentifierPB& from) { |
1975 | 0 | CopyFrom(from); |
1976 | 0 | return *this; |
1977 | 0 | } |
1978 | | #if LANG_CXX11 |
1979 | | PartitionSchemaPB_ColumnIdentifierPB(PartitionSchemaPB_ColumnIdentifierPB&& from) noexcept |
1980 | 0 | : PartitionSchemaPB_ColumnIdentifierPB() { |
1981 | 0 | *this = ::std::move(from); |
1982 | 0 | } |
1983 | | |
1984 | 0 | inline PartitionSchemaPB_ColumnIdentifierPB& operator=(PartitionSchemaPB_ColumnIdentifierPB&& from) noexcept { |
1985 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1986 | 0 | if (this != &from) InternalSwap(&from); |
1987 | 0 | } else { |
1988 | 0 | CopyFrom(from); |
1989 | 0 | } |
1990 | 0 | return *this; |
1991 | 0 | } |
1992 | | #endif |
1993 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1994 | 0 | return _internal_metadata_.unknown_fields(); |
1995 | 0 | } |
1996 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1997 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
1998 | 0 | } |
1999 | | |
2000 | | static const ::google::protobuf::Descriptor* descriptor(); |
2001 | | static const PartitionSchemaPB_ColumnIdentifierPB& default_instance(); |
2002 | | |
2003 | | enum IdentifierCase { |
2004 | | kId = 1, |
2005 | | kName = 2, |
2006 | | IDENTIFIER_NOT_SET = 0, |
2007 | | }; |
2008 | | |
2009 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2010 | 275M | static inline const PartitionSchemaPB_ColumnIdentifierPB* internal_default_instance() { |
2011 | 275M | return reinterpret_cast<const PartitionSchemaPB_ColumnIdentifierPB*>( |
2012 | 275M | &_PartitionSchemaPB_ColumnIdentifierPB_default_instance_); |
2013 | 275M | } |
2014 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2015 | | 9; |
2016 | | |
2017 | | void Swap(PartitionSchemaPB_ColumnIdentifierPB* other); |
2018 | 0 | friend void swap(PartitionSchemaPB_ColumnIdentifierPB& a, PartitionSchemaPB_ColumnIdentifierPB& b) { |
2019 | 0 | a.Swap(&b); |
2020 | 0 | } |
2021 | | |
2022 | | // implements Message ---------------------------------------------- |
2023 | | |
2024 | 0 | inline PartitionSchemaPB_ColumnIdentifierPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2025 | | |
2026 | | PartitionSchemaPB_ColumnIdentifierPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2027 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2028 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2029 | | void CopyFrom(const PartitionSchemaPB_ColumnIdentifierPB& from); |
2030 | | void MergeFrom(const PartitionSchemaPB_ColumnIdentifierPB& from); |
2031 | | void Clear() PROTOBUF_FINAL; |
2032 | | bool IsInitialized() const PROTOBUF_FINAL; |
2033 | | |
2034 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2035 | | bool MergePartialFromCodedStream( |
2036 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2037 | | void SerializeWithCachedSizes( |
2038 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2039 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2040 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2041 | 275M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2042 | | private: |
2043 | | void SharedCtor(); |
2044 | | void SharedDtor(); |
2045 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2046 | | void InternalSwap(PartitionSchemaPB_ColumnIdentifierPB* other); |
2047 | | private: |
2048 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2049 | 0 | return NULL; |
2050 | 0 | } |
2051 | 0 | inline void* MaybeArenaPtr() const { |
2052 | 0 | return NULL; |
2053 | 0 | } |
2054 | | public: |
2055 | | |
2056 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2057 | | |
2058 | | // nested types ---------------------------------------------------- |
2059 | | |
2060 | | // accessors ------------------------------------------------------- |
2061 | | |
2062 | | // optional int32 id = 1; |
2063 | | bool has_id() const; |
2064 | | void clear_id(); |
2065 | | static const int kIdFieldNumber = 1; |
2066 | | ::google::protobuf::int32 id() const; |
2067 | | void set_id(::google::protobuf::int32 value); |
2068 | | |
2069 | | // optional string name = 2; |
2070 | | bool has_name() const; |
2071 | | void clear_name(); |
2072 | | static const int kNameFieldNumber = 2; |
2073 | | const ::std::string& name() const; |
2074 | | void set_name(const ::std::string& value); |
2075 | | #if LANG_CXX11 |
2076 | | void set_name(::std::string&& value); |
2077 | | #endif |
2078 | | void set_name(const char* value); |
2079 | | void set_name(const char* value, size_t size); |
2080 | | ::std::string* mutable_name(); |
2081 | | ::std::string* release_name(); |
2082 | | void set_allocated_name(::std::string* name); |
2083 | | |
2084 | | IdentifierCase identifier_case() const; |
2085 | | // @@protoc_insertion_point(class_scope:yb.PartitionSchemaPB.ColumnIdentifierPB) |
2086 | | private: |
2087 | | void set_has_id(); |
2088 | | void set_has_name(); |
2089 | | |
2090 | | inline bool has_identifier() const; |
2091 | | void clear_identifier(); |
2092 | | inline void clear_has_identifier(); |
2093 | | |
2094 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2095 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2096 | | mutable int _cached_size_; |
2097 | | union IdentifierUnion { |
2098 | 275M | IdentifierUnion() {} |
2099 | | ::google::protobuf::int32 id_; |
2100 | | ::google::protobuf::internal::ArenaStringPtr name_; |
2101 | | } identifier_; |
2102 | | ::google::protobuf::uint32 _oneof_case_[1]; |
2103 | | |
2104 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
2105 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB_ColumnIdentifierPBImpl(); |
2106 | | }; |
2107 | | // ------------------------------------------------------------------- |
2108 | | |
2109 | | class PartitionSchemaPB_RangeSplitPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PartitionSchemaPB.RangeSplitPB) */ { |
2110 | | public: |
2111 | | PartitionSchemaPB_RangeSplitPB(); |
2112 | | virtual ~PartitionSchemaPB_RangeSplitPB(); |
2113 | | |
2114 | | PartitionSchemaPB_RangeSplitPB(const PartitionSchemaPB_RangeSplitPB& from); |
2115 | | |
2116 | 0 | inline PartitionSchemaPB_RangeSplitPB& operator=(const PartitionSchemaPB_RangeSplitPB& from) { |
2117 | 0 | CopyFrom(from); |
2118 | 0 | return *this; |
2119 | 0 | } |
2120 | | #if LANG_CXX11 |
2121 | | PartitionSchemaPB_RangeSplitPB(PartitionSchemaPB_RangeSplitPB&& from) noexcept |
2122 | 0 | : PartitionSchemaPB_RangeSplitPB() { |
2123 | 0 | *this = ::std::move(from); |
2124 | 0 | } |
2125 | | |
2126 | 0 | inline PartitionSchemaPB_RangeSplitPB& operator=(PartitionSchemaPB_RangeSplitPB&& from) noexcept { |
2127 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2128 | 0 | if (this != &from) InternalSwap(&from); |
2129 | 0 | } else { |
2130 | 0 | CopyFrom(from); |
2131 | 0 | } |
2132 | 0 | return *this; |
2133 | 0 | } |
2134 | | #endif |
2135 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2136 | 0 | return _internal_metadata_.unknown_fields(); |
2137 | 0 | } |
2138 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2139 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2140 | 0 | } |
2141 | | |
2142 | | static const ::google::protobuf::Descriptor* descriptor(); |
2143 | | static const PartitionSchemaPB_RangeSplitPB& default_instance(); |
2144 | | |
2145 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2146 | 18.9k | static inline const PartitionSchemaPB_RangeSplitPB* internal_default_instance() { |
2147 | 18.9k | return reinterpret_cast<const PartitionSchemaPB_RangeSplitPB*>( |
2148 | 18.9k | &_PartitionSchemaPB_RangeSplitPB_default_instance_); |
2149 | 18.9k | } |
2150 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2151 | | 10; |
2152 | | |
2153 | | void Swap(PartitionSchemaPB_RangeSplitPB* other); |
2154 | 0 | friend void swap(PartitionSchemaPB_RangeSplitPB& a, PartitionSchemaPB_RangeSplitPB& b) { |
2155 | 0 | a.Swap(&b); |
2156 | 0 | } |
2157 | | |
2158 | | // implements Message ---------------------------------------------- |
2159 | | |
2160 | 0 | inline PartitionSchemaPB_RangeSplitPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2161 | | |
2162 | | PartitionSchemaPB_RangeSplitPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2163 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2164 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2165 | | void CopyFrom(const PartitionSchemaPB_RangeSplitPB& from); |
2166 | | void MergeFrom(const PartitionSchemaPB_RangeSplitPB& from); |
2167 | | void Clear() PROTOBUF_FINAL; |
2168 | | bool IsInitialized() const PROTOBUF_FINAL; |
2169 | | |
2170 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2171 | | bool MergePartialFromCodedStream( |
2172 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2173 | | void SerializeWithCachedSizes( |
2174 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2175 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2176 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2177 | 1.04k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2178 | | private: |
2179 | | void SharedCtor(); |
2180 | | void SharedDtor(); |
2181 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2182 | | void InternalSwap(PartitionSchemaPB_RangeSplitPB* other); |
2183 | | private: |
2184 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2185 | 0 | return NULL; |
2186 | 0 | } |
2187 | 0 | inline void* MaybeArenaPtr() const { |
2188 | 0 | return NULL; |
2189 | 0 | } |
2190 | | public: |
2191 | | |
2192 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2193 | | |
2194 | | // nested types ---------------------------------------------------- |
2195 | | |
2196 | | // accessors ------------------------------------------------------- |
2197 | | |
2198 | | // optional bytes column_bounds = 1; |
2199 | | bool has_column_bounds() const; |
2200 | | void clear_column_bounds(); |
2201 | | static const int kColumnBoundsFieldNumber = 1; |
2202 | | const ::std::string& column_bounds() const; |
2203 | | void set_column_bounds(const ::std::string& value); |
2204 | | #if LANG_CXX11 |
2205 | | void set_column_bounds(::std::string&& value); |
2206 | | #endif |
2207 | | void set_column_bounds(const char* value); |
2208 | | void set_column_bounds(const void* value, size_t size); |
2209 | | ::std::string* mutable_column_bounds(); |
2210 | | ::std::string* release_column_bounds(); |
2211 | | void set_allocated_column_bounds(::std::string* column_bounds); |
2212 | | |
2213 | | // @@protoc_insertion_point(class_scope:yb.PartitionSchemaPB.RangeSplitPB) |
2214 | | private: |
2215 | | void set_has_column_bounds(); |
2216 | | void clear_has_column_bounds(); |
2217 | | |
2218 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2219 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2220 | | mutable int _cached_size_; |
2221 | | ::google::protobuf::internal::ArenaStringPtr column_bounds_; |
2222 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
2223 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB_RangeSplitPBImpl(); |
2224 | | }; |
2225 | | // ------------------------------------------------------------------- |
2226 | | |
2227 | | class PartitionSchemaPB_RangeSchemaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PartitionSchemaPB.RangeSchemaPB) */ { |
2228 | | public: |
2229 | | PartitionSchemaPB_RangeSchemaPB(); |
2230 | | virtual ~PartitionSchemaPB_RangeSchemaPB(); |
2231 | | |
2232 | | PartitionSchemaPB_RangeSchemaPB(const PartitionSchemaPB_RangeSchemaPB& from); |
2233 | | |
2234 | 0 | inline PartitionSchemaPB_RangeSchemaPB& operator=(const PartitionSchemaPB_RangeSchemaPB& from) { |
2235 | 0 | CopyFrom(from); |
2236 | 0 | return *this; |
2237 | 0 | } |
2238 | | #if LANG_CXX11 |
2239 | | PartitionSchemaPB_RangeSchemaPB(PartitionSchemaPB_RangeSchemaPB&& from) noexcept |
2240 | 0 | : PartitionSchemaPB_RangeSchemaPB() { |
2241 | 0 | *this = ::std::move(from); |
2242 | 0 | } |
2243 | | |
2244 | 0 | inline PartitionSchemaPB_RangeSchemaPB& operator=(PartitionSchemaPB_RangeSchemaPB&& from) noexcept { |
2245 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2246 | 0 | if (this != &from) InternalSwap(&from); |
2247 | 0 | } else { |
2248 | 0 | CopyFrom(from); |
2249 | 0 | } |
2250 | 0 | return *this; |
2251 | 0 | } |
2252 | | #endif |
2253 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2254 | 0 | return _internal_metadata_.unknown_fields(); |
2255 | 0 | } |
2256 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2257 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2258 | 0 | } |
2259 | | |
2260 | | static const ::google::protobuf::Descriptor* descriptor(); |
2261 | | static const PartitionSchemaPB_RangeSchemaPB& default_instance(); |
2262 | | |
2263 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2264 | 140M | static inline const PartitionSchemaPB_RangeSchemaPB* internal_default_instance() { |
2265 | 140M | return reinterpret_cast<const PartitionSchemaPB_RangeSchemaPB*>( |
2266 | 140M | &_PartitionSchemaPB_RangeSchemaPB_default_instance_); |
2267 | 140M | } |
2268 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2269 | | 11; |
2270 | | |
2271 | | void Swap(PartitionSchemaPB_RangeSchemaPB* other); |
2272 | 0 | friend void swap(PartitionSchemaPB_RangeSchemaPB& a, PartitionSchemaPB_RangeSchemaPB& b) { |
2273 | 0 | a.Swap(&b); |
2274 | 0 | } |
2275 | | |
2276 | | // implements Message ---------------------------------------------- |
2277 | | |
2278 | 0 | inline PartitionSchemaPB_RangeSchemaPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2279 | | |
2280 | | PartitionSchemaPB_RangeSchemaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2281 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2282 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2283 | | void CopyFrom(const PartitionSchemaPB_RangeSchemaPB& from); |
2284 | | void MergeFrom(const PartitionSchemaPB_RangeSchemaPB& from); |
2285 | | void Clear() PROTOBUF_FINAL; |
2286 | | bool IsInitialized() const PROTOBUF_FINAL; |
2287 | | |
2288 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2289 | | bool MergePartialFromCodedStream( |
2290 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2291 | | void SerializeWithCachedSizes( |
2292 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2293 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2294 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2295 | 140M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2296 | | private: |
2297 | | void SharedCtor(); |
2298 | | void SharedDtor(); |
2299 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2300 | | void InternalSwap(PartitionSchemaPB_RangeSchemaPB* other); |
2301 | | private: |
2302 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2303 | 0 | return NULL; |
2304 | 0 | } |
2305 | 0 | inline void* MaybeArenaPtr() const { |
2306 | 0 | return NULL; |
2307 | 0 | } |
2308 | | public: |
2309 | | |
2310 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2311 | | |
2312 | | // nested types ---------------------------------------------------- |
2313 | | |
2314 | | // accessors ------------------------------------------------------- |
2315 | | |
2316 | | // repeated .yb.PartitionSchemaPB.ColumnIdentifierPB columns = 1; |
2317 | | int columns_size() const; |
2318 | | void clear_columns(); |
2319 | | static const int kColumnsFieldNumber = 1; |
2320 | | const ::yb::PartitionSchemaPB_ColumnIdentifierPB& columns(int index) const; |
2321 | | ::yb::PartitionSchemaPB_ColumnIdentifierPB* mutable_columns(int index); |
2322 | | ::yb::PartitionSchemaPB_ColumnIdentifierPB* add_columns(); |
2323 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >* |
2324 | | mutable_columns(); |
2325 | | const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >& |
2326 | | columns() const; |
2327 | | |
2328 | | // repeated bytes DEPRECATED_split_rows = 2; |
2329 | | int deprecated_split_rows_size() const; |
2330 | | void clear_deprecated_split_rows(); |
2331 | | static const int kDEPRECATEDSplitRowsFieldNumber = 2; |
2332 | | const ::std::string& deprecated_split_rows(int index) const; |
2333 | | ::std::string* mutable_deprecated_split_rows(int index); |
2334 | | void set_deprecated_split_rows(int index, const ::std::string& value); |
2335 | | #if LANG_CXX11 |
2336 | | void set_deprecated_split_rows(int index, ::std::string&& value); |
2337 | | #endif |
2338 | | void set_deprecated_split_rows(int index, const char* value); |
2339 | | void set_deprecated_split_rows(int index, const void* value, size_t size); |
2340 | | ::std::string* add_deprecated_split_rows(); |
2341 | | void add_deprecated_split_rows(const ::std::string& value); |
2342 | | #if LANG_CXX11 |
2343 | | void add_deprecated_split_rows(::std::string&& value); |
2344 | | #endif |
2345 | | void add_deprecated_split_rows(const char* value); |
2346 | | void add_deprecated_split_rows(const void* value, size_t size); |
2347 | | const ::google::protobuf::RepeatedPtrField< ::std::string>& deprecated_split_rows() const; |
2348 | | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_deprecated_split_rows(); |
2349 | | |
2350 | | // repeated .yb.PartitionSchemaPB.RangeSplitPB splits = 3; |
2351 | | int splits_size() const; |
2352 | | void clear_splits(); |
2353 | | static const int kSplitsFieldNumber = 3; |
2354 | | const ::yb::PartitionSchemaPB_RangeSplitPB& splits(int index) const; |
2355 | | ::yb::PartitionSchemaPB_RangeSplitPB* mutable_splits(int index); |
2356 | | ::yb::PartitionSchemaPB_RangeSplitPB* add_splits(); |
2357 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_RangeSplitPB >* |
2358 | | mutable_splits(); |
2359 | | const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_RangeSplitPB >& |
2360 | | splits() const; |
2361 | | |
2362 | | // @@protoc_insertion_point(class_scope:yb.PartitionSchemaPB.RangeSchemaPB) |
2363 | | private: |
2364 | | |
2365 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2366 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2367 | | mutable int _cached_size_; |
2368 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB > columns_; |
2369 | | ::google::protobuf::RepeatedPtrField< ::std::string> deprecated_split_rows_; |
2370 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_RangeSplitPB > splits_; |
2371 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
2372 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB_RangeSchemaPBImpl(); |
2373 | | }; |
2374 | | // ------------------------------------------------------------------- |
2375 | | |
2376 | | class PartitionSchemaPB_HashBucketSchemaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PartitionSchemaPB.HashBucketSchemaPB) */ { |
2377 | | public: |
2378 | | PartitionSchemaPB_HashBucketSchemaPB(); |
2379 | | virtual ~PartitionSchemaPB_HashBucketSchemaPB(); |
2380 | | |
2381 | | PartitionSchemaPB_HashBucketSchemaPB(const PartitionSchemaPB_HashBucketSchemaPB& from); |
2382 | | |
2383 | 0 | inline PartitionSchemaPB_HashBucketSchemaPB& operator=(const PartitionSchemaPB_HashBucketSchemaPB& from) { |
2384 | 0 | CopyFrom(from); |
2385 | 0 | return *this; |
2386 | 0 | } |
2387 | | #if LANG_CXX11 |
2388 | | PartitionSchemaPB_HashBucketSchemaPB(PartitionSchemaPB_HashBucketSchemaPB&& from) noexcept |
2389 | 0 | : PartitionSchemaPB_HashBucketSchemaPB() { |
2390 | 0 | *this = ::std::move(from); |
2391 | 0 | } |
2392 | | |
2393 | 0 | inline PartitionSchemaPB_HashBucketSchemaPB& operator=(PartitionSchemaPB_HashBucketSchemaPB&& from) noexcept { |
2394 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2395 | 0 | if (this != &from) InternalSwap(&from); |
2396 | 0 | } else { |
2397 | 0 | CopyFrom(from); |
2398 | 0 | } |
2399 | 0 | return *this; |
2400 | 0 | } |
2401 | | #endif |
2402 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2403 | 0 | return _internal_metadata_.unknown_fields(); |
2404 | 0 | } |
2405 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2406 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2407 | 0 | } |
2408 | | |
2409 | | static const ::google::protobuf::Descriptor* descriptor(); |
2410 | | static const PartitionSchemaPB_HashBucketSchemaPB& default_instance(); |
2411 | | |
2412 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2413 | 17.1k | static inline const PartitionSchemaPB_HashBucketSchemaPB* internal_default_instance() { |
2414 | 17.1k | return reinterpret_cast<const PartitionSchemaPB_HashBucketSchemaPB*>( |
2415 | 17.1k | &_PartitionSchemaPB_HashBucketSchemaPB_default_instance_); |
2416 | 17.1k | } |
2417 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2418 | | 12; |
2419 | | |
2420 | | void Swap(PartitionSchemaPB_HashBucketSchemaPB* other); |
2421 | 0 | friend void swap(PartitionSchemaPB_HashBucketSchemaPB& a, PartitionSchemaPB_HashBucketSchemaPB& b) { |
2422 | 0 | a.Swap(&b); |
2423 | 0 | } |
2424 | | |
2425 | | // implements Message ---------------------------------------------- |
2426 | | |
2427 | 0 | inline PartitionSchemaPB_HashBucketSchemaPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2428 | | |
2429 | | PartitionSchemaPB_HashBucketSchemaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2430 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2431 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2432 | | void CopyFrom(const PartitionSchemaPB_HashBucketSchemaPB& from); |
2433 | | void MergeFrom(const PartitionSchemaPB_HashBucketSchemaPB& from); |
2434 | | void Clear() PROTOBUF_FINAL; |
2435 | | bool IsInitialized() const PROTOBUF_FINAL; |
2436 | | |
2437 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2438 | | bool MergePartialFromCodedStream( |
2439 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2440 | | void SerializeWithCachedSizes( |
2441 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2442 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2443 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2444 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2445 | | private: |
2446 | | void SharedCtor(); |
2447 | | void SharedDtor(); |
2448 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2449 | | void InternalSwap(PartitionSchemaPB_HashBucketSchemaPB* other); |
2450 | | private: |
2451 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2452 | 0 | return NULL; |
2453 | 0 | } |
2454 | 0 | inline void* MaybeArenaPtr() const { |
2455 | 0 | return NULL; |
2456 | 0 | } |
2457 | | public: |
2458 | | |
2459 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2460 | | |
2461 | | // nested types ---------------------------------------------------- |
2462 | | |
2463 | | typedef PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm HashAlgorithm; |
2464 | | static const HashAlgorithm UNKNOWN = |
2465 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_UNKNOWN; |
2466 | | static const HashAlgorithm MURMUR_HASH_2 = |
2467 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_MURMUR_HASH_2; |
2468 | 0 | static inline bool HashAlgorithm_IsValid(int value) { |
2469 | 0 | return PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_IsValid(value); |
2470 | 0 | } |
2471 | | static const HashAlgorithm HashAlgorithm_MIN = |
2472 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_MIN; |
2473 | | static const HashAlgorithm HashAlgorithm_MAX = |
2474 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_MAX; |
2475 | | static const int HashAlgorithm_ARRAYSIZE = |
2476 | | PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_HashAlgorithm_ARRAYSIZE; |
2477 | | static inline const ::google::protobuf::EnumDescriptor* |
2478 | 0 | HashAlgorithm_descriptor() { |
2479 | 0 | return PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_descriptor(); |
2480 | 0 | } |
2481 | 0 | static inline const ::std::string& HashAlgorithm_Name(HashAlgorithm value) { |
2482 | 0 | return PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_Name(value); |
2483 | 0 | } |
2484 | | static inline bool HashAlgorithm_Parse(const ::std::string& name, |
2485 | 0 | HashAlgorithm* value) { |
2486 | 0 | return PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_Parse(name, value); |
2487 | 0 | } |
2488 | | |
2489 | | // accessors ------------------------------------------------------- |
2490 | | |
2491 | | // repeated .yb.PartitionSchemaPB.ColumnIdentifierPB columns = 1; |
2492 | | int columns_size() const; |
2493 | | void clear_columns(); |
2494 | | static const int kColumnsFieldNumber = 1; |
2495 | | const ::yb::PartitionSchemaPB_ColumnIdentifierPB& columns(int index) const; |
2496 | | ::yb::PartitionSchemaPB_ColumnIdentifierPB* mutable_columns(int index); |
2497 | | ::yb::PartitionSchemaPB_ColumnIdentifierPB* add_columns(); |
2498 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >* |
2499 | | mutable_columns(); |
2500 | | const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >& |
2501 | | columns() const; |
2502 | | |
2503 | | // required int32 num_buckets = 2; |
2504 | | bool has_num_buckets() const; |
2505 | | void clear_num_buckets(); |
2506 | | static const int kNumBucketsFieldNumber = 2; |
2507 | | ::google::protobuf::int32 num_buckets() const; |
2508 | | void set_num_buckets(::google::protobuf::int32 value); |
2509 | | |
2510 | | // optional uint32 seed = 3; |
2511 | | bool has_seed() const; |
2512 | | void clear_seed(); |
2513 | | static const int kSeedFieldNumber = 3; |
2514 | | ::google::protobuf::uint32 seed() const; |
2515 | | void set_seed(::google::protobuf::uint32 value); |
2516 | | |
2517 | | // optional .yb.PartitionSchemaPB.HashBucketSchemaPB.HashAlgorithm hash_algorithm = 4; |
2518 | | bool has_hash_algorithm() const; |
2519 | | void clear_hash_algorithm(); |
2520 | | static const int kHashAlgorithmFieldNumber = 4; |
2521 | | ::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm hash_algorithm() const; |
2522 | | void set_hash_algorithm(::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm value); |
2523 | | |
2524 | | // @@protoc_insertion_point(class_scope:yb.PartitionSchemaPB.HashBucketSchemaPB) |
2525 | | private: |
2526 | | void set_has_num_buckets(); |
2527 | | void clear_has_num_buckets(); |
2528 | | void set_has_seed(); |
2529 | | void clear_has_seed(); |
2530 | | void set_has_hash_algorithm(); |
2531 | | void clear_has_hash_algorithm(); |
2532 | | |
2533 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2534 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2535 | | mutable int _cached_size_; |
2536 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB > columns_; |
2537 | | ::google::protobuf::int32 num_buckets_; |
2538 | | ::google::protobuf::uint32 seed_; |
2539 | | int hash_algorithm_; |
2540 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
2541 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPB_HashBucketSchemaPBImpl(); |
2542 | | }; |
2543 | | // ------------------------------------------------------------------- |
2544 | | |
2545 | | class PartitionSchemaPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PartitionSchemaPB) */ { |
2546 | | public: |
2547 | | PartitionSchemaPB(); |
2548 | | virtual ~PartitionSchemaPB(); |
2549 | | |
2550 | | PartitionSchemaPB(const PartitionSchemaPB& from); |
2551 | | |
2552 | 28 | inline PartitionSchemaPB& operator=(const PartitionSchemaPB& from) { |
2553 | 28 | CopyFrom(from); |
2554 | 28 | return *this; |
2555 | 28 | } |
2556 | | #if LANG_CXX11 |
2557 | | PartitionSchemaPB(PartitionSchemaPB&& from) noexcept |
2558 | 0 | : PartitionSchemaPB() { |
2559 | 0 | *this = ::std::move(from); |
2560 | 0 | } |
2561 | | |
2562 | 0 | inline PartitionSchemaPB& operator=(PartitionSchemaPB&& from) noexcept { |
2563 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2564 | 0 | if (this != &from) InternalSwap(&from); |
2565 | 0 | } else { |
2566 | 0 | CopyFrom(from); |
2567 | 0 | } |
2568 | 0 | return *this; |
2569 | 0 | } |
2570 | | #endif |
2571 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2572 | 0 | return _internal_metadata_.unknown_fields(); |
2573 | 0 | } |
2574 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2575 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2576 | 0 | } |
2577 | | |
2578 | | static const ::google::protobuf::Descriptor* descriptor(); |
2579 | | static const PartitionSchemaPB& default_instance(); |
2580 | | |
2581 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2582 | 284M | static inline const PartitionSchemaPB* internal_default_instance() { |
2583 | 284M | return reinterpret_cast<const PartitionSchemaPB*>( |
2584 | 284M | &_PartitionSchemaPB_default_instance_); |
2585 | 284M | } |
2586 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2587 | | 13; |
2588 | | |
2589 | | void Swap(PartitionSchemaPB* other); |
2590 | 0 | friend void swap(PartitionSchemaPB& a, PartitionSchemaPB& b) { |
2591 | 0 | a.Swap(&b); |
2592 | 0 | } |
2593 | | |
2594 | | // implements Message ---------------------------------------------- |
2595 | | |
2596 | 0 | inline PartitionSchemaPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2597 | | |
2598 | | PartitionSchemaPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2599 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2600 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2601 | | void CopyFrom(const PartitionSchemaPB& from); |
2602 | | void MergeFrom(const PartitionSchemaPB& from); |
2603 | | void Clear() PROTOBUF_FINAL; |
2604 | | bool IsInitialized() const PROTOBUF_FINAL; |
2605 | | |
2606 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2607 | | bool MergePartialFromCodedStream( |
2608 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2609 | | void SerializeWithCachedSizes( |
2610 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2611 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2612 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2613 | 141M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2614 | | private: |
2615 | | void SharedCtor(); |
2616 | | void SharedDtor(); |
2617 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2618 | | void InternalSwap(PartitionSchemaPB* other); |
2619 | | private: |
2620 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2621 | 0 | return NULL; |
2622 | 0 | } |
2623 | 0 | inline void* MaybeArenaPtr() const { |
2624 | 0 | return NULL; |
2625 | 0 | } |
2626 | | public: |
2627 | | |
2628 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2629 | | |
2630 | | // nested types ---------------------------------------------------- |
2631 | | |
2632 | | typedef PartitionSchemaPB_ColumnIdentifierPB ColumnIdentifierPB; |
2633 | | typedef PartitionSchemaPB_RangeSplitPB RangeSplitPB; |
2634 | | typedef PartitionSchemaPB_RangeSchemaPB RangeSchemaPB; |
2635 | | typedef PartitionSchemaPB_HashBucketSchemaPB HashBucketSchemaPB; |
2636 | | |
2637 | | typedef PartitionSchemaPB_HashSchema HashSchema; |
2638 | | static const HashSchema MULTI_COLUMN_HASH_SCHEMA = |
2639 | | PartitionSchemaPB_HashSchema_MULTI_COLUMN_HASH_SCHEMA; |
2640 | | static const HashSchema REDIS_HASH_SCHEMA = |
2641 | | PartitionSchemaPB_HashSchema_REDIS_HASH_SCHEMA; |
2642 | | static const HashSchema PGSQL_HASH_SCHEMA = |
2643 | | PartitionSchemaPB_HashSchema_PGSQL_HASH_SCHEMA; |
2644 | 0 | static inline bool HashSchema_IsValid(int value) { |
2645 | 0 | return PartitionSchemaPB_HashSchema_IsValid(value); |
2646 | 0 | } |
2647 | | static const HashSchema HashSchema_MIN = |
2648 | | PartitionSchemaPB_HashSchema_HashSchema_MIN; |
2649 | | static const HashSchema HashSchema_MAX = |
2650 | | PartitionSchemaPB_HashSchema_HashSchema_MAX; |
2651 | | static const int HashSchema_ARRAYSIZE = |
2652 | | PartitionSchemaPB_HashSchema_HashSchema_ARRAYSIZE; |
2653 | | static inline const ::google::protobuf::EnumDescriptor* |
2654 | 0 | HashSchema_descriptor() { |
2655 | 0 | return PartitionSchemaPB_HashSchema_descriptor(); |
2656 | 0 | } |
2657 | 0 | static inline const ::std::string& HashSchema_Name(HashSchema value) { |
2658 | 0 | return PartitionSchemaPB_HashSchema_Name(value); |
2659 | 0 | } |
2660 | | static inline bool HashSchema_Parse(const ::std::string& name, |
2661 | 0 | HashSchema* value) { |
2662 | 0 | return PartitionSchemaPB_HashSchema_Parse(name, value); |
2663 | 0 | } |
2664 | | |
2665 | | // accessors ------------------------------------------------------- |
2666 | | |
2667 | | // repeated .yb.PartitionSchemaPB.HashBucketSchemaPB hash_bucket_schemas = 1; |
2668 | | int hash_bucket_schemas_size() const; |
2669 | | void clear_hash_bucket_schemas(); |
2670 | | static const int kHashBucketSchemasFieldNumber = 1; |
2671 | | const ::yb::PartitionSchemaPB_HashBucketSchemaPB& hash_bucket_schemas(int index) const; |
2672 | | ::yb::PartitionSchemaPB_HashBucketSchemaPB* mutable_hash_bucket_schemas(int index); |
2673 | | ::yb::PartitionSchemaPB_HashBucketSchemaPB* add_hash_bucket_schemas(); |
2674 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_HashBucketSchemaPB >* |
2675 | | mutable_hash_bucket_schemas(); |
2676 | | const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_HashBucketSchemaPB >& |
2677 | | hash_bucket_schemas() const; |
2678 | | |
2679 | | // optional .yb.PartitionSchemaPB.RangeSchemaPB range_schema = 2; |
2680 | | bool has_range_schema() const; |
2681 | | void clear_range_schema(); |
2682 | | static const int kRangeSchemaFieldNumber = 2; |
2683 | | const ::yb::PartitionSchemaPB_RangeSchemaPB& range_schema() const; |
2684 | | ::yb::PartitionSchemaPB_RangeSchemaPB* release_range_schema(); |
2685 | | ::yb::PartitionSchemaPB_RangeSchemaPB* mutable_range_schema(); |
2686 | | void set_allocated_range_schema(::yb::PartitionSchemaPB_RangeSchemaPB* range_schema); |
2687 | | |
2688 | | // optional .yb.PartitionSchemaPB.HashSchema hash_schema = 3; |
2689 | | bool has_hash_schema() const; |
2690 | | void clear_hash_schema(); |
2691 | | static const int kHashSchemaFieldNumber = 3; |
2692 | | ::yb::PartitionSchemaPB_HashSchema hash_schema() const; |
2693 | | void set_hash_schema(::yb::PartitionSchemaPB_HashSchema value); |
2694 | | |
2695 | | // @@protoc_insertion_point(class_scope:yb.PartitionSchemaPB) |
2696 | | private: |
2697 | | void set_has_range_schema(); |
2698 | | void clear_has_range_schema(); |
2699 | | void set_has_hash_schema(); |
2700 | | void clear_has_hash_schema(); |
2701 | | |
2702 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2703 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2704 | | mutable int _cached_size_; |
2705 | | ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_HashBucketSchemaPB > hash_bucket_schemas_; |
2706 | | ::yb::PartitionSchemaPB_RangeSchemaPB* range_schema_; |
2707 | | int hash_schema_; |
2708 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
2709 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionSchemaPBImpl(); |
2710 | | }; |
2711 | | // ------------------------------------------------------------------- |
2712 | | |
2713 | | class PartitionPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.PartitionPB) */ { |
2714 | | public: |
2715 | | PartitionPB(); |
2716 | | virtual ~PartitionPB(); |
2717 | | |
2718 | | PartitionPB(const PartitionPB& from); |
2719 | | |
2720 | 193 | inline PartitionPB& operator=(const PartitionPB& from) { |
2721 | 193 | CopyFrom(from); |
2722 | 193 | return *this; |
2723 | 193 | } |
2724 | | #if LANG_CXX11 |
2725 | | PartitionPB(PartitionPB&& from) noexcept |
2726 | 180 | : PartitionPB() { |
2727 | 180 | *this = ::std::move(from); |
2728 | 180 | } Unexecuted instantiation: _ZN2yb11PartitionPBC2EOS0_ _ZN2yb11PartitionPBC1EOS0_ Line | Count | Source | 2726 | 180 | : PartitionPB() { | 2727 | 180 | *this = ::std::move(from); | 2728 | 180 | } |
|
2729 | | |
2730 | 180 | inline PartitionPB& operator=(PartitionPB&& from) noexcept { |
2731 | 180 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2732 | 180 | if (this != &from) InternalSwap(&from); |
2733 | 0 | } else { |
2734 | 0 | CopyFrom(from); |
2735 | 0 | } |
2736 | 180 | return *this; |
2737 | 180 | } |
2738 | | #endif |
2739 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2740 | 0 | return _internal_metadata_.unknown_fields(); |
2741 | 0 | } |
2742 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2743 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2744 | 0 | } |
2745 | | |
2746 | | static const ::google::protobuf::Descriptor* descriptor(); |
2747 | | static const PartitionPB& default_instance(); |
2748 | | |
2749 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2750 | 1.53M | static inline const PartitionPB* internal_default_instance() { |
2751 | 1.53M | return reinterpret_cast<const PartitionPB*>( |
2752 | 1.53M | &_PartitionPB_default_instance_); |
2753 | 1.53M | } |
2754 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2755 | | 14; |
2756 | | |
2757 | | void Swap(PartitionPB* other); |
2758 | 0 | friend void swap(PartitionPB& a, PartitionPB& b) { |
2759 | 0 | a.Swap(&b); |
2760 | 0 | } |
2761 | | |
2762 | | // implements Message ---------------------------------------------- |
2763 | | |
2764 | 0 | inline PartitionPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2765 | | |
2766 | | PartitionPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2767 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2768 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2769 | | void CopyFrom(const PartitionPB& from); |
2770 | | void MergeFrom(const PartitionPB& from); |
2771 | | void Clear() PROTOBUF_FINAL; |
2772 | | bool IsInitialized() const PROTOBUF_FINAL; |
2773 | | |
2774 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2775 | | bool MergePartialFromCodedStream( |
2776 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2777 | | void SerializeWithCachedSizes( |
2778 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2779 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2780 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2781 | 1.17M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2782 | | private: |
2783 | | void SharedCtor(); |
2784 | | void SharedDtor(); |
2785 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2786 | | void InternalSwap(PartitionPB* other); |
2787 | | private: |
2788 | 360 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2789 | 360 | return NULL; |
2790 | 360 | } |
2791 | 0 | inline void* MaybeArenaPtr() const { |
2792 | 0 | return NULL; |
2793 | 0 | } |
2794 | | public: |
2795 | | |
2796 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2797 | | |
2798 | | // nested types ---------------------------------------------------- |
2799 | | |
2800 | | // accessors ------------------------------------------------------- |
2801 | | |
2802 | | // repeated int32 hash_buckets = 1 [packed = true]; |
2803 | | int hash_buckets_size() const; |
2804 | | void clear_hash_buckets(); |
2805 | | static const int kHashBucketsFieldNumber = 1; |
2806 | | ::google::protobuf::int32 hash_buckets(int index) const; |
2807 | | void set_hash_buckets(int index, ::google::protobuf::int32 value); |
2808 | | void add_hash_buckets(::google::protobuf::int32 value); |
2809 | | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
2810 | | hash_buckets() const; |
2811 | | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
2812 | | mutable_hash_buckets(); |
2813 | | |
2814 | | // optional bytes partition_key_start = 2; |
2815 | | bool has_partition_key_start() const; |
2816 | | void clear_partition_key_start(); |
2817 | | static const int kPartitionKeyStartFieldNumber = 2; |
2818 | | const ::std::string& partition_key_start() const; |
2819 | | void set_partition_key_start(const ::std::string& value); |
2820 | | #if LANG_CXX11 |
2821 | | void set_partition_key_start(::std::string&& value); |
2822 | | #endif |
2823 | | void set_partition_key_start(const char* value); |
2824 | | void set_partition_key_start(const void* value, size_t size); |
2825 | | ::std::string* mutable_partition_key_start(); |
2826 | | ::std::string* release_partition_key_start(); |
2827 | | void set_allocated_partition_key_start(::std::string* partition_key_start); |
2828 | | |
2829 | | // optional bytes partition_key_end = 3; |
2830 | | bool has_partition_key_end() const; |
2831 | | void clear_partition_key_end(); |
2832 | | static const int kPartitionKeyEndFieldNumber = 3; |
2833 | | const ::std::string& partition_key_end() const; |
2834 | | void set_partition_key_end(const ::std::string& value); |
2835 | | #if LANG_CXX11 |
2836 | | void set_partition_key_end(::std::string&& value); |
2837 | | #endif |
2838 | | void set_partition_key_end(const char* value); |
2839 | | void set_partition_key_end(const void* value, size_t size); |
2840 | | ::std::string* mutable_partition_key_end(); |
2841 | | ::std::string* release_partition_key_end(); |
2842 | | void set_allocated_partition_key_end(::std::string* partition_key_end); |
2843 | | |
2844 | | // @@protoc_insertion_point(class_scope:yb.PartitionPB) |
2845 | | private: |
2846 | | void set_has_partition_key_start(); |
2847 | | void clear_has_partition_key_start(); |
2848 | | void set_has_partition_key_end(); |
2849 | | void clear_has_partition_key_end(); |
2850 | | |
2851 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2852 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2853 | | mutable int _cached_size_; |
2854 | | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > hash_buckets_; |
2855 | | mutable int _hash_buckets_cached_byte_size_; |
2856 | | ::google::protobuf::internal::ArenaStringPtr partition_key_start_; |
2857 | | ::google::protobuf::internal::ArenaStringPtr partition_key_end_; |
2858 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
2859 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsPartitionPBImpl(); |
2860 | | }; |
2861 | | // ------------------------------------------------------------------- |
2862 | | |
2863 | | class TransactionMetadataPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.TransactionMetadataPB) */ { |
2864 | | public: |
2865 | | TransactionMetadataPB(); |
2866 | | virtual ~TransactionMetadataPB(); |
2867 | | |
2868 | | TransactionMetadataPB(const TransactionMetadataPB& from); |
2869 | | |
2870 | 140k | inline TransactionMetadataPB& operator=(const TransactionMetadataPB& from) { |
2871 | 140k | CopyFrom(from); |
2872 | 140k | return *this; |
2873 | 140k | } |
2874 | | #if LANG_CXX11 |
2875 | | TransactionMetadataPB(TransactionMetadataPB&& from) noexcept |
2876 | 0 | : TransactionMetadataPB() { |
2877 | 0 | *this = ::std::move(from); |
2878 | 0 | } |
2879 | | |
2880 | 0 | inline TransactionMetadataPB& operator=(TransactionMetadataPB&& from) noexcept { |
2881 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2882 | 0 | if (this != &from) InternalSwap(&from); |
2883 | 0 | } else { |
2884 | 0 | CopyFrom(from); |
2885 | 0 | } |
2886 | 0 | return *this; |
2887 | 0 | } |
2888 | | #endif |
2889 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2890 | 0 | return _internal_metadata_.unknown_fields(); |
2891 | 0 | } |
2892 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2893 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
2894 | 0 | } |
2895 | | |
2896 | | static const ::google::protobuf::Descriptor* descriptor(); |
2897 | | static const TransactionMetadataPB& default_instance(); |
2898 | | |
2899 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2900 | 3.42M | static inline const TransactionMetadataPB* internal_default_instance() { |
2901 | 3.42M | return reinterpret_cast<const TransactionMetadataPB*>( |
2902 | 3.42M | &_TransactionMetadataPB_default_instance_); |
2903 | 3.42M | } |
2904 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
2905 | | 15; |
2906 | | |
2907 | | void Swap(TransactionMetadataPB* other); |
2908 | 0 | friend void swap(TransactionMetadataPB& a, TransactionMetadataPB& b) { |
2909 | 0 | a.Swap(&b); |
2910 | 0 | } |
2911 | | |
2912 | | // implements Message ---------------------------------------------- |
2913 | | |
2914 | 0 | inline TransactionMetadataPB* New() const PROTOBUF_FINAL { return New(NULL); } |
2915 | | |
2916 | | TransactionMetadataPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
2917 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2918 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
2919 | | void CopyFrom(const TransactionMetadataPB& from); |
2920 | | void MergeFrom(const TransactionMetadataPB& from); |
2921 | | void Clear() PROTOBUF_FINAL; |
2922 | | bool IsInitialized() const PROTOBUF_FINAL; |
2923 | | |
2924 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
2925 | | bool MergePartialFromCodedStream( |
2926 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
2927 | | void SerializeWithCachedSizes( |
2928 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
2929 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2930 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
2931 | 2.95M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
2932 | | private: |
2933 | | void SharedCtor(); |
2934 | | void SharedDtor(); |
2935 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
2936 | | void InternalSwap(TransactionMetadataPB* other); |
2937 | | private: |
2938 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2939 | 0 | return NULL; |
2940 | 0 | } |
2941 | 0 | inline void* MaybeArenaPtr() const { |
2942 | 0 | return NULL; |
2943 | 0 | } |
2944 | | public: |
2945 | | |
2946 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
2947 | | |
2948 | | // nested types ---------------------------------------------------- |
2949 | | |
2950 | | // accessors ------------------------------------------------------- |
2951 | | |
2952 | | // optional bytes transaction_id = 1; |
2953 | | bool has_transaction_id() const; |
2954 | | void clear_transaction_id(); |
2955 | | static const int kTransactionIdFieldNumber = 1; |
2956 | | const ::std::string& transaction_id() const; |
2957 | | void set_transaction_id(const ::std::string& value); |
2958 | | #if LANG_CXX11 |
2959 | | void set_transaction_id(::std::string&& value); |
2960 | | #endif |
2961 | | void set_transaction_id(const char* value); |
2962 | | void set_transaction_id(const void* value, size_t size); |
2963 | | ::std::string* mutable_transaction_id(); |
2964 | | ::std::string* release_transaction_id(); |
2965 | | void set_allocated_transaction_id(::std::string* transaction_id); |
2966 | | |
2967 | | // optional string status_tablet = 3; |
2968 | | bool has_status_tablet() const; |
2969 | | void clear_status_tablet(); |
2970 | | static const int kStatusTabletFieldNumber = 3; |
2971 | | const ::std::string& status_tablet() const; |
2972 | | void set_status_tablet(const ::std::string& value); |
2973 | | #if LANG_CXX11 |
2974 | | void set_status_tablet(::std::string&& value); |
2975 | | #endif |
2976 | | void set_status_tablet(const char* value); |
2977 | | void set_status_tablet(const char* value, size_t size); |
2978 | | ::std::string* mutable_status_tablet(); |
2979 | | ::std::string* release_status_tablet(); |
2980 | | void set_allocated_status_tablet(::std::string* status_tablet); |
2981 | | |
2982 | | // optional fixed64 priority = 4; |
2983 | | bool has_priority() const; |
2984 | | void clear_priority(); |
2985 | | static const int kPriorityFieldNumber = 4; |
2986 | | ::google::protobuf::uint64 priority() const; |
2987 | | void set_priority(::google::protobuf::uint64 value); |
2988 | | |
2989 | | // optional fixed64 start_hybrid_time = 5; |
2990 | | bool has_start_hybrid_time() const; |
2991 | | void clear_start_hybrid_time(); |
2992 | | static const int kStartHybridTimeFieldNumber = 5; |
2993 | | ::google::protobuf::uint64 start_hybrid_time() const; |
2994 | | void set_start_hybrid_time(::google::protobuf::uint64 value); |
2995 | | |
2996 | | // optional fixed64 metadata_write_time = 6; |
2997 | | bool has_metadata_write_time() const; |
2998 | | void clear_metadata_write_time(); |
2999 | | static const int kMetadataWriteTimeFieldNumber = 6; |
3000 | | ::google::protobuf::uint64 metadata_write_time() const; |
3001 | | void set_metadata_write_time(::google::protobuf::uint64 value); |
3002 | | |
3003 | | // optional .yb.IsolationLevel isolation = 2 [default = NON_TRANSACTIONAL]; |
3004 | | bool has_isolation() const; |
3005 | | void clear_isolation(); |
3006 | | static const int kIsolationFieldNumber = 2; |
3007 | | ::yb::IsolationLevel isolation() const; |
3008 | | void set_isolation(::yb::IsolationLevel value); |
3009 | | |
3010 | | // optional .yb.TransactionLocality locality = 7; |
3011 | | bool has_locality() const; |
3012 | | void clear_locality(); |
3013 | | static const int kLocalityFieldNumber = 7; |
3014 | | ::yb::TransactionLocality locality() const; |
3015 | | void set_locality(::yb::TransactionLocality value); |
3016 | | |
3017 | | // @@protoc_insertion_point(class_scope:yb.TransactionMetadataPB) |
3018 | | private: |
3019 | | void set_has_transaction_id(); |
3020 | | void clear_has_transaction_id(); |
3021 | | void set_has_isolation(); |
3022 | | void clear_has_isolation(); |
3023 | | void set_has_status_tablet(); |
3024 | | void clear_has_status_tablet(); |
3025 | | void set_has_priority(); |
3026 | | void clear_has_priority(); |
3027 | | void set_has_start_hybrid_time(); |
3028 | | void clear_has_start_hybrid_time(); |
3029 | | void set_has_metadata_write_time(); |
3030 | | void clear_has_metadata_write_time(); |
3031 | | void set_has_locality(); |
3032 | | void clear_has_locality(); |
3033 | | |
3034 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3035 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3036 | | mutable int _cached_size_; |
3037 | | ::google::protobuf::internal::ArenaStringPtr transaction_id_; |
3038 | | ::google::protobuf::internal::ArenaStringPtr status_tablet_; |
3039 | | ::google::protobuf::uint64 priority_; |
3040 | | ::google::protobuf::uint64 start_hybrid_time_; |
3041 | | ::google::protobuf::uint64 metadata_write_time_; |
3042 | | int isolation_; |
3043 | | int locality_; |
3044 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3045 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionMetadataPBImpl(); |
3046 | | }; |
3047 | | // ------------------------------------------------------------------- |
3048 | | |
3049 | | class ReadHybridTimePB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ReadHybridTimePB) */ { |
3050 | | public: |
3051 | | ReadHybridTimePB(); |
3052 | | virtual ~ReadHybridTimePB(); |
3053 | | |
3054 | | ReadHybridTimePB(const ReadHybridTimePB& from); |
3055 | | |
3056 | 0 | inline ReadHybridTimePB& operator=(const ReadHybridTimePB& from) { |
3057 | 0 | CopyFrom(from); |
3058 | 0 | return *this; |
3059 | 0 | } |
3060 | | #if LANG_CXX11 |
3061 | | ReadHybridTimePB(ReadHybridTimePB&& from) noexcept |
3062 | 0 | : ReadHybridTimePB() { |
3063 | 0 | *this = ::std::move(from); |
3064 | 0 | } |
3065 | | |
3066 | 0 | inline ReadHybridTimePB& operator=(ReadHybridTimePB&& from) noexcept { |
3067 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3068 | 0 | if (this != &from) InternalSwap(&from); |
3069 | 0 | } else { |
3070 | 0 | CopyFrom(from); |
3071 | 0 | } |
3072 | 0 | return *this; |
3073 | 0 | } |
3074 | | #endif |
3075 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3076 | 0 | return _internal_metadata_.unknown_fields(); |
3077 | 0 | } |
3078 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3079 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3080 | 0 | } |
3081 | | |
3082 | | static const ::google::protobuf::Descriptor* descriptor(); |
3083 | | static const ReadHybridTimePB& default_instance(); |
3084 | | |
3085 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3086 | 7.24M | static inline const ReadHybridTimePB* internal_default_instance() { |
3087 | 7.24M | return reinterpret_cast<const ReadHybridTimePB*>( |
3088 | 7.24M | &_ReadHybridTimePB_default_instance_); |
3089 | 7.24M | } |
3090 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3091 | | 16; |
3092 | | |
3093 | | void Swap(ReadHybridTimePB* other); |
3094 | 0 | friend void swap(ReadHybridTimePB& a, ReadHybridTimePB& b) { |
3095 | 0 | a.Swap(&b); |
3096 | 0 | } |
3097 | | |
3098 | | // implements Message ---------------------------------------------- |
3099 | | |
3100 | 0 | inline ReadHybridTimePB* New() const PROTOBUF_FINAL { return New(NULL); } |
3101 | | |
3102 | | ReadHybridTimePB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3103 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3104 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3105 | | void CopyFrom(const ReadHybridTimePB& from); |
3106 | | void MergeFrom(const ReadHybridTimePB& from); |
3107 | | void Clear() PROTOBUF_FINAL; |
3108 | | bool IsInitialized() const PROTOBUF_FINAL; |
3109 | | |
3110 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3111 | | bool MergePartialFromCodedStream( |
3112 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3113 | | void SerializeWithCachedSizes( |
3114 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3115 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3116 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3117 | 1.58M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3118 | | private: |
3119 | | void SharedCtor(); |
3120 | | void SharedDtor(); |
3121 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3122 | | void InternalSwap(ReadHybridTimePB* other); |
3123 | | private: |
3124 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3125 | 0 | return NULL; |
3126 | 0 | } |
3127 | 0 | inline void* MaybeArenaPtr() const { |
3128 | 0 | return NULL; |
3129 | 0 | } |
3130 | | public: |
3131 | | |
3132 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3133 | | |
3134 | | // nested types ---------------------------------------------------- |
3135 | | |
3136 | | // accessors ------------------------------------------------------- |
3137 | | |
3138 | | // optional fixed64 read_ht = 1; |
3139 | | bool has_read_ht() const; |
3140 | | void clear_read_ht(); |
3141 | | static const int kReadHtFieldNumber = 1; |
3142 | | ::google::protobuf::uint64 read_ht() const; |
3143 | | void set_read_ht(::google::protobuf::uint64 value); |
3144 | | |
3145 | | // optional fixed64 DEPRECATED_max_of_read_time_and_local_limit_ht = 2; |
3146 | | bool has_deprecated_max_of_read_time_and_local_limit_ht() const; |
3147 | | void clear_deprecated_max_of_read_time_and_local_limit_ht(); |
3148 | | static const int kDEPRECATEDMaxOfReadTimeAndLocalLimitHtFieldNumber = 2; |
3149 | | ::google::protobuf::uint64 deprecated_max_of_read_time_and_local_limit_ht() const; |
3150 | | void set_deprecated_max_of_read_time_and_local_limit_ht(::google::protobuf::uint64 value); |
3151 | | |
3152 | | // optional fixed64 global_limit_ht = 3; |
3153 | | bool has_global_limit_ht() const; |
3154 | | void clear_global_limit_ht(); |
3155 | | static const int kGlobalLimitHtFieldNumber = 3; |
3156 | | ::google::protobuf::uint64 global_limit_ht() const; |
3157 | | void set_global_limit_ht(::google::protobuf::uint64 value); |
3158 | | |
3159 | | // optional fixed64 in_txn_limit_ht = 4; |
3160 | | bool has_in_txn_limit_ht() const; |
3161 | | void clear_in_txn_limit_ht(); |
3162 | | static const int kInTxnLimitHtFieldNumber = 4; |
3163 | | ::google::protobuf::uint64 in_txn_limit_ht() const; |
3164 | | void set_in_txn_limit_ht(::google::protobuf::uint64 value); |
3165 | | |
3166 | | // optional fixed64 local_limit_ht = 5; |
3167 | | bool has_local_limit_ht() const; |
3168 | | void clear_local_limit_ht(); |
3169 | | static const int kLocalLimitHtFieldNumber = 5; |
3170 | | ::google::protobuf::uint64 local_limit_ht() const; |
3171 | | void set_local_limit_ht(::google::protobuf::uint64 value); |
3172 | | |
3173 | | // @@protoc_insertion_point(class_scope:yb.ReadHybridTimePB) |
3174 | | private: |
3175 | | void set_has_read_ht(); |
3176 | | void clear_has_read_ht(); |
3177 | | void set_has_deprecated_max_of_read_time_and_local_limit_ht(); |
3178 | | void clear_has_deprecated_max_of_read_time_and_local_limit_ht(); |
3179 | | void set_has_global_limit_ht(); |
3180 | | void clear_has_global_limit_ht(); |
3181 | | void set_has_in_txn_limit_ht(); |
3182 | | void clear_has_in_txn_limit_ht(); |
3183 | | void set_has_local_limit_ht(); |
3184 | | void clear_has_local_limit_ht(); |
3185 | | |
3186 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3187 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3188 | | mutable int _cached_size_; |
3189 | | ::google::protobuf::uint64 read_ht_; |
3190 | | ::google::protobuf::uint64 deprecated_max_of_read_time_and_local_limit_ht_; |
3191 | | ::google::protobuf::uint64 global_limit_ht_; |
3192 | | ::google::protobuf::uint64 in_txn_limit_ht_; |
3193 | | ::google::protobuf::uint64 local_limit_ht_; |
3194 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3195 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsReadHybridTimePBImpl(); |
3196 | | }; |
3197 | | // ------------------------------------------------------------------- |
3198 | | |
3199 | | class ChildTransactionDataPB_LocalLimitsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<ChildTransactionDataPB_LocalLimitsEntry_DoNotUse, |
3200 | | ::std::string, ::google::protobuf::uint64, |
3201 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
3202 | | ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64, |
3203 | | 0 > { |
3204 | | public: |
3205 | | typedef ::google::protobuf::internal::MapEntry<ChildTransactionDataPB_LocalLimitsEntry_DoNotUse, |
3206 | | ::std::string, ::google::protobuf::uint64, |
3207 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
3208 | | ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64, |
3209 | | 0 > SuperType; |
3210 | | ChildTransactionDataPB_LocalLimitsEntry_DoNotUse(); |
3211 | | ChildTransactionDataPB_LocalLimitsEntry_DoNotUse(::google::protobuf::Arena* arena); |
3212 | | void MergeFrom(const ChildTransactionDataPB_LocalLimitsEntry_DoNotUse& other); |
3213 | 17.1k | static const ChildTransactionDataPB_LocalLimitsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChildTransactionDataPB_LocalLimitsEntry_DoNotUse*>(&_ChildTransactionDataPB_LocalLimitsEntry_DoNotUse_default_instance_); } |
3214 | | void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL; |
3215 | | ::google::protobuf::Metadata GetMetadata() const; |
3216 | | }; |
3217 | | |
3218 | | // ------------------------------------------------------------------- |
3219 | | |
3220 | | class ChildTransactionDataPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ChildTransactionDataPB) */ { |
3221 | | public: |
3222 | | ChildTransactionDataPB(); |
3223 | | virtual ~ChildTransactionDataPB(); |
3224 | | |
3225 | | ChildTransactionDataPB(const ChildTransactionDataPB& from); |
3226 | | |
3227 | 0 | inline ChildTransactionDataPB& operator=(const ChildTransactionDataPB& from) { |
3228 | 0 | CopyFrom(from); |
3229 | 0 | return *this; |
3230 | 0 | } |
3231 | | #if LANG_CXX11 |
3232 | | ChildTransactionDataPB(ChildTransactionDataPB&& from) noexcept |
3233 | 246k | : ChildTransactionDataPB() { |
3234 | 246k | *this = ::std::move(from); |
3235 | 246k | } Unexecuted instantiation: _ZN2yb22ChildTransactionDataPBC2EOS0_ _ZN2yb22ChildTransactionDataPBC1EOS0_ Line | Count | Source | 3233 | 246k | : ChildTransactionDataPB() { | 3234 | 246k | *this = ::std::move(from); | 3235 | 246k | } |
|
3236 | | |
3237 | 332k | inline ChildTransactionDataPB& operator=(ChildTransactionDataPB&& from) noexcept { |
3238 | 332k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3239 | 332k | if (this != &from) InternalSwap(&from); |
3240 | 223 | } else { |
3241 | 223 | CopyFrom(from); |
3242 | 223 | } |
3243 | 332k | return *this; |
3244 | 332k | } |
3245 | | #endif |
3246 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3247 | 0 | return _internal_metadata_.unknown_fields(); |
3248 | 0 | } |
3249 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3250 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3251 | 0 | } |
3252 | | |
3253 | | static const ::google::protobuf::Descriptor* descriptor(); |
3254 | | static const ChildTransactionDataPB& default_instance(); |
3255 | | |
3256 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3257 | 1.68M | static inline const ChildTransactionDataPB* internal_default_instance() { |
3258 | 1.68M | return reinterpret_cast<const ChildTransactionDataPB*>( |
3259 | 1.68M | &_ChildTransactionDataPB_default_instance_); |
3260 | 1.68M | } |
3261 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3262 | | 18; |
3263 | | |
3264 | | void Swap(ChildTransactionDataPB* other); |
3265 | 0 | friend void swap(ChildTransactionDataPB& a, ChildTransactionDataPB& b) { |
3266 | 0 | a.Swap(&b); |
3267 | 0 | } |
3268 | | |
3269 | | // implements Message ---------------------------------------------- |
3270 | | |
3271 | 0 | inline ChildTransactionDataPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3272 | | |
3273 | | ChildTransactionDataPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3274 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3275 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3276 | | void CopyFrom(const ChildTransactionDataPB& from); |
3277 | | void MergeFrom(const ChildTransactionDataPB& from); |
3278 | | void Clear() PROTOBUF_FINAL; |
3279 | | bool IsInitialized() const PROTOBUF_FINAL; |
3280 | | |
3281 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3282 | | bool MergePartialFromCodedStream( |
3283 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3284 | | void SerializeWithCachedSizes( |
3285 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3286 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3287 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3288 | 25.8k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3289 | | private: |
3290 | | void SharedCtor(); |
3291 | | void SharedDtor(); |
3292 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3293 | | void InternalSwap(ChildTransactionDataPB* other); |
3294 | | private: |
3295 | 665k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3296 | 665k | return NULL; |
3297 | 665k | } |
3298 | 0 | inline void* MaybeArenaPtr() const { |
3299 | 0 | return NULL; |
3300 | 0 | } |
3301 | | public: |
3302 | | |
3303 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3304 | | |
3305 | | // nested types ---------------------------------------------------- |
3306 | | |
3307 | | |
3308 | | // accessors ------------------------------------------------------- |
3309 | | |
3310 | | // map<string, fixed64> local_limits = 3; |
3311 | | int local_limits_size() const; |
3312 | | void clear_local_limits(); |
3313 | | static const int kLocalLimitsFieldNumber = 3; |
3314 | | const ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >& |
3315 | | local_limits() const; |
3316 | | ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >* |
3317 | | mutable_local_limits(); |
3318 | | |
3319 | | // optional .yb.TransactionMetadataPB metadata = 1; |
3320 | | bool has_metadata() const; |
3321 | | void clear_metadata(); |
3322 | | static const int kMetadataFieldNumber = 1; |
3323 | | const ::yb::TransactionMetadataPB& metadata() const; |
3324 | | ::yb::TransactionMetadataPB* release_metadata(); |
3325 | | ::yb::TransactionMetadataPB* mutable_metadata(); |
3326 | | void set_allocated_metadata(::yb::TransactionMetadataPB* metadata); |
3327 | | |
3328 | | // optional .yb.ReadHybridTimePB read_time = 2; |
3329 | | bool has_read_time() const; |
3330 | | void clear_read_time(); |
3331 | | static const int kReadTimeFieldNumber = 2; |
3332 | | const ::yb::ReadHybridTimePB& read_time() const; |
3333 | | ::yb::ReadHybridTimePB* release_read_time(); |
3334 | | ::yb::ReadHybridTimePB* mutable_read_time(); |
3335 | | void set_allocated_read_time(::yb::ReadHybridTimePB* read_time); |
3336 | | |
3337 | | // @@protoc_insertion_point(class_scope:yb.ChildTransactionDataPB) |
3338 | | private: |
3339 | | void set_has_metadata(); |
3340 | | void clear_has_metadata(); |
3341 | | void set_has_read_time(); |
3342 | | void clear_has_read_time(); |
3343 | | |
3344 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3345 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3346 | | mutable int _cached_size_; |
3347 | | ::google::protobuf::internal::MapField< |
3348 | | ChildTransactionDataPB_LocalLimitsEntry_DoNotUse, |
3349 | | ::std::string, ::google::protobuf::uint64, |
3350 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
3351 | | ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64, |
3352 | | 0 > local_limits_; |
3353 | | ::yb::TransactionMetadataPB* metadata_; |
3354 | | ::yb::ReadHybridTimePB* read_time_; |
3355 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3356 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsChildTransactionDataPBImpl(); |
3357 | | }; |
3358 | | // ------------------------------------------------------------------- |
3359 | | |
3360 | | class TransactionInvolvedTabletPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.TransactionInvolvedTabletPB) */ { |
3361 | | public: |
3362 | | TransactionInvolvedTabletPB(); |
3363 | | virtual ~TransactionInvolvedTabletPB(); |
3364 | | |
3365 | | TransactionInvolvedTabletPB(const TransactionInvolvedTabletPB& from); |
3366 | | |
3367 | 0 | inline TransactionInvolvedTabletPB& operator=(const TransactionInvolvedTabletPB& from) { |
3368 | 0 | CopyFrom(from); |
3369 | 0 | return *this; |
3370 | 0 | } |
3371 | | #if LANG_CXX11 |
3372 | | TransactionInvolvedTabletPB(TransactionInvolvedTabletPB&& from) noexcept |
3373 | 0 | : TransactionInvolvedTabletPB() { |
3374 | 0 | *this = ::std::move(from); |
3375 | 0 | } |
3376 | | |
3377 | 0 | inline TransactionInvolvedTabletPB& operator=(TransactionInvolvedTabletPB&& from) noexcept { |
3378 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3379 | 0 | if (this != &from) InternalSwap(&from); |
3380 | 0 | } else { |
3381 | 0 | CopyFrom(from); |
3382 | 0 | } |
3383 | 0 | return *this; |
3384 | 0 | } |
3385 | | #endif |
3386 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3387 | 0 | return _internal_metadata_.unknown_fields(); |
3388 | 0 | } |
3389 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3390 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3391 | 0 | } |
3392 | | |
3393 | | static const ::google::protobuf::Descriptor* descriptor(); |
3394 | | static const TransactionInvolvedTabletPB& default_instance(); |
3395 | | |
3396 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3397 | 94.8k | static inline const TransactionInvolvedTabletPB* internal_default_instance() { |
3398 | 94.8k | return reinterpret_cast<const TransactionInvolvedTabletPB*>( |
3399 | 94.8k | &_TransactionInvolvedTabletPB_default_instance_); |
3400 | 94.8k | } |
3401 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3402 | | 19; |
3403 | | |
3404 | | void Swap(TransactionInvolvedTabletPB* other); |
3405 | 0 | friend void swap(TransactionInvolvedTabletPB& a, TransactionInvolvedTabletPB& b) { |
3406 | 0 | a.Swap(&b); |
3407 | 0 | } |
3408 | | |
3409 | | // implements Message ---------------------------------------------- |
3410 | | |
3411 | 0 | inline TransactionInvolvedTabletPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3412 | | |
3413 | | TransactionInvolvedTabletPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3414 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3415 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3416 | | void CopyFrom(const TransactionInvolvedTabletPB& from); |
3417 | | void MergeFrom(const TransactionInvolvedTabletPB& from); |
3418 | | void Clear() PROTOBUF_FINAL; |
3419 | | bool IsInitialized() const PROTOBUF_FINAL; |
3420 | | |
3421 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3422 | | bool MergePartialFromCodedStream( |
3423 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3424 | | void SerializeWithCachedSizes( |
3425 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3426 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3427 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3428 | 7.28k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3429 | | private: |
3430 | | void SharedCtor(); |
3431 | | void SharedDtor(); |
3432 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3433 | | void InternalSwap(TransactionInvolvedTabletPB* other); |
3434 | | private: |
3435 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3436 | 0 | return NULL; |
3437 | 0 | } |
3438 | 0 | inline void* MaybeArenaPtr() const { |
3439 | 0 | return NULL; |
3440 | 0 | } |
3441 | | public: |
3442 | | |
3443 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3444 | | |
3445 | | // nested types ---------------------------------------------------- |
3446 | | |
3447 | | // accessors ------------------------------------------------------- |
3448 | | |
3449 | | // optional bytes tablet_id = 1; |
3450 | | bool has_tablet_id() const; |
3451 | | void clear_tablet_id(); |
3452 | | static const int kTabletIdFieldNumber = 1; |
3453 | | const ::std::string& tablet_id() const; |
3454 | | void set_tablet_id(const ::std::string& value); |
3455 | | #if LANG_CXX11 |
3456 | | void set_tablet_id(::std::string&& value); |
3457 | | #endif |
3458 | | void set_tablet_id(const char* value); |
3459 | | void set_tablet_id(const void* value, size_t size); |
3460 | | ::std::string* mutable_tablet_id(); |
3461 | | ::std::string* release_tablet_id(); |
3462 | | void set_allocated_tablet_id(::std::string* tablet_id); |
3463 | | |
3464 | | // optional uint64 num_batches = 3; |
3465 | | bool has_num_batches() const; |
3466 | | void clear_num_batches(); |
3467 | | static const int kNumBatchesFieldNumber = 3; |
3468 | | ::google::protobuf::uint64 num_batches() const; |
3469 | | void set_num_batches(::google::protobuf::uint64 value); |
3470 | | |
3471 | | // optional .yb.InvolvedTabletMetadataState metadata_state = 2; |
3472 | | bool has_metadata_state() const; |
3473 | | void clear_metadata_state(); |
3474 | | static const int kMetadataStateFieldNumber = 2; |
3475 | | ::yb::InvolvedTabletMetadataState metadata_state() const; |
3476 | | void set_metadata_state(::yb::InvolvedTabletMetadataState value); |
3477 | | |
3478 | | // @@protoc_insertion_point(class_scope:yb.TransactionInvolvedTabletPB) |
3479 | | private: |
3480 | | void set_has_tablet_id(); |
3481 | | void clear_has_tablet_id(); |
3482 | | void set_has_metadata_state(); |
3483 | | void clear_has_metadata_state(); |
3484 | | void set_has_num_batches(); |
3485 | | void clear_has_num_batches(); |
3486 | | |
3487 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3488 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3489 | | mutable int _cached_size_; |
3490 | | ::google::protobuf::internal::ArenaStringPtr tablet_id_; |
3491 | | ::google::protobuf::uint64 num_batches_; |
3492 | | int metadata_state_; |
3493 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3494 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsTransactionInvolvedTabletPBImpl(); |
3495 | | }; |
3496 | | // ------------------------------------------------------------------- |
3497 | | |
3498 | | class ChildTransactionResultPB_ReadRestartsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<ChildTransactionResultPB_ReadRestartsEntry_DoNotUse, |
3499 | | ::std::string, ::google::protobuf::uint64, |
3500 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
3501 | | ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64, |
3502 | | 0 > { |
3503 | | public: |
3504 | | typedef ::google::protobuf::internal::MapEntry<ChildTransactionResultPB_ReadRestartsEntry_DoNotUse, |
3505 | | ::std::string, ::google::protobuf::uint64, |
3506 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
3507 | | ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64, |
3508 | | 0 > SuperType; |
3509 | | ChildTransactionResultPB_ReadRestartsEntry_DoNotUse(); |
3510 | | ChildTransactionResultPB_ReadRestartsEntry_DoNotUse(::google::protobuf::Arena* arena); |
3511 | | void MergeFrom(const ChildTransactionResultPB_ReadRestartsEntry_DoNotUse& other); |
3512 | 17.1k | static const ChildTransactionResultPB_ReadRestartsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ChildTransactionResultPB_ReadRestartsEntry_DoNotUse*>(&_ChildTransactionResultPB_ReadRestartsEntry_DoNotUse_default_instance_); } |
3513 | | void MergeFrom(const ::google::protobuf::Message& other) PROTOBUF_FINAL; |
3514 | | ::google::protobuf::Metadata GetMetadata() const; |
3515 | | }; |
3516 | | |
3517 | | // ------------------------------------------------------------------- |
3518 | | |
3519 | | class ChildTransactionResultPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ChildTransactionResultPB) */ { |
3520 | | public: |
3521 | | ChildTransactionResultPB(); |
3522 | | virtual ~ChildTransactionResultPB(); |
3523 | | |
3524 | | ChildTransactionResultPB(const ChildTransactionResultPB& from); |
3525 | | |
3526 | 35.4k | inline ChildTransactionResultPB& operator=(const ChildTransactionResultPB& from) { |
3527 | 35.4k | CopyFrom(from); |
3528 | 35.4k | return *this; |
3529 | 35.4k | } |
3530 | | #if LANG_CXX11 |
3531 | | ChildTransactionResultPB(ChildTransactionResultPB&& from) noexcept |
3532 | 14.5k | : ChildTransactionResultPB() { |
3533 | 14.5k | *this = ::std::move(from); |
3534 | 14.5k | } Unexecuted instantiation: _ZN2yb24ChildTransactionResultPBC2EOS0_ _ZN2yb24ChildTransactionResultPBC1EOS0_ Line | Count | Source | 3532 | 14.5k | : ChildTransactionResultPB() { | 3533 | 14.5k | *this = ::std::move(from); | 3534 | 14.5k | } |
|
3535 | | |
3536 | 29.0k | inline ChildTransactionResultPB& operator=(ChildTransactionResultPB&& from) noexcept { |
3537 | 29.0k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3538 | 29.0k | if (this != &from) InternalSwap(&from); |
3539 | 0 | } else { |
3540 | 0 | CopyFrom(from); |
3541 | 0 | } |
3542 | 29.0k | return *this; |
3543 | 29.0k | } |
3544 | | #endif |
3545 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3546 | 0 | return _internal_metadata_.unknown_fields(); |
3547 | 0 | } |
3548 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3549 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3550 | 0 | } |
3551 | | |
3552 | | static const ::google::protobuf::Descriptor* descriptor(); |
3553 | | static const ChildTransactionResultPB& default_instance(); |
3554 | | |
3555 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3556 | 162k | static inline const ChildTransactionResultPB* internal_default_instance() { |
3557 | 162k | return reinterpret_cast<const ChildTransactionResultPB*>( |
3558 | 162k | &_ChildTransactionResultPB_default_instance_); |
3559 | 162k | } |
3560 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3561 | | 21; |
3562 | | |
3563 | | void Swap(ChildTransactionResultPB* other); |
3564 | 0 | friend void swap(ChildTransactionResultPB& a, ChildTransactionResultPB& b) { |
3565 | 0 | a.Swap(&b); |
3566 | 0 | } |
3567 | | |
3568 | | // implements Message ---------------------------------------------- |
3569 | | |
3570 | 0 | inline ChildTransactionResultPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3571 | | |
3572 | | ChildTransactionResultPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3573 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3574 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3575 | | void CopyFrom(const ChildTransactionResultPB& from); |
3576 | | void MergeFrom(const ChildTransactionResultPB& from); |
3577 | | void Clear() PROTOBUF_FINAL; |
3578 | | bool IsInitialized() const PROTOBUF_FINAL; |
3579 | | |
3580 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3581 | | bool MergePartialFromCodedStream( |
3582 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3583 | | void SerializeWithCachedSizes( |
3584 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3585 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3586 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3587 | 4.60k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3588 | | private: |
3589 | | void SharedCtor(); |
3590 | | void SharedDtor(); |
3591 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3592 | | void InternalSwap(ChildTransactionResultPB* other); |
3593 | | private: |
3594 | 58.0k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3595 | 58.0k | return NULL; |
3596 | 58.0k | } |
3597 | 0 | inline void* MaybeArenaPtr() const { |
3598 | 0 | return NULL; |
3599 | 0 | } |
3600 | | public: |
3601 | | |
3602 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3603 | | |
3604 | | // nested types ---------------------------------------------------- |
3605 | | |
3606 | | |
3607 | | // accessors ------------------------------------------------------- |
3608 | | |
3609 | | // repeated .yb.TransactionInvolvedTabletPB tablets = 1; |
3610 | | int tablets_size() const; |
3611 | | void clear_tablets(); |
3612 | | static const int kTabletsFieldNumber = 1; |
3613 | | const ::yb::TransactionInvolvedTabletPB& tablets(int index) const; |
3614 | | ::yb::TransactionInvolvedTabletPB* mutable_tablets(int index); |
3615 | | ::yb::TransactionInvolvedTabletPB* add_tablets(); |
3616 | | ::google::protobuf::RepeatedPtrField< ::yb::TransactionInvolvedTabletPB >* |
3617 | | mutable_tablets(); |
3618 | | const ::google::protobuf::RepeatedPtrField< ::yb::TransactionInvolvedTabletPB >& |
3619 | | tablets() const; |
3620 | | |
3621 | | // map<string, fixed64> read_restarts = 3; |
3622 | | int read_restarts_size() const; |
3623 | | void clear_read_restarts(); |
3624 | | static const int kReadRestartsFieldNumber = 3; |
3625 | | const ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >& |
3626 | | read_restarts() const; |
3627 | | ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >* |
3628 | | mutable_read_restarts(); |
3629 | | |
3630 | | // optional .yb.ReadHybridTimePB used_read_time = 4; |
3631 | | bool has_used_read_time() const; |
3632 | | void clear_used_read_time(); |
3633 | | static const int kUsedReadTimeFieldNumber = 4; |
3634 | | const ::yb::ReadHybridTimePB& used_read_time() const; |
3635 | | ::yb::ReadHybridTimePB* release_used_read_time(); |
3636 | | ::yb::ReadHybridTimePB* mutable_used_read_time(); |
3637 | | void set_allocated_used_read_time(::yb::ReadHybridTimePB* used_read_time); |
3638 | | |
3639 | | // optional fixed64 restart_read_ht = 2; |
3640 | | bool has_restart_read_ht() const; |
3641 | | void clear_restart_read_ht(); |
3642 | | static const int kRestartReadHtFieldNumber = 2; |
3643 | | ::google::protobuf::uint64 restart_read_ht() const; |
3644 | | void set_restart_read_ht(::google::protobuf::uint64 value); |
3645 | | |
3646 | | // @@protoc_insertion_point(class_scope:yb.ChildTransactionResultPB) |
3647 | | private: |
3648 | | void set_has_restart_read_ht(); |
3649 | | void clear_has_restart_read_ht(); |
3650 | | void set_has_used_read_time(); |
3651 | | void clear_has_used_read_time(); |
3652 | | |
3653 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3654 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3655 | | mutable int _cached_size_; |
3656 | | ::google::protobuf::RepeatedPtrField< ::yb::TransactionInvolvedTabletPB > tablets_; |
3657 | | ::google::protobuf::internal::MapField< |
3658 | | ChildTransactionResultPB_ReadRestartsEntry_DoNotUse, |
3659 | | ::std::string, ::google::protobuf::uint64, |
3660 | | ::google::protobuf::internal::WireFormatLite::TYPE_STRING, |
3661 | | ::google::protobuf::internal::WireFormatLite::TYPE_FIXED64, |
3662 | | 0 > read_restarts_; |
3663 | | ::yb::ReadHybridTimePB* used_read_time_; |
3664 | | ::google::protobuf::uint64 restart_read_ht_; |
3665 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3666 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsChildTransactionResultPBImpl(); |
3667 | | }; |
3668 | | // ------------------------------------------------------------------- |
3669 | | |
3670 | | class DeletedColumnPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.DeletedColumnPB) */ { |
3671 | | public: |
3672 | | DeletedColumnPB(); |
3673 | | virtual ~DeletedColumnPB(); |
3674 | | |
3675 | | DeletedColumnPB(const DeletedColumnPB& from); |
3676 | | |
3677 | 0 | inline DeletedColumnPB& operator=(const DeletedColumnPB& from) { |
3678 | 0 | CopyFrom(from); |
3679 | 0 | return *this; |
3680 | 0 | } |
3681 | | #if LANG_CXX11 |
3682 | | DeletedColumnPB(DeletedColumnPB&& from) noexcept |
3683 | 0 | : DeletedColumnPB() { |
3684 | 0 | *this = ::std::move(from); |
3685 | 0 | } |
3686 | | |
3687 | 0 | inline DeletedColumnPB& operator=(DeletedColumnPB&& from) noexcept { |
3688 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3689 | 0 | if (this != &from) InternalSwap(&from); |
3690 | 0 | } else { |
3691 | 0 | CopyFrom(from); |
3692 | 0 | } |
3693 | 0 | return *this; |
3694 | 0 | } |
3695 | | #endif |
3696 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3697 | 0 | return _internal_metadata_.unknown_fields(); |
3698 | 0 | } |
3699 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3700 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3701 | 0 | } |
3702 | | |
3703 | | static const ::google::protobuf::Descriptor* descriptor(); |
3704 | | static const DeletedColumnPB& default_instance(); |
3705 | | |
3706 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3707 | 30.3k | static inline const DeletedColumnPB* internal_default_instance() { |
3708 | 30.3k | return reinterpret_cast<const DeletedColumnPB*>( |
3709 | 30.3k | &_DeletedColumnPB_default_instance_); |
3710 | 30.3k | } |
3711 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3712 | | 22; |
3713 | | |
3714 | | void Swap(DeletedColumnPB* other); |
3715 | 0 | friend void swap(DeletedColumnPB& a, DeletedColumnPB& b) { |
3716 | 0 | a.Swap(&b); |
3717 | 0 | } |
3718 | | |
3719 | | // implements Message ---------------------------------------------- |
3720 | | |
3721 | 0 | inline DeletedColumnPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3722 | | |
3723 | | DeletedColumnPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3724 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3725 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3726 | | void CopyFrom(const DeletedColumnPB& from); |
3727 | | void MergeFrom(const DeletedColumnPB& from); |
3728 | | void Clear() PROTOBUF_FINAL; |
3729 | | bool IsInitialized() const PROTOBUF_FINAL; |
3730 | | |
3731 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3732 | | bool MergePartialFromCodedStream( |
3733 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3734 | | void SerializeWithCachedSizes( |
3735 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3736 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3737 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3738 | 12.4k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3739 | | private: |
3740 | | void SharedCtor(); |
3741 | | void SharedDtor(); |
3742 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3743 | | void InternalSwap(DeletedColumnPB* other); |
3744 | | private: |
3745 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3746 | 0 | return NULL; |
3747 | 0 | } |
3748 | 0 | inline void* MaybeArenaPtr() const { |
3749 | 0 | return NULL; |
3750 | 0 | } |
3751 | | public: |
3752 | | |
3753 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3754 | | |
3755 | | // nested types ---------------------------------------------------- |
3756 | | |
3757 | | // accessors ------------------------------------------------------- |
3758 | | |
3759 | | // optional fixed64 deleted_hybrid_time = 2; |
3760 | | bool has_deleted_hybrid_time() const; |
3761 | | void clear_deleted_hybrid_time(); |
3762 | | static const int kDeletedHybridTimeFieldNumber = 2; |
3763 | | ::google::protobuf::uint64 deleted_hybrid_time() const; |
3764 | | void set_deleted_hybrid_time(::google::protobuf::uint64 value); |
3765 | | |
3766 | | // optional int32 column_id = 1; |
3767 | | bool has_column_id() const; |
3768 | | void clear_column_id(); |
3769 | | static const int kColumnIdFieldNumber = 1; |
3770 | | ::google::protobuf::int32 column_id() const; |
3771 | | void set_column_id(::google::protobuf::int32 value); |
3772 | | |
3773 | | // @@protoc_insertion_point(class_scope:yb.DeletedColumnPB) |
3774 | | private: |
3775 | | void set_has_column_id(); |
3776 | | void clear_has_column_id(); |
3777 | | void set_has_deleted_hybrid_time(); |
3778 | | void clear_has_deleted_hybrid_time(); |
3779 | | |
3780 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3781 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3782 | | mutable int _cached_size_; |
3783 | | ::google::protobuf::uint64 deleted_hybrid_time_; |
3784 | | ::google::protobuf::int32 column_id_; |
3785 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3786 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsDeletedColumnPBImpl(); |
3787 | | }; |
3788 | | // ------------------------------------------------------------------- |
3789 | | |
3790 | | class QLSubscriptedColPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLSubscriptedColPB) */ { |
3791 | | public: |
3792 | | QLSubscriptedColPB(); |
3793 | | virtual ~QLSubscriptedColPB(); |
3794 | | |
3795 | | QLSubscriptedColPB(const QLSubscriptedColPB& from); |
3796 | | |
3797 | 0 | inline QLSubscriptedColPB& operator=(const QLSubscriptedColPB& from) { |
3798 | 0 | CopyFrom(from); |
3799 | 0 | return *this; |
3800 | 0 | } |
3801 | | #if LANG_CXX11 |
3802 | | QLSubscriptedColPB(QLSubscriptedColPB&& from) noexcept |
3803 | 0 | : QLSubscriptedColPB() { |
3804 | 0 | *this = ::std::move(from); |
3805 | 0 | } |
3806 | | |
3807 | 0 | inline QLSubscriptedColPB& operator=(QLSubscriptedColPB&& from) noexcept { |
3808 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3809 | 0 | if (this != &from) InternalSwap(&from); |
3810 | 0 | } else { |
3811 | 0 | CopyFrom(from); |
3812 | 0 | } |
3813 | 0 | return *this; |
3814 | 0 | } |
3815 | | #endif |
3816 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3817 | 0 | return _internal_metadata_.unknown_fields(); |
3818 | 0 | } |
3819 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3820 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3821 | 0 | } |
3822 | | |
3823 | | static const ::google::protobuf::Descriptor* descriptor(); |
3824 | | static const QLSubscriptedColPB& default_instance(); |
3825 | | |
3826 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3827 | 34.7k | static inline const QLSubscriptedColPB* internal_default_instance() { |
3828 | 34.7k | return reinterpret_cast<const QLSubscriptedColPB*>( |
3829 | 34.7k | &_QLSubscriptedColPB_default_instance_); |
3830 | 34.7k | } |
3831 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3832 | | 23; |
3833 | | |
3834 | | void Swap(QLSubscriptedColPB* other); |
3835 | 0 | friend void swap(QLSubscriptedColPB& a, QLSubscriptedColPB& b) { |
3836 | 0 | a.Swap(&b); |
3837 | 0 | } |
3838 | | |
3839 | | // implements Message ---------------------------------------------- |
3840 | | |
3841 | 0 | inline QLSubscriptedColPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3842 | | |
3843 | | QLSubscriptedColPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3844 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3845 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3846 | | void CopyFrom(const QLSubscriptedColPB& from); |
3847 | | void MergeFrom(const QLSubscriptedColPB& from); |
3848 | | void Clear() PROTOBUF_FINAL; |
3849 | | bool IsInitialized() const PROTOBUF_FINAL; |
3850 | | |
3851 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3852 | | bool MergePartialFromCodedStream( |
3853 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3854 | | void SerializeWithCachedSizes( |
3855 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3856 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3857 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3858 | 236 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3859 | | private: |
3860 | | void SharedCtor(); |
3861 | | void SharedDtor(); |
3862 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3863 | | void InternalSwap(QLSubscriptedColPB* other); |
3864 | | private: |
3865 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3866 | 0 | return NULL; |
3867 | 0 | } |
3868 | 0 | inline void* MaybeArenaPtr() const { |
3869 | 0 | return NULL; |
3870 | 0 | } |
3871 | | public: |
3872 | | |
3873 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3874 | | |
3875 | | // nested types ---------------------------------------------------- |
3876 | | |
3877 | | // accessors ------------------------------------------------------- |
3878 | | |
3879 | | // repeated .yb.QLExpressionPB subscript_args = 2; |
3880 | | int subscript_args_size() const; |
3881 | | void clear_subscript_args(); |
3882 | | static const int kSubscriptArgsFieldNumber = 2; |
3883 | | const ::yb::QLExpressionPB& subscript_args(int index) const; |
3884 | | ::yb::QLExpressionPB* mutable_subscript_args(int index); |
3885 | | ::yb::QLExpressionPB* add_subscript_args(); |
3886 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
3887 | | mutable_subscript_args(); |
3888 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
3889 | | subscript_args() const; |
3890 | | |
3891 | | // optional int32 column_id = 1; |
3892 | | bool has_column_id() const; |
3893 | | void clear_column_id(); |
3894 | | static const int kColumnIdFieldNumber = 1; |
3895 | | ::google::protobuf::int32 column_id() const; |
3896 | | void set_column_id(::google::protobuf::int32 value); |
3897 | | |
3898 | | // @@protoc_insertion_point(class_scope:yb.QLSubscriptedColPB) |
3899 | | private: |
3900 | | void set_has_column_id(); |
3901 | | void clear_has_column_id(); |
3902 | | |
3903 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3904 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3905 | | mutable int _cached_size_; |
3906 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > subscript_args_; |
3907 | | ::google::protobuf::int32 column_id_; |
3908 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
3909 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLBCallPBImpl(); |
3910 | | }; |
3911 | | // ------------------------------------------------------------------- |
3912 | | |
3913 | | class QLJsonColumnOperationsPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLJsonColumnOperationsPB) */ { |
3914 | | public: |
3915 | | QLJsonColumnOperationsPB(); |
3916 | | virtual ~QLJsonColumnOperationsPB(); |
3917 | | |
3918 | | QLJsonColumnOperationsPB(const QLJsonColumnOperationsPB& from); |
3919 | | |
3920 | 0 | inline QLJsonColumnOperationsPB& operator=(const QLJsonColumnOperationsPB& from) { |
3921 | 0 | CopyFrom(from); |
3922 | 0 | return *this; |
3923 | 0 | } |
3924 | | #if LANG_CXX11 |
3925 | | QLJsonColumnOperationsPB(QLJsonColumnOperationsPB&& from) noexcept |
3926 | 0 | : QLJsonColumnOperationsPB() { |
3927 | 0 | *this = ::std::move(from); |
3928 | 0 | } |
3929 | | |
3930 | 0 | inline QLJsonColumnOperationsPB& operator=(QLJsonColumnOperationsPB&& from) noexcept { |
3931 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3932 | 0 | if (this != &from) InternalSwap(&from); |
3933 | 0 | } else { |
3934 | 0 | CopyFrom(from); |
3935 | 0 | } |
3936 | 0 | return *this; |
3937 | 0 | } |
3938 | | #endif |
3939 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3940 | 0 | return _internal_metadata_.unknown_fields(); |
3941 | 0 | } |
3942 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3943 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
3944 | 0 | } |
3945 | | |
3946 | | static const ::google::protobuf::Descriptor* descriptor(); |
3947 | | static const QLJsonColumnOperationsPB& default_instance(); |
3948 | | |
3949 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3950 | 77.9k | static inline const QLJsonColumnOperationsPB* internal_default_instance() { |
3951 | 77.9k | return reinterpret_cast<const QLJsonColumnOperationsPB*>( |
3952 | 77.9k | &_QLJsonColumnOperationsPB_default_instance_); |
3953 | 77.9k | } |
3954 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
3955 | | 24; |
3956 | | |
3957 | | void Swap(QLJsonColumnOperationsPB* other); |
3958 | 0 | friend void swap(QLJsonColumnOperationsPB& a, QLJsonColumnOperationsPB& b) { |
3959 | 0 | a.Swap(&b); |
3960 | 0 | } |
3961 | | |
3962 | | // implements Message ---------------------------------------------- |
3963 | | |
3964 | 0 | inline QLJsonColumnOperationsPB* New() const PROTOBUF_FINAL { return New(NULL); } |
3965 | | |
3966 | | QLJsonColumnOperationsPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
3967 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3968 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
3969 | | void CopyFrom(const QLJsonColumnOperationsPB& from); |
3970 | | void MergeFrom(const QLJsonColumnOperationsPB& from); |
3971 | | void Clear() PROTOBUF_FINAL; |
3972 | | bool IsInitialized() const PROTOBUF_FINAL; |
3973 | | |
3974 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
3975 | | bool MergePartialFromCodedStream( |
3976 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
3977 | | void SerializeWithCachedSizes( |
3978 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
3979 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3980 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
3981 | 22.8k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
3982 | | private: |
3983 | | void SharedCtor(); |
3984 | | void SharedDtor(); |
3985 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
3986 | | void InternalSwap(QLJsonColumnOperationsPB* other); |
3987 | | private: |
3988 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3989 | 0 | return NULL; |
3990 | 0 | } |
3991 | 0 | inline void* MaybeArenaPtr() const { |
3992 | 0 | return NULL; |
3993 | 0 | } |
3994 | | public: |
3995 | | |
3996 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
3997 | | |
3998 | | // nested types ---------------------------------------------------- |
3999 | | |
4000 | | // accessors ------------------------------------------------------- |
4001 | | |
4002 | | // repeated .yb.QLJsonOperationPB json_operations = 2; |
4003 | | int json_operations_size() const; |
4004 | | void clear_json_operations(); |
4005 | | static const int kJsonOperationsFieldNumber = 2; |
4006 | | const ::yb::QLJsonOperationPB& json_operations(int index) const; |
4007 | | ::yb::QLJsonOperationPB* mutable_json_operations(int index); |
4008 | | ::yb::QLJsonOperationPB* add_json_operations(); |
4009 | | ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >* |
4010 | | mutable_json_operations(); |
4011 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >& |
4012 | | json_operations() const; |
4013 | | |
4014 | | // optional int32 column_id = 1; |
4015 | | bool has_column_id() const; |
4016 | | void clear_column_id(); |
4017 | | static const int kColumnIdFieldNumber = 1; |
4018 | | ::google::protobuf::int32 column_id() const; |
4019 | | void set_column_id(::google::protobuf::int32 value); |
4020 | | |
4021 | | // @@protoc_insertion_point(class_scope:yb.QLJsonColumnOperationsPB) |
4022 | | private: |
4023 | | void set_has_column_id(); |
4024 | | void clear_has_column_id(); |
4025 | | |
4026 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4027 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4028 | | mutable int _cached_size_; |
4029 | | ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB > json_operations_; |
4030 | | ::google::protobuf::int32 column_id_; |
4031 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4032 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLBCallPBImpl(); |
4033 | | }; |
4034 | | // ------------------------------------------------------------------- |
4035 | | |
4036 | | class QLJsonOperationPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLJsonOperationPB) */ { |
4037 | | public: |
4038 | | QLJsonOperationPB(); |
4039 | | virtual ~QLJsonOperationPB(); |
4040 | | |
4041 | | QLJsonOperationPB(const QLJsonOperationPB& from); |
4042 | | |
4043 | 0 | inline QLJsonOperationPB& operator=(const QLJsonOperationPB& from) { |
4044 | 0 | CopyFrom(from); |
4045 | 0 | return *this; |
4046 | 0 | } |
4047 | | #if LANG_CXX11 |
4048 | | QLJsonOperationPB(QLJsonOperationPB&& from) noexcept |
4049 | 0 | : QLJsonOperationPB() { |
4050 | 0 | *this = ::std::move(from); |
4051 | 0 | } |
4052 | | |
4053 | 0 | inline QLJsonOperationPB& operator=(QLJsonOperationPB&& from) noexcept { |
4054 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4055 | 0 | if (this != &from) InternalSwap(&from); |
4056 | 0 | } else { |
4057 | 0 | CopyFrom(from); |
4058 | 0 | } |
4059 | 0 | return *this; |
4060 | 0 | } |
4061 | | #endif |
4062 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4063 | 0 | return _internal_metadata_.unknown_fields(); |
4064 | 0 | } |
4065 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4066 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4067 | 0 | } |
4068 | | |
4069 | | static const ::google::protobuf::Descriptor* descriptor(); |
4070 | | static const QLJsonOperationPB& default_instance(); |
4071 | | |
4072 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4073 | 156k | static inline const QLJsonOperationPB* internal_default_instance() { |
4074 | 156k | return reinterpret_cast<const QLJsonOperationPB*>( |
4075 | 156k | &_QLJsonOperationPB_default_instance_); |
4076 | 156k | } |
4077 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4078 | | 25; |
4079 | | |
4080 | | void Swap(QLJsonOperationPB* other); |
4081 | 0 | friend void swap(QLJsonOperationPB& a, QLJsonOperationPB& b) { |
4082 | 0 | a.Swap(&b); |
4083 | 0 | } |
4084 | | |
4085 | | // implements Message ---------------------------------------------- |
4086 | | |
4087 | 0 | inline QLJsonOperationPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4088 | | |
4089 | | QLJsonOperationPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4090 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4091 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4092 | | void CopyFrom(const QLJsonOperationPB& from); |
4093 | | void MergeFrom(const QLJsonOperationPB& from); |
4094 | | void Clear() PROTOBUF_FINAL; |
4095 | | bool IsInitialized() const PROTOBUF_FINAL; |
4096 | | |
4097 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4098 | | bool MergePartialFromCodedStream( |
4099 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4100 | | void SerializeWithCachedSizes( |
4101 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4102 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4103 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4104 | 36.5k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4105 | | private: |
4106 | | void SharedCtor(); |
4107 | | void SharedDtor(); |
4108 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4109 | | void InternalSwap(QLJsonOperationPB* other); |
4110 | | private: |
4111 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4112 | 0 | return NULL; |
4113 | 0 | } |
4114 | 0 | inline void* MaybeArenaPtr() const { |
4115 | 0 | return NULL; |
4116 | 0 | } |
4117 | | public: |
4118 | | |
4119 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4120 | | |
4121 | | // nested types ---------------------------------------------------- |
4122 | | |
4123 | | // accessors ------------------------------------------------------- |
4124 | | |
4125 | | // required .yb.QLExpressionPB operand = 2; |
4126 | | bool has_operand() const; |
4127 | | void clear_operand(); |
4128 | | static const int kOperandFieldNumber = 2; |
4129 | | const ::yb::QLExpressionPB& operand() const; |
4130 | | ::yb::QLExpressionPB* release_operand(); |
4131 | | ::yb::QLExpressionPB* mutable_operand(); |
4132 | | void set_allocated_operand(::yb::QLExpressionPB* operand); |
4133 | | |
4134 | | // required .yb.JsonOperatorPB json_operator = 1; |
4135 | | bool has_json_operator() const; |
4136 | | void clear_json_operator(); |
4137 | | static const int kJsonOperatorFieldNumber = 1; |
4138 | | ::yb::JsonOperatorPB json_operator() const; |
4139 | | void set_json_operator(::yb::JsonOperatorPB value); |
4140 | | |
4141 | | // @@protoc_insertion_point(class_scope:yb.QLJsonOperationPB) |
4142 | | private: |
4143 | | void set_has_json_operator(); |
4144 | | void clear_has_json_operator(); |
4145 | | void set_has_operand(); |
4146 | | void clear_has_operand(); |
4147 | | |
4148 | | // helper for ByteSizeLong() |
4149 | | size_t RequiredFieldsByteSizeFallback() const; |
4150 | | |
4151 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4152 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4153 | | mutable int _cached_size_; |
4154 | | ::yb::QLExpressionPB* operand_; |
4155 | | int json_operator_; |
4156 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4157 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLBCallPBImpl(); |
4158 | | }; |
4159 | | // ------------------------------------------------------------------- |
4160 | | |
4161 | | class QLExpressionPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLExpressionPB) */ { |
4162 | | public: |
4163 | | QLExpressionPB(); |
4164 | | virtual ~QLExpressionPB(); |
4165 | | |
4166 | | QLExpressionPB(const QLExpressionPB& from); |
4167 | | |
4168 | 8.96k | inline QLExpressionPB& operator=(const QLExpressionPB& from) { |
4169 | 8.96k | CopyFrom(from); |
4170 | 8.96k | return *this; |
4171 | 8.96k | } |
4172 | | #if LANG_CXX11 |
4173 | | QLExpressionPB(QLExpressionPB&& from) noexcept |
4174 | 8.35k | : QLExpressionPB() { |
4175 | 8.35k | *this = ::std::move(from); |
4176 | 8.35k | } Unexecuted instantiation: _ZN2yb14QLExpressionPBC2EOS0_ _ZN2yb14QLExpressionPBC1EOS0_ Line | Count | Source | 4174 | 8.35k | : QLExpressionPB() { | 4175 | 8.35k | *this = ::std::move(from); | 4176 | 8.35k | } |
|
4177 | | |
4178 | 8.35k | inline QLExpressionPB& operator=(QLExpressionPB&& from) noexcept { |
4179 | 8.35k | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4180 | 8.35k | if (this != &from) InternalSwap(&from); |
4181 | 0 | } else { |
4182 | 0 | CopyFrom(from); |
4183 | 0 | } |
4184 | 8.35k | return *this; |
4185 | 8.35k | } |
4186 | | #endif |
4187 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4188 | 0 | return _internal_metadata_.unknown_fields(); |
4189 | 0 | } |
4190 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4191 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4192 | 0 | } |
4193 | | |
4194 | | static const ::google::protobuf::Descriptor* descriptor(); |
4195 | | static const QLExpressionPB& default_instance(); |
4196 | | |
4197 | | enum ExprCase { |
4198 | | kValue = 1, |
4199 | | kColumnId = 2, |
4200 | | kSubscriptedCol = 3, |
4201 | | kBindId = 4, |
4202 | | kCondition = 5, |
4203 | | kBfcall = 6, |
4204 | | kTscall = 7, |
4205 | | kBocall = 8, |
4206 | | kJsonColumn = 9, |
4207 | | EXPR_NOT_SET = 0, |
4208 | | }; |
4209 | | |
4210 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4211 | 41.0M | static inline const QLExpressionPB* internal_default_instance() { |
4212 | 41.0M | return reinterpret_cast<const QLExpressionPB*>( |
4213 | 41.0M | &_QLExpressionPB_default_instance_); |
4214 | 41.0M | } |
4215 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4216 | | 26; |
4217 | | |
4218 | | void Swap(QLExpressionPB* other); |
4219 | 0 | friend void swap(QLExpressionPB& a, QLExpressionPB& b) { |
4220 | 0 | a.Swap(&b); |
4221 | 0 | } |
4222 | | |
4223 | | // implements Message ---------------------------------------------- |
4224 | | |
4225 | 0 | inline QLExpressionPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4226 | | |
4227 | | QLExpressionPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4228 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4229 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4230 | | void CopyFrom(const QLExpressionPB& from); |
4231 | | void MergeFrom(const QLExpressionPB& from); |
4232 | | void Clear() PROTOBUF_FINAL; |
4233 | | bool IsInitialized() const PROTOBUF_FINAL; |
4234 | | |
4235 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4236 | | bool MergePartialFromCodedStream( |
4237 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4238 | | void SerializeWithCachedSizes( |
4239 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4240 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4241 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4242 | 10.0M | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4243 | | private: |
4244 | | void SharedCtor(); |
4245 | | void SharedDtor(); |
4246 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4247 | | void InternalSwap(QLExpressionPB* other); |
4248 | | private: |
4249 | 16.7k | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4250 | 16.7k | return NULL; |
4251 | 16.7k | } |
4252 | 0 | inline void* MaybeArenaPtr() const { |
4253 | 0 | return NULL; |
4254 | 0 | } |
4255 | | public: |
4256 | | |
4257 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4258 | | |
4259 | | // nested types ---------------------------------------------------- |
4260 | | |
4261 | | // accessors ------------------------------------------------------- |
4262 | | |
4263 | | // optional .yb.QLValuePB value = 1; |
4264 | | bool has_value() const; |
4265 | | void clear_value(); |
4266 | | static const int kValueFieldNumber = 1; |
4267 | | const ::yb::QLValuePB& value() const; |
4268 | | ::yb::QLValuePB* release_value(); |
4269 | | ::yb::QLValuePB* mutable_value(); |
4270 | | void set_allocated_value(::yb::QLValuePB* value); |
4271 | | |
4272 | | // optional int32 column_id = 2; |
4273 | | bool has_column_id() const; |
4274 | | void clear_column_id(); |
4275 | | static const int kColumnIdFieldNumber = 2; |
4276 | | ::google::protobuf::int32 column_id() const; |
4277 | | void set_column_id(::google::protobuf::int32 value); |
4278 | | |
4279 | | // optional .yb.QLSubscriptedColPB subscripted_col = 3; |
4280 | | bool has_subscripted_col() const; |
4281 | | void clear_subscripted_col(); |
4282 | | static const int kSubscriptedColFieldNumber = 3; |
4283 | | const ::yb::QLSubscriptedColPB& subscripted_col() const; |
4284 | | ::yb::QLSubscriptedColPB* release_subscripted_col(); |
4285 | | ::yb::QLSubscriptedColPB* mutable_subscripted_col(); |
4286 | | void set_allocated_subscripted_col(::yb::QLSubscriptedColPB* subscripted_col); |
4287 | | |
4288 | | // optional int32 bind_id = 4; |
4289 | | bool has_bind_id() const; |
4290 | | void clear_bind_id(); |
4291 | | static const int kBindIdFieldNumber = 4; |
4292 | | ::google::protobuf::int32 bind_id() const; |
4293 | | void set_bind_id(::google::protobuf::int32 value); |
4294 | | |
4295 | | // optional .yb.QLConditionPB condition = 5; |
4296 | | bool has_condition() const; |
4297 | | void clear_condition(); |
4298 | | static const int kConditionFieldNumber = 5; |
4299 | | const ::yb::QLConditionPB& condition() const; |
4300 | | ::yb::QLConditionPB* release_condition(); |
4301 | | ::yb::QLConditionPB* mutable_condition(); |
4302 | | void set_allocated_condition(::yb::QLConditionPB* condition); |
4303 | | |
4304 | | // optional .yb.QLBCallPB bfcall = 6; |
4305 | | bool has_bfcall() const; |
4306 | | void clear_bfcall(); |
4307 | | static const int kBfcallFieldNumber = 6; |
4308 | | const ::yb::QLBCallPB& bfcall() const; |
4309 | | ::yb::QLBCallPB* release_bfcall(); |
4310 | | ::yb::QLBCallPB* mutable_bfcall(); |
4311 | | void set_allocated_bfcall(::yb::QLBCallPB* bfcall); |
4312 | | |
4313 | | // optional .yb.QLBCallPB tscall = 7; |
4314 | | bool has_tscall() const; |
4315 | | void clear_tscall(); |
4316 | | static const int kTscallFieldNumber = 7; |
4317 | | const ::yb::QLBCallPB& tscall() const; |
4318 | | ::yb::QLBCallPB* release_tscall(); |
4319 | | ::yb::QLBCallPB* mutable_tscall(); |
4320 | | void set_allocated_tscall(::yb::QLBCallPB* tscall); |
4321 | | |
4322 | | // optional .yb.QLBCallPB bocall = 8; |
4323 | | bool has_bocall() const; |
4324 | | void clear_bocall(); |
4325 | | static const int kBocallFieldNumber = 8; |
4326 | | const ::yb::QLBCallPB& bocall() const; |
4327 | | ::yb::QLBCallPB* release_bocall(); |
4328 | | ::yb::QLBCallPB* mutable_bocall(); |
4329 | | void set_allocated_bocall(::yb::QLBCallPB* bocall); |
4330 | | |
4331 | | // optional .yb.QLJsonColumnOperationsPB json_column = 9; |
4332 | | bool has_json_column() const; |
4333 | | void clear_json_column(); |
4334 | | static const int kJsonColumnFieldNumber = 9; |
4335 | | const ::yb::QLJsonColumnOperationsPB& json_column() const; |
4336 | | ::yb::QLJsonColumnOperationsPB* release_json_column(); |
4337 | | ::yb::QLJsonColumnOperationsPB* mutable_json_column(); |
4338 | | void set_allocated_json_column(::yb::QLJsonColumnOperationsPB* json_column); |
4339 | | |
4340 | | ExprCase expr_case() const; |
4341 | | // @@protoc_insertion_point(class_scope:yb.QLExpressionPB) |
4342 | | private: |
4343 | | void set_has_value(); |
4344 | | void set_has_column_id(); |
4345 | | void set_has_subscripted_col(); |
4346 | | void set_has_bind_id(); |
4347 | | void set_has_condition(); |
4348 | | void set_has_bfcall(); |
4349 | | void set_has_tscall(); |
4350 | | void set_has_bocall(); |
4351 | | void set_has_json_column(); |
4352 | | |
4353 | | inline bool has_expr() const; |
4354 | | void clear_expr(); |
4355 | | inline void clear_has_expr(); |
4356 | | |
4357 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4358 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4359 | | mutable int _cached_size_; |
4360 | | union ExprUnion { |
4361 | 41.9M | ExprUnion() {} |
4362 | | ::yb::QLValuePB* value_; |
4363 | | ::google::protobuf::int32 column_id_; |
4364 | | ::yb::QLSubscriptedColPB* subscripted_col_; |
4365 | | ::google::protobuf::int32 bind_id_; |
4366 | | ::yb::QLConditionPB* condition_; |
4367 | | ::yb::QLBCallPB* bfcall_; |
4368 | | ::yb::QLBCallPB* tscall_; |
4369 | | ::yb::QLBCallPB* bocall_; |
4370 | | ::yb::QLJsonColumnOperationsPB* json_column_; |
4371 | | } expr_; |
4372 | | ::google::protobuf::uint32 _oneof_case_[1]; |
4373 | | |
4374 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4375 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLBCallPBImpl(); |
4376 | | }; |
4377 | | // ------------------------------------------------------------------- |
4378 | | |
4379 | | class QLConditionPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLConditionPB) */ { |
4380 | | public: |
4381 | | QLConditionPB(); |
4382 | | virtual ~QLConditionPB(); |
4383 | | |
4384 | | QLConditionPB(const QLConditionPB& from); |
4385 | | |
4386 | 0 | inline QLConditionPB& operator=(const QLConditionPB& from) { |
4387 | 0 | CopyFrom(from); |
4388 | 0 | return *this; |
4389 | 0 | } |
4390 | | #if LANG_CXX11 |
4391 | | QLConditionPB(QLConditionPB&& from) noexcept |
4392 | 0 | : QLConditionPB() { |
4393 | 0 | *this = ::std::move(from); |
4394 | 0 | } |
4395 | | |
4396 | 0 | inline QLConditionPB& operator=(QLConditionPB&& from) noexcept { |
4397 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4398 | 0 | if (this != &from) InternalSwap(&from); |
4399 | 0 | } else { |
4400 | 0 | CopyFrom(from); |
4401 | 0 | } |
4402 | 0 | return *this; |
4403 | 0 | } |
4404 | | #endif |
4405 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4406 | 0 | return _internal_metadata_.unknown_fields(); |
4407 | 0 | } |
4408 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4409 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4410 | 0 | } |
4411 | | |
4412 | | static const ::google::protobuf::Descriptor* descriptor(); |
4413 | | static const QLConditionPB& default_instance(); |
4414 | | |
4415 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4416 | 307k | static inline const QLConditionPB* internal_default_instance() { |
4417 | 307k | return reinterpret_cast<const QLConditionPB*>( |
4418 | 307k | &_QLConditionPB_default_instance_); |
4419 | 307k | } |
4420 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4421 | | 27; |
4422 | | |
4423 | | void Swap(QLConditionPB* other); |
4424 | 0 | friend void swap(QLConditionPB& a, QLConditionPB& b) { |
4425 | 0 | a.Swap(&b); |
4426 | 0 | } |
4427 | | |
4428 | | // implements Message ---------------------------------------------- |
4429 | | |
4430 | 0 | inline QLConditionPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4431 | | |
4432 | | QLConditionPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4433 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4434 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4435 | | void CopyFrom(const QLConditionPB& from); |
4436 | | void MergeFrom(const QLConditionPB& from); |
4437 | | void Clear() PROTOBUF_FINAL; |
4438 | | bool IsInitialized() const PROTOBUF_FINAL; |
4439 | | |
4440 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4441 | | bool MergePartialFromCodedStream( |
4442 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4443 | | void SerializeWithCachedSizes( |
4444 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4445 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4446 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4447 | 116k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4448 | | private: |
4449 | | void SharedCtor(); |
4450 | | void SharedDtor(); |
4451 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4452 | | void InternalSwap(QLConditionPB* other); |
4453 | | private: |
4454 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4455 | 0 | return NULL; |
4456 | 0 | } |
4457 | 0 | inline void* MaybeArenaPtr() const { |
4458 | 0 | return NULL; |
4459 | 0 | } |
4460 | | public: |
4461 | | |
4462 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4463 | | |
4464 | | // nested types ---------------------------------------------------- |
4465 | | |
4466 | | // accessors ------------------------------------------------------- |
4467 | | |
4468 | | // repeated .yb.QLExpressionPB operands = 2; |
4469 | | int operands_size() const; |
4470 | | void clear_operands(); |
4471 | | static const int kOperandsFieldNumber = 2; |
4472 | | const ::yb::QLExpressionPB& operands(int index) const; |
4473 | | ::yb::QLExpressionPB* mutable_operands(int index); |
4474 | | ::yb::QLExpressionPB* add_operands(); |
4475 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
4476 | | mutable_operands(); |
4477 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
4478 | | operands() const; |
4479 | | |
4480 | | // optional .yb.QLOperator op = 1; |
4481 | | bool has_op() const; |
4482 | | void clear_op(); |
4483 | | static const int kOpFieldNumber = 1; |
4484 | | ::yb::QLOperator op() const; |
4485 | | void set_op(::yb::QLOperator value); |
4486 | | |
4487 | | // @@protoc_insertion_point(class_scope:yb.QLConditionPB) |
4488 | | private: |
4489 | | void set_has_op(); |
4490 | | void clear_has_op(); |
4491 | | |
4492 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4493 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4494 | | mutable int _cached_size_; |
4495 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > operands_; |
4496 | | int op_; |
4497 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4498 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLBCallPBImpl(); |
4499 | | }; |
4500 | | // ------------------------------------------------------------------- |
4501 | | |
4502 | | class QLBCallPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.QLBCallPB) */ { |
4503 | | public: |
4504 | | QLBCallPB(); |
4505 | | virtual ~QLBCallPB(); |
4506 | | |
4507 | | QLBCallPB(const QLBCallPB& from); |
4508 | | |
4509 | 0 | inline QLBCallPB& operator=(const QLBCallPB& from) { |
4510 | 0 | CopyFrom(from); |
4511 | 0 | return *this; |
4512 | 0 | } |
4513 | | #if LANG_CXX11 |
4514 | | QLBCallPB(QLBCallPB&& from) noexcept |
4515 | 0 | : QLBCallPB() { |
4516 | 0 | *this = ::std::move(from); |
4517 | 0 | } |
4518 | | |
4519 | 0 | inline QLBCallPB& operator=(QLBCallPB&& from) noexcept { |
4520 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4521 | 0 | if (this != &from) InternalSwap(&from); |
4522 | 0 | } else { |
4523 | 0 | CopyFrom(from); |
4524 | 0 | } |
4525 | 0 | return *this; |
4526 | 0 | } |
4527 | | #endif |
4528 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4529 | 0 | return _internal_metadata_.unknown_fields(); |
4530 | 0 | } |
4531 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4532 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4533 | 0 | } |
4534 | | |
4535 | | static const ::google::protobuf::Descriptor* descriptor(); |
4536 | | static const QLBCallPB& default_instance(); |
4537 | | |
4538 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4539 | 80.9k | static inline const QLBCallPB* internal_default_instance() { |
4540 | 80.9k | return reinterpret_cast<const QLBCallPB*>( |
4541 | 80.9k | &_QLBCallPB_default_instance_); |
4542 | 80.9k | } |
4543 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4544 | | 28; |
4545 | | |
4546 | | void Swap(QLBCallPB* other); |
4547 | 0 | friend void swap(QLBCallPB& a, QLBCallPB& b) { |
4548 | 0 | a.Swap(&b); |
4549 | 0 | } |
4550 | | |
4551 | | // implements Message ---------------------------------------------- |
4552 | | |
4553 | 0 | inline QLBCallPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4554 | | |
4555 | | QLBCallPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4556 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4557 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4558 | | void CopyFrom(const QLBCallPB& from); |
4559 | | void MergeFrom(const QLBCallPB& from); |
4560 | | void Clear() PROTOBUF_FINAL; |
4561 | | bool IsInitialized() const PROTOBUF_FINAL; |
4562 | | |
4563 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4564 | | bool MergePartialFromCodedStream( |
4565 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4566 | | void SerializeWithCachedSizes( |
4567 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4568 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4569 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4570 | 5.54k | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4571 | | private: |
4572 | | void SharedCtor(); |
4573 | | void SharedDtor(); |
4574 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4575 | | void InternalSwap(QLBCallPB* other); |
4576 | | private: |
4577 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4578 | 0 | return NULL; |
4579 | 0 | } |
4580 | 0 | inline void* MaybeArenaPtr() const { |
4581 | 0 | return NULL; |
4582 | 0 | } |
4583 | | public: |
4584 | | |
4585 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4586 | | |
4587 | | // nested types ---------------------------------------------------- |
4588 | | |
4589 | | // accessors ------------------------------------------------------- |
4590 | | |
4591 | | // repeated .yb.QLExpressionPB operands = 2; |
4592 | | int operands_size() const; |
4593 | | void clear_operands(); |
4594 | | static const int kOperandsFieldNumber = 2; |
4595 | | const ::yb::QLExpressionPB& operands(int index) const; |
4596 | | ::yb::QLExpressionPB* mutable_operands(int index); |
4597 | | ::yb::QLExpressionPB* add_operands(); |
4598 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
4599 | | mutable_operands(); |
4600 | | const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
4601 | | operands() const; |
4602 | | |
4603 | | // optional int32 opcode = 1; |
4604 | | bool has_opcode() const; |
4605 | | void clear_opcode(); |
4606 | | static const int kOpcodeFieldNumber = 1; |
4607 | | ::google::protobuf::int32 opcode() const; |
4608 | | void set_opcode(::google::protobuf::int32 value); |
4609 | | |
4610 | | // @@protoc_insertion_point(class_scope:yb.QLBCallPB) |
4611 | | private: |
4612 | | void set_has_opcode(); |
4613 | | void clear_has_opcode(); |
4614 | | |
4615 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4616 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4617 | | mutable int _cached_size_; |
4618 | | ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB > operands_; |
4619 | | ::google::protobuf::int32 opcode_; |
4620 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4621 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsQLBCallPBImpl(); |
4622 | | }; |
4623 | | // ------------------------------------------------------------------- |
4624 | | |
4625 | | class ExplainPlanPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.ExplainPlanPB) */ { |
4626 | | public: |
4627 | | ExplainPlanPB(); |
4628 | | virtual ~ExplainPlanPB(); |
4629 | | |
4630 | | ExplainPlanPB(const ExplainPlanPB& from); |
4631 | | |
4632 | 0 | inline ExplainPlanPB& operator=(const ExplainPlanPB& from) { |
4633 | 0 | CopyFrom(from); |
4634 | 0 | return *this; |
4635 | 0 | } |
4636 | | #if LANG_CXX11 |
4637 | | ExplainPlanPB(ExplainPlanPB&& from) noexcept |
4638 | 0 | : ExplainPlanPB() { |
4639 | 0 | *this = ::std::move(from); |
4640 | 0 | } |
4641 | | |
4642 | 0 | inline ExplainPlanPB& operator=(ExplainPlanPB&& from) noexcept { |
4643 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4644 | 0 | if (this != &from) InternalSwap(&from); |
4645 | 0 | } else { |
4646 | 0 | CopyFrom(from); |
4647 | 0 | } |
4648 | 0 | return *this; |
4649 | 0 | } |
4650 | | #endif |
4651 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4652 | 0 | return _internal_metadata_.unknown_fields(); |
4653 | 0 | } |
4654 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4655 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4656 | 0 | } |
4657 | | |
4658 | | static const ::google::protobuf::Descriptor* descriptor(); |
4659 | | static const ExplainPlanPB& default_instance(); |
4660 | | |
4661 | | enum PlanCase { |
4662 | | kSelectPlan = 1, |
4663 | | kInsertPlan = 2, |
4664 | | kUpdatePlan = 3, |
4665 | | kDeletePlan = 4, |
4666 | | PLAN_NOT_SET = 0, |
4667 | | }; |
4668 | | |
4669 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4670 | 17.3k | static inline const ExplainPlanPB* internal_default_instance() { |
4671 | 17.3k | return reinterpret_cast<const ExplainPlanPB*>( |
4672 | 17.3k | &_ExplainPlanPB_default_instance_); |
4673 | 17.3k | } |
4674 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4675 | | 29; |
4676 | | |
4677 | | void Swap(ExplainPlanPB* other); |
4678 | 0 | friend void swap(ExplainPlanPB& a, ExplainPlanPB& b) { |
4679 | 0 | a.Swap(&b); |
4680 | 0 | } |
4681 | | |
4682 | | // implements Message ---------------------------------------------- |
4683 | | |
4684 | 0 | inline ExplainPlanPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4685 | | |
4686 | | ExplainPlanPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4687 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4688 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4689 | | void CopyFrom(const ExplainPlanPB& from); |
4690 | | void MergeFrom(const ExplainPlanPB& from); |
4691 | | void Clear() PROTOBUF_FINAL; |
4692 | | bool IsInitialized() const PROTOBUF_FINAL; |
4693 | | |
4694 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4695 | | bool MergePartialFromCodedStream( |
4696 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4697 | | void SerializeWithCachedSizes( |
4698 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4699 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4700 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4701 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4702 | | private: |
4703 | | void SharedCtor(); |
4704 | | void SharedDtor(); |
4705 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4706 | | void InternalSwap(ExplainPlanPB* other); |
4707 | | private: |
4708 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4709 | 0 | return NULL; |
4710 | 0 | } |
4711 | 0 | inline void* MaybeArenaPtr() const { |
4712 | 0 | return NULL; |
4713 | 0 | } |
4714 | | public: |
4715 | | |
4716 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4717 | | |
4718 | | // nested types ---------------------------------------------------- |
4719 | | |
4720 | | // accessors ------------------------------------------------------- |
4721 | | |
4722 | | // optional .yb.SelectPlanPB select_plan = 1; |
4723 | | bool has_select_plan() const; |
4724 | | void clear_select_plan(); |
4725 | | static const int kSelectPlanFieldNumber = 1; |
4726 | | const ::yb::SelectPlanPB& select_plan() const; |
4727 | | ::yb::SelectPlanPB* release_select_plan(); |
4728 | | ::yb::SelectPlanPB* mutable_select_plan(); |
4729 | | void set_allocated_select_plan(::yb::SelectPlanPB* select_plan); |
4730 | | |
4731 | | // optional .yb.InsertPlanPB insert_plan = 2; |
4732 | | bool has_insert_plan() const; |
4733 | | void clear_insert_plan(); |
4734 | | static const int kInsertPlanFieldNumber = 2; |
4735 | | const ::yb::InsertPlanPB& insert_plan() const; |
4736 | | ::yb::InsertPlanPB* release_insert_plan(); |
4737 | | ::yb::InsertPlanPB* mutable_insert_plan(); |
4738 | | void set_allocated_insert_plan(::yb::InsertPlanPB* insert_plan); |
4739 | | |
4740 | | // optional .yb.UpdatePlanPB update_plan = 3; |
4741 | | bool has_update_plan() const; |
4742 | | void clear_update_plan(); |
4743 | | static const int kUpdatePlanFieldNumber = 3; |
4744 | | const ::yb::UpdatePlanPB& update_plan() const; |
4745 | | ::yb::UpdatePlanPB* release_update_plan(); |
4746 | | ::yb::UpdatePlanPB* mutable_update_plan(); |
4747 | | void set_allocated_update_plan(::yb::UpdatePlanPB* update_plan); |
4748 | | |
4749 | | // optional .yb.DeletePlanPB delete_plan = 4; |
4750 | | bool has_delete_plan() const; |
4751 | | void clear_delete_plan(); |
4752 | | static const int kDeletePlanFieldNumber = 4; |
4753 | | const ::yb::DeletePlanPB& delete_plan() const; |
4754 | | ::yb::DeletePlanPB* release_delete_plan(); |
4755 | | ::yb::DeletePlanPB* mutable_delete_plan(); |
4756 | | void set_allocated_delete_plan(::yb::DeletePlanPB* delete_plan); |
4757 | | |
4758 | | PlanCase plan_case() const; |
4759 | | // @@protoc_insertion_point(class_scope:yb.ExplainPlanPB) |
4760 | | private: |
4761 | | void set_has_select_plan(); |
4762 | | void set_has_insert_plan(); |
4763 | | void set_has_update_plan(); |
4764 | | void set_has_delete_plan(); |
4765 | | |
4766 | | inline bool has_plan() const; |
4767 | | void clear_plan(); |
4768 | | inline void clear_has_plan(); |
4769 | | |
4770 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4771 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4772 | | mutable int _cached_size_; |
4773 | | union PlanUnion { |
4774 | 17.3k | PlanUnion() {} |
4775 | | ::yb::SelectPlanPB* select_plan_; |
4776 | | ::yb::InsertPlanPB* insert_plan_; |
4777 | | ::yb::UpdatePlanPB* update_plan_; |
4778 | | ::yb::DeletePlanPB* delete_plan_; |
4779 | | } plan_; |
4780 | | ::google::protobuf::uint32 _oneof_case_[1]; |
4781 | | |
4782 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4783 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsExplainPlanPBImpl(); |
4784 | | }; |
4785 | | // ------------------------------------------------------------------- |
4786 | | |
4787 | | class SelectPlanPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.SelectPlanPB) */ { |
4788 | | public: |
4789 | | SelectPlanPB(); |
4790 | | virtual ~SelectPlanPB(); |
4791 | | |
4792 | | SelectPlanPB(const SelectPlanPB& from); |
4793 | | |
4794 | 0 | inline SelectPlanPB& operator=(const SelectPlanPB& from) { |
4795 | 0 | CopyFrom(from); |
4796 | 0 | return *this; |
4797 | 0 | } |
4798 | | #if LANG_CXX11 |
4799 | | SelectPlanPB(SelectPlanPB&& from) noexcept |
4800 | 0 | : SelectPlanPB() { |
4801 | 0 | *this = ::std::move(from); |
4802 | 0 | } |
4803 | | |
4804 | 0 | inline SelectPlanPB& operator=(SelectPlanPB&& from) noexcept { |
4805 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4806 | 0 | if (this != &from) InternalSwap(&from); |
4807 | 0 | } else { |
4808 | 0 | CopyFrom(from); |
4809 | 0 | } |
4810 | 0 | return *this; |
4811 | 0 | } |
4812 | | #endif |
4813 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4814 | 0 | return _internal_metadata_.unknown_fields(); |
4815 | 0 | } |
4816 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4817 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
4818 | 0 | } |
4819 | | |
4820 | | static const ::google::protobuf::Descriptor* descriptor(); |
4821 | | static const SelectPlanPB& default_instance(); |
4822 | | |
4823 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4824 | 34.4k | static inline const SelectPlanPB* internal_default_instance() { |
4825 | 34.4k | return reinterpret_cast<const SelectPlanPB*>( |
4826 | 34.4k | &_SelectPlanPB_default_instance_); |
4827 | 34.4k | } |
4828 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
4829 | | 30; |
4830 | | |
4831 | | void Swap(SelectPlanPB* other); |
4832 | 0 | friend void swap(SelectPlanPB& a, SelectPlanPB& b) { |
4833 | 0 | a.Swap(&b); |
4834 | 0 | } |
4835 | | |
4836 | | // implements Message ---------------------------------------------- |
4837 | | |
4838 | 0 | inline SelectPlanPB* New() const PROTOBUF_FINAL { return New(NULL); } |
4839 | | |
4840 | | SelectPlanPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
4841 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4842 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
4843 | | void CopyFrom(const SelectPlanPB& from); |
4844 | | void MergeFrom(const SelectPlanPB& from); |
4845 | | void Clear() PROTOBUF_FINAL; |
4846 | | bool IsInitialized() const PROTOBUF_FINAL; |
4847 | | |
4848 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
4849 | | bool MergePartialFromCodedStream( |
4850 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
4851 | | void SerializeWithCachedSizes( |
4852 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
4853 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4854 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
4855 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
4856 | | private: |
4857 | | void SharedCtor(); |
4858 | | void SharedDtor(); |
4859 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
4860 | | void InternalSwap(SelectPlanPB* other); |
4861 | | private: |
4862 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4863 | 0 | return NULL; |
4864 | 0 | } |
4865 | 0 | inline void* MaybeArenaPtr() const { |
4866 | 0 | return NULL; |
4867 | 0 | } |
4868 | | public: |
4869 | | |
4870 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
4871 | | |
4872 | | // nested types ---------------------------------------------------- |
4873 | | |
4874 | | // accessors ------------------------------------------------------- |
4875 | | |
4876 | | // optional string select_type = 1; |
4877 | | bool has_select_type() const; |
4878 | | void clear_select_type(); |
4879 | | static const int kSelectTypeFieldNumber = 1; |
4880 | | const ::std::string& select_type() const; |
4881 | | void set_select_type(const ::std::string& value); |
4882 | | #if LANG_CXX11 |
4883 | | void set_select_type(::std::string&& value); |
4884 | | #endif |
4885 | | void set_select_type(const char* value); |
4886 | | void set_select_type(const char* value, size_t size); |
4887 | | ::std::string* mutable_select_type(); |
4888 | | ::std::string* release_select_type(); |
4889 | | void set_allocated_select_type(::std::string* select_type); |
4890 | | |
4891 | | // optional string aggregate = 2; |
4892 | | bool has_aggregate() const; |
4893 | | void clear_aggregate(); |
4894 | | static const int kAggregateFieldNumber = 2; |
4895 | | const ::std::string& aggregate() const; |
4896 | | void set_aggregate(const ::std::string& value); |
4897 | | #if LANG_CXX11 |
4898 | | void set_aggregate(::std::string&& value); |
4899 | | #endif |
4900 | | void set_aggregate(const char* value); |
4901 | | void set_aggregate(const char* value, size_t size); |
4902 | | ::std::string* mutable_aggregate(); |
4903 | | ::std::string* release_aggregate(); |
4904 | | void set_allocated_aggregate(::std::string* aggregate); |
4905 | | |
4906 | | // optional string key_conditions = 3; |
4907 | | bool has_key_conditions() const; |
4908 | | void clear_key_conditions(); |
4909 | | static const int kKeyConditionsFieldNumber = 3; |
4910 | | const ::std::string& key_conditions() const; |
4911 | | void set_key_conditions(const ::std::string& value); |
4912 | | #if LANG_CXX11 |
4913 | | void set_key_conditions(::std::string&& value); |
4914 | | #endif |
4915 | | void set_key_conditions(const char* value); |
4916 | | void set_key_conditions(const char* value, size_t size); |
4917 | | ::std::string* mutable_key_conditions(); |
4918 | | ::std::string* release_key_conditions(); |
4919 | | void set_allocated_key_conditions(::std::string* key_conditions); |
4920 | | |
4921 | | // optional string filter = 4; |
4922 | | bool has_filter() const; |
4923 | | void clear_filter(); |
4924 | | static const int kFilterFieldNumber = 4; |
4925 | | const ::std::string& filter() const; |
4926 | | void set_filter(const ::std::string& value); |
4927 | | #if LANG_CXX11 |
4928 | | void set_filter(::std::string&& value); |
4929 | | #endif |
4930 | | void set_filter(const char* value); |
4931 | | void set_filter(const char* value, size_t size); |
4932 | | ::std::string* mutable_filter(); |
4933 | | ::std::string* release_filter(); |
4934 | | void set_allocated_filter(::std::string* filter); |
4935 | | |
4936 | | // optional int32 output_width = 5; |
4937 | | bool has_output_width() const; |
4938 | | void clear_output_width(); |
4939 | | static const int kOutputWidthFieldNumber = 5; |
4940 | | ::google::protobuf::int32 output_width() const; |
4941 | | void set_output_width(::google::protobuf::int32 value); |
4942 | | |
4943 | | // @@protoc_insertion_point(class_scope:yb.SelectPlanPB) |
4944 | | private: |
4945 | | void set_has_select_type(); |
4946 | | void clear_has_select_type(); |
4947 | | void set_has_aggregate(); |
4948 | | void clear_has_aggregate(); |
4949 | | void set_has_key_conditions(); |
4950 | | void clear_has_key_conditions(); |
4951 | | void set_has_filter(); |
4952 | | void clear_has_filter(); |
4953 | | void set_has_output_width(); |
4954 | | void clear_has_output_width(); |
4955 | | |
4956 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4957 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4958 | | mutable int _cached_size_; |
4959 | | ::google::protobuf::internal::ArenaStringPtr select_type_; |
4960 | | ::google::protobuf::internal::ArenaStringPtr aggregate_; |
4961 | | ::google::protobuf::internal::ArenaStringPtr key_conditions_; |
4962 | | ::google::protobuf::internal::ArenaStringPtr filter_; |
4963 | | ::google::protobuf::int32 output_width_; |
4964 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
4965 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsSelectPlanPBImpl(); |
4966 | | }; |
4967 | | // ------------------------------------------------------------------- |
4968 | | |
4969 | | class InsertPlanPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.InsertPlanPB) */ { |
4970 | | public: |
4971 | | InsertPlanPB(); |
4972 | | virtual ~InsertPlanPB(); |
4973 | | |
4974 | | InsertPlanPB(const InsertPlanPB& from); |
4975 | | |
4976 | 0 | inline InsertPlanPB& operator=(const InsertPlanPB& from) { |
4977 | 0 | CopyFrom(from); |
4978 | 0 | return *this; |
4979 | 0 | } |
4980 | | #if LANG_CXX11 |
4981 | | InsertPlanPB(InsertPlanPB&& from) noexcept |
4982 | 0 | : InsertPlanPB() { |
4983 | 0 | *this = ::std::move(from); |
4984 | 0 | } |
4985 | | |
4986 | 0 | inline InsertPlanPB& operator=(InsertPlanPB&& from) noexcept { |
4987 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4988 | 0 | if (this != &from) InternalSwap(&from); |
4989 | 0 | } else { |
4990 | 0 | CopyFrom(from); |
4991 | 0 | } |
4992 | 0 | return *this; |
4993 | 0 | } |
4994 | | #endif |
4995 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4996 | 0 | return _internal_metadata_.unknown_fields(); |
4997 | 0 | } |
4998 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4999 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5000 | 0 | } |
5001 | | |
5002 | | static const ::google::protobuf::Descriptor* descriptor(); |
5003 | | static const InsertPlanPB& default_instance(); |
5004 | | |
5005 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5006 | 34.2k | static inline const InsertPlanPB* internal_default_instance() { |
5007 | 34.2k | return reinterpret_cast<const InsertPlanPB*>( |
5008 | 34.2k | &_InsertPlanPB_default_instance_); |
5009 | 34.2k | } |
5010 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5011 | | 31; |
5012 | | |
5013 | | void Swap(InsertPlanPB* other); |
5014 | 0 | friend void swap(InsertPlanPB& a, InsertPlanPB& b) { |
5015 | 0 | a.Swap(&b); |
5016 | 0 | } |
5017 | | |
5018 | | // implements Message ---------------------------------------------- |
5019 | | |
5020 | 0 | inline InsertPlanPB* New() const PROTOBUF_FINAL { return New(NULL); } |
5021 | | |
5022 | | InsertPlanPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5023 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5024 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5025 | | void CopyFrom(const InsertPlanPB& from); |
5026 | | void MergeFrom(const InsertPlanPB& from); |
5027 | | void Clear() PROTOBUF_FINAL; |
5028 | | bool IsInitialized() const PROTOBUF_FINAL; |
5029 | | |
5030 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5031 | | bool MergePartialFromCodedStream( |
5032 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5033 | | void SerializeWithCachedSizes( |
5034 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5035 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5036 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5037 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5038 | | private: |
5039 | | void SharedCtor(); |
5040 | | void SharedDtor(); |
5041 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5042 | | void InternalSwap(InsertPlanPB* other); |
5043 | | private: |
5044 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5045 | 0 | return NULL; |
5046 | 0 | } |
5047 | 0 | inline void* MaybeArenaPtr() const { |
5048 | 0 | return NULL; |
5049 | 0 | } |
5050 | | public: |
5051 | | |
5052 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5053 | | |
5054 | | // nested types ---------------------------------------------------- |
5055 | | |
5056 | | // accessors ------------------------------------------------------- |
5057 | | |
5058 | | // optional string insert_type = 1; |
5059 | | bool has_insert_type() const; |
5060 | | void clear_insert_type(); |
5061 | | static const int kInsertTypeFieldNumber = 1; |
5062 | | const ::std::string& insert_type() const; |
5063 | | void set_insert_type(const ::std::string& value); |
5064 | | #if LANG_CXX11 |
5065 | | void set_insert_type(::std::string&& value); |
5066 | | #endif |
5067 | | void set_insert_type(const char* value); |
5068 | | void set_insert_type(const char* value, size_t size); |
5069 | | ::std::string* mutable_insert_type(); |
5070 | | ::std::string* release_insert_type(); |
5071 | | void set_allocated_insert_type(::std::string* insert_type); |
5072 | | |
5073 | | // optional int32 output_width = 2; |
5074 | | bool has_output_width() const; |
5075 | | void clear_output_width(); |
5076 | | static const int kOutputWidthFieldNumber = 2; |
5077 | | ::google::protobuf::int32 output_width() const; |
5078 | | void set_output_width(::google::protobuf::int32 value); |
5079 | | |
5080 | | // @@protoc_insertion_point(class_scope:yb.InsertPlanPB) |
5081 | | private: |
5082 | | void set_has_insert_type(); |
5083 | | void clear_has_insert_type(); |
5084 | | void set_has_output_width(); |
5085 | | void clear_has_output_width(); |
5086 | | |
5087 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5088 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5089 | | mutable int _cached_size_; |
5090 | | ::google::protobuf::internal::ArenaStringPtr insert_type_; |
5091 | | ::google::protobuf::int32 output_width_; |
5092 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
5093 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsInsertPlanPBImpl(); |
5094 | | }; |
5095 | | // ------------------------------------------------------------------- |
5096 | | |
5097 | | class UpdatePlanPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.UpdatePlanPB) */ { |
5098 | | public: |
5099 | | UpdatePlanPB(); |
5100 | | virtual ~UpdatePlanPB(); |
5101 | | |
5102 | | UpdatePlanPB(const UpdatePlanPB& from); |
5103 | | |
5104 | 0 | inline UpdatePlanPB& operator=(const UpdatePlanPB& from) { |
5105 | 0 | CopyFrom(from); |
5106 | 0 | return *this; |
5107 | 0 | } |
5108 | | #if LANG_CXX11 |
5109 | | UpdatePlanPB(UpdatePlanPB&& from) noexcept |
5110 | 0 | : UpdatePlanPB() { |
5111 | 0 | *this = ::std::move(from); |
5112 | 0 | } |
5113 | | |
5114 | 0 | inline UpdatePlanPB& operator=(UpdatePlanPB&& from) noexcept { |
5115 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5116 | 0 | if (this != &from) InternalSwap(&from); |
5117 | 0 | } else { |
5118 | 0 | CopyFrom(from); |
5119 | 0 | } |
5120 | 0 | return *this; |
5121 | 0 | } |
5122 | | #endif |
5123 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5124 | 0 | return _internal_metadata_.unknown_fields(); |
5125 | 0 | } |
5126 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5127 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5128 | 0 | } |
5129 | | |
5130 | | static const ::google::protobuf::Descriptor* descriptor(); |
5131 | | static const UpdatePlanPB& default_instance(); |
5132 | | |
5133 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5134 | 34.2k | static inline const UpdatePlanPB* internal_default_instance() { |
5135 | 34.2k | return reinterpret_cast<const UpdatePlanPB*>( |
5136 | 34.2k | &_UpdatePlanPB_default_instance_); |
5137 | 34.2k | } |
5138 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5139 | | 32; |
5140 | | |
5141 | | void Swap(UpdatePlanPB* other); |
5142 | 0 | friend void swap(UpdatePlanPB& a, UpdatePlanPB& b) { |
5143 | 0 | a.Swap(&b); |
5144 | 0 | } |
5145 | | |
5146 | | // implements Message ---------------------------------------------- |
5147 | | |
5148 | 0 | inline UpdatePlanPB* New() const PROTOBUF_FINAL { return New(NULL); } |
5149 | | |
5150 | | UpdatePlanPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5151 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5152 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5153 | | void CopyFrom(const UpdatePlanPB& from); |
5154 | | void MergeFrom(const UpdatePlanPB& from); |
5155 | | void Clear() PROTOBUF_FINAL; |
5156 | | bool IsInitialized() const PROTOBUF_FINAL; |
5157 | | |
5158 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5159 | | bool MergePartialFromCodedStream( |
5160 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5161 | | void SerializeWithCachedSizes( |
5162 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5163 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5164 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5165 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5166 | | private: |
5167 | | void SharedCtor(); |
5168 | | void SharedDtor(); |
5169 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5170 | | void InternalSwap(UpdatePlanPB* other); |
5171 | | private: |
5172 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5173 | 0 | return NULL; |
5174 | 0 | } |
5175 | 0 | inline void* MaybeArenaPtr() const { |
5176 | 0 | return NULL; |
5177 | 0 | } |
5178 | | public: |
5179 | | |
5180 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5181 | | |
5182 | | // nested types ---------------------------------------------------- |
5183 | | |
5184 | | // accessors ------------------------------------------------------- |
5185 | | |
5186 | | // optional string update_type = 1; |
5187 | | bool has_update_type() const; |
5188 | | void clear_update_type(); |
5189 | | static const int kUpdateTypeFieldNumber = 1; |
5190 | | const ::std::string& update_type() const; |
5191 | | void set_update_type(const ::std::string& value); |
5192 | | #if LANG_CXX11 |
5193 | | void set_update_type(::std::string&& value); |
5194 | | #endif |
5195 | | void set_update_type(const char* value); |
5196 | | void set_update_type(const char* value, size_t size); |
5197 | | ::std::string* mutable_update_type(); |
5198 | | ::std::string* release_update_type(); |
5199 | | void set_allocated_update_type(::std::string* update_type); |
5200 | | |
5201 | | // optional string scan_type = 2; |
5202 | | bool has_scan_type() const; |
5203 | | void clear_scan_type(); |
5204 | | static const int kScanTypeFieldNumber = 2; |
5205 | | const ::std::string& scan_type() const; |
5206 | | void set_scan_type(const ::std::string& value); |
5207 | | #if LANG_CXX11 |
5208 | | void set_scan_type(::std::string&& value); |
5209 | | #endif |
5210 | | void set_scan_type(const char* value); |
5211 | | void set_scan_type(const char* value, size_t size); |
5212 | | ::std::string* mutable_scan_type(); |
5213 | | ::std::string* release_scan_type(); |
5214 | | void set_allocated_scan_type(::std::string* scan_type); |
5215 | | |
5216 | | // optional string key_conditions = 3; |
5217 | | bool has_key_conditions() const; |
5218 | | void clear_key_conditions(); |
5219 | | static const int kKeyConditionsFieldNumber = 3; |
5220 | | const ::std::string& key_conditions() const; |
5221 | | void set_key_conditions(const ::std::string& value); |
5222 | | #if LANG_CXX11 |
5223 | | void set_key_conditions(::std::string&& value); |
5224 | | #endif |
5225 | | void set_key_conditions(const char* value); |
5226 | | void set_key_conditions(const char* value, size_t size); |
5227 | | ::std::string* mutable_key_conditions(); |
5228 | | ::std::string* release_key_conditions(); |
5229 | | void set_allocated_key_conditions(::std::string* key_conditions); |
5230 | | |
5231 | | // optional int32 output_width = 4; |
5232 | | bool has_output_width() const; |
5233 | | void clear_output_width(); |
5234 | | static const int kOutputWidthFieldNumber = 4; |
5235 | | ::google::protobuf::int32 output_width() const; |
5236 | | void set_output_width(::google::protobuf::int32 value); |
5237 | | |
5238 | | // @@protoc_insertion_point(class_scope:yb.UpdatePlanPB) |
5239 | | private: |
5240 | | void set_has_update_type(); |
5241 | | void clear_has_update_type(); |
5242 | | void set_has_scan_type(); |
5243 | | void clear_has_scan_type(); |
5244 | | void set_has_key_conditions(); |
5245 | | void clear_has_key_conditions(); |
5246 | | void set_has_output_width(); |
5247 | | void clear_has_output_width(); |
5248 | | |
5249 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5250 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5251 | | mutable int _cached_size_; |
5252 | | ::google::protobuf::internal::ArenaStringPtr update_type_; |
5253 | | ::google::protobuf::internal::ArenaStringPtr scan_type_; |
5254 | | ::google::protobuf::internal::ArenaStringPtr key_conditions_; |
5255 | | ::google::protobuf::int32 output_width_; |
5256 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
5257 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsUpdatePlanPBImpl(); |
5258 | | }; |
5259 | | // ------------------------------------------------------------------- |
5260 | | |
5261 | | class DeletePlanPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.DeletePlanPB) */ { |
5262 | | public: |
5263 | | DeletePlanPB(); |
5264 | | virtual ~DeletePlanPB(); |
5265 | | |
5266 | | DeletePlanPB(const DeletePlanPB& from); |
5267 | | |
5268 | 0 | inline DeletePlanPB& operator=(const DeletePlanPB& from) { |
5269 | 0 | CopyFrom(from); |
5270 | 0 | return *this; |
5271 | 0 | } |
5272 | | #if LANG_CXX11 |
5273 | | DeletePlanPB(DeletePlanPB&& from) noexcept |
5274 | 0 | : DeletePlanPB() { |
5275 | 0 | *this = ::std::move(from); |
5276 | 0 | } |
5277 | | |
5278 | 0 | inline DeletePlanPB& operator=(DeletePlanPB&& from) noexcept { |
5279 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5280 | 0 | if (this != &from) InternalSwap(&from); |
5281 | 0 | } else { |
5282 | 0 | CopyFrom(from); |
5283 | 0 | } |
5284 | 0 | return *this; |
5285 | 0 | } |
5286 | | #endif |
5287 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5288 | 0 | return _internal_metadata_.unknown_fields(); |
5289 | 0 | } |
5290 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5291 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
5292 | 0 | } |
5293 | | |
5294 | | static const ::google::protobuf::Descriptor* descriptor(); |
5295 | | static const DeletePlanPB& default_instance(); |
5296 | | |
5297 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5298 | 34.2k | static inline const DeletePlanPB* internal_default_instance() { |
5299 | 34.2k | return reinterpret_cast<const DeletePlanPB*>( |
5300 | 34.2k | &_DeletePlanPB_default_instance_); |
5301 | 34.2k | } |
5302 | | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = |
5303 | | 33; |
5304 | | |
5305 | | void Swap(DeletePlanPB* other); |
5306 | 0 | friend void swap(DeletePlanPB& a, DeletePlanPB& b) { |
5307 | 0 | a.Swap(&b); |
5308 | 0 | } |
5309 | | |
5310 | | // implements Message ---------------------------------------------- |
5311 | | |
5312 | 0 | inline DeletePlanPB* New() const PROTOBUF_FINAL { return New(NULL); } |
5313 | | |
5314 | | DeletePlanPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; |
5315 | | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5316 | | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; |
5317 | | void CopyFrom(const DeletePlanPB& from); |
5318 | | void MergeFrom(const DeletePlanPB& from); |
5319 | | void Clear() PROTOBUF_FINAL; |
5320 | | bool IsInitialized() const PROTOBUF_FINAL; |
5321 | | |
5322 | | size_t ByteSizeLong() const PROTOBUF_FINAL; |
5323 | | bool MergePartialFromCodedStream( |
5324 | | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; |
5325 | | void SerializeWithCachedSizes( |
5326 | | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; |
5327 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5328 | | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; |
5329 | 0 | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } |
5330 | | private: |
5331 | | void SharedCtor(); |
5332 | | void SharedDtor(); |
5333 | | void SetCachedSize(int size) const PROTOBUF_FINAL; |
5334 | | void InternalSwap(DeletePlanPB* other); |
5335 | | private: |
5336 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5337 | 0 | return NULL; |
5338 | 0 | } |
5339 | 0 | inline void* MaybeArenaPtr() const { |
5340 | 0 | return NULL; |
5341 | 0 | } |
5342 | | public: |
5343 | | |
5344 | | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; |
5345 | | |
5346 | | // nested types ---------------------------------------------------- |
5347 | | |
5348 | | // accessors ------------------------------------------------------- |
5349 | | |
5350 | | // optional string delete_type = 1; |
5351 | | bool has_delete_type() const; |
5352 | | void clear_delete_type(); |
5353 | | static const int kDeleteTypeFieldNumber = 1; |
5354 | | const ::std::string& delete_type() const; |
5355 | | void set_delete_type(const ::std::string& value); |
5356 | | #if LANG_CXX11 |
5357 | | void set_delete_type(::std::string&& value); |
5358 | | #endif |
5359 | | void set_delete_type(const char* value); |
5360 | | void set_delete_type(const char* value, size_t size); |
5361 | | ::std::string* mutable_delete_type(); |
5362 | | ::std::string* release_delete_type(); |
5363 | | void set_allocated_delete_type(::std::string* delete_type); |
5364 | | |
5365 | | // optional string scan_type = 2; |
5366 | | bool has_scan_type() const; |
5367 | | void clear_scan_type(); |
5368 | | static const int kScanTypeFieldNumber = 2; |
5369 | | const ::std::string& scan_type() const; |
5370 | | void set_scan_type(const ::std::string& value); |
5371 | | #if LANG_CXX11 |
5372 | | void set_scan_type(::std::string&& value); |
5373 | | #endif |
5374 | | void set_scan_type(const char* value); |
5375 | | void set_scan_type(const char* value, size_t size); |
5376 | | ::std::string* mutable_scan_type(); |
5377 | | ::std::string* release_scan_type(); |
5378 | | void set_allocated_scan_type(::std::string* scan_type); |
5379 | | |
5380 | | // optional string key_conditions = 3; |
5381 | | bool has_key_conditions() const; |
5382 | | void clear_key_conditions(); |
5383 | | static const int kKeyConditionsFieldNumber = 3; |
5384 | | const ::std::string& key_conditions() const; |
5385 | | void set_key_conditions(const ::std::string& value); |
5386 | | #if LANG_CXX11 |
5387 | | void set_key_conditions(::std::string&& value); |
5388 | | #endif |
5389 | | void set_key_conditions(const char* value); |
5390 | | void set_key_conditions(const char* value, size_t size); |
5391 | | ::std::string* mutable_key_conditions(); |
5392 | | ::std::string* release_key_conditions(); |
5393 | | void set_allocated_key_conditions(::std::string* key_conditions); |
5394 | | |
5395 | | // optional string filter = 4; |
5396 | | bool has_filter() const; |
5397 | | void clear_filter(); |
5398 | | static const int kFilterFieldNumber = 4; |
5399 | | const ::std::string& filter() const; |
5400 | | void set_filter(const ::std::string& value); |
5401 | | #if LANG_CXX11 |
5402 | | void set_filter(::std::string&& value); |
5403 | | #endif |
5404 | | void set_filter(const char* value); |
5405 | | void set_filter(const char* value, size_t size); |
5406 | | ::std::string* mutable_filter(); |
5407 | | ::std::string* release_filter(); |
5408 | | void set_allocated_filter(::std::string* filter); |
5409 | | |
5410 | | // optional int32 output_width = 5; |
5411 | | bool has_output_width() const; |
5412 | | void clear_output_width(); |
5413 | | static const int kOutputWidthFieldNumber = 5; |
5414 | | ::google::protobuf::int32 output_width() const; |
5415 | | void set_output_width(::google::protobuf::int32 value); |
5416 | | |
5417 | | // @@protoc_insertion_point(class_scope:yb.DeletePlanPB) |
5418 | | private: |
5419 | | void set_has_delete_type(); |
5420 | | void clear_has_delete_type(); |
5421 | | void set_has_scan_type(); |
5422 | | void clear_has_scan_type(); |
5423 | | void set_has_key_conditions(); |
5424 | | void clear_has_key_conditions(); |
5425 | | void set_has_filter(); |
5426 | | void clear_has_filter(); |
5427 | | void set_has_output_width(); |
5428 | | void clear_has_output_width(); |
5429 | | |
5430 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5431 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5432 | | mutable int _cached_size_; |
5433 | | ::google::protobuf::internal::ArenaStringPtr delete_type_; |
5434 | | ::google::protobuf::internal::ArenaStringPtr scan_type_; |
5435 | | ::google::protobuf::internal::ArenaStringPtr key_conditions_; |
5436 | | ::google::protobuf::internal::ArenaStringPtr filter_; |
5437 | | ::google::protobuf::int32 output_width_; |
5438 | | friend struct ::protobuf_yb_2fcommon_2fcommon_2eproto::TableStruct; |
5439 | | friend void ::protobuf_yb_2fcommon_2fcommon_2eproto::InitDefaultsDeletePlanPBImpl(); |
5440 | | }; |
5441 | | // =================================================================== |
5442 | | |
5443 | | |
5444 | | // =================================================================== |
5445 | | |
5446 | | #ifdef __GNUC__ |
5447 | | #pragma GCC diagnostic push |
5448 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
5449 | | #endif // __GNUC__ |
5450 | | // QLTypePB_UDTypeInfo |
5451 | | |
5452 | | // optional string keyspace_name = 1; |
5453 | 20.3k | inline bool QLTypePB_UDTypeInfo::has_keyspace_name() const { |
5454 | 20.3k | return (_has_bits_[0] & 0x00000001u) != 0; |
5455 | 20.3k | } |
5456 | 30.2k | inline void QLTypePB_UDTypeInfo::set_has_keyspace_name() { |
5457 | 30.2k | _has_bits_[0] |= 0x00000001u; |
5458 | 30.2k | } |
5459 | 0 | inline void QLTypePB_UDTypeInfo::clear_has_keyspace_name() { |
5460 | 0 | _has_bits_[0] &= ~0x00000001u; |
5461 | 0 | } |
5462 | 0 | inline void QLTypePB_UDTypeInfo::clear_keyspace_name() { |
5463 | 0 | keyspace_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5464 | 0 | clear_has_keyspace_name(); |
5465 | 0 | } |
5466 | 74.9k | inline const ::std::string& QLTypePB_UDTypeInfo::keyspace_name() const { |
5467 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5468 | 74.9k | return keyspace_name_.GetNoArena(); |
5469 | 74.9k | } |
5470 | 10.6k | inline void QLTypePB_UDTypeInfo::set_keyspace_name(const ::std::string& value) { |
5471 | 10.6k | set_has_keyspace_name(); |
5472 | 10.6k | keyspace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5473 | | // @@protoc_insertion_point(field_set:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5474 | 10.6k | } |
5475 | | #if LANG_CXX11 |
5476 | 0 | inline void QLTypePB_UDTypeInfo::set_keyspace_name(::std::string&& value) { |
5477 | 0 | set_has_keyspace_name(); |
5478 | 0 | keyspace_name_.SetNoArena( |
5479 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5480 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5481 | 0 | } |
5482 | | #endif |
5483 | 0 | inline void QLTypePB_UDTypeInfo::set_keyspace_name(const char* value) { |
5484 | 0 | GOOGLE_DCHECK(value != NULL); |
5485 | 0 | set_has_keyspace_name(); |
5486 | 0 | keyspace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5487 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5488 | 0 | } |
5489 | 0 | inline void QLTypePB_UDTypeInfo::set_keyspace_name(const char* value, size_t size) { |
5490 | 0 | set_has_keyspace_name(); |
5491 | 0 | keyspace_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5492 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5493 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5494 | 0 | } |
5495 | 3.17k | inline ::std::string* QLTypePB_UDTypeInfo::mutable_keyspace_name() { |
5496 | 3.17k | set_has_keyspace_name(); |
5497 | | // @@protoc_insertion_point(field_mutable:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5498 | 3.17k | return keyspace_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5499 | 3.17k | } |
5500 | 0 | inline ::std::string* QLTypePB_UDTypeInfo::release_keyspace_name() { |
5501 | 0 | // @@protoc_insertion_point(field_release:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5502 | 0 | clear_has_keyspace_name(); |
5503 | 0 | return keyspace_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5504 | 0 | } |
5505 | 0 | inline void QLTypePB_UDTypeInfo::set_allocated_keyspace_name(::std::string* keyspace_name) { |
5506 | 0 | if (keyspace_name != NULL) { |
5507 | 0 | set_has_keyspace_name(); |
5508 | 0 | } else { |
5509 | 0 | clear_has_keyspace_name(); |
5510 | 0 | } |
5511 | 0 | keyspace_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), keyspace_name); |
5512 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLTypePB.UDTypeInfo.keyspace_name) |
5513 | 0 | } |
5514 | | |
5515 | | // optional string name = 2; |
5516 | 20.2k | inline bool QLTypePB_UDTypeInfo::has_name() const { |
5517 | 20.2k | return (_has_bits_[0] & 0x00000002u) != 0; |
5518 | 20.2k | } |
5519 | 30.2k | inline void QLTypePB_UDTypeInfo::set_has_name() { |
5520 | 30.2k | _has_bits_[0] |= 0x00000002u; |
5521 | 30.2k | } |
5522 | 0 | inline void QLTypePB_UDTypeInfo::clear_has_name() { |
5523 | 0 | _has_bits_[0] &= ~0x00000002u; |
5524 | 0 | } |
5525 | 0 | inline void QLTypePB_UDTypeInfo::clear_name() { |
5526 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5527 | 0 | clear_has_name(); |
5528 | 0 | } |
5529 | 74.9k | inline const ::std::string& QLTypePB_UDTypeInfo::name() const { |
5530 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.UDTypeInfo.name) |
5531 | 74.9k | return name_.GetNoArena(); |
5532 | 74.9k | } |
5533 | 10.6k | inline void QLTypePB_UDTypeInfo::set_name(const ::std::string& value) { |
5534 | 10.6k | set_has_name(); |
5535 | 10.6k | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5536 | | // @@protoc_insertion_point(field_set:yb.QLTypePB.UDTypeInfo.name) |
5537 | 10.6k | } |
5538 | | #if LANG_CXX11 |
5539 | 0 | inline void QLTypePB_UDTypeInfo::set_name(::std::string&& value) { |
5540 | 0 | set_has_name(); |
5541 | 0 | name_.SetNoArena( |
5542 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5543 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLTypePB.UDTypeInfo.name) |
5544 | 0 | } |
5545 | | #endif |
5546 | 0 | inline void QLTypePB_UDTypeInfo::set_name(const char* value) { |
5547 | 0 | GOOGLE_DCHECK(value != NULL); |
5548 | 0 | set_has_name(); |
5549 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5550 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLTypePB.UDTypeInfo.name) |
5551 | 0 | } |
5552 | 0 | inline void QLTypePB_UDTypeInfo::set_name(const char* value, size_t size) { |
5553 | 0 | set_has_name(); |
5554 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5555 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5556 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLTypePB.UDTypeInfo.name) |
5557 | 0 | } |
5558 | 3.17k | inline ::std::string* QLTypePB_UDTypeInfo::mutable_name() { |
5559 | 3.17k | set_has_name(); |
5560 | | // @@protoc_insertion_point(field_mutable:yb.QLTypePB.UDTypeInfo.name) |
5561 | 3.17k | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5562 | 3.17k | } |
5563 | 0 | inline ::std::string* QLTypePB_UDTypeInfo::release_name() { |
5564 | 0 | // @@protoc_insertion_point(field_release:yb.QLTypePB.UDTypeInfo.name) |
5565 | 0 | clear_has_name(); |
5566 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5567 | 0 | } |
5568 | 0 | inline void QLTypePB_UDTypeInfo::set_allocated_name(::std::string* name) { |
5569 | 0 | if (name != NULL) { |
5570 | 0 | set_has_name(); |
5571 | 0 | } else { |
5572 | 0 | clear_has_name(); |
5573 | 0 | } |
5574 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
5575 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLTypePB.UDTypeInfo.name) |
5576 | 0 | } |
5577 | | |
5578 | | // optional string id = 3; |
5579 | 20.2k | inline bool QLTypePB_UDTypeInfo::has_id() const { |
5580 | 20.2k | return (_has_bits_[0] & 0x00000004u) != 0; |
5581 | 20.2k | } |
5582 | 30.2k | inline void QLTypePB_UDTypeInfo::set_has_id() { |
5583 | 30.2k | _has_bits_[0] |= 0x00000004u; |
5584 | 30.2k | } |
5585 | 0 | inline void QLTypePB_UDTypeInfo::clear_has_id() { |
5586 | 0 | _has_bits_[0] &= ~0x00000004u; |
5587 | 0 | } |
5588 | 0 | inline void QLTypePB_UDTypeInfo::clear_id() { |
5589 | 0 | id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5590 | 0 | clear_has_id(); |
5591 | 0 | } |
5592 | 75.0k | inline const ::std::string& QLTypePB_UDTypeInfo::id() const { |
5593 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.UDTypeInfo.id) |
5594 | 75.0k | return id_.GetNoArena(); |
5595 | 75.0k | } |
5596 | 10.6k | inline void QLTypePB_UDTypeInfo::set_id(const ::std::string& value) { |
5597 | 10.6k | set_has_id(); |
5598 | 10.6k | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5599 | | // @@protoc_insertion_point(field_set:yb.QLTypePB.UDTypeInfo.id) |
5600 | 10.6k | } |
5601 | | #if LANG_CXX11 |
5602 | 0 | inline void QLTypePB_UDTypeInfo::set_id(::std::string&& value) { |
5603 | 0 | set_has_id(); |
5604 | 0 | id_.SetNoArena( |
5605 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5606 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.QLTypePB.UDTypeInfo.id) |
5607 | 0 | } |
5608 | | #endif |
5609 | 0 | inline void QLTypePB_UDTypeInfo::set_id(const char* value) { |
5610 | 0 | GOOGLE_DCHECK(value != NULL); |
5611 | 0 | set_has_id(); |
5612 | 0 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5613 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLTypePB.UDTypeInfo.id) |
5614 | 0 | } |
5615 | 0 | inline void QLTypePB_UDTypeInfo::set_id(const char* value, size_t size) { |
5616 | 0 | set_has_id(); |
5617 | 0 | id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5618 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5619 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLTypePB.UDTypeInfo.id) |
5620 | 0 | } |
5621 | 3.17k | inline ::std::string* QLTypePB_UDTypeInfo::mutable_id() { |
5622 | 3.17k | set_has_id(); |
5623 | | // @@protoc_insertion_point(field_mutable:yb.QLTypePB.UDTypeInfo.id) |
5624 | 3.17k | return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5625 | 3.17k | } |
5626 | 0 | inline ::std::string* QLTypePB_UDTypeInfo::release_id() { |
5627 | 0 | // @@protoc_insertion_point(field_release:yb.QLTypePB.UDTypeInfo.id) |
5628 | 0 | clear_has_id(); |
5629 | 0 | return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5630 | 0 | } |
5631 | 0 | inline void QLTypePB_UDTypeInfo::set_allocated_id(::std::string* id) { |
5632 | 0 | if (id != NULL) { |
5633 | 0 | set_has_id(); |
5634 | 0 | } else { |
5635 | 0 | clear_has_id(); |
5636 | 0 | } |
5637 | 0 | id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); |
5638 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLTypePB.UDTypeInfo.id) |
5639 | 0 | } |
5640 | | |
5641 | | // repeated string field_names = 4; |
5642 | 67.3k | inline int QLTypePB_UDTypeInfo::field_names_size() const { |
5643 | 67.3k | return field_names_.size(); |
5644 | 67.3k | } |
5645 | 0 | inline void QLTypePB_UDTypeInfo::clear_field_names() { |
5646 | 0 | field_names_.Clear(); |
5647 | 0 | } |
5648 | 134k | inline const ::std::string& QLTypePB_UDTypeInfo::field_names(int index) const { |
5649 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.UDTypeInfo.field_names) |
5650 | 134k | return field_names_.Get(index); |
5651 | 134k | } |
5652 | 0 | inline ::std::string* QLTypePB_UDTypeInfo::mutable_field_names(int index) { |
5653 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLTypePB.UDTypeInfo.field_names) |
5654 | 0 | return field_names_.Mutable(index); |
5655 | 0 | } |
5656 | 0 | inline void QLTypePB_UDTypeInfo::set_field_names(int index, const ::std::string& value) { |
5657 | 0 | // @@protoc_insertion_point(field_set:yb.QLTypePB.UDTypeInfo.field_names) |
5658 | 0 | field_names_.Mutable(index)->assign(value); |
5659 | 0 | } |
5660 | | #if LANG_CXX11 |
5661 | 0 | inline void QLTypePB_UDTypeInfo::set_field_names(int index, ::std::string&& value) { |
5662 | 0 | // @@protoc_insertion_point(field_set:yb.QLTypePB.UDTypeInfo.field_names) |
5663 | 0 | field_names_.Mutable(index)->assign(std::move(value)); |
5664 | 0 | } |
5665 | | #endif |
5666 | 0 | inline void QLTypePB_UDTypeInfo::set_field_names(int index, const char* value) { |
5667 | 0 | GOOGLE_DCHECK(value != NULL); |
5668 | 0 | field_names_.Mutable(index)->assign(value); |
5669 | 0 | // @@protoc_insertion_point(field_set_char:yb.QLTypePB.UDTypeInfo.field_names) |
5670 | 0 | } |
5671 | 0 | inline void QLTypePB_UDTypeInfo::set_field_names(int index, const char* value, size_t size) { |
5672 | 0 | field_names_.Mutable(index)->assign( |
5673 | 0 | reinterpret_cast<const char*>(value), size); |
5674 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.QLTypePB.UDTypeInfo.field_names) |
5675 | 0 | } |
5676 | 6.19k | inline ::std::string* QLTypePB_UDTypeInfo::add_field_names() { |
5677 | | // @@protoc_insertion_point(field_add_mutable:yb.QLTypePB.UDTypeInfo.field_names) |
5678 | 6.19k | return field_names_.Add(); |
5679 | 6.19k | } |
5680 | 20.6k | inline void QLTypePB_UDTypeInfo::add_field_names(const ::std::string& value) { |
5681 | 20.6k | field_names_.Add()->assign(value); |
5682 | | // @@protoc_insertion_point(field_add:yb.QLTypePB.UDTypeInfo.field_names) |
5683 | 20.6k | } |
5684 | | #if LANG_CXX11 |
5685 | 0 | inline void QLTypePB_UDTypeInfo::add_field_names(::std::string&& value) { |
5686 | 0 | field_names_.Add(std::move(value)); |
5687 | 0 | // @@protoc_insertion_point(field_add:yb.QLTypePB.UDTypeInfo.field_names) |
5688 | 0 | } |
5689 | | #endif |
5690 | 0 | inline void QLTypePB_UDTypeInfo::add_field_names(const char* value) { |
5691 | 0 | GOOGLE_DCHECK(value != NULL); |
5692 | 0 | field_names_.Add()->assign(value); |
5693 | 0 | // @@protoc_insertion_point(field_add_char:yb.QLTypePB.UDTypeInfo.field_names) |
5694 | 0 | } |
5695 | 0 | inline void QLTypePB_UDTypeInfo::add_field_names(const char* value, size_t size) { |
5696 | 0 | field_names_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5697 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.QLTypePB.UDTypeInfo.field_names) |
5698 | 0 | } |
5699 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5700 | 5.39k | QLTypePB_UDTypeInfo::field_names() const { |
5701 | | // @@protoc_insertion_point(field_list:yb.QLTypePB.UDTypeInfo.field_names) |
5702 | 5.39k | return field_names_; |
5703 | 5.39k | } |
5704 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5705 | 0 | QLTypePB_UDTypeInfo::mutable_field_names() { |
5706 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLTypePB.UDTypeInfo.field_names) |
5707 | 0 | return &field_names_; |
5708 | 0 | } |
5709 | | |
5710 | | // ------------------------------------------------------------------- |
5711 | | |
5712 | | // QLTypePB |
5713 | | |
5714 | | // optional .yb.DataType main = 1; |
5715 | 984M | inline bool QLTypePB::has_main() const { |
5716 | 984M | return (_has_bits_[0] & 0x00000002u) != 0; |
5717 | 984M | } |
5718 | 984M | inline void QLTypePB::set_has_main() { |
5719 | 984M | _has_bits_[0] |= 0x00000002u; |
5720 | 984M | } |
5721 | 0 | inline void QLTypePB::clear_has_main() { |
5722 | 0 | _has_bits_[0] &= ~0x00000002u; |
5723 | 0 | } |
5724 | 0 | inline void QLTypePB::clear_main() { |
5725 | 0 | main_ = 999; |
5726 | 0 | clear_has_main(); |
5727 | 0 | } |
5728 | 2.03G | inline ::yb::DataType QLTypePB::main() const { |
5729 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.main) |
5730 | 2.03G | return static_cast< ::yb::DataType >(main_); |
5731 | 2.03G | } |
5732 | 984M | inline void QLTypePB::set_main(::yb::DataType value) { |
5733 | 984M | assert(::yb::DataType_IsValid(value)); |
5734 | 984M | set_has_main(); |
5735 | 984M | main_ = value; |
5736 | | // @@protoc_insertion_point(field_set:yb.QLTypePB.main) |
5737 | 984M | } |
5738 | | |
5739 | | // repeated .yb.QLTypePB params = 2; |
5740 | 1.95G | inline int QLTypePB::params_size() const { |
5741 | 1.95G | return params_.size(); |
5742 | 1.95G | } |
5743 | 0 | inline void QLTypePB::clear_params() { |
5744 | 0 | params_.Clear(); |
5745 | 0 | } |
5746 | 2.52M | inline const ::yb::QLTypePB& QLTypePB::params(int index) const { |
5747 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.params) |
5748 | 2.52M | return params_.Get(index); |
5749 | 2.52M | } |
5750 | 0 | inline ::yb::QLTypePB* QLTypePB::mutable_params(int index) { |
5751 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLTypePB.params) |
5752 | 0 | return params_.Mutable(index); |
5753 | 0 | } |
5754 | 1.46M | inline ::yb::QLTypePB* QLTypePB::add_params() { |
5755 | | // @@protoc_insertion_point(field_add:yb.QLTypePB.params) |
5756 | 1.46M | return params_.Add(); |
5757 | 1.46M | } |
5758 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >* |
5759 | 0 | QLTypePB::mutable_params() { |
5760 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLTypePB.params) |
5761 | 0 | return ¶ms_; |
5762 | 0 | } |
5763 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLTypePB >& |
5764 | 40.0M | QLTypePB::params() const { |
5765 | | // @@protoc_insertion_point(field_list:yb.QLTypePB.params) |
5766 | 40.0M | return params_; |
5767 | 40.0M | } |
5768 | | |
5769 | | // optional .yb.QLTypePB.UDTypeInfo udtype_info = 3; |
5770 | 984M | inline bool QLTypePB::has_udtype_info() const { |
5771 | 984M | return (_has_bits_[0] & 0x00000001u) != 0; |
5772 | 984M | } |
5773 | 30.2k | inline void QLTypePB::set_has_udtype_info() { |
5774 | 30.2k | _has_bits_[0] |= 0x00000001u; |
5775 | 30.2k | } |
5776 | 0 | inline void QLTypePB::clear_has_udtype_info() { |
5777 | 0 | _has_bits_[0] &= ~0x00000001u; |
5778 | 0 | } |
5779 | 0 | inline void QLTypePB::clear_udtype_info() { |
5780 | 0 | if (udtype_info_ != NULL) udtype_info_->Clear(); |
5781 | 0 | clear_has_udtype_info(); |
5782 | 0 | } |
5783 | 38.0k | inline const ::yb::QLTypePB_UDTypeInfo& QLTypePB::udtype_info() const { |
5784 | 38.0k | const ::yb::QLTypePB_UDTypeInfo* p = udtype_info_; |
5785 | | // @@protoc_insertion_point(field_get:yb.QLTypePB.udtype_info) |
5786 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLTypePB_UDTypeInfo*>( |
5787 | 18.4E | &::yb::_QLTypePB_UDTypeInfo_default_instance_); |
5788 | 38.0k | } |
5789 | 0 | inline ::yb::QLTypePB_UDTypeInfo* QLTypePB::release_udtype_info() { |
5790 | 0 | // @@protoc_insertion_point(field_release:yb.QLTypePB.udtype_info) |
5791 | 0 | clear_has_udtype_info(); |
5792 | 0 | ::yb::QLTypePB_UDTypeInfo* temp = udtype_info_; |
5793 | 0 | udtype_info_ = NULL; |
5794 | 0 | return temp; |
5795 | 0 | } |
5796 | 30.2k | inline ::yb::QLTypePB_UDTypeInfo* QLTypePB::mutable_udtype_info() { |
5797 | 30.2k | set_has_udtype_info(); |
5798 | 30.2k | if (udtype_info_ == NULL) { |
5799 | 30.0k | udtype_info_ = new ::yb::QLTypePB_UDTypeInfo; |
5800 | 30.0k | } |
5801 | | // @@protoc_insertion_point(field_mutable:yb.QLTypePB.udtype_info) |
5802 | 30.2k | return udtype_info_; |
5803 | 30.2k | } |
5804 | 0 | inline void QLTypePB::set_allocated_udtype_info(::yb::QLTypePB_UDTypeInfo* udtype_info) { |
5805 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5806 | 0 | if (message_arena == NULL) { |
5807 | 0 | delete udtype_info_; |
5808 | 0 | } |
5809 | 0 | if (udtype_info) { |
5810 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5811 | 0 | if (message_arena != submessage_arena) { |
5812 | 0 | udtype_info = ::google::protobuf::internal::GetOwnedMessage( |
5813 | 0 | message_arena, udtype_info, submessage_arena); |
5814 | 0 | } |
5815 | 0 | set_has_udtype_info(); |
5816 | 0 | } else { |
5817 | 0 | clear_has_udtype_info(); |
5818 | 0 | } |
5819 | 0 | udtype_info_ = udtype_info; |
5820 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLTypePB.udtype_info) |
5821 | 0 | } |
5822 | | |
5823 | | // ------------------------------------------------------------------- |
5824 | | |
5825 | | // ColumnSchemaPB |
5826 | | |
5827 | | // optional uint32 id = 1; |
5828 | 988M | inline bool ColumnSchemaPB::has_id() const { |
5829 | 988M | return (_has_bits_[0] & 0x00000004u) != 0; |
5830 | 988M | } |
5831 | 967M | inline void ColumnSchemaPB::set_has_id() { |
5832 | 967M | _has_bits_[0] |= 0x00000004u; |
5833 | 967M | } |
5834 | 0 | inline void ColumnSchemaPB::clear_has_id() { |
5835 | 0 | _has_bits_[0] &= ~0x00000004u; |
5836 | 0 | } |
5837 | 0 | inline void ColumnSchemaPB::clear_id() { |
5838 | 0 | id_ = 0u; |
5839 | 0 | clear_has_id(); |
5840 | 0 | } |
5841 | 1.95G | inline ::google::protobuf::uint32 ColumnSchemaPB::id() const { |
5842 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.id) |
5843 | 1.95G | return id_; |
5844 | 1.95G | } |
5845 | 961M | inline void ColumnSchemaPB::set_id(::google::protobuf::uint32 value) { |
5846 | 961M | set_has_id(); |
5847 | 961M | id_ = value; |
5848 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.id) |
5849 | 961M | } |
5850 | | |
5851 | | // required string name = 2; |
5852 | 173 | inline bool ColumnSchemaPB::has_name() const { |
5853 | 173 | return (_has_bits_[0] & 0x00000001u) != 0; |
5854 | 173 | } |
5855 | 982M | inline void ColumnSchemaPB::set_has_name() { |
5856 | 982M | _has_bits_[0] |= 0x00000001u; |
5857 | 982M | } |
5858 | 0 | inline void ColumnSchemaPB::clear_has_name() { |
5859 | 0 | _has_bits_[0] &= ~0x00000001u; |
5860 | 0 | } |
5861 | 0 | inline void ColumnSchemaPB::clear_name() { |
5862 | 0 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5863 | 0 | clear_has_name(); |
5864 | 0 | } |
5865 | 3.90G | inline const ::std::string& ColumnSchemaPB::name() const { |
5866 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.name) |
5867 | 3.90G | return name_.GetNoArena(); |
5868 | 3.90G | } |
5869 | 961M | inline void ColumnSchemaPB::set_name(const ::std::string& value) { |
5870 | 961M | set_has_name(); |
5871 | 961M | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5872 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.name) |
5873 | 961M | } |
5874 | | #if LANG_CXX11 |
5875 | 0 | inline void ColumnSchemaPB::set_name(::std::string&& value) { |
5876 | 0 | set_has_name(); |
5877 | 0 | name_.SetNoArena( |
5878 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5879 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.ColumnSchemaPB.name) |
5880 | 0 | } |
5881 | | #endif |
5882 | 8 | inline void ColumnSchemaPB::set_name(const char* value) { |
5883 | 8 | GOOGLE_DCHECK(value != NULL); |
5884 | 8 | set_has_name(); |
5885 | 8 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5886 | | // @@protoc_insertion_point(field_set_char:yb.ColumnSchemaPB.name) |
5887 | 8 | } |
5888 | 0 | inline void ColumnSchemaPB::set_name(const char* value, size_t size) { |
5889 | 0 | set_has_name(); |
5890 | 0 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5891 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5892 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.ColumnSchemaPB.name) |
5893 | 0 | } |
5894 | 6.68M | inline ::std::string* ColumnSchemaPB::mutable_name() { |
5895 | 6.68M | set_has_name(); |
5896 | | // @@protoc_insertion_point(field_mutable:yb.ColumnSchemaPB.name) |
5897 | 6.68M | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5898 | 6.68M | } |
5899 | 0 | inline ::std::string* ColumnSchemaPB::release_name() { |
5900 | 0 | // @@protoc_insertion_point(field_release:yb.ColumnSchemaPB.name) |
5901 | 0 | clear_has_name(); |
5902 | 0 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5903 | 0 | } |
5904 | 0 | inline void ColumnSchemaPB::set_allocated_name(::std::string* name) { |
5905 | 0 | if (name != NULL) { |
5906 | 0 | set_has_name(); |
5907 | 0 | } else { |
5908 | 0 | clear_has_name(); |
5909 | 0 | } |
5910 | 0 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
5911 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.ColumnSchemaPB.name) |
5912 | 0 | } |
5913 | | |
5914 | | // required .yb.QLTypePB type = 3; |
5915 | 173 | inline bool ColumnSchemaPB::has_type() const { |
5916 | 173 | return (_has_bits_[0] & 0x00000002u) != 0; |
5917 | 173 | } |
5918 | 982M | inline void ColumnSchemaPB::set_has_type() { |
5919 | 982M | _has_bits_[0] |= 0x00000002u; |
5920 | 982M | } |
5921 | 0 | inline void ColumnSchemaPB::clear_has_type() { |
5922 | 0 | _has_bits_[0] &= ~0x00000002u; |
5923 | 0 | } |
5924 | 0 | inline void ColumnSchemaPB::clear_type() { |
5925 | 0 | if (type_ != NULL) type_->Clear(); |
5926 | 0 | clear_has_type(); |
5927 | 0 | } |
5928 | 24.0M | inline const ::yb::QLTypePB& ColumnSchemaPB::type() const { |
5929 | 24.0M | const ::yb::QLTypePB* p = type_; |
5930 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.type) |
5931 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLTypePB*>( |
5932 | 18.4E | &::yb::_QLTypePB_default_instance_); |
5933 | 24.0M | } |
5934 | 0 | inline ::yb::QLTypePB* ColumnSchemaPB::release_type() { |
5935 | 0 | // @@protoc_insertion_point(field_release:yb.ColumnSchemaPB.type) |
5936 | 0 | clear_has_type(); |
5937 | 0 | ::yb::QLTypePB* temp = type_; |
5938 | 0 | type_ = NULL; |
5939 | 0 | return temp; |
5940 | 0 | } |
5941 | 982M | inline ::yb::QLTypePB* ColumnSchemaPB::mutable_type() { |
5942 | 982M | set_has_type(); |
5943 | 982M | if (type_ == NULL) { |
5944 | 982M | type_ = new ::yb::QLTypePB; |
5945 | 982M | } |
5946 | | // @@protoc_insertion_point(field_mutable:yb.ColumnSchemaPB.type) |
5947 | 982M | return type_; |
5948 | 982M | } |
5949 | 0 | inline void ColumnSchemaPB::set_allocated_type(::yb::QLTypePB* type) { |
5950 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5951 | 0 | if (message_arena == NULL) { |
5952 | 0 | delete type_; |
5953 | 0 | } |
5954 | 0 | if (type) { |
5955 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
5956 | 0 | if (message_arena != submessage_arena) { |
5957 | 0 | type = ::google::protobuf::internal::GetOwnedMessage( |
5958 | 0 | message_arena, type, submessage_arena); |
5959 | 0 | } |
5960 | 0 | set_has_type(); |
5961 | 0 | } else { |
5962 | 0 | clear_has_type(); |
5963 | 0 | } |
5964 | 0 | type_ = type; |
5965 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.ColumnSchemaPB.type) |
5966 | 0 | } |
5967 | | |
5968 | | // optional bool is_key = 4 [default = false]; |
5969 | 978M | inline bool ColumnSchemaPB::has_is_key() const { |
5970 | 978M | return (_has_bits_[0] & 0x00000008u) != 0; |
5971 | 978M | } |
5972 | 968M | inline void ColumnSchemaPB::set_has_is_key() { |
5973 | 968M | _has_bits_[0] |= 0x00000008u; |
5974 | 968M | } |
5975 | 0 | inline void ColumnSchemaPB::clear_has_is_key() { |
5976 | 0 | _has_bits_[0] &= ~0x00000008u; |
5977 | 0 | } |
5978 | 0 | inline void ColumnSchemaPB::clear_is_key() { |
5979 | 0 | is_key_ = false; |
5980 | 0 | clear_has_is_key(); |
5981 | 0 | } |
5982 | 978M | inline bool ColumnSchemaPB::is_key() const { |
5983 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.is_key) |
5984 | 978M | return is_key_; |
5985 | 978M | } |
5986 | 961M | inline void ColumnSchemaPB::set_is_key(bool value) { |
5987 | 961M | set_has_is_key(); |
5988 | 961M | is_key_ = value; |
5989 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.is_key) |
5990 | 961M | } |
5991 | | |
5992 | | // optional bool is_hash_key = 5 [default = false]; |
5993 | 978M | inline bool ColumnSchemaPB::has_is_hash_key() const { |
5994 | 978M | return (_has_bits_[0] & 0x00000010u) != 0; |
5995 | 978M | } |
5996 | 786k | inline void ColumnSchemaPB::set_has_is_hash_key() { |
5997 | 786k | _has_bits_[0] |= 0x00000010u; |
5998 | 786k | } |
5999 | 0 | inline void ColumnSchemaPB::clear_has_is_hash_key() { |
6000 | 0 | _has_bits_[0] &= ~0x00000010u; |
6001 | 0 | } |
6002 | 0 | inline void ColumnSchemaPB::clear_is_hash_key() { |
6003 | 0 | is_hash_key_ = false; |
6004 | 0 | clear_has_is_hash_key(); |
6005 | 0 | } |
6006 | 10.5M | inline bool ColumnSchemaPB::is_hash_key() const { |
6007 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.is_hash_key) |
6008 | 10.5M | return is_hash_key_; |
6009 | 10.5M | } |
6010 | 514k | inline void ColumnSchemaPB::set_is_hash_key(bool value) { |
6011 | 514k | set_has_is_hash_key(); |
6012 | 514k | is_hash_key_ = value; |
6013 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.is_hash_key) |
6014 | 514k | } |
6015 | | |
6016 | | // optional bool is_nullable = 6 [default = false]; |
6017 | 978M | inline bool ColumnSchemaPB::has_is_nullable() const { |
6018 | 978M | return (_has_bits_[0] & 0x00000020u) != 0; |
6019 | 978M | } |
6020 | 967M | inline void ColumnSchemaPB::set_has_is_nullable() { |
6021 | 967M | _has_bits_[0] |= 0x00000020u; |
6022 | 967M | } |
6023 | 0 | inline void ColumnSchemaPB::clear_has_is_nullable() { |
6024 | 0 | _has_bits_[0] &= ~0x00000020u; |
6025 | 0 | } |
6026 | 0 | inline void ColumnSchemaPB::clear_is_nullable() { |
6027 | 0 | is_nullable_ = false; |
6028 | 0 | clear_has_is_nullable(); |
6029 | 0 | } |
6030 | 978M | inline bool ColumnSchemaPB::is_nullable() const { |
6031 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.is_nullable) |
6032 | 978M | return is_nullable_; |
6033 | 978M | } |
6034 | 961M | inline void ColumnSchemaPB::set_is_nullable(bool value) { |
6035 | 961M | set_has_is_nullable(); |
6036 | 961M | is_nullable_ = value; |
6037 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.is_nullable) |
6038 | 961M | } |
6039 | | |
6040 | | // optional bool is_static = 7 [default = false]; |
6041 | 978M | inline bool ColumnSchemaPB::has_is_static() const { |
6042 | 978M | return (_has_bits_[0] & 0x00000040u) != 0; |
6043 | 978M | } |
6044 | 967M | inline void ColumnSchemaPB::set_has_is_static() { |
6045 | 967M | _has_bits_[0] |= 0x00000040u; |
6046 | 967M | } |
6047 | 0 | inline void ColumnSchemaPB::clear_has_is_static() { |
6048 | 0 | _has_bits_[0] &= ~0x00000040u; |
6049 | 0 | } |
6050 | 0 | inline void ColumnSchemaPB::clear_is_static() { |
6051 | 0 | is_static_ = false; |
6052 | 0 | clear_has_is_static(); |
6053 | 0 | } |
6054 | 978M | inline bool ColumnSchemaPB::is_static() const { |
6055 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.is_static) |
6056 | 978M | return is_static_; |
6057 | 978M | } |
6058 | 961M | inline void ColumnSchemaPB::set_is_static(bool value) { |
6059 | 961M | set_has_is_static(); |
6060 | 961M | is_static_ = value; |
6061 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.is_static) |
6062 | 961M | } |
6063 | | |
6064 | | // optional bool is_counter = 8 [default = false]; |
6065 | 978M | inline bool ColumnSchemaPB::has_is_counter() const { |
6066 | 978M | return (_has_bits_[0] & 0x00000080u) != 0; |
6067 | 978M | } |
6068 | 967M | inline void ColumnSchemaPB::set_has_is_counter() { |
6069 | 967M | _has_bits_[0] |= 0x00000080u; |
6070 | 967M | } |
6071 | 0 | inline void ColumnSchemaPB::clear_has_is_counter() { |
6072 | 0 | _has_bits_[0] &= ~0x00000080u; |
6073 | 0 | } |
6074 | 0 | inline void ColumnSchemaPB::clear_is_counter() { |
6075 | 0 | is_counter_ = false; |
6076 | 0 | clear_has_is_counter(); |
6077 | 0 | } |
6078 | 978M | inline bool ColumnSchemaPB::is_counter() const { |
6079 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.is_counter) |
6080 | 978M | return is_counter_; |
6081 | 978M | } |
6082 | 961M | inline void ColumnSchemaPB::set_is_counter(bool value) { |
6083 | 961M | set_has_is_counter(); |
6084 | 961M | is_counter_ = value; |
6085 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.is_counter) |
6086 | 961M | } |
6087 | | |
6088 | | // optional int32 order = 12 [default = 0]; |
6089 | 978M | inline bool ColumnSchemaPB::has_order() const { |
6090 | 978M | return (_has_bits_[0] & 0x00000200u) != 0; |
6091 | 978M | } |
6092 | 967M | inline void ColumnSchemaPB::set_has_order() { |
6093 | 967M | _has_bits_[0] |= 0x00000200u; |
6094 | 967M | } |
6095 | 0 | inline void ColumnSchemaPB::clear_has_order() { |
6096 | 0 | _has_bits_[0] &= ~0x00000200u; |
6097 | 0 | } |
6098 | 0 | inline void ColumnSchemaPB::clear_order() { |
6099 | 0 | order_ = 0; |
6100 | 0 | clear_has_order(); |
6101 | 0 | } |
6102 | 1.95G | inline ::google::protobuf::int32 ColumnSchemaPB::order() const { |
6103 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.order) |
6104 | 1.95G | return order_; |
6105 | 1.95G | } |
6106 | 961M | inline void ColumnSchemaPB::set_order(::google::protobuf::int32 value) { |
6107 | 961M | set_has_order(); |
6108 | 961M | order_ = value; |
6109 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.order) |
6110 | 961M | } |
6111 | | |
6112 | | // optional uint32 sorting_type = 9 [default = 0]; |
6113 | 978M | inline bool ColumnSchemaPB::has_sorting_type() const { |
6114 | 978M | return (_has_bits_[0] & 0x00000100u) != 0; |
6115 | 978M | } |
6116 | 967M | inline void ColumnSchemaPB::set_has_sorting_type() { |
6117 | 967M | _has_bits_[0] |= 0x00000100u; |
6118 | 967M | } |
6119 | 0 | inline void ColumnSchemaPB::clear_has_sorting_type() { |
6120 | 0 | _has_bits_[0] &= ~0x00000100u; |
6121 | 0 | } |
6122 | 0 | inline void ColumnSchemaPB::clear_sorting_type() { |
6123 | 0 | sorting_type_ = 0u; |
6124 | 0 | clear_has_sorting_type(); |
6125 | 0 | } |
6126 | 1.95G | inline ::google::protobuf::uint32 ColumnSchemaPB::sorting_type() const { |
6127 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.sorting_type) |
6128 | 1.95G | return sorting_type_; |
6129 | 1.95G | } |
6130 | 961M | inline void ColumnSchemaPB::set_sorting_type(::google::protobuf::uint32 value) { |
6131 | 961M | set_has_sorting_type(); |
6132 | 961M | sorting_type_ = value; |
6133 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.sorting_type) |
6134 | 961M | } |
6135 | | |
6136 | | // optional uint32 pg_type_oid = 14 [default = 0]; |
6137 | 970M | inline bool ColumnSchemaPB::has_pg_type_oid() const { |
6138 | 970M | return (_has_bits_[0] & 0x00000400u) != 0; |
6139 | 970M | } |
6140 | 959M | inline void ColumnSchemaPB::set_has_pg_type_oid() { |
6141 | 959M | _has_bits_[0] |= 0x00000400u; |
6142 | 959M | } |
6143 | 0 | inline void ColumnSchemaPB::clear_has_pg_type_oid() { |
6144 | 0 | _has_bits_[0] &= ~0x00000400u; |
6145 | 0 | } |
6146 | 0 | inline void ColumnSchemaPB::clear_pg_type_oid() { |
6147 | 0 | pg_type_oid_ = 0u; |
6148 | 0 | clear_has_pg_type_oid(); |
6149 | 0 | } |
6150 | 1.94G | inline ::google::protobuf::uint32 ColumnSchemaPB::pg_type_oid() const { |
6151 | | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.pg_type_oid) |
6152 | 1.94G | return pg_type_oid_; |
6153 | 1.94G | } |
6154 | 953M | inline void ColumnSchemaPB::set_pg_type_oid(::google::protobuf::uint32 value) { |
6155 | 953M | set_has_pg_type_oid(); |
6156 | 953M | pg_type_oid_ = value; |
6157 | | // @@protoc_insertion_point(field_set:yb.ColumnSchemaPB.pg_type_oid) |
6158 | 953M | } |
6159 | | |
6160 | | // repeated .yb.QLJsonOperationPB OBSOLETE_json_operations = 13; |
6161 | 1.94G | inline int ColumnSchemaPB::obsolete_json_operations_size() const { |
6162 | 1.94G | return obsolete_json_operations_.size(); |
6163 | 1.94G | } |
6164 | 0 | inline void ColumnSchemaPB::clear_obsolete_json_operations() { |
6165 | 0 | obsolete_json_operations_.Clear(); |
6166 | 0 | } |
6167 | 0 | inline const ::yb::QLJsonOperationPB& ColumnSchemaPB::obsolete_json_operations(int index) const { |
6168 | 0 | // @@protoc_insertion_point(field_get:yb.ColumnSchemaPB.OBSOLETE_json_operations) |
6169 | 0 | return obsolete_json_operations_.Get(index); |
6170 | 0 | } |
6171 | 0 | inline ::yb::QLJsonOperationPB* ColumnSchemaPB::mutable_obsolete_json_operations(int index) { |
6172 | 0 | // @@protoc_insertion_point(field_mutable:yb.ColumnSchemaPB.OBSOLETE_json_operations) |
6173 | 0 | return obsolete_json_operations_.Mutable(index); |
6174 | 0 | } |
6175 | 0 | inline ::yb::QLJsonOperationPB* ColumnSchemaPB::add_obsolete_json_operations() { |
6176 | 0 | // @@protoc_insertion_point(field_add:yb.ColumnSchemaPB.OBSOLETE_json_operations) |
6177 | 0 | return obsolete_json_operations_.Add(); |
6178 | 0 | } |
6179 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >* |
6180 | 0 | ColumnSchemaPB::mutable_obsolete_json_operations() { |
6181 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.ColumnSchemaPB.OBSOLETE_json_operations) |
6182 | 0 | return &obsolete_json_operations_; |
6183 | 0 | } |
6184 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >& |
6185 | 1.02G | ColumnSchemaPB::obsolete_json_operations() const { |
6186 | | // @@protoc_insertion_point(field_list:yb.ColumnSchemaPB.OBSOLETE_json_operations) |
6187 | 1.02G | return obsolete_json_operations_; |
6188 | 1.02G | } |
6189 | | |
6190 | | // ------------------------------------------------------------------- |
6191 | | |
6192 | | // ColocatedTableIdentifierPB |
6193 | | |
6194 | | // optional uint32 pgtable_id = 1; |
6195 | 4.20k | inline bool ColocatedTableIdentifierPB::has_pgtable_id() const { |
6196 | 4.20k | return value_case() == kPgtableId; |
6197 | 4.20k | } |
6198 | 1.38k | inline void ColocatedTableIdentifierPB::set_has_pgtable_id() { |
6199 | 1.38k | _oneof_case_[0] = kPgtableId; |
6200 | 1.38k | } |
6201 | 0 | inline void ColocatedTableIdentifierPB::clear_pgtable_id() { |
6202 | 0 | if (has_pgtable_id()) { |
6203 | 0 | value_.pgtable_id_ = 0u; |
6204 | 0 | clear_has_value(); |
6205 | 0 | } |
6206 | 0 | } |
6207 | 2.84k | inline ::google::protobuf::uint32 ColocatedTableIdentifierPB::pgtable_id() const { |
6208 | | // @@protoc_insertion_point(field_get:yb.ColocatedTableIdentifierPB.pgtable_id) |
6209 | 2.84k | if (has_pgtable_id()) { |
6210 | 2.84k | return value_.pgtable_id_; |
6211 | 2.84k | } |
6212 | 0 | return 0u; |
6213 | 0 | } |
6214 | 1.35k | inline void ColocatedTableIdentifierPB::set_pgtable_id(::google::protobuf::uint32 value) { |
6215 | 1.35k | if (!has_pgtable_id()) { |
6216 | 1.35k | clear_value(); |
6217 | 1.35k | set_has_pgtable_id(); |
6218 | 1.35k | } |
6219 | 1.35k | value_.pgtable_id_ = value; |
6220 | | // @@protoc_insertion_point(field_set:yb.ColocatedTableIdentifierPB.pgtable_id) |
6221 | 1.35k | } |
6222 | | |
6223 | | // optional bytes cotable_id = 2; |
6224 | 418M | inline bool ColocatedTableIdentifierPB::has_cotable_id() const { |
6225 | 418M | return value_case() == kCotableId; |
6226 | 418M | } |
6227 | 139M | inline void ColocatedTableIdentifierPB::set_has_cotable_id() { |
6228 | 139M | _oneof_case_[0] = kCotableId; |
6229 | 139M | } |
6230 | 0 | inline void ColocatedTableIdentifierPB::clear_cotable_id() { |
6231 | 0 | if (has_cotable_id()) { |
6232 | 0 | value_.cotable_id_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6233 | 0 | clear_has_value(); |
6234 | 0 | } |
6235 | 0 | } |
6236 | 279M | inline const ::std::string& ColocatedTableIdentifierPB::cotable_id() const { |
6237 | | // @@protoc_insertion_point(field_get:yb.ColocatedTableIdentifierPB.cotable_id) |
6238 | 279M | if (has_cotable_id()) { |
6239 | 279M | return value_.cotable_id_.GetNoArena(); |
6240 | 279M | } |
6241 | 0 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
6242 | 0 | } |
6243 | 0 | inline void ColocatedTableIdentifierPB::set_cotable_id(const ::std::string& value) { |
6244 | 0 | // @@protoc_insertion_point(field_set:yb.ColocatedTableIdentifierPB.cotable_id) |
6245 | 0 | if (!has_cotable_id()) { |
6246 | 0 | clear_value(); |
6247 | 0 | set_has_cotable_id(); |
6248 | 0 | value_.cotable_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6249 | 0 | } |
6250 | 0 | value_.cotable_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6251 | 0 | // @@protoc_insertion_point(field_set:yb.ColocatedTableIdentifierPB.cotable_id) |
6252 | 0 | } |
6253 | | #if LANG_CXX11 |
6254 | 139M | inline void ColocatedTableIdentifierPB::set_cotable_id(::std::string&& value) { |
6255 | | // @@protoc_insertion_point(field_set:yb.ColocatedTableIdentifierPB.cotable_id) |
6256 | 139M | if (!has_cotable_id()) { |
6257 | 139M | clear_value(); |
6258 | 139M | set_has_cotable_id(); |
6259 | 139M | value_.cotable_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6260 | 139M | } |
6261 | 139M | value_.cotable_id_.SetNoArena( |
6262 | 139M | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6263 | | // @@protoc_insertion_point(field_set_rvalue:yb.ColocatedTableIdentifierPB.cotable_id) |
6264 | 139M | } |
6265 | | #endif |
6266 | 0 | inline void ColocatedTableIdentifierPB::set_cotable_id(const char* value) { |
6267 | 0 | GOOGLE_DCHECK(value != NULL); |
6268 | 0 | if (!has_cotable_id()) { |
6269 | 0 | clear_value(); |
6270 | 0 | set_has_cotable_id(); |
6271 | 0 | value_.cotable_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6272 | 0 | } |
6273 | 0 | value_.cotable_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6274 | 0 | ::std::string(value)); |
6275 | 0 | // @@protoc_insertion_point(field_set_char:yb.ColocatedTableIdentifierPB.cotable_id) |
6276 | 0 | } |
6277 | 0 | inline void ColocatedTableIdentifierPB::set_cotable_id(const void* value, size_t size) { |
6278 | 0 | if (!has_cotable_id()) { |
6279 | 0 | clear_value(); |
6280 | 0 | set_has_cotable_id(); |
6281 | 0 | value_.cotable_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6282 | 0 | } |
6283 | 0 | value_.cotable_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
6284 | 0 | reinterpret_cast<const char*>(value), size)); |
6285 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.ColocatedTableIdentifierPB.cotable_id) |
6286 | 0 | } |
6287 | 0 | inline ::std::string* ColocatedTableIdentifierPB::mutable_cotable_id() { |
6288 | 0 | if (!has_cotable_id()) { |
6289 | 0 | clear_value(); |
6290 | 0 | set_has_cotable_id(); |
6291 | 0 | value_.cotable_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6292 | 0 | } |
6293 | 0 | // @@protoc_insertion_point(field_mutable:yb.ColocatedTableIdentifierPB.cotable_id) |
6294 | 0 | return value_.cotable_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6295 | 0 | } |
6296 | 0 | inline ::std::string* ColocatedTableIdentifierPB::release_cotable_id() { |
6297 | 0 | // @@protoc_insertion_point(field_release:yb.ColocatedTableIdentifierPB.cotable_id) |
6298 | 0 | if (has_cotable_id()) { |
6299 | 0 | clear_has_value(); |
6300 | 0 | return value_.cotable_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6301 | 0 | } else { |
6302 | 0 | return NULL; |
6303 | 0 | } |
6304 | 0 | } |
6305 | 0 | inline void ColocatedTableIdentifierPB::set_allocated_cotable_id(::std::string* cotable_id) { |
6306 | 0 | if (!has_cotable_id()) { |
6307 | 0 | value_.cotable_id_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6308 | 0 | } |
6309 | 0 | clear_value(); |
6310 | 0 | if (cotable_id != NULL) { |
6311 | 0 | set_has_cotable_id(); |
6312 | 0 | value_.cotable_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6313 | 0 | cotable_id); |
6314 | 0 | } |
6315 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.ColocatedTableIdentifierPB.cotable_id) |
6316 | 0 | } |
6317 | | |
6318 | 145M | inline bool ColocatedTableIdentifierPB::has_value() const { |
6319 | 145M | return value_case() != VALUE_NOT_SET; |
6320 | 145M | } |
6321 | 145M | inline void ColocatedTableIdentifierPB::clear_has_value() { |
6322 | 145M | _oneof_case_[0] = VALUE_NOT_SET; |
6323 | 145M | } |
6324 | 1.13G | inline ColocatedTableIdentifierPB::ValueCase ColocatedTableIdentifierPB::value_case() const { |
6325 | 1.13G | return ColocatedTableIdentifierPB::ValueCase(_oneof_case_[0]); |
6326 | 1.13G | } |
6327 | | // ------------------------------------------------------------------- |
6328 | | |
6329 | | // TablePropertiesPB |
6330 | | |
6331 | | // optional uint64 default_time_to_live = 1; |
6332 | 144M | inline bool TablePropertiesPB::has_default_time_to_live() const { |
6333 | 144M | return (_has_bits_[0] & 0x00000002u) != 0; |
6334 | 144M | } |
6335 | 15.6k | inline void TablePropertiesPB::set_has_default_time_to_live() { |
6336 | 15.6k | _has_bits_[0] |= 0x00000002u; |
6337 | 15.6k | } |
6338 | 0 | inline void TablePropertiesPB::clear_has_default_time_to_live() { |
6339 | 0 | _has_bits_[0] &= ~0x00000002u; |
6340 | 0 | } |
6341 | 0 | inline void TablePropertiesPB::clear_default_time_to_live() { |
6342 | 0 | default_time_to_live_ = GOOGLE_ULONGLONG(0); |
6343 | 0 | clear_has_default_time_to_live(); |
6344 | 0 | } |
6345 | 38.9k | inline ::google::protobuf::uint64 TablePropertiesPB::default_time_to_live() const { |
6346 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.default_time_to_live) |
6347 | 38.9k | return default_time_to_live_; |
6348 | 38.9k | } |
6349 | 11.4k | inline void TablePropertiesPB::set_default_time_to_live(::google::protobuf::uint64 value) { |
6350 | 11.4k | set_has_default_time_to_live(); |
6351 | 11.4k | default_time_to_live_ = value; |
6352 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.default_time_to_live) |
6353 | 11.4k | } |
6354 | | |
6355 | | // optional bool contain_counters = 2; |
6356 | 144M | inline bool TablePropertiesPB::has_contain_counters() const { |
6357 | 144M | return (_has_bits_[0] & 0x00000004u) != 0; |
6358 | 144M | } |
6359 | 141M | inline void TablePropertiesPB::set_has_contain_counters() { |
6360 | 141M | _has_bits_[0] |= 0x00000004u; |
6361 | 141M | } |
6362 | 0 | inline void TablePropertiesPB::clear_has_contain_counters() { |
6363 | 0 | _has_bits_[0] &= ~0x00000004u; |
6364 | 0 | } |
6365 | 0 | inline void TablePropertiesPB::clear_contain_counters() { |
6366 | 0 | contain_counters_ = false; |
6367 | 0 | clear_has_contain_counters(); |
6368 | 0 | } |
6369 | 142M | inline bool TablePropertiesPB::contain_counters() const { |
6370 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.contain_counters) |
6371 | 142M | return contain_counters_; |
6372 | 142M | } |
6373 | 140M | inline void TablePropertiesPB::set_contain_counters(bool value) { |
6374 | 140M | set_has_contain_counters(); |
6375 | 140M | contain_counters_ = value; |
6376 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.contain_counters) |
6377 | 140M | } |
6378 | | |
6379 | | // optional bool is_transactional = 3 [default = false]; |
6380 | 144M | inline bool TablePropertiesPB::has_is_transactional() const { |
6381 | 144M | return (_has_bits_[0] & 0x00000008u) != 0; |
6382 | 144M | } |
6383 | 141M | inline void TablePropertiesPB::set_has_is_transactional() { |
6384 | 141M | _has_bits_[0] |= 0x00000008u; |
6385 | 141M | } |
6386 | 0 | inline void TablePropertiesPB::clear_has_is_transactional() { |
6387 | 0 | _has_bits_[0] &= ~0x00000008u; |
6388 | 0 | } |
6389 | 0 | inline void TablePropertiesPB::clear_is_transactional() { |
6390 | 0 | is_transactional_ = false; |
6391 | 0 | clear_has_is_transactional(); |
6392 | 0 | } |
6393 | 143M | inline bool TablePropertiesPB::is_transactional() const { |
6394 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.is_transactional) |
6395 | 143M | return is_transactional_; |
6396 | 143M | } |
6397 | 140M | inline void TablePropertiesPB::set_is_transactional(bool value) { |
6398 | 140M | set_has_is_transactional(); |
6399 | 140M | is_transactional_ = value; |
6400 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.is_transactional) |
6401 | 140M | } |
6402 | | |
6403 | | // optional bytes copartition_table_id = 4; |
6404 | 145M | inline bool TablePropertiesPB::has_copartition_table_id() const { |
6405 | 145M | return (_has_bits_[0] & 0x00000001u) != 0; |
6406 | 145M | } |
6407 | 0 | inline void TablePropertiesPB::set_has_copartition_table_id() { |
6408 | 0 | _has_bits_[0] |= 0x00000001u; |
6409 | 0 | } |
6410 | 0 | inline void TablePropertiesPB::clear_has_copartition_table_id() { |
6411 | 0 | _has_bits_[0] &= ~0x00000001u; |
6412 | 0 | } |
6413 | 0 | inline void TablePropertiesPB::clear_copartition_table_id() { |
6414 | 0 | copartition_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6415 | 0 | clear_has_copartition_table_id(); |
6416 | 0 | } |
6417 | 0 | inline const ::std::string& TablePropertiesPB::copartition_table_id() const { |
6418 | 0 | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.copartition_table_id) |
6419 | 0 | return copartition_table_id_.GetNoArena(); |
6420 | 0 | } |
6421 | 0 | inline void TablePropertiesPB::set_copartition_table_id(const ::std::string& value) { |
6422 | 0 | set_has_copartition_table_id(); |
6423 | 0 | copartition_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6424 | 0 | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.copartition_table_id) |
6425 | 0 | } |
6426 | | #if LANG_CXX11 |
6427 | 0 | inline void TablePropertiesPB::set_copartition_table_id(::std::string&& value) { |
6428 | 0 | set_has_copartition_table_id(); |
6429 | 0 | copartition_table_id_.SetNoArena( |
6430 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6431 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.TablePropertiesPB.copartition_table_id) |
6432 | 0 | } |
6433 | | #endif |
6434 | 0 | inline void TablePropertiesPB::set_copartition_table_id(const char* value) { |
6435 | 0 | GOOGLE_DCHECK(value != NULL); |
6436 | 0 | set_has_copartition_table_id(); |
6437 | 0 | copartition_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6438 | 0 | // @@protoc_insertion_point(field_set_char:yb.TablePropertiesPB.copartition_table_id) |
6439 | 0 | } |
6440 | 0 | inline void TablePropertiesPB::set_copartition_table_id(const void* value, size_t size) { |
6441 | 0 | set_has_copartition_table_id(); |
6442 | 0 | copartition_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6443 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6444 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.TablePropertiesPB.copartition_table_id) |
6445 | 0 | } |
6446 | 0 | inline ::std::string* TablePropertiesPB::mutable_copartition_table_id() { |
6447 | 0 | set_has_copartition_table_id(); |
6448 | 0 | // @@protoc_insertion_point(field_mutable:yb.TablePropertiesPB.copartition_table_id) |
6449 | 0 | return copartition_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6450 | 0 | } |
6451 | 0 | inline ::std::string* TablePropertiesPB::release_copartition_table_id() { |
6452 | 0 | // @@protoc_insertion_point(field_release:yb.TablePropertiesPB.copartition_table_id) |
6453 | 0 | clear_has_copartition_table_id(); |
6454 | 0 | return copartition_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6455 | 0 | } |
6456 | 0 | inline void TablePropertiesPB::set_allocated_copartition_table_id(::std::string* copartition_table_id) { |
6457 | 0 | if (copartition_table_id != NULL) { |
6458 | 0 | set_has_copartition_table_id(); |
6459 | 0 | } else { |
6460 | 0 | clear_has_copartition_table_id(); |
6461 | 0 | } |
6462 | 0 | copartition_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), copartition_table_id); |
6463 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.TablePropertiesPB.copartition_table_id) |
6464 | 0 | } |
6465 | | |
6466 | | // optional .yb.YBConsistencyLevel consistency_level = 5 [default = STRONG]; |
6467 | 144M | inline bool TablePropertiesPB::has_consistency_level() const { |
6468 | 144M | return (_has_bits_[0] & 0x00000200u) != 0; |
6469 | 144M | } |
6470 | 141M | inline void TablePropertiesPB::set_has_consistency_level() { |
6471 | 141M | _has_bits_[0] |= 0x00000200u; |
6472 | 141M | } |
6473 | 0 | inline void TablePropertiesPB::clear_has_consistency_level() { |
6474 | 0 | _has_bits_[0] &= ~0x00000200u; |
6475 | 0 | } |
6476 | 0 | inline void TablePropertiesPB::clear_consistency_level() { |
6477 | 0 | consistency_level_ = 1; |
6478 | 0 | clear_has_consistency_level(); |
6479 | 0 | } |
6480 | 286M | inline ::yb::YBConsistencyLevel TablePropertiesPB::consistency_level() const { |
6481 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.consistency_level) |
6482 | 286M | return static_cast< ::yb::YBConsistencyLevel >(consistency_level_); |
6483 | 286M | } |
6484 | 141M | inline void TablePropertiesPB::set_consistency_level(::yb::YBConsistencyLevel value) { |
6485 | 141M | assert(::yb::YBConsistencyLevel_IsValid(value)); |
6486 | 141M | set_has_consistency_level(); |
6487 | 141M | consistency_level_ = value; |
6488 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.consistency_level) |
6489 | 141M | } |
6490 | | |
6491 | | // optional bool use_mangled_column_name = 6 [default = false]; |
6492 | 144M | inline bool TablePropertiesPB::has_use_mangled_column_name() const { |
6493 | 144M | return (_has_bits_[0] & 0x00000010u) != 0; |
6494 | 144M | } |
6495 | 141M | inline void TablePropertiesPB::set_has_use_mangled_column_name() { |
6496 | 141M | _has_bits_[0] |= 0x00000010u; |
6497 | 141M | } |
6498 | 0 | inline void TablePropertiesPB::clear_has_use_mangled_column_name() { |
6499 | 0 | _has_bits_[0] &= ~0x00000010u; |
6500 | 0 | } |
6501 | 0 | inline void TablePropertiesPB::clear_use_mangled_column_name() { |
6502 | 0 | use_mangled_column_name_ = false; |
6503 | 0 | clear_has_use_mangled_column_name(); |
6504 | 0 | } |
6505 | 142M | inline bool TablePropertiesPB::use_mangled_column_name() const { |
6506 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.use_mangled_column_name) |
6507 | 142M | return use_mangled_column_name_; |
6508 | 142M | } |
6509 | 140M | inline void TablePropertiesPB::set_use_mangled_column_name(bool value) { |
6510 | 140M | set_has_use_mangled_column_name(); |
6511 | 140M | use_mangled_column_name_ = value; |
6512 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.use_mangled_column_name) |
6513 | 140M | } |
6514 | | |
6515 | | // optional int32 num_tablets = 7 [default = 0]; |
6516 | 144M | inline bool TablePropertiesPB::has_num_tablets() const { |
6517 | 144M | return (_has_bits_[0] & 0x00000040u) != 0; |
6518 | 144M | } |
6519 | 129k | inline void TablePropertiesPB::set_has_num_tablets() { |
6520 | 129k | _has_bits_[0] |= 0x00000040u; |
6521 | 129k | } |
6522 | 0 | inline void TablePropertiesPB::clear_has_num_tablets() { |
6523 | 0 | _has_bits_[0] &= ~0x00000040u; |
6524 | 0 | } |
6525 | 0 | inline void TablePropertiesPB::clear_num_tablets() { |
6526 | 0 | num_tablets_ = 0; |
6527 | 0 | clear_has_num_tablets(); |
6528 | 0 | } |
6529 | 348k | inline ::google::protobuf::int32 TablePropertiesPB::num_tablets() const { |
6530 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.num_tablets) |
6531 | 348k | return num_tablets_; |
6532 | 348k | } |
6533 | 97.0k | inline void TablePropertiesPB::set_num_tablets(::google::protobuf::int32 value) { |
6534 | 97.0k | set_has_num_tablets(); |
6535 | 97.0k | num_tablets_ = value; |
6536 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.num_tablets) |
6537 | 97.0k | } |
6538 | | |
6539 | | // optional bool is_ysql_catalog_table = 8 [default = false]; |
6540 | 144M | inline bool TablePropertiesPB::has_is_ysql_catalog_table() const { |
6541 | 144M | return (_has_bits_[0] & 0x00000020u) != 0; |
6542 | 144M | } |
6543 | 141M | inline void TablePropertiesPB::set_has_is_ysql_catalog_table() { |
6544 | 141M | _has_bits_[0] |= 0x00000020u; |
6545 | 141M | } |
6546 | 0 | inline void TablePropertiesPB::clear_has_is_ysql_catalog_table() { |
6547 | 0 | _has_bits_[0] &= ~0x00000020u; |
6548 | 0 | } |
6549 | 0 | inline void TablePropertiesPB::clear_is_ysql_catalog_table() { |
6550 | 0 | is_ysql_catalog_table_ = false; |
6551 | 0 | clear_has_is_ysql_catalog_table(); |
6552 | 0 | } |
6553 | 143M | inline bool TablePropertiesPB::is_ysql_catalog_table() const { |
6554 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.is_ysql_catalog_table) |
6555 | 143M | return is_ysql_catalog_table_; |
6556 | 143M | } |
6557 | 140M | inline void TablePropertiesPB::set_is_ysql_catalog_table(bool value) { |
6558 | 140M | set_has_is_ysql_catalog_table(); |
6559 | 140M | is_ysql_catalog_table_ = value; |
6560 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.is_ysql_catalog_table) |
6561 | 140M | } |
6562 | | |
6563 | | // optional bool retain_delete_markers = 9 [default = false]; |
6564 | 144M | inline bool TablePropertiesPB::has_retain_delete_markers() const { |
6565 | 144M | return (_has_bits_[0] & 0x00000100u) != 0; |
6566 | 144M | } |
6567 | 141M | inline void TablePropertiesPB::set_has_retain_delete_markers() { |
6568 | 141M | _has_bits_[0] |= 0x00000100u; |
6569 | 141M | } |
6570 | 0 | inline void TablePropertiesPB::clear_has_retain_delete_markers() { |
6571 | 0 | _has_bits_[0] &= ~0x00000100u; |
6572 | 0 | } |
6573 | 0 | inline void TablePropertiesPB::clear_retain_delete_markers() { |
6574 | 0 | retain_delete_markers_ = false; |
6575 | 0 | clear_has_retain_delete_markers(); |
6576 | 0 | } |
6577 | 142M | inline bool TablePropertiesPB::retain_delete_markers() const { |
6578 | | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.retain_delete_markers) |
6579 | 142M | return retain_delete_markers_; |
6580 | 142M | } |
6581 | 140M | inline void TablePropertiesPB::set_retain_delete_markers(bool value) { |
6582 | 140M | set_has_retain_delete_markers(); |
6583 | 140M | retain_delete_markers_ = value; |
6584 | | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.retain_delete_markers) |
6585 | 140M | } |
6586 | | |
6587 | | // optional uint64 backfilling_timestamp = 10; |
6588 | 143M | inline bool TablePropertiesPB::has_backfilling_timestamp() const { |
6589 | 143M | return (_has_bits_[0] & 0x00000080u) != 0; |
6590 | 143M | } |
6591 | 0 | inline void TablePropertiesPB::set_has_backfilling_timestamp() { |
6592 | 0 | _has_bits_[0] |= 0x00000080u; |
6593 | 0 | } |
6594 | 0 | inline void TablePropertiesPB::clear_has_backfilling_timestamp() { |
6595 | 0 | _has_bits_[0] &= ~0x00000080u; |
6596 | 0 | } |
6597 | 0 | inline void TablePropertiesPB::clear_backfilling_timestamp() { |
6598 | 0 | backfilling_timestamp_ = GOOGLE_ULONGLONG(0); |
6599 | 0 | clear_has_backfilling_timestamp(); |
6600 | 0 | } |
6601 | 0 | inline ::google::protobuf::uint64 TablePropertiesPB::backfilling_timestamp() const { |
6602 | 0 | // @@protoc_insertion_point(field_get:yb.TablePropertiesPB.backfilling_timestamp) |
6603 | 0 | return backfilling_timestamp_; |
6604 | 0 | } |
6605 | 0 | inline void TablePropertiesPB::set_backfilling_timestamp(::google::protobuf::uint64 value) { |
6606 | 0 | set_has_backfilling_timestamp(); |
6607 | 0 | backfilling_timestamp_ = value; |
6608 | 0 | // @@protoc_insertion_point(field_set:yb.TablePropertiesPB.backfilling_timestamp) |
6609 | 0 | } |
6610 | | |
6611 | | // ------------------------------------------------------------------- |
6612 | | |
6613 | | // SchemaPB |
6614 | | |
6615 | | // repeated .yb.ColumnSchemaPB columns = 1; |
6616 | 284M | inline int SchemaPB::columns_size() const { |
6617 | 284M | return columns_.size(); |
6618 | 284M | } |
6619 | 0 | inline void SchemaPB::clear_columns() { |
6620 | 0 | columns_.Clear(); |
6621 | 0 | } |
6622 | 1.94G | inline const ::yb::ColumnSchemaPB& SchemaPB::columns(int index) const { |
6623 | | // @@protoc_insertion_point(field_get:yb.SchemaPB.columns) |
6624 | 1.94G | return columns_.Get(index); |
6625 | 1.94G | } |
6626 | 0 | inline ::yb::ColumnSchemaPB* SchemaPB::mutable_columns(int index) { |
6627 | 0 | // @@protoc_insertion_point(field_mutable:yb.SchemaPB.columns) |
6628 | 0 | return columns_.Mutable(index); |
6629 | 0 | } |
6630 | 6.68M | inline ::yb::ColumnSchemaPB* SchemaPB::add_columns() { |
6631 | | // @@protoc_insertion_point(field_add:yb.SchemaPB.columns) |
6632 | 6.68M | return columns_.Add(); |
6633 | 6.68M | } |
6634 | | inline ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >* |
6635 | 140M | SchemaPB::mutable_columns() { |
6636 | | // @@protoc_insertion_point(field_mutable_list:yb.SchemaPB.columns) |
6637 | 140M | return &columns_; |
6638 | 140M | } |
6639 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::ColumnSchemaPB >& |
6640 | 159M | SchemaPB::columns() const { |
6641 | | // @@protoc_insertion_point(field_list:yb.SchemaPB.columns) |
6642 | 159M | return columns_; |
6643 | 159M | } |
6644 | | |
6645 | | // optional .yb.TablePropertiesPB table_properties = 2; |
6646 | 143M | inline bool SchemaPB::has_table_properties() const { |
6647 | 143M | return (_has_bits_[0] & 0x00000002u) != 0; |
6648 | 143M | } |
6649 | 145M | inline void SchemaPB::set_has_table_properties() { |
6650 | 145M | _has_bits_[0] |= 0x00000002u; |
6651 | 145M | } |
6652 | 0 | inline void SchemaPB::clear_has_table_properties() { |
6653 | 0 | _has_bits_[0] &= ~0x00000002u; |
6654 | 0 | } |
6655 | 0 | inline void SchemaPB::clear_table_properties() { |
6656 | 0 | if (table_properties_ != NULL) table_properties_->Clear(); |
6657 | 0 | clear_has_table_properties(); |
6658 | 0 | } |
6659 | 4.87M | inline const ::yb::TablePropertiesPB& SchemaPB::table_properties() const { |
6660 | 4.87M | const ::yb::TablePropertiesPB* p = table_properties_; |
6661 | | // @@protoc_insertion_point(field_get:yb.SchemaPB.table_properties) |
6662 | 4.87M | return p != NULL ? *p : *reinterpret_cast<const ::yb::TablePropertiesPB*>( |
6663 | 7 | &::yb::_TablePropertiesPB_default_instance_); |
6664 | 4.87M | } |
6665 | 0 | inline ::yb::TablePropertiesPB* SchemaPB::release_table_properties() { |
6666 | 0 | // @@protoc_insertion_point(field_release:yb.SchemaPB.table_properties) |
6667 | 0 | clear_has_table_properties(); |
6668 | 0 | ::yb::TablePropertiesPB* temp = table_properties_; |
6669 | 0 | table_properties_ = NULL; |
6670 | 0 | return temp; |
6671 | 0 | } |
6672 | 145M | inline ::yb::TablePropertiesPB* SchemaPB::mutable_table_properties() { |
6673 | 145M | set_has_table_properties(); |
6674 | 145M | if (table_properties_ == NULL) { |
6675 | 145M | table_properties_ = new ::yb::TablePropertiesPB; |
6676 | 145M | } |
6677 | | // @@protoc_insertion_point(field_mutable:yb.SchemaPB.table_properties) |
6678 | 145M | return table_properties_; |
6679 | 145M | } |
6680 | 0 | inline void SchemaPB::set_allocated_table_properties(::yb::TablePropertiesPB* table_properties) { |
6681 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6682 | 0 | if (message_arena == NULL) { |
6683 | 0 | delete table_properties_; |
6684 | 0 | } |
6685 | 0 | if (table_properties) { |
6686 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6687 | 0 | if (message_arena != submessage_arena) { |
6688 | 0 | table_properties = ::google::protobuf::internal::GetOwnedMessage( |
6689 | 0 | message_arena, table_properties, submessage_arena); |
6690 | 0 | } |
6691 | 0 | set_has_table_properties(); |
6692 | 0 | } else { |
6693 | 0 | clear_has_table_properties(); |
6694 | 0 | } |
6695 | 0 | table_properties_ = table_properties; |
6696 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SchemaPB.table_properties) |
6697 | 0 | } |
6698 | | |
6699 | | // optional .yb.ColocatedTableIdentifierPB colocated_table_id = 3; |
6700 | 145M | inline bool SchemaPB::has_colocated_table_id() const { |
6701 | 145M | return (_has_bits_[0] & 0x00000004u) != 0; |
6702 | 145M | } |
6703 | 145M | inline void SchemaPB::set_has_colocated_table_id() { |
6704 | 145M | _has_bits_[0] |= 0x00000004u; |
6705 | 145M | } |
6706 | 0 | inline void SchemaPB::clear_has_colocated_table_id() { |
6707 | 0 | _has_bits_[0] &= ~0x00000004u; |
6708 | 0 | } |
6709 | 0 | inline void SchemaPB::clear_colocated_table_id() { |
6710 | 0 | if (colocated_table_id_ != NULL) colocated_table_id_->Clear(); |
6711 | 0 | clear_has_colocated_table_id(); |
6712 | 0 | } |
6713 | 4.86M | inline const ::yb::ColocatedTableIdentifierPB& SchemaPB::colocated_table_id() const { |
6714 | 4.86M | const ::yb::ColocatedTableIdentifierPB* p = colocated_table_id_; |
6715 | | // @@protoc_insertion_point(field_get:yb.SchemaPB.colocated_table_id) |
6716 | 4.86M | return p != NULL ? *p : *reinterpret_cast<const ::yb::ColocatedTableIdentifierPB*>( |
6717 | 7 | &::yb::_ColocatedTableIdentifierPB_default_instance_); |
6718 | 4.86M | } |
6719 | 0 | inline ::yb::ColocatedTableIdentifierPB* SchemaPB::release_colocated_table_id() { |
6720 | 0 | // @@protoc_insertion_point(field_release:yb.SchemaPB.colocated_table_id) |
6721 | 0 | clear_has_colocated_table_id(); |
6722 | 0 | ::yb::ColocatedTableIdentifierPB* temp = colocated_table_id_; |
6723 | 0 | colocated_table_id_ = NULL; |
6724 | 0 | return temp; |
6725 | 0 | } |
6726 | 145M | inline ::yb::ColocatedTableIdentifierPB* SchemaPB::mutable_colocated_table_id() { |
6727 | 145M | set_has_colocated_table_id(); |
6728 | 145M | if (colocated_table_id_ == NULL) { |
6729 | 145M | colocated_table_id_ = new ::yb::ColocatedTableIdentifierPB; |
6730 | 145M | } |
6731 | | // @@protoc_insertion_point(field_mutable:yb.SchemaPB.colocated_table_id) |
6732 | 145M | return colocated_table_id_; |
6733 | 145M | } |
6734 | 0 | inline void SchemaPB::set_allocated_colocated_table_id(::yb::ColocatedTableIdentifierPB* colocated_table_id) { |
6735 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6736 | 0 | if (message_arena == NULL) { |
6737 | 0 | delete colocated_table_id_; |
6738 | 0 | } |
6739 | 0 | if (colocated_table_id) { |
6740 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6741 | 0 | if (message_arena != submessage_arena) { |
6742 | 0 | colocated_table_id = ::google::protobuf::internal::GetOwnedMessage( |
6743 | 0 | message_arena, colocated_table_id, submessage_arena); |
6744 | 0 | } |
6745 | 0 | set_has_colocated_table_id(); |
6746 | 0 | } else { |
6747 | 0 | clear_has_colocated_table_id(); |
6748 | 0 | } |
6749 | 0 | colocated_table_id_ = colocated_table_id; |
6750 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SchemaPB.colocated_table_id) |
6751 | 0 | } |
6752 | | |
6753 | | // optional string pgschema_name = 4; |
6754 | 143M | inline bool SchemaPB::has_pgschema_name() const { |
6755 | 143M | return (_has_bits_[0] & 0x00000001u) != 0; |
6756 | 143M | } |
6757 | 143M | inline void SchemaPB::set_has_pgschema_name() { |
6758 | 143M | _has_bits_[0] |= 0x00000001u; |
6759 | 143M | } |
6760 | 0 | inline void SchemaPB::clear_has_pgschema_name() { |
6761 | 0 | _has_bits_[0] &= ~0x00000001u; |
6762 | 0 | } |
6763 | 0 | inline void SchemaPB::clear_pgschema_name() { |
6764 | 0 | pgschema_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6765 | 0 | clear_has_pgschema_name(); |
6766 | 0 | } |
6767 | 566M | inline const ::std::string& SchemaPB::pgschema_name() const { |
6768 | | // @@protoc_insertion_point(field_get:yb.SchemaPB.pgschema_name) |
6769 | 566M | return pgschema_name_.GetNoArena(); |
6770 | 566M | } |
6771 | 0 | inline void SchemaPB::set_pgschema_name(const ::std::string& value) { |
6772 | 0 | set_has_pgschema_name(); |
6773 | 0 | pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6774 | 0 | // @@protoc_insertion_point(field_set:yb.SchemaPB.pgschema_name) |
6775 | 0 | } |
6776 | | #if LANG_CXX11 |
6777 | 139M | inline void SchemaPB::set_pgschema_name(::std::string&& value) { |
6778 | 139M | set_has_pgschema_name(); |
6779 | 139M | pgschema_name_.SetNoArena( |
6780 | 139M | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6781 | | // @@protoc_insertion_point(field_set_rvalue:yb.SchemaPB.pgschema_name) |
6782 | 139M | } |
6783 | | #endif |
6784 | 0 | inline void SchemaPB::set_pgschema_name(const char* value) { |
6785 | 0 | GOOGLE_DCHECK(value != NULL); |
6786 | 0 | set_has_pgschema_name(); |
6787 | 0 | pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6788 | 0 | // @@protoc_insertion_point(field_set_char:yb.SchemaPB.pgschema_name) |
6789 | 0 | } |
6790 | 0 | inline void SchemaPB::set_pgschema_name(const char* value, size_t size) { |
6791 | 0 | set_has_pgschema_name(); |
6792 | 0 | pgschema_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6793 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6794 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.SchemaPB.pgschema_name) |
6795 | 0 | } |
6796 | 969k | inline ::std::string* SchemaPB::mutable_pgschema_name() { |
6797 | 969k | set_has_pgschema_name(); |
6798 | | // @@protoc_insertion_point(field_mutable:yb.SchemaPB.pgschema_name) |
6799 | 969k | return pgschema_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6800 | 969k | } |
6801 | 0 | inline ::std::string* SchemaPB::release_pgschema_name() { |
6802 | 0 | // @@protoc_insertion_point(field_release:yb.SchemaPB.pgschema_name) |
6803 | 0 | clear_has_pgschema_name(); |
6804 | 0 | return pgschema_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6805 | 0 | } |
6806 | 0 | inline void SchemaPB::set_allocated_pgschema_name(::std::string* pgschema_name) { |
6807 | 0 | if (pgschema_name != NULL) { |
6808 | 0 | set_has_pgschema_name(); |
6809 | 0 | } else { |
6810 | 0 | clear_has_pgschema_name(); |
6811 | 0 | } |
6812 | 0 | pgschema_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pgschema_name); |
6813 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SchemaPB.pgschema_name) |
6814 | 0 | } |
6815 | | |
6816 | | // ------------------------------------------------------------------- |
6817 | | |
6818 | | // IndexInfoPB_IndexColumnPB |
6819 | | |
6820 | | // optional uint32 column_id = 1; |
6821 | 1.78M | inline bool IndexInfoPB_IndexColumnPB::has_column_id() const { |
6822 | 1.78M | return (_has_bits_[0] & 0x00000004u) != 0; |
6823 | 1.78M | } |
6824 | 729k | inline void IndexInfoPB_IndexColumnPB::set_has_column_id() { |
6825 | 729k | _has_bits_[0] |= 0x00000004u; |
6826 | 729k | } |
6827 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_has_column_id() { |
6828 | 0 | _has_bits_[0] &= ~0x00000004u; |
6829 | 0 | } |
6830 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_column_id() { |
6831 | 0 | column_id_ = 0u; |
6832 | 0 | clear_has_column_id(); |
6833 | 0 | } |
6834 | 3.14M | inline ::google::protobuf::uint32 IndexInfoPB_IndexColumnPB::column_id() const { |
6835 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.IndexColumnPB.column_id) |
6836 | 3.14M | return column_id_; |
6837 | 3.14M | } |
6838 | 432k | inline void IndexInfoPB_IndexColumnPB::set_column_id(::google::protobuf::uint32 value) { |
6839 | 432k | set_has_column_id(); |
6840 | 432k | column_id_ = value; |
6841 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.IndexColumnPB.column_id) |
6842 | 432k | } |
6843 | | |
6844 | | // optional string column_name = 3; |
6845 | 1.78M | inline bool IndexInfoPB_IndexColumnPB::has_column_name() const { |
6846 | 1.78M | return (_has_bits_[0] & 0x00000001u) != 0; |
6847 | 1.78M | } |
6848 | 1.22M | inline void IndexInfoPB_IndexColumnPB::set_has_column_name() { |
6849 | 1.22M | _has_bits_[0] |= 0x00000001u; |
6850 | 1.22M | } |
6851 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_has_column_name() { |
6852 | 0 | _has_bits_[0] &= ~0x00000001u; |
6853 | 0 | } |
6854 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_column_name() { |
6855 | 0 | column_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6856 | 0 | clear_has_column_name(); |
6857 | 0 | } |
6858 | 5.83M | inline const ::std::string& IndexInfoPB_IndexColumnPB::column_name() const { |
6859 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.IndexColumnPB.column_name) |
6860 | 5.83M | return column_name_.GetNoArena(); |
6861 | 5.83M | } |
6862 | 430k | inline void IndexInfoPB_IndexColumnPB::set_column_name(const ::std::string& value) { |
6863 | 430k | set_has_column_name(); |
6864 | 430k | column_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
6865 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.IndexColumnPB.column_name) |
6866 | 430k | } |
6867 | | #if LANG_CXX11 |
6868 | 0 | inline void IndexInfoPB_IndexColumnPB::set_column_name(::std::string&& value) { |
6869 | 0 | set_has_column_name(); |
6870 | 0 | column_name_.SetNoArena( |
6871 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6872 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.IndexInfoPB.IndexColumnPB.column_name) |
6873 | 0 | } |
6874 | | #endif |
6875 | 1.72k | inline void IndexInfoPB_IndexColumnPB::set_column_name(const char* value) { |
6876 | 1.72k | GOOGLE_DCHECK(value != NULL); |
6877 | 1.72k | set_has_column_name(); |
6878 | 1.72k | column_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6879 | | // @@protoc_insertion_point(field_set_char:yb.IndexInfoPB.IndexColumnPB.column_name) |
6880 | 1.72k | } |
6881 | 0 | inline void IndexInfoPB_IndexColumnPB::set_column_name(const char* value, size_t size) { |
6882 | 0 | set_has_column_name(); |
6883 | 0 | column_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6884 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6885 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.IndexInfoPB.IndexColumnPB.column_name) |
6886 | 0 | } |
6887 | 296k | inline ::std::string* IndexInfoPB_IndexColumnPB::mutable_column_name() { |
6888 | 296k | set_has_column_name(); |
6889 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.IndexColumnPB.column_name) |
6890 | 296k | return column_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6891 | 296k | } |
6892 | 0 | inline ::std::string* IndexInfoPB_IndexColumnPB::release_column_name() { |
6893 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.IndexColumnPB.column_name) |
6894 | 0 | clear_has_column_name(); |
6895 | 0 | return column_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6896 | 0 | } |
6897 | 0 | inline void IndexInfoPB_IndexColumnPB::set_allocated_column_name(::std::string* column_name) { |
6898 | 0 | if (column_name != NULL) { |
6899 | 0 | set_has_column_name(); |
6900 | 0 | } else { |
6901 | 0 | clear_has_column_name(); |
6902 | 0 | } |
6903 | 0 | column_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), column_name); |
6904 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.IndexColumnPB.column_name) |
6905 | 0 | } |
6906 | | |
6907 | | // optional uint32 indexed_column_id = 2; |
6908 | 1.78M | inline bool IndexInfoPB_IndexColumnPB::has_indexed_column_id() const { |
6909 | 1.78M | return (_has_bits_[0] & 0x00000008u) != 0; |
6910 | 1.78M | } |
6911 | 730k | inline void IndexInfoPB_IndexColumnPB::set_has_indexed_column_id() { |
6912 | 730k | _has_bits_[0] |= 0x00000008u; |
6913 | 730k | } |
6914 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_has_indexed_column_id() { |
6915 | 0 | _has_bits_[0] &= ~0x00000008u; |
6916 | 0 | } |
6917 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_indexed_column_id() { |
6918 | 0 | indexed_column_id_ = 0u; |
6919 | 0 | clear_has_indexed_column_id(); |
6920 | 0 | } |
6921 | 3.14M | inline ::google::protobuf::uint32 IndexInfoPB_IndexColumnPB::indexed_column_id() const { |
6922 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.IndexColumnPB.indexed_column_id) |
6923 | 3.14M | return indexed_column_id_; |
6924 | 3.14M | } |
6925 | 431k | inline void IndexInfoPB_IndexColumnPB::set_indexed_column_id(::google::protobuf::uint32 value) { |
6926 | 431k | set_has_indexed_column_id(); |
6927 | 431k | indexed_column_id_ = value; |
6928 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.IndexColumnPB.indexed_column_id) |
6929 | 431k | } |
6930 | | |
6931 | | // optional .yb.QLExpressionPB colexpr = 4; |
6932 | 3.58M | inline bool IndexInfoPB_IndexColumnPB::has_colexpr() const { |
6933 | 3.58M | return (_has_bits_[0] & 0x00000002u) != 0; |
6934 | 3.58M | } |
6935 | 1.22M | inline void IndexInfoPB_IndexColumnPB::set_has_colexpr() { |
6936 | 1.22M | _has_bits_[0] |= 0x00000002u; |
6937 | 1.22M | } |
6938 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_has_colexpr() { |
6939 | 0 | _has_bits_[0] &= ~0x00000002u; |
6940 | 0 | } |
6941 | 0 | inline void IndexInfoPB_IndexColumnPB::clear_colexpr() { |
6942 | 0 | if (colexpr_ != NULL) colexpr_->Clear(); |
6943 | 0 | clear_has_colexpr(); |
6944 | 0 | } |
6945 | 807k | inline const ::yb::QLExpressionPB& IndexInfoPB_IndexColumnPB::colexpr() const { |
6946 | 807k | const ::yb::QLExpressionPB* p = colexpr_; |
6947 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.IndexColumnPB.colexpr) |
6948 | 806k | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
6949 | 1.61k | &::yb::_QLExpressionPB_default_instance_); |
6950 | 807k | } |
6951 | 0 | inline ::yb::QLExpressionPB* IndexInfoPB_IndexColumnPB::release_colexpr() { |
6952 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.IndexColumnPB.colexpr) |
6953 | 0 | clear_has_colexpr(); |
6954 | 0 | ::yb::QLExpressionPB* temp = colexpr_; |
6955 | 0 | colexpr_ = NULL; |
6956 | 0 | return temp; |
6957 | 0 | } |
6958 | 1.22M | inline ::yb::QLExpressionPB* IndexInfoPB_IndexColumnPB::mutable_colexpr() { |
6959 | 1.22M | set_has_colexpr(); |
6960 | 1.22M | if (colexpr_ == NULL) { |
6961 | 1.21M | colexpr_ = new ::yb::QLExpressionPB; |
6962 | 1.21M | } |
6963 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.IndexColumnPB.colexpr) |
6964 | 1.22M | return colexpr_; |
6965 | 1.22M | } |
6966 | 0 | inline void IndexInfoPB_IndexColumnPB::set_allocated_colexpr(::yb::QLExpressionPB* colexpr) { |
6967 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
6968 | 0 | if (message_arena == NULL) { |
6969 | 0 | delete colexpr_; |
6970 | 0 | } |
6971 | 0 | if (colexpr) { |
6972 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
6973 | 0 | if (message_arena != submessage_arena) { |
6974 | 0 | colexpr = ::google::protobuf::internal::GetOwnedMessage( |
6975 | 0 | message_arena, colexpr, submessage_arena); |
6976 | 0 | } |
6977 | 0 | set_has_colexpr(); |
6978 | 0 | } else { |
6979 | 0 | clear_has_colexpr(); |
6980 | 0 | } |
6981 | 0 | colexpr_ = colexpr; |
6982 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.IndexColumnPB.colexpr) |
6983 | 0 | } |
6984 | | |
6985 | | // ------------------------------------------------------------------- |
6986 | | |
6987 | | // IndexInfoPB_WherePredicateSpecPB |
6988 | | |
6989 | | // repeated uint32 column_ids = 1; |
6990 | 116k | inline int IndexInfoPB_WherePredicateSpecPB::column_ids_size() const { |
6991 | 116k | return column_ids_.size(); |
6992 | 116k | } |
6993 | 0 | inline void IndexInfoPB_WherePredicateSpecPB::clear_column_ids() { |
6994 | 0 | column_ids_.Clear(); |
6995 | 0 | } |
6996 | 0 | inline ::google::protobuf::uint32 IndexInfoPB_WherePredicateSpecPB::column_ids(int index) const { |
6997 | 0 | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.WherePredicateSpecPB.column_ids) |
6998 | 0 | return column_ids_.Get(index); |
6999 | 0 | } |
7000 | 0 | inline void IndexInfoPB_WherePredicateSpecPB::set_column_ids(int index, ::google::protobuf::uint32 value) { |
7001 | 0 | column_ids_.Set(index, value); |
7002 | 0 | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.WherePredicateSpecPB.column_ids) |
7003 | 0 | } |
7004 | 162 | inline void IndexInfoPB_WherePredicateSpecPB::add_column_ids(::google::protobuf::uint32 value) { |
7005 | 162 | column_ids_.Add(value); |
7006 | | // @@protoc_insertion_point(field_add:yb.IndexInfoPB.WherePredicateSpecPB.column_ids) |
7007 | 162 | } |
7008 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
7009 | 5.61k | IndexInfoPB_WherePredicateSpecPB::column_ids() const { |
7010 | | // @@protoc_insertion_point(field_list:yb.IndexInfoPB.WherePredicateSpecPB.column_ids) |
7011 | 5.61k | return column_ids_; |
7012 | 5.61k | } |
7013 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
7014 | 27.4k | IndexInfoPB_WherePredicateSpecPB::mutable_column_ids() { |
7015 | | // @@protoc_insertion_point(field_mutable_list:yb.IndexInfoPB.WherePredicateSpecPB.column_ids) |
7016 | 27.4k | return &column_ids_; |
7017 | 27.4k | } |
7018 | | |
7019 | | // optional .yb.QLExpressionPB where_expr = 2; |
7020 | 306k | inline bool IndexInfoPB_WherePredicateSpecPB::has_where_expr() const { |
7021 | 306k | return (_has_bits_[0] & 0x00000001u) != 0; |
7022 | 306k | } |
7023 | 54.9k | inline void IndexInfoPB_WherePredicateSpecPB::set_has_where_expr() { |
7024 | 54.9k | _has_bits_[0] |= 0x00000001u; |
7025 | 54.9k | } |
7026 | 0 | inline void IndexInfoPB_WherePredicateSpecPB::clear_has_where_expr() { |
7027 | 0 | _has_bits_[0] &= ~0x00000001u; |
7028 | 0 | } |
7029 | 0 | inline void IndexInfoPB_WherePredicateSpecPB::clear_where_expr() { |
7030 | 0 | if (where_expr_ != NULL) where_expr_->Clear(); |
7031 | 0 | clear_has_where_expr(); |
7032 | 0 | } |
7033 | 39.4k | inline const ::yb::QLExpressionPB& IndexInfoPB_WherePredicateSpecPB::where_expr() const { |
7034 | 39.4k | const ::yb::QLExpressionPB* p = where_expr_; |
7035 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.WherePredicateSpecPB.where_expr) |
7036 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
7037 | 18.4E | &::yb::_QLExpressionPB_default_instance_); |
7038 | 39.4k | } |
7039 | 0 | inline ::yb::QLExpressionPB* IndexInfoPB_WherePredicateSpecPB::release_where_expr() { |
7040 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.WherePredicateSpecPB.where_expr) |
7041 | 0 | clear_has_where_expr(); |
7042 | 0 | ::yb::QLExpressionPB* temp = where_expr_; |
7043 | 0 | where_expr_ = NULL; |
7044 | 0 | return temp; |
7045 | 0 | } |
7046 | 54.9k | inline ::yb::QLExpressionPB* IndexInfoPB_WherePredicateSpecPB::mutable_where_expr() { |
7047 | 54.9k | set_has_where_expr(); |
7048 | 54.9k | if (where_expr_ == NULL) { |
7049 | 54.4k | where_expr_ = new ::yb::QLExpressionPB; |
7050 | 54.4k | } |
7051 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.WherePredicateSpecPB.where_expr) |
7052 | 54.9k | return where_expr_; |
7053 | 54.9k | } |
7054 | 0 | inline void IndexInfoPB_WherePredicateSpecPB::set_allocated_where_expr(::yb::QLExpressionPB* where_expr) { |
7055 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7056 | 0 | if (message_arena == NULL) { |
7057 | 0 | delete where_expr_; |
7058 | 0 | } |
7059 | 0 | if (where_expr) { |
7060 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7061 | 0 | if (message_arena != submessage_arena) { |
7062 | 0 | where_expr = ::google::protobuf::internal::GetOwnedMessage( |
7063 | 0 | message_arena, where_expr, submessage_arena); |
7064 | 0 | } |
7065 | 0 | set_has_where_expr(); |
7066 | 0 | } else { |
7067 | 0 | clear_has_where_expr(); |
7068 | 0 | } |
7069 | 0 | where_expr_ = where_expr; |
7070 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.WherePredicateSpecPB.where_expr) |
7071 | 0 | } |
7072 | | |
7073 | | // ------------------------------------------------------------------- |
7074 | | |
7075 | | // IndexInfoPB |
7076 | | |
7077 | | // optional bytes table_id = 1; |
7078 | 684k | inline bool IndexInfoPB::has_table_id() const { |
7079 | 684k | return (_has_bits_[0] & 0x00000001u) != 0; |
7080 | 684k | } |
7081 | 309k | inline void IndexInfoPB::set_has_table_id() { |
7082 | 309k | _has_bits_[0] |= 0x00000001u; |
7083 | 309k | } |
7084 | 0 | inline void IndexInfoPB::clear_has_table_id() { |
7085 | 0 | _has_bits_[0] &= ~0x00000001u; |
7086 | 0 | } |
7087 | 0 | inline void IndexInfoPB::clear_table_id() { |
7088 | 0 | table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7089 | 0 | clear_has_table_id(); |
7090 | 0 | } |
7091 | 1.00M | inline const ::std::string& IndexInfoPB::table_id() const { |
7092 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.table_id) |
7093 | 1.00M | return table_id_.GetNoArena(); |
7094 | 1.00M | } |
7095 | 117k | inline void IndexInfoPB::set_table_id(const ::std::string& value) { |
7096 | 117k | set_has_table_id(); |
7097 | 117k | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7098 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.table_id) |
7099 | 117k | } |
7100 | | #if LANG_CXX11 |
7101 | 0 | inline void IndexInfoPB::set_table_id(::std::string&& value) { |
7102 | 0 | set_has_table_id(); |
7103 | 0 | table_id_.SetNoArena( |
7104 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7105 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.IndexInfoPB.table_id) |
7106 | 0 | } |
7107 | | #endif |
7108 | 0 | inline void IndexInfoPB::set_table_id(const char* value) { |
7109 | 0 | GOOGLE_DCHECK(value != NULL); |
7110 | 0 | set_has_table_id(); |
7111 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7112 | 0 | // @@protoc_insertion_point(field_set_char:yb.IndexInfoPB.table_id) |
7113 | 0 | } |
7114 | 0 | inline void IndexInfoPB::set_table_id(const void* value, size_t size) { |
7115 | 0 | set_has_table_id(); |
7116 | 0 | table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7117 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7118 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.IndexInfoPB.table_id) |
7119 | 0 | } |
7120 | 82.3k | inline ::std::string* IndexInfoPB::mutable_table_id() { |
7121 | 82.3k | set_has_table_id(); |
7122 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.table_id) |
7123 | 82.3k | return table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7124 | 82.3k | } |
7125 | 0 | inline ::std::string* IndexInfoPB::release_table_id() { |
7126 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.table_id) |
7127 | 0 | clear_has_table_id(); |
7128 | 0 | return table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7129 | 0 | } |
7130 | 0 | inline void IndexInfoPB::set_allocated_table_id(::std::string* table_id) { |
7131 | 0 | if (table_id != NULL) { |
7132 | 0 | set_has_table_id(); |
7133 | 0 | } else { |
7134 | 0 | clear_has_table_id(); |
7135 | 0 | } |
7136 | 0 | table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), table_id); |
7137 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.table_id) |
7138 | 0 | } |
7139 | | |
7140 | | // optional bytes indexed_table_id = 8; |
7141 | 689k | inline bool IndexInfoPB::has_indexed_table_id() const { |
7142 | 689k | return (_has_bits_[0] & 0x00000002u) != 0; |
7143 | 689k | } |
7144 | 565k | inline void IndexInfoPB::set_has_indexed_table_id() { |
7145 | 565k | _has_bits_[0] |= 0x00000002u; |
7146 | 565k | } |
7147 | 0 | inline void IndexInfoPB::clear_has_indexed_table_id() { |
7148 | 0 | _has_bits_[0] &= ~0x00000002u; |
7149 | 0 | } |
7150 | 0 | inline void IndexInfoPB::clear_indexed_table_id() { |
7151 | 0 | indexed_table_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7152 | 0 | clear_has_indexed_table_id(); |
7153 | 0 | } |
7154 | 1.04M | inline const ::std::string& IndexInfoPB::indexed_table_id() const { |
7155 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.indexed_table_id) |
7156 | 1.04M | return indexed_table_id_.GetNoArena(); |
7157 | 1.04M | } |
7158 | 119k | inline void IndexInfoPB::set_indexed_table_id(const ::std::string& value) { |
7159 | 119k | set_has_indexed_table_id(); |
7160 | 119k | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7161 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.indexed_table_id) |
7162 | 119k | } |
7163 | | #if LANG_CXX11 |
7164 | 0 | inline void IndexInfoPB::set_indexed_table_id(::std::string&& value) { |
7165 | 0 | set_has_indexed_table_id(); |
7166 | 0 | indexed_table_id_.SetNoArena( |
7167 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7168 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.IndexInfoPB.indexed_table_id) |
7169 | 0 | } |
7170 | | #endif |
7171 | 0 | inline void IndexInfoPB::set_indexed_table_id(const char* value) { |
7172 | 0 | GOOGLE_DCHECK(value != NULL); |
7173 | 0 | set_has_indexed_table_id(); |
7174 | 0 | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7175 | 0 | // @@protoc_insertion_point(field_set_char:yb.IndexInfoPB.indexed_table_id) |
7176 | 0 | } |
7177 | 0 | inline void IndexInfoPB::set_indexed_table_id(const void* value, size_t size) { |
7178 | 0 | set_has_indexed_table_id(); |
7179 | 0 | indexed_table_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7180 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7181 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.IndexInfoPB.indexed_table_id) |
7182 | 0 | } |
7183 | 208k | inline ::std::string* IndexInfoPB::mutable_indexed_table_id() { |
7184 | 208k | set_has_indexed_table_id(); |
7185 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.indexed_table_id) |
7186 | 208k | return indexed_table_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7187 | 208k | } |
7188 | 0 | inline ::std::string* IndexInfoPB::release_indexed_table_id() { |
7189 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.indexed_table_id) |
7190 | 0 | clear_has_indexed_table_id(); |
7191 | 0 | return indexed_table_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7192 | 0 | } |
7193 | 0 | inline void IndexInfoPB::set_allocated_indexed_table_id(::std::string* indexed_table_id) { |
7194 | 0 | if (indexed_table_id != NULL) { |
7195 | 0 | set_has_indexed_table_id(); |
7196 | 0 | } else { |
7197 | 0 | clear_has_indexed_table_id(); |
7198 | 0 | } |
7199 | 0 | indexed_table_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), indexed_table_id); |
7200 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.indexed_table_id) |
7201 | 0 | } |
7202 | | |
7203 | | // optional uint32 version = 2 [default = 0]; |
7204 | 558k | inline bool IndexInfoPB::has_version() const { |
7205 | 558k | return (_has_bits_[0] & 0x00000010u) != 0; |
7206 | 558k | } |
7207 | 118k | inline void IndexInfoPB::set_has_version() { |
7208 | 118k | _has_bits_[0] |= 0x00000010u; |
7209 | 118k | } |
7210 | 0 | inline void IndexInfoPB::clear_has_version() { |
7211 | 0 | _has_bits_[0] &= ~0x00000010u; |
7212 | 0 | } |
7213 | 0 | inline void IndexInfoPB::clear_version() { |
7214 | 0 | version_ = 0u; |
7215 | 0 | clear_has_version(); |
7216 | 0 | } |
7217 | 354k | inline ::google::protobuf::uint32 IndexInfoPB::version() const { |
7218 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.version) |
7219 | 354k | return version_; |
7220 | 354k | } |
7221 | 117k | inline void IndexInfoPB::set_version(::google::protobuf::uint32 value) { |
7222 | 117k | set_has_version(); |
7223 | 117k | version_ = value; |
7224 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.version) |
7225 | 117k | } |
7226 | | |
7227 | | // optional bool is_local = 3 [default = false]; |
7228 | 557k | inline bool IndexInfoPB::has_is_local() const { |
7229 | 557k | return (_has_bits_[0] & 0x00000080u) != 0; |
7230 | 557k | } |
7231 | 194k | inline void IndexInfoPB::set_has_is_local() { |
7232 | 194k | _has_bits_[0] |= 0x00000080u; |
7233 | 194k | } |
7234 | 0 | inline void IndexInfoPB::clear_has_is_local() { |
7235 | 0 | _has_bits_[0] &= ~0x00000080u; |
7236 | 0 | } |
7237 | 0 | inline void IndexInfoPB::clear_is_local() { |
7238 | 0 | is_local_ = false; |
7239 | 0 | clear_has_is_local(); |
7240 | 0 | } |
7241 | 401k | inline bool IndexInfoPB::is_local() const { |
7242 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.is_local) |
7243 | 401k | return is_local_; |
7244 | 401k | } |
7245 | 117k | inline void IndexInfoPB::set_is_local(bool value) { |
7246 | 117k | set_has_is_local(); |
7247 | 117k | is_local_ = value; |
7248 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.is_local) |
7249 | 117k | } |
7250 | | |
7251 | | // optional bool is_unique = 7 [default = false]; |
7252 | 532k | inline bool IndexInfoPB::has_is_unique() const { |
7253 | 532k | return (_has_bits_[0] & 0x00000100u) != 0; |
7254 | 532k | } |
7255 | 292k | inline void IndexInfoPB::set_has_is_unique() { |
7256 | 292k | _has_bits_[0] |= 0x00000100u; |
7257 | 292k | } |
7258 | 0 | inline void IndexInfoPB::clear_has_is_unique() { |
7259 | 0 | _has_bits_[0] &= ~0x00000100u; |
7260 | 0 | } |
7261 | 0 | inline void IndexInfoPB::clear_is_unique() { |
7262 | 0 | is_unique_ = false; |
7263 | 0 | clear_has_is_unique(); |
7264 | 0 | } |
7265 | 439k | inline bool IndexInfoPB::is_unique() const { |
7266 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.is_unique) |
7267 | 439k | return is_unique_; |
7268 | 439k | } |
7269 | 118k | inline void IndexInfoPB::set_is_unique(bool value) { |
7270 | 118k | set_has_is_unique(); |
7271 | 118k | is_unique_ = value; |
7272 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.is_unique) |
7273 | 118k | } |
7274 | | |
7275 | | // optional .yb.IndexPermissions index_permissions = 12 [default = INDEX_PERM_READ_WRITE_AND_DELETE]; |
7276 | 537k | inline bool IndexInfoPB::has_index_permissions() const { |
7277 | 537k | return (_has_bits_[0] & 0x00000800u) != 0; |
7278 | 537k | } |
7279 | 184k | inline void IndexInfoPB::set_has_index_permissions() { |
7280 | 184k | _has_bits_[0] |= 0x00000800u; |
7281 | 184k | } |
7282 | 0 | inline void IndexInfoPB::clear_has_index_permissions() { |
7283 | 0 | _has_bits_[0] &= ~0x00000800u; |
7284 | 0 | } |
7285 | 0 | inline void IndexInfoPB::clear_index_permissions() { |
7286 | 0 | index_permissions_ = 6; |
7287 | 0 | clear_has_index_permissions(); |
7288 | 0 | } |
7289 | 812k | inline ::yb::IndexPermissions IndexInfoPB::index_permissions() const { |
7290 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.index_permissions) |
7291 | 812k | return static_cast< ::yb::IndexPermissions >(index_permissions_); |
7292 | 812k | } |
7293 | 184k | inline void IndexInfoPB::set_index_permissions(::yb::IndexPermissions value) { |
7294 | 184k | assert(::yb::IndexPermissions_IsValid(value)); |
7295 | 184k | set_has_index_permissions(); |
7296 | 184k | index_permissions_ = value; |
7297 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.index_permissions) |
7298 | 184k | } |
7299 | | |
7300 | | // repeated .yb.IndexInfoPB.IndexColumnPB columns = 4; |
7301 | 885k | inline int IndexInfoPB::columns_size() const { |
7302 | 885k | return columns_.size(); |
7303 | 885k | } |
7304 | 0 | inline void IndexInfoPB::clear_columns() { |
7305 | 0 | columns_.Clear(); |
7306 | 0 | } |
7307 | 2.84M | inline const ::yb::IndexInfoPB_IndexColumnPB& IndexInfoPB::columns(int index) const { |
7308 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.columns) |
7309 | 2.84M | return columns_.Get(index); |
7310 | 2.84M | } |
7311 | 1.71k | inline ::yb::IndexInfoPB_IndexColumnPB* IndexInfoPB::mutable_columns(int index) { |
7312 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.columns) |
7313 | 1.71k | return columns_.Mutable(index); |
7314 | 1.71k | } |
7315 | 730k | inline ::yb::IndexInfoPB_IndexColumnPB* IndexInfoPB::add_columns() { |
7316 | | // @@protoc_insertion_point(field_add:yb.IndexInfoPB.columns) |
7317 | 730k | return columns_.Add(); |
7318 | 730k | } |
7319 | | inline ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB_IndexColumnPB >* |
7320 | 0 | IndexInfoPB::mutable_columns() { |
7321 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.IndexInfoPB.columns) |
7322 | 0 | return &columns_; |
7323 | 0 | } |
7324 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::IndexInfoPB_IndexColumnPB >& |
7325 | 778k | IndexInfoPB::columns() const { |
7326 | | // @@protoc_insertion_point(field_list:yb.IndexInfoPB.columns) |
7327 | 778k | return columns_; |
7328 | 778k | } |
7329 | | |
7330 | | // optional uint32 hash_column_count = 5; |
7331 | 558k | inline bool IndexInfoPB::has_hash_column_count() const { |
7332 | 558k | return (_has_bits_[0] & 0x00000020u) != 0; |
7333 | 558k | } |
7334 | 193k | inline void IndexInfoPB::set_has_hash_column_count() { |
7335 | 193k | _has_bits_[0] |= 0x00000020u; |
7336 | 193k | } |
7337 | 0 | inline void IndexInfoPB::clear_has_hash_column_count() { |
7338 | 0 | _has_bits_[0] &= ~0x00000020u; |
7339 | 0 | } |
7340 | 0 | inline void IndexInfoPB::clear_hash_column_count() { |
7341 | 0 | hash_column_count_ = 0u; |
7342 | 0 | clear_has_hash_column_count(); |
7343 | 0 | } |
7344 | 858k | inline ::google::protobuf::uint32 IndexInfoPB::hash_column_count() const { |
7345 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.hash_column_count) |
7346 | 858k | return hash_column_count_; |
7347 | 858k | } |
7348 | 117k | inline void IndexInfoPB::set_hash_column_count(::google::protobuf::uint32 value) { |
7349 | 117k | set_has_hash_column_count(); |
7350 | 117k | hash_column_count_ = value; |
7351 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.hash_column_count) |
7352 | 117k | } |
7353 | | |
7354 | | // optional uint32 range_column_count = 6; |
7355 | 558k | inline bool IndexInfoPB::has_range_column_count() const { |
7356 | 558k | return (_has_bits_[0] & 0x00000040u) != 0; |
7357 | 558k | } |
7358 | 193k | inline void IndexInfoPB::set_has_range_column_count() { |
7359 | 193k | _has_bits_[0] |= 0x00000040u; |
7360 | 193k | } |
7361 | 0 | inline void IndexInfoPB::clear_has_range_column_count() { |
7362 | 0 | _has_bits_[0] &= ~0x00000040u; |
7363 | 0 | } |
7364 | 0 | inline void IndexInfoPB::clear_range_column_count() { |
7365 | 0 | range_column_count_ = 0u; |
7366 | 0 | clear_has_range_column_count(); |
7367 | 0 | } |
7368 | 857k | inline ::google::protobuf::uint32 IndexInfoPB::range_column_count() const { |
7369 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.range_column_count) |
7370 | 857k | return range_column_count_; |
7371 | 857k | } |
7372 | 117k | inline void IndexInfoPB::set_range_column_count(::google::protobuf::uint32 value) { |
7373 | 117k | set_has_range_column_count(); |
7374 | 117k | range_column_count_ = value; |
7375 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.range_column_count) |
7376 | 117k | } |
7377 | | |
7378 | | // repeated uint32 indexed_hash_column_ids = 9; |
7379 | 558k | inline int IndexInfoPB::indexed_hash_column_ids_size() const { |
7380 | 558k | return indexed_hash_column_ids_.size(); |
7381 | 558k | } |
7382 | 0 | inline void IndexInfoPB::clear_indexed_hash_column_ids() { |
7383 | 0 | indexed_hash_column_ids_.Clear(); |
7384 | 0 | } |
7385 | 0 | inline ::google::protobuf::uint32 IndexInfoPB::indexed_hash_column_ids(int index) const { |
7386 | 0 | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.indexed_hash_column_ids) |
7387 | 0 | return indexed_hash_column_ids_.Get(index); |
7388 | 0 | } |
7389 | 0 | inline void IndexInfoPB::set_indexed_hash_column_ids(int index, ::google::protobuf::uint32 value) { |
7390 | 0 | indexed_hash_column_ids_.Set(index, value); |
7391 | 0 | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.indexed_hash_column_ids) |
7392 | 0 | } |
7393 | 165k | inline void IndexInfoPB::add_indexed_hash_column_ids(::google::protobuf::uint32 value) { |
7394 | 165k | indexed_hash_column_ids_.Add(value); |
7395 | | // @@protoc_insertion_point(field_add:yb.IndexInfoPB.indexed_hash_column_ids) |
7396 | 165k | } |
7397 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
7398 | 120k | IndexInfoPB::indexed_hash_column_ids() const { |
7399 | | // @@protoc_insertion_point(field_list:yb.IndexInfoPB.indexed_hash_column_ids) |
7400 | 120k | return indexed_hash_column_ids_; |
7401 | 120k | } |
7402 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
7403 | 76.0k | IndexInfoPB::mutable_indexed_hash_column_ids() { |
7404 | | // @@protoc_insertion_point(field_mutable_list:yb.IndexInfoPB.indexed_hash_column_ids) |
7405 | 76.0k | return &indexed_hash_column_ids_; |
7406 | 76.0k | } |
7407 | | |
7408 | | // repeated uint32 indexed_range_column_ids = 10; |
7409 | 558k | inline int IndexInfoPB::indexed_range_column_ids_size() const { |
7410 | 558k | return indexed_range_column_ids_.size(); |
7411 | 558k | } |
7412 | 0 | inline void IndexInfoPB::clear_indexed_range_column_ids() { |
7413 | 0 | indexed_range_column_ids_.Clear(); |
7414 | 0 | } |
7415 | 0 | inline ::google::protobuf::uint32 IndexInfoPB::indexed_range_column_ids(int index) const { |
7416 | 0 | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.indexed_range_column_ids) |
7417 | 0 | return indexed_range_column_ids_.Get(index); |
7418 | 0 | } |
7419 | 0 | inline void IndexInfoPB::set_indexed_range_column_ids(int index, ::google::protobuf::uint32 value) { |
7420 | 0 | indexed_range_column_ids_.Set(index, value); |
7421 | 0 | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.indexed_range_column_ids) |
7422 | 0 | } |
7423 | 127k | inline void IndexInfoPB::add_indexed_range_column_ids(::google::protobuf::uint32 value) { |
7424 | 127k | indexed_range_column_ids_.Add(value); |
7425 | | // @@protoc_insertion_point(field_add:yb.IndexInfoPB.indexed_range_column_ids) |
7426 | 127k | } |
7427 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
7428 | 120k | IndexInfoPB::indexed_range_column_ids() const { |
7429 | | // @@protoc_insertion_point(field_list:yb.IndexInfoPB.indexed_range_column_ids) |
7430 | 120k | return indexed_range_column_ids_; |
7431 | 120k | } |
7432 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
7433 | 46.7k | IndexInfoPB::mutable_indexed_range_column_ids() { |
7434 | | // @@protoc_insertion_point(field_mutable_list:yb.IndexInfoPB.indexed_range_column_ids) |
7435 | 46.7k | return &indexed_range_column_ids_; |
7436 | 46.7k | } |
7437 | | |
7438 | | // optional bool use_mangled_column_name = 11 [default = false]; |
7439 | 532k | inline bool IndexInfoPB::has_use_mangled_column_name() const { |
7440 | 532k | return (_has_bits_[0] & 0x00000200u) != 0; |
7441 | 532k | } |
7442 | 193k | inline void IndexInfoPB::set_has_use_mangled_column_name() { |
7443 | 193k | _has_bits_[0] |= 0x00000200u; |
7444 | 193k | } |
7445 | 0 | inline void IndexInfoPB::clear_has_use_mangled_column_name() { |
7446 | 0 | _has_bits_[0] &= ~0x00000200u; |
7447 | 0 | } |
7448 | 0 | inline void IndexInfoPB::clear_use_mangled_column_name() { |
7449 | 0 | use_mangled_column_name_ = false; |
7450 | 0 | clear_has_use_mangled_column_name(); |
7451 | 0 | } |
7452 | 397k | inline bool IndexInfoPB::use_mangled_column_name() const { |
7453 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.use_mangled_column_name) |
7454 | 397k | return use_mangled_column_name_; |
7455 | 397k | } |
7456 | 117k | inline void IndexInfoPB::set_use_mangled_column_name(bool value) { |
7457 | 117k | set_has_use_mangled_column_name(); |
7458 | 117k | use_mangled_column_name_ = value; |
7459 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.use_mangled_column_name) |
7460 | 117k | } |
7461 | | |
7462 | | // optional string backfill_error_message = 31; |
7463 | 682k | inline bool IndexInfoPB::has_backfill_error_message() const { |
7464 | 682k | return (_has_bits_[0] & 0x00000004u) != 0; |
7465 | 682k | } |
7466 | 120k | inline void IndexInfoPB::set_has_backfill_error_message() { |
7467 | 120k | _has_bits_[0] |= 0x00000004u; |
7468 | 120k | } |
7469 | 431 | inline void IndexInfoPB::clear_has_backfill_error_message() { |
7470 | 431 | _has_bits_[0] &= ~0x00000004u; |
7471 | 431 | } |
7472 | 431 | inline void IndexInfoPB::clear_backfill_error_message() { |
7473 | 431 | backfill_error_message_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7474 | 431 | clear_has_backfill_error_message(); |
7475 | 431 | } |
7476 | 588k | inline const ::std::string& IndexInfoPB::backfill_error_message() const { |
7477 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.backfill_error_message) |
7478 | 588k | return backfill_error_message_.GetNoArena(); |
7479 | 588k | } |
7480 | 117k | inline void IndexInfoPB::set_backfill_error_message(const ::std::string& value) { |
7481 | 117k | set_has_backfill_error_message(); |
7482 | 117k | backfill_error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7483 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.backfill_error_message) |
7484 | 117k | } |
7485 | | #if LANG_CXX11 |
7486 | 0 | inline void IndexInfoPB::set_backfill_error_message(::std::string&& value) { |
7487 | 0 | set_has_backfill_error_message(); |
7488 | 0 | backfill_error_message_.SetNoArena( |
7489 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7490 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.IndexInfoPB.backfill_error_message) |
7491 | 0 | } |
7492 | | #endif |
7493 | 0 | inline void IndexInfoPB::set_backfill_error_message(const char* value) { |
7494 | 0 | GOOGLE_DCHECK(value != NULL); |
7495 | 0 | set_has_backfill_error_message(); |
7496 | 0 | backfill_error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7497 | 0 | // @@protoc_insertion_point(field_set_char:yb.IndexInfoPB.backfill_error_message) |
7498 | 0 | } |
7499 | 0 | inline void IndexInfoPB::set_backfill_error_message(const char* value, size_t size) { |
7500 | 0 | set_has_backfill_error_message(); |
7501 | 0 | backfill_error_message_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7502 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7503 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.IndexInfoPB.backfill_error_message) |
7504 | 0 | } |
7505 | 1.66k | inline ::std::string* IndexInfoPB::mutable_backfill_error_message() { |
7506 | 1.66k | set_has_backfill_error_message(); |
7507 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.backfill_error_message) |
7508 | 1.66k | return backfill_error_message_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7509 | 1.66k | } |
7510 | 0 | inline ::std::string* IndexInfoPB::release_backfill_error_message() { |
7511 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.backfill_error_message) |
7512 | 0 | clear_has_backfill_error_message(); |
7513 | 0 | return backfill_error_message_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7514 | 0 | } |
7515 | 0 | inline void IndexInfoPB::set_allocated_backfill_error_message(::std::string* backfill_error_message) { |
7516 | 0 | if (backfill_error_message != NULL) { |
7517 | 0 | set_has_backfill_error_message(); |
7518 | 0 | } else { |
7519 | 0 | clear_has_backfill_error_message(); |
7520 | 0 | } |
7521 | 0 | backfill_error_message_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), backfill_error_message); |
7522 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.backfill_error_message) |
7523 | 0 | } |
7524 | | |
7525 | | // optional bool is_backfill_deferred = 32 [default = false]; |
7526 | 532k | inline bool IndexInfoPB::has_is_backfill_deferred() const { |
7527 | 532k | return (_has_bits_[0] & 0x00000400u) != 0; |
7528 | 532k | } |
7529 | 42.7k | inline void IndexInfoPB::set_has_is_backfill_deferred() { |
7530 | 42.7k | _has_bits_[0] |= 0x00000400u; |
7531 | 42.7k | } |
7532 | 439 | inline void IndexInfoPB::clear_has_is_backfill_deferred() { |
7533 | 439 | _has_bits_[0] &= ~0x00000400u; |
7534 | 439 | } |
7535 | 439 | inline void IndexInfoPB::clear_is_backfill_deferred() { |
7536 | 439 | is_backfill_deferred_ = false; |
7537 | 439 | clear_has_is_backfill_deferred(); |
7538 | 439 | } |
7539 | 88.9k | inline bool IndexInfoPB::is_backfill_deferred() const { |
7540 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.is_backfill_deferred) |
7541 | 88.9k | return is_backfill_deferred_; |
7542 | 88.9k | } |
7543 | 880 | inline void IndexInfoPB::set_is_backfill_deferred(bool value) { |
7544 | 880 | set_has_is_backfill_deferred(); |
7545 | 880 | is_backfill_deferred_ = value; |
7546 | | // @@protoc_insertion_point(field_set:yb.IndexInfoPB.is_backfill_deferred) |
7547 | 880 | } |
7548 | | |
7549 | | // optional .yb.IndexInfoPB.WherePredicateSpecPB where_predicate_spec = 33; |
7550 | 1.46M | inline bool IndexInfoPB::has_where_predicate_spec() const { |
7551 | 1.46M | return (_has_bits_[0] & 0x00000008u) != 0; |
7552 | 1.46M | } |
7553 | 55.0k | inline void IndexInfoPB::set_has_where_predicate_spec() { |
7554 | 55.0k | _has_bits_[0] |= 0x00000008u; |
7555 | 55.0k | } |
7556 | 0 | inline void IndexInfoPB::clear_has_where_predicate_spec() { |
7557 | 0 | _has_bits_[0] &= ~0x00000008u; |
7558 | 0 | } |
7559 | 0 | inline void IndexInfoPB::clear_where_predicate_spec() { |
7560 | 0 | if (where_predicate_spec_ != NULL) where_predicate_spec_->Clear(); |
7561 | 0 | clear_has_where_predicate_spec(); |
7562 | 0 | } |
7563 | 54.7k | inline const ::yb::IndexInfoPB_WherePredicateSpecPB& IndexInfoPB::where_predicate_spec() const { |
7564 | 54.7k | const ::yb::IndexInfoPB_WherePredicateSpecPB* p = where_predicate_spec_; |
7565 | | // @@protoc_insertion_point(field_get:yb.IndexInfoPB.where_predicate_spec) |
7566 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::IndexInfoPB_WherePredicateSpecPB*>( |
7567 | 18.4E | &::yb::_IndexInfoPB_WherePredicateSpecPB_default_instance_); |
7568 | 54.7k | } |
7569 | 0 | inline ::yb::IndexInfoPB_WherePredicateSpecPB* IndexInfoPB::release_where_predicate_spec() { |
7570 | 0 | // @@protoc_insertion_point(field_release:yb.IndexInfoPB.where_predicate_spec) |
7571 | 0 | clear_has_where_predicate_spec(); |
7572 | 0 | ::yb::IndexInfoPB_WherePredicateSpecPB* temp = where_predicate_spec_; |
7573 | 0 | where_predicate_spec_ = NULL; |
7574 | 0 | return temp; |
7575 | 0 | } |
7576 | 55.0k | inline ::yb::IndexInfoPB_WherePredicateSpecPB* IndexInfoPB::mutable_where_predicate_spec() { |
7577 | 55.0k | set_has_where_predicate_spec(); |
7578 | 55.0k | if (where_predicate_spec_ == NULL) { |
7579 | 54.2k | where_predicate_spec_ = new ::yb::IndexInfoPB_WherePredicateSpecPB; |
7580 | 54.2k | } |
7581 | | // @@protoc_insertion_point(field_mutable:yb.IndexInfoPB.where_predicate_spec) |
7582 | 55.0k | return where_predicate_spec_; |
7583 | 55.0k | } |
7584 | 0 | inline void IndexInfoPB::set_allocated_where_predicate_spec(::yb::IndexInfoPB_WherePredicateSpecPB* where_predicate_spec) { |
7585 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
7586 | 0 | if (message_arena == NULL) { |
7587 | 0 | delete where_predicate_spec_; |
7588 | 0 | } |
7589 | 0 | if (where_predicate_spec) { |
7590 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
7591 | 0 | if (message_arena != submessage_arena) { |
7592 | 0 | where_predicate_spec = ::google::protobuf::internal::GetOwnedMessage( |
7593 | 0 | message_arena, where_predicate_spec, submessage_arena); |
7594 | 0 | } |
7595 | 0 | set_has_where_predicate_spec(); |
7596 | 0 | } else { |
7597 | 0 | clear_has_where_predicate_spec(); |
7598 | 0 | } |
7599 | 0 | where_predicate_spec_ = where_predicate_spec; |
7600 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.IndexInfoPB.where_predicate_spec) |
7601 | 0 | } |
7602 | | |
7603 | | // ------------------------------------------------------------------- |
7604 | | |
7605 | | // PartitionSchemaPB_ColumnIdentifierPB |
7606 | | |
7607 | | // optional int32 id = 1; |
7608 | 827M | inline bool PartitionSchemaPB_ColumnIdentifierPB::has_id() const { |
7609 | 827M | return identifier_case() == kId; |
7610 | 827M | } |
7611 | 275M | inline void PartitionSchemaPB_ColumnIdentifierPB::set_has_id() { |
7612 | 275M | _oneof_case_[0] = kId; |
7613 | 275M | } |
7614 | 0 | inline void PartitionSchemaPB_ColumnIdentifierPB::clear_id() { |
7615 | 0 | if (has_id()) { |
7616 | 0 | identifier_.id_ = 0; |
7617 | 0 | clear_has_identifier(); |
7618 | 0 | } |
7619 | 0 | } |
7620 | 551M | inline ::google::protobuf::int32 PartitionSchemaPB_ColumnIdentifierPB::id() const { |
7621 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.ColumnIdentifierPB.id) |
7622 | 551M | if (has_id()) { |
7623 | 551M | return identifier_.id_; |
7624 | 551M | } |
7625 | 1 | return 0; |
7626 | 1 | } |
7627 | 275M | inline void PartitionSchemaPB_ColumnIdentifierPB::set_id(::google::protobuf::int32 value) { |
7628 | 275M | if (!has_id()) { |
7629 | 275M | clear_identifier(); |
7630 | 275M | set_has_id(); |
7631 | 275M | } |
7632 | 275M | identifier_.id_ = value; |
7633 | | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.ColumnIdentifierPB.id) |
7634 | 275M | } |
7635 | | |
7636 | | // optional string name = 2; |
7637 | 2.34k | inline bool PartitionSchemaPB_ColumnIdentifierPB::has_name() const { |
7638 | 2.34k | return identifier_case() == kName; |
7639 | 2.34k | } |
7640 | 730 | inline void PartitionSchemaPB_ColumnIdentifierPB::set_has_name() { |
7641 | 730 | _oneof_case_[0] = kName; |
7642 | 730 | } |
7643 | 0 | inline void PartitionSchemaPB_ColumnIdentifierPB::clear_name() { |
7644 | 0 | if (has_name()) { |
7645 | 0 | identifier_.name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7646 | 0 | clear_has_identifier(); |
7647 | 0 | } |
7648 | 0 | } |
7649 | 1.61k | inline const ::std::string& PartitionSchemaPB_ColumnIdentifierPB::name() const { |
7650 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7651 | 1.61k | if (has_name()) { |
7652 | 1.61k | return identifier_.name_.GetNoArena(); |
7653 | 1.61k | } |
7654 | 0 | return *&::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
7655 | 0 | } |
7656 | 578 | inline void PartitionSchemaPB_ColumnIdentifierPB::set_name(const ::std::string& value) { |
7657 | | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7658 | 578 | if (!has_name()) { |
7659 | 578 | clear_identifier(); |
7660 | 578 | set_has_name(); |
7661 | 578 | identifier_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7662 | 578 | } |
7663 | 578 | identifier_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7664 | | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7665 | 578 | } |
7666 | | #if LANG_CXX11 |
7667 | 0 | inline void PartitionSchemaPB_ColumnIdentifierPB::set_name(::std::string&& value) { |
7668 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7669 | 0 | if (!has_name()) { |
7670 | 0 | clear_identifier(); |
7671 | 0 | set_has_name(); |
7672 | 0 | identifier_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7673 | 0 | } |
7674 | 0 | identifier_.name_.SetNoArena( |
7675 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7676 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7677 | 0 | } |
7678 | | #endif |
7679 | 0 | inline void PartitionSchemaPB_ColumnIdentifierPB::set_name(const char* value) { |
7680 | 0 | GOOGLE_DCHECK(value != NULL); |
7681 | 0 | if (!has_name()) { |
7682 | 0 | clear_identifier(); |
7683 | 0 | set_has_name(); |
7684 | 0 | identifier_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7685 | 0 | } |
7686 | 0 | identifier_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7687 | 0 | ::std::string(value)); |
7688 | 0 | // @@protoc_insertion_point(field_set_char:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7689 | 0 | } |
7690 | 0 | inline void PartitionSchemaPB_ColumnIdentifierPB::set_name(const char* value, size_t size) { |
7691 | 0 | if (!has_name()) { |
7692 | 0 | clear_identifier(); |
7693 | 0 | set_has_name(); |
7694 | 0 | identifier_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7695 | 0 | } |
7696 | 0 | identifier_.name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string( |
7697 | 0 | reinterpret_cast<const char*>(value), size)); |
7698 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7699 | 0 | } |
7700 | 152 | inline ::std::string* PartitionSchemaPB_ColumnIdentifierPB::mutable_name() { |
7701 | 152 | if (!has_name()) { |
7702 | 152 | clear_identifier(); |
7703 | 152 | set_has_name(); |
7704 | 152 | identifier_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7705 | 152 | } |
7706 | | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7707 | 152 | return identifier_.name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7708 | 152 | } |
7709 | 0 | inline ::std::string* PartitionSchemaPB_ColumnIdentifierPB::release_name() { |
7710 | 0 | // @@protoc_insertion_point(field_release:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7711 | 0 | if (has_name()) { |
7712 | 0 | clear_has_identifier(); |
7713 | 0 | return identifier_.name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7714 | 0 | } else { |
7715 | 0 | return NULL; |
7716 | 0 | } |
7717 | 0 | } |
7718 | 0 | inline void PartitionSchemaPB_ColumnIdentifierPB::set_allocated_name(::std::string* name) { |
7719 | 0 | if (!has_name()) { |
7720 | 0 | identifier_.name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7721 | 0 | } |
7722 | 0 | clear_identifier(); |
7723 | 0 | if (name != NULL) { |
7724 | 0 | set_has_name(); |
7725 | 0 | identifier_.name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7726 | 0 | name); |
7727 | 0 | } |
7728 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.PartitionSchemaPB.ColumnIdentifierPB.name) |
7729 | 0 | } |
7730 | | |
7731 | 275M | inline bool PartitionSchemaPB_ColumnIdentifierPB::has_identifier() const { |
7732 | 275M | return identifier_case() != IDENTIFIER_NOT_SET; |
7733 | 275M | } |
7734 | 275M | inline void PartitionSchemaPB_ColumnIdentifierPB::clear_has_identifier() { |
7735 | 275M | _oneof_case_[0] = IDENTIFIER_NOT_SET; |
7736 | 275M | } |
7737 | 2.20G | inline PartitionSchemaPB_ColumnIdentifierPB::IdentifierCase PartitionSchemaPB_ColumnIdentifierPB::identifier_case() const { |
7738 | 2.20G | return PartitionSchemaPB_ColumnIdentifierPB::IdentifierCase(_oneof_case_[0]); |
7739 | 2.20G | } |
7740 | | // ------------------------------------------------------------------- |
7741 | | |
7742 | | // PartitionSchemaPB_RangeSplitPB |
7743 | | |
7744 | | // optional bytes column_bounds = 1; |
7745 | 2.08k | inline bool PartitionSchemaPB_RangeSplitPB::has_column_bounds() const { |
7746 | 2.08k | return (_has_bits_[0] & 0x00000001u) != 0; |
7747 | 2.08k | } |
7748 | 1.82k | inline void PartitionSchemaPB_RangeSplitPB::set_has_column_bounds() { |
7749 | 1.82k | _has_bits_[0] |= 0x00000001u; |
7750 | 1.82k | } |
7751 | 0 | inline void PartitionSchemaPB_RangeSplitPB::clear_has_column_bounds() { |
7752 | 0 | _has_bits_[0] &= ~0x00000001u; |
7753 | 0 | } |
7754 | 0 | inline void PartitionSchemaPB_RangeSplitPB::clear_column_bounds() { |
7755 | 0 | column_bounds_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7756 | 0 | clear_has_column_bounds(); |
7757 | 0 | } |
7758 | 2.54k | inline const ::std::string& PartitionSchemaPB_RangeSplitPB::column_bounds() const { |
7759 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7760 | 2.54k | return column_bounds_.GetNoArena(); |
7761 | 2.54k | } |
7762 | 785 | inline void PartitionSchemaPB_RangeSplitPB::set_column_bounds(const ::std::string& value) { |
7763 | 785 | set_has_column_bounds(); |
7764 | 785 | column_bounds_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
7765 | | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7766 | 785 | } |
7767 | | #if LANG_CXX11 |
7768 | 0 | inline void PartitionSchemaPB_RangeSplitPB::set_column_bounds(::std::string&& value) { |
7769 | 0 | set_has_column_bounds(); |
7770 | 0 | column_bounds_.SetNoArena( |
7771 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7772 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7773 | 0 | } |
7774 | | #endif |
7775 | 0 | inline void PartitionSchemaPB_RangeSplitPB::set_column_bounds(const char* value) { |
7776 | 0 | GOOGLE_DCHECK(value != NULL); |
7777 | 0 | set_has_column_bounds(); |
7778 | 0 | column_bounds_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7779 | 0 | // @@protoc_insertion_point(field_set_char:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7780 | 0 | } |
7781 | 0 | inline void PartitionSchemaPB_RangeSplitPB::set_column_bounds(const void* value, size_t size) { |
7782 | 0 | set_has_column_bounds(); |
7783 | 0 | column_bounds_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7784 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7785 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7786 | 0 | } |
7787 | 225 | inline ::std::string* PartitionSchemaPB_RangeSplitPB::mutable_column_bounds() { |
7788 | 225 | set_has_column_bounds(); |
7789 | | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7790 | 225 | return column_bounds_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7791 | 225 | } |
7792 | 0 | inline ::std::string* PartitionSchemaPB_RangeSplitPB::release_column_bounds() { |
7793 | 0 | // @@protoc_insertion_point(field_release:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7794 | 0 | clear_has_column_bounds(); |
7795 | 0 | return column_bounds_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7796 | 0 | } |
7797 | 0 | inline void PartitionSchemaPB_RangeSplitPB::set_allocated_column_bounds(::std::string* column_bounds) { |
7798 | 0 | if (column_bounds != NULL) { |
7799 | 0 | set_has_column_bounds(); |
7800 | 0 | } else { |
7801 | 0 | clear_has_column_bounds(); |
7802 | 0 | } |
7803 | 0 | column_bounds_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), column_bounds); |
7804 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.PartitionSchemaPB.RangeSplitPB.column_bounds) |
7805 | 0 | } |
7806 | | |
7807 | | // ------------------------------------------------------------------- |
7808 | | |
7809 | | // PartitionSchemaPB_RangeSchemaPB |
7810 | | |
7811 | | // repeated .yb.PartitionSchemaPB.ColumnIdentifierPB columns = 1; |
7812 | 280M | inline int PartitionSchemaPB_RangeSchemaPB::columns_size() const { |
7813 | 280M | return columns_.size(); |
7814 | 280M | } |
7815 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::clear_columns() { |
7816 | 0 | columns_.Clear(); |
7817 | 0 | } |
7818 | 551M | inline const ::yb::PartitionSchemaPB_ColumnIdentifierPB& PartitionSchemaPB_RangeSchemaPB::columns(int index) const { |
7819 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.RangeSchemaPB.columns) |
7820 | 551M | return columns_.Get(index); |
7821 | 551M | } |
7822 | 0 | inline ::yb::PartitionSchemaPB_ColumnIdentifierPB* PartitionSchemaPB_RangeSchemaPB::mutable_columns(int index) { |
7823 | 0 | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.RangeSchemaPB.columns) |
7824 | 0 | return columns_.Mutable(index); |
7825 | 0 | } |
7826 | 1.41k | inline ::yb::PartitionSchemaPB_ColumnIdentifierPB* PartitionSchemaPB_RangeSchemaPB::add_columns() { |
7827 | | // @@protoc_insertion_point(field_add:yb.PartitionSchemaPB.RangeSchemaPB.columns) |
7828 | 1.41k | return columns_.Add(); |
7829 | 1.41k | } |
7830 | | inline ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >* |
7831 | 140M | PartitionSchemaPB_RangeSchemaPB::mutable_columns() { |
7832 | | // @@protoc_insertion_point(field_mutable_list:yb.PartitionSchemaPB.RangeSchemaPB.columns) |
7833 | 140M | return &columns_; |
7834 | 140M | } |
7835 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >& |
7836 | 793 | PartitionSchemaPB_RangeSchemaPB::columns() const { |
7837 | | // @@protoc_insertion_point(field_list:yb.PartitionSchemaPB.RangeSchemaPB.columns) |
7838 | 793 | return columns_; |
7839 | 793 | } |
7840 | | |
7841 | | // repeated .yb.PartitionSchemaPB.RangeSplitPB splits = 3; |
7842 | 280M | inline int PartitionSchemaPB_RangeSchemaPB::splits_size() const { |
7843 | 280M | return splits_.size(); |
7844 | 280M | } |
7845 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::clear_splits() { |
7846 | 0 | splits_.Clear(); |
7847 | 0 | } |
7848 | 2.31k | inline const ::yb::PartitionSchemaPB_RangeSplitPB& PartitionSchemaPB_RangeSchemaPB::splits(int index) const { |
7849 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.RangeSchemaPB.splits) |
7850 | 2.31k | return splits_.Get(index); |
7851 | 2.31k | } |
7852 | 0 | inline ::yb::PartitionSchemaPB_RangeSplitPB* PartitionSchemaPB_RangeSchemaPB::mutable_splits(int index) { |
7853 | 0 | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.RangeSchemaPB.splits) |
7854 | 0 | return splits_.Mutable(index); |
7855 | 0 | } |
7856 | 1.01k | inline ::yb::PartitionSchemaPB_RangeSplitPB* PartitionSchemaPB_RangeSchemaPB::add_splits() { |
7857 | | // @@protoc_insertion_point(field_add:yb.PartitionSchemaPB.RangeSchemaPB.splits) |
7858 | 1.01k | return splits_.Add(); |
7859 | 1.01k | } |
7860 | | inline ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_RangeSplitPB >* |
7861 | 0 | PartitionSchemaPB_RangeSchemaPB::mutable_splits() { |
7862 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.PartitionSchemaPB.RangeSchemaPB.splits) |
7863 | 0 | return &splits_; |
7864 | 0 | } |
7865 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_RangeSplitPB >& |
7866 | 794 | PartitionSchemaPB_RangeSchemaPB::splits() const { |
7867 | | // @@protoc_insertion_point(field_list:yb.PartitionSchemaPB.RangeSchemaPB.splits) |
7868 | 794 | return splits_; |
7869 | 794 | } |
7870 | | |
7871 | | // repeated bytes DEPRECATED_split_rows = 2; |
7872 | 420M | inline int PartitionSchemaPB_RangeSchemaPB::deprecated_split_rows_size() const { |
7873 | 420M | return deprecated_split_rows_.size(); |
7874 | 420M | } |
7875 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::clear_deprecated_split_rows() { |
7876 | 0 | deprecated_split_rows_.Clear(); |
7877 | 0 | } |
7878 | 0 | inline const ::std::string& PartitionSchemaPB_RangeSchemaPB::deprecated_split_rows(int index) const { |
7879 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7880 | 0 | return deprecated_split_rows_.Get(index); |
7881 | 0 | } |
7882 | 0 | inline ::std::string* PartitionSchemaPB_RangeSchemaPB::mutable_deprecated_split_rows(int index) { |
7883 | 0 | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7884 | 0 | return deprecated_split_rows_.Mutable(index); |
7885 | 0 | } |
7886 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::set_deprecated_split_rows(int index, const ::std::string& value) { |
7887 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7888 | 0 | deprecated_split_rows_.Mutable(index)->assign(value); |
7889 | 0 | } |
7890 | | #if LANG_CXX11 |
7891 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::set_deprecated_split_rows(int index, ::std::string&& value) { |
7892 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7893 | 0 | deprecated_split_rows_.Mutable(index)->assign(std::move(value)); |
7894 | 0 | } |
7895 | | #endif |
7896 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::set_deprecated_split_rows(int index, const char* value) { |
7897 | 0 | GOOGLE_DCHECK(value != NULL); |
7898 | 0 | deprecated_split_rows_.Mutable(index)->assign(value); |
7899 | 0 | // @@protoc_insertion_point(field_set_char:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7900 | 0 | } |
7901 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::set_deprecated_split_rows(int index, const void* value, size_t size) { |
7902 | 0 | deprecated_split_rows_.Mutable(index)->assign( |
7903 | 0 | reinterpret_cast<const char*>(value), size); |
7904 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7905 | 0 | } |
7906 | 0 | inline ::std::string* PartitionSchemaPB_RangeSchemaPB::add_deprecated_split_rows() { |
7907 | 0 | // @@protoc_insertion_point(field_add_mutable:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7908 | 0 | return deprecated_split_rows_.Add(); |
7909 | 0 | } |
7910 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::add_deprecated_split_rows(const ::std::string& value) { |
7911 | 0 | deprecated_split_rows_.Add()->assign(value); |
7912 | 0 | // @@protoc_insertion_point(field_add:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7913 | 0 | } |
7914 | | #if LANG_CXX11 |
7915 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::add_deprecated_split_rows(::std::string&& value) { |
7916 | 0 | deprecated_split_rows_.Add(std::move(value)); |
7917 | 0 | // @@protoc_insertion_point(field_add:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7918 | 0 | } |
7919 | | #endif |
7920 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::add_deprecated_split_rows(const char* value) { |
7921 | 0 | GOOGLE_DCHECK(value != NULL); |
7922 | 0 | deprecated_split_rows_.Add()->assign(value); |
7923 | 0 | // @@protoc_insertion_point(field_add_char:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7924 | 0 | } |
7925 | 0 | inline void PartitionSchemaPB_RangeSchemaPB::add_deprecated_split_rows(const void* value, size_t size) { |
7926 | 0 | deprecated_split_rows_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7927 | 0 | // @@protoc_insertion_point(field_add_pointer:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7928 | 0 | } |
7929 | | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
7930 | 0 | PartitionSchemaPB_RangeSchemaPB::deprecated_split_rows() const { |
7931 | 0 | // @@protoc_insertion_point(field_list:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7932 | 0 | return deprecated_split_rows_; |
7933 | 0 | } |
7934 | | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
7935 | 0 | PartitionSchemaPB_RangeSchemaPB::mutable_deprecated_split_rows() { |
7936 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.PartitionSchemaPB.RangeSchemaPB.DEPRECATED_split_rows) |
7937 | 0 | return &deprecated_split_rows_; |
7938 | 0 | } |
7939 | | |
7940 | | // ------------------------------------------------------------------- |
7941 | | |
7942 | | // PartitionSchemaPB_HashBucketSchemaPB |
7943 | | |
7944 | | // repeated .yb.PartitionSchemaPB.ColumnIdentifierPB columns = 1; |
7945 | 0 | inline int PartitionSchemaPB_HashBucketSchemaPB::columns_size() const { |
7946 | 0 | return columns_.size(); |
7947 | 0 | } |
7948 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_columns() { |
7949 | 0 | columns_.Clear(); |
7950 | 0 | } |
7951 | 0 | inline const ::yb::PartitionSchemaPB_ColumnIdentifierPB& PartitionSchemaPB_HashBucketSchemaPB::columns(int index) const { |
7952 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.HashBucketSchemaPB.columns) |
7953 | 0 | return columns_.Get(index); |
7954 | 0 | } |
7955 | 0 | inline ::yb::PartitionSchemaPB_ColumnIdentifierPB* PartitionSchemaPB_HashBucketSchemaPB::mutable_columns(int index) { |
7956 | 0 | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.HashBucketSchemaPB.columns) |
7957 | 0 | return columns_.Mutable(index); |
7958 | 0 | } |
7959 | 0 | inline ::yb::PartitionSchemaPB_ColumnIdentifierPB* PartitionSchemaPB_HashBucketSchemaPB::add_columns() { |
7960 | 0 | // @@protoc_insertion_point(field_add:yb.PartitionSchemaPB.HashBucketSchemaPB.columns) |
7961 | 0 | return columns_.Add(); |
7962 | 0 | } |
7963 | | inline ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >* |
7964 | 0 | PartitionSchemaPB_HashBucketSchemaPB::mutable_columns() { |
7965 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.PartitionSchemaPB.HashBucketSchemaPB.columns) |
7966 | 0 | return &columns_; |
7967 | 0 | } |
7968 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_ColumnIdentifierPB >& |
7969 | 0 | PartitionSchemaPB_HashBucketSchemaPB::columns() const { |
7970 | 0 | // @@protoc_insertion_point(field_list:yb.PartitionSchemaPB.HashBucketSchemaPB.columns) |
7971 | 0 | return columns_; |
7972 | 0 | } |
7973 | | |
7974 | | // required int32 num_buckets = 2; |
7975 | 0 | inline bool PartitionSchemaPB_HashBucketSchemaPB::has_num_buckets() const { |
7976 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
7977 | 0 | } |
7978 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::set_has_num_buckets() { |
7979 | 0 | _has_bits_[0] |= 0x00000001u; |
7980 | 0 | } |
7981 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_has_num_buckets() { |
7982 | 0 | _has_bits_[0] &= ~0x00000001u; |
7983 | 0 | } |
7984 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_num_buckets() { |
7985 | 0 | num_buckets_ = 0; |
7986 | 0 | clear_has_num_buckets(); |
7987 | 0 | } |
7988 | 0 | inline ::google::protobuf::int32 PartitionSchemaPB_HashBucketSchemaPB::num_buckets() const { |
7989 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.HashBucketSchemaPB.num_buckets) |
7990 | 0 | return num_buckets_; |
7991 | 0 | } |
7992 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::set_num_buckets(::google::protobuf::int32 value) { |
7993 | 0 | set_has_num_buckets(); |
7994 | 0 | num_buckets_ = value; |
7995 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.HashBucketSchemaPB.num_buckets) |
7996 | 0 | } |
7997 | | |
7998 | | // optional uint32 seed = 3; |
7999 | 0 | inline bool PartitionSchemaPB_HashBucketSchemaPB::has_seed() const { |
8000 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
8001 | 0 | } |
8002 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::set_has_seed() { |
8003 | 0 | _has_bits_[0] |= 0x00000002u; |
8004 | 0 | } |
8005 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_has_seed() { |
8006 | 0 | _has_bits_[0] &= ~0x00000002u; |
8007 | 0 | } |
8008 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_seed() { |
8009 | 0 | seed_ = 0u; |
8010 | 0 | clear_has_seed(); |
8011 | 0 | } |
8012 | 0 | inline ::google::protobuf::uint32 PartitionSchemaPB_HashBucketSchemaPB::seed() const { |
8013 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.HashBucketSchemaPB.seed) |
8014 | 0 | return seed_; |
8015 | 0 | } |
8016 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::set_seed(::google::protobuf::uint32 value) { |
8017 | 0 | set_has_seed(); |
8018 | 0 | seed_ = value; |
8019 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.HashBucketSchemaPB.seed) |
8020 | 0 | } |
8021 | | |
8022 | | // optional .yb.PartitionSchemaPB.HashBucketSchemaPB.HashAlgorithm hash_algorithm = 4; |
8023 | 0 | inline bool PartitionSchemaPB_HashBucketSchemaPB::has_hash_algorithm() const { |
8024 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
8025 | 0 | } |
8026 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::set_has_hash_algorithm() { |
8027 | 0 | _has_bits_[0] |= 0x00000004u; |
8028 | 0 | } |
8029 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_has_hash_algorithm() { |
8030 | 0 | _has_bits_[0] &= ~0x00000004u; |
8031 | 0 | } |
8032 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::clear_hash_algorithm() { |
8033 | 0 | hash_algorithm_ = 0; |
8034 | 0 | clear_has_hash_algorithm(); |
8035 | 0 | } |
8036 | 0 | inline ::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm PartitionSchemaPB_HashBucketSchemaPB::hash_algorithm() const { |
8037 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.HashBucketSchemaPB.hash_algorithm) |
8038 | 0 | return static_cast< ::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm >(hash_algorithm_); |
8039 | 0 | } |
8040 | 0 | inline void PartitionSchemaPB_HashBucketSchemaPB::set_hash_algorithm(::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm value) { |
8041 | 0 | assert(::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_IsValid(value)); |
8042 | 0 | set_has_hash_algorithm(); |
8043 | 0 | hash_algorithm_ = value; |
8044 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.HashBucketSchemaPB.hash_algorithm) |
8045 | 0 | } |
8046 | | |
8047 | | // ------------------------------------------------------------------- |
8048 | | |
8049 | | // PartitionSchemaPB |
8050 | | |
8051 | | // repeated .yb.PartitionSchemaPB.HashBucketSchemaPB hash_bucket_schemas = 1; |
8052 | 284M | inline int PartitionSchemaPB::hash_bucket_schemas_size() const { |
8053 | 284M | return hash_bucket_schemas_.size(); |
8054 | 284M | } |
8055 | 0 | inline void PartitionSchemaPB::clear_hash_bucket_schemas() { |
8056 | 0 | hash_bucket_schemas_.Clear(); |
8057 | 0 | } |
8058 | 0 | inline const ::yb::PartitionSchemaPB_HashBucketSchemaPB& PartitionSchemaPB::hash_bucket_schemas(int index) const { |
8059 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.hash_bucket_schemas) |
8060 | 0 | return hash_bucket_schemas_.Get(index); |
8061 | 0 | } |
8062 | 0 | inline ::yb::PartitionSchemaPB_HashBucketSchemaPB* PartitionSchemaPB::mutable_hash_bucket_schemas(int index) { |
8063 | 0 | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.hash_bucket_schemas) |
8064 | 0 | return hash_bucket_schemas_.Mutable(index); |
8065 | 0 | } |
8066 | 0 | inline ::yb::PartitionSchemaPB_HashBucketSchemaPB* PartitionSchemaPB::add_hash_bucket_schemas() { |
8067 | 0 | // @@protoc_insertion_point(field_add:yb.PartitionSchemaPB.hash_bucket_schemas) |
8068 | 0 | return hash_bucket_schemas_.Add(); |
8069 | 0 | } |
8070 | | inline ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_HashBucketSchemaPB >* |
8071 | 0 | PartitionSchemaPB::mutable_hash_bucket_schemas() { |
8072 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.PartitionSchemaPB.hash_bucket_schemas) |
8073 | 0 | return &hash_bucket_schemas_; |
8074 | 0 | } |
8075 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::PartitionSchemaPB_HashBucketSchemaPB >& |
8076 | 143M | PartitionSchemaPB::hash_bucket_schemas() const { |
8077 | | // @@protoc_insertion_point(field_list:yb.PartitionSchemaPB.hash_bucket_schemas) |
8078 | 143M | return hash_bucket_schemas_; |
8079 | 143M | } |
8080 | | |
8081 | | // optional .yb.PartitionSchemaPB.RangeSchemaPB range_schema = 2; |
8082 | 142M | inline bool PartitionSchemaPB::has_range_schema() const { |
8083 | 142M | return (_has_bits_[0] & 0x00000001u) != 0; |
8084 | 142M | } |
8085 | 140M | inline void PartitionSchemaPB::set_has_range_schema() { |
8086 | 140M | _has_bits_[0] |= 0x00000001u; |
8087 | 140M | } |
8088 | 0 | inline void PartitionSchemaPB::clear_has_range_schema() { |
8089 | 0 | _has_bits_[0] &= ~0x00000001u; |
8090 | 0 | } |
8091 | 0 | inline void PartitionSchemaPB::clear_range_schema() { |
8092 | 0 | if (range_schema_ != NULL) range_schema_->Clear(); |
8093 | 0 | clear_has_range_schema(); |
8094 | 0 | } |
8095 | 1.55k | inline const ::yb::PartitionSchemaPB_RangeSchemaPB& PartitionSchemaPB::range_schema() const { |
8096 | 1.55k | const ::yb::PartitionSchemaPB_RangeSchemaPB* p = range_schema_; |
8097 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.range_schema) |
8098 | 1.55k | return p != NULL ? *p : *reinterpret_cast<const ::yb::PartitionSchemaPB_RangeSchemaPB*>( |
8099 | 0 | &::yb::_PartitionSchemaPB_RangeSchemaPB_default_instance_); |
8100 | 1.55k | } |
8101 | 0 | inline ::yb::PartitionSchemaPB_RangeSchemaPB* PartitionSchemaPB::release_range_schema() { |
8102 | 0 | // @@protoc_insertion_point(field_release:yb.PartitionSchemaPB.range_schema) |
8103 | 0 | clear_has_range_schema(); |
8104 | 0 | ::yb::PartitionSchemaPB_RangeSchemaPB* temp = range_schema_; |
8105 | 0 | range_schema_ = NULL; |
8106 | 0 | return temp; |
8107 | 0 | } |
8108 | 140M | inline ::yb::PartitionSchemaPB_RangeSchemaPB* PartitionSchemaPB::mutable_range_schema() { |
8109 | 140M | set_has_range_schema(); |
8110 | 140M | if (range_schema_ == NULL) { |
8111 | 140M | range_schema_ = new ::yb::PartitionSchemaPB_RangeSchemaPB; |
8112 | 140M | } |
8113 | | // @@protoc_insertion_point(field_mutable:yb.PartitionSchemaPB.range_schema) |
8114 | 140M | return range_schema_; |
8115 | 140M | } |
8116 | 0 | inline void PartitionSchemaPB::set_allocated_range_schema(::yb::PartitionSchemaPB_RangeSchemaPB* range_schema) { |
8117 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8118 | 0 | if (message_arena == NULL) { |
8119 | 0 | delete range_schema_; |
8120 | 0 | } |
8121 | 0 | if (range_schema) { |
8122 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8123 | 0 | if (message_arena != submessage_arena) { |
8124 | 0 | range_schema = ::google::protobuf::internal::GetOwnedMessage( |
8125 | 0 | message_arena, range_schema, submessage_arena); |
8126 | 0 | } |
8127 | 0 | set_has_range_schema(); |
8128 | 0 | } else { |
8129 | 0 | clear_has_range_schema(); |
8130 | 0 | } |
8131 | 0 | range_schema_ = range_schema; |
8132 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.PartitionSchemaPB.range_schema) |
8133 | 0 | } |
8134 | | |
8135 | | // optional .yb.PartitionSchemaPB.HashSchema hash_schema = 3; |
8136 | 142M | inline bool PartitionSchemaPB::has_hash_schema() const { |
8137 | 142M | return (_has_bits_[0] & 0x00000002u) != 0; |
8138 | 142M | } |
8139 | 550k | inline void PartitionSchemaPB::set_has_hash_schema() { |
8140 | 550k | _has_bits_[0] |= 0x00000002u; |
8141 | 550k | } |
8142 | 0 | inline void PartitionSchemaPB::clear_has_hash_schema() { |
8143 | 0 | _has_bits_[0] &= ~0x00000002u; |
8144 | 0 | } |
8145 | 0 | inline void PartitionSchemaPB::clear_hash_schema() { |
8146 | 0 | hash_schema_ = 1; |
8147 | 0 | clear_has_hash_schema(); |
8148 | 0 | } |
8149 | 1.41M | inline ::yb::PartitionSchemaPB_HashSchema PartitionSchemaPB::hash_schema() const { |
8150 | | // @@protoc_insertion_point(field_get:yb.PartitionSchemaPB.hash_schema) |
8151 | 1.41M | return static_cast< ::yb::PartitionSchemaPB_HashSchema >(hash_schema_); |
8152 | 1.41M | } |
8153 | 549k | inline void PartitionSchemaPB::set_hash_schema(::yb::PartitionSchemaPB_HashSchema value) { |
8154 | 549k | assert(::yb::PartitionSchemaPB_HashSchema_IsValid(value)); |
8155 | 549k | set_has_hash_schema(); |
8156 | 549k | hash_schema_ = value; |
8157 | | // @@protoc_insertion_point(field_set:yb.PartitionSchemaPB.hash_schema) |
8158 | 549k | } |
8159 | | |
8160 | | // ------------------------------------------------------------------- |
8161 | | |
8162 | | // PartitionPB |
8163 | | |
8164 | | // repeated int32 hash_buckets = 1 [packed = true]; |
8165 | 1.32M | inline int PartitionPB::hash_buckets_size() const { |
8166 | 1.32M | return hash_buckets_.size(); |
8167 | 1.32M | } |
8168 | 0 | inline void PartitionPB::clear_hash_buckets() { |
8169 | 0 | hash_buckets_.Clear(); |
8170 | 0 | } |
8171 | 0 | inline ::google::protobuf::int32 PartitionPB::hash_buckets(int index) const { |
8172 | 0 | // @@protoc_insertion_point(field_get:yb.PartitionPB.hash_buckets) |
8173 | 0 | return hash_buckets_.Get(index); |
8174 | 0 | } |
8175 | 0 | inline void PartitionPB::set_hash_buckets(int index, ::google::protobuf::int32 value) { |
8176 | 0 | hash_buckets_.Set(index, value); |
8177 | 0 | // @@protoc_insertion_point(field_set:yb.PartitionPB.hash_buckets) |
8178 | 0 | } |
8179 | 0 | inline void PartitionPB::add_hash_buckets(::google::protobuf::int32 value) { |
8180 | 0 | hash_buckets_.Add(value); |
8181 | 0 | // @@protoc_insertion_point(field_add:yb.PartitionPB.hash_buckets) |
8182 | 0 | } |
8183 | | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
8184 | 157k | PartitionPB::hash_buckets() const { |
8185 | | // @@protoc_insertion_point(field_list:yb.PartitionPB.hash_buckets) |
8186 | 157k | return hash_buckets_; |
8187 | 157k | } |
8188 | | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
8189 | 881k | PartitionPB::mutable_hash_buckets() { |
8190 | | // @@protoc_insertion_point(field_mutable_list:yb.PartitionPB.hash_buckets) |
8191 | 881k | return &hash_buckets_; |
8192 | 881k | } |
8193 | | |
8194 | | // optional bytes partition_key_start = 2; |
8195 | 1.72M | inline bool PartitionPB::has_partition_key_start() const { |
8196 | 1.72M | return (_has_bits_[0] & 0x00000001u) != 0; |
8197 | 1.72M | } |
8198 | 1.42M | inline void PartitionPB::set_has_partition_key_start() { |
8199 | 1.42M | _has_bits_[0] |= 0x00000001u; |
8200 | 1.42M | } |
8201 | 0 | inline void PartitionPB::clear_has_partition_key_start() { |
8202 | 0 | _has_bits_[0] &= ~0x00000001u; |
8203 | 0 | } |
8204 | 0 | inline void PartitionPB::clear_partition_key_start() { |
8205 | 0 | partition_key_start_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8206 | 0 | clear_has_partition_key_start(); |
8207 | 0 | } |
8208 | 3.86M | inline const ::std::string& PartitionPB::partition_key_start() const { |
8209 | | // @@protoc_insertion_point(field_get:yb.PartitionPB.partition_key_start) |
8210 | 3.86M | return partition_key_start_.GetNoArena(); |
8211 | 3.86M | } |
8212 | 882k | inline void PartitionPB::set_partition_key_start(const ::std::string& value) { |
8213 | 882k | set_has_partition_key_start(); |
8214 | 882k | partition_key_start_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8215 | | // @@protoc_insertion_point(field_set:yb.PartitionPB.partition_key_start) |
8216 | 882k | } |
8217 | | #if LANG_CXX11 |
8218 | 0 | inline void PartitionPB::set_partition_key_start(::std::string&& value) { |
8219 | 0 | set_has_partition_key_start(); |
8220 | 0 | partition_key_start_.SetNoArena( |
8221 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8222 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.PartitionPB.partition_key_start) |
8223 | 0 | } |
8224 | | #endif |
8225 | 1 | inline void PartitionPB::set_partition_key_start(const char* value) { |
8226 | 1 | GOOGLE_DCHECK(value != NULL); |
8227 | 1 | set_has_partition_key_start(); |
8228 | 1 | partition_key_start_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8229 | | // @@protoc_insertion_point(field_set_char:yb.PartitionPB.partition_key_start) |
8230 | 1 | } |
8231 | 0 | inline void PartitionPB::set_partition_key_start(const void* value, size_t size) { |
8232 | 0 | set_has_partition_key_start(); |
8233 | 0 | partition_key_start_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8234 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8235 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.PartitionPB.partition_key_start) |
8236 | 0 | } |
8237 | 198k | inline ::std::string* PartitionPB::mutable_partition_key_start() { |
8238 | 198k | set_has_partition_key_start(); |
8239 | | // @@protoc_insertion_point(field_mutable:yb.PartitionPB.partition_key_start) |
8240 | 198k | return partition_key_start_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8241 | 198k | } |
8242 | 0 | inline ::std::string* PartitionPB::release_partition_key_start() { |
8243 | 0 | // @@protoc_insertion_point(field_release:yb.PartitionPB.partition_key_start) |
8244 | 0 | clear_has_partition_key_start(); |
8245 | 0 | return partition_key_start_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8246 | 0 | } |
8247 | 0 | inline void PartitionPB::set_allocated_partition_key_start(::std::string* partition_key_start) { |
8248 | 0 | if (partition_key_start != NULL) { |
8249 | 0 | set_has_partition_key_start(); |
8250 | 0 | } else { |
8251 | 0 | clear_has_partition_key_start(); |
8252 | 0 | } |
8253 | 0 | partition_key_start_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), partition_key_start); |
8254 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.PartitionPB.partition_key_start) |
8255 | 0 | } |
8256 | | |
8257 | | // optional bytes partition_key_end = 3; |
8258 | 1.71M | inline bool PartitionPB::has_partition_key_end() const { |
8259 | 1.71M | return (_has_bits_[0] & 0x00000002u) != 0; |
8260 | 1.71M | } |
8261 | 1.42M | inline void PartitionPB::set_has_partition_key_end() { |
8262 | 1.42M | _has_bits_[0] |= 0x00000002u; |
8263 | 1.42M | } |
8264 | 0 | inline void PartitionPB::clear_has_partition_key_end() { |
8265 | 0 | _has_bits_[0] &= ~0x00000002u; |
8266 | 0 | } |
8267 | 0 | inline void PartitionPB::clear_partition_key_end() { |
8268 | 0 | partition_key_end_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8269 | 0 | clear_has_partition_key_end(); |
8270 | 0 | } |
8271 | 3.12M | inline const ::std::string& PartitionPB::partition_key_end() const { |
8272 | | // @@protoc_insertion_point(field_get:yb.PartitionPB.partition_key_end) |
8273 | 3.12M | return partition_key_end_.GetNoArena(); |
8274 | 3.12M | } |
8275 | 881k | inline void PartitionPB::set_partition_key_end(const ::std::string& value) { |
8276 | 881k | set_has_partition_key_end(); |
8277 | 881k | partition_key_end_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8278 | | // @@protoc_insertion_point(field_set:yb.PartitionPB.partition_key_end) |
8279 | 881k | } |
8280 | | #if LANG_CXX11 |
8281 | 0 | inline void PartitionPB::set_partition_key_end(::std::string&& value) { |
8282 | 0 | set_has_partition_key_end(); |
8283 | 0 | partition_key_end_.SetNoArena( |
8284 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8285 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.PartitionPB.partition_key_end) |
8286 | 0 | } |
8287 | | #endif |
8288 | 1 | inline void PartitionPB::set_partition_key_end(const char* value) { |
8289 | 1 | GOOGLE_DCHECK(value != NULL); |
8290 | 1 | set_has_partition_key_end(); |
8291 | 1 | partition_key_end_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8292 | | // @@protoc_insertion_point(field_set_char:yb.PartitionPB.partition_key_end) |
8293 | 1 | } |
8294 | 0 | inline void PartitionPB::set_partition_key_end(const void* value, size_t size) { |
8295 | 0 | set_has_partition_key_end(); |
8296 | 0 | partition_key_end_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8297 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8298 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.PartitionPB.partition_key_end) |
8299 | 0 | } |
8300 | 198k | inline ::std::string* PartitionPB::mutable_partition_key_end() { |
8301 | 198k | set_has_partition_key_end(); |
8302 | | // @@protoc_insertion_point(field_mutable:yb.PartitionPB.partition_key_end) |
8303 | 198k | return partition_key_end_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8304 | 198k | } |
8305 | 0 | inline ::std::string* PartitionPB::release_partition_key_end() { |
8306 | 0 | // @@protoc_insertion_point(field_release:yb.PartitionPB.partition_key_end) |
8307 | 0 | clear_has_partition_key_end(); |
8308 | 0 | return partition_key_end_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8309 | 0 | } |
8310 | 0 | inline void PartitionPB::set_allocated_partition_key_end(::std::string* partition_key_end) { |
8311 | 0 | if (partition_key_end != NULL) { |
8312 | 0 | set_has_partition_key_end(); |
8313 | 0 | } else { |
8314 | 0 | clear_has_partition_key_end(); |
8315 | 0 | } |
8316 | 0 | partition_key_end_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), partition_key_end); |
8317 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.PartitionPB.partition_key_end) |
8318 | 0 | } |
8319 | | |
8320 | | // ------------------------------------------------------------------- |
8321 | | |
8322 | | // TransactionMetadataPB |
8323 | | |
8324 | | // optional bytes transaction_id = 1; |
8325 | 15.9M | inline bool TransactionMetadataPB::has_transaction_id() const { |
8326 | 15.9M | return (_has_bits_[0] & 0x00000001u) != 0; |
8327 | 15.9M | } |
8328 | 3.25M | inline void TransactionMetadataPB::set_has_transaction_id() { |
8329 | 3.25M | _has_bits_[0] |= 0x00000001u; |
8330 | 3.25M | } |
8331 | 0 | inline void TransactionMetadataPB::clear_has_transaction_id() { |
8332 | 0 | _has_bits_[0] &= ~0x00000001u; |
8333 | 0 | } |
8334 | 0 | inline void TransactionMetadataPB::clear_transaction_id() { |
8335 | 0 | transaction_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8336 | 0 | clear_has_transaction_id(); |
8337 | 0 | } |
8338 | 17.1M | inline const ::std::string& TransactionMetadataPB::transaction_id() const { |
8339 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.transaction_id) |
8340 | 17.1M | return transaction_id_.GetNoArena(); |
8341 | 17.1M | } |
8342 | 0 | inline void TransactionMetadataPB::set_transaction_id(const ::std::string& value) { |
8343 | 0 | set_has_transaction_id(); |
8344 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8345 | 0 | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.transaction_id) |
8346 | 0 | } |
8347 | | #if LANG_CXX11 |
8348 | 0 | inline void TransactionMetadataPB::set_transaction_id(::std::string&& value) { |
8349 | 0 | set_has_transaction_id(); |
8350 | 0 | transaction_id_.SetNoArena( |
8351 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8352 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.TransactionMetadataPB.transaction_id) |
8353 | 0 | } |
8354 | | #endif |
8355 | 0 | inline void TransactionMetadataPB::set_transaction_id(const char* value) { |
8356 | 0 | GOOGLE_DCHECK(value != NULL); |
8357 | 0 | set_has_transaction_id(); |
8358 | 0 | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8359 | 0 | // @@protoc_insertion_point(field_set_char:yb.TransactionMetadataPB.transaction_id) |
8360 | 0 | } |
8361 | 985k | inline void TransactionMetadataPB::set_transaction_id(const void* value, size_t size) { |
8362 | 985k | set_has_transaction_id(); |
8363 | 985k | transaction_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8364 | 985k | ::std::string(reinterpret_cast<const char*>(value), size)); |
8365 | | // @@protoc_insertion_point(field_set_pointer:yb.TransactionMetadataPB.transaction_id) |
8366 | 985k | } |
8367 | 1.72M | inline ::std::string* TransactionMetadataPB::mutable_transaction_id() { |
8368 | 1.72M | set_has_transaction_id(); |
8369 | | // @@protoc_insertion_point(field_mutable:yb.TransactionMetadataPB.transaction_id) |
8370 | 1.72M | return transaction_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8371 | 1.72M | } |
8372 | 0 | inline ::std::string* TransactionMetadataPB::release_transaction_id() { |
8373 | 0 | // @@protoc_insertion_point(field_release:yb.TransactionMetadataPB.transaction_id) |
8374 | 0 | clear_has_transaction_id(); |
8375 | 0 | return transaction_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8376 | 0 | } |
8377 | 0 | inline void TransactionMetadataPB::set_allocated_transaction_id(::std::string* transaction_id) { |
8378 | 0 | if (transaction_id != NULL) { |
8379 | 0 | set_has_transaction_id(); |
8380 | 0 | } else { |
8381 | 0 | clear_has_transaction_id(); |
8382 | 0 | } |
8383 | 0 | transaction_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), transaction_id); |
8384 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.TransactionMetadataPB.transaction_id) |
8385 | 0 | } |
8386 | | |
8387 | | // optional .yb.IsolationLevel isolation = 2 [default = NON_TRANSACTIONAL]; |
8388 | 12.3M | inline bool TransactionMetadataPB::has_isolation() const { |
8389 | 12.3M | return (_has_bits_[0] & 0x00000020u) != 0; |
8390 | 12.3M | } |
8391 | 1.73M | inline void TransactionMetadataPB::set_has_isolation() { |
8392 | 1.73M | _has_bits_[0] |= 0x00000020u; |
8393 | 1.73M | } |
8394 | 0 | inline void TransactionMetadataPB::clear_has_isolation() { |
8395 | 0 | _has_bits_[0] &= ~0x00000020u; |
8396 | 0 | } |
8397 | 0 | inline void TransactionMetadataPB::clear_isolation() { |
8398 | 0 | isolation_ = 0; |
8399 | 0 | clear_has_isolation(); |
8400 | 0 | } |
8401 | 11.5M | inline ::yb::IsolationLevel TransactionMetadataPB::isolation() const { |
8402 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.isolation) |
8403 | 11.5M | return static_cast< ::yb::IsolationLevel >(isolation_); |
8404 | 11.5M | } |
8405 | 1.73M | inline void TransactionMetadataPB::set_isolation(::yb::IsolationLevel value) { |
8406 | 1.73M | assert(::yb::IsolationLevel_IsValid(value)); |
8407 | 1.73M | set_has_isolation(); |
8408 | 1.73M | isolation_ = value; |
8409 | | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.isolation) |
8410 | 1.73M | } |
8411 | | |
8412 | | // optional string status_tablet = 3; |
8413 | 8.90M | inline bool TransactionMetadataPB::has_status_tablet() const { |
8414 | 8.90M | return (_has_bits_[0] & 0x00000002u) != 0; |
8415 | 8.90M | } |
8416 | 2.18M | inline void TransactionMetadataPB::set_has_status_tablet() { |
8417 | 2.18M | _has_bits_[0] |= 0x00000002u; |
8418 | 2.18M | } |
8419 | 0 | inline void TransactionMetadataPB::clear_has_status_tablet() { |
8420 | 0 | _has_bits_[0] &= ~0x00000002u; |
8421 | 0 | } |
8422 | 0 | inline void TransactionMetadataPB::clear_status_tablet() { |
8423 | 0 | status_tablet_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8424 | 0 | clear_has_status_tablet(); |
8425 | 0 | } |
8426 | 18.9M | inline const ::std::string& TransactionMetadataPB::status_tablet() const { |
8427 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.status_tablet) |
8428 | 18.9M | return status_tablet_.GetNoArena(); |
8429 | 18.9M | } |
8430 | 636k | inline void TransactionMetadataPB::set_status_tablet(const ::std::string& value) { |
8431 | 636k | set_has_status_tablet(); |
8432 | 636k | status_tablet_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8433 | | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.status_tablet) |
8434 | 636k | } |
8435 | | #if LANG_CXX11 |
8436 | 0 | inline void TransactionMetadataPB::set_status_tablet(::std::string&& value) { |
8437 | 0 | set_has_status_tablet(); |
8438 | 0 | status_tablet_.SetNoArena( |
8439 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8440 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.TransactionMetadataPB.status_tablet) |
8441 | 0 | } |
8442 | | #endif |
8443 | 0 | inline void TransactionMetadataPB::set_status_tablet(const char* value) { |
8444 | 0 | GOOGLE_DCHECK(value != NULL); |
8445 | 0 | set_has_status_tablet(); |
8446 | 0 | status_tablet_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8447 | 0 | // @@protoc_insertion_point(field_set_char:yb.TransactionMetadataPB.status_tablet) |
8448 | 0 | } |
8449 | 0 | inline void TransactionMetadataPB::set_status_tablet(const char* value, size_t size) { |
8450 | 0 | set_has_status_tablet(); |
8451 | 0 | status_tablet_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8452 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8453 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.TransactionMetadataPB.status_tablet) |
8454 | 0 | } |
8455 | 1.09M | inline ::std::string* TransactionMetadataPB::mutable_status_tablet() { |
8456 | 1.09M | set_has_status_tablet(); |
8457 | | // @@protoc_insertion_point(field_mutable:yb.TransactionMetadataPB.status_tablet) |
8458 | 1.09M | return status_tablet_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8459 | 1.09M | } |
8460 | 0 | inline ::std::string* TransactionMetadataPB::release_status_tablet() { |
8461 | 0 | // @@protoc_insertion_point(field_release:yb.TransactionMetadataPB.status_tablet) |
8462 | 0 | clear_has_status_tablet(); |
8463 | 0 | return status_tablet_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8464 | 0 | } |
8465 | 0 | inline void TransactionMetadataPB::set_allocated_status_tablet(::std::string* status_tablet) { |
8466 | 0 | if (status_tablet != NULL) { |
8467 | 0 | set_has_status_tablet(); |
8468 | 0 | } else { |
8469 | 0 | clear_has_status_tablet(); |
8470 | 0 | } |
8471 | 0 | status_tablet_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), status_tablet); |
8472 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.TransactionMetadataPB.status_tablet) |
8473 | 0 | } |
8474 | | |
8475 | | // optional fixed64 priority = 4; |
8476 | 7.74M | inline bool TransactionMetadataPB::has_priority() const { |
8477 | 7.74M | return (_has_bits_[0] & 0x00000004u) != 0; |
8478 | 7.74M | } |
8479 | 1.73M | inline void TransactionMetadataPB::set_has_priority() { |
8480 | 1.73M | _has_bits_[0] |= 0x00000004u; |
8481 | 1.73M | } |
8482 | 0 | inline void TransactionMetadataPB::clear_has_priority() { |
8483 | 0 | _has_bits_[0] &= ~0x00000004u; |
8484 | 0 | } |
8485 | 0 | inline void TransactionMetadataPB::clear_priority() { |
8486 | 0 | priority_ = GOOGLE_ULONGLONG(0); |
8487 | 0 | clear_has_priority(); |
8488 | 0 | } |
8489 | 4.59M | inline ::google::protobuf::uint64 TransactionMetadataPB::priority() const { |
8490 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.priority) |
8491 | 4.59M | return priority_; |
8492 | 4.59M | } |
8493 | 636k | inline void TransactionMetadataPB::set_priority(::google::protobuf::uint64 value) { |
8494 | 636k | set_has_priority(); |
8495 | 636k | priority_ = value; |
8496 | | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.priority) |
8497 | 636k | } |
8498 | | |
8499 | | // optional fixed64 start_hybrid_time = 5; |
8500 | 7.74M | inline bool TransactionMetadataPB::has_start_hybrid_time() const { |
8501 | 7.74M | return (_has_bits_[0] & 0x00000008u) != 0; |
8502 | 7.74M | } |
8503 | 1.73M | inline void TransactionMetadataPB::set_has_start_hybrid_time() { |
8504 | 1.73M | _has_bits_[0] |= 0x00000008u; |
8505 | 1.73M | } |
8506 | 0 | inline void TransactionMetadataPB::clear_has_start_hybrid_time() { |
8507 | 0 | _has_bits_[0] &= ~0x00000008u; |
8508 | 0 | } |
8509 | 0 | inline void TransactionMetadataPB::clear_start_hybrid_time() { |
8510 | 0 | start_hybrid_time_ = GOOGLE_ULONGLONG(0); |
8511 | 0 | clear_has_start_hybrid_time(); |
8512 | 0 | } |
8513 | 4.59M | inline ::google::protobuf::uint64 TransactionMetadataPB::start_hybrid_time() const { |
8514 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.start_hybrid_time) |
8515 | 4.59M | return start_hybrid_time_; |
8516 | 4.59M | } |
8517 | 636k | inline void TransactionMetadataPB::set_start_hybrid_time(::google::protobuf::uint64 value) { |
8518 | 636k | set_has_start_hybrid_time(); |
8519 | 636k | start_hybrid_time_ = value; |
8520 | | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.start_hybrid_time) |
8521 | 636k | } |
8522 | | |
8523 | | // optional fixed64 metadata_write_time = 6; |
8524 | 7.74M | inline bool TransactionMetadataPB::has_metadata_write_time() const { |
8525 | 7.74M | return (_has_bits_[0] & 0x00000010u) != 0; |
8526 | 7.74M | } |
8527 | 969k | inline void TransactionMetadataPB::set_has_metadata_write_time() { |
8528 | 969k | _has_bits_[0] |= 0x00000010u; |
8529 | 969k | } |
8530 | 0 | inline void TransactionMetadataPB::clear_has_metadata_write_time() { |
8531 | 0 | _has_bits_[0] &= ~0x00000010u; |
8532 | 0 | } |
8533 | 0 | inline void TransactionMetadataPB::clear_metadata_write_time() { |
8534 | 0 | metadata_write_time_ = GOOGLE_ULONGLONG(0); |
8535 | 0 | clear_has_metadata_write_time(); |
8536 | 0 | } |
8537 | 967k | inline ::google::protobuf::uint64 TransactionMetadataPB::metadata_write_time() const { |
8538 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.metadata_write_time) |
8539 | 967k | return metadata_write_time_; |
8540 | 967k | } |
8541 | 969k | inline void TransactionMetadataPB::set_metadata_write_time(::google::protobuf::uint64 value) { |
8542 | 969k | set_has_metadata_write_time(); |
8543 | 969k | metadata_write_time_ = value; |
8544 | | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.metadata_write_time) |
8545 | 969k | } |
8546 | | |
8547 | | // optional .yb.TransactionLocality locality = 7; |
8548 | 9.22M | inline bool TransactionMetadataPB::has_locality() const { |
8549 | 9.22M | return (_has_bits_[0] & 0x00000040u) != 0; |
8550 | 9.22M | } |
8551 | 1.73M | inline void TransactionMetadataPB::set_has_locality() { |
8552 | 1.73M | _has_bits_[0] |= 0x00000040u; |
8553 | 1.73M | } |
8554 | 0 | inline void TransactionMetadataPB::clear_has_locality() { |
8555 | 0 | _has_bits_[0] &= ~0x00000040u; |
8556 | 0 | } |
8557 | 0 | inline void TransactionMetadataPB::clear_locality() { |
8558 | 0 | locality_ = 1; |
8559 | 0 | clear_has_locality(); |
8560 | 0 | } |
8561 | 10.5M | inline ::yb::TransactionLocality TransactionMetadataPB::locality() const { |
8562 | | // @@protoc_insertion_point(field_get:yb.TransactionMetadataPB.locality) |
8563 | 10.5M | return static_cast< ::yb::TransactionLocality >(locality_); |
8564 | 10.5M | } |
8565 | 1.73M | inline void TransactionMetadataPB::set_locality(::yb::TransactionLocality value) { |
8566 | 1.73M | assert(::yb::TransactionLocality_IsValid(value)); |
8567 | 1.73M | set_has_locality(); |
8568 | 1.73M | locality_ = value; |
8569 | | // @@protoc_insertion_point(field_set:yb.TransactionMetadataPB.locality) |
8570 | 1.73M | } |
8571 | | |
8572 | | // ------------------------------------------------------------------- |
8573 | | |
8574 | | // ReadHybridTimePB |
8575 | | |
8576 | | // optional fixed64 read_ht = 1; |
8577 | 3.54M | inline bool ReadHybridTimePB::has_read_ht() const { |
8578 | 3.54M | return (_has_bits_[0] & 0x00000001u) != 0; |
8579 | 3.54M | } |
8580 | 7.00M | inline void ReadHybridTimePB::set_has_read_ht() { |
8581 | 7.00M | _has_bits_[0] |= 0x00000001u; |
8582 | 7.00M | } |
8583 | 0 | inline void ReadHybridTimePB::clear_has_read_ht() { |
8584 | 0 | _has_bits_[0] &= ~0x00000001u; |
8585 | 0 | } |
8586 | 0 | inline void ReadHybridTimePB::clear_read_ht() { |
8587 | 0 | read_ht_ = GOOGLE_ULONGLONG(0); |
8588 | 0 | clear_has_read_ht(); |
8589 | 0 | } |
8590 | 7.87M | inline ::google::protobuf::uint64 ReadHybridTimePB::read_ht() const { |
8591 | | // @@protoc_insertion_point(field_get:yb.ReadHybridTimePB.read_ht) |
8592 | 7.87M | return read_ht_; |
8593 | 7.87M | } |
8594 | 5.45M | inline void ReadHybridTimePB::set_read_ht(::google::protobuf::uint64 value) { |
8595 | 5.45M | set_has_read_ht(); |
8596 | 5.45M | read_ht_ = value; |
8597 | | // @@protoc_insertion_point(field_set:yb.ReadHybridTimePB.read_ht) |
8598 | 5.45M | } |
8599 | | |
8600 | | // optional fixed64 DEPRECATED_max_of_read_time_and_local_limit_ht = 2; |
8601 | 3.12M | inline bool ReadHybridTimePB::has_deprecated_max_of_read_time_and_local_limit_ht() const { |
8602 | 3.12M | return (_has_bits_[0] & 0x00000002u) != 0; |
8603 | 3.12M | } |
8604 | 7.00M | inline void ReadHybridTimePB::set_has_deprecated_max_of_read_time_and_local_limit_ht() { |
8605 | 7.00M | _has_bits_[0] |= 0x00000002u; |
8606 | 7.00M | } |
8607 | 0 | inline void ReadHybridTimePB::clear_has_deprecated_max_of_read_time_and_local_limit_ht() { |
8608 | 0 | _has_bits_[0] &= ~0x00000002u; |
8609 | 0 | } |
8610 | 0 | inline void ReadHybridTimePB::clear_deprecated_max_of_read_time_and_local_limit_ht() { |
8611 | 0 | deprecated_max_of_read_time_and_local_limit_ht_ = GOOGLE_ULONGLONG(0); |
8612 | 0 | clear_has_deprecated_max_of_read_time_and_local_limit_ht(); |
8613 | 0 | } |
8614 | 1.56M | inline ::google::protobuf::uint64 ReadHybridTimePB::deprecated_max_of_read_time_and_local_limit_ht() const { |
8615 | | // @@protoc_insertion_point(field_get:yb.ReadHybridTimePB.DEPRECATED_max_of_read_time_and_local_limit_ht) |
8616 | 1.56M | return deprecated_max_of_read_time_and_local_limit_ht_; |
8617 | 1.56M | } |
8618 | 5.44M | inline void ReadHybridTimePB::set_deprecated_max_of_read_time_and_local_limit_ht(::google::protobuf::uint64 value) { |
8619 | 5.44M | set_has_deprecated_max_of_read_time_and_local_limit_ht(); |
8620 | 5.44M | deprecated_max_of_read_time_and_local_limit_ht_ = value; |
8621 | | // @@protoc_insertion_point(field_set:yb.ReadHybridTimePB.DEPRECATED_max_of_read_time_and_local_limit_ht) |
8622 | 5.44M | } |
8623 | | |
8624 | | // optional fixed64 global_limit_ht = 3; |
8625 | 3.12M | inline bool ReadHybridTimePB::has_global_limit_ht() const { |
8626 | 3.12M | return (_has_bits_[0] & 0x00000004u) != 0; |
8627 | 3.12M | } |
8628 | 7.00M | inline void ReadHybridTimePB::set_has_global_limit_ht() { |
8629 | 7.00M | _has_bits_[0] |= 0x00000004u; |
8630 | 7.00M | } |
8631 | 0 | inline void ReadHybridTimePB::clear_has_global_limit_ht() { |
8632 | 0 | _has_bits_[0] &= ~0x00000004u; |
8633 | 0 | } |
8634 | 0 | inline void ReadHybridTimePB::clear_global_limit_ht() { |
8635 | 0 | global_limit_ht_ = GOOGLE_ULONGLONG(0); |
8636 | 0 | clear_has_global_limit_ht(); |
8637 | 0 | } |
8638 | 7.84M | inline ::google::protobuf::uint64 ReadHybridTimePB::global_limit_ht() const { |
8639 | | // @@protoc_insertion_point(field_get:yb.ReadHybridTimePB.global_limit_ht) |
8640 | 7.84M | return global_limit_ht_; |
8641 | 7.84M | } |
8642 | 5.44M | inline void ReadHybridTimePB::set_global_limit_ht(::google::protobuf::uint64 value) { |
8643 | 5.44M | set_has_global_limit_ht(); |
8644 | 5.44M | global_limit_ht_ = value; |
8645 | | // @@protoc_insertion_point(field_set:yb.ReadHybridTimePB.global_limit_ht) |
8646 | 5.44M | } |
8647 | | |
8648 | | // optional fixed64 in_txn_limit_ht = 4; |
8649 | 3.12M | inline bool ReadHybridTimePB::has_in_txn_limit_ht() const { |
8650 | 3.12M | return (_has_bits_[0] & 0x00000008u) != 0; |
8651 | 3.12M | } |
8652 | 7.00M | inline void ReadHybridTimePB::set_has_in_txn_limit_ht() { |
8653 | 7.00M | _has_bits_[0] |= 0x00000008u; |
8654 | 7.00M | } |
8655 | 0 | inline void ReadHybridTimePB::clear_has_in_txn_limit_ht() { |
8656 | 0 | _has_bits_[0] &= ~0x00000008u; |
8657 | 0 | } |
8658 | 0 | inline void ReadHybridTimePB::clear_in_txn_limit_ht() { |
8659 | 0 | in_txn_limit_ht_ = GOOGLE_ULONGLONG(0); |
8660 | 0 | clear_has_in_txn_limit_ht(); |
8661 | 0 | } |
8662 | 14.1M | inline ::google::protobuf::uint64 ReadHybridTimePB::in_txn_limit_ht() const { |
8663 | | // @@protoc_insertion_point(field_get:yb.ReadHybridTimePB.in_txn_limit_ht) |
8664 | 14.1M | return in_txn_limit_ht_; |
8665 | 14.1M | } |
8666 | 5.43M | inline void ReadHybridTimePB::set_in_txn_limit_ht(::google::protobuf::uint64 value) { |
8667 | 5.43M | set_has_in_txn_limit_ht(); |
8668 | 5.43M | in_txn_limit_ht_ = value; |
8669 | | // @@protoc_insertion_point(field_set:yb.ReadHybridTimePB.in_txn_limit_ht) |
8670 | 5.43M | } |
8671 | | |
8672 | | // optional fixed64 local_limit_ht = 5; |
8673 | 9.41M | inline bool ReadHybridTimePB::has_local_limit_ht() const { |
8674 | 9.41M | return (_has_bits_[0] & 0x00000010u) != 0; |
8675 | 9.41M | } |
8676 | 7.00M | inline void ReadHybridTimePB::set_has_local_limit_ht() { |
8677 | 7.00M | _has_bits_[0] |= 0x00000010u; |
8678 | 7.00M | } |
8679 | 0 | inline void ReadHybridTimePB::clear_has_local_limit_ht() { |
8680 | 0 | _has_bits_[0] &= ~0x00000010u; |
8681 | 0 | } |
8682 | 0 | inline void ReadHybridTimePB::clear_local_limit_ht() { |
8683 | 0 | local_limit_ht_ = GOOGLE_ULONGLONG(0); |
8684 | 0 | clear_has_local_limit_ht(); |
8685 | 0 | } |
8686 | 7.84M | inline ::google::protobuf::uint64 ReadHybridTimePB::local_limit_ht() const { |
8687 | | // @@protoc_insertion_point(field_get:yb.ReadHybridTimePB.local_limit_ht) |
8688 | 7.84M | return local_limit_ht_; |
8689 | 7.84M | } |
8690 | 5.44M | inline void ReadHybridTimePB::set_local_limit_ht(::google::protobuf::uint64 value) { |
8691 | 5.44M | set_has_local_limit_ht(); |
8692 | 5.44M | local_limit_ht_ = value; |
8693 | | // @@protoc_insertion_point(field_set:yb.ReadHybridTimePB.local_limit_ht) |
8694 | 5.44M | } |
8695 | | |
8696 | | // ------------------------------------------------------------------- |
8697 | | |
8698 | | // ------------------------------------------------------------------- |
8699 | | |
8700 | | // ChildTransactionDataPB |
8701 | | |
8702 | | // optional .yb.TransactionMetadataPB metadata = 1; |
8703 | 217k | inline bool ChildTransactionDataPB::has_metadata() const { |
8704 | 217k | return (_has_bits_[0] & 0x00000001u) != 0; |
8705 | 217k | } |
8706 | 108k | inline void ChildTransactionDataPB::set_has_metadata() { |
8707 | 108k | _has_bits_[0] |= 0x00000001u; |
8708 | 108k | } |
8709 | 0 | inline void ChildTransactionDataPB::clear_has_metadata() { |
8710 | 0 | _has_bits_[0] &= ~0x00000001u; |
8711 | 0 | } |
8712 | 0 | inline void ChildTransactionDataPB::clear_metadata() { |
8713 | 0 | if (metadata_ != NULL) metadata_->Clear(); |
8714 | 0 | clear_has_metadata(); |
8715 | 0 | } |
8716 | 14.6k | inline const ::yb::TransactionMetadataPB& ChildTransactionDataPB::metadata() const { |
8717 | 14.6k | const ::yb::TransactionMetadataPB* p = metadata_; |
8718 | | // @@protoc_insertion_point(field_get:yb.ChildTransactionDataPB.metadata) |
8719 | 14.6k | return p != NULL ? *p : *reinterpret_cast<const ::yb::TransactionMetadataPB*>( |
8720 | 1 | &::yb::_TransactionMetadataPB_default_instance_); |
8721 | 14.6k | } |
8722 | 0 | inline ::yb::TransactionMetadataPB* ChildTransactionDataPB::release_metadata() { |
8723 | 0 | // @@protoc_insertion_point(field_release:yb.ChildTransactionDataPB.metadata) |
8724 | 0 | clear_has_metadata(); |
8725 | 0 | ::yb::TransactionMetadataPB* temp = metadata_; |
8726 | 0 | metadata_ = NULL; |
8727 | 0 | return temp; |
8728 | 0 | } |
8729 | 108k | inline ::yb::TransactionMetadataPB* ChildTransactionDataPB::mutable_metadata() { |
8730 | 108k | set_has_metadata(); |
8731 | 108k | if (metadata_ == NULL) { |
8732 | 108k | metadata_ = new ::yb::TransactionMetadataPB; |
8733 | 108k | } |
8734 | | // @@protoc_insertion_point(field_mutable:yb.ChildTransactionDataPB.metadata) |
8735 | 108k | return metadata_; |
8736 | 108k | } |
8737 | 0 | inline void ChildTransactionDataPB::set_allocated_metadata(::yb::TransactionMetadataPB* metadata) { |
8738 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8739 | 0 | if (message_arena == NULL) { |
8740 | 0 | delete metadata_; |
8741 | 0 | } |
8742 | 0 | if (metadata) { |
8743 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8744 | 0 | if (message_arena != submessage_arena) { |
8745 | 0 | metadata = ::google::protobuf::internal::GetOwnedMessage( |
8746 | 0 | message_arena, metadata, submessage_arena); |
8747 | 0 | } |
8748 | 0 | set_has_metadata(); |
8749 | 0 | } else { |
8750 | 0 | clear_has_metadata(); |
8751 | 0 | } |
8752 | 0 | metadata_ = metadata; |
8753 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.ChildTransactionDataPB.metadata) |
8754 | 0 | } |
8755 | | |
8756 | | // optional .yb.ReadHybridTimePB read_time = 2; |
8757 | 230k | inline bool ChildTransactionDataPB::has_read_time() const { |
8758 | 230k | return (_has_bits_[0] & 0x00000002u) != 0; |
8759 | 230k | } |
8760 | 108k | inline void ChildTransactionDataPB::set_has_read_time() { |
8761 | 108k | _has_bits_[0] |= 0x00000002u; |
8762 | 108k | } |
8763 | 0 | inline void ChildTransactionDataPB::clear_has_read_time() { |
8764 | 0 | _has_bits_[0] &= ~0x00000002u; |
8765 | 0 | } |
8766 | 0 | inline void ChildTransactionDataPB::clear_read_time() { |
8767 | 0 | if (read_time_ != NULL) read_time_->Clear(); |
8768 | 0 | clear_has_read_time(); |
8769 | 0 | } |
8770 | 14.6k | inline const ::yb::ReadHybridTimePB& ChildTransactionDataPB::read_time() const { |
8771 | 14.6k | const ::yb::ReadHybridTimePB* p = read_time_; |
8772 | | // @@protoc_insertion_point(field_get:yb.ChildTransactionDataPB.read_time) |
8773 | 14.6k | return p != NULL ? *p : *reinterpret_cast<const ::yb::ReadHybridTimePB*>( |
8774 | 0 | &::yb::_ReadHybridTimePB_default_instance_); |
8775 | 14.6k | } |
8776 | 0 | inline ::yb::ReadHybridTimePB* ChildTransactionDataPB::release_read_time() { |
8777 | 0 | // @@protoc_insertion_point(field_release:yb.ChildTransactionDataPB.read_time) |
8778 | 0 | clear_has_read_time(); |
8779 | 0 | ::yb::ReadHybridTimePB* temp = read_time_; |
8780 | 0 | read_time_ = NULL; |
8781 | 0 | return temp; |
8782 | 0 | } |
8783 | 108k | inline ::yb::ReadHybridTimePB* ChildTransactionDataPB::mutable_read_time() { |
8784 | 108k | set_has_read_time(); |
8785 | 108k | if (read_time_ == NULL) { |
8786 | 108k | read_time_ = new ::yb::ReadHybridTimePB; |
8787 | 108k | } |
8788 | | // @@protoc_insertion_point(field_mutable:yb.ChildTransactionDataPB.read_time) |
8789 | 108k | return read_time_; |
8790 | 108k | } |
8791 | 0 | inline void ChildTransactionDataPB::set_allocated_read_time(::yb::ReadHybridTimePB* read_time) { |
8792 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
8793 | 0 | if (message_arena == NULL) { |
8794 | 0 | delete read_time_; |
8795 | 0 | } |
8796 | 0 | if (read_time) { |
8797 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
8798 | 0 | if (message_arena != submessage_arena) { |
8799 | 0 | read_time = ::google::protobuf::internal::GetOwnedMessage( |
8800 | 0 | message_arena, read_time, submessage_arena); |
8801 | 0 | } |
8802 | 0 | set_has_read_time(); |
8803 | 0 | } else { |
8804 | 0 | clear_has_read_time(); |
8805 | 0 | } |
8806 | 0 | read_time_ = read_time; |
8807 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.ChildTransactionDataPB.read_time) |
8808 | 0 | } |
8809 | | |
8810 | | // map<string, fixed64> local_limits = 3; |
8811 | 51.9k | inline int ChildTransactionDataPB::local_limits_size() const { |
8812 | 51.9k | return local_limits_.size(); |
8813 | 51.9k | } |
8814 | 0 | inline void ChildTransactionDataPB::clear_local_limits() { |
8815 | 0 | local_limits_.Clear(); |
8816 | 0 | } |
8817 | | inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >& |
8818 | 144k | ChildTransactionDataPB::local_limits() const { |
8819 | | // @@protoc_insertion_point(field_map:yb.ChildTransactionDataPB.local_limits) |
8820 | 144k | return local_limits_.GetMap(); |
8821 | 144k | } |
8822 | | inline ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >* |
8823 | 81.7k | ChildTransactionDataPB::mutable_local_limits() { |
8824 | | // @@protoc_insertion_point(field_mutable_map:yb.ChildTransactionDataPB.local_limits) |
8825 | 81.7k | return local_limits_.MutableMap(); |
8826 | 81.7k | } |
8827 | | |
8828 | | // ------------------------------------------------------------------- |
8829 | | |
8830 | | // TransactionInvolvedTabletPB |
8831 | | |
8832 | | // optional bytes tablet_id = 1; |
8833 | 14.5k | inline bool TransactionInvolvedTabletPB::has_tablet_id() const { |
8834 | 14.5k | return (_has_bits_[0] & 0x00000001u) != 0; |
8835 | 14.5k | } |
8836 | 178k | inline void TransactionInvolvedTabletPB::set_has_tablet_id() { |
8837 | 178k | _has_bits_[0] |= 0x00000001u; |
8838 | 178k | } |
8839 | 0 | inline void TransactionInvolvedTabletPB::clear_has_tablet_id() { |
8840 | 0 | _has_bits_[0] &= ~0x00000001u; |
8841 | 0 | } |
8842 | 0 | inline void TransactionInvolvedTabletPB::clear_tablet_id() { |
8843 | 0 | tablet_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8844 | 0 | clear_has_tablet_id(); |
8845 | 0 | } |
8846 | 56.7k | inline const ::std::string& TransactionInvolvedTabletPB::tablet_id() const { |
8847 | | // @@protoc_insertion_point(field_get:yb.TransactionInvolvedTabletPB.tablet_id) |
8848 | 56.7k | return tablet_id_.GetNoArena(); |
8849 | 56.7k | } |
8850 | 35.1k | inline void TransactionInvolvedTabletPB::set_tablet_id(const ::std::string& value) { |
8851 | 35.1k | set_has_tablet_id(); |
8852 | 35.1k | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
8853 | | // @@protoc_insertion_point(field_set:yb.TransactionInvolvedTabletPB.tablet_id) |
8854 | 35.1k | } |
8855 | | #if LANG_CXX11 |
8856 | 0 | inline void TransactionInvolvedTabletPB::set_tablet_id(::std::string&& value) { |
8857 | 0 | set_has_tablet_id(); |
8858 | 0 | tablet_id_.SetNoArena( |
8859 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8860 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.TransactionInvolvedTabletPB.tablet_id) |
8861 | 0 | } |
8862 | | #endif |
8863 | 0 | inline void TransactionInvolvedTabletPB::set_tablet_id(const char* value) { |
8864 | 0 | GOOGLE_DCHECK(value != NULL); |
8865 | 0 | set_has_tablet_id(); |
8866 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8867 | 0 | // @@protoc_insertion_point(field_set_char:yb.TransactionInvolvedTabletPB.tablet_id) |
8868 | 0 | } |
8869 | 0 | inline void TransactionInvolvedTabletPB::set_tablet_id(const void* value, size_t size) { |
8870 | 0 | set_has_tablet_id(); |
8871 | 0 | tablet_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8872 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8873 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.TransactionInvolvedTabletPB.tablet_id) |
8874 | 0 | } |
8875 | 7.28k | inline ::std::string* TransactionInvolvedTabletPB::mutable_tablet_id() { |
8876 | 7.28k | set_has_tablet_id(); |
8877 | | // @@protoc_insertion_point(field_mutable:yb.TransactionInvolvedTabletPB.tablet_id) |
8878 | 7.28k | return tablet_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8879 | 7.28k | } |
8880 | 0 | inline ::std::string* TransactionInvolvedTabletPB::release_tablet_id() { |
8881 | 0 | // @@protoc_insertion_point(field_release:yb.TransactionInvolvedTabletPB.tablet_id) |
8882 | 0 | clear_has_tablet_id(); |
8883 | 0 | return tablet_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
8884 | 0 | } |
8885 | 0 | inline void TransactionInvolvedTabletPB::set_allocated_tablet_id(::std::string* tablet_id) { |
8886 | 0 | if (tablet_id != NULL) { |
8887 | 0 | set_has_tablet_id(); |
8888 | 0 | } else { |
8889 | 0 | clear_has_tablet_id(); |
8890 | 0 | } |
8891 | 0 | tablet_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tablet_id); |
8892 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.TransactionInvolvedTabletPB.tablet_id) |
8893 | 0 | } |
8894 | | |
8895 | | // optional .yb.InvolvedTabletMetadataState metadata_state = 2; |
8896 | 14.5k | inline bool TransactionInvolvedTabletPB::has_metadata_state() const { |
8897 | 14.5k | return (_has_bits_[0] & 0x00000004u) != 0; |
8898 | 14.5k | } |
8899 | 42.4k | inline void TransactionInvolvedTabletPB::set_has_metadata_state() { |
8900 | 42.4k | _has_bits_[0] |= 0x00000004u; |
8901 | 42.4k | } |
8902 | 0 | inline void TransactionInvolvedTabletPB::clear_has_metadata_state() { |
8903 | 0 | _has_bits_[0] &= ~0x00000004u; |
8904 | 0 | } |
8905 | 0 | inline void TransactionInvolvedTabletPB::clear_metadata_state() { |
8906 | 0 | metadata_state_ = 0; |
8907 | 0 | clear_has_metadata_state(); |
8908 | 0 | } |
8909 | 56.5k | inline ::yb::InvolvedTabletMetadataState TransactionInvolvedTabletPB::metadata_state() const { |
8910 | | // @@protoc_insertion_point(field_get:yb.TransactionInvolvedTabletPB.metadata_state) |
8911 | 56.5k | return static_cast< ::yb::InvolvedTabletMetadataState >(metadata_state_); |
8912 | 56.5k | } |
8913 | 42.4k | inline void TransactionInvolvedTabletPB::set_metadata_state(::yb::InvolvedTabletMetadataState value) { |
8914 | 42.4k | assert(::yb::InvolvedTabletMetadataState_IsValid(value)); |
8915 | 42.4k | set_has_metadata_state(); |
8916 | 42.4k | metadata_state_ = value; |
8917 | | // @@protoc_insertion_point(field_set:yb.TransactionInvolvedTabletPB.metadata_state) |
8918 | 42.4k | } |
8919 | | |
8920 | | // optional uint64 num_batches = 3; |
8921 | 14.5k | inline bool TransactionInvolvedTabletPB::has_num_batches() const { |
8922 | 14.5k | return (_has_bits_[0] & 0x00000002u) != 0; |
8923 | 14.5k | } |
8924 | 42.4k | inline void TransactionInvolvedTabletPB::set_has_num_batches() { |
8925 | 42.4k | _has_bits_[0] |= 0x00000002u; |
8926 | 42.4k | } |
8927 | 0 | inline void TransactionInvolvedTabletPB::clear_has_num_batches() { |
8928 | 0 | _has_bits_[0] &= ~0x00000002u; |
8929 | 0 | } |
8930 | 0 | inline void TransactionInvolvedTabletPB::clear_num_batches() { |
8931 | 0 | num_batches_ = GOOGLE_ULONGLONG(0); |
8932 | 0 | clear_has_num_batches(); |
8933 | 0 | } |
8934 | 56.7k | inline ::google::protobuf::uint64 TransactionInvolvedTabletPB::num_batches() const { |
8935 | | // @@protoc_insertion_point(field_get:yb.TransactionInvolvedTabletPB.num_batches) |
8936 | 56.7k | return num_batches_; |
8937 | 56.7k | } |
8938 | 35.1k | inline void TransactionInvolvedTabletPB::set_num_batches(::google::protobuf::uint64 value) { |
8939 | 35.1k | set_has_num_batches(); |
8940 | 35.1k | num_batches_ = value; |
8941 | | // @@protoc_insertion_point(field_set:yb.TransactionInvolvedTabletPB.num_batches) |
8942 | 35.1k | } |
8943 | | |
8944 | | // ------------------------------------------------------------------- |
8945 | | |
8946 | | // ------------------------------------------------------------------- |
8947 | | |
8948 | | // ChildTransactionResultPB |
8949 | | |
8950 | | // repeated .yb.TransactionInvolvedTabletPB tablets = 1; |
8951 | 13.8k | inline int ChildTransactionResultPB::tablets_size() const { |
8952 | 13.8k | return tablets_.size(); |
8953 | 13.8k | } |
8954 | 0 | inline void ChildTransactionResultPB::clear_tablets() { |
8955 | 0 | tablets_.Clear(); |
8956 | 0 | } |
8957 | 21.8k | inline const ::yb::TransactionInvolvedTabletPB& ChildTransactionResultPB::tablets(int index) const { |
8958 | | // @@protoc_insertion_point(field_get:yb.ChildTransactionResultPB.tablets) |
8959 | 21.8k | return tablets_.Get(index); |
8960 | 21.8k | } |
8961 | 0 | inline ::yb::TransactionInvolvedTabletPB* ChildTransactionResultPB::mutable_tablets(int index) { |
8962 | 0 | // @@protoc_insertion_point(field_mutable:yb.ChildTransactionResultPB.tablets) |
8963 | 0 | return tablets_.Mutable(index); |
8964 | 0 | } |
8965 | 7.28k | inline ::yb::TransactionInvolvedTabletPB* ChildTransactionResultPB::add_tablets() { |
8966 | | // @@protoc_insertion_point(field_add:yb.ChildTransactionResultPB.tablets) |
8967 | 7.28k | return tablets_.Add(); |
8968 | 7.28k | } |
8969 | | inline ::google::protobuf::RepeatedPtrField< ::yb::TransactionInvolvedTabletPB >* |
8970 | 14.5k | ChildTransactionResultPB::mutable_tablets() { |
8971 | | // @@protoc_insertion_point(field_mutable_list:yb.ChildTransactionResultPB.tablets) |
8972 | 14.5k | return &tablets_; |
8973 | 14.5k | } |
8974 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::TransactionInvolvedTabletPB >& |
8975 | 14.1k | ChildTransactionResultPB::tablets() const { |
8976 | | // @@protoc_insertion_point(field_list:yb.ChildTransactionResultPB.tablets) |
8977 | 14.1k | return tablets_; |
8978 | 14.1k | } |
8979 | | |
8980 | | // optional fixed64 restart_read_ht = 2; |
8981 | 9.20k | inline bool ChildTransactionResultPB::has_restart_read_ht() const { |
8982 | 9.20k | return (_has_bits_[0] & 0x00000002u) != 0; |
8983 | 9.20k | } |
8984 | 19.1k | inline void ChildTransactionResultPB::set_has_restart_read_ht() { |
8985 | 19.1k | _has_bits_[0] |= 0x00000002u; |
8986 | 19.1k | } |
8987 | 0 | inline void ChildTransactionResultPB::clear_has_restart_read_ht() { |
8988 | 0 | _has_bits_[0] &= ~0x00000002u; |
8989 | 0 | } |
8990 | 0 | inline void ChildTransactionResultPB::clear_restart_read_ht() { |
8991 | 0 | restart_read_ht_ = GOOGLE_ULONGLONG(0); |
8992 | 0 | clear_has_restart_read_ht(); |
8993 | 0 | } |
8994 | 18.7k | inline ::google::protobuf::uint64 ChildTransactionResultPB::restart_read_ht() const { |
8995 | | // @@protoc_insertion_point(field_get:yb.ChildTransactionResultPB.restart_read_ht) |
8996 | 18.7k | return restart_read_ht_; |
8997 | 18.7k | } |
8998 | 14.5k | inline void ChildTransactionResultPB::set_restart_read_ht(::google::protobuf::uint64 value) { |
8999 | 14.5k | set_has_restart_read_ht(); |
9000 | 14.5k | restart_read_ht_ = value; |
9001 | | // @@protoc_insertion_point(field_set:yb.ChildTransactionResultPB.restart_read_ht) |
9002 | 14.5k | } |
9003 | | |
9004 | | // map<string, fixed64> read_restarts = 3; |
9005 | 9.20k | inline int ChildTransactionResultPB::read_restarts_size() const { |
9006 | 9.20k | return read_restarts_.size(); |
9007 | 9.20k | } |
9008 | 0 | inline void ChildTransactionResultPB::clear_read_restarts() { |
9009 | 0 | read_restarts_.Clear(); |
9010 | 0 | } |
9011 | | inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >& |
9012 | 23.0k | ChildTransactionResultPB::read_restarts() const { |
9013 | | // @@protoc_insertion_point(field_map:yb.ChildTransactionResultPB.read_restarts) |
9014 | 23.0k | return read_restarts_.GetMap(); |
9015 | 23.0k | } |
9016 | | inline ::google::protobuf::Map< ::std::string, ::google::protobuf::uint64 >* |
9017 | 0 | ChildTransactionResultPB::mutable_read_restarts() { |
9018 | 0 | // @@protoc_insertion_point(field_mutable_map:yb.ChildTransactionResultPB.read_restarts) |
9019 | 0 | return read_restarts_.MutableMap(); |
9020 | 0 | } |
9021 | | |
9022 | | // optional .yb.ReadHybridTimePB used_read_time = 4; |
9023 | 23.3k | inline bool ChildTransactionResultPB::has_used_read_time() const { |
9024 | 23.3k | return (_has_bits_[0] & 0x00000001u) != 0; |
9025 | 23.3k | } |
9026 | 0 | inline void ChildTransactionResultPB::set_has_used_read_time() { |
9027 | 0 | _has_bits_[0] |= 0x00000001u; |
9028 | 0 | } |
9029 | 0 | inline void ChildTransactionResultPB::clear_has_used_read_time() { |
9030 | 0 | _has_bits_[0] &= ~0x00000001u; |
9031 | 0 | } |
9032 | 0 | inline void ChildTransactionResultPB::clear_used_read_time() { |
9033 | 0 | if (used_read_time_ != NULL) used_read_time_->Clear(); |
9034 | 0 | clear_has_used_read_time(); |
9035 | 0 | } |
9036 | 0 | inline const ::yb::ReadHybridTimePB& ChildTransactionResultPB::used_read_time() const { |
9037 | 0 | const ::yb::ReadHybridTimePB* p = used_read_time_; |
9038 | 0 | // @@protoc_insertion_point(field_get:yb.ChildTransactionResultPB.used_read_time) |
9039 | 0 | return p != NULL ? *p : *reinterpret_cast<const ::yb::ReadHybridTimePB*>( |
9040 | 0 | &::yb::_ReadHybridTimePB_default_instance_); |
9041 | 0 | } |
9042 | 0 | inline ::yb::ReadHybridTimePB* ChildTransactionResultPB::release_used_read_time() { |
9043 | 0 | // @@protoc_insertion_point(field_release:yb.ChildTransactionResultPB.used_read_time) |
9044 | 0 | clear_has_used_read_time(); |
9045 | 0 | ::yb::ReadHybridTimePB* temp = used_read_time_; |
9046 | 0 | used_read_time_ = NULL; |
9047 | 0 | return temp; |
9048 | 0 | } |
9049 | 0 | inline ::yb::ReadHybridTimePB* ChildTransactionResultPB::mutable_used_read_time() { |
9050 | 0 | set_has_used_read_time(); |
9051 | 0 | if (used_read_time_ == NULL) { |
9052 | 0 | used_read_time_ = new ::yb::ReadHybridTimePB; |
9053 | 0 | } |
9054 | 0 | // @@protoc_insertion_point(field_mutable:yb.ChildTransactionResultPB.used_read_time) |
9055 | 0 | return used_read_time_; |
9056 | 0 | } |
9057 | 0 | inline void ChildTransactionResultPB::set_allocated_used_read_time(::yb::ReadHybridTimePB* used_read_time) { |
9058 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9059 | 0 | if (message_arena == NULL) { |
9060 | 0 | delete used_read_time_; |
9061 | 0 | } |
9062 | 0 | if (used_read_time) { |
9063 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9064 | 0 | if (message_arena != submessage_arena) { |
9065 | 0 | used_read_time = ::google::protobuf::internal::GetOwnedMessage( |
9066 | 0 | message_arena, used_read_time, submessage_arena); |
9067 | 0 | } |
9068 | 0 | set_has_used_read_time(); |
9069 | 0 | } else { |
9070 | 0 | clear_has_used_read_time(); |
9071 | 0 | } |
9072 | 0 | used_read_time_ = used_read_time; |
9073 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.ChildTransactionResultPB.used_read_time) |
9074 | 0 | } |
9075 | | |
9076 | | // ------------------------------------------------------------------- |
9077 | | |
9078 | | // DeletedColumnPB |
9079 | | |
9080 | | // optional int32 column_id = 1; |
9081 | 12.5k | inline bool DeletedColumnPB::has_column_id() const { |
9082 | 12.5k | return (_has_bits_[0] & 0x00000002u) != 0; |
9083 | 12.5k | } |
9084 | 13.2k | inline void DeletedColumnPB::set_has_column_id() { |
9085 | 13.2k | _has_bits_[0] |= 0x00000002u; |
9086 | 13.2k | } |
9087 | 0 | inline void DeletedColumnPB::clear_has_column_id() { |
9088 | 0 | _has_bits_[0] &= ~0x00000002u; |
9089 | 0 | } |
9090 | 0 | inline void DeletedColumnPB::clear_column_id() { |
9091 | 0 | column_id_ = 0; |
9092 | 0 | clear_has_column_id(); |
9093 | 0 | } |
9094 | 25.6k | inline ::google::protobuf::int32 DeletedColumnPB::column_id() const { |
9095 | | // @@protoc_insertion_point(field_get:yb.DeletedColumnPB.column_id) |
9096 | 25.6k | return column_id_; |
9097 | 25.6k | } |
9098 | 12.5k | inline void DeletedColumnPB::set_column_id(::google::protobuf::int32 value) { |
9099 | 12.5k | set_has_column_id(); |
9100 | 12.5k | column_id_ = value; |
9101 | | // @@protoc_insertion_point(field_set:yb.DeletedColumnPB.column_id) |
9102 | 12.5k | } |
9103 | | |
9104 | | // optional fixed64 deleted_hybrid_time = 2; |
9105 | 12.5k | inline bool DeletedColumnPB::has_deleted_hybrid_time() const { |
9106 | 12.5k | return (_has_bits_[0] & 0x00000001u) != 0; |
9107 | 12.5k | } |
9108 | 13.1k | inline void DeletedColumnPB::set_has_deleted_hybrid_time() { |
9109 | 13.1k | _has_bits_[0] |= 0x00000001u; |
9110 | 13.1k | } |
9111 | 0 | inline void DeletedColumnPB::clear_has_deleted_hybrid_time() { |
9112 | 0 | _has_bits_[0] &= ~0x00000001u; |
9113 | 0 | } |
9114 | 0 | inline void DeletedColumnPB::clear_deleted_hybrid_time() { |
9115 | 0 | deleted_hybrid_time_ = GOOGLE_ULONGLONG(0); |
9116 | 0 | clear_has_deleted_hybrid_time(); |
9117 | 0 | } |
9118 | 13.1k | inline ::google::protobuf::uint64 DeletedColumnPB::deleted_hybrid_time() const { |
9119 | | // @@protoc_insertion_point(field_get:yb.DeletedColumnPB.deleted_hybrid_time) |
9120 | 13.1k | return deleted_hybrid_time_; |
9121 | 13.1k | } |
9122 | 12.5k | inline void DeletedColumnPB::set_deleted_hybrid_time(::google::protobuf::uint64 value) { |
9123 | 12.5k | set_has_deleted_hybrid_time(); |
9124 | 12.5k | deleted_hybrid_time_ = value; |
9125 | | // @@protoc_insertion_point(field_set:yb.DeletedColumnPB.deleted_hybrid_time) |
9126 | 12.5k | } |
9127 | | |
9128 | | // ------------------------------------------------------------------- |
9129 | | |
9130 | | // QLSubscriptedColPB |
9131 | | |
9132 | | // optional int32 column_id = 1; |
9133 | 600 | inline bool QLSubscriptedColPB::has_column_id() const { |
9134 | 600 | return (_has_bits_[0] & 0x00000001u) != 0; |
9135 | 600 | } |
9136 | 480 | inline void QLSubscriptedColPB::set_has_column_id() { |
9137 | 480 | _has_bits_[0] |= 0x00000001u; |
9138 | 480 | } |
9139 | 0 | inline void QLSubscriptedColPB::clear_has_column_id() { |
9140 | 0 | _has_bits_[0] &= ~0x00000001u; |
9141 | 0 | } |
9142 | 0 | inline void QLSubscriptedColPB::clear_column_id() { |
9143 | 0 | column_id_ = 0; |
9144 | 0 | clear_has_column_id(); |
9145 | 0 | } |
9146 | 1.02k | inline ::google::protobuf::int32 QLSubscriptedColPB::column_id() const { |
9147 | | // @@protoc_insertion_point(field_get:yb.QLSubscriptedColPB.column_id) |
9148 | 1.02k | return column_id_; |
9149 | 1.02k | } |
9150 | 244 | inline void QLSubscriptedColPB::set_column_id(::google::protobuf::int32 value) { |
9151 | 244 | set_has_column_id(); |
9152 | 244 | column_id_ = value; |
9153 | | // @@protoc_insertion_point(field_set:yb.QLSubscriptedColPB.column_id) |
9154 | 244 | } |
9155 | | |
9156 | | // repeated .yb.QLExpressionPB subscript_args = 2; |
9157 | 708 | inline int QLSubscriptedColPB::subscript_args_size() const { |
9158 | 708 | return subscript_args_.size(); |
9159 | 708 | } |
9160 | 0 | inline void QLSubscriptedColPB::clear_subscript_args() { |
9161 | 0 | subscript_args_.Clear(); |
9162 | 0 | } |
9163 | 902 | inline const ::yb::QLExpressionPB& QLSubscriptedColPB::subscript_args(int index) const { |
9164 | | // @@protoc_insertion_point(field_get:yb.QLSubscriptedColPB.subscript_args) |
9165 | 902 | return subscript_args_.Get(index); |
9166 | 902 | } |
9167 | 0 | inline ::yb::QLExpressionPB* QLSubscriptedColPB::mutable_subscript_args(int index) { |
9168 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLSubscriptedColPB.subscript_args) |
9169 | 0 | return subscript_args_.Mutable(index); |
9170 | 0 | } |
9171 | 352 | inline ::yb::QLExpressionPB* QLSubscriptedColPB::add_subscript_args() { |
9172 | | // @@protoc_insertion_point(field_add:yb.QLSubscriptedColPB.subscript_args) |
9173 | 352 | return subscript_args_.Add(); |
9174 | 352 | } |
9175 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
9176 | 0 | QLSubscriptedColPB::mutable_subscript_args() { |
9177 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLSubscriptedColPB.subscript_args) |
9178 | 0 | return &subscript_args_; |
9179 | 0 | } |
9180 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
9181 | 471 | QLSubscriptedColPB::subscript_args() const { |
9182 | | // @@protoc_insertion_point(field_list:yb.QLSubscriptedColPB.subscript_args) |
9183 | 471 | return subscript_args_; |
9184 | 471 | } |
9185 | | |
9186 | | // ------------------------------------------------------------------- |
9187 | | |
9188 | | // QLJsonColumnOperationsPB |
9189 | | |
9190 | | // optional int32 column_id = 1; |
9191 | 76.3k | inline bool QLJsonColumnOperationsPB::has_column_id() const { |
9192 | 76.3k | return (_has_bits_[0] & 0x00000001u) != 0; |
9193 | 76.3k | } |
9194 | 43.7k | inline void QLJsonColumnOperationsPB::set_has_column_id() { |
9195 | 43.7k | _has_bits_[0] |= 0x00000001u; |
9196 | 43.7k | } |
9197 | 0 | inline void QLJsonColumnOperationsPB::clear_has_column_id() { |
9198 | 0 | _has_bits_[0] &= ~0x00000001u; |
9199 | 0 | } |
9200 | 0 | inline void QLJsonColumnOperationsPB::clear_column_id() { |
9201 | 0 | column_id_ = 0; |
9202 | 0 | clear_has_column_id(); |
9203 | 0 | } |
9204 | 117k | inline ::google::protobuf::int32 QLJsonColumnOperationsPB::column_id() const { |
9205 | | // @@protoc_insertion_point(field_get:yb.QLJsonColumnOperationsPB.column_id) |
9206 | 117k | return column_id_; |
9207 | 117k | } |
9208 | 37.1k | inline void QLJsonColumnOperationsPB::set_column_id(::google::protobuf::int32 value) { |
9209 | 37.1k | set_has_column_id(); |
9210 | 37.1k | column_id_ = value; |
9211 | | // @@protoc_insertion_point(field_set:yb.QLJsonColumnOperationsPB.column_id) |
9212 | 37.1k | } |
9213 | | |
9214 | | // repeated .yb.QLJsonOperationPB json_operations = 2; |
9215 | 62.8k | inline int QLJsonColumnOperationsPB::json_operations_size() const { |
9216 | 62.8k | return json_operations_.size(); |
9217 | 62.8k | } |
9218 | 0 | inline void QLJsonColumnOperationsPB::clear_json_operations() { |
9219 | 0 | json_operations_.Clear(); |
9220 | 0 | } |
9221 | 100k | inline const ::yb::QLJsonOperationPB& QLJsonColumnOperationsPB::json_operations(int index) const { |
9222 | | // @@protoc_insertion_point(field_get:yb.QLJsonColumnOperationsPB.json_operations) |
9223 | 100k | return json_operations_.Get(index); |
9224 | 100k | } |
9225 | 0 | inline ::yb::QLJsonOperationPB* QLJsonColumnOperationsPB::mutable_json_operations(int index) { |
9226 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLJsonColumnOperationsPB.json_operations) |
9227 | 0 | return json_operations_.Mutable(index); |
9228 | 0 | } |
9229 | 12.0k | inline ::yb::QLJsonOperationPB* QLJsonColumnOperationsPB::add_json_operations() { |
9230 | | // @@protoc_insertion_point(field_add:yb.QLJsonColumnOperationsPB.json_operations) |
9231 | 12.0k | return json_operations_.Add(); |
9232 | 12.0k | } |
9233 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >* |
9234 | 0 | QLJsonColumnOperationsPB::mutable_json_operations() { |
9235 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLJsonColumnOperationsPB.json_operations) |
9236 | 0 | return &json_operations_; |
9237 | 0 | } |
9238 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLJsonOperationPB >& |
9239 | 98.8k | QLJsonColumnOperationsPB::json_operations() const { |
9240 | | // @@protoc_insertion_point(field_list:yb.QLJsonColumnOperationsPB.json_operations) |
9241 | 98.8k | return json_operations_; |
9242 | 98.8k | } |
9243 | | |
9244 | | // ------------------------------------------------------------------- |
9245 | | |
9246 | | // QLJsonOperationPB |
9247 | | |
9248 | | // required .yb.JsonOperatorPB json_operator = 1; |
9249 | 0 | inline bool QLJsonOperationPB::has_json_operator() const { |
9250 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
9251 | 0 | } |
9252 | 12.2k | inline void QLJsonOperationPB::set_has_json_operator() { |
9253 | 12.2k | _has_bits_[0] |= 0x00000002u; |
9254 | 12.2k | } |
9255 | 0 | inline void QLJsonOperationPB::clear_has_json_operator() { |
9256 | 0 | _has_bits_[0] &= ~0x00000002u; |
9257 | 0 | } |
9258 | 0 | inline void QLJsonOperationPB::clear_json_operator() { |
9259 | 0 | json_operator_ = 0; |
9260 | 0 | clear_has_json_operator(); |
9261 | 0 | } |
9262 | 161k | inline ::yb::JsonOperatorPB QLJsonOperationPB::json_operator() const { |
9263 | | // @@protoc_insertion_point(field_get:yb.QLJsonOperationPB.json_operator) |
9264 | 161k | return static_cast< ::yb::JsonOperatorPB >(json_operator_); |
9265 | 161k | } |
9266 | 12.2k | inline void QLJsonOperationPB::set_json_operator(::yb::JsonOperatorPB value) { |
9267 | 12.2k | assert(::yb::JsonOperatorPB_IsValid(value)); |
9268 | 12.2k | set_has_json_operator(); |
9269 | 12.2k | json_operator_ = value; |
9270 | | // @@protoc_insertion_point(field_set:yb.QLJsonOperationPB.json_operator) |
9271 | 12.2k | } |
9272 | | |
9273 | | // required .yb.QLExpressionPB operand = 2; |
9274 | 59.8k | inline bool QLJsonOperationPB::has_operand() const { |
9275 | 59.8k | return (_has_bits_[0] & 0x00000001u) != 0; |
9276 | 59.8k | } |
9277 | 69.8k | inline void QLJsonOperationPB::set_has_operand() { |
9278 | 69.8k | _has_bits_[0] |= 0x00000001u; |
9279 | 69.8k | } |
9280 | 0 | inline void QLJsonOperationPB::clear_has_operand() { |
9281 | 0 | _has_bits_[0] &= ~0x00000001u; |
9282 | 0 | } |
9283 | 0 | inline void QLJsonOperationPB::clear_operand() { |
9284 | 0 | if (operand_ != NULL) operand_->Clear(); |
9285 | 0 | clear_has_operand(); |
9286 | 0 | } |
9287 | 138k | inline const ::yb::QLExpressionPB& QLJsonOperationPB::operand() const { |
9288 | 138k | const ::yb::QLExpressionPB* p = operand_; |
9289 | | // @@protoc_insertion_point(field_get:yb.QLJsonOperationPB.operand) |
9290 | 18.4E | return p != NULL ? *p : *reinterpret_cast<const ::yb::QLExpressionPB*>( |
9291 | 18.4E | &::yb::_QLExpressionPB_default_instance_); |
9292 | 138k | } |
9293 | 0 | inline ::yb::QLExpressionPB* QLJsonOperationPB::release_operand() { |
9294 | 0 | // @@protoc_insertion_point(field_release:yb.QLJsonOperationPB.operand) |
9295 | 0 | clear_has_operand(); |
9296 | 0 | ::yb::QLExpressionPB* temp = operand_; |
9297 | 0 | operand_ = NULL; |
9298 | 0 | return temp; |
9299 | 0 | } |
9300 | 69.7k | inline ::yb::QLExpressionPB* QLJsonOperationPB::mutable_operand() { |
9301 | 69.7k | set_has_operand(); |
9302 | 69.7k | if (operand_ == NULL) { |
9303 | 69.7k | operand_ = new ::yb::QLExpressionPB; |
9304 | 69.7k | } |
9305 | | // @@protoc_insertion_point(field_mutable:yb.QLJsonOperationPB.operand) |
9306 | 69.7k | return operand_; |
9307 | 69.7k | } |
9308 | 0 | inline void QLJsonOperationPB::set_allocated_operand(::yb::QLExpressionPB* operand) { |
9309 | 0 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
9310 | 0 | if (message_arena == NULL) { |
9311 | 0 | delete operand_; |
9312 | 0 | } |
9313 | 0 | if (operand) { |
9314 | 0 | ::google::protobuf::Arena* submessage_arena = NULL; |
9315 | 0 | if (message_arena != submessage_arena) { |
9316 | 0 | operand = ::google::protobuf::internal::GetOwnedMessage( |
9317 | 0 | message_arena, operand, submessage_arena); |
9318 | 0 | } |
9319 | 0 | set_has_operand(); |
9320 | 0 | } else { |
9321 | 0 | clear_has_operand(); |
9322 | 0 | } |
9323 | 0 | operand_ = operand; |
9324 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.QLJsonOperationPB.operand) |
9325 | 0 | } |
9326 | | |
9327 | | // ------------------------------------------------------------------- |
9328 | | |
9329 | | // QLExpressionPB |
9330 | | |
9331 | | // optional .yb.QLValuePB value = 1; |
9332 | 106M | inline bool QLExpressionPB::has_value() const { |
9333 | 106M | return expr_case() == kValue; |
9334 | 106M | } |
9335 | 24.0M | inline void QLExpressionPB::set_has_value() { |
9336 | 24.0M | _oneof_case_[0] = kValue; |
9337 | 24.0M | } |
9338 | 0 | inline ::yb::QLValuePB* QLExpressionPB::release_value() { |
9339 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.value) |
9340 | 0 | if (has_value()) { |
9341 | 0 | clear_has_expr(); |
9342 | 0 | ::yb::QLValuePB* temp = expr_.value_; |
9343 | 0 | expr_.value_ = NULL; |
9344 | 0 | return temp; |
9345 | 0 | } else { |
9346 | 0 | return NULL; |
9347 | 0 | } |
9348 | 0 | } |
9349 | 56.8M | inline const ::yb::QLValuePB& QLExpressionPB::value() const { |
9350 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.value) |
9351 | 56.8M | return has_value() |
9352 | 56.8M | ? *expr_.value_ |
9353 | 18.4E | : *reinterpret_cast< ::yb::QLValuePB*>(&::yb::_QLValuePB_default_instance_); |
9354 | 56.8M | } |
9355 | 24.0M | inline ::yb::QLValuePB* QLExpressionPB::mutable_value() { |
9356 | 24.0M | if (!has_value()) { |
9357 | 24.0M | clear_expr(); |
9358 | 24.0M | set_has_value(); |
9359 | 24.0M | expr_.value_ = new ::yb::QLValuePB; |
9360 | 24.0M | } |
9361 | | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.value) |
9362 | 24.0M | return expr_.value_; |
9363 | 24.0M | } |
9364 | | |
9365 | | // optional int32 column_id = 2; |
9366 | 66.5M | inline bool QLExpressionPB::has_column_id() const { |
9367 | 66.5M | return expr_case() == kColumnId; |
9368 | 66.5M | } |
9369 | 21.2M | inline void QLExpressionPB::set_has_column_id() { |
9370 | 21.2M | _oneof_case_[0] = kColumnId; |
9371 | 21.2M | } |
9372 | 0 | inline void QLExpressionPB::clear_column_id() { |
9373 | 0 | if (has_column_id()) { |
9374 | 0 | expr_.column_id_ = 0; |
9375 | 0 | clear_has_expr(); |
9376 | 0 | } |
9377 | 0 | } |
9378 | 47.8M | inline ::google::protobuf::int32 QLExpressionPB::column_id() const { |
9379 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.column_id) |
9380 | 47.8M | if (has_column_id()) { |
9381 | 47.8M | return expr_.column_id_; |
9382 | 47.8M | } |
9383 | 32.4k | return 0; |
9384 | 32.4k | } |
9385 | 18.6M | inline void QLExpressionPB::set_column_id(::google::protobuf::int32 value) { |
9386 | 18.6M | if (!has_column_id()) { |
9387 | 18.6M | clear_expr(); |
9388 | 18.6M | set_has_column_id(); |
9389 | 18.6M | } |
9390 | 18.6M | expr_.column_id_ = value; |
9391 | | // @@protoc_insertion_point(field_set:yb.QLExpressionPB.column_id) |
9392 | 18.6M | } |
9393 | | |
9394 | | // optional .yb.QLSubscriptedColPB subscripted_col = 3; |
9395 | 1.74k | inline bool QLExpressionPB::has_subscripted_col() const { |
9396 | 1.74k | return expr_case() == kSubscriptedCol; |
9397 | 1.74k | } |
9398 | 480 | inline void QLExpressionPB::set_has_subscripted_col() { |
9399 | 480 | _oneof_case_[0] = kSubscriptedCol; |
9400 | 480 | } |
9401 | 0 | inline void QLExpressionPB::clear_subscripted_col() { |
9402 | 0 | if (has_subscripted_col()) { |
9403 | 0 | delete expr_.subscripted_col_; |
9404 | 0 | clear_has_expr(); |
9405 | 0 | } |
9406 | 0 | } |
9407 | 0 | inline ::yb::QLSubscriptedColPB* QLExpressionPB::release_subscripted_col() { |
9408 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.subscripted_col) |
9409 | 0 | if (has_subscripted_col()) { |
9410 | 0 | clear_has_expr(); |
9411 | 0 | ::yb::QLSubscriptedColPB* temp = expr_.subscripted_col_; |
9412 | 0 | expr_.subscripted_col_ = NULL; |
9413 | 0 | return temp; |
9414 | 0 | } else { |
9415 | 0 | return NULL; |
9416 | 0 | } |
9417 | 0 | } |
9418 | 793 | inline const ::yb::QLSubscriptedColPB& QLExpressionPB::subscripted_col() const { |
9419 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.subscripted_col) |
9420 | 793 | return has_subscripted_col() |
9421 | 790 | ? *expr_.subscripted_col_ |
9422 | 3 | : *reinterpret_cast< ::yb::QLSubscriptedColPB*>(&::yb::_QLSubscriptedColPB_default_instance_); |
9423 | 793 | } |
9424 | 480 | inline ::yb::QLSubscriptedColPB* QLExpressionPB::mutable_subscripted_col() { |
9425 | 480 | if (!has_subscripted_col()) { |
9426 | 480 | clear_expr(); |
9427 | 480 | set_has_subscripted_col(); |
9428 | 480 | expr_.subscripted_col_ = new ::yb::QLSubscriptedColPB; |
9429 | 480 | } |
9430 | | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.subscripted_col) |
9431 | 480 | return expr_.subscripted_col_; |
9432 | 480 | } |
9433 | | |
9434 | | // optional int32 bind_id = 4; |
9435 | 0 | inline bool QLExpressionPB::has_bind_id() const { |
9436 | 0 | return expr_case() == kBindId; |
9437 | 0 | } |
9438 | 0 | inline void QLExpressionPB::set_has_bind_id() { |
9439 | 0 | _oneof_case_[0] = kBindId; |
9440 | 0 | } |
9441 | 0 | inline void QLExpressionPB::clear_bind_id() { |
9442 | 0 | if (has_bind_id()) { |
9443 | 0 | expr_.bind_id_ = 0; |
9444 | 0 | clear_has_expr(); |
9445 | 0 | } |
9446 | 0 | } |
9447 | 0 | inline ::google::protobuf::int32 QLExpressionPB::bind_id() const { |
9448 | 0 | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.bind_id) |
9449 | 0 | if (has_bind_id()) { |
9450 | 0 | return expr_.bind_id_; |
9451 | 0 | } |
9452 | 0 | return 0; |
9453 | 0 | } |
9454 | 0 | inline void QLExpressionPB::set_bind_id(::google::protobuf::int32 value) { |
9455 | 0 | if (!has_bind_id()) { |
9456 | 0 | clear_expr(); |
9457 | 0 | set_has_bind_id(); |
9458 | 0 | } |
9459 | 0 | expr_.bind_id_ = value; |
9460 | 0 | // @@protoc_insertion_point(field_set:yb.QLExpressionPB.bind_id) |
9461 | 0 | } |
9462 | | |
9463 | | // optional .yb.QLConditionPB condition = 5; |
9464 | 2.00M | inline bool QLExpressionPB::has_condition() const { |
9465 | 2.00M | return expr_case() == kCondition; |
9466 | 2.00M | } |
9467 | 247k | inline void QLExpressionPB::set_has_condition() { |
9468 | 247k | _oneof_case_[0] = kCondition; |
9469 | 247k | } |
9470 | 0 | inline void QLExpressionPB::clear_condition() { |
9471 | 0 | if (has_condition()) { |
9472 | 0 | delete expr_.condition_; |
9473 | 0 | clear_has_expr(); |
9474 | 0 | } |
9475 | 0 | } |
9476 | 0 | inline ::yb::QLConditionPB* QLExpressionPB::release_condition() { |
9477 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.condition) |
9478 | 0 | if (has_condition()) { |
9479 | 0 | clear_has_expr(); |
9480 | 0 | ::yb::QLConditionPB* temp = expr_.condition_; |
9481 | 0 | expr_.condition_ = NULL; |
9482 | 0 | return temp; |
9483 | 0 | } else { |
9484 | 0 | return NULL; |
9485 | 0 | } |
9486 | 0 | } |
9487 | 1.49M | inline const ::yb::QLConditionPB& QLExpressionPB::condition() const { |
9488 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.condition) |
9489 | 1.49M | return has_condition() |
9490 | 1.49M | ? *expr_.condition_ |
9491 | 669 | : *reinterpret_cast< ::yb::QLConditionPB*>(&::yb::_QLConditionPB_default_instance_); |
9492 | 1.49M | } |
9493 | 248k | inline ::yb::QLConditionPB* QLExpressionPB::mutable_condition() { |
9494 | 248k | if (!has_condition()) { |
9495 | 246k | clear_expr(); |
9496 | 246k | set_has_condition(); |
9497 | 246k | expr_.condition_ = new ::yb::QLConditionPB; |
9498 | 246k | } |
9499 | | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.condition) |
9500 | 248k | return expr_.condition_; |
9501 | 248k | } |
9502 | | |
9503 | | // optional .yb.QLBCallPB bfcall = 6; |
9504 | 6.70k | inline bool QLExpressionPB::has_bfcall() const { |
9505 | 6.70k | return expr_case() == kBfcall; |
9506 | 6.70k | } |
9507 | 1.70k | inline void QLExpressionPB::set_has_bfcall() { |
9508 | 1.70k | _oneof_case_[0] = kBfcall; |
9509 | 1.70k | } |
9510 | 0 | inline void QLExpressionPB::clear_bfcall() { |
9511 | 0 | if (has_bfcall()) { |
9512 | 0 | delete expr_.bfcall_; |
9513 | 0 | clear_has_expr(); |
9514 | 0 | } |
9515 | 0 | } |
9516 | 0 | inline ::yb::QLBCallPB* QLExpressionPB::release_bfcall() { |
9517 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.bfcall) |
9518 | 0 | if (has_bfcall()) { |
9519 | 0 | clear_has_expr(); |
9520 | 0 | ::yb::QLBCallPB* temp = expr_.bfcall_; |
9521 | 0 | expr_.bfcall_ = NULL; |
9522 | 0 | return temp; |
9523 | 0 | } else { |
9524 | 0 | return NULL; |
9525 | 0 | } |
9526 | 0 | } |
9527 | 2.96k | inline const ::yb::QLBCallPB& QLExpressionPB::bfcall() const { |
9528 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.bfcall) |
9529 | 2.96k | return has_bfcall() |
9530 | 2.96k | ? *expr_.bfcall_ |
9531 | 0 | : *reinterpret_cast< ::yb::QLBCallPB*>(&::yb::_QLBCallPB_default_instance_); |
9532 | 2.96k | } |
9533 | 1.70k | inline ::yb::QLBCallPB* QLExpressionPB::mutable_bfcall() { |
9534 | 1.70k | if (!has_bfcall()) { |
9535 | 1.70k | clear_expr(); |
9536 | 1.70k | set_has_bfcall(); |
9537 | 1.70k | expr_.bfcall_ = new ::yb::QLBCallPB; |
9538 | 1.70k | } |
9539 | | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.bfcall) |
9540 | 1.70k | return expr_.bfcall_; |
9541 | 1.70k | } |
9542 | | |
9543 | | // optional .yb.QLBCallPB tscall = 7; |
9544 | 5.01M | inline bool QLExpressionPB::has_tscall() const { |
9545 | 5.01M | return expr_case() == kTscall; |
9546 | 5.01M | } |
9547 | 10.7k | inline void QLExpressionPB::set_has_tscall() { |
9548 | 10.7k | _oneof_case_[0] = kTscall; |
9549 | 10.7k | } |
9550 | 0 | inline void QLExpressionPB::clear_tscall() { |
9551 | 0 | if (has_tscall()) { |
9552 | 0 | delete expr_.tscall_; |
9553 | 0 | clear_has_expr(); |
9554 | 0 | } |
9555 | 0 | } |
9556 | 0 | inline ::yb::QLBCallPB* QLExpressionPB::release_tscall() { |
9557 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.tscall) |
9558 | 0 | if (has_tscall()) { |
9559 | 0 | clear_has_expr(); |
9560 | 0 | ::yb::QLBCallPB* temp = expr_.tscall_; |
9561 | 0 | expr_.tscall_ = NULL; |
9562 | 0 | return temp; |
9563 | 0 | } else { |
9564 | 0 | return NULL; |
9565 | 0 | } |
9566 | 0 | } |
9567 | 36.8k | inline const ::yb::QLBCallPB& QLExpressionPB::tscall() const { |
9568 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.tscall) |
9569 | 36.8k | return has_tscall() |
9570 | 36.6k | ? *expr_.tscall_ |
9571 | 173 | : *reinterpret_cast< ::yb::QLBCallPB*>(&::yb::_QLBCallPB_default_instance_); |
9572 | 36.8k | } |
9573 | 10.7k | inline ::yb::QLBCallPB* QLExpressionPB::mutable_tscall() { |
9574 | 10.7k | if (!has_tscall()) { |
9575 | 10.7k | clear_expr(); |
9576 | 10.7k | set_has_tscall(); |
9577 | 10.7k | expr_.tscall_ = new ::yb::QLBCallPB; |
9578 | 10.7k | } |
9579 | | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.tscall) |
9580 | 10.7k | return expr_.tscall_; |
9581 | 10.7k | } |
9582 | | |
9583 | | // optional .yb.QLBCallPB bocall = 8; |
9584 | 0 | inline bool QLExpressionPB::has_bocall() const { |
9585 | 0 | return expr_case() == kBocall; |
9586 | 0 | } |
9587 | 0 | inline void QLExpressionPB::set_has_bocall() { |
9588 | 0 | _oneof_case_[0] = kBocall; |
9589 | 0 | } |
9590 | 0 | inline void QLExpressionPB::clear_bocall() { |
9591 | 0 | if (has_bocall()) { |
9592 | 0 | delete expr_.bocall_; |
9593 | 0 | clear_has_expr(); |
9594 | 0 | } |
9595 | 0 | } |
9596 | 0 | inline ::yb::QLBCallPB* QLExpressionPB::release_bocall() { |
9597 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.bocall) |
9598 | 0 | if (has_bocall()) { |
9599 | 0 | clear_has_expr(); |
9600 | 0 | ::yb::QLBCallPB* temp = expr_.bocall_; |
9601 | 0 | expr_.bocall_ = NULL; |
9602 | 0 | return temp; |
9603 | 0 | } else { |
9604 | 0 | return NULL; |
9605 | 0 | } |
9606 | 0 | } |
9607 | 0 | inline const ::yb::QLBCallPB& QLExpressionPB::bocall() const { |
9608 | 0 | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.bocall) |
9609 | 0 | return has_bocall() |
9610 | 0 | ? *expr_.bocall_ |
9611 | 0 | : *reinterpret_cast< ::yb::QLBCallPB*>(&::yb::_QLBCallPB_default_instance_); |
9612 | 0 | } |
9613 | 0 | inline ::yb::QLBCallPB* QLExpressionPB::mutable_bocall() { |
9614 | 0 | if (!has_bocall()) { |
9615 | 0 | clear_expr(); |
9616 | 0 | set_has_bocall(); |
9617 | 0 | expr_.bocall_ = new ::yb::QLBCallPB; |
9618 | 0 | } |
9619 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.bocall) |
9620 | 0 | return expr_.bocall_; |
9621 | 0 | } |
9622 | | |
9623 | | // optional .yb.QLJsonColumnOperationsPB json_column = 9; |
9624 | 172k | inline bool QLExpressionPB::has_json_column() const { |
9625 | 172k | return expr_case() == kJsonColumn; |
9626 | 172k | } |
9627 | 43.7k | inline void QLExpressionPB::set_has_json_column() { |
9628 | 43.7k | _oneof_case_[0] = kJsonColumn; |
9629 | 43.7k | } |
9630 | 0 | inline void QLExpressionPB::clear_json_column() { |
9631 | 0 | if (has_json_column()) { |
9632 | 0 | delete expr_.json_column_; |
9633 | 0 | clear_has_expr(); |
9634 | 0 | } |
9635 | 0 | } |
9636 | 0 | inline ::yb::QLJsonColumnOperationsPB* QLExpressionPB::release_json_column() { |
9637 | 0 | // @@protoc_insertion_point(field_release:yb.QLExpressionPB.json_column) |
9638 | 0 | if (has_json_column()) { |
9639 | 0 | clear_has_expr(); |
9640 | 0 | ::yb::QLJsonColumnOperationsPB* temp = expr_.json_column_; |
9641 | 0 | expr_.json_column_ = NULL; |
9642 | 0 | return temp; |
9643 | 0 | } else { |
9644 | 0 | return NULL; |
9645 | 0 | } |
9646 | 0 | } |
9647 | 91.4k | inline const ::yb::QLJsonColumnOperationsPB& QLExpressionPB::json_column() const { |
9648 | | // @@protoc_insertion_point(field_get:yb.QLExpressionPB.json_column) |
9649 | 91.4k | return has_json_column() |
9650 | 91.4k | ? *expr_.json_column_ |
9651 | 39 | : *reinterpret_cast< ::yb::QLJsonColumnOperationsPB*>(&::yb::_QLJsonColumnOperationsPB_default_instance_); |
9652 | 91.4k | } |
9653 | 43.7k | inline ::yb::QLJsonColumnOperationsPB* QLExpressionPB::mutable_json_column() { |
9654 | 43.7k | if (!has_json_column()) { |
9655 | 43.7k | clear_expr(); |
9656 | 43.7k | set_has_json_column(); |
9657 | 43.7k | expr_.json_column_ = new ::yb::QLJsonColumnOperationsPB; |
9658 | 43.7k | } |
9659 | | // @@protoc_insertion_point(field_mutable:yb.QLExpressionPB.json_column) |
9660 | 43.7k | return expr_.json_column_; |
9661 | 43.7k | } |
9662 | | |
9663 | 41.9M | inline bool QLExpressionPB::has_expr() const { |
9664 | 41.9M | return expr_case() != EXPR_NOT_SET; |
9665 | 41.9M | } |
9666 | 41.8M | inline void QLExpressionPB::clear_has_expr() { |
9667 | 41.8M | _oneof_case_[0] = EXPR_NOT_SET; |
9668 | 41.8M | } |
9669 | 404M | inline QLExpressionPB::ExprCase QLExpressionPB::expr_case() const { |
9670 | 404M | return QLExpressionPB::ExprCase(_oneof_case_[0]); |
9671 | 404M | } |
9672 | | // ------------------------------------------------------------------- |
9673 | | |
9674 | | // QLConditionPB |
9675 | | |
9676 | | // optional .yb.QLOperator op = 1; |
9677 | 360k | inline bool QLConditionPB::has_op() const { |
9678 | 360k | return (_has_bits_[0] & 0x00000001u) != 0; |
9679 | 360k | } |
9680 | 275k | inline void QLConditionPB::set_has_op() { |
9681 | 275k | _has_bits_[0] |= 0x00000001u; |
9682 | 275k | } |
9683 | 0 | inline void QLConditionPB::clear_has_op() { |
9684 | 0 | _has_bits_[0] &= ~0x00000001u; |
9685 | 0 | } |
9686 | 0 | inline void QLConditionPB::clear_op() { |
9687 | 0 | op_ = 0; |
9688 | 0 | clear_has_op(); |
9689 | 0 | } |
9690 | 2.29M | inline ::yb::QLOperator QLConditionPB::op() const { |
9691 | | // @@protoc_insertion_point(field_get:yb.QLConditionPB.op) |
9692 | 2.29M | return static_cast< ::yb::QLOperator >(op_); |
9693 | 2.29M | } |
9694 | 274k | inline void QLConditionPB::set_op(::yb::QLOperator value) { |
9695 | 274k | assert(::yb::QLOperator_IsValid(value)); |
9696 | 274k | set_has_op(); |
9697 | 274k | op_ = value; |
9698 | | // @@protoc_insertion_point(field_set:yb.QLConditionPB.op) |
9699 | 274k | } |
9700 | | |
9701 | | // repeated .yb.QLExpressionPB operands = 2; |
9702 | 365k | inline int QLConditionPB::operands_size() const { |
9703 | 365k | return operands_.size(); |
9704 | 365k | } |
9705 | 0 | inline void QLConditionPB::clear_operands() { |
9706 | 0 | operands_.Clear(); |
9707 | 0 | } |
9708 | 712k | inline const ::yb::QLExpressionPB& QLConditionPB::operands(int index) const { |
9709 | | // @@protoc_insertion_point(field_get:yb.QLConditionPB.operands) |
9710 | 712k | return operands_.Get(index); |
9711 | 712k | } |
9712 | 0 | inline ::yb::QLExpressionPB* QLConditionPB::mutable_operands(int index) { |
9713 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLConditionPB.operands) |
9714 | 0 | return operands_.Mutable(index); |
9715 | 0 | } |
9716 | 283k | inline ::yb::QLExpressionPB* QLConditionPB::add_operands() { |
9717 | | // @@protoc_insertion_point(field_add:yb.QLConditionPB.operands) |
9718 | 283k | return operands_.Add(); |
9719 | 283k | } |
9720 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
9721 | 0 | QLConditionPB::mutable_operands() { |
9722 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLConditionPB.operands) |
9723 | 0 | return &operands_; |
9724 | 0 | } |
9725 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
9726 | 2.03M | QLConditionPB::operands() const { |
9727 | | // @@protoc_insertion_point(field_list:yb.QLConditionPB.operands) |
9728 | 2.03M | return operands_; |
9729 | 2.03M | } |
9730 | | |
9731 | | // ------------------------------------------------------------------- |
9732 | | |
9733 | | // QLBCallPB |
9734 | | |
9735 | | // optional int32 opcode = 1; |
9736 | 16.2k | inline bool QLBCallPB::has_opcode() const { |
9737 | 16.2k | return (_has_bits_[0] & 0x00000001u) != 0; |
9738 | 16.2k | } |
9739 | 12.4k | inline void QLBCallPB::set_has_opcode() { |
9740 | 12.4k | _has_bits_[0] |= 0x00000001u; |
9741 | 12.4k | } |
9742 | 0 | inline void QLBCallPB::clear_has_opcode() { |
9743 | 0 | _has_bits_[0] &= ~0x00000001u; |
9744 | 0 | } |
9745 | 0 | inline void QLBCallPB::clear_opcode() { |
9746 | 0 | opcode_ = 0; |
9747 | 0 | clear_has_opcode(); |
9748 | 0 | } |
9749 | 45.3k | inline ::google::protobuf::int32 QLBCallPB::opcode() const { |
9750 | | // @@protoc_insertion_point(field_get:yb.QLBCallPB.opcode) |
9751 | 45.3k | return opcode_; |
9752 | 45.3k | } |
9753 | 6.90k | inline void QLBCallPB::set_opcode(::google::protobuf::int32 value) { |
9754 | 6.90k | set_has_opcode(); |
9755 | 6.90k | opcode_ = value; |
9756 | | // @@protoc_insertion_point(field_set:yb.QLBCallPB.opcode) |
9757 | 6.90k | } |
9758 | | |
9759 | | // repeated .yb.QLExpressionPB operands = 2; |
9760 | 16.6k | inline int QLBCallPB::operands_size() const { |
9761 | 16.6k | return operands_.size(); |
9762 | 16.6k | } |
9763 | 0 | inline void QLBCallPB::clear_operands() { |
9764 | 0 | operands_.Clear(); |
9765 | 0 | } |
9766 | 39.6k | inline const ::yb::QLExpressionPB& QLBCallPB::operands(int index) const { |
9767 | | // @@protoc_insertion_point(field_get:yb.QLBCallPB.operands) |
9768 | 39.6k | return operands_.Get(index); |
9769 | 39.6k | } |
9770 | 0 | inline ::yb::QLExpressionPB* QLBCallPB::mutable_operands(int index) { |
9771 | 0 | // @@protoc_insertion_point(field_mutable:yb.QLBCallPB.operands) |
9772 | 0 | return operands_.Mutable(index); |
9773 | 0 | } |
9774 | 7.45k | inline ::yb::QLExpressionPB* QLBCallPB::add_operands() { |
9775 | | // @@protoc_insertion_point(field_add:yb.QLBCallPB.operands) |
9776 | 7.45k | return operands_.Add(); |
9777 | 7.45k | } |
9778 | | inline ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >* |
9779 | 0 | QLBCallPB::mutable_operands() { |
9780 | 0 | // @@protoc_insertion_point(field_mutable_list:yb.QLBCallPB.operands) |
9781 | 0 | return &operands_; |
9782 | 0 | } |
9783 | | inline const ::google::protobuf::RepeatedPtrField< ::yb::QLExpressionPB >& |
9784 | 18.4k | QLBCallPB::operands() const { |
9785 | | // @@protoc_insertion_point(field_list:yb.QLBCallPB.operands) |
9786 | 18.4k | return operands_; |
9787 | 18.4k | } |
9788 | | |
9789 | | // ------------------------------------------------------------------- |
9790 | | |
9791 | | // ExplainPlanPB |
9792 | | |
9793 | | // optional .yb.SelectPlanPB select_plan = 1; |
9794 | 322 | inline bool ExplainPlanPB::has_select_plan() const { |
9795 | 322 | return plan_case() == kSelectPlan; |
9796 | 322 | } |
9797 | 161 | inline void ExplainPlanPB::set_has_select_plan() { |
9798 | 161 | _oneof_case_[0] = kSelectPlan; |
9799 | 161 | } |
9800 | 0 | inline void ExplainPlanPB::clear_select_plan() { |
9801 | 0 | if (has_select_plan()) { |
9802 | 0 | delete plan_.select_plan_; |
9803 | 0 | clear_has_plan(); |
9804 | 0 | } |
9805 | 0 | } |
9806 | 0 | inline ::yb::SelectPlanPB* ExplainPlanPB::release_select_plan() { |
9807 | 0 | // @@protoc_insertion_point(field_release:yb.ExplainPlanPB.select_plan) |
9808 | 0 | if (has_select_plan()) { |
9809 | 0 | clear_has_plan(); |
9810 | 0 | ::yb::SelectPlanPB* temp = plan_.select_plan_; |
9811 | 0 | plan_.select_plan_ = NULL; |
9812 | 0 | return temp; |
9813 | 0 | } else { |
9814 | 0 | return NULL; |
9815 | 0 | } |
9816 | 0 | } |
9817 | 0 | inline const ::yb::SelectPlanPB& ExplainPlanPB::select_plan() const { |
9818 | 0 | // @@protoc_insertion_point(field_get:yb.ExplainPlanPB.select_plan) |
9819 | 0 | return has_select_plan() |
9820 | 0 | ? *plan_.select_plan_ |
9821 | 0 | : *reinterpret_cast< ::yb::SelectPlanPB*>(&::yb::_SelectPlanPB_default_instance_); |
9822 | 0 | } |
9823 | 322 | inline ::yb::SelectPlanPB* ExplainPlanPB::mutable_select_plan() { |
9824 | 322 | if (!has_select_plan()) { |
9825 | 161 | clear_plan(); |
9826 | 161 | set_has_select_plan(); |
9827 | 161 | plan_.select_plan_ = new ::yb::SelectPlanPB; |
9828 | 161 | } |
9829 | | // @@protoc_insertion_point(field_mutable:yb.ExplainPlanPB.select_plan) |
9830 | 322 | return plan_.select_plan_; |
9831 | 322 | } |
9832 | | |
9833 | | // optional .yb.InsertPlanPB insert_plan = 2; |
9834 | 2 | inline bool ExplainPlanPB::has_insert_plan() const { |
9835 | 2 | return plan_case() == kInsertPlan; |
9836 | 2 | } |
9837 | 1 | inline void ExplainPlanPB::set_has_insert_plan() { |
9838 | 1 | _oneof_case_[0] = kInsertPlan; |
9839 | 1 | } |
9840 | 0 | inline void ExplainPlanPB::clear_insert_plan() { |
9841 | 0 | if (has_insert_plan()) { |
9842 | 0 | delete plan_.insert_plan_; |
9843 | 0 | clear_has_plan(); |
9844 | 0 | } |
9845 | 0 | } |
9846 | 0 | inline ::yb::InsertPlanPB* ExplainPlanPB::release_insert_plan() { |
9847 | 0 | // @@protoc_insertion_point(field_release:yb.ExplainPlanPB.insert_plan) |
9848 | 0 | if (has_insert_plan()) { |
9849 | 0 | clear_has_plan(); |
9850 | 0 | ::yb::InsertPlanPB* temp = plan_.insert_plan_; |
9851 | 0 | plan_.insert_plan_ = NULL; |
9852 | 0 | return temp; |
9853 | 0 | } else { |
9854 | 0 | return NULL; |
9855 | 0 | } |
9856 | 0 | } |
9857 | 0 | inline const ::yb::InsertPlanPB& ExplainPlanPB::insert_plan() const { |
9858 | 0 | // @@protoc_insertion_point(field_get:yb.ExplainPlanPB.insert_plan) |
9859 | 0 | return has_insert_plan() |
9860 | 0 | ? *plan_.insert_plan_ |
9861 | 0 | : *reinterpret_cast< ::yb::InsertPlanPB*>(&::yb::_InsertPlanPB_default_instance_); |
9862 | 0 | } |
9863 | 2 | inline ::yb::InsertPlanPB* ExplainPlanPB::mutable_insert_plan() { |
9864 | 2 | if (!has_insert_plan()) { |
9865 | 1 | clear_plan(); |
9866 | 1 | set_has_insert_plan(); |
9867 | 1 | plan_.insert_plan_ = new ::yb::InsertPlanPB; |
9868 | 1 | } |
9869 | | // @@protoc_insertion_point(field_mutable:yb.ExplainPlanPB.insert_plan) |
9870 | 2 | return plan_.insert_plan_; |
9871 | 2 | } |
9872 | | |
9873 | | // optional .yb.UpdatePlanPB update_plan = 3; |
9874 | 2 | inline bool ExplainPlanPB::has_update_plan() const { |
9875 | 2 | return plan_case() == kUpdatePlan; |
9876 | 2 | } |
9877 | 1 | inline void ExplainPlanPB::set_has_update_plan() { |
9878 | 1 | _oneof_case_[0] = kUpdatePlan; |
9879 | 1 | } |
9880 | 0 | inline void ExplainPlanPB::clear_update_plan() { |
9881 | 0 | if (has_update_plan()) { |
9882 | 0 | delete plan_.update_plan_; |
9883 | 0 | clear_has_plan(); |
9884 | 0 | } |
9885 | 0 | } |
9886 | 0 | inline ::yb::UpdatePlanPB* ExplainPlanPB::release_update_plan() { |
9887 | 0 | // @@protoc_insertion_point(field_release:yb.ExplainPlanPB.update_plan) |
9888 | 0 | if (has_update_plan()) { |
9889 | 0 | clear_has_plan(); |
9890 | 0 | ::yb::UpdatePlanPB* temp = plan_.update_plan_; |
9891 | 0 | plan_.update_plan_ = NULL; |
9892 | 0 | return temp; |
9893 | 0 | } else { |
9894 | 0 | return NULL; |
9895 | 0 | } |
9896 | 0 | } |
9897 | 0 | inline const ::yb::UpdatePlanPB& ExplainPlanPB::update_plan() const { |
9898 | 0 | // @@protoc_insertion_point(field_get:yb.ExplainPlanPB.update_plan) |
9899 | 0 | return has_update_plan() |
9900 | 0 | ? *plan_.update_plan_ |
9901 | 0 | : *reinterpret_cast< ::yb::UpdatePlanPB*>(&::yb::_UpdatePlanPB_default_instance_); |
9902 | 0 | } |
9903 | 2 | inline ::yb::UpdatePlanPB* ExplainPlanPB::mutable_update_plan() { |
9904 | 2 | if (!has_update_plan()) { |
9905 | 1 | clear_plan(); |
9906 | 1 | set_has_update_plan(); |
9907 | 1 | plan_.update_plan_ = new ::yb::UpdatePlanPB; |
9908 | 1 | } |
9909 | | // @@protoc_insertion_point(field_mutable:yb.ExplainPlanPB.update_plan) |
9910 | 2 | return plan_.update_plan_; |
9911 | 2 | } |
9912 | | |
9913 | | // optional .yb.DeletePlanPB delete_plan = 4; |
9914 | 4 | inline bool ExplainPlanPB::has_delete_plan() const { |
9915 | 4 | return plan_case() == kDeletePlan; |
9916 | 4 | } |
9917 | 2 | inline void ExplainPlanPB::set_has_delete_plan() { |
9918 | 2 | _oneof_case_[0] = kDeletePlan; |
9919 | 2 | } |
9920 | 0 | inline void ExplainPlanPB::clear_delete_plan() { |
9921 | 0 | if (has_delete_plan()) { |
9922 | 0 | delete plan_.delete_plan_; |
9923 | 0 | clear_has_plan(); |
9924 | 0 | } |
9925 | 0 | } |
9926 | 0 | inline ::yb::DeletePlanPB* ExplainPlanPB::release_delete_plan() { |
9927 | 0 | // @@protoc_insertion_point(field_release:yb.ExplainPlanPB.delete_plan) |
9928 | 0 | if (has_delete_plan()) { |
9929 | 0 | clear_has_plan(); |
9930 | 0 | ::yb::DeletePlanPB* temp = plan_.delete_plan_; |
9931 | 0 | plan_.delete_plan_ = NULL; |
9932 | 0 | return temp; |
9933 | 0 | } else { |
9934 | 0 | return NULL; |
9935 | 0 | } |
9936 | 0 | } |
9937 | 0 | inline const ::yb::DeletePlanPB& ExplainPlanPB::delete_plan() const { |
9938 | 0 | // @@protoc_insertion_point(field_get:yb.ExplainPlanPB.delete_plan) |
9939 | 0 | return has_delete_plan() |
9940 | 0 | ? *plan_.delete_plan_ |
9941 | 0 | : *reinterpret_cast< ::yb::DeletePlanPB*>(&::yb::_DeletePlanPB_default_instance_); |
9942 | 0 | } |
9943 | 4 | inline ::yb::DeletePlanPB* ExplainPlanPB::mutable_delete_plan() { |
9944 | 4 | if (!has_delete_plan()) { |
9945 | 2 | clear_plan(); |
9946 | 2 | set_has_delete_plan(); |
9947 | 2 | plan_.delete_plan_ = new ::yb::DeletePlanPB; |
9948 | 2 | } |
9949 | | // @@protoc_insertion_point(field_mutable:yb.ExplainPlanPB.delete_plan) |
9950 | 4 | return plan_.delete_plan_; |
9951 | 4 | } |
9952 | | |
9953 | 165 | inline bool ExplainPlanPB::has_plan() const { |
9954 | 165 | return plan_case() != PLAN_NOT_SET; |
9955 | 165 | } |
9956 | 17.3k | inline void ExplainPlanPB::clear_has_plan() { |
9957 | 17.3k | _oneof_case_[0] = PLAN_NOT_SET; |
9958 | 17.3k | } |
9959 | 990 | inline ExplainPlanPB::PlanCase ExplainPlanPB::plan_case() const { |
9960 | 990 | return ExplainPlanPB::PlanCase(_oneof_case_[0]); |
9961 | 990 | } |
9962 | | // ------------------------------------------------------------------- |
9963 | | |
9964 | | // SelectPlanPB |
9965 | | |
9966 | | // optional string select_type = 1; |
9967 | 0 | inline bool SelectPlanPB::has_select_type() const { |
9968 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
9969 | 0 | } |
9970 | 322 | inline void SelectPlanPB::set_has_select_type() { |
9971 | 322 | _has_bits_[0] |= 0x00000001u; |
9972 | 322 | } |
9973 | 0 | inline void SelectPlanPB::clear_has_select_type() { |
9974 | 0 | _has_bits_[0] &= ~0x00000001u; |
9975 | 0 | } |
9976 | 0 | inline void SelectPlanPB::clear_select_type() { |
9977 | 0 | select_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
9978 | 0 | clear_has_select_type(); |
9979 | 0 | } |
9980 | 322 | inline const ::std::string& SelectPlanPB::select_type() const { |
9981 | | // @@protoc_insertion_point(field_get:yb.SelectPlanPB.select_type) |
9982 | 322 | return select_type_.GetNoArena(); |
9983 | 322 | } |
9984 | 0 | inline void SelectPlanPB::set_select_type(const ::std::string& value) { |
9985 | 0 | set_has_select_type(); |
9986 | 0 | select_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
9987 | 0 | // @@protoc_insertion_point(field_set:yb.SelectPlanPB.select_type) |
9988 | 0 | } |
9989 | | #if LANG_CXX11 |
9990 | 161 | inline void SelectPlanPB::set_select_type(::std::string&& value) { |
9991 | 161 | set_has_select_type(); |
9992 | 161 | select_type_.SetNoArena( |
9993 | 161 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9994 | | // @@protoc_insertion_point(field_set_rvalue:yb.SelectPlanPB.select_type) |
9995 | 161 | } |
9996 | | #endif |
9997 | 0 | inline void SelectPlanPB::set_select_type(const char* value) { |
9998 | 0 | GOOGLE_DCHECK(value != NULL); |
9999 | 0 | set_has_select_type(); |
10000 | 0 | select_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10001 | 0 | // @@protoc_insertion_point(field_set_char:yb.SelectPlanPB.select_type) |
10002 | 0 | } |
10003 | 0 | inline void SelectPlanPB::set_select_type(const char* value, size_t size) { |
10004 | 0 | set_has_select_type(); |
10005 | 0 | select_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10006 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10007 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.SelectPlanPB.select_type) |
10008 | 0 | } |
10009 | 161 | inline ::std::string* SelectPlanPB::mutable_select_type() { |
10010 | 161 | set_has_select_type(); |
10011 | | // @@protoc_insertion_point(field_mutable:yb.SelectPlanPB.select_type) |
10012 | 161 | return select_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10013 | 161 | } |
10014 | 0 | inline ::std::string* SelectPlanPB::release_select_type() { |
10015 | 0 | // @@protoc_insertion_point(field_release:yb.SelectPlanPB.select_type) |
10016 | 0 | clear_has_select_type(); |
10017 | 0 | return select_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10018 | 0 | } |
10019 | 0 | inline void SelectPlanPB::set_allocated_select_type(::std::string* select_type) { |
10020 | 0 | if (select_type != NULL) { |
10021 | 0 | set_has_select_type(); |
10022 | 0 | } else { |
10023 | 0 | clear_has_select_type(); |
10024 | 0 | } |
10025 | 0 | select_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), select_type); |
10026 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SelectPlanPB.select_type) |
10027 | 0 | } |
10028 | | |
10029 | | // optional string aggregate = 2; |
10030 | 161 | inline bool SelectPlanPB::has_aggregate() const { |
10031 | 161 | return (_has_bits_[0] & 0x00000002u) != 0; |
10032 | 161 | } |
10033 | 0 | inline void SelectPlanPB::set_has_aggregate() { |
10034 | 0 | _has_bits_[0] |= 0x00000002u; |
10035 | 0 | } |
10036 | 0 | inline void SelectPlanPB::clear_has_aggregate() { |
10037 | 0 | _has_bits_[0] &= ~0x00000002u; |
10038 | 0 | } |
10039 | 0 | inline void SelectPlanPB::clear_aggregate() { |
10040 | 0 | aggregate_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10041 | 0 | clear_has_aggregate(); |
10042 | 0 | } |
10043 | 0 | inline const ::std::string& SelectPlanPB::aggregate() const { |
10044 | 0 | // @@protoc_insertion_point(field_get:yb.SelectPlanPB.aggregate) |
10045 | 0 | return aggregate_.GetNoArena(); |
10046 | 0 | } |
10047 | 0 | inline void SelectPlanPB::set_aggregate(const ::std::string& value) { |
10048 | 0 | set_has_aggregate(); |
10049 | 0 | aggregate_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10050 | 0 | // @@protoc_insertion_point(field_set:yb.SelectPlanPB.aggregate) |
10051 | 0 | } |
10052 | | #if LANG_CXX11 |
10053 | 0 | inline void SelectPlanPB::set_aggregate(::std::string&& value) { |
10054 | 0 | set_has_aggregate(); |
10055 | 0 | aggregate_.SetNoArena( |
10056 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10057 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.SelectPlanPB.aggregate) |
10058 | 0 | } |
10059 | | #endif |
10060 | 0 | inline void SelectPlanPB::set_aggregate(const char* value) { |
10061 | 0 | GOOGLE_DCHECK(value != NULL); |
10062 | 0 | set_has_aggregate(); |
10063 | 0 | aggregate_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10064 | 0 | // @@protoc_insertion_point(field_set_char:yb.SelectPlanPB.aggregate) |
10065 | 0 | } |
10066 | 0 | inline void SelectPlanPB::set_aggregate(const char* value, size_t size) { |
10067 | 0 | set_has_aggregate(); |
10068 | 0 | aggregate_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10069 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10070 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.SelectPlanPB.aggregate) |
10071 | 0 | } |
10072 | 0 | inline ::std::string* SelectPlanPB::mutable_aggregate() { |
10073 | 0 | set_has_aggregate(); |
10074 | 0 | // @@protoc_insertion_point(field_mutable:yb.SelectPlanPB.aggregate) |
10075 | 0 | return aggregate_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10076 | 0 | } |
10077 | 0 | inline ::std::string* SelectPlanPB::release_aggregate() { |
10078 | 0 | // @@protoc_insertion_point(field_release:yb.SelectPlanPB.aggregate) |
10079 | 0 | clear_has_aggregate(); |
10080 | 0 | return aggregate_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10081 | 0 | } |
10082 | 0 | inline void SelectPlanPB::set_allocated_aggregate(::std::string* aggregate) { |
10083 | 0 | if (aggregate != NULL) { |
10084 | 0 | set_has_aggregate(); |
10085 | 0 | } else { |
10086 | 0 | clear_has_aggregate(); |
10087 | 0 | } |
10088 | 0 | aggregate_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), aggregate); |
10089 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SelectPlanPB.aggregate) |
10090 | 0 | } |
10091 | | |
10092 | | // optional string key_conditions = 3; |
10093 | 161 | inline bool SelectPlanPB::has_key_conditions() const { |
10094 | 161 | return (_has_bits_[0] & 0x00000004u) != 0; |
10095 | 161 | } |
10096 | 52 | inline void SelectPlanPB::set_has_key_conditions() { |
10097 | 52 | _has_bits_[0] |= 0x00000004u; |
10098 | 52 | } |
10099 | 0 | inline void SelectPlanPB::clear_has_key_conditions() { |
10100 | 0 | _has_bits_[0] &= ~0x00000004u; |
10101 | 0 | } |
10102 | 0 | inline void SelectPlanPB::clear_key_conditions() { |
10103 | 0 | key_conditions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10104 | 0 | clear_has_key_conditions(); |
10105 | 0 | } |
10106 | 26 | inline const ::std::string& SelectPlanPB::key_conditions() const { |
10107 | | // @@protoc_insertion_point(field_get:yb.SelectPlanPB.key_conditions) |
10108 | 26 | return key_conditions_.GetNoArena(); |
10109 | 26 | } |
10110 | 26 | inline void SelectPlanPB::set_key_conditions(const ::std::string& value) { |
10111 | 26 | set_has_key_conditions(); |
10112 | 26 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10113 | | // @@protoc_insertion_point(field_set:yb.SelectPlanPB.key_conditions) |
10114 | 26 | } |
10115 | | #if LANG_CXX11 |
10116 | 0 | inline void SelectPlanPB::set_key_conditions(::std::string&& value) { |
10117 | 0 | set_has_key_conditions(); |
10118 | 0 | key_conditions_.SetNoArena( |
10119 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10120 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.SelectPlanPB.key_conditions) |
10121 | 0 | } |
10122 | | #endif |
10123 | 0 | inline void SelectPlanPB::set_key_conditions(const char* value) { |
10124 | 0 | GOOGLE_DCHECK(value != NULL); |
10125 | 0 | set_has_key_conditions(); |
10126 | 0 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10127 | 0 | // @@protoc_insertion_point(field_set_char:yb.SelectPlanPB.key_conditions) |
10128 | 0 | } |
10129 | 0 | inline void SelectPlanPB::set_key_conditions(const char* value, size_t size) { |
10130 | 0 | set_has_key_conditions(); |
10131 | 0 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10132 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10133 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.SelectPlanPB.key_conditions) |
10134 | 0 | } |
10135 | 26 | inline ::std::string* SelectPlanPB::mutable_key_conditions() { |
10136 | 26 | set_has_key_conditions(); |
10137 | | // @@protoc_insertion_point(field_mutable:yb.SelectPlanPB.key_conditions) |
10138 | 26 | return key_conditions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10139 | 26 | } |
10140 | 0 | inline ::std::string* SelectPlanPB::release_key_conditions() { |
10141 | 0 | // @@protoc_insertion_point(field_release:yb.SelectPlanPB.key_conditions) |
10142 | 0 | clear_has_key_conditions(); |
10143 | 0 | return key_conditions_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10144 | 0 | } |
10145 | 0 | inline void SelectPlanPB::set_allocated_key_conditions(::std::string* key_conditions) { |
10146 | 0 | if (key_conditions != NULL) { |
10147 | 0 | set_has_key_conditions(); |
10148 | 0 | } else { |
10149 | 0 | clear_has_key_conditions(); |
10150 | 0 | } |
10151 | 0 | key_conditions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key_conditions); |
10152 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SelectPlanPB.key_conditions) |
10153 | 0 | } |
10154 | | |
10155 | | // optional string filter = 4; |
10156 | 161 | inline bool SelectPlanPB::has_filter() const { |
10157 | 161 | return (_has_bits_[0] & 0x00000008u) != 0; |
10158 | 161 | } |
10159 | 284 | inline void SelectPlanPB::set_has_filter() { |
10160 | 284 | _has_bits_[0] |= 0x00000008u; |
10161 | 284 | } |
10162 | 0 | inline void SelectPlanPB::clear_has_filter() { |
10163 | 0 | _has_bits_[0] &= ~0x00000008u; |
10164 | 0 | } |
10165 | 0 | inline void SelectPlanPB::clear_filter() { |
10166 | 0 | filter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10167 | 0 | clear_has_filter(); |
10168 | 0 | } |
10169 | 142 | inline const ::std::string& SelectPlanPB::filter() const { |
10170 | | // @@protoc_insertion_point(field_get:yb.SelectPlanPB.filter) |
10171 | 142 | return filter_.GetNoArena(); |
10172 | 142 | } |
10173 | 142 | inline void SelectPlanPB::set_filter(const ::std::string& value) { |
10174 | 142 | set_has_filter(); |
10175 | 142 | filter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10176 | | // @@protoc_insertion_point(field_set:yb.SelectPlanPB.filter) |
10177 | 142 | } |
10178 | | #if LANG_CXX11 |
10179 | 0 | inline void SelectPlanPB::set_filter(::std::string&& value) { |
10180 | 0 | set_has_filter(); |
10181 | 0 | filter_.SetNoArena( |
10182 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10183 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.SelectPlanPB.filter) |
10184 | 0 | } |
10185 | | #endif |
10186 | 0 | inline void SelectPlanPB::set_filter(const char* value) { |
10187 | 0 | GOOGLE_DCHECK(value != NULL); |
10188 | 0 | set_has_filter(); |
10189 | 0 | filter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10190 | 0 | // @@protoc_insertion_point(field_set_char:yb.SelectPlanPB.filter) |
10191 | 0 | } |
10192 | 0 | inline void SelectPlanPB::set_filter(const char* value, size_t size) { |
10193 | 0 | set_has_filter(); |
10194 | 0 | filter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10195 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10196 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.SelectPlanPB.filter) |
10197 | 0 | } |
10198 | 142 | inline ::std::string* SelectPlanPB::mutable_filter() { |
10199 | 142 | set_has_filter(); |
10200 | | // @@protoc_insertion_point(field_mutable:yb.SelectPlanPB.filter) |
10201 | 142 | return filter_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10202 | 142 | } |
10203 | 0 | inline ::std::string* SelectPlanPB::release_filter() { |
10204 | 0 | // @@protoc_insertion_point(field_release:yb.SelectPlanPB.filter) |
10205 | 0 | clear_has_filter(); |
10206 | 0 | return filter_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10207 | 0 | } |
10208 | 0 | inline void SelectPlanPB::set_allocated_filter(::std::string* filter) { |
10209 | 0 | if (filter != NULL) { |
10210 | 0 | set_has_filter(); |
10211 | 0 | } else { |
10212 | 0 | clear_has_filter(); |
10213 | 0 | } |
10214 | 0 | filter_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filter); |
10215 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.SelectPlanPB.filter) |
10216 | 0 | } |
10217 | | |
10218 | | // optional int32 output_width = 5; |
10219 | 0 | inline bool SelectPlanPB::has_output_width() const { |
10220 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
10221 | 0 | } |
10222 | 161 | inline void SelectPlanPB::set_has_output_width() { |
10223 | 161 | _has_bits_[0] |= 0x00000010u; |
10224 | 161 | } |
10225 | 0 | inline void SelectPlanPB::clear_has_output_width() { |
10226 | 0 | _has_bits_[0] &= ~0x00000010u; |
10227 | 0 | } |
10228 | 0 | inline void SelectPlanPB::clear_output_width() { |
10229 | 0 | output_width_ = 0; |
10230 | 0 | clear_has_output_width(); |
10231 | 0 | } |
10232 | 329 | inline ::google::protobuf::int32 SelectPlanPB::output_width() const { |
10233 | | // @@protoc_insertion_point(field_get:yb.SelectPlanPB.output_width) |
10234 | 329 | return output_width_; |
10235 | 329 | } |
10236 | 161 | inline void SelectPlanPB::set_output_width(::google::protobuf::int32 value) { |
10237 | 161 | set_has_output_width(); |
10238 | 161 | output_width_ = value; |
10239 | | // @@protoc_insertion_point(field_set:yb.SelectPlanPB.output_width) |
10240 | 161 | } |
10241 | | |
10242 | | // ------------------------------------------------------------------- |
10243 | | |
10244 | | // InsertPlanPB |
10245 | | |
10246 | | // optional string insert_type = 1; |
10247 | 0 | inline bool InsertPlanPB::has_insert_type() const { |
10248 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
10249 | 0 | } |
10250 | 2 | inline void InsertPlanPB::set_has_insert_type() { |
10251 | 2 | _has_bits_[0] |= 0x00000001u; |
10252 | 2 | } |
10253 | 0 | inline void InsertPlanPB::clear_has_insert_type() { |
10254 | 0 | _has_bits_[0] &= ~0x00000001u; |
10255 | 0 | } |
10256 | 0 | inline void InsertPlanPB::clear_insert_type() { |
10257 | 0 | insert_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10258 | 0 | clear_has_insert_type(); |
10259 | 0 | } |
10260 | 2 | inline const ::std::string& InsertPlanPB::insert_type() const { |
10261 | | // @@protoc_insertion_point(field_get:yb.InsertPlanPB.insert_type) |
10262 | 2 | return insert_type_.GetNoArena(); |
10263 | 2 | } |
10264 | 0 | inline void InsertPlanPB::set_insert_type(const ::std::string& value) { |
10265 | 0 | set_has_insert_type(); |
10266 | 0 | insert_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10267 | 0 | // @@protoc_insertion_point(field_set:yb.InsertPlanPB.insert_type) |
10268 | 0 | } |
10269 | | #if LANG_CXX11 |
10270 | 1 | inline void InsertPlanPB::set_insert_type(::std::string&& value) { |
10271 | 1 | set_has_insert_type(); |
10272 | 1 | insert_type_.SetNoArena( |
10273 | 1 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10274 | | // @@protoc_insertion_point(field_set_rvalue:yb.InsertPlanPB.insert_type) |
10275 | 1 | } |
10276 | | #endif |
10277 | 0 | inline void InsertPlanPB::set_insert_type(const char* value) { |
10278 | 0 | GOOGLE_DCHECK(value != NULL); |
10279 | 0 | set_has_insert_type(); |
10280 | 0 | insert_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10281 | 0 | // @@protoc_insertion_point(field_set_char:yb.InsertPlanPB.insert_type) |
10282 | 0 | } |
10283 | 0 | inline void InsertPlanPB::set_insert_type(const char* value, size_t size) { |
10284 | 0 | set_has_insert_type(); |
10285 | 0 | insert_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10286 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10287 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.InsertPlanPB.insert_type) |
10288 | 0 | } |
10289 | 1 | inline ::std::string* InsertPlanPB::mutable_insert_type() { |
10290 | 1 | set_has_insert_type(); |
10291 | | // @@protoc_insertion_point(field_mutable:yb.InsertPlanPB.insert_type) |
10292 | 1 | return insert_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10293 | 1 | } |
10294 | 0 | inline ::std::string* InsertPlanPB::release_insert_type() { |
10295 | 0 | // @@protoc_insertion_point(field_release:yb.InsertPlanPB.insert_type) |
10296 | 0 | clear_has_insert_type(); |
10297 | 0 | return insert_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10298 | 0 | } |
10299 | 0 | inline void InsertPlanPB::set_allocated_insert_type(::std::string* insert_type) { |
10300 | 0 | if (insert_type != NULL) { |
10301 | 0 | set_has_insert_type(); |
10302 | 0 | } else { |
10303 | 0 | clear_has_insert_type(); |
10304 | 0 | } |
10305 | 0 | insert_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), insert_type); |
10306 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.InsertPlanPB.insert_type) |
10307 | 0 | } |
10308 | | |
10309 | | // optional int32 output_width = 2; |
10310 | 0 | inline bool InsertPlanPB::has_output_width() const { |
10311 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
10312 | 0 | } |
10313 | 1 | inline void InsertPlanPB::set_has_output_width() { |
10314 | 1 | _has_bits_[0] |= 0x00000002u; |
10315 | 1 | } |
10316 | 0 | inline void InsertPlanPB::clear_has_output_width() { |
10317 | 0 | _has_bits_[0] &= ~0x00000002u; |
10318 | 0 | } |
10319 | 0 | inline void InsertPlanPB::clear_output_width() { |
10320 | 0 | output_width_ = 0; |
10321 | 0 | clear_has_output_width(); |
10322 | 0 | } |
10323 | 1 | inline ::google::protobuf::int32 InsertPlanPB::output_width() const { |
10324 | | // @@protoc_insertion_point(field_get:yb.InsertPlanPB.output_width) |
10325 | 1 | return output_width_; |
10326 | 1 | } |
10327 | 1 | inline void InsertPlanPB::set_output_width(::google::protobuf::int32 value) { |
10328 | 1 | set_has_output_width(); |
10329 | 1 | output_width_ = value; |
10330 | | // @@protoc_insertion_point(field_set:yb.InsertPlanPB.output_width) |
10331 | 1 | } |
10332 | | |
10333 | | // ------------------------------------------------------------------- |
10334 | | |
10335 | | // UpdatePlanPB |
10336 | | |
10337 | | // optional string update_type = 1; |
10338 | 0 | inline bool UpdatePlanPB::has_update_type() const { |
10339 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
10340 | 0 | } |
10341 | 2 | inline void UpdatePlanPB::set_has_update_type() { |
10342 | 2 | _has_bits_[0] |= 0x00000001u; |
10343 | 2 | } |
10344 | 0 | inline void UpdatePlanPB::clear_has_update_type() { |
10345 | 0 | _has_bits_[0] &= ~0x00000001u; |
10346 | 0 | } |
10347 | 0 | inline void UpdatePlanPB::clear_update_type() { |
10348 | 0 | update_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10349 | 0 | clear_has_update_type(); |
10350 | 0 | } |
10351 | 2 | inline const ::std::string& UpdatePlanPB::update_type() const { |
10352 | | // @@protoc_insertion_point(field_get:yb.UpdatePlanPB.update_type) |
10353 | 2 | return update_type_.GetNoArena(); |
10354 | 2 | } |
10355 | 0 | inline void UpdatePlanPB::set_update_type(const ::std::string& value) { |
10356 | 0 | set_has_update_type(); |
10357 | 0 | update_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10358 | 0 | // @@protoc_insertion_point(field_set:yb.UpdatePlanPB.update_type) |
10359 | 0 | } |
10360 | | #if LANG_CXX11 |
10361 | 1 | inline void UpdatePlanPB::set_update_type(::std::string&& value) { |
10362 | 1 | set_has_update_type(); |
10363 | 1 | update_type_.SetNoArena( |
10364 | 1 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10365 | | // @@protoc_insertion_point(field_set_rvalue:yb.UpdatePlanPB.update_type) |
10366 | 1 | } |
10367 | | #endif |
10368 | 0 | inline void UpdatePlanPB::set_update_type(const char* value) { |
10369 | 0 | GOOGLE_DCHECK(value != NULL); |
10370 | 0 | set_has_update_type(); |
10371 | 0 | update_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10372 | 0 | // @@protoc_insertion_point(field_set_char:yb.UpdatePlanPB.update_type) |
10373 | 0 | } |
10374 | 0 | inline void UpdatePlanPB::set_update_type(const char* value, size_t size) { |
10375 | 0 | set_has_update_type(); |
10376 | 0 | update_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10377 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10378 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.UpdatePlanPB.update_type) |
10379 | 0 | } |
10380 | 1 | inline ::std::string* UpdatePlanPB::mutable_update_type() { |
10381 | 1 | set_has_update_type(); |
10382 | | // @@protoc_insertion_point(field_mutable:yb.UpdatePlanPB.update_type) |
10383 | 1 | return update_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10384 | 1 | } |
10385 | 0 | inline ::std::string* UpdatePlanPB::release_update_type() { |
10386 | 0 | // @@protoc_insertion_point(field_release:yb.UpdatePlanPB.update_type) |
10387 | 0 | clear_has_update_type(); |
10388 | 0 | return update_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10389 | 0 | } |
10390 | 0 | inline void UpdatePlanPB::set_allocated_update_type(::std::string* update_type) { |
10391 | 0 | if (update_type != NULL) { |
10392 | 0 | set_has_update_type(); |
10393 | 0 | } else { |
10394 | 0 | clear_has_update_type(); |
10395 | 0 | } |
10396 | 0 | update_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), update_type); |
10397 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.UpdatePlanPB.update_type) |
10398 | 0 | } |
10399 | | |
10400 | | // optional string scan_type = 2; |
10401 | 0 | inline bool UpdatePlanPB::has_scan_type() const { |
10402 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
10403 | 0 | } |
10404 | 2 | inline void UpdatePlanPB::set_has_scan_type() { |
10405 | 2 | _has_bits_[0] |= 0x00000002u; |
10406 | 2 | } |
10407 | 0 | inline void UpdatePlanPB::clear_has_scan_type() { |
10408 | 0 | _has_bits_[0] &= ~0x00000002u; |
10409 | 0 | } |
10410 | 0 | inline void UpdatePlanPB::clear_scan_type() { |
10411 | 0 | scan_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10412 | 0 | clear_has_scan_type(); |
10413 | 0 | } |
10414 | 2 | inline const ::std::string& UpdatePlanPB::scan_type() const { |
10415 | | // @@protoc_insertion_point(field_get:yb.UpdatePlanPB.scan_type) |
10416 | 2 | return scan_type_.GetNoArena(); |
10417 | 2 | } |
10418 | 0 | inline void UpdatePlanPB::set_scan_type(const ::std::string& value) { |
10419 | 0 | set_has_scan_type(); |
10420 | 0 | scan_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10421 | 0 | // @@protoc_insertion_point(field_set:yb.UpdatePlanPB.scan_type) |
10422 | 0 | } |
10423 | | #if LANG_CXX11 |
10424 | 1 | inline void UpdatePlanPB::set_scan_type(::std::string&& value) { |
10425 | 1 | set_has_scan_type(); |
10426 | 1 | scan_type_.SetNoArena( |
10427 | 1 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10428 | | // @@protoc_insertion_point(field_set_rvalue:yb.UpdatePlanPB.scan_type) |
10429 | 1 | } |
10430 | | #endif |
10431 | 0 | inline void UpdatePlanPB::set_scan_type(const char* value) { |
10432 | 0 | GOOGLE_DCHECK(value != NULL); |
10433 | 0 | set_has_scan_type(); |
10434 | 0 | scan_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10435 | 0 | // @@protoc_insertion_point(field_set_char:yb.UpdatePlanPB.scan_type) |
10436 | 0 | } |
10437 | 0 | inline void UpdatePlanPB::set_scan_type(const char* value, size_t size) { |
10438 | 0 | set_has_scan_type(); |
10439 | 0 | scan_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10440 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10441 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.UpdatePlanPB.scan_type) |
10442 | 0 | } |
10443 | 1 | inline ::std::string* UpdatePlanPB::mutable_scan_type() { |
10444 | 1 | set_has_scan_type(); |
10445 | | // @@protoc_insertion_point(field_mutable:yb.UpdatePlanPB.scan_type) |
10446 | 1 | return scan_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10447 | 1 | } |
10448 | 0 | inline ::std::string* UpdatePlanPB::release_scan_type() { |
10449 | 0 | // @@protoc_insertion_point(field_release:yb.UpdatePlanPB.scan_type) |
10450 | 0 | clear_has_scan_type(); |
10451 | 0 | return scan_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10452 | 0 | } |
10453 | 0 | inline void UpdatePlanPB::set_allocated_scan_type(::std::string* scan_type) { |
10454 | 0 | if (scan_type != NULL) { |
10455 | 0 | set_has_scan_type(); |
10456 | 0 | } else { |
10457 | 0 | clear_has_scan_type(); |
10458 | 0 | } |
10459 | 0 | scan_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), scan_type); |
10460 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.UpdatePlanPB.scan_type) |
10461 | 0 | } |
10462 | | |
10463 | | // optional string key_conditions = 3; |
10464 | 0 | inline bool UpdatePlanPB::has_key_conditions() const { |
10465 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
10466 | 0 | } |
10467 | 2 | inline void UpdatePlanPB::set_has_key_conditions() { |
10468 | 2 | _has_bits_[0] |= 0x00000004u; |
10469 | 2 | } |
10470 | 0 | inline void UpdatePlanPB::clear_has_key_conditions() { |
10471 | 0 | _has_bits_[0] &= ~0x00000004u; |
10472 | 0 | } |
10473 | 0 | inline void UpdatePlanPB::clear_key_conditions() { |
10474 | 0 | key_conditions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10475 | 0 | clear_has_key_conditions(); |
10476 | 0 | } |
10477 | 2 | inline const ::std::string& UpdatePlanPB::key_conditions() const { |
10478 | | // @@protoc_insertion_point(field_get:yb.UpdatePlanPB.key_conditions) |
10479 | 2 | return key_conditions_.GetNoArena(); |
10480 | 2 | } |
10481 | 1 | inline void UpdatePlanPB::set_key_conditions(const ::std::string& value) { |
10482 | 1 | set_has_key_conditions(); |
10483 | 1 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10484 | | // @@protoc_insertion_point(field_set:yb.UpdatePlanPB.key_conditions) |
10485 | 1 | } |
10486 | | #if LANG_CXX11 |
10487 | 0 | inline void UpdatePlanPB::set_key_conditions(::std::string&& value) { |
10488 | 0 | set_has_key_conditions(); |
10489 | 0 | key_conditions_.SetNoArena( |
10490 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10491 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.UpdatePlanPB.key_conditions) |
10492 | 0 | } |
10493 | | #endif |
10494 | 0 | inline void UpdatePlanPB::set_key_conditions(const char* value) { |
10495 | 0 | GOOGLE_DCHECK(value != NULL); |
10496 | 0 | set_has_key_conditions(); |
10497 | 0 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10498 | 0 | // @@protoc_insertion_point(field_set_char:yb.UpdatePlanPB.key_conditions) |
10499 | 0 | } |
10500 | 0 | inline void UpdatePlanPB::set_key_conditions(const char* value, size_t size) { |
10501 | 0 | set_has_key_conditions(); |
10502 | 0 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10503 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10504 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.UpdatePlanPB.key_conditions) |
10505 | 0 | } |
10506 | 1 | inline ::std::string* UpdatePlanPB::mutable_key_conditions() { |
10507 | 1 | set_has_key_conditions(); |
10508 | | // @@protoc_insertion_point(field_mutable:yb.UpdatePlanPB.key_conditions) |
10509 | 1 | return key_conditions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10510 | 1 | } |
10511 | 0 | inline ::std::string* UpdatePlanPB::release_key_conditions() { |
10512 | 0 | // @@protoc_insertion_point(field_release:yb.UpdatePlanPB.key_conditions) |
10513 | 0 | clear_has_key_conditions(); |
10514 | 0 | return key_conditions_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10515 | 0 | } |
10516 | 0 | inline void UpdatePlanPB::set_allocated_key_conditions(::std::string* key_conditions) { |
10517 | 0 | if (key_conditions != NULL) { |
10518 | 0 | set_has_key_conditions(); |
10519 | 0 | } else { |
10520 | 0 | clear_has_key_conditions(); |
10521 | 0 | } |
10522 | 0 | key_conditions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key_conditions); |
10523 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.UpdatePlanPB.key_conditions) |
10524 | 0 | } |
10525 | | |
10526 | | // optional int32 output_width = 4; |
10527 | 0 | inline bool UpdatePlanPB::has_output_width() const { |
10528 | 0 | return (_has_bits_[0] & 0x00000008u) != 0; |
10529 | 0 | } |
10530 | 1 | inline void UpdatePlanPB::set_has_output_width() { |
10531 | 1 | _has_bits_[0] |= 0x00000008u; |
10532 | 1 | } |
10533 | 0 | inline void UpdatePlanPB::clear_has_output_width() { |
10534 | 0 | _has_bits_[0] &= ~0x00000008u; |
10535 | 0 | } |
10536 | 0 | inline void UpdatePlanPB::clear_output_width() { |
10537 | 0 | output_width_ = 0; |
10538 | 0 | clear_has_output_width(); |
10539 | 0 | } |
10540 | 3 | inline ::google::protobuf::int32 UpdatePlanPB::output_width() const { |
10541 | | // @@protoc_insertion_point(field_get:yb.UpdatePlanPB.output_width) |
10542 | 3 | return output_width_; |
10543 | 3 | } |
10544 | 1 | inline void UpdatePlanPB::set_output_width(::google::protobuf::int32 value) { |
10545 | 1 | set_has_output_width(); |
10546 | 1 | output_width_ = value; |
10547 | | // @@protoc_insertion_point(field_set:yb.UpdatePlanPB.output_width) |
10548 | 1 | } |
10549 | | |
10550 | | // ------------------------------------------------------------------- |
10551 | | |
10552 | | // DeletePlanPB |
10553 | | |
10554 | | // optional string delete_type = 1; |
10555 | 0 | inline bool DeletePlanPB::has_delete_type() const { |
10556 | 0 | return (_has_bits_[0] & 0x00000001u) != 0; |
10557 | 0 | } |
10558 | 4 | inline void DeletePlanPB::set_has_delete_type() { |
10559 | 4 | _has_bits_[0] |= 0x00000001u; |
10560 | 4 | } |
10561 | 0 | inline void DeletePlanPB::clear_has_delete_type() { |
10562 | 0 | _has_bits_[0] &= ~0x00000001u; |
10563 | 0 | } |
10564 | 0 | inline void DeletePlanPB::clear_delete_type() { |
10565 | 0 | delete_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10566 | 0 | clear_has_delete_type(); |
10567 | 0 | } |
10568 | 4 | inline const ::std::string& DeletePlanPB::delete_type() const { |
10569 | | // @@protoc_insertion_point(field_get:yb.DeletePlanPB.delete_type) |
10570 | 4 | return delete_type_.GetNoArena(); |
10571 | 4 | } |
10572 | 0 | inline void DeletePlanPB::set_delete_type(const ::std::string& value) { |
10573 | 0 | set_has_delete_type(); |
10574 | 0 | delete_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10575 | 0 | // @@protoc_insertion_point(field_set:yb.DeletePlanPB.delete_type) |
10576 | 0 | } |
10577 | | #if LANG_CXX11 |
10578 | 2 | inline void DeletePlanPB::set_delete_type(::std::string&& value) { |
10579 | 2 | set_has_delete_type(); |
10580 | 2 | delete_type_.SetNoArena( |
10581 | 2 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10582 | | // @@protoc_insertion_point(field_set_rvalue:yb.DeletePlanPB.delete_type) |
10583 | 2 | } |
10584 | | #endif |
10585 | 0 | inline void DeletePlanPB::set_delete_type(const char* value) { |
10586 | 0 | GOOGLE_DCHECK(value != NULL); |
10587 | 0 | set_has_delete_type(); |
10588 | 0 | delete_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10589 | 0 | // @@protoc_insertion_point(field_set_char:yb.DeletePlanPB.delete_type) |
10590 | 0 | } |
10591 | 0 | inline void DeletePlanPB::set_delete_type(const char* value, size_t size) { |
10592 | 0 | set_has_delete_type(); |
10593 | 0 | delete_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10594 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10595 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.DeletePlanPB.delete_type) |
10596 | 0 | } |
10597 | 2 | inline ::std::string* DeletePlanPB::mutable_delete_type() { |
10598 | 2 | set_has_delete_type(); |
10599 | | // @@protoc_insertion_point(field_mutable:yb.DeletePlanPB.delete_type) |
10600 | 2 | return delete_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10601 | 2 | } |
10602 | 0 | inline ::std::string* DeletePlanPB::release_delete_type() { |
10603 | 0 | // @@protoc_insertion_point(field_release:yb.DeletePlanPB.delete_type) |
10604 | 0 | clear_has_delete_type(); |
10605 | 0 | return delete_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10606 | 0 | } |
10607 | 0 | inline void DeletePlanPB::set_allocated_delete_type(::std::string* delete_type) { |
10608 | 0 | if (delete_type != NULL) { |
10609 | 0 | set_has_delete_type(); |
10610 | 0 | } else { |
10611 | 0 | clear_has_delete_type(); |
10612 | 0 | } |
10613 | 0 | delete_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), delete_type); |
10614 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DeletePlanPB.delete_type) |
10615 | 0 | } |
10616 | | |
10617 | | // optional string scan_type = 2; |
10618 | 0 | inline bool DeletePlanPB::has_scan_type() const { |
10619 | 0 | return (_has_bits_[0] & 0x00000002u) != 0; |
10620 | 0 | } |
10621 | 4 | inline void DeletePlanPB::set_has_scan_type() { |
10622 | 4 | _has_bits_[0] |= 0x00000002u; |
10623 | 4 | } |
10624 | 0 | inline void DeletePlanPB::clear_has_scan_type() { |
10625 | 0 | _has_bits_[0] &= ~0x00000002u; |
10626 | 0 | } |
10627 | 0 | inline void DeletePlanPB::clear_scan_type() { |
10628 | 0 | scan_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10629 | 0 | clear_has_scan_type(); |
10630 | 0 | } |
10631 | 4 | inline const ::std::string& DeletePlanPB::scan_type() const { |
10632 | | // @@protoc_insertion_point(field_get:yb.DeletePlanPB.scan_type) |
10633 | 4 | return scan_type_.GetNoArena(); |
10634 | 4 | } |
10635 | 0 | inline void DeletePlanPB::set_scan_type(const ::std::string& value) { |
10636 | 0 | set_has_scan_type(); |
10637 | 0 | scan_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10638 | 0 | // @@protoc_insertion_point(field_set:yb.DeletePlanPB.scan_type) |
10639 | 0 | } |
10640 | | #if LANG_CXX11 |
10641 | 2 | inline void DeletePlanPB::set_scan_type(::std::string&& value) { |
10642 | 2 | set_has_scan_type(); |
10643 | 2 | scan_type_.SetNoArena( |
10644 | 2 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10645 | | // @@protoc_insertion_point(field_set_rvalue:yb.DeletePlanPB.scan_type) |
10646 | 2 | } |
10647 | | #endif |
10648 | 0 | inline void DeletePlanPB::set_scan_type(const char* value) { |
10649 | 0 | GOOGLE_DCHECK(value != NULL); |
10650 | 0 | set_has_scan_type(); |
10651 | 0 | scan_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10652 | 0 | // @@protoc_insertion_point(field_set_char:yb.DeletePlanPB.scan_type) |
10653 | 0 | } |
10654 | 0 | inline void DeletePlanPB::set_scan_type(const char* value, size_t size) { |
10655 | 0 | set_has_scan_type(); |
10656 | 0 | scan_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10657 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10658 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.DeletePlanPB.scan_type) |
10659 | 0 | } |
10660 | 2 | inline ::std::string* DeletePlanPB::mutable_scan_type() { |
10661 | 2 | set_has_scan_type(); |
10662 | | // @@protoc_insertion_point(field_mutable:yb.DeletePlanPB.scan_type) |
10663 | 2 | return scan_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10664 | 2 | } |
10665 | 0 | inline ::std::string* DeletePlanPB::release_scan_type() { |
10666 | 0 | // @@protoc_insertion_point(field_release:yb.DeletePlanPB.scan_type) |
10667 | 0 | clear_has_scan_type(); |
10668 | 0 | return scan_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10669 | 0 | } |
10670 | 0 | inline void DeletePlanPB::set_allocated_scan_type(::std::string* scan_type) { |
10671 | 0 | if (scan_type != NULL) { |
10672 | 0 | set_has_scan_type(); |
10673 | 0 | } else { |
10674 | 0 | clear_has_scan_type(); |
10675 | 0 | } |
10676 | 0 | scan_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), scan_type); |
10677 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DeletePlanPB.scan_type) |
10678 | 0 | } |
10679 | | |
10680 | | // optional string key_conditions = 3; |
10681 | 0 | inline bool DeletePlanPB::has_key_conditions() const { |
10682 | 0 | return (_has_bits_[0] & 0x00000004u) != 0; |
10683 | 0 | } |
10684 | 4 | inline void DeletePlanPB::set_has_key_conditions() { |
10685 | 4 | _has_bits_[0] |= 0x00000004u; |
10686 | 4 | } |
10687 | 0 | inline void DeletePlanPB::clear_has_key_conditions() { |
10688 | 0 | _has_bits_[0] &= ~0x00000004u; |
10689 | 0 | } |
10690 | 0 | inline void DeletePlanPB::clear_key_conditions() { |
10691 | 0 | key_conditions_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10692 | 0 | clear_has_key_conditions(); |
10693 | 0 | } |
10694 | 4 | inline const ::std::string& DeletePlanPB::key_conditions() const { |
10695 | | // @@protoc_insertion_point(field_get:yb.DeletePlanPB.key_conditions) |
10696 | 4 | return key_conditions_.GetNoArena(); |
10697 | 4 | } |
10698 | 2 | inline void DeletePlanPB::set_key_conditions(const ::std::string& value) { |
10699 | 2 | set_has_key_conditions(); |
10700 | 2 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10701 | | // @@protoc_insertion_point(field_set:yb.DeletePlanPB.key_conditions) |
10702 | 2 | } |
10703 | | #if LANG_CXX11 |
10704 | 0 | inline void DeletePlanPB::set_key_conditions(::std::string&& value) { |
10705 | 0 | set_has_key_conditions(); |
10706 | 0 | key_conditions_.SetNoArena( |
10707 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10708 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.DeletePlanPB.key_conditions) |
10709 | 0 | } |
10710 | | #endif |
10711 | 0 | inline void DeletePlanPB::set_key_conditions(const char* value) { |
10712 | 0 | GOOGLE_DCHECK(value != NULL); |
10713 | 0 | set_has_key_conditions(); |
10714 | 0 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10715 | 0 | // @@protoc_insertion_point(field_set_char:yb.DeletePlanPB.key_conditions) |
10716 | 0 | } |
10717 | 0 | inline void DeletePlanPB::set_key_conditions(const char* value, size_t size) { |
10718 | 0 | set_has_key_conditions(); |
10719 | 0 | key_conditions_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10720 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10721 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.DeletePlanPB.key_conditions) |
10722 | 0 | } |
10723 | 2 | inline ::std::string* DeletePlanPB::mutable_key_conditions() { |
10724 | 2 | set_has_key_conditions(); |
10725 | | // @@protoc_insertion_point(field_mutable:yb.DeletePlanPB.key_conditions) |
10726 | 2 | return key_conditions_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10727 | 2 | } |
10728 | 0 | inline ::std::string* DeletePlanPB::release_key_conditions() { |
10729 | 0 | // @@protoc_insertion_point(field_release:yb.DeletePlanPB.key_conditions) |
10730 | 0 | clear_has_key_conditions(); |
10731 | 0 | return key_conditions_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10732 | 0 | } |
10733 | 0 | inline void DeletePlanPB::set_allocated_key_conditions(::std::string* key_conditions) { |
10734 | 0 | if (key_conditions != NULL) { |
10735 | 0 | set_has_key_conditions(); |
10736 | 0 | } else { |
10737 | 0 | clear_has_key_conditions(); |
10738 | 0 | } |
10739 | 0 | key_conditions_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key_conditions); |
10740 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DeletePlanPB.key_conditions) |
10741 | 0 | } |
10742 | | |
10743 | | // optional string filter = 4; |
10744 | 2 | inline bool DeletePlanPB::has_filter() const { |
10745 | 2 | return (_has_bits_[0] & 0x00000008u) != 0; |
10746 | 2 | } |
10747 | 2 | inline void DeletePlanPB::set_has_filter() { |
10748 | 2 | _has_bits_[0] |= 0x00000008u; |
10749 | 2 | } |
10750 | 0 | inline void DeletePlanPB::clear_has_filter() { |
10751 | 0 | _has_bits_[0] &= ~0x00000008u; |
10752 | 0 | } |
10753 | 0 | inline void DeletePlanPB::clear_filter() { |
10754 | 0 | filter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10755 | 0 | clear_has_filter(); |
10756 | 0 | } |
10757 | 3 | inline const ::std::string& DeletePlanPB::filter() const { |
10758 | | // @@protoc_insertion_point(field_get:yb.DeletePlanPB.filter) |
10759 | 3 | return filter_.GetNoArena(); |
10760 | 3 | } |
10761 | 1 | inline void DeletePlanPB::set_filter(const ::std::string& value) { |
10762 | 1 | set_has_filter(); |
10763 | 1 | filter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
10764 | | // @@protoc_insertion_point(field_set:yb.DeletePlanPB.filter) |
10765 | 1 | } |
10766 | | #if LANG_CXX11 |
10767 | 0 | inline void DeletePlanPB::set_filter(::std::string&& value) { |
10768 | 0 | set_has_filter(); |
10769 | 0 | filter_.SetNoArena( |
10770 | 0 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
10771 | 0 | // @@protoc_insertion_point(field_set_rvalue:yb.DeletePlanPB.filter) |
10772 | 0 | } |
10773 | | #endif |
10774 | 0 | inline void DeletePlanPB::set_filter(const char* value) { |
10775 | 0 | GOOGLE_DCHECK(value != NULL); |
10776 | 0 | set_has_filter(); |
10777 | 0 | filter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
10778 | 0 | // @@protoc_insertion_point(field_set_char:yb.DeletePlanPB.filter) |
10779 | 0 | } |
10780 | 0 | inline void DeletePlanPB::set_filter(const char* value, size_t size) { |
10781 | 0 | set_has_filter(); |
10782 | 0 | filter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
10783 | 0 | ::std::string(reinterpret_cast<const char*>(value), size)); |
10784 | 0 | // @@protoc_insertion_point(field_set_pointer:yb.DeletePlanPB.filter) |
10785 | 0 | } |
10786 | 1 | inline ::std::string* DeletePlanPB::mutable_filter() { |
10787 | 1 | set_has_filter(); |
10788 | | // @@protoc_insertion_point(field_mutable:yb.DeletePlanPB.filter) |
10789 | 1 | return filter_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10790 | 1 | } |
10791 | 0 | inline ::std::string* DeletePlanPB::release_filter() { |
10792 | 0 | // @@protoc_insertion_point(field_release:yb.DeletePlanPB.filter) |
10793 | 0 | clear_has_filter(); |
10794 | 0 | return filter_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
10795 | 0 | } |
10796 | 0 | inline void DeletePlanPB::set_allocated_filter(::std::string* filter) { |
10797 | 0 | if (filter != NULL) { |
10798 | 0 | set_has_filter(); |
10799 | 0 | } else { |
10800 | 0 | clear_has_filter(); |
10801 | 0 | } |
10802 | 0 | filter_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filter); |
10803 | 0 | // @@protoc_insertion_point(field_set_allocated:yb.DeletePlanPB.filter) |
10804 | 0 | } |
10805 | | |
10806 | | // optional int32 output_width = 5; |
10807 | 0 | inline bool DeletePlanPB::has_output_width() const { |
10808 | 0 | return (_has_bits_[0] & 0x00000010u) != 0; |
10809 | 0 | } |
10810 | 2 | inline void DeletePlanPB::set_has_output_width() { |
10811 | 2 | _has_bits_[0] |= 0x00000010u; |
10812 | 2 | } |
10813 | 0 | inline void DeletePlanPB::clear_has_output_width() { |
10814 | 0 | _has_bits_[0] &= ~0x00000010u; |
10815 | 0 | } |
10816 | 0 | inline void DeletePlanPB::clear_output_width() { |
10817 | 0 | output_width_ = 0; |
10818 | 0 | clear_has_output_width(); |
10819 | 0 | } |
10820 | 7 | inline ::google::protobuf::int32 DeletePlanPB::output_width() const { |
10821 | | // @@protoc_insertion_point(field_get:yb.DeletePlanPB.output_width) |
10822 | 7 | return output_width_; |
10823 | 7 | } |
10824 | 2 | inline void DeletePlanPB::set_output_width(::google::protobuf::int32 value) { |
10825 | 2 | set_has_output_width(); |
10826 | 2 | output_width_ = value; |
10827 | | // @@protoc_insertion_point(field_set:yb.DeletePlanPB.output_width) |
10828 | 2 | } |
10829 | | |
10830 | | #ifdef __GNUC__ |
10831 | | #pragma GCC diagnostic pop |
10832 | | #endif // __GNUC__ |
10833 | | // ------------------------------------------------------------------- |
10834 | | |
10835 | | // ------------------------------------------------------------------- |
10836 | | |
10837 | | // ------------------------------------------------------------------- |
10838 | | |
10839 | | // ------------------------------------------------------------------- |
10840 | | |
10841 | | // ------------------------------------------------------------------- |
10842 | | |
10843 | | // ------------------------------------------------------------------- |
10844 | | |
10845 | | // ------------------------------------------------------------------- |
10846 | | |
10847 | | // ------------------------------------------------------------------- |
10848 | | |
10849 | | // ------------------------------------------------------------------- |
10850 | | |
10851 | | // ------------------------------------------------------------------- |
10852 | | |
10853 | | // ------------------------------------------------------------------- |
10854 | | |
10855 | | // ------------------------------------------------------------------- |
10856 | | |
10857 | | // ------------------------------------------------------------------- |
10858 | | |
10859 | | // ------------------------------------------------------------------- |
10860 | | |
10861 | | // ------------------------------------------------------------------- |
10862 | | |
10863 | | // ------------------------------------------------------------------- |
10864 | | |
10865 | | // ------------------------------------------------------------------- |
10866 | | |
10867 | | // ------------------------------------------------------------------- |
10868 | | |
10869 | | // ------------------------------------------------------------------- |
10870 | | |
10871 | | // ------------------------------------------------------------------- |
10872 | | |
10873 | | // ------------------------------------------------------------------- |
10874 | | |
10875 | | // ------------------------------------------------------------------- |
10876 | | |
10877 | | // ------------------------------------------------------------------- |
10878 | | |
10879 | | // ------------------------------------------------------------------- |
10880 | | |
10881 | | // ------------------------------------------------------------------- |
10882 | | |
10883 | | // ------------------------------------------------------------------- |
10884 | | |
10885 | | // ------------------------------------------------------------------- |
10886 | | |
10887 | | // ------------------------------------------------------------------- |
10888 | | |
10889 | | // ------------------------------------------------------------------- |
10890 | | |
10891 | | // ------------------------------------------------------------------- |
10892 | | |
10893 | | // ------------------------------------------------------------------- |
10894 | | |
10895 | | // ------------------------------------------------------------------- |
10896 | | |
10897 | | // ------------------------------------------------------------------- |
10898 | | |
10899 | | |
10900 | | // @@protoc_insertion_point(namespace_scope) |
10901 | | |
10902 | | } // namespace yb |
10903 | | |
10904 | | namespace google { |
10905 | | namespace protobuf { |
10906 | | |
10907 | | template <> struct is_proto_enum< ::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm> : ::google::protobuf::internal::true_type {}; |
10908 | | template <> |
10909 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm>() { |
10910 | 0 | return ::yb::PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_descriptor(); |
10911 | 0 | } |
10912 | | template <> struct is_proto_enum< ::yb::PartitionSchemaPB_HashSchema> : ::google::protobuf::internal::true_type {}; |
10913 | | template <> |
10914 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::PartitionSchemaPB_HashSchema>() { |
10915 | 0 | return ::yb::PartitionSchemaPB_HashSchema_descriptor(); |
10916 | 0 | } |
10917 | | template <> struct is_proto_enum< ::yb::OrderMode> : ::google::protobuf::internal::true_type {}; |
10918 | | template <> |
10919 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::OrderMode>() { |
10920 | 0 | return ::yb::OrderMode_descriptor(); |
10921 | 0 | } |
10922 | | template <> struct is_proto_enum< ::yb::WaitPolicy> : ::google::protobuf::internal::true_type {}; |
10923 | | template <> |
10924 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::WaitPolicy>() { |
10925 | 0 | return ::yb::WaitPolicy_descriptor(); |
10926 | 0 | } |
10927 | | template <> struct is_proto_enum< ::yb::InvolvedTabletMetadataState> : ::google::protobuf::internal::true_type {}; |
10928 | | template <> |
10929 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::yb::InvolvedTabletMetadataState>() { |
10930 | 0 | return ::yb::InvolvedTabletMetadataState_descriptor(); |
10931 | 0 | } |
10932 | | |
10933 | | } // namespace protobuf |
10934 | | } // namespace google |
10935 | | |
10936 | | // @@protoc_insertion_point(global_scope) |
10937 | | |
10938 | | #endif // PROTOBUF_yb_2fcommon_2fcommon_2eproto__INCLUDED |