1 | #ifdef __GNUC__ |
2 | #pragma GCC diagnostic push |
3 | #pragma GCC diagnostic ignored "-Wshadow" |
4 | #pragma GCC diagnostic ignored "-Wunused-parameter" |
5 | #endif |
6 | |
7 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
8 | // source: proto/proxima_be.proto |
9 | |
10 | #ifndef GOOGLE_PROTOBUF_INCLUDED_proto_2fproxima_5fbe_2eproto |
11 | #define GOOGLE_PROTOBUF_INCLUDED_proto_2fproxima_5fbe_2eproto |
12 | |
13 | #include <limits> |
14 | #include <string> |
15 | |
16 | #include <google/protobuf/port_def.inc> |
17 | #if PROTOBUF_VERSION < 3011000 |
18 | #error This file was generated by a newer version of protoc which is |
19 | #error incompatible with your Protocol Buffer headers. Please update |
20 | #error your headers. |
21 | #endif |
22 | #if 3011004 < PROTOBUF_MIN_PROTOC_VERSION |
23 | #error This file was generated by an older version of protoc which is |
24 | #error incompatible with your Protocol Buffer headers. Please |
25 | #error regenerate this file with a newer version of protoc. |
26 | #endif |
27 | |
28 | #include <google/protobuf/port_undef.inc> |
29 | #include <google/protobuf/io/coded_stream.h> |
30 | #include <google/protobuf/arena.h> |
31 | #include <google/protobuf/arenastring.h> |
32 | #include <google/protobuf/generated_message_table_driven.h> |
33 | #include <google/protobuf/generated_message_util.h> |
34 | #include <google/protobuf/inlined_string_field.h> |
35 | #include <google/protobuf/metadata.h> |
36 | #include <google/protobuf/generated_message_reflection.h> |
37 | #include <google/protobuf/message.h> |
38 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
39 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
40 | #include <google/protobuf/generated_enum_reflection.h> |
41 | #include <google/protobuf/service.h> |
42 | #include <google/protobuf/unknown_field_set.h> |
43 | #include "proto/common.pb.h" |
44 | // @@protoc_insertion_point(includes) |
45 | #include <google/protobuf/port_def.inc> |
46 | #define PROTOBUF_INTERNAL_EXPORT_proto_2fproxima_5fbe_2eproto |
47 | PROTOBUF_NAMESPACE_OPEN |
48 | namespace internal { |
49 | class AnyMetadata; |
50 | } // namespace internal |
51 | PROTOBUF_NAMESPACE_CLOSE |
52 | |
53 | // Internal implementation detail -- do not use these members. |
54 | struct TableStruct_proto_2fproxima_5fbe_2eproto { |
55 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
56 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
57 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
58 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
59 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[26] |
60 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
61 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
62 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
63 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
64 | }; |
65 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_proto_2fproxima_5fbe_2eproto; |
66 | namespace proxima { |
67 | namespace be { |
68 | namespace proto { |
69 | class CollectionConfig; |
70 | class CollectionConfigDefaultTypeInternal; |
71 | extern CollectionConfigDefaultTypeInternal _CollectionConfig_default_instance_; |
72 | class CollectionConfig_IndexColumnParam; |
73 | class CollectionConfig_IndexColumnParamDefaultTypeInternal; |
74 | extern CollectionConfig_IndexColumnParamDefaultTypeInternal _CollectionConfig_IndexColumnParam_default_instance_; |
75 | class CollectionConfig_RepositoryConfig; |
76 | class CollectionConfig_RepositoryConfigDefaultTypeInternal; |
77 | extern CollectionConfig_RepositoryConfigDefaultTypeInternal _CollectionConfig_RepositoryConfig_default_instance_; |
78 | class CollectionConfig_RepositoryConfig_Database; |
79 | class CollectionConfig_RepositoryConfig_DatabaseDefaultTypeInternal; |
80 | extern CollectionConfig_RepositoryConfig_DatabaseDefaultTypeInternal _CollectionConfig_RepositoryConfig_Database_default_instance_; |
81 | class CollectionInfo; |
82 | class CollectionInfoDefaultTypeInternal; |
83 | extern CollectionInfoDefaultTypeInternal _CollectionInfo_default_instance_; |
84 | class CollectionName; |
85 | class CollectionNameDefaultTypeInternal; |
86 | extern CollectionNameDefaultTypeInternal _CollectionName_default_instance_; |
87 | class CollectionStats; |
88 | class CollectionStatsDefaultTypeInternal; |
89 | extern CollectionStatsDefaultTypeInternal _CollectionStats_default_instance_; |
90 | class CollectionStats_SegmentStats; |
91 | class CollectionStats_SegmentStatsDefaultTypeInternal; |
92 | extern CollectionStats_SegmentStatsDefaultTypeInternal _CollectionStats_SegmentStats_default_instance_; |
93 | class DescribeCollectionResponse; |
94 | class DescribeCollectionResponseDefaultTypeInternal; |
95 | extern DescribeCollectionResponseDefaultTypeInternal _DescribeCollectionResponse_default_instance_; |
96 | class Document; |
97 | class DocumentDefaultTypeInternal; |
98 | extern DocumentDefaultTypeInternal _Document_default_instance_; |
99 | class GetDocumentRequest; |
100 | class GetDocumentRequestDefaultTypeInternal; |
101 | extern GetDocumentRequestDefaultTypeInternal _GetDocumentRequest_default_instance_; |
102 | class GetDocumentResponse; |
103 | class GetDocumentResponseDefaultTypeInternal; |
104 | extern GetDocumentResponseDefaultTypeInternal _GetDocumentResponse_default_instance_; |
105 | class GetVersionRequest; |
106 | class GetVersionRequestDefaultTypeInternal; |
107 | extern GetVersionRequestDefaultTypeInternal _GetVersionRequest_default_instance_; |
108 | class GetVersionResponse; |
109 | class GetVersionResponseDefaultTypeInternal; |
110 | extern GetVersionResponseDefaultTypeInternal _GetVersionResponse_default_instance_; |
111 | class ListCollectionsResponse; |
112 | class ListCollectionsResponseDefaultTypeInternal; |
113 | extern ListCollectionsResponseDefaultTypeInternal _ListCollectionsResponse_default_instance_; |
114 | class ListCondition; |
115 | class ListConditionDefaultTypeInternal; |
116 | extern ListConditionDefaultTypeInternal _ListCondition_default_instance_; |
117 | class LsnContext; |
118 | class LsnContextDefaultTypeInternal; |
119 | extern LsnContextDefaultTypeInternal _LsnContext_default_instance_; |
120 | class QueryRequest; |
121 | class QueryRequestDefaultTypeInternal; |
122 | extern QueryRequestDefaultTypeInternal _QueryRequest_default_instance_; |
123 | class QueryRequest_KnnQueryParam; |
124 | class QueryRequest_KnnQueryParamDefaultTypeInternal; |
125 | extern QueryRequest_KnnQueryParamDefaultTypeInternal _QueryRequest_KnnQueryParam_default_instance_; |
126 | class QueryResponse; |
127 | class QueryResponseDefaultTypeInternal; |
128 | extern QueryResponseDefaultTypeInternal _QueryResponse_default_instance_; |
129 | class QueryResponse_Result; |
130 | class QueryResponse_ResultDefaultTypeInternal; |
131 | extern QueryResponse_ResultDefaultTypeInternal _QueryResponse_Result_default_instance_; |
132 | class StatsCollectionResponse; |
133 | class StatsCollectionResponseDefaultTypeInternal; |
134 | extern StatsCollectionResponseDefaultTypeInternal _StatsCollectionResponse_default_instance_; |
135 | class WriteRequest; |
136 | class WriteRequestDefaultTypeInternal; |
137 | extern WriteRequestDefaultTypeInternal _WriteRequest_default_instance_; |
138 | class WriteRequest_IndexColumnMeta; |
139 | class WriteRequest_IndexColumnMetaDefaultTypeInternal; |
140 | extern WriteRequest_IndexColumnMetaDefaultTypeInternal _WriteRequest_IndexColumnMeta_default_instance_; |
141 | class WriteRequest_Row; |
142 | class WriteRequest_RowDefaultTypeInternal; |
143 | extern WriteRequest_RowDefaultTypeInternal _WriteRequest_Row_default_instance_; |
144 | class WriteRequest_RowMeta; |
145 | class WriteRequest_RowMetaDefaultTypeInternal; |
146 | extern WriteRequest_RowMetaDefaultTypeInternal _WriteRequest_RowMeta_default_instance_; |
147 | } // namespace proto |
148 | } // namespace be |
149 | } // namespace proxima |
150 | PROTOBUF_NAMESPACE_OPEN |
151 | template<> ::proxima::be::proto::CollectionConfig* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionConfig>(Arena*); |
152 | template<> ::proxima::be::proto::CollectionConfig_IndexColumnParam* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionConfig_IndexColumnParam>(Arena*); |
153 | template<> ::proxima::be::proto::CollectionConfig_RepositoryConfig* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionConfig_RepositoryConfig>(Arena*); |
154 | template<> ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionConfig_RepositoryConfig_Database>(Arena*); |
155 | template<> ::proxima::be::proto::CollectionInfo* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionInfo>(Arena*); |
156 | template<> ::proxima::be::proto::CollectionName* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionName>(Arena*); |
157 | template<> ::proxima::be::proto::CollectionStats* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionStats>(Arena*); |
158 | template<> ::proxima::be::proto::CollectionStats_SegmentStats* Arena::CreateMaybeMessage<::proxima::be::proto::CollectionStats_SegmentStats>(Arena*); |
159 | template<> ::proxima::be::proto::DescribeCollectionResponse* Arena::CreateMaybeMessage<::proxima::be::proto::DescribeCollectionResponse>(Arena*); |
160 | template<> ::proxima::be::proto::Document* Arena::CreateMaybeMessage<::proxima::be::proto::Document>(Arena*); |
161 | template<> ::proxima::be::proto::GetDocumentRequest* Arena::CreateMaybeMessage<::proxima::be::proto::GetDocumentRequest>(Arena*); |
162 | template<> ::proxima::be::proto::GetDocumentResponse* Arena::CreateMaybeMessage<::proxima::be::proto::GetDocumentResponse>(Arena*); |
163 | template<> ::proxima::be::proto::GetVersionRequest* Arena::CreateMaybeMessage<::proxima::be::proto::GetVersionRequest>(Arena*); |
164 | template<> ::proxima::be::proto::GetVersionResponse* Arena::CreateMaybeMessage<::proxima::be::proto::GetVersionResponse>(Arena*); |
165 | template<> ::proxima::be::proto::ListCollectionsResponse* Arena::CreateMaybeMessage<::proxima::be::proto::ListCollectionsResponse>(Arena*); |
166 | template<> ::proxima::be::proto::ListCondition* Arena::CreateMaybeMessage<::proxima::be::proto::ListCondition>(Arena*); |
167 | template<> ::proxima::be::proto::LsnContext* Arena::CreateMaybeMessage<::proxima::be::proto::LsnContext>(Arena*); |
168 | template<> ::proxima::be::proto::QueryRequest* Arena::CreateMaybeMessage<::proxima::be::proto::QueryRequest>(Arena*); |
169 | template<> ::proxima::be::proto::QueryRequest_KnnQueryParam* Arena::CreateMaybeMessage<::proxima::be::proto::QueryRequest_KnnQueryParam>(Arena*); |
170 | template<> ::proxima::be::proto::QueryResponse* Arena::CreateMaybeMessage<::proxima::be::proto::QueryResponse>(Arena*); |
171 | template<> ::proxima::be::proto::QueryResponse_Result* Arena::CreateMaybeMessage<::proxima::be::proto::QueryResponse_Result>(Arena*); |
172 | template<> ::proxima::be::proto::StatsCollectionResponse* Arena::CreateMaybeMessage<::proxima::be::proto::StatsCollectionResponse>(Arena*); |
173 | template<> ::proxima::be::proto::WriteRequest* Arena::CreateMaybeMessage<::proxima::be::proto::WriteRequest>(Arena*); |
174 | template<> ::proxima::be::proto::WriteRequest_IndexColumnMeta* Arena::CreateMaybeMessage<::proxima::be::proto::WriteRequest_IndexColumnMeta>(Arena*); |
175 | template<> ::proxima::be::proto::WriteRequest_Row* Arena::CreateMaybeMessage<::proxima::be::proto::WriteRequest_Row>(Arena*); |
176 | template<> ::proxima::be::proto::WriteRequest_RowMeta* Arena::CreateMaybeMessage<::proxima::be::proto::WriteRequest_RowMeta>(Arena*); |
177 | PROTOBUF_NAMESPACE_CLOSE |
178 | namespace proxima { |
179 | namespace be { |
180 | namespace proto { |
181 | |
182 | enum CollectionConfig_RepositoryConfig_RepositoryType : int { |
183 | CollectionConfig_RepositoryConfig_RepositoryType_RT_DATABASE = 0, |
184 | CollectionConfig_RepositoryConfig_RepositoryType_CollectionConfig_RepositoryConfig_RepositoryType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), |
185 | CollectionConfig_RepositoryConfig_RepositoryType_CollectionConfig_RepositoryConfig_RepositoryType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() |
186 | }; |
187 | bool CollectionConfig_RepositoryConfig_RepositoryType_IsValid(int value); |
188 | constexpr CollectionConfig_RepositoryConfig_RepositoryType CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_MIN = CollectionConfig_RepositoryConfig_RepositoryType_RT_DATABASE; |
189 | constexpr CollectionConfig_RepositoryConfig_RepositoryType CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_MAX = CollectionConfig_RepositoryConfig_RepositoryType_RT_DATABASE; |
190 | constexpr int CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_ARRAYSIZE = CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_MAX + 1; |
191 | |
192 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CollectionConfig_RepositoryConfig_RepositoryType_descriptor(); |
193 | template<typename T> |
194 | inline const std::string& CollectionConfig_RepositoryConfig_RepositoryType_Name(T enum_t_value) { |
195 | static_assert(::std::is_same<T, CollectionConfig_RepositoryConfig_RepositoryType>::value || |
196 | ::std::is_integral<T>::value, |
197 | "Incorrect type passed to function CollectionConfig_RepositoryConfig_RepositoryType_Name." ); |
198 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
199 | CollectionConfig_RepositoryConfig_RepositoryType_descriptor(), enum_t_value); |
200 | } |
201 | inline bool CollectionConfig_RepositoryConfig_RepositoryType_Parse( |
202 | const std::string& name, CollectionConfig_RepositoryConfig_RepositoryType* value) { |
203 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CollectionConfig_RepositoryConfig_RepositoryType>( |
204 | CollectionConfig_RepositoryConfig_RepositoryType_descriptor(), name, value); |
205 | } |
206 | enum CollectionInfo_CollectionStatus : int { |
207 | CollectionInfo_CollectionStatus_CS_INITIALIZED = 0, |
208 | CollectionInfo_CollectionStatus_CS_SERVING = 1, |
209 | CollectionInfo_CollectionStatus_CS_DROPPED = 2, |
210 | CollectionInfo_CollectionStatus_CollectionInfo_CollectionStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), |
211 | CollectionInfo_CollectionStatus_CollectionInfo_CollectionStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() |
212 | }; |
213 | bool CollectionInfo_CollectionStatus_IsValid(int value); |
214 | constexpr CollectionInfo_CollectionStatus CollectionInfo_CollectionStatus_CollectionStatus_MIN = CollectionInfo_CollectionStatus_CS_INITIALIZED; |
215 | constexpr CollectionInfo_CollectionStatus CollectionInfo_CollectionStatus_CollectionStatus_MAX = CollectionInfo_CollectionStatus_CS_DROPPED; |
216 | constexpr int CollectionInfo_CollectionStatus_CollectionStatus_ARRAYSIZE = CollectionInfo_CollectionStatus_CollectionStatus_MAX + 1; |
217 | |
218 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CollectionInfo_CollectionStatus_descriptor(); |
219 | template<typename T> |
220 | inline const std::string& CollectionInfo_CollectionStatus_Name(T enum_t_value) { |
221 | static_assert(::std::is_same<T, CollectionInfo_CollectionStatus>::value || |
222 | ::std::is_integral<T>::value, |
223 | "Incorrect type passed to function CollectionInfo_CollectionStatus_Name." ); |
224 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
225 | CollectionInfo_CollectionStatus_descriptor(), enum_t_value); |
226 | } |
227 | inline bool CollectionInfo_CollectionStatus_Parse( |
228 | const std::string& name, CollectionInfo_CollectionStatus* value) { |
229 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CollectionInfo_CollectionStatus>( |
230 | CollectionInfo_CollectionStatus_descriptor(), name, value); |
231 | } |
232 | enum CollectionStats_SegmentStats_SegmentState : int { |
233 | CollectionStats_SegmentStats_SegmentState_SS_CREATED = 0, |
234 | CollectionStats_SegmentStats_SegmentState_SS_WRITING = 1, |
235 | CollectionStats_SegmentStats_SegmentState_SS_DUMPING = 2, |
236 | CollectionStats_SegmentStats_SegmentState_SS_COMPACTING = 3, |
237 | CollectionStats_SegmentStats_SegmentState_SS_PERSIST = 4, |
238 | CollectionStats_SegmentStats_SegmentState_CollectionStats_SegmentStats_SegmentState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), |
239 | CollectionStats_SegmentStats_SegmentState_CollectionStats_SegmentStats_SegmentState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() |
240 | }; |
241 | bool CollectionStats_SegmentStats_SegmentState_IsValid(int value); |
242 | constexpr CollectionStats_SegmentStats_SegmentState CollectionStats_SegmentStats_SegmentState_SegmentState_MIN = CollectionStats_SegmentStats_SegmentState_SS_CREATED; |
243 | constexpr CollectionStats_SegmentStats_SegmentState CollectionStats_SegmentStats_SegmentState_SegmentState_MAX = CollectionStats_SegmentStats_SegmentState_SS_PERSIST; |
244 | constexpr int CollectionStats_SegmentStats_SegmentState_SegmentState_ARRAYSIZE = CollectionStats_SegmentStats_SegmentState_SegmentState_MAX + 1; |
245 | |
246 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CollectionStats_SegmentStats_SegmentState_descriptor(); |
247 | template<typename T> |
248 | inline const std::string& CollectionStats_SegmentStats_SegmentState_Name(T enum_t_value) { |
249 | static_assert(::std::is_same<T, CollectionStats_SegmentStats_SegmentState>::value || |
250 | ::std::is_integral<T>::value, |
251 | "Incorrect type passed to function CollectionStats_SegmentStats_SegmentState_Name." ); |
252 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
253 | CollectionStats_SegmentStats_SegmentState_descriptor(), enum_t_value); |
254 | } |
255 | inline bool CollectionStats_SegmentStats_SegmentState_Parse( |
256 | const std::string& name, CollectionStats_SegmentStats_SegmentState* value) { |
257 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CollectionStats_SegmentStats_SegmentState>( |
258 | CollectionStats_SegmentStats_SegmentState_descriptor(), name, value); |
259 | } |
260 | enum QueryRequest_QueryType : int { |
261 | QueryRequest_QueryType_QT_KNN = 0, |
262 | QueryRequest_QueryType_QueryRequest_QueryType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), |
263 | QueryRequest_QueryType_QueryRequest_QueryType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() |
264 | }; |
265 | bool QueryRequest_QueryType_IsValid(int value); |
266 | constexpr QueryRequest_QueryType QueryRequest_QueryType_QueryType_MIN = QueryRequest_QueryType_QT_KNN; |
267 | constexpr QueryRequest_QueryType QueryRequest_QueryType_QueryType_MAX = QueryRequest_QueryType_QT_KNN; |
268 | constexpr int QueryRequest_QueryType_QueryType_ARRAYSIZE = QueryRequest_QueryType_QueryType_MAX + 1; |
269 | |
270 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* QueryRequest_QueryType_descriptor(); |
271 | template<typename T> |
272 | inline const std::string& QueryRequest_QueryType_Name(T enum_t_value) { |
273 | static_assert(::std::is_same<T, QueryRequest_QueryType>::value || |
274 | ::std::is_integral<T>::value, |
275 | "Incorrect type passed to function QueryRequest_QueryType_Name." ); |
276 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
277 | QueryRequest_QueryType_descriptor(), enum_t_value); |
278 | } |
279 | inline bool QueryRequest_QueryType_Parse( |
280 | const std::string& name, QueryRequest_QueryType* value) { |
281 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<QueryRequest_QueryType>( |
282 | QueryRequest_QueryType_descriptor(), name, value); |
283 | } |
284 | // =================================================================== |
285 | |
286 | class CollectionConfig_IndexColumnParam : |
287 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionConfig.IndexColumnParam) */ { |
288 | public: |
289 | CollectionConfig_IndexColumnParam(); |
290 | virtual ~CollectionConfig_IndexColumnParam(); |
291 | |
292 | CollectionConfig_IndexColumnParam(const CollectionConfig_IndexColumnParam& from); |
293 | CollectionConfig_IndexColumnParam(CollectionConfig_IndexColumnParam&& from) noexcept |
294 | : CollectionConfig_IndexColumnParam() { |
295 | *this = ::std::move(from); |
296 | } |
297 | |
298 | inline CollectionConfig_IndexColumnParam& operator=(const CollectionConfig_IndexColumnParam& from) { |
299 | CopyFrom(from); |
300 | return *this; |
301 | } |
302 | inline CollectionConfig_IndexColumnParam& operator=(CollectionConfig_IndexColumnParam&& from) noexcept { |
303 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
304 | if (this != &from) InternalSwap(&from); |
305 | } else { |
306 | CopyFrom(from); |
307 | } |
308 | return *this; |
309 | } |
310 | |
311 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
312 | return GetDescriptor(); |
313 | } |
314 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
315 | return GetMetadataStatic().descriptor; |
316 | } |
317 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
318 | return GetMetadataStatic().reflection; |
319 | } |
320 | static const CollectionConfig_IndexColumnParam& default_instance(); |
321 | |
322 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
323 | static inline const CollectionConfig_IndexColumnParam* internal_default_instance() { |
324 | return reinterpret_cast<const CollectionConfig_IndexColumnParam*>( |
325 | &_CollectionConfig_IndexColumnParam_default_instance_); |
326 | } |
327 | static constexpr int kIndexInFileMessages = |
328 | 0; |
329 | |
330 | friend void swap(CollectionConfig_IndexColumnParam& a, CollectionConfig_IndexColumnParam& b) { |
331 | a.Swap(&b); |
332 | } |
333 | inline void Swap(CollectionConfig_IndexColumnParam* other) { |
334 | if (other == this) return; |
335 | InternalSwap(other); |
336 | } |
337 | |
338 | // implements Message ---------------------------------------------- |
339 | |
340 | inline CollectionConfig_IndexColumnParam* New() const final { |
341 | return CreateMaybeMessage<CollectionConfig_IndexColumnParam>(nullptr); |
342 | } |
343 | |
344 | CollectionConfig_IndexColumnParam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
345 | return CreateMaybeMessage<CollectionConfig_IndexColumnParam>(arena); |
346 | } |
347 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
348 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
349 | void CopyFrom(const CollectionConfig_IndexColumnParam& from); |
350 | void MergeFrom(const CollectionConfig_IndexColumnParam& from); |
351 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
352 | bool IsInitialized() const final; |
353 | |
354 | size_t ByteSizeLong() const final; |
355 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
356 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
357 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
358 | int GetCachedSize() const final { return _cached_size_.Get(); } |
359 | |
360 | private: |
361 | inline void SharedCtor(); |
362 | inline void SharedDtor(); |
363 | void SetCachedSize(int size) const final; |
364 | void InternalSwap(CollectionConfig_IndexColumnParam* other); |
365 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
366 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
367 | return "proxima.be.proto.CollectionConfig.IndexColumnParam" ; |
368 | } |
369 | private: |
370 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
371 | return nullptr; |
372 | } |
373 | inline void* MaybeArenaPtr() const { |
374 | return nullptr; |
375 | } |
376 | public: |
377 | |
378 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
379 | private: |
380 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
381 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
382 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
383 | } |
384 | |
385 | public: |
386 | |
387 | // nested types ---------------------------------------------------- |
388 | |
389 | // accessors ------------------------------------------------------- |
390 | |
391 | enum : int { |
392 | kExtraParamsFieldNumber = 5, |
393 | kColumnNameFieldNumber = 1, |
394 | kIndexTypeFieldNumber = 2, |
395 | kDataTypeFieldNumber = 3, |
396 | kDimensionFieldNumber = 4, |
397 | }; |
398 | // repeated .proxima.be.proto.KeyValuePair extra_params = 5; |
399 | int extra_params_size() const; |
400 | private: |
401 | int _internal_extra_params_size() const; |
402 | public: |
403 | void clear_extra_params(); |
404 | ::proxima::be::proto::KeyValuePair* mutable_extra_params(int index); |
405 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >* |
406 | mutable_extra_params(); |
407 | private: |
408 | const ::proxima::be::proto::KeyValuePair& _internal_extra_params(int index) const; |
409 | ::proxima::be::proto::KeyValuePair* _internal_add_extra_params(); |
410 | public: |
411 | const ::proxima::be::proto::KeyValuePair& extra_params(int index) const; |
412 | ::proxima::be::proto::KeyValuePair* add_extra_params(); |
413 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >& |
414 | extra_params() const; |
415 | |
416 | // string column_name = 1; |
417 | void clear_column_name(); |
418 | const std::string& column_name() const; |
419 | void set_column_name(const std::string& value); |
420 | void set_column_name(std::string&& value); |
421 | void set_column_name(const char* value); |
422 | void set_column_name(const char* value, size_t size); |
423 | std::string* mutable_column_name(); |
424 | std::string* release_column_name(); |
425 | void set_allocated_column_name(std::string* column_name); |
426 | private: |
427 | const std::string& _internal_column_name() const; |
428 | void _internal_set_column_name(const std::string& value); |
429 | std::string* _internal_mutable_column_name(); |
430 | public: |
431 | |
432 | // .proxima.be.proto.IndexType index_type = 2; |
433 | void clear_index_type(); |
434 | ::proxima::be::proto::IndexType index_type() const; |
435 | void set_index_type(::proxima::be::proto::IndexType value); |
436 | private: |
437 | ::proxima::be::proto::IndexType _internal_index_type() const; |
438 | void _internal_set_index_type(::proxima::be::proto::IndexType value); |
439 | public: |
440 | |
441 | // .proxima.be.proto.DataType data_type = 3; |
442 | void clear_data_type(); |
443 | ::proxima::be::proto::DataType data_type() const; |
444 | void set_data_type(::proxima::be::proto::DataType value); |
445 | private: |
446 | ::proxima::be::proto::DataType _internal_data_type() const; |
447 | void _internal_set_data_type(::proxima::be::proto::DataType value); |
448 | public: |
449 | |
450 | // uint32 dimension = 4; |
451 | void clear_dimension(); |
452 | ::PROTOBUF_NAMESPACE_ID::uint32 dimension() const; |
453 | void set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value); |
454 | private: |
455 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dimension() const; |
456 | void _internal_set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value); |
457 | public: |
458 | |
459 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionConfig.IndexColumnParam) |
460 | private: |
461 | class _Internal; |
462 | |
463 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
464 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair > extra_params_; |
465 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_; |
466 | int index_type_; |
467 | int data_type_; |
468 | ::PROTOBUF_NAMESPACE_ID::uint32 dimension_; |
469 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
470 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
471 | }; |
472 | // ------------------------------------------------------------------- |
473 | |
474 | class CollectionConfig_RepositoryConfig_Database : |
475 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionConfig.RepositoryConfig.Database) */ { |
476 | public: |
477 | CollectionConfig_RepositoryConfig_Database(); |
478 | virtual ~CollectionConfig_RepositoryConfig_Database(); |
479 | |
480 | CollectionConfig_RepositoryConfig_Database(const CollectionConfig_RepositoryConfig_Database& from); |
481 | CollectionConfig_RepositoryConfig_Database(CollectionConfig_RepositoryConfig_Database&& from) noexcept |
482 | : CollectionConfig_RepositoryConfig_Database() { |
483 | *this = ::std::move(from); |
484 | } |
485 | |
486 | inline CollectionConfig_RepositoryConfig_Database& operator=(const CollectionConfig_RepositoryConfig_Database& from) { |
487 | CopyFrom(from); |
488 | return *this; |
489 | } |
490 | inline CollectionConfig_RepositoryConfig_Database& operator=(CollectionConfig_RepositoryConfig_Database&& from) noexcept { |
491 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
492 | if (this != &from) InternalSwap(&from); |
493 | } else { |
494 | CopyFrom(from); |
495 | } |
496 | return *this; |
497 | } |
498 | |
499 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
500 | return GetDescriptor(); |
501 | } |
502 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
503 | return GetMetadataStatic().descriptor; |
504 | } |
505 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
506 | return GetMetadataStatic().reflection; |
507 | } |
508 | static const CollectionConfig_RepositoryConfig_Database& default_instance(); |
509 | |
510 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
511 | static inline const CollectionConfig_RepositoryConfig_Database* internal_default_instance() { |
512 | return reinterpret_cast<const CollectionConfig_RepositoryConfig_Database*>( |
513 | &_CollectionConfig_RepositoryConfig_Database_default_instance_); |
514 | } |
515 | static constexpr int kIndexInFileMessages = |
516 | 1; |
517 | |
518 | friend void swap(CollectionConfig_RepositoryConfig_Database& a, CollectionConfig_RepositoryConfig_Database& b) { |
519 | a.Swap(&b); |
520 | } |
521 | inline void Swap(CollectionConfig_RepositoryConfig_Database* other) { |
522 | if (other == this) return; |
523 | InternalSwap(other); |
524 | } |
525 | |
526 | // implements Message ---------------------------------------------- |
527 | |
528 | inline CollectionConfig_RepositoryConfig_Database* New() const final { |
529 | return CreateMaybeMessage<CollectionConfig_RepositoryConfig_Database>(nullptr); |
530 | } |
531 | |
532 | CollectionConfig_RepositoryConfig_Database* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
533 | return CreateMaybeMessage<CollectionConfig_RepositoryConfig_Database>(arena); |
534 | } |
535 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
536 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
537 | void CopyFrom(const CollectionConfig_RepositoryConfig_Database& from); |
538 | void MergeFrom(const CollectionConfig_RepositoryConfig_Database& from); |
539 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
540 | bool IsInitialized() const final; |
541 | |
542 | size_t ByteSizeLong() const final; |
543 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
544 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
545 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
546 | int GetCachedSize() const final { return _cached_size_.Get(); } |
547 | |
548 | private: |
549 | inline void SharedCtor(); |
550 | inline void SharedDtor(); |
551 | void SetCachedSize(int size) const final; |
552 | void InternalSwap(CollectionConfig_RepositoryConfig_Database* other); |
553 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
554 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
555 | return "proxima.be.proto.CollectionConfig.RepositoryConfig.Database" ; |
556 | } |
557 | private: |
558 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
559 | return nullptr; |
560 | } |
561 | inline void* MaybeArenaPtr() const { |
562 | return nullptr; |
563 | } |
564 | public: |
565 | |
566 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
567 | private: |
568 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
569 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
570 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
571 | } |
572 | |
573 | public: |
574 | |
575 | // nested types ---------------------------------------------------- |
576 | |
577 | // accessors ------------------------------------------------------- |
578 | |
579 | enum : int { |
580 | kConnectionUriFieldNumber = 1, |
581 | kTableNameFieldNumber = 2, |
582 | kUserFieldNumber = 3, |
583 | kPasswordFieldNumber = 4, |
584 | }; |
585 | // string connection_uri = 1; |
586 | void clear_connection_uri(); |
587 | const std::string& connection_uri() const; |
588 | void set_connection_uri(const std::string& value); |
589 | void set_connection_uri(std::string&& value); |
590 | void set_connection_uri(const char* value); |
591 | void set_connection_uri(const char* value, size_t size); |
592 | std::string* mutable_connection_uri(); |
593 | std::string* release_connection_uri(); |
594 | void set_allocated_connection_uri(std::string* connection_uri); |
595 | private: |
596 | const std::string& _internal_connection_uri() const; |
597 | void _internal_set_connection_uri(const std::string& value); |
598 | std::string* _internal_mutable_connection_uri(); |
599 | public: |
600 | |
601 | // string table_name = 2; |
602 | void clear_table_name(); |
603 | const std::string& table_name() const; |
604 | void set_table_name(const std::string& value); |
605 | void set_table_name(std::string&& value); |
606 | void set_table_name(const char* value); |
607 | void set_table_name(const char* value, size_t size); |
608 | std::string* mutable_table_name(); |
609 | std::string* release_table_name(); |
610 | void set_allocated_table_name(std::string* table_name); |
611 | private: |
612 | const std::string& _internal_table_name() const; |
613 | void _internal_set_table_name(const std::string& value); |
614 | std::string* _internal_mutable_table_name(); |
615 | public: |
616 | |
617 | // string user = 3; |
618 | void clear_user(); |
619 | const std::string& user() const; |
620 | void set_user(const std::string& value); |
621 | void set_user(std::string&& value); |
622 | void set_user(const char* value); |
623 | void set_user(const char* value, size_t size); |
624 | std::string* mutable_user(); |
625 | std::string* release_user(); |
626 | void set_allocated_user(std::string* user); |
627 | private: |
628 | const std::string& _internal_user() const; |
629 | void _internal_set_user(const std::string& value); |
630 | std::string* _internal_mutable_user(); |
631 | public: |
632 | |
633 | // string password = 4; |
634 | void clear_password(); |
635 | const std::string& password() const; |
636 | void set_password(const std::string& value); |
637 | void set_password(std::string&& value); |
638 | void set_password(const char* value); |
639 | void set_password(const char* value, size_t size); |
640 | std::string* mutable_password(); |
641 | std::string* release_password(); |
642 | void set_allocated_password(std::string* password); |
643 | private: |
644 | const std::string& _internal_password() const; |
645 | void _internal_set_password(const std::string& value); |
646 | std::string* _internal_mutable_password(); |
647 | public: |
648 | |
649 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionConfig.RepositoryConfig.Database) |
650 | private: |
651 | class _Internal; |
652 | |
653 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
654 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr connection_uri_; |
655 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr table_name_; |
656 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr user_; |
657 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_; |
658 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
659 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
660 | }; |
661 | // ------------------------------------------------------------------- |
662 | |
663 | class CollectionConfig_RepositoryConfig : |
664 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionConfig.RepositoryConfig) */ { |
665 | public: |
666 | CollectionConfig_RepositoryConfig(); |
667 | virtual ~CollectionConfig_RepositoryConfig(); |
668 | |
669 | CollectionConfig_RepositoryConfig(const CollectionConfig_RepositoryConfig& from); |
670 | CollectionConfig_RepositoryConfig(CollectionConfig_RepositoryConfig&& from) noexcept |
671 | : CollectionConfig_RepositoryConfig() { |
672 | *this = ::std::move(from); |
673 | } |
674 | |
675 | inline CollectionConfig_RepositoryConfig& operator=(const CollectionConfig_RepositoryConfig& from) { |
676 | CopyFrom(from); |
677 | return *this; |
678 | } |
679 | inline CollectionConfig_RepositoryConfig& operator=(CollectionConfig_RepositoryConfig&& from) noexcept { |
680 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
681 | if (this != &from) InternalSwap(&from); |
682 | } else { |
683 | CopyFrom(from); |
684 | } |
685 | return *this; |
686 | } |
687 | |
688 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
689 | return GetDescriptor(); |
690 | } |
691 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
692 | return GetMetadataStatic().descriptor; |
693 | } |
694 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
695 | return GetMetadataStatic().reflection; |
696 | } |
697 | static const CollectionConfig_RepositoryConfig& default_instance(); |
698 | |
699 | enum EntityCase { |
700 | kDatabase = 3, |
701 | ENTITY_NOT_SET = 0, |
702 | }; |
703 | |
704 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
705 | static inline const CollectionConfig_RepositoryConfig* internal_default_instance() { |
706 | return reinterpret_cast<const CollectionConfig_RepositoryConfig*>( |
707 | &_CollectionConfig_RepositoryConfig_default_instance_); |
708 | } |
709 | static constexpr int kIndexInFileMessages = |
710 | 2; |
711 | |
712 | friend void swap(CollectionConfig_RepositoryConfig& a, CollectionConfig_RepositoryConfig& b) { |
713 | a.Swap(&b); |
714 | } |
715 | inline void Swap(CollectionConfig_RepositoryConfig* other) { |
716 | if (other == this) return; |
717 | InternalSwap(other); |
718 | } |
719 | |
720 | // implements Message ---------------------------------------------- |
721 | |
722 | inline CollectionConfig_RepositoryConfig* New() const final { |
723 | return CreateMaybeMessage<CollectionConfig_RepositoryConfig>(nullptr); |
724 | } |
725 | |
726 | CollectionConfig_RepositoryConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
727 | return CreateMaybeMessage<CollectionConfig_RepositoryConfig>(arena); |
728 | } |
729 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
730 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
731 | void CopyFrom(const CollectionConfig_RepositoryConfig& from); |
732 | void MergeFrom(const CollectionConfig_RepositoryConfig& from); |
733 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
734 | bool IsInitialized() const final; |
735 | |
736 | size_t ByteSizeLong() const final; |
737 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
738 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
739 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
740 | int GetCachedSize() const final { return _cached_size_.Get(); } |
741 | |
742 | private: |
743 | inline void SharedCtor(); |
744 | inline void SharedDtor(); |
745 | void SetCachedSize(int size) const final; |
746 | void InternalSwap(CollectionConfig_RepositoryConfig* other); |
747 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
748 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
749 | return "proxima.be.proto.CollectionConfig.RepositoryConfig" ; |
750 | } |
751 | private: |
752 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
753 | return nullptr; |
754 | } |
755 | inline void* MaybeArenaPtr() const { |
756 | return nullptr; |
757 | } |
758 | public: |
759 | |
760 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
761 | private: |
762 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
763 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
764 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
765 | } |
766 | |
767 | public: |
768 | |
769 | // nested types ---------------------------------------------------- |
770 | |
771 | typedef CollectionConfig_RepositoryConfig_Database Database; |
772 | |
773 | typedef CollectionConfig_RepositoryConfig_RepositoryType RepositoryType; |
774 | static constexpr RepositoryType RT_DATABASE = |
775 | CollectionConfig_RepositoryConfig_RepositoryType_RT_DATABASE; |
776 | static inline bool RepositoryType_IsValid(int value) { |
777 | return CollectionConfig_RepositoryConfig_RepositoryType_IsValid(value); |
778 | } |
779 | static constexpr RepositoryType RepositoryType_MIN = |
780 | CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_MIN; |
781 | static constexpr RepositoryType RepositoryType_MAX = |
782 | CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_MAX; |
783 | static constexpr int RepositoryType_ARRAYSIZE = |
784 | CollectionConfig_RepositoryConfig_RepositoryType_RepositoryType_ARRAYSIZE; |
785 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
786 | RepositoryType_descriptor() { |
787 | return CollectionConfig_RepositoryConfig_RepositoryType_descriptor(); |
788 | } |
789 | template<typename T> |
790 | static inline const std::string& RepositoryType_Name(T enum_t_value) { |
791 | static_assert(::std::is_same<T, RepositoryType>::value || |
792 | ::std::is_integral<T>::value, |
793 | "Incorrect type passed to function RepositoryType_Name." ); |
794 | return CollectionConfig_RepositoryConfig_RepositoryType_Name(enum_t_value); |
795 | } |
796 | static inline bool RepositoryType_Parse(const std::string& name, |
797 | RepositoryType* value) { |
798 | return CollectionConfig_RepositoryConfig_RepositoryType_Parse(name, value); |
799 | } |
800 | |
801 | // accessors ------------------------------------------------------- |
802 | |
803 | enum : int { |
804 | kRepositoryNameFieldNumber = 2, |
805 | kRepositoryTypeFieldNumber = 1, |
806 | kDatabaseFieldNumber = 3, |
807 | }; |
808 | // string repository_name = 2; |
809 | void clear_repository_name(); |
810 | const std::string& repository_name() const; |
811 | void set_repository_name(const std::string& value); |
812 | void set_repository_name(std::string&& value); |
813 | void set_repository_name(const char* value); |
814 | void set_repository_name(const char* value, size_t size); |
815 | std::string* mutable_repository_name(); |
816 | std::string* release_repository_name(); |
817 | void set_allocated_repository_name(std::string* repository_name); |
818 | private: |
819 | const std::string& _internal_repository_name() const; |
820 | void _internal_set_repository_name(const std::string& value); |
821 | std::string* _internal_mutable_repository_name(); |
822 | public: |
823 | |
824 | // .proxima.be.proto.CollectionConfig.RepositoryConfig.RepositoryType repository_type = 1; |
825 | void clear_repository_type(); |
826 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType repository_type() const; |
827 | void set_repository_type(::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType value); |
828 | private: |
829 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType _internal_repository_type() const; |
830 | void _internal_set_repository_type(::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType value); |
831 | public: |
832 | |
833 | // .proxima.be.proto.CollectionConfig.RepositoryConfig.Database database = 3; |
834 | bool has_database() const; |
835 | private: |
836 | bool _internal_has_database() const; |
837 | public: |
838 | void clear_database(); |
839 | const ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database& database() const; |
840 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* release_database(); |
841 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* mutable_database(); |
842 | void set_allocated_database(::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* database); |
843 | private: |
844 | const ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database& _internal_database() const; |
845 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* _internal_mutable_database(); |
846 | public: |
847 | |
848 | void clear_entity(); |
849 | EntityCase entity_case() const; |
850 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionConfig.RepositoryConfig) |
851 | private: |
852 | class _Internal; |
853 | void set_has_database(); |
854 | |
855 | inline bool has_entity() const; |
856 | inline void clear_has_entity(); |
857 | |
858 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
859 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repository_name_; |
860 | int repository_type_; |
861 | union EntityUnion { |
862 | EntityUnion() {} |
863 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* database_; |
864 | } entity_; |
865 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
866 | ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; |
867 | |
868 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
869 | }; |
870 | // ------------------------------------------------------------------- |
871 | |
872 | class CollectionConfig : |
873 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionConfig) */ { |
874 | public: |
875 | CollectionConfig(); |
876 | virtual ~CollectionConfig(); |
877 | |
878 | CollectionConfig(const CollectionConfig& from); |
879 | CollectionConfig(CollectionConfig&& from) noexcept |
880 | : CollectionConfig() { |
881 | *this = ::std::move(from); |
882 | } |
883 | |
884 | inline CollectionConfig& operator=(const CollectionConfig& from) { |
885 | CopyFrom(from); |
886 | return *this; |
887 | } |
888 | inline CollectionConfig& operator=(CollectionConfig&& from) noexcept { |
889 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
890 | if (this != &from) InternalSwap(&from); |
891 | } else { |
892 | CopyFrom(from); |
893 | } |
894 | return *this; |
895 | } |
896 | |
897 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
898 | return GetDescriptor(); |
899 | } |
900 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
901 | return GetMetadataStatic().descriptor; |
902 | } |
903 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
904 | return GetMetadataStatic().reflection; |
905 | } |
906 | static const CollectionConfig& default_instance(); |
907 | |
908 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
909 | static inline const CollectionConfig* internal_default_instance() { |
910 | return reinterpret_cast<const CollectionConfig*>( |
911 | &_CollectionConfig_default_instance_); |
912 | } |
913 | static constexpr int kIndexInFileMessages = |
914 | 3; |
915 | |
916 | friend void swap(CollectionConfig& a, CollectionConfig& b) { |
917 | a.Swap(&b); |
918 | } |
919 | inline void Swap(CollectionConfig* other) { |
920 | if (other == this) return; |
921 | InternalSwap(other); |
922 | } |
923 | |
924 | // implements Message ---------------------------------------------- |
925 | |
926 | inline CollectionConfig* New() const final { |
927 | return CreateMaybeMessage<CollectionConfig>(nullptr); |
928 | } |
929 | |
930 | CollectionConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
931 | return CreateMaybeMessage<CollectionConfig>(arena); |
932 | } |
933 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
934 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
935 | void CopyFrom(const CollectionConfig& from); |
936 | void MergeFrom(const CollectionConfig& from); |
937 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
938 | bool IsInitialized() const final; |
939 | |
940 | size_t ByteSizeLong() const final; |
941 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
942 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
943 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
944 | int GetCachedSize() const final { return _cached_size_.Get(); } |
945 | |
946 | private: |
947 | inline void SharedCtor(); |
948 | inline void SharedDtor(); |
949 | void SetCachedSize(int size) const final; |
950 | void InternalSwap(CollectionConfig* other); |
951 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
952 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
953 | return "proxima.be.proto.CollectionConfig" ; |
954 | } |
955 | private: |
956 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
957 | return nullptr; |
958 | } |
959 | inline void* MaybeArenaPtr() const { |
960 | return nullptr; |
961 | } |
962 | public: |
963 | |
964 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
965 | private: |
966 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
967 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
968 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
969 | } |
970 | |
971 | public: |
972 | |
973 | // nested types ---------------------------------------------------- |
974 | |
975 | typedef CollectionConfig_IndexColumnParam IndexColumnParam; |
976 | typedef CollectionConfig_RepositoryConfig RepositoryConfig; |
977 | |
978 | // accessors ------------------------------------------------------- |
979 | |
980 | enum : int { |
981 | kForwardColumnNamesFieldNumber = 3, |
982 | kIndexColumnParamsFieldNumber = 4, |
983 | kCollectionNameFieldNumber = 1, |
984 | kRepositoryConfigFieldNumber = 5, |
985 | kMaxDocsPerSegmentFieldNumber = 2, |
986 | }; |
987 | // repeated string forward_column_names = 3; |
988 | int forward_column_names_size() const; |
989 | private: |
990 | int _internal_forward_column_names_size() const; |
991 | public: |
992 | void clear_forward_column_names(); |
993 | const std::string& forward_column_names(int index) const; |
994 | std::string* mutable_forward_column_names(int index); |
995 | void set_forward_column_names(int index, const std::string& value); |
996 | void set_forward_column_names(int index, std::string&& value); |
997 | void set_forward_column_names(int index, const char* value); |
998 | void set_forward_column_names(int index, const char* value, size_t size); |
999 | std::string* add_forward_column_names(); |
1000 | void add_forward_column_names(const std::string& value); |
1001 | void add_forward_column_names(std::string&& value); |
1002 | void add_forward_column_names(const char* value); |
1003 | void add_forward_column_names(const char* value, size_t size); |
1004 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& forward_column_names() const; |
1005 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_forward_column_names(); |
1006 | private: |
1007 | const std::string& _internal_forward_column_names(int index) const; |
1008 | std::string* _internal_add_forward_column_names(); |
1009 | public: |
1010 | |
1011 | // repeated .proxima.be.proto.CollectionConfig.IndexColumnParam index_column_params = 4; |
1012 | int index_column_params_size() const; |
1013 | private: |
1014 | int _internal_index_column_params_size() const; |
1015 | public: |
1016 | void clear_index_column_params(); |
1017 | ::proxima::be::proto::CollectionConfig_IndexColumnParam* mutable_index_column_params(int index); |
1018 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionConfig_IndexColumnParam >* |
1019 | mutable_index_column_params(); |
1020 | private: |
1021 | const ::proxima::be::proto::CollectionConfig_IndexColumnParam& _internal_index_column_params(int index) const; |
1022 | ::proxima::be::proto::CollectionConfig_IndexColumnParam* _internal_add_index_column_params(); |
1023 | public: |
1024 | const ::proxima::be::proto::CollectionConfig_IndexColumnParam& index_column_params(int index) const; |
1025 | ::proxima::be::proto::CollectionConfig_IndexColumnParam* add_index_column_params(); |
1026 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionConfig_IndexColumnParam >& |
1027 | index_column_params() const; |
1028 | |
1029 | // string collection_name = 1; |
1030 | void clear_collection_name(); |
1031 | const std::string& collection_name() const; |
1032 | void set_collection_name(const std::string& value); |
1033 | void set_collection_name(std::string&& value); |
1034 | void set_collection_name(const char* value); |
1035 | void set_collection_name(const char* value, size_t size); |
1036 | std::string* mutable_collection_name(); |
1037 | std::string* release_collection_name(); |
1038 | void set_allocated_collection_name(std::string* collection_name); |
1039 | private: |
1040 | const std::string& _internal_collection_name() const; |
1041 | void _internal_set_collection_name(const std::string& value); |
1042 | std::string* _internal_mutable_collection_name(); |
1043 | public: |
1044 | |
1045 | // .proxima.be.proto.CollectionConfig.RepositoryConfig repository_config = 5; |
1046 | bool has_repository_config() const; |
1047 | private: |
1048 | bool _internal_has_repository_config() const; |
1049 | public: |
1050 | void clear_repository_config(); |
1051 | const ::proxima::be::proto::CollectionConfig_RepositoryConfig& repository_config() const; |
1052 | ::proxima::be::proto::CollectionConfig_RepositoryConfig* release_repository_config(); |
1053 | ::proxima::be::proto::CollectionConfig_RepositoryConfig* mutable_repository_config(); |
1054 | void set_allocated_repository_config(::proxima::be::proto::CollectionConfig_RepositoryConfig* repository_config); |
1055 | private: |
1056 | const ::proxima::be::proto::CollectionConfig_RepositoryConfig& _internal_repository_config() const; |
1057 | ::proxima::be::proto::CollectionConfig_RepositoryConfig* _internal_mutable_repository_config(); |
1058 | public: |
1059 | |
1060 | // uint64 max_docs_per_segment = 2; |
1061 | void clear_max_docs_per_segment(); |
1062 | ::PROTOBUF_NAMESPACE_ID::uint64 max_docs_per_segment() const; |
1063 | void set_max_docs_per_segment(::PROTOBUF_NAMESPACE_ID::uint64 value); |
1064 | private: |
1065 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_max_docs_per_segment() const; |
1066 | void _internal_set_max_docs_per_segment(::PROTOBUF_NAMESPACE_ID::uint64 value); |
1067 | public: |
1068 | |
1069 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionConfig) |
1070 | private: |
1071 | class _Internal; |
1072 | |
1073 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1074 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> forward_column_names_; |
1075 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionConfig_IndexColumnParam > index_column_params_; |
1076 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; |
1077 | ::proxima::be::proto::CollectionConfig_RepositoryConfig* repository_config_; |
1078 | ::PROTOBUF_NAMESPACE_ID::uint64 max_docs_per_segment_; |
1079 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1080 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
1081 | }; |
1082 | // ------------------------------------------------------------------- |
1083 | |
1084 | class CollectionName : |
1085 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionName) */ { |
1086 | public: |
1087 | CollectionName(); |
1088 | virtual ~CollectionName(); |
1089 | |
1090 | CollectionName(const CollectionName& from); |
1091 | CollectionName(CollectionName&& from) noexcept |
1092 | : CollectionName() { |
1093 | *this = ::std::move(from); |
1094 | } |
1095 | |
1096 | inline CollectionName& operator=(const CollectionName& from) { |
1097 | CopyFrom(from); |
1098 | return *this; |
1099 | } |
1100 | inline CollectionName& operator=(CollectionName&& from) noexcept { |
1101 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1102 | if (this != &from) InternalSwap(&from); |
1103 | } else { |
1104 | CopyFrom(from); |
1105 | } |
1106 | return *this; |
1107 | } |
1108 | |
1109 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1110 | return GetDescriptor(); |
1111 | } |
1112 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1113 | return GetMetadataStatic().descriptor; |
1114 | } |
1115 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1116 | return GetMetadataStatic().reflection; |
1117 | } |
1118 | static const CollectionName& default_instance(); |
1119 | |
1120 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1121 | static inline const CollectionName* internal_default_instance() { |
1122 | return reinterpret_cast<const CollectionName*>( |
1123 | &_CollectionName_default_instance_); |
1124 | } |
1125 | static constexpr int kIndexInFileMessages = |
1126 | 4; |
1127 | |
1128 | friend void swap(CollectionName& a, CollectionName& b) { |
1129 | a.Swap(&b); |
1130 | } |
1131 | inline void Swap(CollectionName* other) { |
1132 | if (other == this) return; |
1133 | InternalSwap(other); |
1134 | } |
1135 | |
1136 | // implements Message ---------------------------------------------- |
1137 | |
1138 | inline CollectionName* New() const final { |
1139 | return CreateMaybeMessage<CollectionName>(nullptr); |
1140 | } |
1141 | |
1142 | CollectionName* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1143 | return CreateMaybeMessage<CollectionName>(arena); |
1144 | } |
1145 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1146 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1147 | void CopyFrom(const CollectionName& from); |
1148 | void MergeFrom(const CollectionName& from); |
1149 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1150 | bool IsInitialized() const final; |
1151 | |
1152 | size_t ByteSizeLong() const final; |
1153 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1154 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
1155 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1156 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1157 | |
1158 | private: |
1159 | inline void SharedCtor(); |
1160 | inline void SharedDtor(); |
1161 | void SetCachedSize(int size) const final; |
1162 | void InternalSwap(CollectionName* other); |
1163 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1164 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1165 | return "proxima.be.proto.CollectionName" ; |
1166 | } |
1167 | private: |
1168 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1169 | return nullptr; |
1170 | } |
1171 | inline void* MaybeArenaPtr() const { |
1172 | return nullptr; |
1173 | } |
1174 | public: |
1175 | |
1176 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1177 | private: |
1178 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1179 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
1180 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
1181 | } |
1182 | |
1183 | public: |
1184 | |
1185 | // nested types ---------------------------------------------------- |
1186 | |
1187 | // accessors ------------------------------------------------------- |
1188 | |
1189 | enum : int { |
1190 | kCollectionNameFieldNumber = 1, |
1191 | }; |
1192 | // string collection_name = 1; |
1193 | void clear_collection_name(); |
1194 | const std::string& collection_name() const; |
1195 | void set_collection_name(const std::string& value); |
1196 | void set_collection_name(std::string&& value); |
1197 | void set_collection_name(const char* value); |
1198 | void set_collection_name(const char* value, size_t size); |
1199 | std::string* mutable_collection_name(); |
1200 | std::string* release_collection_name(); |
1201 | void set_allocated_collection_name(std::string* collection_name); |
1202 | private: |
1203 | const std::string& _internal_collection_name() const; |
1204 | void _internal_set_collection_name(const std::string& value); |
1205 | std::string* _internal_mutable_collection_name(); |
1206 | public: |
1207 | |
1208 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionName) |
1209 | private: |
1210 | class _Internal; |
1211 | |
1212 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1213 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; |
1214 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1215 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
1216 | }; |
1217 | // ------------------------------------------------------------------- |
1218 | |
1219 | class LsnContext : |
1220 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.LsnContext) */ { |
1221 | public: |
1222 | LsnContext(); |
1223 | virtual ~LsnContext(); |
1224 | |
1225 | LsnContext(const LsnContext& from); |
1226 | LsnContext(LsnContext&& from) noexcept |
1227 | : LsnContext() { |
1228 | *this = ::std::move(from); |
1229 | } |
1230 | |
1231 | inline LsnContext& operator=(const LsnContext& from) { |
1232 | CopyFrom(from); |
1233 | return *this; |
1234 | } |
1235 | inline LsnContext& operator=(LsnContext&& from) noexcept { |
1236 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1237 | if (this != &from) InternalSwap(&from); |
1238 | } else { |
1239 | CopyFrom(from); |
1240 | } |
1241 | return *this; |
1242 | } |
1243 | |
1244 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1245 | return GetDescriptor(); |
1246 | } |
1247 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1248 | return GetMetadataStatic().descriptor; |
1249 | } |
1250 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1251 | return GetMetadataStatic().reflection; |
1252 | } |
1253 | static const LsnContext& default_instance(); |
1254 | |
1255 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1256 | static inline const LsnContext* internal_default_instance() { |
1257 | return reinterpret_cast<const LsnContext*>( |
1258 | &_LsnContext_default_instance_); |
1259 | } |
1260 | static constexpr int kIndexInFileMessages = |
1261 | 5; |
1262 | |
1263 | friend void swap(LsnContext& a, LsnContext& b) { |
1264 | a.Swap(&b); |
1265 | } |
1266 | inline void Swap(LsnContext* other) { |
1267 | if (other == this) return; |
1268 | InternalSwap(other); |
1269 | } |
1270 | |
1271 | // implements Message ---------------------------------------------- |
1272 | |
1273 | inline LsnContext* New() const final { |
1274 | return CreateMaybeMessage<LsnContext>(nullptr); |
1275 | } |
1276 | |
1277 | LsnContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1278 | return CreateMaybeMessage<LsnContext>(arena); |
1279 | } |
1280 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1281 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1282 | void CopyFrom(const LsnContext& from); |
1283 | void MergeFrom(const LsnContext& from); |
1284 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1285 | bool IsInitialized() const final; |
1286 | |
1287 | size_t ByteSizeLong() const final; |
1288 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1289 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
1290 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1291 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1292 | |
1293 | private: |
1294 | inline void SharedCtor(); |
1295 | inline void SharedDtor(); |
1296 | void SetCachedSize(int size) const final; |
1297 | void InternalSwap(LsnContext* other); |
1298 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1299 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1300 | return "proxima.be.proto.LsnContext" ; |
1301 | } |
1302 | private: |
1303 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1304 | return nullptr; |
1305 | } |
1306 | inline void* MaybeArenaPtr() const { |
1307 | return nullptr; |
1308 | } |
1309 | public: |
1310 | |
1311 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1312 | private: |
1313 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1314 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
1315 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
1316 | } |
1317 | |
1318 | public: |
1319 | |
1320 | // nested types ---------------------------------------------------- |
1321 | |
1322 | // accessors ------------------------------------------------------- |
1323 | |
1324 | enum : int { |
1325 | kContextFieldNumber = 2, |
1326 | kLsnFieldNumber = 1, |
1327 | }; |
1328 | // string context = 2; |
1329 | void clear_context(); |
1330 | const std::string& context() const; |
1331 | void set_context(const std::string& value); |
1332 | void set_context(std::string&& value); |
1333 | void set_context(const char* value); |
1334 | void set_context(const char* value, size_t size); |
1335 | std::string* mutable_context(); |
1336 | std::string* release_context(); |
1337 | void set_allocated_context(std::string* context); |
1338 | private: |
1339 | const std::string& _internal_context() const; |
1340 | void _internal_set_context(const std::string& value); |
1341 | std::string* _internal_mutable_context(); |
1342 | public: |
1343 | |
1344 | // uint64 lsn = 1; |
1345 | void clear_lsn(); |
1346 | ::PROTOBUF_NAMESPACE_ID::uint64 lsn() const; |
1347 | void set_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value); |
1348 | private: |
1349 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_lsn() const; |
1350 | void _internal_set_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value); |
1351 | public: |
1352 | |
1353 | // @@protoc_insertion_point(class_scope:proxima.be.proto.LsnContext) |
1354 | private: |
1355 | class _Internal; |
1356 | |
1357 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1358 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr context_; |
1359 | ::PROTOBUF_NAMESPACE_ID::uint64 lsn_; |
1360 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1361 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
1362 | }; |
1363 | // ------------------------------------------------------------------- |
1364 | |
1365 | class CollectionInfo : |
1366 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionInfo) */ { |
1367 | public: |
1368 | CollectionInfo(); |
1369 | virtual ~CollectionInfo(); |
1370 | |
1371 | CollectionInfo(const CollectionInfo& from); |
1372 | CollectionInfo(CollectionInfo&& from) noexcept |
1373 | : CollectionInfo() { |
1374 | *this = ::std::move(from); |
1375 | } |
1376 | |
1377 | inline CollectionInfo& operator=(const CollectionInfo& from) { |
1378 | CopyFrom(from); |
1379 | return *this; |
1380 | } |
1381 | inline CollectionInfo& operator=(CollectionInfo&& from) noexcept { |
1382 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1383 | if (this != &from) InternalSwap(&from); |
1384 | } else { |
1385 | CopyFrom(from); |
1386 | } |
1387 | return *this; |
1388 | } |
1389 | |
1390 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1391 | return GetDescriptor(); |
1392 | } |
1393 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1394 | return GetMetadataStatic().descriptor; |
1395 | } |
1396 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1397 | return GetMetadataStatic().reflection; |
1398 | } |
1399 | static const CollectionInfo& default_instance(); |
1400 | |
1401 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1402 | static inline const CollectionInfo* internal_default_instance() { |
1403 | return reinterpret_cast<const CollectionInfo*>( |
1404 | &_CollectionInfo_default_instance_); |
1405 | } |
1406 | static constexpr int kIndexInFileMessages = |
1407 | 6; |
1408 | |
1409 | friend void swap(CollectionInfo& a, CollectionInfo& b) { |
1410 | a.Swap(&b); |
1411 | } |
1412 | inline void Swap(CollectionInfo* other) { |
1413 | if (other == this) return; |
1414 | InternalSwap(other); |
1415 | } |
1416 | |
1417 | // implements Message ---------------------------------------------- |
1418 | |
1419 | inline CollectionInfo* New() const final { |
1420 | return CreateMaybeMessage<CollectionInfo>(nullptr); |
1421 | } |
1422 | |
1423 | CollectionInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1424 | return CreateMaybeMessage<CollectionInfo>(arena); |
1425 | } |
1426 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1427 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1428 | void CopyFrom(const CollectionInfo& from); |
1429 | void MergeFrom(const CollectionInfo& from); |
1430 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1431 | bool IsInitialized() const final; |
1432 | |
1433 | size_t ByteSizeLong() const final; |
1434 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1435 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
1436 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1437 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1438 | |
1439 | private: |
1440 | inline void SharedCtor(); |
1441 | inline void SharedDtor(); |
1442 | void SetCachedSize(int size) const final; |
1443 | void InternalSwap(CollectionInfo* other); |
1444 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1445 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1446 | return "proxima.be.proto.CollectionInfo" ; |
1447 | } |
1448 | private: |
1449 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1450 | return nullptr; |
1451 | } |
1452 | inline void* MaybeArenaPtr() const { |
1453 | return nullptr; |
1454 | } |
1455 | public: |
1456 | |
1457 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1458 | private: |
1459 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1460 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
1461 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
1462 | } |
1463 | |
1464 | public: |
1465 | |
1466 | // nested types ---------------------------------------------------- |
1467 | |
1468 | typedef CollectionInfo_CollectionStatus CollectionStatus; |
1469 | static constexpr CollectionStatus CS_INITIALIZED = |
1470 | CollectionInfo_CollectionStatus_CS_INITIALIZED; |
1471 | static constexpr CollectionStatus CS_SERVING = |
1472 | CollectionInfo_CollectionStatus_CS_SERVING; |
1473 | static constexpr CollectionStatus CS_DROPPED = |
1474 | CollectionInfo_CollectionStatus_CS_DROPPED; |
1475 | static inline bool CollectionStatus_IsValid(int value) { |
1476 | return CollectionInfo_CollectionStatus_IsValid(value); |
1477 | } |
1478 | static constexpr CollectionStatus CollectionStatus_MIN = |
1479 | CollectionInfo_CollectionStatus_CollectionStatus_MIN; |
1480 | static constexpr CollectionStatus CollectionStatus_MAX = |
1481 | CollectionInfo_CollectionStatus_CollectionStatus_MAX; |
1482 | static constexpr int CollectionStatus_ARRAYSIZE = |
1483 | CollectionInfo_CollectionStatus_CollectionStatus_ARRAYSIZE; |
1484 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
1485 | CollectionStatus_descriptor() { |
1486 | return CollectionInfo_CollectionStatus_descriptor(); |
1487 | } |
1488 | template<typename T> |
1489 | static inline const std::string& CollectionStatus_Name(T enum_t_value) { |
1490 | static_assert(::std::is_same<T, CollectionStatus>::value || |
1491 | ::std::is_integral<T>::value, |
1492 | "Incorrect type passed to function CollectionStatus_Name." ); |
1493 | return CollectionInfo_CollectionStatus_Name(enum_t_value); |
1494 | } |
1495 | static inline bool CollectionStatus_Parse(const std::string& name, |
1496 | CollectionStatus* value) { |
1497 | return CollectionInfo_CollectionStatus_Parse(name, value); |
1498 | } |
1499 | |
1500 | // accessors ------------------------------------------------------- |
1501 | |
1502 | enum : int { |
1503 | kUuidFieldNumber = 3, |
1504 | kConfigFieldNumber = 1, |
1505 | kLatestLsnContextFieldNumber = 4, |
1506 | kMagicNumberFieldNumber = 5, |
1507 | kStatusFieldNumber = 2, |
1508 | }; |
1509 | // string uuid = 3; |
1510 | void clear_uuid(); |
1511 | const std::string& uuid() const; |
1512 | void set_uuid(const std::string& value); |
1513 | void set_uuid(std::string&& value); |
1514 | void set_uuid(const char* value); |
1515 | void set_uuid(const char* value, size_t size); |
1516 | std::string* mutable_uuid(); |
1517 | std::string* release_uuid(); |
1518 | void set_allocated_uuid(std::string* uuid); |
1519 | private: |
1520 | const std::string& _internal_uuid() const; |
1521 | void _internal_set_uuid(const std::string& value); |
1522 | std::string* _internal_mutable_uuid(); |
1523 | public: |
1524 | |
1525 | // .proxima.be.proto.CollectionConfig config = 1; |
1526 | bool has_config() const; |
1527 | private: |
1528 | bool _internal_has_config() const; |
1529 | public: |
1530 | void clear_config(); |
1531 | const ::proxima::be::proto::CollectionConfig& config() const; |
1532 | ::proxima::be::proto::CollectionConfig* release_config(); |
1533 | ::proxima::be::proto::CollectionConfig* mutable_config(); |
1534 | void set_allocated_config(::proxima::be::proto::CollectionConfig* config); |
1535 | private: |
1536 | const ::proxima::be::proto::CollectionConfig& _internal_config() const; |
1537 | ::proxima::be::proto::CollectionConfig* _internal_mutable_config(); |
1538 | public: |
1539 | |
1540 | // .proxima.be.proto.LsnContext latest_lsn_context = 4; |
1541 | bool has_latest_lsn_context() const; |
1542 | private: |
1543 | bool _internal_has_latest_lsn_context() const; |
1544 | public: |
1545 | void clear_latest_lsn_context(); |
1546 | const ::proxima::be::proto::LsnContext& latest_lsn_context() const; |
1547 | ::proxima::be::proto::LsnContext* release_latest_lsn_context(); |
1548 | ::proxima::be::proto::LsnContext* mutable_latest_lsn_context(); |
1549 | void set_allocated_latest_lsn_context(::proxima::be::proto::LsnContext* latest_lsn_context); |
1550 | private: |
1551 | const ::proxima::be::proto::LsnContext& _internal_latest_lsn_context() const; |
1552 | ::proxima::be::proto::LsnContext* _internal_mutable_latest_lsn_context(); |
1553 | public: |
1554 | |
1555 | // uint64 magic_number = 5; |
1556 | void clear_magic_number(); |
1557 | ::PROTOBUF_NAMESPACE_ID::uint64 magic_number() const; |
1558 | void set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value); |
1559 | private: |
1560 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_magic_number() const; |
1561 | void _internal_set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value); |
1562 | public: |
1563 | |
1564 | // .proxima.be.proto.CollectionInfo.CollectionStatus status = 2; |
1565 | void clear_status(); |
1566 | ::proxima::be::proto::CollectionInfo_CollectionStatus status() const; |
1567 | void set_status(::proxima::be::proto::CollectionInfo_CollectionStatus value); |
1568 | private: |
1569 | ::proxima::be::proto::CollectionInfo_CollectionStatus _internal_status() const; |
1570 | void _internal_set_status(::proxima::be::proto::CollectionInfo_CollectionStatus value); |
1571 | public: |
1572 | |
1573 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionInfo) |
1574 | private: |
1575 | class _Internal; |
1576 | |
1577 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1578 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uuid_; |
1579 | ::proxima::be::proto::CollectionConfig* config_; |
1580 | ::proxima::be::proto::LsnContext* latest_lsn_context_; |
1581 | ::PROTOBUF_NAMESPACE_ID::uint64 magic_number_; |
1582 | int status_; |
1583 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1584 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
1585 | }; |
1586 | // ------------------------------------------------------------------- |
1587 | |
1588 | class DescribeCollectionResponse : |
1589 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.DescribeCollectionResponse) */ { |
1590 | public: |
1591 | DescribeCollectionResponse(); |
1592 | virtual ~DescribeCollectionResponse(); |
1593 | |
1594 | DescribeCollectionResponse(const DescribeCollectionResponse& from); |
1595 | DescribeCollectionResponse(DescribeCollectionResponse&& from) noexcept |
1596 | : DescribeCollectionResponse() { |
1597 | *this = ::std::move(from); |
1598 | } |
1599 | |
1600 | inline DescribeCollectionResponse& operator=(const DescribeCollectionResponse& from) { |
1601 | CopyFrom(from); |
1602 | return *this; |
1603 | } |
1604 | inline DescribeCollectionResponse& operator=(DescribeCollectionResponse&& from) noexcept { |
1605 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1606 | if (this != &from) InternalSwap(&from); |
1607 | } else { |
1608 | CopyFrom(from); |
1609 | } |
1610 | return *this; |
1611 | } |
1612 | |
1613 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1614 | return GetDescriptor(); |
1615 | } |
1616 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1617 | return GetMetadataStatic().descriptor; |
1618 | } |
1619 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1620 | return GetMetadataStatic().reflection; |
1621 | } |
1622 | static const DescribeCollectionResponse& default_instance(); |
1623 | |
1624 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1625 | static inline const DescribeCollectionResponse* internal_default_instance() { |
1626 | return reinterpret_cast<const DescribeCollectionResponse*>( |
1627 | &_DescribeCollectionResponse_default_instance_); |
1628 | } |
1629 | static constexpr int kIndexInFileMessages = |
1630 | 7; |
1631 | |
1632 | friend void swap(DescribeCollectionResponse& a, DescribeCollectionResponse& b) { |
1633 | a.Swap(&b); |
1634 | } |
1635 | inline void Swap(DescribeCollectionResponse* other) { |
1636 | if (other == this) return; |
1637 | InternalSwap(other); |
1638 | } |
1639 | |
1640 | // implements Message ---------------------------------------------- |
1641 | |
1642 | inline DescribeCollectionResponse* New() const final { |
1643 | return CreateMaybeMessage<DescribeCollectionResponse>(nullptr); |
1644 | } |
1645 | |
1646 | DescribeCollectionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1647 | return CreateMaybeMessage<DescribeCollectionResponse>(arena); |
1648 | } |
1649 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1650 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1651 | void CopyFrom(const DescribeCollectionResponse& from); |
1652 | void MergeFrom(const DescribeCollectionResponse& from); |
1653 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1654 | bool IsInitialized() const final; |
1655 | |
1656 | size_t ByteSizeLong() const final; |
1657 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1658 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
1659 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1660 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1661 | |
1662 | private: |
1663 | inline void SharedCtor(); |
1664 | inline void SharedDtor(); |
1665 | void SetCachedSize(int size) const final; |
1666 | void InternalSwap(DescribeCollectionResponse* other); |
1667 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1668 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1669 | return "proxima.be.proto.DescribeCollectionResponse" ; |
1670 | } |
1671 | private: |
1672 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1673 | return nullptr; |
1674 | } |
1675 | inline void* MaybeArenaPtr() const { |
1676 | return nullptr; |
1677 | } |
1678 | public: |
1679 | |
1680 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1681 | private: |
1682 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1683 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
1684 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
1685 | } |
1686 | |
1687 | public: |
1688 | |
1689 | // nested types ---------------------------------------------------- |
1690 | |
1691 | // accessors ------------------------------------------------------- |
1692 | |
1693 | enum : int { |
1694 | kStatusFieldNumber = 1, |
1695 | kCollectionFieldNumber = 2, |
1696 | }; |
1697 | // .proxima.be.proto.Status status = 1; |
1698 | bool has_status() const; |
1699 | private: |
1700 | bool _internal_has_status() const; |
1701 | public: |
1702 | void clear_status(); |
1703 | const ::proxima::be::proto::Status& status() const; |
1704 | ::proxima::be::proto::Status* release_status(); |
1705 | ::proxima::be::proto::Status* mutable_status(); |
1706 | void set_allocated_status(::proxima::be::proto::Status* status); |
1707 | private: |
1708 | const ::proxima::be::proto::Status& _internal_status() const; |
1709 | ::proxima::be::proto::Status* _internal_mutable_status(); |
1710 | public: |
1711 | |
1712 | // .proxima.be.proto.CollectionInfo collection = 2; |
1713 | bool has_collection() const; |
1714 | private: |
1715 | bool _internal_has_collection() const; |
1716 | public: |
1717 | void clear_collection(); |
1718 | const ::proxima::be::proto::CollectionInfo& collection() const; |
1719 | ::proxima::be::proto::CollectionInfo* release_collection(); |
1720 | ::proxima::be::proto::CollectionInfo* mutable_collection(); |
1721 | void set_allocated_collection(::proxima::be::proto::CollectionInfo* collection); |
1722 | private: |
1723 | const ::proxima::be::proto::CollectionInfo& _internal_collection() const; |
1724 | ::proxima::be::proto::CollectionInfo* _internal_mutable_collection(); |
1725 | public: |
1726 | |
1727 | // @@protoc_insertion_point(class_scope:proxima.be.proto.DescribeCollectionResponse) |
1728 | private: |
1729 | class _Internal; |
1730 | |
1731 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1732 | ::proxima::be::proto::Status* status_; |
1733 | ::proxima::be::proto::CollectionInfo* collection_; |
1734 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1735 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
1736 | }; |
1737 | // ------------------------------------------------------------------- |
1738 | |
1739 | class ListCondition : |
1740 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.ListCondition) */ { |
1741 | public: |
1742 | ListCondition(); |
1743 | virtual ~ListCondition(); |
1744 | |
1745 | ListCondition(const ListCondition& from); |
1746 | ListCondition(ListCondition&& from) noexcept |
1747 | : ListCondition() { |
1748 | *this = ::std::move(from); |
1749 | } |
1750 | |
1751 | inline ListCondition& operator=(const ListCondition& from) { |
1752 | CopyFrom(from); |
1753 | return *this; |
1754 | } |
1755 | inline ListCondition& operator=(ListCondition&& from) noexcept { |
1756 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1757 | if (this != &from) InternalSwap(&from); |
1758 | } else { |
1759 | CopyFrom(from); |
1760 | } |
1761 | return *this; |
1762 | } |
1763 | |
1764 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1765 | return GetDescriptor(); |
1766 | } |
1767 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1768 | return GetMetadataStatic().descriptor; |
1769 | } |
1770 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1771 | return GetMetadataStatic().reflection; |
1772 | } |
1773 | static const ListCondition& default_instance(); |
1774 | |
1775 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1776 | static inline const ListCondition* internal_default_instance() { |
1777 | return reinterpret_cast<const ListCondition*>( |
1778 | &_ListCondition_default_instance_); |
1779 | } |
1780 | static constexpr int kIndexInFileMessages = |
1781 | 8; |
1782 | |
1783 | friend void swap(ListCondition& a, ListCondition& b) { |
1784 | a.Swap(&b); |
1785 | } |
1786 | inline void Swap(ListCondition* other) { |
1787 | if (other == this) return; |
1788 | InternalSwap(other); |
1789 | } |
1790 | |
1791 | // implements Message ---------------------------------------------- |
1792 | |
1793 | inline ListCondition* New() const final { |
1794 | return CreateMaybeMessage<ListCondition>(nullptr); |
1795 | } |
1796 | |
1797 | ListCondition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1798 | return CreateMaybeMessage<ListCondition>(arena); |
1799 | } |
1800 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1801 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1802 | void CopyFrom(const ListCondition& from); |
1803 | void MergeFrom(const ListCondition& from); |
1804 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1805 | bool IsInitialized() const final; |
1806 | |
1807 | size_t ByteSizeLong() const final; |
1808 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1809 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
1810 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1811 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1812 | |
1813 | private: |
1814 | inline void SharedCtor(); |
1815 | inline void SharedDtor(); |
1816 | void SetCachedSize(int size) const final; |
1817 | void InternalSwap(ListCondition* other); |
1818 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1819 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1820 | return "proxima.be.proto.ListCondition" ; |
1821 | } |
1822 | private: |
1823 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1824 | return nullptr; |
1825 | } |
1826 | inline void* MaybeArenaPtr() const { |
1827 | return nullptr; |
1828 | } |
1829 | public: |
1830 | |
1831 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1832 | private: |
1833 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1834 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
1835 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
1836 | } |
1837 | |
1838 | public: |
1839 | |
1840 | // nested types ---------------------------------------------------- |
1841 | |
1842 | // accessors ------------------------------------------------------- |
1843 | |
1844 | enum : int { |
1845 | kRepositoryNameFieldNumber = 1, |
1846 | }; |
1847 | // string repository_name = 1; |
1848 | void clear_repository_name(); |
1849 | const std::string& repository_name() const; |
1850 | void set_repository_name(const std::string& value); |
1851 | void set_repository_name(std::string&& value); |
1852 | void set_repository_name(const char* value); |
1853 | void set_repository_name(const char* value, size_t size); |
1854 | std::string* mutable_repository_name(); |
1855 | std::string* release_repository_name(); |
1856 | void set_allocated_repository_name(std::string* repository_name); |
1857 | private: |
1858 | const std::string& _internal_repository_name() const; |
1859 | void _internal_set_repository_name(const std::string& value); |
1860 | std::string* _internal_mutable_repository_name(); |
1861 | public: |
1862 | |
1863 | // @@protoc_insertion_point(class_scope:proxima.be.proto.ListCondition) |
1864 | private: |
1865 | class _Internal; |
1866 | |
1867 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1868 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr repository_name_; |
1869 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1870 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
1871 | }; |
1872 | // ------------------------------------------------------------------- |
1873 | |
1874 | class ListCollectionsResponse : |
1875 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.ListCollectionsResponse) */ { |
1876 | public: |
1877 | ListCollectionsResponse(); |
1878 | virtual ~ListCollectionsResponse(); |
1879 | |
1880 | ListCollectionsResponse(const ListCollectionsResponse& from); |
1881 | ListCollectionsResponse(ListCollectionsResponse&& from) noexcept |
1882 | : ListCollectionsResponse() { |
1883 | *this = ::std::move(from); |
1884 | } |
1885 | |
1886 | inline ListCollectionsResponse& operator=(const ListCollectionsResponse& from) { |
1887 | CopyFrom(from); |
1888 | return *this; |
1889 | } |
1890 | inline ListCollectionsResponse& operator=(ListCollectionsResponse&& from) noexcept { |
1891 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1892 | if (this != &from) InternalSwap(&from); |
1893 | } else { |
1894 | CopyFrom(from); |
1895 | } |
1896 | return *this; |
1897 | } |
1898 | |
1899 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1900 | return GetDescriptor(); |
1901 | } |
1902 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1903 | return GetMetadataStatic().descriptor; |
1904 | } |
1905 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1906 | return GetMetadataStatic().reflection; |
1907 | } |
1908 | static const ListCollectionsResponse& default_instance(); |
1909 | |
1910 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1911 | static inline const ListCollectionsResponse* internal_default_instance() { |
1912 | return reinterpret_cast<const ListCollectionsResponse*>( |
1913 | &_ListCollectionsResponse_default_instance_); |
1914 | } |
1915 | static constexpr int kIndexInFileMessages = |
1916 | 9; |
1917 | |
1918 | friend void swap(ListCollectionsResponse& a, ListCollectionsResponse& b) { |
1919 | a.Swap(&b); |
1920 | } |
1921 | inline void Swap(ListCollectionsResponse* other) { |
1922 | if (other == this) return; |
1923 | InternalSwap(other); |
1924 | } |
1925 | |
1926 | // implements Message ---------------------------------------------- |
1927 | |
1928 | inline ListCollectionsResponse* New() const final { |
1929 | return CreateMaybeMessage<ListCollectionsResponse>(nullptr); |
1930 | } |
1931 | |
1932 | ListCollectionsResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1933 | return CreateMaybeMessage<ListCollectionsResponse>(arena); |
1934 | } |
1935 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1936 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1937 | void CopyFrom(const ListCollectionsResponse& from); |
1938 | void MergeFrom(const ListCollectionsResponse& from); |
1939 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1940 | bool IsInitialized() const final; |
1941 | |
1942 | size_t ByteSizeLong() const final; |
1943 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1944 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
1945 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1946 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1947 | |
1948 | private: |
1949 | inline void SharedCtor(); |
1950 | inline void SharedDtor(); |
1951 | void SetCachedSize(int size) const final; |
1952 | void InternalSwap(ListCollectionsResponse* other); |
1953 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1954 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1955 | return "proxima.be.proto.ListCollectionsResponse" ; |
1956 | } |
1957 | private: |
1958 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1959 | return nullptr; |
1960 | } |
1961 | inline void* MaybeArenaPtr() const { |
1962 | return nullptr; |
1963 | } |
1964 | public: |
1965 | |
1966 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1967 | private: |
1968 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1969 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
1970 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
1971 | } |
1972 | |
1973 | public: |
1974 | |
1975 | // nested types ---------------------------------------------------- |
1976 | |
1977 | // accessors ------------------------------------------------------- |
1978 | |
1979 | enum : int { |
1980 | kCollectionsFieldNumber = 2, |
1981 | kStatusFieldNumber = 1, |
1982 | }; |
1983 | // repeated .proxima.be.proto.CollectionInfo collections = 2; |
1984 | int collections_size() const; |
1985 | private: |
1986 | int _internal_collections_size() const; |
1987 | public: |
1988 | void clear_collections(); |
1989 | ::proxima::be::proto::CollectionInfo* mutable_collections(int index); |
1990 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionInfo >* |
1991 | mutable_collections(); |
1992 | private: |
1993 | const ::proxima::be::proto::CollectionInfo& _internal_collections(int index) const; |
1994 | ::proxima::be::proto::CollectionInfo* _internal_add_collections(); |
1995 | public: |
1996 | const ::proxima::be::proto::CollectionInfo& collections(int index) const; |
1997 | ::proxima::be::proto::CollectionInfo* add_collections(); |
1998 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionInfo >& |
1999 | collections() const; |
2000 | |
2001 | // .proxima.be.proto.Status status = 1; |
2002 | bool has_status() const; |
2003 | private: |
2004 | bool _internal_has_status() const; |
2005 | public: |
2006 | void clear_status(); |
2007 | const ::proxima::be::proto::Status& status() const; |
2008 | ::proxima::be::proto::Status* release_status(); |
2009 | ::proxima::be::proto::Status* mutable_status(); |
2010 | void set_allocated_status(::proxima::be::proto::Status* status); |
2011 | private: |
2012 | const ::proxima::be::proto::Status& _internal_status() const; |
2013 | ::proxima::be::proto::Status* _internal_mutable_status(); |
2014 | public: |
2015 | |
2016 | // @@protoc_insertion_point(class_scope:proxima.be.proto.ListCollectionsResponse) |
2017 | private: |
2018 | class _Internal; |
2019 | |
2020 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2021 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionInfo > collections_; |
2022 | ::proxima::be::proto::Status* status_; |
2023 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2024 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
2025 | }; |
2026 | // ------------------------------------------------------------------- |
2027 | |
2028 | class CollectionStats_SegmentStats : |
2029 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionStats.SegmentStats) */ { |
2030 | public: |
2031 | CollectionStats_SegmentStats(); |
2032 | virtual ~CollectionStats_SegmentStats(); |
2033 | |
2034 | CollectionStats_SegmentStats(const CollectionStats_SegmentStats& from); |
2035 | CollectionStats_SegmentStats(CollectionStats_SegmentStats&& from) noexcept |
2036 | : CollectionStats_SegmentStats() { |
2037 | *this = ::std::move(from); |
2038 | } |
2039 | |
2040 | inline CollectionStats_SegmentStats& operator=(const CollectionStats_SegmentStats& from) { |
2041 | CopyFrom(from); |
2042 | return *this; |
2043 | } |
2044 | inline CollectionStats_SegmentStats& operator=(CollectionStats_SegmentStats&& from) noexcept { |
2045 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2046 | if (this != &from) InternalSwap(&from); |
2047 | } else { |
2048 | CopyFrom(from); |
2049 | } |
2050 | return *this; |
2051 | } |
2052 | |
2053 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2054 | return GetDescriptor(); |
2055 | } |
2056 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2057 | return GetMetadataStatic().descriptor; |
2058 | } |
2059 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2060 | return GetMetadataStatic().reflection; |
2061 | } |
2062 | static const CollectionStats_SegmentStats& default_instance(); |
2063 | |
2064 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2065 | static inline const CollectionStats_SegmentStats* internal_default_instance() { |
2066 | return reinterpret_cast<const CollectionStats_SegmentStats*>( |
2067 | &_CollectionStats_SegmentStats_default_instance_); |
2068 | } |
2069 | static constexpr int kIndexInFileMessages = |
2070 | 10; |
2071 | |
2072 | friend void swap(CollectionStats_SegmentStats& a, CollectionStats_SegmentStats& b) { |
2073 | a.Swap(&b); |
2074 | } |
2075 | inline void Swap(CollectionStats_SegmentStats* other) { |
2076 | if (other == this) return; |
2077 | InternalSwap(other); |
2078 | } |
2079 | |
2080 | // implements Message ---------------------------------------------- |
2081 | |
2082 | inline CollectionStats_SegmentStats* New() const final { |
2083 | return CreateMaybeMessage<CollectionStats_SegmentStats>(nullptr); |
2084 | } |
2085 | |
2086 | CollectionStats_SegmentStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2087 | return CreateMaybeMessage<CollectionStats_SegmentStats>(arena); |
2088 | } |
2089 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2090 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2091 | void CopyFrom(const CollectionStats_SegmentStats& from); |
2092 | void MergeFrom(const CollectionStats_SegmentStats& from); |
2093 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2094 | bool IsInitialized() const final; |
2095 | |
2096 | size_t ByteSizeLong() const final; |
2097 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2098 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
2099 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2100 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2101 | |
2102 | private: |
2103 | inline void SharedCtor(); |
2104 | inline void SharedDtor(); |
2105 | void SetCachedSize(int size) const final; |
2106 | void InternalSwap(CollectionStats_SegmentStats* other); |
2107 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2108 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2109 | return "proxima.be.proto.CollectionStats.SegmentStats" ; |
2110 | } |
2111 | private: |
2112 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2113 | return nullptr; |
2114 | } |
2115 | inline void* MaybeArenaPtr() const { |
2116 | return nullptr; |
2117 | } |
2118 | public: |
2119 | |
2120 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2121 | private: |
2122 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2123 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
2124 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
2125 | } |
2126 | |
2127 | public: |
2128 | |
2129 | // nested types ---------------------------------------------------- |
2130 | |
2131 | typedef CollectionStats_SegmentStats_SegmentState SegmentState; |
2132 | static constexpr SegmentState SS_CREATED = |
2133 | CollectionStats_SegmentStats_SegmentState_SS_CREATED; |
2134 | static constexpr SegmentState SS_WRITING = |
2135 | CollectionStats_SegmentStats_SegmentState_SS_WRITING; |
2136 | static constexpr SegmentState SS_DUMPING = |
2137 | CollectionStats_SegmentStats_SegmentState_SS_DUMPING; |
2138 | static constexpr SegmentState SS_COMPACTING = |
2139 | CollectionStats_SegmentStats_SegmentState_SS_COMPACTING; |
2140 | static constexpr SegmentState SS_PERSIST = |
2141 | CollectionStats_SegmentStats_SegmentState_SS_PERSIST; |
2142 | static inline bool SegmentState_IsValid(int value) { |
2143 | return CollectionStats_SegmentStats_SegmentState_IsValid(value); |
2144 | } |
2145 | static constexpr SegmentState SegmentState_MIN = |
2146 | CollectionStats_SegmentStats_SegmentState_SegmentState_MIN; |
2147 | static constexpr SegmentState SegmentState_MAX = |
2148 | CollectionStats_SegmentStats_SegmentState_SegmentState_MAX; |
2149 | static constexpr int SegmentState_ARRAYSIZE = |
2150 | CollectionStats_SegmentStats_SegmentState_SegmentState_ARRAYSIZE; |
2151 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2152 | SegmentState_descriptor() { |
2153 | return CollectionStats_SegmentStats_SegmentState_descriptor(); |
2154 | } |
2155 | template<typename T> |
2156 | static inline const std::string& SegmentState_Name(T enum_t_value) { |
2157 | static_assert(::std::is_same<T, SegmentState>::value || |
2158 | ::std::is_integral<T>::value, |
2159 | "Incorrect type passed to function SegmentState_Name." ); |
2160 | return CollectionStats_SegmentStats_SegmentState_Name(enum_t_value); |
2161 | } |
2162 | static inline bool SegmentState_Parse(const std::string& name, |
2163 | SegmentState* value) { |
2164 | return CollectionStats_SegmentStats_SegmentState_Parse(name, value); |
2165 | } |
2166 | |
2167 | // accessors ------------------------------------------------------- |
2168 | |
2169 | enum : int { |
2170 | kSegmentPathFieldNumber = 14, |
2171 | kSegmentIdFieldNumber = 1, |
2172 | kStateFieldNumber = 2, |
2173 | kDocCountFieldNumber = 3, |
2174 | kIndexFileCountFieldNumber = 4, |
2175 | kIndexFileSizeFieldNumber = 5, |
2176 | kMinDocIdFieldNumber = 6, |
2177 | kMaxDocIdFieldNumber = 7, |
2178 | kMinPrimaryKeyFieldNumber = 8, |
2179 | kMaxPrimaryKeyFieldNumber = 9, |
2180 | kMinTimestampFieldNumber = 10, |
2181 | kMaxTimestampFieldNumber = 11, |
2182 | kMinLsnFieldNumber = 12, |
2183 | kMaxLsnFieldNumber = 13, |
2184 | }; |
2185 | // string segment_path = 14; |
2186 | void clear_segment_path(); |
2187 | const std::string& segment_path() const; |
2188 | void set_segment_path(const std::string& value); |
2189 | void set_segment_path(std::string&& value); |
2190 | void set_segment_path(const char* value); |
2191 | void set_segment_path(const char* value, size_t size); |
2192 | std::string* mutable_segment_path(); |
2193 | std::string* release_segment_path(); |
2194 | void set_allocated_segment_path(std::string* segment_path); |
2195 | private: |
2196 | const std::string& _internal_segment_path() const; |
2197 | void _internal_set_segment_path(const std::string& value); |
2198 | std::string* _internal_mutable_segment_path(); |
2199 | public: |
2200 | |
2201 | // uint32 segment_id = 1; |
2202 | void clear_segment_id(); |
2203 | ::PROTOBUF_NAMESPACE_ID::uint32 segment_id() const; |
2204 | void set_segment_id(::PROTOBUF_NAMESPACE_ID::uint32 value); |
2205 | private: |
2206 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_segment_id() const; |
2207 | void _internal_set_segment_id(::PROTOBUF_NAMESPACE_ID::uint32 value); |
2208 | public: |
2209 | |
2210 | // .proxima.be.proto.CollectionStats.SegmentStats.SegmentState state = 2; |
2211 | void clear_state(); |
2212 | ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState state() const; |
2213 | void set_state(::proxima::be::proto::CollectionStats_SegmentStats_SegmentState value); |
2214 | private: |
2215 | ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState _internal_state() const; |
2216 | void _internal_set_state(::proxima::be::proto::CollectionStats_SegmentStats_SegmentState value); |
2217 | public: |
2218 | |
2219 | // uint64 doc_count = 3; |
2220 | void clear_doc_count(); |
2221 | ::PROTOBUF_NAMESPACE_ID::uint64 doc_count() const; |
2222 | void set_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2223 | private: |
2224 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_doc_count() const; |
2225 | void _internal_set_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2226 | public: |
2227 | |
2228 | // uint64 index_file_count = 4; |
2229 | void clear_index_file_count(); |
2230 | ::PROTOBUF_NAMESPACE_ID::uint64 index_file_count() const; |
2231 | void set_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2232 | private: |
2233 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_index_file_count() const; |
2234 | void _internal_set_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2235 | public: |
2236 | |
2237 | // uint64 index_file_size = 5; |
2238 | void clear_index_file_size(); |
2239 | ::PROTOBUF_NAMESPACE_ID::uint64 index_file_size() const; |
2240 | void set_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2241 | private: |
2242 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_index_file_size() const; |
2243 | void _internal_set_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2244 | public: |
2245 | |
2246 | // uint64 min_doc_id = 6; |
2247 | void clear_min_doc_id(); |
2248 | ::PROTOBUF_NAMESPACE_ID::uint64 min_doc_id() const; |
2249 | void set_min_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2250 | private: |
2251 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_min_doc_id() const; |
2252 | void _internal_set_min_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2253 | public: |
2254 | |
2255 | // uint64 max_doc_id = 7; |
2256 | void clear_max_doc_id(); |
2257 | ::PROTOBUF_NAMESPACE_ID::uint64 max_doc_id() const; |
2258 | void set_max_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2259 | private: |
2260 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_max_doc_id() const; |
2261 | void _internal_set_max_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2262 | public: |
2263 | |
2264 | // uint64 min_primary_key = 8; |
2265 | void clear_min_primary_key(); |
2266 | ::PROTOBUF_NAMESPACE_ID::uint64 min_primary_key() const; |
2267 | void set_min_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2268 | private: |
2269 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_min_primary_key() const; |
2270 | void _internal_set_min_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2271 | public: |
2272 | |
2273 | // uint64 max_primary_key = 9; |
2274 | void clear_max_primary_key(); |
2275 | ::PROTOBUF_NAMESPACE_ID::uint64 max_primary_key() const; |
2276 | void set_max_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2277 | private: |
2278 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_max_primary_key() const; |
2279 | void _internal_set_max_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2280 | public: |
2281 | |
2282 | // uint64 min_timestamp = 10; |
2283 | void clear_min_timestamp(); |
2284 | ::PROTOBUF_NAMESPACE_ID::uint64 min_timestamp() const; |
2285 | void set_min_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2286 | private: |
2287 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_min_timestamp() const; |
2288 | void _internal_set_min_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2289 | public: |
2290 | |
2291 | // uint64 max_timestamp = 11; |
2292 | void clear_max_timestamp(); |
2293 | ::PROTOBUF_NAMESPACE_ID::uint64 max_timestamp() const; |
2294 | void set_max_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2295 | private: |
2296 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_max_timestamp() const; |
2297 | void _internal_set_max_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2298 | public: |
2299 | |
2300 | // uint64 min_lsn = 12; |
2301 | void clear_min_lsn(); |
2302 | ::PROTOBUF_NAMESPACE_ID::uint64 min_lsn() const; |
2303 | void set_min_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2304 | private: |
2305 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_min_lsn() const; |
2306 | void _internal_set_min_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2307 | public: |
2308 | |
2309 | // uint64 max_lsn = 13; |
2310 | void clear_max_lsn(); |
2311 | ::PROTOBUF_NAMESPACE_ID::uint64 max_lsn() const; |
2312 | void set_max_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2313 | private: |
2314 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_max_lsn() const; |
2315 | void _internal_set_max_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2316 | public: |
2317 | |
2318 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionStats.SegmentStats) |
2319 | private: |
2320 | class _Internal; |
2321 | |
2322 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2323 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr segment_path_; |
2324 | ::PROTOBUF_NAMESPACE_ID::uint32 segment_id_; |
2325 | int state_; |
2326 | ::PROTOBUF_NAMESPACE_ID::uint64 doc_count_; |
2327 | ::PROTOBUF_NAMESPACE_ID::uint64 index_file_count_; |
2328 | ::PROTOBUF_NAMESPACE_ID::uint64 index_file_size_; |
2329 | ::PROTOBUF_NAMESPACE_ID::uint64 min_doc_id_; |
2330 | ::PROTOBUF_NAMESPACE_ID::uint64 max_doc_id_; |
2331 | ::PROTOBUF_NAMESPACE_ID::uint64 min_primary_key_; |
2332 | ::PROTOBUF_NAMESPACE_ID::uint64 max_primary_key_; |
2333 | ::PROTOBUF_NAMESPACE_ID::uint64 min_timestamp_; |
2334 | ::PROTOBUF_NAMESPACE_ID::uint64 max_timestamp_; |
2335 | ::PROTOBUF_NAMESPACE_ID::uint64 min_lsn_; |
2336 | ::PROTOBUF_NAMESPACE_ID::uint64 max_lsn_; |
2337 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2338 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
2339 | }; |
2340 | // ------------------------------------------------------------------- |
2341 | |
2342 | class CollectionStats : |
2343 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.CollectionStats) */ { |
2344 | public: |
2345 | CollectionStats(); |
2346 | virtual ~CollectionStats(); |
2347 | |
2348 | CollectionStats(const CollectionStats& from); |
2349 | CollectionStats(CollectionStats&& from) noexcept |
2350 | : CollectionStats() { |
2351 | *this = ::std::move(from); |
2352 | } |
2353 | |
2354 | inline CollectionStats& operator=(const CollectionStats& from) { |
2355 | CopyFrom(from); |
2356 | return *this; |
2357 | } |
2358 | inline CollectionStats& operator=(CollectionStats&& from) noexcept { |
2359 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2360 | if (this != &from) InternalSwap(&from); |
2361 | } else { |
2362 | CopyFrom(from); |
2363 | } |
2364 | return *this; |
2365 | } |
2366 | |
2367 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2368 | return GetDescriptor(); |
2369 | } |
2370 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2371 | return GetMetadataStatic().descriptor; |
2372 | } |
2373 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2374 | return GetMetadataStatic().reflection; |
2375 | } |
2376 | static const CollectionStats& default_instance(); |
2377 | |
2378 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2379 | static inline const CollectionStats* internal_default_instance() { |
2380 | return reinterpret_cast<const CollectionStats*>( |
2381 | &_CollectionStats_default_instance_); |
2382 | } |
2383 | static constexpr int kIndexInFileMessages = |
2384 | 11; |
2385 | |
2386 | friend void swap(CollectionStats& a, CollectionStats& b) { |
2387 | a.Swap(&b); |
2388 | } |
2389 | inline void Swap(CollectionStats* other) { |
2390 | if (other == this) return; |
2391 | InternalSwap(other); |
2392 | } |
2393 | |
2394 | // implements Message ---------------------------------------------- |
2395 | |
2396 | inline CollectionStats* New() const final { |
2397 | return CreateMaybeMessage<CollectionStats>(nullptr); |
2398 | } |
2399 | |
2400 | CollectionStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2401 | return CreateMaybeMessage<CollectionStats>(arena); |
2402 | } |
2403 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2404 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2405 | void CopyFrom(const CollectionStats& from); |
2406 | void MergeFrom(const CollectionStats& from); |
2407 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2408 | bool IsInitialized() const final; |
2409 | |
2410 | size_t ByteSizeLong() const final; |
2411 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2412 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
2413 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2414 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2415 | |
2416 | private: |
2417 | inline void SharedCtor(); |
2418 | inline void SharedDtor(); |
2419 | void SetCachedSize(int size) const final; |
2420 | void InternalSwap(CollectionStats* other); |
2421 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2422 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2423 | return "proxima.be.proto.CollectionStats" ; |
2424 | } |
2425 | private: |
2426 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2427 | return nullptr; |
2428 | } |
2429 | inline void* MaybeArenaPtr() const { |
2430 | return nullptr; |
2431 | } |
2432 | public: |
2433 | |
2434 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2435 | private: |
2436 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2437 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
2438 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
2439 | } |
2440 | |
2441 | public: |
2442 | |
2443 | // nested types ---------------------------------------------------- |
2444 | |
2445 | typedef CollectionStats_SegmentStats SegmentStats; |
2446 | |
2447 | // accessors ------------------------------------------------------- |
2448 | |
2449 | enum : int { |
2450 | kSegmentStatsFieldNumber = 7, |
2451 | kCollectionNameFieldNumber = 1, |
2452 | kCollectionPathFieldNumber = 2, |
2453 | kTotalDocCountFieldNumber = 3, |
2454 | kTotalSegmentCountFieldNumber = 4, |
2455 | kTotalIndexFileCountFieldNumber = 5, |
2456 | kTotalIndexFileSizeFieldNumber = 6, |
2457 | }; |
2458 | // repeated .proxima.be.proto.CollectionStats.SegmentStats segment_stats = 7; |
2459 | int segment_stats_size() const; |
2460 | private: |
2461 | int _internal_segment_stats_size() const; |
2462 | public: |
2463 | void clear_segment_stats(); |
2464 | ::proxima::be::proto::CollectionStats_SegmentStats* mutable_segment_stats(int index); |
2465 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionStats_SegmentStats >* |
2466 | mutable_segment_stats(); |
2467 | private: |
2468 | const ::proxima::be::proto::CollectionStats_SegmentStats& _internal_segment_stats(int index) const; |
2469 | ::proxima::be::proto::CollectionStats_SegmentStats* _internal_add_segment_stats(); |
2470 | public: |
2471 | const ::proxima::be::proto::CollectionStats_SegmentStats& segment_stats(int index) const; |
2472 | ::proxima::be::proto::CollectionStats_SegmentStats* add_segment_stats(); |
2473 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionStats_SegmentStats >& |
2474 | segment_stats() const; |
2475 | |
2476 | // string collection_name = 1; |
2477 | void clear_collection_name(); |
2478 | const std::string& collection_name() const; |
2479 | void set_collection_name(const std::string& value); |
2480 | void set_collection_name(std::string&& value); |
2481 | void set_collection_name(const char* value); |
2482 | void set_collection_name(const char* value, size_t size); |
2483 | std::string* mutable_collection_name(); |
2484 | std::string* release_collection_name(); |
2485 | void set_allocated_collection_name(std::string* collection_name); |
2486 | private: |
2487 | const std::string& _internal_collection_name() const; |
2488 | void _internal_set_collection_name(const std::string& value); |
2489 | std::string* _internal_mutable_collection_name(); |
2490 | public: |
2491 | |
2492 | // string collection_path = 2; |
2493 | void clear_collection_path(); |
2494 | const std::string& collection_path() const; |
2495 | void set_collection_path(const std::string& value); |
2496 | void set_collection_path(std::string&& value); |
2497 | void set_collection_path(const char* value); |
2498 | void set_collection_path(const char* value, size_t size); |
2499 | std::string* mutable_collection_path(); |
2500 | std::string* release_collection_path(); |
2501 | void set_allocated_collection_path(std::string* collection_path); |
2502 | private: |
2503 | const std::string& _internal_collection_path() const; |
2504 | void _internal_set_collection_path(const std::string& value); |
2505 | std::string* _internal_mutable_collection_path(); |
2506 | public: |
2507 | |
2508 | // uint64 total_doc_count = 3; |
2509 | void clear_total_doc_count(); |
2510 | ::PROTOBUF_NAMESPACE_ID::uint64 total_doc_count() const; |
2511 | void set_total_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2512 | private: |
2513 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_total_doc_count() const; |
2514 | void _internal_set_total_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2515 | public: |
2516 | |
2517 | // uint64 total_segment_count = 4; |
2518 | void clear_total_segment_count(); |
2519 | ::PROTOBUF_NAMESPACE_ID::uint64 total_segment_count() const; |
2520 | void set_total_segment_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2521 | private: |
2522 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_total_segment_count() const; |
2523 | void _internal_set_total_segment_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2524 | public: |
2525 | |
2526 | // uint64 total_index_file_count = 5; |
2527 | void clear_total_index_file_count(); |
2528 | ::PROTOBUF_NAMESPACE_ID::uint64 total_index_file_count() const; |
2529 | void set_total_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2530 | private: |
2531 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_total_index_file_count() const; |
2532 | void _internal_set_total_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2533 | public: |
2534 | |
2535 | // uint64 total_index_file_size = 6; |
2536 | void clear_total_index_file_size(); |
2537 | ::PROTOBUF_NAMESPACE_ID::uint64 total_index_file_size() const; |
2538 | void set_total_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2539 | private: |
2540 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_total_index_file_size() const; |
2541 | void _internal_set_total_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2542 | public: |
2543 | |
2544 | // @@protoc_insertion_point(class_scope:proxima.be.proto.CollectionStats) |
2545 | private: |
2546 | class _Internal; |
2547 | |
2548 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2549 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionStats_SegmentStats > segment_stats_; |
2550 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; |
2551 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_path_; |
2552 | ::PROTOBUF_NAMESPACE_ID::uint64 total_doc_count_; |
2553 | ::PROTOBUF_NAMESPACE_ID::uint64 total_segment_count_; |
2554 | ::PROTOBUF_NAMESPACE_ID::uint64 total_index_file_count_; |
2555 | ::PROTOBUF_NAMESPACE_ID::uint64 total_index_file_size_; |
2556 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2557 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
2558 | }; |
2559 | // ------------------------------------------------------------------- |
2560 | |
2561 | class StatsCollectionResponse : |
2562 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.StatsCollectionResponse) */ { |
2563 | public: |
2564 | StatsCollectionResponse(); |
2565 | virtual ~StatsCollectionResponse(); |
2566 | |
2567 | StatsCollectionResponse(const StatsCollectionResponse& from); |
2568 | StatsCollectionResponse(StatsCollectionResponse&& from) noexcept |
2569 | : StatsCollectionResponse() { |
2570 | *this = ::std::move(from); |
2571 | } |
2572 | |
2573 | inline StatsCollectionResponse& operator=(const StatsCollectionResponse& from) { |
2574 | CopyFrom(from); |
2575 | return *this; |
2576 | } |
2577 | inline StatsCollectionResponse& operator=(StatsCollectionResponse&& from) noexcept { |
2578 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2579 | if (this != &from) InternalSwap(&from); |
2580 | } else { |
2581 | CopyFrom(from); |
2582 | } |
2583 | return *this; |
2584 | } |
2585 | |
2586 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2587 | return GetDescriptor(); |
2588 | } |
2589 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2590 | return GetMetadataStatic().descriptor; |
2591 | } |
2592 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2593 | return GetMetadataStatic().reflection; |
2594 | } |
2595 | static const StatsCollectionResponse& default_instance(); |
2596 | |
2597 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2598 | static inline const StatsCollectionResponse* internal_default_instance() { |
2599 | return reinterpret_cast<const StatsCollectionResponse*>( |
2600 | &_StatsCollectionResponse_default_instance_); |
2601 | } |
2602 | static constexpr int kIndexInFileMessages = |
2603 | 12; |
2604 | |
2605 | friend void swap(StatsCollectionResponse& a, StatsCollectionResponse& b) { |
2606 | a.Swap(&b); |
2607 | } |
2608 | inline void Swap(StatsCollectionResponse* other) { |
2609 | if (other == this) return; |
2610 | InternalSwap(other); |
2611 | } |
2612 | |
2613 | // implements Message ---------------------------------------------- |
2614 | |
2615 | inline StatsCollectionResponse* New() const final { |
2616 | return CreateMaybeMessage<StatsCollectionResponse>(nullptr); |
2617 | } |
2618 | |
2619 | StatsCollectionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2620 | return CreateMaybeMessage<StatsCollectionResponse>(arena); |
2621 | } |
2622 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2623 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2624 | void CopyFrom(const StatsCollectionResponse& from); |
2625 | void MergeFrom(const StatsCollectionResponse& from); |
2626 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2627 | bool IsInitialized() const final; |
2628 | |
2629 | size_t ByteSizeLong() const final; |
2630 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2631 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
2632 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2633 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2634 | |
2635 | private: |
2636 | inline void SharedCtor(); |
2637 | inline void SharedDtor(); |
2638 | void SetCachedSize(int size) const final; |
2639 | void InternalSwap(StatsCollectionResponse* other); |
2640 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2641 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2642 | return "proxima.be.proto.StatsCollectionResponse" ; |
2643 | } |
2644 | private: |
2645 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2646 | return nullptr; |
2647 | } |
2648 | inline void* MaybeArenaPtr() const { |
2649 | return nullptr; |
2650 | } |
2651 | public: |
2652 | |
2653 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2654 | private: |
2655 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2656 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
2657 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
2658 | } |
2659 | |
2660 | public: |
2661 | |
2662 | // nested types ---------------------------------------------------- |
2663 | |
2664 | // accessors ------------------------------------------------------- |
2665 | |
2666 | enum : int { |
2667 | kStatusFieldNumber = 1, |
2668 | kCollectionStatsFieldNumber = 2, |
2669 | }; |
2670 | // .proxima.be.proto.Status status = 1; |
2671 | bool has_status() const; |
2672 | private: |
2673 | bool _internal_has_status() const; |
2674 | public: |
2675 | void clear_status(); |
2676 | const ::proxima::be::proto::Status& status() const; |
2677 | ::proxima::be::proto::Status* release_status(); |
2678 | ::proxima::be::proto::Status* mutable_status(); |
2679 | void set_allocated_status(::proxima::be::proto::Status* status); |
2680 | private: |
2681 | const ::proxima::be::proto::Status& _internal_status() const; |
2682 | ::proxima::be::proto::Status* _internal_mutable_status(); |
2683 | public: |
2684 | |
2685 | // .proxima.be.proto.CollectionStats collection_stats = 2; |
2686 | bool has_collection_stats() const; |
2687 | private: |
2688 | bool _internal_has_collection_stats() const; |
2689 | public: |
2690 | void clear_collection_stats(); |
2691 | const ::proxima::be::proto::CollectionStats& collection_stats() const; |
2692 | ::proxima::be::proto::CollectionStats* release_collection_stats(); |
2693 | ::proxima::be::proto::CollectionStats* mutable_collection_stats(); |
2694 | void set_allocated_collection_stats(::proxima::be::proto::CollectionStats* collection_stats); |
2695 | private: |
2696 | const ::proxima::be::proto::CollectionStats& _internal_collection_stats() const; |
2697 | ::proxima::be::proto::CollectionStats* _internal_mutable_collection_stats(); |
2698 | public: |
2699 | |
2700 | // @@protoc_insertion_point(class_scope:proxima.be.proto.StatsCollectionResponse) |
2701 | private: |
2702 | class _Internal; |
2703 | |
2704 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2705 | ::proxima::be::proto::Status* status_; |
2706 | ::proxima::be::proto::CollectionStats* collection_stats_; |
2707 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2708 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
2709 | }; |
2710 | // ------------------------------------------------------------------- |
2711 | |
2712 | class WriteRequest_Row : |
2713 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.WriteRequest.Row) */ { |
2714 | public: |
2715 | WriteRequest_Row(); |
2716 | virtual ~WriteRequest_Row(); |
2717 | |
2718 | WriteRequest_Row(const WriteRequest_Row& from); |
2719 | WriteRequest_Row(WriteRequest_Row&& from) noexcept |
2720 | : WriteRequest_Row() { |
2721 | *this = ::std::move(from); |
2722 | } |
2723 | |
2724 | inline WriteRequest_Row& operator=(const WriteRequest_Row& from) { |
2725 | CopyFrom(from); |
2726 | return *this; |
2727 | } |
2728 | inline WriteRequest_Row& operator=(WriteRequest_Row&& from) noexcept { |
2729 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2730 | if (this != &from) InternalSwap(&from); |
2731 | } else { |
2732 | CopyFrom(from); |
2733 | } |
2734 | return *this; |
2735 | } |
2736 | |
2737 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2738 | return GetDescriptor(); |
2739 | } |
2740 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2741 | return GetMetadataStatic().descriptor; |
2742 | } |
2743 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2744 | return GetMetadataStatic().reflection; |
2745 | } |
2746 | static const WriteRequest_Row& default_instance(); |
2747 | |
2748 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2749 | static inline const WriteRequest_Row* internal_default_instance() { |
2750 | return reinterpret_cast<const WriteRequest_Row*>( |
2751 | &_WriteRequest_Row_default_instance_); |
2752 | } |
2753 | static constexpr int kIndexInFileMessages = |
2754 | 13; |
2755 | |
2756 | friend void swap(WriteRequest_Row& a, WriteRequest_Row& b) { |
2757 | a.Swap(&b); |
2758 | } |
2759 | inline void Swap(WriteRequest_Row* other) { |
2760 | if (other == this) return; |
2761 | InternalSwap(other); |
2762 | } |
2763 | |
2764 | // implements Message ---------------------------------------------- |
2765 | |
2766 | inline WriteRequest_Row* New() const final { |
2767 | return CreateMaybeMessage<WriteRequest_Row>(nullptr); |
2768 | } |
2769 | |
2770 | WriteRequest_Row* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2771 | return CreateMaybeMessage<WriteRequest_Row>(arena); |
2772 | } |
2773 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2774 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2775 | void CopyFrom(const WriteRequest_Row& from); |
2776 | void MergeFrom(const WriteRequest_Row& from); |
2777 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2778 | bool IsInitialized() const final; |
2779 | |
2780 | size_t ByteSizeLong() const final; |
2781 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2782 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
2783 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2784 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2785 | |
2786 | private: |
2787 | inline void SharedCtor(); |
2788 | inline void SharedDtor(); |
2789 | void SetCachedSize(int size) const final; |
2790 | void InternalSwap(WriteRequest_Row* other); |
2791 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2792 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2793 | return "proxima.be.proto.WriteRequest.Row" ; |
2794 | } |
2795 | private: |
2796 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2797 | return nullptr; |
2798 | } |
2799 | inline void* MaybeArenaPtr() const { |
2800 | return nullptr; |
2801 | } |
2802 | public: |
2803 | |
2804 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2805 | private: |
2806 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2807 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
2808 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
2809 | } |
2810 | |
2811 | public: |
2812 | |
2813 | // nested types ---------------------------------------------------- |
2814 | |
2815 | // accessors ------------------------------------------------------- |
2816 | |
2817 | enum : int { |
2818 | kForwardColumnValuesFieldNumber = 3, |
2819 | kIndexColumnValuesFieldNumber = 4, |
2820 | kLsnContextFieldNumber = 5, |
2821 | kPrimaryKeyFieldNumber = 1, |
2822 | kOperationTypeFieldNumber = 2, |
2823 | }; |
2824 | // .proxima.be.proto.GenericValueList forward_column_values = 3; |
2825 | bool has_forward_column_values() const; |
2826 | private: |
2827 | bool _internal_has_forward_column_values() const; |
2828 | public: |
2829 | void clear_forward_column_values(); |
2830 | const ::proxima::be::proto::GenericValueList& forward_column_values() const; |
2831 | ::proxima::be::proto::GenericValueList* release_forward_column_values(); |
2832 | ::proxima::be::proto::GenericValueList* mutable_forward_column_values(); |
2833 | void set_allocated_forward_column_values(::proxima::be::proto::GenericValueList* forward_column_values); |
2834 | private: |
2835 | const ::proxima::be::proto::GenericValueList& _internal_forward_column_values() const; |
2836 | ::proxima::be::proto::GenericValueList* _internal_mutable_forward_column_values(); |
2837 | public: |
2838 | |
2839 | // .proxima.be.proto.GenericValueList index_column_values = 4; |
2840 | bool has_index_column_values() const; |
2841 | private: |
2842 | bool _internal_has_index_column_values() const; |
2843 | public: |
2844 | void clear_index_column_values(); |
2845 | const ::proxima::be::proto::GenericValueList& index_column_values() const; |
2846 | ::proxima::be::proto::GenericValueList* release_index_column_values(); |
2847 | ::proxima::be::proto::GenericValueList* mutable_index_column_values(); |
2848 | void set_allocated_index_column_values(::proxima::be::proto::GenericValueList* index_column_values); |
2849 | private: |
2850 | const ::proxima::be::proto::GenericValueList& _internal_index_column_values() const; |
2851 | ::proxima::be::proto::GenericValueList* _internal_mutable_index_column_values(); |
2852 | public: |
2853 | |
2854 | // .proxima.be.proto.LsnContext lsn_context = 5; |
2855 | bool has_lsn_context() const; |
2856 | private: |
2857 | bool _internal_has_lsn_context() const; |
2858 | public: |
2859 | void clear_lsn_context(); |
2860 | const ::proxima::be::proto::LsnContext& lsn_context() const; |
2861 | ::proxima::be::proto::LsnContext* release_lsn_context(); |
2862 | ::proxima::be::proto::LsnContext* mutable_lsn_context(); |
2863 | void set_allocated_lsn_context(::proxima::be::proto::LsnContext* lsn_context); |
2864 | private: |
2865 | const ::proxima::be::proto::LsnContext& _internal_lsn_context() const; |
2866 | ::proxima::be::proto::LsnContext* _internal_mutable_lsn_context(); |
2867 | public: |
2868 | |
2869 | // uint64 primary_key = 1; |
2870 | void clear_primary_key(); |
2871 | ::PROTOBUF_NAMESPACE_ID::uint64 primary_key() const; |
2872 | void set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2873 | private: |
2874 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_primary_key() const; |
2875 | void _internal_set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
2876 | public: |
2877 | |
2878 | // .proxima.be.proto.OperationType operation_type = 2; |
2879 | void clear_operation_type(); |
2880 | ::proxima::be::proto::OperationType operation_type() const; |
2881 | void set_operation_type(::proxima::be::proto::OperationType value); |
2882 | private: |
2883 | ::proxima::be::proto::OperationType _internal_operation_type() const; |
2884 | void _internal_set_operation_type(::proxima::be::proto::OperationType value); |
2885 | public: |
2886 | |
2887 | // @@protoc_insertion_point(class_scope:proxima.be.proto.WriteRequest.Row) |
2888 | private: |
2889 | class _Internal; |
2890 | |
2891 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
2892 | ::proxima::be::proto::GenericValueList* forward_column_values_; |
2893 | ::proxima::be::proto::GenericValueList* index_column_values_; |
2894 | ::proxima::be::proto::LsnContext* lsn_context_; |
2895 | ::PROTOBUF_NAMESPACE_ID::uint64 primary_key_; |
2896 | int operation_type_; |
2897 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2898 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
2899 | }; |
2900 | // ------------------------------------------------------------------- |
2901 | |
2902 | class WriteRequest_IndexColumnMeta : |
2903 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.WriteRequest.IndexColumnMeta) */ { |
2904 | public: |
2905 | WriteRequest_IndexColumnMeta(); |
2906 | virtual ~WriteRequest_IndexColumnMeta(); |
2907 | |
2908 | WriteRequest_IndexColumnMeta(const WriteRequest_IndexColumnMeta& from); |
2909 | WriteRequest_IndexColumnMeta(WriteRequest_IndexColumnMeta&& from) noexcept |
2910 | : WriteRequest_IndexColumnMeta() { |
2911 | *this = ::std::move(from); |
2912 | } |
2913 | |
2914 | inline WriteRequest_IndexColumnMeta& operator=(const WriteRequest_IndexColumnMeta& from) { |
2915 | CopyFrom(from); |
2916 | return *this; |
2917 | } |
2918 | inline WriteRequest_IndexColumnMeta& operator=(WriteRequest_IndexColumnMeta&& from) noexcept { |
2919 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2920 | if (this != &from) InternalSwap(&from); |
2921 | } else { |
2922 | CopyFrom(from); |
2923 | } |
2924 | return *this; |
2925 | } |
2926 | |
2927 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2928 | return GetDescriptor(); |
2929 | } |
2930 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2931 | return GetMetadataStatic().descriptor; |
2932 | } |
2933 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2934 | return GetMetadataStatic().reflection; |
2935 | } |
2936 | static const WriteRequest_IndexColumnMeta& default_instance(); |
2937 | |
2938 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2939 | static inline const WriteRequest_IndexColumnMeta* internal_default_instance() { |
2940 | return reinterpret_cast<const WriteRequest_IndexColumnMeta*>( |
2941 | &_WriteRequest_IndexColumnMeta_default_instance_); |
2942 | } |
2943 | static constexpr int kIndexInFileMessages = |
2944 | 14; |
2945 | |
2946 | friend void swap(WriteRequest_IndexColumnMeta& a, WriteRequest_IndexColumnMeta& b) { |
2947 | a.Swap(&b); |
2948 | } |
2949 | inline void Swap(WriteRequest_IndexColumnMeta* other) { |
2950 | if (other == this) return; |
2951 | InternalSwap(other); |
2952 | } |
2953 | |
2954 | // implements Message ---------------------------------------------- |
2955 | |
2956 | inline WriteRequest_IndexColumnMeta* New() const final { |
2957 | return CreateMaybeMessage<WriteRequest_IndexColumnMeta>(nullptr); |
2958 | } |
2959 | |
2960 | WriteRequest_IndexColumnMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
2961 | return CreateMaybeMessage<WriteRequest_IndexColumnMeta>(arena); |
2962 | } |
2963 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2964 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
2965 | void CopyFrom(const WriteRequest_IndexColumnMeta& from); |
2966 | void MergeFrom(const WriteRequest_IndexColumnMeta& from); |
2967 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2968 | bool IsInitialized() const final; |
2969 | |
2970 | size_t ByteSizeLong() const final; |
2971 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2972 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
2973 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2974 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2975 | |
2976 | private: |
2977 | inline void SharedCtor(); |
2978 | inline void SharedDtor(); |
2979 | void SetCachedSize(int size) const final; |
2980 | void InternalSwap(WriteRequest_IndexColumnMeta* other); |
2981 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2982 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2983 | return "proxima.be.proto.WriteRequest.IndexColumnMeta" ; |
2984 | } |
2985 | private: |
2986 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
2987 | return nullptr; |
2988 | } |
2989 | inline void* MaybeArenaPtr() const { |
2990 | return nullptr; |
2991 | } |
2992 | public: |
2993 | |
2994 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2995 | private: |
2996 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
2997 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
2998 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
2999 | } |
3000 | |
3001 | public: |
3002 | |
3003 | // nested types ---------------------------------------------------- |
3004 | |
3005 | // accessors ------------------------------------------------------- |
3006 | |
3007 | enum : int { |
3008 | kColumnNameFieldNumber = 1, |
3009 | kDataTypeFieldNumber = 2, |
3010 | kDimensionFieldNumber = 3, |
3011 | }; |
3012 | // string column_name = 1; |
3013 | void clear_column_name(); |
3014 | const std::string& column_name() const; |
3015 | void set_column_name(const std::string& value); |
3016 | void set_column_name(std::string&& value); |
3017 | void set_column_name(const char* value); |
3018 | void set_column_name(const char* value, size_t size); |
3019 | std::string* mutable_column_name(); |
3020 | std::string* release_column_name(); |
3021 | void set_allocated_column_name(std::string* column_name); |
3022 | private: |
3023 | const std::string& _internal_column_name() const; |
3024 | void _internal_set_column_name(const std::string& value); |
3025 | std::string* _internal_mutable_column_name(); |
3026 | public: |
3027 | |
3028 | // .proxima.be.proto.DataType data_type = 2; |
3029 | void clear_data_type(); |
3030 | ::proxima::be::proto::DataType data_type() const; |
3031 | void set_data_type(::proxima::be::proto::DataType value); |
3032 | private: |
3033 | ::proxima::be::proto::DataType _internal_data_type() const; |
3034 | void _internal_set_data_type(::proxima::be::proto::DataType value); |
3035 | public: |
3036 | |
3037 | // uint32 dimension = 3; |
3038 | void clear_dimension(); |
3039 | ::PROTOBUF_NAMESPACE_ID::uint32 dimension() const; |
3040 | void set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3041 | private: |
3042 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dimension() const; |
3043 | void _internal_set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3044 | public: |
3045 | |
3046 | // @@protoc_insertion_point(class_scope:proxima.be.proto.WriteRequest.IndexColumnMeta) |
3047 | private: |
3048 | class _Internal; |
3049 | |
3050 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3051 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_; |
3052 | int data_type_; |
3053 | ::PROTOBUF_NAMESPACE_ID::uint32 dimension_; |
3054 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3055 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
3056 | }; |
3057 | // ------------------------------------------------------------------- |
3058 | |
3059 | class WriteRequest_RowMeta : |
3060 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.WriteRequest.RowMeta) */ { |
3061 | public: |
3062 | WriteRequest_RowMeta(); |
3063 | virtual ~WriteRequest_RowMeta(); |
3064 | |
3065 | WriteRequest_RowMeta(const WriteRequest_RowMeta& from); |
3066 | WriteRequest_RowMeta(WriteRequest_RowMeta&& from) noexcept |
3067 | : WriteRequest_RowMeta() { |
3068 | *this = ::std::move(from); |
3069 | } |
3070 | |
3071 | inline WriteRequest_RowMeta& operator=(const WriteRequest_RowMeta& from) { |
3072 | CopyFrom(from); |
3073 | return *this; |
3074 | } |
3075 | inline WriteRequest_RowMeta& operator=(WriteRequest_RowMeta&& from) noexcept { |
3076 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3077 | if (this != &from) InternalSwap(&from); |
3078 | } else { |
3079 | CopyFrom(from); |
3080 | } |
3081 | return *this; |
3082 | } |
3083 | |
3084 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3085 | return GetDescriptor(); |
3086 | } |
3087 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3088 | return GetMetadataStatic().descriptor; |
3089 | } |
3090 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3091 | return GetMetadataStatic().reflection; |
3092 | } |
3093 | static const WriteRequest_RowMeta& default_instance(); |
3094 | |
3095 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3096 | static inline const WriteRequest_RowMeta* internal_default_instance() { |
3097 | return reinterpret_cast<const WriteRequest_RowMeta*>( |
3098 | &_WriteRequest_RowMeta_default_instance_); |
3099 | } |
3100 | static constexpr int kIndexInFileMessages = |
3101 | 15; |
3102 | |
3103 | friend void swap(WriteRequest_RowMeta& a, WriteRequest_RowMeta& b) { |
3104 | a.Swap(&b); |
3105 | } |
3106 | inline void Swap(WriteRequest_RowMeta* other) { |
3107 | if (other == this) return; |
3108 | InternalSwap(other); |
3109 | } |
3110 | |
3111 | // implements Message ---------------------------------------------- |
3112 | |
3113 | inline WriteRequest_RowMeta* New() const final { |
3114 | return CreateMaybeMessage<WriteRequest_RowMeta>(nullptr); |
3115 | } |
3116 | |
3117 | WriteRequest_RowMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3118 | return CreateMaybeMessage<WriteRequest_RowMeta>(arena); |
3119 | } |
3120 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3121 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3122 | void CopyFrom(const WriteRequest_RowMeta& from); |
3123 | void MergeFrom(const WriteRequest_RowMeta& from); |
3124 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3125 | bool IsInitialized() const final; |
3126 | |
3127 | size_t ByteSizeLong() const final; |
3128 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3129 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
3130 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3131 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3132 | |
3133 | private: |
3134 | inline void SharedCtor(); |
3135 | inline void SharedDtor(); |
3136 | void SetCachedSize(int size) const final; |
3137 | void InternalSwap(WriteRequest_RowMeta* other); |
3138 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3139 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3140 | return "proxima.be.proto.WriteRequest.RowMeta" ; |
3141 | } |
3142 | private: |
3143 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3144 | return nullptr; |
3145 | } |
3146 | inline void* MaybeArenaPtr() const { |
3147 | return nullptr; |
3148 | } |
3149 | public: |
3150 | |
3151 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3152 | private: |
3153 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3154 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
3155 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
3156 | } |
3157 | |
3158 | public: |
3159 | |
3160 | // nested types ---------------------------------------------------- |
3161 | |
3162 | // accessors ------------------------------------------------------- |
3163 | |
3164 | enum : int { |
3165 | kForwardColumnNamesFieldNumber = 1, |
3166 | kIndexColumnMetasFieldNumber = 2, |
3167 | }; |
3168 | // repeated string forward_column_names = 1; |
3169 | int forward_column_names_size() const; |
3170 | private: |
3171 | int _internal_forward_column_names_size() const; |
3172 | public: |
3173 | void clear_forward_column_names(); |
3174 | const std::string& forward_column_names(int index) const; |
3175 | std::string* mutable_forward_column_names(int index); |
3176 | void set_forward_column_names(int index, const std::string& value); |
3177 | void set_forward_column_names(int index, std::string&& value); |
3178 | void set_forward_column_names(int index, const char* value); |
3179 | void set_forward_column_names(int index, const char* value, size_t size); |
3180 | std::string* add_forward_column_names(); |
3181 | void add_forward_column_names(const std::string& value); |
3182 | void add_forward_column_names(std::string&& value); |
3183 | void add_forward_column_names(const char* value); |
3184 | void add_forward_column_names(const char* value, size_t size); |
3185 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& forward_column_names() const; |
3186 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_forward_column_names(); |
3187 | private: |
3188 | const std::string& _internal_forward_column_names(int index) const; |
3189 | std::string* _internal_add_forward_column_names(); |
3190 | public: |
3191 | |
3192 | // repeated .proxima.be.proto.WriteRequest.IndexColumnMeta index_column_metas = 2; |
3193 | int index_column_metas_size() const; |
3194 | private: |
3195 | int _internal_index_column_metas_size() const; |
3196 | public: |
3197 | void clear_index_column_metas(); |
3198 | ::proxima::be::proto::WriteRequest_IndexColumnMeta* mutable_index_column_metas(int index); |
3199 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_IndexColumnMeta >* |
3200 | mutable_index_column_metas(); |
3201 | private: |
3202 | const ::proxima::be::proto::WriteRequest_IndexColumnMeta& _internal_index_column_metas(int index) const; |
3203 | ::proxima::be::proto::WriteRequest_IndexColumnMeta* _internal_add_index_column_metas(); |
3204 | public: |
3205 | const ::proxima::be::proto::WriteRequest_IndexColumnMeta& index_column_metas(int index) const; |
3206 | ::proxima::be::proto::WriteRequest_IndexColumnMeta* add_index_column_metas(); |
3207 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_IndexColumnMeta >& |
3208 | index_column_metas() const; |
3209 | |
3210 | // @@protoc_insertion_point(class_scope:proxima.be.proto.WriteRequest.RowMeta) |
3211 | private: |
3212 | class _Internal; |
3213 | |
3214 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3215 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> forward_column_names_; |
3216 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_IndexColumnMeta > index_column_metas_; |
3217 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3218 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
3219 | }; |
3220 | // ------------------------------------------------------------------- |
3221 | |
3222 | class WriteRequest : |
3223 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.WriteRequest) */ { |
3224 | public: |
3225 | WriteRequest(); |
3226 | virtual ~WriteRequest(); |
3227 | |
3228 | WriteRequest(const WriteRequest& from); |
3229 | WriteRequest(WriteRequest&& from) noexcept |
3230 | : WriteRequest() { |
3231 | *this = ::std::move(from); |
3232 | } |
3233 | |
3234 | inline WriteRequest& operator=(const WriteRequest& from) { |
3235 | CopyFrom(from); |
3236 | return *this; |
3237 | } |
3238 | inline WriteRequest& operator=(WriteRequest&& from) noexcept { |
3239 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3240 | if (this != &from) InternalSwap(&from); |
3241 | } else { |
3242 | CopyFrom(from); |
3243 | } |
3244 | return *this; |
3245 | } |
3246 | |
3247 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3248 | return GetDescriptor(); |
3249 | } |
3250 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3251 | return GetMetadataStatic().descriptor; |
3252 | } |
3253 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3254 | return GetMetadataStatic().reflection; |
3255 | } |
3256 | static const WriteRequest& default_instance(); |
3257 | |
3258 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3259 | static inline const WriteRequest* internal_default_instance() { |
3260 | return reinterpret_cast<const WriteRequest*>( |
3261 | &_WriteRequest_default_instance_); |
3262 | } |
3263 | static constexpr int kIndexInFileMessages = |
3264 | 16; |
3265 | |
3266 | friend void swap(WriteRequest& a, WriteRequest& b) { |
3267 | a.Swap(&b); |
3268 | } |
3269 | inline void Swap(WriteRequest* other) { |
3270 | if (other == this) return; |
3271 | InternalSwap(other); |
3272 | } |
3273 | |
3274 | // implements Message ---------------------------------------------- |
3275 | |
3276 | inline WriteRequest* New() const final { |
3277 | return CreateMaybeMessage<WriteRequest>(nullptr); |
3278 | } |
3279 | |
3280 | WriteRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3281 | return CreateMaybeMessage<WriteRequest>(arena); |
3282 | } |
3283 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3284 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3285 | void CopyFrom(const WriteRequest& from); |
3286 | void MergeFrom(const WriteRequest& from); |
3287 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3288 | bool IsInitialized() const final; |
3289 | |
3290 | size_t ByteSizeLong() const final; |
3291 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3292 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
3293 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3294 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3295 | |
3296 | private: |
3297 | inline void SharedCtor(); |
3298 | inline void SharedDtor(); |
3299 | void SetCachedSize(int size) const final; |
3300 | void InternalSwap(WriteRequest* other); |
3301 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3302 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3303 | return "proxima.be.proto.WriteRequest" ; |
3304 | } |
3305 | private: |
3306 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3307 | return nullptr; |
3308 | } |
3309 | inline void* MaybeArenaPtr() const { |
3310 | return nullptr; |
3311 | } |
3312 | public: |
3313 | |
3314 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3315 | private: |
3316 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3317 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
3318 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
3319 | } |
3320 | |
3321 | public: |
3322 | |
3323 | // nested types ---------------------------------------------------- |
3324 | |
3325 | typedef WriteRequest_Row Row; |
3326 | typedef WriteRequest_IndexColumnMeta IndexColumnMeta; |
3327 | typedef WriteRequest_RowMeta RowMeta; |
3328 | |
3329 | // accessors ------------------------------------------------------- |
3330 | |
3331 | enum : int { |
3332 | kRowsFieldNumber = 3, |
3333 | kCollectionNameFieldNumber = 1, |
3334 | kRequestIdFieldNumber = 4, |
3335 | kRowMetaFieldNumber = 2, |
3336 | kMagicNumberFieldNumber = 5, |
3337 | }; |
3338 | // repeated .proxima.be.proto.WriteRequest.Row rows = 3; |
3339 | int rows_size() const; |
3340 | private: |
3341 | int _internal_rows_size() const; |
3342 | public: |
3343 | void clear_rows(); |
3344 | ::proxima::be::proto::WriteRequest_Row* mutable_rows(int index); |
3345 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_Row >* |
3346 | mutable_rows(); |
3347 | private: |
3348 | const ::proxima::be::proto::WriteRequest_Row& _internal_rows(int index) const; |
3349 | ::proxima::be::proto::WriteRequest_Row* _internal_add_rows(); |
3350 | public: |
3351 | const ::proxima::be::proto::WriteRequest_Row& rows(int index) const; |
3352 | ::proxima::be::proto::WriteRequest_Row* add_rows(); |
3353 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_Row >& |
3354 | rows() const; |
3355 | |
3356 | // string collection_name = 1; |
3357 | void clear_collection_name(); |
3358 | const std::string& collection_name() const; |
3359 | void set_collection_name(const std::string& value); |
3360 | void set_collection_name(std::string&& value); |
3361 | void set_collection_name(const char* value); |
3362 | void set_collection_name(const char* value, size_t size); |
3363 | std::string* mutable_collection_name(); |
3364 | std::string* release_collection_name(); |
3365 | void set_allocated_collection_name(std::string* collection_name); |
3366 | private: |
3367 | const std::string& _internal_collection_name() const; |
3368 | void _internal_set_collection_name(const std::string& value); |
3369 | std::string* _internal_mutable_collection_name(); |
3370 | public: |
3371 | |
3372 | // string request_id = 4; |
3373 | void clear_request_id(); |
3374 | const std::string& request_id() const; |
3375 | void set_request_id(const std::string& value); |
3376 | void set_request_id(std::string&& value); |
3377 | void set_request_id(const char* value); |
3378 | void set_request_id(const char* value, size_t size); |
3379 | std::string* mutable_request_id(); |
3380 | std::string* release_request_id(); |
3381 | void set_allocated_request_id(std::string* request_id); |
3382 | private: |
3383 | const std::string& _internal_request_id() const; |
3384 | void _internal_set_request_id(const std::string& value); |
3385 | std::string* _internal_mutable_request_id(); |
3386 | public: |
3387 | |
3388 | // .proxima.be.proto.WriteRequest.RowMeta row_meta = 2; |
3389 | bool has_row_meta() const; |
3390 | private: |
3391 | bool _internal_has_row_meta() const; |
3392 | public: |
3393 | void clear_row_meta(); |
3394 | const ::proxima::be::proto::WriteRequest_RowMeta& row_meta() const; |
3395 | ::proxima::be::proto::WriteRequest_RowMeta* release_row_meta(); |
3396 | ::proxima::be::proto::WriteRequest_RowMeta* mutable_row_meta(); |
3397 | void set_allocated_row_meta(::proxima::be::proto::WriteRequest_RowMeta* row_meta); |
3398 | private: |
3399 | const ::proxima::be::proto::WriteRequest_RowMeta& _internal_row_meta() const; |
3400 | ::proxima::be::proto::WriteRequest_RowMeta* _internal_mutable_row_meta(); |
3401 | public: |
3402 | |
3403 | // uint64 magic_number = 5; |
3404 | void clear_magic_number(); |
3405 | ::PROTOBUF_NAMESPACE_ID::uint64 magic_number() const; |
3406 | void set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value); |
3407 | private: |
3408 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_magic_number() const; |
3409 | void _internal_set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value); |
3410 | public: |
3411 | |
3412 | // @@protoc_insertion_point(class_scope:proxima.be.proto.WriteRequest) |
3413 | private: |
3414 | class _Internal; |
3415 | |
3416 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3417 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_Row > rows_; |
3418 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; |
3419 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_id_; |
3420 | ::proxima::be::proto::WriteRequest_RowMeta* row_meta_; |
3421 | ::PROTOBUF_NAMESPACE_ID::uint64 magic_number_; |
3422 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3423 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
3424 | }; |
3425 | // ------------------------------------------------------------------- |
3426 | |
3427 | class Document : |
3428 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.Document) */ { |
3429 | public: |
3430 | Document(); |
3431 | virtual ~Document(); |
3432 | |
3433 | Document(const Document& from); |
3434 | Document(Document&& from) noexcept |
3435 | : Document() { |
3436 | *this = ::std::move(from); |
3437 | } |
3438 | |
3439 | inline Document& operator=(const Document& from) { |
3440 | CopyFrom(from); |
3441 | return *this; |
3442 | } |
3443 | inline Document& operator=(Document&& from) noexcept { |
3444 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3445 | if (this != &from) InternalSwap(&from); |
3446 | } else { |
3447 | CopyFrom(from); |
3448 | } |
3449 | return *this; |
3450 | } |
3451 | |
3452 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3453 | return GetDescriptor(); |
3454 | } |
3455 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3456 | return GetMetadataStatic().descriptor; |
3457 | } |
3458 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3459 | return GetMetadataStatic().reflection; |
3460 | } |
3461 | static const Document& default_instance(); |
3462 | |
3463 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3464 | static inline const Document* internal_default_instance() { |
3465 | return reinterpret_cast<const Document*>( |
3466 | &_Document_default_instance_); |
3467 | } |
3468 | static constexpr int kIndexInFileMessages = |
3469 | 17; |
3470 | |
3471 | friend void swap(Document& a, Document& b) { |
3472 | a.Swap(&b); |
3473 | } |
3474 | inline void Swap(Document* other) { |
3475 | if (other == this) return; |
3476 | InternalSwap(other); |
3477 | } |
3478 | |
3479 | // implements Message ---------------------------------------------- |
3480 | |
3481 | inline Document* New() const final { |
3482 | return CreateMaybeMessage<Document>(nullptr); |
3483 | } |
3484 | |
3485 | Document* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3486 | return CreateMaybeMessage<Document>(arena); |
3487 | } |
3488 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3489 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3490 | void CopyFrom(const Document& from); |
3491 | void MergeFrom(const Document& from); |
3492 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3493 | bool IsInitialized() const final; |
3494 | |
3495 | size_t ByteSizeLong() const final; |
3496 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3497 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
3498 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3499 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3500 | |
3501 | private: |
3502 | inline void SharedCtor(); |
3503 | inline void SharedDtor(); |
3504 | void SetCachedSize(int size) const final; |
3505 | void InternalSwap(Document* other); |
3506 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3507 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3508 | return "proxima.be.proto.Document" ; |
3509 | } |
3510 | private: |
3511 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3512 | return nullptr; |
3513 | } |
3514 | inline void* MaybeArenaPtr() const { |
3515 | return nullptr; |
3516 | } |
3517 | public: |
3518 | |
3519 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3520 | private: |
3521 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3522 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
3523 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
3524 | } |
3525 | |
3526 | public: |
3527 | |
3528 | // nested types ---------------------------------------------------- |
3529 | |
3530 | // accessors ------------------------------------------------------- |
3531 | |
3532 | enum : int { |
3533 | kForwardColumnValuesFieldNumber = 3, |
3534 | kPrimaryKeyFieldNumber = 1, |
3535 | kScoreFieldNumber = 2, |
3536 | }; |
3537 | // repeated .proxima.be.proto.GenericKeyValue forward_column_values = 3; |
3538 | int forward_column_values_size() const; |
3539 | private: |
3540 | int _internal_forward_column_values_size() const; |
3541 | public: |
3542 | void clear_forward_column_values(); |
3543 | ::proxima::be::proto::GenericKeyValue* mutable_forward_column_values(int index); |
3544 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::GenericKeyValue >* |
3545 | mutable_forward_column_values(); |
3546 | private: |
3547 | const ::proxima::be::proto::GenericKeyValue& _internal_forward_column_values(int index) const; |
3548 | ::proxima::be::proto::GenericKeyValue* _internal_add_forward_column_values(); |
3549 | public: |
3550 | const ::proxima::be::proto::GenericKeyValue& forward_column_values(int index) const; |
3551 | ::proxima::be::proto::GenericKeyValue* add_forward_column_values(); |
3552 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::GenericKeyValue >& |
3553 | forward_column_values() const; |
3554 | |
3555 | // uint64 primary_key = 1; |
3556 | void clear_primary_key(); |
3557 | ::PROTOBUF_NAMESPACE_ID::uint64 primary_key() const; |
3558 | void set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
3559 | private: |
3560 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_primary_key() const; |
3561 | void _internal_set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
3562 | public: |
3563 | |
3564 | // float score = 2; |
3565 | void clear_score(); |
3566 | float score() const; |
3567 | void set_score(float value); |
3568 | private: |
3569 | float _internal_score() const; |
3570 | void _internal_set_score(float value); |
3571 | public: |
3572 | |
3573 | // @@protoc_insertion_point(class_scope:proxima.be.proto.Document) |
3574 | private: |
3575 | class _Internal; |
3576 | |
3577 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3578 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::GenericKeyValue > forward_column_values_; |
3579 | ::PROTOBUF_NAMESPACE_ID::uint64 primary_key_; |
3580 | float score_; |
3581 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3582 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
3583 | }; |
3584 | // ------------------------------------------------------------------- |
3585 | |
3586 | class QueryRequest_KnnQueryParam : |
3587 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.QueryRequest.KnnQueryParam) */ { |
3588 | public: |
3589 | QueryRequest_KnnQueryParam(); |
3590 | virtual ~QueryRequest_KnnQueryParam(); |
3591 | |
3592 | QueryRequest_KnnQueryParam(const QueryRequest_KnnQueryParam& from); |
3593 | QueryRequest_KnnQueryParam(QueryRequest_KnnQueryParam&& from) noexcept |
3594 | : QueryRequest_KnnQueryParam() { |
3595 | *this = ::std::move(from); |
3596 | } |
3597 | |
3598 | inline QueryRequest_KnnQueryParam& operator=(const QueryRequest_KnnQueryParam& from) { |
3599 | CopyFrom(from); |
3600 | return *this; |
3601 | } |
3602 | inline QueryRequest_KnnQueryParam& operator=(QueryRequest_KnnQueryParam&& from) noexcept { |
3603 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3604 | if (this != &from) InternalSwap(&from); |
3605 | } else { |
3606 | CopyFrom(from); |
3607 | } |
3608 | return *this; |
3609 | } |
3610 | |
3611 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3612 | return GetDescriptor(); |
3613 | } |
3614 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3615 | return GetMetadataStatic().descriptor; |
3616 | } |
3617 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3618 | return GetMetadataStatic().reflection; |
3619 | } |
3620 | static const QueryRequest_KnnQueryParam& default_instance(); |
3621 | |
3622 | enum FeaturesValueCase { |
3623 | kFeatures = 3, |
3624 | kMatrix = 4, |
3625 | FEATURES_VALUE_NOT_SET = 0, |
3626 | }; |
3627 | |
3628 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3629 | static inline const QueryRequest_KnnQueryParam* internal_default_instance() { |
3630 | return reinterpret_cast<const QueryRequest_KnnQueryParam*>( |
3631 | &_QueryRequest_KnnQueryParam_default_instance_); |
3632 | } |
3633 | static constexpr int kIndexInFileMessages = |
3634 | 18; |
3635 | |
3636 | friend void swap(QueryRequest_KnnQueryParam& a, QueryRequest_KnnQueryParam& b) { |
3637 | a.Swap(&b); |
3638 | } |
3639 | inline void Swap(QueryRequest_KnnQueryParam* other) { |
3640 | if (other == this) return; |
3641 | InternalSwap(other); |
3642 | } |
3643 | |
3644 | // implements Message ---------------------------------------------- |
3645 | |
3646 | inline QueryRequest_KnnQueryParam* New() const final { |
3647 | return CreateMaybeMessage<QueryRequest_KnnQueryParam>(nullptr); |
3648 | } |
3649 | |
3650 | QueryRequest_KnnQueryParam* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3651 | return CreateMaybeMessage<QueryRequest_KnnQueryParam>(arena); |
3652 | } |
3653 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3654 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3655 | void CopyFrom(const QueryRequest_KnnQueryParam& from); |
3656 | void MergeFrom(const QueryRequest_KnnQueryParam& from); |
3657 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3658 | bool IsInitialized() const final; |
3659 | |
3660 | size_t ByteSizeLong() const final; |
3661 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3662 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
3663 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3664 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3665 | |
3666 | private: |
3667 | inline void SharedCtor(); |
3668 | inline void SharedDtor(); |
3669 | void SetCachedSize(int size) const final; |
3670 | void InternalSwap(QueryRequest_KnnQueryParam* other); |
3671 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3672 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3673 | return "proxima.be.proto.QueryRequest.KnnQueryParam" ; |
3674 | } |
3675 | private: |
3676 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3677 | return nullptr; |
3678 | } |
3679 | inline void* MaybeArenaPtr() const { |
3680 | return nullptr; |
3681 | } |
3682 | public: |
3683 | |
3684 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3685 | private: |
3686 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3687 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
3688 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
3689 | } |
3690 | |
3691 | public: |
3692 | |
3693 | // nested types ---------------------------------------------------- |
3694 | |
3695 | // accessors ------------------------------------------------------- |
3696 | |
3697 | enum : int { |
3698 | = 10, |
3699 | kColumnNameFieldNumber = 1, |
3700 | kTopkFieldNumber = 2, |
3701 | kBatchCountFieldNumber = 5, |
3702 | kDimensionFieldNumber = 6, |
3703 | kDataTypeFieldNumber = 7, |
3704 | kRadiusFieldNumber = 8, |
3705 | kIsLinearFieldNumber = 9, |
3706 | kFeaturesFieldNumber = 3, |
3707 | kMatrixFieldNumber = 4, |
3708 | }; |
3709 | // repeated .proxima.be.proto.KeyValuePair extra_params = 10; |
3710 | int extra_params_size() const; |
3711 | private: |
3712 | int _internal_extra_params_size() const; |
3713 | public: |
3714 | void (); |
3715 | ::proxima::be::proto::KeyValuePair* mutable_extra_params(int index); |
3716 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >* |
3717 | mutable_extra_params(); |
3718 | private: |
3719 | const ::proxima::be::proto::KeyValuePair& _internal_extra_params(int index) const; |
3720 | ::proxima::be::proto::KeyValuePair* _internal_add_extra_params(); |
3721 | public: |
3722 | const ::proxima::be::proto::KeyValuePair& extra_params(int index) const; |
3723 | ::proxima::be::proto::KeyValuePair* add_extra_params(); |
3724 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >& |
3725 | extra_params() const; |
3726 | |
3727 | // string column_name = 1; |
3728 | void clear_column_name(); |
3729 | const std::string& column_name() const; |
3730 | void set_column_name(const std::string& value); |
3731 | void set_column_name(std::string&& value); |
3732 | void set_column_name(const char* value); |
3733 | void set_column_name(const char* value, size_t size); |
3734 | std::string* mutable_column_name(); |
3735 | std::string* release_column_name(); |
3736 | void set_allocated_column_name(std::string* column_name); |
3737 | private: |
3738 | const std::string& _internal_column_name() const; |
3739 | void _internal_set_column_name(const std::string& value); |
3740 | std::string* _internal_mutable_column_name(); |
3741 | public: |
3742 | |
3743 | // uint32 topk = 2; |
3744 | void clear_topk(); |
3745 | ::PROTOBUF_NAMESPACE_ID::uint32 topk() const; |
3746 | void set_topk(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3747 | private: |
3748 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_topk() const; |
3749 | void _internal_set_topk(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3750 | public: |
3751 | |
3752 | // uint32 batch_count = 5; |
3753 | void clear_batch_count(); |
3754 | ::PROTOBUF_NAMESPACE_ID::uint32 batch_count() const; |
3755 | void set_batch_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3756 | private: |
3757 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_batch_count() const; |
3758 | void _internal_set_batch_count(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3759 | public: |
3760 | |
3761 | // uint32 dimension = 6; |
3762 | void clear_dimension(); |
3763 | ::PROTOBUF_NAMESPACE_ID::uint32 dimension() const; |
3764 | void set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3765 | private: |
3766 | ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dimension() const; |
3767 | void _internal_set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value); |
3768 | public: |
3769 | |
3770 | // .proxima.be.proto.DataType data_type = 7; |
3771 | void clear_data_type(); |
3772 | ::proxima::be::proto::DataType data_type() const; |
3773 | void set_data_type(::proxima::be::proto::DataType value); |
3774 | private: |
3775 | ::proxima::be::proto::DataType _internal_data_type() const; |
3776 | void _internal_set_data_type(::proxima::be::proto::DataType value); |
3777 | public: |
3778 | |
3779 | // float radius = 8; |
3780 | void clear_radius(); |
3781 | float radius() const; |
3782 | void set_radius(float value); |
3783 | private: |
3784 | float _internal_radius() const; |
3785 | void _internal_set_radius(float value); |
3786 | public: |
3787 | |
3788 | // bool is_linear = 9; |
3789 | void clear_is_linear(); |
3790 | bool is_linear() const; |
3791 | void set_is_linear(bool value); |
3792 | private: |
3793 | bool _internal_is_linear() const; |
3794 | void _internal_set_is_linear(bool value); |
3795 | public: |
3796 | |
3797 | // bytes features = 3; |
3798 | private: |
3799 | bool _internal_has_features() const; |
3800 | public: |
3801 | void clear_features(); |
3802 | const std::string& features() const; |
3803 | void set_features(const std::string& value); |
3804 | void set_features(std::string&& value); |
3805 | void set_features(const char* value); |
3806 | void set_features(const void* value, size_t size); |
3807 | std::string* mutable_features(); |
3808 | std::string* release_features(); |
3809 | void set_allocated_features(std::string* features); |
3810 | private: |
3811 | const std::string& _internal_features() const; |
3812 | void _internal_set_features(const std::string& value); |
3813 | std::string* _internal_mutable_features(); |
3814 | public: |
3815 | |
3816 | // string matrix = 4; |
3817 | private: |
3818 | bool _internal_has_matrix() const; |
3819 | public: |
3820 | void clear_matrix(); |
3821 | const std::string& matrix() const; |
3822 | void set_matrix(const std::string& value); |
3823 | void set_matrix(std::string&& value); |
3824 | void set_matrix(const char* value); |
3825 | void set_matrix(const char* value, size_t size); |
3826 | std::string* mutable_matrix(); |
3827 | std::string* release_matrix(); |
3828 | void set_allocated_matrix(std::string* matrix); |
3829 | private: |
3830 | const std::string& _internal_matrix() const; |
3831 | void _internal_set_matrix(const std::string& value); |
3832 | std::string* _internal_mutable_matrix(); |
3833 | public: |
3834 | |
3835 | void clear_features_value(); |
3836 | FeaturesValueCase features_value_case() const; |
3837 | // @@protoc_insertion_point(class_scope:proxima.be.proto.QueryRequest.KnnQueryParam) |
3838 | private: |
3839 | class _Internal; |
3840 | void set_has_features(); |
3841 | void set_has_matrix(); |
3842 | |
3843 | inline bool has_features_value() const; |
3844 | inline void clear_has_features_value(); |
3845 | |
3846 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
3847 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair > ; |
3848 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_; |
3849 | ::PROTOBUF_NAMESPACE_ID::uint32 topk_; |
3850 | ::PROTOBUF_NAMESPACE_ID::uint32 batch_count_; |
3851 | ::PROTOBUF_NAMESPACE_ID::uint32 dimension_; |
3852 | int data_type_; |
3853 | float radius_; |
3854 | bool is_linear_; |
3855 | union FeaturesValueUnion { |
3856 | FeaturesValueUnion() {} |
3857 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr features_; |
3858 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr matrix_; |
3859 | } features_value_; |
3860 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3861 | ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; |
3862 | |
3863 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
3864 | }; |
3865 | // ------------------------------------------------------------------- |
3866 | |
3867 | class QueryRequest : |
3868 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.QueryRequest) */ { |
3869 | public: |
3870 | QueryRequest(); |
3871 | virtual ~QueryRequest(); |
3872 | |
3873 | QueryRequest(const QueryRequest& from); |
3874 | QueryRequest(QueryRequest&& from) noexcept |
3875 | : QueryRequest() { |
3876 | *this = ::std::move(from); |
3877 | } |
3878 | |
3879 | inline QueryRequest& operator=(const QueryRequest& from) { |
3880 | CopyFrom(from); |
3881 | return *this; |
3882 | } |
3883 | inline QueryRequest& operator=(QueryRequest&& from) noexcept { |
3884 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3885 | if (this != &from) InternalSwap(&from); |
3886 | } else { |
3887 | CopyFrom(from); |
3888 | } |
3889 | return *this; |
3890 | } |
3891 | |
3892 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3893 | return GetDescriptor(); |
3894 | } |
3895 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3896 | return GetMetadataStatic().descriptor; |
3897 | } |
3898 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3899 | return GetMetadataStatic().reflection; |
3900 | } |
3901 | static const QueryRequest& default_instance(); |
3902 | |
3903 | enum QueryParamCase { |
3904 | kKnnParam = 4, |
3905 | QUERY_PARAM_NOT_SET = 0, |
3906 | }; |
3907 | |
3908 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3909 | static inline const QueryRequest* internal_default_instance() { |
3910 | return reinterpret_cast<const QueryRequest*>( |
3911 | &_QueryRequest_default_instance_); |
3912 | } |
3913 | static constexpr int kIndexInFileMessages = |
3914 | 19; |
3915 | |
3916 | friend void swap(QueryRequest& a, QueryRequest& b) { |
3917 | a.Swap(&b); |
3918 | } |
3919 | inline void Swap(QueryRequest* other) { |
3920 | if (other == this) return; |
3921 | InternalSwap(other); |
3922 | } |
3923 | |
3924 | // implements Message ---------------------------------------------- |
3925 | |
3926 | inline QueryRequest* New() const final { |
3927 | return CreateMaybeMessage<QueryRequest>(nullptr); |
3928 | } |
3929 | |
3930 | QueryRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
3931 | return CreateMaybeMessage<QueryRequest>(arena); |
3932 | } |
3933 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3934 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
3935 | void CopyFrom(const QueryRequest& from); |
3936 | void MergeFrom(const QueryRequest& from); |
3937 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3938 | bool IsInitialized() const final; |
3939 | |
3940 | size_t ByteSizeLong() const final; |
3941 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3942 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
3943 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3944 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3945 | |
3946 | private: |
3947 | inline void SharedCtor(); |
3948 | inline void SharedDtor(); |
3949 | void SetCachedSize(int size) const final; |
3950 | void InternalSwap(QueryRequest* other); |
3951 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3952 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3953 | return "proxima.be.proto.QueryRequest" ; |
3954 | } |
3955 | private: |
3956 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
3957 | return nullptr; |
3958 | } |
3959 | inline void* MaybeArenaPtr() const { |
3960 | return nullptr; |
3961 | } |
3962 | public: |
3963 | |
3964 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3965 | private: |
3966 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
3967 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
3968 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
3969 | } |
3970 | |
3971 | public: |
3972 | |
3973 | // nested types ---------------------------------------------------- |
3974 | |
3975 | typedef QueryRequest_KnnQueryParam KnnQueryParam; |
3976 | |
3977 | typedef QueryRequest_QueryType QueryType; |
3978 | static constexpr QueryType QT_KNN = |
3979 | QueryRequest_QueryType_QT_KNN; |
3980 | static inline bool QueryType_IsValid(int value) { |
3981 | return QueryRequest_QueryType_IsValid(value); |
3982 | } |
3983 | static constexpr QueryType QueryType_MIN = |
3984 | QueryRequest_QueryType_QueryType_MIN; |
3985 | static constexpr QueryType QueryType_MAX = |
3986 | QueryRequest_QueryType_QueryType_MAX; |
3987 | static constexpr int QueryType_ARRAYSIZE = |
3988 | QueryRequest_QueryType_QueryType_ARRAYSIZE; |
3989 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
3990 | QueryType_descriptor() { |
3991 | return QueryRequest_QueryType_descriptor(); |
3992 | } |
3993 | template<typename T> |
3994 | static inline const std::string& QueryType_Name(T enum_t_value) { |
3995 | static_assert(::std::is_same<T, QueryType>::value || |
3996 | ::std::is_integral<T>::value, |
3997 | "Incorrect type passed to function QueryType_Name." ); |
3998 | return QueryRequest_QueryType_Name(enum_t_value); |
3999 | } |
4000 | static inline bool QueryType_Parse(const std::string& name, |
4001 | QueryType* value) { |
4002 | return QueryRequest_QueryType_Parse(name, value); |
4003 | } |
4004 | |
4005 | // accessors ------------------------------------------------------- |
4006 | |
4007 | enum : int { |
4008 | kCollectionNameFieldNumber = 1, |
4009 | kQueryTypeFieldNumber = 2, |
4010 | kDebugModeFieldNumber = 3, |
4011 | kKnnParamFieldNumber = 4, |
4012 | }; |
4013 | // string collection_name = 1; |
4014 | void clear_collection_name(); |
4015 | const std::string& collection_name() const; |
4016 | void set_collection_name(const std::string& value); |
4017 | void set_collection_name(std::string&& value); |
4018 | void set_collection_name(const char* value); |
4019 | void set_collection_name(const char* value, size_t size); |
4020 | std::string* mutable_collection_name(); |
4021 | std::string* release_collection_name(); |
4022 | void set_allocated_collection_name(std::string* collection_name); |
4023 | private: |
4024 | const std::string& _internal_collection_name() const; |
4025 | void _internal_set_collection_name(const std::string& value); |
4026 | std::string* _internal_mutable_collection_name(); |
4027 | public: |
4028 | |
4029 | // .proxima.be.proto.QueryRequest.QueryType query_type = 2; |
4030 | void clear_query_type(); |
4031 | ::proxima::be::proto::QueryRequest_QueryType query_type() const; |
4032 | void set_query_type(::proxima::be::proto::QueryRequest_QueryType value); |
4033 | private: |
4034 | ::proxima::be::proto::QueryRequest_QueryType _internal_query_type() const; |
4035 | void _internal_set_query_type(::proxima::be::proto::QueryRequest_QueryType value); |
4036 | public: |
4037 | |
4038 | // bool debug_mode = 3; |
4039 | void clear_debug_mode(); |
4040 | bool debug_mode() const; |
4041 | void set_debug_mode(bool value); |
4042 | private: |
4043 | bool _internal_debug_mode() const; |
4044 | void _internal_set_debug_mode(bool value); |
4045 | public: |
4046 | |
4047 | // .proxima.be.proto.QueryRequest.KnnQueryParam knn_param = 4; |
4048 | bool has_knn_param() const; |
4049 | private: |
4050 | bool _internal_has_knn_param() const; |
4051 | public: |
4052 | void clear_knn_param(); |
4053 | const ::proxima::be::proto::QueryRequest_KnnQueryParam& knn_param() const; |
4054 | ::proxima::be::proto::QueryRequest_KnnQueryParam* release_knn_param(); |
4055 | ::proxima::be::proto::QueryRequest_KnnQueryParam* mutable_knn_param(); |
4056 | void set_allocated_knn_param(::proxima::be::proto::QueryRequest_KnnQueryParam* knn_param); |
4057 | private: |
4058 | const ::proxima::be::proto::QueryRequest_KnnQueryParam& _internal_knn_param() const; |
4059 | ::proxima::be::proto::QueryRequest_KnnQueryParam* _internal_mutable_knn_param(); |
4060 | public: |
4061 | |
4062 | void clear_query_param(); |
4063 | QueryParamCase query_param_case() const; |
4064 | // @@protoc_insertion_point(class_scope:proxima.be.proto.QueryRequest) |
4065 | private: |
4066 | class _Internal; |
4067 | void set_has_knn_param(); |
4068 | |
4069 | inline bool has_query_param() const; |
4070 | inline void clear_has_query_param(); |
4071 | |
4072 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4073 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; |
4074 | int query_type_; |
4075 | bool debug_mode_; |
4076 | union QueryParamUnion { |
4077 | QueryParamUnion() {} |
4078 | ::proxima::be::proto::QueryRequest_KnnQueryParam* knn_param_; |
4079 | } query_param_; |
4080 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4081 | ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]; |
4082 | |
4083 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4084 | }; |
4085 | // ------------------------------------------------------------------- |
4086 | |
4087 | class QueryResponse_Result : |
4088 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.QueryResponse.Result) */ { |
4089 | public: |
4090 | QueryResponse_Result(); |
4091 | virtual ~QueryResponse_Result(); |
4092 | |
4093 | QueryResponse_Result(const QueryResponse_Result& from); |
4094 | QueryResponse_Result(QueryResponse_Result&& from) noexcept |
4095 | : QueryResponse_Result() { |
4096 | *this = ::std::move(from); |
4097 | } |
4098 | |
4099 | inline QueryResponse_Result& operator=(const QueryResponse_Result& from) { |
4100 | CopyFrom(from); |
4101 | return *this; |
4102 | } |
4103 | inline QueryResponse_Result& operator=(QueryResponse_Result&& from) noexcept { |
4104 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4105 | if (this != &from) InternalSwap(&from); |
4106 | } else { |
4107 | CopyFrom(from); |
4108 | } |
4109 | return *this; |
4110 | } |
4111 | |
4112 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4113 | return GetDescriptor(); |
4114 | } |
4115 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4116 | return GetMetadataStatic().descriptor; |
4117 | } |
4118 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4119 | return GetMetadataStatic().reflection; |
4120 | } |
4121 | static const QueryResponse_Result& default_instance(); |
4122 | |
4123 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4124 | static inline const QueryResponse_Result* internal_default_instance() { |
4125 | return reinterpret_cast<const QueryResponse_Result*>( |
4126 | &_QueryResponse_Result_default_instance_); |
4127 | } |
4128 | static constexpr int kIndexInFileMessages = |
4129 | 20; |
4130 | |
4131 | friend void swap(QueryResponse_Result& a, QueryResponse_Result& b) { |
4132 | a.Swap(&b); |
4133 | } |
4134 | inline void Swap(QueryResponse_Result* other) { |
4135 | if (other == this) return; |
4136 | InternalSwap(other); |
4137 | } |
4138 | |
4139 | // implements Message ---------------------------------------------- |
4140 | |
4141 | inline QueryResponse_Result* New() const final { |
4142 | return CreateMaybeMessage<QueryResponse_Result>(nullptr); |
4143 | } |
4144 | |
4145 | QueryResponse_Result* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
4146 | return CreateMaybeMessage<QueryResponse_Result>(arena); |
4147 | } |
4148 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4149 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4150 | void CopyFrom(const QueryResponse_Result& from); |
4151 | void MergeFrom(const QueryResponse_Result& from); |
4152 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4153 | bool IsInitialized() const final; |
4154 | |
4155 | size_t ByteSizeLong() const final; |
4156 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4157 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
4158 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4159 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4160 | |
4161 | private: |
4162 | inline void SharedCtor(); |
4163 | inline void SharedDtor(); |
4164 | void SetCachedSize(int size) const final; |
4165 | void InternalSwap(QueryResponse_Result* other); |
4166 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4167 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4168 | return "proxima.be.proto.QueryResponse.Result" ; |
4169 | } |
4170 | private: |
4171 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
4172 | return nullptr; |
4173 | } |
4174 | inline void* MaybeArenaPtr() const { |
4175 | return nullptr; |
4176 | } |
4177 | public: |
4178 | |
4179 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4180 | private: |
4181 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
4182 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
4183 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
4184 | } |
4185 | |
4186 | public: |
4187 | |
4188 | // nested types ---------------------------------------------------- |
4189 | |
4190 | // accessors ------------------------------------------------------- |
4191 | |
4192 | enum : int { |
4193 | kDocumentsFieldNumber = 1, |
4194 | }; |
4195 | // repeated .proxima.be.proto.Document documents = 1; |
4196 | int documents_size() const; |
4197 | private: |
4198 | int _internal_documents_size() const; |
4199 | public: |
4200 | void clear_documents(); |
4201 | ::proxima::be::proto::Document* mutable_documents(int index); |
4202 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::Document >* |
4203 | mutable_documents(); |
4204 | private: |
4205 | const ::proxima::be::proto::Document& _internal_documents(int index) const; |
4206 | ::proxima::be::proto::Document* _internal_add_documents(); |
4207 | public: |
4208 | const ::proxima::be::proto::Document& documents(int index) const; |
4209 | ::proxima::be::proto::Document* add_documents(); |
4210 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::Document >& |
4211 | documents() const; |
4212 | |
4213 | // @@protoc_insertion_point(class_scope:proxima.be.proto.QueryResponse.Result) |
4214 | private: |
4215 | class _Internal; |
4216 | |
4217 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4218 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::Document > documents_; |
4219 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4220 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4221 | }; |
4222 | // ------------------------------------------------------------------- |
4223 | |
4224 | class QueryResponse : |
4225 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.QueryResponse) */ { |
4226 | public: |
4227 | QueryResponse(); |
4228 | virtual ~QueryResponse(); |
4229 | |
4230 | QueryResponse(const QueryResponse& from); |
4231 | QueryResponse(QueryResponse&& from) noexcept |
4232 | : QueryResponse() { |
4233 | *this = ::std::move(from); |
4234 | } |
4235 | |
4236 | inline QueryResponse& operator=(const QueryResponse& from) { |
4237 | CopyFrom(from); |
4238 | return *this; |
4239 | } |
4240 | inline QueryResponse& operator=(QueryResponse&& from) noexcept { |
4241 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4242 | if (this != &from) InternalSwap(&from); |
4243 | } else { |
4244 | CopyFrom(from); |
4245 | } |
4246 | return *this; |
4247 | } |
4248 | |
4249 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4250 | return GetDescriptor(); |
4251 | } |
4252 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4253 | return GetMetadataStatic().descriptor; |
4254 | } |
4255 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4256 | return GetMetadataStatic().reflection; |
4257 | } |
4258 | static const QueryResponse& default_instance(); |
4259 | |
4260 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4261 | static inline const QueryResponse* internal_default_instance() { |
4262 | return reinterpret_cast<const QueryResponse*>( |
4263 | &_QueryResponse_default_instance_); |
4264 | } |
4265 | static constexpr int kIndexInFileMessages = |
4266 | 21; |
4267 | |
4268 | friend void swap(QueryResponse& a, QueryResponse& b) { |
4269 | a.Swap(&b); |
4270 | } |
4271 | inline void Swap(QueryResponse* other) { |
4272 | if (other == this) return; |
4273 | InternalSwap(other); |
4274 | } |
4275 | |
4276 | // implements Message ---------------------------------------------- |
4277 | |
4278 | inline QueryResponse* New() const final { |
4279 | return CreateMaybeMessage<QueryResponse>(nullptr); |
4280 | } |
4281 | |
4282 | QueryResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
4283 | return CreateMaybeMessage<QueryResponse>(arena); |
4284 | } |
4285 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4286 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4287 | void CopyFrom(const QueryResponse& from); |
4288 | void MergeFrom(const QueryResponse& from); |
4289 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4290 | bool IsInitialized() const final; |
4291 | |
4292 | size_t ByteSizeLong() const final; |
4293 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4294 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
4295 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4296 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4297 | |
4298 | private: |
4299 | inline void SharedCtor(); |
4300 | inline void SharedDtor(); |
4301 | void SetCachedSize(int size) const final; |
4302 | void InternalSwap(QueryResponse* other); |
4303 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4304 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4305 | return "proxima.be.proto.QueryResponse" ; |
4306 | } |
4307 | private: |
4308 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
4309 | return nullptr; |
4310 | } |
4311 | inline void* MaybeArenaPtr() const { |
4312 | return nullptr; |
4313 | } |
4314 | public: |
4315 | |
4316 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4317 | private: |
4318 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
4319 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
4320 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
4321 | } |
4322 | |
4323 | public: |
4324 | |
4325 | // nested types ---------------------------------------------------- |
4326 | |
4327 | typedef QueryResponse_Result Result; |
4328 | |
4329 | // accessors ------------------------------------------------------- |
4330 | |
4331 | enum : int { |
4332 | kResultsFieldNumber = 4, |
4333 | kDebugInfoFieldNumber = 2, |
4334 | kStatusFieldNumber = 1, |
4335 | kLatencyUsFieldNumber = 3, |
4336 | }; |
4337 | // repeated .proxima.be.proto.QueryResponse.Result results = 4; |
4338 | int results_size() const; |
4339 | private: |
4340 | int _internal_results_size() const; |
4341 | public: |
4342 | void clear_results(); |
4343 | ::proxima::be::proto::QueryResponse_Result* mutable_results(int index); |
4344 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::QueryResponse_Result >* |
4345 | mutable_results(); |
4346 | private: |
4347 | const ::proxima::be::proto::QueryResponse_Result& _internal_results(int index) const; |
4348 | ::proxima::be::proto::QueryResponse_Result* _internal_add_results(); |
4349 | public: |
4350 | const ::proxima::be::proto::QueryResponse_Result& results(int index) const; |
4351 | ::proxima::be::proto::QueryResponse_Result* add_results(); |
4352 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::QueryResponse_Result >& |
4353 | results() const; |
4354 | |
4355 | // string debug_info = 2; |
4356 | void clear_debug_info(); |
4357 | const std::string& debug_info() const; |
4358 | void set_debug_info(const std::string& value); |
4359 | void set_debug_info(std::string&& value); |
4360 | void set_debug_info(const char* value); |
4361 | void set_debug_info(const char* value, size_t size); |
4362 | std::string* mutable_debug_info(); |
4363 | std::string* release_debug_info(); |
4364 | void set_allocated_debug_info(std::string* debug_info); |
4365 | private: |
4366 | const std::string& _internal_debug_info() const; |
4367 | void _internal_set_debug_info(const std::string& value); |
4368 | std::string* _internal_mutable_debug_info(); |
4369 | public: |
4370 | |
4371 | // .proxima.be.proto.Status status = 1; |
4372 | bool has_status() const; |
4373 | private: |
4374 | bool _internal_has_status() const; |
4375 | public: |
4376 | void clear_status(); |
4377 | const ::proxima::be::proto::Status& status() const; |
4378 | ::proxima::be::proto::Status* release_status(); |
4379 | ::proxima::be::proto::Status* mutable_status(); |
4380 | void set_allocated_status(::proxima::be::proto::Status* status); |
4381 | private: |
4382 | const ::proxima::be::proto::Status& _internal_status() const; |
4383 | ::proxima::be::proto::Status* _internal_mutable_status(); |
4384 | public: |
4385 | |
4386 | // uint64 latency_us = 3; |
4387 | void clear_latency_us(); |
4388 | ::PROTOBUF_NAMESPACE_ID::uint64 latency_us() const; |
4389 | void set_latency_us(::PROTOBUF_NAMESPACE_ID::uint64 value); |
4390 | private: |
4391 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_latency_us() const; |
4392 | void _internal_set_latency_us(::PROTOBUF_NAMESPACE_ID::uint64 value); |
4393 | public: |
4394 | |
4395 | // @@protoc_insertion_point(class_scope:proxima.be.proto.QueryResponse) |
4396 | private: |
4397 | class _Internal; |
4398 | |
4399 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4400 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::QueryResponse_Result > results_; |
4401 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_info_; |
4402 | ::proxima::be::proto::Status* status_; |
4403 | ::PROTOBUF_NAMESPACE_ID::uint64 latency_us_; |
4404 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4405 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4406 | }; |
4407 | // ------------------------------------------------------------------- |
4408 | |
4409 | class GetDocumentRequest : |
4410 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.GetDocumentRequest) */ { |
4411 | public: |
4412 | GetDocumentRequest(); |
4413 | virtual ~GetDocumentRequest(); |
4414 | |
4415 | GetDocumentRequest(const GetDocumentRequest& from); |
4416 | GetDocumentRequest(GetDocumentRequest&& from) noexcept |
4417 | : GetDocumentRequest() { |
4418 | *this = ::std::move(from); |
4419 | } |
4420 | |
4421 | inline GetDocumentRequest& operator=(const GetDocumentRequest& from) { |
4422 | CopyFrom(from); |
4423 | return *this; |
4424 | } |
4425 | inline GetDocumentRequest& operator=(GetDocumentRequest&& from) noexcept { |
4426 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4427 | if (this != &from) InternalSwap(&from); |
4428 | } else { |
4429 | CopyFrom(from); |
4430 | } |
4431 | return *this; |
4432 | } |
4433 | |
4434 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4435 | return GetDescriptor(); |
4436 | } |
4437 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4438 | return GetMetadataStatic().descriptor; |
4439 | } |
4440 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4441 | return GetMetadataStatic().reflection; |
4442 | } |
4443 | static const GetDocumentRequest& default_instance(); |
4444 | |
4445 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4446 | static inline const GetDocumentRequest* internal_default_instance() { |
4447 | return reinterpret_cast<const GetDocumentRequest*>( |
4448 | &_GetDocumentRequest_default_instance_); |
4449 | } |
4450 | static constexpr int kIndexInFileMessages = |
4451 | 22; |
4452 | |
4453 | friend void swap(GetDocumentRequest& a, GetDocumentRequest& b) { |
4454 | a.Swap(&b); |
4455 | } |
4456 | inline void Swap(GetDocumentRequest* other) { |
4457 | if (other == this) return; |
4458 | InternalSwap(other); |
4459 | } |
4460 | |
4461 | // implements Message ---------------------------------------------- |
4462 | |
4463 | inline GetDocumentRequest* New() const final { |
4464 | return CreateMaybeMessage<GetDocumentRequest>(nullptr); |
4465 | } |
4466 | |
4467 | GetDocumentRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
4468 | return CreateMaybeMessage<GetDocumentRequest>(arena); |
4469 | } |
4470 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4471 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4472 | void CopyFrom(const GetDocumentRequest& from); |
4473 | void MergeFrom(const GetDocumentRequest& from); |
4474 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4475 | bool IsInitialized() const final; |
4476 | |
4477 | size_t ByteSizeLong() const final; |
4478 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4479 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
4480 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4481 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4482 | |
4483 | private: |
4484 | inline void SharedCtor(); |
4485 | inline void SharedDtor(); |
4486 | void SetCachedSize(int size) const final; |
4487 | void InternalSwap(GetDocumentRequest* other); |
4488 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4489 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4490 | return "proxima.be.proto.GetDocumentRequest" ; |
4491 | } |
4492 | private: |
4493 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
4494 | return nullptr; |
4495 | } |
4496 | inline void* MaybeArenaPtr() const { |
4497 | return nullptr; |
4498 | } |
4499 | public: |
4500 | |
4501 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4502 | private: |
4503 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
4504 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
4505 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
4506 | } |
4507 | |
4508 | public: |
4509 | |
4510 | // nested types ---------------------------------------------------- |
4511 | |
4512 | // accessors ------------------------------------------------------- |
4513 | |
4514 | enum : int { |
4515 | kCollectionNameFieldNumber = 1, |
4516 | kPrimaryKeyFieldNumber = 2, |
4517 | kDebugModeFieldNumber = 3, |
4518 | }; |
4519 | // string collection_name = 1; |
4520 | void clear_collection_name(); |
4521 | const std::string& collection_name() const; |
4522 | void set_collection_name(const std::string& value); |
4523 | void set_collection_name(std::string&& value); |
4524 | void set_collection_name(const char* value); |
4525 | void set_collection_name(const char* value, size_t size); |
4526 | std::string* mutable_collection_name(); |
4527 | std::string* release_collection_name(); |
4528 | void set_allocated_collection_name(std::string* collection_name); |
4529 | private: |
4530 | const std::string& _internal_collection_name() const; |
4531 | void _internal_set_collection_name(const std::string& value); |
4532 | std::string* _internal_mutable_collection_name(); |
4533 | public: |
4534 | |
4535 | // uint64 primary_key = 2; |
4536 | void clear_primary_key(); |
4537 | ::PROTOBUF_NAMESPACE_ID::uint64 primary_key() const; |
4538 | void set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
4539 | private: |
4540 | ::PROTOBUF_NAMESPACE_ID::uint64 _internal_primary_key() const; |
4541 | void _internal_set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value); |
4542 | public: |
4543 | |
4544 | // bool debug_mode = 3; |
4545 | void clear_debug_mode(); |
4546 | bool debug_mode() const; |
4547 | void set_debug_mode(bool value); |
4548 | private: |
4549 | bool _internal_debug_mode() const; |
4550 | void _internal_set_debug_mode(bool value); |
4551 | public: |
4552 | |
4553 | // @@protoc_insertion_point(class_scope:proxima.be.proto.GetDocumentRequest) |
4554 | private: |
4555 | class _Internal; |
4556 | |
4557 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4558 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr collection_name_; |
4559 | ::PROTOBUF_NAMESPACE_ID::uint64 primary_key_; |
4560 | bool debug_mode_; |
4561 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4562 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4563 | }; |
4564 | // ------------------------------------------------------------------- |
4565 | |
4566 | class GetDocumentResponse : |
4567 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.GetDocumentResponse) */ { |
4568 | public: |
4569 | GetDocumentResponse(); |
4570 | virtual ~GetDocumentResponse(); |
4571 | |
4572 | GetDocumentResponse(const GetDocumentResponse& from); |
4573 | GetDocumentResponse(GetDocumentResponse&& from) noexcept |
4574 | : GetDocumentResponse() { |
4575 | *this = ::std::move(from); |
4576 | } |
4577 | |
4578 | inline GetDocumentResponse& operator=(const GetDocumentResponse& from) { |
4579 | CopyFrom(from); |
4580 | return *this; |
4581 | } |
4582 | inline GetDocumentResponse& operator=(GetDocumentResponse&& from) noexcept { |
4583 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4584 | if (this != &from) InternalSwap(&from); |
4585 | } else { |
4586 | CopyFrom(from); |
4587 | } |
4588 | return *this; |
4589 | } |
4590 | |
4591 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4592 | return GetDescriptor(); |
4593 | } |
4594 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4595 | return GetMetadataStatic().descriptor; |
4596 | } |
4597 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4598 | return GetMetadataStatic().reflection; |
4599 | } |
4600 | static const GetDocumentResponse& default_instance(); |
4601 | |
4602 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4603 | static inline const GetDocumentResponse* internal_default_instance() { |
4604 | return reinterpret_cast<const GetDocumentResponse*>( |
4605 | &_GetDocumentResponse_default_instance_); |
4606 | } |
4607 | static constexpr int kIndexInFileMessages = |
4608 | 23; |
4609 | |
4610 | friend void swap(GetDocumentResponse& a, GetDocumentResponse& b) { |
4611 | a.Swap(&b); |
4612 | } |
4613 | inline void Swap(GetDocumentResponse* other) { |
4614 | if (other == this) return; |
4615 | InternalSwap(other); |
4616 | } |
4617 | |
4618 | // implements Message ---------------------------------------------- |
4619 | |
4620 | inline GetDocumentResponse* New() const final { |
4621 | return CreateMaybeMessage<GetDocumentResponse>(nullptr); |
4622 | } |
4623 | |
4624 | GetDocumentResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
4625 | return CreateMaybeMessage<GetDocumentResponse>(arena); |
4626 | } |
4627 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4628 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4629 | void CopyFrom(const GetDocumentResponse& from); |
4630 | void MergeFrom(const GetDocumentResponse& from); |
4631 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4632 | bool IsInitialized() const final; |
4633 | |
4634 | size_t ByteSizeLong() const final; |
4635 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4636 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
4637 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4638 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4639 | |
4640 | private: |
4641 | inline void SharedCtor(); |
4642 | inline void SharedDtor(); |
4643 | void SetCachedSize(int size) const final; |
4644 | void InternalSwap(GetDocumentResponse* other); |
4645 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4646 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4647 | return "proxima.be.proto.GetDocumentResponse" ; |
4648 | } |
4649 | private: |
4650 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
4651 | return nullptr; |
4652 | } |
4653 | inline void* MaybeArenaPtr() const { |
4654 | return nullptr; |
4655 | } |
4656 | public: |
4657 | |
4658 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4659 | private: |
4660 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
4661 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
4662 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
4663 | } |
4664 | |
4665 | public: |
4666 | |
4667 | // nested types ---------------------------------------------------- |
4668 | |
4669 | // accessors ------------------------------------------------------- |
4670 | |
4671 | enum : int { |
4672 | kDebugInfoFieldNumber = 2, |
4673 | kStatusFieldNumber = 1, |
4674 | kDocumentFieldNumber = 3, |
4675 | }; |
4676 | // string debug_info = 2; |
4677 | void clear_debug_info(); |
4678 | const std::string& debug_info() const; |
4679 | void set_debug_info(const std::string& value); |
4680 | void set_debug_info(std::string&& value); |
4681 | void set_debug_info(const char* value); |
4682 | void set_debug_info(const char* value, size_t size); |
4683 | std::string* mutable_debug_info(); |
4684 | std::string* release_debug_info(); |
4685 | void set_allocated_debug_info(std::string* debug_info); |
4686 | private: |
4687 | const std::string& _internal_debug_info() const; |
4688 | void _internal_set_debug_info(const std::string& value); |
4689 | std::string* _internal_mutable_debug_info(); |
4690 | public: |
4691 | |
4692 | // .proxima.be.proto.Status status = 1; |
4693 | bool has_status() const; |
4694 | private: |
4695 | bool _internal_has_status() const; |
4696 | public: |
4697 | void clear_status(); |
4698 | const ::proxima::be::proto::Status& status() const; |
4699 | ::proxima::be::proto::Status* release_status(); |
4700 | ::proxima::be::proto::Status* mutable_status(); |
4701 | void set_allocated_status(::proxima::be::proto::Status* status); |
4702 | private: |
4703 | const ::proxima::be::proto::Status& _internal_status() const; |
4704 | ::proxima::be::proto::Status* _internal_mutable_status(); |
4705 | public: |
4706 | |
4707 | // .proxima.be.proto.Document document = 3; |
4708 | bool has_document() const; |
4709 | private: |
4710 | bool _internal_has_document() const; |
4711 | public: |
4712 | void clear_document(); |
4713 | const ::proxima::be::proto::Document& document() const; |
4714 | ::proxima::be::proto::Document* release_document(); |
4715 | ::proxima::be::proto::Document* mutable_document(); |
4716 | void set_allocated_document(::proxima::be::proto::Document* document); |
4717 | private: |
4718 | const ::proxima::be::proto::Document& _internal_document() const; |
4719 | ::proxima::be::proto::Document* _internal_mutable_document(); |
4720 | public: |
4721 | |
4722 | // @@protoc_insertion_point(class_scope:proxima.be.proto.GetDocumentResponse) |
4723 | private: |
4724 | class _Internal; |
4725 | |
4726 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4727 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr debug_info_; |
4728 | ::proxima::be::proto::Status* status_; |
4729 | ::proxima::be::proto::Document* document_; |
4730 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4731 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4732 | }; |
4733 | // ------------------------------------------------------------------- |
4734 | |
4735 | class GetVersionRequest : |
4736 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.GetVersionRequest) */ { |
4737 | public: |
4738 | GetVersionRequest(); |
4739 | virtual ~GetVersionRequest(); |
4740 | |
4741 | GetVersionRequest(const GetVersionRequest& from); |
4742 | GetVersionRequest(GetVersionRequest&& from) noexcept |
4743 | : GetVersionRequest() { |
4744 | *this = ::std::move(from); |
4745 | } |
4746 | |
4747 | inline GetVersionRequest& operator=(const GetVersionRequest& from) { |
4748 | CopyFrom(from); |
4749 | return *this; |
4750 | } |
4751 | inline GetVersionRequest& operator=(GetVersionRequest&& from) noexcept { |
4752 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4753 | if (this != &from) InternalSwap(&from); |
4754 | } else { |
4755 | CopyFrom(from); |
4756 | } |
4757 | return *this; |
4758 | } |
4759 | |
4760 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4761 | return GetDescriptor(); |
4762 | } |
4763 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4764 | return GetMetadataStatic().descriptor; |
4765 | } |
4766 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4767 | return GetMetadataStatic().reflection; |
4768 | } |
4769 | static const GetVersionRequest& default_instance(); |
4770 | |
4771 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4772 | static inline const GetVersionRequest* internal_default_instance() { |
4773 | return reinterpret_cast<const GetVersionRequest*>( |
4774 | &_GetVersionRequest_default_instance_); |
4775 | } |
4776 | static constexpr int kIndexInFileMessages = |
4777 | 24; |
4778 | |
4779 | friend void swap(GetVersionRequest& a, GetVersionRequest& b) { |
4780 | a.Swap(&b); |
4781 | } |
4782 | inline void Swap(GetVersionRequest* other) { |
4783 | if (other == this) return; |
4784 | InternalSwap(other); |
4785 | } |
4786 | |
4787 | // implements Message ---------------------------------------------- |
4788 | |
4789 | inline GetVersionRequest* New() const final { |
4790 | return CreateMaybeMessage<GetVersionRequest>(nullptr); |
4791 | } |
4792 | |
4793 | GetVersionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
4794 | return CreateMaybeMessage<GetVersionRequest>(arena); |
4795 | } |
4796 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4797 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4798 | void CopyFrom(const GetVersionRequest& from); |
4799 | void MergeFrom(const GetVersionRequest& from); |
4800 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4801 | bool IsInitialized() const final; |
4802 | |
4803 | size_t ByteSizeLong() const final; |
4804 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4805 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
4806 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4807 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4808 | |
4809 | private: |
4810 | inline void SharedCtor(); |
4811 | inline void SharedDtor(); |
4812 | void SetCachedSize(int size) const final; |
4813 | void InternalSwap(GetVersionRequest* other); |
4814 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4815 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4816 | return "proxima.be.proto.GetVersionRequest" ; |
4817 | } |
4818 | private: |
4819 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
4820 | return nullptr; |
4821 | } |
4822 | inline void* MaybeArenaPtr() const { |
4823 | return nullptr; |
4824 | } |
4825 | public: |
4826 | |
4827 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4828 | private: |
4829 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
4830 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
4831 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
4832 | } |
4833 | |
4834 | public: |
4835 | |
4836 | // nested types ---------------------------------------------------- |
4837 | |
4838 | // accessors ------------------------------------------------------- |
4839 | |
4840 | // @@protoc_insertion_point(class_scope:proxima.be.proto.GetVersionRequest) |
4841 | private: |
4842 | class _Internal; |
4843 | |
4844 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4845 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4846 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4847 | }; |
4848 | // ------------------------------------------------------------------- |
4849 | |
4850 | class GetVersionResponse : |
4851 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:proxima.be.proto.GetVersionResponse) */ { |
4852 | public: |
4853 | GetVersionResponse(); |
4854 | virtual ~GetVersionResponse(); |
4855 | |
4856 | GetVersionResponse(const GetVersionResponse& from); |
4857 | GetVersionResponse(GetVersionResponse&& from) noexcept |
4858 | : GetVersionResponse() { |
4859 | *this = ::std::move(from); |
4860 | } |
4861 | |
4862 | inline GetVersionResponse& operator=(const GetVersionResponse& from) { |
4863 | CopyFrom(from); |
4864 | return *this; |
4865 | } |
4866 | inline GetVersionResponse& operator=(GetVersionResponse&& from) noexcept { |
4867 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4868 | if (this != &from) InternalSwap(&from); |
4869 | } else { |
4870 | CopyFrom(from); |
4871 | } |
4872 | return *this; |
4873 | } |
4874 | |
4875 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4876 | return GetDescriptor(); |
4877 | } |
4878 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4879 | return GetMetadataStatic().descriptor; |
4880 | } |
4881 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4882 | return GetMetadataStatic().reflection; |
4883 | } |
4884 | static const GetVersionResponse& default_instance(); |
4885 | |
4886 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4887 | static inline const GetVersionResponse* internal_default_instance() { |
4888 | return reinterpret_cast<const GetVersionResponse*>( |
4889 | &_GetVersionResponse_default_instance_); |
4890 | } |
4891 | static constexpr int kIndexInFileMessages = |
4892 | 25; |
4893 | |
4894 | friend void swap(GetVersionResponse& a, GetVersionResponse& b) { |
4895 | a.Swap(&b); |
4896 | } |
4897 | inline void Swap(GetVersionResponse* other) { |
4898 | if (other == this) return; |
4899 | InternalSwap(other); |
4900 | } |
4901 | |
4902 | // implements Message ---------------------------------------------- |
4903 | |
4904 | inline GetVersionResponse* New() const final { |
4905 | return CreateMaybeMessage<GetVersionResponse>(nullptr); |
4906 | } |
4907 | |
4908 | GetVersionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
4909 | return CreateMaybeMessage<GetVersionResponse>(arena); |
4910 | } |
4911 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4912 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
4913 | void CopyFrom(const GetVersionResponse& from); |
4914 | void MergeFrom(const GetVersionResponse& from); |
4915 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4916 | bool IsInitialized() const final; |
4917 | |
4918 | size_t ByteSizeLong() const final; |
4919 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4920 | ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
4921 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4922 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4923 | |
4924 | private: |
4925 | inline void SharedCtor(); |
4926 | inline void SharedDtor(); |
4927 | void SetCachedSize(int size) const final; |
4928 | void InternalSwap(GetVersionResponse* other); |
4929 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4930 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4931 | return "proxima.be.proto.GetVersionResponse" ; |
4932 | } |
4933 | private: |
4934 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
4935 | return nullptr; |
4936 | } |
4937 | inline void* MaybeArenaPtr() const { |
4938 | return nullptr; |
4939 | } |
4940 | public: |
4941 | |
4942 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4943 | private: |
4944 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
4945 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_proto_2fproxima_5fbe_2eproto); |
4946 | return ::descriptor_table_proto_2fproxima_5fbe_2eproto.file_level_metadata[kIndexInFileMessages]; |
4947 | } |
4948 | |
4949 | public: |
4950 | |
4951 | // nested types ---------------------------------------------------- |
4952 | |
4953 | // accessors ------------------------------------------------------- |
4954 | |
4955 | enum : int { |
4956 | kVersionFieldNumber = 2, |
4957 | kStatusFieldNumber = 1, |
4958 | }; |
4959 | // string version = 2; |
4960 | void clear_version(); |
4961 | const std::string& version() const; |
4962 | void set_version(const std::string& value); |
4963 | void set_version(std::string&& value); |
4964 | void set_version(const char* value); |
4965 | void set_version(const char* value, size_t size); |
4966 | std::string* mutable_version(); |
4967 | std::string* release_version(); |
4968 | void set_allocated_version(std::string* version); |
4969 | private: |
4970 | const std::string& _internal_version() const; |
4971 | void _internal_set_version(const std::string& value); |
4972 | std::string* _internal_mutable_version(); |
4973 | public: |
4974 | |
4975 | // .proxima.be.proto.Status status = 1; |
4976 | bool has_status() const; |
4977 | private: |
4978 | bool _internal_has_status() const; |
4979 | public: |
4980 | void clear_status(); |
4981 | const ::proxima::be::proto::Status& status() const; |
4982 | ::proxima::be::proto::Status* release_status(); |
4983 | ::proxima::be::proto::Status* mutable_status(); |
4984 | void set_allocated_status(::proxima::be::proto::Status* status); |
4985 | private: |
4986 | const ::proxima::be::proto::Status& _internal_status() const; |
4987 | ::proxima::be::proto::Status* _internal_mutable_status(); |
4988 | public: |
4989 | |
4990 | // @@protoc_insertion_point(class_scope:proxima.be.proto.GetVersionResponse) |
4991 | private: |
4992 | class _Internal; |
4993 | |
4994 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
4995 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_; |
4996 | ::proxima::be::proto::Status* status_; |
4997 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4998 | friend struct ::TableStruct_proto_2fproxima_5fbe_2eproto; |
4999 | }; |
5000 | // =================================================================== |
5001 | |
5002 | class ProximaService_Stub; |
5003 | |
5004 | class ProximaService : public ::PROTOBUF_NAMESPACE_ID::Service { |
5005 | protected: |
5006 | // This class should be treated as an abstract interface. |
5007 | inline ProximaService() {}; |
5008 | public: |
5009 | virtual ~ProximaService(); |
5010 | |
5011 | typedef ProximaService_Stub Stub; |
5012 | |
5013 | static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); |
5014 | |
5015 | virtual void create_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5016 | const ::proxima::be::proto::CollectionConfig* request, |
5017 | ::proxima::be::proto::Status* response, |
5018 | ::google::protobuf::Closure* done); |
5019 | virtual void drop_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5020 | const ::proxima::be::proto::CollectionName* request, |
5021 | ::proxima::be::proto::Status* response, |
5022 | ::google::protobuf::Closure* done); |
5023 | virtual void describe_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5024 | const ::proxima::be::proto::CollectionName* request, |
5025 | ::proxima::be::proto::DescribeCollectionResponse* response, |
5026 | ::google::protobuf::Closure* done); |
5027 | virtual void list_collections(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5028 | const ::proxima::be::proto::ListCondition* request, |
5029 | ::proxima::be::proto::ListCollectionsResponse* response, |
5030 | ::google::protobuf::Closure* done); |
5031 | virtual void stats_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5032 | const ::proxima::be::proto::CollectionName* request, |
5033 | ::proxima::be::proto::StatsCollectionResponse* response, |
5034 | ::google::protobuf::Closure* done); |
5035 | virtual void write(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5036 | const ::proxima::be::proto::WriteRequest* request, |
5037 | ::proxima::be::proto::Status* response, |
5038 | ::google::protobuf::Closure* done); |
5039 | virtual void query(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5040 | const ::proxima::be::proto::QueryRequest* request, |
5041 | ::proxima::be::proto::QueryResponse* response, |
5042 | ::google::protobuf::Closure* done); |
5043 | virtual void get_document_by_key(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5044 | const ::proxima::be::proto::GetDocumentRequest* request, |
5045 | ::proxima::be::proto::GetDocumentResponse* response, |
5046 | ::google::protobuf::Closure* done); |
5047 | virtual void get_version(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5048 | const ::proxima::be::proto::GetVersionRequest* request, |
5049 | ::proxima::be::proto::GetVersionResponse* response, |
5050 | ::google::protobuf::Closure* done); |
5051 | |
5052 | // implements Service ---------------------------------------------- |
5053 | |
5054 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); |
5055 | void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
5056 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5057 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
5058 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
5059 | ::google::protobuf::Closure* done); |
5060 | const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( |
5061 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; |
5062 | const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( |
5063 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; |
5064 | |
5065 | private: |
5066 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ProximaService); |
5067 | }; |
5068 | |
5069 | class ProximaService_Stub : public ProximaService { |
5070 | public: |
5071 | ProximaService_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); |
5072 | ProximaService_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
5073 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); |
5074 | ~ProximaService_Stub(); |
5075 | |
5076 | inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } |
5077 | |
5078 | // implements ProximaService ------------------------------------------ |
5079 | |
5080 | void create_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5081 | const ::proxima::be::proto::CollectionConfig* request, |
5082 | ::proxima::be::proto::Status* response, |
5083 | ::google::protobuf::Closure* done); |
5084 | void drop_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5085 | const ::proxima::be::proto::CollectionName* request, |
5086 | ::proxima::be::proto::Status* response, |
5087 | ::google::protobuf::Closure* done); |
5088 | void describe_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5089 | const ::proxima::be::proto::CollectionName* request, |
5090 | ::proxima::be::proto::DescribeCollectionResponse* response, |
5091 | ::google::protobuf::Closure* done); |
5092 | void list_collections(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5093 | const ::proxima::be::proto::ListCondition* request, |
5094 | ::proxima::be::proto::ListCollectionsResponse* response, |
5095 | ::google::protobuf::Closure* done); |
5096 | void stats_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5097 | const ::proxima::be::proto::CollectionName* request, |
5098 | ::proxima::be::proto::StatsCollectionResponse* response, |
5099 | ::google::protobuf::Closure* done); |
5100 | void write(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5101 | const ::proxima::be::proto::WriteRequest* request, |
5102 | ::proxima::be::proto::Status* response, |
5103 | ::google::protobuf::Closure* done); |
5104 | void query(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5105 | const ::proxima::be::proto::QueryRequest* request, |
5106 | ::proxima::be::proto::QueryResponse* response, |
5107 | ::google::protobuf::Closure* done); |
5108 | void get_document_by_key(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5109 | const ::proxima::be::proto::GetDocumentRequest* request, |
5110 | ::proxima::be::proto::GetDocumentResponse* response, |
5111 | ::google::protobuf::Closure* done); |
5112 | void get_version(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5113 | const ::proxima::be::proto::GetVersionRequest* request, |
5114 | ::proxima::be::proto::GetVersionResponse* response, |
5115 | ::google::protobuf::Closure* done); |
5116 | private: |
5117 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; |
5118 | bool owns_channel_; |
5119 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ProximaService_Stub); |
5120 | }; |
5121 | |
5122 | |
5123 | // ------------------------------------------------------------------- |
5124 | |
5125 | class HttpProximaService_Stub; |
5126 | |
5127 | class HttpProximaService : public ::PROTOBUF_NAMESPACE_ID::Service { |
5128 | protected: |
5129 | // This class should be treated as an abstract interface. |
5130 | inline HttpProximaService() {}; |
5131 | public: |
5132 | virtual ~HttpProximaService(); |
5133 | |
5134 | typedef HttpProximaService_Stub Stub; |
5135 | |
5136 | static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); |
5137 | |
5138 | virtual void collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5139 | const ::proxima::be::proto::HttpRequest* request, |
5140 | ::proxima::be::proto::HttpResponse* response, |
5141 | ::google::protobuf::Closure* done); |
5142 | virtual void stats_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5143 | const ::proxima::be::proto::HttpRequest* request, |
5144 | ::proxima::be::proto::HttpResponse* response, |
5145 | ::google::protobuf::Closure* done); |
5146 | virtual void write(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5147 | const ::proxima::be::proto::HttpRequest* request, |
5148 | ::proxima::be::proto::HttpResponse* response, |
5149 | ::google::protobuf::Closure* done); |
5150 | virtual void query(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5151 | const ::proxima::be::proto::HttpRequest* request, |
5152 | ::proxima::be::proto::HttpResponse* response, |
5153 | ::google::protobuf::Closure* done); |
5154 | virtual void get_document_by_key(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5155 | const ::proxima::be::proto::HttpRequest* request, |
5156 | ::proxima::be::proto::HttpResponse* response, |
5157 | ::google::protobuf::Closure* done); |
5158 | virtual void list_collections(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5159 | const ::proxima::be::proto::HttpRequest* request, |
5160 | ::proxima::be::proto::HttpResponse* response, |
5161 | ::google::protobuf::Closure* done); |
5162 | virtual void get_version(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5163 | const ::proxima::be::proto::HttpRequest* request, |
5164 | ::proxima::be::proto::HttpResponse* response, |
5165 | ::google::protobuf::Closure* done); |
5166 | |
5167 | // implements Service ---------------------------------------------- |
5168 | |
5169 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); |
5170 | void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
5171 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5172 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
5173 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
5174 | ::google::protobuf::Closure* done); |
5175 | const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( |
5176 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; |
5177 | const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( |
5178 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; |
5179 | |
5180 | private: |
5181 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HttpProximaService); |
5182 | }; |
5183 | |
5184 | class HttpProximaService_Stub : public HttpProximaService { |
5185 | public: |
5186 | HttpProximaService_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); |
5187 | HttpProximaService_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
5188 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); |
5189 | ~HttpProximaService_Stub(); |
5190 | |
5191 | inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } |
5192 | |
5193 | // implements HttpProximaService ------------------------------------------ |
5194 | |
5195 | void collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5196 | const ::proxima::be::proto::HttpRequest* request, |
5197 | ::proxima::be::proto::HttpResponse* response, |
5198 | ::google::protobuf::Closure* done); |
5199 | void stats_collection(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5200 | const ::proxima::be::proto::HttpRequest* request, |
5201 | ::proxima::be::proto::HttpResponse* response, |
5202 | ::google::protobuf::Closure* done); |
5203 | void write(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5204 | const ::proxima::be::proto::HttpRequest* request, |
5205 | ::proxima::be::proto::HttpResponse* response, |
5206 | ::google::protobuf::Closure* done); |
5207 | void query(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5208 | const ::proxima::be::proto::HttpRequest* request, |
5209 | ::proxima::be::proto::HttpResponse* response, |
5210 | ::google::protobuf::Closure* done); |
5211 | void get_document_by_key(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5212 | const ::proxima::be::proto::HttpRequest* request, |
5213 | ::proxima::be::proto::HttpResponse* response, |
5214 | ::google::protobuf::Closure* done); |
5215 | void list_collections(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5216 | const ::proxima::be::proto::HttpRequest* request, |
5217 | ::proxima::be::proto::HttpResponse* response, |
5218 | ::google::protobuf::Closure* done); |
5219 | void get_version(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
5220 | const ::proxima::be::proto::HttpRequest* request, |
5221 | ::proxima::be::proto::HttpResponse* response, |
5222 | ::google::protobuf::Closure* done); |
5223 | private: |
5224 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; |
5225 | bool owns_channel_; |
5226 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HttpProximaService_Stub); |
5227 | }; |
5228 | |
5229 | |
5230 | // =================================================================== |
5231 | |
5232 | |
5233 | // =================================================================== |
5234 | |
5235 | #ifdef __GNUC__ |
5236 | #pragma GCC diagnostic push |
5237 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
5238 | #endif // __GNUC__ |
5239 | // CollectionConfig_IndexColumnParam |
5240 | |
5241 | // string column_name = 1; |
5242 | inline void CollectionConfig_IndexColumnParam::clear_column_name() { |
5243 | column_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5244 | } |
5245 | inline const std::string& CollectionConfig_IndexColumnParam::column_name() const { |
5246 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5247 | return _internal_column_name(); |
5248 | } |
5249 | inline void CollectionConfig_IndexColumnParam::set_column_name(const std::string& value) { |
5250 | _internal_set_column_name(value); |
5251 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5252 | } |
5253 | inline std::string* CollectionConfig_IndexColumnParam::mutable_column_name() { |
5254 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5255 | return _internal_mutable_column_name(); |
5256 | } |
5257 | inline const std::string& CollectionConfig_IndexColumnParam::_internal_column_name() const { |
5258 | return column_name_.GetNoArena(); |
5259 | } |
5260 | inline void CollectionConfig_IndexColumnParam::_internal_set_column_name(const std::string& value) { |
5261 | |
5262 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5263 | } |
5264 | inline void CollectionConfig_IndexColumnParam::set_column_name(std::string&& value) { |
5265 | |
5266 | column_name_.SetNoArena( |
5267 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5268 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5269 | } |
5270 | inline void CollectionConfig_IndexColumnParam::set_column_name(const char* value) { |
5271 | GOOGLE_DCHECK(value != nullptr); |
5272 | |
5273 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5274 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5275 | } |
5276 | inline void CollectionConfig_IndexColumnParam::set_column_name(const char* value, size_t size) { |
5277 | |
5278 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5279 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5280 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5281 | } |
5282 | inline std::string* CollectionConfig_IndexColumnParam::_internal_mutable_column_name() { |
5283 | |
5284 | return column_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5285 | } |
5286 | inline std::string* CollectionConfig_IndexColumnParam::release_column_name() { |
5287 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5288 | |
5289 | return column_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5290 | } |
5291 | inline void CollectionConfig_IndexColumnParam::set_allocated_column_name(std::string* column_name) { |
5292 | if (column_name != nullptr) { |
5293 | |
5294 | } else { |
5295 | |
5296 | } |
5297 | column_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), column_name); |
5298 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.IndexColumnParam.column_name) |
5299 | } |
5300 | |
5301 | // .proxima.be.proto.IndexType index_type = 2; |
5302 | inline void CollectionConfig_IndexColumnParam::clear_index_type() { |
5303 | index_type_ = 0; |
5304 | } |
5305 | inline ::proxima::be::proto::IndexType CollectionConfig_IndexColumnParam::_internal_index_type() const { |
5306 | return static_cast< ::proxima::be::proto::IndexType >(index_type_); |
5307 | } |
5308 | inline ::proxima::be::proto::IndexType CollectionConfig_IndexColumnParam::index_type() const { |
5309 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.IndexColumnParam.index_type) |
5310 | return _internal_index_type(); |
5311 | } |
5312 | inline void CollectionConfig_IndexColumnParam::_internal_set_index_type(::proxima::be::proto::IndexType value) { |
5313 | |
5314 | index_type_ = value; |
5315 | } |
5316 | inline void CollectionConfig_IndexColumnParam::set_index_type(::proxima::be::proto::IndexType value) { |
5317 | _internal_set_index_type(value); |
5318 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.IndexColumnParam.index_type) |
5319 | } |
5320 | |
5321 | // .proxima.be.proto.DataType data_type = 3; |
5322 | inline void CollectionConfig_IndexColumnParam::clear_data_type() { |
5323 | data_type_ = 0; |
5324 | } |
5325 | inline ::proxima::be::proto::DataType CollectionConfig_IndexColumnParam::_internal_data_type() const { |
5326 | return static_cast< ::proxima::be::proto::DataType >(data_type_); |
5327 | } |
5328 | inline ::proxima::be::proto::DataType CollectionConfig_IndexColumnParam::data_type() const { |
5329 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.IndexColumnParam.data_type) |
5330 | return _internal_data_type(); |
5331 | } |
5332 | inline void CollectionConfig_IndexColumnParam::_internal_set_data_type(::proxima::be::proto::DataType value) { |
5333 | |
5334 | data_type_ = value; |
5335 | } |
5336 | inline void CollectionConfig_IndexColumnParam::set_data_type(::proxima::be::proto::DataType value) { |
5337 | _internal_set_data_type(value); |
5338 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.IndexColumnParam.data_type) |
5339 | } |
5340 | |
5341 | // uint32 dimension = 4; |
5342 | inline void CollectionConfig_IndexColumnParam::clear_dimension() { |
5343 | dimension_ = 0u; |
5344 | } |
5345 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CollectionConfig_IndexColumnParam::_internal_dimension() const { |
5346 | return dimension_; |
5347 | } |
5348 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CollectionConfig_IndexColumnParam::dimension() const { |
5349 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.IndexColumnParam.dimension) |
5350 | return _internal_dimension(); |
5351 | } |
5352 | inline void CollectionConfig_IndexColumnParam::_internal_set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
5353 | |
5354 | dimension_ = value; |
5355 | } |
5356 | inline void CollectionConfig_IndexColumnParam::set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
5357 | _internal_set_dimension(value); |
5358 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.IndexColumnParam.dimension) |
5359 | } |
5360 | |
5361 | // repeated .proxima.be.proto.KeyValuePair extra_params = 5; |
5362 | inline int CollectionConfig_IndexColumnParam::_internal_extra_params_size() const { |
5363 | return extra_params_.size(); |
5364 | } |
5365 | inline int CollectionConfig_IndexColumnParam::extra_params_size() const { |
5366 | return _internal_extra_params_size(); |
5367 | } |
5368 | inline ::proxima::be::proto::KeyValuePair* CollectionConfig_IndexColumnParam::mutable_extra_params(int index) { |
5369 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.IndexColumnParam.extra_params) |
5370 | return extra_params_.Mutable(index); |
5371 | } |
5372 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >* |
5373 | CollectionConfig_IndexColumnParam::mutable_extra_params() { |
5374 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.CollectionConfig.IndexColumnParam.extra_params) |
5375 | return &extra_params_; |
5376 | } |
5377 | inline const ::proxima::be::proto::KeyValuePair& CollectionConfig_IndexColumnParam::_internal_extra_params(int index) const { |
5378 | return extra_params_.Get(index); |
5379 | } |
5380 | inline const ::proxima::be::proto::KeyValuePair& CollectionConfig_IndexColumnParam::extra_params(int index) const { |
5381 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.IndexColumnParam.extra_params) |
5382 | return _internal_extra_params(index); |
5383 | } |
5384 | inline ::proxima::be::proto::KeyValuePair* CollectionConfig_IndexColumnParam::_internal_add_extra_params() { |
5385 | return extra_params_.Add(); |
5386 | } |
5387 | inline ::proxima::be::proto::KeyValuePair* CollectionConfig_IndexColumnParam::add_extra_params() { |
5388 | // @@protoc_insertion_point(field_add:proxima.be.proto.CollectionConfig.IndexColumnParam.extra_params) |
5389 | return _internal_add_extra_params(); |
5390 | } |
5391 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >& |
5392 | CollectionConfig_IndexColumnParam::extra_params() const { |
5393 | // @@protoc_insertion_point(field_list:proxima.be.proto.CollectionConfig.IndexColumnParam.extra_params) |
5394 | return extra_params_; |
5395 | } |
5396 | |
5397 | // ------------------------------------------------------------------- |
5398 | |
5399 | // CollectionConfig_RepositoryConfig_Database |
5400 | |
5401 | // string connection_uri = 1; |
5402 | inline void CollectionConfig_RepositoryConfig_Database::clear_connection_uri() { |
5403 | connection_uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5404 | } |
5405 | inline const std::string& CollectionConfig_RepositoryConfig_Database::connection_uri() const { |
5406 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5407 | return _internal_connection_uri(); |
5408 | } |
5409 | inline void CollectionConfig_RepositoryConfig_Database::set_connection_uri(const std::string& value) { |
5410 | _internal_set_connection_uri(value); |
5411 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5412 | } |
5413 | inline std::string* CollectionConfig_RepositoryConfig_Database::mutable_connection_uri() { |
5414 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5415 | return _internal_mutable_connection_uri(); |
5416 | } |
5417 | inline const std::string& CollectionConfig_RepositoryConfig_Database::_internal_connection_uri() const { |
5418 | return connection_uri_.GetNoArena(); |
5419 | } |
5420 | inline void CollectionConfig_RepositoryConfig_Database::_internal_set_connection_uri(const std::string& value) { |
5421 | |
5422 | connection_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5423 | } |
5424 | inline void CollectionConfig_RepositoryConfig_Database::set_connection_uri(std::string&& value) { |
5425 | |
5426 | connection_uri_.SetNoArena( |
5427 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5428 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5429 | } |
5430 | inline void CollectionConfig_RepositoryConfig_Database::set_connection_uri(const char* value) { |
5431 | GOOGLE_DCHECK(value != nullptr); |
5432 | |
5433 | connection_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5434 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5435 | } |
5436 | inline void CollectionConfig_RepositoryConfig_Database::set_connection_uri(const char* value, size_t size) { |
5437 | |
5438 | connection_uri_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5439 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5440 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5441 | } |
5442 | inline std::string* CollectionConfig_RepositoryConfig_Database::_internal_mutable_connection_uri() { |
5443 | |
5444 | return connection_uri_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5445 | } |
5446 | inline std::string* CollectionConfig_RepositoryConfig_Database::release_connection_uri() { |
5447 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5448 | |
5449 | return connection_uri_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5450 | } |
5451 | inline void CollectionConfig_RepositoryConfig_Database::set_allocated_connection_uri(std::string* connection_uri) { |
5452 | if (connection_uri != nullptr) { |
5453 | |
5454 | } else { |
5455 | |
5456 | } |
5457 | connection_uri_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), connection_uri); |
5458 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.connection_uri) |
5459 | } |
5460 | |
5461 | // string table_name = 2; |
5462 | inline void CollectionConfig_RepositoryConfig_Database::clear_table_name() { |
5463 | table_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5464 | } |
5465 | inline const std::string& CollectionConfig_RepositoryConfig_Database::table_name() const { |
5466 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5467 | return _internal_table_name(); |
5468 | } |
5469 | inline void CollectionConfig_RepositoryConfig_Database::set_table_name(const std::string& value) { |
5470 | _internal_set_table_name(value); |
5471 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5472 | } |
5473 | inline std::string* CollectionConfig_RepositoryConfig_Database::mutable_table_name() { |
5474 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5475 | return _internal_mutable_table_name(); |
5476 | } |
5477 | inline const std::string& CollectionConfig_RepositoryConfig_Database::_internal_table_name() const { |
5478 | return table_name_.GetNoArena(); |
5479 | } |
5480 | inline void CollectionConfig_RepositoryConfig_Database::_internal_set_table_name(const std::string& value) { |
5481 | |
5482 | table_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5483 | } |
5484 | inline void CollectionConfig_RepositoryConfig_Database::set_table_name(std::string&& value) { |
5485 | |
5486 | table_name_.SetNoArena( |
5487 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5488 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5489 | } |
5490 | inline void CollectionConfig_RepositoryConfig_Database::set_table_name(const char* value) { |
5491 | GOOGLE_DCHECK(value != nullptr); |
5492 | |
5493 | table_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5494 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5495 | } |
5496 | inline void CollectionConfig_RepositoryConfig_Database::set_table_name(const char* value, size_t size) { |
5497 | |
5498 | table_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5499 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5500 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5501 | } |
5502 | inline std::string* CollectionConfig_RepositoryConfig_Database::_internal_mutable_table_name() { |
5503 | |
5504 | return table_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5505 | } |
5506 | inline std::string* CollectionConfig_RepositoryConfig_Database::release_table_name() { |
5507 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5508 | |
5509 | return table_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5510 | } |
5511 | inline void CollectionConfig_RepositoryConfig_Database::set_allocated_table_name(std::string* table_name) { |
5512 | if (table_name != nullptr) { |
5513 | |
5514 | } else { |
5515 | |
5516 | } |
5517 | table_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), table_name); |
5518 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.table_name) |
5519 | } |
5520 | |
5521 | // string user = 3; |
5522 | inline void CollectionConfig_RepositoryConfig_Database::clear_user() { |
5523 | user_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5524 | } |
5525 | inline const std::string& CollectionConfig_RepositoryConfig_Database::user() const { |
5526 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5527 | return _internal_user(); |
5528 | } |
5529 | inline void CollectionConfig_RepositoryConfig_Database::set_user(const std::string& value) { |
5530 | _internal_set_user(value); |
5531 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5532 | } |
5533 | inline std::string* CollectionConfig_RepositoryConfig_Database::mutable_user() { |
5534 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5535 | return _internal_mutable_user(); |
5536 | } |
5537 | inline const std::string& CollectionConfig_RepositoryConfig_Database::_internal_user() const { |
5538 | return user_.GetNoArena(); |
5539 | } |
5540 | inline void CollectionConfig_RepositoryConfig_Database::_internal_set_user(const std::string& value) { |
5541 | |
5542 | user_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5543 | } |
5544 | inline void CollectionConfig_RepositoryConfig_Database::set_user(std::string&& value) { |
5545 | |
5546 | user_.SetNoArena( |
5547 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5548 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5549 | } |
5550 | inline void CollectionConfig_RepositoryConfig_Database::set_user(const char* value) { |
5551 | GOOGLE_DCHECK(value != nullptr); |
5552 | |
5553 | user_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5554 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5555 | } |
5556 | inline void CollectionConfig_RepositoryConfig_Database::set_user(const char* value, size_t size) { |
5557 | |
5558 | user_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5559 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5560 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5561 | } |
5562 | inline std::string* CollectionConfig_RepositoryConfig_Database::_internal_mutable_user() { |
5563 | |
5564 | return user_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5565 | } |
5566 | inline std::string* CollectionConfig_RepositoryConfig_Database::release_user() { |
5567 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5568 | |
5569 | return user_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5570 | } |
5571 | inline void CollectionConfig_RepositoryConfig_Database::set_allocated_user(std::string* user) { |
5572 | if (user != nullptr) { |
5573 | |
5574 | } else { |
5575 | |
5576 | } |
5577 | user_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), user); |
5578 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.user) |
5579 | } |
5580 | |
5581 | // string password = 4; |
5582 | inline void CollectionConfig_RepositoryConfig_Database::clear_password() { |
5583 | password_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5584 | } |
5585 | inline const std::string& CollectionConfig_RepositoryConfig_Database::password() const { |
5586 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5587 | return _internal_password(); |
5588 | } |
5589 | inline void CollectionConfig_RepositoryConfig_Database::set_password(const std::string& value) { |
5590 | _internal_set_password(value); |
5591 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5592 | } |
5593 | inline std::string* CollectionConfig_RepositoryConfig_Database::mutable_password() { |
5594 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5595 | return _internal_mutable_password(); |
5596 | } |
5597 | inline const std::string& CollectionConfig_RepositoryConfig_Database::_internal_password() const { |
5598 | return password_.GetNoArena(); |
5599 | } |
5600 | inline void CollectionConfig_RepositoryConfig_Database::_internal_set_password(const std::string& value) { |
5601 | |
5602 | password_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5603 | } |
5604 | inline void CollectionConfig_RepositoryConfig_Database::set_password(std::string&& value) { |
5605 | |
5606 | password_.SetNoArena( |
5607 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5608 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5609 | } |
5610 | inline void CollectionConfig_RepositoryConfig_Database::set_password(const char* value) { |
5611 | GOOGLE_DCHECK(value != nullptr); |
5612 | |
5613 | password_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5614 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5615 | } |
5616 | inline void CollectionConfig_RepositoryConfig_Database::set_password(const char* value, size_t size) { |
5617 | |
5618 | password_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5619 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5620 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5621 | } |
5622 | inline std::string* CollectionConfig_RepositoryConfig_Database::_internal_mutable_password() { |
5623 | |
5624 | return password_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5625 | } |
5626 | inline std::string* CollectionConfig_RepositoryConfig_Database::release_password() { |
5627 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5628 | |
5629 | return password_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5630 | } |
5631 | inline void CollectionConfig_RepositoryConfig_Database::set_allocated_password(std::string* password) { |
5632 | if (password != nullptr) { |
5633 | |
5634 | } else { |
5635 | |
5636 | } |
5637 | password_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password); |
5638 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.RepositoryConfig.Database.password) |
5639 | } |
5640 | |
5641 | // ------------------------------------------------------------------- |
5642 | |
5643 | // CollectionConfig_RepositoryConfig |
5644 | |
5645 | // .proxima.be.proto.CollectionConfig.RepositoryConfig.RepositoryType repository_type = 1; |
5646 | inline void CollectionConfig_RepositoryConfig::clear_repository_type() { |
5647 | repository_type_ = 0; |
5648 | } |
5649 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType CollectionConfig_RepositoryConfig::_internal_repository_type() const { |
5650 | return static_cast< ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType >(repository_type_); |
5651 | } |
5652 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType CollectionConfig_RepositoryConfig::repository_type() const { |
5653 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_type) |
5654 | return _internal_repository_type(); |
5655 | } |
5656 | inline void CollectionConfig_RepositoryConfig::_internal_set_repository_type(::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType value) { |
5657 | |
5658 | repository_type_ = value; |
5659 | } |
5660 | inline void CollectionConfig_RepositoryConfig::set_repository_type(::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType value) { |
5661 | _internal_set_repository_type(value); |
5662 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_type) |
5663 | } |
5664 | |
5665 | // string repository_name = 2; |
5666 | inline void CollectionConfig_RepositoryConfig::clear_repository_name() { |
5667 | repository_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5668 | } |
5669 | inline const std::string& CollectionConfig_RepositoryConfig::repository_name() const { |
5670 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5671 | return _internal_repository_name(); |
5672 | } |
5673 | inline void CollectionConfig_RepositoryConfig::set_repository_name(const std::string& value) { |
5674 | _internal_set_repository_name(value); |
5675 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5676 | } |
5677 | inline std::string* CollectionConfig_RepositoryConfig::mutable_repository_name() { |
5678 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5679 | return _internal_mutable_repository_name(); |
5680 | } |
5681 | inline const std::string& CollectionConfig_RepositoryConfig::_internal_repository_name() const { |
5682 | return repository_name_.GetNoArena(); |
5683 | } |
5684 | inline void CollectionConfig_RepositoryConfig::_internal_set_repository_name(const std::string& value) { |
5685 | |
5686 | repository_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5687 | } |
5688 | inline void CollectionConfig_RepositoryConfig::set_repository_name(std::string&& value) { |
5689 | |
5690 | repository_name_.SetNoArena( |
5691 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5692 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5693 | } |
5694 | inline void CollectionConfig_RepositoryConfig::set_repository_name(const char* value) { |
5695 | GOOGLE_DCHECK(value != nullptr); |
5696 | |
5697 | repository_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5698 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5699 | } |
5700 | inline void CollectionConfig_RepositoryConfig::set_repository_name(const char* value, size_t size) { |
5701 | |
5702 | repository_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5703 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5704 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5705 | } |
5706 | inline std::string* CollectionConfig_RepositoryConfig::_internal_mutable_repository_name() { |
5707 | |
5708 | return repository_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5709 | } |
5710 | inline std::string* CollectionConfig_RepositoryConfig::release_repository_name() { |
5711 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5712 | |
5713 | return repository_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5714 | } |
5715 | inline void CollectionConfig_RepositoryConfig::set_allocated_repository_name(std::string* repository_name) { |
5716 | if (repository_name != nullptr) { |
5717 | |
5718 | } else { |
5719 | |
5720 | } |
5721 | repository_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), repository_name); |
5722 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.RepositoryConfig.repository_name) |
5723 | } |
5724 | |
5725 | // .proxima.be.proto.CollectionConfig.RepositoryConfig.Database database = 3; |
5726 | inline bool CollectionConfig_RepositoryConfig::_internal_has_database() const { |
5727 | return entity_case() == kDatabase; |
5728 | } |
5729 | inline bool CollectionConfig_RepositoryConfig::has_database() const { |
5730 | return _internal_has_database(); |
5731 | } |
5732 | inline void CollectionConfig_RepositoryConfig::set_has_database() { |
5733 | _oneof_case_[0] = kDatabase; |
5734 | } |
5735 | inline void CollectionConfig_RepositoryConfig::clear_database() { |
5736 | if (_internal_has_database()) { |
5737 | delete entity_.database_; |
5738 | clear_has_entity(); |
5739 | } |
5740 | } |
5741 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* CollectionConfig_RepositoryConfig::release_database() { |
5742 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.RepositoryConfig.database) |
5743 | if (_internal_has_database()) { |
5744 | clear_has_entity(); |
5745 | ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* temp = entity_.database_; |
5746 | entity_.database_ = nullptr; |
5747 | return temp; |
5748 | } else { |
5749 | return nullptr; |
5750 | } |
5751 | } |
5752 | inline const ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database& CollectionConfig_RepositoryConfig::_internal_database() const { |
5753 | return _internal_has_database() |
5754 | ? *entity_.database_ |
5755 | : *reinterpret_cast< ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database*>(&::proxima::be::proto::_CollectionConfig_RepositoryConfig_Database_default_instance_); |
5756 | } |
5757 | inline const ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database& CollectionConfig_RepositoryConfig::database() const { |
5758 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.RepositoryConfig.database) |
5759 | return _internal_database(); |
5760 | } |
5761 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* CollectionConfig_RepositoryConfig::_internal_mutable_database() { |
5762 | if (!_internal_has_database()) { |
5763 | clear_entity(); |
5764 | set_has_database(); |
5765 | entity_.database_ = CreateMaybeMessage< ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database >( |
5766 | GetArenaNoVirtual()); |
5767 | } |
5768 | return entity_.database_; |
5769 | } |
5770 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig_Database* CollectionConfig_RepositoryConfig::mutable_database() { |
5771 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.RepositoryConfig.database) |
5772 | return _internal_mutable_database(); |
5773 | } |
5774 | |
5775 | inline bool CollectionConfig_RepositoryConfig::has_entity() const { |
5776 | return entity_case() != ENTITY_NOT_SET; |
5777 | } |
5778 | inline void CollectionConfig_RepositoryConfig::clear_has_entity() { |
5779 | _oneof_case_[0] = ENTITY_NOT_SET; |
5780 | } |
5781 | inline CollectionConfig_RepositoryConfig::EntityCase CollectionConfig_RepositoryConfig::entity_case() const { |
5782 | return CollectionConfig_RepositoryConfig::EntityCase(_oneof_case_[0]); |
5783 | } |
5784 | // ------------------------------------------------------------------- |
5785 | |
5786 | // CollectionConfig |
5787 | |
5788 | // string collection_name = 1; |
5789 | inline void CollectionConfig::clear_collection_name() { |
5790 | collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5791 | } |
5792 | inline const std::string& CollectionConfig::collection_name() const { |
5793 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.collection_name) |
5794 | return _internal_collection_name(); |
5795 | } |
5796 | inline void CollectionConfig::set_collection_name(const std::string& value) { |
5797 | _internal_set_collection_name(value); |
5798 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.collection_name) |
5799 | } |
5800 | inline std::string* CollectionConfig::mutable_collection_name() { |
5801 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.collection_name) |
5802 | return _internal_mutable_collection_name(); |
5803 | } |
5804 | inline const std::string& CollectionConfig::_internal_collection_name() const { |
5805 | return collection_name_.GetNoArena(); |
5806 | } |
5807 | inline void CollectionConfig::_internal_set_collection_name(const std::string& value) { |
5808 | |
5809 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
5810 | } |
5811 | inline void CollectionConfig::set_collection_name(std::string&& value) { |
5812 | |
5813 | collection_name_.SetNoArena( |
5814 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5815 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionConfig.collection_name) |
5816 | } |
5817 | inline void CollectionConfig::set_collection_name(const char* value) { |
5818 | GOOGLE_DCHECK(value != nullptr); |
5819 | |
5820 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5821 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.collection_name) |
5822 | } |
5823 | inline void CollectionConfig::set_collection_name(const char* value, size_t size) { |
5824 | |
5825 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
5826 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5827 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.collection_name) |
5828 | } |
5829 | inline std::string* CollectionConfig::_internal_mutable_collection_name() { |
5830 | |
5831 | return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5832 | } |
5833 | inline std::string* CollectionConfig::release_collection_name() { |
5834 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.collection_name) |
5835 | |
5836 | return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
5837 | } |
5838 | inline void CollectionConfig::set_allocated_collection_name(std::string* collection_name) { |
5839 | if (collection_name != nullptr) { |
5840 | |
5841 | } else { |
5842 | |
5843 | } |
5844 | collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); |
5845 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.collection_name) |
5846 | } |
5847 | |
5848 | // uint64 max_docs_per_segment = 2; |
5849 | inline void CollectionConfig::clear_max_docs_per_segment() { |
5850 | max_docs_per_segment_ = PROTOBUF_ULONGLONG(0); |
5851 | } |
5852 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionConfig::_internal_max_docs_per_segment() const { |
5853 | return max_docs_per_segment_; |
5854 | } |
5855 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionConfig::max_docs_per_segment() const { |
5856 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.max_docs_per_segment) |
5857 | return _internal_max_docs_per_segment(); |
5858 | } |
5859 | inline void CollectionConfig::_internal_set_max_docs_per_segment(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
5860 | |
5861 | max_docs_per_segment_ = value; |
5862 | } |
5863 | inline void CollectionConfig::set_max_docs_per_segment(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
5864 | _internal_set_max_docs_per_segment(value); |
5865 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.max_docs_per_segment) |
5866 | } |
5867 | |
5868 | // repeated string forward_column_names = 3; |
5869 | inline int CollectionConfig::_internal_forward_column_names_size() const { |
5870 | return forward_column_names_.size(); |
5871 | } |
5872 | inline int CollectionConfig::forward_column_names_size() const { |
5873 | return _internal_forward_column_names_size(); |
5874 | } |
5875 | inline void CollectionConfig::clear_forward_column_names() { |
5876 | forward_column_names_.Clear(); |
5877 | } |
5878 | inline std::string* CollectionConfig::add_forward_column_names() { |
5879 | // @@protoc_insertion_point(field_add_mutable:proxima.be.proto.CollectionConfig.forward_column_names) |
5880 | return _internal_add_forward_column_names(); |
5881 | } |
5882 | inline const std::string& CollectionConfig::_internal_forward_column_names(int index) const { |
5883 | return forward_column_names_.Get(index); |
5884 | } |
5885 | inline const std::string& CollectionConfig::forward_column_names(int index) const { |
5886 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.forward_column_names) |
5887 | return _internal_forward_column_names(index); |
5888 | } |
5889 | inline std::string* CollectionConfig::mutable_forward_column_names(int index) { |
5890 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.forward_column_names) |
5891 | return forward_column_names_.Mutable(index); |
5892 | } |
5893 | inline void CollectionConfig::set_forward_column_names(int index, const std::string& value) { |
5894 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.forward_column_names) |
5895 | forward_column_names_.Mutable(index)->assign(value); |
5896 | } |
5897 | inline void CollectionConfig::set_forward_column_names(int index, std::string&& value) { |
5898 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionConfig.forward_column_names) |
5899 | forward_column_names_.Mutable(index)->assign(std::move(value)); |
5900 | } |
5901 | inline void CollectionConfig::set_forward_column_names(int index, const char* value) { |
5902 | GOOGLE_DCHECK(value != nullptr); |
5903 | forward_column_names_.Mutable(index)->assign(value); |
5904 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionConfig.forward_column_names) |
5905 | } |
5906 | inline void CollectionConfig::set_forward_column_names(int index, const char* value, size_t size) { |
5907 | forward_column_names_.Mutable(index)->assign( |
5908 | reinterpret_cast<const char*>(value), size); |
5909 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionConfig.forward_column_names) |
5910 | } |
5911 | inline std::string* CollectionConfig::_internal_add_forward_column_names() { |
5912 | return forward_column_names_.Add(); |
5913 | } |
5914 | inline void CollectionConfig::add_forward_column_names(const std::string& value) { |
5915 | forward_column_names_.Add()->assign(value); |
5916 | // @@protoc_insertion_point(field_add:proxima.be.proto.CollectionConfig.forward_column_names) |
5917 | } |
5918 | inline void CollectionConfig::add_forward_column_names(std::string&& value) { |
5919 | forward_column_names_.Add(std::move(value)); |
5920 | // @@protoc_insertion_point(field_add:proxima.be.proto.CollectionConfig.forward_column_names) |
5921 | } |
5922 | inline void CollectionConfig::add_forward_column_names(const char* value) { |
5923 | GOOGLE_DCHECK(value != nullptr); |
5924 | forward_column_names_.Add()->assign(value); |
5925 | // @@protoc_insertion_point(field_add_char:proxima.be.proto.CollectionConfig.forward_column_names) |
5926 | } |
5927 | inline void CollectionConfig::add_forward_column_names(const char* value, size_t size) { |
5928 | forward_column_names_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5929 | // @@protoc_insertion_point(field_add_pointer:proxima.be.proto.CollectionConfig.forward_column_names) |
5930 | } |
5931 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
5932 | CollectionConfig::forward_column_names() const { |
5933 | // @@protoc_insertion_point(field_list:proxima.be.proto.CollectionConfig.forward_column_names) |
5934 | return forward_column_names_; |
5935 | } |
5936 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
5937 | CollectionConfig::mutable_forward_column_names() { |
5938 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.CollectionConfig.forward_column_names) |
5939 | return &forward_column_names_; |
5940 | } |
5941 | |
5942 | // repeated .proxima.be.proto.CollectionConfig.IndexColumnParam index_column_params = 4; |
5943 | inline int CollectionConfig::_internal_index_column_params_size() const { |
5944 | return index_column_params_.size(); |
5945 | } |
5946 | inline int CollectionConfig::index_column_params_size() const { |
5947 | return _internal_index_column_params_size(); |
5948 | } |
5949 | inline void CollectionConfig::clear_index_column_params() { |
5950 | index_column_params_.Clear(); |
5951 | } |
5952 | inline ::proxima::be::proto::CollectionConfig_IndexColumnParam* CollectionConfig::mutable_index_column_params(int index) { |
5953 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.index_column_params) |
5954 | return index_column_params_.Mutable(index); |
5955 | } |
5956 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionConfig_IndexColumnParam >* |
5957 | CollectionConfig::mutable_index_column_params() { |
5958 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.CollectionConfig.index_column_params) |
5959 | return &index_column_params_; |
5960 | } |
5961 | inline const ::proxima::be::proto::CollectionConfig_IndexColumnParam& CollectionConfig::_internal_index_column_params(int index) const { |
5962 | return index_column_params_.Get(index); |
5963 | } |
5964 | inline const ::proxima::be::proto::CollectionConfig_IndexColumnParam& CollectionConfig::index_column_params(int index) const { |
5965 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.index_column_params) |
5966 | return _internal_index_column_params(index); |
5967 | } |
5968 | inline ::proxima::be::proto::CollectionConfig_IndexColumnParam* CollectionConfig::_internal_add_index_column_params() { |
5969 | return index_column_params_.Add(); |
5970 | } |
5971 | inline ::proxima::be::proto::CollectionConfig_IndexColumnParam* CollectionConfig::add_index_column_params() { |
5972 | // @@protoc_insertion_point(field_add:proxima.be.proto.CollectionConfig.index_column_params) |
5973 | return _internal_add_index_column_params(); |
5974 | } |
5975 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionConfig_IndexColumnParam >& |
5976 | CollectionConfig::index_column_params() const { |
5977 | // @@protoc_insertion_point(field_list:proxima.be.proto.CollectionConfig.index_column_params) |
5978 | return index_column_params_; |
5979 | } |
5980 | |
5981 | // .proxima.be.proto.CollectionConfig.RepositoryConfig repository_config = 5; |
5982 | inline bool CollectionConfig::_internal_has_repository_config() const { |
5983 | return this != internal_default_instance() && repository_config_ != nullptr; |
5984 | } |
5985 | inline bool CollectionConfig::has_repository_config() const { |
5986 | return _internal_has_repository_config(); |
5987 | } |
5988 | inline void CollectionConfig::clear_repository_config() { |
5989 | if (GetArenaNoVirtual() == nullptr && repository_config_ != nullptr) { |
5990 | delete repository_config_; |
5991 | } |
5992 | repository_config_ = nullptr; |
5993 | } |
5994 | inline const ::proxima::be::proto::CollectionConfig_RepositoryConfig& CollectionConfig::_internal_repository_config() const { |
5995 | const ::proxima::be::proto::CollectionConfig_RepositoryConfig* p = repository_config_; |
5996 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::CollectionConfig_RepositoryConfig*>( |
5997 | &::proxima::be::proto::_CollectionConfig_RepositoryConfig_default_instance_); |
5998 | } |
5999 | inline const ::proxima::be::proto::CollectionConfig_RepositoryConfig& CollectionConfig::repository_config() const { |
6000 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionConfig.repository_config) |
6001 | return _internal_repository_config(); |
6002 | } |
6003 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig* CollectionConfig::release_repository_config() { |
6004 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionConfig.repository_config) |
6005 | |
6006 | ::proxima::be::proto::CollectionConfig_RepositoryConfig* temp = repository_config_; |
6007 | repository_config_ = nullptr; |
6008 | return temp; |
6009 | } |
6010 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig* CollectionConfig::_internal_mutable_repository_config() { |
6011 | |
6012 | if (repository_config_ == nullptr) { |
6013 | auto* p = CreateMaybeMessage<::proxima::be::proto::CollectionConfig_RepositoryConfig>(GetArenaNoVirtual()); |
6014 | repository_config_ = p; |
6015 | } |
6016 | return repository_config_; |
6017 | } |
6018 | inline ::proxima::be::proto::CollectionConfig_RepositoryConfig* CollectionConfig::mutable_repository_config() { |
6019 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionConfig.repository_config) |
6020 | return _internal_mutable_repository_config(); |
6021 | } |
6022 | inline void CollectionConfig::set_allocated_repository_config(::proxima::be::proto::CollectionConfig_RepositoryConfig* repository_config) { |
6023 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
6024 | if (message_arena == nullptr) { |
6025 | delete repository_config_; |
6026 | } |
6027 | if (repository_config) { |
6028 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
6029 | if (message_arena != submessage_arena) { |
6030 | repository_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
6031 | message_arena, repository_config, submessage_arena); |
6032 | } |
6033 | |
6034 | } else { |
6035 | |
6036 | } |
6037 | repository_config_ = repository_config; |
6038 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionConfig.repository_config) |
6039 | } |
6040 | |
6041 | // ------------------------------------------------------------------- |
6042 | |
6043 | // CollectionName |
6044 | |
6045 | // string collection_name = 1; |
6046 | inline void CollectionName::clear_collection_name() { |
6047 | collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6048 | } |
6049 | inline const std::string& CollectionName::collection_name() const { |
6050 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionName.collection_name) |
6051 | return _internal_collection_name(); |
6052 | } |
6053 | inline void CollectionName::set_collection_name(const std::string& value) { |
6054 | _internal_set_collection_name(value); |
6055 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionName.collection_name) |
6056 | } |
6057 | inline std::string* CollectionName::mutable_collection_name() { |
6058 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionName.collection_name) |
6059 | return _internal_mutable_collection_name(); |
6060 | } |
6061 | inline const std::string& CollectionName::_internal_collection_name() const { |
6062 | return collection_name_.GetNoArena(); |
6063 | } |
6064 | inline void CollectionName::_internal_set_collection_name(const std::string& value) { |
6065 | |
6066 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
6067 | } |
6068 | inline void CollectionName::set_collection_name(std::string&& value) { |
6069 | |
6070 | collection_name_.SetNoArena( |
6071 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6072 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionName.collection_name) |
6073 | } |
6074 | inline void CollectionName::set_collection_name(const char* value) { |
6075 | GOOGLE_DCHECK(value != nullptr); |
6076 | |
6077 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6078 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionName.collection_name) |
6079 | } |
6080 | inline void CollectionName::set_collection_name(const char* value, size_t size) { |
6081 | |
6082 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
6083 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6084 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionName.collection_name) |
6085 | } |
6086 | inline std::string* CollectionName::_internal_mutable_collection_name() { |
6087 | |
6088 | return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6089 | } |
6090 | inline std::string* CollectionName::release_collection_name() { |
6091 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionName.collection_name) |
6092 | |
6093 | return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6094 | } |
6095 | inline void CollectionName::set_allocated_collection_name(std::string* collection_name) { |
6096 | if (collection_name != nullptr) { |
6097 | |
6098 | } else { |
6099 | |
6100 | } |
6101 | collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); |
6102 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionName.collection_name) |
6103 | } |
6104 | |
6105 | // ------------------------------------------------------------------- |
6106 | |
6107 | // LsnContext |
6108 | |
6109 | // uint64 lsn = 1; |
6110 | inline void LsnContext::clear_lsn() { |
6111 | lsn_ = PROTOBUF_ULONGLONG(0); |
6112 | } |
6113 | inline ::PROTOBUF_NAMESPACE_ID::uint64 LsnContext::_internal_lsn() const { |
6114 | return lsn_; |
6115 | } |
6116 | inline ::PROTOBUF_NAMESPACE_ID::uint64 LsnContext::lsn() const { |
6117 | // @@protoc_insertion_point(field_get:proxima.be.proto.LsnContext.lsn) |
6118 | return _internal_lsn(); |
6119 | } |
6120 | inline void LsnContext::_internal_set_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6121 | |
6122 | lsn_ = value; |
6123 | } |
6124 | inline void LsnContext::set_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6125 | _internal_set_lsn(value); |
6126 | // @@protoc_insertion_point(field_set:proxima.be.proto.LsnContext.lsn) |
6127 | } |
6128 | |
6129 | // string context = 2; |
6130 | inline void LsnContext::clear_context() { |
6131 | context_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6132 | } |
6133 | inline const std::string& LsnContext::context() const { |
6134 | // @@protoc_insertion_point(field_get:proxima.be.proto.LsnContext.context) |
6135 | return _internal_context(); |
6136 | } |
6137 | inline void LsnContext::set_context(const std::string& value) { |
6138 | _internal_set_context(value); |
6139 | // @@protoc_insertion_point(field_set:proxima.be.proto.LsnContext.context) |
6140 | } |
6141 | inline std::string* LsnContext::mutable_context() { |
6142 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.LsnContext.context) |
6143 | return _internal_mutable_context(); |
6144 | } |
6145 | inline const std::string& LsnContext::_internal_context() const { |
6146 | return context_.GetNoArena(); |
6147 | } |
6148 | inline void LsnContext::_internal_set_context(const std::string& value) { |
6149 | |
6150 | context_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
6151 | } |
6152 | inline void LsnContext::set_context(std::string&& value) { |
6153 | |
6154 | context_.SetNoArena( |
6155 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6156 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.LsnContext.context) |
6157 | } |
6158 | inline void LsnContext::set_context(const char* value) { |
6159 | GOOGLE_DCHECK(value != nullptr); |
6160 | |
6161 | context_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6162 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.LsnContext.context) |
6163 | } |
6164 | inline void LsnContext::set_context(const char* value, size_t size) { |
6165 | |
6166 | context_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
6167 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6168 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.LsnContext.context) |
6169 | } |
6170 | inline std::string* LsnContext::_internal_mutable_context() { |
6171 | |
6172 | return context_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6173 | } |
6174 | inline std::string* LsnContext::release_context() { |
6175 | // @@protoc_insertion_point(field_release:proxima.be.proto.LsnContext.context) |
6176 | |
6177 | return context_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6178 | } |
6179 | inline void LsnContext::set_allocated_context(std::string* context) { |
6180 | if (context != nullptr) { |
6181 | |
6182 | } else { |
6183 | |
6184 | } |
6185 | context_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), context); |
6186 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.LsnContext.context) |
6187 | } |
6188 | |
6189 | // ------------------------------------------------------------------- |
6190 | |
6191 | // CollectionInfo |
6192 | |
6193 | // .proxima.be.proto.CollectionConfig config = 1; |
6194 | inline bool CollectionInfo::_internal_has_config() const { |
6195 | return this != internal_default_instance() && config_ != nullptr; |
6196 | } |
6197 | inline bool CollectionInfo::has_config() const { |
6198 | return _internal_has_config(); |
6199 | } |
6200 | inline void CollectionInfo::clear_config() { |
6201 | if (GetArenaNoVirtual() == nullptr && config_ != nullptr) { |
6202 | delete config_; |
6203 | } |
6204 | config_ = nullptr; |
6205 | } |
6206 | inline const ::proxima::be::proto::CollectionConfig& CollectionInfo::_internal_config() const { |
6207 | const ::proxima::be::proto::CollectionConfig* p = config_; |
6208 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::CollectionConfig*>( |
6209 | &::proxima::be::proto::_CollectionConfig_default_instance_); |
6210 | } |
6211 | inline const ::proxima::be::proto::CollectionConfig& CollectionInfo::config() const { |
6212 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionInfo.config) |
6213 | return _internal_config(); |
6214 | } |
6215 | inline ::proxima::be::proto::CollectionConfig* CollectionInfo::release_config() { |
6216 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionInfo.config) |
6217 | |
6218 | ::proxima::be::proto::CollectionConfig* temp = config_; |
6219 | config_ = nullptr; |
6220 | return temp; |
6221 | } |
6222 | inline ::proxima::be::proto::CollectionConfig* CollectionInfo::_internal_mutable_config() { |
6223 | |
6224 | if (config_ == nullptr) { |
6225 | auto* p = CreateMaybeMessage<::proxima::be::proto::CollectionConfig>(GetArenaNoVirtual()); |
6226 | config_ = p; |
6227 | } |
6228 | return config_; |
6229 | } |
6230 | inline ::proxima::be::proto::CollectionConfig* CollectionInfo::mutable_config() { |
6231 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionInfo.config) |
6232 | return _internal_mutable_config(); |
6233 | } |
6234 | inline void CollectionInfo::set_allocated_config(::proxima::be::proto::CollectionConfig* config) { |
6235 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
6236 | if (message_arena == nullptr) { |
6237 | delete config_; |
6238 | } |
6239 | if (config) { |
6240 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
6241 | if (message_arena != submessage_arena) { |
6242 | config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
6243 | message_arena, config, submessage_arena); |
6244 | } |
6245 | |
6246 | } else { |
6247 | |
6248 | } |
6249 | config_ = config; |
6250 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionInfo.config) |
6251 | } |
6252 | |
6253 | // .proxima.be.proto.CollectionInfo.CollectionStatus status = 2; |
6254 | inline void CollectionInfo::clear_status() { |
6255 | status_ = 0; |
6256 | } |
6257 | inline ::proxima::be::proto::CollectionInfo_CollectionStatus CollectionInfo::_internal_status() const { |
6258 | return static_cast< ::proxima::be::proto::CollectionInfo_CollectionStatus >(status_); |
6259 | } |
6260 | inline ::proxima::be::proto::CollectionInfo_CollectionStatus CollectionInfo::status() const { |
6261 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionInfo.status) |
6262 | return _internal_status(); |
6263 | } |
6264 | inline void CollectionInfo::_internal_set_status(::proxima::be::proto::CollectionInfo_CollectionStatus value) { |
6265 | |
6266 | status_ = value; |
6267 | } |
6268 | inline void CollectionInfo::set_status(::proxima::be::proto::CollectionInfo_CollectionStatus value) { |
6269 | _internal_set_status(value); |
6270 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionInfo.status) |
6271 | } |
6272 | |
6273 | // string uuid = 3; |
6274 | inline void CollectionInfo::clear_uuid() { |
6275 | uuid_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6276 | } |
6277 | inline const std::string& CollectionInfo::uuid() const { |
6278 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionInfo.uuid) |
6279 | return _internal_uuid(); |
6280 | } |
6281 | inline void CollectionInfo::set_uuid(const std::string& value) { |
6282 | _internal_set_uuid(value); |
6283 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionInfo.uuid) |
6284 | } |
6285 | inline std::string* CollectionInfo::mutable_uuid() { |
6286 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionInfo.uuid) |
6287 | return _internal_mutable_uuid(); |
6288 | } |
6289 | inline const std::string& CollectionInfo::_internal_uuid() const { |
6290 | return uuid_.GetNoArena(); |
6291 | } |
6292 | inline void CollectionInfo::_internal_set_uuid(const std::string& value) { |
6293 | |
6294 | uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
6295 | } |
6296 | inline void CollectionInfo::set_uuid(std::string&& value) { |
6297 | |
6298 | uuid_.SetNoArena( |
6299 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6300 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionInfo.uuid) |
6301 | } |
6302 | inline void CollectionInfo::set_uuid(const char* value) { |
6303 | GOOGLE_DCHECK(value != nullptr); |
6304 | |
6305 | uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6306 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionInfo.uuid) |
6307 | } |
6308 | inline void CollectionInfo::set_uuid(const char* value, size_t size) { |
6309 | |
6310 | uuid_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
6311 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6312 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionInfo.uuid) |
6313 | } |
6314 | inline std::string* CollectionInfo::_internal_mutable_uuid() { |
6315 | |
6316 | return uuid_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6317 | } |
6318 | inline std::string* CollectionInfo::release_uuid() { |
6319 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionInfo.uuid) |
6320 | |
6321 | return uuid_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6322 | } |
6323 | inline void CollectionInfo::set_allocated_uuid(std::string* uuid) { |
6324 | if (uuid != nullptr) { |
6325 | |
6326 | } else { |
6327 | |
6328 | } |
6329 | uuid_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), uuid); |
6330 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionInfo.uuid) |
6331 | } |
6332 | |
6333 | // .proxima.be.proto.LsnContext latest_lsn_context = 4; |
6334 | inline bool CollectionInfo::_internal_has_latest_lsn_context() const { |
6335 | return this != internal_default_instance() && latest_lsn_context_ != nullptr; |
6336 | } |
6337 | inline bool CollectionInfo::has_latest_lsn_context() const { |
6338 | return _internal_has_latest_lsn_context(); |
6339 | } |
6340 | inline void CollectionInfo::clear_latest_lsn_context() { |
6341 | if (GetArenaNoVirtual() == nullptr && latest_lsn_context_ != nullptr) { |
6342 | delete latest_lsn_context_; |
6343 | } |
6344 | latest_lsn_context_ = nullptr; |
6345 | } |
6346 | inline const ::proxima::be::proto::LsnContext& CollectionInfo::_internal_latest_lsn_context() const { |
6347 | const ::proxima::be::proto::LsnContext* p = latest_lsn_context_; |
6348 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::LsnContext*>( |
6349 | &::proxima::be::proto::_LsnContext_default_instance_); |
6350 | } |
6351 | inline const ::proxima::be::proto::LsnContext& CollectionInfo::latest_lsn_context() const { |
6352 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionInfo.latest_lsn_context) |
6353 | return _internal_latest_lsn_context(); |
6354 | } |
6355 | inline ::proxima::be::proto::LsnContext* CollectionInfo::release_latest_lsn_context() { |
6356 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionInfo.latest_lsn_context) |
6357 | |
6358 | ::proxima::be::proto::LsnContext* temp = latest_lsn_context_; |
6359 | latest_lsn_context_ = nullptr; |
6360 | return temp; |
6361 | } |
6362 | inline ::proxima::be::proto::LsnContext* CollectionInfo::_internal_mutable_latest_lsn_context() { |
6363 | |
6364 | if (latest_lsn_context_ == nullptr) { |
6365 | auto* p = CreateMaybeMessage<::proxima::be::proto::LsnContext>(GetArenaNoVirtual()); |
6366 | latest_lsn_context_ = p; |
6367 | } |
6368 | return latest_lsn_context_; |
6369 | } |
6370 | inline ::proxima::be::proto::LsnContext* CollectionInfo::mutable_latest_lsn_context() { |
6371 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionInfo.latest_lsn_context) |
6372 | return _internal_mutable_latest_lsn_context(); |
6373 | } |
6374 | inline void CollectionInfo::set_allocated_latest_lsn_context(::proxima::be::proto::LsnContext* latest_lsn_context) { |
6375 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
6376 | if (message_arena == nullptr) { |
6377 | delete latest_lsn_context_; |
6378 | } |
6379 | if (latest_lsn_context) { |
6380 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
6381 | if (message_arena != submessage_arena) { |
6382 | latest_lsn_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
6383 | message_arena, latest_lsn_context, submessage_arena); |
6384 | } |
6385 | |
6386 | } else { |
6387 | |
6388 | } |
6389 | latest_lsn_context_ = latest_lsn_context; |
6390 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionInfo.latest_lsn_context) |
6391 | } |
6392 | |
6393 | // uint64 magic_number = 5; |
6394 | inline void CollectionInfo::clear_magic_number() { |
6395 | magic_number_ = PROTOBUF_ULONGLONG(0); |
6396 | } |
6397 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionInfo::_internal_magic_number() const { |
6398 | return magic_number_; |
6399 | } |
6400 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionInfo::magic_number() const { |
6401 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionInfo.magic_number) |
6402 | return _internal_magic_number(); |
6403 | } |
6404 | inline void CollectionInfo::_internal_set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6405 | |
6406 | magic_number_ = value; |
6407 | } |
6408 | inline void CollectionInfo::set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6409 | _internal_set_magic_number(value); |
6410 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionInfo.magic_number) |
6411 | } |
6412 | |
6413 | // ------------------------------------------------------------------- |
6414 | |
6415 | // DescribeCollectionResponse |
6416 | |
6417 | // .proxima.be.proto.Status status = 1; |
6418 | inline bool DescribeCollectionResponse::_internal_has_status() const { |
6419 | return this != internal_default_instance() && status_ != nullptr; |
6420 | } |
6421 | inline bool DescribeCollectionResponse::has_status() const { |
6422 | return _internal_has_status(); |
6423 | } |
6424 | inline const ::proxima::be::proto::Status& DescribeCollectionResponse::_internal_status() const { |
6425 | const ::proxima::be::proto::Status* p = status_; |
6426 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Status*>( |
6427 | &::proxima::be::proto::_Status_default_instance_); |
6428 | } |
6429 | inline const ::proxima::be::proto::Status& DescribeCollectionResponse::status() const { |
6430 | // @@protoc_insertion_point(field_get:proxima.be.proto.DescribeCollectionResponse.status) |
6431 | return _internal_status(); |
6432 | } |
6433 | inline ::proxima::be::proto::Status* DescribeCollectionResponse::release_status() { |
6434 | // @@protoc_insertion_point(field_release:proxima.be.proto.DescribeCollectionResponse.status) |
6435 | |
6436 | ::proxima::be::proto::Status* temp = status_; |
6437 | status_ = nullptr; |
6438 | return temp; |
6439 | } |
6440 | inline ::proxima::be::proto::Status* DescribeCollectionResponse::_internal_mutable_status() { |
6441 | |
6442 | if (status_ == nullptr) { |
6443 | auto* p = CreateMaybeMessage<::proxima::be::proto::Status>(GetArenaNoVirtual()); |
6444 | status_ = p; |
6445 | } |
6446 | return status_; |
6447 | } |
6448 | inline ::proxima::be::proto::Status* DescribeCollectionResponse::mutable_status() { |
6449 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.DescribeCollectionResponse.status) |
6450 | return _internal_mutable_status(); |
6451 | } |
6452 | inline void DescribeCollectionResponse::set_allocated_status(::proxima::be::proto::Status* status) { |
6453 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
6454 | if (message_arena == nullptr) { |
6455 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); |
6456 | } |
6457 | if (status) { |
6458 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
6459 | if (message_arena != submessage_arena) { |
6460 | status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
6461 | message_arena, status, submessage_arena); |
6462 | } |
6463 | |
6464 | } else { |
6465 | |
6466 | } |
6467 | status_ = status; |
6468 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.DescribeCollectionResponse.status) |
6469 | } |
6470 | |
6471 | // .proxima.be.proto.CollectionInfo collection = 2; |
6472 | inline bool DescribeCollectionResponse::_internal_has_collection() const { |
6473 | return this != internal_default_instance() && collection_ != nullptr; |
6474 | } |
6475 | inline bool DescribeCollectionResponse::has_collection() const { |
6476 | return _internal_has_collection(); |
6477 | } |
6478 | inline void DescribeCollectionResponse::clear_collection() { |
6479 | if (GetArenaNoVirtual() == nullptr && collection_ != nullptr) { |
6480 | delete collection_; |
6481 | } |
6482 | collection_ = nullptr; |
6483 | } |
6484 | inline const ::proxima::be::proto::CollectionInfo& DescribeCollectionResponse::_internal_collection() const { |
6485 | const ::proxima::be::proto::CollectionInfo* p = collection_; |
6486 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::CollectionInfo*>( |
6487 | &::proxima::be::proto::_CollectionInfo_default_instance_); |
6488 | } |
6489 | inline const ::proxima::be::proto::CollectionInfo& DescribeCollectionResponse::collection() const { |
6490 | // @@protoc_insertion_point(field_get:proxima.be.proto.DescribeCollectionResponse.collection) |
6491 | return _internal_collection(); |
6492 | } |
6493 | inline ::proxima::be::proto::CollectionInfo* DescribeCollectionResponse::release_collection() { |
6494 | // @@protoc_insertion_point(field_release:proxima.be.proto.DescribeCollectionResponse.collection) |
6495 | |
6496 | ::proxima::be::proto::CollectionInfo* temp = collection_; |
6497 | collection_ = nullptr; |
6498 | return temp; |
6499 | } |
6500 | inline ::proxima::be::proto::CollectionInfo* DescribeCollectionResponse::_internal_mutable_collection() { |
6501 | |
6502 | if (collection_ == nullptr) { |
6503 | auto* p = CreateMaybeMessage<::proxima::be::proto::CollectionInfo>(GetArenaNoVirtual()); |
6504 | collection_ = p; |
6505 | } |
6506 | return collection_; |
6507 | } |
6508 | inline ::proxima::be::proto::CollectionInfo* DescribeCollectionResponse::mutable_collection() { |
6509 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.DescribeCollectionResponse.collection) |
6510 | return _internal_mutable_collection(); |
6511 | } |
6512 | inline void DescribeCollectionResponse::set_allocated_collection(::proxima::be::proto::CollectionInfo* collection) { |
6513 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
6514 | if (message_arena == nullptr) { |
6515 | delete collection_; |
6516 | } |
6517 | if (collection) { |
6518 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
6519 | if (message_arena != submessage_arena) { |
6520 | collection = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
6521 | message_arena, collection, submessage_arena); |
6522 | } |
6523 | |
6524 | } else { |
6525 | |
6526 | } |
6527 | collection_ = collection; |
6528 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.DescribeCollectionResponse.collection) |
6529 | } |
6530 | |
6531 | // ------------------------------------------------------------------- |
6532 | |
6533 | // ListCondition |
6534 | |
6535 | // string repository_name = 1; |
6536 | inline void ListCondition::clear_repository_name() { |
6537 | repository_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6538 | } |
6539 | inline const std::string& ListCondition::repository_name() const { |
6540 | // @@protoc_insertion_point(field_get:proxima.be.proto.ListCondition.repository_name) |
6541 | return _internal_repository_name(); |
6542 | } |
6543 | inline void ListCondition::set_repository_name(const std::string& value) { |
6544 | _internal_set_repository_name(value); |
6545 | // @@protoc_insertion_point(field_set:proxima.be.proto.ListCondition.repository_name) |
6546 | } |
6547 | inline std::string* ListCondition::mutable_repository_name() { |
6548 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ListCondition.repository_name) |
6549 | return _internal_mutable_repository_name(); |
6550 | } |
6551 | inline const std::string& ListCondition::_internal_repository_name() const { |
6552 | return repository_name_.GetNoArena(); |
6553 | } |
6554 | inline void ListCondition::_internal_set_repository_name(const std::string& value) { |
6555 | |
6556 | repository_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
6557 | } |
6558 | inline void ListCondition::set_repository_name(std::string&& value) { |
6559 | |
6560 | repository_name_.SetNoArena( |
6561 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6562 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.ListCondition.repository_name) |
6563 | } |
6564 | inline void ListCondition::set_repository_name(const char* value) { |
6565 | GOOGLE_DCHECK(value != nullptr); |
6566 | |
6567 | repository_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6568 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.ListCondition.repository_name) |
6569 | } |
6570 | inline void ListCondition::set_repository_name(const char* value, size_t size) { |
6571 | |
6572 | repository_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
6573 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6574 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.ListCondition.repository_name) |
6575 | } |
6576 | inline std::string* ListCondition::_internal_mutable_repository_name() { |
6577 | |
6578 | return repository_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6579 | } |
6580 | inline std::string* ListCondition::release_repository_name() { |
6581 | // @@protoc_insertion_point(field_release:proxima.be.proto.ListCondition.repository_name) |
6582 | |
6583 | return repository_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6584 | } |
6585 | inline void ListCondition::set_allocated_repository_name(std::string* repository_name) { |
6586 | if (repository_name != nullptr) { |
6587 | |
6588 | } else { |
6589 | |
6590 | } |
6591 | repository_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), repository_name); |
6592 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.ListCondition.repository_name) |
6593 | } |
6594 | |
6595 | // ------------------------------------------------------------------- |
6596 | |
6597 | // ListCollectionsResponse |
6598 | |
6599 | // .proxima.be.proto.Status status = 1; |
6600 | inline bool ListCollectionsResponse::_internal_has_status() const { |
6601 | return this != internal_default_instance() && status_ != nullptr; |
6602 | } |
6603 | inline bool ListCollectionsResponse::has_status() const { |
6604 | return _internal_has_status(); |
6605 | } |
6606 | inline const ::proxima::be::proto::Status& ListCollectionsResponse::_internal_status() const { |
6607 | const ::proxima::be::proto::Status* p = status_; |
6608 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Status*>( |
6609 | &::proxima::be::proto::_Status_default_instance_); |
6610 | } |
6611 | inline const ::proxima::be::proto::Status& ListCollectionsResponse::status() const { |
6612 | // @@protoc_insertion_point(field_get:proxima.be.proto.ListCollectionsResponse.status) |
6613 | return _internal_status(); |
6614 | } |
6615 | inline ::proxima::be::proto::Status* ListCollectionsResponse::release_status() { |
6616 | // @@protoc_insertion_point(field_release:proxima.be.proto.ListCollectionsResponse.status) |
6617 | |
6618 | ::proxima::be::proto::Status* temp = status_; |
6619 | status_ = nullptr; |
6620 | return temp; |
6621 | } |
6622 | inline ::proxima::be::proto::Status* ListCollectionsResponse::_internal_mutable_status() { |
6623 | |
6624 | if (status_ == nullptr) { |
6625 | auto* p = CreateMaybeMessage<::proxima::be::proto::Status>(GetArenaNoVirtual()); |
6626 | status_ = p; |
6627 | } |
6628 | return status_; |
6629 | } |
6630 | inline ::proxima::be::proto::Status* ListCollectionsResponse::mutable_status() { |
6631 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ListCollectionsResponse.status) |
6632 | return _internal_mutable_status(); |
6633 | } |
6634 | inline void ListCollectionsResponse::set_allocated_status(::proxima::be::proto::Status* status) { |
6635 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
6636 | if (message_arena == nullptr) { |
6637 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); |
6638 | } |
6639 | if (status) { |
6640 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
6641 | if (message_arena != submessage_arena) { |
6642 | status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
6643 | message_arena, status, submessage_arena); |
6644 | } |
6645 | |
6646 | } else { |
6647 | |
6648 | } |
6649 | status_ = status; |
6650 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.ListCollectionsResponse.status) |
6651 | } |
6652 | |
6653 | // repeated .proxima.be.proto.CollectionInfo collections = 2; |
6654 | inline int ListCollectionsResponse::_internal_collections_size() const { |
6655 | return collections_.size(); |
6656 | } |
6657 | inline int ListCollectionsResponse::collections_size() const { |
6658 | return _internal_collections_size(); |
6659 | } |
6660 | inline void ListCollectionsResponse::clear_collections() { |
6661 | collections_.Clear(); |
6662 | } |
6663 | inline ::proxima::be::proto::CollectionInfo* ListCollectionsResponse::mutable_collections(int index) { |
6664 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.ListCollectionsResponse.collections) |
6665 | return collections_.Mutable(index); |
6666 | } |
6667 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionInfo >* |
6668 | ListCollectionsResponse::mutable_collections() { |
6669 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.ListCollectionsResponse.collections) |
6670 | return &collections_; |
6671 | } |
6672 | inline const ::proxima::be::proto::CollectionInfo& ListCollectionsResponse::_internal_collections(int index) const { |
6673 | return collections_.Get(index); |
6674 | } |
6675 | inline const ::proxima::be::proto::CollectionInfo& ListCollectionsResponse::collections(int index) const { |
6676 | // @@protoc_insertion_point(field_get:proxima.be.proto.ListCollectionsResponse.collections) |
6677 | return _internal_collections(index); |
6678 | } |
6679 | inline ::proxima::be::proto::CollectionInfo* ListCollectionsResponse::_internal_add_collections() { |
6680 | return collections_.Add(); |
6681 | } |
6682 | inline ::proxima::be::proto::CollectionInfo* ListCollectionsResponse::add_collections() { |
6683 | // @@protoc_insertion_point(field_add:proxima.be.proto.ListCollectionsResponse.collections) |
6684 | return _internal_add_collections(); |
6685 | } |
6686 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionInfo >& |
6687 | ListCollectionsResponse::collections() const { |
6688 | // @@protoc_insertion_point(field_list:proxima.be.proto.ListCollectionsResponse.collections) |
6689 | return collections_; |
6690 | } |
6691 | |
6692 | // ------------------------------------------------------------------- |
6693 | |
6694 | // CollectionStats_SegmentStats |
6695 | |
6696 | // uint32 segment_id = 1; |
6697 | inline void CollectionStats_SegmentStats::clear_segment_id() { |
6698 | segment_id_ = 0u; |
6699 | } |
6700 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CollectionStats_SegmentStats::_internal_segment_id() const { |
6701 | return segment_id_; |
6702 | } |
6703 | inline ::PROTOBUF_NAMESPACE_ID::uint32 CollectionStats_SegmentStats::segment_id() const { |
6704 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.segment_id) |
6705 | return _internal_segment_id(); |
6706 | } |
6707 | inline void CollectionStats_SegmentStats::_internal_set_segment_id(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
6708 | |
6709 | segment_id_ = value; |
6710 | } |
6711 | inline void CollectionStats_SegmentStats::set_segment_id(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
6712 | _internal_set_segment_id(value); |
6713 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.segment_id) |
6714 | } |
6715 | |
6716 | // .proxima.be.proto.CollectionStats.SegmentStats.SegmentState state = 2; |
6717 | inline void CollectionStats_SegmentStats::clear_state() { |
6718 | state_ = 0; |
6719 | } |
6720 | inline ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState CollectionStats_SegmentStats::_internal_state() const { |
6721 | return static_cast< ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState >(state_); |
6722 | } |
6723 | inline ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState CollectionStats_SegmentStats::state() const { |
6724 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.state) |
6725 | return _internal_state(); |
6726 | } |
6727 | inline void CollectionStats_SegmentStats::_internal_set_state(::proxima::be::proto::CollectionStats_SegmentStats_SegmentState value) { |
6728 | |
6729 | state_ = value; |
6730 | } |
6731 | inline void CollectionStats_SegmentStats::set_state(::proxima::be::proto::CollectionStats_SegmentStats_SegmentState value) { |
6732 | _internal_set_state(value); |
6733 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.state) |
6734 | } |
6735 | |
6736 | // uint64 doc_count = 3; |
6737 | inline void CollectionStats_SegmentStats::clear_doc_count() { |
6738 | doc_count_ = PROTOBUF_ULONGLONG(0); |
6739 | } |
6740 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_doc_count() const { |
6741 | return doc_count_; |
6742 | } |
6743 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::doc_count() const { |
6744 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.doc_count) |
6745 | return _internal_doc_count(); |
6746 | } |
6747 | inline void CollectionStats_SegmentStats::_internal_set_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6748 | |
6749 | doc_count_ = value; |
6750 | } |
6751 | inline void CollectionStats_SegmentStats::set_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6752 | _internal_set_doc_count(value); |
6753 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.doc_count) |
6754 | } |
6755 | |
6756 | // uint64 index_file_count = 4; |
6757 | inline void CollectionStats_SegmentStats::clear_index_file_count() { |
6758 | index_file_count_ = PROTOBUF_ULONGLONG(0); |
6759 | } |
6760 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_index_file_count() const { |
6761 | return index_file_count_; |
6762 | } |
6763 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::index_file_count() const { |
6764 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.index_file_count) |
6765 | return _internal_index_file_count(); |
6766 | } |
6767 | inline void CollectionStats_SegmentStats::_internal_set_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6768 | |
6769 | index_file_count_ = value; |
6770 | } |
6771 | inline void CollectionStats_SegmentStats::set_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6772 | _internal_set_index_file_count(value); |
6773 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.index_file_count) |
6774 | } |
6775 | |
6776 | // uint64 index_file_size = 5; |
6777 | inline void CollectionStats_SegmentStats::clear_index_file_size() { |
6778 | index_file_size_ = PROTOBUF_ULONGLONG(0); |
6779 | } |
6780 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_index_file_size() const { |
6781 | return index_file_size_; |
6782 | } |
6783 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::index_file_size() const { |
6784 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.index_file_size) |
6785 | return _internal_index_file_size(); |
6786 | } |
6787 | inline void CollectionStats_SegmentStats::_internal_set_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6788 | |
6789 | index_file_size_ = value; |
6790 | } |
6791 | inline void CollectionStats_SegmentStats::set_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6792 | _internal_set_index_file_size(value); |
6793 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.index_file_size) |
6794 | } |
6795 | |
6796 | // uint64 min_doc_id = 6; |
6797 | inline void CollectionStats_SegmentStats::clear_min_doc_id() { |
6798 | min_doc_id_ = PROTOBUF_ULONGLONG(0); |
6799 | } |
6800 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_min_doc_id() const { |
6801 | return min_doc_id_; |
6802 | } |
6803 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::min_doc_id() const { |
6804 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.min_doc_id) |
6805 | return _internal_min_doc_id(); |
6806 | } |
6807 | inline void CollectionStats_SegmentStats::_internal_set_min_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6808 | |
6809 | min_doc_id_ = value; |
6810 | } |
6811 | inline void CollectionStats_SegmentStats::set_min_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6812 | _internal_set_min_doc_id(value); |
6813 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.min_doc_id) |
6814 | } |
6815 | |
6816 | // uint64 max_doc_id = 7; |
6817 | inline void CollectionStats_SegmentStats::clear_max_doc_id() { |
6818 | max_doc_id_ = PROTOBUF_ULONGLONG(0); |
6819 | } |
6820 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_max_doc_id() const { |
6821 | return max_doc_id_; |
6822 | } |
6823 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::max_doc_id() const { |
6824 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.max_doc_id) |
6825 | return _internal_max_doc_id(); |
6826 | } |
6827 | inline void CollectionStats_SegmentStats::_internal_set_max_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6828 | |
6829 | max_doc_id_ = value; |
6830 | } |
6831 | inline void CollectionStats_SegmentStats::set_max_doc_id(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6832 | _internal_set_max_doc_id(value); |
6833 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.max_doc_id) |
6834 | } |
6835 | |
6836 | // uint64 min_primary_key = 8; |
6837 | inline void CollectionStats_SegmentStats::clear_min_primary_key() { |
6838 | min_primary_key_ = PROTOBUF_ULONGLONG(0); |
6839 | } |
6840 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_min_primary_key() const { |
6841 | return min_primary_key_; |
6842 | } |
6843 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::min_primary_key() const { |
6844 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.min_primary_key) |
6845 | return _internal_min_primary_key(); |
6846 | } |
6847 | inline void CollectionStats_SegmentStats::_internal_set_min_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6848 | |
6849 | min_primary_key_ = value; |
6850 | } |
6851 | inline void CollectionStats_SegmentStats::set_min_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6852 | _internal_set_min_primary_key(value); |
6853 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.min_primary_key) |
6854 | } |
6855 | |
6856 | // uint64 max_primary_key = 9; |
6857 | inline void CollectionStats_SegmentStats::clear_max_primary_key() { |
6858 | max_primary_key_ = PROTOBUF_ULONGLONG(0); |
6859 | } |
6860 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_max_primary_key() const { |
6861 | return max_primary_key_; |
6862 | } |
6863 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::max_primary_key() const { |
6864 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.max_primary_key) |
6865 | return _internal_max_primary_key(); |
6866 | } |
6867 | inline void CollectionStats_SegmentStats::_internal_set_max_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6868 | |
6869 | max_primary_key_ = value; |
6870 | } |
6871 | inline void CollectionStats_SegmentStats::set_max_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6872 | _internal_set_max_primary_key(value); |
6873 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.max_primary_key) |
6874 | } |
6875 | |
6876 | // uint64 min_timestamp = 10; |
6877 | inline void CollectionStats_SegmentStats::clear_min_timestamp() { |
6878 | min_timestamp_ = PROTOBUF_ULONGLONG(0); |
6879 | } |
6880 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_min_timestamp() const { |
6881 | return min_timestamp_; |
6882 | } |
6883 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::min_timestamp() const { |
6884 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.min_timestamp) |
6885 | return _internal_min_timestamp(); |
6886 | } |
6887 | inline void CollectionStats_SegmentStats::_internal_set_min_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6888 | |
6889 | min_timestamp_ = value; |
6890 | } |
6891 | inline void CollectionStats_SegmentStats::set_min_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6892 | _internal_set_min_timestamp(value); |
6893 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.min_timestamp) |
6894 | } |
6895 | |
6896 | // uint64 max_timestamp = 11; |
6897 | inline void CollectionStats_SegmentStats::clear_max_timestamp() { |
6898 | max_timestamp_ = PROTOBUF_ULONGLONG(0); |
6899 | } |
6900 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_max_timestamp() const { |
6901 | return max_timestamp_; |
6902 | } |
6903 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::max_timestamp() const { |
6904 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.max_timestamp) |
6905 | return _internal_max_timestamp(); |
6906 | } |
6907 | inline void CollectionStats_SegmentStats::_internal_set_max_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6908 | |
6909 | max_timestamp_ = value; |
6910 | } |
6911 | inline void CollectionStats_SegmentStats::set_max_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6912 | _internal_set_max_timestamp(value); |
6913 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.max_timestamp) |
6914 | } |
6915 | |
6916 | // uint64 min_lsn = 12; |
6917 | inline void CollectionStats_SegmentStats::clear_min_lsn() { |
6918 | min_lsn_ = PROTOBUF_ULONGLONG(0); |
6919 | } |
6920 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_min_lsn() const { |
6921 | return min_lsn_; |
6922 | } |
6923 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::min_lsn() const { |
6924 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.min_lsn) |
6925 | return _internal_min_lsn(); |
6926 | } |
6927 | inline void CollectionStats_SegmentStats::_internal_set_min_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6928 | |
6929 | min_lsn_ = value; |
6930 | } |
6931 | inline void CollectionStats_SegmentStats::set_min_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6932 | _internal_set_min_lsn(value); |
6933 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.min_lsn) |
6934 | } |
6935 | |
6936 | // uint64 max_lsn = 13; |
6937 | inline void CollectionStats_SegmentStats::clear_max_lsn() { |
6938 | max_lsn_ = PROTOBUF_ULONGLONG(0); |
6939 | } |
6940 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::_internal_max_lsn() const { |
6941 | return max_lsn_; |
6942 | } |
6943 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats_SegmentStats::max_lsn() const { |
6944 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.max_lsn) |
6945 | return _internal_max_lsn(); |
6946 | } |
6947 | inline void CollectionStats_SegmentStats::_internal_set_max_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6948 | |
6949 | max_lsn_ = value; |
6950 | } |
6951 | inline void CollectionStats_SegmentStats::set_max_lsn(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
6952 | _internal_set_max_lsn(value); |
6953 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.max_lsn) |
6954 | } |
6955 | |
6956 | // string segment_path = 14; |
6957 | inline void CollectionStats_SegmentStats::clear_segment_path() { |
6958 | segment_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6959 | } |
6960 | inline const std::string& CollectionStats_SegmentStats::segment_path() const { |
6961 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
6962 | return _internal_segment_path(); |
6963 | } |
6964 | inline void CollectionStats_SegmentStats::set_segment_path(const std::string& value) { |
6965 | _internal_set_segment_path(value); |
6966 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
6967 | } |
6968 | inline std::string* CollectionStats_SegmentStats::mutable_segment_path() { |
6969 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
6970 | return _internal_mutable_segment_path(); |
6971 | } |
6972 | inline const std::string& CollectionStats_SegmentStats::_internal_segment_path() const { |
6973 | return segment_path_.GetNoArena(); |
6974 | } |
6975 | inline void CollectionStats_SegmentStats::_internal_set_segment_path(const std::string& value) { |
6976 | |
6977 | segment_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
6978 | } |
6979 | inline void CollectionStats_SegmentStats::set_segment_path(std::string&& value) { |
6980 | |
6981 | segment_path_.SetNoArena( |
6982 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
6983 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
6984 | } |
6985 | inline void CollectionStats_SegmentStats::set_segment_path(const char* value) { |
6986 | GOOGLE_DCHECK(value != nullptr); |
6987 | |
6988 | segment_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
6989 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
6990 | } |
6991 | inline void CollectionStats_SegmentStats::set_segment_path(const char* value, size_t size) { |
6992 | |
6993 | segment_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
6994 | ::std::string(reinterpret_cast<const char*>(value), size)); |
6995 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
6996 | } |
6997 | inline std::string* CollectionStats_SegmentStats::_internal_mutable_segment_path() { |
6998 | |
6999 | return segment_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7000 | } |
7001 | inline std::string* CollectionStats_SegmentStats::release_segment_path() { |
7002 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
7003 | |
7004 | return segment_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7005 | } |
7006 | inline void CollectionStats_SegmentStats::set_allocated_segment_path(std::string* segment_path) { |
7007 | if (segment_path != nullptr) { |
7008 | |
7009 | } else { |
7010 | |
7011 | } |
7012 | segment_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), segment_path); |
7013 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionStats.SegmentStats.segment_path) |
7014 | } |
7015 | |
7016 | // ------------------------------------------------------------------- |
7017 | |
7018 | // CollectionStats |
7019 | |
7020 | // string collection_name = 1; |
7021 | inline void CollectionStats::clear_collection_name() { |
7022 | collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7023 | } |
7024 | inline const std::string& CollectionStats::collection_name() const { |
7025 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.collection_name) |
7026 | return _internal_collection_name(); |
7027 | } |
7028 | inline void CollectionStats::set_collection_name(const std::string& value) { |
7029 | _internal_set_collection_name(value); |
7030 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.collection_name) |
7031 | } |
7032 | inline std::string* CollectionStats::mutable_collection_name() { |
7033 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionStats.collection_name) |
7034 | return _internal_mutable_collection_name(); |
7035 | } |
7036 | inline const std::string& CollectionStats::_internal_collection_name() const { |
7037 | return collection_name_.GetNoArena(); |
7038 | } |
7039 | inline void CollectionStats::_internal_set_collection_name(const std::string& value) { |
7040 | |
7041 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
7042 | } |
7043 | inline void CollectionStats::set_collection_name(std::string&& value) { |
7044 | |
7045 | collection_name_.SetNoArena( |
7046 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7047 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionStats.collection_name) |
7048 | } |
7049 | inline void CollectionStats::set_collection_name(const char* value) { |
7050 | GOOGLE_DCHECK(value != nullptr); |
7051 | |
7052 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7053 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionStats.collection_name) |
7054 | } |
7055 | inline void CollectionStats::set_collection_name(const char* value, size_t size) { |
7056 | |
7057 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
7058 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7059 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionStats.collection_name) |
7060 | } |
7061 | inline std::string* CollectionStats::_internal_mutable_collection_name() { |
7062 | |
7063 | return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7064 | } |
7065 | inline std::string* CollectionStats::release_collection_name() { |
7066 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionStats.collection_name) |
7067 | |
7068 | return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7069 | } |
7070 | inline void CollectionStats::set_allocated_collection_name(std::string* collection_name) { |
7071 | if (collection_name != nullptr) { |
7072 | |
7073 | } else { |
7074 | |
7075 | } |
7076 | collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); |
7077 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionStats.collection_name) |
7078 | } |
7079 | |
7080 | // string collection_path = 2; |
7081 | inline void CollectionStats::clear_collection_path() { |
7082 | collection_path_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7083 | } |
7084 | inline const std::string& CollectionStats::collection_path() const { |
7085 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.collection_path) |
7086 | return _internal_collection_path(); |
7087 | } |
7088 | inline void CollectionStats::set_collection_path(const std::string& value) { |
7089 | _internal_set_collection_path(value); |
7090 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.collection_path) |
7091 | } |
7092 | inline std::string* CollectionStats::mutable_collection_path() { |
7093 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionStats.collection_path) |
7094 | return _internal_mutable_collection_path(); |
7095 | } |
7096 | inline const std::string& CollectionStats::_internal_collection_path() const { |
7097 | return collection_path_.GetNoArena(); |
7098 | } |
7099 | inline void CollectionStats::_internal_set_collection_path(const std::string& value) { |
7100 | |
7101 | collection_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
7102 | } |
7103 | inline void CollectionStats::set_collection_path(std::string&& value) { |
7104 | |
7105 | collection_path_.SetNoArena( |
7106 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7107 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.CollectionStats.collection_path) |
7108 | } |
7109 | inline void CollectionStats::set_collection_path(const char* value) { |
7110 | GOOGLE_DCHECK(value != nullptr); |
7111 | |
7112 | collection_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7113 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.CollectionStats.collection_path) |
7114 | } |
7115 | inline void CollectionStats::set_collection_path(const char* value, size_t size) { |
7116 | |
7117 | collection_path_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
7118 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7119 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.CollectionStats.collection_path) |
7120 | } |
7121 | inline std::string* CollectionStats::_internal_mutable_collection_path() { |
7122 | |
7123 | return collection_path_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7124 | } |
7125 | inline std::string* CollectionStats::release_collection_path() { |
7126 | // @@protoc_insertion_point(field_release:proxima.be.proto.CollectionStats.collection_path) |
7127 | |
7128 | return collection_path_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7129 | } |
7130 | inline void CollectionStats::set_allocated_collection_path(std::string* collection_path) { |
7131 | if (collection_path != nullptr) { |
7132 | |
7133 | } else { |
7134 | |
7135 | } |
7136 | collection_path_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_path); |
7137 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.CollectionStats.collection_path) |
7138 | } |
7139 | |
7140 | // uint64 total_doc_count = 3; |
7141 | inline void CollectionStats::clear_total_doc_count() { |
7142 | total_doc_count_ = PROTOBUF_ULONGLONG(0); |
7143 | } |
7144 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::_internal_total_doc_count() const { |
7145 | return total_doc_count_; |
7146 | } |
7147 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::total_doc_count() const { |
7148 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.total_doc_count) |
7149 | return _internal_total_doc_count(); |
7150 | } |
7151 | inline void CollectionStats::_internal_set_total_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7152 | |
7153 | total_doc_count_ = value; |
7154 | } |
7155 | inline void CollectionStats::set_total_doc_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7156 | _internal_set_total_doc_count(value); |
7157 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.total_doc_count) |
7158 | } |
7159 | |
7160 | // uint64 total_segment_count = 4; |
7161 | inline void CollectionStats::clear_total_segment_count() { |
7162 | total_segment_count_ = PROTOBUF_ULONGLONG(0); |
7163 | } |
7164 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::_internal_total_segment_count() const { |
7165 | return total_segment_count_; |
7166 | } |
7167 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::total_segment_count() const { |
7168 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.total_segment_count) |
7169 | return _internal_total_segment_count(); |
7170 | } |
7171 | inline void CollectionStats::_internal_set_total_segment_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7172 | |
7173 | total_segment_count_ = value; |
7174 | } |
7175 | inline void CollectionStats::set_total_segment_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7176 | _internal_set_total_segment_count(value); |
7177 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.total_segment_count) |
7178 | } |
7179 | |
7180 | // uint64 total_index_file_count = 5; |
7181 | inline void CollectionStats::clear_total_index_file_count() { |
7182 | total_index_file_count_ = PROTOBUF_ULONGLONG(0); |
7183 | } |
7184 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::_internal_total_index_file_count() const { |
7185 | return total_index_file_count_; |
7186 | } |
7187 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::total_index_file_count() const { |
7188 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.total_index_file_count) |
7189 | return _internal_total_index_file_count(); |
7190 | } |
7191 | inline void CollectionStats::_internal_set_total_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7192 | |
7193 | total_index_file_count_ = value; |
7194 | } |
7195 | inline void CollectionStats::set_total_index_file_count(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7196 | _internal_set_total_index_file_count(value); |
7197 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.total_index_file_count) |
7198 | } |
7199 | |
7200 | // uint64 total_index_file_size = 6; |
7201 | inline void CollectionStats::clear_total_index_file_size() { |
7202 | total_index_file_size_ = PROTOBUF_ULONGLONG(0); |
7203 | } |
7204 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::_internal_total_index_file_size() const { |
7205 | return total_index_file_size_; |
7206 | } |
7207 | inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionStats::total_index_file_size() const { |
7208 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.total_index_file_size) |
7209 | return _internal_total_index_file_size(); |
7210 | } |
7211 | inline void CollectionStats::_internal_set_total_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7212 | |
7213 | total_index_file_size_ = value; |
7214 | } |
7215 | inline void CollectionStats::set_total_index_file_size(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7216 | _internal_set_total_index_file_size(value); |
7217 | // @@protoc_insertion_point(field_set:proxima.be.proto.CollectionStats.total_index_file_size) |
7218 | } |
7219 | |
7220 | // repeated .proxima.be.proto.CollectionStats.SegmentStats segment_stats = 7; |
7221 | inline int CollectionStats::_internal_segment_stats_size() const { |
7222 | return segment_stats_.size(); |
7223 | } |
7224 | inline int CollectionStats::segment_stats_size() const { |
7225 | return _internal_segment_stats_size(); |
7226 | } |
7227 | inline void CollectionStats::clear_segment_stats() { |
7228 | segment_stats_.Clear(); |
7229 | } |
7230 | inline ::proxima::be::proto::CollectionStats_SegmentStats* CollectionStats::mutable_segment_stats(int index) { |
7231 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.CollectionStats.segment_stats) |
7232 | return segment_stats_.Mutable(index); |
7233 | } |
7234 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionStats_SegmentStats >* |
7235 | CollectionStats::mutable_segment_stats() { |
7236 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.CollectionStats.segment_stats) |
7237 | return &segment_stats_; |
7238 | } |
7239 | inline const ::proxima::be::proto::CollectionStats_SegmentStats& CollectionStats::_internal_segment_stats(int index) const { |
7240 | return segment_stats_.Get(index); |
7241 | } |
7242 | inline const ::proxima::be::proto::CollectionStats_SegmentStats& CollectionStats::segment_stats(int index) const { |
7243 | // @@protoc_insertion_point(field_get:proxima.be.proto.CollectionStats.segment_stats) |
7244 | return _internal_segment_stats(index); |
7245 | } |
7246 | inline ::proxima::be::proto::CollectionStats_SegmentStats* CollectionStats::_internal_add_segment_stats() { |
7247 | return segment_stats_.Add(); |
7248 | } |
7249 | inline ::proxima::be::proto::CollectionStats_SegmentStats* CollectionStats::add_segment_stats() { |
7250 | // @@protoc_insertion_point(field_add:proxima.be.proto.CollectionStats.segment_stats) |
7251 | return _internal_add_segment_stats(); |
7252 | } |
7253 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::CollectionStats_SegmentStats >& |
7254 | CollectionStats::segment_stats() const { |
7255 | // @@protoc_insertion_point(field_list:proxima.be.proto.CollectionStats.segment_stats) |
7256 | return segment_stats_; |
7257 | } |
7258 | |
7259 | // ------------------------------------------------------------------- |
7260 | |
7261 | // StatsCollectionResponse |
7262 | |
7263 | // .proxima.be.proto.Status status = 1; |
7264 | inline bool StatsCollectionResponse::_internal_has_status() const { |
7265 | return this != internal_default_instance() && status_ != nullptr; |
7266 | } |
7267 | inline bool StatsCollectionResponse::has_status() const { |
7268 | return _internal_has_status(); |
7269 | } |
7270 | inline const ::proxima::be::proto::Status& StatsCollectionResponse::_internal_status() const { |
7271 | const ::proxima::be::proto::Status* p = status_; |
7272 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Status*>( |
7273 | &::proxima::be::proto::_Status_default_instance_); |
7274 | } |
7275 | inline const ::proxima::be::proto::Status& StatsCollectionResponse::status() const { |
7276 | // @@protoc_insertion_point(field_get:proxima.be.proto.StatsCollectionResponse.status) |
7277 | return _internal_status(); |
7278 | } |
7279 | inline ::proxima::be::proto::Status* StatsCollectionResponse::release_status() { |
7280 | // @@protoc_insertion_point(field_release:proxima.be.proto.StatsCollectionResponse.status) |
7281 | |
7282 | ::proxima::be::proto::Status* temp = status_; |
7283 | status_ = nullptr; |
7284 | return temp; |
7285 | } |
7286 | inline ::proxima::be::proto::Status* StatsCollectionResponse::_internal_mutable_status() { |
7287 | |
7288 | if (status_ == nullptr) { |
7289 | auto* p = CreateMaybeMessage<::proxima::be::proto::Status>(GetArenaNoVirtual()); |
7290 | status_ = p; |
7291 | } |
7292 | return status_; |
7293 | } |
7294 | inline ::proxima::be::proto::Status* StatsCollectionResponse::mutable_status() { |
7295 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.StatsCollectionResponse.status) |
7296 | return _internal_mutable_status(); |
7297 | } |
7298 | inline void StatsCollectionResponse::set_allocated_status(::proxima::be::proto::Status* status) { |
7299 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
7300 | if (message_arena == nullptr) { |
7301 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); |
7302 | } |
7303 | if (status) { |
7304 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
7305 | if (message_arena != submessage_arena) { |
7306 | status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7307 | message_arena, status, submessage_arena); |
7308 | } |
7309 | |
7310 | } else { |
7311 | |
7312 | } |
7313 | status_ = status; |
7314 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.StatsCollectionResponse.status) |
7315 | } |
7316 | |
7317 | // .proxima.be.proto.CollectionStats collection_stats = 2; |
7318 | inline bool StatsCollectionResponse::_internal_has_collection_stats() const { |
7319 | return this != internal_default_instance() && collection_stats_ != nullptr; |
7320 | } |
7321 | inline bool StatsCollectionResponse::has_collection_stats() const { |
7322 | return _internal_has_collection_stats(); |
7323 | } |
7324 | inline void StatsCollectionResponse::clear_collection_stats() { |
7325 | if (GetArenaNoVirtual() == nullptr && collection_stats_ != nullptr) { |
7326 | delete collection_stats_; |
7327 | } |
7328 | collection_stats_ = nullptr; |
7329 | } |
7330 | inline const ::proxima::be::proto::CollectionStats& StatsCollectionResponse::_internal_collection_stats() const { |
7331 | const ::proxima::be::proto::CollectionStats* p = collection_stats_; |
7332 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::CollectionStats*>( |
7333 | &::proxima::be::proto::_CollectionStats_default_instance_); |
7334 | } |
7335 | inline const ::proxima::be::proto::CollectionStats& StatsCollectionResponse::collection_stats() const { |
7336 | // @@protoc_insertion_point(field_get:proxima.be.proto.StatsCollectionResponse.collection_stats) |
7337 | return _internal_collection_stats(); |
7338 | } |
7339 | inline ::proxima::be::proto::CollectionStats* StatsCollectionResponse::release_collection_stats() { |
7340 | // @@protoc_insertion_point(field_release:proxima.be.proto.StatsCollectionResponse.collection_stats) |
7341 | |
7342 | ::proxima::be::proto::CollectionStats* temp = collection_stats_; |
7343 | collection_stats_ = nullptr; |
7344 | return temp; |
7345 | } |
7346 | inline ::proxima::be::proto::CollectionStats* StatsCollectionResponse::_internal_mutable_collection_stats() { |
7347 | |
7348 | if (collection_stats_ == nullptr) { |
7349 | auto* p = CreateMaybeMessage<::proxima::be::proto::CollectionStats>(GetArenaNoVirtual()); |
7350 | collection_stats_ = p; |
7351 | } |
7352 | return collection_stats_; |
7353 | } |
7354 | inline ::proxima::be::proto::CollectionStats* StatsCollectionResponse::mutable_collection_stats() { |
7355 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.StatsCollectionResponse.collection_stats) |
7356 | return _internal_mutable_collection_stats(); |
7357 | } |
7358 | inline void StatsCollectionResponse::set_allocated_collection_stats(::proxima::be::proto::CollectionStats* collection_stats) { |
7359 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
7360 | if (message_arena == nullptr) { |
7361 | delete collection_stats_; |
7362 | } |
7363 | if (collection_stats) { |
7364 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
7365 | if (message_arena != submessage_arena) { |
7366 | collection_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7367 | message_arena, collection_stats, submessage_arena); |
7368 | } |
7369 | |
7370 | } else { |
7371 | |
7372 | } |
7373 | collection_stats_ = collection_stats; |
7374 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.StatsCollectionResponse.collection_stats) |
7375 | } |
7376 | |
7377 | // ------------------------------------------------------------------- |
7378 | |
7379 | // WriteRequest_Row |
7380 | |
7381 | // uint64 primary_key = 1; |
7382 | inline void WriteRequest_Row::clear_primary_key() { |
7383 | primary_key_ = PROTOBUF_ULONGLONG(0); |
7384 | } |
7385 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest_Row::_internal_primary_key() const { |
7386 | return primary_key_; |
7387 | } |
7388 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest_Row::primary_key() const { |
7389 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.Row.primary_key) |
7390 | return _internal_primary_key(); |
7391 | } |
7392 | inline void WriteRequest_Row::_internal_set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7393 | |
7394 | primary_key_ = value; |
7395 | } |
7396 | inline void WriteRequest_Row::set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
7397 | _internal_set_primary_key(value); |
7398 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.Row.primary_key) |
7399 | } |
7400 | |
7401 | // .proxima.be.proto.OperationType operation_type = 2; |
7402 | inline void WriteRequest_Row::clear_operation_type() { |
7403 | operation_type_ = 0; |
7404 | } |
7405 | inline ::proxima::be::proto::OperationType WriteRequest_Row::_internal_operation_type() const { |
7406 | return static_cast< ::proxima::be::proto::OperationType >(operation_type_); |
7407 | } |
7408 | inline ::proxima::be::proto::OperationType WriteRequest_Row::operation_type() const { |
7409 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.Row.operation_type) |
7410 | return _internal_operation_type(); |
7411 | } |
7412 | inline void WriteRequest_Row::_internal_set_operation_type(::proxima::be::proto::OperationType value) { |
7413 | |
7414 | operation_type_ = value; |
7415 | } |
7416 | inline void WriteRequest_Row::set_operation_type(::proxima::be::proto::OperationType value) { |
7417 | _internal_set_operation_type(value); |
7418 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.Row.operation_type) |
7419 | } |
7420 | |
7421 | // .proxima.be.proto.GenericValueList forward_column_values = 3; |
7422 | inline bool WriteRequest_Row::_internal_has_forward_column_values() const { |
7423 | return this != internal_default_instance() && forward_column_values_ != nullptr; |
7424 | } |
7425 | inline bool WriteRequest_Row::has_forward_column_values() const { |
7426 | return _internal_has_forward_column_values(); |
7427 | } |
7428 | inline const ::proxima::be::proto::GenericValueList& WriteRequest_Row::_internal_forward_column_values() const { |
7429 | const ::proxima::be::proto::GenericValueList* p = forward_column_values_; |
7430 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::GenericValueList*>( |
7431 | &::proxima::be::proto::_GenericValueList_default_instance_); |
7432 | } |
7433 | inline const ::proxima::be::proto::GenericValueList& WriteRequest_Row::forward_column_values() const { |
7434 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.Row.forward_column_values) |
7435 | return _internal_forward_column_values(); |
7436 | } |
7437 | inline ::proxima::be::proto::GenericValueList* WriteRequest_Row::release_forward_column_values() { |
7438 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.Row.forward_column_values) |
7439 | |
7440 | ::proxima::be::proto::GenericValueList* temp = forward_column_values_; |
7441 | forward_column_values_ = nullptr; |
7442 | return temp; |
7443 | } |
7444 | inline ::proxima::be::proto::GenericValueList* WriteRequest_Row::_internal_mutable_forward_column_values() { |
7445 | |
7446 | if (forward_column_values_ == nullptr) { |
7447 | auto* p = CreateMaybeMessage<::proxima::be::proto::GenericValueList>(GetArenaNoVirtual()); |
7448 | forward_column_values_ = p; |
7449 | } |
7450 | return forward_column_values_; |
7451 | } |
7452 | inline ::proxima::be::proto::GenericValueList* WriteRequest_Row::mutable_forward_column_values() { |
7453 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.Row.forward_column_values) |
7454 | return _internal_mutable_forward_column_values(); |
7455 | } |
7456 | inline void WriteRequest_Row::set_allocated_forward_column_values(::proxima::be::proto::GenericValueList* forward_column_values) { |
7457 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
7458 | if (message_arena == nullptr) { |
7459 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(forward_column_values_); |
7460 | } |
7461 | if (forward_column_values) { |
7462 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
7463 | if (message_arena != submessage_arena) { |
7464 | forward_column_values = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7465 | message_arena, forward_column_values, submessage_arena); |
7466 | } |
7467 | |
7468 | } else { |
7469 | |
7470 | } |
7471 | forward_column_values_ = forward_column_values; |
7472 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.Row.forward_column_values) |
7473 | } |
7474 | |
7475 | // .proxima.be.proto.GenericValueList index_column_values = 4; |
7476 | inline bool WriteRequest_Row::_internal_has_index_column_values() const { |
7477 | return this != internal_default_instance() && index_column_values_ != nullptr; |
7478 | } |
7479 | inline bool WriteRequest_Row::has_index_column_values() const { |
7480 | return _internal_has_index_column_values(); |
7481 | } |
7482 | inline const ::proxima::be::proto::GenericValueList& WriteRequest_Row::_internal_index_column_values() const { |
7483 | const ::proxima::be::proto::GenericValueList* p = index_column_values_; |
7484 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::GenericValueList*>( |
7485 | &::proxima::be::proto::_GenericValueList_default_instance_); |
7486 | } |
7487 | inline const ::proxima::be::proto::GenericValueList& WriteRequest_Row::index_column_values() const { |
7488 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.Row.index_column_values) |
7489 | return _internal_index_column_values(); |
7490 | } |
7491 | inline ::proxima::be::proto::GenericValueList* WriteRequest_Row::release_index_column_values() { |
7492 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.Row.index_column_values) |
7493 | |
7494 | ::proxima::be::proto::GenericValueList* temp = index_column_values_; |
7495 | index_column_values_ = nullptr; |
7496 | return temp; |
7497 | } |
7498 | inline ::proxima::be::proto::GenericValueList* WriteRequest_Row::_internal_mutable_index_column_values() { |
7499 | |
7500 | if (index_column_values_ == nullptr) { |
7501 | auto* p = CreateMaybeMessage<::proxima::be::proto::GenericValueList>(GetArenaNoVirtual()); |
7502 | index_column_values_ = p; |
7503 | } |
7504 | return index_column_values_; |
7505 | } |
7506 | inline ::proxima::be::proto::GenericValueList* WriteRequest_Row::mutable_index_column_values() { |
7507 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.Row.index_column_values) |
7508 | return _internal_mutable_index_column_values(); |
7509 | } |
7510 | inline void WriteRequest_Row::set_allocated_index_column_values(::proxima::be::proto::GenericValueList* index_column_values) { |
7511 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
7512 | if (message_arena == nullptr) { |
7513 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(index_column_values_); |
7514 | } |
7515 | if (index_column_values) { |
7516 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
7517 | if (message_arena != submessage_arena) { |
7518 | index_column_values = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7519 | message_arena, index_column_values, submessage_arena); |
7520 | } |
7521 | |
7522 | } else { |
7523 | |
7524 | } |
7525 | index_column_values_ = index_column_values; |
7526 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.Row.index_column_values) |
7527 | } |
7528 | |
7529 | // .proxima.be.proto.LsnContext lsn_context = 5; |
7530 | inline bool WriteRequest_Row::_internal_has_lsn_context() const { |
7531 | return this != internal_default_instance() && lsn_context_ != nullptr; |
7532 | } |
7533 | inline bool WriteRequest_Row::has_lsn_context() const { |
7534 | return _internal_has_lsn_context(); |
7535 | } |
7536 | inline void WriteRequest_Row::clear_lsn_context() { |
7537 | if (GetArenaNoVirtual() == nullptr && lsn_context_ != nullptr) { |
7538 | delete lsn_context_; |
7539 | } |
7540 | lsn_context_ = nullptr; |
7541 | } |
7542 | inline const ::proxima::be::proto::LsnContext& WriteRequest_Row::_internal_lsn_context() const { |
7543 | const ::proxima::be::proto::LsnContext* p = lsn_context_; |
7544 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::LsnContext*>( |
7545 | &::proxima::be::proto::_LsnContext_default_instance_); |
7546 | } |
7547 | inline const ::proxima::be::proto::LsnContext& WriteRequest_Row::lsn_context() const { |
7548 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.Row.lsn_context) |
7549 | return _internal_lsn_context(); |
7550 | } |
7551 | inline ::proxima::be::proto::LsnContext* WriteRequest_Row::release_lsn_context() { |
7552 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.Row.lsn_context) |
7553 | |
7554 | ::proxima::be::proto::LsnContext* temp = lsn_context_; |
7555 | lsn_context_ = nullptr; |
7556 | return temp; |
7557 | } |
7558 | inline ::proxima::be::proto::LsnContext* WriteRequest_Row::_internal_mutable_lsn_context() { |
7559 | |
7560 | if (lsn_context_ == nullptr) { |
7561 | auto* p = CreateMaybeMessage<::proxima::be::proto::LsnContext>(GetArenaNoVirtual()); |
7562 | lsn_context_ = p; |
7563 | } |
7564 | return lsn_context_; |
7565 | } |
7566 | inline ::proxima::be::proto::LsnContext* WriteRequest_Row::mutable_lsn_context() { |
7567 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.Row.lsn_context) |
7568 | return _internal_mutable_lsn_context(); |
7569 | } |
7570 | inline void WriteRequest_Row::set_allocated_lsn_context(::proxima::be::proto::LsnContext* lsn_context) { |
7571 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
7572 | if (message_arena == nullptr) { |
7573 | delete lsn_context_; |
7574 | } |
7575 | if (lsn_context) { |
7576 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
7577 | if (message_arena != submessage_arena) { |
7578 | lsn_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7579 | message_arena, lsn_context, submessage_arena); |
7580 | } |
7581 | |
7582 | } else { |
7583 | |
7584 | } |
7585 | lsn_context_ = lsn_context; |
7586 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.Row.lsn_context) |
7587 | } |
7588 | |
7589 | // ------------------------------------------------------------------- |
7590 | |
7591 | // WriteRequest_IndexColumnMeta |
7592 | |
7593 | // string column_name = 1; |
7594 | inline void WriteRequest_IndexColumnMeta::clear_column_name() { |
7595 | column_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7596 | } |
7597 | inline const std::string& WriteRequest_IndexColumnMeta::column_name() const { |
7598 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7599 | return _internal_column_name(); |
7600 | } |
7601 | inline void WriteRequest_IndexColumnMeta::set_column_name(const std::string& value) { |
7602 | _internal_set_column_name(value); |
7603 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7604 | } |
7605 | inline std::string* WriteRequest_IndexColumnMeta::mutable_column_name() { |
7606 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7607 | return _internal_mutable_column_name(); |
7608 | } |
7609 | inline const std::string& WriteRequest_IndexColumnMeta::_internal_column_name() const { |
7610 | return column_name_.GetNoArena(); |
7611 | } |
7612 | inline void WriteRequest_IndexColumnMeta::_internal_set_column_name(const std::string& value) { |
7613 | |
7614 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
7615 | } |
7616 | inline void WriteRequest_IndexColumnMeta::set_column_name(std::string&& value) { |
7617 | |
7618 | column_name_.SetNoArena( |
7619 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7620 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7621 | } |
7622 | inline void WriteRequest_IndexColumnMeta::set_column_name(const char* value) { |
7623 | GOOGLE_DCHECK(value != nullptr); |
7624 | |
7625 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7626 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7627 | } |
7628 | inline void WriteRequest_IndexColumnMeta::set_column_name(const char* value, size_t size) { |
7629 | |
7630 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
7631 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7632 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7633 | } |
7634 | inline std::string* WriteRequest_IndexColumnMeta::_internal_mutable_column_name() { |
7635 | |
7636 | return column_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7637 | } |
7638 | inline std::string* WriteRequest_IndexColumnMeta::release_column_name() { |
7639 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7640 | |
7641 | return column_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7642 | } |
7643 | inline void WriteRequest_IndexColumnMeta::set_allocated_column_name(std::string* column_name) { |
7644 | if (column_name != nullptr) { |
7645 | |
7646 | } else { |
7647 | |
7648 | } |
7649 | column_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), column_name); |
7650 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.IndexColumnMeta.column_name) |
7651 | } |
7652 | |
7653 | // .proxima.be.proto.DataType data_type = 2; |
7654 | inline void WriteRequest_IndexColumnMeta::clear_data_type() { |
7655 | data_type_ = 0; |
7656 | } |
7657 | inline ::proxima::be::proto::DataType WriteRequest_IndexColumnMeta::_internal_data_type() const { |
7658 | return static_cast< ::proxima::be::proto::DataType >(data_type_); |
7659 | } |
7660 | inline ::proxima::be::proto::DataType WriteRequest_IndexColumnMeta::data_type() const { |
7661 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.IndexColumnMeta.data_type) |
7662 | return _internal_data_type(); |
7663 | } |
7664 | inline void WriteRequest_IndexColumnMeta::_internal_set_data_type(::proxima::be::proto::DataType value) { |
7665 | |
7666 | data_type_ = value; |
7667 | } |
7668 | inline void WriteRequest_IndexColumnMeta::set_data_type(::proxima::be::proto::DataType value) { |
7669 | _internal_set_data_type(value); |
7670 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.IndexColumnMeta.data_type) |
7671 | } |
7672 | |
7673 | // uint32 dimension = 3; |
7674 | inline void WriteRequest_IndexColumnMeta::clear_dimension() { |
7675 | dimension_ = 0u; |
7676 | } |
7677 | inline ::PROTOBUF_NAMESPACE_ID::uint32 WriteRequest_IndexColumnMeta::_internal_dimension() const { |
7678 | return dimension_; |
7679 | } |
7680 | inline ::PROTOBUF_NAMESPACE_ID::uint32 WriteRequest_IndexColumnMeta::dimension() const { |
7681 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.IndexColumnMeta.dimension) |
7682 | return _internal_dimension(); |
7683 | } |
7684 | inline void WriteRequest_IndexColumnMeta::_internal_set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
7685 | |
7686 | dimension_ = value; |
7687 | } |
7688 | inline void WriteRequest_IndexColumnMeta::set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
7689 | _internal_set_dimension(value); |
7690 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.IndexColumnMeta.dimension) |
7691 | } |
7692 | |
7693 | // ------------------------------------------------------------------- |
7694 | |
7695 | // WriteRequest_RowMeta |
7696 | |
7697 | // repeated string forward_column_names = 1; |
7698 | inline int WriteRequest_RowMeta::_internal_forward_column_names_size() const { |
7699 | return forward_column_names_.size(); |
7700 | } |
7701 | inline int WriteRequest_RowMeta::forward_column_names_size() const { |
7702 | return _internal_forward_column_names_size(); |
7703 | } |
7704 | inline void WriteRequest_RowMeta::clear_forward_column_names() { |
7705 | forward_column_names_.Clear(); |
7706 | } |
7707 | inline std::string* WriteRequest_RowMeta::add_forward_column_names() { |
7708 | // @@protoc_insertion_point(field_add_mutable:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7709 | return _internal_add_forward_column_names(); |
7710 | } |
7711 | inline const std::string& WriteRequest_RowMeta::_internal_forward_column_names(int index) const { |
7712 | return forward_column_names_.Get(index); |
7713 | } |
7714 | inline const std::string& WriteRequest_RowMeta::forward_column_names(int index) const { |
7715 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7716 | return _internal_forward_column_names(index); |
7717 | } |
7718 | inline std::string* WriteRequest_RowMeta::mutable_forward_column_names(int index) { |
7719 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7720 | return forward_column_names_.Mutable(index); |
7721 | } |
7722 | inline void WriteRequest_RowMeta::set_forward_column_names(int index, const std::string& value) { |
7723 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7724 | forward_column_names_.Mutable(index)->assign(value); |
7725 | } |
7726 | inline void WriteRequest_RowMeta::set_forward_column_names(int index, std::string&& value) { |
7727 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7728 | forward_column_names_.Mutable(index)->assign(std::move(value)); |
7729 | } |
7730 | inline void WriteRequest_RowMeta::set_forward_column_names(int index, const char* value) { |
7731 | GOOGLE_DCHECK(value != nullptr); |
7732 | forward_column_names_.Mutable(index)->assign(value); |
7733 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7734 | } |
7735 | inline void WriteRequest_RowMeta::set_forward_column_names(int index, const char* value, size_t size) { |
7736 | forward_column_names_.Mutable(index)->assign( |
7737 | reinterpret_cast<const char*>(value), size); |
7738 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7739 | } |
7740 | inline std::string* WriteRequest_RowMeta::_internal_add_forward_column_names() { |
7741 | return forward_column_names_.Add(); |
7742 | } |
7743 | inline void WriteRequest_RowMeta::add_forward_column_names(const std::string& value) { |
7744 | forward_column_names_.Add()->assign(value); |
7745 | // @@protoc_insertion_point(field_add:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7746 | } |
7747 | inline void WriteRequest_RowMeta::add_forward_column_names(std::string&& value) { |
7748 | forward_column_names_.Add(std::move(value)); |
7749 | // @@protoc_insertion_point(field_add:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7750 | } |
7751 | inline void WriteRequest_RowMeta::add_forward_column_names(const char* value) { |
7752 | GOOGLE_DCHECK(value != nullptr); |
7753 | forward_column_names_.Add()->assign(value); |
7754 | // @@protoc_insertion_point(field_add_char:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7755 | } |
7756 | inline void WriteRequest_RowMeta::add_forward_column_names(const char* value, size_t size) { |
7757 | forward_column_names_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7758 | // @@protoc_insertion_point(field_add_pointer:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7759 | } |
7760 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
7761 | WriteRequest_RowMeta::forward_column_names() const { |
7762 | // @@protoc_insertion_point(field_list:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7763 | return forward_column_names_; |
7764 | } |
7765 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
7766 | WriteRequest_RowMeta::mutable_forward_column_names() { |
7767 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.WriteRequest.RowMeta.forward_column_names) |
7768 | return &forward_column_names_; |
7769 | } |
7770 | |
7771 | // repeated .proxima.be.proto.WriteRequest.IndexColumnMeta index_column_metas = 2; |
7772 | inline int WriteRequest_RowMeta::_internal_index_column_metas_size() const { |
7773 | return index_column_metas_.size(); |
7774 | } |
7775 | inline int WriteRequest_RowMeta::index_column_metas_size() const { |
7776 | return _internal_index_column_metas_size(); |
7777 | } |
7778 | inline void WriteRequest_RowMeta::clear_index_column_metas() { |
7779 | index_column_metas_.Clear(); |
7780 | } |
7781 | inline ::proxima::be::proto::WriteRequest_IndexColumnMeta* WriteRequest_RowMeta::mutable_index_column_metas(int index) { |
7782 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.RowMeta.index_column_metas) |
7783 | return index_column_metas_.Mutable(index); |
7784 | } |
7785 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_IndexColumnMeta >* |
7786 | WriteRequest_RowMeta::mutable_index_column_metas() { |
7787 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.WriteRequest.RowMeta.index_column_metas) |
7788 | return &index_column_metas_; |
7789 | } |
7790 | inline const ::proxima::be::proto::WriteRequest_IndexColumnMeta& WriteRequest_RowMeta::_internal_index_column_metas(int index) const { |
7791 | return index_column_metas_.Get(index); |
7792 | } |
7793 | inline const ::proxima::be::proto::WriteRequest_IndexColumnMeta& WriteRequest_RowMeta::index_column_metas(int index) const { |
7794 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.RowMeta.index_column_metas) |
7795 | return _internal_index_column_metas(index); |
7796 | } |
7797 | inline ::proxima::be::proto::WriteRequest_IndexColumnMeta* WriteRequest_RowMeta::_internal_add_index_column_metas() { |
7798 | return index_column_metas_.Add(); |
7799 | } |
7800 | inline ::proxima::be::proto::WriteRequest_IndexColumnMeta* WriteRequest_RowMeta::add_index_column_metas() { |
7801 | // @@protoc_insertion_point(field_add:proxima.be.proto.WriteRequest.RowMeta.index_column_metas) |
7802 | return _internal_add_index_column_metas(); |
7803 | } |
7804 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_IndexColumnMeta >& |
7805 | WriteRequest_RowMeta::index_column_metas() const { |
7806 | // @@protoc_insertion_point(field_list:proxima.be.proto.WriteRequest.RowMeta.index_column_metas) |
7807 | return index_column_metas_; |
7808 | } |
7809 | |
7810 | // ------------------------------------------------------------------- |
7811 | |
7812 | // WriteRequest |
7813 | |
7814 | // string collection_name = 1; |
7815 | inline void WriteRequest::clear_collection_name() { |
7816 | collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7817 | } |
7818 | inline const std::string& WriteRequest::collection_name() const { |
7819 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.collection_name) |
7820 | return _internal_collection_name(); |
7821 | } |
7822 | inline void WriteRequest::set_collection_name(const std::string& value) { |
7823 | _internal_set_collection_name(value); |
7824 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.collection_name) |
7825 | } |
7826 | inline std::string* WriteRequest::mutable_collection_name() { |
7827 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.collection_name) |
7828 | return _internal_mutable_collection_name(); |
7829 | } |
7830 | inline const std::string& WriteRequest::_internal_collection_name() const { |
7831 | return collection_name_.GetNoArena(); |
7832 | } |
7833 | inline void WriteRequest::_internal_set_collection_name(const std::string& value) { |
7834 | |
7835 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
7836 | } |
7837 | inline void WriteRequest::set_collection_name(std::string&& value) { |
7838 | |
7839 | collection_name_.SetNoArena( |
7840 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
7841 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.WriteRequest.collection_name) |
7842 | } |
7843 | inline void WriteRequest::set_collection_name(const char* value) { |
7844 | GOOGLE_DCHECK(value != nullptr); |
7845 | |
7846 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
7847 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.WriteRequest.collection_name) |
7848 | } |
7849 | inline void WriteRequest::set_collection_name(const char* value, size_t size) { |
7850 | |
7851 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
7852 | ::std::string(reinterpret_cast<const char*>(value), size)); |
7853 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.WriteRequest.collection_name) |
7854 | } |
7855 | inline std::string* WriteRequest::_internal_mutable_collection_name() { |
7856 | |
7857 | return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7858 | } |
7859 | inline std::string* WriteRequest::release_collection_name() { |
7860 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.collection_name) |
7861 | |
7862 | return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7863 | } |
7864 | inline void WriteRequest::set_allocated_collection_name(std::string* collection_name) { |
7865 | if (collection_name != nullptr) { |
7866 | |
7867 | } else { |
7868 | |
7869 | } |
7870 | collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); |
7871 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.collection_name) |
7872 | } |
7873 | |
7874 | // .proxima.be.proto.WriteRequest.RowMeta row_meta = 2; |
7875 | inline bool WriteRequest::_internal_has_row_meta() const { |
7876 | return this != internal_default_instance() && row_meta_ != nullptr; |
7877 | } |
7878 | inline bool WriteRequest::has_row_meta() const { |
7879 | return _internal_has_row_meta(); |
7880 | } |
7881 | inline void WriteRequest::clear_row_meta() { |
7882 | if (GetArenaNoVirtual() == nullptr && row_meta_ != nullptr) { |
7883 | delete row_meta_; |
7884 | } |
7885 | row_meta_ = nullptr; |
7886 | } |
7887 | inline const ::proxima::be::proto::WriteRequest_RowMeta& WriteRequest::_internal_row_meta() const { |
7888 | const ::proxima::be::proto::WriteRequest_RowMeta* p = row_meta_; |
7889 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::WriteRequest_RowMeta*>( |
7890 | &::proxima::be::proto::_WriteRequest_RowMeta_default_instance_); |
7891 | } |
7892 | inline const ::proxima::be::proto::WriteRequest_RowMeta& WriteRequest::row_meta() const { |
7893 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.row_meta) |
7894 | return _internal_row_meta(); |
7895 | } |
7896 | inline ::proxima::be::proto::WriteRequest_RowMeta* WriteRequest::release_row_meta() { |
7897 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.row_meta) |
7898 | |
7899 | ::proxima::be::proto::WriteRequest_RowMeta* temp = row_meta_; |
7900 | row_meta_ = nullptr; |
7901 | return temp; |
7902 | } |
7903 | inline ::proxima::be::proto::WriteRequest_RowMeta* WriteRequest::_internal_mutable_row_meta() { |
7904 | |
7905 | if (row_meta_ == nullptr) { |
7906 | auto* p = CreateMaybeMessage<::proxima::be::proto::WriteRequest_RowMeta>(GetArenaNoVirtual()); |
7907 | row_meta_ = p; |
7908 | } |
7909 | return row_meta_; |
7910 | } |
7911 | inline ::proxima::be::proto::WriteRequest_RowMeta* WriteRequest::mutable_row_meta() { |
7912 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.row_meta) |
7913 | return _internal_mutable_row_meta(); |
7914 | } |
7915 | inline void WriteRequest::set_allocated_row_meta(::proxima::be::proto::WriteRequest_RowMeta* row_meta) { |
7916 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
7917 | if (message_arena == nullptr) { |
7918 | delete row_meta_; |
7919 | } |
7920 | if (row_meta) { |
7921 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
7922 | if (message_arena != submessage_arena) { |
7923 | row_meta = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7924 | message_arena, row_meta, submessage_arena); |
7925 | } |
7926 | |
7927 | } else { |
7928 | |
7929 | } |
7930 | row_meta_ = row_meta; |
7931 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.row_meta) |
7932 | } |
7933 | |
7934 | // repeated .proxima.be.proto.WriteRequest.Row rows = 3; |
7935 | inline int WriteRequest::_internal_rows_size() const { |
7936 | return rows_.size(); |
7937 | } |
7938 | inline int WriteRequest::rows_size() const { |
7939 | return _internal_rows_size(); |
7940 | } |
7941 | inline void WriteRequest::clear_rows() { |
7942 | rows_.Clear(); |
7943 | } |
7944 | inline ::proxima::be::proto::WriteRequest_Row* WriteRequest::mutable_rows(int index) { |
7945 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.rows) |
7946 | return rows_.Mutable(index); |
7947 | } |
7948 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_Row >* |
7949 | WriteRequest::mutable_rows() { |
7950 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.WriteRequest.rows) |
7951 | return &rows_; |
7952 | } |
7953 | inline const ::proxima::be::proto::WriteRequest_Row& WriteRequest::_internal_rows(int index) const { |
7954 | return rows_.Get(index); |
7955 | } |
7956 | inline const ::proxima::be::proto::WriteRequest_Row& WriteRequest::rows(int index) const { |
7957 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.rows) |
7958 | return _internal_rows(index); |
7959 | } |
7960 | inline ::proxima::be::proto::WriteRequest_Row* WriteRequest::_internal_add_rows() { |
7961 | return rows_.Add(); |
7962 | } |
7963 | inline ::proxima::be::proto::WriteRequest_Row* WriteRequest::add_rows() { |
7964 | // @@protoc_insertion_point(field_add:proxima.be.proto.WriteRequest.rows) |
7965 | return _internal_add_rows(); |
7966 | } |
7967 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::WriteRequest_Row >& |
7968 | WriteRequest::rows() const { |
7969 | // @@protoc_insertion_point(field_list:proxima.be.proto.WriteRequest.rows) |
7970 | return rows_; |
7971 | } |
7972 | |
7973 | // string request_id = 4; |
7974 | inline void WriteRequest::clear_request_id() { |
7975 | request_id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
7976 | } |
7977 | inline const std::string& WriteRequest::request_id() const { |
7978 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.request_id) |
7979 | return _internal_request_id(); |
7980 | } |
7981 | inline void WriteRequest::set_request_id(const std::string& value) { |
7982 | _internal_set_request_id(value); |
7983 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.request_id) |
7984 | } |
7985 | inline std::string* WriteRequest::mutable_request_id() { |
7986 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.WriteRequest.request_id) |
7987 | return _internal_mutable_request_id(); |
7988 | } |
7989 | inline const std::string& WriteRequest::_internal_request_id() const { |
7990 | return request_id_.GetNoArena(); |
7991 | } |
7992 | inline void WriteRequest::_internal_set_request_id(const std::string& value) { |
7993 | |
7994 | request_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
7995 | } |
7996 | inline void WriteRequest::set_request_id(std::string&& value) { |
7997 | |
7998 | request_id_.SetNoArena( |
7999 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8000 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.WriteRequest.request_id) |
8001 | } |
8002 | inline void WriteRequest::set_request_id(const char* value) { |
8003 | GOOGLE_DCHECK(value != nullptr); |
8004 | |
8005 | request_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8006 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.WriteRequest.request_id) |
8007 | } |
8008 | inline void WriteRequest::set_request_id(const char* value, size_t size) { |
8009 | |
8010 | request_id_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8011 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8012 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.WriteRequest.request_id) |
8013 | } |
8014 | inline std::string* WriteRequest::_internal_mutable_request_id() { |
8015 | |
8016 | return request_id_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8017 | } |
8018 | inline std::string* WriteRequest::release_request_id() { |
8019 | // @@protoc_insertion_point(field_release:proxima.be.proto.WriteRequest.request_id) |
8020 | |
8021 | return request_id_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8022 | } |
8023 | inline void WriteRequest::set_allocated_request_id(std::string* request_id) { |
8024 | if (request_id != nullptr) { |
8025 | |
8026 | } else { |
8027 | |
8028 | } |
8029 | request_id_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_id); |
8030 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.WriteRequest.request_id) |
8031 | } |
8032 | |
8033 | // uint64 magic_number = 5; |
8034 | inline void WriteRequest::clear_magic_number() { |
8035 | magic_number_ = PROTOBUF_ULONGLONG(0); |
8036 | } |
8037 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::_internal_magic_number() const { |
8038 | return magic_number_; |
8039 | } |
8040 | inline ::PROTOBUF_NAMESPACE_ID::uint64 WriteRequest::magic_number() const { |
8041 | // @@protoc_insertion_point(field_get:proxima.be.proto.WriteRequest.magic_number) |
8042 | return _internal_magic_number(); |
8043 | } |
8044 | inline void WriteRequest::_internal_set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
8045 | |
8046 | magic_number_ = value; |
8047 | } |
8048 | inline void WriteRequest::set_magic_number(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
8049 | _internal_set_magic_number(value); |
8050 | // @@protoc_insertion_point(field_set:proxima.be.proto.WriteRequest.magic_number) |
8051 | } |
8052 | |
8053 | // ------------------------------------------------------------------- |
8054 | |
8055 | // Document |
8056 | |
8057 | // uint64 primary_key = 1; |
8058 | inline void Document::clear_primary_key() { |
8059 | primary_key_ = PROTOBUF_ULONGLONG(0); |
8060 | } |
8061 | inline ::PROTOBUF_NAMESPACE_ID::uint64 Document::_internal_primary_key() const { |
8062 | return primary_key_; |
8063 | } |
8064 | inline ::PROTOBUF_NAMESPACE_ID::uint64 Document::primary_key() const { |
8065 | // @@protoc_insertion_point(field_get:proxima.be.proto.Document.primary_key) |
8066 | return _internal_primary_key(); |
8067 | } |
8068 | inline void Document::_internal_set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
8069 | |
8070 | primary_key_ = value; |
8071 | } |
8072 | inline void Document::set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
8073 | _internal_set_primary_key(value); |
8074 | // @@protoc_insertion_point(field_set:proxima.be.proto.Document.primary_key) |
8075 | } |
8076 | |
8077 | // float score = 2; |
8078 | inline void Document::clear_score() { |
8079 | score_ = 0; |
8080 | } |
8081 | inline float Document::_internal_score() const { |
8082 | return score_; |
8083 | } |
8084 | inline float Document::score() const { |
8085 | // @@protoc_insertion_point(field_get:proxima.be.proto.Document.score) |
8086 | return _internal_score(); |
8087 | } |
8088 | inline void Document::_internal_set_score(float value) { |
8089 | |
8090 | score_ = value; |
8091 | } |
8092 | inline void Document::set_score(float value) { |
8093 | _internal_set_score(value); |
8094 | // @@protoc_insertion_point(field_set:proxima.be.proto.Document.score) |
8095 | } |
8096 | |
8097 | // repeated .proxima.be.proto.GenericKeyValue forward_column_values = 3; |
8098 | inline int Document::_internal_forward_column_values_size() const { |
8099 | return forward_column_values_.size(); |
8100 | } |
8101 | inline int Document::forward_column_values_size() const { |
8102 | return _internal_forward_column_values_size(); |
8103 | } |
8104 | inline ::proxima::be::proto::GenericKeyValue* Document::mutable_forward_column_values(int index) { |
8105 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.Document.forward_column_values) |
8106 | return forward_column_values_.Mutable(index); |
8107 | } |
8108 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::GenericKeyValue >* |
8109 | Document::mutable_forward_column_values() { |
8110 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.Document.forward_column_values) |
8111 | return &forward_column_values_; |
8112 | } |
8113 | inline const ::proxima::be::proto::GenericKeyValue& Document::_internal_forward_column_values(int index) const { |
8114 | return forward_column_values_.Get(index); |
8115 | } |
8116 | inline const ::proxima::be::proto::GenericKeyValue& Document::forward_column_values(int index) const { |
8117 | // @@protoc_insertion_point(field_get:proxima.be.proto.Document.forward_column_values) |
8118 | return _internal_forward_column_values(index); |
8119 | } |
8120 | inline ::proxima::be::proto::GenericKeyValue* Document::_internal_add_forward_column_values() { |
8121 | return forward_column_values_.Add(); |
8122 | } |
8123 | inline ::proxima::be::proto::GenericKeyValue* Document::add_forward_column_values() { |
8124 | // @@protoc_insertion_point(field_add:proxima.be.proto.Document.forward_column_values) |
8125 | return _internal_add_forward_column_values(); |
8126 | } |
8127 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::GenericKeyValue >& |
8128 | Document::forward_column_values() const { |
8129 | // @@protoc_insertion_point(field_list:proxima.be.proto.Document.forward_column_values) |
8130 | return forward_column_values_; |
8131 | } |
8132 | |
8133 | // ------------------------------------------------------------------- |
8134 | |
8135 | // QueryRequest_KnnQueryParam |
8136 | |
8137 | // string column_name = 1; |
8138 | inline void QueryRequest_KnnQueryParam::clear_column_name() { |
8139 | column_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8140 | } |
8141 | inline const std::string& QueryRequest_KnnQueryParam::column_name() const { |
8142 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8143 | return _internal_column_name(); |
8144 | } |
8145 | inline void QueryRequest_KnnQueryParam::set_column_name(const std::string& value) { |
8146 | _internal_set_column_name(value); |
8147 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8148 | } |
8149 | inline std::string* QueryRequest_KnnQueryParam::mutable_column_name() { |
8150 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8151 | return _internal_mutable_column_name(); |
8152 | } |
8153 | inline const std::string& QueryRequest_KnnQueryParam::_internal_column_name() const { |
8154 | return column_name_.GetNoArena(); |
8155 | } |
8156 | inline void QueryRequest_KnnQueryParam::_internal_set_column_name(const std::string& value) { |
8157 | |
8158 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
8159 | } |
8160 | inline void QueryRequest_KnnQueryParam::set_column_name(std::string&& value) { |
8161 | |
8162 | column_name_.SetNoArena( |
8163 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8164 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8165 | } |
8166 | inline void QueryRequest_KnnQueryParam::set_column_name(const char* value) { |
8167 | GOOGLE_DCHECK(value != nullptr); |
8168 | |
8169 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8170 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8171 | } |
8172 | inline void QueryRequest_KnnQueryParam::set_column_name(const char* value, size_t size) { |
8173 | |
8174 | column_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8175 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8176 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8177 | } |
8178 | inline std::string* QueryRequest_KnnQueryParam::_internal_mutable_column_name() { |
8179 | |
8180 | return column_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8181 | } |
8182 | inline std::string* QueryRequest_KnnQueryParam::release_column_name() { |
8183 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8184 | |
8185 | return column_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8186 | } |
8187 | inline void QueryRequest_KnnQueryParam::set_allocated_column_name(std::string* column_name) { |
8188 | if (column_name != nullptr) { |
8189 | |
8190 | } else { |
8191 | |
8192 | } |
8193 | column_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), column_name); |
8194 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.QueryRequest.KnnQueryParam.column_name) |
8195 | } |
8196 | |
8197 | // uint32 topk = 2; |
8198 | inline void QueryRequest_KnnQueryParam::clear_topk() { |
8199 | topk_ = 0u; |
8200 | } |
8201 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryRequest_KnnQueryParam::_internal_topk() const { |
8202 | return topk_; |
8203 | } |
8204 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryRequest_KnnQueryParam::topk() const { |
8205 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.topk) |
8206 | return _internal_topk(); |
8207 | } |
8208 | inline void QueryRequest_KnnQueryParam::_internal_set_topk(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
8209 | |
8210 | topk_ = value; |
8211 | } |
8212 | inline void QueryRequest_KnnQueryParam::set_topk(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
8213 | _internal_set_topk(value); |
8214 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.topk) |
8215 | } |
8216 | |
8217 | // bytes features = 3; |
8218 | inline bool QueryRequest_KnnQueryParam::_internal_has_features() const { |
8219 | return features_value_case() == kFeatures; |
8220 | } |
8221 | inline void QueryRequest_KnnQueryParam::set_has_features() { |
8222 | _oneof_case_[0] = kFeatures; |
8223 | } |
8224 | inline void QueryRequest_KnnQueryParam::clear_features() { |
8225 | if (_internal_has_features()) { |
8226 | features_value_.features_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8227 | clear_has_features_value(); |
8228 | } |
8229 | } |
8230 | inline const std::string& QueryRequest_KnnQueryParam::features() const { |
8231 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8232 | return _internal_features(); |
8233 | } |
8234 | inline void QueryRequest_KnnQueryParam::set_features(const std::string& value) { |
8235 | _internal_set_features(value); |
8236 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8237 | } |
8238 | inline std::string* QueryRequest_KnnQueryParam::mutable_features() { |
8239 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8240 | return _internal_mutable_features(); |
8241 | } |
8242 | inline const std::string& QueryRequest_KnnQueryParam::_internal_features() const { |
8243 | if (_internal_has_features()) { |
8244 | return features_value_.features_.GetNoArena(); |
8245 | } |
8246 | return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); |
8247 | } |
8248 | inline void QueryRequest_KnnQueryParam::_internal_set_features(const std::string& value) { |
8249 | if (!_internal_has_features()) { |
8250 | clear_features_value(); |
8251 | set_has_features(); |
8252 | features_value_.features_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8253 | } |
8254 | features_value_.features_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
8255 | } |
8256 | inline void QueryRequest_KnnQueryParam::set_features(std::string&& value) { |
8257 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8258 | if (!_internal_has_features()) { |
8259 | clear_features_value(); |
8260 | set_has_features(); |
8261 | features_value_.features_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8262 | } |
8263 | features_value_.features_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8264 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8265 | } |
8266 | inline void QueryRequest_KnnQueryParam::set_features(const char* value) { |
8267 | GOOGLE_DCHECK(value != nullptr); |
8268 | if (!_internal_has_features()) { |
8269 | clear_features_value(); |
8270 | set_has_features(); |
8271 | features_value_.features_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8272 | } |
8273 | features_value_.features_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8274 | ::std::string(value)); |
8275 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8276 | } |
8277 | inline void QueryRequest_KnnQueryParam::set_features(const void* value, size_t size) { |
8278 | if (!_internal_has_features()) { |
8279 | clear_features_value(); |
8280 | set_has_features(); |
8281 | features_value_.features_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8282 | } |
8283 | features_value_.features_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
8284 | reinterpret_cast<const char*>(value), size)); |
8285 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8286 | } |
8287 | inline std::string* QueryRequest_KnnQueryParam::_internal_mutable_features() { |
8288 | if (!_internal_has_features()) { |
8289 | clear_features_value(); |
8290 | set_has_features(); |
8291 | features_value_.features_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8292 | } |
8293 | return features_value_.features_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8294 | } |
8295 | inline std::string* QueryRequest_KnnQueryParam::release_features() { |
8296 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8297 | if (_internal_has_features()) { |
8298 | clear_has_features_value(); |
8299 | return features_value_.features_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8300 | } else { |
8301 | return nullptr; |
8302 | } |
8303 | } |
8304 | inline void QueryRequest_KnnQueryParam::set_allocated_features(std::string* features) { |
8305 | if (has_features_value()) { |
8306 | clear_features_value(); |
8307 | } |
8308 | if (features != nullptr) { |
8309 | set_has_features(); |
8310 | features_value_.features_.UnsafeSetDefault(features); |
8311 | } |
8312 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.QueryRequest.KnnQueryParam.features) |
8313 | } |
8314 | |
8315 | // string matrix = 4; |
8316 | inline bool QueryRequest_KnnQueryParam::_internal_has_matrix() const { |
8317 | return features_value_case() == kMatrix; |
8318 | } |
8319 | inline void QueryRequest_KnnQueryParam::set_has_matrix() { |
8320 | _oneof_case_[0] = kMatrix; |
8321 | } |
8322 | inline void QueryRequest_KnnQueryParam::clear_matrix() { |
8323 | if (_internal_has_matrix()) { |
8324 | features_value_.matrix_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8325 | clear_has_features_value(); |
8326 | } |
8327 | } |
8328 | inline const std::string& QueryRequest_KnnQueryParam::matrix() const { |
8329 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8330 | return _internal_matrix(); |
8331 | } |
8332 | inline void QueryRequest_KnnQueryParam::set_matrix(const std::string& value) { |
8333 | _internal_set_matrix(value); |
8334 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8335 | } |
8336 | inline std::string* QueryRequest_KnnQueryParam::mutable_matrix() { |
8337 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8338 | return _internal_mutable_matrix(); |
8339 | } |
8340 | inline const std::string& QueryRequest_KnnQueryParam::_internal_matrix() const { |
8341 | if (_internal_has_matrix()) { |
8342 | return features_value_.matrix_.GetNoArena(); |
8343 | } |
8344 | return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); |
8345 | } |
8346 | inline void QueryRequest_KnnQueryParam::_internal_set_matrix(const std::string& value) { |
8347 | if (!_internal_has_matrix()) { |
8348 | clear_features_value(); |
8349 | set_has_matrix(); |
8350 | features_value_.matrix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8351 | } |
8352 | features_value_.matrix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
8353 | } |
8354 | inline void QueryRequest_KnnQueryParam::set_matrix(std::string&& value) { |
8355 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8356 | if (!_internal_has_matrix()) { |
8357 | clear_features_value(); |
8358 | set_has_matrix(); |
8359 | features_value_.matrix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8360 | } |
8361 | features_value_.matrix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8362 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8363 | } |
8364 | inline void QueryRequest_KnnQueryParam::set_matrix(const char* value) { |
8365 | GOOGLE_DCHECK(value != nullptr); |
8366 | if (!_internal_has_matrix()) { |
8367 | clear_features_value(); |
8368 | set_has_matrix(); |
8369 | features_value_.matrix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8370 | } |
8371 | features_value_.matrix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8372 | ::std::string(value)); |
8373 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8374 | } |
8375 | inline void QueryRequest_KnnQueryParam::set_matrix(const char* value, size_t size) { |
8376 | if (!_internal_has_matrix()) { |
8377 | clear_features_value(); |
8378 | set_has_matrix(); |
8379 | features_value_.matrix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8380 | } |
8381 | features_value_.matrix_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
8382 | reinterpret_cast<const char*>(value), size)); |
8383 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8384 | } |
8385 | inline std::string* QueryRequest_KnnQueryParam::_internal_mutable_matrix() { |
8386 | if (!_internal_has_matrix()) { |
8387 | clear_features_value(); |
8388 | set_has_matrix(); |
8389 | features_value_.matrix_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8390 | } |
8391 | return features_value_.matrix_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8392 | } |
8393 | inline std::string* QueryRequest_KnnQueryParam::release_matrix() { |
8394 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8395 | if (_internal_has_matrix()) { |
8396 | clear_has_features_value(); |
8397 | return features_value_.matrix_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8398 | } else { |
8399 | return nullptr; |
8400 | } |
8401 | } |
8402 | inline void QueryRequest_KnnQueryParam::set_allocated_matrix(std::string* matrix) { |
8403 | if (has_features_value()) { |
8404 | clear_features_value(); |
8405 | } |
8406 | if (matrix != nullptr) { |
8407 | set_has_matrix(); |
8408 | features_value_.matrix_.UnsafeSetDefault(matrix); |
8409 | } |
8410 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.QueryRequest.KnnQueryParam.matrix) |
8411 | } |
8412 | |
8413 | // uint32 batch_count = 5; |
8414 | inline void QueryRequest_KnnQueryParam::clear_batch_count() { |
8415 | batch_count_ = 0u; |
8416 | } |
8417 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryRequest_KnnQueryParam::_internal_batch_count() const { |
8418 | return batch_count_; |
8419 | } |
8420 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryRequest_KnnQueryParam::batch_count() const { |
8421 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.batch_count) |
8422 | return _internal_batch_count(); |
8423 | } |
8424 | inline void QueryRequest_KnnQueryParam::_internal_set_batch_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
8425 | |
8426 | batch_count_ = value; |
8427 | } |
8428 | inline void QueryRequest_KnnQueryParam::set_batch_count(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
8429 | _internal_set_batch_count(value); |
8430 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.batch_count) |
8431 | } |
8432 | |
8433 | // uint32 dimension = 6; |
8434 | inline void QueryRequest_KnnQueryParam::clear_dimension() { |
8435 | dimension_ = 0u; |
8436 | } |
8437 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryRequest_KnnQueryParam::_internal_dimension() const { |
8438 | return dimension_; |
8439 | } |
8440 | inline ::PROTOBUF_NAMESPACE_ID::uint32 QueryRequest_KnnQueryParam::dimension() const { |
8441 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.dimension) |
8442 | return _internal_dimension(); |
8443 | } |
8444 | inline void QueryRequest_KnnQueryParam::_internal_set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
8445 | |
8446 | dimension_ = value; |
8447 | } |
8448 | inline void QueryRequest_KnnQueryParam::set_dimension(::PROTOBUF_NAMESPACE_ID::uint32 value) { |
8449 | _internal_set_dimension(value); |
8450 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.dimension) |
8451 | } |
8452 | |
8453 | // .proxima.be.proto.DataType data_type = 7; |
8454 | inline void QueryRequest_KnnQueryParam::clear_data_type() { |
8455 | data_type_ = 0; |
8456 | } |
8457 | inline ::proxima::be::proto::DataType QueryRequest_KnnQueryParam::_internal_data_type() const { |
8458 | return static_cast< ::proxima::be::proto::DataType >(data_type_); |
8459 | } |
8460 | inline ::proxima::be::proto::DataType QueryRequest_KnnQueryParam::data_type() const { |
8461 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.data_type) |
8462 | return _internal_data_type(); |
8463 | } |
8464 | inline void QueryRequest_KnnQueryParam::_internal_set_data_type(::proxima::be::proto::DataType value) { |
8465 | |
8466 | data_type_ = value; |
8467 | } |
8468 | inline void QueryRequest_KnnQueryParam::set_data_type(::proxima::be::proto::DataType value) { |
8469 | _internal_set_data_type(value); |
8470 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.data_type) |
8471 | } |
8472 | |
8473 | // float radius = 8; |
8474 | inline void QueryRequest_KnnQueryParam::clear_radius() { |
8475 | radius_ = 0; |
8476 | } |
8477 | inline float QueryRequest_KnnQueryParam::_internal_radius() const { |
8478 | return radius_; |
8479 | } |
8480 | inline float QueryRequest_KnnQueryParam::radius() const { |
8481 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.radius) |
8482 | return _internal_radius(); |
8483 | } |
8484 | inline void QueryRequest_KnnQueryParam::_internal_set_radius(float value) { |
8485 | |
8486 | radius_ = value; |
8487 | } |
8488 | inline void QueryRequest_KnnQueryParam::set_radius(float value) { |
8489 | _internal_set_radius(value); |
8490 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.radius) |
8491 | } |
8492 | |
8493 | // bool is_linear = 9; |
8494 | inline void QueryRequest_KnnQueryParam::clear_is_linear() { |
8495 | is_linear_ = false; |
8496 | } |
8497 | inline bool QueryRequest_KnnQueryParam::_internal_is_linear() const { |
8498 | return is_linear_; |
8499 | } |
8500 | inline bool QueryRequest_KnnQueryParam::is_linear() const { |
8501 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.is_linear) |
8502 | return _internal_is_linear(); |
8503 | } |
8504 | inline void QueryRequest_KnnQueryParam::_internal_set_is_linear(bool value) { |
8505 | |
8506 | is_linear_ = value; |
8507 | } |
8508 | inline void QueryRequest_KnnQueryParam::set_is_linear(bool value) { |
8509 | _internal_set_is_linear(value); |
8510 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.KnnQueryParam.is_linear) |
8511 | } |
8512 | |
8513 | // repeated .proxima.be.proto.KeyValuePair extra_params = 10; |
8514 | inline int QueryRequest_KnnQueryParam::() const { |
8515 | return extra_params_.size(); |
8516 | } |
8517 | inline int QueryRequest_KnnQueryParam::() const { |
8518 | return _internal_extra_params_size(); |
8519 | } |
8520 | inline ::proxima::be::proto::KeyValuePair* QueryRequest_KnnQueryParam::(int index) { |
8521 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryRequest.KnnQueryParam.extra_params) |
8522 | return extra_params_.Mutable(index); |
8523 | } |
8524 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >* |
8525 | QueryRequest_KnnQueryParam::() { |
8526 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.QueryRequest.KnnQueryParam.extra_params) |
8527 | return &extra_params_; |
8528 | } |
8529 | inline const ::proxima::be::proto::KeyValuePair& QueryRequest_KnnQueryParam::(int index) const { |
8530 | return extra_params_.Get(index); |
8531 | } |
8532 | inline const ::proxima::be::proto::KeyValuePair& QueryRequest_KnnQueryParam::(int index) const { |
8533 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.KnnQueryParam.extra_params) |
8534 | return _internal_extra_params(index); |
8535 | } |
8536 | inline ::proxima::be::proto::KeyValuePair* QueryRequest_KnnQueryParam::() { |
8537 | return extra_params_.Add(); |
8538 | } |
8539 | inline ::proxima::be::proto::KeyValuePair* QueryRequest_KnnQueryParam::() { |
8540 | // @@protoc_insertion_point(field_add:proxima.be.proto.QueryRequest.KnnQueryParam.extra_params) |
8541 | return _internal_add_extra_params(); |
8542 | } |
8543 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::KeyValuePair >& |
8544 | QueryRequest_KnnQueryParam::() const { |
8545 | // @@protoc_insertion_point(field_list:proxima.be.proto.QueryRequest.KnnQueryParam.extra_params) |
8546 | return extra_params_; |
8547 | } |
8548 | |
8549 | inline bool QueryRequest_KnnQueryParam::has_features_value() const { |
8550 | return features_value_case() != FEATURES_VALUE_NOT_SET; |
8551 | } |
8552 | inline void QueryRequest_KnnQueryParam::clear_has_features_value() { |
8553 | _oneof_case_[0] = FEATURES_VALUE_NOT_SET; |
8554 | } |
8555 | inline QueryRequest_KnnQueryParam::FeaturesValueCase QueryRequest_KnnQueryParam::features_value_case() const { |
8556 | return QueryRequest_KnnQueryParam::FeaturesValueCase(_oneof_case_[0]); |
8557 | } |
8558 | // ------------------------------------------------------------------- |
8559 | |
8560 | // QueryRequest |
8561 | |
8562 | // string collection_name = 1; |
8563 | inline void QueryRequest::clear_collection_name() { |
8564 | collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8565 | } |
8566 | inline const std::string& QueryRequest::collection_name() const { |
8567 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.collection_name) |
8568 | return _internal_collection_name(); |
8569 | } |
8570 | inline void QueryRequest::set_collection_name(const std::string& value) { |
8571 | _internal_set_collection_name(value); |
8572 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.collection_name) |
8573 | } |
8574 | inline std::string* QueryRequest::mutable_collection_name() { |
8575 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryRequest.collection_name) |
8576 | return _internal_mutable_collection_name(); |
8577 | } |
8578 | inline const std::string& QueryRequest::_internal_collection_name() const { |
8579 | return collection_name_.GetNoArena(); |
8580 | } |
8581 | inline void QueryRequest::_internal_set_collection_name(const std::string& value) { |
8582 | |
8583 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
8584 | } |
8585 | inline void QueryRequest::set_collection_name(std::string&& value) { |
8586 | |
8587 | collection_name_.SetNoArena( |
8588 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8589 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.QueryRequest.collection_name) |
8590 | } |
8591 | inline void QueryRequest::set_collection_name(const char* value) { |
8592 | GOOGLE_DCHECK(value != nullptr); |
8593 | |
8594 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8595 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.QueryRequest.collection_name) |
8596 | } |
8597 | inline void QueryRequest::set_collection_name(const char* value, size_t size) { |
8598 | |
8599 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8600 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8601 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.QueryRequest.collection_name) |
8602 | } |
8603 | inline std::string* QueryRequest::_internal_mutable_collection_name() { |
8604 | |
8605 | return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8606 | } |
8607 | inline std::string* QueryRequest::release_collection_name() { |
8608 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryRequest.collection_name) |
8609 | |
8610 | return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8611 | } |
8612 | inline void QueryRequest::set_allocated_collection_name(std::string* collection_name) { |
8613 | if (collection_name != nullptr) { |
8614 | |
8615 | } else { |
8616 | |
8617 | } |
8618 | collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); |
8619 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.QueryRequest.collection_name) |
8620 | } |
8621 | |
8622 | // .proxima.be.proto.QueryRequest.QueryType query_type = 2; |
8623 | inline void QueryRequest::clear_query_type() { |
8624 | query_type_ = 0; |
8625 | } |
8626 | inline ::proxima::be::proto::QueryRequest_QueryType QueryRequest::_internal_query_type() const { |
8627 | return static_cast< ::proxima::be::proto::QueryRequest_QueryType >(query_type_); |
8628 | } |
8629 | inline ::proxima::be::proto::QueryRequest_QueryType QueryRequest::query_type() const { |
8630 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.query_type) |
8631 | return _internal_query_type(); |
8632 | } |
8633 | inline void QueryRequest::_internal_set_query_type(::proxima::be::proto::QueryRequest_QueryType value) { |
8634 | |
8635 | query_type_ = value; |
8636 | } |
8637 | inline void QueryRequest::set_query_type(::proxima::be::proto::QueryRequest_QueryType value) { |
8638 | _internal_set_query_type(value); |
8639 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.query_type) |
8640 | } |
8641 | |
8642 | // bool debug_mode = 3; |
8643 | inline void QueryRequest::clear_debug_mode() { |
8644 | debug_mode_ = false; |
8645 | } |
8646 | inline bool QueryRequest::_internal_debug_mode() const { |
8647 | return debug_mode_; |
8648 | } |
8649 | inline bool QueryRequest::debug_mode() const { |
8650 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.debug_mode) |
8651 | return _internal_debug_mode(); |
8652 | } |
8653 | inline void QueryRequest::_internal_set_debug_mode(bool value) { |
8654 | |
8655 | debug_mode_ = value; |
8656 | } |
8657 | inline void QueryRequest::set_debug_mode(bool value) { |
8658 | _internal_set_debug_mode(value); |
8659 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryRequest.debug_mode) |
8660 | } |
8661 | |
8662 | // .proxima.be.proto.QueryRequest.KnnQueryParam knn_param = 4; |
8663 | inline bool QueryRequest::_internal_has_knn_param() const { |
8664 | return query_param_case() == kKnnParam; |
8665 | } |
8666 | inline bool QueryRequest::has_knn_param() const { |
8667 | return _internal_has_knn_param(); |
8668 | } |
8669 | inline void QueryRequest::set_has_knn_param() { |
8670 | _oneof_case_[0] = kKnnParam; |
8671 | } |
8672 | inline void QueryRequest::clear_knn_param() { |
8673 | if (_internal_has_knn_param()) { |
8674 | delete query_param_.knn_param_; |
8675 | clear_has_query_param(); |
8676 | } |
8677 | } |
8678 | inline ::proxima::be::proto::QueryRequest_KnnQueryParam* QueryRequest::release_knn_param() { |
8679 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryRequest.knn_param) |
8680 | if (_internal_has_knn_param()) { |
8681 | clear_has_query_param(); |
8682 | ::proxima::be::proto::QueryRequest_KnnQueryParam* temp = query_param_.knn_param_; |
8683 | query_param_.knn_param_ = nullptr; |
8684 | return temp; |
8685 | } else { |
8686 | return nullptr; |
8687 | } |
8688 | } |
8689 | inline const ::proxima::be::proto::QueryRequest_KnnQueryParam& QueryRequest::_internal_knn_param() const { |
8690 | return _internal_has_knn_param() |
8691 | ? *query_param_.knn_param_ |
8692 | : *reinterpret_cast< ::proxima::be::proto::QueryRequest_KnnQueryParam*>(&::proxima::be::proto::_QueryRequest_KnnQueryParam_default_instance_); |
8693 | } |
8694 | inline const ::proxima::be::proto::QueryRequest_KnnQueryParam& QueryRequest::knn_param() const { |
8695 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryRequest.knn_param) |
8696 | return _internal_knn_param(); |
8697 | } |
8698 | inline ::proxima::be::proto::QueryRequest_KnnQueryParam* QueryRequest::_internal_mutable_knn_param() { |
8699 | if (!_internal_has_knn_param()) { |
8700 | clear_query_param(); |
8701 | set_has_knn_param(); |
8702 | query_param_.knn_param_ = CreateMaybeMessage< ::proxima::be::proto::QueryRequest_KnnQueryParam >( |
8703 | GetArenaNoVirtual()); |
8704 | } |
8705 | return query_param_.knn_param_; |
8706 | } |
8707 | inline ::proxima::be::proto::QueryRequest_KnnQueryParam* QueryRequest::mutable_knn_param() { |
8708 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryRequest.knn_param) |
8709 | return _internal_mutable_knn_param(); |
8710 | } |
8711 | |
8712 | inline bool QueryRequest::has_query_param() const { |
8713 | return query_param_case() != QUERY_PARAM_NOT_SET; |
8714 | } |
8715 | inline void QueryRequest::clear_has_query_param() { |
8716 | _oneof_case_[0] = QUERY_PARAM_NOT_SET; |
8717 | } |
8718 | inline QueryRequest::QueryParamCase QueryRequest::query_param_case() const { |
8719 | return QueryRequest::QueryParamCase(_oneof_case_[0]); |
8720 | } |
8721 | // ------------------------------------------------------------------- |
8722 | |
8723 | // QueryResponse_Result |
8724 | |
8725 | // repeated .proxima.be.proto.Document documents = 1; |
8726 | inline int QueryResponse_Result::_internal_documents_size() const { |
8727 | return documents_.size(); |
8728 | } |
8729 | inline int QueryResponse_Result::documents_size() const { |
8730 | return _internal_documents_size(); |
8731 | } |
8732 | inline void QueryResponse_Result::clear_documents() { |
8733 | documents_.Clear(); |
8734 | } |
8735 | inline ::proxima::be::proto::Document* QueryResponse_Result::mutable_documents(int index) { |
8736 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryResponse.Result.documents) |
8737 | return documents_.Mutable(index); |
8738 | } |
8739 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::Document >* |
8740 | QueryResponse_Result::mutable_documents() { |
8741 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.QueryResponse.Result.documents) |
8742 | return &documents_; |
8743 | } |
8744 | inline const ::proxima::be::proto::Document& QueryResponse_Result::_internal_documents(int index) const { |
8745 | return documents_.Get(index); |
8746 | } |
8747 | inline const ::proxima::be::proto::Document& QueryResponse_Result::documents(int index) const { |
8748 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryResponse.Result.documents) |
8749 | return _internal_documents(index); |
8750 | } |
8751 | inline ::proxima::be::proto::Document* QueryResponse_Result::_internal_add_documents() { |
8752 | return documents_.Add(); |
8753 | } |
8754 | inline ::proxima::be::proto::Document* QueryResponse_Result::add_documents() { |
8755 | // @@protoc_insertion_point(field_add:proxima.be.proto.QueryResponse.Result.documents) |
8756 | return _internal_add_documents(); |
8757 | } |
8758 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::Document >& |
8759 | QueryResponse_Result::documents() const { |
8760 | // @@protoc_insertion_point(field_list:proxima.be.proto.QueryResponse.Result.documents) |
8761 | return documents_; |
8762 | } |
8763 | |
8764 | // ------------------------------------------------------------------- |
8765 | |
8766 | // QueryResponse |
8767 | |
8768 | // .proxima.be.proto.Status status = 1; |
8769 | inline bool QueryResponse::_internal_has_status() const { |
8770 | return this != internal_default_instance() && status_ != nullptr; |
8771 | } |
8772 | inline bool QueryResponse::has_status() const { |
8773 | return _internal_has_status(); |
8774 | } |
8775 | inline const ::proxima::be::proto::Status& QueryResponse::_internal_status() const { |
8776 | const ::proxima::be::proto::Status* p = status_; |
8777 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Status*>( |
8778 | &::proxima::be::proto::_Status_default_instance_); |
8779 | } |
8780 | inline const ::proxima::be::proto::Status& QueryResponse::status() const { |
8781 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryResponse.status) |
8782 | return _internal_status(); |
8783 | } |
8784 | inline ::proxima::be::proto::Status* QueryResponse::release_status() { |
8785 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryResponse.status) |
8786 | |
8787 | ::proxima::be::proto::Status* temp = status_; |
8788 | status_ = nullptr; |
8789 | return temp; |
8790 | } |
8791 | inline ::proxima::be::proto::Status* QueryResponse::_internal_mutable_status() { |
8792 | |
8793 | if (status_ == nullptr) { |
8794 | auto* p = CreateMaybeMessage<::proxima::be::proto::Status>(GetArenaNoVirtual()); |
8795 | status_ = p; |
8796 | } |
8797 | return status_; |
8798 | } |
8799 | inline ::proxima::be::proto::Status* QueryResponse::mutable_status() { |
8800 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryResponse.status) |
8801 | return _internal_mutable_status(); |
8802 | } |
8803 | inline void QueryResponse::set_allocated_status(::proxima::be::proto::Status* status) { |
8804 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
8805 | if (message_arena == nullptr) { |
8806 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); |
8807 | } |
8808 | if (status) { |
8809 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
8810 | if (message_arena != submessage_arena) { |
8811 | status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8812 | message_arena, status, submessage_arena); |
8813 | } |
8814 | |
8815 | } else { |
8816 | |
8817 | } |
8818 | status_ = status; |
8819 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.QueryResponse.status) |
8820 | } |
8821 | |
8822 | // string debug_info = 2; |
8823 | inline void QueryResponse::clear_debug_info() { |
8824 | debug_info_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8825 | } |
8826 | inline const std::string& QueryResponse::debug_info() const { |
8827 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryResponse.debug_info) |
8828 | return _internal_debug_info(); |
8829 | } |
8830 | inline void QueryResponse::set_debug_info(const std::string& value) { |
8831 | _internal_set_debug_info(value); |
8832 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryResponse.debug_info) |
8833 | } |
8834 | inline std::string* QueryResponse::mutable_debug_info() { |
8835 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryResponse.debug_info) |
8836 | return _internal_mutable_debug_info(); |
8837 | } |
8838 | inline const std::string& QueryResponse::_internal_debug_info() const { |
8839 | return debug_info_.GetNoArena(); |
8840 | } |
8841 | inline void QueryResponse::_internal_set_debug_info(const std::string& value) { |
8842 | |
8843 | debug_info_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
8844 | } |
8845 | inline void QueryResponse::set_debug_info(std::string&& value) { |
8846 | |
8847 | debug_info_.SetNoArena( |
8848 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8849 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.QueryResponse.debug_info) |
8850 | } |
8851 | inline void QueryResponse::set_debug_info(const char* value) { |
8852 | GOOGLE_DCHECK(value != nullptr); |
8853 | |
8854 | debug_info_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8855 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.QueryResponse.debug_info) |
8856 | } |
8857 | inline void QueryResponse::set_debug_info(const char* value, size_t size) { |
8858 | |
8859 | debug_info_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8860 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8861 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.QueryResponse.debug_info) |
8862 | } |
8863 | inline std::string* QueryResponse::_internal_mutable_debug_info() { |
8864 | |
8865 | return debug_info_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8866 | } |
8867 | inline std::string* QueryResponse::release_debug_info() { |
8868 | // @@protoc_insertion_point(field_release:proxima.be.proto.QueryResponse.debug_info) |
8869 | |
8870 | return debug_info_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8871 | } |
8872 | inline void QueryResponse::set_allocated_debug_info(std::string* debug_info) { |
8873 | if (debug_info != nullptr) { |
8874 | |
8875 | } else { |
8876 | |
8877 | } |
8878 | debug_info_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), debug_info); |
8879 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.QueryResponse.debug_info) |
8880 | } |
8881 | |
8882 | // uint64 latency_us = 3; |
8883 | inline void QueryResponse::clear_latency_us() { |
8884 | latency_us_ = PROTOBUF_ULONGLONG(0); |
8885 | } |
8886 | inline ::PROTOBUF_NAMESPACE_ID::uint64 QueryResponse::_internal_latency_us() const { |
8887 | return latency_us_; |
8888 | } |
8889 | inline ::PROTOBUF_NAMESPACE_ID::uint64 QueryResponse::latency_us() const { |
8890 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryResponse.latency_us) |
8891 | return _internal_latency_us(); |
8892 | } |
8893 | inline void QueryResponse::_internal_set_latency_us(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
8894 | |
8895 | latency_us_ = value; |
8896 | } |
8897 | inline void QueryResponse::set_latency_us(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
8898 | _internal_set_latency_us(value); |
8899 | // @@protoc_insertion_point(field_set:proxima.be.proto.QueryResponse.latency_us) |
8900 | } |
8901 | |
8902 | // repeated .proxima.be.proto.QueryResponse.Result results = 4; |
8903 | inline int QueryResponse::_internal_results_size() const { |
8904 | return results_.size(); |
8905 | } |
8906 | inline int QueryResponse::results_size() const { |
8907 | return _internal_results_size(); |
8908 | } |
8909 | inline void QueryResponse::clear_results() { |
8910 | results_.Clear(); |
8911 | } |
8912 | inline ::proxima::be::proto::QueryResponse_Result* QueryResponse::mutable_results(int index) { |
8913 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.QueryResponse.results) |
8914 | return results_.Mutable(index); |
8915 | } |
8916 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::QueryResponse_Result >* |
8917 | QueryResponse::mutable_results() { |
8918 | // @@protoc_insertion_point(field_mutable_list:proxima.be.proto.QueryResponse.results) |
8919 | return &results_; |
8920 | } |
8921 | inline const ::proxima::be::proto::QueryResponse_Result& QueryResponse::_internal_results(int index) const { |
8922 | return results_.Get(index); |
8923 | } |
8924 | inline const ::proxima::be::proto::QueryResponse_Result& QueryResponse::results(int index) const { |
8925 | // @@protoc_insertion_point(field_get:proxima.be.proto.QueryResponse.results) |
8926 | return _internal_results(index); |
8927 | } |
8928 | inline ::proxima::be::proto::QueryResponse_Result* QueryResponse::_internal_add_results() { |
8929 | return results_.Add(); |
8930 | } |
8931 | inline ::proxima::be::proto::QueryResponse_Result* QueryResponse::add_results() { |
8932 | // @@protoc_insertion_point(field_add:proxima.be.proto.QueryResponse.results) |
8933 | return _internal_add_results(); |
8934 | } |
8935 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::proxima::be::proto::QueryResponse_Result >& |
8936 | QueryResponse::results() const { |
8937 | // @@protoc_insertion_point(field_list:proxima.be.proto.QueryResponse.results) |
8938 | return results_; |
8939 | } |
8940 | |
8941 | // ------------------------------------------------------------------- |
8942 | |
8943 | // GetDocumentRequest |
8944 | |
8945 | // string collection_name = 1; |
8946 | inline void GetDocumentRequest::clear_collection_name() { |
8947 | collection_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8948 | } |
8949 | inline const std::string& GetDocumentRequest::collection_name() const { |
8950 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetDocumentRequest.collection_name) |
8951 | return _internal_collection_name(); |
8952 | } |
8953 | inline void GetDocumentRequest::set_collection_name(const std::string& value) { |
8954 | _internal_set_collection_name(value); |
8955 | // @@protoc_insertion_point(field_set:proxima.be.proto.GetDocumentRequest.collection_name) |
8956 | } |
8957 | inline std::string* GetDocumentRequest::mutable_collection_name() { |
8958 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.GetDocumentRequest.collection_name) |
8959 | return _internal_mutable_collection_name(); |
8960 | } |
8961 | inline const std::string& GetDocumentRequest::_internal_collection_name() const { |
8962 | return collection_name_.GetNoArena(); |
8963 | } |
8964 | inline void GetDocumentRequest::_internal_set_collection_name(const std::string& value) { |
8965 | |
8966 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
8967 | } |
8968 | inline void GetDocumentRequest::set_collection_name(std::string&& value) { |
8969 | |
8970 | collection_name_.SetNoArena( |
8971 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
8972 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.GetDocumentRequest.collection_name) |
8973 | } |
8974 | inline void GetDocumentRequest::set_collection_name(const char* value) { |
8975 | GOOGLE_DCHECK(value != nullptr); |
8976 | |
8977 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
8978 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.GetDocumentRequest.collection_name) |
8979 | } |
8980 | inline void GetDocumentRequest::set_collection_name(const char* value, size_t size) { |
8981 | |
8982 | collection_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
8983 | ::std::string(reinterpret_cast<const char*>(value), size)); |
8984 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.GetDocumentRequest.collection_name) |
8985 | } |
8986 | inline std::string* GetDocumentRequest::_internal_mutable_collection_name() { |
8987 | |
8988 | return collection_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8989 | } |
8990 | inline std::string* GetDocumentRequest::release_collection_name() { |
8991 | // @@protoc_insertion_point(field_release:proxima.be.proto.GetDocumentRequest.collection_name) |
8992 | |
8993 | return collection_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
8994 | } |
8995 | inline void GetDocumentRequest::set_allocated_collection_name(std::string* collection_name) { |
8996 | if (collection_name != nullptr) { |
8997 | |
8998 | } else { |
8999 | |
9000 | } |
9001 | collection_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), collection_name); |
9002 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.GetDocumentRequest.collection_name) |
9003 | } |
9004 | |
9005 | // uint64 primary_key = 2; |
9006 | inline void GetDocumentRequest::clear_primary_key() { |
9007 | primary_key_ = PROTOBUF_ULONGLONG(0); |
9008 | } |
9009 | inline ::PROTOBUF_NAMESPACE_ID::uint64 GetDocumentRequest::_internal_primary_key() const { |
9010 | return primary_key_; |
9011 | } |
9012 | inline ::PROTOBUF_NAMESPACE_ID::uint64 GetDocumentRequest::primary_key() const { |
9013 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetDocumentRequest.primary_key) |
9014 | return _internal_primary_key(); |
9015 | } |
9016 | inline void GetDocumentRequest::_internal_set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
9017 | |
9018 | primary_key_ = value; |
9019 | } |
9020 | inline void GetDocumentRequest::set_primary_key(::PROTOBUF_NAMESPACE_ID::uint64 value) { |
9021 | _internal_set_primary_key(value); |
9022 | // @@protoc_insertion_point(field_set:proxima.be.proto.GetDocumentRequest.primary_key) |
9023 | } |
9024 | |
9025 | // bool debug_mode = 3; |
9026 | inline void GetDocumentRequest::clear_debug_mode() { |
9027 | debug_mode_ = false; |
9028 | } |
9029 | inline bool GetDocumentRequest::_internal_debug_mode() const { |
9030 | return debug_mode_; |
9031 | } |
9032 | inline bool GetDocumentRequest::debug_mode() const { |
9033 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetDocumentRequest.debug_mode) |
9034 | return _internal_debug_mode(); |
9035 | } |
9036 | inline void GetDocumentRequest::_internal_set_debug_mode(bool value) { |
9037 | |
9038 | debug_mode_ = value; |
9039 | } |
9040 | inline void GetDocumentRequest::set_debug_mode(bool value) { |
9041 | _internal_set_debug_mode(value); |
9042 | // @@protoc_insertion_point(field_set:proxima.be.proto.GetDocumentRequest.debug_mode) |
9043 | } |
9044 | |
9045 | // ------------------------------------------------------------------- |
9046 | |
9047 | // GetDocumentResponse |
9048 | |
9049 | // .proxima.be.proto.Status status = 1; |
9050 | inline bool GetDocumentResponse::_internal_has_status() const { |
9051 | return this != internal_default_instance() && status_ != nullptr; |
9052 | } |
9053 | inline bool GetDocumentResponse::has_status() const { |
9054 | return _internal_has_status(); |
9055 | } |
9056 | inline const ::proxima::be::proto::Status& GetDocumentResponse::_internal_status() const { |
9057 | const ::proxima::be::proto::Status* p = status_; |
9058 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Status*>( |
9059 | &::proxima::be::proto::_Status_default_instance_); |
9060 | } |
9061 | inline const ::proxima::be::proto::Status& GetDocumentResponse::status() const { |
9062 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetDocumentResponse.status) |
9063 | return _internal_status(); |
9064 | } |
9065 | inline ::proxima::be::proto::Status* GetDocumentResponse::release_status() { |
9066 | // @@protoc_insertion_point(field_release:proxima.be.proto.GetDocumentResponse.status) |
9067 | |
9068 | ::proxima::be::proto::Status* temp = status_; |
9069 | status_ = nullptr; |
9070 | return temp; |
9071 | } |
9072 | inline ::proxima::be::proto::Status* GetDocumentResponse::_internal_mutable_status() { |
9073 | |
9074 | if (status_ == nullptr) { |
9075 | auto* p = CreateMaybeMessage<::proxima::be::proto::Status>(GetArenaNoVirtual()); |
9076 | status_ = p; |
9077 | } |
9078 | return status_; |
9079 | } |
9080 | inline ::proxima::be::proto::Status* GetDocumentResponse::mutable_status() { |
9081 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.GetDocumentResponse.status) |
9082 | return _internal_mutable_status(); |
9083 | } |
9084 | inline void GetDocumentResponse::set_allocated_status(::proxima::be::proto::Status* status) { |
9085 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
9086 | if (message_arena == nullptr) { |
9087 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); |
9088 | } |
9089 | if (status) { |
9090 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
9091 | if (message_arena != submessage_arena) { |
9092 | status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9093 | message_arena, status, submessage_arena); |
9094 | } |
9095 | |
9096 | } else { |
9097 | |
9098 | } |
9099 | status_ = status; |
9100 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.GetDocumentResponse.status) |
9101 | } |
9102 | |
9103 | // string debug_info = 2; |
9104 | inline void GetDocumentResponse::clear_debug_info() { |
9105 | debug_info_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
9106 | } |
9107 | inline const std::string& GetDocumentResponse::debug_info() const { |
9108 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetDocumentResponse.debug_info) |
9109 | return _internal_debug_info(); |
9110 | } |
9111 | inline void GetDocumentResponse::set_debug_info(const std::string& value) { |
9112 | _internal_set_debug_info(value); |
9113 | // @@protoc_insertion_point(field_set:proxima.be.proto.GetDocumentResponse.debug_info) |
9114 | } |
9115 | inline std::string* GetDocumentResponse::mutable_debug_info() { |
9116 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.GetDocumentResponse.debug_info) |
9117 | return _internal_mutable_debug_info(); |
9118 | } |
9119 | inline const std::string& GetDocumentResponse::_internal_debug_info() const { |
9120 | return debug_info_.GetNoArena(); |
9121 | } |
9122 | inline void GetDocumentResponse::_internal_set_debug_info(const std::string& value) { |
9123 | |
9124 | debug_info_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
9125 | } |
9126 | inline void GetDocumentResponse::set_debug_info(std::string&& value) { |
9127 | |
9128 | debug_info_.SetNoArena( |
9129 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9130 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.GetDocumentResponse.debug_info) |
9131 | } |
9132 | inline void GetDocumentResponse::set_debug_info(const char* value) { |
9133 | GOOGLE_DCHECK(value != nullptr); |
9134 | |
9135 | debug_info_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9136 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.GetDocumentResponse.debug_info) |
9137 | } |
9138 | inline void GetDocumentResponse::set_debug_info(const char* value, size_t size) { |
9139 | |
9140 | debug_info_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
9141 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9142 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.GetDocumentResponse.debug_info) |
9143 | } |
9144 | inline std::string* GetDocumentResponse::_internal_mutable_debug_info() { |
9145 | |
9146 | return debug_info_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
9147 | } |
9148 | inline std::string* GetDocumentResponse::release_debug_info() { |
9149 | // @@protoc_insertion_point(field_release:proxima.be.proto.GetDocumentResponse.debug_info) |
9150 | |
9151 | return debug_info_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
9152 | } |
9153 | inline void GetDocumentResponse::set_allocated_debug_info(std::string* debug_info) { |
9154 | if (debug_info != nullptr) { |
9155 | |
9156 | } else { |
9157 | |
9158 | } |
9159 | debug_info_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), debug_info); |
9160 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.GetDocumentResponse.debug_info) |
9161 | } |
9162 | |
9163 | // .proxima.be.proto.Document document = 3; |
9164 | inline bool GetDocumentResponse::_internal_has_document() const { |
9165 | return this != internal_default_instance() && document_ != nullptr; |
9166 | } |
9167 | inline bool GetDocumentResponse::has_document() const { |
9168 | return _internal_has_document(); |
9169 | } |
9170 | inline void GetDocumentResponse::clear_document() { |
9171 | if (GetArenaNoVirtual() == nullptr && document_ != nullptr) { |
9172 | delete document_; |
9173 | } |
9174 | document_ = nullptr; |
9175 | } |
9176 | inline const ::proxima::be::proto::Document& GetDocumentResponse::_internal_document() const { |
9177 | const ::proxima::be::proto::Document* p = document_; |
9178 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Document*>( |
9179 | &::proxima::be::proto::_Document_default_instance_); |
9180 | } |
9181 | inline const ::proxima::be::proto::Document& GetDocumentResponse::document() const { |
9182 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetDocumentResponse.document) |
9183 | return _internal_document(); |
9184 | } |
9185 | inline ::proxima::be::proto::Document* GetDocumentResponse::release_document() { |
9186 | // @@protoc_insertion_point(field_release:proxima.be.proto.GetDocumentResponse.document) |
9187 | |
9188 | ::proxima::be::proto::Document* temp = document_; |
9189 | document_ = nullptr; |
9190 | return temp; |
9191 | } |
9192 | inline ::proxima::be::proto::Document* GetDocumentResponse::_internal_mutable_document() { |
9193 | |
9194 | if (document_ == nullptr) { |
9195 | auto* p = CreateMaybeMessage<::proxima::be::proto::Document>(GetArenaNoVirtual()); |
9196 | document_ = p; |
9197 | } |
9198 | return document_; |
9199 | } |
9200 | inline ::proxima::be::proto::Document* GetDocumentResponse::mutable_document() { |
9201 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.GetDocumentResponse.document) |
9202 | return _internal_mutable_document(); |
9203 | } |
9204 | inline void GetDocumentResponse::set_allocated_document(::proxima::be::proto::Document* document) { |
9205 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
9206 | if (message_arena == nullptr) { |
9207 | delete document_; |
9208 | } |
9209 | if (document) { |
9210 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
9211 | if (message_arena != submessage_arena) { |
9212 | document = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9213 | message_arena, document, submessage_arena); |
9214 | } |
9215 | |
9216 | } else { |
9217 | |
9218 | } |
9219 | document_ = document; |
9220 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.GetDocumentResponse.document) |
9221 | } |
9222 | |
9223 | // ------------------------------------------------------------------- |
9224 | |
9225 | // GetVersionRequest |
9226 | |
9227 | // ------------------------------------------------------------------- |
9228 | |
9229 | // GetVersionResponse |
9230 | |
9231 | // .proxima.be.proto.Status status = 1; |
9232 | inline bool GetVersionResponse::_internal_has_status() const { |
9233 | return this != internal_default_instance() && status_ != nullptr; |
9234 | } |
9235 | inline bool GetVersionResponse::has_status() const { |
9236 | return _internal_has_status(); |
9237 | } |
9238 | inline const ::proxima::be::proto::Status& GetVersionResponse::_internal_status() const { |
9239 | const ::proxima::be::proto::Status* p = status_; |
9240 | return p != nullptr ? *p : *reinterpret_cast<const ::proxima::be::proto::Status*>( |
9241 | &::proxima::be::proto::_Status_default_instance_); |
9242 | } |
9243 | inline const ::proxima::be::proto::Status& GetVersionResponse::status() const { |
9244 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetVersionResponse.status) |
9245 | return _internal_status(); |
9246 | } |
9247 | inline ::proxima::be::proto::Status* GetVersionResponse::release_status() { |
9248 | // @@protoc_insertion_point(field_release:proxima.be.proto.GetVersionResponse.status) |
9249 | |
9250 | ::proxima::be::proto::Status* temp = status_; |
9251 | status_ = nullptr; |
9252 | return temp; |
9253 | } |
9254 | inline ::proxima::be::proto::Status* GetVersionResponse::_internal_mutable_status() { |
9255 | |
9256 | if (status_ == nullptr) { |
9257 | auto* p = CreateMaybeMessage<::proxima::be::proto::Status>(GetArenaNoVirtual()); |
9258 | status_ = p; |
9259 | } |
9260 | return status_; |
9261 | } |
9262 | inline ::proxima::be::proto::Status* GetVersionResponse::mutable_status() { |
9263 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.GetVersionResponse.status) |
9264 | return _internal_mutable_status(); |
9265 | } |
9266 | inline void GetVersionResponse::set_allocated_status(::proxima::be::proto::Status* status) { |
9267 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
9268 | if (message_arena == nullptr) { |
9269 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); |
9270 | } |
9271 | if (status) { |
9272 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
9273 | if (message_arena != submessage_arena) { |
9274 | status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9275 | message_arena, status, submessage_arena); |
9276 | } |
9277 | |
9278 | } else { |
9279 | |
9280 | } |
9281 | status_ = status; |
9282 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.GetVersionResponse.status) |
9283 | } |
9284 | |
9285 | // string version = 2; |
9286 | inline void GetVersionResponse::clear_version() { |
9287 | version_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
9288 | } |
9289 | inline const std::string& GetVersionResponse::version() const { |
9290 | // @@protoc_insertion_point(field_get:proxima.be.proto.GetVersionResponse.version) |
9291 | return _internal_version(); |
9292 | } |
9293 | inline void GetVersionResponse::set_version(const std::string& value) { |
9294 | _internal_set_version(value); |
9295 | // @@protoc_insertion_point(field_set:proxima.be.proto.GetVersionResponse.version) |
9296 | } |
9297 | inline std::string* GetVersionResponse::mutable_version() { |
9298 | // @@protoc_insertion_point(field_mutable:proxima.be.proto.GetVersionResponse.version) |
9299 | return _internal_mutable_version(); |
9300 | } |
9301 | inline const std::string& GetVersionResponse::_internal_version() const { |
9302 | return version_.GetNoArena(); |
9303 | } |
9304 | inline void GetVersionResponse::_internal_set_version(const std::string& value) { |
9305 | |
9306 | version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
9307 | } |
9308 | inline void GetVersionResponse::set_version(std::string&& value) { |
9309 | |
9310 | version_.SetNoArena( |
9311 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
9312 | // @@protoc_insertion_point(field_set_rvalue:proxima.be.proto.GetVersionResponse.version) |
9313 | } |
9314 | inline void GetVersionResponse::set_version(const char* value) { |
9315 | GOOGLE_DCHECK(value != nullptr); |
9316 | |
9317 | version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
9318 | // @@protoc_insertion_point(field_set_char:proxima.be.proto.GetVersionResponse.version) |
9319 | } |
9320 | inline void GetVersionResponse::set_version(const char* value, size_t size) { |
9321 | |
9322 | version_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
9323 | ::std::string(reinterpret_cast<const char*>(value), size)); |
9324 | // @@protoc_insertion_point(field_set_pointer:proxima.be.proto.GetVersionResponse.version) |
9325 | } |
9326 | inline std::string* GetVersionResponse::_internal_mutable_version() { |
9327 | |
9328 | return version_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
9329 | } |
9330 | inline std::string* GetVersionResponse::release_version() { |
9331 | // @@protoc_insertion_point(field_release:proxima.be.proto.GetVersionResponse.version) |
9332 | |
9333 | return version_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
9334 | } |
9335 | inline void GetVersionResponse::set_allocated_version(std::string* version) { |
9336 | if (version != nullptr) { |
9337 | |
9338 | } else { |
9339 | |
9340 | } |
9341 | version_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version); |
9342 | // @@protoc_insertion_point(field_set_allocated:proxima.be.proto.GetVersionResponse.version) |
9343 | } |
9344 | |
9345 | #ifdef __GNUC__ |
9346 | #pragma GCC diagnostic pop |
9347 | #endif // __GNUC__ |
9348 | // ------------------------------------------------------------------- |
9349 | |
9350 | // ------------------------------------------------------------------- |
9351 | |
9352 | // ------------------------------------------------------------------- |
9353 | |
9354 | // ------------------------------------------------------------------- |
9355 | |
9356 | // ------------------------------------------------------------------- |
9357 | |
9358 | // ------------------------------------------------------------------- |
9359 | |
9360 | // ------------------------------------------------------------------- |
9361 | |
9362 | // ------------------------------------------------------------------- |
9363 | |
9364 | // ------------------------------------------------------------------- |
9365 | |
9366 | // ------------------------------------------------------------------- |
9367 | |
9368 | // ------------------------------------------------------------------- |
9369 | |
9370 | // ------------------------------------------------------------------- |
9371 | |
9372 | // ------------------------------------------------------------------- |
9373 | |
9374 | // ------------------------------------------------------------------- |
9375 | |
9376 | // ------------------------------------------------------------------- |
9377 | |
9378 | // ------------------------------------------------------------------- |
9379 | |
9380 | // ------------------------------------------------------------------- |
9381 | |
9382 | // ------------------------------------------------------------------- |
9383 | |
9384 | // ------------------------------------------------------------------- |
9385 | |
9386 | // ------------------------------------------------------------------- |
9387 | |
9388 | // ------------------------------------------------------------------- |
9389 | |
9390 | // ------------------------------------------------------------------- |
9391 | |
9392 | // ------------------------------------------------------------------- |
9393 | |
9394 | // ------------------------------------------------------------------- |
9395 | |
9396 | // ------------------------------------------------------------------- |
9397 | |
9398 | |
9399 | // @@protoc_insertion_point(namespace_scope) |
9400 | |
9401 | } // namespace proto |
9402 | } // namespace be |
9403 | } // namespace proxima |
9404 | |
9405 | PROTOBUF_NAMESPACE_OPEN |
9406 | |
9407 | template <> struct is_proto_enum< ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType> : ::std::true_type {}; |
9408 | template <> |
9409 | inline const EnumDescriptor* GetEnumDescriptor< ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType>() { |
9410 | return ::proxima::be::proto::CollectionConfig_RepositoryConfig_RepositoryType_descriptor(); |
9411 | } |
9412 | template <> struct is_proto_enum< ::proxima::be::proto::CollectionInfo_CollectionStatus> : ::std::true_type {}; |
9413 | template <> |
9414 | inline const EnumDescriptor* GetEnumDescriptor< ::proxima::be::proto::CollectionInfo_CollectionStatus>() { |
9415 | return ::proxima::be::proto::CollectionInfo_CollectionStatus_descriptor(); |
9416 | } |
9417 | template <> struct is_proto_enum< ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState> : ::std::true_type {}; |
9418 | template <> |
9419 | inline const EnumDescriptor* GetEnumDescriptor< ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState>() { |
9420 | return ::proxima::be::proto::CollectionStats_SegmentStats_SegmentState_descriptor(); |
9421 | } |
9422 | template <> struct is_proto_enum< ::proxima::be::proto::QueryRequest_QueryType> : ::std::true_type {}; |
9423 | template <> |
9424 | inline const EnumDescriptor* GetEnumDescriptor< ::proxima::be::proto::QueryRequest_QueryType>() { |
9425 | return ::proxima::be::proto::QueryRequest_QueryType_descriptor(); |
9426 | } |
9427 | |
9428 | PROTOBUF_NAMESPACE_CLOSE |
9429 | |
9430 | // @@protoc_insertion_point(global_scope) |
9431 | |
9432 | #include <google/protobuf/port_undef.inc> |
9433 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_proto_2fproxima_5fbe_2eproto |
9434 | |
9435 | #ifdef __GNUC__ |
9436 | #pragma GCC diagnostic pop |
9437 | #endif |
9438 | |